deepline 0.3.392 → 0.3.394
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.ts +156 -24
- package/dist/bundling-sources/sdk/src/compat.ts +9 -0
- package/dist/bundling-sources/sdk/src/http.ts +5 -1
- package/dist/bundling-sources/sdk/src/index.ts +5 -0
- package/dist/bundling-sources/sdk/src/plays/run-request.ts +182 -6
- package/dist/bundling-sources/sdk/src/release.ts +4 -1
- package/dist/bundling-sources/sdk/src/types.ts +13 -0
- package/dist/bundling-sources/shared_libs/integration-contracts/request-warnings.ts +64 -0
- package/dist/bundling-sources/shared_libs/play-data-plane/runtime-sheet-storage-contract.ts +315 -0
- package/dist/bundling-sources/shared_libs/play-runtime/async-operation.ts +41 -8
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +895 -54
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +41 -4
- package/dist/bundling-sources/shared_libs/play-runtime/durable-call-policy.ts +28 -0
- package/dist/bundling-sources/shared_libs/play-runtime/durable-invocation-fence.ts +36 -0
- package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +251 -0
- package/dist/bundling-sources/shared_libs/play-runtime/map-execution-frame.ts +11 -3
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/projection/gateway-adapter.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runtime-semantics.ts +30 -1
- package/dist/bundling-sources/shared_libs/play-runtime/run-identity.ts +26 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +168 -10
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +252 -10
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +92 -58
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-pool.ts +7 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-progress.ts +30 -7
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +1161 -316
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +28 -15
- package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +24 -3
- package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +32 -0
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +103 -23
- package/dist/bundling-sources/shared_libs/plays/core.ts +1 -1
- package/dist/bundling-sources/shared_libs/plays/dataset.ts +172 -79
- package/dist/bundling-sources/shared_libs/plays/static-pipeline.ts +173 -1
- package/dist/bundling-sources/shared_libs/plays/tool-result-types.ts +18 -0
- package/dist/cli/auth-IHKISLJQ.js +39 -0
- package/dist/cli/{auth-6JSA2ZCW.mjs → auth-OSXDAVCF.mjs} +4 -4
- package/dist/cli/{billing-Q5BLQHIU.js → billing-EKLYOXUY.js} +101 -74
- package/dist/cli/{billing-MRRO643H.mjs → billing-ZNNKX3UR.mjs} +32 -5
- package/dist/cli/{chunk-4SFPVW7A.js → chunk-2MDDA7A4.js} +26 -26
- package/dist/cli/{chunk-JOFPQGXW.js → chunk-354JCXA2.js} +50 -50
- package/dist/cli/{chunk-7E66A24V.mjs → chunk-3HU47EGZ.mjs} +71 -9
- package/dist/cli/{chunk-DSWSEHRX.mjs → chunk-3HWALOL2.mjs} +1 -1
- package/dist/cli/{chunk-T7OKJ2T6.js → chunk-4P27AXEA.js} +73 -63
- package/dist/cli/{chunk-24VEN5PQ.mjs → chunk-5BB2RGAX.mjs} +190 -18
- package/dist/cli/{chunk-JSLPHFP7.js → chunk-6YAUMG27.js} +3 -2
- package/dist/cli/{chunk-MU6M3URX.mjs → chunk-BP33SIZF.mjs} +1 -1
- package/dist/cli/{chunk-WMS5U6YB.js → chunk-CS6RAIVY.js} +20 -19
- package/dist/cli/{chunk-CVLM3WMJ.js → chunk-E23BQ5SC.js} +242 -183
- package/dist/cli/{chunk-2GAHHSLB.mjs → chunk-FJGW5GXU.mjs} +3 -2
- package/dist/cli/{chunk-YN6YA7ZZ.mjs → chunk-JHIJIHFB.mjs} +79 -20
- package/dist/cli/{chunk-Q6EOHNRH.mjs → chunk-JI2B4RZP.mjs} +119 -6
- package/dist/cli/{chunk-5O4B6AUN.js → chunk-KB4SDX5S.js} +71 -9
- package/dist/cli/{chunk-RV6ALZIX.js → chunk-KGNTKMRG.js} +32 -7
- package/dist/cli/{chunk-6DBOU7UH.js → chunk-KI635JN4.js} +176 -87
- package/dist/cli/{chunk-2FQG2HU4.js → chunk-KIUMEOM5.js} +8 -8
- package/dist/cli/{chunk-Y6VOGHF2.mjs → chunk-KZZC33PY.mjs} +0 -181
- package/dist/cli/{chunk-2Q3GEFL4.mjs → chunk-M57J2SK4.mjs} +2 -2
- package/dist/cli/{chunk-R3O2CZ4H.mjs → chunk-MFB2VKBO.mjs} +2 -2
- package/dist/cli/{chunk-QGKPTBRR.js → chunk-MH73HMPV.js} +3 -3
- package/dist/cli/{chunk-BB3FNYFY.js → chunk-MLPU5SMZ.js} +2 -2
- package/dist/cli/{chunk-2G7DXFHI.mjs → chunk-NR3DFKNF.mjs} +27 -2
- package/dist/cli/{chunk-EY7RFC6A.js → chunk-QIQBYKLB.js} +15 -15
- package/dist/cli/{chunk-RIV2GS5E.js → chunk-RBJYWRCF.js} +638 -466
- package/dist/cli/{chunk-3VN4FTE3.js → chunk-RDXFGPJU.js} +1 -182
- package/dist/cli/{chunk-YAZCDBXX.mjs → chunk-TJI2EN6K.mjs} +3 -2
- package/dist/cli/chunk-UBKA33KY.mjs +310 -0
- package/dist/cli/{chunk-PAIMOGCM.js → chunk-UHNDVD3P.js} +125 -12
- package/dist/cli/{chunk-4TCT77UF.js → chunk-URWF7NGQ.js} +6 -1
- package/dist/cli/{chunk-2QLML6G4.mjs → chunk-UXFSWG3Q.mjs} +4 -4
- package/dist/cli/{chunk-UCKJQG25.js → chunk-VK6FYZLP.js} +8 -8
- package/dist/cli/{chunk-ZTACINO5.mjs → chunk-X63FDZJZ.mjs} +13 -3
- package/dist/cli/chunk-XDVT3GOM.js +310 -0
- package/dist/cli/{chunk-A3APGZFP.mjs → chunk-XRQ2AQL7.mjs} +2 -2
- package/dist/cli/{chunk-3FV4GBRK.mjs → chunk-XXUDVEXK.mjs} +97 -8
- package/dist/cli/{chunk-PQSA443V.mjs → chunk-ZI2ZNDJK.mjs} +6 -1
- package/dist/cli/{chunk-HGYBEAQP.mjs → chunk-ZYBGA4AR.mjs} +3 -3
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-E4QGUIGI.mjs → csv-5AXRB35H.mjs} +3 -3
- package/dist/cli/{csv-26U5T24Z.js → csv-LU7O75WE.js} +12 -12
- package/dist/cli/{db-JTRJIAQW.mjs → db-7XP5UWEW.mjs} +6 -5
- package/dist/cli/{db-QHBFLMVL.js → db-F7YTFKVM.js} +31 -30
- package/dist/cli/{describe-FDV2V74F.js → describe-FRH32RDV.js} +24 -23
- package/dist/cli/{describe-E3DE3ZK3.mjs → describe-K4ES5LIL.mjs} +17 -16
- package/dist/cli/{executions-B3GTNPRE.mjs → executions-IEHEHJUO.mjs} +6 -5
- package/dist/cli/{executions-VZYOGVQY.js → executions-RZV5XPT2.js} +8 -7
- package/dist/cli/{feedback-CR55FJA2.js → feedback-3P65QTX3.js} +7 -7
- package/dist/cli/{feedback-4CEBR3OV.mjs → feedback-FPUVZBAN.mjs} +3 -3
- package/dist/cli/{git-NM2PHHZ4.mjs → git-GLVVP7TY.mjs} +4 -4
- package/dist/cli/git-MFFAWVVX.js +23 -0
- package/dist/cli/index.js +100 -96
- package/dist/cli/index.mjs +47 -43
- package/dist/cli/{legacy-noops-A7MSW5ND.mjs → legacy-noops-3MOI6NBM.mjs} +4 -4
- package/dist/cli/{legacy-noops-ZUA4YFIH.js → legacy-noops-XKSGZR7Q.js} +7 -7
- package/dist/cli/{monitors-NVPRQYP3.mjs → monitors-FTBGNEFG.mjs} +6 -5
- package/dist/cli/{monitors-ZE3TLZ4H.js → monitors-NZ2DYNST.js} +87 -86
- package/dist/cli/{org-U7A6DV5D.js → org-MCKDQXIV.js} +66 -65
- package/dist/cli/{org-KUBILNQV.mjs → org-V2J5RBCN.mjs} +6 -5
- package/dist/cli/{play-HRDXQ4QE.mjs → play-AJFGME3B.mjs} +11 -10
- package/dist/cli/play-WLSN2EO2.js +158 -0
- package/dist/cli/{providers-VD6YTVQZ.js → providers-2JEZ2264.js} +9 -8
- package/dist/cli/{providers-OHIWI453.mjs → providers-I6RQJZFZ.mjs} +6 -5
- package/dist/cli/{quickstart-UBV2FONF.mjs → quickstart-BIDQDMO4.mjs} +3 -3
- package/dist/cli/{quickstart-ETTCWPA4.js → quickstart-GJ2RPDU3.js} +5 -5
- package/dist/cli/run-identity-G257GQED.js +25 -0
- package/dist/cli/run-identity-MRNCEGV2.mjs +25 -0
- package/dist/cli/search-5VN4YD4I.js +27 -0
- package/dist/cli/{search-F44IZRT7.mjs → search-ELRXFWG5.mjs} +7 -6
- package/dist/cli/{secrets-CAEMRORF.js → secrets-53IT6VXD.js} +15 -14
- package/dist/cli/{secrets-R6XOJZKU.mjs → secrets-SQXGZXIC.mjs} +6 -5
- package/dist/cli/{sessions-RLN6UQS3.mjs → sessions-2X5QF7SL.mjs} +4 -4
- package/dist/cli/{sessions-6GC7OFTT.js → sessions-CAV5M77Y.js} +5 -5
- package/dist/cli/{settings-DPNVUAV2.js → settings-532WNAZO.js} +76 -75
- package/dist/cli/{settings-KIPAMRPP.mjs → settings-7P67VGCJ.mjs} +9 -8
- package/dist/cli/{setup-DTL3L5SG.js → setup-6L2VSUWJ.js} +41 -41
- package/dist/cli/{setup-TU2F7PU5.mjs → setup-QGGBV2LE.mjs} +6 -6
- package/dist/cli/{skills-UV5MYJ46.mjs → skills-3FE62WBG.mjs} +4 -4
- package/dist/cli/skills-S6NPZAN7.js +28 -0
- package/dist/cli/tools-647RLXQS.js +41 -0
- package/dist/cli/{tools-QRRNDCQ7.mjs → tools-DMR25DEF.mjs} +10 -9
- package/dist/cli/{update-4426TF35.mjs → update-6RZMHJZP.mjs} +6 -6
- package/dist/cli/update-WVTSC3EM.js +28 -0
- package/dist/cli/{workflow-N4U5VLZ3.mjs → workflow-L2DQRE6R.mjs} +7 -6
- package/dist/cli/{workflow-HNLOVISB.js → workflow-TX4F2PIX.js} +17 -16
- package/dist/{client-e6Qh5ZIg.d.mts → client-BktIPdIj.d.mts} +153 -4
- package/dist/{client-Uxuy-xQ2.d.ts → client-C3O1Ipf3.d.ts} +153 -4
- package/dist/{compiler-manifest-CY2v8ab0.d.ts → compiler-manifest-DLxUY5kI.d.mts} +124 -10
- package/dist/{compiler-manifest-CY2v8ab0.d.mts → compiler-manifest-DLxUY5kI.d.ts} +124 -10
- package/dist/{index-BZ6uzZJl.d.ts → index-B_GM9E3q.d.ts} +1 -1
- package/dist/{index-B9fBZH1g.d.mts → index-SCb0NvDb.d.mts} +1 -1
- package/dist/index.d.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +120 -29
- package/dist/index.mjs +111 -20
- package/dist/install-integrity.json +94 -88
- package/dist/plays/bundle-play-file.d.mts +3 -3
- package/dist/plays/bundle-play-file.d.ts +3 -3
- package/dist/plays/bundle-play-file.mjs +2 -2
- package/dist/plays/run-request.d.mts +2 -2
- package/dist/plays/run-request.d.ts +2 -2
- package/dist/plays/run-request.js +5 -2
- package/dist/plays/run-request.mjs +4 -1
- package/dist/release.d.mts +4 -1
- package/dist/release.d.ts +4 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/package.json +1 -1
- package/dist/cli/auth-67TAELQL.js +0 -39
- package/dist/cli/git-I5JTK6YU.js +0 -23
- package/dist/cli/play-A2V7YDU7.js +0 -157
- package/dist/cli/search-WWXMBVPH.js +0 -26
- package/dist/cli/skills-SWOSEZLB.js +0 -28
- package/dist/cli/tools-IL2YCDQ6.js +0 -40
- package/dist/cli/update-BERDPEYR.js +0 -28
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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
3
|
|
|
4
|
+
var _chunkRBJYWRCFjs = require('./chunk-RBJYWRCF.js');
|
|
4
5
|
|
|
5
6
|
|
|
6
|
-
var _chunk6DBOU7UHjs = require('./chunk-6DBOU7UH.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkKI635JN4js = require('./chunk-KI635JN4.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
@@ -19,31 +19,32 @@ var _chunkRIV2GS5Ejs = require('./chunk-RIV2GS5E.js');
|
|
|
19
19
|
|
|
20
20
|
var _chunkZMVJSS6Njs = require('./chunk-ZMVJSS6N.js');
|
|
21
21
|
require('./chunk-AID3OYVJ.js');
|
|
22
|
-
require('./chunk-
|
|
22
|
+
require('./chunk-MH73HMPV.js');
|
|
23
23
|
require('./chunk-3KC45UVF.js');
|
|
24
24
|
require('./chunk-GSK6NHVM.js');
|
|
25
|
-
require('./chunk-
|
|
26
|
-
require('./chunk-
|
|
27
|
-
require('./chunk-3VN4FTE3.js');
|
|
25
|
+
require('./chunk-VK6FYZLP.js');
|
|
26
|
+
require('./chunk-2MDDA7A4.js');
|
|
28
27
|
require('./chunk-GEJDBXXM.js');
|
|
29
|
-
require('./chunk-
|
|
28
|
+
require('./chunk-RDXFGPJU.js');
|
|
29
|
+
require('./chunk-KB4SDX5S.js');
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkE23BQ5SCjs = require('./chunk-E23BQ5SC.js');
|
|
33
33
|
require('./chunk-S6R3OX7B.js');
|
|
34
|
-
require('./chunk-
|
|
35
|
-
require('./chunk-
|
|
34
|
+
require('./chunk-UHNDVD3P.js');
|
|
35
|
+
require('./chunk-XDVT3GOM.js');
|
|
36
36
|
require('./chunk-AYHLUHE5.js');
|
|
37
|
+
require('./chunk-QJBJZVG6.js');
|
|
37
38
|
require('./chunk-WJYPBHTE.js');
|
|
38
39
|
|
|
39
40
|
|
|
40
|
-
var
|
|
41
|
-
require('./chunk-
|
|
41
|
+
var _chunkKGNTKMRGjs = require('./chunk-KGNTKMRG.js');
|
|
42
|
+
require('./chunk-CS6RAIVY.js');
|
|
42
43
|
require('./chunk-XNYIZMNQ.js');
|
|
43
44
|
|
|
44
45
|
|
|
45
46
|
var _chunk7P5AA3SNjs = require('./chunk-7P5AA3SN.js');
|
|
46
|
-
require('./chunk-
|
|
47
|
+
require('./chunk-6YAUMG27.js');
|
|
47
48
|
require('./chunk-OG64RBAC.js');
|
|
48
49
|
require('./chunk-COGTRVWW.js');
|
|
49
50
|
|
|
@@ -64,7 +65,7 @@ var VIEWS = {
|
|
|
64
65
|
details: model,
|
|
65
66
|
lines: [
|
|
66
67
|
...unlisted,
|
|
67
|
-
...
|
|
68
|
+
..._chunkKI635JN4js.formatModelDescription.call(void 0, model).trimEnd().split("\n")
|
|
68
69
|
]
|
|
69
70
|
};
|
|
70
71
|
},
|
|
@@ -134,11 +135,11 @@ async function found(lookup) {
|
|
|
134
135
|
async function describeAnything(name, options, onMissing) {
|
|
135
136
|
const maintainedOnly = options.prebuilt === true || options.tool === true;
|
|
136
137
|
const wants = (filter) => (!options.kinds || options.kinds.includes(filter)) && !(maintainedOnly && filter === "custom");
|
|
137
|
-
const client = new (0,
|
|
138
|
+
const client = new (0, _chunkE23BQ5SCjs.DeeplineClient)();
|
|
138
139
|
const play = async (reference) => {
|
|
139
140
|
const record2 = await client.describePlay(reference);
|
|
140
141
|
return {
|
|
141
|
-
described:
|
|
142
|
+
described: _chunkRBJYWRCFjs.describedPlay.call(void 0, record2),
|
|
142
143
|
record: { ...record2 },
|
|
143
144
|
schemas: {
|
|
144
145
|
inputSchema: _nullishCoalesce(record2.inputSchema, () => ( null)),
|
|
@@ -152,14 +153,14 @@ async function describeAnything(name, options, onMissing) {
|
|
|
152
153
|
const features = toolFeatures(record2);
|
|
153
154
|
return {
|
|
154
155
|
described: {
|
|
155
|
-
...
|
|
156
|
+
..._chunkKI635JN4js.describedTool.call(void 0, record2, name),
|
|
156
157
|
// Shown when the tool runs only on your own credentials; otherwise
|
|
157
158
|
// it is a feature, described with --feature byok.
|
|
158
159
|
..._optionalChain([byok, 'optionalAccess', _3 => _3.required]) === true ? { byok } : {},
|
|
159
160
|
...features.length ? { features: features.map(({ view: _view, ...feature }) => feature) } : {}
|
|
160
161
|
},
|
|
161
|
-
record:
|
|
162
|
-
schemas:
|
|
162
|
+
record: _chunkKI635JN4js.toolMetadataJsonForDescribe.call(void 0, record2, name),
|
|
163
|
+
schemas: _chunkKI635JN4js.publicToolSchemas.call(void 0, record2),
|
|
163
164
|
feature: (featureName, value) => {
|
|
164
165
|
const feature = features.find(({ name: name2 }) => name2 === featureName);
|
|
165
166
|
return feature ? describeFeature(record2, feature, value, {
|
|
@@ -197,7 +198,7 @@ async function describeAnything(name, options, onMissing) {
|
|
|
197
198
|
const verbose = options.verbose === true;
|
|
198
199
|
const json = options.json === true;
|
|
199
200
|
const isPlay = described.kind === "prebuilt_play" || described.kind === "custom_play";
|
|
200
|
-
const dashboardUrl = isPlay ?
|
|
201
|
+
const dashboardUrl = isPlay ? _chunkRBJYWRCFjs.buildPlayDashboardUrl.call(void 0, client.baseUrl, described.id) : null;
|
|
201
202
|
if (options.webUrl) {
|
|
202
203
|
if (!dashboardUrl) {
|
|
203
204
|
console.error(
|
|
@@ -205,7 +206,7 @@ async function describeAnything(name, options, onMissing) {
|
|
|
205
206
|
);
|
|
206
207
|
return 1;
|
|
207
208
|
}
|
|
208
|
-
|
|
209
|
+
_chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
|
|
209
210
|
{ dashboardUrl },
|
|
210
211
|
{ json, text: `${dashboardUrl}
|
|
211
212
|
` }
|
|
@@ -314,14 +315,14 @@ function deliver(envelope, lines, { json, out }) {
|
|
|
314
315
|
` : text;
|
|
315
316
|
_fs.writeFileSync.call(void 0, path, content);
|
|
316
317
|
const bytes = Buffer.byteLength(content);
|
|
317
|
-
|
|
318
|
+
_chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
|
|
318
319
|
{ path, bytes },
|
|
319
320
|
{ json, text: `Wrote ${path} (${bytes} bytes)
|
|
320
321
|
` }
|
|
321
322
|
);
|
|
322
323
|
return 0;
|
|
323
324
|
}
|
|
324
|
-
|
|
325
|
+
_chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, envelope, { json, text });
|
|
325
326
|
return 0;
|
|
326
327
|
}
|
|
327
328
|
function registerDescribeCommand(program) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildPlayDashboardUrl,
|
|
3
|
+
describedPlay
|
|
4
|
+
} from "./chunk-5BB2RGAX.mjs";
|
|
1
5
|
import {
|
|
2
6
|
describedTool,
|
|
3
7
|
formatModelDescription,
|
|
4
8
|
publicToolSchemas,
|
|
5
9
|
toolMetadataJsonForDescribe
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import {
|
|
8
|
-
buildPlayDashboardUrl,
|
|
9
|
-
describedPlay
|
|
10
|
-
} from "./chunk-24VEN5PQ.mjs";
|
|
10
|
+
} from "./chunk-XXUDVEXK.mjs";
|
|
11
11
|
import {
|
|
12
12
|
SCHEMA_LINE_LIMIT,
|
|
13
13
|
addDescribeOptions,
|
|
@@ -19,31 +19,32 @@ import {
|
|
|
19
19
|
topLevelField
|
|
20
20
|
} from "./chunk-VB6KECLU.mjs";
|
|
21
21
|
import "./chunk-OVDNJAJN.mjs";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-3HWALOL2.mjs";
|
|
23
23
|
import "./chunk-H7HIDGZ7.mjs";
|
|
24
24
|
import "./chunk-HQXL5526.mjs";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-Y6VOGHF2.mjs";
|
|
25
|
+
import "./chunk-ZYBGA4AR.mjs";
|
|
26
|
+
import "./chunk-XRQ2AQL7.mjs";
|
|
28
27
|
import "./chunk-ERFN2QY4.mjs";
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-KZZC33PY.mjs";
|
|
29
|
+
import "./chunk-3HU47EGZ.mjs";
|
|
30
30
|
import {
|
|
31
31
|
DeeplineClient
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-JHIJIHFB.mjs";
|
|
33
33
|
import "./chunk-6IKARAYD.mjs";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-JI2B4RZP.mjs";
|
|
35
|
+
import "./chunk-UBKA33KY.mjs";
|
|
36
36
|
import "./chunk-UFS752TU.mjs";
|
|
37
|
+
import "./chunk-WXLOW623.mjs";
|
|
37
38
|
import "./chunk-GAMFK2ZP.mjs";
|
|
38
39
|
import {
|
|
39
40
|
printCommandEnvelope
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import "./chunk-
|
|
41
|
+
} from "./chunk-NR3DFKNF.mjs";
|
|
42
|
+
import "./chunk-FJGW5GXU.mjs";
|
|
42
43
|
import "./chunk-DLIRSHV6.mjs";
|
|
43
44
|
import {
|
|
44
45
|
DeeplineError
|
|
45
46
|
} from "./chunk-NXGCO4JB.mjs";
|
|
46
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-TJI2EN6K.mjs";
|
|
47
48
|
import "./chunk-WZYKRD7T.mjs";
|
|
48
49
|
import "./chunk-KRD6H754.mjs";
|
|
49
50
|
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JHIJIHFB.mjs";
|
|
4
4
|
import "./chunk-6IKARAYD.mjs";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-JI2B4RZP.mjs";
|
|
6
|
+
import "./chunk-UBKA33KY.mjs";
|
|
6
7
|
import {
|
|
7
8
|
printCommandEnvelope
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-NR3DFKNF.mjs";
|
|
10
|
+
import "./chunk-FJGW5GXU.mjs";
|
|
10
11
|
import "./chunk-DLIRSHV6.mjs";
|
|
11
12
|
import "./chunk-NXGCO4JB.mjs";
|
|
12
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-TJI2EN6K.mjs";
|
|
13
14
|
import "./chunk-WZYKRD7T.mjs";
|
|
14
15
|
import "./chunk-KRD6H754.mjs";
|
|
15
16
|
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkE23BQ5SCjs = require('./chunk-E23BQ5SC.js');
|
|
4
4
|
require('./chunk-S6R3OX7B.js');
|
|
5
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-UHNDVD3P.js');
|
|
6
|
+
require('./chunk-XDVT3GOM.js');
|
|
6
7
|
|
|
7
8
|
|
|
8
|
-
var
|
|
9
|
-
require('./chunk-
|
|
9
|
+
var _chunkKGNTKMRGjs = require('./chunk-KGNTKMRG.js');
|
|
10
|
+
require('./chunk-CS6RAIVY.js');
|
|
10
11
|
require('./chunk-XNYIZMNQ.js');
|
|
11
12
|
require('./chunk-7P5AA3SN.js');
|
|
12
|
-
require('./chunk-
|
|
13
|
+
require('./chunk-6YAUMG27.js');
|
|
13
14
|
require('./chunk-OG64RBAC.js');
|
|
14
15
|
require('./chunk-COGTRVWW.js');
|
|
15
16
|
|
|
@@ -17,10 +18,10 @@ require('./chunk-COGTRVWW.js');
|
|
|
17
18
|
function registerExecutionsCommands(program) {
|
|
18
19
|
const executions = program.command("executions").description("Inspect and recover keyed tool executions.");
|
|
19
20
|
executions.command("get").description("Retrieve a tool execution by its idempotency key.").requiredOption("--idempotency-key <key>", "Stable execution recovery key").option("--json", "Emit the stable JSON response").action(async (options) => {
|
|
20
|
-
const result = await new (0,
|
|
21
|
+
const result = await new (0, _chunkE23BQ5SCjs.DeeplineClient)().executions.getByKey(
|
|
21
22
|
options.idempotencyKey
|
|
22
23
|
);
|
|
23
|
-
|
|
24
|
+
_chunkKGNTKMRGjs.printCommandEnvelope.call(void 0, result, { json: true });
|
|
24
25
|
});
|
|
25
26
|
}
|
|
26
27
|
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkKGNTKMRGjs = require('./chunk-KGNTKMRG.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkCS6RAIVYjs = require('./chunk-CS6RAIVY.js');
|
|
9
9
|
require('./chunk-XNYIZMNQ.js');
|
|
10
10
|
require('./chunk-7P5AA3SN.js');
|
|
11
|
-
require('./chunk-
|
|
11
|
+
require('./chunk-6YAUMG27.js');
|
|
12
12
|
require('./chunk-OG64RBAC.js');
|
|
13
13
|
require('./chunk-COGTRVWW.js');
|
|
14
14
|
|
|
@@ -17,18 +17,18 @@ var _commander = require('commander');
|
|
|
17
17
|
var _fs = require('fs');
|
|
18
18
|
async function handleFeedback(text, options) {
|
|
19
19
|
const message = resolveFeedbackText(text, options.file);
|
|
20
|
-
const { http } =
|
|
21
|
-
const sessionId =
|
|
20
|
+
const { http } = _chunkKGNTKMRGjs.getAuthedHttpClient.call(void 0, );
|
|
21
|
+
const sessionId = _chunkCS6RAIVYjs.agentSessionIdFromEnvironment.call(void 0, );
|
|
22
22
|
const response = await http.post("/api/v2/cli/feedback", {
|
|
23
23
|
text: message,
|
|
24
24
|
requested: options.requested === true,
|
|
25
|
-
environment:
|
|
25
|
+
environment: _chunkKGNTKMRGjs.collectLocalEnvInfo.call(void 0, ),
|
|
26
26
|
...sessionId ? { session_id: sessionId } : {},
|
|
27
27
|
...options.command ? { command: options.command } : {},
|
|
28
28
|
...options.payload ? { payload: options.payload } : {},
|
|
29
29
|
...options.errorOutcome ? { error_outcome: options.errorOutcome } : {}
|
|
30
30
|
});
|
|
31
|
-
|
|
31
|
+
_chunkKGNTKMRGjs.printCommandEnvelope.call(void 0,
|
|
32
32
|
{
|
|
33
33
|
...response,
|
|
34
34
|
render: {
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
collectLocalEnvInfo,
|
|
3
3
|
getAuthedHttpClient,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NR3DFKNF.mjs";
|
|
6
6
|
import {
|
|
7
7
|
agentSessionIdFromEnvironment
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FJGW5GXU.mjs";
|
|
9
9
|
import "./chunk-DLIRSHV6.mjs";
|
|
10
10
|
import "./chunk-NXGCO4JB.mjs";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-TJI2EN6K.mjs";
|
|
12
12
|
import "./chunk-WZYKRD7T.mjs";
|
|
13
13
|
import "./chunk-KRD6H754.mjs";
|
|
14
14
|
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
renderDeployment,
|
|
6
6
|
renderDeploymentMonitorLines,
|
|
7
7
|
renderDeploymentPlayLines
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-XRQ2AQL7.mjs";
|
|
9
|
+
import "./chunk-NR3DFKNF.mjs";
|
|
10
|
+
import "./chunk-FJGW5GXU.mjs";
|
|
11
11
|
import "./chunk-DLIRSHV6.mjs";
|
|
12
12
|
import "./chunk-NXGCO4JB.mjs";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-TJI2EN6K.mjs";
|
|
14
14
|
import "./chunk-WZYKRD7T.mjs";
|
|
15
15
|
import "./chunk-KRD6H754.mjs";
|
|
16
16
|
export {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunk2MDDA7A4js = require('./chunk-2MDDA7A4.js');
|
|
9
|
+
require('./chunk-KGNTKMRG.js');
|
|
10
|
+
require('./chunk-CS6RAIVY.js');
|
|
11
|
+
require('./chunk-XNYIZMNQ.js');
|
|
12
|
+
require('./chunk-7P5AA3SN.js');
|
|
13
|
+
require('./chunk-6YAUMG27.js');
|
|
14
|
+
require('./chunk-OG64RBAC.js');
|
|
15
|
+
require('./chunk-COGTRVWW.js');
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
exports.handleDeploymentGet = _chunk2MDDA7A4js.handleDeploymentGet; exports.handleDeploymentsList = _chunk2MDDA7A4js.handleDeploymentsList; exports.registerGitCommands = _chunk2MDDA7A4js.registerGitCommands; exports.renderDeployment = _chunk2MDDA7A4js.renderDeployment; exports.renderDeploymentMonitorLines = _chunk2MDDA7A4js.renderDeploymentMonitorLines; exports.renderDeploymentPlayLines = _chunk2MDDA7A4js.renderDeploymentPlayLines;
|