deepline 0.3.546 → 0.3.547
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 +13 -0
- package/dist/bundling-sources/sdk/src/index.ts +7 -1
- package/dist/bundling-sources/sdk/src/integrations.ts +17 -7
- package/dist/bundling-sources/sdk/src/play.ts +71 -0
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/runs/watch-polling.ts +13 -4
- package/dist/bundling-sources/sdk/src/types.ts +33 -0
- package/dist/bundling-sources/shared_libs/integration-contracts/calendar-delegation.ts +7 -0
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-batch-operation.ts +2 -0
- package/dist/bundling-sources/shared_libs/monitors/tracking-provider-guidance.ts +1 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +19 -1
- package/dist/bundling-sources/shared_libs/play-data-plane/r2.ts +17 -2
- package/dist/bundling-sources/shared_libs/play-runtime/async-operation.ts +57 -5
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +295 -52
- package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +10 -1
- package/dist/bundling-sources/shared_libs/play-runtime/docflow-decision-tracker.ts +135 -0
- package/dist/bundling-sources/shared_libs/play-runtime/docflow-fail-open.ts +177 -0
- package/dist/bundling-sources/shared_libs/play-runtime/docflow-node-io.ts +99 -2
- package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +16 -10
- package/dist/bundling-sources/shared_libs/play-runtime/fenced-call-diagnostics.ts +211 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-capacity-policy.ts +52 -14
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +21 -2
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-progress.ts +18 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +68 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +11 -3
- package/dist/bundling-sources/shared_libs/play-runtime/tool-cache-policy.ts +9 -1
- package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +48 -0
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +6 -1
- package/dist/bundling-sources/shared_libs/plays/bundling/index.ts +716 -51
- package/dist/bundling-sources/shared_libs/plays/docflow-decision-arms.ts +146 -0
- package/dist/bundling-sources/shared_libs/plays/docflow-flow-order.ts +94 -0
- package/dist/bundling-sources/shared_libs/plays/docflow-unreached-reason.ts +10 -1
- package/dist/bundling-sources/shared_libs/plays/docflow.ts +787 -117
- package/dist/bundling-sources/shared_libs/plays/share/static-pipeline-summary.ts +8 -2
- package/dist/bundling-sources/shared_libs/plays/static-pipeline.ts +6 -0
- package/dist/bundling-sources/shared_libs/plays/trigger-config-contract.ts +13 -0
- package/dist/bundling-sources/shared_libs/product-notifications/billing-sales.ts +25 -0
- package/dist/bundling-sources/shared_libs/security/secret-redaction.ts +56 -0
- package/dist/cli/auth-AC5277PI.js +43 -0
- package/dist/cli/{auth-KFWG72AZ.mjs → auth-WJEY4IDX.mjs} +5 -5
- package/dist/cli/{billing-OQVOAZ4S.js → billing-IJITDDRQ.js} +96 -96
- package/dist/cli/{billing-MMZ336HO.mjs → billing-PHJUDYF3.mjs} +10 -10
- package/dist/cli/{chunk-TBWYZOSV.js → chunk-2AHY47SI.js} +3 -3
- package/dist/cli/{chunk-MXQP7CXZ.js → chunk-2HPTLBNB.js} +3 -3
- package/dist/cli/{chunk-TI6DTURF.js → chunk-4WAM6TLD.js} +7 -1
- package/dist/cli/{chunk-JARZ47OP.mjs → chunk-56MEAGWA.mjs} +2 -2
- package/dist/cli/{chunk-GYTSDSQD.mjs → chunk-5SFHPMBY.mjs} +11 -11
- package/dist/cli/{chunk-Z3UEBFIN.js → chunk-ABLTVG3J.js} +41 -41
- package/dist/cli/{chunk-LX2TC3HO.mjs → chunk-AEQ5VWZ5.mjs} +4 -4
- package/dist/cli/{chunk-MI7X6V6V.mjs → chunk-CKIRKYW7.mjs} +3 -3
- package/dist/cli/{chunk-2JHYYB3F.js → chunk-CSPHSNBW.js} +3 -3
- package/dist/cli/{chunk-IVWU7SJC.js → chunk-D6OIEH47.js} +5 -5
- package/dist/cli/{chunk-KUK7ARXA.mjs → chunk-DIUNDLSX.mjs} +2 -2
- package/dist/cli/{chunk-RO66FPTS.mjs → chunk-DJI5CLLW.mjs} +1 -1
- package/dist/cli/{chunk-LIJKRDDG.js → chunk-DZC7LMYM.js} +6 -6
- package/dist/cli/{chunk-UQJBV5PM.js → chunk-E2OIYPB4.js} +10 -10
- package/dist/cli/{chunk-JA633HRV.mjs → chunk-ECUD4QPD.mjs} +3 -3
- package/dist/cli/{chunk-VPERQ3U6.mjs → chunk-ESCVHDNY.mjs} +5 -5
- package/dist/cli/{chunk-JVOUQFHT.js → chunk-FFBXLFKV.js} +1 -1
- package/dist/cli/{chunk-3DUNNZB6.mjs → chunk-FMQXAOVE.mjs} +4 -4
- package/dist/cli/{chunk-HXIR3VQL.mjs → chunk-FZHMNK6F.mjs} +7 -1
- package/dist/cli/{chunk-PU3ZAG6V.mjs → chunk-G6KW764N.mjs} +1 -1
- package/dist/cli/{chunk-EEG46QZY.mjs → chunk-G6XTCG3J.mjs} +2 -2
- package/dist/cli/{chunk-EEJHB76U.js → chunk-GIGAYLY6.js} +12 -12
- package/dist/cli/{chunk-BLYW6FFB.js → chunk-GJA2PRHJ.js} +2 -2
- package/dist/cli/{chunk-H7Q5IDO3.js → chunk-GJOGFWX3.js} +20 -20
- package/dist/cli/{chunk-6Y5TU3R7.mjs → chunk-GPAWLXW3.mjs} +1 -1
- package/dist/cli/{chunk-5W4ENHWM.js → chunk-GZFZZQL4.js} +285 -264
- package/dist/cli/{chunk-P7A3H6G5.mjs → chunk-HARZ4AAX.mjs} +1 -1
- package/dist/cli/{chunk-MEGHIX4M.js → chunk-HFIFKP3A.js} +5 -5
- package/dist/cli/{chunk-LHE2TSV6.mjs → chunk-IGAK22XO.mjs} +1 -1
- package/dist/cli/{chunk-VTK3HGMN.mjs → chunk-IKYN6PLO.mjs} +5 -5
- package/dist/cli/{chunk-UREAIHUU.mjs → chunk-ITLZBDSR.mjs} +3 -3
- package/dist/cli/{chunk-6LG7MLJ2.js → chunk-IVFFCAV2.js} +44 -44
- package/dist/cli/{chunk-SYTWWVIQ.js → chunk-K3GMDSUX.js} +5 -5
- package/dist/cli/{chunk-WKHPLBJK.js → chunk-L5J6UJ2X.js} +15 -15
- package/dist/cli/{chunk-X5KOHDJN.mjs → chunk-L6QE2XVM.mjs} +1 -1
- package/dist/cli/{chunk-SH32HL7I.js → chunk-LMLSOHTU.js} +53 -53
- package/dist/cli/{chunk-JCWNF44W.js → chunk-MBQELFL7.js} +22 -22
- package/dist/cli/{chunk-Z7SXGOIQ.mjs → chunk-MF7PCM6C.mjs} +1 -1
- package/dist/cli/{chunk-F2VEFMU5.js → chunk-MO7TGNXB.js} +13 -13
- package/dist/cli/{chunk-7ZW67ME6.mjs → chunk-MOZEAGSR.mjs} +1 -1
- package/dist/cli/{chunk-5VNQMVCU.js → chunk-N63U5CRG.js} +26 -26
- package/dist/cli/{chunk-JCH4UNNS.js → chunk-NBYFQZ6O.js} +2 -2
- package/dist/cli/{chunk-BTFUAGHC.js → chunk-OVYXYTEP.js} +16 -16
- package/dist/cli/{chunk-J65HJCJO.mjs → chunk-PBMO36BP.mjs} +2 -2
- package/dist/cli/{chunk-F5YQXCP3.js → chunk-PVQCX6KQ.js} +50 -7
- package/dist/cli/{chunk-K2XELBPF.mjs → chunk-QLE3QKJ2.mjs} +5 -5
- package/dist/cli/{chunk-VAT2SXFF.js → chunk-QU3K3IY6.js} +12 -12
- package/dist/cli/{chunk-JYG4XZLT.js → chunk-REAFIEV5.js} +99 -99
- package/dist/cli/{chunk-5OEFXAKP.mjs → chunk-RMCCB3XY.mjs} +50 -7
- package/dist/cli/{chunk-HJR2DDJS.mjs → chunk-RXRC2COC.mjs} +2 -2
- package/dist/cli/{chunk-4AZLGNXV.js → chunk-SAJWYN4B.js} +4 -4
- package/dist/cli/{chunk-VXTTAYOT.mjs → chunk-TNJG4ZPN.mjs} +3 -3
- package/dist/cli/{chunk-PMDHY2YK.js → chunk-VNOQEDVC.js} +7 -7
- package/dist/cli/{chunk-GOOF7E2B.mjs → chunk-VPF54TXQ.mjs} +5 -5
- package/dist/cli/{chunk-2HSZCQMT.mjs → chunk-WYT3H6JD.mjs} +1 -1
- package/dist/cli/{chunk-OAKWSLKS.mjs → chunk-XMBVHJPR.mjs} +28 -7
- package/dist/cli/{chunk-7MY7KWJS.mjs → chunk-XNTDTAKC.mjs} +1 -1
- package/dist/cli/{chunk-5V7NZKGG.js → chunk-YURGAKI3.js} +2 -2
- package/dist/cli/{chunk-ND7SFRQL.js → chunk-YVKLF7RW.js} +2 -2
- package/dist/cli/{chunk-6FBDTYR2.mjs → chunk-Z2YGQZWV.mjs} +2 -2
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{concurrent-runs-help-C2O5YKQA.mjs → concurrent-runs-help-ZNGP563R.mjs} +6 -6
- package/dist/cli/concurrent-runs-help-ZYISYOQA.js +21 -0
- package/dist/cli/{csv-Z4DNGR54.mjs → csv-VAHQHYYV.mjs} +4 -4
- package/dist/cli/{csv-MJDNOIQJ.js → csv-X6D4ZELE.js} +13 -13
- package/dist/cli/{db-4RL2BNOF.mjs → db-4G4S2VOV.mjs} +7 -7
- package/dist/cli/{db-S5QVPK5E.js → db-YA5ZGVEX.js} +28 -28
- package/dist/cli/{describe-L4P5SZLQ.mjs → describe-EVXEM2S6.mjs} +19 -19
- package/dist/cli/describe-GYYSLZLV.js +50 -0
- package/dist/cli/describe-core.d.mts +4 -4
- package/dist/cli/describe-core.d.ts +4 -4
- package/dist/cli/{executions-MFZ2Z36O.js → executions-5YC7ABF6.js} +9 -9
- package/dist/cli/{executions-RR6O3XK5.mjs → executions-HR6CTN5M.mjs} +7 -7
- package/dist/cli/{feedback-EQBQ3ABB.mjs → feedback-GEU5SPLR.mjs} +6 -6
- package/dist/cli/{feedback-YDAG7VH2.js → feedback-MJHSYLFF.js} +14 -14
- package/dist/cli/git-FZIQZNI4.js +25 -0
- package/dist/cli/{git-YGLCCU35.mjs → git-NPFF6QUS.mjs} +5 -5
- package/dist/cli/index.js +146 -146
- package/dist/cli/index.mjs +45 -45
- package/dist/cli/{integrations-IQXYMRMW.js → integrations-YPHFI77G.js} +19 -17
- package/dist/cli/{integrations-FWYXSBHK.mjs → integrations-Z7EGVBHF.mjs} +11 -9
- package/dist/cli/{legacy-noops-U7LI7UXC.js → legacy-noops-246E3KKG.js} +9 -9
- package/dist/cli/{legacy-noops-I4YRIX5F.mjs → legacy-noops-5IYCFWWX.mjs} +6 -6
- package/dist/cli/{mcp-QJBMB6VS.mjs → mcp-WUYGZXPI.mjs} +4 -4
- package/dist/cli/{mcp-GX2UKKWU.js → mcp-YTYTW67G.js} +24 -24
- package/dist/cli/{monitors-Z6EGKYJP.mjs → monitors-73DQKCU7.mjs} +26 -8
- package/dist/cli/{monitors-WCJYINGX.js → monitors-SA6ILD6Z.js} +119 -101
- package/dist/cli/{org-NNHICBR2.mjs → org-WVQRB2KX.mjs} +7 -7
- package/dist/cli/{org-7SKG423N.js → org-X7ELDV7B.js} +89 -89
- package/dist/cli/{play-CXDFPJ7Z.mjs → play-QI6V2EUQ.mjs} +295 -67
- package/dist/cli/{play-4P4DTG3Q.js → play-QTYOAJPE.js} +897 -669
- package/dist/cli/{providers-VQLQ7DTR.mjs → providers-DPVMVDS4.mjs} +7 -7
- package/dist/cli/{providers-EE4TUE3O.js → providers-XXFLVREV.js} +10 -10
- package/dist/cli/{quickstart-RVXHK4WA.js → quickstart-33ISXQJU.js} +6 -6
- package/dist/cli/{quickstart-IYNJRB5G.mjs → quickstart-YWGNHULM.mjs} +4 -4
- package/dist/cli/{run-R3F34KU3.js → run-BWHZXLTD.js} +45 -45
- package/dist/cli/{run-VBQPPMEX.mjs → run-J6FCAKQC.mjs} +25 -25
- package/dist/cli/search-JCWJX2XD.js +32 -0
- package/dist/cli/{search-B7R62HX5.mjs → search-Z3UU3WBB.mjs} +8 -8
- package/dist/cli/{search-output-LNQQXIGZ.mjs → search-output-OJYY4J7E.mjs} +4 -4
- package/dist/cli/{search-output-LWHWEPOT.js → search-output-YIPV74ME.js} +6 -6
- package/dist/cli/{secrets-QBOZ7WTD.js → secrets-UXRJCEN4.js} +16 -16
- package/dist/cli/{secrets-NM3VAJLO.mjs → secrets-YZZN2WST.mjs} +7 -7
- package/dist/cli/{sessions-R5BSIJ4I.mjs → sessions-ITCGPD7Z.mjs} +6 -6
- package/dist/cli/sessions-NA4SJH6Q.js +22 -0
- package/dist/cli/{settings-POYWKNRD.js → settings-LAFYMILP.js} +86 -86
- package/dist/cli/{settings-S4PN7WLY.mjs → settings-ZP2LSVNM.mjs} +13 -13
- package/dist/cli/{setup-VHB4Z654.js → setup-4AL3XYM5.js} +49 -49
- package/dist/cli/{setup-PFLXVBTL.mjs → setup-WEQAQSYC.mjs} +9 -9
- package/dist/cli/{skills-W2TELEU7.mjs → skills-NQH4HFW2.mjs} +7 -7
- package/dist/cli/skills-XZ4Y6SZ7.js +36 -0
- package/dist/cli/{tools-M4FA6N3Y.mjs → tools-CXK2GSI4.mjs} +18 -18
- package/dist/cli/tools-WJQ6Y7E4.js +57 -0
- package/dist/cli/{update-W7LIHEA7.mjs → update-3ROF3Z75.mjs} +9 -9
- package/dist/cli/update-ZLRLTBRD.js +34 -0
- package/dist/cli/{views-KTVPV6UP.mjs → views-AOUHVGV2.mjs} +7 -7
- package/dist/cli/{views-DJXAGD7V.js → views-XJFO5CEH.js} +22 -22
- package/dist/cli/{workflow-NVZDJKH2.js → workflow-GY3DBHXX.js} +18 -18
- package/dist/cli/{workflow-LGKCRODX.mjs → workflow-KBS2QJK6.mjs} +8 -8
- package/dist/{client-Tp1LSULB.d.mts → client-D1uWA2Vc.d.mts} +1 -1
- package/dist/{client-CCyWJqAI.d.ts → client-Hz7SsBXs.d.ts} +1 -1
- package/dist/{client-core-BpYiYEfu.d.ts → client-core-D3Ad7Flt.d.ts} +554 -504
- package/dist/{client-core-D8eCZz3O.d.mts → client-core-Db_e63Hb.d.mts} +554 -504
- package/dist/{compiler-manifest-EBWEUj0b.d.ts → compiler-manifest-BqwVrOri.d.mts} +38 -18
- package/dist/{compiler-manifest-EBWEUj0b.d.mts → compiler-manifest-BqwVrOri.d.ts} +38 -18
- package/dist/{errors-CParKUQR.d.mts → errors-BU8FB99X.d.mts} +1 -1
- package/dist/{errors-Qt0OTA7_.d.ts → errors-DfVN_FUG.d.ts} +1 -1
- package/dist/{index-CoqDkIw0.d.ts → index-BGnvtYGc.d.ts} +6 -1
- package/dist/{index-BMUVCNp7.d.mts → index-DjZgwpGw.d.mts} +6 -1
- package/dist/index.d.mts +28 -8
- package/dist/index.d.ts +28 -8
- package/dist/index.js +64 -39
- package/dist/index.mjs +32 -7
- package/dist/install-integrity.json +133 -128
- package/dist/plays/bundle-play-file.d.mts +3 -3
- package/dist/plays/bundle-play-file.d.ts +3 -3
- package/dist/plays/bundle-play-file.mjs +620 -124
- package/dist/plays/play-description.d.mts +3 -3
- package/dist/plays/play-description.d.ts +3 -3
- 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 +6 -6
- package/dist/server.mjs +4 -4
- package/package.json +1 -1
- package/dist/cli/auth-W32GMYND.js +0 -43
- package/dist/cli/concurrent-runs-help-6QT7ZR4W.js +0 -21
- package/dist/cli/describe-VLU2LUDJ.js +0 -50
- package/dist/cli/git-E6W44F5M.js +0 -25
- package/dist/cli/search-UUVFXZRA.js +0 -32
- package/dist/cli/sessions-K3PD73Q2.js +0 -22
- package/dist/cli/skills-QNE2EYT3.js +0 -36
- package/dist/cli/tools-3RLI4HGF.js +0 -57
- package/dist/cli/update-UT6KIW2W.js +0 -34
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
var _chunkAID3OYVJjs = require('./chunk-AID3OYVJ.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkK3GMDSUXjs = require('./chunk-K3GMDSUX.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
10
|
-
require('./chunk-
|
|
9
|
+
var _chunkGZFZZQL4js = require('./chunk-GZFZZQL4.js');
|
|
10
|
+
require('./chunk-4WAM6TLD.js');
|
|
11
11
|
require('./chunk-SL6MYJYM.js');
|
|
12
12
|
require('./chunk-PMH4GLMD.js');
|
|
13
13
|
require('./chunk-XDVT3GOM.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 _chunkGJOGFWX3js = require('./chunk-GJOGFWX3.js');
|
|
24
|
+
require('./chunk-2HPTLBNB.js');
|
|
25
|
+
require('./chunk-SAJWYN4B.js');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
var _chunkEITMD3A5js = require('./chunk-EITMD3A5.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-FFBXLFKV.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 = _chunkGJOGFWX3js.dataExportRows.call(void 0, customerDbRows(result));
|
|
57
|
+
const responseColumns = _chunkGJOGFWX3js.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 _chunkGJOGFWX3js.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
|
+
_chunkGJOGFWX3js.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 || _chunkGJOGFWX3js.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
|
+
_chunkGJOGFWX3js.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
|
+
_chunkGJOGFWX3js.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: _chunkGJOGFWX3js.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 = _chunkGJOGFWX3js.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
|
+
_chunkGJOGFWX3js.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
|
+
_chunkGJOGFWX3js.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
|
+
_chunkGJOGFWX3js.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 = _chunkGZFZZQL4js.planCustomerDbQuery.call(void 0, query);
|
|
356
356
|
if (options.dryRun) {
|
|
357
|
-
|
|
357
|
+
_chunkGJOGFWX3js.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 || _chunkGJOGFWX3js.shouldEmitJson.call(void 0, ) }
|
|
371
371
|
);
|
|
372
372
|
return 0;
|
|
373
373
|
}
|
|
374
|
-
const client = new (0,
|
|
374
|
+
const client = new (0, _chunkK3GMDSUXjs.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 _chunkEITMD3A5js.CustomerDbQueryOutcomeUnknownError && (options.json ||
|
|
384
|
-
|
|
383
|
+
if (error instanceof _chunkEITMD3A5js.CustomerDbQueryOutcomeUnknownError && (options.json || _chunkGJOGFWX3js.shouldEmitJson.call(void 0, ))) {
|
|
384
|
+
_chunkGJOGFWX3js.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 = _chunkGJOGFWX3js.argsWantJson.call(void 0, args);
|
|
433
|
+
const client = new (0, _chunkK3GMDSUXjs.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
|
+
_chunkGJOGFWX3js.printCommandEnvelope.call(void 0,
|
|
450
450
|
{
|
|
451
451
|
command: "db repair",
|
|
452
452
|
status: result.status,
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
findNamed,
|
|
4
4
|
nothingNamed,
|
|
5
5
|
registerDescribeCommand
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-QLE3QKJ2.mjs";
|
|
7
|
+
import "./chunk-5SFHPMBY.mjs";
|
|
8
|
+
import "./chunk-MOZEAGSR.mjs";
|
|
9
|
+
import "./chunk-PBMO36BP.mjs";
|
|
10
|
+
import "./chunk-AEQ5VWZ5.mjs";
|
|
11
11
|
import "./chunk-5AEDYVB6.mjs";
|
|
12
12
|
import {
|
|
13
13
|
DEEPLINE_NAMESPACE
|
|
@@ -17,27 +17,27 @@ import "./chunk-7AOFSZJM.mjs";
|
|
|
17
17
|
import "./chunk-OVDNJAJN.mjs";
|
|
18
18
|
import "./chunk-FR2ILQ4G.mjs";
|
|
19
19
|
import "./chunk-FIVKWNMT.mjs";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-RXRC2COC.mjs";
|
|
21
21
|
import "./chunk-2GEYN3H4.mjs";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-XMBVHJPR.mjs";
|
|
23
|
+
import "./chunk-FZHMNK6F.mjs";
|
|
24
24
|
import "./chunk-LX35AXTN.mjs";
|
|
25
25
|
import "./chunk-PSX3WHIH.mjs";
|
|
26
26
|
import "./chunk-UBKA33KY.mjs";
|
|
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-
|
|
36
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-ESCVHDNY.mjs";
|
|
28
|
+
import "./chunk-G6KW764N.mjs";
|
|
29
|
+
import "./chunk-IKYN6PLO.mjs";
|
|
30
|
+
import "./chunk-HARZ4AAX.mjs";
|
|
31
|
+
import "./chunk-FMQXAOVE.mjs";
|
|
32
|
+
import "./chunk-VPF54TXQ.mjs";
|
|
33
|
+
import "./chunk-L6QE2XVM.mjs";
|
|
34
|
+
import "./chunk-TNJG4ZPN.mjs";
|
|
35
|
+
import "./chunk-GPAWLXW3.mjs";
|
|
36
|
+
import "./chunk-DJI5CLLW.mjs";
|
|
37
37
|
import "./chunk-NURW5XH4.mjs";
|
|
38
38
|
import "./chunk-DLIRSHV6.mjs";
|
|
39
39
|
import "./chunk-JL2OTMSG.mjs";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-XNTDTAKC.mjs";
|
|
41
41
|
import "./chunk-WZYKRD7T.mjs";
|
|
42
42
|
import "./chunk-5JPKRDFC.mjs";
|
|
43
43
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkL5J6UJ2Xjs = require('./chunk-L5J6UJ2X.js');
|
|
7
|
+
require('./chunk-REAFIEV5.js');
|
|
8
|
+
require('./chunk-VNOQEDVC.js');
|
|
9
|
+
require('./chunk-QU3K3IY6.js');
|
|
10
|
+
require('./chunk-E2OIYPB4.js');
|
|
11
|
+
require('./chunk-D3BCSAN7.js');
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
var _chunkRKF263LRjs = require('./chunk-RKF263LR.js');
|
|
15
|
+
require('./chunk-ECWOIXAV.js');
|
|
16
|
+
require('./chunk-XYIECA7M.js');
|
|
17
|
+
require('./chunk-AID3OYVJ.js');
|
|
18
|
+
require('./chunk-J33TSWO5.js');
|
|
19
|
+
require('./chunk-HGFFYVXN.js');
|
|
20
|
+
require('./chunk-K3GMDSUX.js');
|
|
21
|
+
require('./chunk-BLMB4N63.js');
|
|
22
|
+
require('./chunk-GZFZZQL4.js');
|
|
23
|
+
require('./chunk-4WAM6TLD.js');
|
|
24
|
+
require('./chunk-SL6MYJYM.js');
|
|
25
|
+
require('./chunk-PMH4GLMD.js');
|
|
26
|
+
require('./chunk-XDVT3GOM.js');
|
|
27
|
+
require('./chunk-MBQELFL7.js');
|
|
28
|
+
require('./chunk-YVKLF7RW.js');
|
|
29
|
+
require('./chunk-OVYXYTEP.js');
|
|
30
|
+
require('./chunk-NBYFQZ6O.js');
|
|
31
|
+
require('./chunk-ABLTVG3J.js');
|
|
32
|
+
require('./chunk-IVFFCAV2.js');
|
|
33
|
+
require('./chunk-2AHY47SI.js');
|
|
34
|
+
require('./chunk-GJOGFWX3.js');
|
|
35
|
+
require('./chunk-2HPTLBNB.js');
|
|
36
|
+
require('./chunk-SAJWYN4B.js');
|
|
37
|
+
require('./chunk-EITMD3A5.js');
|
|
38
|
+
require('./chunk-XNYIZMNQ.js');
|
|
39
|
+
require('./chunk-BBTKAASQ.js');
|
|
40
|
+
require('./chunk-FFBXLFKV.js');
|
|
41
|
+
require('./chunk-OG64RBAC.js');
|
|
42
|
+
require('./chunk-RLX5ZFNX.js');
|
|
43
|
+
require('./chunk-COGTRVWW.js');
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
exports.DEEPLINE_NAMESPACE = _chunkRKF263LRjs.DEEPLINE_NAMESPACE; exports.describeAnything = _chunkL5J6UJ2Xjs.describeAnything; exports.findNamed = _chunkL5J6UJ2Xjs.findNamed; exports.nothingNamed = _chunkL5J6UJ2Xjs.nothingNamed; exports.registerDescribeCommand = _chunkL5J6UJ2Xjs.registerDescribeCommand;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
|
-
import { D as DeeplineClient } from '../client-
|
|
3
|
-
import {
|
|
4
|
-
import '../compiler-manifest-EBWEUj0b.mjs';
|
|
5
|
-
import '@sinclair/typebox';
|
|
2
|
+
import { D as DeeplineClient } from '../client-D1uWA2Vc.mjs';
|
|
3
|
+
import { c$ as ToolDefinition, P as DeeplineAgentModelDescription, bg as PlayDescription, cE as SearchType } from '../client-core-Db_e63Hb.mjs';
|
|
6
4
|
import 'zod';
|
|
5
|
+
import '../compiler-manifest-BqwVrOri.mjs';
|
|
6
|
+
import '@sinclair/typebox';
|
|
7
7
|
import '../monitor-fleet-contract.mjs';
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference path="./text-imports.d.ts" />
|
|
2
|
-
import { D as DeeplineClient } from '../client-
|
|
3
|
-
import {
|
|
4
|
-
import '../compiler-manifest-EBWEUj0b.js';
|
|
5
|
-
import '@sinclair/typebox';
|
|
2
|
+
import { D as DeeplineClient } from '../client-Hz7SsBXs.js';
|
|
3
|
+
import { c$ as ToolDefinition, P as DeeplineAgentModelDescription, bg as PlayDescription, cE as SearchType } from '../client-core-D3Ad7Flt.js';
|
|
6
4
|
import 'zod';
|
|
5
|
+
import '../compiler-manifest-BqwVrOri.js';
|
|
6
|
+
import '@sinclair/typebox';
|
|
7
7
|
import '../monitor-fleet-contract.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var _chunkK3GMDSUXjs = require('./chunk-K3GMDSUX.js');
|
|
4
|
+
require('./chunk-GZFZZQL4.js');
|
|
5
|
+
require('./chunk-4WAM6TLD.js');
|
|
6
6
|
require('./chunk-SL6MYJYM.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 _chunkGJOGFWX3js = require('./chunk-GJOGFWX3.js');
|
|
12
|
+
require('./chunk-2HPTLBNB.js');
|
|
13
|
+
require('./chunk-SAJWYN4B.js');
|
|
14
14
|
require('./chunk-EITMD3A5.js');
|
|
15
15
|
require('./chunk-XNYIZMNQ.js');
|
|
16
16
|
require('./chunk-BBTKAASQ.js');
|
|
17
|
-
require('./chunk-
|
|
17
|
+
require('./chunk-FFBXLFKV.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, _chunkK3GMDSUXjs.DeeplineClient)().executions.getByKey(
|
|
26
26
|
options.idempotencyKey
|
|
27
27
|
);
|
|
28
|
-
|
|
28
|
+
_chunkGJOGFWX3js.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-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-RXRC2COC.mjs";
|
|
4
|
+
import "./chunk-XMBVHJPR.mjs";
|
|
5
|
+
import "./chunk-FZHMNK6F.mjs";
|
|
6
6
|
import "./chunk-LX35AXTN.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-TNJG4ZPN.mjs";
|
|
12
|
+
import "./chunk-GPAWLXW3.mjs";
|
|
13
|
+
import "./chunk-DJI5CLLW.mjs";
|
|
14
14
|
import "./chunk-NURW5XH4.mjs";
|
|
15
15
|
import "./chunk-DLIRSHV6.mjs";
|
|
16
16
|
import "./chunk-JL2OTMSG.mjs";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-XNTDTAKC.mjs";
|
|
18
18
|
import "./chunk-WZYKRD7T.mjs";
|
|
19
19
|
import "./chunk-KRD6H754.mjs";
|
|
20
20
|
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
feedbackAgentSessionId,
|
|
3
3
|
uploadAgentSession
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ECUD4QPD.mjs";
|
|
5
5
|
import {
|
|
6
6
|
rejectRestrictedFeedback
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IGAK22XO.mjs";
|
|
8
8
|
import {
|
|
9
9
|
collectLocalEnvInfo,
|
|
10
10
|
getAuthedHttpClient,
|
|
11
11
|
printCommandEnvelope
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-TNJG4ZPN.mjs";
|
|
13
|
+
import "./chunk-GPAWLXW3.mjs";
|
|
14
14
|
import {
|
|
15
15
|
claudeProjectsRoots,
|
|
16
16
|
isAgentSessionId
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-DJI5CLLW.mjs";
|
|
18
18
|
import "./chunk-NURW5XH4.mjs";
|
|
19
19
|
import "./chunk-DLIRSHV6.mjs";
|
|
20
20
|
import "./chunk-JL2OTMSG.mjs";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-XNTDTAKC.mjs";
|
|
22
22
|
import "./chunk-WZYKRD7T.mjs";
|
|
23
23
|
import "./chunk-KRD6H754.mjs";
|
|
24
24
|
|
|
@@ -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 _chunkMO7TGNXBjs = require('./chunk-MO7TGNXB.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkYURGAKI3js = require('./chunk-YURGAKI3.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
13
|
-
require('./chunk-
|
|
12
|
+
var _chunkGJOGFWX3js = require('./chunk-GJOGFWX3.js');
|
|
13
|
+
require('./chunk-2HPTLBNB.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkSAJWYN4Bjs = require('./chunk-SAJWYN4B.js');
|
|
18
18
|
require('./chunk-EITMD3A5.js');
|
|
19
19
|
require('./chunk-XNYIZMNQ.js');
|
|
20
20
|
require('./chunk-BBTKAASQ.js');
|
|
21
|
-
require('./chunk-
|
|
21
|
+
require('./chunk-FFBXLFKV.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 (_chunkYURGAKI3js.rejectRestrictedFeedback.call(void 0, options)) return;
|
|
36
36
|
const message = resolveFeedbackText(text, options.file);
|
|
37
|
-
const { http } =
|
|
38
|
-
const environment =
|
|
37
|
+
const { http } = _chunkGJOGFWX3js.getAuthedHttpClient.call(void 0, );
|
|
38
|
+
const environment = _chunkGJOGFWX3js.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 _chunkMO7TGNXBjs.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, () => ( _chunkMO7TGNXBjs.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 && _chunkSAJWYN4Bjs.isAgentSessionId.call(void 0, sessionId) ? `deepline sessions send --session-id ${sessionId} --requested` : null;
|
|
59
|
+
_chunkGJOGFWX3js.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" : _chunkSAJWYN4Bjs.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")) {
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkN63U5CRGjs = require('./chunk-N63U5CRG.js');
|
|
9
|
+
require('./chunk-GJOGFWX3.js');
|
|
10
|
+
require('./chunk-2HPTLBNB.js');
|
|
11
|
+
require('./chunk-SAJWYN4B.js');
|
|
12
|
+
require('./chunk-EITMD3A5.js');
|
|
13
|
+
require('./chunk-XNYIZMNQ.js');
|
|
14
|
+
require('./chunk-BBTKAASQ.js');
|
|
15
|
+
require('./chunk-FFBXLFKV.js');
|
|
16
|
+
require('./chunk-OG64RBAC.js');
|
|
17
|
+
require('./chunk-COGTRVWW.js');
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
exports.handleDeploymentGet = _chunkN63U5CRGjs.handleDeploymentGet; exports.handleDeploymentsList = _chunkN63U5CRGjs.handleDeploymentsList; exports.registerGitCommands = _chunkN63U5CRGjs.registerGitCommands; exports.renderDeployment = _chunkN63U5CRGjs.renderDeployment; exports.renderDeploymentMonitorLines = _chunkN63U5CRGjs.renderDeploymentMonitorLines; exports.renderDeploymentPlayLines = _chunkN63U5CRGjs.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-56MEAGWA.mjs";
|
|
9
|
+
import "./chunk-TNJG4ZPN.mjs";
|
|
10
|
+
import "./chunk-GPAWLXW3.mjs";
|
|
11
|
+
import "./chunk-DJI5CLLW.mjs";
|
|
12
12
|
import "./chunk-NURW5XH4.mjs";
|
|
13
13
|
import "./chunk-DLIRSHV6.mjs";
|
|
14
14
|
import "./chunk-JL2OTMSG.mjs";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-XNTDTAKC.mjs";
|
|
16
16
|
import "./chunk-WZYKRD7T.mjs";
|
|
17
17
|
import "./chunk-KRD6H754.mjs";
|
|
18
18
|
export {
|