deepline 0.3.483 → 0.3.484
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/monitors/signal-radars/inbound-dead-letter.ts +100 -9
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/ambiguous-modal-create-state.ts +21 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/compute-billing-job-state.ts +23 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/integration-operation-value-retirement-state.ts +25 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/integration-operation-value-retirement.ts +15 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/outbox-repair-operation-state.ts +30 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +95 -33
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +9 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/sandbox-cleanup-job-state.ts +23 -0
- package/dist/bundling-sources/shared_libs/product-notifications/destination-state.ts +93 -0
- package/dist/cli/{auth-2NXF6Q3Q.mjs → auth-EBFOTF7X.mjs} +5 -5
- package/dist/cli/auth-L5CSV3UO.js +43 -0
- package/dist/cli/{billing-W2Y4EOZP.mjs → billing-2ZOIMW5V.mjs} +6 -6
- package/dist/cli/{billing-5PW4L5WD.js → billing-G2G3EF3I.js} +79 -79
- package/dist/cli/{chunk-2MKX3HV3.js → chunk-2AWYJXBX.js} +5 -5
- package/dist/cli/{chunk-5LHU7NUS.js → chunk-3XQIVEAT.js} +3 -3
- package/dist/cli/{chunk-C3LJSOQ6.mjs → chunk-4OEOM6GP.mjs} +4 -4
- package/dist/cli/{chunk-7APXZ3CX.mjs → chunk-4OVHIWE7.mjs} +2 -2
- package/dist/cli/{chunk-EDMCD7MX.mjs → chunk-4SFC2XUF.mjs} +5 -5
- package/dist/cli/{chunk-JYEZ6BWX.mjs → chunk-5GOG5ZGC.mjs} +2 -2
- package/dist/cli/{chunk-ISP7ZENV.mjs → chunk-5K5CAND4.mjs} +4 -4
- package/dist/cli/{chunk-DS455RPF.js → chunk-5KNRQWHE.js} +3 -3
- package/dist/cli/{chunk-XRIQN6EP.js → chunk-6GRZEYSG.js} +7 -7
- package/dist/cli/{chunk-YL64JIQ7.mjs → chunk-6NPWXE32.mjs} +1 -1
- package/dist/cli/{chunk-NREZRYPU.mjs → chunk-7K5CWKKZ.mjs} +2 -2
- package/dist/cli/{chunk-FAZTLYJO.mjs → chunk-AF7MOUZP.mjs} +2 -2
- package/dist/cli/{chunk-5JCXS4MP.js → chunk-C62NI2X6.js} +5 -5
- package/dist/cli/{chunk-MYB6JVSD.js → chunk-CYWBAV5H.js} +16 -16
- package/dist/cli/{chunk-7TKLISLM.js → chunk-DBJ62RAO.js} +3 -3
- package/dist/cli/{chunk-4X23YY2E.mjs → chunk-DEXSQGXB.mjs} +5 -5
- package/dist/cli/{chunk-GGJQ4HJW.mjs → chunk-EACX7QXO.mjs} +2 -2
- package/dist/cli/{chunk-2JWG2H2N.js → chunk-FQK7BULS.js} +1 -1
- package/dist/cli/{chunk-T5GZZJ7O.js → chunk-FRD5WFT4.js} +6 -6
- package/dist/cli/{chunk-SCPFOH5Z.mjs → chunk-HEI3BWIV.mjs} +1 -1
- package/dist/cli/{chunk-B7HQL77V.js → chunk-IXWQOVNW.js} +53 -53
- package/dist/cli/{chunk-PHDEQ6W3.js → chunk-KA2LNIUP.js} +6 -6
- package/dist/cli/{chunk-WI2HNYQX.js → chunk-KGOC6HGI.js} +53 -53
- package/dist/cli/{chunk-JJSLEMQQ.mjs → chunk-LTZXLYKE.mjs} +1 -1
- package/dist/cli/{chunk-UGBZ6MCR.js → chunk-M4PG7FGC.js} +2 -2
- package/dist/cli/{chunk-QSYA6VE4.js → chunk-NW4QJE54.js} +2 -2
- package/dist/cli/{chunk-UY7OXFVU.js → chunk-OHKKDPA5.js} +10 -10
- package/dist/cli/{chunk-J7S3DJB4.mjs → chunk-PU52JXKA.mjs} +2 -2
- package/dist/cli/{chunk-VFEW53L5.js → chunk-QIDDTIVZ.js} +93 -93
- package/dist/cli/{chunk-62XGOB2D.js → chunk-RLLEH2SP.js} +26 -26
- package/dist/cli/{chunk-AWAFYRFV.mjs → chunk-TIRSKEZH.mjs} +1 -1
- package/dist/cli/{chunk-EGHYGTJM.mjs → chunk-TN2GW57M.mjs} +1 -1
- package/dist/cli/{chunk-FK47YUPC.mjs → chunk-TRLDJNVE.mjs} +1 -1
- package/dist/cli/{chunk-GONUMUBM.js → chunk-U7IJAGWB.js} +7 -7
- package/dist/cli/{chunk-WKB6Y43W.js → chunk-UKM74PAA.js} +37 -37
- package/dist/cli/{chunk-75IIHFN6.js → chunk-UT4YMA2N.js} +4 -4
- package/dist/cli/{chunk-2T4OSJEH.js → chunk-UWOY74RU.js} +21 -21
- package/dist/cli/{chunk-FGEC5SWP.mjs → chunk-V7JCMBLU.mjs} +4 -4
- package/dist/cli/{chunk-5ICAG4RE.js → chunk-VEVGM6B5.js} +9 -9
- package/dist/cli/{chunk-25IGCYJP.mjs → chunk-WXRM3UC6.mjs} +3 -3
- package/dist/cli/{chunk-GRE3ID5E.mjs → chunk-WYUCDLVR.mjs} +1 -1
- package/dist/cli/{chunk-IEV5UWPN.mjs → chunk-XZXIWPT3.mjs} +1 -1
- package/dist/cli/{chunk-S24CK3CJ.mjs → chunk-YGN77QA5.mjs} +2 -2
- package/dist/cli/{chunk-PRL7EKJZ.mjs → chunk-YHA3EV3I.mjs} +4 -4
- package/dist/cli/{chunk-UDF2CY4D.mjs → chunk-YWC5AN26.mjs} +10 -10
- package/dist/cli/{chunk-R2OR4RHV.js → chunk-ZOKM7DVA.js} +8 -8
- package/dist/cli/{csv-DIFVIR23.mjs → csv-NLWVWD3H.mjs} +4 -4
- package/dist/cli/{csv-EKEFLUIW.js → csv-S3CHUKI6.js} +13 -13
- package/dist/cli/{db-DOW4EVEU.mjs → db-OGRPAEEM.mjs} +6 -6
- package/dist/cli/{db-S7DDRUHX.js → db-WBSKMMOH.js} +27 -27
- package/dist/cli/{describe-KSZFOWKV.mjs → describe-FAD3Z7LN.mjs} +17 -17
- package/dist/cli/describe-UIAYCHWW.js +49 -0
- package/dist/cli/{executions-CAG7YC5K.mjs → executions-LYCL344R.mjs} +6 -6
- package/dist/cli/{executions-3DU5IXB6.js → executions-SOAZHCY4.js} +8 -8
- package/dist/cli/{feedback-BQMPTE47.mjs → feedback-AVF6V7SV.mjs} +4 -4
- package/dist/cli/{feedback-I65JMCP2.js → feedback-OROUPUNJ.js} +8 -8
- package/dist/cli/git-ATMWC27D.js +25 -0
- package/dist/cli/{git-UQUCD7XZ.mjs → git-J5N5M57H.mjs} +5 -5
- package/dist/cli/index.js +138 -138
- package/dist/cli/index.mjs +40 -40
- package/dist/cli/{legacy-noops-JXKLHUI3.mjs → legacy-noops-ENRRM7BL.mjs} +5 -5
- package/dist/cli/{legacy-noops-OLNT2BG5.js → legacy-noops-QAQMZMEG.js} +8 -8
- package/dist/cli/{monitors-DLTHHAFQ.mjs → monitors-CKQ65WRL.mjs} +7 -7
- package/dist/cli/{monitors-Z5X56AZN.js → monitors-SFMQ5LFR.js} +91 -91
- package/dist/cli/{org-XBHJLKUG.js → org-3UNTDLT2.js} +72 -72
- package/dist/cli/{org-6EZZHD3M.mjs → org-K4UIEU5P.mjs} +6 -6
- package/dist/cli/{pages-MYXROSVK.mjs → pages-6GPGBIAH.mjs} +6 -6
- package/dist/cli/{pages-XVJ34SCN.js → pages-NKZTGB4C.js} +17 -17
- package/dist/cli/{play-5PV4LAHE.mjs → play-62BEE7IX.mjs} +17 -17
- package/dist/cli/{play-ACC4T2XQ.js → play-BDEADESI.js} +309 -309
- package/dist/cli/{providers-JCI3KNE4.js → providers-SXGP44GH.js} +9 -9
- package/dist/cli/{providers-2DLUGIFF.mjs → providers-X3CUWMFP.mjs} +6 -6
- package/dist/cli/{quickstart-NSL3C76K.mjs → quickstart-7LN22BKX.mjs} +4 -4
- package/dist/cli/{quickstart-PDSQEDLD.js → quickstart-XQ4426M4.js} +6 -6
- package/dist/cli/{run-UCFMHOQC.js → run-PBJ4ZJ4W.js} +36 -36
- package/dist/cli/{run-X5MXCM4P.mjs → run-XXSN3B5A.mjs} +22 -22
- package/dist/cli/search-IGHLRLBD.js +32 -0
- package/dist/cli/{search-RPEMXV6N.mjs → search-M75VMADD.mjs} +7 -7
- package/dist/cli/{search-output-MZH3HLVE.js → search-output-F6HCFYEI.js} +6 -6
- package/dist/cli/{search-output-6UO47B7G.mjs → search-output-NUQAKWDM.mjs} +4 -4
- package/dist/cli/{secrets-NLEQURD3.mjs → secrets-J2H6V33R.mjs} +6 -6
- package/dist/cli/{secrets-UFBASYGY.js → secrets-LRYY4QPE.js} +15 -15
- package/dist/cli/{sessions-3ALFLWVU.mjs → sessions-IMT336UV.mjs} +5 -5
- package/dist/cli/{sessions-JYH4DBEE.js → sessions-YPF62CZE.js} +6 -6
- package/dist/cli/{settings-MQYKNAMB.js → settings-35YYC5WA.js} +78 -78
- package/dist/cli/{settings-YPRILREA.mjs → settings-PDWVQIGH.mjs} +11 -11
- package/dist/cli/{setup-DK4GM227.mjs → setup-DG5DISSE.mjs} +9 -9
- package/dist/cli/{setup-5IGSHH4E.js → setup-UR7GOR7H.js} +47 -47
- package/dist/cli/skills-4U5WC4MJ.js +33 -0
- package/dist/cli/{skills-KYBZH3IT.mjs → skills-U6NJD5J7.mjs} +7 -7
- package/dist/cli/{tools-4B2MHNBN.mjs → tools-2HGEOELR.mjs} +16 -16
- package/dist/cli/tools-PYJTQVVS.js +56 -0
- package/dist/cli/update-344OTRFM.js +33 -0
- package/dist/cli/{update-S6VEO7NB.mjs → update-FRAYBAHK.mjs} +9 -9
- package/dist/cli/{workflow-KXZZYFEF.mjs → workflow-DDKVTF36.mjs} +7 -7
- package/dist/cli/{workflow-FU2XVPUK.js → workflow-JKKLOMBX.js} +17 -17
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +104 -98
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/dist/server.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-JHQKM6QY.js +0 -43
- package/dist/cli/describe-RXYQCJRR.js +0 -49
- package/dist/cli/git-ADIABNMQ.js +0 -25
- package/dist/cli/search-YILJZD36.js +0 -32
- package/dist/cli/skills-I4IUZN3U.js +0 -33
- package/dist/cli/tools-NLZR7ABS.js +0 -56
- package/dist/cli/update-RVDEUJTE.js +0 -33
|
@@ -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 _chunkFRD5WFT4js = require('./chunk-FRD5WFT4.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk3XQIVEATjs = require('./chunk-3XQIVEAT.js');
|
|
8
8
|
|
|
9
9
|
// src/client.ts
|
|
10
|
-
var DeeplineClient2 = class extends
|
|
10
|
+
var DeeplineClient2 = class extends _chunkFRD5WFT4js.DeeplineClient {
|
|
11
11
|
constructor(options) {
|
|
12
|
-
const config =
|
|
13
|
-
super(config, new (0,
|
|
12
|
+
const config = _chunk3XQIVEATjs.resolveConfig.call(void 0, options);
|
|
13
|
+
super(config, new (0, _chunk3XQIVEATjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
16
|
|
|
@@ -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 _chunkUT4YMA2Njs = require('./chunk-UT4YMA2N.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
|
|
@@ -711,7 +711,7 @@ function readSkillsVersionFile(path) {
|
|
|
711
711
|
}
|
|
712
712
|
}
|
|
713
713
|
function resolveAutoSyncSkillAgents() {
|
|
714
|
-
switch (
|
|
714
|
+
switch (_chunkUT4YMA2Njs.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 _chunkUT4YMA2Njs.HttpClient {
|
|
785
785
|
constructor(config) {
|
|
786
786
|
super(config, readSdkSkillsLocalVersion);
|
|
787
787
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
seedToolListScript
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YWC5AN26.mjs";
|
|
4
4
|
import {
|
|
5
5
|
addDescribeOptions
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TIRSKEZH.mjs";
|
|
7
7
|
import {
|
|
8
8
|
describeLookupsFor,
|
|
9
9
|
describeName,
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
} from "./chunk-JVHOS3K3.mjs";
|
|
15
15
|
import {
|
|
16
16
|
DeeplineClient
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-4OVHIWE7.mjs";
|
|
18
18
|
import {
|
|
19
19
|
printCommandEnvelope
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-7K5CWKKZ.mjs";
|
|
21
21
|
|
|
22
22
|
// src/cli/commands/describe.ts
|
|
23
23
|
import { writeFileSync } from "fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LTZXLYKE.mjs";
|
|
4
4
|
import {
|
|
5
5
|
HttpClient,
|
|
6
6
|
resolveConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TRLDJNVE.mjs";
|
|
8
8
|
|
|
9
9
|
// src/client.ts
|
|
10
10
|
var DeeplineClient2 = class extends DeeplineClient {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
npmSupportsAllowScripts,
|
|
3
3
|
readNpmVersion
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XZXIWPT3.mjs";
|
|
5
5
|
import {
|
|
6
6
|
runSkillsCommand
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-V7JCMBLU.mjs";
|
|
8
8
|
import {
|
|
9
9
|
resolveShellSpawn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YHA3EV3I.mjs";
|
|
11
11
|
import {
|
|
12
12
|
printCommandEnvelope
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7K5CWKKZ.mjs";
|
|
14
14
|
import {
|
|
15
15
|
autoDetectBaseUrl
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-TRLDJNVE.mjs";
|
|
17
17
|
|
|
18
18
|
// src/cli/commands/update.ts
|
|
19
19
|
import { spawn, spawnSync } from "child_process";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getAuthedHttpClient,
|
|
3
3
|
printCommandEnvelope
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7K5CWKKZ.mjs";
|
|
5
5
|
import {
|
|
6
6
|
agentSessionIdFromEnvironment
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WYUCDLVR.mjs";
|
|
8
8
|
|
|
9
9
|
// src/cli/commands/sessions.ts
|
|
10
10
|
import {
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
} from "./chunk-5AEDYVB6.mjs";
|
|
4
4
|
import {
|
|
5
5
|
DeeplineClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4OVHIWE7.mjs";
|
|
7
7
|
import {
|
|
8
8
|
printCommandEnvelope
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7K5CWKKZ.mjs";
|
|
10
10
|
import {
|
|
11
11
|
resolveConfig,
|
|
12
12
|
sdkCliStateDirPath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-TRLDJNVE.mjs";
|
|
14
14
|
|
|
15
15
|
// src/cli/commands/search.ts
|
|
16
16
|
import { Option } from "commander";
|
|
@@ -132,7 +132,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
|
|
|
132
132
|
});
|
|
133
133
|
if (searchRef) rememberSearchRef(searchRef);
|
|
134
134
|
pointAtDescribe(result);
|
|
135
|
-
const { renderSearchResults } = await import("./search-output-
|
|
135
|
+
const { renderSearchResults } = await import("./search-output-NUQAKWDM.mjs");
|
|
136
136
|
printCommandEnvelope(result, {
|
|
137
137
|
json: options.json === true,
|
|
138
138
|
text: renderSearchResults(result, summaryWidth)
|
|
@@ -1,6 +1,6 @@
|
|
|
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; } var _class;
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkU7IJAGWBjs = require('./chunk-U7IJAGWB.js');
|
|
4
4
|
|
|
5
5
|
// src/cli/progress.ts
|
|
6
6
|
var _worker_threads = require('worker_threads');
|
|
@@ -17,7 +17,7 @@ var CliProgress = (_class = class {
|
|
|
17
17
|
|
|
18
18
|
// --json output is one JSON document: progress never renders under it.
|
|
19
19
|
constructor(enabled) {;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);_class.prototype.__init4.call(this);_class.prototype.__init5.call(this);_class.prototype.__init6.call(this);_class.prototype.__init7.call(this);_class.prototype.__init8.call(this);
|
|
20
|
-
this.enabled = enabled && !
|
|
20
|
+
this.enabled = enabled && !_chunkU7IJAGWBjs.isJsonOutputMode.call(void 0, );
|
|
21
21
|
}
|
|
22
22
|
setLogWriter(writer) {
|
|
23
23
|
this.logWriter = writer;
|
|
@@ -49,7 +49,7 @@ var CliProgress = (_class = class {
|
|
|
49
49
|
this.logWriter(line);
|
|
50
50
|
return;
|
|
51
51
|
}
|
|
52
|
-
if (
|
|
52
|
+
if (_chunkU7IJAGWBjs.isJsonOutputMode.call(void 0, )) return;
|
|
53
53
|
if (!this.enabled) {
|
|
54
54
|
process.stderr.write(`${line}
|
|
55
55
|
`);
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk2AWYJXBXjs = require('./chunk-2AWYJXBX.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkU7IJAGWBjs = require('./chunk-U7IJAGWB.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunk3XQIVEATjs = require('./chunk-3XQIVEAT.js');
|
|
14
14
|
|
|
15
15
|
// src/cli/commands/search.ts
|
|
16
16
|
var _commander = require('commander');
|
|
@@ -20,7 +20,7 @@ var _fs = require('fs');
|
|
|
20
20
|
var _path = require('path');
|
|
21
21
|
var SEARCH_REF_TTL_MS = 15 * 6e4;
|
|
22
22
|
function lastSearchPath() {
|
|
23
|
-
return _path.join.call(void 0,
|
|
23
|
+
return _path.join.call(void 0, _chunk3XQIVEATjs.sdkCliStateDirPath.call(void 0, _chunk3XQIVEATjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
|
|
24
24
|
}
|
|
25
25
|
function rememberSearchRef(searchRef) {
|
|
26
26
|
try {
|
|
@@ -118,7 +118,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
|
|
|
118
118
|
console.error("--summary-width must be an integer of at least 2.");
|
|
119
119
|
return 1;
|
|
120
120
|
}
|
|
121
|
-
const { search_ref: searchRef, ...result } = await new (0,
|
|
121
|
+
const { search_ref: searchRef, ...result } = await new (0, _chunk2AWYJXBXjs.DeeplineClient)().search({
|
|
122
122
|
query,
|
|
123
123
|
types,
|
|
124
124
|
exclude,
|
|
@@ -132,8 +132,8 @@ async function runSearch(queryInput, options, types, exclude = []) {
|
|
|
132
132
|
});
|
|
133
133
|
if (searchRef) rememberSearchRef(searchRef);
|
|
134
134
|
pointAtDescribe(result);
|
|
135
|
-
const { renderSearchResults } = await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-
|
|
136
|
-
|
|
135
|
+
const { renderSearchResults } = await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-F6HCFYEI.js")));
|
|
136
|
+
_chunkU7IJAGWBjs.printCommandEnvelope.call(void 0, result, {
|
|
137
137
|
json: options.json === true,
|
|
138
138
|
text: renderSearchResults(result, summaryWidth)
|
|
139
139
|
});
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
HttpClient,
|
|
3
3
|
resolveCliCommandContext,
|
|
4
4
|
resolveConfig
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-TRLDJNVE.mjs";
|
|
6
6
|
import {
|
|
7
7
|
detectAgentRuntime
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WYUCDLVR.mjs";
|
|
9
9
|
import {
|
|
10
10
|
DeeplineError,
|
|
11
11
|
serializeToolExecutionFailure
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PlayClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LTZXLYKE.mjs";
|
|
4
4
|
import {
|
|
5
5
|
HttpClient,
|
|
6
6
|
resolveConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TRLDJNVE.mjs";
|
|
8
8
|
|
|
9
9
|
// src/plays/local-play-execution.ts
|
|
10
10
|
function importedNodes(graph) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkFRD5WFT4js = require('./chunk-FRD5WFT4.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk3XQIVEATjs = require('./chunk-3XQIVEAT.js');
|
|
8
8
|
|
|
9
9
|
// src/plays/local-play-execution.ts
|
|
10
10
|
function importedNodes(graph) {
|
|
@@ -137,9 +137,9 @@ async function pinLocalPlayImports(client, graph) {
|
|
|
137
137
|
|
|
138
138
|
// src/plays/client.ts
|
|
139
139
|
function createPlayClient(options) {
|
|
140
|
-
const config =
|
|
141
|
-
return new (0,
|
|
142
|
-
new (0,
|
|
140
|
+
const config = _chunk3XQIVEATjs.resolveConfig.call(void 0, options);
|
|
141
|
+
return new (0, _chunkFRD5WFT4js.PlayClient)(
|
|
142
|
+
new (0, _chunk3XQIVEATjs.HttpClient)(config),
|
|
143
143
|
_nullishCoalesce(config.environment, () => ( process.env))
|
|
144
144
|
);
|
|
145
145
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
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 _chunkM4PG7FGCjs = require('./chunk-M4PG7FGC.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkUKM74PAAjs = require('./chunk-UKM74PAA.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkIXWQOVNWjs = require('./chunk-IXWQOVNW.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkU7IJAGWBjs = require('./chunk-U7IJAGWB.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunk3XQIVEATjs = require('./chunk-3XQIVEAT.js');
|
|
17
17
|
|
|
18
18
|
// src/cli/commands/update.ts
|
|
19
19
|
var _child_process = require('child_process');
|
|
@@ -495,7 +495,7 @@ function normalizedNpmPrefix(value) {
|
|
|
495
495
|
}
|
|
496
496
|
function resolveNpmGlobalPrefix(env) {
|
|
497
497
|
try {
|
|
498
|
-
const plan =
|
|
498
|
+
const plan = _chunkIXWQOVNWjs.resolveShellSpawn.call(void 0,
|
|
499
499
|
"npm",
|
|
500
500
|
["prefix", "-g"],
|
|
501
501
|
process.platform,
|
|
@@ -556,8 +556,8 @@ function resolveUpdatePlan(options = {}) {
|
|
|
556
556
|
const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
|
|
557
557
|
const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
|
|
558
558
|
const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
|
|
559
|
-
const npmVersion = options.npmVersion === void 0 ?
|
|
560
|
-
const npmGlobalInstallFlags =
|
|
559
|
+
const npmVersion = options.npmVersion === void 0 ? _chunkM4PG7FGCjs.readNpmVersion.call(void 0, env) : options.npmVersion;
|
|
560
|
+
const npmGlobalInstallFlags = _chunkM4PG7FGCjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
|
|
561
561
|
const args = installPrefix ? [
|
|
562
562
|
"install",
|
|
563
563
|
"-g",
|
|
@@ -567,7 +567,7 @@ function resolveUpdatePlan(options = {}) {
|
|
|
567
567
|
packageSpec
|
|
568
568
|
] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
|
|
569
569
|
const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
|
|
570
|
-
_optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) ||
|
|
570
|
+
_optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunk3XQIVEATjs.autoDetectBaseUrl.call(void 0, )
|
|
571
571
|
);
|
|
572
572
|
return {
|
|
573
573
|
kind: "npm-global",
|
|
@@ -816,7 +816,7 @@ function sidecarInstallFailure(versionDir) {
|
|
|
816
816
|
function runCommand(command, args, env = process.env) {
|
|
817
817
|
return new Promise((resolveResult) => {
|
|
818
818
|
let output = "";
|
|
819
|
-
const plan =
|
|
819
|
+
const plan = _chunkIXWQOVNWjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
|
|
820
820
|
const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
|
|
821
821
|
stdio: ["inherit", "pipe", "pipe"],
|
|
822
822
|
shell: plan.shell,
|
|
@@ -1199,14 +1199,14 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl) {
|
|
|
1199
1199
|
throw _nullishCoalesce(lastError, () => ( new Error("No npm registry was available")));
|
|
1200
1200
|
}
|
|
1201
1201
|
async function runUpdateCommand(options, dependencies = {}) {
|
|
1202
|
-
const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => (
|
|
1202
|
+
const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunk3XQIVEATjs.autoDetectBaseUrl));
|
|
1203
1203
|
const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
|
|
1204
1204
|
const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
|
|
1205
1205
|
const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
|
|
1206
1206
|
const originalWrite = process.stdout.write.bind(process.stdout);
|
|
1207
1207
|
process.stdout.write = (() => true);
|
|
1208
1208
|
try {
|
|
1209
|
-
const exitCode = await
|
|
1209
|
+
const exitCode = await _chunkUKM74PAAjs.runSkillsCommand.call(void 0, { json: true });
|
|
1210
1210
|
if (exitCode !== 0) {
|
|
1211
1211
|
throw new Error(
|
|
1212
1212
|
`Deepline skills update failed with exit ${exitCode}.`
|
|
@@ -1277,11 +1277,11 @@ async function runUpdateCommand(options, dependencies = {}) {
|
|
|
1277
1277
|
]
|
|
1278
1278
|
};
|
|
1279
1279
|
if (options.json && !options.executeWithJson) {
|
|
1280
|
-
|
|
1280
|
+
_chunkU7IJAGWBjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
|
|
1281
1281
|
return 0;
|
|
1282
1282
|
}
|
|
1283
1283
|
if (options.printCommand) {
|
|
1284
|
-
|
|
1284
|
+
_chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
|
|
1285
1285
|
{
|
|
1286
1286
|
...plan,
|
|
1287
1287
|
render: {
|
|
@@ -1294,7 +1294,7 @@ async function runUpdateCommand(options, dependencies = {}) {
|
|
|
1294
1294
|
return 0;
|
|
1295
1295
|
}
|
|
1296
1296
|
if (plan.kind === "source" || plan.kind === "homebrew") {
|
|
1297
|
-
|
|
1297
|
+
_chunkU7IJAGWBjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
|
|
1298
1298
|
return 0;
|
|
1299
1299
|
}
|
|
1300
1300
|
stderr.write(`Updating Deepline SDK/CLI with: ${plan.manualCommand}
|
|
@@ -1324,7 +1324,7 @@ To retry with full installer output, run: deepline skills
|
|
|
1324
1324
|
);
|
|
1325
1325
|
}
|
|
1326
1326
|
if (options.executeWithJson && options.json) {
|
|
1327
|
-
|
|
1327
|
+
_chunkU7IJAGWBjs.printCommandEnvelope.call(void 0,
|
|
1328
1328
|
{
|
|
1329
1329
|
ok: true,
|
|
1330
1330
|
pinnedVersion
|
|
@@ -6,7 +6,7 @@ var _chunkIAYSWZDJjs = require('./chunk-IAYSWZDJ.js');
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkU7IJAGWBjs = require('./chunk-U7IJAGWB.js');
|
|
10
10
|
|
|
11
11
|
// src/cli/describe-options.ts
|
|
12
12
|
function addDescribeOptions(command, options = {}) {
|
|
@@ -247,7 +247,7 @@ function projectRunDatasetCell(value) {
|
|
|
247
247
|
const logicalValue = parseSerializedDatasetValue(value);
|
|
248
248
|
if (logicalValue === null || logicalValue === void 0) return logicalValue;
|
|
249
249
|
if (typeof logicalValue === "object") {
|
|
250
|
-
return
|
|
250
|
+
return _chunkU7IJAGWBjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
|
|
251
251
|
}
|
|
252
252
|
return logicalValue;
|
|
253
253
|
}
|
|
@@ -642,7 +642,7 @@ function csvText(rows, columns = []) {
|
|
|
642
642
|
rows: rows.map((row) => record(row) ? row : { value: row }),
|
|
643
643
|
columns
|
|
644
644
|
});
|
|
645
|
-
return
|
|
645
|
+
return _chunkU7IJAGWBjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
|
|
646
646
|
}
|
|
647
647
|
function writeExecutionOutput(result, options) {
|
|
648
648
|
let temp;
|
|
@@ -4,20 +4,20 @@ import {
|
|
|
4
4
|
resolveUpdatePlan,
|
|
5
5
|
runAutomaticUpdatePlan,
|
|
6
6
|
shouldRunCliAutoUpdate
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4SFC2XUF.mjs";
|
|
8
8
|
import {
|
|
9
9
|
isCiEnvironment
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YHA3EV3I.mjs";
|
|
11
11
|
import {
|
|
12
12
|
addJsonNotice,
|
|
13
13
|
isJsonOutputMode
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7K5CWKKZ.mjs";
|
|
15
15
|
import {
|
|
16
16
|
resolveApiKeyForBaseUrl
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-TRLDJNVE.mjs";
|
|
18
18
|
import {
|
|
19
19
|
SDK_VERSION
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-WYUCDLVR.mjs";
|
|
21
21
|
|
|
22
22
|
// src/cli/compatibility-catalog.ts
|
|
23
23
|
var readers = /* @__PURE__ */ new WeakMap();
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
getAuthedHttpClient,
|
|
3
3
|
openInBrowser,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7K5CWKKZ.mjs";
|
|
6
6
|
import {
|
|
7
7
|
resolveBaseUrlOnly
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TRLDJNVE.mjs";
|
|
9
9
|
|
|
10
10
|
// src/cli/commands/git.ts
|
|
11
11
|
function shellQuote(value) {
|
|
@@ -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.484",
|
|
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."
|
|
@@ -28,7 +28,7 @@ var _chunkNMU3VR5Ujs = require('./chunk-NMU3VR5U.js');
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var _chunkUT4YMA2Njs = require('./chunk-UT4YMA2N.js');
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
|
|
@@ -649,7 +649,7 @@ var ToolCalls = class {
|
|
|
649
649
|
idempotencyKey,
|
|
650
650
|
onResponse: (response2) => {
|
|
651
651
|
lastResponse = null;
|
|
652
|
-
atomicToolsSupported = response2.headers.get(
|
|
652
|
+
atomicToolsSupported = response2.headers.get(_chunkUT4YMA2Njs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
|
|
653
653
|
recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
|
|
654
654
|
if (_optionalChain([options, 'optionalAccess', _30 => _30.onServerTiming])) {
|
|
655
655
|
try {
|
|
@@ -1028,8 +1028,8 @@ function runtimeSelectionHeaders(runtime, env) {
|
|
|
1028
1028
|
}
|
|
1029
1029
|
const receivers = _optionalChain([env, 'access', _52 => _52.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _53 => _53.trim, 'call', _54 => _54()]);
|
|
1030
1030
|
return {
|
|
1031
|
-
[
|
|
1032
|
-
...receivers ? { [
|
|
1031
|
+
[_chunkUT4YMA2Njs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
|
|
1032
|
+
...receivers ? { [_chunkUT4YMA2Njs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
|
|
1033
1033
|
};
|
|
1034
1034
|
}
|
|
1035
1035
|
function normalizeTestPolicyOverrides(value, source) {
|
|
@@ -1100,7 +1100,7 @@ var PlayClient = class {
|
|
|
1100
1100
|
return _chunkGVAENVIGjs.startPlayRun.call(void 0,
|
|
1101
1101
|
this.http,
|
|
1102
1102
|
resolved.request,
|
|
1103
|
-
_optionalChain([options, 'optionalAccess', _62 => _62.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(
|
|
1103
|
+
_optionalChain([options, 'optionalAccess', _62 => _62.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkUT4YMA2Njs.SDK_API_MAJOR) } : headers,
|
|
1104
1104
|
options
|
|
1105
1105
|
);
|
|
1106
1106
|
}
|
|
@@ -3177,7 +3177,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
|
|
|
3177
3177
|
"RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
|
|
3178
3178
|
);
|
|
3179
3179
|
}
|
|
3180
|
-
return { [
|
|
3180
|
+
return { [_chunkUT4YMA2Njs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
|
|
3181
3181
|
}
|
|
3182
3182
|
function sleep(ms) {
|
|
3183
3183
|
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
@@ -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.484",
|
|
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."
|