@thinkingai/ae-cli 6.0.54 → 6.0.55
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/{auth-MBWRZTB6.js → auth-RQBO6MTY.js} +4 -4
- package/dist/{automation-NWWVLWG2.js → automation-VAAQBM7Y.js} +3 -3
- package/dist/{capability-7SSN6PNZ.js → capability-JRIFC4AJ.js} +5 -5
- package/dist/{chunk-ZIQWCZTS.js → chunk-374V5R6N.js} +2 -2
- package/dist/{chunk-PLE722AJ.js → chunk-3YVEAZUN.js} +33 -17
- package/dist/{chunk-KFNMQTZI.js → chunk-6VNIR4AP.js} +2 -2
- package/dist/{chunk-FMNNGNYO.js → chunk-7KU2WNQE.js} +3 -3
- package/dist/{chunk-4655PUNX.js → chunk-CI24BDR2.js} +1 -1
- package/dist/{chunk-GIK6EDUG.js → chunk-GHXZK54S.js} +1 -1
- package/dist/{chunk-7QXISROD.js → chunk-OP44TT4H.js} +1 -1
- package/dist/{chunk-HVHR4SCP.js → chunk-Q5US7JC5.js} +2 -2
- package/dist/{chunk-HBLK3ZHW.js → chunk-RGYPSEYD.js} +2 -2
- package/dist/{chunk-D6ACFILC.js → chunk-RPBOAQQQ.js} +1 -1
- package/dist/{chunk-EOYSKMXN.js → chunk-VZZNLV3I.js} +2 -2
- package/dist/{chunk-UQ77JXYH.js → chunk-ZL7SGNIA.js} +1 -0
- package/dist/{config-FF6YVJKI.js → config-SICKWZ2A.js} +3 -3
- package/dist/{context-YAE3QXP3.js → context-NGVFPCBK.js} +3 -3
- package/dist/{data-integration-HESZET7E.js → data-integration-BCLQFTGU.js} +1 -1
- package/dist/index.js +29 -29
- package/dist/{memory-62BJOULV.js → memory-CQKH2JAV.js} +5 -5
- package/dist/{metadata-7CUMWIB4.js → metadata-EMFGUI2W.js} +6 -6
- package/dist/{model-SBV2JFJI.js → model-VX5M2CJ6.js} +3 -3
- package/dist/{personal-semantic-preference-6SRCYPGE.js → personal-semantic-preference-SLWVVYZ4.js} +5 -5
- package/dist/{project-semantic-YYEM4OSU.js → project-semantic-DPSZBKQD.js} +5 -5
- package/dist/{sync-SU33KYX7.js → sync-RZIAV37C.js} +4 -4
- package/dist/{te-agent-F5QBZSQA.js → te-agent-AORRE2FM.js} +6 -6
- package/dist/{te-analysis-U4I2W2WC.js → te-analysis-ISXKJKRT.js} +6 -6
- package/dist/{te-community-PFLDLPP4.js → te-community-42M7ICDO.js} +2 -2
- package/dist/{te-dataops-FOQSRIAZ.js → te-dataops-BNKNZ4F2.js} +4 -4
- package/dist/{te-engage-ZX76CNAB.js → te-engage-BZE3MBKT.js} +5 -5
- package/dist/{te-kb-MHDOST62.js → te-kb-ULATOTQ3.js} +6 -6
- package/dist/{te-system-J2FQF5ER.js → te-system-UGHVKBVV.js} +7 -6
- package/dist/{te-team-5UOZPTU3.js → te-team-YA6SNOJ3.js} +5 -5
- package/dist/{things-VPPXXLHB.js → things-DTCOQIQB.js} +6 -6
- package/dist/{update-EEUTEI6R.js → update-ESNYKUVR.js} +3 -3
- package/dist/{workspace-O3EEIYQM.js → workspace-JEOHKFPX.js} +5 -5
- package/package.json +2 -2
- package/skills/ae-agent/SKILL.md +3 -1
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
} from "./chunk-7K24F7T2.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveHost
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-OP44TT4H.js";
|
|
13
13
|
import {
|
|
14
14
|
getLocalCliPackageInfo,
|
|
15
15
|
printError,
|
|
16
16
|
printOutput,
|
|
17
17
|
runHostCompatCheck
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6VNIR4AP.js";
|
|
19
19
|
import {
|
|
20
20
|
CliTokenValidationUnavailableError,
|
|
21
21
|
CredentialStoreUnreadableError,
|
|
@@ -31,13 +31,13 @@ import {
|
|
|
31
31
|
saveCredential,
|
|
32
32
|
updateCredentialMetadata,
|
|
33
33
|
validateCliTokenOnServer
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-GHXZK54S.js";
|
|
35
35
|
import {
|
|
36
36
|
getFallbackCliToken,
|
|
37
37
|
loadConfig,
|
|
38
38
|
normalizeUrl,
|
|
39
39
|
saveConfig
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-ZL7SGNIA.js";
|
|
41
41
|
import {
|
|
42
42
|
PermissionError,
|
|
43
43
|
logger
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
getFromMainApp,
|
|
6
6
|
patchToMainApp,
|
|
7
7
|
postToMainApp
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3YVEAZUN.js";
|
|
9
9
|
import "./chunk-Y74WTIKJ.js";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-GHXZK54S.js";
|
|
11
|
+
import "./chunk-ZL7SGNIA.js";
|
|
12
12
|
import "./chunk-WNGFSIOB.js";
|
|
13
13
|
|
|
14
14
|
// src/commands/automation/index.ts
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-KPQY44JQ.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveHost
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-OP44TT4H.js";
|
|
15
15
|
import {
|
|
16
16
|
CapabilityGatewayError,
|
|
17
17
|
dryRunCapabilityWithEnvelope,
|
|
@@ -20,20 +20,20 @@ import {
|
|
|
20
20
|
inspectCapabilityWithEnvelope,
|
|
21
21
|
listCapabilitiesWithEnvelope,
|
|
22
22
|
validateCapabilityWithEnvelope
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-VZZNLV3I.js";
|
|
24
24
|
import {
|
|
25
25
|
printError,
|
|
26
26
|
printOutput,
|
|
27
27
|
withOutputMetadata
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-6VNIR4AP.js";
|
|
29
29
|
import "./chunk-Y74WTIKJ.js";
|
|
30
30
|
import {
|
|
31
31
|
CredentialStoreUnreadableError,
|
|
32
32
|
SecureStoreAuthError
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-GHXZK54S.js";
|
|
34
34
|
import {
|
|
35
35
|
safeJsonParse
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-ZL7SGNIA.js";
|
|
37
37
|
import {
|
|
38
38
|
CliValidationError,
|
|
39
39
|
PermissionError
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
dryRunCapability,
|
|
7
7
|
executeCapabilityWithEnvelope,
|
|
8
8
|
validateCapability
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VZZNLV3I.js";
|
|
10
10
|
import {
|
|
11
11
|
withOutputMetadata
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6VNIR4AP.js";
|
|
13
13
|
import {
|
|
14
14
|
CliValidationError
|
|
15
15
|
} from "./chunk-WNGFSIOB.js";
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
} from "./chunk-Y74WTIKJ.js";
|
|
5
5
|
import {
|
|
6
6
|
getCliToken
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GHXZK54S.js";
|
|
8
8
|
import {
|
|
9
9
|
getActiveHost,
|
|
10
10
|
getSandboxRuntimeRoot
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ZL7SGNIA.js";
|
|
12
12
|
import {
|
|
13
13
|
PermissionError,
|
|
14
14
|
isApiErrorType
|
|
@@ -82,19 +82,27 @@ function readLegacyCredentials() {
|
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
function tryLoadTeAgentSandboxCredentials() {
|
|
85
|
-
const
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
85
|
+
const credentials = readSandboxCredentials();
|
|
86
|
+
return credentials.url ? { ...credentials, url: credentials.url } : null;
|
|
87
|
+
}
|
|
88
|
+
function readSandboxCredentials() {
|
|
89
|
+
let url = process.env.TE_CLAUDE_BASE_URL || null;
|
|
90
|
+
let sandboxId = process.env.SANDBOX_ID || null;
|
|
91
|
+
let sandboxSecretKey = process.env.SECRET_KEY || process.env.SANDBOX_SECRET_KEY || null;
|
|
92
|
+
if (!url || !sandboxId || !sandboxSecretKey) {
|
|
93
|
+
const persistent = readPersistentEnv();
|
|
94
|
+
url ||= persistent?.TE_CLAUDE_BASE_URL || null;
|
|
95
|
+
sandboxId ||= persistent?.SANDBOX_ID || null;
|
|
96
|
+
sandboxSecretKey ||= persistent?.SECRET_KEY || persistent?.SANDBOX_SECRET_KEY || null;
|
|
90
97
|
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
sandboxSecretKey
|
|
97
|
-
}
|
|
98
|
+
if (!url || !sandboxId || !sandboxSecretKey) {
|
|
99
|
+
const legacy = readLegacyCredentials();
|
|
100
|
+
url ||= typeof legacy?.url === "string" ? legacy.url : null;
|
|
101
|
+
sandboxId ||= typeof legacy?.sandboxId === "string" ? legacy.sandboxId : null;
|
|
102
|
+
const legacySecret = legacy?.sandboxSecretKey || legacy?.secretKey;
|
|
103
|
+
sandboxSecretKey ||= typeof legacySecret === "string" ? legacySecret : null;
|
|
104
|
+
}
|
|
105
|
+
return { url, sandboxId, sandboxSecretKey };
|
|
98
106
|
}
|
|
99
107
|
function getClaudeConfigDir() {
|
|
100
108
|
const fromEnv = process.env.CLAUDE_CONFIG_DIR;
|
|
@@ -190,7 +198,16 @@ function teClaudeBaseFromActiveHost(hostOverride) {
|
|
|
190
198
|
return resolveTeClaudeBaseUrl(h);
|
|
191
199
|
}
|
|
192
200
|
async function signRequest(method, path2, hostOverride, includeJsonContentType = true) {
|
|
193
|
-
const
|
|
201
|
+
const configuredHost = hostOverride || getActiveHost();
|
|
202
|
+
const sandboxOnly = !hostOverride && (/* @__PURE__ */ new Set([
|
|
203
|
+
"/api/sandbox/models",
|
|
204
|
+
"/api/sandbox/models/select",
|
|
205
|
+
"/api/sandbox/sync/push",
|
|
206
|
+
"/api/sandbox/sync/push/skill",
|
|
207
|
+
"/api/sandbox/sync/pull",
|
|
208
|
+
"/api/sandbox/sync/pull/candidates"
|
|
209
|
+
])).has(path2.split("?")[0]);
|
|
210
|
+
const sandboxCred = configuredHost && !sandboxOnly ? null : tryLoadTeAgentSandboxCredentials();
|
|
194
211
|
if (!hostOverride && sandboxCred && sandboxCred.sandboxId && sandboxCred.sandboxSecretKey) {
|
|
195
212
|
const headers = {
|
|
196
213
|
"X-Sandbox-Id": sandboxCred.sandboxId,
|
|
@@ -212,7 +229,7 @@ async function signRequest(method, path2, hostOverride, includeJsonContentType =
|
|
|
212
229
|
"Run ae-cli config set-host <url> to configure the service URL, or execute inside a te-agent sandbox"
|
|
213
230
|
);
|
|
214
231
|
}
|
|
215
|
-
const hostForToken =
|
|
232
|
+
const hostForToken = configuredHost || baseUrl;
|
|
216
233
|
const contentTypeHeader = includeJsonContentType && (method === "POST" || method === "PATCH" || method === "PUT") ? { "Content-Type": "application/json" } : {};
|
|
217
234
|
const cliToken = await getCliToken(hostForToken);
|
|
218
235
|
return {
|
|
@@ -499,7 +516,6 @@ async function uploadToMainApp(path2, formData, hostOverride) {
|
|
|
499
516
|
|
|
500
517
|
export {
|
|
501
518
|
TeAgentCredentialsError,
|
|
502
|
-
tryLoadTeAgentSandboxCredentials,
|
|
503
519
|
getClaudeConfigDir,
|
|
504
520
|
resolveTeClaudeBaseUrl,
|
|
505
521
|
TeAgentApiError,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
peekCliToken
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GHXZK54S.js";
|
|
5
5
|
import {
|
|
6
6
|
getActiveHost,
|
|
7
7
|
getConfigDir,
|
|
8
8
|
isAeSandboxRuntime,
|
|
9
9
|
normalizeUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZL7SGNIA.js";
|
|
11
11
|
import {
|
|
12
12
|
logger
|
|
13
13
|
} from "./chunk-WNGFSIOB.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
CapabilityGatewayError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VZZNLV3I.js";
|
|
5
5
|
import {
|
|
6
6
|
SecureStoreAuthError,
|
|
7
7
|
getCliToken
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GHXZK54S.js";
|
|
9
9
|
import {
|
|
10
10
|
safeJsonParse
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ZL7SGNIA.js";
|
|
12
12
|
import {
|
|
13
13
|
PermissionError
|
|
14
14
|
} from "./chunk-WNGFSIOB.js";
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
postAgentApi,
|
|
10
10
|
putAgentApi,
|
|
11
11
|
uploadAgentApi
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-CI24BDR2.js";
|
|
13
13
|
import {
|
|
14
14
|
TeAgentApiError,
|
|
15
15
|
createTeAgentApiError
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-3YVEAZUN.js";
|
|
17
17
|
import {
|
|
18
18
|
CliValidationError,
|
|
19
19
|
isApiErrorType
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
CapabilityGatewayError,
|
|
7
7
|
fetchCapabilityGateway,
|
|
8
8
|
requestCapabilityGateway
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VZZNLV3I.js";
|
|
10
10
|
import {
|
|
11
11
|
readOutputMetadata,
|
|
12
12
|
unwrapOutputData,
|
|
13
13
|
withOutputMetadata
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6VNIR4AP.js";
|
|
15
15
|
import {
|
|
16
16
|
PermissionError
|
|
17
17
|
} from "./chunk-WNGFSIOB.js";
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
SecureStoreAuthError,
|
|
7
7
|
clearCliTokenCache,
|
|
8
8
|
getCliToken
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GHXZK54S.js";
|
|
10
10
|
import {
|
|
11
11
|
safeJsonParse
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZL7SGNIA.js";
|
|
13
13
|
import {
|
|
14
14
|
PermissionError
|
|
15
15
|
} from "./chunk-WNGFSIOB.js";
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
printError,
|
|
13
13
|
printOutput,
|
|
14
14
|
resolveKbAutoDiscoveryFeature
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6VNIR4AP.js";
|
|
16
16
|
import {
|
|
17
17
|
peekCliToken
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-GHXZK54S.js";
|
|
19
19
|
import {
|
|
20
20
|
addHost,
|
|
21
21
|
getActiveHost,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
resolveHostSelector,
|
|
27
27
|
setActiveHost,
|
|
28
28
|
updateHostLabel
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-ZL7SGNIA.js";
|
|
30
30
|
import "./chunk-WNGFSIOB.js";
|
|
31
31
|
|
|
32
32
|
// src/commands/config.ts
|
|
@@ -2,12 +2,12 @@ import { createRequire as __createRequire } from 'node:module'; const require =
|
|
|
2
2
|
import {
|
|
3
3
|
TeAgentApiError,
|
|
4
4
|
getFromMainApp
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-3YVEAZUN.js";
|
|
6
6
|
import "./chunk-Y74WTIKJ.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-GHXZK54S.js";
|
|
8
8
|
import {
|
|
9
9
|
safeJsonParse
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZL7SGNIA.js";
|
|
11
11
|
import {
|
|
12
12
|
CliValidationError
|
|
13
13
|
} from "./chunk-WNGFSIOB.js";
|
package/dist/index.js
CHANGED
|
@@ -23,16 +23,16 @@ import "./chunk-AP7YP2NX.js";
|
|
|
23
23
|
import "./chunk-S6M42KND.js";
|
|
24
24
|
import {
|
|
25
25
|
resolveHost
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-OP44TT4H.js";
|
|
27
27
|
import {
|
|
28
28
|
TeAgentApiError,
|
|
29
29
|
TeAgentCredentialsError
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-3YVEAZUN.js";
|
|
31
31
|
import {
|
|
32
32
|
CapabilityGatewayError,
|
|
33
33
|
executeCapability,
|
|
34
34
|
uploadInputFileBytes
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-VZZNLV3I.js";
|
|
36
36
|
import {
|
|
37
37
|
failInstallation,
|
|
38
38
|
fetchCliConfig,
|
|
@@ -45,19 +45,19 @@ import {
|
|
|
45
45
|
resolveKbAutoDiscoveryFeature,
|
|
46
46
|
runHostCompatCheck,
|
|
47
47
|
shouldSkipAutoSync
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-6VNIR4AP.js";
|
|
49
49
|
import "./chunk-Y74WTIKJ.js";
|
|
50
50
|
import {
|
|
51
51
|
CredentialStoreUnreadableError,
|
|
52
52
|
SecureStoreAuthError,
|
|
53
53
|
getCliToken,
|
|
54
54
|
peekCliToken
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-GHXZK54S.js";
|
|
56
56
|
import {
|
|
57
57
|
getActiveHost,
|
|
58
58
|
getConfigDir,
|
|
59
59
|
safeJsonParse
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-ZL7SGNIA.js";
|
|
61
61
|
import {
|
|
62
62
|
CliApiError,
|
|
63
63
|
CliValidationError,
|
|
@@ -2435,99 +2435,99 @@ function warnLoadFailure(label, err) {
|
|
|
2435
2435
|
async function loadCommands() {
|
|
2436
2436
|
const commands = [];
|
|
2437
2437
|
try {
|
|
2438
|
-
const teAnalysis = await import("./te-analysis-
|
|
2438
|
+
const teAnalysis = await import("./te-analysis-ISXKJKRT.js");
|
|
2439
2439
|
commands.push(...teAnalysis.default);
|
|
2440
2440
|
} catch (err) {
|
|
2441
2441
|
warnLoadFailure("domain te-analysis", err);
|
|
2442
2442
|
}
|
|
2443
2443
|
try {
|
|
2444
|
-
const engage = await import("./te-engage-
|
|
2444
|
+
const engage = await import("./te-engage-BZE3MBKT.js");
|
|
2445
2445
|
commands.push(...engage.default);
|
|
2446
2446
|
} catch (err) {
|
|
2447
2447
|
warnLoadFailure("domain te-engage", err);
|
|
2448
2448
|
}
|
|
2449
2449
|
try {
|
|
2450
|
-
const community = await import("./te-community-
|
|
2450
|
+
const community = await import("./te-community-42M7ICDO.js");
|
|
2451
2451
|
commands.push(...community.default);
|
|
2452
2452
|
} catch (err) {
|
|
2453
2453
|
warnLoadFailure("domain te-community", err);
|
|
2454
2454
|
}
|
|
2455
2455
|
try {
|
|
2456
|
-
const dataops = await import("./te-dataops-
|
|
2456
|
+
const dataops = await import("./te-dataops-BNKNZ4F2.js");
|
|
2457
2457
|
commands.push(...dataops.default);
|
|
2458
2458
|
} catch (err) {
|
|
2459
2459
|
warnLoadFailure("domain te-dataops", err);
|
|
2460
2460
|
}
|
|
2461
2461
|
try {
|
|
2462
|
-
const teKb = await import("./te-kb-
|
|
2462
|
+
const teKb = await import("./te-kb-ULATOTQ3.js");
|
|
2463
2463
|
commands.push(...teKb.default);
|
|
2464
2464
|
} catch (err) {
|
|
2465
2465
|
warnLoadFailure("domain te-kb", err);
|
|
2466
2466
|
}
|
|
2467
2467
|
try {
|
|
2468
|
-
const teTeam = await import("./te-team-
|
|
2468
|
+
const teTeam = await import("./te-team-YA6SNOJ3.js");
|
|
2469
2469
|
commands.push(...teTeam.default);
|
|
2470
2470
|
} catch (err) {
|
|
2471
2471
|
warnLoadFailure("domain te-team", err);
|
|
2472
2472
|
}
|
|
2473
2473
|
try {
|
|
2474
|
-
const teAgent = await import("./te-agent-
|
|
2474
|
+
const teAgent = await import("./te-agent-AORRE2FM.js");
|
|
2475
2475
|
commands.push(...teAgent.default);
|
|
2476
2476
|
} catch (err) {
|
|
2477
2477
|
warnLoadFailure("domain te-agent", err);
|
|
2478
2478
|
}
|
|
2479
2479
|
try {
|
|
2480
|
-
const memory = await import("./memory-
|
|
2480
|
+
const memory = await import("./memory-CQKH2JAV.js");
|
|
2481
2481
|
commands.push(...memory.default);
|
|
2482
2482
|
} catch (err) {
|
|
2483
2483
|
warnLoadFailure("domain memory", err);
|
|
2484
2484
|
}
|
|
2485
|
-
const automation = await import("./automation-
|
|
2485
|
+
const automation = await import("./automation-VAAQBM7Y.js");
|
|
2486
2486
|
commands.push(...automation.default);
|
|
2487
2487
|
try {
|
|
2488
|
-
const things = await import("./things-
|
|
2488
|
+
const things = await import("./things-DTCOQIQB.js");
|
|
2489
2489
|
commands.push(...things.default);
|
|
2490
2490
|
} catch (err) {
|
|
2491
2491
|
warnLoadFailure("domain things", err);
|
|
2492
2492
|
}
|
|
2493
2493
|
try {
|
|
2494
|
-
const workspace = await import("./workspace-
|
|
2494
|
+
const workspace = await import("./workspace-JEOHKFPX.js");
|
|
2495
2495
|
commands.push(...workspace.default);
|
|
2496
2496
|
} catch (err) {
|
|
2497
2497
|
warnLoadFailure("domain workspace", err);
|
|
2498
2498
|
}
|
|
2499
2499
|
try {
|
|
2500
|
-
const teSystem = await import("./te-system-
|
|
2500
|
+
const teSystem = await import("./te-system-UGHVKBVV.js");
|
|
2501
2501
|
commands.push(...teSystem.default);
|
|
2502
2502
|
} catch (err) {
|
|
2503
2503
|
warnLoadFailure("domain te-system", err);
|
|
2504
2504
|
}
|
|
2505
2505
|
try {
|
|
2506
|
-
const metadata = await import("./metadata-
|
|
2506
|
+
const metadata = await import("./metadata-EMFGUI2W.js");
|
|
2507
2507
|
commands.push(...metadata.default);
|
|
2508
2508
|
} catch (err) {
|
|
2509
2509
|
warnLoadFailure("domain metadata", err);
|
|
2510
2510
|
}
|
|
2511
2511
|
try {
|
|
2512
|
-
const personalSemanticPreference = await import("./personal-semantic-preference-
|
|
2512
|
+
const personalSemanticPreference = await import("./personal-semantic-preference-SLWVVYZ4.js");
|
|
2513
2513
|
commands.push(...personalSemanticPreference.default);
|
|
2514
2514
|
} catch (err) {
|
|
2515
2515
|
warnLoadFailure("domain personal-semantic-preference", err);
|
|
2516
2516
|
}
|
|
2517
2517
|
try {
|
|
2518
|
-
const projectSemantic = await import("./project-semantic-
|
|
2518
|
+
const projectSemantic = await import("./project-semantic-DPSZBKQD.js");
|
|
2519
2519
|
commands.push(...projectSemantic.default);
|
|
2520
2520
|
} catch (err) {
|
|
2521
2521
|
warnLoadFailure("domain project-semantic", err);
|
|
2522
2522
|
}
|
|
2523
2523
|
try {
|
|
2524
|
-
const dataIntegration = await import("./data-integration-
|
|
2524
|
+
const dataIntegration = await import("./data-integration-BCLQFTGU.js");
|
|
2525
2525
|
commands.push(...dataIntegration.default);
|
|
2526
2526
|
} catch (err) {
|
|
2527
2527
|
warnLoadFailure("domain data-integration", err);
|
|
2528
2528
|
}
|
|
2529
2529
|
try {
|
|
2530
|
-
const context = await import("./context-
|
|
2530
|
+
const context = await import("./context-NGVFPCBK.js");
|
|
2531
2531
|
commands.push(...context.default);
|
|
2532
2532
|
} catch (err) {
|
|
2533
2533
|
warnLoadFailure("domain context", err);
|
|
@@ -2536,7 +2536,7 @@ async function loadCommands() {
|
|
|
2536
2536
|
}
|
|
2537
2537
|
async function registerAuthCommands() {
|
|
2538
2538
|
try {
|
|
2539
|
-
const { registerAuth } = await import("./auth-
|
|
2539
|
+
const { registerAuth } = await import("./auth-RQBO6MTY.js");
|
|
2540
2540
|
registerAuth(program);
|
|
2541
2541
|
} catch (err) {
|
|
2542
2542
|
warnLoadFailure("auth commands", err);
|
|
@@ -2544,7 +2544,7 @@ async function registerAuthCommands() {
|
|
|
2544
2544
|
}
|
|
2545
2545
|
async function registerConfigCommands() {
|
|
2546
2546
|
try {
|
|
2547
|
-
const { registerConfig } = await import("./config-
|
|
2547
|
+
const { registerConfig } = await import("./config-SICKWZ2A.js");
|
|
2548
2548
|
registerConfig(program);
|
|
2549
2549
|
} catch (err) {
|
|
2550
2550
|
warnLoadFailure("config commands", err);
|
|
@@ -2552,7 +2552,7 @@ async function registerConfigCommands() {
|
|
|
2552
2552
|
}
|
|
2553
2553
|
async function registerCapabilityCommands() {
|
|
2554
2554
|
try {
|
|
2555
|
-
const { registerCapability } = await import("./capability-
|
|
2555
|
+
const { registerCapability } = await import("./capability-JRIFC4AJ.js");
|
|
2556
2556
|
registerCapability(program);
|
|
2557
2557
|
} catch (err) {
|
|
2558
2558
|
warnLoadFailure("capability commands", err);
|
|
@@ -2560,7 +2560,7 @@ async function registerCapabilityCommands() {
|
|
|
2560
2560
|
}
|
|
2561
2561
|
async function registerSyncCommand() {
|
|
2562
2562
|
try {
|
|
2563
|
-
const { registerSync } = await import("./sync-
|
|
2563
|
+
const { registerSync } = await import("./sync-RZIAV37C.js");
|
|
2564
2564
|
registerSync(program);
|
|
2565
2565
|
} catch (err) {
|
|
2566
2566
|
warnLoadFailure("sync commands", err);
|
|
@@ -2568,7 +2568,7 @@ async function registerSyncCommand() {
|
|
|
2568
2568
|
}
|
|
2569
2569
|
async function registerModelCommand() {
|
|
2570
2570
|
try {
|
|
2571
|
-
const { registerModel } = await import("./model-
|
|
2571
|
+
const { registerModel } = await import("./model-VX5M2CJ6.js");
|
|
2572
2572
|
registerModel(program);
|
|
2573
2573
|
} catch (err) {
|
|
2574
2574
|
warnLoadFailure("model commands", err);
|
|
@@ -2576,7 +2576,7 @@ async function registerModelCommand() {
|
|
|
2576
2576
|
}
|
|
2577
2577
|
async function registerUpdateCommand() {
|
|
2578
2578
|
try {
|
|
2579
|
-
const { registerUpdate } = await import("./update-
|
|
2579
|
+
const { registerUpdate } = await import("./update-ESNYKUVR.js");
|
|
2580
2580
|
registerUpdate(program);
|
|
2581
2581
|
} catch (err) {
|
|
2582
2582
|
warnLoadFailure("update commands", err);
|
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
getMemoryCli,
|
|
5
5
|
patchMemoryCli,
|
|
6
6
|
postMemoryCli
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RPBOAQQQ.js";
|
|
8
8
|
import {
|
|
9
9
|
currentAgentSpaceId
|
|
10
10
|
} from "./chunk-RK6GLDGI.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-CI24BDR2.js";
|
|
12
|
+
import "./chunk-3YVEAZUN.js";
|
|
13
13
|
import "./chunk-Y74WTIKJ.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-GHXZK54S.js";
|
|
15
|
+
import "./chunk-ZL7SGNIA.js";
|
|
16
16
|
import {
|
|
17
17
|
CliValidationError
|
|
18
18
|
} from "./chunk-WNGFSIOB.js";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
withAsyncArtifactLifecycle
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RGYPSEYD.js";
|
|
5
5
|
import {
|
|
6
6
|
createCapabilityCommand
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-374V5R6N.js";
|
|
8
8
|
import {
|
|
9
9
|
registerCapabilityGatewayRoute
|
|
10
10
|
} from "./chunk-KPQY44JQ.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-VZZNLV3I.js";
|
|
12
|
+
import "./chunk-6VNIR4AP.js";
|
|
13
13
|
import "./chunk-Y74WTIKJ.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-GHXZK54S.js";
|
|
15
|
+
import "./chunk-ZL7SGNIA.js";
|
|
16
16
|
import "./chunk-WNGFSIOB.js";
|
|
17
17
|
|
|
18
18
|
// src/commands/metadata/shared.ts
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
getClaudeConfigDir,
|
|
16
16
|
getSandboxModels,
|
|
17
17
|
postSandboxModelSelection
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-3YVEAZUN.js";
|
|
19
19
|
import "./chunk-Y74WTIKJ.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-GHXZK54S.js";
|
|
21
|
+
import "./chunk-ZL7SGNIA.js";
|
|
22
22
|
import "./chunk-WNGFSIOB.js";
|
|
23
23
|
|
|
24
24
|
// src/commands/model/index.ts
|
package/dist/{personal-semantic-preference-6SRCYPGE.js → personal-semantic-preference-SLWVVYZ4.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
createCapabilityCommand
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-374V5R6N.js";
|
|
5
5
|
import {
|
|
6
6
|
registerCapabilityGatewayRoute
|
|
7
7
|
} from "./chunk-KPQY44JQ.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-VZZNLV3I.js";
|
|
9
|
+
import "./chunk-6VNIR4AP.js";
|
|
10
10
|
import "./chunk-Y74WTIKJ.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-GHXZK54S.js";
|
|
12
|
+
import "./chunk-ZL7SGNIA.js";
|
|
13
13
|
import "./chunk-WNGFSIOB.js";
|
|
14
14
|
|
|
15
15
|
// src/commands/personal-semantic-preference/shared.ts
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
assertOutputPathAvailable,
|
|
4
4
|
downloadAnalysisArtifact,
|
|
5
5
|
withAsyncArtifactLifecycle
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RGYPSEYD.js";
|
|
7
7
|
import {
|
|
8
8
|
registerCapabilityGatewayRoute,
|
|
9
9
|
resolveGatewayDomain
|
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
dryRunCapability,
|
|
14
14
|
executeCapabilityWithEnvelope,
|
|
15
15
|
validateCapability
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-VZZNLV3I.js";
|
|
17
|
+
import "./chunk-6VNIR4AP.js";
|
|
18
18
|
import "./chunk-Y74WTIKJ.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-GHXZK54S.js";
|
|
20
|
+
import "./chunk-ZL7SGNIA.js";
|
|
21
21
|
import "./chunk-WNGFSIOB.js";
|
|
22
22
|
|
|
23
23
|
// src/commands/project-semantic/asset-package/materializer.ts
|
|
@@ -33,13 +33,13 @@ import {
|
|
|
33
33
|
postSandboxSyncPull,
|
|
34
34
|
postToMainApp,
|
|
35
35
|
uploadToMainApp
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-3YVEAZUN.js";
|
|
37
37
|
import {
|
|
38
38
|
printError
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-6VNIR4AP.js";
|
|
40
40
|
import "./chunk-Y74WTIKJ.js";
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-GHXZK54S.js";
|
|
42
|
+
import "./chunk-ZL7SGNIA.js";
|
|
43
43
|
import {
|
|
44
44
|
__toESM
|
|
45
45
|
} from "./chunk-WNGFSIOB.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
workspaceResourcePath,
|
|
12
12
|
workspaceTargetFlags,
|
|
13
13
|
workspaceTargetPath
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-Q5US7JC5.js";
|
|
15
15
|
import {
|
|
16
16
|
currentAgentSpaceId
|
|
17
17
|
} from "./chunk-RK6GLDGI.js";
|
|
@@ -23,17 +23,17 @@ import {
|
|
|
23
23
|
postAgentApi,
|
|
24
24
|
putAgentApi,
|
|
25
25
|
uploadAgentApi
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-CI24BDR2.js";
|
|
27
27
|
import {
|
|
28
28
|
resolveTeClaudeBaseUrl
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-3YVEAZUN.js";
|
|
30
30
|
import {
|
|
31
31
|
buildCapabilityGatewayUrl,
|
|
32
32
|
callCapabilityApi
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-VZZNLV3I.js";
|
|
34
34
|
import "./chunk-Y74WTIKJ.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-GHXZK54S.js";
|
|
36
|
+
import "./chunk-ZL7SGNIA.js";
|
|
37
37
|
import {
|
|
38
38
|
CliValidationError
|
|
39
39
|
} from "./chunk-WNGFSIOB.js";
|
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
waitForAnalysisRun,
|
|
8
8
|
withAsyncArtifactLifecycle,
|
|
9
9
|
withInterruptSignal
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RGYPSEYD.js";
|
|
11
11
|
import {
|
|
12
12
|
createCapabilityCommand,
|
|
13
13
|
definitionIntentSnapshotFlag,
|
|
14
14
|
modelDefinitionIntentSnapshotFlag
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-374V5R6N.js";
|
|
16
16
|
import {
|
|
17
17
|
registerCapabilityGatewayRoute,
|
|
18
18
|
resolveGatewayDomain
|
|
@@ -30,15 +30,15 @@ import {
|
|
|
30
30
|
uploadInputFile,
|
|
31
31
|
validateCapability,
|
|
32
32
|
validateCapabilityWithEnvelope
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-VZZNLV3I.js";
|
|
34
34
|
import {
|
|
35
35
|
withOutputMetadata
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-6VNIR4AP.js";
|
|
37
37
|
import "./chunk-Y74WTIKJ.js";
|
|
38
38
|
import {
|
|
39
39
|
getCliToken
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import "./chunk-
|
|
40
|
+
} from "./chunk-GHXZK54S.js";
|
|
41
|
+
import "./chunk-ZL7SGNIA.js";
|
|
42
42
|
import {
|
|
43
43
|
CliValidationError
|
|
44
44
|
} from "./chunk-WNGFSIOB.js";
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
SecureStoreAuthError,
|
|
10
10
|
getCliToken
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-GHXZK54S.js";
|
|
12
12
|
import {
|
|
13
13
|
getActiveHost,
|
|
14
14
|
safeJsonParse
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZL7SGNIA.js";
|
|
16
16
|
import {
|
|
17
17
|
CliValidationError,
|
|
18
18
|
PermissionError,
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
resolveHost
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OP44TT4H.js";
|
|
5
5
|
import {
|
|
6
6
|
printError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6VNIR4AP.js";
|
|
8
8
|
import {
|
|
9
9
|
internalCallSourceHeaders
|
|
10
10
|
} from "./chunk-Y74WTIKJ.js";
|
|
11
11
|
import {
|
|
12
12
|
SecureStoreAuthError,
|
|
13
13
|
getCliToken
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GHXZK54S.js";
|
|
15
15
|
import {
|
|
16
16
|
safeJsonParse
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ZL7SGNIA.js";
|
|
18
18
|
import {
|
|
19
19
|
CliApiError,
|
|
20
20
|
CliValidationError,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
createCapabilityCommand
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-374V5R6N.js";
|
|
5
5
|
import {
|
|
6
6
|
registerCapabilityGatewayRoute,
|
|
7
7
|
resolveGatewayDomain
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
fetchCapabilityGateway,
|
|
13
13
|
requestCapabilityGateway,
|
|
14
14
|
requestCapabilityGatewayWithEnvelope
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VZZNLV3I.js";
|
|
16
16
|
import {
|
|
17
17
|
printError,
|
|
18
18
|
withOutputMetadata
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-6VNIR4AP.js";
|
|
20
20
|
import "./chunk-Y74WTIKJ.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-GHXZK54S.js";
|
|
22
|
+
import "./chunk-ZL7SGNIA.js";
|
|
23
23
|
import {
|
|
24
24
|
CliValidationError
|
|
25
25
|
} from "./chunk-WNGFSIOB.js";
|
|
@@ -2,19 +2,19 @@ import { createRequire as __createRequire } from 'node:module'; const require =
|
|
|
2
2
|
import {
|
|
3
3
|
kbApi,
|
|
4
4
|
kbUpload
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7KU2WNQE.js";
|
|
6
6
|
import {
|
|
7
7
|
TeAgentApiError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3YVEAZUN.js";
|
|
9
9
|
import {
|
|
10
10
|
CapabilityGatewayError
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VZZNLV3I.js";
|
|
12
12
|
import {
|
|
13
13
|
printError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6VNIR4AP.js";
|
|
15
15
|
import "./chunk-Y74WTIKJ.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-GHXZK54S.js";
|
|
17
|
+
import "./chunk-ZL7SGNIA.js";
|
|
18
18
|
import {
|
|
19
19
|
CliValidationError,
|
|
20
20
|
PermissionError
|
|
@@ -11,14 +11,15 @@ import {
|
|
|
11
11
|
patchToMainApp,
|
|
12
12
|
postToMainApp,
|
|
13
13
|
putToMainApp,
|
|
14
|
-
tryLoadTeAgentSandboxCredentials,
|
|
15
14
|
uploadToMainApp
|
|
16
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-3YVEAZUN.js";
|
|
17
16
|
import "./chunk-Y74WTIKJ.js";
|
|
18
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-GHXZK54S.js";
|
|
19
18
|
import {
|
|
19
|
+
isAeSandboxRuntime,
|
|
20
|
+
readSandboxCliTokenEntry,
|
|
20
21
|
safeJsonParse
|
|
21
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-ZL7SGNIA.js";
|
|
22
23
|
import {
|
|
23
24
|
CliValidationError,
|
|
24
25
|
PermissionError,
|
|
@@ -2369,8 +2370,8 @@ async function requireUploadPolicy(ctx) {
|
|
|
2369
2370
|
return policy;
|
|
2370
2371
|
}
|
|
2371
2372
|
function requireLinuxSandbox() {
|
|
2372
|
-
const
|
|
2373
|
-
if (process.platform !== "linux" || !
|
|
2373
|
+
const legacyRuntime = Boolean(process.env.SANDBOX_ID && (process.env.SECRET_KEY || process.env.SANDBOX_SECRET_KEY));
|
|
2374
|
+
if (process.platform !== "linux" || !(isAeSandboxRuntime() || legacyRuntime || readSandboxCliTokenEntry())) {
|
|
2374
2375
|
throw new CliValidationError(
|
|
2375
2376
|
"+npm-install must run inside a Linux te-agent sandbox",
|
|
2376
2377
|
{
|
|
@@ -2,15 +2,15 @@ import { createRequire as __createRequire } from 'node:module'; const require =
|
|
|
2
2
|
import {
|
|
3
3
|
getAuthHeaders,
|
|
4
4
|
kbApi
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-7KU2WNQE.js";
|
|
6
|
+
import "./chunk-VZZNLV3I.js";
|
|
7
7
|
import {
|
|
8
8
|
printError,
|
|
9
9
|
printOutput
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6VNIR4AP.js";
|
|
11
11
|
import "./chunk-Y74WTIKJ.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-GHXZK54S.js";
|
|
13
|
+
import "./chunk-ZL7SGNIA.js";
|
|
14
14
|
import "./chunk-WNGFSIOB.js";
|
|
15
15
|
|
|
16
16
|
// src/commands/te-team/shared.ts
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
resolveMemoryApiBaseUrl
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-RPBOAQQQ.js";
|
|
5
|
+
import "./chunk-CI24BDR2.js";
|
|
6
|
+
import "./chunk-3YVEAZUN.js";
|
|
7
7
|
import {
|
|
8
8
|
CapabilityGatewayError,
|
|
9
9
|
buildCapabilityGatewayUrl,
|
|
10
10
|
callCapabilityApi
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VZZNLV3I.js";
|
|
12
12
|
import "./chunk-Y74WTIKJ.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-GHXZK54S.js";
|
|
14
|
+
import "./chunk-ZL7SGNIA.js";
|
|
15
15
|
import {
|
|
16
16
|
PermissionError
|
|
17
17
|
} from "./chunk-WNGFSIOB.js";
|
|
@@ -14,13 +14,13 @@ import {
|
|
|
14
14
|
printError,
|
|
15
15
|
printOutput,
|
|
16
16
|
recordVersionSyncResult
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6VNIR4AP.js";
|
|
18
18
|
import {
|
|
19
19
|
peekCliToken
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-GHXZK54S.js";
|
|
21
21
|
import {
|
|
22
22
|
getActiveHost
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ZL7SGNIA.js";
|
|
24
24
|
import "./chunk-WNGFSIOB.js";
|
|
25
25
|
|
|
26
26
|
// src/commands/update.ts
|
|
@@ -13,15 +13,15 @@ import {
|
|
|
13
13
|
workspaceResourcePath,
|
|
14
14
|
workspaceTargetFlags,
|
|
15
15
|
workspaceTargetPath
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-Q5US7JC5.js";
|
|
17
17
|
import "./chunk-RK6GLDGI.js";
|
|
18
18
|
import {
|
|
19
19
|
getAgentBuffer
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-CI24BDR2.js";
|
|
21
|
+
import "./chunk-3YVEAZUN.js";
|
|
22
22
|
import "./chunk-Y74WTIKJ.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-GHXZK54S.js";
|
|
24
|
+
import "./chunk-ZL7SGNIA.js";
|
|
25
25
|
import {
|
|
26
26
|
CliValidationError
|
|
27
27
|
} from "./chunk-WNGFSIOB.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thinkingai/ae-cli",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.55",
|
|
4
4
|
"description": "CLI tool for ThinkingAI (AE) analytics platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"verify:retired-api-command": "node --test test/retired-api-command.test.mjs",
|
|
49
49
|
"verify:analysis-common-tools": "node scripts/verify-te-common-tools.mjs",
|
|
50
50
|
"verify:team-tools": "node scripts/verify-te-team-tools.mjs",
|
|
51
|
-
"verify:agent-tools": "node --test test/agent-command-registry.test.mjs && tsx tests/te-agent-credentials.test.ts && tsx tests/te-agent-unified-auth.test.ts && tsx tests/te-agent-conversations.test.ts && tsx scripts/verify-agent-tools.mjs && npm run verify:approval && npm run verify:agent-distribution && npm run verify:agent-context && npm run verify:sandbox-tools && npm run verify:notifications",
|
|
51
|
+
"verify:agent-tools": "node --test test/agent-command-registry.test.mjs && tsx tests/te-agent-credentials.test.ts && tsx tests/te-agent-unified-auth.test.ts && node --import tsx --test tests/te-agent-env-isolation.test.ts && tsx tests/te-agent-conversations.test.ts && tsx scripts/verify-agent-tools.mjs && npm run verify:approval && npm run verify:agent-distribution && npm run verify:agent-context && npm run verify:sandbox-tools && npm run verify:notifications",
|
|
52
52
|
"verify:agent-context": "tsx tests/agent-context-command.test.ts",
|
|
53
53
|
"verify:cli-agent-model-context": "tsx --test tests/cli-agent-model-context.test.ts",
|
|
54
54
|
"verify:analysis-feedback": "tsx --test tests/analysis-feedback-command.test.ts",
|
package/skills/ae-agent/SKILL.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ae-agent
|
|
3
|
-
version: 2.0.
|
|
3
|
+
version: 2.0.1
|
|
4
4
|
description: "AE Agent platform CLI for Agent, notification, approval, archived conversation, model, MCP, Skill, attachment, and user-memory work. Use when managing these resources, browsing Agent markets, handling approval requests and tasks, restoring archived conversations, persisting user memory, or answering from user preferences, background, stable workflows, or historical conventions."
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -13,6 +13,8 @@ description: "AE Agent platform CLI for Agent, notification, approval, archived
|
|
|
13
13
|
> **CRITICAL — Never guess record IDs (Agent / model / MCP / Skill / submission / share / attachment).** Always use the appropriate `+list-*` command to discover real IDs first.
|
|
14
14
|
> **CRITICAL — Legacy Agent CRUD uses `/api/sandbox/agent/*`; Agent distribution and generic approvals use CLI-token-only `/api/cli/agent/v1/*` and `/api/cli/approval/v1/*`; AgentSpace memory uses `/api/cli/memory/v2/*`.** Do not use Web session, sandbox credentials, or memory v1 paths for CLI-token endpoints.
|
|
15
15
|
|
|
16
|
+
Agent API requests with an explicit or configured host use CLI-token authentication without reading legacy sandbox `.env` or `credentials.json` files. Legacy model/sync routes outside Agent CRUD retain sandbox identity for authentication and workspace updates. Do not change file permissions or copy secrets to work around authentication errors.
|
|
17
|
+
|
|
16
18
|
`CREDENTIAL_STORE_UNREADABLE` (`error.type: config`) means local credentials exist but cannot be read or decrypted. Preserve the files and retry in the original OS user/runtime with machine-identifier access. Do not automatically log in, import another token, or log out; this error does not establish server-side token expiration.
|
|
17
19
|
|
|
18
20
|
AE CLI (`ae-cli`) agent platform resource commands are invoked through:
|