@topolo/cli 0.12.7 → 0.12.9
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/dist/index.js +2 -2
- package/package.json +3 -3
- package/skills/topolo/SKILL.md +16 -0
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import { platform as platform2 } from "os";
|
|
|
9
9
|
import { createInterface } from "readline/promises";
|
|
10
10
|
import { stdin as input } from "process";
|
|
11
11
|
|
|
12
|
-
// node_modules
|
|
12
|
+
// node_modules/@topolo/sdk/dist/index.js
|
|
13
13
|
function applyAuthHeaders(headers, credential) {
|
|
14
14
|
if (credential.kind === "api_key") {
|
|
15
15
|
headers.set("X-Api-Key", credential.apiKey);
|
|
@@ -3342,7 +3342,7 @@ function createTopolo(options) {
|
|
|
3342
3342
|
};
|
|
3343
3343
|
}
|
|
3344
3344
|
|
|
3345
|
-
// node_modules
|
|
3345
|
+
// node_modules/@topolo/sdk/dist/node/credential-store.js
|
|
3346
3346
|
import { mkdir as mkdir2, readFile as readFile2, writeFile as writeFile2, chmod as chmod2, rm as rm2, stat } from "fs/promises";
|
|
3347
3347
|
import { existsSync as existsSync2 } from "fs";
|
|
3348
3348
|
import { homedir as homedir2, platform } from "os";
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@topolo/cli",
|
|
3
3
|
"packageManager": "pnpm@10.17.1",
|
|
4
|
-
"version": "0.12.
|
|
5
|
-
"topoloPublishedVersion": "0.12.
|
|
4
|
+
"version": "0.12.9",
|
|
5
|
+
"topoloPublishedVersion": "0.12.9",
|
|
6
6
|
"description": "Public command-line interface for Topolo customer organizations, developers, and agents.",
|
|
7
7
|
"license": "UNLICENSED",
|
|
8
8
|
"author": "Topolo",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
31
|
-
"@topolo/mcp": "0.14.
|
|
31
|
+
"@topolo/mcp": "0.14.2",
|
|
32
32
|
"@topolo/sdk": "0.21.2",
|
|
33
33
|
"commander": "^12.1.0"
|
|
34
34
|
},
|
package/skills/topolo/SKILL.md
CHANGED
|
@@ -76,6 +76,22 @@ reads and refreshes only its pinned credential without changing the CLI or web
|
|
|
76
76
|
session. Do not set `TOPOLO_CONTEXT` alongside an injected API key or access
|
|
77
77
|
token because that credential already carries its immutable context.
|
|
78
78
|
|
|
79
|
+
## Agent invocation approvals
|
|
80
|
+
|
|
81
|
+
When `topolo_run_agent` returns `state: "awaiting_approval"`, show the human the
|
|
82
|
+
published approval URL, then immediately call `topolo_run_agent` again with the
|
|
83
|
+
exact same invocation, resource context, correlation id, and idempotency key.
|
|
84
|
+
Set `waitForApproval: true` and `waitSeconds: 120` on that continuation call.
|
|
85
|
+
Do not create a second invocation or wait for the human to ask you to resume.
|
|
86
|
+
|
|
87
|
+
If the continuation call is still awaiting approval after its bounded wait,
|
|
88
|
+
repeat that same continuation call until the invocation becomes terminal or
|
|
89
|
+
the user explicitly stops the work. Approval acknowledgement is not action
|
|
90
|
+
completion: report success only when the invocation itself returns
|
|
91
|
+
`state: "completed"`, and surface terminal failure or cancellation as such.
|
|
92
|
+
The invocation's pinned credential context remains authoritative regardless of
|
|
93
|
+
which organization is open in the human's browser.
|
|
94
|
+
|
|
79
95
|
## Mandatory clean-room workflow
|
|
80
96
|
|
|
81
97
|
For every Topolo task, follow this sequence.
|