deepline 0.3.583 → 0.4.0
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 +79 -36
- package/dist/bundling-sources/sdk/src/index.ts +2 -0
- package/dist/bundling-sources/sdk/src/release.ts +7 -3
- package/dist/bundling-sources/sdk/src/types.ts +37 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +22 -3
- package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +94 -5
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +66 -12
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +10 -0
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/runtime-topology.ts +6 -1
- package/dist/bundling-sources/shared_libs/play-runtime/deployment/runtime-tuple-recovery.ts +9 -3
- package/dist/bundling-sources/shared_libs/play-runtime/docflow-node-io.ts +86 -20
- package/dist/bundling-sources/shared_libs/play-runtime/durable-receipt-execution.ts +17 -6
- package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +22 -6
- package/dist/bundling-sources/shared_libs/play-runtime/output-size-limits.ts +54 -0
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/terminal/postgres-adapter.ts +2 -1
- package/dist/bundling-sources/shared_libs/play-runtime/row-failure-summary.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/run-snapshot-stream.ts +4 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox.ts +12 -3
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-receipt-store-adapter.ts +197 -19
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-receipt-writer.ts +25 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-scheduler-topology.ts +5 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +73 -3
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-wake-policy.ts +419 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/early-sandbox-lane.ts +20 -6
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-pool.ts +24 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-scope.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +36 -19
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +380 -51
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/receipt-gateway.ts +21 -10
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-worker-wake.ts +32 -0
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +6 -0
- package/dist/bundling-sources/shared_libs/plays/deploy/api-client.ts +3 -1
- package/dist/bundling-sources/shared_libs/plays/deploy/run-deployment.ts +34 -4
- package/dist/bundling-sources/shared_libs/plays/docflow-recording-lint.ts +512 -0
- package/dist/bundling-sources/shared_libs/plays/docflow-requirement.ts +346 -0
- package/dist/bundling-sources/shared_libs/plays/docflow-rule-codes.ts +38 -0
- package/dist/bundling-sources/shared_libs/plays/docflow-unreached-reason.ts +42 -2
- package/dist/bundling-sources/shared_libs/plays/docflow.ts +223 -32
- package/dist/bundling-sources/shared_libs/plays/play-check-compact.ts +14 -1
- package/dist/bundling-sources/shared_libs/plays/run-result.ts +35 -0
- package/dist/cli/{agents-G344SPW2.mjs → agents-AHXB7N7Y.mjs} +4 -4
- package/dist/cli/{agents-ZPDXVPEE.js → agents-KBZ7OUZS.js} +33 -33
- package/dist/cli/{auth-V66RP2A6.mjs → auth-3CACO52T.mjs} +5 -5
- package/dist/cli/auth-UOHCO5K6.js +44 -0
- package/dist/cli/{billing-ROYUQF67.js → billing-5KXPGKMO.js} +105 -105
- package/dist/cli/{billing-BTMGZJCR.mjs → billing-TSTK63NB.mjs} +9 -9
- package/dist/cli/{chunk-ROWROMXD.mjs → chunk-2GWKBQJZ.mjs} +1 -1
- package/dist/cli/{chunk-VXEZKZU4.mjs → chunk-3DJMPID5.mjs} +11 -11
- package/dist/cli/{chunk-VH45GV3T.js → chunk-3ET6NRXP.js} +7 -3
- package/dist/cli/{chunk-43MKV6E4.mjs → chunk-3MWTAM3F.mjs} +3 -3
- package/dist/cli/{chunk-U6BTY4WS.mjs → chunk-4ANDW2OT.mjs} +1 -1
- package/dist/cli/{chunk-H4BYWEV5.js → chunk-4BSCSQ6I.js} +4 -4
- package/dist/cli/{chunk-ACS6BYE5.mjs → chunk-4UEXAMDU.mjs} +2 -2
- package/dist/cli/{chunk-QPN662ZP.js → chunk-5XGLDVSD.js} +100 -100
- package/dist/cli/{chunk-MFPHCUHK.js → chunk-7XXJJVSI.js} +5 -5
- package/dist/cli/{chunk-QGOHEJVJ.js → chunk-7ZCD7OPO.js} +5 -5
- package/dist/cli/{chunk-AXKFZIXC.mjs → chunk-AJJSKKH4.mjs} +2 -2
- package/dist/cli/{chunk-KSXBLXLV.mjs → chunk-BHF5UW34.mjs} +1 -1
- package/dist/cli/{chunk-AHQDUMDM.js → chunk-BO2TXH5Y.js} +20 -20
- package/dist/cli/{chunk-W5WLWRKL.mjs → chunk-BUC2TNF2.mjs} +2 -2
- package/dist/cli/{chunk-6GYGMWQV.js → chunk-BUUAFSSN.js} +68 -50
- package/dist/cli/{chunk-WUVDJSZE.js → chunk-C45E47KC.js} +23 -23
- package/dist/cli/{chunk-BUMCOVBP.js → chunk-D4R3AL4F.js} +5 -5
- package/dist/cli/{chunk-PVDP3AZY.mjs → chunk-DAZRIAXW.mjs} +4 -4
- package/dist/cli/{chunk-W3ECB7GC.js → chunk-DNOZQGJF.js} +3 -3
- package/dist/cli/{chunk-HYT5B2NL.js → chunk-DUL6UQ2T.js} +2 -2
- package/dist/cli/{chunk-P2YNTAGL.mjs → chunk-ES3S6UXR.mjs} +2 -2
- package/dist/cli/{chunk-K6GDSCFL.mjs → chunk-FDAYUP3M.mjs} +3 -3
- package/dist/cli/{chunk-23LYXVI4.js → chunk-FEVUIT2U.js} +6 -6
- package/dist/cli/{chunk-6S3OAJCJ.mjs → chunk-FSPEUU3V.mjs} +49 -6
- package/dist/cli/{chunk-2QIVGZKS.mjs → chunk-FZZMCVOS.mjs} +5 -5
- package/dist/cli/{chunk-73IZARR5.js → chunk-GHOB72U6.js} +13 -13
- package/dist/cli/{chunk-LVJAHM2I.mjs → chunk-GLYWRTEL.mjs} +3 -3
- package/dist/cli/{chunk-AXOQ2FMS.mjs → chunk-HNTIGYRT.mjs} +1 -1
- package/dist/cli/{chunk-C7UCDL2K.js → chunk-IGPHYKEJ.js} +41 -41
- package/dist/cli/{chunk-PULU5YGX.js → chunk-ISSYN3DJ.js} +20 -20
- package/dist/cli/{chunk-ZHIJA4MW.mjs → chunk-JKQPITEE.mjs} +54 -36
- package/dist/cli/{chunk-EHV52KUV.mjs → chunk-KMLACXI2.mjs} +7 -3
- package/dist/cli/{chunk-WAZR72D5.js → chunk-KQXACHYA.js} +26 -26
- package/dist/cli/{chunk-PGUK5VPC.js → chunk-LW2GKYZW.js} +2 -2
- package/dist/cli/{chunk-J54DMFV5.mjs → chunk-O2KSPI2M.mjs} +2 -2
- package/dist/cli/{chunk-CCC3NIYB.js → chunk-O6GT6JD7.js} +9 -9
- package/dist/cli/{chunk-DNYFNOWG.mjs → chunk-OCXWUWUI.mjs} +5 -5
- package/dist/cli/{chunk-MEAWK5G7.js → chunk-QKRDAJ3T.js} +53 -53
- package/dist/cli/{chunk-N5XRUZRS.js → chunk-QQESWF6D.js} +16 -16
- package/dist/cli/{chunk-2D5YISAL.js → chunk-REX5SUYU.js} +2 -2
- package/dist/cli/{chunk-RO2LTLJA.js → chunk-RXIQWG2N.js} +48 -48
- package/dist/cli/{chunk-VXDKL434.js → chunk-S33BN7GZ.js} +3 -3
- package/dist/cli/{chunk-72MEXMSH.mjs → chunk-SGRJJLNV.mjs} +1 -1
- package/dist/cli/{chunk-HOGRT5X6.mjs → chunk-TCNYSNVU.mjs} +1 -1
- package/dist/cli/{chunk-H7F3ROT3.mjs → chunk-TFPMVSGK.mjs} +2 -2
- package/dist/cli/{chunk-GFX6CDAB.mjs → chunk-V73WDQEA.mjs} +5 -5
- package/dist/cli/{chunk-LHD3HOYN.js → chunk-VYERVFGB.js} +49 -6
- package/dist/cli/{chunk-C233ZRNX.mjs → chunk-WBRSVML3.mjs} +4 -4
- package/dist/cli/{chunk-7AFTLM74.mjs → chunk-WW52ANX4.mjs} +2 -2
- package/dist/cli/{chunk-ZFJNIZHI.js → chunk-XZS35M3Y.js} +10 -10
- package/dist/cli/{chunk-YRNWA2IL.js → chunk-YNYHYL5C.js} +15 -15
- package/dist/cli/{chunk-JQT3SHXL.mjs → chunk-ZHE5E2WJ.mjs} +1 -1
- package/dist/cli/{chunk-N5RCXI3M.mjs → chunk-ZJ2H77VV.mjs} +5 -5
- package/dist/cli/{chunk-GQHZV7EQ.js → chunk-ZX6UVPGZ.js} +7 -7
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/concurrent-runs-help-H5SZUA5J.js +22 -0
- package/dist/cli/{concurrent-runs-help-A2Y33OQ5.mjs → concurrent-runs-help-IYELSCHB.mjs} +6 -6
- package/dist/cli/{csv-PS74WVXE.mjs → csv-ENEC3APZ.mjs} +4 -4
- package/dist/cli/{csv-TKSR2LFV.js → csv-X6CP57R4.js} +13 -13
- package/dist/cli/{db-R6GOM4VC.js → db-6HLRSE2M.js} +27 -27
- package/dist/cli/{db-EXLBRZ7K.mjs → db-YGKRFK4T.mjs} +6 -6
- package/dist/cli/{describe-JJBXFPVQ.mjs → describe-4SGQEX7K.mjs} +18 -18
- package/dist/cli/describe-Q2OYHDVZ.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-474U7R3Y.js → executions-IC55YJ67.js} +8 -8
- package/dist/cli/{executions-5PEODJQG.mjs → executions-PO2IOSZ7.mjs} +6 -6
- package/dist/cli/{feedback-QUQVRDBD.mjs → feedback-6BUD5F4I.mjs} +6 -6
- package/dist/cli/{feedback-URTCAOXP.js → feedback-BCGQLZ5T.js} +14 -14
- package/dist/cli/git-5X3MLBIP.js +26 -0
- package/dist/cli/{git-AQF23KKU.mjs → git-IN4IBL2K.mjs} +5 -5
- package/dist/cli/index.js +148 -148
- package/dist/cli/index.mjs +47 -47
- package/dist/cli/{integrations-NMFOOSS4.js → integrations-R2Z2MDO3.js} +29 -29
- package/dist/cli/{integrations-5POBI72U.mjs → integrations-ZMGB6NQA.mjs} +7 -7
- package/dist/cli/{legacy-noops-6YVCOSFO.mjs → legacy-noops-GIC5OZKP.mjs} +6 -6
- package/dist/cli/{legacy-noops-V75T5LHV.js → legacy-noops-X4JPRPTJ.js} +9 -9
- package/dist/cli/{mcp-7WEYQ5V7.mjs → mcp-G4IRJIKK.mjs} +4 -4
- package/dist/cli/{mcp-N6GYXCUQ.js → mcp-USZKTVL2.js} +24 -24
- package/dist/cli/{monitors-TAK4M5Y4.mjs → monitors-SNFZPSCY.mjs} +7 -7
- package/dist/cli/{monitors-HW4H4PE5.js → monitors-T7LRP7OB.js} +100 -100
- package/dist/cli/{org-FULXOXNE.js → org-2L2ZZL2P.js} +121 -121
- package/dist/cli/{org-3C2RN36N.mjs → org-YTXLKW52.mjs} +6 -6
- package/dist/cli/{outcomes-4KRZL6OL.mjs → outcomes-CJWBIFTA.mjs} +6 -6
- package/dist/cli/{outcomes-O3HDQWGN.js → outcomes-O63F57JF.js} +14 -14
- package/dist/cli/{play-ZTRWUODW.mjs → play-6UWPUHC6.mjs} +331 -70
- package/dist/cli/{play-HA4RGX7T.js → play-T353SULJ.js} +930 -669
- package/dist/cli/{providers-FAKWWJE2.mjs → providers-LZABK2UW.mjs} +6 -6
- package/dist/cli/{providers-DXMKWBZN.js → providers-XORJH2VW.js} +9 -9
- package/dist/cli/{quickstart-YWGBTW77.mjs → quickstart-O4RF7J55.mjs} +4 -4
- package/dist/cli/{quickstart-MA74UPNI.js → quickstart-QBNUNPZR.js} +6 -6
- package/dist/cli/{run-4DXSGXRB.js → run-2CPMFC6W.js} +44 -44
- package/dist/cli/{run-QHCYMSBP.mjs → run-GBRPFC6P.mjs} +23 -23
- package/dist/cli/{search-N4ZOK5XX.mjs → search-G7TS7OFB.mjs} +7 -7
- package/dist/cli/search-M3AHFCKQ.js +32 -0
- package/dist/cli/{search-output-F2OYLVK2.mjs → search-output-BIIJRUCP.mjs} +4 -4
- package/dist/cli/{search-output-D5VAC52B.js → search-output-NRKLNWSD.js} +6 -6
- package/dist/cli/{secrets-LD4FVAQI.mjs → secrets-DN3XEZNH.mjs} +6 -6
- package/dist/cli/{secrets-3KETOTDS.js → secrets-FUXYSEL5.js} +15 -15
- package/dist/cli/{sessions-LPLI4Z4O.mjs → sessions-PMUTPCTT.mjs} +6 -6
- package/dist/cli/sessions-VMBMBGVJ.js +23 -0
- package/dist/cli/{settings-NCGPJG3Z.mjs → settings-N6GNS2KA.mjs} +12 -12
- package/dist/cli/{settings-NFBTCOMB.js → settings-ZDTWCQ6B.js} +85 -85
- package/dist/cli/{setup-NH6MRYXZ.mjs → setup-LJ3KWPSA.mjs} +9 -9
- package/dist/cli/{setup-ATBSUSH4.js → setup-PN5TSSJE.js} +49 -49
- package/dist/cli/{skills-ITPBPIXD.mjs → skills-7J42K6VC.mjs} +7 -7
- package/dist/cli/skills-CXDENBLF.js +37 -0
- package/dist/cli/{tools-2XZPR65V.mjs → tools-M3S6D6DA.mjs} +17 -17
- package/dist/cli/tools-WY2GMOC7.js +57 -0
- package/dist/cli/{update-VFB22FWO.mjs → update-XTVFG74E.mjs} +9 -9
- package/dist/cli/update-ZB2IBGXG.js +37 -0
- package/dist/cli/{views-WJUZOQM2.js → views-B4X2FWTF.js} +21 -21
- package/dist/cli/{views-MRN3HWTG.mjs → views-UFYRDO4X.mjs} +6 -6
- package/dist/cli/{workflow-Q4JFBTVH.js → workflow-I2RM2J2J.js} +17 -17
- package/dist/cli/{workflow-A6P7YV5W.mjs → workflow-ZLMS3PDE.mjs} +7 -7
- package/dist/{client-QznpkWrk.d.ts → client-2QWMJInp.d.ts} +1 -1
- package/dist/{client-CmG8MT0x.d.mts → client-7H8TXmLa.d.mts} +1 -1
- package/dist/{client-core-CY0jNW0e.d.mts → client-core-BraEuxbg.d.mts} +67 -4
- package/dist/{client-core-CXDqfeiB.d.ts → client-core-DRglY5xa.d.ts} +67 -4
- 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 +125 -120
- package/dist/plays/bundle-play-file.mjs +5 -0
- 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 +3 -3
- package/dist/release.d.ts +3 -3
- 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-VU6VIPVY.js +0 -44
- package/dist/cli/concurrent-runs-help-6WUNDV77.js +0 -22
- package/dist/cli/describe-CA2FL2OS.js +0 -50
- package/dist/cli/git-WJ4V2B4T.js +0 -26
- package/dist/cli/search-V765JH2H.js +0 -32
- package/dist/cli/sessions-XC65OMDS.js +0 -23
- package/dist/cli/skills-4NQBTGOL.js +0 -37
- package/dist/cli/tools-ZVOFATX2.js +0 -57
- package/dist/cli/update-QME3KPOP.js +0 -37
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-ES3S6UXR.mjs";
|
|
4
|
+
import "./chunk-JKQPITEE.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
10
|
shouldEmitJson
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-WW52ANX4.mjs";
|
|
12
|
+
import "./chunk-4ANDW2OT.mjs";
|
|
13
|
+
import "./chunk-HNTIGYRT.mjs";
|
|
14
14
|
import "./chunk-ASB47RXJ.mjs";
|
|
15
15
|
import "./chunk-DLIRSHV6.mjs";
|
|
16
16
|
import "./chunk-Z3A2S3QM.mjs";
|
|
17
17
|
import "./chunk-2MGZAI54.mjs";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-KMLACXI2.mjs";
|
|
19
19
|
import "./chunk-WZYKRD7T.mjs";
|
|
20
20
|
import "./chunk-KRD6H754.mjs";
|
|
21
21
|
|
|
@@ -1,29 +1,29 @@
|
|
|
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
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var _chunk7XXJJVSIjs = require('./chunk-7XXJJVSI.js');
|
|
4
|
+
require('./chunk-BUUAFSSN.js');
|
|
5
5
|
require('./chunk-4WAM6TLD.js');
|
|
6
6
|
require('./chunk-MJTVX4QK.js');
|
|
7
7
|
require('./chunk-PMH4GLMD.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
12
|
-
require('./chunk-
|
|
13
|
-
require('./chunk-
|
|
11
|
+
var _chunkISSYN3DJjs = require('./chunk-ISSYN3DJ.js');
|
|
12
|
+
require('./chunk-S33BN7GZ.js');
|
|
13
|
+
require('./chunk-4BSCSQ6I.js');
|
|
14
14
|
require('./chunk-6VLFQZK6.js');
|
|
15
15
|
require('./chunk-XNYIZMNQ.js');
|
|
16
16
|
require('./chunk-LFQJW4S2.js');
|
|
17
17
|
require('./chunk-CFJFUVX2.js');
|
|
18
|
-
require('./chunk-
|
|
18
|
+
require('./chunk-3ET6NRXP.js');
|
|
19
19
|
require('./chunk-OG64RBAC.js');
|
|
20
20
|
require('./chunk-COGTRVWW.js');
|
|
21
21
|
|
|
22
22
|
// src/cli/commands/providers.ts
|
|
23
23
|
async function listProviders(options = {}) {
|
|
24
|
-
const client = new (0,
|
|
24
|
+
const client = new (0, _chunk7XXJJVSIjs.DeeplineClient)();
|
|
25
25
|
const changed = options.changed === true;
|
|
26
|
-
const emitJson = options.json === true ||
|
|
26
|
+
const emitJson = options.json === true || _chunkISSYN3DJjs.shouldEmitJson.call(void 0, );
|
|
27
27
|
const providers = await client.listProviders({ changed });
|
|
28
28
|
const render = {
|
|
29
29
|
sections: [
|
|
@@ -43,7 +43,7 @@ async function listProviders(options = {}) {
|
|
|
43
43
|
}
|
|
44
44
|
]
|
|
45
45
|
};
|
|
46
|
-
|
|
46
|
+
_chunkISSYN3DJjs.printCommandEnvelope.call(void 0,
|
|
47
47
|
{
|
|
48
48
|
providers,
|
|
49
49
|
count: providers.length,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
printCommandEnvelope,
|
|
3
3
|
shouldEmitJson
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-WW52ANX4.mjs";
|
|
5
|
+
import "./chunk-4ANDW2OT.mjs";
|
|
6
|
+
import "./chunk-HNTIGYRT.mjs";
|
|
7
7
|
import "./chunk-ASB47RXJ.mjs";
|
|
8
8
|
import "./chunk-DLIRSHV6.mjs";
|
|
9
9
|
import "./chunk-Z3A2S3QM.mjs";
|
|
10
10
|
import "./chunk-2MGZAI54.mjs";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-KMLACXI2.mjs";
|
|
12
12
|
import "./chunk-WZYKRD7T.mjs";
|
|
13
13
|
import {
|
|
14
14
|
DEEPLINE_GTM_SKILL,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
4
|
+
var _chunkISSYN3DJjs = require('./chunk-ISSYN3DJ.js');
|
|
5
|
+
require('./chunk-S33BN7GZ.js');
|
|
6
|
+
require('./chunk-4BSCSQ6I.js');
|
|
7
7
|
require('./chunk-6VLFQZK6.js');
|
|
8
8
|
require('./chunk-XNYIZMNQ.js');
|
|
9
9
|
require('./chunk-LFQJW4S2.js');
|
|
10
10
|
require('./chunk-CFJFUVX2.js');
|
|
11
|
-
require('./chunk-
|
|
11
|
+
require('./chunk-3ET6NRXP.js');
|
|
12
12
|
require('./chunk-OG64RBAC.js');
|
|
13
13
|
|
|
14
14
|
|
|
@@ -18,12 +18,12 @@ require('./chunk-COGTRVWW.js');
|
|
|
18
18
|
|
|
19
19
|
// src/cli/commands/quickstart.ts
|
|
20
20
|
async function handleQuickstart(options) {
|
|
21
|
-
const jsonOutput =
|
|
21
|
+
const jsonOutput = _chunkISSYN3DJjs.shouldEmitJson.call(void 0, options.json === true);
|
|
22
22
|
const gettingStarted = {
|
|
23
23
|
skill: _chunkRLX5ZFNXjs.DEEPLINE_GTM_SKILL,
|
|
24
24
|
examples: _chunkRLX5ZFNXjs.DEEPLINE_GTM_STARTER_PROMPTS
|
|
25
25
|
};
|
|
26
|
-
|
|
26
|
+
_chunkISSYN3DJjs.printCommandEnvelope.call(void 0,
|
|
27
27
|
{
|
|
28
28
|
ok: true,
|
|
29
29
|
status: "deprecated",
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } 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
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkO6GT6JD7js = require('./chunk-O6GT6JD7.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkQQESWF6Djs = require('./chunk-QQESWF6D.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunk5XGLDVSDjs = require('./chunk-5XGLDVSD.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
18
|
-
require('./chunk-
|
|
19
|
-
require('./chunk-
|
|
17
|
+
var _chunkZX6UVPGZjs = require('./chunk-ZX6UVPGZ.js');
|
|
18
|
+
require('./chunk-YNYHYL5C.js');
|
|
19
|
+
require('./chunk-XZS35M3Y.js');
|
|
20
20
|
require('./chunk-D3BCSAN7.js');
|
|
21
21
|
|
|
22
22
|
|
|
@@ -27,31 +27,31 @@ require('./chunk-BVXIGOBZ.js');
|
|
|
27
27
|
require('./chunk-CSPHSNBW.js');
|
|
28
28
|
require('./chunk-J33TSWO5.js');
|
|
29
29
|
require('./chunk-HGFFYVXN.js');
|
|
30
|
-
require('./chunk-
|
|
30
|
+
require('./chunk-7XXJJVSI.js');
|
|
31
31
|
require('./chunk-BLMB4N63.js');
|
|
32
|
-
require('./chunk-
|
|
32
|
+
require('./chunk-BUUAFSSN.js');
|
|
33
33
|
require('./chunk-4WAM6TLD.js');
|
|
34
34
|
require('./chunk-MJTVX4QK.js');
|
|
35
35
|
require('./chunk-PMH4GLMD.js');
|
|
36
|
-
require('./chunk-
|
|
37
|
-
require('./chunk-
|
|
38
|
-
require('./chunk-
|
|
39
|
-
require('./chunk-
|
|
40
|
-
require('./chunk-
|
|
41
|
-
require('./chunk-
|
|
36
|
+
require('./chunk-C45E47KC.js');
|
|
37
|
+
require('./chunk-LW2GKYZW.js');
|
|
38
|
+
require('./chunk-BO2TXH5Y.js');
|
|
39
|
+
require('./chunk-DUL6UQ2T.js');
|
|
40
|
+
require('./chunk-IGPHYKEJ.js');
|
|
41
|
+
require('./chunk-RXIQWG2N.js');
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
var
|
|
44
|
+
var _chunkDNOZQGJFjs = require('./chunk-DNOZQGJF.js');
|
|
45
45
|
|
|
46
46
|
|
|
47
|
-
var
|
|
48
|
-
require('./chunk-
|
|
49
|
-
require('./chunk-
|
|
47
|
+
var _chunkISSYN3DJjs = require('./chunk-ISSYN3DJ.js');
|
|
48
|
+
require('./chunk-S33BN7GZ.js');
|
|
49
|
+
require('./chunk-4BSCSQ6I.js');
|
|
50
50
|
require('./chunk-6VLFQZK6.js');
|
|
51
51
|
require('./chunk-XNYIZMNQ.js');
|
|
52
52
|
require('./chunk-LFQJW4S2.js');
|
|
53
53
|
require('./chunk-CFJFUVX2.js');
|
|
54
|
-
require('./chunk-
|
|
54
|
+
require('./chunk-3ET6NRXP.js');
|
|
55
55
|
require('./chunk-OG64RBAC.js');
|
|
56
56
|
require('./chunk-RLX5ZFNX.js');
|
|
57
57
|
require('./chunk-COGTRVWW.js');
|
|
@@ -72,7 +72,7 @@ function readInput(options) {
|
|
|
72
72
|
}
|
|
73
73
|
const path = _nullishCoalesce(options.inputFile, () => ( (_optionalChain([options, 'access', _ => _.input, 'optionalAccess', _2 => _2.startsWith, 'call', _3 => _3("@")]) ? options.input.slice(1) : void 0)));
|
|
74
74
|
const flag = options.inputFile !== void 0 ? "--input-file" : "--input";
|
|
75
|
-
const text = path === void 0 ? _nullishCoalesce(options.input, () => ( "{}")) :
|
|
75
|
+
const text = path === void 0 ? _nullishCoalesce(options.input, () => ( "{}")) : _chunk5XGLDVSDjs.jsonFileText.call(void 0, _fs.readFileSync.call(void 0, path === "-" ? 0 : path));
|
|
76
76
|
let input;
|
|
77
77
|
try {
|
|
78
78
|
input = JSON.parse(text);
|
|
@@ -87,7 +87,7 @@ function readInput(options) {
|
|
|
87
87
|
return input;
|
|
88
88
|
}
|
|
89
89
|
function refuse(message, output) {
|
|
90
|
-
|
|
90
|
+
_chunkZX6UVPGZjs.writeExecutionOutput.call(void 0,
|
|
91
91
|
{ id: null, status: "failed", error: { message }, ran: false },
|
|
92
92
|
output
|
|
93
93
|
);
|
|
@@ -103,7 +103,7 @@ async function runAnything(name, options) {
|
|
|
103
103
|
logsOut: options.logsOut,
|
|
104
104
|
fields: _optionalChain([options, 'access', _7 => _7.fields, 'optionalAccess', _8 => _8.split, 'call', _9 => _9(","), 'access', _10 => _10.map, 'call', _11 => _11((path) => path.trim()), 'access', _12 => _12.filter, 'call', _13 => _13(Boolean)])
|
|
105
105
|
};
|
|
106
|
-
if (!
|
|
106
|
+
if (!_chunkZX6UVPGZjs.preflightExecutionOutput.call(void 0, output)) return 2;
|
|
107
107
|
let input;
|
|
108
108
|
let timeoutMs;
|
|
109
109
|
try {
|
|
@@ -121,7 +121,7 @@ async function runAnything(name, options) {
|
|
|
121
121
|
throw new Error("--max-credits takes a number of credits above 0.");
|
|
122
122
|
}
|
|
123
123
|
if (options.timeout !== void 0 && options.timeout !== "0") {
|
|
124
|
-
const { parseToolExecuteTimeout } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-
|
|
124
|
+
const { parseToolExecuteTimeout } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-WY2GMOC7.js")));
|
|
125
125
|
timeoutMs = parseToolExecuteTimeout(options.timeout);
|
|
126
126
|
}
|
|
127
127
|
} catch (error) {
|
|
@@ -142,7 +142,7 @@ async function runAnything(name, options) {
|
|
|
142
142
|
if (name !== void 0) {
|
|
143
143
|
return refuse("Use a name or -e, not both.", output);
|
|
144
144
|
}
|
|
145
|
-
const { writeInlinePlay } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
145
|
+
const { writeInlinePlay } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-T353SULJ.js")));
|
|
146
146
|
let file;
|
|
147
147
|
try {
|
|
148
148
|
file = writeInlinePlay(options.eval);
|
|
@@ -165,7 +165,7 @@ async function runAnything(name, options) {
|
|
|
165
165
|
output
|
|
166
166
|
);
|
|
167
167
|
}
|
|
168
|
-
if (
|
|
168
|
+
if (_chunkO6GT6JD7js.looksLikeFilePath.call(void 0, name)) {
|
|
169
169
|
if (options.example !== void 0) {
|
|
170
170
|
return refuse(
|
|
171
171
|
"--example takes a named example from a published play; give a play file its input with --input.",
|
|
@@ -176,14 +176,14 @@ async function runAnything(name, options) {
|
|
|
176
176
|
return runPlay(name, play);
|
|
177
177
|
}
|
|
178
178
|
let { base, revision } = splitRevision(name);
|
|
179
|
-
let found = await
|
|
179
|
+
let found = await _chunkQQESWF6Djs.findNamed.call(void 0, base, {});
|
|
180
180
|
if (!found.chosen && revision) {
|
|
181
|
-
found = await
|
|
181
|
+
found = await _chunkQQESWF6Djs.findNamed.call(void 0, name, {});
|
|
182
182
|
if (found.chosen)
|
|
183
183
|
({ base, revision } = { base: name, revision: void 0 });
|
|
184
184
|
}
|
|
185
185
|
const { chosen, shadowed } = found;
|
|
186
|
-
if (!chosen) return refuse(
|
|
186
|
+
if (!chosen) return refuse(_chunkQQESWF6Djs.nothingNamed.call(void 0, base), output);
|
|
187
187
|
const { described } = chosen;
|
|
188
188
|
if (described.kind === "custom_play" && shadowed) {
|
|
189
189
|
console.error(
|
|
@@ -220,7 +220,7 @@ async function runAnything(name, options) {
|
|
|
220
220
|
if (runner.via === "play") {
|
|
221
221
|
return runPlay(runner.reference, { ...play, revision });
|
|
222
222
|
}
|
|
223
|
-
const { executeToolForReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-
|
|
223
|
+
const { executeToolForReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-WY2GMOC7.js")));
|
|
224
224
|
return executeToolForReceipt({
|
|
225
225
|
toolId: runner.toolId,
|
|
226
226
|
params: input,
|
|
@@ -234,7 +234,7 @@ function dryRun(described, input, output) {
|
|
|
234
234
|
const missing = described.inputs.filter((field) => field.required && !(field.name in input)).map((field) => field.name);
|
|
235
235
|
const known = new Set(described.inputs.map((field) => field.name));
|
|
236
236
|
const unknown = known.size ? Object.keys(input).filter((key) => !known.has(key)) : [];
|
|
237
|
-
|
|
237
|
+
_chunkZX6UVPGZjs.writeExecutionOutput.call(void 0,
|
|
238
238
|
{
|
|
239
239
|
id: null,
|
|
240
240
|
status: "dry_run",
|
|
@@ -252,20 +252,20 @@ function dryRun(described, input, output) {
|
|
|
252
252
|
return missing.length ? 2 : 0;
|
|
253
253
|
}
|
|
254
254
|
async function runPlay(reference, play) {
|
|
255
|
-
const { handlePlayRun, writePlayRunReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
255
|
+
const { handlePlayRun, writePlayRunReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-T353SULJ.js")));
|
|
256
256
|
const { output, options, revision } = play;
|
|
257
257
|
if (options.dryRun) {
|
|
258
|
-
const dryRunOptions =
|
|
258
|
+
const dryRunOptions = _chunkO6GT6JD7js.resolvePlayRunCliOptions.call(void 0, reference, {
|
|
259
259
|
input: JSON.stringify(play.input),
|
|
260
260
|
dryRun: true,
|
|
261
261
|
json: output.receiptJson === true
|
|
262
262
|
});
|
|
263
263
|
if (output.receiptOut === void 0) return handlePlayRun(dryRunOptions);
|
|
264
|
-
const writeDryRunError = (error) =>
|
|
264
|
+
const writeDryRunError = (error) => _chunkZX6UVPGZjs.writeExecutionOutput.call(void 0,
|
|
265
265
|
{
|
|
266
266
|
id: null,
|
|
267
267
|
status: "failed",
|
|
268
|
-
error:
|
|
268
|
+
error: _chunkISSYN3DJjs.errorToJsonPayload.call(void 0, error).error,
|
|
269
269
|
ran: false
|
|
270
270
|
},
|
|
271
271
|
output
|
|
@@ -273,7 +273,7 @@ async function runPlay(reference, play) {
|
|
|
273
273
|
try {
|
|
274
274
|
return await handlePlayRun(dryRunOptions, {
|
|
275
275
|
writeDryRunError,
|
|
276
|
-
writeDryRunPlan: (plan) =>
|
|
276
|
+
writeDryRunPlan: (plan) => _chunkZX6UVPGZjs.writeExecutionOutput.call(void 0,
|
|
277
277
|
{
|
|
278
278
|
id: null,
|
|
279
279
|
status: "dry_run",
|
|
@@ -284,19 +284,19 @@ async function runPlay(reference, play) {
|
|
|
284
284
|
)
|
|
285
285
|
});
|
|
286
286
|
} catch (error) {
|
|
287
|
-
if (error instanceof
|
|
287
|
+
if (error instanceof _chunkZX6UVPGZjs.ExecutionOutputError) throw error;
|
|
288
288
|
writeDryRunError(error);
|
|
289
289
|
return 1;
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
292
|
let id = null;
|
|
293
293
|
let written = false;
|
|
294
|
-
const progress =
|
|
295
|
-
if (!play.noWait) progress.setLogWriter(
|
|
294
|
+
const progress = _chunkDNOZQGJFjs.createCliProgress.call(void 0, true);
|
|
295
|
+
if (!play.noWait) progress.setLogWriter(_chunkZX6UVPGZjs.openLogDestination.call(void 0, output));
|
|
296
296
|
progress.setQuiet(process.stderr.isTTY !== true);
|
|
297
297
|
try {
|
|
298
298
|
const code = await handlePlayRun(
|
|
299
|
-
|
|
299
|
+
_chunkO6GT6JD7js.resolvePlayRunCliOptions.call(void 0, reference, {
|
|
300
300
|
input: JSON.stringify(play.input),
|
|
301
301
|
// The receipt is the only thing on stdout.
|
|
302
302
|
json: true,
|
|
@@ -323,7 +323,7 @@ async function runPlay(reference, play) {
|
|
|
323
323
|
},
|
|
324
324
|
writeStarted: (runId, status, page) => {
|
|
325
325
|
written = true;
|
|
326
|
-
|
|
326
|
+
_chunkZX6UVPGZjs.writeExecutionOutput.call(void 0,
|
|
327
327
|
{
|
|
328
328
|
id: runId,
|
|
329
329
|
status,
|
|
@@ -339,7 +339,7 @@ async function runPlay(reference, play) {
|
|
|
339
339
|
}
|
|
340
340
|
);
|
|
341
341
|
if (!written) {
|
|
342
|
-
|
|
342
|
+
_chunkZX6UVPGZjs.writeExecutionOutput.call(void 0,
|
|
343
343
|
{
|
|
344
344
|
id,
|
|
345
345
|
status: "failed",
|
|
@@ -351,11 +351,11 @@ async function runPlay(reference, play) {
|
|
|
351
351
|
return code;
|
|
352
352
|
} catch (error) {
|
|
353
353
|
if (written) throw error;
|
|
354
|
-
|
|
354
|
+
_chunkZX6UVPGZjs.writeExecutionOutput.call(void 0,
|
|
355
355
|
{
|
|
356
356
|
id,
|
|
357
357
|
status: "failed",
|
|
358
|
-
error:
|
|
358
|
+
error: _chunkISSYN3DJjs.errorToJsonPayload.call(void 0, error).error,
|
|
359
359
|
...id ? { next: { status: `deepline runs get ${id}` } } : {}
|
|
360
360
|
},
|
|
361
361
|
output
|
|
@@ -384,7 +384,7 @@ function registerRunCommand(program) {
|
|
|
384
384
|
try {
|
|
385
385
|
process.exitCode = await runAnything(name, options);
|
|
386
386
|
} catch (error) {
|
|
387
|
-
if (options.receiptOut === void 0 || !(error instanceof
|
|
387
|
+
if (options.receiptOut === void 0 || !(error instanceof _chunkZX6UVPGZjs.ExecutionOutputError)) {
|
|
388
388
|
throw error;
|
|
389
389
|
}
|
|
390
390
|
process.exitCode = 1;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
looksLikeFilePath,
|
|
3
3
|
resolvePlayRunCliOptions
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TFPMVSGK.mjs";
|
|
5
5
|
import {
|
|
6
6
|
findNamed,
|
|
7
7
|
nothingNamed
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZJ2H77VV.mjs";
|
|
9
9
|
import {
|
|
10
10
|
jsonFileText
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3DJMPID5.mjs";
|
|
12
12
|
import {
|
|
13
13
|
ExecutionOutputError,
|
|
14
14
|
openLogDestination,
|
|
15
15
|
preflightExecutionOutput,
|
|
16
16
|
writeExecutionOutput
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-ZHE5E2WJ.mjs";
|
|
18
|
+
import "./chunk-3MWTAM3F.mjs";
|
|
19
|
+
import "./chunk-WBRSVML3.mjs";
|
|
20
20
|
import "./chunk-5AEDYVB6.mjs";
|
|
21
21
|
import {
|
|
22
22
|
DEEPLINE_NAMESPACE
|
|
@@ -27,31 +27,31 @@ import "./chunk-STXDSVQZ.mjs";
|
|
|
27
27
|
import "./chunk-MF7PCM6C.mjs";
|
|
28
28
|
import "./chunk-FR2ILQ4G.mjs";
|
|
29
29
|
import "./chunk-FIVKWNMT.mjs";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-ES3S6UXR.mjs";
|
|
31
31
|
import "./chunk-2GEYN3H4.mjs";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-JKQPITEE.mjs";
|
|
33
33
|
import "./chunk-FZHMNK6F.mjs";
|
|
34
34
|
import "./chunk-5TYLSS4Q.mjs";
|
|
35
35
|
import "./chunk-PSX3WHIH.mjs";
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-V73WDQEA.mjs";
|
|
37
|
+
import "./chunk-SGRJJLNV.mjs";
|
|
38
|
+
import "./chunk-FZZMCVOS.mjs";
|
|
39
|
+
import "./chunk-BHF5UW34.mjs";
|
|
40
|
+
import "./chunk-DAZRIAXW.mjs";
|
|
41
|
+
import "./chunk-OCXWUWUI.mjs";
|
|
42
42
|
import {
|
|
43
43
|
createCliProgress
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-2GWKBQJZ.mjs";
|
|
45
45
|
import {
|
|
46
46
|
errorToJsonPayload
|
|
47
|
-
} from "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
47
|
+
} from "./chunk-WW52ANX4.mjs";
|
|
48
|
+
import "./chunk-4ANDW2OT.mjs";
|
|
49
|
+
import "./chunk-HNTIGYRT.mjs";
|
|
50
50
|
import "./chunk-ASB47RXJ.mjs";
|
|
51
51
|
import "./chunk-DLIRSHV6.mjs";
|
|
52
52
|
import "./chunk-Z3A2S3QM.mjs";
|
|
53
53
|
import "./chunk-2MGZAI54.mjs";
|
|
54
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-KMLACXI2.mjs";
|
|
55
55
|
import "./chunk-WZYKRD7T.mjs";
|
|
56
56
|
import "./chunk-5JPKRDFC.mjs";
|
|
57
57
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -121,7 +121,7 @@ async function runAnything(name, options) {
|
|
|
121
121
|
throw new Error("--max-credits takes a number of credits above 0.");
|
|
122
122
|
}
|
|
123
123
|
if (options.timeout !== void 0 && options.timeout !== "0") {
|
|
124
|
-
const { parseToolExecuteTimeout } = await import("./tools-
|
|
124
|
+
const { parseToolExecuteTimeout } = await import("./tools-M3S6D6DA.mjs");
|
|
125
125
|
timeoutMs = parseToolExecuteTimeout(options.timeout);
|
|
126
126
|
}
|
|
127
127
|
} catch (error) {
|
|
@@ -142,7 +142,7 @@ async function runAnything(name, options) {
|
|
|
142
142
|
if (name !== void 0) {
|
|
143
143
|
return refuse("Use a name or -e, not both.", output);
|
|
144
144
|
}
|
|
145
|
-
const { writeInlinePlay } = await import("./play-
|
|
145
|
+
const { writeInlinePlay } = await import("./play-6UWPUHC6.mjs");
|
|
146
146
|
let file;
|
|
147
147
|
try {
|
|
148
148
|
file = writeInlinePlay(options.eval);
|
|
@@ -220,7 +220,7 @@ async function runAnything(name, options) {
|
|
|
220
220
|
if (runner.via === "play") {
|
|
221
221
|
return runPlay(runner.reference, { ...play, revision });
|
|
222
222
|
}
|
|
223
|
-
const { executeToolForReceipt } = await import("./tools-
|
|
223
|
+
const { executeToolForReceipt } = await import("./tools-M3S6D6DA.mjs");
|
|
224
224
|
return executeToolForReceipt({
|
|
225
225
|
toolId: runner.toolId,
|
|
226
226
|
params: input,
|
|
@@ -252,7 +252,7 @@ function dryRun(described, input, output) {
|
|
|
252
252
|
return missing.length ? 2 : 0;
|
|
253
253
|
}
|
|
254
254
|
async function runPlay(reference, play) {
|
|
255
|
-
const { handlePlayRun, writePlayRunReceipt } = await import("./play-
|
|
255
|
+
const { handlePlayRun, writePlayRunReceipt } = await import("./play-6UWPUHC6.mjs");
|
|
256
256
|
const { output, options, revision } = play;
|
|
257
257
|
if (options.dryRun) {
|
|
258
258
|
const dryRunOptions = resolvePlayRunCliOptions(reference, {
|
|
@@ -5,21 +5,21 @@ import {
|
|
|
5
5
|
pointAtDescribe,
|
|
6
6
|
registerDeprecatedSearchCommand,
|
|
7
7
|
registerSearchCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WBRSVML3.mjs";
|
|
9
9
|
import "./chunk-5AEDYVB6.mjs";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-ES3S6UXR.mjs";
|
|
11
|
+
import "./chunk-JKQPITEE.mjs";
|
|
12
12
|
import "./chunk-FZHMNK6F.mjs";
|
|
13
13
|
import "./chunk-5TYLSS4Q.mjs";
|
|
14
14
|
import "./chunk-PSX3WHIH.mjs";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-WW52ANX4.mjs";
|
|
16
|
+
import "./chunk-4ANDW2OT.mjs";
|
|
17
|
+
import "./chunk-HNTIGYRT.mjs";
|
|
18
18
|
import "./chunk-ASB47RXJ.mjs";
|
|
19
19
|
import "./chunk-DLIRSHV6.mjs";
|
|
20
20
|
import "./chunk-Z3A2S3QM.mjs";
|
|
21
21
|
import "./chunk-2MGZAI54.mjs";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-KMLACXI2.mjs";
|
|
23
23
|
import "./chunk-WZYKRD7T.mjs";
|
|
24
24
|
import "./chunk-KRD6H754.mjs";
|
|
25
25
|
export {
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkXZS35M3Yjs = require('./chunk-XZS35M3Y.js');
|
|
9
|
+
require('./chunk-D3BCSAN7.js');
|
|
10
|
+
require('./chunk-7XXJJVSI.js');
|
|
11
|
+
require('./chunk-BUUAFSSN.js');
|
|
12
|
+
require('./chunk-4WAM6TLD.js');
|
|
13
|
+
require('./chunk-MJTVX4QK.js');
|
|
14
|
+
require('./chunk-PMH4GLMD.js');
|
|
15
|
+
require('./chunk-ISSYN3DJ.js');
|
|
16
|
+
require('./chunk-S33BN7GZ.js');
|
|
17
|
+
require('./chunk-4BSCSQ6I.js');
|
|
18
|
+
require('./chunk-6VLFQZK6.js');
|
|
19
|
+
require('./chunk-XNYIZMNQ.js');
|
|
20
|
+
require('./chunk-LFQJW4S2.js');
|
|
21
|
+
require('./chunk-CFJFUVX2.js');
|
|
22
|
+
require('./chunk-3ET6NRXP.js');
|
|
23
|
+
require('./chunk-OG64RBAC.js');
|
|
24
|
+
require('./chunk-COGTRVWW.js');
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
exports.SEARCH_TYPES = _chunkXZS35M3Yjs.SEARCH_TYPES; exports.appendCsv = _chunkXZS35M3Yjs.appendCsv; exports.parseTypes = _chunkXZS35M3Yjs.parseTypes; exports.pointAtDescribe = _chunkXZS35M3Yjs.pointAtDescribe; exports.registerDeprecatedSearchCommand = _chunkXZS35M3Yjs.registerDeprecatedSearchCommand; exports.registerSearchCommand = _chunkXZS35M3Yjs.registerSearchCommand;
|
|
@@ -11,14 +11,14 @@ import "./chunk-STXDSVQZ.mjs";
|
|
|
11
11
|
import "./chunk-PSX3WHIH.mjs";
|
|
12
12
|
import {
|
|
13
13
|
renderCommandEnvelopeText
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-WW52ANX4.mjs";
|
|
15
|
+
import "./chunk-4ANDW2OT.mjs";
|
|
16
|
+
import "./chunk-HNTIGYRT.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-KMLACXI2.mjs";
|
|
22
22
|
import "./chunk-WZYKRD7T.mjs";
|
|
23
23
|
import "./chunk-KRD6H754.mjs";
|
|
24
24
|
|
|
@@ -11,14 +11,14 @@ require('./chunk-BVXIGOBZ.js');
|
|
|
11
11
|
require('./chunk-PMH4GLMD.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
15
|
-
require('./chunk-
|
|
16
|
-
require('./chunk-
|
|
14
|
+
var _chunkISSYN3DJjs = require('./chunk-ISSYN3DJ.js');
|
|
15
|
+
require('./chunk-S33BN7GZ.js');
|
|
16
|
+
require('./chunk-4BSCSQ6I.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-3ET6NRXP.js');
|
|
22
22
|
require('./chunk-OG64RBAC.js');
|
|
23
23
|
require('./chunk-COGTRVWW.js');
|
|
24
24
|
|
|
@@ -127,7 +127,7 @@ var OPTIONAL_COLUMNS = [
|
|
|
127
127
|
];
|
|
128
128
|
function renderSearchResults(result, summaryWidth = _chunkD3BCSAN7js.DEFAULT_SUMMARY_WIDTH) {
|
|
129
129
|
if (result.results.length === 0)
|
|
130
|
-
return
|
|
130
|
+
return _chunkISSYN3DJjs.renderCommandEnvelopeText.call(void 0, result);
|
|
131
131
|
const rows = result.results.map((item) => searchRow(item, summaryWidth));
|
|
132
132
|
const kinds = new Set(rows.map((row) => row.kind));
|
|
133
133
|
const onlyTools = kinds.size === 1 && kinds.has("tool");
|
|
@@ -158,7 +158,7 @@ function renderSearchResults(result, summaryWidth = _chunkD3BCSAN7js.DEFAULT_SUM
|
|
|
158
158
|
actions: _optionalChain([render, 'optionalAccess', _17 => _17.actions])
|
|
159
159
|
};
|
|
160
160
|
const followUps = _optionalChain([remaining, 'access', _18 => _18.sections, 'optionalAccess', _19 => _19.length]) || _optionalChain([remaining, 'access', _20 => _20.actions, 'optionalAccess', _21 => _21.length]) ? `
|
|
161
|
-
${
|
|
161
|
+
${_chunkISSYN3DJjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
|
|
162
162
|
const exact = _optionalChain([result, 'access', _22 => _22.exactLookup, 'optionalAccess', _23 => _23.toolId]);
|
|
163
163
|
const matched = exact && result.results.find((item) => item.id === exact);
|
|
164
164
|
const contract = matched ? [
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-ES3S6UXR.mjs";
|
|
4
|
+
import "./chunk-JKQPITEE.mjs";
|
|
5
5
|
import "./chunk-FZHMNK6F.mjs";
|
|
6
6
|
import "./chunk-5TYLSS4Q.mjs";
|
|
7
7
|
import "./chunk-PSX3WHIH.mjs";
|
|
8
8
|
import {
|
|
9
9
|
getAuthedHttpClient,
|
|
10
10
|
printCommandEnvelope
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-WW52ANX4.mjs";
|
|
12
|
+
import "./chunk-4ANDW2OT.mjs";
|
|
13
|
+
import "./chunk-HNTIGYRT.mjs";
|
|
14
14
|
import "./chunk-ASB47RXJ.mjs";
|
|
15
15
|
import "./chunk-DLIRSHV6.mjs";
|
|
16
16
|
import "./chunk-Z3A2S3QM.mjs";
|
|
17
17
|
import "./chunk-2MGZAI54.mjs";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-KMLACXI2.mjs";
|
|
19
19
|
import "./chunk-WZYKRD7T.mjs";
|
|
20
20
|
import "./chunk-KRD6H754.mjs";
|
|
21
21
|
|