deepline 0.3.544 → 0.3.545
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/client-core.ts +5 -0
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/monitors/fleets/errors.ts +5 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/issues.ts +5 -1
- package/dist/bundling-sources/shared_libs/monitors/fleets/limits.ts +6 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/plan.ts +35 -3
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +10 -1
- package/dist/cli/auth-455MB4K6.js +43 -0
- package/dist/cli/{auth-IMWJAHPU.mjs → auth-VZAMAMFW.mjs} +5 -5
- package/dist/cli/{billing-Y55PR2PV.js → billing-ASZJDFH2.js} +92 -92
- package/dist/cli/{billing-YQMW3QJI.mjs → billing-DADQUQEZ.mjs} +8 -8
- package/dist/cli/{chunk-BEQ7RQLT.mjs → chunk-2CBX43LP.mjs} +5 -5
- package/dist/cli/{chunk-22OBDYHP.js → chunk-2FF3O2Y2.js} +12 -12
- package/dist/cli/{chunk-HAQRF6DJ.mjs → chunk-2HFSYH7V.mjs} +2 -2
- package/dist/cli/{chunk-UHIAQPVA.js → chunk-34UKDHRL.js} +26 -26
- package/dist/cli/{chunk-ZHY4T5M6.mjs → chunk-3M2QH3KA.mjs} +1 -1
- package/dist/cli/{chunk-DYDHLBSK.js → chunk-3NG43NXB.js} +53 -53
- package/dist/cli/{chunk-GV45TTI6.mjs → chunk-3TCHX7YK.mjs} +2 -2
- package/dist/cli/{chunk-LW274RO7.mjs → chunk-4NZ3OZNO.mjs} +1 -1
- package/dist/cli/{chunk-PFGOCUH3.mjs → chunk-52C6W7FG.mjs} +1 -1
- package/dist/cli/{chunk-IFIJ4DBJ.js → chunk-5YYWZ43J.js} +2 -2
- package/dist/cli/{chunk-3JDA23NN.mjs → chunk-7JZ27AFH.mjs} +2 -2
- package/dist/cli/{chunk-HXM2JUGD.mjs → chunk-7MFATEUC.mjs} +1 -1
- package/dist/cli/{chunk-COJHT2KF.js → chunk-7MHBJU73.js} +22 -22
- package/dist/cli/{chunk-57G4NYOL.mjs → chunk-7P72EGLK.mjs} +1 -1
- package/dist/cli/{chunk-3KGMM4KS.js → chunk-C6XYSTBW.js} +1 -1
- package/dist/cli/{chunk-ON56ISO6.js → chunk-CJ7DBYEQ.js} +3 -3
- package/dist/cli/{chunk-RUFR4PUO.js → chunk-CXETRZ3G.js} +10 -10
- package/dist/cli/{chunk-C4P2KLWT.js → chunk-D3SXB2NX.js} +41 -41
- package/dist/cli/{chunk-Z44YTSTA.js → chunk-DGKDCZGC.js} +13 -13
- package/dist/cli/{chunk-PDJ4UDCO.js → chunk-DZTVDL2X.js} +8 -8
- package/dist/cli/{chunk-4PKHFW56.js → chunk-EK5C2R7S.js} +15 -15
- package/dist/cli/{chunk-RG34YBDE.js → chunk-ERLW6RPA.js} +2 -2
- package/dist/cli/{chunk-YIRVKMON.mjs → chunk-EWA3M54M.mjs} +1 -1
- package/dist/cli/{chunk-JWVG7ZPX.js → chunk-FB7UPZ6M.js} +3 -3
- package/dist/cli/{chunk-ZY6FL4O4.js → chunk-G5TV6WLV.js} +19 -19
- package/dist/cli/{chunk-PKRW76XG.js → chunk-GFRJU2KB.js} +2 -2
- package/dist/cli/{chunk-Q7ZOWNKR.mjs → chunk-GWDPNOA7.mjs} +1 -1
- package/dist/cli/{chunk-RJPDCSTD.mjs → chunk-HLUNTJBO.mjs} +4 -4
- package/dist/cli/{chunk-LPUBBUKX.mjs → chunk-HPX7LLAM.mjs} +2 -2
- package/dist/cli/{chunk-W7X4KH45.js → chunk-HR5BT42R.js} +99 -99
- package/dist/cli/{chunk-DF2X7GJG.js → chunk-IYJO3RWR.js} +5 -5
- package/dist/cli/{chunk-DVDWAC2M.mjs → chunk-JL5JU3LD.mjs} +2 -2
- package/dist/cli/{chunk-SKS53WM6.mjs → chunk-KRW727W6.mjs} +4 -4
- package/dist/cli/{chunk-HBSWATOU.mjs → chunk-KYO2FICL.mjs} +5 -5
- package/dist/cli/{chunk-HVJQF5BI.mjs → chunk-LTCEZWPZ.mjs} +2 -2
- package/dist/cli/{chunk-5PR4VLLL.mjs → chunk-LWPFMYSO.mjs} +2 -2
- package/dist/cli/{chunk-7GNZEOTH.js → chunk-N4LADLCO.js} +6 -6
- package/dist/cli/{chunk-LQ6RRYXN.mjs → chunk-NAN3A4IF.mjs} +5 -5
- package/dist/cli/{chunk-3I26HMJ7.js → chunk-NCX2JH2F.js} +9 -9
- package/dist/cli/{chunk-UNMNGRPB.js → chunk-NZDZGK35.js} +7 -7
- package/dist/cli/{chunk-7HMMTSDA.js → chunk-OGQYAJSO.js} +5 -5
- package/dist/cli/{chunk-GQHRGBHV.js → chunk-QI57XUGA.js} +5 -5
- package/dist/cli/{chunk-KE6CSCUF.js → chunk-QM7PHHYZ.js} +44 -44
- package/dist/cli/{chunk-JBWOE6AP.js → chunk-TQKHXMV3.js} +16 -16
- package/dist/cli/{chunk-WUEORIOY.mjs → chunk-WP36UBRY.mjs} +1 -1
- package/dist/cli/{chunk-SK3HPU2J.mjs → chunk-XBYQZEUE.mjs} +1 -1
- package/dist/cli/{chunk-WBSGPLH5.mjs → chunk-XGEUPU3L.mjs} +2 -2
- package/dist/cli/{chunk-456RRXAP.mjs → chunk-XMUPZINS.mjs} +5 -5
- package/dist/cli/{chunk-G26VJCNT.js → chunk-YRQKRQDU.js} +4 -4
- package/dist/cli/{chunk-PMW5YP72.mjs → chunk-YWTRCKGD.mjs} +11 -11
- package/dist/cli/{chunk-REEOMNCO.mjs → chunk-Z4Y4BLW7.mjs} +3 -3
- package/dist/cli/{chunk-H4SAHB3Q.mjs → chunk-Z7QM244Q.mjs} +3 -3
- package/dist/cli/concurrent-runs-help-GFWXOKF5.js +21 -0
- package/dist/cli/{concurrent-runs-help-KBWPKSTP.mjs → concurrent-runs-help-YP7ALTDB.mjs} +6 -6
- package/dist/cli/{csv-XGGDZTQI.js → csv-67WT5EGR.js} +13 -13
- package/dist/cli/{csv-M5EBEMZH.mjs → csv-D5ITFSYI.mjs} +4 -4
- package/dist/cli/{db-CVPR54XK.js → db-GZS76X7R.js} +27 -27
- package/dist/cli/{db-M6FJ6J6E.mjs → db-SZYBRFYG.mjs} +6 -6
- package/dist/cli/{describe-X6QA2U3C.mjs → describe-YJ7ZLLLI.mjs} +18 -18
- package/dist/cli/describe-ZRGYAEBT.js +50 -0
- package/dist/cli/describe-core.d.mts +2 -2
- package/dist/cli/describe-core.d.ts +2 -2
- package/dist/cli/{executions-EHTS2XJX.mjs → executions-HMYGR32E.mjs} +6 -6
- package/dist/cli/{executions-VJEEWN22.js → executions-O5USTYGL.js} +8 -8
- package/dist/cli/{feedback-DQPUCUXO.js → feedback-RHLFDCRS.js} +14 -14
- package/dist/cli/{feedback-76VGY4GP.mjs → feedback-Z3NXWYUO.mjs} +6 -6
- package/dist/cli/{git-IY6DKKLR.mjs → git-CLFKXELB.mjs} +5 -5
- package/dist/cli/git-RC4XDATD.js +25 -0
- package/dist/cli/index.js +142 -142
- package/dist/cli/index.mjs +44 -44
- package/dist/cli/{integrations-242LE3TQ.mjs → integrations-FOACOBQB.mjs} +7 -7
- package/dist/cli/{integrations-CQSTIKFY.js → integrations-TZ4QEQGV.js} +15 -15
- package/dist/cli/{legacy-noops-SWTSTMRY.mjs → legacy-noops-6F6Y3BV7.mjs} +6 -6
- package/dist/cli/{legacy-noops-U72DO6ZF.js → legacy-noops-QRDOS33V.js} +9 -9
- package/dist/cli/{mcp-L473BKLJ.js → mcp-ETMMDDGB.js} +24 -24
- package/dist/cli/{mcp-JJH6JR52.mjs → mcp-UXRCWOZU.mjs} +4 -4
- package/dist/cli/{monitors-VSYHUBKC.mjs → monitors-6XEWR46R.mjs} +69 -11
- package/dist/cli/{monitors-3TF2DOFD.js → monitors-DITT7QTV.js} +162 -104
- package/dist/cli/{org-YKVI2ZTI.js → org-4DE37X3L.js} +88 -88
- package/dist/cli/{org-S5VIKU2E.mjs → org-CVSSH73G.mjs} +6 -6
- package/dist/cli/{play-DOWEG45Y.js → play-RH6P45CI.js} +317 -317
- package/dist/cli/{play-C7T5A3QM.mjs → play-Y5NCHOKK.mjs} +17 -17
- package/dist/cli/{providers-TAZPPFTB.js → providers-DU42DLOL.js} +9 -9
- package/dist/cli/{providers-BMVVX3VD.mjs → providers-VHUHC4IZ.mjs} +6 -6
- package/dist/cli/{quickstart-A3WKMKTW.mjs → quickstart-HJY5YYE5.mjs} +4 -4
- package/dist/cli/{quickstart-HD6FQXGR.js → quickstart-XJ43JLEC.js} +6 -6
- package/dist/cli/{run-FV7TWNOC.mjs → run-JAIXHVH7.mjs} +23 -23
- package/dist/cli/{run-BVVV2UX7.js → run-JXUS7QFI.js} +43 -43
- package/dist/cli/search-O5VVMXII.js +32 -0
- package/dist/cli/{search-MGK6WIKS.mjs → search-RDMNM2AX.mjs} +7 -7
- package/dist/cli/{search-output-6Y7KEPIE.js → search-output-RKAM2HBH.js} +6 -6
- package/dist/cli/{search-output-GM7LDZKE.mjs → search-output-ZKTR3WTJ.mjs} +4 -4
- package/dist/cli/{secrets-SISXIXSZ.js → secrets-TKFVMAYX.js} +15 -15
- package/dist/cli/{secrets-4RFAR7YI.mjs → secrets-WSW3FTF6.mjs} +6 -6
- package/dist/cli/sessions-3PWFWCHO.js +22 -0
- package/dist/cli/{sessions-CE3OMEG7.mjs → sessions-724BK6VP.mjs} +6 -6
- package/dist/cli/{settings-4HPM3K4A.js → settings-5LJZDAZU.js} +85 -85
- package/dist/cli/{settings-E22IDSX2.mjs → settings-YRC7J75G.mjs} +12 -12
- package/dist/cli/{setup-BDRSNLKX.js → setup-2F3DBSOS.js} +49 -49
- package/dist/cli/{setup-BK65MDZ6.mjs → setup-STNPX5MK.mjs} +9 -9
- package/dist/cli/{skills-FI2GZMR4.mjs → skills-D5PK56FO.mjs} +7 -7
- package/dist/cli/skills-RFOMVXIT.js +36 -0
- package/dist/cli/tools-CAO6EVUW.js +57 -0
- package/dist/cli/{tools-HMMWYUNW.mjs → tools-WOGWMBA3.mjs} +17 -17
- package/dist/cli/update-L4DQZY3G.js +34 -0
- package/dist/cli/{update-WDKBSXV5.mjs → update-PC6XSWMI.mjs} +9 -9
- package/dist/cli/{views-775AUDWQ.js → views-HLCLAPWN.js} +21 -21
- package/dist/cli/{views-JYIJCO23.mjs → views-IIHT4RYQ.mjs} +6 -6
- package/dist/cli/{workflow-4H6KQRFQ.js → workflow-CCZ2A7DI.js} +17 -17
- package/dist/cli/{workflow-FKKHE3IU.mjs → workflow-HK4MZ7LK.mjs} +7 -7
- package/dist/{client-DD_FyJVd.d.ts → client-BQ6yuSjM.d.ts} +1 -1
- package/dist/{client-ANT3pyoa.d.mts → client-DfdUc_MY.d.mts} +1 -1
- package/dist/{client-core-QHmo73k1.d.ts → client-core-3GQ8WMuk.d.ts} +9 -0
- package/dist/{client-core-Dg9tKhdB.d.mts → client-core-ClsNRytk.d.mts} +9 -0
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +114 -114
- 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-ENBXAKQS.js +0 -43
- package/dist/cli/concurrent-runs-help-TOMLCMV7.js +0 -21
- package/dist/cli/describe-RUODIS6M.js +0 -50
- package/dist/cli/git-RLHTSYRY.js +0 -25
- package/dist/cli/search-VJFCWUZN.js +0 -32
- package/dist/cli/sessions-OWWZJZXH.js +0 -22
- package/dist/cli/skills-ZLBFUAFR.js +0 -36
- package/dist/cli/tools-3K72VE33.js +0 -57
- package/dist/cli/update-QZV6DH5V.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 _chunkDZTVDL2Xjs = require('./chunk-DZTVDL2X.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkCJ7DBYEQjs = require('./chunk-CJ7DBYEQ.js');
|
|
8
8
|
|
|
9
9
|
// src/client.ts
|
|
10
|
-
var DeeplineClient2 = class extends
|
|
10
|
+
var DeeplineClient2 = class extends _chunkDZTVDL2Xjs.DeeplineClient {
|
|
11
11
|
constructor(options) {
|
|
12
|
-
const config =
|
|
13
|
-
super(config, new (0,
|
|
12
|
+
const config = _chunkCJ7DBYEQjs.resolveConfig.call(void 0, options);
|
|
13
|
+
super(config, new (0, _chunkCJ7DBYEQjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
16
|
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
resolveApiKeyForBaseUrl,
|
|
5
5
|
resolveCliCommandContext,
|
|
6
6
|
resolveConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7MFATEUC.mjs";
|
|
8
8
|
import {
|
|
9
9
|
SDK_VERSION,
|
|
10
10
|
agentSessionIdFromEnvironment,
|
|
11
11
|
deploymentProtectionHeaders,
|
|
12
12
|
detectAgentRuntime
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-3M2QH3KA.mjs";
|
|
14
14
|
import {
|
|
15
15
|
DeeplineError,
|
|
16
16
|
normalizeToolExecutionFailure,
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
} from "./chunk-5AEDYVB6.mjs";
|
|
4
4
|
import {
|
|
5
5
|
DeeplineClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3TCHX7YK.mjs";
|
|
7
7
|
import {
|
|
8
8
|
errorToJsonPayload,
|
|
9
9
|
printCommandEnvelope,
|
|
10
10
|
resolveSdkCliFailureExitCode
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JL5JU3LD.mjs";
|
|
12
12
|
import {
|
|
13
13
|
resolveConfig,
|
|
14
14
|
sdkCliStateDirPath
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-7MFATEUC.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-ZKTR3WTJ.mjs");
|
|
138
138
|
const searches = [];
|
|
139
139
|
const chunks = [];
|
|
140
140
|
const refs = /* @__PURE__ */ new Map();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
seedToolListScript
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YWTRCKGD.mjs";
|
|
4
4
|
import {
|
|
5
5
|
addDescribeOptions
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7P72EGLK.mjs";
|
|
7
7
|
import {
|
|
8
8
|
describeLookupsFor,
|
|
9
9
|
describeName,
|
|
@@ -14,16 +14,16 @@ import {
|
|
|
14
14
|
} from "./chunk-7AOFSZJM.mjs";
|
|
15
15
|
import {
|
|
16
16
|
DeeplineClient
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-3TCHX7YK.mjs";
|
|
18
18
|
import {
|
|
19
19
|
failureReportHeaders,
|
|
20
20
|
isFailureReportingDisabled,
|
|
21
21
|
printCommandEnvelope
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-JL5JU3LD.mjs";
|
|
23
23
|
import {
|
|
24
24
|
autoDetectBaseUrl,
|
|
25
25
|
resolveApiKeyForBaseUrl
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-7MFATEUC.mjs";
|
|
27
27
|
|
|
28
28
|
// src/cli/commands/describe.ts
|
|
29
29
|
import { writeFileSync } from "fs";
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
getAuthedHttpClient,
|
|
3
3
|
openInBrowser,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-JL5JU3LD.mjs";
|
|
6
6
|
import {
|
|
7
7
|
resolveBaseUrlOnly
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-7MFATEUC.mjs";
|
|
9
9
|
|
|
10
10
|
// src/cli/commands/git.ts
|
|
11
11
|
function shellQuote(value) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
httpJson
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Z7QM244Q.mjs";
|
|
4
4
|
import {
|
|
5
5
|
PRICING_PAGE_NOTE
|
|
6
6
|
} from "./chunk-NIPLY25A.mjs";
|
|
7
7
|
import {
|
|
8
8
|
autoDetectBaseUrl,
|
|
9
9
|
resolveApiKeyForBaseUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7MFATEUC.mjs";
|
|
11
11
|
|
|
12
12
|
// src/cli/concurrent-runs-help.ts
|
|
13
13
|
var CONCURRENT_RUNS_HELP_COMMANDS = /* @__PURE__ */ new Set([
|
|
@@ -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 _chunkGFRJU2KBjs = require('./chunk-GFRJU2KB.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkQM7PHHYZjs = require('./chunk-QM7PHHYZ.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") _chunkQM7PHHYZjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
|
|
22
|
+
const compatibility = await _chunkGFRJU2KBjs.traceCliSpan.call(void 0,
|
|
23
23
|
"cli.sdk_compatibility",
|
|
24
24
|
{ baseUrl, command: "plays run" },
|
|
25
|
-
() =>
|
|
25
|
+
() => _chunkQM7PHHYZjs.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
|
+
_chunkQM7PHHYZjs.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-XMUPZINS.mjs";
|
|
8
8
|
import {
|
|
9
9
|
isCiEnvironment,
|
|
10
10
|
syncSdkSkillsIfNeeded
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2CBX43LP.mjs";
|
|
12
12
|
import {
|
|
13
13
|
addJsonNotice,
|
|
14
14
|
isJsonOutputMode
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JL5JU3LD.mjs";
|
|
16
16
|
import {
|
|
17
17
|
resolveApiKeyForBaseUrl
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-7MFATEUC.mjs";
|
|
19
19
|
import {
|
|
20
20
|
SDK_VERSION
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-3M2QH3KA.mjs";
|
|
22
22
|
|
|
23
23
|
// src/cli/compatibility-catalog.ts
|
|
24
24
|
var readers = /* @__PURE__ */ new WeakMap();
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _chunk2JHYYB3Fjs = require('./chunk-2JHYYB3F.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkDZTVDL2Xjs = require('./chunk-DZTVDL2X.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkSL6MYJYMjs = require('./chunk-SL6MYJYM.js');
|
|
@@ -11,7 +11,7 @@ var _chunkSL6MYJYMjs = require('./chunk-SL6MYJYM.js');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkG5TV6WLVjs = require('./chunk-G5TV6WLV.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
var _chunkBBTKAASQjs = require('./chunk-BBTKAASQ.js');
|
|
@@ -581,7 +581,7 @@ function parseInputFlagValue(raw) {
|
|
|
581
581
|
return raw;
|
|
582
582
|
}
|
|
583
583
|
function parsePlayRunOptions(args, initialInput = null) {
|
|
584
|
-
const selection =
|
|
584
|
+
const selection = _chunkG5TV6WLVjs.parseJsonFields.call(void 0, args, "run");
|
|
585
585
|
args = selection.args;
|
|
586
586
|
const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--json] [--full] [--<input> value]\n Runs use the Absurd CJS runtime.\n --header '<name>: <value>' may repeat; each is sent on every request for this run.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and deepline.dataset guidance.";
|
|
587
587
|
let filePath = null;
|
|
@@ -593,7 +593,7 @@ function parsePlayRunOptions(args, initialInput = null) {
|
|
|
593
593
|
let revisionSelector = null;
|
|
594
594
|
const watch = !args.includes("--no-wait");
|
|
595
595
|
const dryRun = args.includes("--dry-run");
|
|
596
|
-
let jsonOutput = dryRun ?
|
|
596
|
+
let jsonOutput = dryRun ? _chunkG5TV6WLVjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkG5TV6WLVjs.argsWantJson.call(void 0, args);
|
|
597
597
|
const fullJson = args.includes("--full");
|
|
598
598
|
const force = args.includes("--force") || args.includes("--from-start");
|
|
599
599
|
const forceToolRefresh = args.includes("--force-tool-refresh") || args.includes("--refresh-cache");
|
|
@@ -657,7 +657,7 @@ function parsePlayRunOptions(args, initialInput = null) {
|
|
|
657
657
|
"--log-level requires one of: debug, info, warn, error."
|
|
658
658
|
);
|
|
659
659
|
}
|
|
660
|
-
const parsed =
|
|
660
|
+
const parsed = _chunkDZTVDL2Xjs.parseLogLevel.call(void 0, value);
|
|
661
661
|
if (!parsed) {
|
|
662
662
|
throw new Error(
|
|
663
663
|
`Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
|
|
@@ -990,7 +990,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
|
|
|
990
990
|
const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
|
|
991
991
|
(arg) => arg === "--log-level" || arg.startsWith("--log-level=")
|
|
992
992
|
);
|
|
993
|
-
let logLevel = options.logLevel === void 0 ? base.logLevel :
|
|
993
|
+
let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkDZTVDL2Xjs.parseLogLevel.call(void 0, options.logLevel);
|
|
994
994
|
if (!logLevel)
|
|
995
995
|
throw new Error("--log-level requires one of: debug, info, warn, error.");
|
|
996
996
|
const debugAlias = options.logs || options.debug === true || inputArgs.some(
|
|
@@ -1004,13 +1004,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
|
|
|
1004
1004
|
if (debugAlias || debugMapLatency && logLevel === "info")
|
|
1005
1005
|
logLevel = "debug";
|
|
1006
1006
|
const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
|
|
1007
|
-
const jsonFields = options.json === void 0 ? base.jsonFields :
|
|
1008
|
-
[...fullJson ? ["--full"] : [], ...
|
|
1007
|
+
const jsonFields = options.json === void 0 ? base.jsonFields : _chunkG5TV6WLVjs.parseJsonFields.call(void 0,
|
|
1008
|
+
[...fullJson ? ["--full"] : [], ..._chunkG5TV6WLVjs.jsonFieldArgs.call(void 0, options.json)],
|
|
1009
1009
|
"run"
|
|
1010
1010
|
).fields;
|
|
1011
1011
|
const watch = options.wait === false ? false : base.watch;
|
|
1012
1012
|
const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
|
|
1013
|
-
const jsonOutput = dryRun || !watch ? explicitJson ||
|
|
1013
|
+
const jsonOutput = dryRun || !watch ? explicitJson || _chunkG5TV6WLVjs.argsWantJson.call(void 0, []) : explicitJson;
|
|
1014
1014
|
const verboseLogs = Boolean(
|
|
1015
1015
|
debugAlias || logLevel === "debug" || debugMapLatency
|
|
1016
1016
|
);
|
|
@@ -9,7 +9,7 @@ var _chunkXYIECA7Mjs = require('./chunk-XYIECA7M.js');
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkG5TV6WLVjs = require('./chunk-G5TV6WLV.js');
|
|
13
13
|
|
|
14
14
|
// src/cli/describe-options.ts
|
|
15
15
|
function addDescribeOptions(command, options = {}) {
|
|
@@ -250,7 +250,7 @@ function projectRunDatasetCell(value) {
|
|
|
250
250
|
const logicalValue = parseSerializedDatasetValue(value);
|
|
251
251
|
if (logicalValue === null || logicalValue === void 0) return logicalValue;
|
|
252
252
|
if (typeof logicalValue === "object") {
|
|
253
|
-
return
|
|
253
|
+
return _chunkG5TV6WLVjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
|
|
254
254
|
}
|
|
255
255
|
return logicalValue;
|
|
256
256
|
}
|
|
@@ -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 _chunkG5TV6WLVjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
|
|
646
646
|
}
|
|
647
647
|
function writeExecutionOutput(result, options, { skipReceiptFile = false } = {}) {
|
|
648
648
|
let temp;
|
|
@@ -769,7 +769,7 @@ function writeExecutionOutput(result, options, { skipReceiptFile = false } = {})
|
|
|
769
769
|
};
|
|
770
770
|
if (options.receiptOut && !skipReceiptFile) {
|
|
771
771
|
persist(options.receiptOut, jsonText(receipt));
|
|
772
|
-
|
|
772
|
+
_chunkG5TV6WLVjs.markJsonOutputHandled.call(void 0, );
|
|
773
773
|
} else {
|
|
774
774
|
printReceipt(receipt, options, {
|
|
775
775
|
data: hasData ? result.data : void 0,
|
|
@@ -937,7 +937,7 @@ function receiptText(receipt, options, extra) {
|
|
|
937
937
|
problems.push(
|
|
938
938
|
`Error: ${record(error) && typeof error.message === "string" ? error.message : JSON.stringify(error)}`
|
|
939
939
|
);
|
|
940
|
-
const diagnostic =
|
|
940
|
+
const diagnostic = _chunkG5TV6WLVjs.formatCliFailureDiagnostic.call(void 0, error);
|
|
941
941
|
if (diagnostic) problems.push(...diagnostic.split("\n"));
|
|
942
942
|
if (record(error) && typeof error.recoveryFile === "string") {
|
|
943
943
|
problems.push(
|
|
@@ -1030,8 +1030,8 @@ function printReceipt(receipt, options, extra) {
|
|
|
1030
1030
|
const text = options.receiptJson ? `${JSON.stringify(receipt, null, 2)}
|
|
1031
1031
|
` : receiptText(receipt, options, extra);
|
|
1032
1032
|
if (options.receiptOut !== void 0) {
|
|
1033
|
-
|
|
1034
|
-
|
|
1033
|
+
_chunkG5TV6WLVjs.writeRawStderr.call(void 0, text);
|
|
1034
|
+
_chunkG5TV6WLVjs.markJsonOutputHandled.call(void 0, );
|
|
1035
1035
|
} else {
|
|
1036
1036
|
(dataOnStdout(options) ? process.stderr : process.stdout).write(text);
|
|
1037
1037
|
}
|
|
@@ -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 _chunkDZTVDL2Xjs = require('./chunk-DZTVDL2X.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkCJ7DBYEQjs = require('./chunk-CJ7DBYEQ.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 = _chunkCJ7DBYEQjs.resolveConfig.call(void 0, options);
|
|
141
|
+
return new (0, _chunkDZTVDL2Xjs.PlayClient)(
|
|
142
|
+
new (0, _chunkCJ7DBYEQjs.HttpClient)(config),
|
|
143
143
|
_nullishCoalesce(config.environment, () => ( process.env))
|
|
144
144
|
);
|
|
145
145
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk3NG43NXBjs = require('./chunk-3NG43NXB.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkUV4RU2TEjs = require('./chunk-UV4RU2TE.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkCJ7DBYEQjs = require('./chunk-CJ7DBYEQ.js');
|
|
11
11
|
|
|
12
12
|
// src/cli/concurrent-runs-help.ts
|
|
13
13
|
var CONCURRENT_RUNS_HELP_COMMANDS = /* @__PURE__ */ new Set([
|
|
@@ -24,11 +24,11 @@ function concurrentRunsLine(payload) {
|
|
|
24
24
|
return plans ? `${here} Plan limits: ${plans}.` : here;
|
|
25
25
|
}
|
|
26
26
|
async function concurrentRunsHelpStatus(timeoutMs = 2e3) {
|
|
27
|
-
const baseUrl =
|
|
28
|
-
const apiKey =
|
|
27
|
+
const baseUrl = _chunkCJ7DBYEQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
|
|
28
|
+
const apiKey = _chunkCJ7DBYEQjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
|
|
29
29
|
if (!apiKey) return "";
|
|
30
30
|
try {
|
|
31
|
-
const { status, data } = await
|
|
31
|
+
const { status, data } = await _chunk3NG43NXBjs.httpJson.call(void 0,
|
|
32
32
|
"GET",
|
|
33
33
|
`${baseUrl}/api/v2/billing/entitlements`,
|
|
34
34
|
apiKey,
|