deepline 0.3.524 → 0.3.526
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/agent-runtime.ts +98 -0
- package/dist/bundling-sources/sdk/src/client-core.ts +8 -0
- package/dist/bundling-sources/sdk/src/http-core.ts +14 -0
- package/dist/bundling-sources/sdk/src/plays/play-description.ts +1 -0
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/types.ts +10 -0
- package/dist/bundling-sources/shared_libs/observability/dlq.ts +33 -5
- package/dist/bundling-sources/shared_libs/observability/queue-health.ts +9 -0
- package/dist/bundling-sources/shared_libs/observability/queue-item-connectors.ts +1 -0
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +38 -0
- package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +94 -9
- package/dist/bundling-sources/shared_libs/play-runtime/run-failure-class.ts +98 -0
- package/dist/bundling-sources/shared_libs/play-runtime/run-retry-summary.ts +202 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +60 -8
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-telemetry.ts +112 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +39 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/durable-run-inventory.ts +2 -2
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/durable-run-sql.ts +52 -5
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/play-run-recovery.ts +10 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-retry-facts.ts +62 -0
- package/dist/cli/{auth-QXJMVLPN.mjs → auth-JATW5XZE.mjs} +5 -5
- package/dist/cli/auth-L2POG3LL.js +43 -0
- package/dist/cli/{billing-N5R4HTHT.js → billing-TSHBJIJS.js} +83 -83
- package/dist/cli/{billing-SNSIFM4B.mjs → billing-UT5LIESH.mjs} +8 -8
- package/dist/cli/{chunk-PFKWKWUJ.mjs → chunk-26ULNPQ7.mjs} +2 -2
- package/dist/cli/{chunk-OQ5G7RFQ.mjs → chunk-2GJW4RAQ.mjs} +70 -3
- package/dist/cli/{chunk-HLAFGQPV.mjs → chunk-2JNX3MDG.mjs} +5 -2
- package/dist/cli/{chunk-V7KUBDEB.js → chunk-3MYI3IXW.js} +144 -141
- package/dist/cli/{chunk-WOEPDSO3.js → chunk-3ZEV5BS5.js} +26 -26
- package/dist/cli/{chunk-ATATJNJ6.js → chunk-46HEYGLY.js} +9 -9
- package/dist/cli/{chunk-I75VRGQG.js → chunk-477PXM65.js} +22 -22
- package/dist/cli/{chunk-RVHUW4TN.js → chunk-5YAJGRWB.js} +17 -17
- package/dist/cli/{chunk-T43FF5PF.mjs → chunk-6COGHW7B.mjs} +2 -2
- package/dist/cli/{chunk-V4RJ57MA.js → chunk-6DHEV6IA.js} +2 -2
- package/dist/cli/{chunk-VHTVXS5A.js → chunk-6H56LKJB.js} +16 -16
- package/dist/cli/{chunk-YKFW3NNA.mjs → chunk-6JMWATX5.mjs} +5 -5
- package/dist/cli/{chunk-II3BJKCH.mjs → chunk-77RAGJIZ.mjs} +2 -2
- package/dist/cli/{chunk-ITJ7NB2D.mjs → chunk-7AOFSZJM.mjs} +3 -1
- package/dist/cli/{chunk-OCT4SUJA.js → chunk-7COEN3IR.js} +146 -79
- package/dist/cli/{chunk-XURWFEXM.mjs → chunk-7FCD34YS.mjs} +31 -17
- package/dist/cli/{chunk-BXVYVIMB.js → chunk-B33J4YCC.js} +3 -3
- package/dist/cli/{chunk-RTDX5NNN.mjs → chunk-BFH3DJYV.mjs} +84 -57
- package/dist/cli/{chunk-GJYLC4JB.mjs → chunk-BNH4Y35W.mjs} +2 -2
- package/dist/cli/{chunk-GMO3JDZA.mjs → chunk-BVITYMBK.mjs} +2 -2
- package/dist/cli/{chunk-7QM6DNR4.js → chunk-BYEF4RBX.js} +11 -11
- package/dist/cli/{chunk-536TGWR6.mjs → chunk-C3EW6I65.mjs} +2 -2
- package/dist/cli/{chunk-HTYT2OHB.js → chunk-CDP3LMDT.js} +6 -6
- package/dist/cli/{chunk-YXVYPYIP.js → chunk-CYN2AHR6.js} +10 -10
- package/dist/cli/{chunk-CH7JVSA7.mjs → chunk-D2XMFXFM.mjs} +8 -8
- package/dist/cli/{chunk-2ZWNIS54.js → chunk-D5OEUPPM.js} +269 -269
- package/dist/cli/{chunk-FXTV5B3D.mjs → chunk-DY2AT3JQ.mjs} +12 -12
- package/dist/cli/{chunk-Z4MOEQSY.js → chunk-ED2N4NRI.js} +21 -21
- package/dist/cli/{chunk-RIX26ZJD.mjs → chunk-EEYZLTXX.mjs} +1 -1
- package/dist/cli/{chunk-7E6B7VMS.js → chunk-F5KFGF45.js} +5 -5
- package/dist/cli/{chunk-TZTWH53O.js → chunk-FMPGWAIR.js} +1 -1
- package/dist/cli/{chunk-R2VZVHJP.mjs → chunk-GESIFFQX.mjs} +1 -1
- package/dist/cli/{chunk-YCIXY66B.mjs → chunk-HPACLONQ.mjs} +2 -2
- package/dist/cli/{chunk-WCVIPZWX.mjs → chunk-IMP7WR22.mjs} +5 -5
- package/dist/cli/{chunk-KSQXBLRW.mjs → chunk-IWLDJQGV.mjs} +3 -3
- package/dist/cli/{chunk-EQNAQENZ.js → chunk-J5OXJ4JI.js} +2 -2
- package/dist/cli/{chunk-NUC7ZVDG.mjs → chunk-MQB25LMV.mjs} +5 -5
- package/dist/cli/{chunk-RUULUCBP.js → chunk-O7WUATQC.js} +97 -70
- package/dist/cli/{chunk-NMU3VR5U.js → chunk-PMH4GLMD.js} +1 -0
- package/dist/cli/{chunk-S3A4IXBQ.mjs → chunk-PSX3WHIH.mjs} +1 -0
- package/dist/cli/{chunk-LRWDZDBS.js → chunk-RZJWHL7L.js} +5 -5
- package/dist/cli/{chunk-66N76YZG.js → chunk-SCLRGDF4.js} +44 -44
- package/dist/cli/{chunk-SMWFOGUT.js → chunk-SJ6KUCGM.js} +53 -53
- package/dist/cli/{chunk-PFKKZVFK.js → chunk-TBQC2XS3.js} +41 -41
- package/dist/cli/{chunk-2ZX7XSAQ.mjs → chunk-TCLJXJAG.mjs} +4 -4
- package/dist/cli/{chunk-YGOI5ZE5.mjs → chunk-TVHDWS5U.mjs} +1 -1
- package/dist/cli/{chunk-MW3YMPD2.mjs → chunk-TXJW6RIM.mjs} +1 -1
- package/dist/cli/{chunk-KKPBCB6D.mjs → chunk-U6OUX47C.mjs} +2 -2
- package/dist/cli/{chunk-GTGJBZVH.js → chunk-UTCGCES2.js} +7 -7
- package/dist/cli/{chunk-V2YIBBVT.mjs → chunk-UUIC2JFZ.mjs} +1 -1
- package/dist/cli/{chunk-JDIQBZ6O.js → chunk-UWCEBS7F.js} +14 -14
- package/dist/cli/{chunk-ANKD3AIR.js → chunk-WBY3R55B.js} +2 -2
- package/dist/cli/{chunk-SF4QJVBE.js → chunk-WITNIMLE.js} +3 -3
- package/dist/cli/{chunk-7OQGZBDG.js → chunk-WL6GAZBD.js} +31 -17
- package/dist/cli/{chunk-R457IMHJ.mjs → chunk-WOLY6SU4.mjs} +1 -1
- package/dist/cli/{chunk-3WWTBQHC.mjs → chunk-XVIMOB2U.mjs} +2 -2
- package/dist/cli/{chunk-NTLBZUHD.js → chunk-XYIECA7M.js} +4 -2
- package/dist/cli/{chunk-BXIQD2IY.mjs → chunk-Y47OCS5V.mjs} +1 -1
- package/dist/cli/{chunk-EO55Y4QW.mjs → chunk-YNFPZVII.mjs} +5 -5
- package/dist/cli/{chunk-BN5VKY4X.js → chunk-ZS2WHWWL.js} +7 -7
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-HT2JBCW2.mjs → csv-4BLFRED6.mjs} +4 -4
- package/dist/cli/{csv-Q2LWKXAV.js → csv-KSJB5Z3M.js} +13 -13
- package/dist/cli/{db-XEV4WEE4.js → db-G7Z5CKO2.js} +28 -28
- package/dist/cli/{db-CS3XQ2LX.mjs → db-OVW6C3DV.mjs} +7 -7
- package/dist/cli/describe-KMYR2JBC.js +50 -0
- package/dist/cli/describe-OEFTD7WQ.mjs +50 -0
- package/dist/cli/describe-core.d.mts +4 -2
- package/dist/cli/describe-core.d.ts +4 -2
- package/dist/cli/describe-core.js +5 -5
- package/dist/cli/describe-core.mjs +4 -4
- package/dist/cli/{executions-L6XFG5MP.mjs → executions-7ZKQ4ZU3.mjs} +7 -7
- package/dist/cli/{executions-JCC34WAD.js → executions-O7USCBCW.js} +9 -9
- package/dist/cli/{feedback-AWBDO5I6.mjs → feedback-KUBL5E3I.mjs} +61 -13
- package/dist/cli/{feedback-HV2M2G7N.js → feedback-Y55WCRIQ.js} +65 -17
- package/dist/cli/{git-S4LRXTRX.mjs → git-C6ZAU5JA.mjs} +5 -5
- package/dist/cli/git-NBVQ3VGW.js +25 -0
- package/dist/cli/index.js +145 -145
- package/dist/cli/index.mjs +44 -44
- package/dist/cli/{legacy-noops-7MOKBL4O.mjs → legacy-noops-MUXD4HRC.mjs} +6 -6
- package/dist/cli/{legacy-noops-RGSZUD6V.js → legacy-noops-OVWX4KB3.js} +9 -9
- package/dist/cli/{monitors-XQNXDZPQ.mjs → monitors-2ZSGBY52.mjs} +8 -8
- package/dist/cli/{monitors-JEFM2C5W.js → monitors-3QVYGYWA.js} +101 -101
- package/dist/cli/{org-KTMJZGTN.mjs → org-RDSPE5FB.mjs} +7 -7
- package/dist/cli/{org-GYLA5V32.js → org-S6Z3SDLI.js} +87 -87
- package/dist/cli/{pages-WOMU2T2O.mjs → pages-K5DSMHLJ.mjs} +7 -7
- package/dist/cli/{pages-RY4U7OCL.js → pages-VUWF2OR7.js} +19 -19
- package/dist/cli/{play-KOYGGNYS.mjs → play-PZLXOYEX.mjs} +151 -102
- package/dist/cli/{play-2Q6MWJ3D.js → play-SQOJTUFC.js} +756 -707
- package/dist/cli/{providers-7YKDITJC.mjs → providers-AMIGP3D4.mjs} +7 -7
- package/dist/cli/{providers-HOIRHMN2.js → providers-FZBEPUOI.js} +10 -10
- package/dist/cli/{quickstart-RDXHSMVX.mjs → quickstart-HNOQKGOF.mjs} +4 -4
- package/dist/cli/{quickstart-OWCJOSQA.js → quickstart-QIHZDBGM.js} +6 -6
- package/dist/cli/{run-MT2ABKO5.js → run-IQGM3TO2.js} +46 -46
- package/dist/cli/{run-RT73NDP5.mjs → run-JDW6BDNT.mjs} +27 -27
- package/dist/cli/search-BNWRL3YY.js +33 -0
- package/dist/cli/{search-CJPKIGSA.mjs → search-DMVUKJ23.mjs} +9 -9
- package/dist/cli/{search-output-AREMA544.mjs → search-output-5UAPUUHH.mjs} +4 -4
- package/dist/cli/{search-output-OSBZ7WK6.js → search-output-UUW6UNHF.js} +6 -6
- package/dist/cli/{secrets-BTIY2FEJ.mjs → secrets-46KSTPFN.mjs} +7 -7
- package/dist/cli/{secrets-OV6KH633.js → secrets-U532KN24.js} +16 -16
- package/dist/cli/sessions-JZUONXH4.js +22 -0
- package/dist/cli/sessions-RUNWYHYX.mjs +22 -0
- package/dist/cli/{settings-7BQIC7QN.mjs → settings-56L3WHCY.mjs} +14 -14
- package/dist/cli/{settings-LBIECYDB.js → settings-O2A37FFA.js} +87 -87
- package/dist/cli/{setup-QZE7QR3F.js → setup-ETFSMSCH.js} +50 -50
- package/dist/cli/{setup-XPTSNNES.mjs → setup-Q27X6JZY.mjs} +10 -10
- package/dist/cli/skills-IKDJ5JDN.js +37 -0
- package/dist/cli/{skills-TGGKIQLT.mjs → skills-WFQRZL4D.mjs} +8 -8
- package/dist/cli/tools-B735AA67.js +57 -0
- package/dist/cli/{tools-MKIFX2TQ.mjs → tools-EV6CKJOX.mjs} +20 -20
- package/dist/cli/update-CNNURAM3.js +35 -0
- package/dist/cli/{update-5R3D3WNH.mjs → update-KIPPFVCH.mjs} +10 -10
- package/dist/cli/{views-VPWEINIA.js → views-DNZ2HFTA.js} +19 -19
- package/dist/cli/{views-VHKDHHUP.mjs → views-LMJXWD4N.mjs} +7 -7
- package/dist/cli/{workflow-D5DF65N6.mjs → workflow-3XKUQ73U.mjs} +8 -8
- package/dist/cli/{workflow-7K2VEQ4V.js → workflow-ZUDTIOK6.js} +18 -18
- package/dist/{client-C5_6W8yd.d.mts → client-Bd2meveV.d.mts} +1 -1
- package/dist/{client-iXW4TOat.d.ts → client-CBCVhL8U.d.ts} +1 -1
- package/dist/{client-core-Dob428Z4.d.mts → client-core-CGj8V9mw.d.mts} +67 -0
- package/dist/{client-core-B-GPfmaC.d.ts → client-core-CsRRWCFy.d.ts} +67 -0
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +10 -10
- package/dist/index.mjs +7 -7
- package/dist/install-integrity.json +121 -118
- package/dist/plays/play-description.d.mts +1 -1
- package/dist/plays/play-description.d.ts +1 -1
- package/dist/plays/play-description.js +2 -2
- package/dist/plays/play-description.mjs +1 -1
- package/dist/plays/run-request.d.mts +1 -1
- package/dist/plays/run-request.d.ts +1 -1
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/dist/server.d.mts +2 -2
- package/dist/server.d.ts +2 -2
- package/dist/server.js +6 -6
- package/dist/server.mjs +4 -4
- package/package.json +1 -1
- package/dist/cli/auth-OKPHHMMP.js +0 -43
- package/dist/cli/describe-5G5NXO5E.js +0 -50
- package/dist/cli/describe-OUTXLDGZ.mjs +0 -50
- package/dist/cli/git-GDPTG52F.js +0 -25
- package/dist/cli/search-7VBA6IGS.js +0 -33
- package/dist/cli/sessions-3CO3ZFOD.mjs +0 -18
- package/dist/cli/sessions-B3WNEWRW.js +0 -18
- package/dist/cli/skills-TXBRTWEV.js +0 -37
- package/dist/cli/tools-RZJV4X3J.js +0 -57
- package/dist/cli/update-YWGGPWUA.js +0 -35
|
@@ -1,34 +1,51 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var _chunkEQNAQENZjs = require('./chunk-EQNAQENZ.js');
|
|
4
3
|
|
|
4
|
+
var _chunkO7WUATQCjs = require('./chunk-O7WUATQC.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
+
var _chunkJ5OXJ4JIjs = require('./chunk-J5OXJ4JI.js');
|
|
7
8
|
|
|
8
|
-
var _chunkGTGJBZVHjs = require('./chunk-GTGJBZVH.js');
|
|
9
|
-
require('./chunk-SF4QJVBE.js');
|
|
10
9
|
|
|
11
10
|
|
|
12
|
-
|
|
11
|
+
|
|
12
|
+
var _chunkUTCGCES2js = require('./chunk-UTCGCES2.js');
|
|
13
|
+
require('./chunk-WITNIMLE.js');
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
var _chunk7COEN3IRjs = require('./chunk-7COEN3IR.js');
|
|
13
18
|
require('./chunk-T2N3B7IQ.js');
|
|
14
19
|
require('./chunk-XNYIZMNQ.js');
|
|
15
20
|
require('./chunk-SQWET4SL.js');
|
|
16
|
-
require('./chunk-
|
|
21
|
+
require('./chunk-FMPGWAIR.js');
|
|
17
22
|
require('./chunk-OG64RBAC.js');
|
|
18
23
|
require('./chunk-COGTRVWW.js');
|
|
19
24
|
|
|
20
25
|
// src/cli/commands/feedback.ts
|
|
21
26
|
var _commander = require('commander');
|
|
22
27
|
var _fs = require('fs');
|
|
28
|
+
var _path = require('path');
|
|
29
|
+
var SESSION_DISCOVERABLE_RUNTIMES = /* @__PURE__ */ new Set([
|
|
30
|
+
"claude_code",
|
|
31
|
+
"claude_cowork",
|
|
32
|
+
"codex"
|
|
33
|
+
]);
|
|
23
34
|
async function handleFeedback(text, options) {
|
|
24
|
-
if (
|
|
35
|
+
if (_chunkJ5OXJ4JIjs.rejectRestrictedFeedback.call(void 0, options)) return;
|
|
25
36
|
const message = resolveFeedbackText(text, options.file);
|
|
26
|
-
const { http } =
|
|
27
|
-
const environment =
|
|
28
|
-
const
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
37
|
+
const { http } = _chunkUTCGCES2js.getAuthedHttpClient.call(void 0, );
|
|
38
|
+
const environment = _chunkUTCGCES2js.collectLocalEnvInfo.call(void 0, );
|
|
39
|
+
const agentRuntime = _nullishCoalesce(environment.agent_runtime, () => ( "unknown"));
|
|
40
|
+
const uploadedSessionId = options.attachSession ? await _chunkO7WUATQCjs.uploadAgentSession.call(void 0, agentRuntime).catch((error) => {
|
|
41
|
+
throw new Error(
|
|
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
|
+
);
|
|
44
|
+
}) : null;
|
|
45
|
+
const sessionId = _nullishCoalesce(uploadedSessionId, () => ( _chunkO7WUATQCjs.feedbackAgentSessionId.call(void 0, agentRuntime)));
|
|
46
|
+
const warning = sessionId || !SESSION_DISCOVERABLE_RUNTIMES.has(agentRuntime) ? null : noSessionWarning(agentRuntime);
|
|
47
|
+
if (warning) process.stderr.write(`Warning: ${warning}
|
|
48
|
+
`);
|
|
32
49
|
const response = await http.post("/api/v2/cli/feedback", {
|
|
33
50
|
text: message,
|
|
34
51
|
requested: options.requested === true,
|
|
@@ -38,18 +55,44 @@ async function handleFeedback(text, options) {
|
|
|
38
55
|
...options.payload ? { payload: options.payload } : {},
|
|
39
56
|
...options.errorOutcome ? { error_outcome: options.errorOutcome } : {}
|
|
40
57
|
});
|
|
41
|
-
|
|
58
|
+
const uploadCommand = sessionId && !uploadedSessionId && _chunk7COEN3IRjs.isAgentSessionId.call(void 0, sessionId) ? `deepline sessions send --session-id ${sessionId} --requested` : null;
|
|
59
|
+
_chunkUTCGCES2js.printCommandEnvelope.call(void 0,
|
|
42
60
|
{
|
|
43
61
|
...response,
|
|
62
|
+
session_id: sessionId,
|
|
63
|
+
transcript_uploaded: uploadedSessionId !== null,
|
|
64
|
+
...warning ? { warnings: [warning] } : {},
|
|
44
65
|
render: {
|
|
45
66
|
sections: [
|
|
46
|
-
{
|
|
47
|
-
|
|
67
|
+
{
|
|
68
|
+
title: "feedback",
|
|
69
|
+
lines: [
|
|
70
|
+
"Feedback submitted. Thank you.",
|
|
71
|
+
...uploadedSessionId ? [
|
|
72
|
+
`Session ${uploadedSessionId} transcript uploaded and linked.`
|
|
73
|
+
] : sessionId ? [
|
|
74
|
+
`Linked to session ${sessionId}; its transcript was not uploaded.`
|
|
75
|
+
] : []
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
...uploadCommand ? {
|
|
80
|
+
actions: [
|
|
81
|
+
{
|
|
82
|
+
label: "With the user's approval, upload the transcript",
|
|
83
|
+
command: uploadCommand
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
} : {}
|
|
48
87
|
}
|
|
49
88
|
},
|
|
50
89
|
{ json: options.json }
|
|
51
90
|
);
|
|
52
91
|
}
|
|
92
|
+
function noSessionWarning(agentRuntime) {
|
|
93
|
+
const transcripts = agentRuntime === "codex" ? "~/.codex/sessions/**/*.jsonl" : _chunk7COEN3IRjs.claudeProjectsRoots.call(void 0, ).map((root) => _path.join.call(void 0, root, "*", "<session-id>.jsonl")).join(" or ");
|
|
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
|
+
}
|
|
53
96
|
function resolveFeedbackText(text, file, readFile = (path) => _fs.readFileSync.call(void 0, path, "utf8")) {
|
|
54
97
|
if (text !== void 0 && file !== void 0) {
|
|
55
98
|
throw new Error(
|
|
@@ -85,7 +128,8 @@ function registerFeedbackCommands(program) {
|
|
|
85
128
|
`
|
|
86
129
|
Notes:
|
|
87
130
|
Sends the feedback text plus local CLI environment info to Deepline support.
|
|
88
|
-
When run by Claude Code or Codex, the agent's session ID is
|
|
131
|
+
When run by Claude Code, Claude Cowork, or Codex, the agent's session ID is
|
|
132
|
+
attached too, but not its transcript: pass --attach-session to upload it.
|
|
89
133
|
Use --command and --payload to attach a reproducible command shape.
|
|
90
134
|
For error reports, use --error-outcome to record whether the error stopped the
|
|
91
135
|
task or work continued. In the default ask mode, ask the user first and
|
|
@@ -105,6 +149,7 @@ Examples:
|
|
|
105
149
|
cat incident.md | deepline feedback send --requested
|
|
106
150
|
deepline feedback send "tools search returned stale results" --requested
|
|
107
151
|
deepline feedback send "run failed after upload" --command "deepline run my.play.ts" --error-outcome terminal
|
|
152
|
+
deepline feedback send --file incident.md --requested --attach-session
|
|
108
153
|
`
|
|
109
154
|
).argument("[text]", "Feedback text").option("--file <path>", "Read feedback text from a file, or - for stdin").option("--command <command>", "Command that reproduced the issue").option("--payload <payload>", "JSON or plain-text payload for the repro").addOption(
|
|
110
155
|
new (0, _commander.Option)(
|
|
@@ -114,6 +159,9 @@ Examples:
|
|
|
114
159
|
).option(
|
|
115
160
|
"--requested",
|
|
116
161
|
"Mark the report as requested or approved by the user"
|
|
162
|
+
).option(
|
|
163
|
+
"--attach-session",
|
|
164
|
+
"Also upload the calling agent's session transcript and link it"
|
|
117
165
|
).option("--json", "Emit JSON output").action(handleFeedback);
|
|
118
166
|
}
|
|
119
167
|
|
|
@@ -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-BVITYMBK.mjs";
|
|
9
|
+
import "./chunk-XVIMOB2U.mjs";
|
|
10
|
+
import "./chunk-TXJW6RIM.mjs";
|
|
11
|
+
import "./chunk-2GJW4RAQ.mjs";
|
|
12
12
|
import "./chunk-QNHHZ63P.mjs";
|
|
13
13
|
import "./chunk-DLIRSHV6.mjs";
|
|
14
14
|
import "./chunk-ZPGGW27Q.mjs";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-EEYZLTXX.mjs";
|
|
16
16
|
import "./chunk-WZYKRD7T.mjs";
|
|
17
17
|
import "./chunk-KRD6H754.mjs";
|
|
18
18
|
export {
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunk3ZEV5BS5js = require('./chunk-3ZEV5BS5.js');
|
|
9
|
+
require('./chunk-UTCGCES2.js');
|
|
10
|
+
require('./chunk-WITNIMLE.js');
|
|
11
|
+
require('./chunk-7COEN3IR.js');
|
|
12
|
+
require('./chunk-T2N3B7IQ.js');
|
|
13
|
+
require('./chunk-XNYIZMNQ.js');
|
|
14
|
+
require('./chunk-SQWET4SL.js');
|
|
15
|
+
require('./chunk-FMPGWAIR.js');
|
|
16
|
+
require('./chunk-OG64RBAC.js');
|
|
17
|
+
require('./chunk-COGTRVWW.js');
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
exports.handleDeploymentGet = _chunk3ZEV5BS5js.handleDeploymentGet; exports.handleDeploymentsList = _chunk3ZEV5BS5js.handleDeploymentsList; exports.registerGitCommands = _chunk3ZEV5BS5js.registerGitCommands; exports.renderDeployment = _chunk3ZEV5BS5js.renderDeployment; exports.renderDeploymentMonitorLines = _chunk3ZEV5BS5js.renderDeploymentMonitorLines; exports.renderDeploymentPlayLines = _chunk3ZEV5BS5js.renderDeploymentPlayLines;
|