@tangle-network/sandbox-cli 0.3.3 → 0.4.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.
package/hub-reference.md CHANGED
@@ -132,10 +132,10 @@ tangle hub tools search "github issues" --provider github --json
132
132
  {
133
133
  "tools": [
134
134
  {
135
- "path": "github.issues.listIssues",
135
+ "path": "github.issues.search",
136
136
  "providerId": "github",
137
- "title": "List GitHub Issues",
138
- "description": "List issues in a repository",
137
+ "title": "Search issues and pull requests",
138
+ "description": "Search GitHub issues and pull requests with a query",
139
139
  "connectionRequired": true,
140
140
  "connectionStatus": "connected",
141
141
  "requiredConnectionProviderId": "github",
@@ -150,33 +150,35 @@ Tool `policyState`: `allow`, `ask`, `deny`, `unknown`.
150
150
  ### Tool Describe
151
151
 
152
152
  ```bash
153
- tangle hub tools describe github.issues.listIssues --json
153
+ tangle hub tools describe github.issues.search --json
154
154
  ```
155
155
 
156
156
  ```json
157
157
  {
158
158
  "tool": {
159
- "path": "github.issues.listIssues",
159
+ "path": "github.issues.search",
160
160
  "providerId": "github",
161
- "title": "List GitHub Issues",
162
- "description": "List issues in a repository",
161
+ "title": "Search issues and pull requests",
162
+ "description": "Search GitHub issues and pull requests with a query",
163
163
  "connectionRequired": true,
164
164
  "connectionStatus": "connected",
165
165
  "requiredConnectionProviderId": "github",
166
166
  "policyState": "ask",
167
167
  "inputSchema": {
168
168
  "type": "object",
169
- "required": ["owner", "repo"],
169
+ "required": ["q"],
170
170
  "properties": {
171
- "owner": { "type": "string" },
172
- "repo": { "type": "string" },
173
- "state": { "type": "string", "enum": ["open", "closed", "all"] },
174
- "labels": { "type": "array", "items": { "type": "string" } }
171
+ "q": { "type": "string" },
172
+ "sort": { "type": "string", "enum": ["comments", "created", "updated"] },
173
+ "order": { "type": "string", "enum": ["asc", "desc"] }
175
174
  }
176
175
  },
177
176
  "outputSchema": {
178
- "type": "array",
179
- "items": { "$ref": "#/components/schemas/Issue" }
177
+ "type": "object",
178
+ "properties": {
179
+ "total_count": { "type": "integer" },
180
+ "items": { "type": "array", "items": { "$ref": "#/components/schemas/Issue" } }
181
+ }
180
182
  }
181
183
  }
182
184
  }
@@ -185,20 +187,23 @@ tangle hub tools describe github.issues.listIssues --json
185
187
  ### Tool Call / Exec
186
188
 
187
189
  ```bash
188
- tangle hub call github issues listIssues '{"owner":"tangle-network","repo":"agent-dev-container"}'
189
- tangle hub exec github.issues.listIssues '{"owner":"tangle-network","repo":"agent-dev-container"}'
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
192
  ```
191
193
 
192
194
  ```json
193
195
  {
194
- "result": [
195
- {
196
- "number": 42,
197
- "title": "Fix auth middleware",
198
- "state": "open",
199
- "createdAt": "2026-06-01T10:00:00Z"
200
- }
201
- ]
196
+ "result": {
197
+ "total_count": 1,
198
+ "items": [
199
+ {
200
+ "number": 42,
201
+ "title": "Fix auth middleware",
202
+ "state": "open",
203
+ "createdAt": "2026-06-01T10:00:00Z"
204
+ }
205
+ ]
206
+ }
202
207
  }
203
208
  ```
204
209
 
@@ -311,7 +316,7 @@ The spec head is a connection id or a provider name (see
311
316
  ```bash
312
317
  # Least privilege (recommended): the agent sees exactly these tool paths.
313
318
  tangle agent task sbx_123 "triage issues" \
314
- --connection github:github.issues.listIssues,github.issues.create
319
+ --connection github:github.issues.search,github.issues.create
315
320
 
316
321
  # All capabilities of one connection (by id when a provider is ambiguous).
317
322
  tangle agent task sbx_123 "triage issues" --connection hubconn_github_a1:*
@@ -407,13 +412,13 @@ tangle hub status --json
407
412
  # 3. Discover
408
413
  tangle hub tools sources --json
409
414
  tangle hub tools search "issues" --provider github --json
410
- tangle hub tools describe github.issues.listIssues --json
415
+ tangle hub tools describe github.issues.search --json
411
416
 
412
417
  # 4. Call with auto-approve
413
- tangle hub exec github.issues.listIssues '{"owner":"tangle-network","repo":"agent-dev-container"}' --approve
418
+ tangle hub exec github.issues.search '{"q":"repo:tangle-network/agent-dev-container is:issue"}' --approve
414
419
 
415
420
  # 5. Set permanent policy
416
- tangle hub permissions set --connection hubconn_github_a1 --action github.issues.listIssues --decision allow
421
+ tangle hub permissions set --connection hubconn_github_a1 --action github.issues.search --decision allow
417
422
  ```
418
423
 
419
424
  ### Batch Approvals
@@ -435,7 +440,7 @@ done
435
440
  tangle hub permissions list --connection hubconn_github_a1 --json
436
441
 
437
442
  # Set all read actions to allow, write actions to ask
438
- tangle hub permissions set --connection hubconn_github_a1 --action github.issues.listIssues --decision allow
443
+ tangle hub permissions set --connection hubconn_github_a1 --action github.issues.search --decision allow
439
444
  tangle hub permissions set --connection hubconn_github_a1 --action github.issues.create --decision ask
440
445
  ```
441
446
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/sandbox-cli",
3
- "version": "0.3.3",
3
+ "version": "0.4.0",
4
4
  "description": "CLI for Tangle Sandbox operations",
5
5
  "type": "module",
6
6
  "bin": {
@@ -15,16 +15,17 @@
15
15
  "hub-reference.md"
16
16
  ],
17
17
  "dependencies": {
18
- "@tangle-network/agent-core": "^0.3.1",
19
- "@tangle-network/agent-eval": "^0.100.0",
20
- "@tangle-network/agent-runtime": "^0.77.0",
18
+ "@tangle-network/agent-core": "0.4.19",
19
+ "@tangle-network/agent-eval": "0.123.5",
20
+ "@tangle-network/agent-interface": "0.32.0",
21
+ "@tangle-network/agent-runtime": "0.102.2",
21
22
  "chalk": "^5.4.1",
22
23
  "commander": "12.1.0",
23
24
  "dotenv": "17.2.3",
24
25
  "ora": "^9.4.0",
25
26
  "ws": "^8.20.0",
26
- "@tangle-network/sandbox": "0.9.2",
27
- "@tangle-network/hub-sdk": "0.2.2"
27
+ "@tangle-network/hub-sdk": "0.3.0",
28
+ "@tangle-network/sandbox": "0.12.0"
28
29
  },
29
30
  "devDependencies": {
30
31
  "@types/node": "25.6.0",