deepline 0.3.554 → 0.3.555
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/types.ts +8 -2
- package/dist/cli/auth-MRVTS74X.js +44 -0
- package/dist/cli/{auth-HJUNW7T2.mjs → auth-UFANBJW3.mjs} +5 -5
- package/dist/cli/{billing-4TSA5HEC.js → billing-BGIT2VYM.js} +102 -102
- package/dist/cli/{billing-SJYRJAQ2.mjs → billing-S7MCXBND.mjs} +9 -9
- package/dist/cli/{chunk-VLO5NFH2.mjs → chunk-57J3OOCR.mjs} +1 -1
- package/dist/cli/{chunk-GA2M3G3Y.mjs → chunk-5J6TKML2.mjs} +4 -4
- package/dist/cli/{chunk-52Q5KETX.mjs → chunk-66BQY77L.mjs} +1 -1
- package/dist/cli/{chunk-E74KGKFZ.js → chunk-6F5GNZQH.js} +5 -5
- package/dist/cli/{chunk-5CYZHOKI.js → chunk-6M2SDRWN.js} +4 -4
- package/dist/cli/{chunk-62HWJXST.mjs → chunk-6R5Y7U52.mjs} +2 -2
- package/dist/cli/{chunk-2HMN5H54.js → chunk-72VEVAIX.js} +48 -48
- package/dist/cli/{chunk-RBBTCYQB.mjs → chunk-732RWNDP.mjs} +3 -3
- package/dist/cli/{chunk-DSKSFFK2.mjs → chunk-7H753VC5.mjs} +1 -1
- package/dist/cli/{chunk-UOT7HPBH.js → chunk-7LM55DIN.js} +41 -41
- package/dist/cli/{chunk-D6Z6POKE.mjs → chunk-ASDVROA5.mjs} +5 -5
- package/dist/cli/{chunk-3Z4VFCXO.mjs → chunk-AUY53RLU.mjs} +5 -5
- package/dist/cli/{chunk-VIUUTEHY.js → chunk-AYCC5JAS.js} +3 -3
- package/dist/cli/{chunk-33WRQSQ2.mjs → chunk-BTKVXI3G.mjs} +3 -2
- package/dist/cli/{chunk-XD3MFTHA.mjs → chunk-DFL3UBW2.mjs} +1 -1
- package/dist/cli/{chunk-OVEYWO4H.js → chunk-DYWOBLYL.js} +8 -8
- package/dist/cli/{chunk-4DOFGIEJ.js → chunk-EG44APVW.js} +12 -12
- package/dist/cli/{chunk-2ORPFQUA.mjs → chunk-FO3U5YTL.mjs} +3 -3
- package/dist/cli/{chunk-XU6QNM4D.mjs → chunk-HQK2NPXE.mjs} +1 -1
- package/dist/cli/{chunk-B6HO2XWH.mjs → chunk-I45RNMNZ.mjs} +5 -5
- package/dist/cli/{chunk-M7STM3MZ.js → chunk-IHWXC7UU.js} +26 -26
- package/dist/cli/{chunk-TOO3YM5N.js → chunk-KSUI4YX5.js} +6 -6
- package/dist/cli/{chunk-VV4XGZ24.js → chunk-LU25WURE.js} +13 -13
- package/dist/cli/{chunk-62AUAWQV.mjs → chunk-M2CW4UZV.mjs} +4 -4
- package/dist/cli/{chunk-W6CZDTIR.js → chunk-M5YBTQQX.js} +53 -53
- package/dist/cli/{chunk-OPTV7D2V.js → chunk-MIXPZ4G7.js} +100 -100
- package/dist/cli/{chunk-GHT2NDL7.js → chunk-MOJ65E7L.js} +9 -9
- package/dist/cli/{chunk-UC4BDZKI.mjs → chunk-N55EUVKV.mjs} +2 -2
- package/dist/cli/{chunk-F7CMRKSK.mjs → chunk-NFWZAQAU.mjs} +1 -1
- package/dist/cli/{chunk-FXQ3JKE3.mjs → chunk-PGPPZMXD.mjs} +1 -1
- package/dist/cli/{chunk-UYCZFQYQ.js → chunk-QMDG7FKA.js} +10 -8
- package/dist/cli/{chunk-DUBXUAAO.js → chunk-QZ2C5ARH.js} +5 -5
- package/dist/cli/{chunk-YY55NYAH.mjs → chunk-RL7ZI4ZG.mjs} +11 -11
- package/dist/cli/{chunk-YCOGPOUX.mjs → chunk-RO7SIWBG.mjs} +2 -2
- package/dist/cli/{chunk-YQKCH4R7.js → chunk-RWT6N2SU.js} +20 -20
- package/dist/cli/{chunk-2OVHNHCF.js → chunk-S2CNGS7O.js} +2 -2
- package/dist/cli/{chunk-KVBQY4ST.mjs → chunk-S65SZ74B.mjs} +4 -2
- package/dist/cli/{chunk-GRZENGNE.js → chunk-SE56PJ46.js} +2 -2
- package/dist/cli/{chunk-RTHMGSZX.js → chunk-SF2LIUVO.js} +15 -15
- package/dist/cli/{chunk-UNNOZKRT.js → chunk-T3QSHU6E.js} +1 -1
- package/dist/cli/{chunk-UBBYHB2B.mjs → chunk-T4BFNFBL.mjs} +2 -2
- package/dist/cli/{chunk-ECHKAC7M.js → chunk-TFPKGTMD.js} +2 -2
- package/dist/cli/{chunk-7OWI736E.js → chunk-U6KGXTYS.js} +23 -23
- package/dist/cli/{chunk-6EXOAT6T.mjs → chunk-UUU5WUKM.mjs} +2 -2
- package/dist/cli/{chunk-BOZAP2EM.mjs → chunk-UYYOO7VT.mjs} +5 -5
- package/dist/cli/{chunk-Q7ACILL2.mjs → chunk-W6K6WULS.mjs} +2 -2
- package/dist/cli/{chunk-TJ6HLN56.js → chunk-W7SPSF63.js} +5 -5
- package/dist/cli/{chunk-PQQMPUCZ.js → chunk-WTQGJBHD.js} +3 -3
- package/dist/cli/{chunk-S6W6SJ6E.mjs → chunk-XIHZUWIG.mjs} +1 -1
- package/dist/cli/{chunk-IVZKMJUK.js → chunk-YI4ADWTN.js} +3 -2
- package/dist/cli/{chunk-WL7P32PI.js → chunk-YXH5Q7OY.js} +20 -20
- package/dist/cli/{chunk-FBAFX43W.js → chunk-Z2T7XTND.js} +10 -10
- package/dist/cli/{chunk-VQ75KX7G.mjs → chunk-Z3O5GCQM.mjs} +2 -2
- package/dist/cli/{chunk-KZHBDMGF.mjs → chunk-ZU6A4H6P.mjs} +2 -2
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/concurrent-runs-help-CHBVPWYT.js +22 -0
- package/dist/cli/{concurrent-runs-help-O3Q5IPLF.mjs → concurrent-runs-help-I7ZLXZDD.mjs} +6 -6
- package/dist/cli/{csv-Y3BFPEM6.mjs → csv-K7FNSHIM.mjs} +4 -4
- package/dist/cli/{csv-4ZQ2RATI.js → csv-Q2Y3KKK2.js} +13 -13
- package/dist/cli/{db-3JYY4JNN.mjs → db-74RBHX6G.mjs} +6 -6
- package/dist/cli/{db-VEIFS4M7.js → db-E4XSIQDS.js} +27 -27
- package/dist/cli/describe-TUW35JSY.js +50 -0
- package/dist/cli/{describe-EVJ4MFVU.mjs → describe-UYB6WDHS.mjs} +18 -18
- package/dist/cli/describe-core.d.mts +2 -2
- package/dist/cli/describe-core.d.ts +2 -2
- package/dist/cli/{executions-PCXZKEHM.mjs → executions-6LKXZRL4.mjs} +6 -6
- package/dist/cli/{executions-HPZXOOVX.js → executions-LX6HJM72.js} +8 -8
- package/dist/cli/{feedback-ZKFHFVL6.js → feedback-7D2JRVOM.js} +14 -14
- package/dist/cli/{feedback-Y6VKZNY6.mjs → feedback-B2V64TYZ.mjs} +6 -6
- package/dist/cli/{git-UMPR2QYC.mjs → git-7KNCB2HN.mjs} +5 -5
- package/dist/cli/git-TH4M62KL.js +26 -0
- package/dist/cli/index.js +147 -147
- package/dist/cli/index.mjs +46 -46
- package/dist/cli/{integrations-3GQCTRTF.js → integrations-34UK7XET.js} +15 -15
- package/dist/cli/{integrations-V3TM6XAB.mjs → integrations-J3RHOSAR.mjs} +7 -7
- package/dist/cli/{legacy-noops-VYCO7NGW.js → legacy-noops-HXJ6UMK7.js} +9 -9
- package/dist/cli/{legacy-noops-JZBUD7ZE.mjs → legacy-noops-WQUDES3K.mjs} +6 -6
- package/dist/cli/{mcp-4OIWTCE6.js → mcp-EZENPRPY.js} +24 -24
- package/dist/cli/{mcp-PH4KZ76P.mjs → mcp-JZPAPQYI.mjs} +4 -4
- package/dist/cli/{monitors-SSMGIDGX.mjs → monitors-GF2WEFF6.mjs} +7 -7
- package/dist/cli/{monitors-E2A6VPBY.js → monitors-GS2P4OUK.js} +100 -100
- package/dist/cli/{org-WUDZGWBT.js → org-V56HBHPB.js} +121 -121
- package/dist/cli/{org-SFDKSK5D.mjs → org-WJ2RO7ZE.mjs} +6 -6
- package/dist/cli/{outcomes-Y7SZTLSL.js → outcomes-D6KXYKGW.js} +14 -14
- package/dist/cli/{outcomes-QT7LQBPK.mjs → outcomes-WP5WV54Y.mjs} +6 -6
- package/dist/cli/{play-EK7KSFPL.mjs → play-FHHCHNQH.mjs} +34 -22
- package/dist/cli/{play-GDNHCRRR.js → play-PXUVRS4K.js} +339 -327
- package/dist/cli/{providers-FVZLRXAU.mjs → providers-HJ77LN3M.mjs} +6 -6
- package/dist/cli/{providers-ZKOSECLV.js → providers-TOXIJOY2.js} +9 -9
- package/dist/cli/{quickstart-KSDKIXYD.js → quickstart-MDXLT5SR.js} +6 -6
- package/dist/cli/{quickstart-UJZ6PIQV.mjs → quickstart-UEQHXEWP.mjs} +4 -4
- package/dist/cli/{run-PD2BBG6S.js → run-2MXAEH6U.js} +48 -54
- package/dist/cli/{run-E7MZ7P35.mjs → run-ZZ5ABZL7.mjs} +27 -33
- package/dist/cli/search-6DT2TGOU.js +32 -0
- package/dist/cli/{search-VTFUFTOY.mjs → search-AF4XVWC2.mjs} +7 -7
- package/dist/cli/{search-output-PFVXQCWA.mjs → search-output-3GFQJJGJ.mjs} +4 -4
- package/dist/cli/{search-output-G2AGDCOY.js → search-output-LEKJVZSH.js} +6 -6
- package/dist/cli/{secrets-BCOQ4U7U.js → secrets-MR2FNFGD.js} +15 -15
- package/dist/cli/{secrets-7CIMEMX7.mjs → secrets-TLH3FKCT.mjs} +6 -6
- package/dist/cli/sessions-EJYLWV2M.js +23 -0
- package/dist/cli/{sessions-IUCQZEF7.mjs → sessions-LUL5P66K.mjs} +6 -6
- package/dist/cli/{settings-KZN62UQK.mjs → settings-AWSRUTZR.mjs} +12 -12
- package/dist/cli/{settings-REL4736M.js → settings-Z2HYUOL7.js} +85 -85
- package/dist/cli/{setup-2XIVBBCS.js → setup-FIMXN4IC.js} +49 -49
- package/dist/cli/{setup-2P7OG3OU.mjs → setup-PFPAJOUI.mjs} +9 -9
- package/dist/cli/skills-232RNG5G.js +37 -0
- package/dist/cli/{skills-VIGNDJKI.mjs → skills-5DKSATY5.mjs} +7 -7
- package/dist/cli/{tools-W3QT5EJY.mjs → tools-BDNASCSH.mjs} +17 -17
- package/dist/cli/tools-P7FBJVJA.js +57 -0
- package/dist/cli/{update-GZVBVMY3.mjs → update-CAFUZ5XT.mjs} +9 -9
- package/dist/cli/update-OC4UB2XE.js +37 -0
- package/dist/cli/{views-BOGEH424.mjs → views-7PDXZUQA.mjs} +6 -6
- package/dist/cli/{views-TOLJNLSV.js → views-XJOBO6US.js} +21 -21
- package/dist/cli/{workflow-VDG2FDQV.mjs → workflow-2BMUGN7M.mjs} +7 -7
- package/dist/cli/{workflow-ENWFRK5M.js → workflow-KCPLU5R7.js} +17 -17
- package/dist/{client-B8f7RNF8.d.mts → client-1ogYQqUw.d.mts} +1 -1
- package/dist/{client-C5TgXmJQ.d.ts → client-BoayTB7p.d.ts} +1 -1
- package/dist/{client-core-SLLGBTht.d.mts → client-core-Ch8CXaX4.d.mts} +8 -2
- package/dist/{client-core-p0sOxnkl.d.ts → client-core-DySw9x_E.d.ts} +8 -2
- 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 +118 -118
- 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-SP6SKZJZ.js +0 -44
- package/dist/cli/concurrent-runs-help-ZFRZWX5V.js +0 -22
- package/dist/cli/describe-FG625QPF.js +0 -50
- package/dist/cli/git-RUBMALLH.js +0 -26
- package/dist/cli/search-TKSPTPHA.js +0 -32
- package/dist/cli/sessions-4CO556VD.js +0 -23
- package/dist/cli/skills-JYT5DEY6.js +0 -37
- package/dist/cli/tools-NTVUQ2TG.js +0 -57
- package/dist/cli/update-TWJZPUZM.js +0 -37
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-UUU5WUKM.mjs";
|
|
4
|
+
import "./chunk-57J3OOCR.mjs";
|
|
5
5
|
import "./chunk-FZHMNK6F.mjs";
|
|
6
6
|
import "./chunk-5TYLSS4Q.mjs";
|
|
7
7
|
import "./chunk-PSX3WHIH.mjs";
|
|
8
8
|
import {
|
|
9
9
|
printCommandEnvelope
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-N55EUVKV.mjs";
|
|
11
11
|
import {
|
|
12
12
|
ACTIVE_ORG_ID_ENV,
|
|
13
13
|
ACTIVE_ORG_NAME_ENV,
|
|
@@ -29,17 +29,17 @@ import {
|
|
|
29
29
|
saveProjectDeeplineEnvValues,
|
|
30
30
|
sdkCliStateDirPath,
|
|
31
31
|
storedHostFeatures
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-66BQY77L.mjs";
|
|
33
33
|
import {
|
|
34
34
|
detectAgentRuntime
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-XIHZUWIG.mjs";
|
|
36
36
|
import "./chunk-ASB47RXJ.mjs";
|
|
37
37
|
import "./chunk-DLIRSHV6.mjs";
|
|
38
38
|
import {
|
|
39
39
|
DeeplineError
|
|
40
40
|
} from "./chunk-Z3A2S3QM.mjs";
|
|
41
41
|
import "./chunk-2MGZAI54.mjs";
|
|
42
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-PGPPZMXD.mjs";
|
|
43
43
|
import "./chunk-WZYKRD7T.mjs";
|
|
44
44
|
import "./chunk-KRD6H754.mjs";
|
|
45
45
|
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await 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
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var _chunkQZ2C5ARHjs = require('./chunk-QZ2C5ARH.js');
|
|
4
|
+
require('./chunk-DYWOBLYL.js');
|
|
5
5
|
require('./chunk-4WAM6TLD.js');
|
|
6
6
|
require('./chunk-MJTVX4QK.js');
|
|
7
7
|
require('./chunk-PMH4GLMD.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkRWT6N2SUjs = require('./chunk-RWT6N2SU.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
16
|
-
require('./chunk-
|
|
15
|
+
var _chunkAYCC5JASjs = require('./chunk-AYCC5JAS.js');
|
|
16
|
+
require('./chunk-6M2SDRWN.js');
|
|
17
17
|
require('./chunk-6VLFQZK6.js');
|
|
18
18
|
require('./chunk-XNYIZMNQ.js');
|
|
19
19
|
require('./chunk-LFQJW4S2.js');
|
|
20
20
|
require('./chunk-CFJFUVX2.js');
|
|
21
|
-
require('./chunk-
|
|
21
|
+
require('./chunk-T3QSHU6E.js');
|
|
22
22
|
require('./chunk-OG64RBAC.js');
|
|
23
23
|
require('./chunk-COGTRVWW.js');
|
|
24
24
|
|
|
@@ -43,7 +43,7 @@ var _fs = require('fs');
|
|
|
43
43
|
function scopeDir(scope) {
|
|
44
44
|
const digest = _crypto.createHash.call(void 0, "sha256").update(_crypto.createHash.call(void 0, "sha256").update(scope.apiKey).digest("hex")).update("\0").update(_nullishCoalesce(_optionalChain([scope, 'access', _ => _.workspace, 'optionalAccess', _2 => _2.trim, 'call', _3 => _3()]), () => ( ""))).digest("hex");
|
|
45
45
|
return _path.join.call(void 0,
|
|
46
|
-
|
|
46
|
+
_chunkAYCC5JASjs.sdkCliStateDirPath.call(void 0, scope.baseUrl),
|
|
47
47
|
"outcome-claims",
|
|
48
48
|
digest.slice(0, 32)
|
|
49
49
|
);
|
|
@@ -103,7 +103,7 @@ async function readLocalFile(path) {
|
|
|
103
103
|
}
|
|
104
104
|
var BUSY_RETRIES = 3;
|
|
105
105
|
async function api(method, path, body, options) {
|
|
106
|
-
const client = new (0,
|
|
106
|
+
const client = new (0, _chunkQZ2C5ARHjs.DeeplineClient)();
|
|
107
107
|
for (let attempt = 0; ; attempt += 1) {
|
|
108
108
|
try {
|
|
109
109
|
return await client.outcomesApi(method, path, body, {
|
|
@@ -120,7 +120,7 @@ async function api(method, path, body, options) {
|
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
function claimScope() {
|
|
123
|
-
const { baseUrl, apiKey, workspace } =
|
|
123
|
+
const { baseUrl, apiKey, workspace } = _chunkAYCC5JASjs.resolveConfig.call(void 0, );
|
|
124
124
|
return { baseUrl, apiKey, workspace };
|
|
125
125
|
}
|
|
126
126
|
function outcomePath(outcome, rest = "") {
|
|
@@ -135,7 +135,7 @@ function safeForTerminal(text) {
|
|
|
135
135
|
}
|
|
136
136
|
function print(command, json, data, lines) {
|
|
137
137
|
const safe = lines.map(safeForTerminal);
|
|
138
|
-
|
|
138
|
+
_chunkRWT6N2SUjs.printCommandEnvelope.call(void 0,
|
|
139
139
|
{
|
|
140
140
|
ok: true,
|
|
141
141
|
command,
|
|
@@ -163,7 +163,7 @@ function errorResponse(error) {
|
|
|
163
163
|
function printFailure(json, failure, extra = {}) {
|
|
164
164
|
const { code, message, exitCode, next } = failure;
|
|
165
165
|
if (json) {
|
|
166
|
-
|
|
166
|
+
_chunkRWT6N2SUjs.printCommandEnvelope.call(void 0,
|
|
167
167
|
{
|
|
168
168
|
ok: false,
|
|
169
169
|
code,
|
|
@@ -862,7 +862,7 @@ function printCheckFailure(command, json, check) {
|
|
|
862
862
|
);
|
|
863
863
|
return;
|
|
864
864
|
}
|
|
865
|
-
|
|
865
|
+
_chunkRWT6N2SUjs.printCommandEnvelope.call(void 0,
|
|
866
866
|
{ ok: false, command, render: { sections: [{ title: command, lines }] } },
|
|
867
867
|
{ json: false, text: `${lines.join("\n")}
|
|
868
868
|
` }
|
|
@@ -1019,7 +1019,7 @@ Text that starts with - goes after --, for example: deepline ${path} ... -- "-5%
|
|
|
1019
1019
|
}
|
|
1020
1020
|
}
|
|
1021
1021
|
function registerOutcomesCommands(program) {
|
|
1022
|
-
const outcomes = program.command("outcomes", { hidden: !
|
|
1022
|
+
const outcomes = program.command("outcomes", { hidden: !_chunkAYCC5JASjs.cliFeatureEnabled.call(void 0, OUTCOMES_FEATURE) }).description(
|
|
1023
1023
|
"Hand a role to agents and people: what should be true, the guardrails, and a shared feed."
|
|
1024
1024
|
).addHelpText(
|
|
1025
1025
|
"after",
|
|
@@ -1222,7 +1222,7 @@ Examples:
|
|
|
1222
1222
|
);
|
|
1223
1223
|
return;
|
|
1224
1224
|
}
|
|
1225
|
-
|
|
1225
|
+
_chunkRWT6N2SUjs.printCommandEnvelope.call(void 0,
|
|
1226
1226
|
{
|
|
1227
1227
|
ok: true,
|
|
1228
1228
|
command: "outcomes get",
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-UUU5WUKM.mjs";
|
|
4
|
+
import "./chunk-57J3OOCR.mjs";
|
|
5
5
|
import "./chunk-FZHMNK6F.mjs";
|
|
6
6
|
import "./chunk-5TYLSS4Q.mjs";
|
|
7
7
|
import "./chunk-PSX3WHIH.mjs";
|
|
8
8
|
import {
|
|
9
9
|
printCommandEnvelope
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-N55EUVKV.mjs";
|
|
11
11
|
import {
|
|
12
12
|
cliFeatureEnabled,
|
|
13
13
|
resolveConfig,
|
|
14
14
|
sdkCliStateDirPath
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-66BQY77L.mjs";
|
|
16
|
+
import "./chunk-XIHZUWIG.mjs";
|
|
17
17
|
import "./chunk-ASB47RXJ.mjs";
|
|
18
18
|
import "./chunk-DLIRSHV6.mjs";
|
|
19
19
|
import "./chunk-Z3A2S3QM.mjs";
|
|
20
20
|
import "./chunk-2MGZAI54.mjs";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-PGPPZMXD.mjs";
|
|
22
22
|
import "./chunk-WZYKRD7T.mjs";
|
|
23
23
|
import "./chunk-KRD6H754.mjs";
|
|
24
24
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
handleDeploymentGet,
|
|
3
3
|
handleDeploymentsList
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZU6A4H6P.mjs";
|
|
5
5
|
import {
|
|
6
6
|
DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS,
|
|
7
7
|
MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
parsePlayRunHeaderFlag,
|
|
10
10
|
parsePlayRunOptions,
|
|
11
11
|
resolvePlayRunCliOptions
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-Z3O5GCQM.mjs";
|
|
13
13
|
import {
|
|
14
14
|
ExecutionOutputError,
|
|
15
15
|
TABLE_EXPORT_ERROR_COLUMN,
|
|
@@ -22,10 +22,10 @@ import {
|
|
|
22
22
|
underscoreKeysLast,
|
|
23
23
|
writeExecutionOutput,
|
|
24
24
|
writeRunDatasetCsv
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-S65SZ74B.mjs";
|
|
26
26
|
import {
|
|
27
27
|
registerDeprecatedSearchCommand
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-5J6TKML2.mjs";
|
|
29
29
|
import "./chunk-5AEDYVB6.mjs";
|
|
30
30
|
import {
|
|
31
31
|
buildPlayDashboardUrl,
|
|
@@ -51,10 +51,10 @@ import {
|
|
|
51
51
|
import {
|
|
52
52
|
pinLocalPlayImports,
|
|
53
53
|
planLocalPlayExecution
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-T4BFNFBL.mjs";
|
|
55
55
|
import {
|
|
56
56
|
DeeplineClient
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-UUU5WUKM.mjs";
|
|
58
58
|
import {
|
|
59
59
|
RUN_EVENT_SEARCH_KIND_VALUES,
|
|
60
60
|
RunEventQueryInputError,
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
normalizePlayStatus,
|
|
68
68
|
normalizeRunEventOperationRequest,
|
|
69
69
|
parseLogLevel
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-57J3OOCR.mjs";
|
|
71
71
|
import "./chunk-FZHMNK6F.mjs";
|
|
72
72
|
import {
|
|
73
73
|
CSV_DATA_INPUT_KEY,
|
|
@@ -90,18 +90,18 @@ import {
|
|
|
90
90
|
import {
|
|
91
91
|
checkPlayRunCompatibility,
|
|
92
92
|
usesCliPlayAdmission
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-RO7SIWBG.mjs";
|
|
94
94
|
import {
|
|
95
95
|
isCliTraceEnabled,
|
|
96
96
|
recordCliTrace,
|
|
97
97
|
resolveCliMaintenancePolicy,
|
|
98
98
|
traceCliSpan
|
|
99
|
-
} from "./chunk-
|
|
100
|
-
import "./chunk-
|
|
99
|
+
} from "./chunk-NFWZAQAU.mjs";
|
|
100
|
+
import "./chunk-UYYOO7VT.mjs";
|
|
101
101
|
import {
|
|
102
102
|
createCliProgress,
|
|
103
103
|
getActiveCliProgress
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-7H753VC5.mjs";
|
|
105
105
|
import {
|
|
106
106
|
formatNonStandardSandboxRuntimeWarning
|
|
107
107
|
} from "./chunk-LRZGS6RZ.mjs";
|
|
@@ -122,13 +122,13 @@ import {
|
|
|
122
122
|
printJsonError,
|
|
123
123
|
renderCommandEnvelopeText,
|
|
124
124
|
shouldEmitJson
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-N55EUVKV.mjs";
|
|
126
126
|
import {
|
|
127
127
|
cliFeatureEnabled
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-66BQY77L.mjs";
|
|
129
129
|
import {
|
|
130
130
|
fetchWithDeploymentProtection
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-XIHZUWIG.mjs";
|
|
132
132
|
import "./chunk-ASB47RXJ.mjs";
|
|
133
133
|
import "./chunk-DLIRSHV6.mjs";
|
|
134
134
|
import {
|
|
@@ -138,7 +138,7 @@ import {
|
|
|
138
138
|
playRunIdLookupPrefix,
|
|
139
139
|
shortPlayRunId
|
|
140
140
|
} from "./chunk-2MGZAI54.mjs";
|
|
141
|
-
import "./chunk-
|
|
141
|
+
import "./chunk-PGPPZMXD.mjs";
|
|
142
142
|
import "./chunk-WZYKRD7T.mjs";
|
|
143
143
|
import {
|
|
144
144
|
__commonJS,
|
|
@@ -14205,6 +14205,7 @@ async function writePlayRunReceipt(client, status, output) {
|
|
|
14205
14205
|
const allCollections = outputCollections(data).map(
|
|
14206
14206
|
(collection) => byRows.get(collection.rows) ?? collection
|
|
14207
14207
|
);
|
|
14208
|
+
const credits = status.billingTotalCreditsRollup ?? status.billing?.totalCredits ?? null;
|
|
14208
14209
|
writeExecutionOutput(
|
|
14209
14210
|
{
|
|
14210
14211
|
id: status.runId,
|
|
@@ -14213,13 +14214,17 @@ async function writePlayRunReceipt(client, status, output) {
|
|
|
14213
14214
|
...allCollections.length ? { collections: allCollections } : {},
|
|
14214
14215
|
complete: allCollections.every((c) => c.complete === true) ? true : allCollections.some((c) => c.complete === false) ? false : null,
|
|
14215
14216
|
error,
|
|
14216
|
-
credits
|
|
14217
|
+
credits,
|
|
14218
|
+
...credits !== null ? { creditsPostedSoFar: true } : {},
|
|
14217
14219
|
...playName ? { page: buildPlayRunUrl(client.baseUrl, playName, status.runId) } : {},
|
|
14218
14220
|
warnings: [
|
|
14219
14221
|
...buildRunWarnings(status, null),
|
|
14220
14222
|
...status.status === "completed" && collections.length && collections.every((collection) => collection.rows.length === 0) ? ["Run completed with 0 output rows."] : []
|
|
14221
14223
|
],
|
|
14222
|
-
next
|
|
14224
|
+
next: {
|
|
14225
|
+
...next,
|
|
14226
|
+
settledCost: `deepline billing usage --run-id ${shellQuote(status.runId)}`
|
|
14227
|
+
}
|
|
14223
14228
|
},
|
|
14224
14229
|
output
|
|
14225
14230
|
);
|
|
@@ -16748,7 +16753,7 @@ async function handlePlaySave(args) {
|
|
|
16748
16753
|
}
|
|
16749
16754
|
}
|
|
16750
16755
|
async function enforceOutcomeGuardrail(input) {
|
|
16751
|
-
const { requireOutcomeGuardrail } = await import("./outcomes-
|
|
16756
|
+
const { requireOutcomeGuardrail } = await import("./outcomes-WP5WV54Y.mjs");
|
|
16752
16757
|
try {
|
|
16753
16758
|
const gate = await requireOutcomeGuardrail({ ...input, phase: "reserve" });
|
|
16754
16759
|
return {
|
|
@@ -16776,7 +16781,7 @@ async function enforceOutcomeGuardrail(input) {
|
|
|
16776
16781
|
}
|
|
16777
16782
|
}
|
|
16778
16783
|
async function settleOutcomeApproval(input) {
|
|
16779
|
-
const { requireOutcomeGuardrail } = await import("./outcomes-
|
|
16784
|
+
const { requireOutcomeGuardrail } = await import("./outcomes-WP5WV54Y.mjs");
|
|
16780
16785
|
const id = `${input.outcome}/${input.approval.seq}`;
|
|
16781
16786
|
try {
|
|
16782
16787
|
await requireOutcomeGuardrail({
|
|
@@ -17337,7 +17342,14 @@ Notes:
|
|
|
17337
17342
|
resolvers. Accepted range: 1-${MAX_CONFIGURABLE_CONCURRENT_ROWS}. The runtime
|
|
17338
17343
|
may lower it when source-row size exceeds the active-row memory budget.
|
|
17339
17344
|
--max-credits replaces the play's billing.maxCreditsPerRun for this run.
|
|
17340
|
-
|
|
17345
|
+
Before each tool call, its quoted price is added to what the run has
|
|
17346
|
+
already been charged; a call that would go over the cap is refused with
|
|
17347
|
+
RUN_BILLING_CAP_EXCEEDED. The cap counts charges already posted, not
|
|
17348
|
+
calls still in flight, so calls that run in parallel can together end the
|
|
17349
|
+
run somewhat over the cap. Compute is always charged and never refused by
|
|
17350
|
+
the cap, so it can also take the run over it.
|
|
17351
|
+
Charges can post a few seconds after the run ends;
|
|
17352
|
+
deepline billing usage --run-id <run-id> shows the settled cost.
|
|
17341
17353
|
This command starts cloud work and may spend Deepline credits through tool calls.
|
|
17342
17354
|
|
|
17343
17355
|
Idempotent execution:
|
|
@@ -17783,7 +17795,7 @@ Examples:
|
|
|
17783
17795
|
process.exitCode = await ownView();
|
|
17784
17796
|
return;
|
|
17785
17797
|
}
|
|
17786
|
-
const { describeAnything } = await import("./describe-
|
|
17798
|
+
const { describeAnything } = await import("./describe-UYB6WDHS.mjs");
|
|
17787
17799
|
process.exitCode = await describeAnything(
|
|
17788
17800
|
name,
|
|
17789
17801
|
{
|
|
@@ -18174,7 +18186,7 @@ Examples:
|
|
|
18174
18186
|
new Option2("--log-failed", "Attach terminal-failure logs").hideHelp()
|
|
18175
18187
|
).action(async (runId, options) => {
|
|
18176
18188
|
if (TOOL_EXECUTION_ID.test(runId)) {
|
|
18177
|
-
const { getToolExecutionReceipt } = await import("./tools-
|
|
18189
|
+
const { getToolExecutionReceipt } = await import("./tools-BDNASCSH.mjs");
|
|
18178
18190
|
process.exitCode = await getToolExecutionReceipt(runId, {
|
|
18179
18191
|
receiptJson: options.json !== void 0
|
|
18180
18192
|
});
|