deepline 0.3.573 → 0.3.575
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/config.ts +19 -0
- package/dist/bundling-sources/sdk/src/play.ts +7 -4
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/types.ts +8 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +0 -18
- package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +8 -0
- package/dist/bundling-sources/shared_libs/play-runtime/builtin-pacing.ts +18 -0
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +4 -1
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/commands/roll-receipt-gateway.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/vercel-fly-rollback-alignment.ts +0 -14
- package/dist/bundling-sources/shared_libs/play-runtime/governor/governor.ts +4 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-launch-transport.ts +43 -7
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +56 -20
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +45 -7
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +6 -66
- package/dist/cli/agents-BCLO3KQJ.js +996 -0
- package/dist/cli/agents-ULGDKUTM.mjs +996 -0
- package/dist/cli/{auth-XX3HLRQ2.mjs → auth-4WCL7A6W.mjs} +5 -5
- package/dist/cli/auth-DXUHEL5I.js +44 -0
- package/dist/cli/{billing-QASEPOBL.mjs → billing-7JQ6EUQU.mjs} +10 -10
- package/dist/cli/{billing-6TY2HMC6.js → billing-BF5LVXOM.js} +106 -106
- package/dist/cli/{chunk-NUH56LTU.mjs → chunk-2T7XOKVL.mjs} +5 -5
- package/dist/cli/{chunk-KQZBN7TB.js → chunk-2UM3I2MY.js} +1 -1
- package/dist/cli/{chunk-MQOJ7SP4.mjs → chunk-3PVKXUSJ.mjs} +9 -1
- package/dist/cli/{chunk-6JTJP3WO.mjs → chunk-56N3XAT6.mjs} +5 -5
- package/dist/cli/{chunk-T2QI52F2.mjs → chunk-5D7OJY4W.mjs} +1 -1
- package/dist/cli/{chunk-JAW75RAO.js → chunk-5H6254MJ.js} +27 -20
- package/dist/cli/{chunk-N3VZTISZ.js → chunk-5VSHQG5E.js} +8 -8
- package/dist/cli/{chunk-KART6FR6.js → chunk-636GD4IR.js} +2 -2
- package/dist/cli/{chunk-XWO4J34B.js → chunk-6IKLITVH.js} +6 -6
- package/dist/cli/{chunk-Z6KWSBOX.js → chunk-737Y7QGT.js} +41 -41
- package/dist/cli/{chunk-XVFRNNL2.js → chunk-7DLAJ6JJ.js} +53 -53
- package/dist/cli/{chunk-GWPXWKQR.js → chunk-AO56MZ7D.js} +15 -7
- package/dist/cli/{chunk-DIZI5YGW.js → chunk-AS5XGOZY.js} +2 -2
- package/dist/cli/{chunk-ESKNCTFI.mjs → chunk-BM536WWR.mjs} +1 -1
- package/dist/cli/{chunk-LPYUGPTF.mjs → chunk-BONMEBWZ.mjs} +4 -4
- package/dist/cli/{chunk-4LWBURSS.mjs → chunk-BQUAE6LQ.mjs} +1 -1
- package/dist/cli/{chunk-QDQOXHXQ.mjs → chunk-CVY4MBXH.mjs} +5 -5
- package/dist/cli/{chunk-N6KF6X3D.js → chunk-DMPGJCNZ.js} +177 -6
- package/dist/cli/{chunk-ENHQBPR5.mjs → chunk-DWUESXDD.mjs} +4 -3
- package/dist/cli/{chunk-5NEJOCOK.mjs → chunk-E4RYSSXX.mjs} +2 -2
- package/dist/cli/{chunk-IZK2BLBW.js → chunk-EV3OPDHF.js} +20 -20
- package/dist/cli/{chunk-YKHXWO7N.js → chunk-EZIXKNKM.js} +3 -3
- package/dist/cli/{chunk-64MOX3SN.mjs → chunk-FDCU3VAJ.mjs} +174 -3
- package/dist/cli/{chunk-X3BGF6UU.js → chunk-FXXERR52.js} +10 -10
- package/dist/cli/{chunk-BM4GE67C.mjs → chunk-FYKHAT2F.mjs} +81 -7
- package/dist/cli/{chunk-UNTBQY64.js → chunk-G2H6SQQY.js} +11 -11
- package/dist/cli/{chunk-WQEGXOUT.js → chunk-G4WPDCXA.js} +48 -48
- package/dist/cli/{chunk-OG3YWDYA.js → chunk-GB4IZ5TV.js} +13 -13
- package/dist/cli/{chunk-N5VL6BHF.mjs → chunk-GQZFZG6R.mjs} +2 -2
- package/dist/cli/{chunk-JCVAVHDP.mjs → chunk-H3CG72RZ.mjs} +21 -16
- package/dist/cli/{chunk-FXLVMWWA.js → chunk-H6JMRLAZ.js} +280 -275
- package/dist/cli/{chunk-UBTEDSIK.js → chunk-HEOM3FAC.js} +20 -20
- package/dist/cli/{chunk-CY3BUFMG.js → chunk-HO76C7AE.js} +2 -2
- package/dist/cli/{chunk-XAIXTB74.mjs → chunk-IAJ65IDZ.mjs} +4 -4
- package/dist/cli/{chunk-ENLJ67CZ.mjs → chunk-IBYMGR5Y.mjs} +1 -1
- package/dist/cli/{chunk-4K6UVILG.mjs → chunk-IOWLFWWG.mjs} +2 -2
- package/dist/cli/{chunk-NJTTRJ32.mjs → chunk-JGLCK2XF.mjs} +2 -2
- package/dist/cli/{chunk-DLWVJ66I.js → chunk-KNCNFL76.js} +4 -4
- package/dist/cli/{chunk-XLN4Z654.mjs → chunk-MN7JLH2T.mjs} +2 -2
- package/dist/cli/{chunk-IXCGWJJZ.mjs → chunk-MWLOBURN.mjs} +2 -2
- package/dist/cli/{chunk-6ASDTHEN.js → chunk-MXK4M7HP.js} +21 -17
- package/dist/cli/{chunk-C52RRBYB.mjs → chunk-NF722E6C.mjs} +1 -1
- package/dist/cli/{chunk-TNCJ2J76.js → chunk-PQYDO72W.js} +26 -26
- package/dist/cli/{chunk-PW3PADXI.mjs → chunk-QEDRUURT.mjs} +1 -1
- package/dist/cli/{chunk-QFDT35HF.mjs → chunk-QKP3WYSZ.mjs} +3 -3
- package/dist/cli/{chunk-M2UJWUWX.mjs → chunk-RHRRY2BX.mjs} +3 -3
- package/dist/cli/{chunk-HUJMFETO.mjs → chunk-RW3URFZK.mjs} +7 -3
- package/dist/cli/{chunk-TBLP7HDL.js → chunk-SKHUWQZE.js} +10 -9
- package/dist/cli/{chunk-WSXRJ2RZ.mjs → chunk-SYQTBHRX.mjs} +3 -3
- package/dist/cli/{chunk-ANSHNREL.mjs → chunk-TMFR2B45.mjs} +3 -3
- package/dist/cli/{chunk-5MCC4D25.mjs → chunk-TTBZ7QXX.mjs} +1 -1
- package/dist/cli/{chunk-ROSPYLDN.mjs → chunk-UQZP7XBQ.mjs} +17 -10
- package/dist/cli/{chunk-TJSKDOXN.js → chunk-V5XLENWK.js} +7 -7
- package/dist/cli/{chunk-DSE45YP4.mjs → chunk-X47J55ZJ.mjs} +2 -2
- package/dist/cli/{chunk-FUVVTHXE.js → chunk-XFV353R2.js} +23 -23
- package/dist/cli/{chunk-OPD6XUIG.js → chunk-YNAXKA23.js} +5 -5
- package/dist/cli/{chunk-LHPYCJNL.js → chunk-ZO65VJRJ.js} +87 -13
- package/dist/cli/{chunk-2USXCXPZ.js → chunk-ZQXJYO5P.js} +5 -5
- package/dist/cli/{chunk-UZLTBBAG.js → chunk-ZS6DT4LD.js} +15 -15
- package/dist/cli/{chunk-KQLIG4YR.js → chunk-ZYSJND73.js} +9 -9
- package/dist/cli/command-docs.js +3 -3
- package/dist/cli/command-docs.mjs +2 -2
- package/dist/cli/{concurrent-runs-help-IILHMHBX.mjs → concurrent-runs-help-HITK6EOO.mjs} +7 -7
- package/dist/cli/concurrent-runs-help-JLWY54WL.js +22 -0
- package/dist/cli/{csv-OSJQVDAS.js → csv-RS7XHQ4P.js} +13 -13
- package/dist/cli/{csv-VGYW2PQZ.mjs → csv-V2T23MXT.mjs} +4 -4
- package/dist/cli/{db-3IQYT3WD.mjs → db-OQ4RNTGE.mjs} +6 -6
- package/dist/cli/{db-2IMS6K2F.js → db-WFIVRPKY.js} +27 -27
- package/dist/cli/describe-33PBWO5O.js +50 -0
- package/dist/cli/{describe-IGJ4CHUC.mjs → describe-AXV2EEX3.mjs} +21 -21
- package/dist/cli/describe-core.d.mts +13 -2
- package/dist/cli/describe-core.d.ts +13 -2
- package/dist/cli/describe-core.js +4 -4
- package/dist/cli/describe-core.mjs +3 -3
- package/dist/cli/{executions-VOJN4NPF.js → executions-5H2RIWZ3.js} +8 -8
- package/dist/cli/{executions-6F3PLVCR.mjs → executions-THP5ZDBQ.mjs} +6 -6
- package/dist/cli/{feedback-BP5G27DT.mjs → feedback-2EJPILGE.mjs} +6 -6
- package/dist/cli/{feedback-5N7GKSMC.js → feedback-UOI6UEGA.js} +14 -14
- package/dist/cli/git-2OPYEPYW.js +26 -0
- package/dist/cli/{git-FHNCP7QA.mjs → git-DI3LJIAT.mjs} +5 -5
- package/dist/cli/index.js +152 -148
- package/dist/cli/index.mjs +51 -47
- package/dist/cli/{integrations-KKCEEWDU.mjs → integrations-DJYS5VRK.mjs} +7 -7
- package/dist/cli/{integrations-JZV55BZT.js → integrations-TYN2BSQ6.js} +29 -29
- package/dist/cli/{legacy-noops-OVOHF47E.js → legacy-noops-GXQHNLGJ.js} +9 -9
- package/dist/cli/{legacy-noops-YOPWDLRG.mjs → legacy-noops-Z457BB6O.mjs} +6 -6
- package/dist/cli/{mcp-SJAXFYTI.mjs → mcp-NAW3GFNN.mjs} +4 -4
- package/dist/cli/{mcp-F2XGBA6W.js → mcp-WMBOOTQL.js} +24 -24
- package/dist/cli/{monitors-PFH3FQLD.mjs → monitors-A7NYAXSJ.mjs} +7 -7
- package/dist/cli/{monitors-RQRNQRYB.js → monitors-OOQVE7XR.js} +100 -100
- package/dist/cli/{org-PZC6SUZD.mjs → org-7YCDUSZE.mjs} +6 -6
- package/dist/cli/{org-WPOEKMTG.js → org-D2AMIVBS.js} +121 -121
- package/dist/cli/{outcomes-EXOCNHOC.js → outcomes-2FKZDJSQ.js} +17 -15
- package/dist/cli/{outcomes-ZS7XD3KQ.mjs → outcomes-TNTKCUEO.mjs} +9 -7
- package/dist/cli/{play-UKSRFVIU.mjs → play-L6CVHSN4.mjs} +88 -33
- package/dist/cli/{play-JS2TEEE7.js → play-NWKHCHVZ.js} +393 -338
- package/dist/cli/{providers-U6IODPMJ.mjs → providers-22LO747B.mjs} +6 -6
- package/dist/cli/{providers-3U4MWBLU.js → providers-PZGOI5CN.js} +9 -9
- package/dist/cli/{quickstart-G5QN5CUE.mjs → quickstart-3ZRVKGMH.mjs} +4 -4
- package/dist/cli/{quickstart-SHBAEDX6.js → quickstart-LLWOC2GR.js} +6 -6
- package/dist/cli/{run-3ZOJ6V7C.mjs → run-D46W2GUA.mjs} +48 -27
- package/dist/cli/{run-SZRKNLUT.js → run-SNF23STR.js} +70 -49
- package/dist/cli/search-H57MZPLF.js +32 -0
- package/dist/cli/{search-2VX5WNMJ.mjs → search-XWVCICIX.mjs} +7 -7
- package/dist/cli/{search-output-WGDHYYHX.js → search-output-36GHD67U.js} +12 -9
- package/dist/cli/{search-output-U5N2O6IA.mjs → search-output-YM5QXFQQ.mjs} +9 -6
- package/dist/cli/{secrets-SQKP5ILO.mjs → secrets-7PTZEFRC.mjs} +6 -6
- package/dist/cli/{secrets-UITJOGVQ.js → secrets-UXCIHG5I.js} +15 -15
- package/dist/cli/{sessions-LSXO2OKX.mjs → sessions-DTXJKRP4.mjs} +6 -6
- package/dist/cli/sessions-JJZMQSH4.js +23 -0
- package/dist/cli/{settings-YGYRDPOK.mjs → settings-74B6UOS4.mjs} +12 -12
- package/dist/cli/{settings-VZI675JG.js → settings-EYSDZE37.js} +85 -85
- package/dist/cli/{setup-GXGXRWKN.mjs → setup-2QRZ36CH.mjs} +9 -9
- package/dist/cli/{setup-OJ33NOWK.js → setup-E7PVXBPL.js} +49 -49
- package/dist/cli/{skills-3VDYIFAX.mjs → skills-2WZ7N3UW.mjs} +7 -7
- package/dist/cli/skills-RIF2DCZI.js +37 -0
- package/dist/cli/tools-7VRQ4GSI.js +57 -0
- package/dist/cli/{tools-3TKEGDBP.mjs → tools-YK5SCUZD.mjs} +19 -19
- package/dist/cli/{update-K6A4QXTC.mjs → update-563YQK53.mjs} +9 -9
- package/dist/cli/update-CMZAIAES.js +37 -0
- package/dist/cli/{views-2PPIVWDK.mjs → views-ISNCRZUP.mjs} +6 -6
- package/dist/cli/{views-SGGO77XS.js → views-OLPS6TPG.js} +21 -21
- package/dist/cli/{workflow-JTG6QEFO.mjs → workflow-B3ZKU3OR.mjs} +7 -7
- package/dist/cli/{workflow-YSFOOTPB.js → workflow-CUSCTYMW.js} +17 -17
- package/dist/{client-DCnExziW.d.ts → client-BrdMPFCM.d.ts} +1 -1
- package/dist/{client-ClJlqkKt.d.mts → client-CF-bsrtI.d.mts} +1 -1
- package/dist/{client-core-DAOPQnGD.d.mts → client-core-DM1ZedOG.d.mts} +8 -0
- package/dist/{client-core-BKq5ZNAl.d.ts → client-core-rMoUWSYM.d.ts} +8 -0
- 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 +128 -126
- 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-DGR7ZQJL.js +0 -44
- package/dist/cli/concurrent-runs-help-HEIDXAM2.js +0 -22
- package/dist/cli/describe-LBU4I6SU.js +0 -50
- package/dist/cli/git-JUSPUUOH.js +0 -26
- package/dist/cli/search-TAFMLK4K.js +0 -32
- package/dist/cli/sessions-RA6FBIHJ.js +0 -23
- package/dist/cli/skills-J5QVWKLQ.js +0 -37
- package/dist/cli/tools-3PQXQGXL.js +0 -57
- package/dist/cli/update-CA3DZ75E.js +0 -37
- /package/dist/cli/{chunk-2RIKOPIM.mjs → chunk-HECXJBED.mjs} +0 -0
- /package/dist/cli/{chunk-H4ALLC2X.js → chunk-TJCENACZ.js} +0 -0
|
@@ -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 _chunkAS5XGOZYjs = require('./chunk-AS5XGOZY.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkEV3OPDHFjs = require('./chunk-EV3OPDHF.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkKNCNFL76js = require('./chunk-KNCNFL76.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 _chunkKNCNFL76js.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 = _chunkKNCNFL76js.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 : _chunkKNCNFL76js.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(_chunkKNCNFL76js.agentSessionIdFromEnvironment.call(void 0, process.env, agentRuntime), () => ( (agentRuntime === "claude_cowork" || agentRuntime === "claude_code" ? _nullishCoalesce(_optionalChain([_chunkKNCNFL76js.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 = _chunkKNCNFL76js.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 } = _chunkEV3OPDHFjs.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 (_chunkAS5XGOZYjs.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
|
+
_chunkEV3OPDHFjs.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
|
+
_chunkEV3OPDHFjs.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
|
+
_chunkEV3OPDHFjs.printCommandEnvelope.call(void 0,
|
|
706
706
|
{
|
|
707
707
|
ok: true,
|
|
708
708
|
file: outputPath,
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
getAuthedHttpClient,
|
|
3
3
|
openInBrowser,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-X47J55ZJ.mjs";
|
|
6
6
|
import {
|
|
7
7
|
resolveBaseUrlOnly
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3PVKXUSJ.mjs";
|
|
9
9
|
|
|
10
10
|
// src/cli/commands/git.ts
|
|
11
11
|
function shellQuote(value) {
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
addDescribeOptions,
|
|
3
3
|
recordApiResponse,
|
|
4
4
|
writeExecutionOutput
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-E4RYSSXX.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-RHRRY2BX.mjs";
|
|
15
15
|
import {
|
|
16
16
|
recentSearchRef,
|
|
17
17
|
registerDeprecatedSearchCommand
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IAJ65IDZ.mjs";
|
|
19
19
|
import {
|
|
20
20
|
Capability,
|
|
21
21
|
arrayField,
|
|
@@ -37,10 +37,10 @@ import {
|
|
|
37
37
|
toolInputFieldsForDisplay,
|
|
38
38
|
toolMetadataJsonForDescribe,
|
|
39
39
|
toolOutputFieldsForDisplay
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-DWUESXDD.mjs";
|
|
41
41
|
import {
|
|
42
42
|
rateLimitQualifier
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-FYKHAT2F.mjs";
|
|
44
44
|
import {
|
|
45
45
|
shellArgument,
|
|
46
46
|
shellQuote
|
|
@@ -57,29 +57,29 @@ import {
|
|
|
57
57
|
} from "./chunk-FIVKWNMT.mjs";
|
|
58
58
|
import {
|
|
59
59
|
DeeplineClient
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-IOWLFWWG.mjs";
|
|
61
61
|
import {
|
|
62
62
|
validateExecutionIdempotencyKey
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-QEDRUURT.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-CVY4MBXH.mjs";
|
|
71
71
|
import {
|
|
72
72
|
isCliTraceEnabled,
|
|
73
73
|
recordCliTrace,
|
|
74
74
|
resolveCliMaintenancePolicy
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-BQUAE6LQ.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-2T7XOKVL.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-X47J55ZJ.mjs";
|
|
92
92
|
import {
|
|
93
93
|
readSdkSkillsLocalVersion,
|
|
94
94
|
resolveConfig,
|
|
95
95
|
sdkCliStateDirPath
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-3PVKXUSJ.mjs";
|
|
97
97
|
import {
|
|
98
98
|
DeeplineError
|
|
99
99
|
} from "./chunk-Z3A2S3QM.mjs";
|
|
@@ -529,6 +529,9 @@ function notConnectedSuffix(tool) {
|
|
|
529
529
|
});
|
|
530
530
|
return message ? ` - \u26A0 ${message}` : "";
|
|
531
531
|
}
|
|
532
|
+
function runsOnOwnKey(tool) {
|
|
533
|
+
return tool.billingSource === "own_provider_credentials" || tool.billingSource === "free";
|
|
534
|
+
}
|
|
532
535
|
function shortPricingHint(tool) {
|
|
533
536
|
const pricing = recordField(
|
|
534
537
|
tool,
|
|
@@ -536,6 +539,7 @@ function shortPricingHint(tool) {
|
|
|
536
539
|
);
|
|
537
540
|
const credits = numberField(pricing, "creditsPerUnit", "credits_per_unit");
|
|
538
541
|
const unit = stringField(pricing, "unit");
|
|
542
|
+
if (runsOnOwnKey(tool)) return "0 (your key)";
|
|
539
543
|
if (credits !== null) {
|
|
540
544
|
return `${formatDecimal(credits)} cr/${unit || "unit"}`;
|
|
541
545
|
}
|
|
@@ -654,6 +658,7 @@ async function listToolsInCategory(category, emitJson) {
|
|
|
654
658
|
provider: tool.provider,
|
|
655
659
|
required: requiredInputIds(tool),
|
|
656
660
|
pricing: shortPricingHint(tool),
|
|
661
|
+
...tool.billingSource ? { billingSource: tool.billingSource } : {},
|
|
657
662
|
description: firstSentence(tool.description),
|
|
658
663
|
notConnected: notConnectedSuffix(tool)
|
|
659
664
|
})).sort((a, b) => a.id.localeCompare(b.id));
|
|
@@ -1052,7 +1057,7 @@ Examples:
|
|
|
1052
1057
|
process.exitCode = await narrowView();
|
|
1053
1058
|
return;
|
|
1054
1059
|
}
|
|
1055
|
-
const { describeAnything } = await import("./describe-
|
|
1060
|
+
const { describeAnything } = await import("./describe-AXV2EEX3.mjs");
|
|
1056
1061
|
process.exitCode = await describeAnything(
|
|
1057
1062
|
toolId,
|
|
1058
1063
|
{
|
|
@@ -1852,11 +1857,11 @@ function listedToolDescription(tool) {
|
|
|
1852
1857
|
}
|
|
1853
1858
|
function formatListedToolCost(tool) {
|
|
1854
1859
|
const record = tool;
|
|
1855
|
-
if (stringField(record, "billingSource", "billing_source") === "free") {
|
|
1856
|
-
return "Cost: Free";
|
|
1857
|
-
}
|
|
1858
1860
|
const pricing = recordField(record, "pricing");
|
|
1859
1861
|
const displayText = stringField(pricing, "displayText", "display_text");
|
|
1862
|
+
if (stringField(record, "billingSource", "billing_source") === "free") {
|
|
1863
|
+
return `Cost: ${displayText || "Free"}`;
|
|
1864
|
+
}
|
|
1860
1865
|
return displayText ? `Cost: ${displayText}` : "";
|
|
1861
1866
|
}
|
|
1862
1867
|
function printToolOutputArrayShape(tool) {
|