@mutagent/cli 0.2.65 → 0.2.67
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/bin/cli.js +13 -2
- package/package.json +2 -2
package/dist/bin/cli.js
CHANGED
|
@@ -2267,12 +2267,23 @@ async function createAgentDeploymentAPI() {
|
|
|
2267
2267
|
request.headers.set(name, value);
|
|
2268
2268
|
return request;
|
|
2269
2269
|
});
|
|
2270
|
-
|
|
2270
|
+
registerSecret(apiKey);
|
|
2271
|
+
const secrets = new Set([apiKey]);
|
|
2272
|
+
const sdk = new Mutagent2({
|
|
2273
|
+
security: { apiKey },
|
|
2274
|
+
serverURL: endpoint,
|
|
2275
|
+
httpClient,
|
|
2276
|
+
timeoutMs: Math.max(config.timeout, 120000),
|
|
2277
|
+
retryConfig: { strategy: "none" },
|
|
2278
|
+
debugLogger: createSdkDebugLogger({ secrets: () => secrets })
|
|
2279
|
+
});
|
|
2271
2280
|
return bindAgentDeploymentSDK(sdk, endpoint, workspaceId);
|
|
2272
2281
|
}
|
|
2273
2282
|
var init_sdk = __esm(() => {
|
|
2274
2283
|
init_config();
|
|
2275
2284
|
init_sdk_client();
|
|
2285
|
+
init_sdk_debug();
|
|
2286
|
+
init_known_secrets();
|
|
2276
2287
|
init_errors();
|
|
2277
2288
|
init_organization_scope();
|
|
2278
2289
|
init_process();
|
|
@@ -38241,4 +38252,4 @@ if (process.env.CLI_VERSION) {
|
|
|
38241
38252
|
}
|
|
38242
38253
|
runCli(process.argv.slice(2), cliVersion);
|
|
38243
38254
|
|
|
38244
|
-
//# debugId=
|
|
38255
|
+
//# debugId=4ABE23905757D11264756E2164756E21
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mutagent/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.67",
|
|
4
4
|
"description": "Bun-native CLI for the MutagenT AI platform - auth, provider config, and lifecycle-tool installer for AI-native workflows",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@inquirer/prompts": "^8.7.2",
|
|
48
|
-
"@mutagent/sdk": "0.8.
|
|
48
|
+
"@mutagent/sdk": "0.8.33",
|
|
49
49
|
"@sinclair/typebox": "^0.34.0",
|
|
50
50
|
"chalk": "^5.3.0",
|
|
51
51
|
"commander": "^12.1.0",
|