deepline 0.3.327 → 0.3.328
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/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/security/secret-redaction.ts +4 -0
- package/dist/cli/{auth-EBBDOKNV.mjs → auth-ANHHABWT.mjs} +4 -4
- package/dist/cli/auth-EKRB4GMP.js +31 -0
- package/dist/cli/{billing-6AAB7WPJ.js → billing-GGVKLFE6.js} +96 -82
- package/dist/cli/{billing-IM2QUFX4.mjs → billing-R6NYYO6G.mjs} +30 -16
- package/dist/cli/{chunk-NWIJLTRL.js → chunk-2FPVWL4W.js} +47 -47
- package/dist/cli/{chunk-ZOFARJWH.mjs → chunk-6ENR652E.mjs} +6 -6
- package/dist/cli/{chunk-HZZJR2GV.js → chunk-7DDNACAQ.js} +26 -26
- package/dist/cli/{chunk-D6GD5AVN.mjs → chunk-7MABE3ZK.mjs} +3 -3
- package/dist/cli/{chunk-QZAP5VOS.mjs → chunk-7R6KQSFA.mjs} +1 -1
- package/dist/cli/{chunk-RSEVBSFE.mjs → chunk-AKKQ26RX.mjs} +1 -1
- package/dist/cli/{chunk-F45425TB.mjs → chunk-B2R66UTW.mjs} +1 -1
- package/dist/cli/{chunk-A5SKM3GL.mjs → chunk-BC7FMQ2G.mjs} +1 -1
- package/dist/cli/{chunk-UROXKPND.js → chunk-DNMV2L7Q.js} +6 -6
- package/dist/cli/{chunk-77RAV5XX.js → chunk-DNYRAZSK.js} +48 -48
- package/dist/cli/{chunk-HOWQKN6J.mjs → chunk-GZV5F6CL.mjs} +5 -5
- package/dist/cli/{chunk-4ZARCCPT.js → chunk-ITFUZEHE.js} +9 -9
- package/dist/cli/{chunk-TAGHNT5P.js → chunk-LEEXRXQQ.js} +6 -6
- package/dist/cli/{chunk-DSDX6EUW.js → chunk-LJWC5HSO.js} +15 -15
- package/dist/cli/{chunk-DM3SHV6U.js → chunk-O5GPNPOC.js} +4 -4
- package/dist/cli/{chunk-3ITDKXNC.mjs → chunk-OOLIEDIJ.mjs} +2 -2
- package/dist/cli/{chunk-DVV4FPS7.mjs → chunk-SMGNDW7O.mjs} +2 -2
- package/dist/cli/{chunk-MOP6D7Z5.js → chunk-UDIPEHNJ.js} +6 -6
- package/dist/cli/{chunk-REP2MYBI.mjs → chunk-UM4ZE3P7.mjs} +2 -2
- package/dist/cli/{chunk-4TO56P22.js → chunk-W6WV6UME.js} +224 -224
- package/dist/cli/{chunk-CCRQ2VGJ.mjs → chunk-WWVE4HFN.mjs} +1 -1
- package/dist/cli/{chunk-7RCJDAJX.js → chunk-XVKQ6D4K.js} +2 -2
- package/dist/cli/{chunk-3MXRNPBN.js → chunk-Y4LXIUHX.js} +1 -1
- package/dist/cli/{chunk-G5774EFF.mjs → chunk-YFCHBN3C.mjs} +1 -1
- package/dist/cli/{chunk-CISKBOXD.js → chunk-ZFKUVDOM.js} +60 -60
- package/dist/cli/{chunk-DCAU6PND.mjs → chunk-ZND34HL7.mjs} +4 -4
- package/dist/cli/client-55BDB4LE.js +20 -0
- package/dist/cli/{client-JCMSACT4.mjs → client-ZABA5NMD.mjs} +3 -3
- package/dist/cli/{csv-OILKDKUX.js → csv-4ZK5ZJAJ.js} +12 -12
- package/dist/cli/{csv-NPMWVM5D.mjs → csv-VECE3PWX.mjs} +3 -3
- package/dist/cli/{db-AZUAOWPQ.mjs → db-6VE4OEWW.mjs} +4 -4
- package/dist/cli/{db-MNDRYYEX.js → db-UJPCDBV7.js} +29 -29
- package/dist/cli/{describe-QENLDLM2.js → describe-CFUZZ326.js} +15 -15
- package/dist/cli/{describe-KJWOHMKC.mjs → describe-W6X5G4JR.mjs} +8 -8
- package/dist/cli/{executions-P36UHBPG.js → executions-AI4DTQQL.js} +6 -6
- package/dist/cli/{executions-QZNQWF6F.mjs → executions-ZZWB75DF.mjs} +4 -4
- package/dist/cli/{feedback-K4UGTLFD.js → feedback-FYSNSYUU.js} +6 -6
- package/dist/cli/{feedback-RQ6HSZSG.mjs → feedback-IM5Z6T5K.mjs} +3 -3
- package/dist/cli/git-VWXH6LCP.js +23 -0
- package/dist/cli/{git-PBRMCBMI.mjs → git-YNYTK3YW.mjs} +4 -4
- package/dist/cli/index.js +95 -80
- package/dist/cli/index.mjs +54 -39
- package/dist/cli/{legacy-noops-G7GWJ5UC.mjs → legacy-noops-4DTMYYUY.mjs} +4 -4
- package/dist/cli/{legacy-noops-X74FM35Q.js → legacy-noops-PHJE2XFK.js} +7 -7
- package/dist/cli/{monitors-VKURX3YM.js → monitors-27JP76WE.js} +85 -85
- package/dist/cli/{monitors-KL2MCR57.mjs → monitors-HUP4MVWJ.mjs} +4 -4
- package/dist/cli/{org-DT53KTNW.mjs → org-L3B2RR4U.mjs} +4 -4
- package/dist/cli/{org-ZYXJDC44.js → org-RHVDMUKN.js} +60 -60
- package/dist/cli/play-UKH4VFPF.js +153 -0
- package/dist/cli/{play-WIJGQYTB.mjs → play-UXIJVYNF.mjs} +7 -7
- package/dist/cli/{providers-GYGKGS2J.mjs → providers-FABWTNKR.mjs} +4 -4
- package/dist/cli/{providers-GRTW4TXX.js → providers-VL6VY56M.js} +7 -7
- package/dist/cli/{quickstart-WB26543C.js → quickstart-IIPZ6DSY.js} +5 -5
- package/dist/cli/{quickstart-XF3M2M2S.mjs → quickstart-OA54A4IE.mjs} +3 -3
- package/dist/cli/search-JD2VTR4A.js +26 -0
- package/dist/cli/{search-ANJLTOF2.mjs → search-YDK4V2EW.mjs} +5 -5
- package/dist/cli/{secrets-D6UR5CTW.mjs → secrets-4MQF6RF6.mjs} +4 -4
- package/dist/cli/{secrets-5KBUGMTK.js → secrets-JGU7ZRUW.js} +13 -13
- package/dist/cli/{sessions-46PXFULL.js → sessions-I7ZZYSYW.js} +5 -5
- package/dist/cli/{sessions-S7N4JEWK.mjs → sessions-PTHOMSZ5.mjs} +4 -4
- package/dist/cli/{settings-V6U3SRTH.mjs → settings-X4ENSGNK.mjs} +7 -7
- package/dist/cli/{settings-KMNBITSU.js → settings-ZUUBKIG6.js} +74 -74
- package/dist/cli/{setup-OGITSLTN.mjs → setup-4UM6FCZL.mjs} +6 -6
- package/dist/cli/{setup-4K5FY6AU.js → setup-6L576TQE.js} +41 -41
- package/dist/cli/skills-TLPNCERR.js +28 -0
- package/dist/cli/{skills-AXWAYPBY.mjs → skills-U3BS5KUI.mjs} +4 -4
- package/dist/cli/tools-26JTFFU4.js +39 -0
- package/dist/cli/{tools-LJCY6B23.mjs → tools-O4PX6UVB.mjs} +6 -6
- package/dist/cli/update-35RRCU2G.js +28 -0
- package/dist/cli/{update-DDR5XIUB.mjs → update-OHWSK2WN.mjs} +6 -6
- package/dist/cli/{workflow-7CTCDWL3.js → workflow-QWTZBLT3.js} +15 -15
- package/dist/cli/{workflow-PRNCVANQ.mjs → workflow-RVMGBMLX.mjs} +5 -5
- package/dist/index.js +6 -6
- package/dist/index.mjs +3 -3
- package/dist/install-integrity.json +74 -74
- 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-67YOPQ6M.js +0 -31
- package/dist/cli/client-7LZCG4VD.js +0 -20
- package/dist/cli/git-RPFH3NJ2.js +0 -23
- package/dist/cli/play-BUQV47E2.js +0 -153
- package/dist/cli/search-CR2GZLCM.js +0 -26
- package/dist/cli/skills-4FP2MZKL.js +0 -28
- package/dist/cli/tools-7YZPH6WC.js +0 -39
- package/dist/cli/update-3VUOW6AP.js +0 -28
package/dist/cli/index.mjs
CHANGED
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
resolveUpdatePlan,
|
|
11
11
|
runAutomaticUpdatePlan,
|
|
12
12
|
shouldRunCliAutoUpdate
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-ZND34HL7.mjs";
|
|
14
|
+
import "./chunk-AKKQ26RX.mjs";
|
|
15
15
|
import {
|
|
16
16
|
SDK_COMPATIBILITY_FAST_DEADLINE_MS,
|
|
17
17
|
SKILLS_AUTO_SYNC_COMMAND,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
readTrustedCleanCompatibility,
|
|
25
25
|
resolveSdkCliFailureExitCode,
|
|
26
26
|
syncSdkSkillsIfNeeded
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-OOLIEDIJ.mjs";
|
|
28
28
|
import {
|
|
29
29
|
recordCliTrace,
|
|
30
30
|
traceCliSpan
|
|
@@ -33,22 +33,23 @@ import {
|
|
|
33
33
|
createCliProgress
|
|
34
34
|
} from "./chunk-GAMFK2ZP.mjs";
|
|
35
35
|
import {
|
|
36
|
+
errorToJsonPayload,
|
|
36
37
|
formatProviderConcurrencyDiagnostic,
|
|
37
38
|
printCompactJson,
|
|
38
39
|
printJson,
|
|
39
|
-
printJsonError,
|
|
40
40
|
shouldEmitJson
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-B2R66UTW.mjs";
|
|
42
42
|
import {
|
|
43
|
+
AuthError,
|
|
43
44
|
HttpClient,
|
|
44
45
|
SDK_VERSION,
|
|
45
46
|
autoDetectBaseUrl,
|
|
46
47
|
readSdkSkillsLocalVersion,
|
|
47
48
|
resolveApiKeyForBaseUrl,
|
|
48
49
|
resolveConfig
|
|
49
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-WWVE4HFN.mjs";
|
|
50
51
|
import "./chunk-DLIRSHV6.mjs";
|
|
51
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-YFCHBN3C.mjs";
|
|
52
53
|
import "./chunk-NXGCO4JB.mjs";
|
|
53
54
|
import "./chunk-WZYKRD7T.mjs";
|
|
54
55
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -114,48 +115,48 @@ import { Command as Command2 } from "commander";
|
|
|
114
115
|
var COMMAND_GROUPS = [
|
|
115
116
|
{
|
|
116
117
|
names: ["auth"],
|
|
117
|
-
load: async () => (await import("./auth-
|
|
118
|
+
load: async () => (await import("./auth-ANHHABWT.mjs")).registerAuthCommands
|
|
118
119
|
},
|
|
119
120
|
{
|
|
120
121
|
names: ["providers"],
|
|
121
|
-
load: async () => (await import("./providers-
|
|
122
|
+
load: async () => (await import("./providers-FABWTNKR.mjs")).registerProviderCommands
|
|
122
123
|
},
|
|
123
124
|
{
|
|
124
125
|
names: ["search"],
|
|
125
|
-
load: async () => (await import("./search-
|
|
126
|
+
load: async () => (await import("./search-YDK4V2EW.mjs")).registerSearchCommand
|
|
126
127
|
},
|
|
127
128
|
{
|
|
128
129
|
names: ["describe"],
|
|
129
|
-
load: async () => (await import("./describe-
|
|
130
|
+
load: async () => (await import("./describe-W6X5G4JR.mjs")).registerDescribeCommand
|
|
130
131
|
},
|
|
131
132
|
{
|
|
132
133
|
names: ["tools"],
|
|
133
|
-
load: async () => (await import("./tools-
|
|
134
|
+
load: async () => (await import("./tools-O4PX6UVB.mjs")).registerToolsCommands
|
|
134
135
|
},
|
|
135
136
|
{
|
|
136
137
|
names: ["executions"],
|
|
137
|
-
load: async () => (await import("./executions-
|
|
138
|
+
load: async () => (await import("./executions-ZZWB75DF.mjs")).registerExecutionsCommands
|
|
138
139
|
},
|
|
139
140
|
{
|
|
140
141
|
names: ["plays", "runs"],
|
|
141
|
-
load: async () => (await import("./play-
|
|
142
|
+
load: async () => (await import("./play-UXIJVYNF.mjs")).registerPlayCommands
|
|
142
143
|
},
|
|
143
144
|
{
|
|
144
145
|
names: ["sessions"],
|
|
145
|
-
load: async () => (await import("./sessions-
|
|
146
|
+
load: async () => (await import("./sessions-PTHOMSZ5.mjs")).registerSessionsCommands
|
|
146
147
|
},
|
|
147
148
|
{
|
|
148
149
|
names: ["workflows"],
|
|
149
|
-
load: async () => (await import("./workflow-
|
|
150
|
+
load: async () => (await import("./workflow-RVMGBMLX.mjs")).registerWorkflowCommands
|
|
150
151
|
},
|
|
151
152
|
{
|
|
152
153
|
names: ["secrets"],
|
|
153
|
-
load: async () => (await import("./secrets-
|
|
154
|
+
load: async () => (await import("./secrets-4MQF6RF6.mjs")).registerSecretsCommands
|
|
154
155
|
},
|
|
155
156
|
{
|
|
156
157
|
names: ["settings", "notifications"],
|
|
157
158
|
load: async () => {
|
|
158
|
-
const commands = await import("./settings-
|
|
159
|
+
const commands = await import("./settings-X4ENSGNK.mjs");
|
|
159
160
|
return (p) => {
|
|
160
161
|
commands.registerSettingsCommands(p);
|
|
161
162
|
commands.registerNotificationCommands(p);
|
|
@@ -164,51 +165,51 @@ var COMMAND_GROUPS = [
|
|
|
164
165
|
},
|
|
165
166
|
{
|
|
166
167
|
names: ["billing"],
|
|
167
|
-
load: async () => (await import("./billing-
|
|
168
|
+
load: async () => (await import("./billing-R6NYYO6G.mjs")).registerBillingCommands
|
|
168
169
|
},
|
|
169
170
|
{
|
|
170
171
|
names: ["monitors"],
|
|
171
|
-
load: async () => (await import("./monitors-
|
|
172
|
+
load: async () => (await import("./monitors-HUP4MVWJ.mjs")).registerMonitorsCommands
|
|
172
173
|
},
|
|
173
174
|
{
|
|
174
175
|
names: ["org"],
|
|
175
|
-
load: async () => (await import("./org-
|
|
176
|
+
load: async () => (await import("./org-L3B2RR4U.mjs")).registerOrgCommands
|
|
176
177
|
},
|
|
177
178
|
{
|
|
178
179
|
names: ["git", "projects", "deployments"],
|
|
179
|
-
load: async () => (await import("./git-
|
|
180
|
+
load: async () => (await import("./git-YNYTK3YW.mjs")).registerGitCommands
|
|
180
181
|
},
|
|
181
182
|
{
|
|
182
183
|
names: ["csv"],
|
|
183
|
-
load: async () => (await import("./csv-
|
|
184
|
+
load: async () => (await import("./csv-VECE3PWX.mjs")).registerCsvCommands
|
|
184
185
|
},
|
|
185
186
|
{
|
|
186
187
|
names: ["db"],
|
|
187
|
-
load: async () => (await import("./db-
|
|
188
|
+
load: async () => (await import("./db-6VE4OEWW.mjs")).registerDbCommands
|
|
188
189
|
},
|
|
189
190
|
{
|
|
190
191
|
names: ["feedback"],
|
|
191
|
-
load: async () => (await import("./feedback-
|
|
192
|
+
load: async () => (await import("./feedback-IM5Z6T5K.mjs")).registerFeedbackCommands
|
|
192
193
|
},
|
|
193
194
|
{
|
|
194
195
|
names: ["enrich", "session", "backend"],
|
|
195
|
-
load: async () => (await import("./legacy-noops-
|
|
196
|
+
load: async () => (await import("./legacy-noops-4DTMYYUY.mjs")).registerDeprecatedCommands
|
|
196
197
|
},
|
|
197
198
|
{
|
|
198
199
|
names: ["update"],
|
|
199
|
-
load: async () => (await import("./update-
|
|
200
|
+
load: async () => (await import("./update-OHWSK2WN.mjs")).registerUpdateCommand
|
|
200
201
|
},
|
|
201
202
|
{
|
|
202
203
|
names: ["skills", "skills-auto-sync"],
|
|
203
|
-
load: async () => (await import("./skills-
|
|
204
|
+
load: async () => (await import("./skills-U3BS5KUI.mjs")).registerSkillsCommand
|
|
204
205
|
},
|
|
205
206
|
{
|
|
206
207
|
names: ["setup", "doctor"],
|
|
207
|
-
load: async () => (await import("./setup-
|
|
208
|
+
load: async () => (await import("./setup-4UM6FCZL.mjs")).registerSetupCommands
|
|
208
209
|
},
|
|
209
210
|
{
|
|
210
211
|
names: ["quickstart"],
|
|
211
|
-
load: async () => (await import("./quickstart-
|
|
212
|
+
load: async () => (await import("./quickstart-OA54A4IE.mjs")).registerQuickstartCommands
|
|
212
213
|
}
|
|
213
214
|
];
|
|
214
215
|
async function registerDeeplineCommandGroups(program, requestedCommand) {
|
|
@@ -219,7 +220,9 @@ async function registerDeeplineCommandGroups(program, requestedCommand) {
|
|
|
219
220
|
for (const register of registrars) register(program);
|
|
220
221
|
}
|
|
221
222
|
function registerDeeplineInlineCommands(program) {
|
|
222
|
-
const preflight = program.command("preflight").description(
|
|
223
|
+
const preflight = program.command("preflight").description(
|
|
224
|
+
"Run compact CLI version, health, auth, and Deepline billing checks."
|
|
225
|
+
).option("--json", "Force JSON output.");
|
|
223
226
|
const health = program.command("health").description("Check server health.").option("--json", "Force JSON output.").option(
|
|
224
227
|
"--play-runner",
|
|
225
228
|
"Run a tiny no-provider play to verify the full play execution plane."
|
|
@@ -445,6 +448,7 @@ function resolveCliMaintenancePolicy(input) {
|
|
|
445
448
|
|
|
446
449
|
// src/cli/index.ts
|
|
447
450
|
var PREFLIGHT_TIMEOUT_MS = 3e3;
|
|
451
|
+
var AUTH_RECOVERY_COMMAND = "deepline auth register --wait auto";
|
|
448
452
|
function asCommanderError(error) {
|
|
449
453
|
if (!(error instanceof Error) || !("code" in error)) {
|
|
450
454
|
return null;
|
|
@@ -532,7 +536,7 @@ async function runPlayRunnerHealthCheck() {
|
|
|
532
536
|
});
|
|
533
537
|
let exitCode = 1;
|
|
534
538
|
try {
|
|
535
|
-
const { handlePlayRun } = await import("./play-
|
|
539
|
+
const { handlePlayRun } = await import("./play-UXIJVYNF.mjs");
|
|
536
540
|
exitCode = await handlePlayRun([
|
|
537
541
|
file,
|
|
538
542
|
"--input",
|
|
@@ -631,8 +635,10 @@ async function runPreflightCheck() {
|
|
|
631
635
|
const billingRecord = billing;
|
|
632
636
|
const balanceDisplay = pickString(billing, "balance_display", "balanceDisplay") ?? `${String(billingRecord.balance ?? 0)} Deepline Credits`;
|
|
633
637
|
const balanceStatus = pickString(billing, "balance_status", "balanceStatus") ?? "unknown";
|
|
638
|
+
const connected = authStatus === "connected" || authStatus === "claimed";
|
|
634
639
|
return {
|
|
635
|
-
status: healthResult.status === "ok" &&
|
|
640
|
+
status: healthResult.status === "ok" && connected ? "ok" : "check",
|
|
641
|
+
cli_version: SDK_VERSION,
|
|
636
642
|
host: baseUrl,
|
|
637
643
|
health: {
|
|
638
644
|
status: healthResult.status,
|
|
@@ -640,7 +646,7 @@ async function runPreflightCheck() {
|
|
|
640
646
|
},
|
|
641
647
|
auth: {
|
|
642
648
|
status: authStatus,
|
|
643
|
-
connected
|
|
649
|
+
connected,
|
|
644
650
|
org_id: pickString(auth, "org_id", "orgId"),
|
|
645
651
|
org_name: pickString(auth, "org_name", "orgName"),
|
|
646
652
|
rate_limit_tier: pickString(auth, "rate_limit_tier", "rateLimitTier"),
|
|
@@ -658,10 +664,12 @@ async function runPreflightCheck() {
|
|
|
658
664
|
{
|
|
659
665
|
title: "preflight",
|
|
660
666
|
lines: [
|
|
667
|
+
`cli: ${SDK_VERSION}`,
|
|
661
668
|
`host: ${baseUrl}`,
|
|
662
669
|
`health: ${healthResult.status}`,
|
|
663
670
|
`auth: ${authStatus}`,
|
|
664
|
-
`billing: ${balanceDisplay} (${balanceStatus})
|
|
671
|
+
`billing: ${balanceDisplay} (${balanceStatus})`,
|
|
672
|
+
...connected ? [] : [`next: ${AUTH_RECOVERY_COMMAND}`]
|
|
665
673
|
]
|
|
666
674
|
}
|
|
667
675
|
]
|
|
@@ -879,8 +887,9 @@ Exit codes:
|
|
|
879
887
|
"after",
|
|
880
888
|
`
|
|
881
889
|
Notes:
|
|
882
|
-
Read-only setup check for the configured Deepline host. Shows
|
|
883
|
-
auth connection, and customer-visible Deepline balance in one
|
|
890
|
+
Read-only setup check for the configured Deepline host. Shows the CLI version,
|
|
891
|
+
server health, auth connection, and customer-visible Deepline balance in one
|
|
892
|
+
compact command. When auth is missing it prints the command that connects it.
|
|
884
893
|
|
|
885
894
|
Examples:
|
|
886
895
|
deepline preflight
|
|
@@ -914,7 +923,7 @@ Examples:
|
|
|
914
923
|
printJson(data2);
|
|
915
924
|
return;
|
|
916
925
|
}
|
|
917
|
-
const { DeeplineClient } = await import("./client-
|
|
926
|
+
const { DeeplineClient } = await import("./client-ZABA5NMD.mjs");
|
|
918
927
|
const client = new DeeplineClient();
|
|
919
928
|
const data = await client.health();
|
|
920
929
|
printJson(data);
|
|
@@ -1027,9 +1036,15 @@ Examples:
|
|
|
1027
1036
|
process.exitCode = commanderError.code === "commander.unknownCommand" && !wantsJson ? 2 : commanderError.exitCode ?? 1;
|
|
1028
1037
|
return;
|
|
1029
1038
|
} else if (wantsJson) {
|
|
1030
|
-
|
|
1039
|
+
printJson({
|
|
1040
|
+
...errorToJsonPayload(error),
|
|
1041
|
+
...error instanceof AuthError ? { next: AUTH_RECOVERY_COMMAND } : {}
|
|
1042
|
+
});
|
|
1031
1043
|
} else if (error instanceof Error) {
|
|
1032
1044
|
console.error(`Error: ${error.message}`);
|
|
1045
|
+
if (error instanceof AuthError) {
|
|
1046
|
+
console.error(`Not authenticated. Run: ${AUTH_RECOVERY_COMMAND}`);
|
|
1047
|
+
}
|
|
1033
1048
|
const providerConcurrency = formatProviderConcurrencyDiagnostic(error);
|
|
1034
1049
|
if (providerConcurrency) console.error(providerConcurrency);
|
|
1035
1050
|
} else {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerSessionSendRenderCommands
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BC7FMQ2G.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-B2R66UTW.mjs";
|
|
10
|
+
import "./chunk-WWVE4HFN.mjs";
|
|
11
11
|
import "./chunk-DLIRSHV6.mjs";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-YFCHBN3C.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 _chunkLEEXRXQQjs = require('./chunk-LEEXRXQQ.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk3XX5TEA4js = require('./chunk-3XX5TEA4.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
10
|
-
require('./chunk-
|
|
9
|
+
var _chunkDNMV2L7Qjs = require('./chunk-DNMV2L7Q.js');
|
|
10
|
+
require('./chunk-O5GPNPOC.js');
|
|
11
11
|
require('./chunk-XNYIZMNQ.js');
|
|
12
|
-
require('./chunk-
|
|
12
|
+
require('./chunk-Y4LXIUHX.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
|
+
_chunkDNMV2L7Qjs.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
|
+
_chunkDNMV2L7Qjs.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
|
+
_chunkLEEXRXQQjs.registerSessionSendRenderCommands.call(void 0, session, "session");
|
|
118
118
|
for (const subcommand of SESSION_SUBCOMMANDS) {
|
|
119
119
|
addDeprecatedSubcommand(
|
|
120
120
|
session,
|