@topolo/cli 0.12.21 → 0.12.22
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 +3 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -484,6 +484,7 @@ async function protectActionResult(value, store, options = {}) {
|
|
|
484
484
|
const secrets = /* @__PURE__ */ new Map();
|
|
485
485
|
function documentation(item, key) {
|
|
486
486
|
if (options.preserveActionSchemas === true && ["inputSchema", "outputSchema", "input_schema", "output_schema"].includes(key) && isRecord(item)) return true;
|
|
487
|
+
if (options.preserveActionContracts === true && ["agentContract", "agent_contract"].includes(key) && isRecord(item)) return true;
|
|
487
488
|
return options.preserveAgentGuidance === true && key === "agentGuidance" && isRecord(item) && item.schemaVersion === 1 && typeof item.kind === "string" && ["action-guide", "product-guide", "concept"].includes(item.kind);
|
|
488
489
|
}
|
|
489
490
|
async function protect(item, key = "") {
|
|
@@ -2242,7 +2243,8 @@ var TopoloClient = class _TopoloClient {
|
|
|
2242
2243
|
}
|
|
2243
2244
|
return preserveSensitiveResult ? result : await protectActionResult(result, this.actionSecretStore, {
|
|
2244
2245
|
preserveAgentGuidance: entry.appId === "app_topolo_docs",
|
|
2245
|
-
preserveActionSchemas: entry.appId === "app_topolo_developers" && entry.name === "apps.actions.list"
|
|
2246
|
+
preserveActionSchemas: entry.appId === "app_topolo_developers" && entry.name === "apps.actions.list",
|
|
2247
|
+
preserveActionContracts: entry.appId === "app_topolo_developers" && entry.name === "apps.actions.list"
|
|
2246
2248
|
});
|
|
2247
2249
|
}
|
|
2248
2250
|
async releaseActionSecret(reference) {
|
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.22",
|
|
5
|
+
"topoloPublishedVersion": "0.12.22",
|
|
6
6
|
"description": "Public command-line interface for Topolo customer organizations, developers, and agents.",
|
|
7
7
|
"license": "UNLICENSED",
|
|
8
8
|
"author": "Topolo",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
31
|
-
"@topolo/mcp": "0.14.
|
|
32
|
-
"@topolo/sdk": "0.23.
|
|
31
|
+
"@topolo/mcp": "0.14.14",
|
|
32
|
+
"@topolo/sdk": "0.23.10",
|
|
33
33
|
"commander": "^12.1.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|