@tangle-network/sandbox-cli 0.20.66 → 0.21.0

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.
@@ -0,0 +1,41 @@
1
+ graph: haiku-review
2
+ describe: Two independent agents write and judge a haiku; use the detected local subscription.
3
+ params:
4
+ topic: { type: string, default: rain at dawn }
5
+ nodes:
6
+ - id: poet
7
+ profile:
8
+ prompt:
9
+ systemPrompt: >-
10
+ Write one original English haiku about the assigned topic. Return only
11
+ JSON with poem containing exactly three strings. Use five, seven and
12
+ five syllables. Do not judge or approve your own poem.
13
+ - id: critic
14
+ profile:
15
+ prompt:
16
+ systemPrompt: >-
17
+ Judge the poet's result supplied in the task evidence. Independently
18
+ count the syllables in each line and assess whether it is a haiku
19
+ about the requested topic. Do not rewrite the poem. Return only JSON
20
+ with approved (boolean), poem (the same three strings), syllables
21
+ (three integer counts), and reason. Approve only a five/seven/five
22
+ haiku; explain any failure honestly.
23
+ entry:
24
+ - node: poet
25
+ task: 'Write a haiku about ${params.topic}.'
26
+ edges:
27
+ - kind: routes
28
+ from: poet
29
+ to: critic
30
+ directive: { surface: delegates/worker-brief, version: 1 }
31
+ budget:
32
+ maxIterations: 6
33
+ maxTokens: 64000
34
+ deadlineMs: 120000
35
+ check:
36
+ describe: PASS when the independent critic approves and reports five/seven/five; FAIL otherwise.
37
+ all:
38
+ - { node: critic, pointer: /approved, equals: true }
39
+ - { node: critic, pointer: /syllables/0, equals: 5 }
40
+ - { node: critic, pointer: /syllables/1, equals: 7 }
41
+ - { node: critic, pointer: /syllables/2, equals: 5 }
package/package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "@tangle-network/sandbox-cli",
3
- "version": "0.20.66",
3
+ "version": "0.21.0",
4
4
  "description": "CLI for Tangle Sandbox operations",
5
5
  "type": "module",
6
+ "engines": {
7
+ "node": ">=22.19.0"
8
+ },
6
9
  "bin": {
7
10
  "tangle": "./bin/tangle.js"
8
11
  },
@@ -12,14 +15,18 @@
12
15
  "dist",
13
16
  "bin",
14
17
  "SKILL.md",
15
- "hub-reference.md"
18
+ "hub-reference.md",
19
+ "examples"
16
20
  ],
17
21
  "dependencies": {
18
- "@tangle-network/agent-core": "^0.12.0",
19
- "@tangle-network/agent-interface": "5.2.1",
22
+ "@tangle-network/agent-core": "^1.0.0",
23
+ "@tangle-network/agent-eval": "1.0.0",
24
+ "@tangle-network/agent-interface": "5.9.0",
25
+ "@tangle-network/agent-runtime": "1.0.0",
20
26
  "@tangle-network/hub-sdk": "^1.0.2",
21
27
  "@tangle-network/sandbox": "^1.0.15",
22
28
  "chalk": "^5.6.2",
29
+ "cli-bridge": "https://github.com/drewstone/cli-bridge/archive/c4ad6dbc526da9ad7f7b09d4d56edfb7aaddc916.tar.gz",
23
30
  "commander": "12.1.0",
24
31
  "dotenv": "17.2.3",
25
32
  "ora": "^9.4.1",
@@ -28,8 +35,6 @@
28
35
  "ws": "^8.22.0"
29
36
  },
30
37
  "devDependencies": {
31
- "@tangle-network/agent-eval": "0.214.0",
32
- "@tangle-network/agent-runtime": "0.325.17-1",
33
38
  "@types/node": "25.6.0",
34
39
  "@types/proper-lockfile": "4.1.4",
35
40
  "@types/ws": "^8.18.2",
@@ -58,17 +63,9 @@
58
63
  ],
59
64
  "author": "Tangle Network",
60
65
  "license": "MIT",
61
- "peerDependencies": {
62
- "@tangle-network/agent-runtime": ">=0.277.0"
63
- },
64
- "peerDependenciesMeta": {
65
- "@tangle-network/agent-runtime": {
66
- "optional": true
67
- }
68
- },
69
66
  "tangleRelease": {
70
- "sourceSha": "d893db6a785fdefe71b8cf99660af8862a641ab8",
71
- "mergedAt": "2026-10-26T23:20:03-06:00"
67
+ "sourceSha": "7733751eb5ff1c719e3d53202e26508e26326320",
68
+ "mergedAt": "2026-10-26T23:35:31-06:00"
72
69
  },
73
70
  "scripts": {
74
71
  "build": "tsdown",