deepline 0.3.305 → 0.3.306
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/bundling-sources/sdk/src/cli-invocation-id.ts +14 -0
- package/dist/bundling-sources/sdk/src/client.ts +24 -1
- package/dist/bundling-sources/sdk/src/http.ts +11 -0
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/tool-calls.ts +19 -1
- package/dist/cli/{auth-XMYFUM5L.mjs → auth-WTC7LCQ6.mjs} +4 -4
- package/dist/cli/auth-ZT3UF33R.js +31 -0
- package/dist/cli/{billing-NDUDRJ7T.js → billing-3DYTHO32.js} +70 -70
- package/dist/cli/{billing-RXT6NYAU.mjs → billing-VQM65LVP.mjs} +4 -4
- package/dist/cli/chunk-2IKIG333.js +65 -0
- package/dist/cli/{chunk-E4YSOJ2H.js → chunk-2KR56MPF.js} +2 -2
- package/dist/cli/{chunk-6C4SD4U3.mjs → chunk-4PSSDZQB.mjs} +7 -1
- package/dist/cli/{chunk-TGOAQTY3.mjs → chunk-5HS5EEFE.mjs} +3 -3
- package/dist/cli/{chunk-QFSISXKO.mjs → chunk-5V56XCQN.mjs} +1 -1
- package/dist/cli/{chunk-AEMR2R5H.mjs → chunk-6CRUYVU7.mjs} +4 -4
- package/dist/cli/{chunk-SCX2AZFY.mjs → chunk-7XORS6WQ.mjs} +2 -2
- package/dist/cli/{chunk-44GHROVJ.mjs → chunk-FJ3DANI4.mjs} +1 -1
- package/dist/cli/{chunk-ZQOFBLJN.js → chunk-FZNO6B4W.js} +6 -6
- package/dist/cli/{chunk-S3HPQWZ3.mjs → chunk-LLGF6V6I.mjs} +44 -8
- package/dist/cli/{chunk-B7PAZBJX.js → chunk-M6HCRRV2.js} +10 -4
- package/dist/cli/{chunk-COMHSM6F.js → chunk-MMNZ6GBT.js} +6 -6
- package/dist/cli/{chunk-LUBEGHJC.js → chunk-OF7QP2XX.js} +15 -15
- package/dist/cli/{chunk-DNSTXIU4.js → chunk-OZIFVQRY.js} +1 -1
- package/dist/cli/{chunk-KNHD6J3X.js → chunk-PHNAFCSB.js} +275 -239
- package/dist/cli/{chunk-HELHRPU6.mjs → chunk-QDC4XTO3.mjs} +2 -2
- package/dist/cli/{chunk-5UZQ75HD.js → chunk-RODIZCGU.js} +60 -60
- package/dist/cli/{chunk-DY72E7K2.js → chunk-SZQPJW2L.js} +6 -6
- package/dist/cli/{chunk-XZD3NYOL.js → chunk-U37SW6IK.js} +48 -48
- package/dist/cli/chunk-UABLQKTZ.mjs +65 -0
- package/dist/cli/{chunk-445RPDOQ.mjs → chunk-UT3VLSLM.mjs} +5 -5
- package/dist/cli/{chunk-UWDFJXBQ.js → chunk-W7ELTWDM.js} +26 -26
- package/dist/cli/{chunk-LYPASDJJ.mjs → chunk-WV64SNDV.mjs} +1 -1
- package/dist/cli/{chunk-KNK42P4M.mjs → chunk-WWPI4GJI.mjs} +1 -1
- package/dist/cli/{client-WOHHEX5X.mjs → client-DCEK34D5.mjs} +3 -3
- package/dist/cli/client-UQXVU2T6.js +20 -0
- package/dist/cli/{csv-WZ5BOOT7.js → csv-H42JDJ6G.js} +12 -12
- package/dist/cli/{csv-WNPLDGFR.mjs → csv-LXBF5UIV.mjs} +3 -3
- package/dist/cli/{db-GCQJHGME.mjs → db-3O5CFLNP.mjs} +4 -4
- package/dist/cli/{db-GBK4QSIU.js → db-DP5GU4MU.js} +20 -20
- package/dist/cli/{executions-BAS6T2BN.js → executions-5FFTPHEX.js} +6 -6
- package/dist/cli/{executions-MSB6FRNL.mjs → executions-QC2UZKIP.mjs} +4 -4
- package/dist/cli/{feedback-VREMIXAX.mjs → feedback-JCGE6JFW.mjs} +3 -3
- package/dist/cli/{feedback-UHOHIOPV.js → feedback-XAU3FI5S.js} +6 -6
- package/dist/cli/git-CNO2UFZE.js +23 -0
- package/dist/cli/{git-GQKD556H.mjs → git-S3Y3E2NL.mjs} +4 -4
- package/dist/cli/index.js +155 -121
- package/dist/cli/index.mjs +121 -87
- package/dist/cli/{legacy-noops-RI2ROZ6U.mjs → legacy-noops-FQF2IRVS.mjs} +4 -4
- package/dist/cli/{legacy-noops-PIL4KNVA.js → legacy-noops-TXOUX4FX.js} +7 -7
- package/dist/cli/{monitors-UVQLZDIO.js → monitors-4BQCO6B7.js} +85 -85
- package/dist/cli/{monitors-QHLEULAZ.mjs → monitors-F3PELPSH.mjs} +4 -4
- package/dist/cli/{org-BYWI4VI3.mjs → org-ER5J3ATG.mjs} +4 -4
- package/dist/cli/{org-KXJJZOSK.js → org-VQM6OOLK.js} +60 -60
- package/dist/cli/{play-WF7AJJ7J.mjs → play-B5H2RN4N.mjs} +6 -6
- package/dist/cli/{play-3XR54PQY.js → play-WKZPAOW3.js} +200 -200
- package/dist/cli/{providers-4FYRPS4E.js → providers-5TEA2FJG.js} +7 -7
- package/dist/cli/{providers-FG67H5N5.mjs → providers-6ODEAYC2.mjs} +4 -4
- package/dist/cli/{quickstart-IBWIR4LX.mjs → quickstart-BCYT7BCY.mjs} +3 -3
- package/dist/cli/{quickstart-3YCFHVKY.js → quickstart-GJYCNMFC.js} +5 -5
- package/dist/cli/{search-6PQ4QBMC.js → search-KKJ535OX.js} +6 -6
- package/dist/cli/{search-OZRXENTS.mjs → search-RY547KOT.mjs} +5 -5
- package/dist/cli/{secrets-2JW5HCHH.js → secrets-RFGDXSEW.js} +13 -13
- package/dist/cli/{secrets-S3GIROJA.mjs → secrets-U42ZEYIU.mjs} +4 -4
- package/dist/cli/{sessions-6HNVWH3C.mjs → sessions-YWEFB62D.mjs} +4 -4
- package/dist/cli/{sessions-AQQ6WHMK.js → sessions-ZRTWHMIH.js} +5 -5
- package/dist/cli/{settings-6FINI54L.mjs → settings-AS4U6NVP.mjs} +7 -7
- package/dist/cli/{settings-HSHA2FO5.js → settings-XUWFXIL7.js} +74 -74
- package/dist/cli/{setup-XHIBSXCC.mjs → setup-2GUIV2EW.mjs} +6 -6
- package/dist/cli/{setup-O7FZ5EUD.js → setup-2QPWP2FI.js} +41 -41
- package/dist/cli/skills-4E5KYW2Y.js +28 -0
- package/dist/cli/{skills-ZFIIWR5G.mjs → skills-5QS7ERVF.mjs} +4 -4
- package/dist/cli/{tools-4B4NLVOJ.js → tools-J47LIO2H.js} +120 -87
- package/dist/cli/{tools-WURPIECI.mjs → tools-PVWSGCZD.mjs} +76 -43
- package/dist/cli/update-GZKGOMKD.js +28 -0
- package/dist/cli/{update-2THOPAUS.mjs → update-KS4TRSZI.mjs} +6 -6
- package/dist/cli/{workflow-XS5JSKED.js → workflow-HQRUUTTL.js} +15 -15
- package/dist/cli/{workflow-S2G453ZX.mjs → workflow-QCLR7GVC.mjs} +5 -5
- package/dist/{client-BT11xxG8.d.mts → client-Dj8MAkDc.d.mts} +6 -1
- package/dist/{client-5Nsl0O0v.d.ts → client-DsrFGXJf.d.ts} +6 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +6 -6
- package/dist/index.mjs +3 -3
- package/dist/install-integrity.json +73 -70
- package/dist/plays/run-request.d.mts +1 -1
- package/dist/plays/run-request.d.ts +1 -1
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/package.json +1 -1
- package/dist/cli/auth-WRUUITRZ.js +0 -31
- package/dist/cli/client-KBAPBERE.js +0 -20
- package/dist/cli/git-6QYO4FQH.js +0 -23
- package/dist/cli/skills-3ASRSEF2.js +0 -28
- package/dist/cli/update-7ZPTMO6H.js +0 -28
package/dist/cli/index.mjs
CHANGED
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
resolveUpdatePlan,
|
|
10
10
|
runAutomaticUpdatePlan,
|
|
11
11
|
shouldRunCliAutoUpdate
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-6CRUYVU7.mjs";
|
|
13
|
+
import "./chunk-FJ3DANI4.mjs";
|
|
14
14
|
import {
|
|
15
15
|
SDK_COMPATIBILITY_FAST_DEADLINE_MS,
|
|
16
16
|
SKILLS_AUTO_SYNC_COMMAND,
|
|
@@ -23,17 +23,22 @@ import {
|
|
|
23
23
|
readTrustedCleanCompatibility,
|
|
24
24
|
resolveSdkCliFailureExitCode,
|
|
25
25
|
syncSdkSkillsIfNeeded
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-UT3VLSLM.mjs";
|
|
27
27
|
import {
|
|
28
28
|
createCliProgress
|
|
29
29
|
} from "./chunk-GAMFK2ZP.mjs";
|
|
30
|
+
import {
|
|
31
|
+
beginToolExecuteCommand,
|
|
32
|
+
finishToolExecuteCommand,
|
|
33
|
+
runToolExecuteStage
|
|
34
|
+
} from "./chunk-UABLQKTZ.mjs";
|
|
30
35
|
import {
|
|
31
36
|
formatProviderConcurrencyDiagnostic,
|
|
32
37
|
printCompactJson,
|
|
33
38
|
printJson,
|
|
34
39
|
printJsonError,
|
|
35
40
|
shouldEmitJson
|
|
36
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-5V56XCQN.mjs";
|
|
37
42
|
import {
|
|
38
43
|
HttpClient,
|
|
39
44
|
SDK_VERSION,
|
|
@@ -41,9 +46,9 @@ import {
|
|
|
41
46
|
readSdkSkillsLocalVersion,
|
|
42
47
|
resolveApiKeyForBaseUrl,
|
|
43
48
|
resolveConfig
|
|
44
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-4PSSDZQB.mjs";
|
|
45
50
|
import "./chunk-DLIRSHV6.mjs";
|
|
46
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-WWPI4GJI.mjs";
|
|
47
52
|
import "./chunk-NXGCO4JB.mjs";
|
|
48
53
|
import "./chunk-WZYKRD7T.mjs";
|
|
49
54
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -58,44 +63,44 @@ import { Command } from "commander";
|
|
|
58
63
|
var COMMAND_GROUPS = [
|
|
59
64
|
{
|
|
60
65
|
names: ["auth"],
|
|
61
|
-
load: async () => (await import("./auth-
|
|
66
|
+
load: async () => (await import("./auth-WTC7LCQ6.mjs")).registerAuthCommands
|
|
62
67
|
},
|
|
63
68
|
{
|
|
64
69
|
names: ["providers"],
|
|
65
|
-
load: async () => (await import("./providers-
|
|
70
|
+
load: async () => (await import("./providers-6ODEAYC2.mjs")).registerProviderCommands
|
|
66
71
|
},
|
|
67
72
|
{
|
|
68
73
|
names: ["search"],
|
|
69
|
-
load: async () => (await import("./search-
|
|
74
|
+
load: async () => (await import("./search-RY547KOT.mjs")).registerSearchCommand
|
|
70
75
|
},
|
|
71
76
|
{
|
|
72
77
|
names: ["tools"],
|
|
73
|
-
load: async () => (await import("./tools-
|
|
78
|
+
load: async () => (await import("./tools-PVWSGCZD.mjs")).registerToolsCommands
|
|
74
79
|
},
|
|
75
80
|
{
|
|
76
81
|
names: ["executions"],
|
|
77
|
-
load: async () => (await import("./executions-
|
|
82
|
+
load: async () => (await import("./executions-QC2UZKIP.mjs")).registerExecutionsCommands
|
|
78
83
|
},
|
|
79
84
|
{
|
|
80
85
|
names: ["plays", "runs"],
|
|
81
|
-
load: async () => (await import("./play-
|
|
86
|
+
load: async () => (await import("./play-B5H2RN4N.mjs")).registerPlayCommands
|
|
82
87
|
},
|
|
83
88
|
{
|
|
84
89
|
names: ["sessions"],
|
|
85
|
-
load: async () => (await import("./sessions-
|
|
90
|
+
load: async () => (await import("./sessions-YWEFB62D.mjs")).registerSessionsCommands
|
|
86
91
|
},
|
|
87
92
|
{
|
|
88
93
|
names: ["workflows"],
|
|
89
|
-
load: async () => (await import("./workflow-
|
|
94
|
+
load: async () => (await import("./workflow-QCLR7GVC.mjs")).registerWorkflowCommands
|
|
90
95
|
},
|
|
91
96
|
{
|
|
92
97
|
names: ["secrets"],
|
|
93
|
-
load: async () => (await import("./secrets-
|
|
98
|
+
load: async () => (await import("./secrets-U42ZEYIU.mjs")).registerSecretsCommands
|
|
94
99
|
},
|
|
95
100
|
{
|
|
96
101
|
names: ["settings", "notifications"],
|
|
97
102
|
load: async () => {
|
|
98
|
-
const commands = await import("./settings-
|
|
103
|
+
const commands = await import("./settings-AS4U6NVP.mjs");
|
|
99
104
|
return (p) => {
|
|
100
105
|
commands.registerSettingsCommands(p);
|
|
101
106
|
commands.registerNotificationCommands(p);
|
|
@@ -104,51 +109,51 @@ var COMMAND_GROUPS = [
|
|
|
104
109
|
},
|
|
105
110
|
{
|
|
106
111
|
names: ["billing"],
|
|
107
|
-
load: async () => (await import("./billing-
|
|
112
|
+
load: async () => (await import("./billing-VQM65LVP.mjs")).registerBillingCommands
|
|
108
113
|
},
|
|
109
114
|
{
|
|
110
115
|
names: ["monitors"],
|
|
111
|
-
load: async () => (await import("./monitors-
|
|
116
|
+
load: async () => (await import("./monitors-F3PELPSH.mjs")).registerMonitorsCommands
|
|
112
117
|
},
|
|
113
118
|
{
|
|
114
119
|
names: ["org"],
|
|
115
|
-
load: async () => (await import("./org-
|
|
120
|
+
load: async () => (await import("./org-ER5J3ATG.mjs")).registerOrgCommands
|
|
116
121
|
},
|
|
117
122
|
{
|
|
118
123
|
names: ["git", "projects", "deployments"],
|
|
119
|
-
load: async () => (await import("./git-
|
|
124
|
+
load: async () => (await import("./git-S3Y3E2NL.mjs")).registerGitCommands
|
|
120
125
|
},
|
|
121
126
|
{
|
|
122
127
|
names: ["csv"],
|
|
123
|
-
load: async () => (await import("./csv-
|
|
128
|
+
load: async () => (await import("./csv-LXBF5UIV.mjs")).registerCsvCommands
|
|
124
129
|
},
|
|
125
130
|
{
|
|
126
131
|
names: ["db"],
|
|
127
|
-
load: async () => (await import("./db-
|
|
132
|
+
load: async () => (await import("./db-3O5CFLNP.mjs")).registerDbCommands
|
|
128
133
|
},
|
|
129
134
|
{
|
|
130
135
|
names: ["feedback"],
|
|
131
|
-
load: async () => (await import("./feedback-
|
|
136
|
+
load: async () => (await import("./feedback-JCGE6JFW.mjs")).registerFeedbackCommands
|
|
132
137
|
},
|
|
133
138
|
{
|
|
134
139
|
names: ["enrich", "session", "backend"],
|
|
135
|
-
load: async () => (await import("./legacy-noops-
|
|
140
|
+
load: async () => (await import("./legacy-noops-FQF2IRVS.mjs")).registerDeprecatedCommands
|
|
136
141
|
},
|
|
137
142
|
{
|
|
138
143
|
names: ["update"],
|
|
139
|
-
load: async () => (await import("./update-
|
|
144
|
+
load: async () => (await import("./update-KS4TRSZI.mjs")).registerUpdateCommand
|
|
140
145
|
},
|
|
141
146
|
{
|
|
142
147
|
names: ["skills", "skills-auto-sync"],
|
|
143
|
-
load: async () => (await import("./skills-
|
|
148
|
+
load: async () => (await import("./skills-5QS7ERVF.mjs")).registerSkillsCommand
|
|
144
149
|
},
|
|
145
150
|
{
|
|
146
151
|
names: ["setup", "doctor"],
|
|
147
|
-
load: async () => (await import("./setup-
|
|
152
|
+
load: async () => (await import("./setup-2GUIV2EW.mjs")).registerSetupCommands
|
|
148
153
|
},
|
|
149
154
|
{
|
|
150
155
|
names: ["quickstart"],
|
|
151
|
-
load: async () => (await import("./quickstart-
|
|
156
|
+
load: async () => (await import("./quickstart-BCYT7BCY.mjs")).registerQuickstartCommands
|
|
152
157
|
}
|
|
153
158
|
];
|
|
154
159
|
async function registerDeeplineCommandGroups(program, requestedCommand) {
|
|
@@ -451,7 +456,7 @@ async function runPlayRunnerHealthCheck() {
|
|
|
451
456
|
});
|
|
452
457
|
let exitCode = 1;
|
|
453
458
|
try {
|
|
454
|
-
const { handlePlayRun } = await import("./play-
|
|
459
|
+
const { handlePlayRun } = await import("./play-B5H2RN4N.mjs");
|
|
455
460
|
exitCode = await handlePlayRun([
|
|
456
461
|
file,
|
|
457
462
|
"--input",
|
|
@@ -683,73 +688,100 @@ Exit codes:
|
|
|
683
688
|
return;
|
|
684
689
|
}
|
|
685
690
|
const compatibilityCommand = compatibilityCommandPath(actionCommand) || actionCommand.name();
|
|
691
|
+
const isToolExecuteCommand = compatibilityCommand === "tools execute";
|
|
692
|
+
if (isToolExecuteCommand) {
|
|
693
|
+
beginToolExecuteCommand();
|
|
694
|
+
}
|
|
695
|
+
const runStartupStage = (stage, action) => isToolExecuteCommand ? runToolExecuteStage(stage, action) : Promise.resolve(action());
|
|
686
696
|
if (printStartupPhase) {
|
|
687
697
|
progress?.phase("checking sdk compatibility");
|
|
688
698
|
}
|
|
689
|
-
const
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
compatibilityCommand,
|
|
701
|
-
skillsVersion
|
|
702
|
-
) !== null;
|
|
703
|
-
if (trusted) {
|
|
704
|
-
recordCliTrace({
|
|
705
|
-
phase: "cli.sdk_compatibility",
|
|
706
|
-
ms: 0,
|
|
707
|
-
ok: true,
|
|
699
|
+
const startup = await runStartupStage("SDK compatibility", async () => {
|
|
700
|
+
const baseUrl = autoDetectBaseUrl().replace(/\/$/, "");
|
|
701
|
+
flushDeferredSkillsSyncNotices(baseUrl);
|
|
702
|
+
const shouldDeferSkillsSync = shouldDeferSkillsSyncForCommand();
|
|
703
|
+
const skillsVersion = shouldDeferSkillsSync ? void 0 : readSdkSkillsLocalVersion(baseUrl);
|
|
704
|
+
const trusted = readTrustedCleanCompatibility(
|
|
705
|
+
baseUrl,
|
|
706
|
+
compatibilityCommand,
|
|
707
|
+
skillsVersion
|
|
708
|
+
);
|
|
709
|
+
const fastDeadline = trusted === null && readFreshCleanCompatibility(
|
|
708
710
|
baseUrl,
|
|
709
|
-
|
|
710
|
-
skillsVersion
|
|
711
|
-
|
|
711
|
+
compatibilityCommand,
|
|
712
|
+
skillsVersion
|
|
713
|
+
) !== null;
|
|
714
|
+
if (trusted) {
|
|
715
|
+
recordCliTrace({
|
|
716
|
+
phase: "cli.sdk_compatibility",
|
|
717
|
+
ms: 0,
|
|
718
|
+
ok: true,
|
|
719
|
+
baseUrl,
|
|
720
|
+
command: compatibilityCommand,
|
|
721
|
+
skillsVersion: skillsVersion ?? null,
|
|
722
|
+
source: "trusted_cache"
|
|
723
|
+
});
|
|
724
|
+
}
|
|
725
|
+
const compatibility = trusted ? { response: trusted, error: null } : await traceCliSpan(
|
|
726
|
+
"cli.sdk_compatibility",
|
|
727
|
+
{
|
|
728
|
+
baseUrl,
|
|
729
|
+
command: compatibilityCommand,
|
|
730
|
+
skillsVersion: skillsVersion ?? null,
|
|
731
|
+
fastDeadline
|
|
732
|
+
},
|
|
733
|
+
() => checkSdkCompatibility(baseUrl, {
|
|
734
|
+
command: compatibilityCommand,
|
|
735
|
+
skillsVersion,
|
|
736
|
+
...fastDeadline ? { timeoutMs: SDK_COMPATIBILITY_FAST_DEADLINE_MS } : {}
|
|
737
|
+
})
|
|
738
|
+
);
|
|
739
|
+
if (compatibility.error) {
|
|
740
|
+
return {
|
|
741
|
+
shouldContinue: false,
|
|
742
|
+
baseUrl,
|
|
743
|
+
shouldDeferSkillsSync,
|
|
744
|
+
response: null
|
|
745
|
+
};
|
|
746
|
+
}
|
|
747
|
+
const relaunched = await maybeAutoUpdateAndRelaunch(
|
|
748
|
+
compatibility.response,
|
|
749
|
+
baseUrl
|
|
750
|
+
);
|
|
751
|
+
if (relaunched) {
|
|
752
|
+
return {
|
|
753
|
+
shouldContinue: false,
|
|
754
|
+
baseUrl,
|
|
755
|
+
shouldDeferSkillsSync,
|
|
756
|
+
response: compatibility.response
|
|
757
|
+
};
|
|
758
|
+
}
|
|
759
|
+
enforceSdkCompatibilityResponse(compatibility.response, {
|
|
760
|
+
quietAdvisory: process.argv.includes("--json")
|
|
712
761
|
});
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
"cli.sdk_compatibility",
|
|
716
|
-
{
|
|
762
|
+
return {
|
|
763
|
+
shouldContinue: true,
|
|
717
764
|
baseUrl,
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
},
|
|
722
|
-
() => checkSdkCompatibility(baseUrl, {
|
|
723
|
-
command: compatibilityCommand,
|
|
724
|
-
skillsVersion,
|
|
725
|
-
...fastDeadline ? { timeoutMs: SDK_COMPATIBILITY_FAST_DEADLINE_MS } : {}
|
|
726
|
-
})
|
|
727
|
-
);
|
|
728
|
-
if (compatibility.error) {
|
|
729
|
-
return;
|
|
730
|
-
}
|
|
731
|
-
const relaunched = await maybeAutoUpdateAndRelaunch(
|
|
732
|
-
compatibility.response,
|
|
733
|
-
baseUrl
|
|
734
|
-
);
|
|
735
|
-
if (relaunched) {
|
|
736
|
-
return;
|
|
737
|
-
}
|
|
738
|
-
enforceSdkCompatibilityResponse(compatibility.response, {
|
|
739
|
-
quietAdvisory: process.argv.includes("--json")
|
|
765
|
+
shouldDeferSkillsSync,
|
|
766
|
+
response: compatibility.response
|
|
767
|
+
};
|
|
740
768
|
});
|
|
769
|
+
if (!startup.shouldContinue) return;
|
|
741
770
|
if (printStartupPhase) {
|
|
742
771
|
progress?.phase("checking sdk skills");
|
|
743
772
|
}
|
|
744
|
-
if (!shouldDeferSkillsSync) {
|
|
745
|
-
const skillsUpdate =
|
|
746
|
-
await
|
|
747
|
-
"
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
773
|
+
if (!startup.shouldDeferSkillsSync) {
|
|
774
|
+
const skillsUpdate = startup.response && Object.prototype.hasOwnProperty.call(startup.response, "skills") ? startup.response.skills ?? null : void 0;
|
|
775
|
+
await runStartupStage(
|
|
776
|
+
"agent skills sync",
|
|
777
|
+
() => traceCliSpan(
|
|
778
|
+
"cli.sdk_skills_sync",
|
|
779
|
+
{ baseUrl: startup.baseUrl },
|
|
780
|
+
() => syncSdkSkillsIfNeeded(startup.baseUrl, {
|
|
781
|
+
update: skillsUpdate,
|
|
782
|
+
mode: "detached"
|
|
783
|
+
})
|
|
784
|
+
)
|
|
753
785
|
);
|
|
754
786
|
}
|
|
755
787
|
});
|
|
@@ -800,7 +832,7 @@ Examples:
|
|
|
800
832
|
printJson(data2);
|
|
801
833
|
return;
|
|
802
834
|
}
|
|
803
|
-
const { DeeplineClient } = await import("./client-
|
|
835
|
+
const { DeeplineClient } = await import("./client-DCEK34D5.mjs");
|
|
804
836
|
const client = new DeeplineClient();
|
|
805
837
|
const data = await client.health();
|
|
806
838
|
printJson(data);
|
|
@@ -915,6 +947,8 @@ Examples:
|
|
|
915
947
|
exitCode: failureExitCode,
|
|
916
948
|
error
|
|
917
949
|
});
|
|
950
|
+
} finally {
|
|
951
|
+
finishToolExecuteCommand();
|
|
918
952
|
}
|
|
919
953
|
process.exitCode = process.exitCode ?? 0;
|
|
920
954
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerSessionSendRenderCommands
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WV64SNDV.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ENRICH_COMMAND_DEPRECATION_MESSAGE
|
|
6
6
|
} from "./chunk-ITOFSXIU.mjs";
|
|
7
7
|
import {
|
|
8
8
|
printCommandEnvelope
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-5V56XCQN.mjs";
|
|
10
|
+
import "./chunk-4PSSDZQB.mjs";
|
|
11
11
|
import "./chunk-DLIRSHV6.mjs";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-WWPI4GJI.mjs";
|
|
13
13
|
import "./chunk-NXGCO4JB.mjs";
|
|
14
14
|
import "./chunk-WZYKRD7T.mjs";
|
|
15
15
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkFZNO6B4Wjs = require('./chunk-FZNO6B4W.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk3XX5TEA4js = require('./chunk-3XX5TEA4.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
10
|
-
require('./chunk-
|
|
9
|
+
var _chunkMMNZ6GBTjs = require('./chunk-MMNZ6GBT.js');
|
|
10
|
+
require('./chunk-M6HCRRV2.js');
|
|
11
11
|
require('./chunk-XNYIZMNQ.js');
|
|
12
|
-
require('./chunk-
|
|
12
|
+
require('./chunk-OZIFVQRY.js');
|
|
13
13
|
require('./chunk-7P5AA3SN.js');
|
|
14
14
|
require('./chunk-OG64RBAC.js');
|
|
15
15
|
require('./chunk-COGTRVWW.js');
|
|
@@ -51,7 +51,7 @@ function deprecatedCommandEnvelope(input) {
|
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
53
|
function printDeprecatedCommand(input) {
|
|
54
|
-
|
|
54
|
+
_chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0, deprecatedCommandEnvelope(input), {
|
|
55
55
|
json: input.options.json
|
|
56
56
|
});
|
|
57
57
|
process.exitCode = 2;
|
|
@@ -71,7 +71,7 @@ function registerDeprecatedCommands(program) {
|
|
|
71
71
|
program.command("enrich", { hidden: true }).description("Deprecated CSV enrichment command.").allowUnknownOption(true).allowExcessArguments(true).option("--json", "Emit JSON output").argument("[args...]").addHelpText("after", `
|
|
72
72
|
${_chunk3XX5TEA4js.ENRICH_COMMAND_DEPRECATION_MESSAGE}
|
|
73
73
|
`).action((_args, options) => {
|
|
74
|
-
|
|
74
|
+
_chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0,
|
|
75
75
|
{
|
|
76
76
|
ok: false,
|
|
77
77
|
command: "deepline enrich",
|
|
@@ -114,7 +114,7 @@ Examples:
|
|
|
114
114
|
options
|
|
115
115
|
});
|
|
116
116
|
});
|
|
117
|
-
|
|
117
|
+
_chunkFZNO6B4Wjs.registerSessionSendRenderCommands.call(void 0, session, "session");
|
|
118
118
|
for (const subcommand of SESSION_SUBCOMMANDS) {
|
|
119
119
|
addDeprecatedSubcommand(
|
|
120
120
|
session,
|