deepline 0.3.314 → 0.3.316
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 +12 -0
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/runs/overview.ts +17 -10
- package/dist/bundling-sources/sdk/src/types.ts +16 -5
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +217 -488
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +15 -0
- package/dist/bundling-sources/shared_libs/play-runtime/execution-capabilities.ts +4 -1
- package/dist/bundling-sources/shared_libs/play-runtime/internal-bootstrap-token.ts +13 -4
- package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/live-events.ts +31 -0
- package/dist/bundling-sources/shared_libs/play-runtime/map-execution-frame.ts +444 -51
- package/dist/bundling-sources/shared_libs/play-runtime/run-snapshot-stream.ts +22 -43
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +4 -3
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +136 -87
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-authority.ts +24 -6
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +56 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-sheet-errors.ts +94 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-shared.ts +5 -2
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd.ts +20 -11
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-progress.ts +18 -12
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +140 -9
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-dispatch-authority.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/work-receipt-storage-contract.ts +13 -0
- package/dist/bundling-sources/shared_libs/play-runtime/workflow-executor-auth.ts +2 -0
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +3 -2
- package/dist/bundling-sources/shared_libs/plays/docflow-binding-owner.ts +61 -11
- package/dist/cli/{auth-GWF55S3N.mjs → auth-JP7ZJ4OI.mjs} +4 -4
- package/dist/cli/auth-SPUJ4EXC.js +31 -0
- package/dist/cli/{billing-WWOJN7GV.mjs → billing-KG6MC2BC.mjs} +4 -4
- package/dist/cli/{billing-2YU6E2IF.js → billing-WZGS32ME.js} +70 -70
- package/dist/cli/{chunk-OJ243ZA5.js → chunk-2HKPAZVJ.js} +1 -1
- package/dist/cli/{chunk-YVMJTXEG.js → chunk-35YXDTOB.js} +26 -26
- package/dist/cli/{chunk-QB5MAFCU.mjs → chunk-46ZOD4PQ.mjs} +1 -1
- package/dist/cli/{chunk-CPN2N6EZ.mjs → chunk-6R5ACEWN.mjs} +43 -17
- package/dist/cli/{chunk-US4S3E4Y.mjs → chunk-7PZFGB7L.mjs} +1 -1
- package/dist/cli/{chunk-3CKNUJVZ.mjs → chunk-AXAPMVUC.mjs} +4 -4
- package/dist/cli/{chunk-ENQZV7NR.js → chunk-B6OOVO3A.js} +562 -536
- package/dist/cli/{chunk-WDPRE6DU.js → chunk-BOKHMPCZ.js} +48 -48
- package/dist/cli/{chunk-VFRZG4OW.js → chunk-C6QGM72M.js} +1 -1
- package/dist/cli/{chunk-IZTIBG7A.mjs → chunk-D3NMIACS.mjs} +29 -15
- package/dist/cli/{chunk-DR3S76BG.mjs → chunk-DAFGPNVW.mjs} +1 -1
- package/dist/cli/{chunk-3K6QD7Z3.mjs → chunk-F2T5UENG.mjs} +1 -1
- package/dist/cli/{chunk-VWW6VHQX.js → chunk-G2G67D3L.js} +60 -60
- package/dist/cli/{chunk-ODEWOXWW.js → chunk-GHLWDXUB.js} +6 -6
- package/dist/cli/{chunk-25SPKKF2.mjs → chunk-IDSDRGKF.mjs} +1 -1
- package/dist/cli/{chunk-OUHCJL5B.mjs → chunk-J3ZPMADG.mjs} +1 -1
- package/dist/cli/{chunk-MLEJ2FYH.js → chunk-K3BIRBT3.js} +248 -234
- package/dist/cli/{chunk-N5V2SBB2.mjs → chunk-KP7W5NO6.mjs} +1 -1
- package/dist/cli/{chunk-B5LUKLKH.js → chunk-MCPHK7AF.js} +4 -4
- package/dist/cli/{chunk-2Q2IKUL5.mjs → chunk-OB3SYJGU.mjs} +3 -3
- package/dist/cli/{chunk-UZTTPEG2.js → chunk-PJERS5VW.js} +6 -6
- package/dist/cli/{chunk-VBRO5QCI.js → chunk-RBBSRB56.js} +15 -15
- package/dist/cli/{chunk-NG4WDOGN.js → chunk-SRUWVQ66.js} +6 -6
- package/dist/cli/{chunk-WTO3ITBC.mjs → chunk-TYSAKSX7.mjs} +2 -2
- package/dist/cli/{chunk-HTXZLCSP.mjs → chunk-VC25WFXV.mjs} +2 -2
- package/dist/cli/{chunk-3A4LJUX6.mjs → chunk-VDPBQCRQ.mjs} +2 -2
- package/dist/cli/{chunk-IALPYID6.js → chunk-XSEMQ4II.js} +3 -3
- package/dist/cli/{chunk-JNUHGWB2.js → chunk-YEMOOWZI.js} +50 -50
- package/dist/cli/{chunk-JZZT4GAY.mjs → chunk-YNSAVFWL.mjs} +5 -5
- package/dist/cli/{chunk-GSRDZD7R.js → chunk-ZNHGAWYI.js} +2 -2
- package/dist/cli/client-GMMPQT7B.js +20 -0
- package/dist/cli/{client-EYGNDORT.mjs → client-MNPM4ME3.mjs} +3 -3
- package/dist/cli/{csv-YOW5JMOH.js → csv-G72FIQWI.js} +12 -12
- package/dist/cli/{csv-NZCN7SVV.mjs → csv-ZME7HAPR.mjs} +3 -3
- package/dist/cli/{db-HALJV3KY.mjs → db-K2DS4PEY.mjs} +4 -4
- package/dist/cli/{db-6BIYLZ6F.js → db-KRBWHSMA.js} +20 -20
- package/dist/cli/{describe-KY2ZYGBR.mjs → describe-LXBJP6OP.mjs} +10 -10
- package/dist/cli/{describe-WA6R2JSH.js → describe-UKFV376D.js} +17 -17
- package/dist/cli/{executions-CBOAN6KI.mjs → executions-2V3AROY6.mjs} +4 -4
- package/dist/cli/{executions-NMCTN7XM.js → executions-E66AM4JU.js} +6 -6
- package/dist/cli/{feedback-ZZFDSCWS.js → feedback-7C2N7M37.js} +6 -6
- package/dist/cli/{feedback-FOMPE3DJ.mjs → feedback-IEPZ2XKZ.mjs} +3 -3
- package/dist/cli/{git-YQR2NBCO.mjs → git-AR5KGN4O.mjs} +4 -4
- package/dist/cli/git-EXYB66IH.js +23 -0
- package/dist/cli/index.js +171 -98
- package/dist/cli/index.mjs +114 -41
- package/dist/cli/{legacy-noops-XH2TFFI6.js → legacy-noops-A2SH45P4.js} +7 -7
- package/dist/cli/{legacy-noops-KMU6P3K4.mjs → legacy-noops-LC2EGAZU.mjs} +4 -4
- package/dist/cli/{monitors-2ONK5L3I.mjs → monitors-5YPW3IZQ.mjs} +4 -4
- package/dist/cli/{monitors-5M3BZ5OR.js → monitors-IZBUPKPW.js} +85 -85
- package/dist/cli/{org-LR5BMCGL.mjs → org-2OMYI5KJ.mjs} +4 -4
- package/dist/cli/{org-6MKULUZI.js → org-L42SQ65U.js} +60 -60
- package/dist/cli/play-CQI3IDDN.js +152 -0
- package/dist/cli/{play-4NOSD7DW.mjs → play-UPCBLAOH.mjs} +9 -9
- package/dist/cli/{providers-UFJD3VKF.js → providers-GGNDWUKB.js} +7 -7
- package/dist/cli/{providers-UBGIKGCA.mjs → providers-VE2RM56M.mjs} +4 -4
- package/dist/cli/{quickstart-KQZHZE6C.js → quickstart-4CZHURUX.js} +5 -5
- package/dist/cli/{quickstart-KDUKQRUH.mjs → quickstart-HSJ7FU7Z.mjs} +3 -3
- package/dist/cli/{search-4BVOOS5Q.mjs → search-MWBM3I2L.mjs} +5 -5
- package/dist/cli/search-PD5FBCUN.js +26 -0
- package/dist/cli/{secrets-TVXZ3WJ3.js → secrets-CWBPGDZV.js} +13 -13
- package/dist/cli/{secrets-YGV23N3N.mjs → secrets-W5DQYKGU.mjs} +4 -4
- package/dist/cli/{sessions-RWIQWDFD.js → sessions-EDCFU6P2.js} +5 -5
- package/dist/cli/{sessions-G7ROUW35.mjs → sessions-Q42GUYTF.mjs} +4 -4
- package/dist/cli/{settings-TG3E2NR7.js → settings-OKRENZGX.js} +74 -74
- package/dist/cli/{settings-QZEVGCXE.mjs → settings-SO56AJPQ.mjs} +7 -7
- package/dist/cli/{setup-3KDUNEEE.js → setup-7PLHLNLS.js} +41 -41
- package/dist/cli/{setup-HUXINKOH.mjs → setup-OTYMF5CZ.mjs} +6 -6
- package/dist/cli/{skills-LHU3DB7J.mjs → skills-4UFS4FXP.mjs} +4 -4
- package/dist/cli/skills-IP7IW7EQ.js +28 -0
- package/dist/cli/{tools-J5WQ33BB.mjs → tools-6FV543YV.mjs} +6 -6
- package/dist/cli/tools-A2YNR6PI.js +38 -0
- package/dist/cli/{update-T6744RM7.mjs → update-6POGDXYW.mjs} +6 -6
- package/dist/cli/update-QXSGKLJG.js +28 -0
- package/dist/cli/{workflow-CG2B65HD.mjs → workflow-HVZSFWYR.mjs} +5 -5
- package/dist/cli/{workflow-YF5SQJLG.js → workflow-RB4POZP5.js} +15 -15
- package/dist/{client-OBwghxPC.d.ts → client-BV68GMPo.d.ts} +19 -6
- package/dist/{client-CtVdLZux.d.mts → client-D9ACjiRC.d.mts} +19 -6
- package/dist/{compiler-manifest-wOKNiXpa.d.mts → compiler-manifest-BXcZ4P4W.d.mts} +2 -2
- package/dist/{compiler-manifest-wOKNiXpa.d.ts → compiler-manifest-BXcZ4P4W.d.ts} +2 -2
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +7 -7
- package/dist/index.mjs +4 -4
- package/dist/install-integrity.json +82 -82
- package/dist/plays/bundle-play-file.d.mts +2 -2
- package/dist/plays/bundle-play-file.d.ts +2 -2
- 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/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-QX2L4LPM.js +0 -31
- package/dist/cli/client-Z4VFNTUB.js +0 -20
- package/dist/cli/git-AC2ATBDK.js +0 -23
- package/dist/cli/play-U3CZ4F2W.js +0 -152
- package/dist/cli/search-Y7OTFRCI.js +0 -26
- package/dist/cli/skills-CO5YUWBK.js +0 -28
- package/dist/cli/tools-MWPT5X47.js +0 -38
- package/dist/cli/update-VVIJW7ZJ.js +0 -28
|
@@ -1,6 +1,6 @@
|
|
|
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
|
-
var
|
|
3
|
+
var _chunkK3BIRBT3js = require('./chunk-K3BIRBT3.js');
|
|
4
4
|
require('./chunk-LA46MMTL.js');
|
|
5
5
|
|
|
6
6
|
|
|
@@ -10,10 +10,10 @@ require('./chunk-LA46MMTL.js');
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
14
|
-
require('./chunk-
|
|
13
|
+
var _chunkGHLWDXUBjs = require('./chunk-GHLWDXUB.js');
|
|
14
|
+
require('./chunk-MCPHK7AF.js');
|
|
15
15
|
require('./chunk-XNYIZMNQ.js');
|
|
16
|
-
require('./chunk-
|
|
16
|
+
require('./chunk-C6QGM72M.js');
|
|
17
17
|
require('./chunk-S6R3OX7B.js');
|
|
18
18
|
|
|
19
19
|
|
|
@@ -48,8 +48,8 @@ function formatCell(value) {
|
|
|
48
48
|
return text.length > 80 ? `${text.slice(0, 77)}...` : text;
|
|
49
49
|
}
|
|
50
50
|
function tableLines(result) {
|
|
51
|
-
const rows =
|
|
52
|
-
const responseColumns =
|
|
51
|
+
const rows = _chunkGHLWDXUBjs.dataExportRows.call(void 0, customerDbRows(result));
|
|
52
|
+
const responseColumns = _chunkGHLWDXUBjs.dataExportColumns.call(void 0,
|
|
53
53
|
rows,
|
|
54
54
|
customerDbColumnNames(result)
|
|
55
55
|
);
|
|
@@ -95,7 +95,7 @@ function tableLines(result) {
|
|
|
95
95
|
return lines;
|
|
96
96
|
}
|
|
97
97
|
function customerDbRows(result) {
|
|
98
|
-
return
|
|
98
|
+
return _chunkGHLWDXUBjs.recordRows.call(void 0, result.rows);
|
|
99
99
|
}
|
|
100
100
|
function customerDbColumnNames(result) {
|
|
101
101
|
return result.columns.map((column) => column.name).filter(Boolean);
|
|
@@ -180,7 +180,7 @@ function writeCustomerDbCsv(result, outPath) {
|
|
|
180
180
|
const resolved = _path.resolve.call(void 0, outPath);
|
|
181
181
|
_fs.writeFileSync.call(void 0,
|
|
182
182
|
resolved,
|
|
183
|
-
|
|
183
|
+
_chunkGHLWDXUBjs.dataExportCsvString.call(void 0, customerDbRows(result), customerDbColumnNames(result)),
|
|
184
184
|
"utf-8"
|
|
185
185
|
);
|
|
186
186
|
return resolved;
|
|
@@ -244,9 +244,9 @@ async function handleDbQuery(args) {
|
|
|
244
244
|
console.error("--out requires a path.");
|
|
245
245
|
return 1;
|
|
246
246
|
}
|
|
247
|
-
const jsonOutput =
|
|
247
|
+
const jsonOutput = _chunkGHLWDXUBjs.argsWantJson.call(void 0, args);
|
|
248
248
|
const explicitJsonOutput = args.includes("--json");
|
|
249
|
-
const client = new (0,
|
|
249
|
+
const client = new (0, _chunkK3BIRBT3js.DeeplineClient)();
|
|
250
250
|
let result;
|
|
251
251
|
try {
|
|
252
252
|
result = await client.db.query({ sql, maxRows });
|
|
@@ -263,7 +263,7 @@ async function handleDbQuery(args) {
|
|
|
263
263
|
if (format === "csv") {
|
|
264
264
|
if (outPath) {
|
|
265
265
|
const exportedPath = writeCustomerDbCsv(result, outPath);
|
|
266
|
-
|
|
266
|
+
_chunkGHLWDXUBjs.printCommandEnvelope.call(void 0,
|
|
267
267
|
dbQueryExportEnvelope({
|
|
268
268
|
result,
|
|
269
269
|
format,
|
|
@@ -278,7 +278,7 @@ async function handleDbQuery(args) {
|
|
|
278
278
|
);
|
|
279
279
|
return 0;
|
|
280
280
|
}
|
|
281
|
-
|
|
281
|
+
_chunkGHLWDXUBjs.printCommandEnvelope.call(void 0,
|
|
282
282
|
dbQueryExportEnvelope({
|
|
283
283
|
result,
|
|
284
284
|
format,
|
|
@@ -287,7 +287,7 @@ async function handleDbQuery(args) {
|
|
|
287
287
|
}),
|
|
288
288
|
{
|
|
289
289
|
json: explicitJsonOutput,
|
|
290
|
-
text:
|
|
290
|
+
text: _chunkGHLWDXUBjs.dataExportCsvString.call(void 0,
|
|
291
291
|
customerDbRows(result),
|
|
292
292
|
customerDbColumnNames(result)
|
|
293
293
|
)
|
|
@@ -296,14 +296,14 @@ async function handleDbQuery(args) {
|
|
|
296
296
|
return 0;
|
|
297
297
|
}
|
|
298
298
|
if (format === "markdown") {
|
|
299
|
-
const content =
|
|
299
|
+
const content = _chunkGHLWDXUBjs.markdownTableFromRows.call(void 0,
|
|
300
300
|
customerDbRows(result),
|
|
301
301
|
customerDbColumnNames(result)
|
|
302
302
|
);
|
|
303
303
|
if (outPath) {
|
|
304
304
|
const exportedPath = _path.resolve.call(void 0, outPath);
|
|
305
305
|
_fs.writeFileSync.call(void 0, exportedPath, content, "utf-8");
|
|
306
|
-
|
|
306
|
+
_chunkGHLWDXUBjs.printCommandEnvelope.call(void 0,
|
|
307
307
|
dbQueryExportEnvelope({
|
|
308
308
|
result,
|
|
309
309
|
format,
|
|
@@ -318,7 +318,7 @@ async function handleDbQuery(args) {
|
|
|
318
318
|
);
|
|
319
319
|
return 0;
|
|
320
320
|
}
|
|
321
|
-
|
|
321
|
+
_chunkGHLWDXUBjs.printCommandEnvelope.call(void 0,
|
|
322
322
|
dbQueryExportEnvelope({
|
|
323
323
|
result,
|
|
324
324
|
format,
|
|
@@ -332,7 +332,7 @@ async function handleDbQuery(args) {
|
|
|
332
332
|
);
|
|
333
333
|
return 0;
|
|
334
334
|
}
|
|
335
|
-
|
|
335
|
+
_chunkGHLWDXUBjs.printCommandEnvelope.call(void 0,
|
|
336
336
|
{
|
|
337
337
|
...result,
|
|
338
338
|
next: { toolEquivalent: toolCommand },
|
|
@@ -350,8 +350,8 @@ async function handleDbQuery(args) {
|
|
|
350
350
|
async function handleDbRepair(args) {
|
|
351
351
|
const providerIndex = args.indexOf("--provider");
|
|
352
352
|
const provider = providerIndex >= 0 ? _optionalChain([args, 'access', _12 => _12[providerIndex + 1], 'optionalAccess', _13 => _13.trim, 'call', _14 => _14()]) : void 0;
|
|
353
|
-
const jsonOutput =
|
|
354
|
-
const client = new (0,
|
|
353
|
+
const jsonOutput = _chunkGHLWDXUBjs.argsWantJson.call(void 0, args);
|
|
354
|
+
const client = new (0, _chunkK3BIRBT3js.DeeplineClient)();
|
|
355
355
|
let result;
|
|
356
356
|
try {
|
|
357
357
|
result = await client.repairIngestionStorage(
|
|
@@ -367,7 +367,7 @@ async function handleDbRepair(args) {
|
|
|
367
367
|
console.error(errorMessage(error));
|
|
368
368
|
return 1;
|
|
369
369
|
}
|
|
370
|
-
|
|
370
|
+
_chunkGHLWDXUBjs.printCommandEnvelope.call(void 0,
|
|
371
371
|
{
|
|
372
372
|
command: "db repair",
|
|
373
373
|
status: result.status,
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
describedTool,
|
|
3
3
|
publicToolSchemas,
|
|
4
4
|
toolMetadataJsonForDescribe
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-YNSAVFWL.mjs";
|
|
6
6
|
import {
|
|
7
7
|
describedPlay
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6R5ACEWN.mjs";
|
|
9
9
|
import {
|
|
10
10
|
SCHEMA_LINE_LIMIT,
|
|
11
11
|
addDescribeOptions,
|
|
@@ -15,26 +15,26 @@ import {
|
|
|
15
15
|
topLevelField
|
|
16
16
|
} from "./chunk-76VKBPOC.mjs";
|
|
17
17
|
import "./chunk-EDWJY6T4.mjs";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-OB3SYJGU.mjs";
|
|
19
|
+
import "./chunk-VDPBQCRQ.mjs";
|
|
20
20
|
import "./chunk-MIMASXO4.mjs";
|
|
21
21
|
import "./chunk-OWJZUE3Y.mjs";
|
|
22
22
|
import {
|
|
23
23
|
DeeplineClient
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-D3NMIACS.mjs";
|
|
25
25
|
import "./chunk-CBVIJSHF.mjs";
|
|
26
26
|
import "./chunk-WXLOW623.mjs";
|
|
27
27
|
import "./chunk-UFS752TU.mjs";
|
|
28
28
|
import "./chunk-GAMFK2ZP.mjs";
|
|
29
29
|
import {
|
|
30
30
|
printCommandEnvelope
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-46ZOD4PQ.mjs";
|
|
32
|
+
import "./chunk-IDSDRGKF.mjs";
|
|
33
33
|
import "./chunk-DLIRSHV6.mjs";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-F2T5UENG.mjs";
|
|
35
|
+
import "./chunk-7PZFGB7L.mjs";
|
|
36
36
|
import "./chunk-H7HIDGZ7.mjs";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-KP7W5NO6.mjs";
|
|
38
38
|
import "./chunk-6IKARAYD.mjs";
|
|
39
39
|
import {
|
|
40
40
|
DeeplineError
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkYEMOOWZIjs = require('./chunk-YEMOOWZI.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkB6OOVO3Ajs = require('./chunk-B6OOVO3A.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -15,26 +15,26 @@ var _chunkENQZV7NRjs = require('./chunk-ENQZV7NR.js');
|
|
|
15
15
|
|
|
16
16
|
var _chunkXNL3SEMCjs = require('./chunk-XNL3SEMC.js');
|
|
17
17
|
require('./chunk-5JLQPVNX.js');
|
|
18
|
-
require('./chunk-
|
|
19
|
-
require('./chunk-
|
|
18
|
+
require('./chunk-PJERS5VW.js');
|
|
19
|
+
require('./chunk-35YXDTOB.js');
|
|
20
20
|
require('./chunk-NXDRDJ4K.js');
|
|
21
21
|
require('./chunk-SDK3ZA2C.js');
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkK3BIRBT3js = require('./chunk-K3BIRBT3.js');
|
|
25
25
|
require('./chunk-LA46MMTL.js');
|
|
26
26
|
require('./chunk-QJBJZVG6.js');
|
|
27
27
|
require('./chunk-AYHLUHE5.js');
|
|
28
28
|
require('./chunk-WJYPBHTE.js');
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
32
|
-
require('./chunk-
|
|
31
|
+
var _chunkGHLWDXUBjs = require('./chunk-GHLWDXUB.js');
|
|
32
|
+
require('./chunk-MCPHK7AF.js');
|
|
33
33
|
require('./chunk-XNYIZMNQ.js');
|
|
34
|
-
require('./chunk-
|
|
35
|
-
require('./chunk-
|
|
34
|
+
require('./chunk-C6QGM72M.js');
|
|
35
|
+
require('./chunk-XSEMQ4II.js');
|
|
36
36
|
require('./chunk-3KC45UVF.js');
|
|
37
|
-
require('./chunk-
|
|
37
|
+
require('./chunk-2HKPAZVJ.js');
|
|
38
38
|
require('./chunk-S6R3OX7B.js');
|
|
39
39
|
|
|
40
40
|
|
|
@@ -64,11 +64,11 @@ async function found(lookup) {
|
|
|
64
64
|
async function describeAnything(name, options, onMissing) {
|
|
65
65
|
const maintainedOnly = options.prebuilt === true || options.tool === true;
|
|
66
66
|
const wants = (filter) => (!options.kinds || options.kinds.includes(filter)) && !(maintainedOnly && filter === "custom");
|
|
67
|
-
const client = new (0,
|
|
67
|
+
const client = new (0, _chunkK3BIRBT3js.DeeplineClient)();
|
|
68
68
|
const play = async (reference) => {
|
|
69
69
|
const record2 = await client.describePlay(reference);
|
|
70
70
|
return {
|
|
71
|
-
described:
|
|
71
|
+
described: _chunkB6OOVO3Ajs.describedPlay.call(void 0, record2),
|
|
72
72
|
record: { ...record2 },
|
|
73
73
|
schemas: {
|
|
74
74
|
inputSchema: _nullishCoalesce(record2.inputSchema, () => ( null)),
|
|
@@ -79,9 +79,9 @@ async function describeAnything(name, options, onMissing) {
|
|
|
79
79
|
const tool = async () => {
|
|
80
80
|
const record2 = await _asyncNullishCoalesce(options.fetchedTool, async () => ( await client.getTool(name)));
|
|
81
81
|
return {
|
|
82
|
-
described:
|
|
83
|
-
record:
|
|
84
|
-
schemas:
|
|
82
|
+
described: _chunkYEMOOWZIjs.describedTool.call(void 0, record2, name),
|
|
83
|
+
record: _chunkYEMOOWZIjs.toolMetadataJsonForDescribe.call(void 0, record2, name),
|
|
84
|
+
schemas: _chunkYEMOOWZIjs.publicToolSchemas.call(void 0, record2)
|
|
85
85
|
};
|
|
86
86
|
};
|
|
87
87
|
const sources = name.includes("/") ? [{ kinds: ["prebuilts", "custom"], find: () => play(name) }] : [
|
|
@@ -166,14 +166,14 @@ async function describeAnything(name, options, onMissing) {
|
|
|
166
166
|
` : text;
|
|
167
167
|
_fs.writeFileSync.call(void 0, path, content);
|
|
168
168
|
const bytes = Buffer.byteLength(content);
|
|
169
|
-
|
|
169
|
+
_chunkGHLWDXUBjs.printCommandEnvelope.call(void 0,
|
|
170
170
|
{ path, bytes },
|
|
171
171
|
{ json, text: `Wrote ${path} (${bytes} bytes)
|
|
172
172
|
` }
|
|
173
173
|
);
|
|
174
174
|
return 0;
|
|
175
175
|
}
|
|
176
|
-
|
|
176
|
+
_chunkGHLWDXUBjs.printCommandEnvelope.call(void 0, envelope, { json, text });
|
|
177
177
|
return 0;
|
|
178
178
|
}
|
|
179
179
|
function registerDescribeCommand(program) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-D3NMIACS.mjs";
|
|
4
4
|
import "./chunk-CBVIJSHF.mjs";
|
|
5
5
|
import {
|
|
6
6
|
printCommandEnvelope
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-46ZOD4PQ.mjs";
|
|
8
|
+
import "./chunk-IDSDRGKF.mjs";
|
|
9
9
|
import "./chunk-DLIRSHV6.mjs";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-F2T5UENG.mjs";
|
|
11
11
|
import "./chunk-6IKARAYD.mjs";
|
|
12
12
|
import "./chunk-NXGCO4JB.mjs";
|
|
13
13
|
import "./chunk-WZYKRD7T.mjs";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkK3BIRBT3js = require('./chunk-K3BIRBT3.js');
|
|
4
4
|
require('./chunk-LA46MMTL.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('./chunk-
|
|
7
|
+
var _chunkGHLWDXUBjs = require('./chunk-GHLWDXUB.js');
|
|
8
|
+
require('./chunk-MCPHK7AF.js');
|
|
9
9
|
require('./chunk-XNYIZMNQ.js');
|
|
10
|
-
require('./chunk-
|
|
10
|
+
require('./chunk-C6QGM72M.js');
|
|
11
11
|
require('./chunk-S6R3OX7B.js');
|
|
12
12
|
require('./chunk-7P5AA3SN.js');
|
|
13
13
|
require('./chunk-OG64RBAC.js');
|
|
@@ -17,10 +17,10 @@ require('./chunk-COGTRVWW.js');
|
|
|
17
17
|
function registerExecutionsCommands(program) {
|
|
18
18
|
const executions = program.command("executions").description("Inspect and recover keyed tool executions.");
|
|
19
19
|
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,
|
|
20
|
+
const result = await new (0, _chunkK3BIRBT3js.DeeplineClient)().executions.getByKey(
|
|
21
21
|
options.idempotencyKey
|
|
22
22
|
);
|
|
23
|
-
|
|
23
|
+
_chunkGHLWDXUBjs.printCommandEnvelope.call(void 0, result, { json: true });
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
26
|
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
5
|
+
var _chunkGHLWDXUBjs = require('./chunk-GHLWDXUB.js');
|
|
6
|
+
require('./chunk-MCPHK7AF.js');
|
|
7
7
|
require('./chunk-XNYIZMNQ.js');
|
|
8
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-C6QGM72M.js');
|
|
9
9
|
require('./chunk-7P5AA3SN.js');
|
|
10
10
|
require('./chunk-OG64RBAC.js');
|
|
11
11
|
require('./chunk-COGTRVWW.js');
|
|
@@ -15,16 +15,16 @@ var _commander = require('commander');
|
|
|
15
15
|
var _fs = require('fs');
|
|
16
16
|
async function handleFeedback(text, options) {
|
|
17
17
|
const message = resolveFeedbackText(text, options.file);
|
|
18
|
-
const { http } =
|
|
18
|
+
const { http } = _chunkGHLWDXUBjs.getAuthedHttpClient.call(void 0, );
|
|
19
19
|
const response = await http.post("/api/v2/cli/feedback", {
|
|
20
20
|
text: message,
|
|
21
21
|
requested: options.requested === true,
|
|
22
|
-
environment:
|
|
22
|
+
environment: _chunkGHLWDXUBjs.collectLocalEnvInfo.call(void 0, ),
|
|
23
23
|
...options.command ? { command: options.command } : {},
|
|
24
24
|
...options.payload ? { payload: options.payload } : {},
|
|
25
25
|
...options.errorOutcome ? { error_outcome: options.errorOutcome } : {}
|
|
26
26
|
});
|
|
27
|
-
|
|
27
|
+
_chunkGHLWDXUBjs.printCommandEnvelope.call(void 0,
|
|
28
28
|
{
|
|
29
29
|
...response,
|
|
30
30
|
render: {
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
collectLocalEnvInfo,
|
|
3
3
|
getAuthedHttpClient,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-46ZOD4PQ.mjs";
|
|
6
|
+
import "./chunk-IDSDRGKF.mjs";
|
|
7
7
|
import "./chunk-DLIRSHV6.mjs";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-F2T5UENG.mjs";
|
|
9
9
|
import "./chunk-NXGCO4JB.mjs";
|
|
10
10
|
import "./chunk-WZYKRD7T.mjs";
|
|
11
11
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
renderDeployment,
|
|
6
6
|
renderDeploymentMonitorLines,
|
|
7
7
|
renderDeploymentPlayLines
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-VDPBQCRQ.mjs";
|
|
9
|
+
import "./chunk-46ZOD4PQ.mjs";
|
|
10
|
+
import "./chunk-IDSDRGKF.mjs";
|
|
11
11
|
import "./chunk-DLIRSHV6.mjs";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-F2T5UENG.mjs";
|
|
13
13
|
import "./chunk-NXGCO4JB.mjs";
|
|
14
14
|
import "./chunk-WZYKRD7T.mjs";
|
|
15
15
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunk35YXDTOBjs = require('./chunk-35YXDTOB.js');
|
|
9
|
+
require('./chunk-GHLWDXUB.js');
|
|
10
|
+
require('./chunk-MCPHK7AF.js');
|
|
11
|
+
require('./chunk-XNYIZMNQ.js');
|
|
12
|
+
require('./chunk-C6QGM72M.js');
|
|
13
|
+
require('./chunk-7P5AA3SN.js');
|
|
14
|
+
require('./chunk-OG64RBAC.js');
|
|
15
|
+
require('./chunk-COGTRVWW.js');
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
exports.handleDeploymentGet = _chunk35YXDTOBjs.handleDeploymentGet; exports.handleDeploymentsList = _chunk35YXDTOBjs.handleDeploymentsList; exports.registerGitCommands = _chunk35YXDTOBjs.registerGitCommands; exports.renderDeployment = _chunk35YXDTOBjs.renderDeployment; exports.renderDeploymentMonitorLines = _chunk35YXDTOBjs.renderDeploymentMonitorLines; exports.renderDeploymentPlayLines = _chunk35YXDTOBjs.renderDeploymentPlayLines;
|