deepline 0.3.372 → 0.3.373
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/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/plays/email-status.ts +95 -0
- package/dist/bundling-sources/shared_libs/plays/extractor-targets.ts +14 -0
- package/dist/bundling-sources/shared_libs/plays/field-catalog.ts +253 -0
- package/dist/bundling-sources/shared_libs/plays/tool-result-types.ts +2 -0
- package/dist/cli/{auth-ODSACXLF.mjs → auth-7BMCDCRH.mjs} +4 -4
- package/dist/cli/auth-BWCNRUG3.js +33 -0
- package/dist/cli/{billing-4ERXY2DZ.js → billing-GKI7B4JF.js} +73 -73
- package/dist/cli/{billing-OPIOZLAN.mjs → billing-RZEHHMPU.mjs} +4 -4
- package/dist/cli/{chunk-E5UD3JDQ.js → chunk-3VN4FTE3.js} +289 -5
- package/dist/cli/{chunk-BVUGPOU3.mjs → chunk-6JCVL7CE.mjs} +2 -2
- package/dist/cli/{chunk-RJ7JJMQO.js → chunk-BM47AKUZ.js} +266 -254
- package/dist/cli/{chunk-DM5QUZJR.js → chunk-CLEB5KUZ.js} +1 -1
- package/dist/cli/{chunk-AQFA7HMN.js → chunk-D2CZ4Y5G.js} +15 -15
- package/dist/cli/{chunk-3GK3SH3G.mjs → chunk-E6BZWURC.mjs} +200 -13
- package/dist/cli/{chunk-RUYZAREB.js → chunk-E7MGPPM5.js} +9 -9
- package/dist/cli/{chunk-DONL233W.mjs → chunk-ECA6NQYL.mjs} +4 -4
- package/dist/cli/{chunk-GZQKUFM5.js → chunk-EYXSAB7O.js} +26 -26
- package/dist/cli/{chunk-MIMV5LTU.mjs → chunk-HNLXC5BP.mjs} +1 -1
- package/dist/cli/{chunk-6MDAGRZP.js → chunk-IHQQNWU4.js} +2 -2
- package/dist/cli/{chunk-FGHRRJ3D.mjs → chunk-IUYKSTWB.mjs} +1 -1
- package/dist/cli/{chunk-VVFH745L.js → chunk-JHUMUIU6.js} +6 -6
- package/dist/cli/{chunk-BFLPCGOR.mjs → chunk-JP2YA3AV.mjs} +1 -1
- package/dist/cli/{chunk-ML2ZY7YD.js → chunk-ND4BVWWZ.js} +4 -4
- package/dist/cli/{chunk-EFJL5FCU.js → chunk-NVZAZGHA.js} +8 -8
- package/dist/cli/{chunk-IUWPC5K6.js → chunk-ORBVXCTL.js} +50 -50
- package/dist/cli/{chunk-JAERLCMH.mjs → chunk-P5JPGZNI.mjs} +1 -1
- package/dist/cli/{chunk-KC2YOJTU.mjs → chunk-PZ26EKNC.mjs} +319 -115
- package/dist/cli/{chunk-U3W7E5WT.mjs → chunk-QSV76EMO.mjs} +27 -15
- package/dist/cli/{chunk-4LIUZ4QR.mjs → chunk-R6TPSZLN.mjs} +2 -2
- package/dist/cli/{chunk-N5TPMNTT.js → chunk-S5OTS6H5.js} +8 -8
- package/dist/cli/{chunk-XSPAI6MF.mjs → chunk-TB73PXE3.mjs} +2 -2
- package/dist/cli/{chunk-D6O3NJHX.js → chunk-W3H422KP.js} +60 -60
- package/dist/cli/{chunk-WJWO74MM.js → chunk-XJYUQBHY.js} +390 -186
- package/dist/cli/{chunk-3CTB7V5F.mjs → chunk-XMME4SCK.mjs} +2 -2
- package/dist/cli/{chunk-2RC5JQ3C.mjs → chunk-Y32GUTEN.mjs} +1 -1
- package/dist/cli/{chunk-JB6ERQUV.mjs → chunk-Y6VOGHF2.mjs} +284 -0
- package/dist/cli/{chunk-5HYD3GMS.mjs → chunk-YHHY2YHK.mjs} +3 -3
- package/dist/cli/{chunk-2JRRXXTA.js → chunk-YPVTQRUM.js} +201 -14
- package/dist/cli/{client-KF2J754U.mjs → client-FO6LMHT4.mjs} +3 -3
- package/dist/cli/client-KAWK7FJR.js +20 -0
- package/dist/cli/{csv-UL3MCD5D.mjs → csv-3FNCVMWA.mjs} +3 -3
- package/dist/cli/{csv-UJ3M7NFP.js → csv-NFQYQWWO.js} +12 -12
- package/dist/cli/{db-444XYOTV.js → db-CTLGRV3X.js} +29 -29
- package/dist/cli/{db-SIOWA63T.mjs → db-VA7HULGR.mjs} +4 -4
- package/dist/cli/{describe-GI5GHAKO.mjs → describe-GXGRMP2M.mjs} +46 -17
- package/dist/cli/{describe-RRBESS3S.js → describe-IUHOEPKY.js} +61 -32
- package/dist/cli/{executions-ERXZUOL5.js → executions-DSK3HRPU.js} +6 -6
- package/dist/cli/{executions-4YDP6BXI.mjs → executions-OZQDZQIK.mjs} +4 -4
- package/dist/cli/{feedback-3M7D7DZQ.js → feedback-KTMLMWKV.js} +7 -7
- package/dist/cli/{feedback-CPWQL5LU.mjs → feedback-ZOY7R4JD.mjs} +3 -3
- package/dist/cli/git-5P5FLEUC.js +23 -0
- package/dist/cli/{git-XN6C3TJZ.mjs → git-FIOI4IA2.mjs} +4 -4
- package/dist/cli/index.js +81 -81
- package/dist/cli/index.mjs +32 -32
- package/dist/cli/{legacy-noops-KXQ6TFFL.mjs → legacy-noops-KQZWSABN.mjs} +4 -4
- package/dist/cli/{legacy-noops-5XDGOFWH.js → legacy-noops-WXAYRQMQ.js} +7 -7
- package/dist/cli/{monitors-KH22PDOC.js → monitors-LPUCHRNJ.js} +85 -85
- package/dist/cli/{monitors-33IU5JR6.mjs → monitors-VHNWIF4V.mjs} +4 -4
- package/dist/cli/{org-X4NSLQG5.js → org-GWHWBCMD.js} +64 -64
- package/dist/cli/{org-MHYMWUEP.mjs → org-UW7NPGEY.mjs} +4 -4
- package/dist/cli/play-EVBIC7Z5.js +155 -0
- package/dist/cli/{play-LCZKHKW2.mjs → play-FNM2E66T.mjs} +8 -8
- package/dist/cli/{providers-J6LWCF5R.js → providers-6D6R3PWX.js} +7 -7
- package/dist/cli/{providers-L5FJTSEA.mjs → providers-XAZMYDWS.mjs} +4 -4
- package/dist/cli/{quickstart-OOPFA4MX.js → quickstart-HBUWBVH6.js} +5 -5
- package/dist/cli/{quickstart-NE3BTWGL.mjs → quickstart-OK65PGZL.mjs} +3 -3
- package/dist/cli/search-6ZY2XWP2.js +26 -0
- package/dist/cli/{search-DBXOEOIE.mjs → search-XY6JOTS2.mjs} +5 -5
- package/dist/cli/{secrets-WPMU7UBD.js → secrets-6CYCPK7T.js} +13 -13
- package/dist/cli/{secrets-U2MLWZH2.mjs → secrets-W2LDLU2W.mjs} +4 -4
- package/dist/cli/{sessions-YYZ3UJDS.js → sessions-GOYEKNTJ.js} +5 -5
- package/dist/cli/{sessions-WYNC4AUE.mjs → sessions-JAX7PGXU.mjs} +4 -4
- package/dist/cli/{settings-FQZSHFC6.mjs → settings-OACUQOCM.mjs} +7 -7
- package/dist/cli/{settings-WQDFX3X6.js → settings-QMFYFCT7.js} +74 -74
- package/dist/cli/{setup-JKYJT35S.mjs → setup-2KA5TZBZ.mjs} +6 -6
- package/dist/cli/{setup-DKYVNDTM.js → setup-36VOOGVA.js} +41 -41
- package/dist/cli/skills-6GPIEPTP.js +28 -0
- package/dist/cli/{skills-VHVCJJJY.mjs → skills-QY4BX5ZX.mjs} +4 -4
- package/dist/cli/tools-RTECP4WT.js +40 -0
- package/dist/cli/{tools-E23PU7KM.mjs → tools-UCB2QRVC.mjs} +8 -8
- package/dist/cli/{update-4A4VU6CW.mjs → update-327MHUO4.mjs} +6 -6
- package/dist/cli/update-WR65EHBN.js +28 -0
- package/dist/cli/{workflow-WB2USWAA.js → workflow-G7BU54KW.js} +15 -15
- package/dist/cli/{workflow-2ZR2ECTG.mjs → workflow-HJN4GA5A.mjs} +5 -5
- package/dist/{client-Cw0e2Uec.d.mts → client-Cn-txrXv.d.mts} +1 -1
- package/dist/{client-CwdiawoG.d.ts → client-fPoIN-3V.d.ts} +1 -1
- package/dist/{compiler-manifest-DgdW0q0b.d.mts → compiler-manifest-CY2v8ab0.d.mts} +2 -0
- package/dist/{compiler-manifest-DgdW0q0b.d.ts → compiler-manifest-CY2v8ab0.d.ts} +2 -0
- package/dist/{index-C3nQQTI-.d.mts → index-B9fBZH1g.d.mts} +1 -1
- package/dist/{index-CEYQAfS0.d.ts → index-BZ6uzZJl.d.ts} +1 -1
- package/dist/index.d.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +79 -249
- package/dist/index.mjs +10 -180
- package/dist/install-integrity.json +85 -84
- package/dist/plays/bundle-play-file.d.mts +3 -3
- package/dist/plays/bundle-play-file.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/package.json +1 -1
- package/dist/cli/auth-4SXMV3CD.js +0 -33
- package/dist/cli/client-UUNLXOHF.js +0 -20
- package/dist/cli/git-ITSCNUVB.js +0 -23
- package/dist/cli/play-4QRPOBWW.js +0 -155
- package/dist/cli/search-UGQDBP76.js +0 -26
- package/dist/cli/skills-VBQMXDAX.js +0 -28
- package/dist/cli/tools-ACEJZMJD.js +0 -40
- package/dist/cli/update-V5KMYHVE.js +0 -28
|
@@ -1,11 +1,11 @@
|
|
|
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(); } }
|
|
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(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkBM47AKUZjs = require('./chunk-BM47AKUZ.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkXJYUQBHYjs = require('./chunk-XJYUQBHY.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -13,19 +13,20 @@ var _chunkWJWO74MMjs = require('./chunk-WJWO74MM.js');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
|
|
17
|
+
var _chunkYPVTQRUMjs = require('./chunk-YPVTQRUM.js');
|
|
17
18
|
require('./chunk-AID3OYVJ.js');
|
|
18
19
|
require('./chunk-QGKPTBRR.js');
|
|
19
20
|
require('./chunk-3KC45UVF.js');
|
|
20
21
|
require('./chunk-5JLQPVNX.js');
|
|
21
|
-
require('./chunk-
|
|
22
|
-
require('./chunk-
|
|
22
|
+
require('./chunk-S5OTS6H5.js');
|
|
23
|
+
require('./chunk-EYXSAB7O.js');
|
|
23
24
|
require('./chunk-GEJDBXXM.js');
|
|
24
|
-
require('./chunk-
|
|
25
|
+
require('./chunk-3VN4FTE3.js');
|
|
25
26
|
require('./chunk-5O4B6AUN.js');
|
|
26
27
|
|
|
27
28
|
|
|
28
|
-
var
|
|
29
|
+
var _chunkE7MGPPM5js = require('./chunk-E7MGPPM5.js');
|
|
29
30
|
require('./chunk-S6R3OX7B.js');
|
|
30
31
|
require('./chunk-LA46MMTL.js');
|
|
31
32
|
require('./chunk-AYHLUHE5.js');
|
|
@@ -33,13 +34,13 @@ require('./chunk-QJBJZVG6.js');
|
|
|
33
34
|
require('./chunk-WJYPBHTE.js');
|
|
34
35
|
|
|
35
36
|
|
|
36
|
-
var
|
|
37
|
-
require('./chunk-
|
|
37
|
+
var _chunkJHUMUIU6js = require('./chunk-JHUMUIU6.js');
|
|
38
|
+
require('./chunk-ND4BVWWZ.js');
|
|
38
39
|
require('./chunk-XNYIZMNQ.js');
|
|
39
40
|
|
|
40
41
|
|
|
41
42
|
var _chunk7P5AA3SNjs = require('./chunk-7P5AA3SN.js');
|
|
42
|
-
require('./chunk-
|
|
43
|
+
require('./chunk-CLEB5KUZ.js');
|
|
43
44
|
require('./chunk-OG64RBAC.js');
|
|
44
45
|
require('./chunk-COGTRVWW.js');
|
|
45
46
|
|
|
@@ -65,11 +66,11 @@ async function found(lookup) {
|
|
|
65
66
|
async function describeAnything(name, options, onMissing) {
|
|
66
67
|
const maintainedOnly = options.prebuilt === true || options.tool === true;
|
|
67
68
|
const wants = (filter) => (!options.kinds || options.kinds.includes(filter)) && !(maintainedOnly && filter === "custom");
|
|
68
|
-
const client = new (0,
|
|
69
|
+
const client = new (0, _chunkE7MGPPM5js.DeeplineClient)();
|
|
69
70
|
const play = async (reference) => {
|
|
70
71
|
const record2 = await client.describePlay(reference);
|
|
71
72
|
return {
|
|
72
|
-
described:
|
|
73
|
+
described: _chunkBM47AKUZjs.describedPlay.call(void 0, record2),
|
|
73
74
|
record: { ...record2 },
|
|
74
75
|
schemas: {
|
|
75
76
|
inputSchema: _nullishCoalesce(record2.inputSchema, () => ( null)),
|
|
@@ -79,10 +80,16 @@ async function describeAnything(name, options, onMissing) {
|
|
|
79
80
|
};
|
|
80
81
|
const tool = async () => {
|
|
81
82
|
const record2 = await _asyncNullishCoalesce(options.fetchedTool, async () => ( await client.getTool(name)));
|
|
83
|
+
const { byok } = record2;
|
|
82
84
|
return {
|
|
83
|
-
described:
|
|
84
|
-
|
|
85
|
-
|
|
85
|
+
described: {
|
|
86
|
+
..._chunkXJYUQBHYjs.describedTool.call(void 0, record2, name),
|
|
87
|
+
// Shown when asked for, or when the tool runs only on your own
|
|
88
|
+
// credentials; a server that does not report it shows as unknown.
|
|
89
|
+
...options.byok || _optionalChain([byok, 'optionalAccess', _ => _.required]) === true ? { byok: _nullishCoalesce(byok, () => ( {})) } : {}
|
|
90
|
+
},
|
|
91
|
+
record: _chunkXJYUQBHYjs.toolMetadataJsonForDescribe.call(void 0, record2, name),
|
|
92
|
+
schemas: _chunkXJYUQBHYjs.publicToolSchemas.call(void 0, record2)
|
|
86
93
|
};
|
|
87
94
|
};
|
|
88
95
|
const sources = name.includes("/") ? [{ kinds: ["prebuilts", "custom"], find: () => play(name) }] : [
|
|
@@ -113,6 +120,7 @@ async function describeAnything(name, options, onMissing) {
|
|
|
113
120
|
const note = shadows ? `Showing your workspace play "${name}". It has the same name as a Deepline ${shadows.kind.replace("_", " ")}; see that one with: ${shadows.describeCommand}` : null;
|
|
114
121
|
const verbose = options.verbose === true;
|
|
115
122
|
const json = options.json === true;
|
|
123
|
+
const fields = (_nullishCoalesce(options.fields, () => ( ""))).split(",").map((name2) => name2.trim()).filter(Boolean);
|
|
116
124
|
const named = options.cliExample === true || options.playExample === true;
|
|
117
125
|
const shown = options.example !== false;
|
|
118
126
|
const {
|
|
@@ -131,34 +139,46 @@ async function describeAnything(name, options, onMissing) {
|
|
|
131
139
|
},
|
|
132
140
|
lines: [
|
|
133
141
|
`${described.id} [${described.kind.replace("_", " ")}]`,
|
|
134
|
-
...
|
|
142
|
+
..._chunkYPVTQRUMjs.schemaLines.call(void 0, described, {
|
|
143
|
+
full: true,
|
|
144
|
+
secondary: true,
|
|
145
|
+
...fields.length ? { fields } : {}
|
|
146
|
+
})
|
|
135
147
|
]
|
|
136
148
|
} : {
|
|
137
149
|
envelope: {
|
|
138
150
|
...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:
|
|
151
|
+
inputs: inputs.map(_chunkYPVTQRUMjs.topLevelField),
|
|
152
|
+
outputs: outputs.map(_chunkYPVTQRUMjs.topLevelField),
|
|
153
|
+
...described.rowInputs ? { rowInputs: described.rowInputs.map(_chunkYPVTQRUMjs.topLevelField) } : {},
|
|
154
|
+
...described.rowOutputs ? { rowOutputs: described.rowOutputs.map(_chunkYPVTQRUMjs.topLevelField) } : {},
|
|
155
|
+
runExamples: _chunkYPVTQRUMjs.examples.call(void 0, described, { verbose }),
|
|
144
156
|
...shadows ? { shadows, note } : {}
|
|
145
157
|
},
|
|
146
158
|
lines: [
|
|
147
159
|
...note ? [`Note: ${note}`, ""] : [],
|
|
148
|
-
...
|
|
160
|
+
..._chunkYPVTQRUMjs.describedLines.call(void 0, described, {
|
|
149
161
|
cli: shown && (!named || options.cliExample === true),
|
|
150
162
|
play: shown && (!named || options.playExample === true),
|
|
151
163
|
explain: named,
|
|
152
164
|
verbose,
|
|
153
|
-
fullSchema: options.fullSchema === true
|
|
165
|
+
fullSchema: options.fullSchema === true,
|
|
166
|
+
...fields.length ? { fields } : {}
|
|
154
167
|
})
|
|
155
168
|
]
|
|
156
169
|
};
|
|
157
|
-
const
|
|
170
|
+
const fullRecord = options.fullRecord === true || options.fullSchema === true;
|
|
171
|
+
const envelope = options.schemaOnly ? view.envelope : fullRecord ? (
|
|
158
172
|
// The shared keys lead; where the kind's own record has the same key,
|
|
159
173
|
// its value stands, so callers of the older commands read what they did.
|
|
160
174
|
{ ...view.envelope, ...record }
|
|
161
|
-
)
|
|
175
|
+
) : {
|
|
176
|
+
..._chunkYPVTQRUMjs.describedJson.call(void 0, described, {
|
|
177
|
+
secondary: verbose || fields.length > 0,
|
|
178
|
+
verbose
|
|
179
|
+
}),
|
|
180
|
+
...shadows ? { shadows, note } : {}
|
|
181
|
+
};
|
|
162
182
|
const text = `${view.lines.join("\n")}
|
|
163
183
|
`;
|
|
164
184
|
if (options.out) {
|
|
@@ -167,18 +187,18 @@ async function describeAnything(name, options, onMissing) {
|
|
|
167
187
|
` : text;
|
|
168
188
|
_fs.writeFileSync.call(void 0, path, content);
|
|
169
189
|
const bytes = Buffer.byteLength(content);
|
|
170
|
-
|
|
190
|
+
_chunkJHUMUIU6js.printCommandEnvelope.call(void 0,
|
|
171
191
|
{ path, bytes },
|
|
172
192
|
{ json, text: `Wrote ${path} (${bytes} bytes)
|
|
173
193
|
` }
|
|
174
194
|
);
|
|
175
195
|
return 0;
|
|
176
196
|
}
|
|
177
|
-
|
|
197
|
+
_chunkJHUMUIU6js.printCommandEnvelope.call(void 0, envelope, { json, text });
|
|
178
198
|
return 0;
|
|
179
199
|
}
|
|
180
200
|
function registerDescribeCommand(program) {
|
|
181
|
-
|
|
201
|
+
_chunkYPVTQRUMjs.addDescribeOptions.call(void 0, program.command("describe <name>")).description(
|
|
182
202
|
"Describe anything search returns: a tool, monitor type, or play."
|
|
183
203
|
).addHelpText(
|
|
184
204
|
"after",
|
|
@@ -199,17 +219,26 @@ What it prints:
|
|
|
199
219
|
|
|
200
220
|
Examples in the output:
|
|
201
221
|
(default) required inputs filled in, first output read
|
|
202
|
-
--verbose every input filled in, every output read
|
|
222
|
+
--verbose every input filled in, every output read; also shows
|
|
223
|
+
secondary fields
|
|
203
224
|
--cli-example only the CLI example, with how inputs and outputs work
|
|
204
225
|
--play-example only the in-play example, with how inputs and outputs work
|
|
205
226
|
--no-example no examples
|
|
206
227
|
|
|
207
228
|
Schema size and format:
|
|
208
|
-
|
|
229
|
+
Secondary fields (diagnostics, attempt logs, echoes of input) are left out
|
|
230
|
+
by default; the output names them, and --verbose shows them.
|
|
231
|
+
--fields email,miss_reason shows only the fields you name, plus every
|
|
232
|
+
required input, and names the rest. Use it when you know what you need.
|
|
233
|
+
A schema over ${_chunkYPVTQRUMjs.SCHEMA_LINE_LIMIT} lines is folded: deeper objects show only their field
|
|
209
234
|
names. A shape used more than once is printed once under Types.
|
|
210
235
|
--full-schema the normal output, with the schema not folded
|
|
211
236
|
--schema-only only the schema, not folded, and nothing else
|
|
212
|
-
--json
|
|
237
|
+
--json the same facts as JSON: fields keyed by name, with what
|
|
238
|
+
each means and, for a tool, where it is in the result;
|
|
239
|
+
secondary fields are named in "hidden"
|
|
240
|
+
--json --full-schema the whole catalog record, as tools describe and
|
|
241
|
+
plays describe print it
|
|
213
242
|
--schema-only --json
|
|
214
243
|
only the input and output JSON Schemas; use this for a
|
|
215
244
|
program, or for a schema too large to read
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkE7MGPPM5js = require('./chunk-E7MGPPM5.js');
|
|
4
4
|
require('./chunk-S6R3OX7B.js');
|
|
5
5
|
require('./chunk-LA46MMTL.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
9
|
-
require('./chunk-
|
|
8
|
+
var _chunkJHUMUIU6js = require('./chunk-JHUMUIU6.js');
|
|
9
|
+
require('./chunk-ND4BVWWZ.js');
|
|
10
10
|
require('./chunk-XNYIZMNQ.js');
|
|
11
11
|
require('./chunk-7P5AA3SN.js');
|
|
12
|
-
require('./chunk-
|
|
12
|
+
require('./chunk-CLEB5KUZ.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, _chunkE7MGPPM5js.DeeplineClient)().executions.getByKey(
|
|
21
21
|
options.idempotencyKey
|
|
22
22
|
);
|
|
23
|
-
|
|
23
|
+
_chunkJHUMUIU6js.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-Y32GUTEN.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-HNLXC5BP.mjs";
|
|
9
|
+
import "./chunk-IUYKSTWB.mjs";
|
|
10
10
|
import "./chunk-DLIRSHV6.mjs";
|
|
11
11
|
import "./chunk-NXGCO4JB.mjs";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-P5JPGZNI.mjs";
|
|
13
13
|
import "./chunk-WZYKRD7T.mjs";
|
|
14
14
|
import "./chunk-KRD6H754.mjs";
|
|
15
15
|
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkJHUMUIU6js = require('./chunk-JHUMUIU6.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkND4BVWWZjs = require('./chunk-ND4BVWWZ.js');
|
|
9
9
|
require('./chunk-XNYIZMNQ.js');
|
|
10
10
|
require('./chunk-7P5AA3SN.js');
|
|
11
|
-
require('./chunk-
|
|
11
|
+
require('./chunk-CLEB5KUZ.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 } = _chunkJHUMUIU6js.getAuthedHttpClient.call(void 0, );
|
|
21
|
+
const sessionId = _chunkND4BVWWZjs.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: _chunkJHUMUIU6js.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
|
+
_chunkJHUMUIU6js.printCommandEnvelope.call(void 0,
|
|
32
32
|
{
|
|
33
33
|
...response,
|
|
34
34
|
render: {
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
collectLocalEnvInfo,
|
|
3
3
|
getAuthedHttpClient,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HNLXC5BP.mjs";
|
|
6
6
|
import {
|
|
7
7
|
agentSessionIdFromEnvironment
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IUYKSTWB.mjs";
|
|
9
9
|
import "./chunk-DLIRSHV6.mjs";
|
|
10
10
|
import "./chunk-NXGCO4JB.mjs";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-P5JPGZNI.mjs";
|
|
12
12
|
import "./chunk-WZYKRD7T.mjs";
|
|
13
13
|
import "./chunk-KRD6H754.mjs";
|
|
14
14
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkEYXSAB7Ojs = require('./chunk-EYXSAB7O.js');
|
|
9
|
+
require('./chunk-JHUMUIU6.js');
|
|
10
|
+
require('./chunk-ND4BVWWZ.js');
|
|
11
|
+
require('./chunk-XNYIZMNQ.js');
|
|
12
|
+
require('./chunk-7P5AA3SN.js');
|
|
13
|
+
require('./chunk-CLEB5KUZ.js');
|
|
14
|
+
require('./chunk-OG64RBAC.js');
|
|
15
|
+
require('./chunk-COGTRVWW.js');
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
exports.handleDeploymentGet = _chunkEYXSAB7Ojs.handleDeploymentGet; exports.handleDeploymentsList = _chunkEYXSAB7Ojs.handleDeploymentsList; exports.registerGitCommands = _chunkEYXSAB7Ojs.registerGitCommands; exports.renderDeployment = _chunkEYXSAB7Ojs.renderDeployment; exports.renderDeploymentMonitorLines = _chunkEYXSAB7Ojs.renderDeploymentMonitorLines; exports.renderDeploymentPlayLines = _chunkEYXSAB7Ojs.renderDeploymentPlayLines;
|
|
@@ -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-TB73PXE3.mjs";
|
|
9
|
+
import "./chunk-HNLXC5BP.mjs";
|
|
10
|
+
import "./chunk-IUYKSTWB.mjs";
|
|
11
11
|
import "./chunk-DLIRSHV6.mjs";
|
|
12
12
|
import "./chunk-NXGCO4JB.mjs";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-P5JPGZNI.mjs";
|
|
14
14
|
import "./chunk-WZYKRD7T.mjs";
|
|
15
15
|
import "./chunk-KRD6H754.mjs";
|
|
16
16
|
export {
|