Skip to content

Commit

Permalink
Merge pull request #4 from LIT-Protocol/wyatt/v3/release-test-2
Browse files Browse the repository at this point in the history
Wyatt/v3/release test 2
  • Loading branch information
spacesailor24 authored Dec 25, 2024
2 parents a48bad1 + f97833b commit d834768
Show file tree
Hide file tree
Showing 164 changed files with 1,064 additions and 386 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ Thumbs.db

test-output

.agent-cli-storage
.agent-signer-storage
.fss-cli-storage
.fss-signer-storage
8 changes: 4 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[submodule "packages/agent-contracts/lib/forge-std"]
path = packages/agent-contracts/lib/forge-std
[submodule "packages/fss-contracts/lib/forge-std"]
path = packages/fss-contracts/lib/forge-std
url = https://github.com/foundry-rs/forge-std
[submodule "packages/agent-contracts/lib/openzeppelin-contracts"]
path = packages/agent-contracts/lib/openzeppelin-contracts
[submodule "packages/fss-contracts/lib/openzeppelin-contracts"]
path = packages/fss-contracts/lib/openzeppelin-contracts
url = https://github.com/OpenZeppelin/openzeppelin-contracts
26 changes: 23 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,31 @@
## 0.1.0-2 (2024-12-21)
## 0.1.1-8 (2024-12-25)

This was a version bump only, there were no code changes.

## 0.1.0-1 (2024-12-21)
## 0.1.1-7 (2024-12-25)

This was a version bump only, there were no code changes.

## 0.1.0-0 (2024-12-21)
## 0.1.1-6 (2024-12-25)

This was a version bump only, there were no code changes.

## 0.1.1-5 (2024-12-25)

This was a version bump only, there were no code changes.

## 0.1.1-4 (2024-12-25)

This was a version bump only, there were no code changes.

## 0.1.1-3 (2024-12-25)

This was a version bump only, there were no code changes.

## 0.1.1-2 (2024-12-25)

This was a version bump only, there were no code changes.

## 0.1.1-1 (2024-12-25)

This was a version bump only, there were no code changes.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# Lit AI Agent
# Lit Full Self Signing

A modular framework for building AI agents that can interact with blockchain and web3 infrastructure through the Lit Protocol ecosystem. This project enables the creation of autonomous agents that can execute blockchain transactions and interact with smart contracts based on natural language instructions, while maintaining security through configurable policies.

## Project Overview

The Lit AI Agent project consists of several packages that work together to provide a complete framework for building and deploying AI agents:

- `agent`: Core agent implementation that handles natural language processing and tool execution
- `agent-cli`: Command-line interface for interacting with Lit agents
- `agent-contracts`: Smart contracts for agent registry and policy management
- `agent-signer`: Handles authentication and signing of transactions
- `agent-tool-registry`: Registry for available agent tools and capabilities
- `agent-tool-erc20-send`: Example tool implementation for sending ERC20 tokens
- `agent-tool-policy-base`: Shared utilities and interfaces for building agent tools
- `full-self-signing`: Core agent implementation that handles natural language processing and tool execution
- `fss-cli`: Command-line interface for interacting with Lit agents
- `fss-contracts`: Smart contracts for agent registry and policy management
- `fss-signer`: Handles authentication and signing of transactions
- `fss-tool-registry`: Registry for available agent tools and capabilities
- `fss-tool-erc20-send`: Example tool implementation for sending ERC20 tokens
- `fss-tool-policy-base`: Shared utilities and interfaces for building agent tools

## Running the Lit Agent CLI Demo

Expand Down
7 changes: 5 additions & 2 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,12 @@
}
},
"release": {
"projects": ["packages/*", "!packages/fss-contracts"],
"version": {
"preVersionCommand": "pnpm dlx nx run-many -t build"
"generatorOptions": {
"preserveLocalDependencyProtocols": true
}
}
},
"ignore": ["**/dist/**", "**/node_modules/**", "packages/agent-contracts/**"]
"ignore": ["**/dist/**", "**/node_modules/**", "packages/fss-contracts/**"]
}
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
{
"name": "@lit-ai-agent/source",
"name": "@lit-protocol/full-self-signing",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"build": "npx nx run-many -t build",
"clean": "node tools/clean.js"
},
"private": true,
"devDependencies": {
"@eslint/js": "^9.8.0",
"@nx/eslint": "20.3.0",
Expand Down
32 changes: 0 additions & 32 deletions packages/agent-cli/package.json

This file was deleted.

8 changes: 0 additions & 8 deletions packages/agent-cli/src/cli.ts

This file was deleted.

13 changes: 0 additions & 13 deletions packages/agent-cli/src/index.ts

This file was deleted.

39 changes: 0 additions & 39 deletions packages/agent-cli/tsconfig.lib.json

This file was deleted.

1 change: 0 additions & 1 deletion packages/agent-signer/.gitignore

This file was deleted.

22 changes: 0 additions & 22 deletions packages/agent-tool-registry/package.json

This file was deleted.

26 changes: 0 additions & 26 deletions packages/agent/package.json

This file was deleted.

7 changes: 0 additions & 7 deletions packages/agent/src/lib/agent.spec.ts

This file was deleted.

4 changes: 2 additions & 2 deletions packages/agent-cli/README.md → packages/fss-cli/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# @lit-protocol/agent-cli
# @lit-protocol/fss-cli

A command-line interface for interacting with Lit Protocol agents.

## Installation

```bash
npm install -g @lit-protocol/agent-cli
npm install -g @lit-protocol/fss-cli
```

## Usage
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export default {
displayName: 'agent',
displayName: 'fss-cli',
preset: '../../jest.preset.js',
testEnvironment: 'node',
transform: {
Expand Down
62 changes: 62 additions & 0 deletions packages/fss-cli/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"name": "@lit-protocol/fss-cli",
"version": "0.1.1-8",
"publishConfig": {
"access": "public"
},
"bin": {
"lit-agent": "./dist/src/index.js"
},
"dependencies": {
"@lit-protocol/full-self-signing": "workspace:*",
"@lit-protocol/fss-signer": "workspace:*",
"@lit-protocol/fss-tool-registry": "workspace:*",
"@lit-protocol/constants": "catalog:",
"commander": "^12.1.0",
"ethers": "catalog:",
"inquirer": "^12.3.0",
"node-localstorage": "^3.0.5",
"tslib": "^2.3.0",
"zod": "^3.24.1"
},
"devDependencies": {
"@types/inquirer": "^9.0.7",
"@types/node-localstorage": "^1.3.3"
},
"type": "commonjs",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
"typings": "./dist/src/index.d.ts",
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"require": "./dist/src/index.js",
"default": "./dist/src/index.js"
}
},
"files": [
"dist",
"!**/*.tsbuildinfo"
],
"nx": {
"sourceRoot": "packages/fss-cli/src",
"projectType": "library",
"targets": {
"build": {
"executor": "@nx/js:tsc",
"outputs": [
"{options.outputPath}"
],
"options": {
"outputPath": "packages/fss-cli/dist",
"main": "packages/fss-cli/src/index.ts",
"tsConfig": "packages/fss-cli/tsconfig.lib.json",
"assets": [
"packages/fss-cli/*.md"
]
}
}
},
"name": "fss-cli"
}
}
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"name": "agent-cli",
"name": "fss-cli",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages/agent-cli/src",
"sourceRoot": "packages/fss-cli/src",
"projectType": "library",
"targets": {
"build": {
"executor": "@nx/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "packages/agent-cli/dist",
"main": "packages/agent-cli/src/index.ts",
"tsConfig": "packages/agent-cli/tsconfig.lib.json",
"assets": ["packages/agent-cli/*.md"]
"outputPath": "packages/fss-cli/dist",
"main": "packages/fss-cli/src/index.ts",
"tsConfig": "packages/fss-cli/tsconfig.lib.json",
"assets": ["packages/fss-cli/*.md"]
}
},
"start": {
"executor": "nx:run-commands",
"options": {
"command": "node packages/agent-cli/dist/src/index.js"
"command": "node packages/fss-cli/dist/src/index.js"
},
"dependsOn": ["build"]
}
Expand Down
Loading

0 comments on commit d834768

Please sign in to comment.