deepline 0.3.492 → 0.3.493
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 +11 -5
- package/dist/bundling-sources/sdk/src/plays/run-request.ts +1 -0
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/types.ts +6 -0
- package/dist/bundling-sources/shared_libs/monitors/fleets/verdict.ts +25 -9
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +36 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +5 -4
- package/dist/bundling-sources/shared_libs/play-runtime/crustdata-company-identify-batching.ts +162 -0
- package/dist/bundling-sources/shared_libs/play-runtime/daytona-sandbox-reaper.ts +19 -3
- package/dist/bundling-sources/shared_libs/play-runtime/play-runtime-batching-registry.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/receipt-sql.ts +17 -23
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-modal-fallback.ts +28 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-sandbox-placement-policy.ts +75 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +20 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +412 -59
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +38 -10
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-ledger-reconciliation.ts +19 -11
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-operation.ts +165 -12
- package/dist/bundling-sources/shared_libs/play-runtime/work-receipt-state-machine.ts +358 -0
- package/dist/cli/{auth-4I6QY5WX.mjs → auth-3NAY3AST.mjs} +5 -5
- package/dist/cli/auth-KYQLDI6V.js +43 -0
- package/dist/cli/{billing-2H4GOJZY.js → billing-FSB4BBBO.js} +80 -80
- package/dist/cli/{billing-4F6L4JSI.mjs → billing-SBWQCC7B.mjs} +7 -7
- package/dist/cli/{chunk-MQ2LQOAM.mjs → chunk-2BRTYIAH.mjs} +23 -9
- package/dist/cli/{chunk-E47VAVAR.js → chunk-2H4OFVR5.js} +5 -5
- package/dist/cli/{chunk-ZDTPSVGF.js → chunk-2I7VN65H.js} +10 -10
- package/dist/cli/{chunk-LCCFGSV7.mjs → chunk-2IHGVAGT.mjs} +2 -2
- package/dist/cli/{chunk-BDUFZSUL.js → chunk-2NGIBJM2.js} +8 -8
- package/dist/cli/{chunk-OTUT3XTX.mjs → chunk-3QGUWB6E.mjs} +4 -4
- package/dist/cli/{chunk-3BRDP4UP.mjs → chunk-4IJFQV3O.mjs} +1 -1
- package/dist/cli/{chunk-PIC6M4X3.mjs → chunk-4NIGNT7X.mjs} +1 -1
- package/dist/cli/{chunk-YVOYZPMY.mjs → chunk-5DIZ2G74.mjs} +2 -2
- package/dist/cli/{chunk-TKLDKIJU.mjs → chunk-5JPKRDFC.mjs} +7 -5
- package/dist/cli/{chunk-FTXIJTV2.mjs → chunk-5WOPBX3H.mjs} +1 -1
- package/dist/cli/{chunk-R5MP3CIY.mjs → chunk-67ZG7XZV.mjs} +3 -3
- package/dist/cli/{chunk-W4FEX5ZF.js → chunk-7HABWOMB.js} +261 -261
- package/dist/cli/{chunk-FPLN7PHP.js → chunk-AGTXL6LZ.js} +5 -5
- package/dist/cli/{chunk-SE23YSBK.js → chunk-AWMCZAUR.js} +3 -3
- package/dist/cli/{chunk-HHTVRICE.js → chunk-C2MRDPA5.js} +17 -17
- package/dist/cli/{chunk-ONONSV2Q.mjs → chunk-DVQHG6AM.mjs} +1 -0
- package/dist/cli/{chunk-O3K22ZC7.js → chunk-DWJ4RXSA.js} +34 -11
- package/dist/cli/{chunk-6YO4OJPM.mjs → chunk-DYP27IWC.mjs} +99 -24
- package/dist/cli/{chunk-EANFUHRM.mjs → chunk-E5ILCMKQ.mjs} +1 -1
- package/dist/cli/{chunk-Y7QCMOGZ.mjs → chunk-EBAS3UT2.mjs} +6 -6
- package/dist/cli/{chunk-DJOLMS2A.js → chunk-EFO5GVYS.js} +1 -1
- package/dist/cli/{chunk-NF7NUKWF.js → chunk-EYG336YV.js} +132 -57
- package/dist/cli/{chunk-OKHBAAJG.mjs → chunk-GSC35TPZ.mjs} +2 -2
- package/dist/cli/{chunk-MPITIXW4.mjs → chunk-HLM2UFQ5.mjs} +13 -5
- package/dist/cli/{chunk-TVUE4CPW.js → chunk-HTUSTPP4.js} +32 -32
- package/dist/cli/{chunk-GDSZWTJK.mjs → chunk-IJJ6D5WL.mjs} +12 -12
- package/dist/cli/{chunk-3TISK5RQ.js → chunk-IJOHWGPF.js} +6 -6
- package/dist/cli/{chunk-NBL6JMIY.js → chunk-IOBPR2VO.js} +17 -17
- package/dist/cli/{chunk-EFFHRXKB.js → chunk-IOMEJKGK.js} +2 -2
- package/dist/cli/{chunk-A7ZMG2QZ.mjs → chunk-IRDYBMA7.mjs} +34 -11
- package/dist/cli/{chunk-B2JE3HD6.js → chunk-JO2JZUBR.js} +3 -3
- package/dist/cli/{chunk-4IP5MLWU.js → chunk-JO5FFSR7.js} +6 -1
- package/dist/cli/{chunk-O2FB42N2.js → chunk-KCDZWS2B.js} +56 -56
- package/dist/cli/{chunk-CGDUFVNE.mjs → chunk-KGDDQMI7.mjs} +2 -2
- package/dist/cli/{chunk-UUH4GQRL.mjs → chunk-KKSKYZO4.mjs} +1 -1
- package/dist/cli/{chunk-OTDX4A4W.js → chunk-LGTZYI5B.js} +21 -21
- package/dist/cli/{chunk-JJAHWKJ2.js → chunk-MLEUOTEQ.js} +73 -59
- package/dist/cli/{chunk-YOCEY4EI.mjs → chunk-NALJJTPS.mjs} +5 -5
- package/dist/cli/{chunk-HFEJ7JJT.js → chunk-NPNAEPY4.js} +26 -26
- package/dist/cli/{chunk-3IBKEOL4.js → chunk-NWIDPT7H.js} +4 -4
- package/dist/cli/{chunk-AUQQVDAB.js → chunk-PKV5CD3W.js} +1 -0
- package/dist/cli/{chunk-4RB74KJX.js → chunk-QTPS5RLG.js} +15 -15
- package/dist/cli/{chunk-4OLXMJ2L.js → chunk-RLX5ZFNX.js} +8 -6
- package/dist/cli/{chunk-DEJIN4DF.mjs → chunk-SAW3FBCA.mjs} +5 -0
- package/dist/cli/{chunk-RC366IJS.mjs → chunk-SXD2EYAH.mjs} +6 -6
- package/dist/cli/{chunk-YNWET57Z.js → chunk-TIFRRLZT.js} +7 -7
- package/dist/cli/{chunk-ZCKUNXXR.mjs → chunk-TNQOR6XQ.mjs} +1 -1
- package/dist/cli/{chunk-OGNIB64W.js → chunk-UCMY2SO2.js} +23 -15
- package/dist/cli/{chunk-O65HDVA7.mjs → chunk-VFHIYWMC.mjs} +5 -5
- package/dist/cli/{chunk-JHBRJDUC.js → chunk-WCZFCOMZ.js} +7 -7
- package/dist/cli/{chunk-FFOJRD53.mjs → chunk-WTFI7BVH.mjs} +3 -3
- package/dist/cli/{chunk-42Z6VC2Q.js → chunk-XLE7KXE7.js} +2 -2
- package/dist/cli/{chunk-Q3CCCTRQ.js → chunk-XQX476QK.js} +14 -14
- package/dist/cli/{chunk-F6EQWY4E.mjs → chunk-Y3NN2UAF.mjs} +2 -2
- package/dist/cli/{chunk-MJFVF5AW.mjs → chunk-ZQH4TXM2.mjs} +2 -2
- package/dist/cli/{chunk-DVGCPOEA.mjs → chunk-ZVW7EWTC.mjs} +7 -7
- package/dist/cli/{chunk-4GJIJHRQ.mjs → chunk-ZVXB7OU7.mjs} +1 -1
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-JGJNDRSA.js → csv-DKYZE2KM.js} +13 -13
- package/dist/cli/{csv-VGXGV7YM.mjs → csv-XR22YQXT.mjs} +4 -4
- package/dist/cli/{db-OYG27ZBM.mjs → db-EOKG36YN.mjs} +7 -7
- package/dist/cli/{db-W52WJ6E5.js → db-RNYRTCMV.js} +28 -28
- package/dist/cli/describe-ICFXOQBW.mjs +50 -0
- package/dist/cli/describe-RS75I33X.js +50 -0
- package/dist/cli/describe-core.d.mts +2 -2
- package/dist/cli/describe-core.d.ts +2 -2
- package/dist/cli/describe-core.js +4 -4
- package/dist/cli/describe-core.mjs +3 -3
- package/dist/cli/{executions-EVE4KUGL.mjs → executions-3RAOACNS.mjs} +7 -7
- package/dist/cli/{executions-LAJHZGPY.js → executions-OBWPSWH7.js} +9 -9
- package/dist/cli/{feedback-75QB7KVG.mjs → feedback-6EQRVBKF.mjs} +4 -4
- package/dist/cli/{feedback-ZABCN7RT.js → feedback-6GPEUBLF.js} +8 -8
- package/dist/cli/getting-started.d.mts +12 -10
- package/dist/cli/getting-started.d.ts +12 -10
- package/dist/cli/getting-started.js +4 -2
- package/dist/cli/getting-started.mjs +3 -1
- package/dist/cli/{git-QIFEYQGY.mjs → git-CVQ24DTR.mjs} +5 -5
- package/dist/cli/git-DEFE4SSB.js +25 -0
- package/dist/cli/index.js +143 -143
- package/dist/cli/index.mjs +43 -43
- package/dist/cli/{legacy-noops-PNTWBBGY.mjs → legacy-noops-QULJZYNH.mjs} +5 -5
- package/dist/cli/{legacy-noops-2TBIAMCM.js → legacy-noops-XPOATG5V.js} +8 -8
- package/dist/cli/{monitors-LOHUYJEI.mjs → monitors-AFT5YJPZ.mjs} +49 -9
- package/dist/cli/{monitors-UKBOEGBS.js → monitors-OJ4CMREE.js} +169 -129
- package/dist/cli/{org-E7A6QLBW.js → org-RKT52CSL.js} +73 -73
- package/dist/cli/{org-JRUKUOUF.mjs → org-WHKNXANG.mjs} +7 -7
- package/dist/cli/{pages-K76HA473.mjs → pages-EEAQFGVD.mjs} +7 -7
- package/dist/cli/{pages-EUDFFLLD.js → pages-SOE3R667.js} +18 -18
- package/dist/cli/{play-DG2N66SV.mjs → play-LXFWHUBP.mjs} +147 -52
- package/dist/cli/{play-UWHNUJRA.js → play-OTJJ4E4T.js} +661 -566
- package/dist/cli/{providers-DZX6TTC6.js → providers-RU4HIAT3.js} +10 -10
- package/dist/cli/{providers-RUTTPUZD.mjs → providers-U3CPKTMM.mjs} +7 -7
- package/dist/cli/{quickstart-RGZZN2YE.mjs → quickstart-75AO2AJC.mjs} +5 -5
- package/dist/cli/{quickstart-U4NMD7KX.js → quickstart-N72IVA2Y.js} +13 -13
- package/dist/cli/{run-MOJWQYFQ.mjs → run-IGWFL6WH.mjs} +29 -28
- package/dist/cli/{run-5UNF4FHG.js → run-MMYES3IW.js} +44 -43
- package/dist/cli/search-EQURI7SZ.js +32 -0
- package/dist/cli/{search-5B3ZDU7H.mjs → search-FIYESBLZ.mjs} +8 -8
- package/dist/cli/{search-output-VQWJS3FN.js → search-output-2FXN4ZWD.js} +9 -6
- package/dist/cli/{search-output-QS4IWWHA.mjs → search-output-3I5KSW36.mjs} +7 -4
- package/dist/cli/{secrets-S3PJMEAC.js → secrets-HCZQ6JNP.js} +16 -16
- package/dist/cli/{secrets-V5XVDBIS.mjs → secrets-O7IUQ3VT.mjs} +7 -7
- package/dist/cli/{sessions-Y5QMEZ3D.js → sessions-5AYTT4IW.js} +6 -6
- package/dist/cli/{sessions-5V3X24XI.mjs → sessions-KY7A3EZO.mjs} +5 -5
- package/dist/cli/{settings-3U6RRO5F.js → settings-P4VFYWJK.js} +80 -80
- package/dist/cli/{settings-LHZYY5PT.mjs → settings-WSMRR2GS.mjs} +13 -13
- package/dist/cli/{setup-MLLIGO2S.js → setup-J7CA3EJL.js} +57 -57
- package/dist/cli/{setup-AJLWXYAN.mjs → setup-YTVKVQC7.mjs} +13 -13
- package/dist/cli/skills-KKPEGLAR.js +36 -0
- package/dist/cli/{skills-5O2MUWKK.mjs → skills-W5WY764N.mjs} +10 -10
- package/dist/cli/tools-65Y4QTW6.js +57 -0
- package/dist/cli/{tools-PWNMI5CD.mjs → tools-YECI6N3N.mjs} +20 -20
- package/dist/cli/{update-SXT4QW7S.mjs → update-BIFBIEII.mjs} +10 -10
- package/dist/cli/update-WDG7VFOW.js +34 -0
- package/dist/cli/{workflow-3WTF5IYT.js → workflow-D2TUFFH6.js} +18 -18
- package/dist/cli/{workflow-KPRM6ARO.mjs → workflow-XZVDNARC.mjs} +8 -8
- package/dist/{client-Cb1ej1Vr.d.ts → client-BDB_VbE4.d.ts} +1 -1
- package/dist/{client-vWpbLNCB.d.mts → client-CNzJ1LTF.d.mts} +1 -1
- package/dist/{client-core-CoBTvsXG.d.mts → client-core-CSv3DlPD.d.mts} +10 -3
- package/dist/{client-core-BmVs6SP0.d.ts → client-core-xEa9x3pl.d.ts} +10 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +10 -10
- package/dist/index.mjs +7 -7
- package/dist/install-integrity.json +115 -114
- 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/plays/run-request.js +2 -2
- package/dist/plays/run-request.mjs +1 -1
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/dist/server.d.mts +2 -2
- package/dist/server.d.ts +2 -2
- package/dist/server.js +6 -6
- package/dist/server.mjs +4 -4
- package/package.json +1 -1
- package/dist/cli/auth-7BCLZU6K.js +0 -43
- package/dist/cli/describe-FIXCRO5N.mjs +0 -50
- package/dist/cli/describe-G3O6OUBG.js +0 -50
- package/dist/cli/git-QBAR46NW.js +0 -25
- package/dist/cli/search-3DAEJL6S.js +0 -32
- package/dist/cli/skills-BBLIML5M.js +0 -36
- package/dist/cli/tools-X5SQXUMM.js +0 -57
- package/dist/cli/update-AEJ2ZSZQ.js +0 -34
|
@@ -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 _chunk2H4OFVR5js = require('./chunk-2H4OFVR5.js');
|
|
4
|
+
require('./chunk-HTUSTPP4.js');
|
|
5
5
|
require('./chunk-E4CABWXL.js');
|
|
6
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-PKV5CD3W.js');
|
|
7
7
|
require('./chunk-NMU3VR5U.js');
|
|
8
8
|
require('./chunk-XDVT3GOM.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
13
|
-
require('./chunk-
|
|
14
|
-
require('./chunk-
|
|
12
|
+
var _chunk2I7VN65Hjs = require('./chunk-2I7VN65H.js');
|
|
13
|
+
require('./chunk-JO2JZUBR.js');
|
|
14
|
+
require('./chunk-NWIDPT7H.js');
|
|
15
15
|
require('./chunk-ALJJRZNJ.js');
|
|
16
16
|
require('./chunk-XNYIZMNQ.js');
|
|
17
17
|
require('./chunk-DIAWYWT5.js');
|
|
18
|
-
require('./chunk-
|
|
18
|
+
require('./chunk-EFO5GVYS.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, _chunk2H4OFVR5js.DeeplineClient)();
|
|
25
25
|
const changed = options.changed === true;
|
|
26
|
-
const emitJson = options.json === true ||
|
|
26
|
+
const emitJson = options.json === true || _chunk2I7VN65Hjs.shouldEmitJson.call(void 0, );
|
|
27
27
|
const providers = await client.listProviders({ changed });
|
|
28
28
|
const render = {
|
|
29
29
|
sections: [
|
|
@@ -42,7 +42,7 @@ async function listProviders(options = {}) {
|
|
|
42
42
|
}
|
|
43
43
|
]
|
|
44
44
|
};
|
|
45
|
-
|
|
45
|
+
_chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
|
|
46
46
|
{
|
|
47
47
|
providers,
|
|
48
48
|
count: providers.length,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-GSC35TPZ.mjs";
|
|
4
|
+
import "./chunk-WTFI7BVH.mjs";
|
|
5
5
|
import "./chunk-L2VKAASU.mjs";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-DVQHG6AM.mjs";
|
|
7
7
|
import "./chunk-S3A4IXBQ.mjs";
|
|
8
8
|
import "./chunk-UBKA33KY.mjs";
|
|
9
9
|
import {
|
|
10
10
|
printCommandEnvelope,
|
|
11
11
|
shouldEmitJson
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-VFHIYWMC.mjs";
|
|
13
|
+
import "./chunk-4NIGNT7X.mjs";
|
|
14
|
+
import "./chunk-TNQOR6XQ.mjs";
|
|
15
15
|
import "./chunk-4QF2K7TM.mjs";
|
|
16
16
|
import "./chunk-DLIRSHV6.mjs";
|
|
17
17
|
import "./chunk-HBL4PM5Q.mjs";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-KKSKYZO4.mjs";
|
|
19
19
|
import "./chunk-WZYKRD7T.mjs";
|
|
20
20
|
import "./chunk-KRD6H754.mjs";
|
|
21
21
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
printCommandEnvelope,
|
|
3
3
|
shouldEmitJson
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-VFHIYWMC.mjs";
|
|
5
|
+
import "./chunk-4NIGNT7X.mjs";
|
|
6
|
+
import "./chunk-TNQOR6XQ.mjs";
|
|
7
7
|
import "./chunk-4QF2K7TM.mjs";
|
|
8
8
|
import "./chunk-DLIRSHV6.mjs";
|
|
9
9
|
import "./chunk-HBL4PM5Q.mjs";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-KKSKYZO4.mjs";
|
|
11
11
|
import "./chunk-WZYKRD7T.mjs";
|
|
12
12
|
import {
|
|
13
13
|
DEEPLINE_GTM_SKILL,
|
|
14
14
|
DEEPLINE_GTM_STARTER_PROMPTS
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-5JPKRDFC.mjs";
|
|
16
16
|
import "./chunk-KRD6H754.mjs";
|
|
17
17
|
|
|
18
18
|
// src/cli/commands/quickstart.ts
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
4
|
+
var _chunk2I7VN65Hjs = require('./chunk-2I7VN65H.js');
|
|
5
|
+
require('./chunk-JO2JZUBR.js');
|
|
6
|
+
require('./chunk-NWIDPT7H.js');
|
|
7
7
|
require('./chunk-ALJJRZNJ.js');
|
|
8
8
|
require('./chunk-XNYIZMNQ.js');
|
|
9
9
|
require('./chunk-DIAWYWT5.js');
|
|
10
|
-
require('./chunk-
|
|
10
|
+
require('./chunk-EFO5GVYS.js');
|
|
11
11
|
require('./chunk-OG64RBAC.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkRLX5ZFNXjs = require('./chunk-RLX5ZFNX.js');
|
|
16
16
|
require('./chunk-COGTRVWW.js');
|
|
17
17
|
|
|
18
18
|
// src/cli/commands/quickstart.ts
|
|
19
19
|
async function handleQuickstart(options) {
|
|
20
|
-
const jsonOutput =
|
|
20
|
+
const jsonOutput = _chunk2I7VN65Hjs.shouldEmitJson.call(void 0, options.json === true);
|
|
21
21
|
const gettingStarted = {
|
|
22
|
-
skill:
|
|
23
|
-
examples:
|
|
22
|
+
skill: _chunkRLX5ZFNXjs.DEEPLINE_GTM_SKILL,
|
|
23
|
+
examples: _chunkRLX5ZFNXjs.DEEPLINE_GTM_STARTER_PROMPTS
|
|
24
24
|
};
|
|
25
|
-
|
|
25
|
+
_chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
|
|
26
26
|
{
|
|
27
27
|
ok: true,
|
|
28
28
|
status: "deprecated",
|
|
@@ -30,16 +30,16 @@ async function handleQuickstart(options) {
|
|
|
30
30
|
exitCode: 0,
|
|
31
31
|
message: "`deepline quickstart` is deprecated. Start with the installed /deepline-gtm skill in your agent.",
|
|
32
32
|
deprecatedCommand: "deepline quickstart",
|
|
33
|
-
replacement:
|
|
33
|
+
replacement: _chunkRLX5ZFNXjs.DEEPLINE_GTM_SKILL,
|
|
34
34
|
gettingStarted,
|
|
35
|
-
next:
|
|
35
|
+
next: _chunkRLX5ZFNXjs.DEEPLINE_GTM_SKILL,
|
|
36
36
|
render: {
|
|
37
37
|
sections: [
|
|
38
38
|
{
|
|
39
39
|
title: "quickstart deprecated",
|
|
40
40
|
lines: [
|
|
41
|
-
`Use ${
|
|
42
|
-
...
|
|
41
|
+
`Use ${_chunkRLX5ZFNXjs.DEEPLINE_GTM_SKILL} in your agent instead.`,
|
|
42
|
+
..._chunkRLX5ZFNXjs.DEEPLINE_GTM_STARTER_PROMPTS.map(
|
|
43
43
|
(example, index) => `${index + 1}. ${example.title}: ${example.prompt}`
|
|
44
44
|
)
|
|
45
45
|
]
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
looksLikeFilePath,
|
|
3
3
|
resolvePlayRunCliOptions
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-67ZG7XZV.mjs";
|
|
5
5
|
import {
|
|
6
6
|
findNamed,
|
|
7
7
|
nothingNamed
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-SXD2EYAH.mjs";
|
|
9
|
+
import "./chunk-IJJ6D5WL.mjs";
|
|
10
10
|
import {
|
|
11
11
|
openLogDestination,
|
|
12
12
|
preflightExecutionOutput,
|
|
13
13
|
writeExecutionOutput
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-HLM2UFQ5.mjs";
|
|
15
|
+
import "./chunk-3QGUWB6E.mjs";
|
|
16
16
|
import "./chunk-5AEDYVB6.mjs";
|
|
17
17
|
import {
|
|
18
18
|
DEEPLINE_NAMESPACE
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-KGDDQMI7.mjs";
|
|
20
|
+
import "./chunk-5WOPBX3H.mjs";
|
|
21
|
+
import "./chunk-SAW3FBCA.mjs";
|
|
22
22
|
import "./chunk-OVDNJAJN.mjs";
|
|
23
23
|
import "./chunk-XRDXNAAY.mjs";
|
|
24
24
|
import "./chunk-F6QV42MC.mjs";
|
|
25
25
|
import "./chunk-FR2ILQ4G.mjs";
|
|
26
26
|
import "./chunk-FIVKWNMT.mjs";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-GSC35TPZ.mjs";
|
|
28
28
|
import "./chunk-3RGWTKK3.mjs";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-WTFI7BVH.mjs";
|
|
30
30
|
import "./chunk-L2VKAASU.mjs";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-DVQHG6AM.mjs";
|
|
32
32
|
import "./chunk-S3A4IXBQ.mjs";
|
|
33
33
|
import "./chunk-UBKA33KY.mjs";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-NALJJTPS.mjs";
|
|
35
|
+
import "./chunk-ZVXB7OU7.mjs";
|
|
36
|
+
import "./chunk-EBAS3UT2.mjs";
|
|
37
|
+
import "./chunk-4IJFQV3O.mjs";
|
|
38
|
+
import "./chunk-DYP27IWC.mjs";
|
|
39
|
+
import "./chunk-ZVW7EWTC.mjs";
|
|
40
40
|
import {
|
|
41
41
|
createCliProgress
|
|
42
|
-
} from "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
42
|
+
} from "./chunk-E5ILCMKQ.mjs";
|
|
43
|
+
import "./chunk-VFHIYWMC.mjs";
|
|
44
|
+
import "./chunk-4NIGNT7X.mjs";
|
|
45
|
+
import "./chunk-TNQOR6XQ.mjs";
|
|
46
46
|
import "./chunk-4QF2K7TM.mjs";
|
|
47
47
|
import "./chunk-DLIRSHV6.mjs";
|
|
48
48
|
import "./chunk-HBL4PM5Q.mjs";
|
|
49
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-KKSKYZO4.mjs";
|
|
50
50
|
import "./chunk-WZYKRD7T.mjs";
|
|
51
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-5JPKRDFC.mjs";
|
|
52
52
|
import "./chunk-KRD6H754.mjs";
|
|
53
53
|
|
|
54
54
|
// src/cli/commands/run.ts
|
|
@@ -116,7 +116,7 @@ async function runAnything(name, options) {
|
|
|
116
116
|
throw new Error("--max-credits takes a number of credits above 0.");
|
|
117
117
|
}
|
|
118
118
|
if (options.timeout !== void 0 && options.timeout !== "0") {
|
|
119
|
-
const { parseToolExecuteTimeout } = await import("./tools-
|
|
119
|
+
const { parseToolExecuteTimeout } = await import("./tools-YECI6N3N.mjs");
|
|
120
120
|
timeoutMs = parseToolExecuteTimeout(options.timeout);
|
|
121
121
|
}
|
|
122
122
|
} catch (error) {
|
|
@@ -137,7 +137,7 @@ async function runAnything(name, options) {
|
|
|
137
137
|
if (name !== void 0) {
|
|
138
138
|
return refuse("Use a name or -e, not both.", output);
|
|
139
139
|
}
|
|
140
|
-
const { writeInlinePlay } = await import("./play-
|
|
140
|
+
const { writeInlinePlay } = await import("./play-LXFWHUBP.mjs");
|
|
141
141
|
let file;
|
|
142
142
|
try {
|
|
143
143
|
file = writeInlinePlay(options.eval);
|
|
@@ -197,7 +197,7 @@ async function runAnything(name, options) {
|
|
|
197
197
|
if (runner.via === "play") {
|
|
198
198
|
return runPlay(runner.reference, { ...play, revision });
|
|
199
199
|
}
|
|
200
|
-
const { executeToolForReceipt } = await import("./tools-
|
|
200
|
+
const { executeToolForReceipt } = await import("./tools-YECI6N3N.mjs");
|
|
201
201
|
return executeToolForReceipt({
|
|
202
202
|
toolId: runner.toolId,
|
|
203
203
|
params: input,
|
|
@@ -228,7 +228,7 @@ function dryRun(described, input, output) {
|
|
|
228
228
|
return missing.length ? 2 : 0;
|
|
229
229
|
}
|
|
230
230
|
async function runPlay(reference, play) {
|
|
231
|
-
const { handlePlayRun, writePlayRunReceipt } = await import("./play-
|
|
231
|
+
const { handlePlayRun, writePlayRunReceipt } = await import("./play-LXFWHUBP.mjs");
|
|
232
232
|
const { output, options, revision } = play;
|
|
233
233
|
if (options.dryRun) {
|
|
234
234
|
return handlePlayRun(
|
|
@@ -277,12 +277,13 @@ async function runPlay(reference, play) {
|
|
|
277
277
|
output
|
|
278
278
|
);
|
|
279
279
|
},
|
|
280
|
-
writeStarted: (runId, status) => {
|
|
280
|
+
writeStarted: (runId, status, page) => {
|
|
281
281
|
written = true;
|
|
282
282
|
writeExecutionOutput(
|
|
283
283
|
{
|
|
284
284
|
id: runId,
|
|
285
285
|
status,
|
|
286
|
+
...page ? { page } : {},
|
|
286
287
|
next: {
|
|
287
288
|
status: `deepline runs get ${runId}`,
|
|
288
289
|
export: `deepline runs export ${runId}`
|
|
@@ -1,54 +1,54 @@
|
|
|
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 _chunkXQX476QKjs = require('./chunk-XQX476QK.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
9
|
-
require('./chunk-
|
|
8
|
+
var _chunkQTPS5RLGjs = require('./chunk-QTPS5RLG.js');
|
|
9
|
+
require('./chunk-7HABWOMB.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
15
|
-
require('./chunk-
|
|
14
|
+
var _chunkUCMY2SO2js = require('./chunk-UCMY2SO2.js');
|
|
15
|
+
require('./chunk-WCZFCOMZ.js');
|
|
16
16
|
require('./chunk-D3BCSAN7.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
20
|
-
require('./chunk-
|
|
21
|
-
require('./chunk-
|
|
19
|
+
var _chunkC2MRDPA5js = require('./chunk-C2MRDPA5.js');
|
|
20
|
+
require('./chunk-TIFRRLZT.js');
|
|
21
|
+
require('./chunk-JO5FFSR7.js');
|
|
22
22
|
require('./chunk-AID3OYVJ.js');
|
|
23
23
|
require('./chunk-XK5DMLZE.js');
|
|
24
24
|
require('./chunk-VLEVVDWG.js');
|
|
25
25
|
require('./chunk-J33TSWO5.js');
|
|
26
26
|
require('./chunk-HGFFYVXN.js');
|
|
27
|
-
require('./chunk-
|
|
27
|
+
require('./chunk-2H4OFVR5.js');
|
|
28
28
|
require('./chunk-NPZBE64X.js');
|
|
29
|
-
require('./chunk-
|
|
29
|
+
require('./chunk-HTUSTPP4.js');
|
|
30
30
|
require('./chunk-E4CABWXL.js');
|
|
31
|
-
require('./chunk-
|
|
31
|
+
require('./chunk-PKV5CD3W.js');
|
|
32
32
|
require('./chunk-NMU3VR5U.js');
|
|
33
33
|
require('./chunk-XDVT3GOM.js');
|
|
34
|
-
require('./chunk-
|
|
35
|
-
require('./chunk-
|
|
36
|
-
require('./chunk-
|
|
37
|
-
require('./chunk-
|
|
38
|
-
require('./chunk-
|
|
39
|
-
require('./chunk-
|
|
34
|
+
require('./chunk-LGTZYI5B.js');
|
|
35
|
+
require('./chunk-IOMEJKGK.js');
|
|
36
|
+
require('./chunk-IOBPR2VO.js');
|
|
37
|
+
require('./chunk-XLE7KXE7.js');
|
|
38
|
+
require('./chunk-EYG336YV.js');
|
|
39
|
+
require('./chunk-KCDZWS2B.js');
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
var
|
|
43
|
-
require('./chunk-
|
|
44
|
-
require('./chunk-
|
|
45
|
-
require('./chunk-
|
|
42
|
+
var _chunkAWMCZAURjs = require('./chunk-AWMCZAUR.js');
|
|
43
|
+
require('./chunk-2I7VN65H.js');
|
|
44
|
+
require('./chunk-JO2JZUBR.js');
|
|
45
|
+
require('./chunk-NWIDPT7H.js');
|
|
46
46
|
require('./chunk-ALJJRZNJ.js');
|
|
47
47
|
require('./chunk-XNYIZMNQ.js');
|
|
48
48
|
require('./chunk-DIAWYWT5.js');
|
|
49
|
-
require('./chunk-
|
|
49
|
+
require('./chunk-EFO5GVYS.js');
|
|
50
50
|
require('./chunk-OG64RBAC.js');
|
|
51
|
-
require('./chunk-
|
|
51
|
+
require('./chunk-RLX5ZFNX.js');
|
|
52
52
|
require('./chunk-COGTRVWW.js');
|
|
53
53
|
|
|
54
54
|
// src/cli/commands/run.ts
|
|
@@ -82,7 +82,7 @@ function readInput(options) {
|
|
|
82
82
|
return input;
|
|
83
83
|
}
|
|
84
84
|
function refuse(message, output) {
|
|
85
|
-
|
|
85
|
+
_chunkUCMY2SO2js.writeExecutionOutput.call(void 0,
|
|
86
86
|
{ id: null, status: "failed", error: { message }, ran: false },
|
|
87
87
|
output
|
|
88
88
|
);
|
|
@@ -98,7 +98,7 @@ async function runAnything(name, options) {
|
|
|
98
98
|
logsOut: options.logsOut,
|
|
99
99
|
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)])
|
|
100
100
|
};
|
|
101
|
-
if (!
|
|
101
|
+
if (!_chunkUCMY2SO2js.preflightExecutionOutput.call(void 0, output)) return 2;
|
|
102
102
|
let input;
|
|
103
103
|
let timeoutMs;
|
|
104
104
|
try {
|
|
@@ -116,7 +116,7 @@ async function runAnything(name, options) {
|
|
|
116
116
|
throw new Error("--max-credits takes a number of credits above 0.");
|
|
117
117
|
}
|
|
118
118
|
if (options.timeout !== void 0 && options.timeout !== "0") {
|
|
119
|
-
const { parseToolExecuteTimeout } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-
|
|
119
|
+
const { parseToolExecuteTimeout } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-65Y4QTW6.js")));
|
|
120
120
|
timeoutMs = parseToolExecuteTimeout(options.timeout);
|
|
121
121
|
}
|
|
122
122
|
} catch (error) {
|
|
@@ -137,7 +137,7 @@ async function runAnything(name, options) {
|
|
|
137
137
|
if (name !== void 0) {
|
|
138
138
|
return refuse("Use a name or -e, not both.", output);
|
|
139
139
|
}
|
|
140
|
-
const { writeInlinePlay } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
140
|
+
const { writeInlinePlay } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-OTJJ4E4T.js")));
|
|
141
141
|
let file;
|
|
142
142
|
try {
|
|
143
143
|
file = writeInlinePlay(options.eval);
|
|
@@ -160,23 +160,23 @@ async function runAnything(name, options) {
|
|
|
160
160
|
output
|
|
161
161
|
);
|
|
162
162
|
}
|
|
163
|
-
if (
|
|
163
|
+
if (_chunkXQX476QKjs.looksLikeFilePath.call(void 0, name)) {
|
|
164
164
|
output.label = `${name} (play file)`;
|
|
165
165
|
return runPlay(name, play);
|
|
166
166
|
}
|
|
167
167
|
let { base, revision } = splitRevision(name);
|
|
168
|
-
let found = await
|
|
168
|
+
let found = await _chunkQTPS5RLGjs.findNamed.call(void 0, base, {});
|
|
169
169
|
if (!found.chosen && revision) {
|
|
170
|
-
found = await
|
|
170
|
+
found = await _chunkQTPS5RLGjs.findNamed.call(void 0, name, {});
|
|
171
171
|
if (found.chosen)
|
|
172
172
|
({ base, revision } = { base: name, revision: void 0 });
|
|
173
173
|
}
|
|
174
174
|
const { chosen, shadowed } = found;
|
|
175
|
-
if (!chosen) return refuse(
|
|
175
|
+
if (!chosen) return refuse(_chunkQTPS5RLGjs.nothingNamed.call(void 0, base), output);
|
|
176
176
|
const { described } = chosen;
|
|
177
177
|
if (described.kind === "custom_play" && shadowed) {
|
|
178
178
|
console.error(
|
|
179
|
-
`Running your workspace play "${base}". It has the same name as a Deepline ${shadowed.described.kind.replace("_", " ")}; run that one with: deepline run ${
|
|
179
|
+
`Running your workspace play "${base}". It has the same name as a Deepline ${shadowed.described.kind.replace("_", " ")}; run that one with: deepline run ${_chunkC2MRDPA5js.DEEPLINE_NAMESPACE}${base}`
|
|
180
180
|
);
|
|
181
181
|
}
|
|
182
182
|
const { runner } = described;
|
|
@@ -197,7 +197,7 @@ async function runAnything(name, options) {
|
|
|
197
197
|
if (runner.via === "play") {
|
|
198
198
|
return runPlay(runner.reference, { ...play, revision });
|
|
199
199
|
}
|
|
200
|
-
const { executeToolForReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-
|
|
200
|
+
const { executeToolForReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-65Y4QTW6.js")));
|
|
201
201
|
return executeToolForReceipt({
|
|
202
202
|
toolId: runner.toolId,
|
|
203
203
|
params: input,
|
|
@@ -211,7 +211,7 @@ function dryRun(described, input, output) {
|
|
|
211
211
|
const missing = described.inputs.filter((field) => field.required && !(field.name in input)).map((field) => field.name);
|
|
212
212
|
const known = new Set(described.inputs.map((field) => field.name));
|
|
213
213
|
const unknown = known.size ? Object.keys(input).filter((key) => !known.has(key)) : [];
|
|
214
|
-
|
|
214
|
+
_chunkUCMY2SO2js.writeExecutionOutput.call(void 0,
|
|
215
215
|
{
|
|
216
216
|
id: null,
|
|
217
217
|
status: "dry_run",
|
|
@@ -228,11 +228,11 @@ function dryRun(described, input, output) {
|
|
|
228
228
|
return missing.length ? 2 : 0;
|
|
229
229
|
}
|
|
230
230
|
async function runPlay(reference, play) {
|
|
231
|
-
const { handlePlayRun, writePlayRunReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
231
|
+
const { handlePlayRun, writePlayRunReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-OTJJ4E4T.js")));
|
|
232
232
|
const { output, options, revision } = play;
|
|
233
233
|
if (options.dryRun) {
|
|
234
234
|
return handlePlayRun(
|
|
235
|
-
|
|
235
|
+
_chunkXQX476QKjs.resolvePlayRunCliOptions.call(void 0, reference, {
|
|
236
236
|
input: JSON.stringify(play.input),
|
|
237
237
|
dryRun: true,
|
|
238
238
|
json: output.receiptJson === true
|
|
@@ -241,12 +241,12 @@ async function runPlay(reference, play) {
|
|
|
241
241
|
}
|
|
242
242
|
let id = null;
|
|
243
243
|
let written = false;
|
|
244
|
-
const progress =
|
|
245
|
-
if (!play.noWait) progress.setLogWriter(
|
|
244
|
+
const progress = _chunkAWMCZAURjs.createCliProgress.call(void 0, true);
|
|
245
|
+
if (!play.noWait) progress.setLogWriter(_chunkUCMY2SO2js.openLogDestination.call(void 0, output));
|
|
246
246
|
progress.setQuiet(process.stderr.isTTY !== true);
|
|
247
247
|
try {
|
|
248
248
|
const code = await handlePlayRun(
|
|
249
|
-
|
|
249
|
+
_chunkXQX476QKjs.resolvePlayRunCliOptions.call(void 0, reference, {
|
|
250
250
|
input: JSON.stringify(play.input),
|
|
251
251
|
// The receipt is the only thing on stdout.
|
|
252
252
|
json: true,
|
|
@@ -277,12 +277,13 @@ async function runPlay(reference, play) {
|
|
|
277
277
|
output
|
|
278
278
|
);
|
|
279
279
|
},
|
|
280
|
-
writeStarted: (runId, status) => {
|
|
280
|
+
writeStarted: (runId, status, page) => {
|
|
281
281
|
written = true;
|
|
282
|
-
|
|
282
|
+
_chunkUCMY2SO2js.writeExecutionOutput.call(void 0,
|
|
283
283
|
{
|
|
284
284
|
id: runId,
|
|
285
285
|
status,
|
|
286
|
+
...page ? { page } : {},
|
|
286
287
|
next: {
|
|
287
288
|
status: `deepline runs get ${runId}`,
|
|
288
289
|
export: `deepline runs export ${runId}`
|
|
@@ -294,7 +295,7 @@ async function runPlay(reference, play) {
|
|
|
294
295
|
}
|
|
295
296
|
);
|
|
296
297
|
if (!written) {
|
|
297
|
-
|
|
298
|
+
_chunkUCMY2SO2js.writeExecutionOutput.call(void 0,
|
|
298
299
|
{
|
|
299
300
|
id,
|
|
300
301
|
status: "failed",
|
|
@@ -306,7 +307,7 @@ async function runPlay(reference, play) {
|
|
|
306
307
|
return code;
|
|
307
308
|
} catch (error) {
|
|
308
309
|
if (written) throw error;
|
|
309
|
-
|
|
310
|
+
_chunkUCMY2SO2js.writeExecutionOutput.call(void 0,
|
|
310
311
|
{
|
|
311
312
|
id,
|
|
312
313
|
status: "failed",
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkWCZFCOMZjs = require('./chunk-WCZFCOMZ.js');
|
|
9
|
+
require('./chunk-D3BCSAN7.js');
|
|
10
|
+
require('./chunk-2H4OFVR5.js');
|
|
11
|
+
require('./chunk-HTUSTPP4.js');
|
|
12
|
+
require('./chunk-E4CABWXL.js');
|
|
13
|
+
require('./chunk-PKV5CD3W.js');
|
|
14
|
+
require('./chunk-NMU3VR5U.js');
|
|
15
|
+
require('./chunk-XDVT3GOM.js');
|
|
16
|
+
require('./chunk-2I7VN65H.js');
|
|
17
|
+
require('./chunk-JO2JZUBR.js');
|
|
18
|
+
require('./chunk-NWIDPT7H.js');
|
|
19
|
+
require('./chunk-ALJJRZNJ.js');
|
|
20
|
+
require('./chunk-XNYIZMNQ.js');
|
|
21
|
+
require('./chunk-DIAWYWT5.js');
|
|
22
|
+
require('./chunk-EFO5GVYS.js');
|
|
23
|
+
require('./chunk-OG64RBAC.js');
|
|
24
|
+
require('./chunk-COGTRVWW.js');
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
exports.SEARCH_TYPES = _chunkWCZFCOMZjs.SEARCH_TYPES; exports.appendCsv = _chunkWCZFCOMZjs.appendCsv; exports.parseTypes = _chunkWCZFCOMZjs.parseTypes; exports.pointAtDescribe = _chunkWCZFCOMZjs.pointAtDescribe; exports.registerDeprecatedSearchCommand = _chunkWCZFCOMZjs.registerDeprecatedSearchCommand; exports.registerSearchCommand = _chunkWCZFCOMZjs.registerSearchCommand;
|
|
@@ -5,21 +5,21 @@ import {
|
|
|
5
5
|
pointAtDescribe,
|
|
6
6
|
registerDeprecatedSearchCommand,
|
|
7
7
|
registerSearchCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3QGUWB6E.mjs";
|
|
9
9
|
import "./chunk-5AEDYVB6.mjs";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-GSC35TPZ.mjs";
|
|
11
|
+
import "./chunk-WTFI7BVH.mjs";
|
|
12
12
|
import "./chunk-L2VKAASU.mjs";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-DVQHG6AM.mjs";
|
|
14
14
|
import "./chunk-S3A4IXBQ.mjs";
|
|
15
15
|
import "./chunk-UBKA33KY.mjs";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-VFHIYWMC.mjs";
|
|
17
|
+
import "./chunk-4NIGNT7X.mjs";
|
|
18
|
+
import "./chunk-TNQOR6XQ.mjs";
|
|
19
19
|
import "./chunk-4QF2K7TM.mjs";
|
|
20
20
|
import "./chunk-DLIRSHV6.mjs";
|
|
21
21
|
import "./chunk-HBL4PM5Q.mjs";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-KKSKYZO4.mjs";
|
|
23
23
|
import "./chunk-WZYKRD7T.mjs";
|
|
24
24
|
import "./chunk-KRD6H754.mjs";
|
|
25
25
|
export {
|
|
@@ -6,13 +6,13 @@ var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
|
|
|
6
6
|
var _chunkXK5DMLZEjs = require('./chunk-XK5DMLZE.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
10
|
-
require('./chunk-
|
|
11
|
-
require('./chunk-
|
|
9
|
+
var _chunk2I7VN65Hjs = require('./chunk-2I7VN65H.js');
|
|
10
|
+
require('./chunk-JO2JZUBR.js');
|
|
11
|
+
require('./chunk-NWIDPT7H.js');
|
|
12
12
|
require('./chunk-ALJJRZNJ.js');
|
|
13
13
|
require('./chunk-XNYIZMNQ.js');
|
|
14
14
|
require('./chunk-DIAWYWT5.js');
|
|
15
|
-
require('./chunk-
|
|
15
|
+
require('./chunk-EFO5GVYS.js');
|
|
16
16
|
require('./chunk-OG64RBAC.js');
|
|
17
17
|
|
|
18
18
|
|
|
@@ -5840,6 +5840,8 @@ function searchRow(item, summaryWidth) {
|
|
|
5840
5840
|
// Production share of errored or rate-limited calls; absent when too few
|
|
5841
5841
|
// calls or orgs used the tool to say.
|
|
5842
5842
|
failureRate: failureRateDisplay(item.failureRate),
|
|
5843
|
+
// Production share of calls that returned a result; same floor.
|
|
5844
|
+
hitRate: failureRateDisplay(item.hitRate),
|
|
5843
5845
|
// Production p95 latency of successful calls; absent for the same reason.
|
|
5844
5846
|
p95: latencyDisplay(item.latencyP95Ms),
|
|
5845
5847
|
summary: clipSummary(_nullishCoalesce(item.description, () => ( "")), summaryWidth),
|
|
@@ -5850,11 +5852,12 @@ var SEARCH_KIND_COLUMN_ENABLED = false;
|
|
|
5850
5852
|
var OPTIONAL_COLUMNS = [
|
|
5851
5853
|
{ header: "RATE LIMIT", key: "rateLimit" },
|
|
5852
5854
|
{ header: "FAILURES", key: "failureRate" },
|
|
5855
|
+
{ header: "HIT RATE", key: "hitRate" },
|
|
5853
5856
|
{ header: "P95", key: "p95" }
|
|
5854
5857
|
];
|
|
5855
5858
|
function renderSearchResults(result, summaryWidth = _chunkD3BCSAN7js.DEFAULT_SUMMARY_WIDTH) {
|
|
5856
5859
|
if (result.results.length === 0)
|
|
5857
|
-
return
|
|
5860
|
+
return _chunk2I7VN65Hjs.renderCommandEnvelopeText.call(void 0, result);
|
|
5858
5861
|
const rows = result.results.map((item) => searchRow(item, summaryWidth));
|
|
5859
5862
|
const kinds = new Set(rows.map((row) => row.kind));
|
|
5860
5863
|
const onlyTools = kinds.size === 1 && kinds.has("tool");
|
|
@@ -5879,7 +5882,7 @@ function renderSearchResults(result, summaryWidth = _chunkD3BCSAN7js.DEFAULT_SUM
|
|
|
5879
5882
|
actions: _optionalChain([render, 'optionalAccess', _16 => _16.actions])
|
|
5880
5883
|
};
|
|
5881
5884
|
const followUps = _optionalChain([remaining, 'access', _17 => _17.sections, 'optionalAccess', _18 => _18.length]) || _optionalChain([remaining, 'access', _19 => _19.actions, 'optionalAccess', _20 => _20.length]) ? `
|
|
5882
|
-
${
|
|
5885
|
+
${_chunk2I7VN65Hjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
|
|
5883
5886
|
const notes = rows.flatMap(
|
|
5884
5887
|
(row) => row.notes.map((note) => ` ${row.id}: ${note}`)
|
|
5885
5888
|
);
|