@tangle-network/sandbox-cli 0.21.1-develop.20260813061131.8089dfe → 0.21.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.
@@ -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/hub-reference.md CHANGED
@@ -187,8 +187,8 @@ tangle hub tools describe github.issues.search --json
187
187
  ### Tool Call / Exec
188
188
 
189
189
  ```bash
190
- tangle hub call github issues search '{"q":"repo:tangle-network/agent-dev-container is:issue"}'
191
- tangle hub exec github.issues.search '{"q":"repo:tangle-network/agent-dev-container is:issue"}'
190
+ tangle hub call github issues search '{"q":"repo:tangle-network/agent-container is:issue"}'
191
+ tangle hub exec github.issues.search '{"q":"repo:tangle-network/agent-container is:issue"}'
192
192
  ```
193
193
 
194
194
  ```json
@@ -351,8 +351,9 @@ tangle hub permissions revert-writes --connection github
351
351
 
352
352
  > `--allow-writes` needs a named connection (id or provider); the `*:*`
353
353
  > wildcard can't be bulk-granted. Pass `--no-hub-key` (or set
354
- > `TANGLE_SKIP_HUB_KEY=1`) to skip auto-minting a platform Hub key and use your
355
- > stored credential as-is.
354
+ > `TANGLE_SKIP_HUB_KEY=1`) to skip auto-minting a platform key and use your
355
+ > stored credential as-is. The variable disables minting for every
356
+ > platform-targeted command, not for `hub` alone.
356
357
 
357
358
  ## Error Format
358
359
 
@@ -416,7 +417,7 @@ tangle hub tools search "issues" --provider github --json
416
417
  tangle hub tools describe github.issues.search --json
417
418
 
418
419
  # 4. Call with auto-approve
419
- tangle hub exec github.issues.search '{"q":"repo:tangle-network/agent-dev-container is:issue"}' --approve
420
+ tangle hub exec github.issues.search '{"q":"repo:tangle-network/agent-container is:issue"}' --approve
420
421
 
421
422
  # 5. Set permanent policy
422
423
  tangle hub permissions set --connection hubconn_github_a1 --action github.issues.search --decision allow
package/package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "@tangle-network/sandbox-cli",
3
- "version": "0.21.1-develop.20260813061131.8089dfe",
3
+ "version": "0.21.1",
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,29 +15,36 @@
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.6.1",
19
- "@tangle-network/agent-eval": "0.145.3",
20
- "@tangle-network/agent-interface": "0.47.0",
21
- "@tangle-network/agent-runtime": "0.132.13",
22
- "chalk": "^5.4.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",
26
+ "@tangle-network/hub-sdk": "^1.0.3",
27
+ "@tangle-network/sandbox": "^1.0.15",
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
- "ora": "^9.4.0",
26
- "ws": "^8.20.0",
27
- "@tangle-network/hub-sdk": "0.21.1-develop.20260813061131.8089dfe",
28
- "@tangle-network/sandbox": "0.21.1-develop.20260813061131.8089dfe"
32
+ "ora": "^9.4.1",
33
+ "proper-lockfile": "4.1.2",
34
+ "viem": "^2.57.10",
35
+ "ws": "^8.22.0"
29
36
  },
30
37
  "devDependencies": {
31
38
  "@types/node": "25.6.0",
32
- "@types/ws": "^8.18.1",
33
- "@vitest/coverage-v8": "^4.1.5",
39
+ "@types/proper-lockfile": "4.1.4",
40
+ "@types/ws": "^8.18.2",
41
+ "@vitest/coverage-v8": "^4.1.12",
34
42
  "tsdown": "0.21.10",
35
- "tsx": "^4.20.6",
43
+ "tsx": "^4.23.15",
36
44
  "typescript": "^6.0.3",
37
- "vitest": "^4.1.5"
45
+ "vitest": "^4.1.12",
46
+ "@tangle-network/runtime-contracts": "0.19.0",
47
+ "@tangle-network/sdk-cli-runner": "^0.1.2"
38
48
  },
39
49
  "publishConfig": {
40
50
  "access": "public",
@@ -42,7 +52,7 @@
42
52
  },
43
53
  "repository": {
44
54
  "type": "git",
45
- "url": "https://github.com/tangle-network/agent-dev-container.git",
55
+ "url": "https://github.com/tangle-network/agent-container.git",
46
56
  "directory": "products/sandbox/cli"
47
57
  },
48
58
  "keywords": [
@@ -53,10 +63,14 @@
53
63
  ],
54
64
  "author": "Tangle Network",
55
65
  "license": "MIT",
66
+ "tangleRelease": {
67
+ "sourceSha": "aba954f8ffda5faa410798963b4e7d5a7de58319",
68
+ "mergedAt": "2026-10-26T23:53:31-06:00"
69
+ },
56
70
  "scripts": {
57
71
  "build": "tsdown",
58
72
  "dev": "tsx src/index.ts",
59
- "check-types": "tsc --noEmit",
73
+ "check-types": "node ../../../scripts/tsc-native.mjs --noEmit",
60
74
  "verify-dist": "bash scripts/verify-dist.sh",
61
75
  "test": "vitest run",
62
76
  "test:watch": "vitest watch",