@thinkingai/ae-cli 6.1.32 → 6.1.34
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/README.md +8 -5
- package/README.zh.md +10 -9
- package/bin/runtime-capabilities.json +1 -1
- package/cli-installation-guide.md +14 -4
- package/dist/{ai-monitor-MKMHSSNI.js → ai-monitor-TVRFVZBH.js} +11 -9
- package/dist/ai-monitor.js +18 -16
- package/dist/{auth-CZHHPZOQ.js → auth-JAXLMPBB.js} +33 -316
- package/dist/{automation-FLCPFMN4.js → automation-OQ647CSW.js} +7 -7
- package/dist/{capability-64KVJFIA.js → capability-2Z4ZXTPD.js} +19 -16
- package/dist/chunk-2H3SFJE3.js +344 -0
- package/dist/{chunk-TMQGS4TO.js → chunk-3PZNM5KN.js} +3 -3
- package/dist/chunk-3ZQY7SLZ.js +147 -0
- package/dist/chunk-6E6HCTP2.js +60 -0
- package/dist/{local-data-upload-client-KCMG6J62.js → chunk-6IUTXRAD.js} +32 -4
- package/dist/{chunk-5M5LBRR3.js → chunk-CYZV5AXW.js} +18 -9
- package/dist/{chunk-3ULDJJTZ.js → chunk-DE5XHQQ6.js} +2 -2
- package/dist/{chunk-FCAA7I2D.js → chunk-E5CJI7L3.js} +26 -10
- package/dist/{chunk-QVRIDN42.js → chunk-EQMGH32F.js} +2 -2
- package/dist/{chunk-DWBYNGSR.js → chunk-FNACCKQR.js} +372 -194
- package/dist/{chunk-OAWPT7VP.js → chunk-GD5JSAGV.js} +2 -2
- package/dist/{chunk-CF6JTT2U.js → chunk-GYODT7C4.js} +1 -1
- package/dist/chunk-HBI7IQH3.js +1207 -0
- package/dist/{chunk-4PSTYEG5.js → chunk-IGU3R2JD.js} +9 -5
- package/dist/{chunk-IDDWEZ7F.js → chunk-IWMDPHMI.js} +3 -3
- package/dist/{chunk-P7QDCWJ6.js → chunk-L7MT53VM.js} +8 -2
- package/dist/{chunk-F2VFZUGG.js → chunk-LXRALNNA.js} +2 -2
- package/dist/{chunk-6M7ZEDT2.js → chunk-M2OCZRVX.js} +14 -8
- package/dist/{chunk-Z3Q2AEIN.js → chunk-MTK4ZE7W.js} +17 -145
- package/dist/{chunk-T7WF4HYW.js → chunk-NK5PS5X7.js} +3 -3
- package/dist/{chunk-JEUXDY3B.js → chunk-NPH5J65M.js} +1 -1
- package/dist/chunk-PUSFEC6B.js +29 -0
- package/dist/{chunk-BNBCMCYN.js → chunk-Q764EZND.js} +78 -72
- package/dist/chunk-QOJXLXDJ.js +55 -0
- package/dist/{chunk-HVMCPKOZ.js → chunk-QPUPWGZ3.js} +1 -1
- package/dist/{chunk-72NJKS7O.js → chunk-RLPMXKDQ.js} +8921 -10119
- package/dist/{chunk-NLEXY2TM.js → chunk-S74XV3A6.js} +7 -5
- package/dist/{chunk-KTJXD27G.js → chunk-SHB7A2JE.js} +3 -3
- package/dist/{chunk-HTZ2MLYA.js → chunk-UWQXGF44.js} +25 -11
- package/dist/{data-integration-QE37EQ3A.js → chunk-V6UKLIM6.js} +160 -2258
- package/dist/{chunk-4XKTRCRK.js → chunk-VPLRZSMY.js} +22 -13
- package/dist/{chunk-2F64AZYH.js → chunk-Z6WSCIHM.js} +2 -2
- package/dist/{community-report-client-TJVCLZ3K.js → community-report-client-5VNT6HCV.js} +4 -2
- package/dist/{compat-check-ZJNCMNQV.js → compat-check-E7AQ7UCG.js} +6 -4
- package/dist/{config-FSH2NMNZ.js → config-PGSUWIK5.js} +16 -11
- package/dist/{context-YAQG6YQC.js → context-Y2A6QIS3.js} +9 -6
- package/dist/conversion-4FR3RA45.js +16 -0
- package/dist/data-integration-EIF5QHYF.js +2138 -0
- package/dist/{evaluation-2JSF4V47.js → evaluation-OZM54MES.js} +6 -5
- package/dist/index.js +79 -52
- package/dist/local-data-upload-client-2U3LFD7Z.js +16 -0
- package/dist/{memory-VEZZVAAP.js → memory-6QMZS4HF.js} +7 -7
- package/dist/{metadata-3IWHX3V4.js → metadata-7MZ3CJ2N.js} +11 -9
- package/dist/{model-T7H7Q6BG.js → model-LEYRQKOS.js} +8 -8
- package/dist/{personal-semantic-preference-YITU23SA.js → personal-semantic-preference-SWOUNDWJ.js} +46 -14
- package/dist/{project-semantic-MHEXJF3C.js → project-semantic-M2DDPAMD.js} +10 -8
- package/dist/{sync-AQHVCSPI.js → sync-PWC63JCO.js} +17 -16
- package/dist/{te-agent-RXI7WOH4.js → te-agent-S7UH657Z.js} +304 -16
- package/dist/{te-analysis-CZY74HVF.js → te-analysis-BK6PE333.js} +295 -223
- package/dist/{te-community-DKCYUBCM.js → te-community-OLNTKGCW.js} +17 -13
- package/dist/{te-dataops-QEH6VE56.js → te-dataops-XUWRIF5R.js} +18 -14
- package/dist/{te-engage-WK7WKDKF.js → te-engage-I3I4FJOM.js} +10 -8
- package/dist/{te-experiment-LH3RPIOE.js → te-experiment-XSDUL4KH.js} +216 -28
- package/dist/{te-kb-UPORIOVN.js → te-kb-QFH3YLFQ.js} +74 -21
- package/dist/{te-system-AL4B4XZL.js → te-system-DB5Z3LLF.js} +7 -7
- package/dist/{te-team-LLVTO2G4.js → te-team-UADF2HBO.js} +10 -8
- package/dist/{things-XLMLBYQR.js → things-G2QFXDK7.js} +10 -8
- package/dist/{update-7J5UQHSK.js → update-6I366ICW.js} +10 -9
- package/dist/web-runtime-3XFREWRF.js +2367 -0
- package/dist/{workspace-FF2HXJGR.js → workspace-RZESYB6T.js} +7 -7
- package/package.json +9 -5
- package/skills/ae-agent/SKILL.md +19 -5
- package/skills/ae-agent/references/a2a.md +103 -0
- package/skills/ae-agent/references/command_index.md +11 -0
- package/skills/ae-analysis/SKILL.md +35 -23
- package/skills/ae-analysis/references/analysis_data_retrieval.md +1 -1
- package/skills/ae-analysis/references/asset_authentication_export.md +1 -1
- package/skills/ae-analysis/references/asset_authentication_update.md +6 -2
- package/skills/ae-analysis/references/bad_case_review.md +4 -4
- package/skills/ae-analysis/references/command_index.md +7 -7
- package/skills/ae-analysis/references/governance_recommendation_export.md +2 -2
- package/skills/ae-analysis/references/personal_semantic_preference_add.md +9 -1
- package/skills/ae-analysis/references/personal_semantic_preference_delete.md +2 -0
- package/skills/ae-analysis/references/personal_semantic_preference_get.md +2 -0
- package/skills/ae-analysis/references/personal_semantic_preference_list.md +10 -2
- package/skills/ae-analysis/references/personal_semantic_preference_update.md +8 -0
- package/skills/ae-analysis/references/project_owner_update.md +5 -1
- package/skills/ae-analysis/references/scenario_evaluation.md +17 -1
- package/skills/ae-analysis/references/scenario_list.md +5 -6
- package/skills/ae-capability/SKILL.md +8 -4
- package/skills/ae-data-integration/references/ue-mapping.md +2 -0
- package/skills/ae-experiment/SKILL.md +45 -16
- package/skills/ae-experiment/references/experiment_approval.md +87 -29
- package/skills/ae-experiment/references/manage_experiment.md +7 -3
- package/skills/ae-experiment/references/manage_traffic_domains.md +131 -0
- package/skills/ae-experiment/references/query_experiment_detail.md +8 -0
- package/skills/ae-experiment/references/query_experiment_list.md +6 -0
- package/skills/ae-experiment/references/save_experiment.md +39 -13
- package/skills/ae-experiment/references/save_metric.md +29 -2
- package/skills/ae-experiment/references/save_submit_experiment.md +11 -7
- package/skills/ae-experiment/references/save_submit_external_experiment.md +16 -14
- package/skills/ae-experiment/references/save_traffic_layer.md +17 -1
- package/skills/ae-kb/SKILL.md +4 -2
- package/skills/ae-kb/references/publication.md +45 -0
- package/skills/ae-onboarding/SKILL.md +64 -0
- package/skills/ae-onboarding/references/business-sdk.md +8 -0
- package/skills/ae-onboarding/references/demo-operations.md +79 -0
- package/skills/ae-onboarding/references/import.md +19 -0
- package/skills/ae-onboarding/references/onboarding_experiment_launch.md +12 -0
- package/skills/ae-onboarding/references/onboarding_experiment_plan.md +14 -0
- package/skills/ae-onboarding/references/onboarding_growth.md +36 -0
- package/skills/ae-onboarding/references/onboarding_run.md +11 -0
- package/skills/ae-onboarding/references/onboarding_status.md +5 -0
- package/skills/ae-onboarding/scripts/experiment-preset.json +252 -0
- package/skills/ae-onboarding/scripts/experiment-requests.mjs +120 -0
- package/skills/ae-onboarding/scripts/generate.mjs +170 -0
- package/skills/ae-onboarding/scripts/resolve-experiment-preset.mjs +26 -0
- package/skills/ae-onboarding/scripts/web-journey.mjs +39 -0
- package/dist/chunk-6ZIQV5GW.js +0 -26
- package/dist/chunk-Y74WTIKJ.js +0 -10
|
@@ -2,26 +2,29 @@ import { createRequire as __createRequire } from 'node:module'; const require =
|
|
|
2
2
|
import {
|
|
3
3
|
kbApi,
|
|
4
4
|
kbUpload
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import {
|
|
7
|
-
TeAgentApiError
|
|
8
|
-
} from "./chunk-5M5LBRR3.js";
|
|
5
|
+
} from "./chunk-E5CJI7L3.js";
|
|
9
6
|
import {
|
|
10
7
|
printError
|
|
11
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DE5XHQQ6.js";
|
|
9
|
+
import {
|
|
10
|
+
TeAgentApiError
|
|
11
|
+
} from "./chunk-CYZV5AXW.js";
|
|
12
12
|
import {
|
|
13
13
|
CapabilityGatewayError
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-VPLRZSMY.js";
|
|
15
|
+
import "./chunk-6E6HCTP2.js";
|
|
16
|
+
import "./chunk-FNACCKQR.js";
|
|
17
|
+
import "./chunk-PUSFEC6B.js";
|
|
18
|
+
import "./chunk-UWQXGF44.js";
|
|
19
|
+
import "./chunk-IGU3R2JD.js";
|
|
20
|
+
import {
|
|
21
|
+
kbExecutionContextRequired
|
|
22
|
+
} from "./chunk-MTK4ZE7W.js";
|
|
19
23
|
import {
|
|
20
24
|
CliApiError,
|
|
21
25
|
CliValidationError,
|
|
22
|
-
PermissionError
|
|
23
|
-
|
|
24
|
-
} from "./chunk-Z3Q2AEIN.js";
|
|
26
|
+
PermissionError
|
|
27
|
+
} from "./chunk-3ZQY7SLZ.js";
|
|
25
28
|
|
|
26
29
|
// src/commands/te-kb/project-target.ts
|
|
27
30
|
var API_PATH = "/agent/api/project-semantic-target";
|
|
@@ -221,7 +224,15 @@ function createBody(ctx) {
|
|
|
221
224
|
(source) => !source || !["personal", "company", "system"].includes(source.scope) || typeof source.name !== "string" || !source.name || Object.keys(source).some((key) => !["name", "scope"].includes(key))
|
|
222
225
|
)))
|
|
223
226
|
throw new CliValidationError("--sources must be an array of {scope,name}");
|
|
227
|
+
const candidateId = ctx.str("candidate");
|
|
228
|
+
if (candidateId || ctx.has?.("candidate")) {
|
|
229
|
+
if (!/^[A-Za-z0-9_-]{1,191}$/.test(candidateId))
|
|
230
|
+
throw new CliValidationError("Invalid --candidate");
|
|
231
|
+
if (!Array.isArray(sources) || sources.length !== 1 || sources[0].scope !== "company")
|
|
232
|
+
throw new CliValidationError("--candidate requires exactly one company KB in --sources");
|
|
233
|
+
}
|
|
224
234
|
return {
|
|
235
|
+
...candidateId ? { candidateId } : {},
|
|
225
236
|
...sources ? { sources } : {},
|
|
226
237
|
...ctx.str("locale") ? { locale: ctx.str("locale") } : {}
|
|
227
238
|
};
|
|
@@ -231,13 +242,14 @@ var readContextCreate = {
|
|
|
231
242
|
resource: "read-context",
|
|
232
243
|
command: "create",
|
|
233
244
|
risk: "read",
|
|
234
|
-
description: "Pin
|
|
245
|
+
description: "Pin authorized formal KB views or one pending candidate for subsequent reads (15 minutes).",
|
|
235
246
|
flags: [
|
|
236
247
|
{
|
|
237
248
|
name: "sources",
|
|
238
249
|
type: "json",
|
|
239
250
|
desc: "Optional array of {scope,name}; omit to discover authorized published KBs"
|
|
240
251
|
},
|
|
252
|
+
{ ...candidate, required: false },
|
|
241
253
|
{ name: "locale", type: "string", desc: "zh | en | ja | ko" }
|
|
242
254
|
],
|
|
243
255
|
validate: (ctx) => {
|
|
@@ -248,7 +260,16 @@ var readContextCreate = {
|
|
|
248
260
|
url: ctx.host().replace(/\/$/, "") + `${root}/read-contexts`,
|
|
249
261
|
body: createBody(ctx)
|
|
250
262
|
}),
|
|
251
|
-
execute: (ctx) =>
|
|
263
|
+
execute: async (ctx) => {
|
|
264
|
+
const body4 = createBody(ctx);
|
|
265
|
+
const result = await kbApi(ctx, "POST", `${root}/read-contexts`, {}, body4, options);
|
|
266
|
+
if (body4.candidateId && (!result?.readContextId || !Array.isArray(result.views) || result.views.length !== 1 || result.views[0]?.viewKind !== "candidate" || result.views[0]?.candidateId !== body4.candidateId))
|
|
267
|
+
throw new CliApiError("This server did not return the requested candidate read context.", {
|
|
268
|
+
code: "KB_CANDIDATE_READ_CONTEXT_UNSUPPORTED",
|
|
269
|
+
hint: "Use a Host that supports candidate read contexts."
|
|
270
|
+
});
|
|
271
|
+
return result;
|
|
272
|
+
}
|
|
252
273
|
};
|
|
253
274
|
var readContextRelease = {
|
|
254
275
|
service: "kb",
|
|
@@ -1764,6 +1785,26 @@ var kbRead = {
|
|
|
1764
1785
|
execute: async (ctx) => kbApi(ctx, "POST", API_PATH16, {}, buildBody10(ctx))
|
|
1765
1786
|
};
|
|
1766
1787
|
|
|
1788
|
+
// src/commands/te-kb/ask-identity.ts
|
|
1789
|
+
function askIdentity(value) {
|
|
1790
|
+
function invalid() {
|
|
1791
|
+
throw new CliValidationError("Ask response is missing or has inconsistent readViews. This host may not support explicit contexts.", { code: "KB_READ_CONTEXT_MISMATCH" });
|
|
1792
|
+
}
|
|
1793
|
+
if (!Array.isArray(value) || !value.length || value.length > 100) return invalid();
|
|
1794
|
+
const identities = value.map((view) => {
|
|
1795
|
+
if (!view || typeof view !== "object") return invalid();
|
|
1796
|
+
const text = (key) => typeof view[key] === "string" && view[key].trim().length > 0;
|
|
1797
|
+
if (!text("resourceKey") || !text("readIdentity")) return invalid();
|
|
1798
|
+
if (view.viewKind === "candidate") {
|
|
1799
|
+
if (view.consistency !== "candidate_pinned" || !text("candidateId") || !(view.baseVersion === null || text("baseVersion")) || view.versionId !== null || view.versionNumber !== null)
|
|
1800
|
+
return invalid();
|
|
1801
|
+
} else if (view.viewKind !== "snapshot" || view.consistency !== "version_pinned" || !text("versionId") || !Number.isSafeInteger(view.versionNumber) || view.versionNumber < 1) return invalid();
|
|
1802
|
+
return ["resourceKey", "viewKind", "consistency", "readIdentity", "versionId", "versionNumber", "candidateId", "baseVersion"].map((key) => view[key] ?? null);
|
|
1803
|
+
});
|
|
1804
|
+
if (new Set(identities.map((view) => view[0])).size !== identities.length) return invalid();
|
|
1805
|
+
return JSON.stringify(identities.sort((a, b) => String(a[0]).localeCompare(String(b[0]))));
|
|
1806
|
+
}
|
|
1807
|
+
|
|
1767
1808
|
// src/commands/te-kb/ask-shared.ts
|
|
1768
1809
|
var ASK_API_PATH = "/agent/api/external/knowledge-bases/ask";
|
|
1769
1810
|
var ASK_POLL_INTERVAL_MS = 5e3;
|
|
@@ -1818,6 +1859,7 @@ function transformCompletedResponse(response) {
|
|
|
1818
1859
|
answer: response.answer ?? "",
|
|
1819
1860
|
sources: response.sources ?? []
|
|
1820
1861
|
};
|
|
1862
|
+
if (response.readViews !== void 0) result.readViews = response.readViews;
|
|
1821
1863
|
if (response.modelId !== void 0) result.modelId = response.modelId;
|
|
1822
1864
|
if (response.modelUsage !== void 0) result.modelUsage = response.modelUsage;
|
|
1823
1865
|
if (response.toolCallCount !== void 0) result.toolCallCount = response.toolCallCount;
|
|
@@ -1858,6 +1900,7 @@ var ask = {
|
|
|
1858
1900
|
command: "+ask",
|
|
1859
1901
|
description: "Ask knowledge bases via LLM-powered retrieval (POST /agent/api/external/knowledge-bases/ask). Consumes platform tokens. Prefer +index -> +grep -> +read for deterministic, token-free lookup. By default, polls for completion; use --no-wait to return immediately with executionId.",
|
|
1860
1902
|
flags: [
|
|
1903
|
+
{ name: "read-context", type: "string", required: false, desc: "Use an existing formal snapshot or pending candidate context. Omit for existing published Ask behavior." },
|
|
1861
1904
|
{
|
|
1862
1905
|
name: "question",
|
|
1863
1906
|
type: "string",
|
|
@@ -1893,23 +1936,31 @@ var ask = {
|
|
|
1893
1936
|
dryRun: (ctx) => ({
|
|
1894
1937
|
method: "POST",
|
|
1895
1938
|
url: `${ctx.host().replace(/\/$/, "")}${ASK_API_PATH}`,
|
|
1896
|
-
body: buildBody11(ctx)
|
|
1939
|
+
body: buildBody11(ctx),
|
|
1940
|
+
...ctx.str("read-context") ? { headers: { "X-KB-Read-Context": ctx.str("read-context") } } : {}
|
|
1897
1941
|
}),
|
|
1898
1942
|
execute: async (ctx) => {
|
|
1899
1943
|
const noWait = ctx.bool("no-wait");
|
|
1900
|
-
const submitResponse = await kbApi(ctx, "POST", ASK_API_PATH, {}, buildBody11(ctx));
|
|
1944
|
+
const submitResponse = await kbApi(ctx, "POST", ASK_API_PATH, {}, buildBody11(ctx), ctx.str("read-context") ? { preserveErrorMetadata: true } : {});
|
|
1901
1945
|
if (!submitResponse.executionId) {
|
|
1902
1946
|
throw new Error("Invalid submit response: missing executionId");
|
|
1903
1947
|
}
|
|
1904
1948
|
const executionId = submitResponse.executionId;
|
|
1949
|
+
const identity = ctx.str("read-context") ? askIdentity(submitResponse.readViews) : void 0;
|
|
1905
1950
|
if (noWait) {
|
|
1906
1951
|
return {
|
|
1907
1952
|
executionId,
|
|
1908
|
-
status: submitResponse.status
|
|
1953
|
+
status: submitResponse.status,
|
|
1954
|
+
...identity ? { readViews: submitResponse.readViews } : {}
|
|
1909
1955
|
};
|
|
1910
1956
|
}
|
|
1911
1957
|
const finalResponse = await pollUntilSettled(
|
|
1912
|
-
(id) =>
|
|
1958
|
+
async (id) => {
|
|
1959
|
+
const response = await kbApi(ctx, "GET", ASK_API_PATH, { executionId: id }, void 0, identity ? { preserveErrorMetadata: true } : {});
|
|
1960
|
+
if (identity && askIdentity(response.readViews) !== identity)
|
|
1961
|
+
throw new CliValidationError("Ask response changed its version identity.", { code: "KB_READ_CONTEXT_MISMATCH" });
|
|
1962
|
+
return response;
|
|
1963
|
+
},
|
|
1913
1964
|
executionId
|
|
1914
1965
|
);
|
|
1915
1966
|
if (finalResponse.status === "completed") {
|
|
@@ -1984,10 +2035,12 @@ var askStatus = {
|
|
|
1984
2035
|
{ code: "KB_READ_CONTEXT_REFERENCE_FORBIDDEN" }
|
|
1985
2036
|
);
|
|
1986
2037
|
}
|
|
1987
|
-
|
|
2038
|
+
const result = await kbApi(ctx, "GET", ASK_API_PATH, {
|
|
1988
2039
|
executionId,
|
|
1989
2040
|
...sourceIndex !== void 0 ? { sourceIndex } : {}
|
|
1990
|
-
});
|
|
2041
|
+
}, void 0, { preserveErrorMetadata: true });
|
|
2042
|
+
if (result.readViews !== void 0) askIdentity(result.readViews);
|
|
2043
|
+
return result;
|
|
1991
2044
|
}
|
|
1992
2045
|
};
|
|
1993
2046
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
require_archiver
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-GD5JSAGV.js";
|
|
5
|
+
import "./chunk-NPH5J65M.js";
|
|
6
6
|
import {
|
|
7
7
|
TeAgentApiError,
|
|
8
8
|
deleteFromMainApp,
|
|
@@ -12,19 +12,19 @@ import {
|
|
|
12
12
|
postToMainApp,
|
|
13
13
|
putToMainApp,
|
|
14
14
|
uploadToMainApp
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-HTZ2MLYA.js";
|
|
15
|
+
} from "./chunk-CYZV5AXW.js";
|
|
16
|
+
import "./chunk-UWQXGF44.js";
|
|
18
17
|
import {
|
|
19
18
|
isAeSandboxRuntime,
|
|
20
19
|
readSandboxCliTokenEntry,
|
|
21
20
|
safeJsonParse
|
|
22
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-IGU3R2JD.js";
|
|
22
|
+
import "./chunk-MTK4ZE7W.js";
|
|
23
23
|
import {
|
|
24
24
|
CliValidationError,
|
|
25
25
|
PermissionError,
|
|
26
26
|
__toESM
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-3ZQY7SLZ.js";
|
|
28
28
|
|
|
29
29
|
// src/commands/te-system/shared.ts
|
|
30
30
|
import { readFileSync } from "fs";
|
|
@@ -2,20 +2,22 @@ import { createRequire as __createRequire } from 'node:module'; const require =
|
|
|
2
2
|
import {
|
|
3
3
|
getAuthHeaders,
|
|
4
4
|
kbApi
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-E5CJI7L3.js";
|
|
6
6
|
import {
|
|
7
7
|
printError,
|
|
8
8
|
printOutput
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-DE5XHQQ6.js";
|
|
10
|
+
import "./chunk-VPLRZSMY.js";
|
|
11
|
+
import "./chunk-6E6HCTP2.js";
|
|
12
|
+
import "./chunk-FNACCKQR.js";
|
|
13
|
+
import "./chunk-PUSFEC6B.js";
|
|
14
|
+
import "./chunk-UWQXGF44.js";
|
|
15
|
+
import "./chunk-IGU3R2JD.js";
|
|
15
16
|
import {
|
|
16
17
|
externalCliTokenRequestOptions,
|
|
17
18
|
redactExternalCliToken
|
|
18
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-MTK4ZE7W.js";
|
|
20
|
+
import "./chunk-3ZQY7SLZ.js";
|
|
19
21
|
|
|
20
22
|
// src/commands/te-team/shared.ts
|
|
21
23
|
var API_PREFIX = process.env.AE_API_PREFIX ?? "/agent";
|
|
@@ -1,20 +1,22 @@
|
|
|
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-QPUPWGZ3.js";
|
|
5
|
+
import "./chunk-LXRALNNA.js";
|
|
6
|
+
import "./chunk-CYZV5AXW.js";
|
|
7
7
|
import {
|
|
8
8
|
CapabilityGatewayError,
|
|
9
9
|
buildCapabilityGatewayUrl,
|
|
10
10
|
callCapabilityApi
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-VPLRZSMY.js";
|
|
12
|
+
import "./chunk-6E6HCTP2.js";
|
|
13
|
+
import "./chunk-PUSFEC6B.js";
|
|
14
|
+
import "./chunk-UWQXGF44.js";
|
|
15
|
+
import "./chunk-IGU3R2JD.js";
|
|
16
|
+
import "./chunk-MTK4ZE7W.js";
|
|
15
17
|
import {
|
|
16
18
|
PermissionError
|
|
17
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-3ZQY7SLZ.js";
|
|
18
20
|
|
|
19
21
|
// src/commands/things/parity-actions.ts
|
|
20
22
|
import { readFileSync } from "fs";
|
|
@@ -1,30 +1,31 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from 'node:module'; const require = __createRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
missingAeHostHint
|
|
4
|
-
} from "./chunk-6ZIQV5GW.js";
|
|
5
2
|
import {
|
|
6
3
|
printError,
|
|
7
4
|
printOutput
|
|
8
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DE5XHQQ6.js";
|
|
9
6
|
import {
|
|
10
7
|
buildVersionInstallPlan,
|
|
11
8
|
exactVersion,
|
|
12
9
|
fetchCliConfig,
|
|
13
10
|
friendlyVersionSyncFailure,
|
|
14
11
|
getCachedCompatForHost,
|
|
15
|
-
getLocalCliPackageInfo,
|
|
16
12
|
installHost,
|
|
17
13
|
installVersion,
|
|
14
|
+
missingAeHostHint,
|
|
18
15
|
recordVersionSyncResult,
|
|
19
16
|
rememberBusinessConfig
|
|
20
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-FNACCKQR.js";
|
|
18
|
+
import {
|
|
19
|
+
getLocalCliPackageInfo
|
|
20
|
+
} from "./chunk-PUSFEC6B.js";
|
|
21
21
|
import {
|
|
22
22
|
peekCliToken
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-UWQXGF44.js";
|
|
24
24
|
import {
|
|
25
25
|
getActiveHost
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-IGU3R2JD.js";
|
|
27
|
+
import "./chunk-MTK4ZE7W.js";
|
|
28
|
+
import "./chunk-3ZQY7SLZ.js";
|
|
28
29
|
|
|
29
30
|
// src/commands/update.ts
|
|
30
31
|
var HOST_OPTION_DESC = "Override active AE host URL (e.g., https://ta.thinkingdata.cn)";
|