open-index/open-npm huggingface dataset:
npm package: @lucid-agents/scheduler
Description: Pull-style scheduler for hiring agents and invoking them on a schedule with bound wallets
Latest version: 0.2.2

# @lucid-agents/scheduler

Pull-style scheduler for hiring agents via their `agent-card.json`, binding a wallet for payment, and invoking entrypoints on a schedule.

## Usage

```ts
import {
  createMemoryStore,
  createSchedulerRuntime,
  createSchedulerWorker,
} from '@lucid-agents/scheduler';

const runtime = createSchedulerRuntime({
  store: createMemoryStore(),
  invoke: async ({ manifest, entrypointKey, input, wallet }) => {
    // Bridge into your agent runtime: resolve entrypoint and charge via the bound wallet.
    console.log(`Invoke ${entrypointKey} on ${manifest.name} using ${wallet.address}`, input);
  },
});

const { hire } = await runtime.createHire({
  agentCardUrl: 'https://agent.example.com',
  wallet: { walletId: 'w1', network: 'base', address: '0xabc' },
  entrypointKey: 'daily-report',
  schedule: { kind: 'interval', everyMs: 86_400_000 },
  jobInput: { userId: 'u1' },
});

await runtime.addJob({
  hireId: hire.id,
  entrypointKey: 'hourly-sync',
  schedule: { kind: 'once', at: Date.now() + 30_000 },
  jobInput: { accountId: 'acct-123' },
});

const worker = createSchedulerWorker(runtime, 5_000);
worker.start();
```

Notes:
- Agent discovery uses `.well-known/agent-card.json` (with fallbacks) and caches the card per hire.
- Wallet bindings ride along each invocation so payments/x402 can charge that wallet.
- Supported schedules: `interval` and `once` (cron parsing is not implemented yet).
npm package: @lucid-agents/types
Description: Shared types for lucid-agents framework
Latest version: 1.7.0

# @lucid-agents/types

Shared TypeScript type definitions for the lucid-agents framework.

## Overview

This package provides the core type definitions used across all lucid-agents packages. It has **zero dependencies** on other `@lucid-agents` packages, making it a pure leaf package in the dependency graph.

## What's Included

- **Core Types**: `AgentMeta`, `AgentContext`, `Usage`
- **Entrypoint Types**: `EntrypointDef`, `EntrypointHandler`, `EntrypointStreamHandler`
- **Pricing Types**: `EntrypointPrice`, `PaymentsConfig`, `SolanaAddress`
- **Streaming Types**: `StreamEnvelope`, `StreamResult`, and related stream types
- **Re-exports**: `Network` from `x402/types`

## Installation

```bash
bun add @lucid-agents/types
```

## Usage

```typescript
import type {
  AgentMeta,
  EntrypointDef,
  PaymentsConfig,
  Network,
} from '@lucid-agents/types';

const meta: AgentMeta = {
  name: 'my-agent',
  version: '1.0.0',
  description: 'My agent description',
};

const entrypoint: EntrypointDef = {
  key: 'echo',
  description: 'Echo back input',
  price: '1000',
  network: 'ethereum',
  handler: async (ctx) => {
    return {
      output: ctx.input,
      usage: { total_tokens: 0 },
    };
  },
};
```

## Design Philosophy

This package follows the **types-in-core** pattern used by mature TypeScript frameworks like TanStack. By centralizing type definitions:

- **Zero Circular Dependencies**: All other packages import from this package, never the reverse
- **Single Source of Truth**: Type contracts are defined in one place
- **Better IDE Support**: Type inference and autocomplete work seamlessly
- **Smaller Bundles**: Types are erased at compile time, adding no runtime overhead

## Dependencies

This package has no dependencies on other `@lucid-agents` packages. It only depends on:

- `zod` (peer dependency for type inference)
- `x402` (for `Network` type re-export)

## License

MIT
npm package: @lucid-dreams/agent-kit-identity
Description: ERC-8004 identity helpers for Lucid agent kit surfaces
Latest version: 0.2.24

# @lucid-dreams/agent-kit-identity

Helpers for wiring ERC-8004 trust metadata and registry flows into Lucid agents.
This package extracts the identity utilities that previously shipped inside
`@lucid-dreams/agent-kit`, so HTTP surfaces can stay lean while agents that need
registry access pull in the heavier dependencies on demand.

## Highlights

- Normalize domains and addresses for ERC-8004 interoperability.
- Build CAIP-10 registration entries and bootstrap static trust descriptors.
- Create lightweight viem clients from environment variables on demand.
- Register, update, and resolve agent identity records against ERC-8004
  registries.
- Produce domain ownership signatures (`signAgentDomainProof`) for publishing in
  manifests.
- High-level `bootstrapIdentity` helper for synthesizing trust config with
  optional auto-registration and fallbacks.

## Installation

```bash
bun add @lucid-dreams/agent-kit-identity
```

## Usage

```ts
import {
  createIdentityRegistryClient,
  bootstrapIdentity,
  signAgentDomainProof,
  normalizeDomain,
} from "@lucid-dreams/agent-kit-identity";

const client = createIdentityRegistryClient({
  address: "0xRegistry",
  chainId: 84532,
  publicClient,
  walletClient,
});

const record = await client.resolveByDomain("agent.example.com");

const { trust } = await bootstrapIdentity({
  domain: "agent.example.com",
  registryAddress: "0xRegistry",
  chainId: 84532,
  publicClient,
  walletClient,
});
```

> **Note:** These helpers rely on optional viem adapters. If you plan to call
> `makeViemClientsFromEnv` or `bootstrapIdentity` with `makeClients`, ensure the
> `viem` package is installed in your workspace.
npm package: @lucid-evolution/uplc
Description: ## 1. Enter Development Environment
Latest version: 0.2.20

# Development Environment Setup

## 1. Enter Development Environment

To start working in the development environment, run the following command:

```bash
nix develop
```

## 2. Build the Rust Project & Generate WASM Files

Before continuing, please note that this step is not part of the CI process. You'll need to run it locally to build the Rust project and generate the required WASM files:

```bash
pnpm build-local
```

## 3. Build the UPLC Package

Once you've completed the previous step, you can build the UPLC package by running:

```
pnpm build
```