Skip to content
Open
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
823 changes: 399 additions & 424 deletions agents/package-lock.json

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion agents/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,17 @@
"version": "0.1.0",
"private": true,
"description": "ElizaOS agent scaffold for Regen Network agentic tokenomics",
"workspaces": [
"packages/core",
"packages/plugin-ledger-mcp",
"packages/plugin-koi-mcp",
"packages/agents"
],
"scripts": {
"build": "tsc --build",
"test": "vitest run",
"test:watch": "vitest",
"lint": "tsc --noEmit",
"lint": "tsc --build --noEmit",
"start": "tsx packages/agents/src/index.ts",
"start:governance": "AGENT_CHARACTER=governance-analyst tsx packages/agents/src/index.ts",
"start:registry": "AGENT_CHARACTER=registry-reviewer tsx packages/agents/src/index.ts"
Expand Down
13 changes: 13 additions & 0 deletions agents/packages/agents/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"rootDir": "src",
"outDir": "dist"
},
"include": ["src/**/*.ts"],
"references": [
{ "path": "../core" },
{ "path": "../plugin-ledger-mcp" },
{ "path": "../plugin-koi-mcp" }
]
}
2 changes: 1 addition & 1 deletion agents/packages/core/src/ooda-executor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export class OODAExecutor {
if (!match) return true;

const [, field, op, rawValue] = match;
const actual = (decision as Record<string, unknown>)[field];
const actual = (decision as unknown as Record<string, unknown>)[field];
const expected = isNaN(Number(rawValue))
? rawValue.trim()
: Number(rawValue);
Expand Down
8 changes: 8 additions & 0 deletions agents/packages/core/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"rootDir": "src",
"outDir": "dist"
},
"include": ["src/**/*.ts"]
}
11 changes: 11 additions & 0 deletions agents/packages/plugin-koi-mcp/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"rootDir": "src",
"outDir": "dist"
},
"include": ["src/**/*.ts"],
"references": [
{ "path": "../core" }
]
}
11 changes: 11 additions & 0 deletions agents/packages/plugin-ledger-mcp/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"rootDir": "src",
"outDir": "dist"
},
"include": ["src/**/*.ts"],
"references": [
{ "path": "../core" }
]
}
17 changes: 17 additions & 0 deletions agents/tsconfig.base.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"lib": ["ES2022"],
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"composite": true
}
}
33 changes: 7 additions & 26 deletions agents/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,9 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"lib": ["ES2022"],
"outDir": "./dist",
"rootDir": ".",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"paths": {
"@regen/core": ["./packages/core/src"],
"@regen/plugin-ledger-mcp": ["./packages/plugin-ledger-mcp/src"],
"@regen/plugin-koi-mcp": ["./packages/plugin-koi-mcp/src"]
}
},
"include": [
"packages/*/src/**/*.ts",
"__tests__/**/*.ts"
],
"exclude": ["node_modules", "dist"]
"files": [],
"references": [
{ "path": "packages/core" },
{ "path": "packages/plugin-ledger-mcp" },
{ "path": "packages/plugin-koi-mcp" },
{ "path": "packages/agents" }
]
}