Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup #3

Merged
merged 15 commits into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": ["@xmtp/tsconfig"]
"ignore": ["@xmtp/tsconfig", "@example/*"]
}
Empty file.
33 changes: 0 additions & 33 deletions .github/ISSUE_TEMPLATE/skill_request.yml

This file was deleted.

31 changes: 3 additions & 28 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ jobs:
run: corepack enable
- name: Install dependencies
run: yarn
- name: Install docs dependencies
run: |
cd packages/docs
yarn
- name: Build
run: yarn build
- name: Check code format
Expand All @@ -43,27 +39,6 @@ jobs:
- name: Install dependencies
run: yarn
- name: Build
run: yarn build:xmtp-agents
- name: Test client
run: yarn test:client
continue-on-error: true
env:
ENCRYPTION_KEY: ${{ secrets.ENCRYPTION_KEY }}
FIXED_KEY: ${{ secrets.FIXED_KEY }}
- name: Test parsing
run: yarn test:parsing
continue-on-error: true
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
- name: Test Frames
run: yarn test:frames
- name: Test Prompting
continue-on-error: true
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: yarn test:prompt
- name: Test Intent
continue-on-error: true
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: yarn test:intent
run: yarn build
- name: Run tests
run: yarn test
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.14.0
22.13.0
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.14.0
22.13.0
556 changes: 278 additions & 278 deletions .yarn/releases/yarn-4.5.1.cjs → .yarn/releases/yarn-4.6.0.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ enableTelemetry: false

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.5.1.cjs
yarnPath: .yarn/releases/yarn-4.6.0.cjs
5 changes: 0 additions & 5 deletions CHANGELOG.md

This file was deleted.

14 changes: 7 additions & 7 deletions examples/express/package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
{
"name": "multi-agent-express",
"name": "@example/multi-agent-express",
"private": true,
"type": "module",
"scripts": {
"build": "tsc",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
"dev": "tsc -w & sleep 1 && NODE_NO_WARNINGS=1 node --watch dist/index.js",
"start": "node dist/index.js"
},
"dependencies": {
"@xmtp/agent-starter": "workspace:*",
"axios": "^1.7.9",
"express": "^4.19.2"
"express": "^4.21.2"
},
"devDependencies": {
"@types/express": "^4.17.20",
"@types/node": "^20.14.2",
"typescript": "^5.4.5"
"@types/express": "^4.17.21",
"@types/node": "^22.10.9",
"typescript": "^5.7.3"
},
"packageManager": "yarn@4.5.1",
"engines": {
"node": ">=20"
"node": ">=22"
}
}
14 changes: 7 additions & 7 deletions examples/gated-group/package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
{
"name": "gated-group",
"name": "@example/gated-group",
"private": true,
"type": "module",
"scripts": {
"build": "tsc",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
"dev": "tsc -w & sleep 1 && NODE_NO_WARNINGS=1 node --watch dist/index.js",
"start": "node dist/index.js"
},
"dependencies": {
"@xmtp/agent-starter": "workspace:*",
"alchemy-sdk": "^3.5.1",
"express": "^4.19.2"
"express": "^4.21.2"
},
"devDependencies": {
"@types/express": "^4.17.20",
"@types/node": "^20.14.2",
"typescript": "^5.4.5"
"@types/express": "^4.17.21",
"@types/node": "^22.10.9",
"typescript": "^5.7.3"
},
"packageManager": "yarn@4.5.1",
"engines": {
"node": ">=20"
"node": ">=22"
}
}
12 changes: 6 additions & 6 deletions examples/gm/package.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
{
"name": "gm",
"name": "@example/gm",
"private": true,
"type": "module",
"scripts": {
"build": "tsc",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
"dev": "tsc -w & sleep 1 && NODE_NO_WARNINGS=1 node --watch dist/index.js",
"start": "node dist/index.js"
},
"dependencies": {
"@xmtp/agent-starter": "workspace:*"
},
"devDependencies": {
"@types/express": "^4.17.20",
"@types/node": "^20.14.2",
"typescript": "^5.4.5"
"@types/express": "^4.17.21",
"@types/node": "^22.10.9",
"typescript": "^5.7.3"
},
"packageManager": "yarn@4.5.1",
"engines": {
"node": ">=20"
"node": ">=22"
}
}
11 changes: 6 additions & 5 deletions examples/gpt/package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
{
"name": "gpt",
"name": "@example/gpt",
"private": true,
"type": "module",
"scripts": {
"build": "tsc",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
"dev": "tsc -w & sleep 1 && NODE_NO_WARNINGS=1 node --watch dist/index.js",
"start": "node dist/index.js"
},
"dependencies": {
"@xmtp/agent-starter": "workspace:*",
"openai": "latest"
},
"devDependencies": {
"@types/node": "^20.14.2",
"typescript": "^5.4.5"
"@types/node": "^22.10.9",
"typescript": "^5.7.3"
},
"packageManager": "yarn@4.5.1",
"engines": {
"node": ">=20"
"node": ">=22"
}
}
26 changes: 10 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,42 +3,36 @@
"private": true,
"type": "module",
"workspaces": [
"templates/*",
"packages/*",
"examples/*",
"shared/*"
],
"scripts": {
"build": "yarn build:agent-starter && yarn build:examples",
"build:agent-starter": "turbo run build --filter=./packages/agent-starter --force",
"build:examples": "turbo run build --filter='./examples/*'",
"build": "turbo run build",
"changeset": " changeset add --type patch",
"clean": "turbo run clean && yarn cache clean && find examples -name '.data' -type d -exec rm -rf {} +",
"dev": "cd packages/agent-starter && yarn build:watch",
"examples": "node scripts/examples.js",
"format": "turbo run format",
"publish": "changeset publish",
"test": "FORCE_COLOR=1 turbo run test --force --concurrency=1",
"publish": "yarn build && changeset publish",
"test": "FORCE_COLOR=1 turbo run test",
"typecheck": "FORCE_COLOR=1 turbo run typecheck"
},
"resolutions": {
"viem": "^2.16.3"
},
"dependencies": {
"@changesets/changelog-git": "^0.2.0",
"@changesets/cli": "^2.27.5",
"@changesets/cli": "^2.27.11",
"@clack/prompts": "^0.9.1",
"punycode": "^2.3.1",
"readline-sync": "^1.4.10"
},
"devDependencies": {
"prettier": "^3.3.1",
"prettier-plugin-packagejson": "^2.5.0",
"turbo": "^1.13.4",
"typescript": "^5.4.5"
"prettier": "^3.4.2",
"prettier-plugin-packagejson": "^2.5.8",
"turbo": "^2.3.4",
"typescript": "^5.7.3"
},
"packageManager": "yarn@4.5.1",
"packageManager": "yarn@4.6.0",
"engines": {
"node": ">=20"
"node": ">=22"
}
}
31 changes: 14 additions & 17 deletions packages/agent-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,38 +20,35 @@
"build": "rollup -c",
"build:watch": "yarn build -w",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
"publish": "npm publish",
"test": "vitest"
"test": "vitest run"
},
"dependencies": {
"@changesets/changelog-git": "^0.2.0",
"@changesets/cli": "^2.27.5",
"@xmtp/content-type-primitives": "^2.0.0",
"@xmtp/content-type-reaction": "^2.0.0",
"@xmtp/content-type-read-receipt": "^2.0.0",
"@xmtp/content-type-remote-attachment": "^2.0.0",
"@xmtp/content-type-reply": "^2.0.0",
"@xmtp/content-type-text": "^2.0.0",
"@xmtp/node-sdk": "^0.0.38",
"dotenv": "^16.4.5",
"typescript": "^5.4.5",
"viem": "^2.16.3"
"@xmtp/node-sdk": "^0.0.40",
"viem": "^2.22.12"
},
"devDependencies": {
"@rollup/plugin-typescript": "^11.1.6",
"@types/node": "^20.14.2",
"@vitest/coverage-v8": "^2.1.4",
"@changesets/changelog-git": "^0.2.0",
"@changesets/cli": "^2.27.11",
"@rollup/plugin-typescript": "^12.1.2",
"@types/node": "^22.10.9",
"@vitest/coverage-v8": "^2.1.8",
"dotenv": "^16.4.7",
"node-fetch": "^3.3.2",
"prettier": "^3.3.1",
"rollup": "^4.18.0",
"prettier": "^3.4.2",
"rollup": "^4.31.0",
"rollup-plugin-dts": "^6.1.1",
"ts-node": "^10.9.2",
"turbo": "^2.2.3",
"vitest": "^2.1.4"
"typescript": "^5.7.3",
"vitest": "^2.1.8"
},
"packageManager": "yarn@4.5.1",
"engines": {
"node": ">=20"
"node": ">=22"
},
"publishConfig": {
"access": "public",
Expand Down
27 changes: 12 additions & 15 deletions packages/lookup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,30 +20,27 @@
"build": "rollup -c",
"build:watch": "yarn build -w",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
"publish": "npm publish",
"test": "vitest"
"test": "vitest run"
},
"dependencies": {
"viem": "^2.16.3"
"viem": "^2.22.12"
},
"devDependencies": {
"@changesets/changelog-git": "^0.2.0",
"@changesets/cli": "^2.27.5",
"@rollup/plugin-typescript": "^11.1.6",
"@types/node": "^20.14.2",
"@vitest/coverage-v8": "^2.1.4",
"dotenv": "^16.4.5",
"prettier": "^3.3.1",
"rollup": "^4.18.0",
"@changesets/cli": "^2.27.11",
"@rollup/plugin-typescript": "^12.1.2",
"@types/node": "^22.10.9",
"@vitest/coverage-v8": "^2.1.8",
"dotenv": "^16.4.7",
"prettier": "^3.4.2",
"rollup": "^4.31.0",
"rollup-plugin-dts": "^6.1.1",
"ts-node": "^10.9.2",
"turbo": "^2.2.3",
"typescript": "^5.4.5",
"vitest": "^2.1.4"
"typescript": "^5.7.3",
"vitest": "^2.1.8"
},
"packageManager": "yarn@4.5.1",
"engines": {
"node": ">=20"
"node": ">=22"
},
"publishConfig": {
"access": "public",
Expand Down
5 changes: 2 additions & 3 deletions shared/tsconfig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@
"format:check": "yarn format:base -c ."
},
"devDependencies": {
"prettier": "^3.3.1"
"prettier": "^3.4.2"
},
"packageManager": "yarn@4.5.1",
"engines": {
"node": ">=20"
"node": ">=22"
}
}
Loading
Loading