deepline 0.3.489 → 0.3.491
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/client-core.ts +6 -1
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/types.ts +4 -1
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
- package/dist/bundling-sources/shared_libs/play-runtime/direct-admission-deadline.ts +3 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +10 -0
- package/dist/cli/{auth-5RIU6GT7.mjs → auth-FXAC472Y.mjs} +5 -5
- package/dist/cli/auth-QIDL3YCW.js +43 -0
- package/dist/cli/{billing-T5MAGF25.js → billing-PDOA3KZ3.js} +79 -79
- package/dist/cli/{billing-T4TMPRFS.mjs → billing-UM4LE33K.mjs} +6 -6
- package/dist/cli/{chunk-SZHNIKTR.js → chunk-27MRSV6O.js} +26 -26
- package/dist/cli/{chunk-NBHCEVWY.mjs → chunk-2MW6TGNZ.mjs} +4 -4
- package/dist/cli/{chunk-FL7NHJTS.js → chunk-3FMU6F6E.js} +15 -15
- package/dist/cli/{chunk-TMQ3PCSY.mjs → chunk-3K4IAV7I.mjs} +2 -2
- package/dist/cli/{chunk-LMUOUIBV.mjs → chunk-3WRWPNHE.mjs} +5 -5
- package/dist/cli/{chunk-IAYSWZDJ.js → chunk-4IP5MLWU.js} +1 -1
- package/dist/cli/{chunk-6V7KVRR5.js → chunk-4OLXMJ2L.js} +13 -2
- package/dist/cli/{chunk-WIKIF67Q.js → chunk-5KMGKG4B.js} +8 -8
- package/dist/cli/{chunk-WRJ6MEY5.mjs → chunk-6PMM7VJN.mjs} +1 -1
- package/dist/cli/{chunk-GW6HV7Z7.js → chunk-6UARNRXT.js} +7 -7
- package/dist/cli/{chunk-UYZNRLDE.js → chunk-74H5OTRM.js} +1 -1
- package/dist/cli/{chunk-K2RUSHZ7.js → chunk-AEKJZJ4R.js} +4 -4
- package/dist/cli/{chunk-F3TDT57M.js → chunk-B2TXKEED.js} +5 -5
- package/dist/cli/{chunk-RI2PLVD4.js → chunk-BCKIBVEJ.js} +7 -7
- package/dist/cli/{chunk-S5PMBDY6.mjs → chunk-CFPFTS3A.mjs} +12 -12
- package/dist/cli/{chunk-J7EENGKJ.mjs → chunk-CGDUFVNE.mjs} +2 -2
- package/dist/cli/{chunk-S4F2R2LO.js → chunk-CRBBGKRH.js} +9 -9
- package/dist/cli/{chunk-JVHOS3K3.mjs → chunk-DEJIN4DF.mjs} +1 -1
- package/dist/cli/{chunk-FH7ZABHW.js → chunk-DUFRH43S.js} +261 -261
- package/dist/cli/{chunk-H66YVVT7.mjs → chunk-EPD7NSDJ.mjs} +2 -2
- package/dist/cli/{chunk-INW22YP7.mjs → chunk-FTXIJTV2.mjs} +3 -5
- package/dist/cli/{chunk-G7POOFBJ.mjs → chunk-H6UIS36S.mjs} +2 -2
- package/dist/cli/{chunk-CSBMKHTV.js → chunk-HHTVRICE.js} +17 -17
- package/dist/cli/{chunk-YSB44HZB.js → chunk-HNG2U3IG.js} +2 -2
- package/dist/cli/{chunk-L2GMFNAO.mjs → chunk-HSJK6EMU.mjs} +3 -3
- package/dist/cli/{chunk-R23HZ6AV.js → chunk-I64PYCTB.js} +2 -2
- package/dist/cli/{chunk-5DEJ3TLB.js → chunk-IG3GSBBE.js} +122 -119
- package/dist/cli/{chunk-C55LNEUF.mjs → chunk-IIO7UOVW.mjs} +5 -2
- package/dist/cli/{chunk-QJ4FWKUU.mjs → chunk-KGJVDR4Q.mjs} +2 -2
- package/dist/cli/{chunk-3S5VBG6Z.mjs → chunk-LMG7O6XJ.mjs} +2 -2
- package/dist/cli/{chunk-RACN23LT.mjs → chunk-MAM6ZOVS.mjs} +18 -4
- package/dist/cli/{chunk-VP65YKOA.js → chunk-MN6DCV63.js} +5 -5
- package/dist/cli/{chunk-7R243PYK.mjs → chunk-NUOKAKZW.mjs} +1 -1
- package/dist/cli/{chunk-ZICPJKMP.mjs → chunk-OLHWZM4A.mjs} +5 -5
- package/dist/cli/{chunk-6PHHQDM6.mjs → chunk-ORKLMANE.mjs} +1 -1
- package/dist/cli/{chunk-4GWEZPZR.mjs → chunk-OYJTLEB4.mjs} +1 -1
- package/dist/cli/{chunk-2QUROYZU.mjs → chunk-PIPEPCRL.mjs} +1 -1
- package/dist/cli/{chunk-FNKSRKTA.js → chunk-Q7G7CU4W.js} +3 -3
- package/dist/cli/{chunk-35N4S2E6.mjs → chunk-QBOE5LEH.mjs} +1 -1
- package/dist/cli/{chunk-FFDWL5N2.js → chunk-RFSXXDH7.js} +16 -16
- package/dist/cli/{chunk-DHAJSTSH.mjs → chunk-S4CYM4EC.mjs} +6 -6
- package/dist/cli/{chunk-UI67QLIR.js → chunk-SJOHQ2WW.js} +53 -53
- package/dist/cli/{chunk-I4NWMPT3.js → chunk-SUMKWA53.js} +53 -53
- package/dist/cli/{chunk-6FMP5XRF.js → chunk-TH7JLR5D.js} +6 -6
- package/dist/cli/{chunk-Q2EIZKVX.mjs → chunk-TKLDKIJU.mjs} +12 -1
- package/dist/cli/{chunk-DY7T6VNT.js → chunk-TMAS3WH3.js} +21 -21
- package/dist/cli/{chunk-Y3SG26KP.mjs → chunk-VC3SH4QW.mjs} +4 -4
- package/dist/cli/{chunk-OTQ2CO6M.mjs → chunk-WCWVXN3R.mjs} +2 -2
- package/dist/cli/{chunk-YEX3VNAY.mjs → chunk-X75ONMDJ.mjs} +2 -2
- package/dist/cli/{chunk-4EFD6R2V.js → chunk-X7YOVJBC.js} +52 -38
- package/dist/cli/{chunk-LOX3BISD.js → chunk-YNWET57Z.js} +9 -11
- package/dist/cli/{chunk-QXWE6PHI.mjs → chunk-YV4DP6KQ.mjs} +2 -2
- package/dist/cli/{chunk-UZ7VPOTA.js → chunk-ZEZ3CZ3X.js} +3 -3
- package/dist/cli/{chunk-LM5UIDFA.js → chunk-ZX2FXZJN.js} +7 -7
- package/dist/cli/{csv-XTKN255I.js → csv-IGPAPAES.js} +13 -13
- package/dist/cli/{csv-WAD54M7T.mjs → csv-RNMQHECI.mjs} +4 -4
- package/dist/cli/{db-TTS6Y4FI.js → db-32OXM3TO.js} +27 -27
- package/dist/cli/{db-2ELZMJFC.mjs → db-CKMVVGXJ.mjs} +6 -6
- package/dist/cli/describe-67GMIEIO.js +50 -0
- package/dist/cli/{describe-Z7GWMGKU.mjs → describe-QR7I3VOF.mjs} +21 -20
- package/dist/cli/describe-core.d.mts +2 -2
- package/dist/cli/describe-core.d.ts +2 -2
- package/dist/cli/describe-core.js +4 -4
- package/dist/cli/describe-core.mjs +3 -3
- package/dist/cli/{executions-WUBVVJXN.js → executions-PCZS7B2M.js} +8 -8
- package/dist/cli/{executions-2TQH54AB.mjs → executions-S4M4JMCU.mjs} +6 -6
- package/dist/cli/{feedback-6KAY4LE6.js → feedback-6EGKPZ3U.js} +8 -8
- package/dist/cli/{feedback-QI75ZVF2.mjs → feedback-FGUJVCBS.mjs} +4 -4
- package/dist/cli/getting-started.d.mts +17 -2
- package/dist/cli/getting-started.d.ts +17 -2
- package/dist/cli/getting-started.js +8 -2
- package/dist/cli/getting-started.mjs +9 -3
- package/dist/cli/{git-3PI2SXVS.mjs → git-LR4ARG5H.mjs} +5 -5
- package/dist/cli/git-PIH5Z5LN.js +25 -0
- package/dist/cli/index.js +138 -137
- package/dist/cli/index.mjs +41 -40
- package/dist/cli/{legacy-noops-SIDE3HLT.mjs → legacy-noops-S37PJ7OJ.mjs} +5 -5
- package/dist/cli/{legacy-noops-BNEVRTQT.js → legacy-noops-VX4JEQR6.js} +8 -8
- package/dist/cli/{monitors-WRWVVXUZ.js → monitors-ADASJI72.js} +91 -91
- package/dist/cli/{monitors-BYQ5V5MX.mjs → monitors-H3AX6CZG.mjs} +7 -7
- package/dist/cli/{org-OZNDX3G2.mjs → org-D3F5LUDW.mjs} +6 -6
- package/dist/cli/{org-KWCSSJ3Y.js → org-ZRJ3C56J.js} +72 -72
- package/dist/cli/{pages-OQVOMVF5.js → pages-5TKO3644.js} +17 -17
- package/dist/cli/{pages-DXU3TNND.mjs → pages-PSHU366M.mjs} +6 -6
- package/dist/cli/{play-ZFG4HDDX.mjs → play-AUDDK7XB.mjs} +20 -19
- package/dist/cli/{play-6D7U66KO.js → play-VDAETQDI.js} +323 -322
- package/dist/cli/{providers-H7R3Z5HS.js → providers-IURPWRWD.js} +9 -9
- package/dist/cli/{providers-4RRQIK3Q.mjs → providers-X7YMZSKQ.mjs} +6 -6
- package/dist/cli/{quickstart-TFKRPMCH.mjs → quickstart-6AGWVFNX.mjs} +5 -5
- package/dist/cli/{quickstart-FQ5E5G6O.js → quickstart-Y6GFXLDV.js} +13 -13
- package/dist/cli/{run-GRCGGUUM.mjs → run-TG7J45NS.mjs} +26 -25
- package/dist/cli/{run-QRDJTXKB.js → run-TQFGOXNT.js} +41 -40
- package/dist/cli/{search-OEVSDE3U.mjs → search-3G4J2GC6.mjs} +7 -7
- package/dist/cli/search-VC43NUY7.js +32 -0
- package/dist/cli/{search-output-F6KBWKT2.js → search-output-NPZICK5C.js} +6 -6
- package/dist/cli/{search-output-VK5ZDVKL.mjs → search-output-ZGNHDCLL.mjs} +4 -4
- package/dist/cli/{secrets-DCRVVQV2.mjs → secrets-EAWJBRUD.mjs} +6 -6
- package/dist/cli/{secrets-KKAAZENS.js → secrets-KTTHT4ZG.js} +15 -15
- package/dist/cli/{sessions-XVBIXCXU.mjs → sessions-D4Q3LCEQ.mjs} +5 -5
- package/dist/cli/{sessions-FDHENJVG.js → sessions-S4YVBPAW.js} +6 -6
- package/dist/cli/{settings-36HMWFAP.js → settings-BAK3VOWW.js} +79 -78
- package/dist/cli/{settings-OBVR52US.mjs → settings-JUORW6NL.mjs} +12 -11
- package/dist/cli/{setup-KFYQZYP3.mjs → setup-AXFGCXJE.mjs} +17 -12
- package/dist/cli/{setup-M6OWOPMB.js → setup-NJPHTW32.js} +60 -55
- package/dist/cli/skills-4NQZISNK.js +36 -0
- package/dist/cli/{skills-AZDPA6IQ.mjs → skills-SKJVDJEF.mjs} +10 -7
- package/dist/cli/{tools-F6XEUK7H.mjs → tools-63THJVJZ.mjs} +19 -18
- package/dist/cli/tools-BAHK33FQ.js +57 -0
- package/dist/cli/update-EMIGRGJ7.js +34 -0
- package/dist/cli/{update-QMGJRICE.mjs → update-KSID5F74.mjs} +10 -9
- package/dist/cli/{workflow-M4YPUASM.js → workflow-BLSMWBKW.js} +17 -17
- package/dist/cli/{workflow-L5WNCAPB.mjs → workflow-C4B54X2Z.mjs} +7 -7
- package/dist/{client-BkbDHRIg.d.mts → client-B4R1scm2.d.mts} +1 -1
- package/dist/{client-D3hVHXjK.d.ts → client-CQgGFxAH.d.ts} +1 -1
- package/dist/{client-core-DUdVqO_m.d.ts → client-core-BUNjKBKq.d.ts} +6 -1
- package/dist/{client-core-BZoSMKcY.d.mts → client-core-DMvHWjub.d.mts} +6 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +110 -110
- package/dist/plays/play-description.d.mts +1 -1
- package/dist/plays/play-description.d.ts +1 -1
- 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/dist/server.d.mts +2 -2
- package/dist/server.d.ts +2 -2
- package/dist/server.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-PSIS3XA6.js +0 -43
- package/dist/cli/describe-2V7H5LJP.js +0 -49
- package/dist/cli/git-DCADFTQ6.js +0 -25
- package/dist/cli/search-2FB7WQUS.js +0 -32
- package/dist/cli/skills-URCPOKZZ.js +0 -33
- package/dist/cli/tools-4G5J5NQP.js +0 -56
- package/dist/cli/update-UWVL2OYA.js +0 -33
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
SCHEMA_LINE_LIMIT,
|
|
3
3
|
fieldBlockLines,
|
|
4
4
|
schemaFields
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DEJIN4DF.mjs";
|
|
6
6
|
import {
|
|
7
7
|
csvSafeJsonString,
|
|
8
8
|
csvStringFromRows
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-X75ONMDJ.mjs";
|
|
10
10
|
|
|
11
11
|
// src/cli/describe-options.ts
|
|
12
12
|
function addDescribeOptions(command, options = {}) {
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
rateLimitSummary,
|
|
3
3
|
schemaField,
|
|
4
4
|
schemaFields
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DEJIN4DF.mjs";
|
|
6
6
|
import {
|
|
7
7
|
Capability,
|
|
8
8
|
observedMaxText
|
|
@@ -318,10 +318,8 @@ function describedTool(tool, requestedToolId) {
|
|
|
318
318
|
runner: playReference ? { via: "play", reference: playReference } : { via: "tool", toolId: String(contract.toolId), inputSchema }
|
|
319
319
|
};
|
|
320
320
|
}
|
|
321
|
-
function withPlanRateLimit(planRequestsPerMinute,
|
|
322
|
-
|
|
323
|
-
const plan = `${planRequestsPerMinute} requests/minute for this workspace on its plan`;
|
|
324
|
-
return sharedLimit ? `${plan} (shared ceiling: ${sharedLimit})` : plan;
|
|
321
|
+
function withPlanRateLimit(planRequestsPerMinute, configuredLimit) {
|
|
322
|
+
return typeof planRequestsPerMinute === "number" ? `${planRequestsPerMinute} requests/minute for this workspace on its plan` : configuredLimit;
|
|
325
323
|
}
|
|
326
324
|
function sampleValueForField(field) {
|
|
327
325
|
const name = stringField(field, "name").toLowerCase();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PlayClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IIO7UOVW.mjs";
|
|
4
4
|
import {
|
|
5
5
|
HttpClient,
|
|
6
6
|
resolveConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PIPEPCRL.mjs";
|
|
8
8
|
|
|
9
9
|
// src/plays/local-play-execution.ts
|
|
10
10
|
function importedNodes(graph) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkYNWET57Zjs = require('./chunk-YNWET57Z.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -13,7 +13,7 @@ var _chunkLOX3BISDjs = require('./chunk-LOX3BISD.js');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunk4IP5MLWUjs = require('./chunk-4IP5MLWU.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
|
|
@@ -31,13 +31,13 @@ var VIEWS = {
|
|
|
31
31
|
details: model,
|
|
32
32
|
lines: [
|
|
33
33
|
...unlisted,
|
|
34
|
-
...
|
|
34
|
+
..._chunkYNWET57Zjs.formatModelDescription.call(void 0, model).trimEnd().split("\n")
|
|
35
35
|
]
|
|
36
36
|
};
|
|
37
37
|
},
|
|
38
38
|
byok: async (_value, tool) => ({
|
|
39
39
|
details: _nullishCoalesce(tool.byok, () => ( {})),
|
|
40
|
-
lines:
|
|
40
|
+
lines: _chunk4IP5MLWUjs.byokLines.call(void 0, _nullishCoalesce(tool.byok, () => ( {})))
|
|
41
41
|
})
|
|
42
42
|
};
|
|
43
43
|
var isFeatureView = (value) => typeof value === "string" && Object.hasOwn(VIEWS, value);
|
|
@@ -116,7 +116,7 @@ async function findNamed(reference, options, lookups) {
|
|
|
116
116
|
const record = await lookups.play(reference2);
|
|
117
117
|
if (!record) return null;
|
|
118
118
|
return {
|
|
119
|
-
described:
|
|
119
|
+
described: _chunk4IP5MLWUjs.describedPlay.call(void 0, record),
|
|
120
120
|
record: { ...record },
|
|
121
121
|
schemas: {
|
|
122
122
|
inputSchema: _nullishCoalesce(record.inputSchema, () => ( null)),
|
|
@@ -131,18 +131,18 @@ async function findNamed(reference, options, lookups) {
|
|
|
131
131
|
const features = toolFeatures(record);
|
|
132
132
|
return {
|
|
133
133
|
described: {
|
|
134
|
-
...
|
|
134
|
+
..._chunkYNWET57Zjs.describedTool.call(void 0, record, name),
|
|
135
135
|
// Shown when the tool runs only on your own credentials; otherwise
|
|
136
136
|
// it is a feature, described with --feature byok.
|
|
137
137
|
..._optionalChain([byok, 'optionalAccess', _3 => _3.required]) === true ? { byok } : {},
|
|
138
138
|
...features.length ? { features: features.map(({ view: _view, ...feature }) => feature) } : {}
|
|
139
139
|
},
|
|
140
|
-
record:
|
|
140
|
+
record: _chunkYNWET57Zjs.toolMetadataJsonForDescribe.call(void 0,
|
|
141
141
|
record,
|
|
142
142
|
name,
|
|
143
143
|
lookups.seedStarterScript
|
|
144
144
|
),
|
|
145
|
-
schemas:
|
|
145
|
+
schemas: _chunkYNWET57Zjs.publicToolSchemas.call(void 0, record),
|
|
146
146
|
feature: (featureName, value) => {
|
|
147
147
|
const feature = features.find(({ name: name2 }) => name2 === featureName);
|
|
148
148
|
return feature ? describeFeature(record, feature, value, {
|
|
@@ -178,7 +178,7 @@ async function describeName(name, options, lookups) {
|
|
|
178
178
|
const note = shadows ? `Showing your workspace play "${name}". It has the same name as a Deepline ${shadows.kind.replace("_", " ")}; see that one with: ${shadows.describeCommand}` : null;
|
|
179
179
|
const verbose = options.verbose === true;
|
|
180
180
|
const isPlay = described.kind === "prebuilt_play" || described.kind === "custom_play";
|
|
181
|
-
const dashboardUrl = isPlay ?
|
|
181
|
+
const dashboardUrl = isPlay ? _chunk4IP5MLWUjs.buildPlayDashboardUrl.call(void 0, lookups.baseUrl, described.id) : null;
|
|
182
182
|
if (options.webUrl) {
|
|
183
183
|
if (!dashboardUrl) {
|
|
184
184
|
return {
|
|
@@ -242,7 +242,7 @@ async function describeName(name, options, lookups) {
|
|
|
242
242
|
},
|
|
243
243
|
lines: [
|
|
244
244
|
`${described.id} [${described.kind.replace("_", " ")}]`,
|
|
245
|
-
...
|
|
245
|
+
..._chunk4IP5MLWUjs.schemaLines.call(void 0, described, {
|
|
246
246
|
full: true,
|
|
247
247
|
secondary: true,
|
|
248
248
|
...fields.length ? { fields } : {}
|
|
@@ -251,17 +251,17 @@ async function describeName(name, options, lookups) {
|
|
|
251
251
|
} : {
|
|
252
252
|
envelope: {
|
|
253
253
|
...summary,
|
|
254
|
-
inputs: inputs.map(
|
|
255
|
-
outputs: outputs.map(
|
|
256
|
-
...described.rowInputs ? { rowInputs: described.rowInputs.map(
|
|
257
|
-
...described.rowOutputs ? { rowOutputs: described.rowOutputs.map(
|
|
258
|
-
runExamples:
|
|
254
|
+
inputs: inputs.map(_chunk4IP5MLWUjs.topLevelField),
|
|
255
|
+
outputs: outputs.map(_chunk4IP5MLWUjs.topLevelField),
|
|
256
|
+
...described.rowInputs ? { rowInputs: described.rowInputs.map(_chunk4IP5MLWUjs.topLevelField) } : {},
|
|
257
|
+
...described.rowOutputs ? { rowOutputs: described.rowOutputs.map(_chunk4IP5MLWUjs.topLevelField) } : {},
|
|
258
|
+
runExamples: _chunk4IP5MLWUjs.examples.call(void 0, described, { verbose }),
|
|
259
259
|
...dashboardUrl ? { dashboardUrl } : {},
|
|
260
260
|
...shadows ? { shadows, note } : {}
|
|
261
261
|
},
|
|
262
262
|
lines: [
|
|
263
263
|
...note ? [`Note: ${note}`, ""] : [],
|
|
264
|
-
...
|
|
264
|
+
..._chunk4IP5MLWUjs.describedLines.call(void 0, described, {
|
|
265
265
|
cli: shown && (!named || options.cliExample === true),
|
|
266
266
|
play: shown && (!named || options.playExample === true),
|
|
267
267
|
explain: named,
|
|
@@ -278,7 +278,7 @@ async function describeName(name, options, lookups) {
|
|
|
278
278
|
// its value stands, so callers of the older commands read what they did.
|
|
279
279
|
{ ...view.envelope, ...record }
|
|
280
280
|
) : {
|
|
281
|
-
...
|
|
281
|
+
..._chunk4IP5MLWUjs.describedJson.call(void 0, described, {
|
|
282
282
|
secondary: verbose || fields.length > 0,
|
|
283
283
|
verbose
|
|
284
284
|
}),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkBCKIBVEJjs = require('./chunk-BCKIBVEJ.js');
|
|
4
4
|
|
|
5
5
|
// src/cli/maintenance-policy.ts
|
|
6
6
|
var _commander = require('commander');
|
|
@@ -33,7 +33,7 @@ function recordCliTrace(event) {
|
|
|
33
33
|
sinceStartMs: now - cliTraceStartedAt,
|
|
34
34
|
...event
|
|
35
35
|
};
|
|
36
|
-
|
|
36
|
+
_chunkBCKIBVEJjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
|
|
37
37
|
`);
|
|
38
38
|
}
|
|
39
39
|
async function traceCliSpan(phase, fields, run) {
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
argsWantJson,
|
|
3
3
|
openInBrowser,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-X75ONMDJ.mjs";
|
|
6
6
|
import {
|
|
7
7
|
ACTIVE_ORG_ID_ENV,
|
|
8
8
|
ACTIVE_ORG_NAME_ENV,
|
|
@@ -22,14 +22,14 @@ import {
|
|
|
22
22
|
saveHostEnvValues,
|
|
23
23
|
saveProjectDeeplineEnvValues,
|
|
24
24
|
storedHostApiKey
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-PIPEPCRL.mjs";
|
|
26
26
|
import {
|
|
27
27
|
SDK_API_CONTRACT,
|
|
28
28
|
SDK_VERSION,
|
|
29
29
|
connectionFailureMessage,
|
|
30
30
|
detectAgentRuntime,
|
|
31
31
|
networkCauseCode
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-6PMM7VJN.mjs";
|
|
33
33
|
import {
|
|
34
34
|
DeeplineError
|
|
35
35
|
} from "./chunk-HBL4PM5Q.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkSJOHQ2WWjs = require('./chunk-SJOHQ2WW.js');
|
|
4
4
|
|
|
5
5
|
// src/cli/npm-script-policy.ts
|
|
6
6
|
var _child_process = require('child_process');
|
|
@@ -13,7 +13,7 @@ function npmSupportsAllowScripts(version) {
|
|
|
13
13
|
}
|
|
14
14
|
function readNpmVersion(env) {
|
|
15
15
|
try {
|
|
16
|
-
const plan =
|
|
16
|
+
const plan = _chunkSJOHQ2WWjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
|
|
17
17
|
const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
|
|
18
18
|
encoding: "utf8",
|
|
19
19
|
env,
|