@tangle-network/agent-runtime 0.14.1 → 0.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +166 -84
- package/dist/agent.d.ts +1 -1
- package/dist/index.d.ts +363 -5
- package/dist/index.js +433 -4
- package/dist/index.js.map +1 -1
- package/dist/{types-jr_EFhrD.d.ts → types-CYxfw14J.d.ts} +9 -0
- package/package.json +7 -3
|
@@ -242,8 +242,17 @@ type RuntimeStreamEvent = {
|
|
|
242
242
|
name?: string;
|
|
243
243
|
mimeType?: string;
|
|
244
244
|
uri?: string;
|
|
245
|
+
content?: string;
|
|
245
246
|
metadata?: Record<string, unknown>;
|
|
246
247
|
timestamp?: string;
|
|
248
|
+
} | {
|
|
249
|
+
type: 'proposal_created';
|
|
250
|
+
task?: AgentTaskSpec;
|
|
251
|
+
session?: RuntimeSession;
|
|
252
|
+
proposalId: string;
|
|
253
|
+
title: string;
|
|
254
|
+
status?: 'pending' | 'approved' | 'rejected';
|
|
255
|
+
timestamp?: string;
|
|
247
256
|
} | {
|
|
248
257
|
type: 'backend_error';
|
|
249
258
|
task: AgentTaskSpec;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/agent-runtime",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.1",
|
|
4
4
|
"description": "Reusable runtime lifecycle for domain-specific agents.",
|
|
5
5
|
"homepage": "https://github.com/tangle-network/agent-runtime#readme",
|
|
6
6
|
"repository": {
|
|
@@ -43,17 +43,20 @@
|
|
|
43
43
|
"access": "public"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@tangle-network/agent-eval": "^0.
|
|
46
|
+
"@tangle-network/agent-eval": "^0.33.1"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@biomejs/biome": "^2.4.0",
|
|
50
|
+
"@cloudflare/vitest-pool-workers": "^0.8.71",
|
|
51
|
+
"@cloudflare/workers-types": "^4.20260522.1",
|
|
50
52
|
"@tangle-network/sandbox": "0.1.2",
|
|
51
53
|
"@types/better-sqlite3": "^7.6.13",
|
|
52
54
|
"@types/node": "^25.6.0",
|
|
53
55
|
"better-sqlite3": "^12.10.0",
|
|
54
56
|
"tsup": "^8.0.0",
|
|
55
57
|
"typescript": "^5.7.0",
|
|
56
|
-
"vitest": "^3.0.0"
|
|
58
|
+
"vitest": "^3.0.0",
|
|
59
|
+
"wrangler": "^4.94.0"
|
|
57
60
|
},
|
|
58
61
|
"engines": {
|
|
59
62
|
"node": ">=20"
|
|
@@ -67,6 +70,7 @@
|
|
|
67
70
|
"dev": "tsup --watch",
|
|
68
71
|
"test": "vitest run",
|
|
69
72
|
"test:watch": "vitest",
|
|
73
|
+
"test:workers": "vitest run -c vitest.workers.config.ts",
|
|
70
74
|
"lint": "biome check src tests examples",
|
|
71
75
|
"lint:fix": "biome check --write src tests examples",
|
|
72
76
|
"typecheck": "tsc --noEmit"
|