deepline 0.3.516 → 0.3.518
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 +18 -0
- package/dist/bundling-sources/shared_libs/play-runtime/bounded-batch-function.ts +21 -3
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +163 -63
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/vercel-production-gate.ts +32 -5
- package/dist/bundling-sources/shared_libs/play-runtime/durable-call-policy.ts +8 -13
- package/dist/bundling-sources/shared_libs/play-runtime/durable-receipt-execution.ts +14 -0
- package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +119 -9
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +8 -2
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-session-execution.ts +12 -11
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/detached-runner-readiness-pacing.ts +44 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +16 -6
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +42 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/receipt-completion-coalescer.ts +8 -0
- package/dist/bundling-sources/shared_libs/play-runtime/tool-call/runtime-step-receipts-adapter.ts +22 -0
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +6 -7
- package/dist/cli/{artifacts-KMWS32R5.js → artifacts-EAOGAB5K.js} +21 -19
- package/dist/cli/{artifacts-G56FISIE.mjs → artifacts-LGFPVJSE.mjs} +9 -7
- package/dist/cli/auth-CLNPH65D.js +43 -0
- package/dist/cli/{auth-RSS7MOBV.mjs → auth-FXXZIWLI.mjs} +5 -5
- package/dist/cli/{billing-2ALO3XEG.mjs → billing-4Q5WAB5D.mjs} +7 -7
- package/dist/cli/{billing-RCC6WBIZ.js → billing-ESZXVREA.js} +82 -82
- package/dist/cli/{chunk-ZFRN3B2R.mjs → chunk-2DRW5ALK.mjs} +1 -1
- package/dist/cli/{chunk-YS7AI7R6.js → chunk-2G6MARKU.js} +7 -7
- package/dist/cli/{chunk-LWUFEX26.mjs → chunk-2LBKIVIW.mjs} +2 -2
- package/dist/cli/{chunk-UW5QWTUG.js → chunk-3NMQ5EIV.js} +14 -14
- package/dist/cli/{chunk-Q47MAAHI.mjs → chunk-4YR3W2YB.mjs} +1 -1
- package/dist/cli/{chunk-4IIK6GIY.js → chunk-5X4P3MNG.js} +9 -9
- package/dist/cli/{chunk-LZROM6VQ.js → chunk-6IPKRQMH.js} +2 -2
- package/dist/cli/{chunk-W5I53WQ4.js → chunk-7X32UR2E.js} +96 -96
- package/dist/cli/{chunk-6ZLL5GDN.js → chunk-B26LSUCI.js} +2 -2
- package/dist/cli/{chunk-LCKAG5RL.mjs → chunk-B2MSOFEI.mjs} +2 -2
- package/dist/cli/{chunk-RB3OR32I.js → chunk-BVQDUYXJ.js} +16 -16
- package/dist/cli/{chunk-WCQ7JGDV.mjs → chunk-DYWQ72ZQ.mjs} +1 -1
- package/dist/cli/{chunk-N6Q5SDGA.js → chunk-ENVSFG5E.js} +44 -44
- package/dist/cli/{chunk-HY6KAW5H.mjs → chunk-G6BD4K3K.mjs} +5 -5
- package/dist/cli/{chunk-7R2V5Z6O.js → chunk-GDMO6MMY.js} +41 -41
- package/dist/cli/{chunk-PPYJXP4Z.js → chunk-HIJM54NU.js} +22 -22
- package/dist/cli/{chunk-D4OZSC3C.js → chunk-HYR34KFA.js} +5 -4
- package/dist/cli/{chunk-JB6FEEDQ.js → chunk-ICHUGGZ3.js} +2 -2
- package/dist/cli/{chunk-FIIBDWAO.js → chunk-J2UOHFDH.js} +53 -53
- package/dist/cli/{chunk-72L5HQ3J.js → chunk-JKSLK5PS.js} +5 -5
- package/dist/cli/{chunk-PKKSXXZ5.js → chunk-K5GUMXRT.js} +26 -26
- package/dist/cli/{chunk-V46UBZBJ.mjs → chunk-KIYDPAGX.mjs} +2 -2
- package/dist/cli/{chunk-X2YP36YP.mjs → chunk-KP5AAMJ3.mjs} +1 -1
- package/dist/cli/{chunk-ZMCQP4EU.mjs → chunk-KQV75ZUA.mjs} +10 -10
- package/dist/cli/{chunk-QG4LIOGI.mjs → chunk-L256EFFV.mjs} +2 -2
- package/dist/cli/{chunk-E7ZM2ZRD.mjs → chunk-L4RQDVCN.mjs} +5 -5
- package/dist/cli/{chunk-CKEZXNMV.js → chunk-LLO5UYI5.js} +6 -6
- package/dist/cli/{chunk-6ADGVZRX.mjs → chunk-LTCNF6KG.mjs} +5 -5
- package/dist/cli/{chunk-WE223LFR.js → chunk-M4DA3HTT.js} +16 -16
- package/dist/cli/{chunk-RB5EMAWD.mjs → chunk-MNWLM3FA.mjs} +1 -1
- package/dist/cli/{chunk-TZNQRKDF.js → chunk-NQFVQCCV.js} +1 -1
- package/dist/cli/{chunk-72MFP7V4.mjs → chunk-QX4QFGU7.mjs} +1 -1
- package/dist/cli/{chunk-QG3MRMU5.js → chunk-R4ZEJD5F.js} +4 -4
- package/dist/cli/{chunk-JPLEDOEW.mjs → chunk-RASCFMYI.mjs} +2 -2
- package/dist/cli/{chunk-VIZJIBI4.js → chunk-REEWKGQZ.js} +10 -10
- package/dist/cli/{chunk-J4VMWSQK.mjs → chunk-RFUJBBJE.mjs} +6 -6
- package/dist/cli/{chunk-C2SR3X7Y.mjs → chunk-RYHNKT4P.mjs} +2 -2
- package/dist/cli/{chunk-QUSYG3VP.js → chunk-SNFRDG7G.js} +3 -3
- package/dist/cli/{chunk-PMS3LQ6B.js → chunk-ST7WCRVQ.js} +5 -5
- package/dist/cli/{chunk-2YEFJHAF.mjs → chunk-TH2AQ4VG.mjs} +3 -3
- package/dist/cli/{chunk-CA24C3XL.mjs → chunk-TU5RR775.mjs} +3 -3
- package/dist/cli/{chunk-QX7WDG4V.js → chunk-UY5JSZDA.js} +11 -11
- package/dist/cli/{chunk-C72J6JE3.mjs → chunk-V6DIYGTK.mjs} +1 -1
- package/dist/cli/{chunk-YXGTO5XA.mjs → chunk-VE6FHVXZ.mjs} +5 -4
- package/dist/cli/{chunk-RLI6FDQM.js → chunk-VHFICSS7.js} +6 -6
- package/dist/cli/{chunk-PVVWKOEB.mjs → chunk-W3UFYU63.mjs} +1 -1
- package/dist/cli/{chunk-EYWP5JPU.mjs → chunk-WTQF2Z6X.mjs} +4 -4
- package/dist/cli/{chunk-5NU37KME.mjs → chunk-X6H3JGOP.mjs} +2 -2
- package/dist/cli/{chunk-H6BSB2YJ.mjs → chunk-XA7OTIYW.mjs} +1 -1
- package/dist/cli/{chunk-P6AADORO.js → chunk-XJ5NVLIP.js} +3 -3
- package/dist/cli/{chunk-Z3KLCDCB.mjs → chunk-YNIH4YTR.mjs} +5 -5
- package/dist/cli/{chunk-XEQBYK4B.js → chunk-ZJ3HEEGF.js} +7 -7
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-YXK5TB47.mjs → csv-KRGEVVN7.mjs} +4 -4
- package/dist/cli/{csv-RPR64UBS.js → csv-RLFOF4P4.js} +13 -13
- package/dist/cli/{db-UQYILAMF.mjs → db-2B6G4YO3.mjs} +6 -6
- package/dist/cli/{db-KO3JCGRG.js → db-NJC3NPOL.js} +27 -27
- package/dist/cli/{describe-P2OK5X2S.mjs → describe-BLJFAM4U.mjs} +18 -18
- package/dist/cli/describe-DRMUODJN.js +50 -0
- package/dist/cli/describe-core.d.mts +3 -3
- package/dist/cli/describe-core.d.ts +3 -3
- package/dist/cli/{executions-IQCRQXVA.mjs → executions-25XYBGJ5.mjs} +6 -6
- package/dist/cli/{executions-5Z7H7HV3.js → executions-ENELLT7A.js} +8 -8
- package/dist/cli/{feedback-ZO6A4HTV.mjs → feedback-5OAKHVQE.mjs} +5 -5
- package/dist/cli/{feedback-EDZJDARP.js → feedback-UPI2JQPL.js} +10 -10
- package/dist/cli/{git-OBXSILWM.mjs → git-MRYSIZV4.mjs} +5 -5
- package/dist/cli/git-P4OPT6Q7.js +25 -0
- package/dist/cli/index.js +145 -145
- package/dist/cli/index.mjs +44 -44
- package/dist/cli/{legacy-noops-HKXU2EU6.js → legacy-noops-DHEWQKER.js} +9 -9
- package/dist/cli/{legacy-noops-4UJM3FMN.mjs → legacy-noops-OJD5KYUO.mjs} +6 -6
- package/dist/cli/{monitors-7EP3Q2DX.js → monitors-22AFKUQN.js} +100 -100
- package/dist/cli/{monitors-ZXF2KCW7.mjs → monitors-24JM24NV.mjs} +7 -7
- package/dist/cli/{org-GFGOTUWP.js → org-HNYKUDJB.js} +72 -72
- package/dist/cli/{org-EDHCUR6V.mjs → org-I2X7ZZGQ.mjs} +6 -6
- package/dist/cli/{pages-EGEWMPJN.mjs → pages-4LSYUDES.mjs} +6 -6
- package/dist/cli/{pages-TLFQQL5S.js → pages-OUSF2RNH.js} +18 -18
- package/dist/cli/{play-NBO3MPDL.mjs → play-64XKQRA4.mjs} +18 -18
- package/dist/cli/{play-XDHJY5R4.js → play-ESY43EFW.js} +317 -317
- package/dist/cli/{providers-RU6BGEDM.js → providers-ENWSSRYR.js} +9 -9
- package/dist/cli/{providers-NXJ7WPNH.mjs → providers-VHK26CSP.mjs} +6 -6
- package/dist/cli/{quickstart-YBNDPNAR.mjs → quickstart-4NNLQMD7.mjs} +4 -4
- package/dist/cli/{quickstart-4ZZBMZPF.js → quickstart-TZ6IAUMS.js} +6 -6
- package/dist/cli/{run-LX52KVZM.mjs → run-DOH3AMYU.mjs} +23 -23
- package/dist/cli/{run-374CTJBV.js → run-RR7KPWP7.js} +41 -41
- package/dist/cli/search-SE6PM33H.js +33 -0
- package/dist/cli/{search-EH6JPV62.mjs → search-YFOCGXWL.mjs} +8 -8
- package/dist/cli/{search-output-NATLJOWW.js → search-output-AOTV6C36.js} +6 -6
- package/dist/cli/{search-output-XIQERUHF.mjs → search-output-IV2HSRLQ.mjs} +4 -4
- package/dist/cli/{secrets-A3UXDE5V.js → secrets-ATPM2AXV.js} +15 -15
- package/dist/cli/{secrets-VRJQFUKF.mjs → secrets-GMFCHPTV.mjs} +6 -6
- package/dist/cli/sessions-NN3H2KSE.js +18 -0
- package/dist/cli/{sessions-5TTH5FGZ.mjs → sessions-X3M4H2WY.mjs} +6 -6
- package/dist/cli/{settings-LX5EGLVT.js → settings-4V52LMWP.js} +86 -86
- package/dist/cli/{settings-VRGFTOTJ.mjs → settings-GRXFOR5V.mjs} +13 -13
- package/dist/cli/{setup-FXP5Y3Y6.mjs → setup-63WAXGPH.mjs} +10 -10
- package/dist/cli/{setup-QL4YWKOR.js → setup-OCCXAVQL.js} +50 -50
- package/dist/cli/skills-6XXVKQP4.js +37 -0
- package/dist/cli/{skills-ET4PMBJE.mjs → skills-IVGTO4NE.mjs} +8 -8
- package/dist/cli/tools-5COWG5TH.js +57 -0
- package/dist/cli/{tools-WPL3NZAA.mjs → tools-KGHX6MLB.mjs} +17 -17
- package/dist/cli/{update-OCAHAKL2.mjs → update-2OBZ4IUJ.mjs} +10 -10
- package/dist/cli/update-SQD25OCL.js +35 -0
- package/dist/cli/{workflow-CWO3XL4O.js → workflow-HGLO4V7R.js} +17 -17
- package/dist/cli/{workflow-NPZ2RLQG.mjs → workflow-ZZOATQYV.mjs} +7 -7
- package/dist/{client-K1g4ab5Y.d.mts → client-CpSiHSti.d.mts} +1 -1
- package/dist/{client-CQSPuqxh.d.ts → client-CswZYCGj.d.ts} +1 -1
- package/dist/{client-core-BksGf5Gd.d.mts → client-core-C1xVOg8Y.d.mts} +1 -1
- package/dist/{client-core-BlaqOlQ7.d.ts → client-core-D2pLt36Q.d.ts} +1 -1
- package/dist/{compiler-manifest-BliMS7ax.d.mts → compiler-manifest-B4mIIbw7.d.mts} +3 -3
- package/dist/{compiler-manifest-BliMS7ax.d.ts → compiler-manifest-B4mIIbw7.d.ts} +3 -3
- package/dist/{errors-BZ6Zq1cz.d.mts → errors-C2F4qzAq.d.mts} +1 -1
- package/dist/{errors-xfNscfS1.d.ts → errors-Gj9i5Rkd.d.ts} +1 -1
- package/dist/{index-DbvCg4zg.d.mts → index-5JZBufdF.d.mts} +1 -1
- package/dist/{index-FGdQv8J8.d.ts → index-BXtSj8bv.d.ts} +1 -1
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +117 -116
- package/dist/plays/bundle-play-file.d.mts +3 -3
- package/dist/plays/bundle-play-file.d.ts +3 -3
- package/dist/plays/bundle-play-file.mjs +3 -4
- package/dist/plays/play-description.d.mts +2 -2
- package/dist/plays/play-description.d.ts +2 -2
- package/dist/plays/run-request.d.mts +2 -2
- package/dist/plays/run-request.d.ts +2 -2
- 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 +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/server.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-6EIEZ3UE.js +0 -43
- package/dist/cli/describe-BPX3U2BF.js +0 -50
- package/dist/cli/git-Y34J73QC.js +0 -25
- package/dist/cli/search-YS4DHSQC.js +0 -33
- package/dist/cli/sessions-EXII5VOV.js +0 -18
- package/dist/cli/skills-5L4CYX3V.js +0 -37
- package/dist/cli/tools-5V77VIUA.js +0 -57
- package/dist/cli/update-G5RSSWM5.js +0 -35
|
@@ -1,11 +1,11 @@
|
|
|
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 _chunk6IPKRQMHjs = require('./chunk-6IPKRQMH.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkENVSFG5Ejs = require('./chunk-ENVSFG5E.js');
|
|
9
9
|
|
|
10
10
|
// src/cli/play-run-admission.ts
|
|
11
11
|
function usesInlinePlayAdmission(command, args) {
|
|
@@ -18,11 +18,11 @@ function usesCliPlayAdmission(command, args) {
|
|
|
18
18
|
}
|
|
19
19
|
async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured", signal) {
|
|
20
20
|
_optionalChain([signal, 'optionalAccess', _ => _.throwIfAborted, 'call', _2 => _2()]);
|
|
21
|
-
if (maintenancePolicy !== "off")
|
|
22
|
-
const compatibility = await
|
|
21
|
+
if (maintenancePolicy !== "off") _chunkENVSFG5Ejs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
|
|
22
|
+
const compatibility = await _chunk6IPKRQMHjs.traceCliSpan.call(void 0,
|
|
23
23
|
"cli.sdk_compatibility",
|
|
24
24
|
{ baseUrl, command: "plays run" },
|
|
25
|
-
() =>
|
|
25
|
+
() => _chunkENVSFG5Ejs.checkSdkCompatibility.call(void 0, baseUrl, {
|
|
26
26
|
command: "plays run",
|
|
27
27
|
persistCache: maintenancePolicy !== "off",
|
|
28
28
|
signal
|
|
@@ -30,7 +30,7 @@ async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configure
|
|
|
30
30
|
);
|
|
31
31
|
_optionalChain([signal, 'optionalAccess', _3 => _3.throwIfAborted, 'call', _4 => _4()]);
|
|
32
32
|
if (compatibility.error) throw compatibility.error;
|
|
33
|
-
|
|
33
|
+
_chunkENVSFG5Ejs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
|
|
34
34
|
quietAdvisory: true
|
|
35
35
|
});
|
|
36
36
|
}
|
|
@@ -4,21 +4,21 @@ import {
|
|
|
4
4
|
resolveUpdatePlan,
|
|
5
5
|
runAutomaticUpdatePlan,
|
|
6
6
|
shouldRunCliAutoUpdate
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-L4RQDVCN.mjs";
|
|
8
8
|
import {
|
|
9
9
|
isCiEnvironment,
|
|
10
10
|
syncSdkSkillsIfNeeded
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-YNIH4YTR.mjs";
|
|
12
12
|
import {
|
|
13
13
|
addJsonNotice,
|
|
14
14
|
isJsonOutputMode
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-KIYDPAGX.mjs";
|
|
16
16
|
import {
|
|
17
17
|
resolveApiKeyForBaseUrl
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-2DRW5ALK.mjs";
|
|
19
19
|
import {
|
|
20
20
|
SDK_VERSION
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-W3UFYU63.mjs";
|
|
22
22
|
|
|
23
23
|
// src/cli/compatibility-catalog.ts
|
|
24
24
|
var readers = /* @__PURE__ */ new WeakMap();
|
|
@@ -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 _chunk7X32UR2Ejs = require('./chunk-7X32UR2E.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkVHFICSS7js = require('./chunk-VHFICSS7.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -14,18 +14,18 @@ var _chunkRVHUW4TNjs = require('./chunk-RVHUW4TN.js');
|
|
|
14
14
|
var _chunkNTLBZUHDjs = require('./chunk-NTLBZUHD.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkST7WCRVQjs = require('./chunk-ST7WCRVQ.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunk3NMQ5EIVjs = require('./chunk-3NMQ5EIV.js');
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkZJ3HEEGFjs = require('./chunk-ZJ3HEEGF.js');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunkSNFRDG7Gjs = require('./chunk-SNFRDG7G.js');
|
|
29
29
|
|
|
30
30
|
// src/cli/commands/describe.ts
|
|
31
31
|
var _fs = require('fs');
|
|
@@ -34,14 +34,14 @@ var _path = require('path');
|
|
|
34
34
|
// src/cli/doc-read-reporting.ts
|
|
35
35
|
var REPORT_TIMEOUT_MS = 1e3;
|
|
36
36
|
async function reportDocRead(docId) {
|
|
37
|
-
if (
|
|
37
|
+
if (_chunk3NMQ5EIVjs.isFailureReportingDisabled.call(void 0, )) return;
|
|
38
38
|
try {
|
|
39
|
-
const baseUrl =
|
|
40
|
-
const apiKey =
|
|
39
|
+
const baseUrl = _chunkSNFRDG7Gjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
40
|
+
const apiKey = _chunkSNFRDG7Gjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
|
|
41
41
|
if (!apiKey) return;
|
|
42
42
|
await fetch(new URL("/api/v2/telemetry/doc-read", baseUrl), {
|
|
43
43
|
method: "POST",
|
|
44
|
-
headers:
|
|
44
|
+
headers: _chunk3NMQ5EIVjs.failureReportHeaders.call(void 0, apiKey),
|
|
45
45
|
body: JSON.stringify({ doc_id: docId }),
|
|
46
46
|
signal: AbortSignal.timeout(REPORT_TIMEOUT_MS)
|
|
47
47
|
});
|
|
@@ -54,16 +54,16 @@ function nothingNamed(name) {
|
|
|
54
54
|
return `Nothing named "${name}". Search for it: deepline search ${JSON.stringify(name.replace(/[-_./]+/g, " "))}`;
|
|
55
55
|
}
|
|
56
56
|
function findNamed2(name, options) {
|
|
57
|
-
return _chunkRVHUW4TNjs.findNamed.call(void 0, name, options, _chunkRVHUW4TNjs.describeLookupsFor.call(void 0, new (0,
|
|
57
|
+
return _chunkRVHUW4TNjs.findNamed.call(void 0, name, options, _chunkRVHUW4TNjs.describeLookupsFor.call(void 0, new (0, _chunkST7WCRVQjs.DeeplineClient)()));
|
|
58
58
|
}
|
|
59
59
|
async function describeAnything(name, options, onMissing) {
|
|
60
|
-
const client = new (0,
|
|
60
|
+
const client = new (0, _chunkST7WCRVQjs.DeeplineClient)();
|
|
61
61
|
const lookups = _chunkRVHUW4TNjs.describeLookupsFor.call(void 0, client);
|
|
62
62
|
const outcome = await _chunkRVHUW4TNjs.describeName.call(void 0, name, options, {
|
|
63
63
|
...lookups,
|
|
64
64
|
// `tools describe` has already fetched the tool for its compatibility check.
|
|
65
65
|
tool: async (toolName) => _nullishCoalesce(options.fetchedTool, () => ( lookups.tool(toolName))),
|
|
66
|
-
seedStarterScript:
|
|
66
|
+
seedStarterScript: _chunk7X32UR2Ejs.seedToolListScript
|
|
67
67
|
});
|
|
68
68
|
if (outcome.status === "missing") {
|
|
69
69
|
if (onMissing) return onMissing();
|
|
@@ -89,18 +89,18 @@ function deliver(envelope, lines, { json, out }) {
|
|
|
89
89
|
` : text;
|
|
90
90
|
_fs.writeFileSync.call(void 0, path, content);
|
|
91
91
|
const bytes = Buffer.byteLength(content);
|
|
92
|
-
|
|
92
|
+
_chunkZJ3HEEGFjs.printCommandEnvelope.call(void 0,
|
|
93
93
|
{ path, bytes },
|
|
94
94
|
{ json, text: `Wrote ${path} (${bytes} bytes)
|
|
95
95
|
` }
|
|
96
96
|
);
|
|
97
97
|
return 0;
|
|
98
98
|
}
|
|
99
|
-
|
|
99
|
+
_chunkZJ3HEEGFjs.printCommandEnvelope.call(void 0, envelope, { json, text });
|
|
100
100
|
return 0;
|
|
101
101
|
}
|
|
102
102
|
function registerDescribeCommand(program) {
|
|
103
|
-
|
|
103
|
+
_chunkVHFICSS7js.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
|
|
104
104
|
"Describe anything search returns: a tool, monitor type, or play."
|
|
105
105
|
).addHelpText(
|
|
106
106
|
"after",
|
|
@@ -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.518",
|
|
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."
|
|
@@ -17,12 +17,12 @@ var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
|
|
|
17
17
|
var _chunkSQWET4SLjs = require('./chunk-SQWET4SL.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkNQFVQCCVjs = require('./chunk-NQFVQCCV.js');
|
|
21
21
|
|
|
22
22
|
// src/version.ts
|
|
23
|
-
var SDK_VERSION =
|
|
24
|
-
var SDK_API_MAJOR =
|
|
25
|
-
var SDK_API_CONTRACT = _nullishCoalesce(
|
|
23
|
+
var SDK_VERSION = _chunkNQFVQCCVjs.SDK_RELEASE.version;
|
|
24
|
+
var SDK_API_MAJOR = _chunkNQFVQCCVjs.SDK_RELEASE.contracts.api.currentMajor;
|
|
25
|
+
var SDK_API_CONTRACT = _nullishCoalesce(_chunkNQFVQCCVjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
|
|
26
26
|
|
|
27
27
|
// src/agent-runtime.ts
|
|
28
28
|
var _os = require('os');
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PlayClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DYWQ72ZQ.mjs";
|
|
4
4
|
import {
|
|
5
5
|
HttpClient,
|
|
6
6
|
resolveConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2DRW5ALK.mjs";
|
|
8
8
|
|
|
9
9
|
// src/plays/local-play-execution.ts
|
|
10
10
|
function importedNodes(graph) {
|
|
@@ -1,13 +1,13 @@
|
|
|
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 _chunkICHUGGZ3js = require('./chunk-ICHUGGZ3.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkZJ3HEEGFjs = require('./chunk-ZJ3HEEGF.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkR4ZEJD5Fjs = require('./chunk-R4ZEJD5F.js');
|
|
11
11
|
|
|
12
12
|
// src/cli/commands/sessions.ts
|
|
13
13
|
|
|
@@ -142,7 +142,7 @@ function currentSessionFile(agent) {
|
|
|
142
142
|
const newestFirst = listSessionFiles(agent).sort(
|
|
143
143
|
(a, b) => b.mtimeMs - a.mtimeMs
|
|
144
144
|
);
|
|
145
|
-
const sessionId =
|
|
145
|
+
const sessionId = _chunkR4ZEJD5Fjs.agentSessionIdFromEnvironment.call(void 0,
|
|
146
146
|
process.env,
|
|
147
147
|
agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
|
|
148
148
|
);
|
|
@@ -454,7 +454,7 @@ function buildSessionUploadContent(raw) {
|
|
|
454
454
|
return { encodedContent: encoded, needsChunking: true };
|
|
455
455
|
}
|
|
456
456
|
async function uploadPayload(path, payload) {
|
|
457
|
-
const { http } =
|
|
457
|
+
const { http } = _chunkZJ3HEEGFjs.getAuthedHttpClient.call(void 0, );
|
|
458
458
|
return await http.post(path, payload);
|
|
459
459
|
}
|
|
460
460
|
async function uploadChunkedSessions(sessions, options) {
|
|
@@ -487,7 +487,7 @@ async function uploadChunkedSessions(sessions, options) {
|
|
|
487
487
|
...options.rating ? { rating: options.rating } : {}
|
|
488
488
|
});
|
|
489
489
|
const sessionIds = sessions.map((session) => session.sessionId);
|
|
490
|
-
|
|
490
|
+
_chunkZJ3HEEGFjs.printCommandEnvelope.call(void 0,
|
|
491
491
|
{
|
|
492
492
|
...response,
|
|
493
493
|
ok: true,
|
|
@@ -508,7 +508,7 @@ async function uploadChunkedSessions(sessions, options) {
|
|
|
508
508
|
);
|
|
509
509
|
}
|
|
510
510
|
async function handleSessionsSend(options) {
|
|
511
|
-
if (
|
|
511
|
+
if (_chunkICHUGGZ3js.rejectRestrictedFeedback.call(void 0, options)) return;
|
|
512
512
|
const rating = parseSessionRating(options.rating);
|
|
513
513
|
if (options.file) {
|
|
514
514
|
const filePath = _path.resolve.call(void 0, options.file);
|
|
@@ -520,7 +520,7 @@ async function handleSessionsSend(options) {
|
|
|
520
520
|
filename: _path.basename.call(void 0, filePath),
|
|
521
521
|
...rating ? { rating } : {}
|
|
522
522
|
});
|
|
523
|
-
|
|
523
|
+
_chunkZJ3HEEGFjs.printCommandEnvelope.call(void 0,
|
|
524
524
|
{
|
|
525
525
|
...response2,
|
|
526
526
|
ok: true,
|
|
@@ -570,7 +570,7 @@ async function handleSessionsSend(options) {
|
|
|
570
570
|
...rating ? { rating } : {}
|
|
571
571
|
});
|
|
572
572
|
const sessionIds = built.map((session) => session.sessionId);
|
|
573
|
-
|
|
573
|
+
_chunkZJ3HEEGFjs.printCommandEnvelope.call(void 0,
|
|
574
574
|
{
|
|
575
575
|
...response,
|
|
576
576
|
ok: true,
|
|
@@ -678,7 +678,7 @@ ${refreshMeta}
|
|
|
678
678
|
</body>
|
|
679
679
|
</html>`;
|
|
680
680
|
_fs.writeFileSync.call(void 0, outputPath, html, "utf8");
|
|
681
|
-
|
|
681
|
+
_chunkZJ3HEEGFjs.printCommandEnvelope.call(void 0,
|
|
682
682
|
{
|
|
683
683
|
ok: true,
|
|
684
684
|
file: outputPath,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
seedToolListScript
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KQV75ZUA.mjs";
|
|
4
4
|
import {
|
|
5
5
|
addDescribeOptions
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QX4QFGU7.mjs";
|
|
7
7
|
import {
|
|
8
8
|
describeLookupsFor,
|
|
9
9
|
describeName,
|
|
@@ -14,18 +14,18 @@ import {
|
|
|
14
14
|
} from "./chunk-ITJ7NB2D.mjs";
|
|
15
15
|
import {
|
|
16
16
|
DeeplineClient
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-B2MSOFEI.mjs";
|
|
18
18
|
import {
|
|
19
19
|
failureReportHeaders,
|
|
20
20
|
isFailureReportingDisabled
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-2LBKIVIW.mjs";
|
|
22
22
|
import {
|
|
23
23
|
printCommandEnvelope
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-KIYDPAGX.mjs";
|
|
25
25
|
import {
|
|
26
26
|
autoDetectBaseUrl,
|
|
27
27
|
resolveApiKeyForBaseUrl
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-2DRW5ALK.mjs";
|
|
29
29
|
|
|
30
30
|
// src/cli/commands/describe.ts
|
|
31
31
|
import { writeFileSync } from "fs";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-F6QV42MC.mjs";
|
|
4
4
|
import {
|
|
5
5
|
parseLogLevel
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DYWQ72ZQ.mjs";
|
|
7
7
|
import {
|
|
8
8
|
setDottedInputValue
|
|
9
9
|
} from "./chunk-HT675XNR.mjs";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
argsWantJson,
|
|
12
12
|
jsonFieldArgs,
|
|
13
13
|
parseJsonFields
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-KIYDPAGX.mjs";
|
|
15
15
|
import {
|
|
16
16
|
DeeplineError
|
|
17
17
|
} from "./chunk-ZPGGW27Q.mjs";
|
|
@@ -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 _chunkR4ZEJD5Fjs = require('./chunk-R4ZEJD5F.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkT2N3B7IQjs = require('./chunk-T2N3B7IQ.js');
|
|
@@ -711,7 +711,7 @@ function readSkillsVersionFile(path) {
|
|
|
711
711
|
}
|
|
712
712
|
}
|
|
713
713
|
function resolveAutoSyncSkillAgents() {
|
|
714
|
-
switch (
|
|
714
|
+
switch (_chunkR4ZEJD5Fjs.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 _chunkR4ZEJD5Fjs.HttpClient {
|
|
785
785
|
constructor(config) {
|
|
786
786
|
super(config, readSdkSkillsLocalVersion);
|
|
787
787
|
}
|
|
@@ -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 _chunk2G6MARKUjs = require('./chunk-2G6MARKU.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkSNFRDG7Gjs = require('./chunk-SNFRDG7G.js');
|
|
8
8
|
|
|
9
9
|
// src/client.ts
|
|
10
|
-
var DeeplineClient2 = class extends
|
|
10
|
+
var DeeplineClient2 = class extends _chunk2G6MARKUjs.DeeplineClient {
|
|
11
11
|
constructor(options) {
|
|
12
|
-
const config =
|
|
13
|
-
super(config, new (0,
|
|
12
|
+
const config = _chunkSNFRDG7Gjs.resolveConfig.call(void 0, options);
|
|
13
|
+
super(config, new (0, _chunkSNFRDG7Gjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
16
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
rejectRestrictedFeedback
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4YR3W2YB.mjs";
|
|
4
4
|
import {
|
|
5
5
|
getAuthedHttpClient,
|
|
6
6
|
printCommandEnvelope
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KIYDPAGX.mjs";
|
|
8
8
|
import {
|
|
9
9
|
agentSessionIdFromEnvironment
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-W3UFYU63.mjs";
|
|
11
11
|
|
|
12
12
|
// src/cli/commands/sessions.ts
|
|
13
13
|
import {
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
argsWantJson,
|
|
3
3
|
openInBrowser,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-KIYDPAGX.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-2DRW5ALK.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-W3UFYU63.mjs";
|
|
33
33
|
import {
|
|
34
34
|
DeeplineError
|
|
35
35
|
} from "./chunk-ZPGGW27Q.mjs";
|
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkST7WCRVQjs = require('./chunk-ST7WCRVQ.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk3NMQ5EIVjs = require('./chunk-3NMQ5EIV.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkZJ3HEEGFjs = require('./chunk-ZJ3HEEGF.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkSNFRDG7Gjs = require('./chunk-SNFRDG7G.js');
|
|
18
18
|
|
|
19
19
|
// src/cli/commands/search.ts
|
|
20
20
|
var _commander = require('commander');
|
|
@@ -24,7 +24,7 @@ var _fs = require('fs');
|
|
|
24
24
|
var _path = require('path');
|
|
25
25
|
var SEARCH_REF_TTL_MS = 15 * 6e4;
|
|
26
26
|
function lastSearchPath() {
|
|
27
|
-
return _path.join.call(void 0,
|
|
27
|
+
return _path.join.call(void 0, _chunkSNFRDG7Gjs.sdkCliStateDirPath.call(void 0, _chunkSNFRDG7Gjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
|
|
28
28
|
}
|
|
29
29
|
function rememberSearchRef(searchRef) {
|
|
30
30
|
writeSearchRefs({ searchRef });
|
|
@@ -134,9 +134,9 @@ async function runSearch(queryInputs, options, types, exclude = []) {
|
|
|
134
134
|
console.error("--summary-width must be an integer of at least 2.");
|
|
135
135
|
return 1;
|
|
136
136
|
}
|
|
137
|
-
const client = new (0,
|
|
137
|
+
const client = new (0, _chunkST7WCRVQjs.DeeplineClient)();
|
|
138
138
|
const json = options.json === true;
|
|
139
|
-
const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-
|
|
139
|
+
const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-AOTV6C36.js")));
|
|
140
140
|
const searches = [];
|
|
141
141
|
const chunks = [];
|
|
142
142
|
const refs = /* @__PURE__ */ new Map();
|
|
@@ -159,7 +159,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
|
|
|
159
159
|
const text = _optionalChain([renderer, 'optionalAccess', _12 => _12.renderSearchResults, 'call', _13 => _13(result, summaryWidth)]);
|
|
160
160
|
if (!multiple) {
|
|
161
161
|
if (searchRef) rememberSearchRef(searchRef);
|
|
162
|
-
|
|
162
|
+
_chunkZJ3HEEGFjs.printCommandEnvelope.call(void 0, result, { json, text });
|
|
163
163
|
return 0;
|
|
164
164
|
}
|
|
165
165
|
searches.push({ ...result, query });
|
|
@@ -173,8 +173,8 @@ ${text}`);
|
|
|
173
173
|
}
|
|
174
174
|
} catch (error) {
|
|
175
175
|
if (!multiple) throw error;
|
|
176
|
-
const payload =
|
|
177
|
-
const queryExitCode = _nullishCoalesce(payload.exitCode, () => (
|
|
176
|
+
const payload = _chunkZJ3HEEGFjs.errorToJsonPayload.call(void 0, error);
|
|
177
|
+
const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunk3NMQ5EIVjs.resolveSdkCliFailureExitCode.call(void 0, error)));
|
|
178
178
|
searches.push({ ...payload, query, exitCode: queryExitCode });
|
|
179
179
|
if (!json) {
|
|
180
180
|
console.error(`${JSON.stringify(query)}: ${payload.error.message}`);
|
|
@@ -186,7 +186,7 @@ Search failed.
|
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
188
|
rememberSearchRefsByTool(refs);
|
|
189
|
-
|
|
189
|
+
_chunkZJ3HEEGFjs.printCommandEnvelope.call(void 0,
|
|
190
190
|
{ searches },
|
|
191
191
|
{
|
|
192
192
|
json,
|
|
@@ -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.518",
|
|
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."
|
|
@@ -869,8 +869,7 @@ Authoring rules:
|
|
|
869
869
|
handle fail [[cli:plays check]][[mcp:deepline_check_play]].
|
|
870
870
|
Tool calls: deepline.tools.execute({ id, tool, input, description,
|
|
871
871
|
staleAfterSeconds }). staleAfterSeconds decides whether a finished answer
|
|
872
|
-
may be reused. 0 is a fresh call
|
|
873
|
-
11; edition 11 requires you to choose). A positive number accepts a
|
|
872
|
+
may be reused. 0 is a fresh call, and leaving it out is the same as 0. A positive number accepts a
|
|
874
873
|
completed, successful answer to the same request (same workspace,
|
|
875
874
|
credential and tool version) up to that many seconds old, and otherwise
|
|
876
875
|
runs the tool. null accepts an answer of any age. A reused answer makes no
|
|
@@ -1973,7 +1972,9 @@ The sequence:
|
|
|
1973
1972
|
2. Fill it in: [[artifacts refresh <id>]] runs the Play. A scheduled Play
|
|
1974
1973
|
refreshes it automatically; every run of the Play appears in it.
|
|
1975
1974
|
3. Share it: the URL opens for workspace members by default.
|
|
1976
|
-
[[artifacts set-access <id> public]] lets anyone with the URL open it
|
|
1975
|
+
[[artifacts set-access <id> public]] lets anyone with the URL open it and
|
|
1976
|
+
see the output of every run of its Play, including runs started outside
|
|
1977
|
+
the artifact (by hand, on a schedule, or from the CLI).
|
|
1977
1978
|
4. Manage it: [[artifacts list]], [[artifacts get <id>]],
|
|
1978
1979
|
[[artifacts edit <id>]], [[artifacts runs <id>]], [[artifacts delete <id>]].
|
|
1979
1980
|
Buttons in HTML output:
|
|
@@ -1988,7 +1989,7 @@ Permissions:
|
|
|
1988
1989
|
Cost:
|
|
1989
1990
|
Artifacts are free. Refresh and buttons start ordinary Play runs.
|
|
1990
1991
|
Avoid:
|
|
1991
|
-
Do not return secrets
|
|
1992
|
+
Do not return secrets from a Play behind a public artifact, in any run. Do not create a
|
|
1992
1993
|
new artifact per run; one artifact keeps every run.
|
|
1993
1994
|
`
|
|
1994
1995
|
},
|
|
@@ -8,7 +8,7 @@ var _chunkNTLBZUHDjs = require('./chunk-NTLBZUHD.js');
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkZJ3HEEGFjs = require('./chunk-ZJ3HEEGF.js');
|
|
12
12
|
|
|
13
13
|
// src/cli/describe-options.ts
|
|
14
14
|
function addDescribeOptions(command, options = {}) {
|
|
@@ -249,7 +249,7 @@ function projectRunDatasetCell(value) {
|
|
|
249
249
|
const logicalValue = parseSerializedDatasetValue(value);
|
|
250
250
|
if (logicalValue === null || logicalValue === void 0) return logicalValue;
|
|
251
251
|
if (typeof logicalValue === "object") {
|
|
252
|
-
return
|
|
252
|
+
return _chunkZJ3HEEGFjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
|
|
253
253
|
}
|
|
254
254
|
return logicalValue;
|
|
255
255
|
}
|
|
@@ -641,7 +641,7 @@ function csvText(rows, columns = []) {
|
|
|
641
641
|
rows: rows.map((row) => record(row) ? row : { value: row }),
|
|
642
642
|
columns
|
|
643
643
|
});
|
|
644
|
-
return
|
|
644
|
+
return _chunkZJ3HEEGFjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
|
|
645
645
|
}
|
|
646
646
|
function writeExecutionOutput(result, options, { skipReceiptFile = false } = {}) {
|
|
647
647
|
let temp;
|
|
@@ -768,7 +768,7 @@ function writeExecutionOutput(result, options, { skipReceiptFile = false } = {})
|
|
|
768
768
|
};
|
|
769
769
|
if (options.receiptOut && !skipReceiptFile) {
|
|
770
770
|
persist(options.receiptOut, jsonText(receipt));
|
|
771
|
-
|
|
771
|
+
_chunkZJ3HEEGFjs.markJsonOutputHandled.call(void 0, );
|
|
772
772
|
} else {
|
|
773
773
|
printReceipt(receipt, options, {
|
|
774
774
|
data: hasData ? result.data : void 0,
|
|
@@ -1027,8 +1027,8 @@ function printReceipt(receipt, options, extra) {
|
|
|
1027
1027
|
const text = options.receiptJson ? `${JSON.stringify(receipt, null, 2)}
|
|
1028
1028
|
` : receiptText(receipt, options, extra);
|
|
1029
1029
|
if (options.receiptOut !== void 0) {
|
|
1030
|
-
|
|
1031
|
-
|
|
1030
|
+
_chunkZJ3HEEGFjs.writeRawStderr.call(void 0, text);
|
|
1031
|
+
_chunkZJ3HEEGFjs.markJsonOutputHandled.call(void 0, );
|
|
1032
1032
|
} else {
|
|
1033
1033
|
(dataOnStdout(options) ? process.stderr : process.stdout).write(text);
|
|
1034
1034
|
}
|
|
@@ -11,20 +11,20 @@ import {
|
|
|
11
11
|
skillsInstallLeasePath,
|
|
12
12
|
skillsSourceUrl,
|
|
13
13
|
syncSdkSkillsIfNeeded
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YNIH4YTR.mjs";
|
|
15
15
|
import {
|
|
16
16
|
printCommandEnvelope
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-KIYDPAGX.mjs";
|
|
18
18
|
import {
|
|
19
19
|
autoDetectBaseUrl,
|
|
20
20
|
ensureProjectPrivatePathsIgnored,
|
|
21
21
|
resolveProjectPinTarget,
|
|
22
22
|
sdkCliStateDirPath
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-2DRW5ALK.mjs";
|
|
24
24
|
import {
|
|
25
25
|
SDK_VERSION,
|
|
26
26
|
detectAgentRuntime
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-W3UFYU63.mjs";
|
|
28
28
|
import {
|
|
29
29
|
DEEPLINE_GTM_GLOBAL_SKILL_ROOTS
|
|
30
30
|
} from "./chunk-5JPKRDFC.mjs";
|