deepline 0.3.557 → 0.3.559
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/observability/redaction.ts +23 -1
- package/dist/bundling-sources/shared_libs/observability/telemetry.ts +4 -1
- package/dist/cli/auth-3SBMYRAJ.js +44 -0
- package/dist/cli/{auth-SGWFS2DS.mjs → auth-D6S6E7BL.mjs} +5 -5
- package/dist/cli/{billing-XJZX3JSG.mjs → billing-3BNTAYUY.mjs} +8 -8
- package/dist/cli/{billing-G6C2LUSN.js → billing-7YRVKWAU.js} +99 -99
- package/dist/cli/{chunk-TPRMS2D7.mjs → chunk-22Z2U5MW.mjs} +3 -3
- package/dist/cli/{chunk-7AMUXIZ5.js → chunk-24XWLHKJ.js} +1 -1
- package/dist/cli/{chunk-UP2CQTGX.js → chunk-2YQGXPQ7.js} +2 -2
- package/dist/cli/{chunk-XJUHHIH4.mjs → chunk-3MVBZ4XI.mjs} +5 -5
- package/dist/cli/{chunk-24PL5QN5.mjs → chunk-53HQJS6D.mjs} +1 -1
- package/dist/cli/{chunk-CPDXS2UK.js → chunk-6ASDTHEN.js} +17 -17
- package/dist/cli/{chunk-ODBQY6MD.js → chunk-6BJHMXMA.js} +2 -2
- package/dist/cli/{chunk-L7DGWNF7.js → chunk-A4KQZ6P5.js} +8 -8
- package/dist/cli/{chunk-VLXLKNR4.mjs → chunk-BM4GE67C.mjs} +2 -1
- package/dist/cli/{chunk-PITVKXY3.mjs → chunk-D7DXRFM2.mjs} +1 -1
- package/dist/cli/{chunk-WSX76BQX.js → chunk-EEUJNR5K.js} +6 -6
- package/dist/cli/{chunk-4AE3A4SL.mjs → chunk-ENHQBPR5.mjs} +1 -1
- package/dist/cli/{chunk-5H7BLMNH.js → chunk-EYL4V32Q.js} +4 -4
- package/dist/cli/{chunk-5S2G32ZX.js → chunk-FDVSB4NF.js} +53 -53
- package/dist/cli/{chunk-JORWYP5P.mjs → chunk-FHMGNUOP.mjs} +1 -1
- package/dist/cli/{chunk-MZSUMGWN.js → chunk-G7IGOVPF.js} +20 -20
- package/dist/cli/{chunk-JX4X4KAZ.mjs → chunk-GETMCDVX.mjs} +7 -7
- package/dist/cli/{chunk-A6FYP3KU.js → chunk-GFHBS7HG.js} +5 -5
- package/dist/cli/{chunk-NW6NYTYM.mjs → chunk-GWS7XJI2.mjs} +4 -4
- package/dist/cli/{chunk-NXYBZSRL.mjs → chunk-HUJMFETO.mjs} +2 -2
- package/dist/cli/{chunk-VVGGQBAV.mjs → chunk-II33OPIO.mjs} +2 -2
- package/dist/cli/{chunk-UVFR7FW4.js → chunk-IUDO463I.js} +20 -20
- package/dist/cli/{chunk-B2V6NKX7.js → chunk-JME33A35.js} +20 -20
- package/dist/cli/{chunk-JMDLLVIR.js → chunk-JUTXZW3S.js} +11 -11
- package/dist/cli/{chunk-DTMUYIUO.js → chunk-K5BZF2VO.js} +9 -9
- package/dist/cli/{chunk-5RVSMMQV.mjs → chunk-KACD2TYW.mjs} +2 -2
- package/dist/cli/{chunk-YQDBHVYJ.mjs → chunk-KGCY3MSS.mjs} +5 -5
- package/dist/cli/{chunk-2YT2TFNX.js → chunk-LHPYCJNL.js} +2 -1
- package/dist/cli/{chunk-YUB7OX65.mjs → chunk-LTCV5BI2.mjs} +1 -1
- package/dist/cli/{chunk-L5JD66EF.js → chunk-LWOYDMYC.js} +3 -3
- package/dist/cli/{chunk-WZKWSIZS.mjs → chunk-MJ4JEJLL.mjs} +1 -1
- package/dist/cli/{chunk-TW7HFIQG.mjs → chunk-MPEMAGZS.mjs} +13 -13
- package/dist/cli/{chunk-ARYKF2YT.mjs → chunk-MWZEGRY2.mjs} +2 -2
- package/dist/cli/{chunk-4YNKJTCP.mjs → chunk-OFC24U3N.mjs} +2 -2
- package/dist/cli/{chunk-EZNYE6GZ.js → chunk-OJ3FRPEP.js} +10 -10
- package/dist/cli/{chunk-NHGQHMV7.js → chunk-OSHKFYY4.js} +41 -41
- package/dist/cli/{chunk-GENZXMNR.mjs → chunk-P2DFD2NG.mjs} +1 -1
- package/dist/cli/{chunk-JY2EJQL5.js → chunk-PNFC7VHH.js} +5 -5
- package/dist/cli/{chunk-6C3E6ZZ3.js → chunk-PQ52YTDB.js} +13 -13
- package/dist/cli/{chunk-OOCGLW46.mjs → chunk-PZUBDHQ7.mjs} +4 -4
- package/dist/cli/{chunk-25SOYGAX.js → chunk-QGVOD6Y4.js} +274 -274
- package/dist/cli/{chunk-JWPJXCD2.js → chunk-QQ6AVBHW.js} +23 -23
- package/dist/cli/{chunk-6ZBAXLOR.js → chunk-SSE5P2CX.js} +12 -12
- package/dist/cli/{chunk-PK6MYC5E.js → chunk-TBLP7HDL.js} +7 -7
- package/dist/cli/{chunk-C46GRCHZ.js → chunk-TIMFDVUN.js} +48 -48
- package/dist/cli/{chunk-K35ZLTN2.js → chunk-TPLISQND.js} +5 -5
- package/dist/cli/{chunk-CDLTF6M2.mjs → chunk-UA2VLWZH.mjs} +2 -2
- package/dist/cli/{chunk-C6M5TIPZ.mjs → chunk-UHIOXXAO.mjs} +1 -1
- package/dist/cli/{chunk-U7LDRRRB.mjs → chunk-URACGTQE.mjs} +1 -1
- package/dist/cli/{chunk-OBW2YFHR.mjs → chunk-VZKBLSTA.mjs} +2 -2
- package/dist/cli/{chunk-ZAR6JSI6.js → chunk-WZUOUQZ3.js} +3 -3
- package/dist/cli/{chunk-T26CM5LC.js → chunk-XNN45XYF.js} +2 -2
- package/dist/cli/{chunk-GC4HHDE4.mjs → chunk-XPS2UBYV.mjs} +3 -3
- package/dist/cli/{chunk-DUXL7U7U.mjs → chunk-XXZDT3U7.mjs} +2 -2
- package/dist/cli/{chunk-NWQZIBPY.js → chunk-YE7OCVI5.js} +26 -26
- package/dist/cli/{chunk-QUAPOFCA.mjs → chunk-YFUFYV4M.mjs} +5 -5
- package/dist/cli/{chunk-2TTAHHSJ.mjs → chunk-YODGCJPX.mjs} +2 -2
- package/dist/cli/{chunk-ZKLUGMPE.mjs → chunk-ZMC5FEJN.mjs} +2 -2
- package/dist/cli/{concurrent-runs-help-HSBXPVDN.mjs → concurrent-runs-help-FCAZLZNA.mjs} +6 -6
- package/dist/cli/concurrent-runs-help-TVQO4USY.js +22 -0
- package/dist/cli/{csv-OQGWJ4HU.mjs → csv-BC26EB4B.mjs} +4 -4
- package/dist/cli/{csv-JEOU3DOF.js → csv-SCIQKZNH.js} +13 -13
- package/dist/cli/{db-75WPSR3C.js → db-IJRJVIQ3.js} +27 -27
- package/dist/cli/{db-YHCKYQJI.mjs → db-RVOPGYKY.mjs} +6 -6
- package/dist/cli/describe-4FBGZZK5.js +50 -0
- package/dist/cli/{describe-TSW245QQ.mjs → describe-K7CRL4PA.mjs} +21 -21
- package/dist/cli/describe-core.js +4 -4
- package/dist/cli/describe-core.mjs +3 -3
- package/dist/cli/{executions-PNSETDOA.js → executions-IEVLTSXV.js} +8 -8
- package/dist/cli/{executions-NW3SQULX.mjs → executions-PDOO2GFK.mjs} +6 -6
- package/dist/cli/{feedback-R2Y4APBY.mjs → feedback-7YVUUROQ.mjs} +6 -6
- package/dist/cli/{feedback-LXTVGS4E.js → feedback-KHYOWTXA.js} +14 -14
- package/dist/cli/{git-S7DESBSB.mjs → git-426CAP5S.mjs} +5 -5
- package/dist/cli/git-O6A2FVJE.js +26 -0
- package/dist/cli/index.js +143 -143
- package/dist/cli/index.mjs +45 -45
- package/dist/cli/{integrations-ZLMM2CMG.js → integrations-BVHTRN3W.js} +15 -15
- package/dist/cli/{integrations-CQWODJ23.mjs → integrations-TNJ4IELE.mjs} +7 -7
- package/dist/cli/{legacy-noops-EGD7QOML.mjs → legacy-noops-2GB35THO.mjs} +6 -6
- package/dist/cli/{legacy-noops-4UDVSN5R.js → legacy-noops-F73BMPBV.js} +9 -9
- package/dist/cli/{mcp-Q3SKD3A2.mjs → mcp-BAGMQXNR.mjs} +4 -4
- package/dist/cli/{mcp-5W4HWAMB.js → mcp-KMTC7OBK.js} +24 -24
- package/dist/cli/{monitors-ZXHOLBOO.mjs → monitors-ECONWLHL.mjs} +7 -7
- package/dist/cli/{monitors-NA6QQRUK.js → monitors-O2BUIK7Q.js} +100 -100
- package/dist/cli/{org-25E7SBZP.js → org-5NQQ4PRU.js} +121 -121
- package/dist/cli/{org-O3NSKVA7.mjs → org-AEZZBWA3.mjs} +6 -6
- package/dist/cli/{outcomes-O5DS5XSH.js → outcomes-IKEQKAF7.js} +14 -14
- package/dist/cli/{outcomes-TEXVO2EV.mjs → outcomes-ZWHAJH5I.mjs} +6 -6
- package/dist/cli/{play-UFAJEDX4.mjs → play-BVKLMTAS.mjs} +20 -20
- package/dist/cli/{play-2FVIRT7Z.js → play-VDWB7FZ5.js} +337 -337
- package/dist/cli/{providers-4C4TJ5N3.js → providers-RXT3Q5Q7.js} +9 -9
- package/dist/cli/{providers-LCJA4VQ7.mjs → providers-SWRTGKJJ.mjs} +6 -6
- package/dist/cli/{quickstart-QOJLPGFW.mjs → quickstart-GQVXM7XV.mjs} +4 -4
- package/dist/cli/{quickstart-2OAKQFLT.js → quickstart-UJJNXI2S.js} +6 -6
- package/dist/cli/{run-SNAFQJWR.mjs → run-GDIEU622.mjs} +26 -26
- package/dist/cli/{run-SV3EPJGU.js → run-WOTVRFGN.js} +48 -48
- package/dist/cli/{search-KIJZGURG.mjs → search-EWC7V6GT.mjs} +7 -7
- package/dist/cli/search-UIZHXBHR.js +32 -0
- package/dist/cli/{search-output-OESDMVBG.mjs → search-output-FCW4R6Z4.mjs} +5 -5
- package/dist/cli/{search-output-WRHLYDZX.js → search-output-FL7STAYJ.js} +8 -8
- package/dist/cli/{secrets-GH6KF5VR.js → secrets-UXDUGONR.js} +15 -15
- package/dist/cli/{secrets-5WCCHFM5.mjs → secrets-XG22PDCR.mjs} +6 -6
- package/dist/cli/{sessions-52MAEUFQ.mjs → sessions-2OKBG7FD.mjs} +6 -6
- package/dist/cli/sessions-DPYJFTCW.js +23 -0
- package/dist/cli/{settings-HDOBMJ5A.mjs → settings-EDYA2V4W.mjs} +12 -12
- package/dist/cli/{settings-5RSARPXF.js → settings-RWN7YHK3.js} +85 -85
- package/dist/cli/{setup-4DTCFBOX.js → setup-HA3PG3ST.js} +49 -49
- package/dist/cli/{setup-UY3TSZZV.mjs → setup-UZW2IHAT.mjs} +9 -9
- package/dist/cli/skills-RQ6V5TGY.js +37 -0
- package/dist/cli/{skills-QUWJHOEZ.mjs → skills-V4KAUQQA.mjs} +7 -7
- package/dist/cli/{tools-U2LH642W.mjs → tools-HFUGLYHU.mjs} +19 -19
- package/dist/cli/tools-NGQKXMHP.js +57 -0
- package/dist/cli/{update-3H4E5YJ7.mjs → update-S3KEH7P2.mjs} +9 -9
- package/dist/cli/update-SJJK6XXM.js +37 -0
- package/dist/cli/{views-2LUZ3ATR.js → views-QH5L37UW.js} +21 -21
- package/dist/cli/{views-7WOYBLLQ.mjs → views-Y7Y5Y7V2.mjs} +6 -6
- package/dist/cli/{workflow-YME2SGMA.js → workflow-4W5JT5HP.js} +17 -17
- package/dist/cli/{workflow-55OASFLG.mjs → workflow-XNN54KIK.mjs} +7 -7
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +118 -118
- 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.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-F7QPLPTB.js +0 -44
- package/dist/cli/concurrent-runs-help-3KEUX2GA.js +0 -22
- package/dist/cli/describe-ZUATHN4Z.js +0 -50
- package/dist/cli/git-GAXMETIP.js +0 -26
- package/dist/cli/search-DCHBSXPZ.js +0 -32
- package/dist/cli/sessions-MYG6BH6T.js +0 -23
- package/dist/cli/skills-EOC2MSQK.js +0 -37
- package/dist/cli/tools-AGOX64LC.js +0 -57
- package/dist/cli/update-OLLOIH4U.js +0 -37
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
rejectRestrictedFeedback
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FHMGNUOP.mjs";
|
|
4
4
|
import {
|
|
5
5
|
getAuthedHttpClient,
|
|
6
6
|
printCommandEnvelope
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZMC5FEJN.mjs";
|
|
8
8
|
import {
|
|
9
9
|
agentSessionIdFromEnvironment,
|
|
10
10
|
claudeProjectsRoots,
|
|
11
11
|
coworkTranscriptFromEnvironment
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-URACGTQE.mjs";
|
|
13
13
|
|
|
14
14
|
// src/cli/commands/sessions.ts
|
|
15
15
|
import {
|
|
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
|
|
|
49
49
|
// getters keep their established compatibility behavior.
|
|
50
50
|
// 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
|
|
51
51
|
// 0.3.90 is the first deliberately versioned SDK release for API v3.
|
|
52
|
-
version: "0.3.
|
|
52
|
+
version: "0.3.559",
|
|
53
53
|
updateSummary: {
|
|
54
54
|
introducedIn: "0.3.90",
|
|
55
55
|
summary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release."
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunkIUDO463Ijs = require('./chunk-IUDO463I.js');
|
|
4
4
|
|
|
5
5
|
// src/cli/feedback-preferences.ts
|
|
6
6
|
|
|
@@ -57,7 +57,7 @@ function rejectRestrictedFeedback(options) {
|
|
|
57
57
|
const code = restriction === "off" ? "FEEDBACK_DISABLED" : "FEEDBACK_APPROVAL_REQUIRED";
|
|
58
58
|
const message = restriction === "off" ? 'Feedback is in mode "off". Do not ask the user if they want to send feedback. Use --requested only if they explicitly request it without being prompted.' : "Ask the user if they wish to send feedback. If they agree, rerun the send command with --requested. To change the setting, run deepline settings feedback --help. Agents must get user approval before turning feedback on.";
|
|
59
59
|
if (options.json) {
|
|
60
|
-
|
|
60
|
+
_chunkIUDO463Ijs.printCommandEnvelope.call(void 0,
|
|
61
61
|
{ ok: false, code, exitCode: 2, message },
|
|
62
62
|
{ json: true }
|
|
63
63
|
);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getActiveCliProgress
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UHIOXXAO.mjs";
|
|
4
4
|
import {
|
|
5
5
|
maybeReportAutomaticSkillsSyncFailure
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZMC5FEJN.mjs";
|
|
7
7
|
import {
|
|
8
8
|
DEFAULT_MAX_RETRIES,
|
|
9
9
|
DEFAULT_SKILL_AGENTS,
|
|
@@ -18,20 +18,20 @@ import {
|
|
|
18
18
|
sdkCliStateDirPath,
|
|
19
19
|
skillsAgentPathSegment,
|
|
20
20
|
writeSdkSkillsLocalVersion
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-53HQJS6D.mjs";
|
|
22
22
|
import {
|
|
23
23
|
SDK_API_CONTRACT,
|
|
24
24
|
SDK_API_MAJOR,
|
|
25
25
|
SDK_VERSION,
|
|
26
26
|
deploymentProtectionHeaders,
|
|
27
27
|
detectAgentRuntime
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-URACGTQE.mjs";
|
|
29
29
|
import {
|
|
30
30
|
DeeplineError
|
|
31
31
|
} from "./chunk-Z3A2S3QM.mjs";
|
|
32
32
|
import {
|
|
33
33
|
SDK_RELEASE
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-P2DFD2NG.mjs";
|
|
35
35
|
|
|
36
36
|
// src/compat.ts
|
|
37
37
|
import { randomUUID } from "crypto";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkTBLP7HDLjs = require('./chunk-TBLP7HDL.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -13,7 +13,7 @@ var _chunkPK6MYC5Ejs = require('./chunk-PK6MYC5E.js');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkLHPYCJNLjs = require('./chunk-LHPYCJNL.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
|
|
@@ -31,13 +31,13 @@ var VIEWS = {
|
|
|
31
31
|
details: model,
|
|
32
32
|
lines: [
|
|
33
33
|
...unlisted,
|
|
34
|
-
...
|
|
34
|
+
..._chunkTBLP7HDLjs.formatModelDescription.call(void 0, model).trimEnd().split("\n")
|
|
35
35
|
]
|
|
36
36
|
};
|
|
37
37
|
},
|
|
38
38
|
byok: async (_value, tool) => ({
|
|
39
39
|
details: _nullishCoalesce(tool.byok, () => ( {})),
|
|
40
|
-
lines:
|
|
40
|
+
lines: _chunkLHPYCJNLjs.byokLines.call(void 0, _nullishCoalesce(tool.byok, () => ( {})))
|
|
41
41
|
})
|
|
42
42
|
};
|
|
43
43
|
var isFeatureView = (value) => typeof value === "string" && Object.hasOwn(VIEWS, value);
|
|
@@ -133,7 +133,7 @@ async function findNamed(reference, options, lookups) {
|
|
|
133
133
|
const record = await lookups.play(reference2);
|
|
134
134
|
if (!record) return null;
|
|
135
135
|
return {
|
|
136
|
-
described:
|
|
136
|
+
described: _chunkLHPYCJNLjs.describedPlay.call(void 0, record),
|
|
137
137
|
record: { ...record },
|
|
138
138
|
schemas: {
|
|
139
139
|
inputSchema: _nullishCoalesce(record.inputSchema, () => ( null)),
|
|
@@ -153,15 +153,15 @@ async function findNamed(reference, options, lookups) {
|
|
|
153
153
|
const features = toolFeatures(record);
|
|
154
154
|
return {
|
|
155
155
|
described: {
|
|
156
|
-
...
|
|
156
|
+
..._chunkTBLP7HDLjs.describedTool.call(void 0, record, name),
|
|
157
157
|
...features.length ? { features: features.map(({ view: _view, ...feature }) => feature) } : {}
|
|
158
158
|
},
|
|
159
|
-
record:
|
|
159
|
+
record: _chunkTBLP7HDLjs.toolMetadataJsonForDescribe.call(void 0,
|
|
160
160
|
record,
|
|
161
161
|
name,
|
|
162
162
|
lookups.seedStarterScript
|
|
163
163
|
),
|
|
164
|
-
schemas:
|
|
164
|
+
schemas: _chunkTBLP7HDLjs.publicToolSchemas.call(void 0, record),
|
|
165
165
|
feature: (featureName, value) => {
|
|
166
166
|
const feature = features.find(({ name: name2 }) => name2 === featureName);
|
|
167
167
|
return feature ? describeFeature(record, feature, value, {
|
|
@@ -208,7 +208,7 @@ async function describeName(name, options, lookups) {
|
|
|
208
208
|
const note = shadows ? `Showing your org play "${name}". It has the same name as a Deepline ${shadows.kind.replace("_", " ")}; see that one with: ${shadows.describeCommand}` : null;
|
|
209
209
|
const verbose = options.verbose === true;
|
|
210
210
|
const isPlay = described.kind === "prebuilt_play" || described.kind === "custom_play";
|
|
211
|
-
const dashboardUrl = isPlay ?
|
|
211
|
+
const dashboardUrl = isPlay ? _chunkLHPYCJNLjs.buildPlayDashboardUrl.call(void 0, lookups.baseUrl, described.id) : null;
|
|
212
212
|
if (options.webUrl) {
|
|
213
213
|
if (!dashboardUrl) {
|
|
214
214
|
return {
|
|
@@ -272,7 +272,7 @@ async function describeName(name, options, lookups) {
|
|
|
272
272
|
},
|
|
273
273
|
lines: [
|
|
274
274
|
`${described.id} [${described.kind.replace("_", " ")}]`,
|
|
275
|
-
...
|
|
275
|
+
..._chunkLHPYCJNLjs.schemaLines.call(void 0, described, {
|
|
276
276
|
full: true,
|
|
277
277
|
secondary: true,
|
|
278
278
|
...fields.length ? { fields } : {}
|
|
@@ -281,17 +281,17 @@ async function describeName(name, options, lookups) {
|
|
|
281
281
|
} : {
|
|
282
282
|
envelope: {
|
|
283
283
|
...summary,
|
|
284
|
-
inputs: inputs.map(
|
|
285
|
-
outputs: outputs.map(
|
|
286
|
-
...described.rowInputs ? { rowInputs: described.rowInputs.map(
|
|
287
|
-
...described.rowOutputs ? { rowOutputs: described.rowOutputs.map(
|
|
288
|
-
runExamples:
|
|
284
|
+
inputs: inputs.map(_chunkLHPYCJNLjs.topLevelField),
|
|
285
|
+
outputs: outputs.map(_chunkLHPYCJNLjs.topLevelField),
|
|
286
|
+
...described.rowInputs ? { rowInputs: described.rowInputs.map(_chunkLHPYCJNLjs.topLevelField) } : {},
|
|
287
|
+
...described.rowOutputs ? { rowOutputs: described.rowOutputs.map(_chunkLHPYCJNLjs.topLevelField) } : {},
|
|
288
|
+
runExamples: _chunkLHPYCJNLjs.examples.call(void 0, described, { verbose }),
|
|
289
289
|
...dashboardUrl ? { dashboardUrl } : {},
|
|
290
290
|
...shadows ? { shadows, note } : {}
|
|
291
291
|
},
|
|
292
292
|
lines: [
|
|
293
293
|
...note ? [`Note: ${note}`, ""] : [],
|
|
294
|
-
...
|
|
294
|
+
..._chunkLHPYCJNLjs.describedLines.call(void 0, described, {
|
|
295
295
|
cli: shown && (!named || options.cliExample === true),
|
|
296
296
|
play: shown && (!named || options.playExample === true),
|
|
297
297
|
explain: named,
|
|
@@ -308,7 +308,7 @@ async function describeName(name, options, lookups) {
|
|
|
308
308
|
// its value stands, so callers of the older commands read what they did.
|
|
309
309
|
{ ...view.envelope, ...record }
|
|
310
310
|
) : {
|
|
311
|
-
...
|
|
311
|
+
..._chunkLHPYCJNLjs.describedJson.call(void 0, described, {
|
|
312
312
|
secondary: verbose || fields.length > 0,
|
|
313
313
|
verbose
|
|
314
314
|
}),
|
|
@@ -1,6 +1,6 @@
|
|
|
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
|
-
var
|
|
3
|
+
var _chunkIUDO463Ijs = require('./chunk-IUDO463I.js');
|
|
4
4
|
|
|
5
5
|
// src/cli/maintenance-policy.ts
|
|
6
6
|
var _commander = require('commander');
|
|
@@ -33,7 +33,7 @@ function recordCliTrace(event) {
|
|
|
33
33
|
sinceStartMs: now - cliTraceStartedAt,
|
|
34
34
|
...event
|
|
35
35
|
};
|
|
36
|
-
|
|
36
|
+
_chunkIUDO463Ijs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
|
|
37
37
|
`);
|
|
38
38
|
}
|
|
39
39
|
async function traceCliSpan(phase, fields, run) {
|
|
@@ -37,7 +37,7 @@ var _chunkPMH4GLMDjs = require('./chunk-PMH4GLMD.js');
|
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
var
|
|
40
|
+
var _chunkEYL4V32Qjs = require('./chunk-EYL4V32Q.js');
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
var _chunk6VLFQZK6js = require('./chunk-6VLFQZK6.js');
|
|
@@ -705,7 +705,7 @@ var ToolCalls = class {
|
|
|
705
705
|
idempotencyKey,
|
|
706
706
|
onResponse: (response2) => {
|
|
707
707
|
lastResponse = null;
|
|
708
|
-
atomicToolsSupported = response2.headers.get(
|
|
708
|
+
atomicToolsSupported = response2.headers.get(_chunkEYL4V32Qjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
|
|
709
709
|
recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
|
|
710
710
|
if (_optionalChain([options, 'optionalAccess', _33 => _33.onServerTiming])) {
|
|
711
711
|
try {
|
|
@@ -1092,15 +1092,15 @@ function runtimeSelectionHeaders(runtime, env) {
|
|
|
1092
1092
|
}
|
|
1093
1093
|
const receivers = _optionalChain([env, 'access', _58 => _58.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _59 => _59.trim, 'call', _60 => _60()]);
|
|
1094
1094
|
return {
|
|
1095
|
-
[
|
|
1096
|
-
...receivers ? { [
|
|
1095
|
+
[_chunkEYL4V32Qjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
|
|
1096
|
+
...receivers ? { [_chunkEYL4V32Qjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
|
|
1097
1097
|
};
|
|
1098
1098
|
}
|
|
1099
1099
|
function playRunStartHeaders(runtime, env) {
|
|
1100
1100
|
const headers = runtimeSelectionHeaders(runtime, env);
|
|
1101
1101
|
const experimentSwitches = _optionalChain([env, 'access', _61 => _61.DEEPLINE_EXPERIMENT_SWITCHES, 'optionalAccess', _62 => _62.trim, 'call', _63 => _63()]);
|
|
1102
1102
|
if (!experimentSwitches) return headers;
|
|
1103
|
-
return { ...headers, [
|
|
1103
|
+
return { ...headers, [_chunkEYL4V32Qjs.EXPERIMENT_SWITCHES_HEADER]: experimentSwitches };
|
|
1104
1104
|
}
|
|
1105
1105
|
function normalizeTestPolicyOverrides(value, source) {
|
|
1106
1106
|
if (value && typeof value === "object" && !Array.isArray(value)) {
|
|
@@ -1170,7 +1170,7 @@ var PlayClient = class {
|
|
|
1170
1170
|
return _chunkMJTVX4QKjs.startPlayRun.call(void 0,
|
|
1171
1171
|
this.http,
|
|
1172
1172
|
resolved.request,
|
|
1173
|
-
_optionalChain([options, 'optionalAccess', _71 => _71.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(
|
|
1173
|
+
_optionalChain([options, 'optionalAccess', _71 => _71.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkEYL4V32Qjs.SDK_API_MAJOR) } : headers,
|
|
1174
1174
|
options
|
|
1175
1175
|
);
|
|
1176
1176
|
}
|
|
@@ -3411,7 +3411,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
|
|
|
3411
3411
|
"RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
|
|
3412
3412
|
);
|
|
3413
3413
|
}
|
|
3414
|
-
return { [
|
|
3414
|
+
return { [_chunkEYL4V32Qjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
|
|
3415
3415
|
}
|
|
3416
3416
|
function sleep(ms) {
|
|
3417
3417
|
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
@@ -4347,7 +4347,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
|
|
|
4347
4347
|
);
|
|
4348
4348
|
const headers = _optionalChain([options, 'optionalAccess', _200 => _200.cliAdmission]) ? {
|
|
4349
4349
|
...runtimeHeaders,
|
|
4350
|
-
"X-Deepline-API-Major": String(
|
|
4350
|
+
"X-Deepline-API-Major": String(_chunkEYL4V32Qjs.SDK_API_MAJOR)
|
|
4351
4351
|
} : runtimeHeaders;
|
|
4352
4352
|
const http = this.http;
|
|
4353
4353
|
let submitted = false;
|
|
@@ -107,7 +107,8 @@ function pageSizeNote(schema) {
|
|
|
107
107
|
const notes = [
|
|
108
108
|
`page size${range}`,
|
|
109
109
|
typeof maximum === "number" ? `more runs at ${maximum}` : void 0,
|
|
110
|
-
typeof declaration.next === "string" ? `next page: ${declaration.next}` : typeof declaration.nextHint === "string" ? declaration.nextHint : void 0
|
|
110
|
+
typeof declaration.next === "string" ? `next page: ${declaration.next}` : typeof declaration.nextHint === "string" ? declaration.nextHint : void 0,
|
|
111
|
+
typeof declaration.count === "string" ? `to count: ${declaration.count}` : declaration.count === false ? "no count mode" : void 0
|
|
111
112
|
];
|
|
112
113
|
return notes.filter(Boolean).join("; ");
|
|
113
114
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunk6BJHMXMAjs = require('./chunk-6BJHMXMA.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkTIMFDVUNjs = require('./chunk-TIMFDVUN.js');
|
|
9
9
|
|
|
10
10
|
// src/cli/play-run-admission.ts
|
|
11
11
|
function usesInlinePlayAdmission(command, args) {
|
|
@@ -18,18 +18,18 @@ function usesCliPlayAdmission(command, args) {
|
|
|
18
18
|
}
|
|
19
19
|
async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured", signal) {
|
|
20
20
|
_optionalChain([signal, 'optionalAccess', _ => _.throwIfAborted, 'call', _2 => _2()]);
|
|
21
|
-
if (maintenancePolicy !== "off")
|
|
22
|
-
const compatibility = await
|
|
21
|
+
if (maintenancePolicy !== "off") _chunkTIMFDVUNjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
|
|
22
|
+
const compatibility = await _chunk6BJHMXMAjs.traceCliSpan.call(void 0,
|
|
23
23
|
"cli.sdk_compatibility",
|
|
24
24
|
{ baseUrl, command: "plays run" },
|
|
25
|
-
() =>
|
|
25
|
+
() => _chunkTIMFDVUNjs.requireSdkCompatibility.call(void 0, baseUrl, {
|
|
26
26
|
command: "plays run",
|
|
27
27
|
persistCache: maintenancePolicy !== "off",
|
|
28
28
|
signal
|
|
29
29
|
})
|
|
30
30
|
);
|
|
31
31
|
_optionalChain([signal, 'optionalAccess', _3 => _3.throwIfAborted, 'call', _4 => _4()]);
|
|
32
|
-
|
|
32
|
+
_chunkTIMFDVUNjs.enforceSdkCompatibilityResponse.call(void 0, compatibility, {
|
|
33
33
|
quietAdvisory: true
|
|
34
34
|
});
|
|
35
35
|
}
|
|
@@ -21,12 +21,12 @@ var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
|
|
|
21
21
|
var _chunkCFJFUVX2js = require('./chunk-CFJFUVX2.js');
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunk24XWLHKJjs = require('./chunk-24XWLHKJ.js');
|
|
25
25
|
|
|
26
26
|
// src/version.ts
|
|
27
|
-
var SDK_VERSION =
|
|
28
|
-
var SDK_API_MAJOR =
|
|
29
|
-
var SDK_API_CONTRACT = _nullishCoalesce(
|
|
27
|
+
var SDK_VERSION = _chunk24XWLHKJjs.SDK_RELEASE.version;
|
|
28
|
+
var SDK_API_MAJOR = _chunk24XWLHKJjs.SDK_RELEASE.contracts.api.currentMajor;
|
|
29
|
+
var SDK_API_CONTRACT = _nullishCoalesce(_chunk24XWLHKJjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
|
|
30
30
|
|
|
31
31
|
// src/agent-runtime.ts
|
|
32
32
|
var _fs = require('fs');
|