deepline 0.3.537 → 0.3.538
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 +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/baked-runner-image.ts +330 -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 +2 -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 -3
- 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 +2390 -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-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 +15 -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-4WEVLYK4.js +43 -0
- package/dist/cli/{auth-4SUPGDIM.mjs → auth-KYH7N7RQ.mjs} +5 -5
- package/dist/cli/{billing-SQU726P7.js → billing-4KTUVZ4S.js} +114 -90
- package/dist/cli/{billing-5JUA3ZM3.mjs → billing-WK346KAI.mjs} +31 -7
- package/dist/cli/{chunk-KULT6O5K.js → chunk-25RGHJQL.js} +15 -15
- package/dist/cli/{chunk-PJ4ZGZAN.js → chunk-34PLG5OE.js} +13 -13
- package/dist/cli/{chunk-37AZHCTP.mjs → chunk-35OCRH5C.mjs} +5 -5
- package/dist/cli/{chunk-JMHYDDBQ.js → chunk-3I5TU5XE.js} +292 -279
- package/dist/cli/{chunk-Y6AMMXWS.mjs → chunk-4KZF6OYY.mjs} +3 -3
- package/dist/cli/{chunk-BRRCWUOW.mjs → chunk-4NEOGPKD.mjs} +1 -1
- package/dist/cli/{chunk-NU7B5X6J.mjs → chunk-4WQR4DG4.mjs} +1 -1
- package/dist/cli/{chunk-AVQET3NR.js → chunk-5VSPRRTI.js} +7 -7
- package/dist/cli/{chunk-EEFSUCYP.mjs → chunk-6JG3MRTM.mjs} +2 -2
- package/dist/cli/{chunk-D77W6Q67.js → chunk-6SLQLWWL.js} +26 -26
- package/dist/cli/{chunk-ZUAMXZXC.mjs → chunk-7XDJKIM2.mjs} +4 -4
- package/dist/cli/{chunk-C37VELBR.mjs → chunk-A6E7TCK2.mjs} +5 -5
- package/dist/cli/{chunk-JS2SBCWD.js → chunk-ADLDU2QG.js} +6 -6
- package/dist/cli/{chunk-VP2K5B3R.mjs → chunk-ALARRSMZ.mjs} +3 -3
- package/dist/cli/{chunk-CHIGEDAE.js → chunk-B2BTBHX2.js} +3 -3
- package/dist/cli/{chunk-CFND2ACL.js → chunk-BBS2BLPV.js} +16 -16
- package/dist/cli/{chunk-QDBGPRR2.mjs → chunk-CLO562KG.mjs} +3 -1
- package/dist/cli/{chunk-CXTW7SRW.mjs → chunk-E7D37PLM.mjs} +8 -0
- package/dist/cli/{chunk-UGA5KI4A.js → chunk-ESX3H7Q7.js} +22 -22
- package/dist/cli/{chunk-BFHR7IC2.mjs → chunk-FJ5KPGCS.mjs} +10 -10
- package/dist/cli/{chunk-R7JYG6XO.mjs → chunk-FWE37N2P.mjs} +1 -1
- package/dist/cli/{chunk-K4WJ4BYO.mjs → chunk-ICTA5ICE.mjs} +1 -1
- package/dist/cli/{chunk-PU42VOBI.js → chunk-IMLFB66A.js} +3 -3
- package/dist/cli/{chunk-GI3V4D7K.mjs → chunk-IP3XJTWA.mjs} +2 -2
- package/dist/cli/{chunk-WBFOV5HT.js → chunk-JCLRSMUP.js} +5 -5
- package/dist/cli/{chunk-L3JVGNAT.mjs → chunk-JPEBKN3K.mjs} +2 -2
- package/dist/cli/{chunk-Z2PPB3IO.mjs → chunk-JTOV5RUA.mjs} +1 -1
- package/dist/cli/{chunk-WBTYWJLN.js → chunk-KCUQNH4K.js} +2 -2
- package/dist/cli/{chunk-C3XD2WHM.mjs → chunk-KNIYEZVV.mjs} +2 -2
- package/dist/cli/{chunk-3PMCQ3LK.js → chunk-LPTBHNGB.js} +7 -5
- package/dist/cli/{chunk-KH27B2HJ.mjs → chunk-M3NCXGNN.mjs} +2 -2
- package/dist/cli/{chunk-XDS26J7Z.js → chunk-MNBIGX6O.js} +10 -10
- package/dist/cli/{chunk-L6QAIZNZ.js → chunk-MYSPQUAO.js} +44 -44
- package/dist/cli/{chunk-W3J3LT22.mjs → chunk-N2BCPZVR.mjs} +5 -5
- package/dist/cli/{chunk-ZFSB7GXF.js → chunk-N5HSG4OV.js} +5 -5
- package/dist/cli/{chunk-2Q7VXTMS.js → chunk-O765M4LT.js} +2 -2
- package/dist/cli/{chunk-QPDLG7DQ.js → chunk-OOLBE6FR.js} +53 -53
- package/dist/cli/{chunk-IQOIT6E3.js → chunk-P3DP56HB.js} +41 -41
- package/dist/cli/{chunk-BGXEMTIG.js → chunk-PQKD5DMT.js} +19 -19
- package/dist/cli/{chunk-V5IIBG2E.mjs → chunk-T6GPTJ5F.mjs} +1 -1
- package/dist/cli/{chunk-GPMS6OPX.mjs → chunk-TWWYCJJW.mjs} +5 -5
- package/dist/cli/{chunk-ZHPSJ3LJ.mjs → chunk-UE7JHAZ2.mjs} +29 -16
- package/dist/cli/{chunk-VRYX2BR4.js → chunk-UEZNIPFO.js} +107 -107
- package/dist/cli/{chunk-AX2OAXDL.mjs → chunk-VCHV4LS3.mjs} +1 -1
- package/dist/cli/{chunk-NXGLJGPB.js → chunk-VIFLWQXS.js} +2 -2
- package/dist/cli/{chunk-6BBGUQJJ.js → chunk-XTYHZEJ2.js} +8 -0
- package/dist/cli/{chunk-5EOEJKSV.js → chunk-YQURGSRB.js} +1 -1
- package/dist/cli/{chunk-ALHKB3AE.js → chunk-YZ2ZPHWR.js} +9 -9
- package/dist/cli/{chunk-CGDW2CRR.mjs → chunk-ZDLDCXY3.mjs} +2 -2
- package/dist/cli/{chunk-RMVZTBI5.mjs → chunk-ZU6JBRV5.mjs} +4 -4
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-HZP6QMG7.mjs → csv-2YKLUKDR.mjs} +4 -4
- package/dist/cli/{csv-JITYN27L.js → csv-LM7FBECI.js} +13 -13
- package/dist/cli/{db-QRIRTOMM.mjs → db-234UBWJH.mjs} +6 -6
- package/dist/cli/{db-FYSRB7O4.js → db-5PMA4IVW.js} +27 -27
- package/dist/cli/describe-C7GOSGYB.js +49 -0
- package/dist/cli/{describe-REXJVJC3.mjs → describe-W26LW5O7.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-3S736GXX.js} +8 -8
- package/dist/cli/{executions-53KJAFOW.mjs → executions-GD7GXTJM.mjs} +6 -6
- package/dist/cli/{feedback-6MW3QOXX.js → feedback-BUWTDY4R.js} +14 -14
- package/dist/cli/{feedback-CWUJJF3J.mjs → feedback-GBV5HJJZ.mjs} +6 -6
- package/dist/cli/git-YG36MROC.js +25 -0
- package/dist/cli/{git-CKVZTJFS.mjs → git-YXJGTDQL.mjs} +5 -5
- package/dist/cli/index.js +143 -143
- package/dist/cli/index.mjs +42 -42
- package/dist/cli/{legacy-noops-USTBRFRX.mjs → legacy-noops-UJM6GBNP.mjs} +6 -6
- package/dist/cli/{legacy-noops-QBL4PNGB.js → legacy-noops-ZSF64V2U.js} +9 -9
- package/dist/cli/{monitors-6UCG5D7W.mjs → monitors-UERUQ6CT.mjs} +7 -7
- package/dist/cli/{monitors-VCR6SUZD.js → monitors-XQ2GNH6D.js} +100 -100
- package/dist/cli/{org-GSRBOJVO.mjs → org-CP4VLH6M.mjs} +6 -6
- package/dist/cli/{org-HPILTEG4.js → org-IF6MPVNR.js} +86 -86
- package/dist/cli/{play-TK7WOP5H.js → play-2NHQO5MO.js} +317 -317
- package/dist/cli/{play-QRTYQNG4.mjs → play-ZWDYYVPI.mjs} +17 -17
- package/dist/cli/{providers-OAQJWVBS.mjs → providers-2CVIATU4.mjs} +6 -6
- package/dist/cli/{providers-HEXNJ5QC.js → providers-LOPXQN56.js} +9 -9
- package/dist/cli/{quickstart-FFVHTPSP.mjs → quickstart-KVCFXLID.mjs} +4 -4
- package/dist/cli/{quickstart-PYZTFXZX.js → quickstart-N4WDEQZY.js} +6 -6
- package/dist/cli/{run-4DWJXJRO.js → run-BDT5LK3I.js} +42 -42
- package/dist/cli/{run-HLN6YYZH.mjs → run-RUXHYWLF.mjs} +22 -22
- package/dist/cli/search-ATDDVADT.js +32 -0
- package/dist/cli/{search-ZHRCXGEL.mjs → search-BFUTNPA5.mjs} +7 -7
- package/dist/cli/{search-output-2KY6PFDH.js → search-output-CTXI2QZU.js} +6 -6
- package/dist/cli/{search-output-N7QXACVK.mjs → search-output-WUGH4PZA.mjs} +4 -4
- package/dist/cli/{secrets-WXQ7XO5C.js → secrets-BZJZYFOU.js} +15 -15
- package/dist/cli/{secrets-FKMWBLHU.mjs → secrets-Z4XQVTC6.mjs} +6 -6
- package/dist/cli/sessions-HNU35AFM.js +22 -0
- package/dist/cli/{sessions-3YDTEDA5.mjs → sessions-VZXR3MQZ.mjs} +6 -6
- package/dist/cli/{settings-JTPASUZN.mjs → settings-VYEZFR4L.mjs} +12 -12
- package/dist/cli/{settings-67TWLQ6E.js → settings-WBYA4JMM.js} +85 -85
- package/dist/cli/{setup-KUERQJUX.js → setup-FS2RMSS2.js} +49 -49
- package/dist/cli/{setup-VYNGXUJ6.mjs → setup-H7KCI4SO.mjs} +9 -9
- package/dist/cli/skills-VPIURCAZ.js +36 -0
- package/dist/cli/{skills-KI4KYHH6.mjs → skills-YQNSJUUG.mjs} +7 -7
- package/dist/cli/tools-273GS5HU.js +56 -0
- package/dist/cli/{tools-UQDJS2RS.mjs → tools-ZF6SVEGW.mjs} +16 -16
- package/dist/cli/{update-7FQQUBOD.mjs → update-RKQNNJM4.mjs} +9 -9
- package/dist/cli/update-TOD3XY55.js +34 -0
- package/dist/cli/{views-JAM4MNNV.mjs → views-JHHOTWDU.mjs} +6 -6
- package/dist/cli/{views-MJK7JGZG.js → views-KN7FEDGT.js} +21 -21
- package/dist/cli/{workflow-AQPRIWQX.js → workflow-2WHSKTTV.js} +17 -17
- package/dist/cli/{workflow-TQRV5FGO.mjs → workflow-AAYLCLWA.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 +120 -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
|
@@ -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 _chunkN5HSG4OVjs = require('./chunk-N5HSG4OV.js');
|
|
4
|
+
require('./chunk-3I5TU5XE.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 _chunkPQKD5DMTjs = require('./chunk-PQKD5DMT.js');
|
|
12
|
+
require('./chunk-IMLFB66A.js');
|
|
13
|
+
require('./chunk-LPTBHNGB.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-YQURGSRB.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, _chunkN5HSG4OVjs.DeeplineClient)().executions.getByKey(
|
|
26
26
|
options.idempotencyKey
|
|
27
27
|
);
|
|
28
|
-
|
|
28
|
+
_chunkPQKD5DMTjs.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-M3NCXGNN.mjs";
|
|
4
|
+
import "./chunk-UE7JHAZ2.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-6JG3MRTM.mjs";
|
|
12
|
+
import "./chunk-ICTA5ICE.mjs";
|
|
13
|
+
import "./chunk-CLO562KG.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-T6GPTJ5F.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 _chunk34PLG5OEjs = require('./chunk-34PLG5OE.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkO765M4LTjs = require('./chunk-O765M4LT.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
13
|
-
require('./chunk-
|
|
12
|
+
var _chunkPQKD5DMTjs = require('./chunk-PQKD5DMT.js');
|
|
13
|
+
require('./chunk-IMLFB66A.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkLPTBHNGBjs = require('./chunk-LPTBHNGB.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-YQURGSRB.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 (_chunkO765M4LTjs.rejectRestrictedFeedback.call(void 0, options)) return;
|
|
36
36
|
const message = resolveFeedbackText(text, options.file);
|
|
37
|
-
const { http } =
|
|
38
|
-
const environment =
|
|
37
|
+
const { http } = _chunkPQKD5DMTjs.getAuthedHttpClient.call(void 0, );
|
|
38
|
+
const environment = _chunkPQKD5DMTjs.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 _chunk34PLG5OEjs.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, () => ( _chunk34PLG5OEjs.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 && _chunkLPTBHNGBjs.isAgentSessionId.call(void 0, sessionId) ? `deepline sessions send --session-id ${sessionId} --requested` : null;
|
|
59
|
+
_chunkPQKD5DMTjs.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" : _chunkLPTBHNGBjs.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-4KZF6OYY.mjs";
|
|
5
5
|
import {
|
|
6
6
|
rejectRestrictedFeedback
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VCHV4LS3.mjs";
|
|
8
8
|
import {
|
|
9
9
|
collectLocalEnvInfo,
|
|
10
10
|
getAuthedHttpClient,
|
|
11
11
|
printCommandEnvelope
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-6JG3MRTM.mjs";
|
|
13
|
+
import "./chunk-ICTA5ICE.mjs";
|
|
14
14
|
import {
|
|
15
15
|
claudeProjectsRoots,
|
|
16
16
|
isAgentSessionId
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-CLO562KG.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-T6GPTJ5F.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 _chunk6SLQLWWLjs = require('./chunk-6SLQLWWL.js');
|
|
9
|
+
require('./chunk-PQKD5DMT.js');
|
|
10
|
+
require('./chunk-IMLFB66A.js');
|
|
11
|
+
require('./chunk-LPTBHNGB.js');
|
|
12
|
+
require('./chunk-2GJZLIKW.js');
|
|
13
|
+
require('./chunk-XNYIZMNQ.js');
|
|
14
|
+
require('./chunk-BBTKAASQ.js');
|
|
15
|
+
require('./chunk-YQURGSRB.js');
|
|
16
|
+
require('./chunk-OG64RBAC.js');
|
|
17
|
+
require('./chunk-COGTRVWW.js');
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
exports.handleDeploymentGet = _chunk6SLQLWWLjs.handleDeploymentGet; exports.handleDeploymentsList = _chunk6SLQLWWLjs.handleDeploymentsList; exports.registerGitCommands = _chunk6SLQLWWLjs.registerGitCommands; exports.renderDeployment = _chunk6SLQLWWLjs.renderDeployment; exports.renderDeploymentMonitorLines = _chunk6SLQLWWLjs.renderDeploymentMonitorLines; exports.renderDeploymentPlayLines = _chunk6SLQLWWLjs.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-KNIYEZVV.mjs";
|
|
9
|
+
import "./chunk-6JG3MRTM.mjs";
|
|
10
|
+
import "./chunk-ICTA5ICE.mjs";
|
|
11
|
+
import "./chunk-CLO562KG.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-T6GPTJ5F.mjs";
|
|
16
16
|
import "./chunk-WZYKRD7T.mjs";
|
|
17
17
|
import "./chunk-KRD6H754.mjs";
|
|
18
18
|
export {
|