deepline 0.3.370 → 0.3.371
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/README.md +1 -1
- package/dist/bundling-sources/sdk/src/client.ts +8 -8
- package/dist/bundling-sources/sdk/src/release.ts +1 -7
- package/dist/bundling-sources/sdk/src/runs/overview.ts +7 -7
- package/dist/bundling-sources/sdk/src/tool-output.ts +5 -1
- package/dist/bundling-sources/sdk/src/types.ts +2 -2
- package/dist/bundling-sources/shared_libs/monitors/fleets/errors.ts +5 -5
- package/dist/bundling-sources/shared_libs/monitors/http-error-response.ts +18 -18
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-capability.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +2 -2
- package/dist/bundling-sources/shared_libs/play-runtime/dataset-lifecycle-log.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +1 -1
- package/dist/bundling-sources/shared_libs/plays/launch/input-contract.ts +34 -9
- package/dist/cli/auth-DQVK3ZI6.js +33 -0
- package/dist/cli/{auth-RIH4S7NC.mjs → auth-LCSEXQA2.mjs} +4 -4
- package/dist/cli/{billing-Q65H5GJM.js → billing-KISDL67A.js} +148 -148
- package/dist/cli/{billing-ERNGN6WK.mjs → billing-Z7PLJC5C.mjs} +79 -79
- package/dist/cli/{chunk-MX53GIOB.js → chunk-2JRRXXTA.js} +2 -2
- package/dist/cli/{chunk-BKHNCIQD.mjs → chunk-2L6LBJVC.mjs} +193 -187
- package/dist/cli/{chunk-IDBLJSLL.mjs → chunk-3FTYFVYN.mjs} +5 -5
- package/dist/cli/{chunk-Z6B4UPM4.mjs → chunk-3GK3SH3G.mjs} +2 -2
- package/dist/cli/{chunk-4Y5UDYQK.js → chunk-44SHFHA3.js} +17 -17
- package/dist/cli/{chunk-RLXMRC6P.mjs → chunk-46JCJ7FT.mjs} +49 -96
- package/dist/cli/{chunk-XTKVXHGD.js → chunk-5BCVKWLV.js} +17 -17
- package/dist/cli/{chunk-A5RFERJQ.mjs → chunk-5S525TQV.mjs} +2 -2
- package/dist/cli/{chunk-WQZ22EQU.js → chunk-5Z7JFUNX.js} +26 -26
- package/dist/cli/{chunk-T64NZ2A7.mjs → chunk-73NIXYKH.mjs} +46 -47
- package/dist/cli/{chunk-SFI7U6CA.js → chunk-A7X7KFXX.js} +4 -4
- package/dist/cli/{chunk-YQMUTC2H.mjs → chunk-AIZKDTFF.mjs} +11 -11
- package/dist/cli/{chunk-MKFHZDBO.js → chunk-BO3ADIBV.js} +8 -8
- package/dist/cli/{chunk-NHB3UWTZ.js → chunk-C3IPN4E6.js} +17 -17
- package/dist/cli/{chunk-A4OX52RV.js → chunk-C553OZGG.js} +10 -10
- package/dist/cli/{chunk-GGRVNAOH.mjs → chunk-DOXAN2I7.mjs} +3 -3
- package/dist/cli/{chunk-YEEESF2T.js → chunk-DPVBWLBF.js} +419 -413
- package/dist/cli/{chunk-R7AAYFDQ.js → chunk-DQMTJXLK.js} +102 -103
- package/dist/cli/{chunk-NXDRDJ4K.js → chunk-E5UD3JDQ.js} +3 -1
- package/dist/cli/{chunk-LNEBKWXM.mjs → chunk-IWY7T6MR.mjs} +1 -1
- package/dist/cli/{chunk-MIMASXO4.mjs → chunk-JB6ERQUV.mjs} +3 -1
- package/dist/cli/{chunk-CTMA3C3N.js → chunk-JSK6GUY6.js} +49 -96
- package/dist/cli/{chunk-H4IQJRFC.mjs → chunk-KBJO7HIF.mjs} +9 -9
- package/dist/cli/{chunk-HHH4MPFY.mjs → chunk-KGRAQ4OR.mjs} +6 -6
- package/dist/cli/{chunk-LJWOPNJJ.mjs → chunk-KKRRIFR3.mjs} +1 -1
- package/dist/cli/{chunk-DFJDVQMH.js → chunk-N34UX4TW.js} +2 -2
- package/dist/cli/{chunk-666HPUIZ.js → chunk-NMDNUOVI.js} +1 -6
- package/dist/cli/{chunk-5DUTNG37.mjs → chunk-SEDS6ZVR.mjs} +10 -10
- package/dist/cli/{chunk-BGXG3GEI.mjs → chunk-SENW5J4O.mjs} +5 -5
- package/dist/cli/{chunk-Y2B56VN7.js → chunk-TT2YWFYW.js} +53 -53
- package/dist/cli/{chunk-A6DJC2RC.js → chunk-YENBXYUH.js} +68 -68
- package/dist/cli/{chunk-NEY2M4EZ.mjs → chunk-YYFLULK7.mjs} +1 -6
- package/dist/cli/client-JFSRNUVD.js +20 -0
- package/dist/cli/{client-QXOERIFI.mjs → client-Z3Z5EDDJ.mjs} +3 -3
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-V7UKQ7AC.mjs → csv-TEVHLGGA.mjs} +3 -3
- package/dist/cli/{csv-ZKIUSDIV.js → csv-XGFXV7JE.js} +12 -12
- package/dist/cli/{db-GWKRVHKS.js → db-LLZJ7UH5.js} +42 -43
- package/dist/cli/{db-QQ4BYMPY.mjs → db-OB7PMWSZ.mjs} +17 -18
- package/dist/cli/{describe-XMWXEFMS.mjs → describe-GZIRANUZ.mjs} +12 -12
- package/dist/cli/{describe-3AJI2BOS.js → describe-NWU7LI3I.js} +28 -28
- package/dist/cli/{executions-2IMCCV34.js → executions-64YZGSOW.js} +6 -6
- package/dist/cli/{executions-QV7UE5YG.mjs → executions-7UZ3ZGJ3.mjs} +4 -4
- package/dist/cli/{feedback-K6WNXZDB.mjs → feedback-2WRQRW3U.mjs} +8 -8
- package/dist/cli/{feedback-7SSJ7VPF.js → feedback-MN5CXULH.js} +12 -12
- package/dist/cli/{git-UOE2K2XQ.mjs → git-BPYVLLTY.mjs} +4 -4
- package/dist/cli/git-TJIPVSAE.js +23 -0
- package/dist/cli/index.js +98 -109
- package/dist/cli/index.mjs +46 -57
- package/dist/cli/{legacy-noops-GC43OSXL.js → legacy-noops-VMXJPLMW.js} +9 -9
- package/dist/cli/{legacy-noops-SOYPIA2X.mjs → legacy-noops-ZRPWEPX6.mjs} +6 -6
- package/dist/cli/{monitors-FLCGMXVH.mjs → monitors-5BRTBL7E.mjs} +59 -59
- package/dist/cli/{monitors-AXANB6WK.js → monitors-OQSI2VOL.js} +140 -140
- package/dist/cli/{org-MXD4BTQI.js → org-F5QS3HG4.js} +88 -87
- package/dist/cli/{org-Q7EDNZMN.mjs → org-SMZ7AGR3.mjs} +28 -27
- package/dist/cli/{play-TZROCF7E.mjs → play-CJZNLQL7.mjs} +10 -8
- package/dist/cli/play-K7HE4LBB.js +155 -0
- package/dist/cli/{providers-JEY4FTWG.mjs → providers-CBWXJRDG.mjs} +7 -7
- package/dist/cli/{providers-LOS4MHAG.js → providers-SH2HYOVR.js} +10 -10
- package/dist/cli/{quickstart-WO5KVVER.mjs → quickstart-342ENF6Q.mjs} +4 -4
- package/dist/cli/{quickstart-27UQGHEH.js → quickstart-B6EL7WDG.js} +6 -6
- package/dist/cli/{search-LZHWXC2C.mjs → search-E7DKH3SI.mjs} +5 -5
- package/dist/cli/search-SEEYCQED.js +26 -0
- package/dist/cli/{secrets-AVJGZABR.mjs → secrets-FSYIPRVS.mjs} +5 -5
- package/dist/cli/{secrets-PE7P4L7N.js → secrets-M2AW5RGE.js} +14 -14
- package/dist/cli/{sessions-I6UDBN7M.js → sessions-AFE4C3FQ.js} +5 -5
- package/dist/cli/{sessions-ZDSZTYZV.mjs → sessions-DJPGWPNA.mjs} +4 -4
- package/dist/cli/{settings-SPWH3FET.mjs → settings-KLN2A3PQ.mjs} +10 -10
- package/dist/cli/{settings-3SLMJHJ2.js → settings-VUWBNATC.js} +77 -77
- package/dist/cli/{setup-Q3CJ4T2Q.mjs → setup-BE6N5YV6.mjs} +15 -15
- package/dist/cli/{setup-R4LUWQE4.js → setup-I5IMTQCX.js} +50 -50
- package/dist/cli/skills-7XH5GMZB.js +28 -0
- package/dist/cli/{skills-FGXH432G.mjs → skills-GSNPQDUG.mjs} +4 -4
- package/dist/cli/tools-JCL4ABAF.js +40 -0
- package/dist/cli/{tools-O7C6PFF2.mjs → tools-ORCGHV4P.mjs} +8 -8
- package/dist/cli/{update-PPCQV3CD.mjs → update-UXEUWVWS.mjs} +6 -6
- package/dist/cli/update-YNZOS77Z.js +28 -0
- package/dist/cli/{workflow-Z2KYQ2JE.mjs → workflow-JBQY7JJN.mjs} +7 -7
- package/dist/cli/{workflow-ALKU4ZFD.js → workflow-R7SDICTU.js} +17 -17
- package/dist/{client-CjHv4K6D.d.mts → client-CZFMQEgO.d.mts} +6 -6
- package/dist/{client-rTuhNN-x.d.ts → client-CgSwpnb-.d.ts} +6 -6
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +15 -15
- package/dist/index.mjs +4 -4
- package/dist/install-integrity.json +82 -82
- package/dist/plays/run-request.d.mts +1 -1
- package/dist/plays/run-request.d.ts +1 -1
- package/dist/release.d.mts +1 -5
- package/dist/release.d.ts +1 -5
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/package.json +1 -1
- package/dist/cli/auth-DD3PVIRQ.js +0 -33
- package/dist/cli/client-DNAFHKWV.js +0 -20
- package/dist/cli/git-EBSF3254.js +0 -23
- package/dist/cli/play-YWQXVOBT.js +0 -153
- package/dist/cli/search-OQ3OEFUA.js +0 -26
- package/dist/cli/skills-IDXBBOUW.js +0 -28
- package/dist/cli/tools-WHLD4Y4O.js +0 -40
- package/dist/cli/update-K6HE3XKO.js +0 -28
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkDPVBWLBFjs = require('./chunk-DPVBWLBF.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkDQMTJXLKjs = require('./chunk-DQMTJXLK.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -13,19 +13,19 @@ var _chunkR7AAYFDQjs = require('./chunk-R7AAYFDQ.js');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunk2JRRXXTAjs = require('./chunk-2JRRXXTA.js');
|
|
17
17
|
require('./chunk-AID3OYVJ.js');
|
|
18
18
|
require('./chunk-QGKPTBRR.js');
|
|
19
19
|
require('./chunk-3KC45UVF.js');
|
|
20
20
|
require('./chunk-5JLQPVNX.js');
|
|
21
|
-
require('./chunk-
|
|
22
|
-
require('./chunk-
|
|
21
|
+
require('./chunk-C553OZGG.js');
|
|
22
|
+
require('./chunk-5Z7JFUNX.js');
|
|
23
23
|
require('./chunk-GEJDBXXM.js');
|
|
24
|
-
require('./chunk-
|
|
24
|
+
require('./chunk-E5UD3JDQ.js');
|
|
25
25
|
require('./chunk-5O4B6AUN.js');
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunk44SHFHA3js = require('./chunk-44SHFHA3.js');
|
|
29
29
|
require('./chunk-S6R3OX7B.js');
|
|
30
30
|
require('./chunk-LA46MMTL.js');
|
|
31
31
|
require('./chunk-AYHLUHE5.js');
|
|
@@ -33,13 +33,13 @@ require('./chunk-QJBJZVG6.js');
|
|
|
33
33
|
require('./chunk-WJYPBHTE.js');
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
var
|
|
37
|
-
require('./chunk-
|
|
36
|
+
var _chunkBO3ADIBVjs = require('./chunk-BO3ADIBV.js');
|
|
37
|
+
require('./chunk-A7X7KFXX.js');
|
|
38
38
|
require('./chunk-XNYIZMNQ.js');
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
var _chunk7P5AA3SNjs = require('./chunk-7P5AA3SN.js');
|
|
42
|
-
require('./chunk-
|
|
42
|
+
require('./chunk-NMDNUOVI.js');
|
|
43
43
|
require('./chunk-OG64RBAC.js');
|
|
44
44
|
require('./chunk-COGTRVWW.js');
|
|
45
45
|
|
|
@@ -65,11 +65,11 @@ async function found(lookup) {
|
|
|
65
65
|
async function describeAnything(name, options, onMissing) {
|
|
66
66
|
const maintainedOnly = options.prebuilt === true || options.tool === true;
|
|
67
67
|
const wants = (filter) => (!options.kinds || options.kinds.includes(filter)) && !(maintainedOnly && filter === "custom");
|
|
68
|
-
const client = new (0,
|
|
68
|
+
const client = new (0, _chunk44SHFHA3js.DeeplineClient)();
|
|
69
69
|
const play = async (reference) => {
|
|
70
70
|
const record2 = await client.describePlay(reference);
|
|
71
71
|
return {
|
|
72
|
-
described:
|
|
72
|
+
described: _chunkDPVBWLBFjs.describedPlay.call(void 0, record2),
|
|
73
73
|
record: { ...record2 },
|
|
74
74
|
schemas: {
|
|
75
75
|
inputSchema: _nullishCoalesce(record2.inputSchema, () => ( null)),
|
|
@@ -80,9 +80,9 @@ async function describeAnything(name, options, onMissing) {
|
|
|
80
80
|
const tool = async () => {
|
|
81
81
|
const record2 = await _asyncNullishCoalesce(options.fetchedTool, async () => ( await client.getTool(name)));
|
|
82
82
|
return {
|
|
83
|
-
described:
|
|
84
|
-
record:
|
|
85
|
-
schemas:
|
|
83
|
+
described: _chunkDQMTJXLKjs.describedTool.call(void 0, record2, name),
|
|
84
|
+
record: _chunkDQMTJXLKjs.toolMetadataJsonForDescribe.call(void 0, record2, name),
|
|
85
|
+
schemas: _chunkDQMTJXLKjs.publicToolSchemas.call(void 0, record2)
|
|
86
86
|
};
|
|
87
87
|
};
|
|
88
88
|
const sources = name.includes("/") ? [{ kinds: ["prebuilts", "custom"], find: () => play(name) }] : [
|
|
@@ -131,21 +131,21 @@ async function describeAnything(name, options, onMissing) {
|
|
|
131
131
|
},
|
|
132
132
|
lines: [
|
|
133
133
|
`${described.id} [${described.kind.replace("_", " ")}]`,
|
|
134
|
-
...
|
|
134
|
+
..._chunk2JRRXXTAjs.schemaLines.call(void 0, described, { full: true })
|
|
135
135
|
]
|
|
136
136
|
} : {
|
|
137
137
|
envelope: {
|
|
138
138
|
...summary,
|
|
139
|
-
inputs: inputs.map(
|
|
140
|
-
outputs: outputs.map(
|
|
141
|
-
...described.rowInputs ? { rowInputs: described.rowInputs.map(
|
|
142
|
-
...described.rowOutputs ? { rowOutputs: described.rowOutputs.map(
|
|
143
|
-
runExamples:
|
|
139
|
+
inputs: inputs.map(_chunk2JRRXXTAjs.topLevelField),
|
|
140
|
+
outputs: outputs.map(_chunk2JRRXXTAjs.topLevelField),
|
|
141
|
+
...described.rowInputs ? { rowInputs: described.rowInputs.map(_chunk2JRRXXTAjs.topLevelField) } : {},
|
|
142
|
+
...described.rowOutputs ? { rowOutputs: described.rowOutputs.map(_chunk2JRRXXTAjs.topLevelField) } : {},
|
|
143
|
+
runExamples: _chunk2JRRXXTAjs.examples.call(void 0, described, { verbose }),
|
|
144
144
|
...shadows ? { shadows, note } : {}
|
|
145
145
|
},
|
|
146
146
|
lines: [
|
|
147
147
|
...note ? [`Note: ${note}`, ""] : [],
|
|
148
|
-
...
|
|
148
|
+
..._chunk2JRRXXTAjs.describedLines.call(void 0, described, {
|
|
149
149
|
cli: shown && (!named || options.cliExample === true),
|
|
150
150
|
play: shown && (!named || options.playExample === true),
|
|
151
151
|
explain: named,
|
|
@@ -167,18 +167,18 @@ async function describeAnything(name, options, onMissing) {
|
|
|
167
167
|
` : text;
|
|
168
168
|
_fs.writeFileSync.call(void 0, path, content);
|
|
169
169
|
const bytes = Buffer.byteLength(content);
|
|
170
|
-
|
|
170
|
+
_chunkBO3ADIBVjs.printCommandEnvelope.call(void 0,
|
|
171
171
|
{ path, bytes },
|
|
172
172
|
{ json, text: `Wrote ${path} (${bytes} bytes)
|
|
173
173
|
` }
|
|
174
174
|
);
|
|
175
175
|
return 0;
|
|
176
176
|
}
|
|
177
|
-
|
|
177
|
+
_chunkBO3ADIBVjs.printCommandEnvelope.call(void 0, envelope, { json, text });
|
|
178
178
|
return 0;
|
|
179
179
|
}
|
|
180
180
|
function registerDescribeCommand(program) {
|
|
181
|
-
|
|
181
|
+
_chunk2JRRXXTAjs.addDescribeOptions.call(void 0, program.command("describe <name>")).description(
|
|
182
182
|
"Describe anything search returns: a tool, monitor type, or play."
|
|
183
183
|
).addHelpText(
|
|
184
184
|
"after",
|
|
@@ -205,7 +205,7 @@ Examples in the output:
|
|
|
205
205
|
--no-example no examples
|
|
206
206
|
|
|
207
207
|
Schema size and format:
|
|
208
|
-
A schema over ${
|
|
208
|
+
A schema over ${_chunk2JRRXXTAjs.SCHEMA_LINE_LIMIT} lines is folded: deeper objects show only their field
|
|
209
209
|
names. A shape used more than once is printed once under Types.
|
|
210
210
|
--full-schema the normal output, with the schema not folded
|
|
211
211
|
--schema-only only the schema, not folded, and nothing else
|
|
@@ -222,10 +222,10 @@ Older commands:
|
|
|
222
222
|
|
|
223
223
|
Examples:
|
|
224
224
|
deepline describe hunter_email_verifier
|
|
225
|
-
deepline describe person-linkedin-to-email
|
|
225
|
+
deepline describe person-linkedin-to-email
|
|
226
226
|
deepline describe my-play --prebuilt
|
|
227
227
|
deepline describe ai_ark_people_search --full-schema
|
|
228
|
-
deepline describe ai_ark_people_search --schema-only --
|
|
228
|
+
deepline describe ai_ark_people_search --schema-only --out schema.json
|
|
229
229
|
`
|
|
230
230
|
).action(async (name, options) => {
|
|
231
231
|
process.exitCode = await describeAnything(name, options);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk44SHFHA3js = require('./chunk-44SHFHA3.js');
|
|
4
4
|
require('./chunk-S6R3OX7B.js');
|
|
5
5
|
require('./chunk-LA46MMTL.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
9
|
-
require('./chunk-
|
|
8
|
+
var _chunkBO3ADIBVjs = require('./chunk-BO3ADIBV.js');
|
|
9
|
+
require('./chunk-A7X7KFXX.js');
|
|
10
10
|
require('./chunk-XNYIZMNQ.js');
|
|
11
11
|
require('./chunk-7P5AA3SN.js');
|
|
12
|
-
require('./chunk-
|
|
12
|
+
require('./chunk-NMDNUOVI.js');
|
|
13
13
|
require('./chunk-OG64RBAC.js');
|
|
14
14
|
require('./chunk-COGTRVWW.js');
|
|
15
15
|
|
|
@@ -17,10 +17,10 @@ require('./chunk-COGTRVWW.js');
|
|
|
17
17
|
function registerExecutionsCommands(program) {
|
|
18
18
|
const executions = program.command("executions").description("Inspect and recover keyed tool executions.");
|
|
19
19
|
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) => {
|
|
20
|
-
const result = await new (0,
|
|
20
|
+
const result = await new (0, _chunk44SHFHA3js.DeeplineClient)().executions.getByKey(
|
|
21
21
|
options.idempotencyKey
|
|
22
22
|
);
|
|
23
|
-
|
|
23
|
+
_chunkBO3ADIBVjs.printCommandEnvelope.call(void 0, result, { json: true });
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
26
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KBJO7HIF.mjs";
|
|
4
4
|
import "./chunk-6IKARAYD.mjs";
|
|
5
5
|
import "./chunk-CBVIJSHF.mjs";
|
|
6
6
|
import {
|
|
7
7
|
printCommandEnvelope
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-DOXAN2I7.mjs";
|
|
9
|
+
import "./chunk-KKRRIFR3.mjs";
|
|
10
10
|
import "./chunk-DLIRSHV6.mjs";
|
|
11
11
|
import "./chunk-NXGCO4JB.mjs";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-YYFLULK7.mjs";
|
|
13
13
|
import "./chunk-WZYKRD7T.mjs";
|
|
14
14
|
import "./chunk-KRD6H754.mjs";
|
|
15
15
|
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
collectLocalEnvInfo,
|
|
3
3
|
getAuthedHttpClient,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-DOXAN2I7.mjs";
|
|
6
6
|
import {
|
|
7
7
|
agentSessionIdFromEnvironment
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-KKRRIFR3.mjs";
|
|
9
9
|
import "./chunk-DLIRSHV6.mjs";
|
|
10
10
|
import "./chunk-NXGCO4JB.mjs";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-YYFLULK7.mjs";
|
|
12
12
|
import "./chunk-WZYKRD7T.mjs";
|
|
13
13
|
import "./chunk-KRD6H754.mjs";
|
|
14
14
|
|
|
@@ -83,17 +83,17 @@ Notes:
|
|
|
83
83
|
|
|
84
84
|
Examples:
|
|
85
85
|
deepline feedback send "plays run failed after upload" --command "deepline plays run my.play.ts" --error-outcome terminal
|
|
86
|
-
deepline feedback send "unexpected billing output" --payload '{"command":"billing usage"}'
|
|
86
|
+
deepline feedback send "unexpected billing output" --payload '{"command":"billing usage"}'
|
|
87
87
|
`
|
|
88
88
|
);
|
|
89
89
|
feedback.command("send").description("Send CLI feedback to Deepline.").addHelpText(
|
|
90
90
|
"after",
|
|
91
91
|
`
|
|
92
92
|
Examples:
|
|
93
|
-
deepline feedback send "tools search returned stale results"
|
|
94
|
-
deepline feedback send --file incident.md --requested
|
|
95
|
-
cat incident.md | deepline feedback send --requested
|
|
96
|
-
deepline feedback send "tools search returned stale results" --requested
|
|
93
|
+
deepline feedback send "tools search returned stale results"
|
|
94
|
+
deepline feedback send --file incident.md --requested
|
|
95
|
+
cat incident.md | deepline feedback send --requested
|
|
96
|
+
deepline feedback send "tools search returned stale results" --requested
|
|
97
97
|
deepline feedback send "plays run failed after upload" --command "deepline plays run my.play.ts" --error-outcome terminal
|
|
98
98
|
`
|
|
99
99
|
).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(
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkBO3ADIBVjs = require('./chunk-BO3ADIBV.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkA7X7KFXXjs = require('./chunk-A7X7KFXX.js');
|
|
9
9
|
require('./chunk-XNYIZMNQ.js');
|
|
10
10
|
require('./chunk-7P5AA3SN.js');
|
|
11
|
-
require('./chunk-
|
|
11
|
+
require('./chunk-NMDNUOVI.js');
|
|
12
12
|
require('./chunk-OG64RBAC.js');
|
|
13
13
|
require('./chunk-COGTRVWW.js');
|
|
14
14
|
|
|
@@ -17,18 +17,18 @@ var _commander = require('commander');
|
|
|
17
17
|
var _fs = require('fs');
|
|
18
18
|
async function handleFeedback(text, options) {
|
|
19
19
|
const message = resolveFeedbackText(text, options.file);
|
|
20
|
-
const { http } =
|
|
21
|
-
const sessionId =
|
|
20
|
+
const { http } = _chunkBO3ADIBVjs.getAuthedHttpClient.call(void 0, );
|
|
21
|
+
const sessionId = _chunkA7X7KFXXjs.agentSessionIdFromEnvironment.call(void 0, );
|
|
22
22
|
const response = await http.post("/api/v2/cli/feedback", {
|
|
23
23
|
text: message,
|
|
24
24
|
requested: options.requested === true,
|
|
25
|
-
environment:
|
|
25
|
+
environment: _chunkBO3ADIBVjs.collectLocalEnvInfo.call(void 0, ),
|
|
26
26
|
...sessionId ? { session_id: sessionId } : {},
|
|
27
27
|
...options.command ? { command: options.command } : {},
|
|
28
28
|
...options.payload ? { payload: options.payload } : {},
|
|
29
29
|
...options.errorOutcome ? { error_outcome: options.errorOutcome } : {}
|
|
30
30
|
});
|
|
31
|
-
|
|
31
|
+
_chunkBO3ADIBVjs.printCommandEnvelope.call(void 0,
|
|
32
32
|
{
|
|
33
33
|
...response,
|
|
34
34
|
render: {
|
|
@@ -83,17 +83,17 @@ Notes:
|
|
|
83
83
|
|
|
84
84
|
Examples:
|
|
85
85
|
deepline feedback send "plays run failed after upload" --command "deepline plays run my.play.ts" --error-outcome terminal
|
|
86
|
-
deepline feedback send "unexpected billing output" --payload '{"command":"billing usage"}'
|
|
86
|
+
deepline feedback send "unexpected billing output" --payload '{"command":"billing usage"}'
|
|
87
87
|
`
|
|
88
88
|
);
|
|
89
89
|
feedback.command("send").description("Send CLI feedback to Deepline.").addHelpText(
|
|
90
90
|
"after",
|
|
91
91
|
`
|
|
92
92
|
Examples:
|
|
93
|
-
deepline feedback send "tools search returned stale results"
|
|
94
|
-
deepline feedback send --file incident.md --requested
|
|
95
|
-
cat incident.md | deepline feedback send --requested
|
|
96
|
-
deepline feedback send "tools search returned stale results" --requested
|
|
93
|
+
deepline feedback send "tools search returned stale results"
|
|
94
|
+
deepline feedback send --file incident.md --requested
|
|
95
|
+
cat incident.md | deepline feedback send --requested
|
|
96
|
+
deepline feedback send "tools search returned stale results" --requested
|
|
97
97
|
deepline feedback send "plays run failed after upload" --command "deepline plays run my.play.ts" --error-outcome terminal
|
|
98
98
|
`
|
|
99
99
|
).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(
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
renderDeployment,
|
|
6
6
|
renderDeploymentMonitorLines,
|
|
7
7
|
renderDeploymentPlayLines
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-5S525TQV.mjs";
|
|
9
|
+
import "./chunk-DOXAN2I7.mjs";
|
|
10
|
+
import "./chunk-KKRRIFR3.mjs";
|
|
11
11
|
import "./chunk-DLIRSHV6.mjs";
|
|
12
12
|
import "./chunk-NXGCO4JB.mjs";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-YYFLULK7.mjs";
|
|
14
14
|
import "./chunk-WZYKRD7T.mjs";
|
|
15
15
|
import "./chunk-KRD6H754.mjs";
|
|
16
16
|
export {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunk5Z7JFUNXjs = require('./chunk-5Z7JFUNX.js');
|
|
9
|
+
require('./chunk-BO3ADIBV.js');
|
|
10
|
+
require('./chunk-A7X7KFXX.js');
|
|
11
|
+
require('./chunk-XNYIZMNQ.js');
|
|
12
|
+
require('./chunk-7P5AA3SN.js');
|
|
13
|
+
require('./chunk-NMDNUOVI.js');
|
|
14
|
+
require('./chunk-OG64RBAC.js');
|
|
15
|
+
require('./chunk-COGTRVWW.js');
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
exports.handleDeploymentGet = _chunk5Z7JFUNXjs.handleDeploymentGet; exports.handleDeploymentsList = _chunk5Z7JFUNXjs.handleDeploymentsList; exports.registerGitCommands = _chunk5Z7JFUNXjs.registerGitCommands; exports.renderDeployment = _chunk5Z7JFUNXjs.renderDeployment; exports.renderDeploymentMonitorLines = _chunk5Z7JFUNXjs.renderDeploymentMonitorLines; exports.renderDeploymentPlayLines = _chunk5Z7JFUNXjs.renderDeploymentPlayLines;
|