deepline 0.3.550 → 0.3.551
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/sdk/src/types.ts +22 -0
- package/dist/bundling-sources/shared_libs/integration-contracts/tool-connection.ts +42 -0
- package/dist/bundling-sources/shared_libs/monitors/snitcher-ip2company.ts +31 -0
- package/dist/bundling-sources/shared_libs/monitors/tracking-provider-guidance.ts +1 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +19 -0
- package/dist/bundling-sources/shared_libs/play-runtime/activity-observation.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +2 -2
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +187 -16
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +70 -19
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +854 -3
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +15 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +6 -2
- package/dist/bundling-sources/shared_libs/plays/share/static-pipeline-summary.ts +43 -0
- package/dist/bundling-sources/shared_libs/product-notifications/billing-sales.ts +1 -0
- package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +38 -5
- package/dist/bundling-sources/shared_libs/product-notifications/default-policy.ts +1 -1
- package/dist/bundling-sources/shared_libs/product-notifications/events.ts +16 -0
- package/dist/cli/auth-B4PI7GVY.js +43 -0
- package/dist/cli/{auth-UJCAHGZG.mjs → auth-E7BH4GMJ.mjs} +5 -5
- package/dist/cli/{billing-VO2O5O5O.js → billing-DNQAZGX7.js} +99 -99
- package/dist/cli/{billing-RYWMI7JJ.mjs → billing-OXKU462W.mjs} +10 -10
- package/dist/cli/chunk-2RIKOPIM.mjs +9 -0
- package/dist/cli/{chunk-IZCPOX7X.mjs → chunk-2UXDHFSF.mjs} +1 -1
- package/dist/cli/{chunk-XYIECA7M.js → chunk-2WFPHBR4.js} +30 -8
- package/dist/cli/{chunk-JYUIIDZO.js → chunk-2ZYRBMQM.js} +23 -22
- package/dist/cli/{chunk-TB3WT76F.js → chunk-3G6QZACZ.js} +23 -20
- package/dist/cli/{chunk-LWHWMU4V.js → chunk-3KYBDAR3.js} +7 -7
- package/dist/cli/{chunk-CIBQVA6V.mjs → chunk-3T65J5RG.mjs} +2 -2
- package/dist/cli/{chunk-KSUTNW3X.js → chunk-44I675YK.js} +42 -41
- package/dist/cli/{chunk-4NQWUUOH.mjs → chunk-44KSACJW.mjs} +2 -2
- package/dist/cli/{chunk-GVW5V562.mjs → chunk-4D3WIZST.mjs} +1 -1
- package/dist/cli/{chunk-RS6ZSKX6.js → chunk-4OMAGJ6U.js} +2 -2
- package/dist/cli/{chunk-SZNX3XU3.js → chunk-54EEYLTF.js} +3 -3
- package/dist/cli/{chunk-QD2KT7II.mjs → chunk-5IL7SC45.mjs} +2 -2
- package/dist/cli/{chunk-COHCKZQK.mjs → chunk-5S6PHKRV.mjs} +2 -1
- package/dist/cli/{chunk-SBNNK73L.js → chunk-5VVSEU67.js} +6 -6
- package/dist/cli/{chunk-ZQZOYGDC.mjs → chunk-6PWJKMFQ.mjs} +5 -4
- package/dist/cli/{chunk-MAE3AKDR.mjs → chunk-7DOQ3OEX.mjs} +17 -8
- package/dist/cli/{chunk-3W44AJOE.js → chunk-7RSIFA72.js} +18 -16
- package/dist/cli/{chunk-F2RXBNT5.mjs → chunk-7WQNWJQW.mjs} +7 -5
- package/dist/cli/{chunk-6P7TGCHQ.mjs → chunk-BGBJV26E.mjs} +10 -3
- package/dist/cli/{chunk-UL7HWZO7.mjs → chunk-BIIJATTX.mjs} +2 -2
- package/dist/cli/{chunk-ADWMIZCB.js → chunk-C4CUZH57.js} +20 -11
- package/dist/cli/{chunk-S6XOKGBF.mjs → chunk-CLRAANWH.mjs} +1 -1
- package/dist/cli/{chunk-YSYOQYZE.js → chunk-COGREZAO.js} +48 -44
- package/dist/cli/{chunk-SMLWC7PM.js → chunk-CQ6JYQSW.js} +10 -10
- package/dist/cli/{chunk-7BWMCVYU.mjs → chunk-D6M5HFBB.mjs} +1 -1
- package/dist/cli/{chunk-FMXLQHM2.mjs → chunk-E64HFB4L.mjs} +13 -13
- package/dist/cli/{chunk-E2QVWDDW.mjs → chunk-FOTGUFVK.mjs} +3 -3
- package/dist/cli/{chunk-HCFH2V27.mjs → chunk-GGB3JYCW.mjs} +3 -2
- package/dist/cli/{chunk-7AOFSZJM.mjs → chunk-GGGAEVCX.mjs} +23 -1
- package/dist/cli/{chunk-N2Y2IGNB.mjs → chunk-GVYLCCKN.mjs} +1 -1
- package/dist/cli/{chunk-UV4RU2TE.js → chunk-H4ALLC2X.js} +2 -0
- package/dist/cli/{chunk-LUULRAQB.mjs → chunk-HEHVGEZV.mjs} +10 -7
- package/dist/cli/{chunk-HEVUFICQ.mjs → chunk-I4VKGNAQ.mjs} +9 -5
- package/dist/cli/{chunk-RKF263LR.js → chunk-KWSH5T7K.js} +25 -18
- package/dist/cli/{chunk-XKE2PGZ2.js → chunk-LPJPCGT3.js} +8 -8
- package/dist/cli/{chunk-E4S7OE7B.mjs → chunk-MNSTCJMX.mjs} +3 -3
- package/dist/cli/{chunk-QNWNR6DG.js → chunk-MR5LTVHD.js} +53 -53
- package/dist/cli/{chunk-K7JZV4QW.mjs → chunk-MXGA6JFI.mjs} +2 -2
- package/dist/cli/{chunk-EU23QOJ6.js → chunk-NMWGZD6Y.js} +26 -26
- package/dist/cli/{chunk-MJDQZYKO.js → chunk-PACD5DGC.js} +4 -4
- package/dist/cli/{chunk-EMPXPEIQ.mjs → chunk-PM7MO62Y.mjs} +3 -3
- package/dist/cli/{chunk-JKLDCFY5.js → chunk-POLUE7D5.js} +11 -11
- package/dist/cli/{chunk-DGUTBLXF.js → chunk-PPSDCN6C.js} +3 -2
- package/dist/cli/{chunk-NM3AYEDI.js → chunk-QM6Y6S4E.js} +5 -5
- package/dist/cli/{chunk-2AKS64KJ.mjs → chunk-RE5MJBEV.mjs} +2 -2
- package/dist/cli/{chunk-KLQILE2I.mjs → chunk-S7IZWGUA.mjs} +2 -2
- package/dist/cli/{chunk-2IW5GKB4.js → chunk-T2B5BVZE.js} +13 -13
- package/dist/cli/{chunk-OKNOQRQ3.js → chunk-UDXULACQ.js} +3 -3
- package/dist/cli/{chunk-ECWOIXAV.js → chunk-UPMRIVZB.js} +14 -12
- package/dist/cli/{chunk-72NXIFOT.mjs → chunk-V6SCP4B7.mjs} +1 -1
- package/dist/cli/{chunk-5J3TRWTB.js → chunk-VTGG2RT3.js} +1 -1
- package/dist/cli/{chunk-DJWM5OOY.mjs → chunk-VWLHRZFG.mjs} +4 -4
- package/dist/cli/{chunk-I62PCYU6.js → chunk-W2ZWQUHT.js} +2 -2
- package/dist/cli/{chunk-MXEYNRTZ.mjs → chunk-W425ERWN.mjs} +6 -5
- package/dist/cli/{chunk-GWNYLIF7.mjs → chunk-WEHCBH5R.mjs} +4 -2
- package/dist/cli/{chunk-JLFOQRWM.js → chunk-WKBHUB6R.js} +270 -270
- package/dist/cli/{chunk-3WG2GURT.js → chunk-XYE5XPGF.js} +9 -9
- package/dist/cli/{chunk-R5CYKRA2.js → chunk-Z2FIOG3V.js} +12 -12
- package/dist/cli/{chunk-BJO7ZXAK.js → chunk-ZCDKE4UH.js} +5 -5
- package/dist/cli/{chunk-RINUMR6C.js → chunk-ZDQFBJPO.js} +20 -19
- package/dist/cli/{chunk-TL3WIXDH.mjs → chunk-ZMNGZ6XS.mjs} +1 -1
- package/dist/cli/command-docs.js +3 -3
- package/dist/cli/command-docs.mjs +2 -2
- package/dist/cli/{concurrent-runs-help-766HVJR3.mjs → concurrent-runs-help-C6L6I5OR.mjs} +7 -7
- package/dist/cli/concurrent-runs-help-JEFQZTJI.js +21 -0
- package/dist/cli/{csv-4DZKGYCU.js → csv-QMF4FWE7.js} +19 -14
- package/dist/cli/{csv-VU52KZOX.mjs → csv-SYSDXFEM.mjs} +10 -5
- package/dist/cli/{db-UBGW373S.mjs → db-Q7HURWRZ.mjs} +6 -6
- package/dist/cli/{db-KPIH4HPW.js → db-YSHPPA4H.js} +27 -27
- package/dist/cli/describe-PXTSBJTL.js +50 -0
- package/dist/cli/{describe-NGITP6RA.mjs → describe-YGMQBV44.mjs} +21 -21
- package/dist/cli/describe-core.d.mts +4 -2
- package/dist/cli/describe-core.d.ts +4 -2
- package/dist/cli/describe-core.js +4 -4
- package/dist/cli/describe-core.mjs +3 -3
- package/dist/cli/{executions-CO5UF3CV.mjs → executions-G7U3VUXN.mjs} +6 -6
- package/dist/cli/{executions-G3X25U3V.js → executions-MWBC5TAW.js} +8 -8
- package/dist/cli/{feedback-M2L5DVN2.mjs → feedback-GMHIFLBJ.mjs} +6 -6
- package/dist/cli/{feedback-ZYF65WPH.js → feedback-SD55OY6H.js} +14 -14
- package/dist/cli/{git-AYJD5CLS.mjs → git-HPE45OPD.mjs} +5 -5
- package/dist/cli/git-I3JV7IGH.js +25 -0
- package/dist/cli/index.js +147 -147
- package/dist/cli/index.mjs +46 -46
- package/dist/cli/{integrations-LKEGGTZO.mjs → integrations-2W4MGIQR.mjs} +7 -7
- package/dist/cli/{integrations-GSXXJ4CF.js → integrations-HFKVBY6G.js} +15 -15
- package/dist/cli/{legacy-noops-UF4GKMD4.mjs → legacy-noops-GZYKNU2Z.mjs} +6 -6
- package/dist/cli/{legacy-noops-MZDLLEKN.js → legacy-noops-SXVNDEXN.js} +9 -9
- package/dist/cli/{mcp-NHQ6RMBP.mjs → mcp-BWA6KULG.mjs} +4 -4
- package/dist/cli/{mcp-RTNC6LP3.js → mcp-PJRHQHHU.js} +24 -24
- package/dist/cli/{monitors-WMWB6EKQ.js → monitors-K2WSI6CR.js} +100 -100
- package/dist/cli/{monitors-NC4ZR5DH.mjs → monitors-SYQKCATO.mjs} +7 -7
- package/dist/cli/{org-ZXUSYREQ.mjs → org-5KD7X7IA.mjs} +6 -6
- package/dist/cli/{org-33Q7CXJB.js → org-YQ2CR32B.js} +88 -88
- package/dist/cli/{play-N24XV6TI.js → play-SZXY2F2S.js} +330 -330
- package/dist/cli/{play-IPWFGNRE.mjs → play-TTMABJEI.mjs} +18 -18
- package/dist/cli/{providers-MSVE7UZS.mjs → providers-GQIOMRQO.mjs} +6 -6
- package/dist/cli/{providers-AUI7MMQS.js → providers-YDHCTZAF.js} +9 -9
- package/dist/cli/{quickstart-PSC6VTRI.js → quickstart-BNYOXQXG.js} +6 -6
- package/dist/cli/{quickstart-OME5XMW5.mjs → quickstart-PHSSMKCA.mjs} +4 -4
- package/dist/cli/{run-EYTT2DHO.mjs → run-74C3C75C.mjs} +26 -26
- package/dist/cli/{run-UTIX7CJY.js → run-GFIAZXVL.js} +47 -47
- package/dist/cli/search-2RRRF4LW.js +32 -0
- package/dist/cli/{search-FVE7PM72.mjs → search-3SWUB7KX.mjs} +7 -7
- package/dist/cli/{search-output-O463JNLR.js → search-output-6JF3S4TP.js} +43 -13
- package/dist/cli/{search-output-TQMY6BDG.mjs → search-output-K2SWHVHQ.mjs} +40 -10
- package/dist/cli/{secrets-KCJJAHQB.mjs → secrets-2M4XWEKE.mjs} +6 -6
- package/dist/cli/{secrets-TWZ2GO73.js → secrets-2SAKLH2H.js} +15 -15
- package/dist/cli/{sessions-ZCWAA7QL.mjs → sessions-A64BCXTO.mjs} +6 -6
- package/dist/cli/sessions-SBH27JNW.js +22 -0
- package/dist/cli/{settings-SCR654U7.js → settings-HV64WIJF.js} +85 -85
- package/dist/cli/{settings-4JFKCKII.mjs → settings-SVGEC3FI.mjs} +12 -12
- package/dist/cli/{setup-Q2YOPGOI.mjs → setup-EDC3NEJ3.mjs} +15 -10
- package/dist/cli/{setup-O6GH3UWT.js → setup-FHXOLQGQ.js} +55 -50
- package/dist/cli/{skills-QHPZ6H2G.mjs → skills-3HGHZMXB.mjs} +7 -7
- package/dist/cli/skills-Y3SRLOYD.js +36 -0
- package/dist/cli/tools-OFYPUPUV.js +57 -0
- package/dist/cli/{tools-YO22H46E.mjs → tools-P2QS6A6Q.mjs} +19 -19
- package/dist/cli/{update-WHBC5IHE.mjs → update-552BYQM4.mjs} +9 -9
- package/dist/cli/update-SOUSCLB7.js +34 -0
- package/dist/cli/{views-XNLXV2BT.mjs → views-LD5HXJYY.mjs} +6 -6
- package/dist/cli/{views-4CZJ5BLG.js → views-PA25NAE3.js} +21 -21
- package/dist/cli/{workflow-C4VBARIE.js → workflow-FIDBUQV6.js} +17 -17
- package/dist/cli/{workflow-QUWP2CG2.mjs → workflow-LDYFGBYP.mjs} +7 -7
- package/dist/{client-BEJqhQAj.d.mts → client-DuDFiJDU.d.mts} +1 -1
- package/dist/{client-core-BPYuWfBC.d.ts → client-core-CJRzLanv.d.ts} +93 -4
- package/dist/{client-core-BqetRxx-.d.mts → client-core-DydMQOft.d.mts} +93 -4
- package/dist/{client-Ceo295L2.d.ts → client-t9HZAkFD.d.ts} +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +124 -124
- 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-J4OW5RNJ.js +0 -43
- package/dist/cli/chunk-NIPLY25A.mjs +0 -7
- package/dist/cli/concurrent-runs-help-3XZIHVRP.js +0 -21
- package/dist/cli/describe-4BI6E2CM.js +0 -50
- package/dist/cli/git-QRZP4DNA.js +0 -25
- package/dist/cli/search-CQ6JG2EN.js +0 -32
- package/dist/cli/sessions-LMPXUPUH.js +0 -22
- package/dist/cli/skills-M4CFE65Z.js +0 -36
- package/dist/cli/tools-CV7XA2V6.js +0 -57
- package/dist/cli/update-PUWBKPWJ.js +0 -34
|
@@ -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 _chunkLPJPCGT3js = require('./chunk-LPJPCGT3.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkUDXULACQjs = require('./chunk-UDXULACQ.js');
|
|
8
8
|
|
|
9
9
|
// src/client.ts
|
|
10
|
-
var DeeplineClient2 = class extends
|
|
10
|
+
var DeeplineClient2 = class extends _chunkLPJPCGT3js.DeeplineClient {
|
|
11
11
|
constructor(options) {
|
|
12
|
-
const config =
|
|
13
|
-
super(config, new (0,
|
|
12
|
+
const config = _chunkUDXULACQjs.resolveConfig.call(void 0, options);
|
|
13
|
+
super(config, new (0, _chunkUDXULACQjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
16
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PlayClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZMNGZ6XS.mjs";
|
|
4
4
|
import {
|
|
5
5
|
HttpClient,
|
|
6
6
|
resolveConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-V6SCP4B7.mjs";
|
|
8
8
|
|
|
9
9
|
// src/plays/local-play-execution.ts
|
|
10
10
|
function importedNodes(graph) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3T65J5RG.mjs";
|
|
4
4
|
import {
|
|
5
5
|
printCommandEnvelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GGB3JYCW.mjs";
|
|
7
7
|
|
|
8
8
|
// src/cli/commands/integration-commands.ts
|
|
9
9
|
import { Option } from "commander";
|
|
@@ -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 _chunk4OMAGJ6Ujs = require('./chunk-4OMAGJ6U.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkZDQFBJPOjs = require('./chunk-ZDQFBJPO.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkPACD5DGCjs = require('./chunk-PACD5DGC.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 _chunkPACD5DGCjs.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 = _chunkPACD5DGCjs.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 : _chunkPACD5DGCjs.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(_chunkPACD5DGCjs.agentSessionIdFromEnvironment.call(void 0, process.env, agentRuntime), () => ( (agentRuntime === "claude_cowork" || agentRuntime === "claude_code" ? _nullishCoalesce(_optionalChain([_chunkPACD5DGCjs.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 = _chunkPACD5DGCjs.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 } = _chunkZDQFBJPOjs.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 (_chunk4OMAGJ6Ujs.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
|
+
_chunkZDQFBJPOjs.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
|
+
_chunkZDQFBJPOjs.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
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
706
706
|
{
|
|
707
707
|
ok: true,
|
|
708
708
|
file: outputPath,
|
|
@@ -1,7 +1,7 @@
|
|
|
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
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkPACD5DGCjs = require('./chunk-PACD5DGC.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkEITMD3A5js = require('./chunk-EITMD3A5.js');
|
|
@@ -711,7 +711,7 @@ function readSkillsVersionFile(path) {
|
|
|
711
711
|
}
|
|
712
712
|
}
|
|
713
713
|
function resolveAutoSyncSkillAgents() {
|
|
714
|
-
switch (
|
|
714
|
+
switch (_chunkPACD5DGCjs.detectAgentRuntime.call(void 0, )) {
|
|
715
715
|
case "codex":
|
|
716
716
|
return ["codex"];
|
|
717
717
|
case "claude_code":
|
|
@@ -781,7 +781,7 @@ function writeSdkSkillsLocalVersion(baseUrl, version, agents) {
|
|
|
781
781
|
}
|
|
782
782
|
|
|
783
783
|
// src/http.ts
|
|
784
|
-
var HttpClient2 = class extends
|
|
784
|
+
var HttpClient2 = class extends _chunkPACD5DGCjs.HttpClient {
|
|
785
785
|
constructor(config) {
|
|
786
786
|
super(config, readSdkSkillsLocalVersion);
|
|
787
787
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk2WFPHBR4js = require('./chunk-2WFPHBR4.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
var _chunkJ33TSWO5js = require('./chunk-J33TSWO5.js');
|
|
@@ -280,7 +280,7 @@ function extractorValueType(name) {
|
|
|
280
280
|
}
|
|
281
281
|
const named = NAMED_VALUE_SHAPES[definition.valueKind];
|
|
282
282
|
if (!named) return { type: "string" };
|
|
283
|
-
const { type, fields } =
|
|
283
|
+
const { type, fields } = _chunk2WFPHBR4js.schemaField.call(void 0, name, named.schema, true);
|
|
284
284
|
return { type, ...fields ? { fields } : {}, shape: named.shape };
|
|
285
285
|
}
|
|
286
286
|
function jsonSchemaOf(wrapper) {
|
|
@@ -317,7 +317,7 @@ function describedTool(tool, requestedToolId) {
|
|
|
317
317
|
description,
|
|
318
318
|
cost: stringField(recordField(tool, "pricing"), "displayText") || void 0,
|
|
319
319
|
guidance: [],
|
|
320
|
-
inputs:
|
|
320
|
+
inputs: _chunk2WFPHBR4js.schemaFields.call(void 0,
|
|
321
321
|
recordField(tool, "payload_schema", "payloadSchema")
|
|
322
322
|
),
|
|
323
323
|
outputs: [],
|
|
@@ -354,7 +354,7 @@ function describedTool(tool, requestedToolId) {
|
|
|
354
354
|
(path) => path.replace(/^toolResponse\.raw\./, "")
|
|
355
355
|
);
|
|
356
356
|
const node = roots.flatMap((root) => paths.map((path) => schemaNodeAt(root, path))).find(isRecord);
|
|
357
|
-
const { fields, ...typed } =
|
|
357
|
+
const { fields, ...typed } = _chunk2WFPHBR4js.schemaField.call(void 0, name, node, true);
|
|
358
358
|
const valueType = stringField(_nullishCoalesce(details.get(name), () => ( {})), "valueType");
|
|
359
359
|
const deepline = kind === "extractedValues" ? extractorValueType(name) : void 0;
|
|
360
360
|
const known = typed.type !== "unknown" ? void 0 : kind === "extractedLists" ? { type: "object[]" } : deepline;
|
|
@@ -423,17 +423,19 @@ function describedTool(tool, requestedToolId) {
|
|
|
423
423
|
],
|
|
424
424
|
rateLimit: withPlanRateLimit(
|
|
425
425
|
recordField(recordField(tool, "pricing"), "benefit").requestsPerMinute,
|
|
426
|
-
|
|
426
|
+
_chunk2WFPHBR4js.rateLimitSummary.call(void 0,
|
|
427
427
|
recordField(contract, "executionMetadata").configuredRateLimits
|
|
428
428
|
)
|
|
429
429
|
),
|
|
430
430
|
..._optionalChain([byok, 'optionalAccess', _4 => _4.required]) === true ? { byok } : {},
|
|
431
431
|
...typeof tool.connected === "boolean" ? { connected: tool.connected } : {},
|
|
432
432
|
...credentialStatus ? { credentialStatus } : {},
|
|
433
|
-
...connectCommand ? { connectCommand } : {},
|
|
434
|
-
|
|
433
|
+
...connectCommand && !_optionalChain([tool, 'access', _5 => _5.auth, 'optionalAccess', _6 => _6.connectionRequired]) ? { connectCommand } : {},
|
|
434
|
+
...tool.auth ? { auth: tool.auth } : {},
|
|
435
|
+
...tool.toolUsage ? { toolUsage: tool.toolUsage } : {},
|
|
436
|
+
inputs: _chunk2WFPHBR4js.schemaFields.call(void 0, inputSchema),
|
|
435
437
|
outputs: [...lists, ...values].map(({ field }) => field),
|
|
436
|
-
rawResponse:
|
|
438
|
+
rawResponse: _chunk2WFPHBR4js.schemaFields.call(void 0, outputSchema),
|
|
437
439
|
runner: playReference ? { via: "play", reference: playReference } : { via: "tool", toolId: String(contract.toolId), inputSchema }
|
|
438
440
|
};
|
|
439
441
|
}
|
|
@@ -599,9 +601,9 @@ function toolInputFieldsForDisplay(inputSchema) {
|
|
|
599
601
|
);
|
|
600
602
|
return fields.map((field) => {
|
|
601
603
|
const jsonSchemaField = typeof field.name === "string" ? jsonSchemaFields.get(field.name) : void 0;
|
|
602
|
-
const minItems = typeof field.minItems === "number" ? field.minItems : _optionalChain([jsonSchemaField, 'optionalAccess',
|
|
603
|
-
const maxItems = typeof field.maxItems === "number" ? field.maxItems : _optionalChain([jsonSchemaField, 'optionalAccess',
|
|
604
|
-
const items = isRecord(field.items) ? field.items : _optionalChain([jsonSchemaField, 'optionalAccess',
|
|
604
|
+
const minItems = typeof field.minItems === "number" ? field.minItems : _optionalChain([jsonSchemaField, 'optionalAccess', _7 => _7.minItems]);
|
|
605
|
+
const maxItems = typeof field.maxItems === "number" ? field.maxItems : _optionalChain([jsonSchemaField, 'optionalAccess', _8 => _8.maxItems]);
|
|
606
|
+
const items = isRecord(field.items) ? field.items : _optionalChain([jsonSchemaField, 'optionalAccess', _9 => _9.items]);
|
|
605
607
|
return {
|
|
606
608
|
...field,
|
|
607
609
|
...isRecord(items) ? { items } : {},
|
|
@@ -839,7 +841,7 @@ function formatModelDescription(description) {
|
|
|
839
841
|
function appendNamespace(lines, namespace) {
|
|
840
842
|
lines.push(`- ${namespace.provider} (${namespace.sourceSymbol})`);
|
|
841
843
|
for (const field of namespace.fields) {
|
|
842
|
-
const values = _optionalChain([field, 'access',
|
|
844
|
+
const values = _optionalChain([field, 'access', _10 => _10.enumValues, 'optionalAccess', _11 => _11.length]) ? ` (${field.enumValues.map((value) => JSON.stringify(value)).join(" | ")})` : "";
|
|
843
845
|
lines.push(
|
|
844
846
|
` - ${field.name}: ${field.type}${values} - ${field.description}`
|
|
845
847
|
);
|
|
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
|
|
|
49
49
|
// getters keep their established compatibility behavior.
|
|
50
50
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
51
51
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
52
|
-
version: "0.3.
|
|
52
|
+
version: "0.3.551",
|
|
53
53
|
updateSummary: {
|
|
54
54
|
introducedIn: "0.3.90",
|
|
55
55
|
summary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release."
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
} from "./chunk-5AEDYVB6.mjs";
|
|
4
4
|
import {
|
|
5
5
|
DeeplineClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3T65J5RG.mjs";
|
|
7
7
|
import {
|
|
8
8
|
errorToJsonPayload,
|
|
9
9
|
printCommandEnvelope,
|
|
10
10
|
resolveSdkCliFailureExitCode
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-GGB3JYCW.mjs";
|
|
12
12
|
import {
|
|
13
13
|
resolveConfig,
|
|
14
14
|
sdkCliStateDirPath
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-V6SCP4B7.mjs";
|
|
16
16
|
|
|
17
17
|
// src/cli/commands/search.ts
|
|
18
18
|
import { Option } from "commander";
|
|
@@ -134,7 +134,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
|
|
|
134
134
|
}
|
|
135
135
|
const client = new DeeplineClient();
|
|
136
136
|
const json = options.json === true;
|
|
137
|
-
const renderer = json ? void 0 : await import("./search-output-
|
|
137
|
+
const renderer = json ? void 0 : await import("./search-output-K2SWHVHQ.mjs");
|
|
138
138
|
const searches = [];
|
|
139
139
|
const chunks = [];
|
|
140
140
|
const refs = /* @__PURE__ */ new Map();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkZDQFBJPOjs = require('./chunk-ZDQFBJPO.js');
|
|
4
4
|
|
|
5
5
|
// src/cli/maintenance-policy.ts
|
|
6
6
|
var _commander = require('commander');
|
|
@@ -33,7 +33,7 @@ function recordCliTrace(event) {
|
|
|
33
33
|
sinceStartMs: now - cliTraceStartedAt,
|
|
34
34
|
...event
|
|
35
35
|
};
|
|
36
|
-
|
|
36
|
+
_chunkZDQFBJPOjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
|
|
37
37
|
`);
|
|
38
38
|
}
|
|
39
39
|
async function traceCliSpan(phase, fields, run) {
|
|
@@ -4,21 +4,21 @@ import {
|
|
|
4
4
|
resolveUpdatePlan,
|
|
5
5
|
runAutomaticUpdatePlan,
|
|
6
6
|
shouldRunCliAutoUpdate
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7WQNWJQW.mjs";
|
|
8
8
|
import {
|
|
9
9
|
isCiEnvironment,
|
|
10
10
|
syncSdkSkillsIfNeeded
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-I4VKGNAQ.mjs";
|
|
12
12
|
import {
|
|
13
13
|
addJsonNotice,
|
|
14
14
|
isJsonOutputMode
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GGB3JYCW.mjs";
|
|
16
16
|
import {
|
|
17
17
|
resolveApiKeyForBaseUrl
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-V6SCP4B7.mjs";
|
|
19
19
|
import {
|
|
20
20
|
SDK_VERSION
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-4D3WIZST.mjs";
|
|
22
22
|
|
|
23
23
|
// src/cli/compatibility-catalog.ts
|
|
24
24
|
var readers = /* @__PURE__ */ new WeakMap();
|
|
@@ -103,6 +103,7 @@ function relaunchCurrentCommand(plan, runtime = {}) {
|
|
|
103
103
|
const args = plan.kind === "python-sidecar" ? argv.slice(2) : argv.slice(1);
|
|
104
104
|
const platform = runtime.platform ?? process.platform;
|
|
105
105
|
const child = spawn(command, args, {
|
|
106
|
+
windowsHide: true,
|
|
106
107
|
stdio: "inherit",
|
|
107
108
|
// The Node executable is a native binary and must be spawned directly;
|
|
108
109
|
// passing `C:\Program Files\...\node.exe` through cmd.exe splits it
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
rateLimitSummary,
|
|
3
3
|
schemaField,
|
|
4
4
|
schemaFields
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GGGAEVCX.mjs";
|
|
6
6
|
import {
|
|
7
7
|
playToolListGetterMode
|
|
8
8
|
} from "./chunk-FR2ILQ4G.mjs";
|
|
@@ -430,7 +430,9 @@ function describedTool(tool, requestedToolId) {
|
|
|
430
430
|
...byok?.required === true ? { byok } : {},
|
|
431
431
|
...typeof tool.connected === "boolean" ? { connected: tool.connected } : {},
|
|
432
432
|
...credentialStatus ? { credentialStatus } : {},
|
|
433
|
-
...connectCommand ? { connectCommand } : {},
|
|
433
|
+
...connectCommand && !tool.auth?.connectionRequired ? { connectCommand } : {},
|
|
434
|
+
...tool.auth ? { auth: tool.auth } : {},
|
|
435
|
+
...tool.toolUsage ? { toolUsage: tool.toolUsage } : {},
|
|
434
436
|
inputs: schemaFields(inputSchema),
|
|
435
437
|
outputs: [...lists, ...values].map(({ field }) => field),
|
|
436
438
|
rawResponse: schemaFields(outputSchema),
|