deepline 0.3.580 → 0.3.582
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/observability/scheduled-jobs.json +4 -4
- package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +42 -2
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox.ts +49 -11
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/early-sandbox-lane.ts +13 -4
- package/dist/bundling-sources/shared_libs/play-runtime/transient-service-error.ts +12 -0
- package/dist/bundling-sources/shared_libs/plays/sandbox-runtime-limits.ts +20 -0
- package/dist/cli/{agents-BF5VX5ZB.js → agents-2L73CJHH.js} +81 -39
- package/dist/cli/{agents-JRFTZE7G.mjs → agents-UAXDG4FS.mjs} +51 -9
- package/dist/cli/{auth-XJXZ64R4.mjs → auth-3B2QB4UH.mjs} +5 -5
- package/dist/cli/auth-ALBG5LF4.js +44 -0
- package/dist/cli/{billing-TXJBGP2I.mjs → billing-CPBRWG3M.mjs} +11 -11
- package/dist/cli/{billing-VGMTJI7W.js → billing-E7FO622G.js} +111 -111
- package/dist/cli/{chunk-IM322G7M.mjs → chunk-2K6EIL2D.mjs} +1 -1
- package/dist/cli/{chunk-3P4QZIJ5.mjs → chunk-3DVWSTAI.mjs} +1 -1
- package/dist/cli/{chunk-3OSNEWGR.js → chunk-3EOET5UB.js} +100 -100
- package/dist/cli/{chunk-GDBNH57Z.js → chunk-3HIJNXRB.js} +10 -10
- package/dist/cli/{chunk-H3B6QM6V.mjs → chunk-4TTEAUZV.mjs} +3 -3
- package/dist/cli/{chunk-7ORX33JX.mjs → chunk-4ZAWRCB6.mjs} +5 -5
- package/dist/cli/{chunk-2ZCFAUCV.js → chunk-5436ZJPH.js} +3 -3
- package/dist/cli/{chunk-5BPJW6X5.mjs → chunk-6NEMTKTA.mjs} +5 -5
- package/dist/cli/{chunk-LRZGS6RZ.mjs → chunk-7MMEW2WU.mjs} +1 -1
- package/dist/cli/{chunk-ZR7PDXIA.mjs → chunk-7QX5PCHP.mjs} +2 -2
- package/dist/cli/{chunk-BAXLPQTM.mjs → chunk-ABJZQHON.mjs} +4 -4
- package/dist/cli/{chunk-HEZ24K5F.js → chunk-CPZL6Z7D.js} +2 -2
- package/dist/cli/{chunk-D6I7QWOZ.js → chunk-CYZSHD66.js} +2 -2
- package/dist/cli/{chunk-IERWFFDB.mjs → chunk-D7J33HTK.mjs} +5 -5
- package/dist/cli/{chunk-LHV3HPAY.js → chunk-DI5MULNX.js} +26 -26
- package/dist/cli/{chunk-YY6EB252.js → chunk-DPLYQITT.js} +2 -2
- package/dist/cli/{chunk-SQBSK74D.mjs → chunk-DSHIB2XQ.mjs} +1 -1
- package/dist/cli/{chunk-TSOXJZSW.js → chunk-EB2YLLZJ.js} +41 -41
- package/dist/cli/{chunk-WJUAVMQC.js → chunk-EGH4JNJP.js} +8 -8
- package/dist/cli/{chunk-E2G2DNAB.js → chunk-EP3GZAHK.js} +7 -7
- package/dist/cli/{chunk-MBOPKQJF.js → chunk-FBSPHBAF.js} +1 -1
- package/dist/cli/{chunk-U4VCAECC.mjs → chunk-FWB3QR7W.mjs} +1 -1
- package/dist/cli/{chunk-MP6XUVAJ.mjs → chunk-G5YU6RJ4.mjs} +2 -2
- package/dist/cli/{chunk-V5NDHTBB.js → chunk-GZBXN56A.js} +23 -23
- package/dist/cli/{chunk-DQEHBAHL.js → chunk-H3KVMALU.js} +9 -9
- package/dist/cli/{chunk-COAAKSFX.js → chunk-HP6A3JCX.js} +5 -5
- package/dist/cli/{chunk-O7AWGIDD.mjs → chunk-I5J6HGVR.mjs} +2 -2
- package/dist/cli/{chunk-ANX3PYLT.js → chunk-ISN4F6AY.js} +13 -13
- package/dist/cli/{chunk-MEDA3STC.mjs → chunk-JD7P73ZW.mjs} +1 -1
- package/dist/cli/{chunk-GE4ZEMMA.mjs → chunk-JF4DUC2F.mjs} +2 -2
- package/dist/cli/{chunk-XQUVLYOL.js → chunk-JUZIMW4S.js} +7 -7
- package/dist/cli/{chunk-NV5IJ3NY.mjs → chunk-KDITCSPN.mjs} +21 -1
- package/dist/cli/{chunk-MCYZO3RB.js → chunk-KQEW3EAU.js} +16 -16
- package/dist/cli/{chunk-IG3CXIJY.mjs → chunk-LDMCTV2Z.mjs} +1 -1
- package/dist/cli/{chunk-VF3EGTHU.mjs → chunk-LHA45DNY.mjs} +3 -3
- package/dist/cli/{chunk-XFVJ3JNA.js → chunk-MRSYC74T.js} +5 -5
- package/dist/cli/{chunk-PFNYLTCZ.js → chunk-NJGXYYHN.js} +5 -5
- package/dist/cli/{chunk-3ZBPXNSW.mjs → chunk-NVHICORD.mjs} +2 -2
- package/dist/cli/{chunk-C6YXUGX2.mjs → chunk-NZR5PBNP.mjs} +3 -3
- package/dist/cli/{chunk-FCJJPEKN.mjs → chunk-OUFOJTEJ.mjs} +5 -5
- package/dist/cli/{chunk-7HOG3JZE.mjs → chunk-PNQVB4UD.mjs} +11 -11
- package/dist/cli/{chunk-VOQWPUIF.js → chunk-POYADK77.js} +20 -20
- package/dist/cli/{chunk-LC4ETCOA.mjs → chunk-RNZXMOA6.mjs} +2 -2
- package/dist/cli/{chunk-X5RXG6VS.mjs → chunk-ROUNT4NX.mjs} +1 -1
- package/dist/cli/{chunk-ZADJC22U.js → chunk-SKKRESFB.js} +3 -3
- package/dist/cli/{chunk-BK4Z62CF.mjs → chunk-SYWLWTWM.mjs} +4 -4
- package/dist/cli/{chunk-EI7KTESB.mjs → chunk-U2QQQNWW.mjs} +2 -2
- package/dist/cli/{chunk-URZPR54R.js → chunk-V54YQHPV.js} +6 -6
- package/dist/cli/{chunk-NNWEQDZR.js → chunk-VA35T3AF.js} +20 -20
- package/dist/cli/{chunk-HLMF53HZ.mjs → chunk-XYQMOXP4.mjs} +1 -1
- package/dist/cli/{chunk-AZTQJJH7.js → chunk-Y36SQMSN.js} +22 -2
- package/dist/cli/{chunk-R77IVVEZ.js → chunk-YPP436NM.js} +53 -53
- package/dist/cli/{chunk-Z6DERGHY.js → chunk-Z3IAEHID.js} +48 -48
- package/dist/cli/{chunk-GIZIWNL5.mjs → chunk-ZARGHLZZ.mjs} +1 -1
- package/dist/cli/{chunk-6VSUP4WN.js → chunk-ZH23XGJO.js} +4 -4
- package/dist/cli/{chunk-APJ7IPRT.js → chunk-ZL3O7F5J.js} +15 -15
- package/dist/cli/command-docs.js +4 -4
- package/dist/cli/command-docs.mjs +3 -3
- package/dist/cli/concurrent-runs-help-E3YMAO5Q.js +22 -0
- package/dist/cli/{concurrent-runs-help-DSUQRWZQ.mjs → concurrent-runs-help-UFNYQYU2.mjs} +6 -6
- package/dist/cli/{csv-QNXJBT5T.mjs → csv-QSDRGLQH.mjs} +4 -4
- package/dist/cli/{csv-HSHF6JYZ.js → csv-ZI5LYFHF.js} +13 -13
- package/dist/cli/{db-RAWY3SWS.mjs → db-WVWXNNMO.mjs} +6 -6
- package/dist/cli/{db-VHYWVLLU.js → db-ZDL6Q53U.js} +27 -27
- package/dist/cli/describe-QB5T47B3.js +50 -0
- package/dist/cli/{describe-WZOVHWAM.mjs → describe-UUQBKUVL.mjs} +18 -18
- package/dist/cli/{executions-QABOXV4K.mjs → executions-QN3OYJKT.mjs} +6 -6
- package/dist/cli/{executions-DQIFH4Z6.js → executions-SCGHTWTC.js} +8 -8
- package/dist/cli/{feedback-6IER2W4G.js → feedback-6QQ7ONLW.js} +14 -14
- package/dist/cli/{feedback-DW4O63DG.mjs → feedback-7QPHLXGU.mjs} +6 -6
- package/dist/cli/git-4FXTWHXT.js +26 -0
- package/dist/cli/{git-3NAPGZGR.mjs → git-HFPJX573.mjs} +5 -5
- package/dist/cli/index.js +150 -150
- package/dist/cli/index.mjs +49 -49
- package/dist/cli/{integrations-TSRUTENK.mjs → integrations-4SZ5O24P.mjs} +7 -7
- package/dist/cli/{integrations-5LHIBBXB.js → integrations-ND2HULSH.js} +29 -29
- package/dist/cli/{legacy-noops-S22XGYGN.js → legacy-noops-GQF6AYP5.js} +9 -9
- package/dist/cli/{legacy-noops-4N63A6H7.mjs → legacy-noops-WUP3TBR2.mjs} +6 -6
- package/dist/cli/{mcp-4EJHRRFV.mjs → mcp-3GUFYGCQ.mjs} +4 -4
- package/dist/cli/{mcp-JERBGJYE.js → mcp-L3YYVEU6.js} +24 -24
- package/dist/cli/{monitors-FF35CGC4.js → monitors-CVZZN5WG.js} +100 -100
- package/dist/cli/{monitors-7BTLBD6S.mjs → monitors-OFCVJSH5.mjs} +7 -7
- package/dist/cli/{org-QYIIBKA2.mjs → org-3DTAYA52.mjs} +6 -6
- package/dist/cli/{org-ADCDO7KU.js → org-MQ5AUN7I.js} +121 -121
- package/dist/cli/{outcomes-C5DIBG4Q.mjs → outcomes-42W24EXG.mjs} +6 -6
- package/dist/cli/{outcomes-2LW4GK2L.js → outcomes-MGDUYHUD.js} +14 -14
- package/dist/cli/{play-S5MZ2GRA.js → play-IMAD7QTV.js} +342 -342
- package/dist/cli/{play-DTTDTISL.mjs → play-PD45RNYZ.mjs} +21 -21
- package/dist/cli/{providers-AXOEFQ6Q.mjs → providers-DYKHG7NV.mjs} +6 -6
- package/dist/cli/{providers-N2IWEJBW.js → providers-WONHPTRG.js} +9 -9
- package/dist/cli/{quickstart-ADWSZBV6.mjs → quickstart-5QPGHLEX.mjs} +4 -4
- package/dist/cli/{quickstart-UC5AJZWU.js → quickstart-6AAFULGC.js} +6 -6
- package/dist/cli/{run-R2FVH3K6.mjs → run-4K6ZU7H7.mjs} +23 -23
- package/dist/cli/{run-6TDYUL7L.js → run-WOW7QO3W.js} +44 -44
- package/dist/cli/{search-GRHUFSLY.mjs → search-CKVFWVXQ.mjs} +7 -7
- package/dist/cli/search-YZIJS7QU.js +32 -0
- package/dist/cli/{search-output-O7NY3VMD.js → search-output-B5QE7ZNK.js} +6 -6
- package/dist/cli/{search-output-UPQNAFAF.mjs → search-output-WWB25JWA.mjs} +4 -4
- package/dist/cli/{secrets-NKAEJLIQ.mjs → secrets-SVZB6TSW.mjs} +6 -6
- package/dist/cli/{secrets-72GJHFER.js → secrets-WKIMR346.js} +15 -15
- package/dist/cli/{sessions-VIMF3UF5.mjs → sessions-P3QENG6T.mjs} +6 -6
- package/dist/cli/sessions-VQPGPXMU.js +23 -0
- package/dist/cli/{settings-HFAW5HIF.js → settings-UIFRGJW3.js} +85 -85
- package/dist/cli/{settings-KCQHBFNZ.mjs → settings-V5ABL6D2.mjs} +12 -12
- package/dist/cli/{setup-2MHWGEAD.js → setup-A5MIJU3S.js} +49 -49
- package/dist/cli/{setup-2ZD5ZIUH.mjs → setup-E67NJTEF.mjs} +9 -9
- package/dist/cli/skills-GTBK33MV.js +37 -0
- package/dist/cli/{skills-X2DZZG5P.mjs → skills-WLHOQ4DO.mjs} +7 -7
- package/dist/cli/{tools-KPTOWKD4.mjs → tools-EG4KL3BB.mjs} +17 -17
- package/dist/cli/tools-GPAIPRPQ.js +57 -0
- package/dist/cli/{update-6PMQCEUP.mjs → update-IPFBE6SA.mjs} +9 -9
- package/dist/cli/update-QLWS32WR.js +37 -0
- package/dist/cli/{views-VRZ5CTFL.mjs → views-XDN6SEWY.mjs} +6 -6
- package/dist/cli/{views-MNBHNO6C.js → views-ZIBY2RVB.js} +21 -21
- package/dist/cli/{workflow-SSMFO7YE.js → workflow-BLKPBRBT.js} +17 -17
- package/dist/cli/{workflow-7JUJWA5S.mjs → workflow-O2XPMOVL.mjs} +7 -7
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +120 -120
- package/dist/plays/bundle-play-file.mjs +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.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-25MVD7TK.js +0 -44
- package/dist/cli/concurrent-runs-help-DEN63DUM.js +0 -22
- package/dist/cli/describe-YHZ2EGBQ.js +0 -50
- package/dist/cli/git-SQ2MAKAH.js +0 -26
- package/dist/cli/search-V7ANBX3J.js +0 -32
- package/dist/cli/sessions-EO6RTMUC.js +0 -23
- package/dist/cli/skills-ID6KKDLH.js +0 -37
- package/dist/cli/tools-7UY7GERW.js +0 -57
- package/dist/cli/update-T2RDLLSY.js +0 -37
- /package/dist/cli/{chunk-YGCKMI5P.js → chunk-2M3VVGMZ.js} +0 -0
- /package/dist/cli/{chunk-7I4B6V2S.mjs → chunk-VMGJIFSB.mjs} +0 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _chunkCSPHSNBWjs = require('./chunk-CSPHSNBW.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkEGH4JNJPjs = require('./chunk-EGH4JNJP.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkMJTVX4QKjs = require('./chunk-MJTVX4QK.js');
|
|
@@ -11,7 +11,7 @@ var _chunkMJTVX4QKjs = require('./chunk-MJTVX4QK.js');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkVA35T3AFjs = require('./chunk-VA35T3AF.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
|
|
@@ -581,7 +581,7 @@ function parseInputFlagValue(raw) {
|
|
|
581
581
|
return raw;
|
|
582
582
|
}
|
|
583
583
|
function parsePlayRunOptions(args, initialInput = null) {
|
|
584
|
-
const selection =
|
|
584
|
+
const selection = _chunkVA35T3AFjs.parseJsonFields.call(void 0, args, "run");
|
|
585
585
|
args = selection.args;
|
|
586
586
|
const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--json] [--full] [--<input> value]\n Runs use the Absurd CJS runtime.\n --header '<name>: <value>' may repeat; each is sent on every request for this run.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and deepline.dataset guidance.";
|
|
587
587
|
let filePath = null;
|
|
@@ -593,7 +593,7 @@ function parsePlayRunOptions(args, initialInput = null) {
|
|
|
593
593
|
let revisionSelector = null;
|
|
594
594
|
const watch = !args.includes("--no-wait");
|
|
595
595
|
const dryRun = args.includes("--dry-run");
|
|
596
|
-
let jsonOutput = dryRun ?
|
|
596
|
+
let jsonOutput = dryRun ? _chunkVA35T3AFjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkVA35T3AFjs.argsWantJson.call(void 0, args);
|
|
597
597
|
const fullJson = args.includes("--full");
|
|
598
598
|
const force = args.includes("--force") || args.includes("--from-start");
|
|
599
599
|
const forceToolRefresh = args.includes("--force-tool-refresh") || args.includes("--refresh-cache");
|
|
@@ -657,7 +657,7 @@ function parsePlayRunOptions(args, initialInput = null) {
|
|
|
657
657
|
"--log-level requires one of: debug, info, warn, error."
|
|
658
658
|
);
|
|
659
659
|
}
|
|
660
|
-
const parsed =
|
|
660
|
+
const parsed = _chunkEGH4JNJPjs.parseLogLevel.call(void 0, value);
|
|
661
661
|
if (!parsed) {
|
|
662
662
|
throw new Error(
|
|
663
663
|
`Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
|
|
@@ -990,7 +990,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
|
|
|
990
990
|
const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
|
|
991
991
|
(arg) => arg === "--log-level" || arg.startsWith("--log-level=")
|
|
992
992
|
);
|
|
993
|
-
let logLevel = options.logLevel === void 0 ? base.logLevel :
|
|
993
|
+
let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkEGH4JNJPjs.parseLogLevel.call(void 0, options.logLevel);
|
|
994
994
|
if (!logLevel)
|
|
995
995
|
throw new Error("--log-level requires one of: debug, info, warn, error.");
|
|
996
996
|
const debugAlias = options.logs || options.debug === true || inputArgs.some(
|
|
@@ -1004,13 +1004,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
|
|
|
1004
1004
|
if (debugAlias || debugMapLatency && logLevel === "info")
|
|
1005
1005
|
logLevel = "debug";
|
|
1006
1006
|
const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
|
|
1007
|
-
const jsonFields = options.json === void 0 ? base.jsonFields :
|
|
1008
|
-
[...fullJson ? ["--full"] : [], ...
|
|
1007
|
+
const jsonFields = options.json === void 0 ? base.jsonFields : _chunkVA35T3AFjs.parseJsonFields.call(void 0,
|
|
1008
|
+
[...fullJson ? ["--full"] : [], ..._chunkVA35T3AFjs.jsonFieldArgs.call(void 0, options.json)],
|
|
1009
1009
|
"run"
|
|
1010
1010
|
).fields;
|
|
1011
1011
|
const watch = options.wait === false ? false : base.watch;
|
|
1012
1012
|
const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
|
|
1013
|
-
const jsonOutput = dryRun || !watch ? explicitJson ||
|
|
1013
|
+
const jsonOutput = dryRun || !watch ? explicitJson || _chunkVA35T3AFjs.argsWantJson.call(void 0, []) : explicitJson;
|
|
1014
1014
|
const verboseLogs = Boolean(
|
|
1015
1015
|
debugAlias || logLevel === "debug" || debugMapLatency
|
|
1016
1016
|
);
|
|
@@ -1,10 +1,10 @@
|
|
|
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 _chunkEGH4JNJPjs = require('./chunk-EGH4JNJP.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk5436ZJPHjs = require('./chunk-5436ZJPH.js');
|
|
8
8
|
|
|
9
9
|
// src/plays/local-play-execution.ts
|
|
10
10
|
function importedNodes(graph) {
|
|
@@ -137,9 +137,9 @@ async function pinLocalPlayImports(client, graph) {
|
|
|
137
137
|
|
|
138
138
|
// src/plays/client.ts
|
|
139
139
|
function createPlayClient(options) {
|
|
140
|
-
const config =
|
|
141
|
-
return new (0,
|
|
142
|
-
new (0,
|
|
140
|
+
const config = _chunk5436ZJPHjs.resolveConfig.call(void 0, options);
|
|
141
|
+
return new (0, _chunkEGH4JNJPjs.PlayClient)(
|
|
142
|
+
new (0, _chunk5436ZJPHjs.HttpClient)(config),
|
|
143
143
|
_nullishCoalesce(config.environment, () => ( process.env))
|
|
144
144
|
);
|
|
145
145
|
}
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-MF7PCM6C.mjs";
|
|
4
4
|
import {
|
|
5
5
|
parseLogLevel
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DSHIB2XQ.mjs";
|
|
7
7
|
import {
|
|
8
8
|
setDottedInputValue
|
|
9
9
|
} from "./chunk-5TYLSS4Q.mjs";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
argsWantJson,
|
|
12
12
|
jsonFieldArgs,
|
|
13
13
|
parseJsonFields
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NVHICORD.mjs";
|
|
15
15
|
import {
|
|
16
16
|
DeeplineError
|
|
17
17
|
} from "./chunk-Z3A2S3QM.mjs";
|
|
@@ -1,15 +1,15 @@
|
|
|
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 _chunkCYZSHD66js = require('./chunk-CYZSHD66.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkVA35T3AFjs = require('./chunk-VA35T3AF.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkZH23XGJOjs = require('./chunk-ZH23XGJO.js');
|
|
13
13
|
|
|
14
14
|
// src/cli/commands/sessions.ts
|
|
15
15
|
|
|
@@ -55,7 +55,7 @@ function codexSessionsRoot() {
|
|
|
55
55
|
}
|
|
56
56
|
function listClaudeSessionFiles() {
|
|
57
57
|
const files = [];
|
|
58
|
-
for (const root of
|
|
58
|
+
for (const root of _chunkZH23XGJOjs.claudeProjectsRoots.call(void 0, )) {
|
|
59
59
|
files.push(...listClaudeSessionFilesIn(root));
|
|
60
60
|
}
|
|
61
61
|
return files;
|
|
@@ -147,7 +147,7 @@ function currentSessionFile(agent) {
|
|
|
147
147
|
const newestFirst = listSessionFiles(agent).sort(
|
|
148
148
|
(a, b) => b.mtimeMs - a.mtimeMs
|
|
149
149
|
);
|
|
150
|
-
const sessionId =
|
|
150
|
+
const sessionId = _chunkZH23XGJOjs.agentSessionIdFromEnvironment.call(void 0,
|
|
151
151
|
process.env,
|
|
152
152
|
agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
|
|
153
153
|
);
|
|
@@ -156,7 +156,7 @@ function currentSessionFile(agent) {
|
|
|
156
156
|
(candidate) => candidate.sessionId === sessionId
|
|
157
157
|
);
|
|
158
158
|
if (named) return named;
|
|
159
|
-
const cowork = agent === "codex" ? null :
|
|
159
|
+
const cowork = agent === "codex" ? null : _chunkZH23XGJOjs.coworkTranscriptFromEnvironment.call(void 0, );
|
|
160
160
|
const coworkStat = cowork ? statIfReadable(cowork.filePath) : null;
|
|
161
161
|
if (cowork && coworkStat) {
|
|
162
162
|
return { agent: "claude", ...cowork, mtimeMs: coworkStat.mtimeMs };
|
|
@@ -166,7 +166,7 @@ function currentSessionFile(agent) {
|
|
|
166
166
|
), () => ( newestFirst[0])), () => ( null));
|
|
167
167
|
}
|
|
168
168
|
function feedbackAgentSessionId(agentRuntime) {
|
|
169
|
-
return _nullishCoalesce(
|
|
169
|
+
return _nullishCoalesce(_chunkZH23XGJOjs.agentSessionIdFromEnvironment.call(void 0, process.env, agentRuntime), () => ( (agentRuntime === "claude_cowork" || agentRuntime === "claude_code" ? _nullishCoalesce(_optionalChain([_chunkZH23XGJOjs.coworkTranscriptFromEnvironment.call(void 0, ), 'optionalAccess', _17 => _17.sessionId]), () => ( null)) : null)));
|
|
170
170
|
}
|
|
171
171
|
function sessionStartedInDirectory(candidate, cwd) {
|
|
172
172
|
if (candidate.agent === "claude") {
|
|
@@ -215,7 +215,7 @@ function readCodexSessionId(filePath) {
|
|
|
215
215
|
return null;
|
|
216
216
|
}
|
|
217
217
|
function sessionSearchDescription(agent) {
|
|
218
|
-
const claude =
|
|
218
|
+
const claude = _chunkZH23XGJOjs.claudeProjectsRoots.call(void 0, ).map((root) => _path.join.call(void 0, root, "*", "<session-id>.jsonl")).join(", ");
|
|
219
219
|
if (agent === "claude") return claude;
|
|
220
220
|
if (agent === "codex") return "~/.codex/sessions/**/*.jsonl";
|
|
221
221
|
return `${claude} or ~/.codex/sessions/**/*.jsonl`;
|
|
@@ -472,7 +472,7 @@ function buildSessionUploadContent(raw) {
|
|
|
472
472
|
return { encodedContent: encoded, needsChunking: true };
|
|
473
473
|
}
|
|
474
474
|
async function uploadPayload(path, payload) {
|
|
475
|
-
const { http } =
|
|
475
|
+
const { http } = _chunkVA35T3AFjs.getAuthedHttpClient.call(void 0, );
|
|
476
476
|
return await http.post(path, payload);
|
|
477
477
|
}
|
|
478
478
|
async function uploadChunkedSessions(sessions, options) {
|
|
@@ -550,7 +550,7 @@ async function uploadAgentSession(agentRuntime) {
|
|
|
550
550
|
return target.sessionId;
|
|
551
551
|
}
|
|
552
552
|
async function handleSessionsSend(options) {
|
|
553
|
-
if (
|
|
553
|
+
if (_chunkCYZSHD66js.rejectRestrictedFeedback.call(void 0, options)) return;
|
|
554
554
|
const rating = parseSessionRating(options.rating);
|
|
555
555
|
if (options.file) {
|
|
556
556
|
const filePath = _path.resolve.call(void 0, options.file);
|
|
@@ -562,7 +562,7 @@ async function handleSessionsSend(options) {
|
|
|
562
562
|
filename: _path.basename.call(void 0, filePath),
|
|
563
563
|
...rating ? { rating } : {}
|
|
564
564
|
});
|
|
565
|
-
|
|
565
|
+
_chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
|
|
566
566
|
{
|
|
567
567
|
...response2,
|
|
568
568
|
ok: true,
|
|
@@ -594,7 +594,7 @@ async function handleSessionsSend(options) {
|
|
|
594
594
|
labeled: Boolean(_optionalChain([options, 'access', _27 => _27.label, 'optionalAccess', _28 => _28.length]))
|
|
595
595
|
});
|
|
596
596
|
const sessionIds = built.map((session) => session.sessionId);
|
|
597
|
-
|
|
597
|
+
_chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
|
|
598
598
|
{
|
|
599
599
|
...response,
|
|
600
600
|
ok: true,
|
|
@@ -702,7 +702,7 @@ ${refreshMeta}
|
|
|
702
702
|
</body>
|
|
703
703
|
</html>`;
|
|
704
704
|
_fs.writeFileSync.call(void 0, outputPath, html, "utf8");
|
|
705
|
-
|
|
705
|
+
_chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
|
|
706
706
|
{
|
|
707
707
|
ok: true,
|
|
708
708
|
file: outputPath,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PlayClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DSHIB2XQ.mjs";
|
|
4
4
|
import {
|
|
5
5
|
HttpClient,
|
|
6
6
|
resolveConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ROUNT4NX.mjs";
|
|
8
8
|
|
|
9
9
|
// src/plays/local-play-execution.ts
|
|
10
10
|
function importedNodes(graph) {
|
|
@@ -10,7 +10,7 @@ var _chunkMOZDEYQCjs = require('./chunk-MOZDEYQC.js');
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkVA35T3AFjs = require('./chunk-VA35T3AF.js');
|
|
14
14
|
|
|
15
15
|
// src/cli/describe-options.ts
|
|
16
16
|
function addDescribeOptions(command, options = {}) {
|
|
@@ -251,7 +251,7 @@ function projectRunDatasetCell(value) {
|
|
|
251
251
|
const logicalValue = parseSerializedDatasetValue(value);
|
|
252
252
|
if (logicalValue === null || logicalValue === void 0) return logicalValue;
|
|
253
253
|
if (typeof logicalValue === "object") {
|
|
254
|
-
return
|
|
254
|
+
return _chunkVA35T3AFjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
|
|
255
255
|
}
|
|
256
256
|
return logicalValue;
|
|
257
257
|
}
|
|
@@ -643,7 +643,7 @@ function csvText(rows, columns = []) {
|
|
|
643
643
|
rows: rows.map((row) => record(row) ? row : { value: row }),
|
|
644
644
|
columns
|
|
645
645
|
});
|
|
646
|
-
return
|
|
646
|
+
return _chunkVA35T3AFjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
|
|
647
647
|
}
|
|
648
648
|
function writeExecutionOutput(result, options, { skipReceiptFile = false } = {}) {
|
|
649
649
|
let temp;
|
|
@@ -772,7 +772,7 @@ function writeExecutionOutput(result, options, { skipReceiptFile = false } = {})
|
|
|
772
772
|
};
|
|
773
773
|
if (options.receiptOut && !skipReceiptFile) {
|
|
774
774
|
persist(options.receiptOut, jsonText(receipt));
|
|
775
|
-
|
|
775
|
+
_chunkVA35T3AFjs.markJsonOutputHandled.call(void 0, );
|
|
776
776
|
} else {
|
|
777
777
|
printReceipt(receipt, options, {
|
|
778
778
|
data: hasData ? result.data : void 0,
|
|
@@ -944,7 +944,7 @@ function receiptText(receipt, options, extra) {
|
|
|
944
944
|
problems.push(
|
|
945
945
|
`Error: ${record(error) && typeof error.message === "string" ? error.message : JSON.stringify(error)}`
|
|
946
946
|
);
|
|
947
|
-
const diagnostic =
|
|
947
|
+
const diagnostic = _chunkVA35T3AFjs.formatCliFailureDiagnostic.call(void 0, error);
|
|
948
948
|
if (diagnostic) problems.push(...diagnostic.split("\n"));
|
|
949
949
|
if (record(error) && typeof error.recoveryFile === "string") {
|
|
950
950
|
problems.push(
|
|
@@ -1037,8 +1037,8 @@ function printReceipt(receipt, options, extra) {
|
|
|
1037
1037
|
const text = options.receiptJson ? `${JSON.stringify(receipt, null, 2)}
|
|
1038
1038
|
` : receiptText(receipt, options, extra);
|
|
1039
1039
|
if (options.receiptOut !== void 0) {
|
|
1040
|
-
|
|
1041
|
-
|
|
1040
|
+
_chunkVA35T3AFjs.writeRawStderr.call(void 0, text);
|
|
1041
|
+
_chunkVA35T3AFjs.markJsonOutputHandled.call(void 0, );
|
|
1042
1042
|
} else {
|
|
1043
1043
|
(dataOnStdout(options) ? process.stderr : process.stdout).write(text);
|
|
1044
1044
|
}
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-HECXJBED.mjs";
|
|
4
4
|
import {
|
|
5
5
|
PLAY_SANDBOX_COMPUTE_RATE_MULTIPLIERS
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7MMEW2WU.mjs";
|
|
7
7
|
|
|
8
8
|
// src/cli/command-docs.ts
|
|
9
9
|
var PLAY_RUNTIME_PRICING_NOTE = `With included compute pricing, large (4gb) costs ${PLAY_SANDBOX_COMPUTE_RATE_MULTIPLIERS.large}\xD7 and xlarge (8gb) costs ${PLAY_SANDBOX_COMPUTE_RATE_MULTIPLIERS.xlarge}\xD7 the standard (1gb) hourly rate. Included compute applies proportionally.`;
|
|
@@ -4372,6 +4372,26 @@ Outcomes (needs the outcomes rollout):
|
|
|
4372
4372
|
[[org service-accounts set-role <service-account-id> member]] (the id is in
|
|
4373
4373
|
[[org service-accounts list]]). Until then attaching says so and changes
|
|
4374
4374
|
nothing on the outcome.
|
|
4375
|
+
A channel made an outcome's home (with --outcome, or the card in Slack)
|
|
4376
|
+
and its outcome's feed are copied into each other; a home channel
|
|
4377
|
+
connected before this copies nothing until turned on with
|
|
4378
|
+
[[agents channels set C0123456789 --sync on]]. What
|
|
4379
|
+
members of your Slack workspace post there (top-level or in a thread)
|
|
4380
|
+
goes on the feed under their linked Deepline name, or their Slack name
|
|
4381
|
+
marked "(Slack)"; guests, people from other organizations and bots are
|
|
4382
|
+
not copied. Entries, tasks and asks posted on the outcome anywhere else
|
|
4383
|
+
(Deepline, the CLI, other agents) are posted in the channel under their
|
|
4384
|
+
author's name, in the matching thread; the agent's own posts and system
|
|
4385
|
+
entries are not. Everyone who can read the outcome reads what is said in
|
|
4386
|
+
its home channel, private channels included. A message copied to the feed
|
|
4387
|
+
does not wake the agent; mention it to ask it something. Edits and
|
|
4388
|
+
deletions are not copied. Turn it off for one channel with
|
|
4389
|
+
[[agents channels set C0123456789 --sync off]] (--sync on turns it back
|
|
4390
|
+
on). Guests in the channel read everything copied there from the
|
|
4391
|
+
outcome, as they read the channel. A message from someone who is not a
|
|
4392
|
+
linked Deepline member with member access is copied marked "(Slack)"
|
|
4393
|
+
and reaches no agent: it is top-level, and its @handles mention nobody. A paused outcome still syncs. Sync needs Deepline's app to be
|
|
4394
|
+
reachable, so a local stack without a public address copies nothing.
|
|
4375
4395
|
A paused outcome still wakes its agent when something reaches it; the
|
|
4376
4396
|
agent is told the outcome is paused and decides what is worth doing.
|
|
4377
4397
|
Every outcome has an agent by default. While agents are on, an outcome
|
|
@@ -1,9 +1,9 @@
|
|
|
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 _chunk3EOET5UBjs = require('./chunk-3EOET5UB.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkJUZIMW4Sjs = require('./chunk-JUZIMW4S.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -14,17 +14,17 @@ var _chunkS2YKIWCDjs = require('./chunk-S2YKIWCD.js');
|
|
|
14
14
|
var _chunkMOZDEYQCjs = require('./chunk-MOZDEYQC.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkMRSYC74Tjs = require('./chunk-MRSYC74T.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkVA35T3AFjs = require('./chunk-VA35T3AF.js');
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunk5436ZJPHjs = require('./chunk-5436ZJPH.js');
|
|
28
28
|
|
|
29
29
|
// src/cli/commands/describe.ts
|
|
30
30
|
var _fs = require('fs');
|
|
@@ -33,14 +33,14 @@ var _path = require('path');
|
|
|
33
33
|
// src/cli/doc-read-reporting.ts
|
|
34
34
|
var REPORT_TIMEOUT_MS = 1e3;
|
|
35
35
|
async function reportDocRead(docId) {
|
|
36
|
-
if (
|
|
36
|
+
if (_chunkVA35T3AFjs.isFailureReportingDisabled.call(void 0, )) return;
|
|
37
37
|
try {
|
|
38
|
-
const baseUrl =
|
|
39
|
-
const apiKey =
|
|
38
|
+
const baseUrl = _chunk5436ZJPHjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
39
|
+
const apiKey = _chunk5436ZJPHjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
|
|
40
40
|
if (!apiKey) return;
|
|
41
41
|
await fetch(new URL("/api/v2/telemetry/doc-read", baseUrl), {
|
|
42
42
|
method: "POST",
|
|
43
|
-
headers:
|
|
43
|
+
headers: _chunkVA35T3AFjs.failureReportHeaders.call(void 0, apiKey),
|
|
44
44
|
body: JSON.stringify({ doc_id: docId }),
|
|
45
45
|
signal: AbortSignal.timeout(REPORT_TIMEOUT_MS)
|
|
46
46
|
});
|
|
@@ -53,22 +53,22 @@ function nothingNamed(name) {
|
|
|
53
53
|
return `Nothing named "${name}". Search for it: deepline search ${JSON.stringify(name.replace(/[-_./]+/g, " "))}`;
|
|
54
54
|
}
|
|
55
55
|
function findNamed2(name, options) {
|
|
56
|
-
return _chunkS2YKIWCDjs.findNamed.call(void 0, name, options, cliDescribeLookups(new (0,
|
|
56
|
+
return _chunkS2YKIWCDjs.findNamed.call(void 0, name, options, cliDescribeLookups(new (0, _chunkMRSYC74Tjs.DeeplineClient)()));
|
|
57
57
|
}
|
|
58
58
|
function cliDescribeLookups(client) {
|
|
59
59
|
return {
|
|
60
60
|
..._chunkS2YKIWCDjs.describeLookupsFor.call(void 0, client),
|
|
61
|
-
dashboardOrgId:
|
|
61
|
+
dashboardOrgId: _chunk5436ZJPHjs.resolveCliDashboardOrgId.call(void 0, client.baseUrl)
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
64
|
async function describeAnything(name, options, onMissing) {
|
|
65
|
-
const client = new (0,
|
|
65
|
+
const client = new (0, _chunkMRSYC74Tjs.DeeplineClient)();
|
|
66
66
|
const lookups = cliDescribeLookups(client);
|
|
67
67
|
const outcome = await _chunkS2YKIWCDjs.describeName.call(void 0, name, options, {
|
|
68
68
|
...lookups,
|
|
69
69
|
// `tools describe` has already fetched the tool for its compatibility check.
|
|
70
70
|
tool: async (toolName) => _nullishCoalesce(options.fetchedTool, () => ( lookups.tool(toolName))),
|
|
71
|
-
seedStarterScript:
|
|
71
|
+
seedStarterScript: _chunk3EOET5UBjs.seedToolListScript
|
|
72
72
|
});
|
|
73
73
|
if (outcome.status === "missing") {
|
|
74
74
|
if (onMissing) return onMissing();
|
|
@@ -97,18 +97,18 @@ function deliver(envelope, lines, { json, out }) {
|
|
|
97
97
|
` : text;
|
|
98
98
|
_fs.writeFileSync.call(void 0, path, content);
|
|
99
99
|
const bytes = Buffer.byteLength(content);
|
|
100
|
-
|
|
100
|
+
_chunkVA35T3AFjs.printCommandEnvelope.call(void 0,
|
|
101
101
|
{ path, bytes },
|
|
102
102
|
{ json, text: `Wrote ${path} (${bytes} bytes)
|
|
103
103
|
` }
|
|
104
104
|
);
|
|
105
105
|
return 0;
|
|
106
106
|
}
|
|
107
|
-
|
|
107
|
+
_chunkVA35T3AFjs.printCommandEnvelope.call(void 0, envelope, { json, text });
|
|
108
108
|
return 0;
|
|
109
109
|
}
|
|
110
110
|
function registerDescribeCommand(program) {
|
|
111
|
-
|
|
111
|
+
_chunkJUZIMW4Sjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
|
|
112
112
|
"Describe anything search returns: a tool, monitor type, or play."
|
|
113
113
|
).addHelpText(
|
|
114
114
|
"after",
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
argsWantJson,
|
|
3
3
|
openInBrowser,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NVHICORD.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-ROUNT4NX.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-LDMCTV2Z.mjs";
|
|
33
33
|
import {
|
|
34
34
|
DeeplineError
|
|
35
35
|
} from "./chunk-Z3A2S3QM.mjs";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunkEGH4JNJPjs = require('./chunk-EGH4JNJP.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk5436ZJPHjs = require('./chunk-5436ZJPH.js');
|
|
8
8
|
|
|
9
9
|
// src/client.ts
|
|
10
|
-
var DeeplineClient2 = class extends
|
|
10
|
+
var DeeplineClient2 = class extends _chunkEGH4JNJPjs.DeeplineClient {
|
|
11
11
|
constructor(options) {
|
|
12
|
-
const config =
|
|
13
|
-
super(config, new (0,
|
|
12
|
+
const config = _chunk5436ZJPHjs.resolveConfig.call(void 0, options);
|
|
13
|
+
super(config, new (0, _chunk5436ZJPHjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
16
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunkYPP436NMjs = require('./chunk-YPP436NM.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkTJCENACZjs = require('./chunk-TJCENACZ.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunk5436ZJPHjs = require('./chunk-5436ZJPH.js');
|
|
11
11
|
|
|
12
12
|
// src/cli/concurrent-runs-help.ts
|
|
13
13
|
var CONCURRENT_RUNS_HELP_COMMANDS = /* @__PURE__ */ new Set([
|
|
@@ -24,11 +24,11 @@ function concurrentRunsLine(payload) {
|
|
|
24
24
|
return plans ? `${here} Plan limits: ${plans}.` : here;
|
|
25
25
|
}
|
|
26
26
|
async function concurrentRunsHelpStatus(timeoutMs = 2e3) {
|
|
27
|
-
const baseUrl =
|
|
28
|
-
const apiKey =
|
|
27
|
+
const baseUrl = _chunk5436ZJPHjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
28
|
+
const apiKey = _chunk5436ZJPHjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
|
|
29
29
|
if (!apiKey) return "";
|
|
30
30
|
try {
|
|
31
|
-
const { status, data } = await
|
|
31
|
+
const { status, data } = await _chunkYPP436NMjs.httpJson.call(void 0,
|
|
32
32
|
"GET",
|
|
33
33
|
`${baseUrl}/api/v2/billing/entitlements`,
|
|
34
34
|
apiKey,
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
resolveApiKeyForBaseUrl,
|
|
5
5
|
resolveCliCommandContext,
|
|
6
6
|
resolveConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ROUNT4NX.mjs";
|
|
8
8
|
import {
|
|
9
9
|
SDK_VERSION,
|
|
10
10
|
agentSessionIdFromEnvironment,
|
|
11
11
|
deploymentProtectionHeaders,
|
|
12
12
|
detectAgentRuntime,
|
|
13
13
|
readToolFailureHint
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-LDMCTV2Z.mjs";
|
|
15
15
|
import {
|
|
16
16
|
DeeplineError,
|
|
17
17
|
normalizeToolExecutionFailure,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-U2QQQNWW.mjs";
|
|
4
4
|
import {
|
|
5
5
|
printCommandEnvelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NVHICORD.mjs";
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ROUNT4NX.mjs";
|
|
10
10
|
|
|
11
11
|
// src/cli/commands/integration-commands.ts
|
|
12
12
|
import { Option } from "commander";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
npmSupportsAllowScripts,
|
|
3
3
|
readNpmVersion
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XYQMOXP4.mjs";
|
|
5
5
|
import {
|
|
6
6
|
runSkillsCommand
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ABJZQHON.mjs";
|
|
8
8
|
import {
|
|
9
9
|
resolveShellSpawn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4ZAWRCB6.mjs";
|
|
11
11
|
import {
|
|
12
12
|
printCommandEnvelope
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-NVHICORD.mjs";
|
|
14
14
|
import {
|
|
15
15
|
DEFAULT_MAX_RETRIES,
|
|
16
16
|
DEFAULT_TIMEOUT,
|
|
17
17
|
TRANSIENT_HTTP_STATUSES,
|
|
18
18
|
autoDetectBaseUrl,
|
|
19
19
|
defaultRetryBackoffMs
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ROUNT4NX.mjs";
|
|
21
21
|
|
|
22
22
|
// src/cli/commands/update.ts
|
|
23
23
|
import { spawn, spawnSync } from "child_process";
|