deepline 0.3.537 → 0.3.539
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 +22 -5
- package/dist/bundling-sources/sdk/src/index.ts +2 -0
- package/dist/bundling-sources/sdk/src/plays/client-core.ts +18 -1
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/runs/watch-polling.ts +33 -4
- package/dist/bundling-sources/shared_libs/integration-contracts/billing-entitlements.ts +1 -1
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
- package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +9 -1
- package/dist/bundling-sources/shared_libs/play-runtime/baked-runner-image.ts +392 -0
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +717 -133
- package/dist/bundling-sources/shared_libs/play-runtime/coordinator-headers.ts +7 -0
- package/dist/bundling-sources/shared_libs/play-runtime/daytona-payload-contract.ts +22 -1
- package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +123 -0
- package/dist/bundling-sources/shared_libs/play-runtime/experiment-switches.ts +480 -0
- package/dist/bundling-sources/shared_libs/play-runtime/fixture-egress-fetch.ts +24 -16
- package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +293 -53
- package/dist/bundling-sources/shared_libs/play-runtime/governor/block-reserving-budget-state-backend.ts +57 -2
- package/dist/bundling-sources/shared_libs/play-runtime/governor/budget-state-backend.ts +43 -0
- package/dist/bundling-sources/shared_libs/play-runtime/governor/governor.ts +141 -9
- package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +4 -0
- package/dist/bundling-sources/shared_libs/play-runtime/modal-runtime-config.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/modal-supervisor-sidecar.ts +556 -0
- package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +27 -0
- package/dist/bundling-sources/shared_libs/play-runtime/resource-governor.ts +19 -0
- package/dist/bundling-sources/shared_libs/play-runtime/run-ledger.ts +54 -0
- package/dist/bundling-sources/shared_libs/play-runtime/run-snapshot-stream.ts +5 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +155 -7
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/relay-connection-counter.ts +103 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-heartbeat.ts +75 -6
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-terminal-push.ts +59 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +544 -73
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-runtime-watchdog.ts +8 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/detached-runner-readiness-pacing.ts +19 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +2399 -110
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-flow.ts +42 -8
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-read-through.ts +287 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-receipt-finish.ts +606 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-receipt-writer.ts +274 -119
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-speed-profile.ts +136 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-traffic-policy.ts +54 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-work-counters.ts +10 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +22 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-play-run-task.ts +18 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-pool.ts +18 -4
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +219 -7
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-shared.ts +3 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/early-sandbox-claim-affinity.ts +340 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/play-run-recovery.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-progress.ts +10 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +623 -7
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +340 -5
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runner-push.ts +61 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +2 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-ledger-reconciliation.ts +269 -2
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-worker-wake.ts +238 -5
- package/dist/bundling-sources/shared_libs/play-runtime/startup-read-tool-ids.ts +47 -0
- package/dist/bundling-sources/shared_libs/play-runtime/tool-call/runtime-step-receipts-adapter.ts +5 -4
- package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +6 -0
- package/dist/bundling-sources/shared_libs/play-runtime/transient-service-error.ts +11 -0
- package/dist/cli/auth-O5Y2VYXK.js +43 -0
- package/dist/cli/{auth-4SUPGDIM.mjs → auth-QD7QGD3B.mjs} +5 -5
- package/dist/cli/{billing-5JUA3ZM3.mjs → billing-FIZXMHBW.mjs} +31 -7
- package/dist/cli/{billing-SQU726P7.js → billing-KOQAF6WS.js} +114 -90
- package/dist/cli/{chunk-R7JYG6XO.mjs → chunk-2XMFT44N.mjs} +1 -1
- package/dist/cli/{chunk-XDS26J7Z.js → chunk-3YDI2PTN.js} +10 -10
- package/dist/cli/{chunk-KH27B2HJ.mjs → chunk-55ITVU2V.mjs} +2 -2
- package/dist/cli/{chunk-2Q7VXTMS.js → chunk-5QL4GJB2.js} +2 -2
- package/dist/cli/{chunk-D77W6Q67.js → chunk-5RUB53KG.js} +26 -26
- package/dist/cli/{chunk-JS2SBCWD.js → chunk-5YF35HAV.js} +6 -6
- package/dist/cli/{chunk-C37VELBR.mjs → chunk-6KG4KVTH.mjs} +5 -5
- package/dist/cli/{chunk-AX2OAXDL.mjs → chunk-6NZBLFL4.mjs} +1 -1
- package/dist/cli/{chunk-C3XD2WHM.mjs → chunk-6V3LNYK5.mjs} +2 -2
- package/dist/cli/{chunk-GPMS6OPX.mjs → chunk-ADV2IB2C.mjs} +5 -5
- package/dist/cli/{chunk-ZUAMXZXC.mjs → chunk-APKZGUTU.mjs} +4 -4
- package/dist/cli/{chunk-IQOIT6E3.js → chunk-CQJCLHBE.js} +41 -41
- package/dist/cli/{chunk-W3J3LT22.mjs → chunk-DZFVVP3S.mjs} +5 -5
- package/dist/cli/{chunk-V5IIBG2E.mjs → chunk-E4QHTDPF.mjs} +1 -1
- package/dist/cli/{chunk-CXTW7SRW.mjs → chunk-E7D37PLM.mjs} +8 -0
- package/dist/cli/{chunk-KULT6O5K.js → chunk-EAZS52DL.js} +15 -15
- package/dist/cli/{chunk-L3JVGNAT.mjs → chunk-F43MXIN3.mjs} +2 -2
- package/dist/cli/{chunk-WBTYWJLN.js → chunk-FH3P3E4S.js} +2 -2
- package/dist/cli/{chunk-K4WJ4BYO.mjs → chunk-FIRV7BXJ.mjs} +1 -1
- package/dist/cli/{chunk-NXGLJGPB.js → chunk-FSQCB5SJ.js} +2 -2
- package/dist/cli/{chunk-AVQET3NR.js → chunk-FTBWFDF3.js} +7 -7
- package/dist/cli/{chunk-QDBGPRR2.mjs → chunk-G3UFDUYU.mjs} +3 -1
- package/dist/cli/{chunk-ZHPSJ3LJ.mjs → chunk-GEO2EMM7.mjs} +29 -16
- package/dist/cli/{chunk-CGDW2CRR.mjs → chunk-GLEGINSP.mjs} +2 -2
- package/dist/cli/{chunk-EEFSUCYP.mjs → chunk-GLKUC5PO.mjs} +2 -2
- package/dist/cli/{chunk-BFHR7IC2.mjs → chunk-GNCIMHO2.mjs} +10 -10
- package/dist/cli/{chunk-PU42VOBI.js → chunk-ISXX5DUD.js} +3 -3
- package/dist/cli/{chunk-Y6AMMXWS.mjs → chunk-JBCQFG7G.mjs} +3 -3
- package/dist/cli/{chunk-Z2PPB3IO.mjs → chunk-JHEZQMOM.mjs} +1 -1
- package/dist/cli/{chunk-WBFOV5HT.js → chunk-K22EKW6L.js} +5 -5
- package/dist/cli/{chunk-CHIGEDAE.js → chunk-K5MZHTK7.js} +3 -3
- package/dist/cli/{chunk-L6QAIZNZ.js → chunk-KAEVL62Q.js} +44 -44
- package/dist/cli/{chunk-PJ4ZGZAN.js → chunk-KQTX545E.js} +13 -13
- package/dist/cli/{chunk-VP2K5B3R.mjs → chunk-LE5KN7CZ.mjs} +3 -3
- package/dist/cli/{chunk-BGXEMTIG.js → chunk-LEREPTAE.js} +19 -19
- package/dist/cli/{chunk-QPDLG7DQ.js → chunk-MI53W4DN.js} +53 -53
- package/dist/cli/{chunk-RMVZTBI5.mjs → chunk-MKESK3SW.mjs} +4 -4
- package/dist/cli/{chunk-NU7B5X6J.mjs → chunk-N3LPGGWD.mjs} +1 -1
- package/dist/cli/{chunk-VRYX2BR4.js → chunk-NR5PLMNG.js} +107 -107
- package/dist/cli/{chunk-JMHYDDBQ.js → chunk-Q4HNK7JX.js} +292 -279
- package/dist/cli/{chunk-37AZHCTP.mjs → chunk-RULRGMMM.mjs} +5 -5
- package/dist/cli/{chunk-GI3V4D7K.mjs → chunk-SDAP5MCO.mjs} +2 -2
- package/dist/cli/{chunk-5EOEJKSV.js → chunk-TZBCJHV6.js} +1 -1
- package/dist/cli/{chunk-3PMCQ3LK.js → chunk-V7DEGIYO.js} +7 -5
- package/dist/cli/{chunk-ALHKB3AE.js → chunk-VK5UTS5B.js} +9 -9
- package/dist/cli/{chunk-ZFSB7GXF.js → chunk-W32KT6LM.js} +5 -5
- package/dist/cli/{chunk-6BBGUQJJ.js → chunk-XTYHZEJ2.js} +8 -0
- package/dist/cli/{chunk-UGA5KI4A.js → chunk-XZBXQCRJ.js} +22 -22
- package/dist/cli/{chunk-BRRCWUOW.mjs → chunk-Y66ZMOJI.mjs} +1 -1
- package/dist/cli/{chunk-CFND2ACL.js → chunk-YMQFQO3K.js} +16 -16
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-JITYN27L.js → csv-BWWJYV2C.js} +13 -13
- package/dist/cli/{csv-HZP6QMG7.mjs → csv-G5RQQ74W.mjs} +4 -4
- package/dist/cli/{db-FYSRB7O4.js → db-5KNDLADE.js} +27 -27
- package/dist/cli/{db-QRIRTOMM.mjs → db-AJZHWB3V.mjs} +6 -6
- package/dist/cli/describe-B6CN6CFJ.js +49 -0
- package/dist/cli/{describe-REXJVJC3.mjs → describe-QY5TKWVD.mjs} +17 -17
- package/dist/cli/describe-core.d.mts +3 -3
- package/dist/cli/describe-core.d.ts +3 -3
- package/dist/cli/{executions-BSTF4DDS.js → executions-BCCW76BI.js} +8 -8
- package/dist/cli/{executions-53KJAFOW.mjs → executions-SJPH3MZT.mjs} +6 -6
- package/dist/cli/{feedback-6MW3QOXX.js → feedback-GF65JKK6.js} +14 -14
- package/dist/cli/{feedback-CWUJJF3J.mjs → feedback-S6SZOFGK.mjs} +6 -6
- package/dist/cli/git-DX6NB7VF.js +25 -0
- package/dist/cli/{git-CKVZTJFS.mjs → git-F5FT5YVB.mjs} +5 -5
- package/dist/cli/index.js +143 -143
- package/dist/cli/index.mjs +42 -42
- package/dist/cli/{legacy-noops-QBL4PNGB.js → legacy-noops-ECR6FS6U.js} +9 -9
- package/dist/cli/{legacy-noops-USTBRFRX.mjs → legacy-noops-NOA4P5NE.mjs} +6 -6
- package/dist/cli/{monitors-6UCG5D7W.mjs → monitors-CTYSAGP4.mjs} +7 -7
- package/dist/cli/{monitors-VCR6SUZD.js → monitors-DEWBSURN.js} +100 -100
- package/dist/cli/{org-GSRBOJVO.mjs → org-EKSKKT7H.mjs} +6 -6
- package/dist/cli/{org-HPILTEG4.js → org-ZM2UUMZZ.js} +86 -86
- package/dist/cli/{play-TK7WOP5H.js → play-6JQOM6DE.js} +317 -317
- package/dist/cli/{play-QRTYQNG4.mjs → play-R2BH374J.mjs} +17 -17
- package/dist/cli/{providers-HEXNJ5QC.js → providers-CMIYHEMN.js} +9 -9
- package/dist/cli/{providers-OAQJWVBS.mjs → providers-X7WMIWO4.mjs} +6 -6
- package/dist/cli/{quickstart-PYZTFXZX.js → quickstart-6HVPAMSW.js} +6 -6
- package/dist/cli/{quickstart-FFVHTPSP.mjs → quickstart-ZZ7L6VZJ.mjs} +4 -4
- package/dist/cli/{run-HLN6YYZH.mjs → run-FP32RKBU.mjs} +22 -22
- package/dist/cli/{run-4DWJXJRO.js → run-OOHYH3GI.js} +42 -42
- package/dist/cli/search-34C6LFOJ.js +32 -0
- package/dist/cli/{search-ZHRCXGEL.mjs → search-BDDNC23Z.mjs} +7 -7
- package/dist/cli/{search-output-2KY6PFDH.js → search-output-5VZIQQAM.js} +6 -6
- package/dist/cli/{search-output-N7QXACVK.mjs → search-output-QXJ6CV5G.mjs} +4 -4
- package/dist/cli/{secrets-WXQ7XO5C.js → secrets-EN2HQCO3.js} +15 -15
- package/dist/cli/{secrets-FKMWBLHU.mjs → secrets-Z7CQSQGC.mjs} +6 -6
- package/dist/cli/{sessions-3YDTEDA5.mjs → sessions-I2H37OTJ.mjs} +6 -6
- package/dist/cli/sessions-RYQX3NDD.js +22 -0
- package/dist/cli/{settings-67TWLQ6E.js → settings-CTRAPFNZ.js} +85 -85
- package/dist/cli/{settings-JTPASUZN.mjs → settings-IYSC5PPQ.mjs} +12 -12
- package/dist/cli/{setup-VYNGXUJ6.mjs → setup-PU3HOVI3.mjs} +9 -9
- package/dist/cli/{setup-KUERQJUX.js → setup-XIN53GEW.js} +49 -49
- package/dist/cli/skills-576CX7DK.js +36 -0
- package/dist/cli/{skills-KI4KYHH6.mjs → skills-TYBML2ZO.mjs} +7 -7
- package/dist/cli/tools-EXMUWA3Z.js +56 -0
- package/dist/cli/{tools-UQDJS2RS.mjs → tools-ZVNE6M6J.mjs} +16 -16
- package/dist/cli/{update-7FQQUBOD.mjs → update-54WENBNT.mjs} +9 -9
- package/dist/cli/update-RAHETNL2.js +34 -0
- package/dist/cli/{views-MJK7JGZG.js → views-7L75EZOJ.js} +21 -21
- package/dist/cli/{views-JAM4MNNV.mjs → views-EUBB4ONT.mjs} +6 -6
- package/dist/cli/{workflow-AQPRIWQX.js → workflow-EZVYCR6Y.js} +17 -17
- package/dist/cli/{workflow-TQRV5FGO.mjs → workflow-GUKGFJ72.mjs} +7 -7
- package/dist/{client-BlLYQDNo.d.mts → client-D0uDBybG.d.mts} +1 -1
- package/dist/{client-DSQlkIDO.d.ts → client-DZTnAv4B.d.ts} +1 -1
- package/dist/{client-core-rX7n2H8U.d.mts → client-core-BhWf8Y1b.d.mts} +15 -2
- package/dist/{client-core-CDwapXy5.d.ts → client-core-og3AP1LL.d.ts} +15 -2
- package/dist/{compiler-manifest-BHNC4RL-.d.ts → compiler-manifest-Bes3OVA3.d.mts} +1 -1
- package/dist/{compiler-manifest-BHNC4RL-.d.mts → compiler-manifest-Bes3OVA3.d.ts} +1 -1
- package/dist/{errors-lhtIWG5Z.d.ts → errors-BJm4lLWc.d.ts} +1 -1
- package/dist/{errors-D7sPXrvB.d.mts → errors-Dc5r42ks.d.mts} +1 -1
- package/dist/{index-CQTBHXHr.d.ts → index-BfV7mRPF.d.ts} +1 -1
- package/dist/{index-NaDZq2xf.d.mts → index-DTkiz_Ur.d.mts} +1 -1
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +121 -112
- package/dist/plays/bundle-play-file.d.mts +3 -3
- package/dist/plays/bundle-play-file.d.ts +3 -3
- package/dist/plays/play-description.d.mts +2 -2
- package/dist/plays/play-description.d.ts +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/dist/server.d.mts +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/server.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-Y2K2ZYYA.js +0 -43
- package/dist/cli/describe-LSOHOLFI.js +0 -49
- package/dist/cli/git-S7SWUZ3T.js +0 -25
- package/dist/cli/search-WERQBC6V.js +0 -32
- package/dist/cli/sessions-LXQ4Q6BS.js +0 -22
- package/dist/cli/skills-EFRLHY3F.js +0 -36
- package/dist/cli/tools-C3EIGFFP.js +0 -56
- package/dist/cli/update-KCY72RXH.js +0 -34
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
var _chunkAID3OYVJjs = require('./chunk-AID3OYVJ.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkW32KT6LMjs = require('./chunk-W32KT6LM.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkQ4HNK7JXjs = require('./chunk-Q4HNK7JX.js');
|
|
10
10
|
require('./chunk-E4CABWXL.js');
|
|
11
11
|
require('./chunk-CQDQNZGH.js');
|
|
12
12
|
require('./chunk-PMH4GLMD.js');
|
|
@@ -20,9 +20,9 @@ require('./chunk-XDVT3GOM.js');
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
24
|
-
require('./chunk-
|
|
25
|
-
require('./chunk-
|
|
23
|
+
var _chunkLEREPTAEjs = require('./chunk-LEREPTAE.js');
|
|
24
|
+
require('./chunk-ISXX5DUD.js');
|
|
25
|
+
require('./chunk-V7DEGIYO.js');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
var _chunk2GJZLIKWjs = require('./chunk-2GJZLIKW.js');
|
|
@@ -30,7 +30,7 @@ require('./chunk-XNYIZMNQ.js');
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
var _chunkBBTKAASQjs = require('./chunk-BBTKAASQ.js');
|
|
33
|
-
require('./chunk-
|
|
33
|
+
require('./chunk-TZBCJHV6.js');
|
|
34
34
|
require('./chunk-OG64RBAC.js');
|
|
35
35
|
require('./chunk-COGTRVWW.js');
|
|
36
36
|
|
|
@@ -53,8 +53,8 @@ function formatCell(value) {
|
|
|
53
53
|
return text.length > 80 ? `${text.slice(0, 77)}...` : text;
|
|
54
54
|
}
|
|
55
55
|
function tableLines(result) {
|
|
56
|
-
const rows =
|
|
57
|
-
const responseColumns =
|
|
56
|
+
const rows = _chunkLEREPTAEjs.dataExportRows.call(void 0, customerDbRows(result));
|
|
57
|
+
const responseColumns = _chunkLEREPTAEjs.dataExportColumns.call(void 0,
|
|
58
58
|
rows,
|
|
59
59
|
customerDbColumnNames(result)
|
|
60
60
|
);
|
|
@@ -100,7 +100,7 @@ function tableLines(result) {
|
|
|
100
100
|
return lines;
|
|
101
101
|
}
|
|
102
102
|
function customerDbRows(result) {
|
|
103
|
-
return
|
|
103
|
+
return _chunkLEREPTAEjs.recordRows.call(void 0, result.rows);
|
|
104
104
|
}
|
|
105
105
|
function customerDbColumnNames(result) {
|
|
106
106
|
return result.columns.map((column) => column.name).filter(Boolean);
|
|
@@ -153,7 +153,7 @@ function writeCustomerDbCsv(result, outPath) {
|
|
|
153
153
|
const resolved = _path.resolve.call(void 0, outPath);
|
|
154
154
|
_fs.writeFileSync.call(void 0,
|
|
155
155
|
resolved,
|
|
156
|
-
|
|
156
|
+
_chunkLEREPTAEjs.dataExportCsvString.call(void 0, customerDbRows(result), customerDbColumnNames(result)),
|
|
157
157
|
"utf-8"
|
|
158
158
|
);
|
|
159
159
|
return resolved;
|
|
@@ -194,7 +194,7 @@ function dbQueryExportEnvelope(input) {
|
|
|
194
194
|
function renderDbQueryResult(result, query, options) {
|
|
195
195
|
const { sql, maxRows, operationKey } = query;
|
|
196
196
|
const { format, out: outPath, json: explicitJsonOutput = false } = options;
|
|
197
|
-
const jsonOutput = explicitJsonOutput ||
|
|
197
|
+
const jsonOutput = explicitJsonOutput || _chunkLEREPTAEjs.shouldEmitJson.call(void 0, );
|
|
198
198
|
const toolPayload = JSON.stringify({
|
|
199
199
|
sql,
|
|
200
200
|
result_mode: "rows",
|
|
@@ -205,7 +205,7 @@ function renderDbQueryResult(result, query, options) {
|
|
|
205
205
|
if (format === "csv") {
|
|
206
206
|
if (outPath) {
|
|
207
207
|
const exportedPath = writeCustomerDbCsv(result, outPath);
|
|
208
|
-
|
|
208
|
+
_chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
|
|
209
209
|
dbQueryExportEnvelope({
|
|
210
210
|
result,
|
|
211
211
|
format,
|
|
@@ -221,7 +221,7 @@ function renderDbQueryResult(result, query, options) {
|
|
|
221
221
|
);
|
|
222
222
|
return;
|
|
223
223
|
}
|
|
224
|
-
|
|
224
|
+
_chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
|
|
225
225
|
dbQueryExportEnvelope({
|
|
226
226
|
result,
|
|
227
227
|
format,
|
|
@@ -231,7 +231,7 @@ function renderDbQueryResult(result, query, options) {
|
|
|
231
231
|
}),
|
|
232
232
|
{
|
|
233
233
|
json: explicitJsonOutput,
|
|
234
|
-
text:
|
|
234
|
+
text: _chunkLEREPTAEjs.dataExportCsvString.call(void 0,
|
|
235
235
|
customerDbRows(result),
|
|
236
236
|
customerDbColumnNames(result)
|
|
237
237
|
)
|
|
@@ -240,14 +240,14 @@ function renderDbQueryResult(result, query, options) {
|
|
|
240
240
|
return;
|
|
241
241
|
}
|
|
242
242
|
if (format === "markdown") {
|
|
243
|
-
const content =
|
|
243
|
+
const content = _chunkLEREPTAEjs.markdownTableFromRows.call(void 0,
|
|
244
244
|
customerDbRows(result),
|
|
245
245
|
customerDbColumnNames(result)
|
|
246
246
|
);
|
|
247
247
|
if (outPath) {
|
|
248
248
|
const exportedPath = _path.resolve.call(void 0, outPath);
|
|
249
249
|
_fs.writeFileSync.call(void 0, exportedPath, content, "utf-8");
|
|
250
|
-
|
|
250
|
+
_chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
|
|
251
251
|
dbQueryExportEnvelope({
|
|
252
252
|
result,
|
|
253
253
|
format,
|
|
@@ -263,7 +263,7 @@ function renderDbQueryResult(result, query, options) {
|
|
|
263
263
|
);
|
|
264
264
|
return;
|
|
265
265
|
}
|
|
266
|
-
|
|
266
|
+
_chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
|
|
267
267
|
dbQueryExportEnvelope({
|
|
268
268
|
result,
|
|
269
269
|
format,
|
|
@@ -278,7 +278,7 @@ function renderDbQueryResult(result, query, options) {
|
|
|
278
278
|
);
|
|
279
279
|
return;
|
|
280
280
|
}
|
|
281
|
-
|
|
281
|
+
_chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
|
|
282
282
|
{
|
|
283
283
|
...result,
|
|
284
284
|
next: {
|
|
@@ -352,9 +352,9 @@ async function runDbQueryCommand(options) {
|
|
|
352
352
|
...maxRows === void 0 ? {} : { maxRows },
|
|
353
353
|
...operationKey === void 0 ? {} : { operationKey }
|
|
354
354
|
};
|
|
355
|
-
const plan =
|
|
355
|
+
const plan = _chunkQ4HNK7JXjs.planCustomerDbQuery.call(void 0, query);
|
|
356
356
|
if (options.dryRun) {
|
|
357
|
-
|
|
357
|
+
_chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
|
|
358
358
|
{
|
|
359
359
|
dryRun: true,
|
|
360
360
|
...plan,
|
|
@@ -367,11 +367,11 @@ async function runDbQueryCommand(options) {
|
|
|
367
367
|
...out === void 0 ? {} : { file: _path.resolve.call(void 0, out) }
|
|
368
368
|
}
|
|
369
369
|
},
|
|
370
|
-
{ json: options.json ||
|
|
370
|
+
{ json: options.json || _chunkLEREPTAEjs.shouldEmitJson.call(void 0, ) }
|
|
371
371
|
);
|
|
372
372
|
return 0;
|
|
373
373
|
}
|
|
374
|
-
const client = new (0,
|
|
374
|
+
const client = new (0, _chunkW32KT6LMjs.DeeplineClient)();
|
|
375
375
|
const result = await client.db.query(query);
|
|
376
376
|
renderDbQueryResult(result, query, {
|
|
377
377
|
format,
|
|
@@ -380,8 +380,8 @@ async function runDbQueryCommand(options) {
|
|
|
380
380
|
});
|
|
381
381
|
return 0;
|
|
382
382
|
} catch (error) {
|
|
383
|
-
if (error instanceof _chunk2GJZLIKWjs.CustomerDbQueryOutcomeUnknownError && (options.json ||
|
|
384
|
-
|
|
383
|
+
if (error instanceof _chunk2GJZLIKWjs.CustomerDbQueryOutcomeUnknownError && (options.json || _chunkLEREPTAEjs.shouldEmitJson.call(void 0, ))) {
|
|
384
|
+
_chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
|
|
385
385
|
{
|
|
386
386
|
ok: false,
|
|
387
387
|
error: {
|
|
@@ -429,8 +429,8 @@ function dbRepairPlainText(result) {
|
|
|
429
429
|
async function handleDbRepair(args) {
|
|
430
430
|
const providerIndex = args.indexOf("--provider");
|
|
431
431
|
const provider = providerIndex >= 0 ? _optionalChain([args, 'access', _9 => _9[providerIndex + 1], 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]) : void 0;
|
|
432
|
-
const jsonOutput =
|
|
433
|
-
const client = new (0,
|
|
432
|
+
const jsonOutput = _chunkLEREPTAEjs.argsWantJson.call(void 0, args);
|
|
433
|
+
const client = new (0, _chunkW32KT6LMjs.DeeplineClient)();
|
|
434
434
|
let result;
|
|
435
435
|
try {
|
|
436
436
|
result = await client.repairIngestionStorage(
|
|
@@ -446,7 +446,7 @@ async function handleDbRepair(args) {
|
|
|
446
446
|
console.error(errorMessage2(error));
|
|
447
447
|
return 1;
|
|
448
448
|
}
|
|
449
|
-
|
|
449
|
+
_chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
|
|
450
450
|
{
|
|
451
451
|
command: "db repair",
|
|
452
452
|
status: result.status,
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-OVDNJAJN.mjs";
|
|
4
4
|
import {
|
|
5
5
|
DeeplineClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-55ITVU2V.mjs";
|
|
7
7
|
import {
|
|
8
8
|
planCustomerDbQuery
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GEO2EMM7.mjs";
|
|
10
10
|
import "./chunk-L2VKAASU.mjs";
|
|
11
11
|
import "./chunk-Z2XA6YU4.mjs";
|
|
12
12
|
import "./chunk-PSX3WHIH.mjs";
|
|
@@ -20,9 +20,9 @@ import {
|
|
|
20
20
|
printCommandEnvelope,
|
|
21
21
|
recordRows,
|
|
22
22
|
shouldEmitJson
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-GLKUC5PO.mjs";
|
|
24
|
+
import "./chunk-FIRV7BXJ.mjs";
|
|
25
|
+
import "./chunk-G3UFDUYU.mjs";
|
|
26
26
|
import {
|
|
27
27
|
CustomerDbQueryOutcomeUnknownError
|
|
28
28
|
} from "./chunk-CQBIO6HW.mjs";
|
|
@@ -30,7 +30,7 @@ import "./chunk-DLIRSHV6.mjs";
|
|
|
30
30
|
import {
|
|
31
31
|
DeeplineError
|
|
32
32
|
} from "./chunk-JL2OTMSG.mjs";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-E4QHTDPF.mjs";
|
|
34
34
|
import "./chunk-WZYKRD7T.mjs";
|
|
35
35
|
import "./chunk-KRD6H754.mjs";
|
|
36
36
|
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkEAZS52DLjs = require('./chunk-EAZS52DL.js');
|
|
7
|
+
require('./chunk-NR5PLMNG.js');
|
|
8
|
+
require('./chunk-FTBWFDF3.js');
|
|
9
|
+
require('./chunk-3YDI2PTN.js');
|
|
10
|
+
require('./chunk-D3BCSAN7.js');
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
var _chunkIPVRMYWTjs = require('./chunk-IPVRMYWT.js');
|
|
14
|
+
require('./chunk-UNDLNT3V.js');
|
|
15
|
+
require('./chunk-XYIECA7M.js');
|
|
16
|
+
require('./chunk-AID3OYVJ.js');
|
|
17
|
+
require('./chunk-J33TSWO5.js');
|
|
18
|
+
require('./chunk-HGFFYVXN.js');
|
|
19
|
+
require('./chunk-W32KT6LM.js');
|
|
20
|
+
require('./chunk-BLMB4N63.js');
|
|
21
|
+
require('./chunk-Q4HNK7JX.js');
|
|
22
|
+
require('./chunk-E4CABWXL.js');
|
|
23
|
+
require('./chunk-CQDQNZGH.js');
|
|
24
|
+
require('./chunk-PMH4GLMD.js');
|
|
25
|
+
require('./chunk-XDVT3GOM.js');
|
|
26
|
+
require('./chunk-XZBXQCRJ.js');
|
|
27
|
+
require('./chunk-FSQCB5SJ.js');
|
|
28
|
+
require('./chunk-YMQFQO3K.js');
|
|
29
|
+
require('./chunk-FH3P3E4S.js');
|
|
30
|
+
require('./chunk-CQJCLHBE.js');
|
|
31
|
+
require('./chunk-KAEVL62Q.js');
|
|
32
|
+
require('./chunk-K5MZHTK7.js');
|
|
33
|
+
require('./chunk-LEREPTAE.js');
|
|
34
|
+
require('./chunk-ISXX5DUD.js');
|
|
35
|
+
require('./chunk-V7DEGIYO.js');
|
|
36
|
+
require('./chunk-2GJZLIKW.js');
|
|
37
|
+
require('./chunk-XNYIZMNQ.js');
|
|
38
|
+
require('./chunk-BBTKAASQ.js');
|
|
39
|
+
require('./chunk-TZBCJHV6.js');
|
|
40
|
+
require('./chunk-OG64RBAC.js');
|
|
41
|
+
require('./chunk-RLX5ZFNX.js');
|
|
42
|
+
require('./chunk-COGTRVWW.js');
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
exports.DEEPLINE_NAMESPACE = _chunkIPVRMYWTjs.DEEPLINE_NAMESPACE; exports.describeAnything = _chunkEAZS52DLjs.describeAnything; exports.findNamed = _chunkEAZS52DLjs.findNamed; exports.nothingNamed = _chunkEAZS52DLjs.nothingNamed; exports.registerDescribeCommand = _chunkEAZS52DLjs.registerDescribeCommand;
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
findNamed,
|
|
4
4
|
nothingNamed,
|
|
5
5
|
registerDescribeCommand
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-6KG4KVTH.mjs";
|
|
7
|
+
import "./chunk-GNCIMHO2.mjs";
|
|
8
|
+
import "./chunk-N3LPGGWD.mjs";
|
|
9
|
+
import "./chunk-APKZGUTU.mjs";
|
|
10
10
|
import "./chunk-5AEDYVB6.mjs";
|
|
11
11
|
import {
|
|
12
12
|
DEEPLINE_NAMESPACE
|
|
@@ -16,27 +16,27 @@ import "./chunk-7AOFSZJM.mjs";
|
|
|
16
16
|
import "./chunk-OVDNJAJN.mjs";
|
|
17
17
|
import "./chunk-FR2ILQ4G.mjs";
|
|
18
18
|
import "./chunk-FIVKWNMT.mjs";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-55ITVU2V.mjs";
|
|
20
20
|
import "./chunk-2GEYN3H4.mjs";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-GEO2EMM7.mjs";
|
|
22
22
|
import "./chunk-L2VKAASU.mjs";
|
|
23
23
|
import "./chunk-Z2XA6YU4.mjs";
|
|
24
24
|
import "./chunk-PSX3WHIH.mjs";
|
|
25
25
|
import "./chunk-UBKA33KY.mjs";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-DZFVVP3S.mjs";
|
|
27
|
+
import "./chunk-2XMFT44N.mjs";
|
|
28
|
+
import "./chunk-RULRGMMM.mjs";
|
|
29
|
+
import "./chunk-Y66ZMOJI.mjs";
|
|
30
|
+
import "./chunk-MKESK3SW.mjs";
|
|
31
|
+
import "./chunk-ADV2IB2C.mjs";
|
|
32
|
+
import "./chunk-JHEZQMOM.mjs";
|
|
33
|
+
import "./chunk-GLKUC5PO.mjs";
|
|
34
|
+
import "./chunk-FIRV7BXJ.mjs";
|
|
35
|
+
import "./chunk-G3UFDUYU.mjs";
|
|
36
36
|
import "./chunk-CQBIO6HW.mjs";
|
|
37
37
|
import "./chunk-DLIRSHV6.mjs";
|
|
38
38
|
import "./chunk-JL2OTMSG.mjs";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-E4QHTDPF.mjs";
|
|
40
40
|
import "./chunk-WZYKRD7T.mjs";
|
|
41
41
|
import "./chunk-5JPKRDFC.mjs";
|
|
42
42
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
|
-
import { D as DeeplineClient } from '../client-
|
|
3
|
-
import { cZ as ToolDefinition, P as DeeplineAgentModelDescription, bg as PlayDescription, cC as SearchType } from '../client-core-
|
|
4
|
-
import '../compiler-manifest-
|
|
2
|
+
import { D as DeeplineClient } from '../client-D0uDBybG.mjs';
|
|
3
|
+
import { cZ as ToolDefinition, P as DeeplineAgentModelDescription, bg as PlayDescription, cC as SearchType } from '../client-core-BhWf8Y1b.mjs';
|
|
4
|
+
import '../compiler-manifest-Bes3OVA3.mjs';
|
|
5
5
|
import '@sinclair/typebox';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import '../monitor-fleet-contract.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
|
-
import { D as DeeplineClient } from '../client-
|
|
3
|
-
import { cZ as ToolDefinition, P as DeeplineAgentModelDescription, bg as PlayDescription, cC as SearchType } from '../client-core-
|
|
4
|
-
import '../compiler-manifest-
|
|
2
|
+
import { D as DeeplineClient } from '../client-DZTnAv4B.js';
|
|
3
|
+
import { cZ as ToolDefinition, P as DeeplineAgentModelDescription, bg as PlayDescription, cC as SearchType } from '../client-core-og3AP1LL.js';
|
|
4
|
+
import '../compiler-manifest-Bes3OVA3.js';
|
|
5
5
|
import '@sinclair/typebox';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import '../monitor-fleet-contract.js';
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var _chunkW32KT6LMjs = require('./chunk-W32KT6LM.js');
|
|
4
|
+
require('./chunk-Q4HNK7JX.js');
|
|
5
5
|
require('./chunk-E4CABWXL.js');
|
|
6
6
|
require('./chunk-CQDQNZGH.js');
|
|
7
7
|
require('./chunk-PMH4GLMD.js');
|
|
8
8
|
require('./chunk-XDVT3GOM.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
12
|
-
require('./chunk-
|
|
13
|
-
require('./chunk-
|
|
11
|
+
var _chunkLEREPTAEjs = require('./chunk-LEREPTAE.js');
|
|
12
|
+
require('./chunk-ISXX5DUD.js');
|
|
13
|
+
require('./chunk-V7DEGIYO.js');
|
|
14
14
|
require('./chunk-2GJZLIKW.js');
|
|
15
15
|
require('./chunk-XNYIZMNQ.js');
|
|
16
16
|
require('./chunk-BBTKAASQ.js');
|
|
17
|
-
require('./chunk-
|
|
17
|
+
require('./chunk-TZBCJHV6.js');
|
|
18
18
|
require('./chunk-OG64RBAC.js');
|
|
19
19
|
require('./chunk-COGTRVWW.js');
|
|
20
20
|
|
|
@@ -22,10 +22,10 @@ require('./chunk-COGTRVWW.js');
|
|
|
22
22
|
function registerExecutionsCommands(program) {
|
|
23
23
|
const executions = program.command("executions").description("Inspect and recover keyed tool executions.");
|
|
24
24
|
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) => {
|
|
25
|
-
const result = await new (0,
|
|
25
|
+
const result = await new (0, _chunkW32KT6LMjs.DeeplineClient)().executions.getByKey(
|
|
26
26
|
options.idempotencyKey
|
|
27
27
|
);
|
|
28
|
-
|
|
28
|
+
_chunkLEREPTAEjs.printCommandEnvelope.call(void 0, result, { json: true });
|
|
29
29
|
});
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-55ITVU2V.mjs";
|
|
4
|
+
import "./chunk-GEO2EMM7.mjs";
|
|
5
5
|
import "./chunk-L2VKAASU.mjs";
|
|
6
6
|
import "./chunk-Z2XA6YU4.mjs";
|
|
7
7
|
import "./chunk-PSX3WHIH.mjs";
|
|
8
8
|
import "./chunk-UBKA33KY.mjs";
|
|
9
9
|
import {
|
|
10
10
|
printCommandEnvelope
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-GLKUC5PO.mjs";
|
|
12
|
+
import "./chunk-FIRV7BXJ.mjs";
|
|
13
|
+
import "./chunk-G3UFDUYU.mjs";
|
|
14
14
|
import "./chunk-CQBIO6HW.mjs";
|
|
15
15
|
import "./chunk-DLIRSHV6.mjs";
|
|
16
16
|
import "./chunk-JL2OTMSG.mjs";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-E4QHTDPF.mjs";
|
|
18
18
|
import "./chunk-WZYKRD7T.mjs";
|
|
19
19
|
import "./chunk-KRD6H754.mjs";
|
|
20
20
|
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkKQTX545Ejs = require('./chunk-KQTX545E.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk5QL4GJB2js = require('./chunk-5QL4GJB2.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
13
|
-
require('./chunk-
|
|
12
|
+
var _chunkLEREPTAEjs = require('./chunk-LEREPTAE.js');
|
|
13
|
+
require('./chunk-ISXX5DUD.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkV7DEGIYOjs = require('./chunk-V7DEGIYO.js');
|
|
18
18
|
require('./chunk-2GJZLIKW.js');
|
|
19
19
|
require('./chunk-XNYIZMNQ.js');
|
|
20
20
|
require('./chunk-BBTKAASQ.js');
|
|
21
|
-
require('./chunk-
|
|
21
|
+
require('./chunk-TZBCJHV6.js');
|
|
22
22
|
require('./chunk-OG64RBAC.js');
|
|
23
23
|
require('./chunk-COGTRVWW.js');
|
|
24
24
|
|
|
@@ -32,17 +32,17 @@ var SESSION_DISCOVERABLE_RUNTIMES = /* @__PURE__ */ new Set([
|
|
|
32
32
|
"codex"
|
|
33
33
|
]);
|
|
34
34
|
async function handleFeedback(text, options) {
|
|
35
|
-
if (
|
|
35
|
+
if (_chunk5QL4GJB2js.rejectRestrictedFeedback.call(void 0, options)) return;
|
|
36
36
|
const message = resolveFeedbackText(text, options.file);
|
|
37
|
-
const { http } =
|
|
38
|
-
const environment =
|
|
37
|
+
const { http } = _chunkLEREPTAEjs.getAuthedHttpClient.call(void 0, );
|
|
38
|
+
const environment = _chunkLEREPTAEjs.collectLocalEnvInfo.call(void 0, );
|
|
39
39
|
const agentRuntime = _nullishCoalesce(environment.agent_runtime, () => ( "unknown"));
|
|
40
|
-
const uploadedSessionId = options.attachSession ? await
|
|
40
|
+
const uploadedSessionId = options.attachSession ? await _chunkKQTX545Ejs.uploadAgentSession.call(void 0, agentRuntime).catch((error) => {
|
|
41
41
|
throw new Error(
|
|
42
42
|
`Feedback was not sent: the session transcript could not be uploaded (${error instanceof Error ? error.message : String(error)}). Rerun without --attach-session to send the report alone.`
|
|
43
43
|
);
|
|
44
44
|
}) : null;
|
|
45
|
-
const sessionId = _nullishCoalesce(uploadedSessionId, () => (
|
|
45
|
+
const sessionId = _nullishCoalesce(uploadedSessionId, () => ( _chunkKQTX545Ejs.feedbackAgentSessionId.call(void 0, agentRuntime)));
|
|
46
46
|
const warning = sessionId || !SESSION_DISCOVERABLE_RUNTIMES.has(agentRuntime) ? null : noSessionWarning(agentRuntime);
|
|
47
47
|
if (warning) process.stderr.write(`Warning: ${warning}
|
|
48
48
|
`);
|
|
@@ -55,8 +55,8 @@ async function handleFeedback(text, options) {
|
|
|
55
55
|
...options.payload ? { payload: options.payload } : {},
|
|
56
56
|
...options.errorOutcome ? { error_outcome: options.errorOutcome } : {}
|
|
57
57
|
});
|
|
58
|
-
const uploadCommand = sessionId && !uploadedSessionId &&
|
|
59
|
-
|
|
58
|
+
const uploadCommand = sessionId && !uploadedSessionId && _chunkV7DEGIYOjs.isAgentSessionId.call(void 0, sessionId) ? `deepline sessions send --session-id ${sessionId} --requested` : null;
|
|
59
|
+
_chunkLEREPTAEjs.printCommandEnvelope.call(void 0,
|
|
60
60
|
{
|
|
61
61
|
...response,
|
|
62
62
|
session_id: sessionId,
|
|
@@ -90,7 +90,7 @@ async function handleFeedback(text, options) {
|
|
|
90
90
|
);
|
|
91
91
|
}
|
|
92
92
|
function noSessionWarning(agentRuntime) {
|
|
93
|
-
const transcripts = agentRuntime === "codex" ? "~/.codex/sessions/**/*.jsonl" :
|
|
93
|
+
const transcripts = agentRuntime === "codex" ? "~/.codex/sessions/**/*.jsonl" : _chunkV7DEGIYOjs.claudeProjectsRoots.call(void 0, ).map((root) => _path.join.call(void 0, root, "*", "<session-id>.jsonl")).join(" or ");
|
|
94
94
|
return `No ${agentRuntime} session was found, so this report is not linked to a session and no transcript was uploaded. Do not tell the user a transcript is attached. To share it, find this session's transcript (${transcripts}) and, with the user's approval, run: deepline sessions send --session-id <session-id> --requested`;
|
|
95
95
|
}
|
|
96
96
|
function resolveFeedbackText(text, file, readFile = (path) => _fs.readFileSync.call(void 0, path, "utf8")) {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
feedbackAgentSessionId,
|
|
3
3
|
uploadAgentSession
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-JBCQFG7G.mjs";
|
|
5
5
|
import {
|
|
6
6
|
rejectRestrictedFeedback
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6NZBLFL4.mjs";
|
|
8
8
|
import {
|
|
9
9
|
collectLocalEnvInfo,
|
|
10
10
|
getAuthedHttpClient,
|
|
11
11
|
printCommandEnvelope
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-GLKUC5PO.mjs";
|
|
13
|
+
import "./chunk-FIRV7BXJ.mjs";
|
|
14
14
|
import {
|
|
15
15
|
claudeProjectsRoots,
|
|
16
16
|
isAgentSessionId
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-G3UFDUYU.mjs";
|
|
18
18
|
import "./chunk-CQBIO6HW.mjs";
|
|
19
19
|
import "./chunk-DLIRSHV6.mjs";
|
|
20
20
|
import "./chunk-JL2OTMSG.mjs";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-E4QHTDPF.mjs";
|
|
22
22
|
import "./chunk-WZYKRD7T.mjs";
|
|
23
23
|
import "./chunk-KRD6H754.mjs";
|
|
24
24
|
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunk5RUB53KGjs = require('./chunk-5RUB53KG.js');
|
|
9
|
+
require('./chunk-LEREPTAE.js');
|
|
10
|
+
require('./chunk-ISXX5DUD.js');
|
|
11
|
+
require('./chunk-V7DEGIYO.js');
|
|
12
|
+
require('./chunk-2GJZLIKW.js');
|
|
13
|
+
require('./chunk-XNYIZMNQ.js');
|
|
14
|
+
require('./chunk-BBTKAASQ.js');
|
|
15
|
+
require('./chunk-TZBCJHV6.js');
|
|
16
|
+
require('./chunk-OG64RBAC.js');
|
|
17
|
+
require('./chunk-COGTRVWW.js');
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
exports.handleDeploymentGet = _chunk5RUB53KGjs.handleDeploymentGet; exports.handleDeploymentsList = _chunk5RUB53KGjs.handleDeploymentsList; exports.registerGitCommands = _chunk5RUB53KGjs.registerGitCommands; exports.renderDeployment = _chunk5RUB53KGjs.renderDeployment; exports.renderDeploymentMonitorLines = _chunk5RUB53KGjs.renderDeploymentMonitorLines; exports.renderDeploymentPlayLines = _chunk5RUB53KGjs.renderDeploymentPlayLines;
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
renderDeployment,
|
|
6
6
|
renderDeploymentMonitorLines,
|
|
7
7
|
renderDeploymentPlayLines
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-6V3LNYK5.mjs";
|
|
9
|
+
import "./chunk-GLKUC5PO.mjs";
|
|
10
|
+
import "./chunk-FIRV7BXJ.mjs";
|
|
11
|
+
import "./chunk-G3UFDUYU.mjs";
|
|
12
12
|
import "./chunk-CQBIO6HW.mjs";
|
|
13
13
|
import "./chunk-DLIRSHV6.mjs";
|
|
14
14
|
import "./chunk-JL2OTMSG.mjs";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-E4QHTDPF.mjs";
|
|
16
16
|
import "./chunk-WZYKRD7T.mjs";
|
|
17
17
|
import "./chunk-KRD6H754.mjs";
|
|
18
18
|
export {
|