deepline 0.3.307 → 0.3.309
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/README.md +2 -1
- package/dist/bundling-sources/sdk/src/client.ts +270 -11
- package/dist/bundling-sources/sdk/src/compat.ts +27 -9
- package/dist/bundling-sources/sdk/src/index.ts +35 -0
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/batch-runtime.ts +4 -0
- package/dist/bundling-sources/shared_libs/play-runtime/batching-types.ts +3 -0
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +46 -16
- package/dist/bundling-sources/shared_libs/play-runtime/fullenrich-batching.ts +24 -1
- package/dist/bundling-sources/shared_libs/play-runtime/run-event-query.ts +872 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +595 -0
- package/dist/bundling-sources/shared_libs/plays/share/static-pipeline-summary.ts +97 -22
- package/dist/cli/{auth-AJPTFFC7.mjs → auth-AA5SXOB6.mjs} +4 -4
- package/dist/cli/auth-MXBOMMLC.js +31 -0
- package/dist/cli/{billing-SPBWUEOS.js → billing-6DJWMFV7.js} +70 -70
- package/dist/cli/{billing-LPDYJLIL.mjs → billing-CXUIXODY.mjs} +4 -4
- package/dist/cli/{chunk-QACDLYNO.mjs → chunk-3EVKBS6J.mjs} +1 -1
- package/dist/cli/{chunk-MZQP7CIL.js → chunk-3SZSFTLQ.js} +1 -1
- package/dist/cli/{chunk-G4SSYZND.mjs → chunk-4A6BYN66.mjs} +1 -1
- package/dist/cli/{chunk-IVXD2KA2.js → chunk-4SAHSARB.js} +15 -15
- package/dist/cli/{chunk-DF3XJ2V2.js → chunk-52FXVKVC.js} +48 -48
- package/dist/cli/{chunk-K2CQ2RBJ.js → chunk-5VHI2LFM.js} +6 -6
- package/dist/cli/{chunk-76MFV3AC.js → chunk-6QWXPOZM.js} +2 -2
- package/dist/cli/{chunk-RXYYANYP.mjs → chunk-A74BQEUC.mjs} +13 -5
- package/dist/cli/{chunk-ILOCS73R.mjs → chunk-ATTN5BOA.mjs} +2 -2
- package/dist/cli/{chunk-HWCB5MHF.js → chunk-CO5TGXG2.js} +68 -60
- package/dist/cli/{chunk-D55NIPGU.mjs → chunk-GUUQJJBS.mjs} +1 -1
- package/dist/cli/{chunk-GUIQWUCB.js → chunk-IQYTESPK.js} +6 -6
- package/dist/cli/{chunk-ZIF6JOOI.js → chunk-M2V27CEE.js} +26 -26
- package/dist/cli/{chunk-MPVXXDWH.mjs → chunk-N6P7NBX3.mjs} +1 -1
- package/dist/cli/{chunk-AKE6ZFIJ.js → chunk-NZCFZXDP.js} +4 -4
- package/dist/cli/{chunk-BDFVIOLY.mjs → chunk-OTX2Z2Y7.mjs} +3 -3
- package/dist/cli/{chunk-KCHBE2J3.js → chunk-PAJVT47Z.js} +852 -204
- package/dist/cli/{chunk-2IKIG333.js → chunk-QJBJZVG6.js} +15 -4
- package/dist/cli/{chunk-ZGICKTW7.mjs → chunk-TQ5BV5RT.mjs} +2 -2
- package/dist/cli/{chunk-JNHXSZPB.js → chunk-V5PB43SQ.js} +6 -6
- package/dist/cli/{chunk-TLTKAJ6S.mjs → chunk-W3CSORIT.mjs} +653 -5
- package/dist/cli/{chunk-UABLQKTZ.mjs → chunk-WXLOW623.mjs} +11 -0
- package/dist/cli/{chunk-O4OESDIN.mjs → chunk-YBKMQLH2.mjs} +1 -1
- package/dist/cli/{chunk-7ONALPWY.mjs → chunk-YV5USGOP.mjs} +4 -4
- package/dist/cli/client-B2MYCJW5.js +20 -0
- package/dist/cli/{client-7ZL4ROII.mjs → client-GXT2WRBH.mjs} +3 -3
- package/dist/cli/{csv-JUDFG7JV.js → csv-FY7CVAUY.js} +12 -12
- package/dist/cli/{csv-Y3LYCTGD.mjs → csv-OLMTSK4E.mjs} +3 -3
- package/dist/cli/{db-GCOJD2BD.mjs → db-HWYKGEOK.mjs} +4 -4
- package/dist/cli/{db-5IXGEXNT.js → db-XHHF7SFB.js} +20 -20
- package/dist/cli/{executions-FIICTMSY.mjs → executions-5L7YUA7K.mjs} +4 -4
- package/dist/cli/{executions-LIEQKFT7.js → executions-K2IJEKEN.js} +6 -6
- package/dist/cli/{feedback-3OVAA3C7.mjs → feedback-BIN2IWO4.mjs} +3 -3
- package/dist/cli/{feedback-FAADYNAR.js → feedback-FZLBZKF7.js} +6 -6
- package/dist/cli/{git-ESMYCYJO.mjs → git-G4ULJPIH.mjs} +4 -4
- package/dist/cli/git-KSXSQSH2.js +23 -0
- package/dist/cli/index.js +79 -77
- package/dist/cli/index.mjs +33 -31
- package/dist/cli/{legacy-noops-PKI3RFZW.js → legacy-noops-TBTYKXMK.js} +7 -7
- package/dist/cli/{legacy-noops-KP5CPZRK.mjs → legacy-noops-YBBLHKUV.mjs} +4 -4
- package/dist/cli/{monitors-KCFBLAFZ.js → monitors-PXBJTE6Q.js} +85 -85
- package/dist/cli/{monitors-A6KGGSBO.mjs → monitors-ZRNDHLTP.mjs} +4 -4
- package/dist/cli/{org-WI6DEXZQ.js → org-AUPHYG4W.js} +60 -60
- package/dist/cli/{org-DHI24UOK.mjs → org-GR7CKJDU.mjs} +4 -4
- package/dist/cli/{play-2YXLQD24.mjs → play-7C4XXDLJ.mjs} +472 -55
- package/dist/cli/{play-4EUUN76H.js → play-BXX6KDC5.js} +961 -544
- package/dist/cli/{providers-2WZ6KHH2.mjs → providers-2ALIWVHI.mjs} +4 -4
- package/dist/cli/{providers-DWS3XIM6.js → providers-X3W5I7AI.js} +7 -7
- package/dist/cli/{quickstart-ZFZVG6UO.mjs → quickstart-HFLMM6CB.mjs} +3 -3
- package/dist/cli/{quickstart-TDTDKM6F.js → quickstart-YU2FOUGV.js} +5 -5
- package/dist/cli/{search-BBE2ZMCI.mjs → search-5W6CX5FT.mjs} +5 -5
- package/dist/cli/{search-GMPXRQF4.js → search-LBAPKYPL.js} +6 -6
- package/dist/cli/{secrets-SMBX4IE6.js → secrets-4JYV6372.js} +13 -13
- package/dist/cli/{secrets-JEJL3KIM.mjs → secrets-N3LH3EFK.mjs} +4 -4
- package/dist/cli/{sessions-AVU353UT.mjs → sessions-4TCBDROP.mjs} +4 -4
- package/dist/cli/{sessions-S6AWG747.js → sessions-66MKLRBI.js} +5 -5
- package/dist/cli/{settings-GY5CYRLF.mjs → settings-33RZDJOH.mjs} +7 -7
- package/dist/cli/{settings-KBW4ROHC.js → settings-GQMXHDZN.js} +74 -74
- package/dist/cli/{setup-4CW3XGGX.mjs → setup-754356IS.mjs} +6 -6
- package/dist/cli/{setup-WSVIDSEV.js → setup-HU6LC4VR.js} +41 -41
- package/dist/cli/{skills-U3NXFSFK.mjs → skills-FLWPPQMH.mjs} +4 -4
- package/dist/cli/skills-WWO2EIQU.js +28 -0
- package/dist/cli/{tools-XU6KLJZT.mjs → tools-IRLN4KYG.mjs} +58 -42
- package/dist/cli/{tools-KZKELW25.js → tools-N4OW6HZK.js} +111 -95
- package/dist/cli/update-CLSJ7ODP.js +28 -0
- package/dist/cli/{update-RZLH46DR.mjs → update-TOQOHGVE.mjs} +6 -6
- package/dist/cli/{workflow-ZQUKQI35.mjs → workflow-DRH7T3P4.mjs} +5 -5
- package/dist/cli/{workflow-GDOGDGTZ.js → workflow-WSYT32Y3.js} +15 -15
- package/dist/{client-Dj8MAkDc.d.mts → client-DpnkGBn-.d.mts} +324 -11
- package/dist/{client-DsrFGXJf.d.ts → client-ypdBvf1o.d.ts} +324 -11
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +8 -6
- package/dist/index.mjs +5 -3
- package/dist/install-integrity.json +73 -72
- 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/package.json +1 -1
- package/dist/cli/auth-TUQTQIH4.js +0 -31
- package/dist/cli/client-S3MIFPM2.js +0 -20
- package/dist/cli/git-GG6LWE2R.js +0 -23
- package/dist/cli/skills-6AU3RRAD.js +0 -28
- package/dist/cli/update-LVXXQF4A.js +0 -28
|
@@ -1,4 +1,13 @@
|
|
|
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; }// src/cli/
|
|
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; }// src/cli/compatibility-catalog.ts
|
|
2
|
+
var readers = /* @__PURE__ */ new WeakMap();
|
|
3
|
+
function registerCompatibilityCatalog(command, read) {
|
|
4
|
+
readers.set(command, read);
|
|
5
|
+
}
|
|
6
|
+
function compatibilityCatalog(command) {
|
|
7
|
+
return _optionalChain([readers, 'access', _ => _.get, 'call', _2 => _2(command), 'optionalCall', _3 => _3()]);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
// src/cli/tool-execute-observability.ts
|
|
2
11
|
var _crypto = require('crypto');
|
|
3
12
|
var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
|
|
4
13
|
var activeToolExecuteCommand = null;
|
|
@@ -13,7 +22,7 @@ function beginToolExecuteCommand() {
|
|
|
13
22
|
return invocationId;
|
|
14
23
|
}
|
|
15
24
|
function getToolExecuteInvocationId() {
|
|
16
|
-
return _nullishCoalesce(_optionalChain([activeToolExecuteCommand, 'optionalAccess',
|
|
25
|
+
return _nullishCoalesce(_optionalChain([activeToolExecuteCommand, 'optionalAccess', _4 => _4.invocationId]), () => ( null));
|
|
17
26
|
}
|
|
18
27
|
async function runToolExecuteStage(stage, action) {
|
|
19
28
|
const command = activeToolExecuteCommand;
|
|
@@ -26,7 +35,7 @@ async function runToolExecuteStage(stage, action) {
|
|
|
26
35
|
`[tools execute ${command.invocationId}] ${stage} still running (${elapsedMs()}ms)`
|
|
27
36
|
);
|
|
28
37
|
}, TOOL_EXECUTE_PROGRESS_INTERVAL_MS);
|
|
29
|
-
_optionalChain([progressTimer, 'access',
|
|
38
|
+
_optionalChain([progressTimer, 'access', _5 => _5.unref, 'optionalCall', _6 => _6()]);
|
|
30
39
|
try {
|
|
31
40
|
const result = await action();
|
|
32
41
|
if (result === false) {
|
|
@@ -62,4 +71,6 @@ function finishToolExecuteCommand() {
|
|
|
62
71
|
|
|
63
72
|
|
|
64
73
|
|
|
65
|
-
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
exports.registerCompatibilityCatalog = registerCompatibilityCatalog; exports.compatibilityCatalog = compatibilityCatalog; exports.beginToolExecuteCommand = beginToolExecuteCommand; exports.getToolExecuteInvocationId = getToolExecuteInvocationId; exports.runToolExecuteStage = runToolExecuteStage; exports.finishToolExecuteCommand = finishToolExecuteCommand;
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
argsWantJson,
|
|
3
3
|
openInBrowser,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GUUQJJBS.mjs";
|
|
6
6
|
import {
|
|
7
7
|
ACTIVE_ORG_ID_ENV,
|
|
8
8
|
ACTIVE_ORG_NAME_ENV,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
saveHostEnvValues,
|
|
26
26
|
saveProjectDeeplineEnvValues,
|
|
27
27
|
storedHostApiKey
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-N6P7NBX3.mjs";
|
|
29
29
|
|
|
30
30
|
// src/cli/commands/auth.ts
|
|
31
31
|
import {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkNZCFZXDPjs = require('./chunk-NZCFZXDP.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunk7P5AA3SNjs = require('./chunk-7P5AA3SN.js');
|
|
@@ -136,8 +136,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
|
|
|
136
136
|
var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
|
|
137
137
|
var defaultBrowserCommandRunner = childProcess;
|
|
138
138
|
function getAuthedHttpClient() {
|
|
139
|
-
const config =
|
|
140
|
-
return { config, http: new (0,
|
|
139
|
+
const config = _chunkNZCFZXDPjs.resolveConfig.call(void 0, );
|
|
140
|
+
return { config, http: new (0, _chunkNZCFZXDPjs.HttpClient)(config) };
|
|
141
141
|
}
|
|
142
142
|
function stableOsUserId() {
|
|
143
143
|
try {
|
|
@@ -477,7 +477,7 @@ function collectLocalEnvInfo() {
|
|
|
477
477
|
os: `${process.platform} ${process.arch}`,
|
|
478
478
|
node_version: process.version,
|
|
479
479
|
home_dir: homeDir,
|
|
480
|
-
agent_runtime:
|
|
480
|
+
agent_runtime: _chunkNZCFZXDPjs.detectAgentRuntime.call(void 0, )
|
|
481
481
|
};
|
|
482
482
|
const env = process.env;
|
|
483
483
|
const optional = {
|
|
@@ -725,9 +725,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
|
|
|
725
725
|
}
|
|
726
726
|
function withAgentCommandContext(value) {
|
|
727
727
|
const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
|
|
728
|
-
return
|
|
728
|
+
return _chunkNZCFZXDPjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
|
|
729
729
|
...valueRecord,
|
|
730
|
-
command_context:
|
|
730
|
+
command_context: _chunkNZCFZXDPjs.resolveCliCommandContext.call(void 0, )
|
|
731
731
|
} : value;
|
|
732
732
|
}
|
|
733
733
|
function printJson(value, fields) {
|