deepline 0.3.581 → 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/cli/{agents-UDTRMWPA.js → agents-2L73CJHH.js} +31 -31
- package/dist/cli/{agents-VDQSVDSM.mjs → agents-UAXDG4FS.mjs} +4 -4
- package/dist/cli/{auth-SRN5FXUQ.mjs → auth-3B2QB4UH.mjs} +5 -5
- package/dist/cli/auth-ALBG5LF4.js +44 -0
- package/dist/cli/{billing-PR2SIEJM.mjs → billing-CPBRWG3M.mjs} +8 -8
- package/dist/cli/{billing-HGHIOFSA.js → billing-E7FO622G.js} +102 -102
- package/dist/cli/{chunk-3FMGBMT3.mjs → chunk-2K6EIL2D.mjs} +1 -1
- package/dist/cli/{chunk-VNW454PP.mjs → chunk-3DVWSTAI.mjs} +1 -1
- package/dist/cli/{chunk-BQL34VOQ.js → chunk-3EOET5UB.js} +100 -100
- package/dist/cli/{chunk-IT3F7P6O.js → chunk-3HIJNXRB.js} +10 -10
- package/dist/cli/{chunk-46EBSUZF.mjs → chunk-4TTEAUZV.mjs} +3 -3
- package/dist/cli/{chunk-N5VJVVVV.mjs → chunk-4ZAWRCB6.mjs} +5 -5
- package/dist/cli/{chunk-2RLMHWXW.js → chunk-5436ZJPH.js} +3 -3
- package/dist/cli/{chunk-WCNJSZHC.mjs → chunk-6NEMTKTA.mjs} +5 -5
- package/dist/cli/{chunk-VTPMBOHZ.mjs → chunk-7QX5PCHP.mjs} +2 -2
- package/dist/cli/{chunk-P5ZZY4RM.mjs → chunk-ABJZQHON.mjs} +4 -4
- package/dist/cli/{chunk-E2EGQNOS.js → chunk-CPZL6Z7D.js} +2 -2
- package/dist/cli/{chunk-JQK42HZQ.js → chunk-CYZSHD66.js} +2 -2
- package/dist/cli/{chunk-ALXIC5U5.mjs → chunk-D7J33HTK.mjs} +5 -5
- package/dist/cli/{chunk-O5FIWG2O.js → chunk-DI5MULNX.js} +26 -26
- package/dist/cli/{chunk-LJZESBNY.js → chunk-DPLYQITT.js} +2 -2
- package/dist/cli/{chunk-3I6GA5QW.mjs → chunk-DSHIB2XQ.mjs} +1 -1
- package/dist/cli/{chunk-INRXX4SX.js → chunk-EB2YLLZJ.js} +41 -41
- package/dist/cli/{chunk-5XVDZVCR.js → chunk-EGH4JNJP.js} +8 -8
- package/dist/cli/{chunk-FXSDDEAR.js → chunk-FBSPHBAF.js} +1 -1
- package/dist/cli/{chunk-OVJWDFIL.mjs → chunk-FWB3QR7W.mjs} +1 -1
- package/dist/cli/{chunk-INXRW5AF.mjs → chunk-G5YU6RJ4.mjs} +2 -2
- package/dist/cli/{chunk-VJR4CKYJ.js → chunk-GZBXN56A.js} +23 -23
- package/dist/cli/{chunk-ZAKNDIK7.js → chunk-H3KVMALU.js} +9 -9
- package/dist/cli/{chunk-6U3THMRI.js → chunk-HP6A3JCX.js} +5 -5
- package/dist/cli/{chunk-DZMQV5FL.mjs → chunk-I5J6HGVR.mjs} +2 -2
- package/dist/cli/{chunk-CN4MXBZ3.js → chunk-ISN4F6AY.js} +13 -13
- package/dist/cli/{chunk-EHTD65FE.mjs → chunk-JD7P73ZW.mjs} +1 -1
- package/dist/cli/{chunk-CDIMI54H.mjs → chunk-JF4DUC2F.mjs} +2 -2
- package/dist/cli/{chunk-J6ITN2X6.js → chunk-JUZIMW4S.js} +7 -7
- package/dist/cli/{chunk-E5ITZIWK.js → chunk-KQEW3EAU.js} +16 -16
- package/dist/cli/{chunk-2MIJMDGF.mjs → chunk-LDMCTV2Z.mjs} +1 -1
- package/dist/cli/{chunk-WVFDPC4K.mjs → chunk-LHA45DNY.mjs} +3 -3
- package/dist/cli/{chunk-3LP7J63L.js → chunk-MRSYC74T.js} +5 -5
- package/dist/cli/{chunk-PLGJG5FX.js → chunk-NJGXYYHN.js} +5 -5
- package/dist/cli/{chunk-ULU4MEXN.mjs → chunk-NVHICORD.mjs} +2 -2
- package/dist/cli/{chunk-WS5ZX4RB.mjs → chunk-NZR5PBNP.mjs} +3 -3
- package/dist/cli/{chunk-RA3BWUTD.mjs → chunk-OUFOJTEJ.mjs} +5 -5
- package/dist/cli/{chunk-SZ76UE7C.mjs → chunk-PNQVB4UD.mjs} +11 -11
- package/dist/cli/{chunk-MSCYYFLY.js → chunk-POYADK77.js} +20 -20
- package/dist/cli/{chunk-E5O4CMHZ.mjs → chunk-RNZXMOA6.mjs} +2 -2
- package/dist/cli/{chunk-Z3MJX3PP.mjs → chunk-ROUNT4NX.mjs} +1 -1
- package/dist/cli/{chunk-A4IOPFEJ.js → chunk-SKKRESFB.js} +3 -3
- package/dist/cli/{chunk-ZTKLJADJ.mjs → chunk-SYWLWTWM.mjs} +4 -4
- package/dist/cli/{chunk-BDNQDWGI.mjs → chunk-U2QQQNWW.mjs} +2 -2
- package/dist/cli/{chunk-7VOSQARZ.js → chunk-V54YQHPV.js} +6 -6
- package/dist/cli/{chunk-VWPM4OIC.js → chunk-VA35T3AF.js} +20 -20
- package/dist/cli/{chunk-YTPXKG4C.mjs → chunk-XYQMOXP4.mjs} +1 -1
- package/dist/cli/{chunk-CNRPE3AE.js → chunk-YPP436NM.js} +53 -53
- package/dist/cli/{chunk-KO6OLYSD.js → chunk-Z3IAEHID.js} +48 -48
- package/dist/cli/{chunk-VVENTTSA.mjs → chunk-ZARGHLZZ.mjs} +1 -1
- package/dist/cli/{chunk-SNYH4QY2.js → chunk-ZH23XGJO.js} +4 -4
- package/dist/cli/{chunk-BULUFFST.js → chunk-ZL3O7F5J.js} +15 -15
- package/dist/cli/concurrent-runs-help-E3YMAO5Q.js +22 -0
- package/dist/cli/{concurrent-runs-help-Z27MIIH3.mjs → concurrent-runs-help-UFNYQYU2.mjs} +6 -6
- package/dist/cli/{csv-4YFTMVWQ.mjs → csv-QSDRGLQH.mjs} +4 -4
- package/dist/cli/{csv-4TP36F5O.js → csv-ZI5LYFHF.js} +13 -13
- package/dist/cli/{db-U5KR6SYI.mjs → db-WVWXNNMO.mjs} +6 -6
- package/dist/cli/{db-L5EGGO72.js → db-ZDL6Q53U.js} +27 -27
- package/dist/cli/describe-QB5T47B3.js +50 -0
- package/dist/cli/{describe-LZXXSQ26.mjs → describe-UUQBKUVL.mjs} +18 -18
- package/dist/cli/{executions-ZWEC5DDR.mjs → executions-QN3OYJKT.mjs} +6 -6
- package/dist/cli/{executions-VZKRFDGM.js → executions-SCGHTWTC.js} +8 -8
- package/dist/cli/{feedback-BTJIJCQF.js → feedback-6QQ7ONLW.js} +14 -14
- package/dist/cli/{feedback-HXQTHXEZ.mjs → feedback-7QPHLXGU.mjs} +6 -6
- package/dist/cli/git-4FXTWHXT.js +26 -0
- package/dist/cli/{git-P6A45MMT.mjs → git-HFPJX573.mjs} +5 -5
- package/dist/cli/index.js +144 -144
- package/dist/cli/index.mjs +46 -46
- package/dist/cli/{integrations-4POM2CJ3.mjs → integrations-4SZ5O24P.mjs} +7 -7
- package/dist/cli/{integrations-VSJQBRFS.js → integrations-ND2HULSH.js} +29 -29
- package/dist/cli/{legacy-noops-QOJGSGVO.js → legacy-noops-GQF6AYP5.js} +9 -9
- package/dist/cli/{legacy-noops-I65MIKH2.mjs → legacy-noops-WUP3TBR2.mjs} +6 -6
- package/dist/cli/{mcp-TGY6SRAC.mjs → mcp-3GUFYGCQ.mjs} +4 -4
- package/dist/cli/{mcp-WTKBSLSD.js → mcp-L3YYVEU6.js} +24 -24
- package/dist/cli/{monitors-TLWVEXW6.js → monitors-CVZZN5WG.js} +100 -100
- package/dist/cli/{monitors-E2ENT4RY.mjs → monitors-OFCVJSH5.mjs} +7 -7
- package/dist/cli/{org-J2LGW5ZR.mjs → org-3DTAYA52.mjs} +6 -6
- package/dist/cli/{org-PZPJJU7K.js → org-MQ5AUN7I.js} +121 -121
- package/dist/cli/{outcomes-TMJDASU5.mjs → outcomes-42W24EXG.mjs} +6 -6
- package/dist/cli/{outcomes-Z6ZNBJ3U.js → outcomes-MGDUYHUD.js} +14 -14
- package/dist/cli/{play-ZOOC57X4.js → play-IMAD7QTV.js} +336 -336
- package/dist/cli/{play-S3Z24HUS.mjs → play-PD45RNYZ.mjs} +19 -19
- package/dist/cli/{providers-ETD6YLFL.mjs → providers-DYKHG7NV.mjs} +6 -6
- package/dist/cli/{providers-O4Y2YBS7.js → providers-WONHPTRG.js} +9 -9
- package/dist/cli/{quickstart-QZX32Y5T.mjs → quickstart-5QPGHLEX.mjs} +4 -4
- package/dist/cli/{quickstart-NZALIRBP.js → quickstart-6AAFULGC.js} +6 -6
- package/dist/cli/{run-HCVBRE2P.mjs → run-4K6ZU7H7.mjs} +23 -23
- package/dist/cli/{run-5UXSWJ7N.js → run-WOW7QO3W.js} +44 -44
- package/dist/cli/{search-Z247K76U.mjs → search-CKVFWVXQ.mjs} +7 -7
- package/dist/cli/search-YZIJS7QU.js +32 -0
- package/dist/cli/{search-output-XFKEGUJA.js → search-output-B5QE7ZNK.js} +6 -6
- package/dist/cli/{search-output-XCJI3XRA.mjs → search-output-WWB25JWA.mjs} +4 -4
- package/dist/cli/{secrets-7JZXHLRU.mjs → secrets-SVZB6TSW.mjs} +6 -6
- package/dist/cli/{secrets-VUQLTUTM.js → secrets-WKIMR346.js} +15 -15
- package/dist/cli/{sessions-UNGJ342N.mjs → sessions-P3QENG6T.mjs} +6 -6
- package/dist/cli/sessions-VQPGPXMU.js +23 -0
- package/dist/cli/{settings-WG5YNHC5.js → settings-UIFRGJW3.js} +85 -85
- package/dist/cli/{settings-67TIT4MZ.mjs → settings-V5ABL6D2.mjs} +12 -12
- package/dist/cli/{setup-IYUNW5ZP.js → setup-A5MIJU3S.js} +49 -49
- package/dist/cli/{setup-KMAAJOZM.mjs → setup-E67NJTEF.mjs} +9 -9
- package/dist/cli/skills-GTBK33MV.js +37 -0
- package/dist/cli/{skills-UVS4DODN.mjs → skills-WLHOQ4DO.mjs} +7 -7
- package/dist/cli/{tools-B42JY4BX.mjs → tools-EG4KL3BB.mjs} +17 -17
- package/dist/cli/tools-GPAIPRPQ.js +57 -0
- package/dist/cli/{update-EBYZZ7BW.mjs → update-IPFBE6SA.mjs} +9 -9
- package/dist/cli/update-QLWS32WR.js +37 -0
- package/dist/cli/{views-QK3AFD2D.mjs → views-XDN6SEWY.mjs} +6 -6
- package/dist/cli/{views-DOUEKLEV.js → views-ZIBY2RVB.js} +21 -21
- package/dist/cli/{workflow-TAKT2T7A.js → workflow-BLKPBRBT.js} +17 -17
- package/dist/cli/{workflow-UBJPGRKF.mjs → workflow-O2XPMOVL.mjs} +7 -7
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +114 -114
- 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-UYQHRHYR.js +0 -44
- package/dist/cli/concurrent-runs-help-QWDTLZUX.js +0 -22
- package/dist/cli/describe-G3SUS76P.js +0 -50
- package/dist/cli/git-QU673DBV.js +0 -26
- package/dist/cli/search-T3SLR55O.js +0 -32
- package/dist/cli/sessions-GHW2H7N2.js +0 -23
- package/dist/cli/skills-JVLCEUBF.js +0 -37
- package/dist/cli/tools-ETA3BJNM.js +0 -57
- package/dist/cli/update-XZEBQCEY.js +0 -37
|
@@ -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
|
}
|
|
@@ -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";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
addDescribeOptions,
|
|
3
3
|
recordApiResponse,
|
|
4
4
|
writeExecutionOutput
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FWB3QR7W.mjs";
|
|
6
6
|
import {
|
|
7
7
|
registerIntegrationBalanceCommand,
|
|
8
8
|
registerIntegrationConnectCommand,
|
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
registerLegacyHubSpotMembersCommand,
|
|
12
12
|
registerLegacyWorkspaceConnectionCommand,
|
|
13
13
|
registerWorkspaceConnectionListCommand
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NZR5PBNP.mjs";
|
|
15
15
|
import {
|
|
16
16
|
recentSearchRef,
|
|
17
17
|
registerDeprecatedSearchCommand
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-SYWLWTWM.mjs";
|
|
19
19
|
import {
|
|
20
20
|
Capability,
|
|
21
21
|
arrayField,
|
|
@@ -57,29 +57,29 @@ import {
|
|
|
57
57
|
} from "./chunk-FIVKWNMT.mjs";
|
|
58
58
|
import {
|
|
59
59
|
DeeplineClient
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-U2QQQNWW.mjs";
|
|
61
61
|
import {
|
|
62
62
|
validateExecutionIdempotencyKey
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-DSHIB2XQ.mjs";
|
|
64
64
|
import {
|
|
65
65
|
beginToolExecuteCommand,
|
|
66
66
|
getToolExecuteInvocationId,
|
|
67
67
|
maybeAutoUpdateAndRelaunch,
|
|
68
68
|
registerCompatibilityCatalog,
|
|
69
69
|
runToolExecuteStage
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-6NEMTKTA.mjs";
|
|
71
71
|
import {
|
|
72
72
|
isCliTraceEnabled,
|
|
73
73
|
recordCliTrace,
|
|
74
74
|
resolveCliMaintenancePolicy
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-JD7P73ZW.mjs";
|
|
76
76
|
import {
|
|
77
77
|
checkSdkCompatibility,
|
|
78
78
|
enforceSdkCompatibilityResponse,
|
|
79
79
|
flushDeferredSkillsSyncNotices,
|
|
80
80
|
requireSdkCompatibility,
|
|
81
81
|
syncSdkSkillsIfNeeded
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-4ZAWRCB6.mjs";
|
|
83
83
|
import {
|
|
84
84
|
errorToJsonPayload,
|
|
85
85
|
printCommandEnvelope,
|
|
@@ -88,12 +88,12 @@ import {
|
|
|
88
88
|
printJsonError,
|
|
89
89
|
renderCommandEnvelopeText,
|
|
90
90
|
shouldEmitJson
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-NVHICORD.mjs";
|
|
92
92
|
import {
|
|
93
93
|
readSdkSkillsLocalVersion,
|
|
94
94
|
resolveConfig,
|
|
95
95
|
sdkCliStateDirPath
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-ROUNT4NX.mjs";
|
|
97
97
|
import {
|
|
98
98
|
DeeplineError
|
|
99
99
|
} from "./chunk-Z3A2S3QM.mjs";
|
|
@@ -1057,7 +1057,7 @@ Examples:
|
|
|
1057
1057
|
process.exitCode = await narrowView();
|
|
1058
1058
|
return;
|
|
1059
1059
|
}
|
|
1060
|
-
const { describeAnything } = await import("./describe-
|
|
1060
|
+
const { describeAnything } = await import("./describe-UUQBKUVL.mjs");
|
|
1061
1061
|
process.exitCode = await describeAnything(
|
|
1062
1062
|
toolId,
|
|
1063
1063
|
{
|