deepline 0.3.556 → 0.3.558
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/cli/{auth-MT7DWCZO.mjs → auth-JJXTMFWH.mjs} +5 -5
- package/dist/cli/auth-TWSGYOWI.js +44 -0
- package/dist/cli/{billing-4NOM52PO.mjs → billing-RBFJMAI5.mjs} +8 -8
- package/dist/cli/{billing-3HHUTNME.js → billing-V3TJKUHY.js} +99 -99
- package/dist/cli/{chunk-ASOLVHDL.mjs → chunk-2FFZ5SEU.mjs} +2 -2
- package/dist/cli/{chunk-NGB2VSGB.js → chunk-4CTBC6Q7.js} +3 -3
- package/dist/cli/{chunk-VCYPHVUE.mjs → chunk-4SVFZCCI.mjs} +2 -2
- package/dist/cli/{chunk-F5CE3JZQ.js → chunk-5V45LY6Y.js} +9 -9
- package/dist/cli/{chunk-GZFYLAXJ.js → chunk-67J4K4G2.js} +20 -20
- package/dist/cli/{chunk-EN5NHCCQ.js → chunk-6ASDTHEN.js} +17 -17
- package/dist/cli/{chunk-3R6RBAQW.js → chunk-6BDLYZYL.js} +26 -26
- package/dist/cli/{chunk-KA77KT46.mjs → chunk-6GBQNS6L.mjs} +1 -1
- package/dist/cli/{chunk-UO7NPJEK.js → chunk-6LFPPAMD.js} +3 -3
- package/dist/cli/{chunk-FQYEHUVR.mjs → chunk-6PIQC2XE.mjs} +3 -3
- package/dist/cli/{chunk-QVNX6AC3.js → chunk-7Q3EXOLC.js} +12 -12
- package/dist/cli/{chunk-VQZQCPCA.mjs → chunk-7Q5I4KEG.mjs} +4 -4
- package/dist/cli/{chunk-4HSPHSUB.js → chunk-A5MRMCMW.js} +5 -5
- package/dist/cli/{chunk-DAQQL743.mjs → chunk-AL4QQKUK.mjs} +2 -2
- package/dist/cli/{chunk-JRYF5W3A.mjs → chunk-ARGJDP77.mjs} +2 -2
- package/dist/cli/{chunk-4U5HIMZY.js → chunk-BFM2RCC3.js} +2 -2
- package/dist/cli/{chunk-C4GWTN3J.mjs → chunk-BHHCQGUY.mjs} +7 -7
- package/dist/cli/{chunk-XFZX6FNM.mjs → chunk-BM4GE67C.mjs} +18 -2
- package/dist/cli/{chunk-W5JM2QCI.mjs → chunk-BWWLLK56.mjs} +5 -5
- package/dist/cli/{chunk-7MD36QLK.js → chunk-C7BQBKRZ.js} +4 -4
- package/dist/cli/{chunk-KNOS6H4E.mjs → chunk-CB5DIX5K.mjs} +2 -2
- package/dist/cli/{chunk-ZGOTBBY3.mjs → chunk-CEEUL7ER.mjs} +1 -1
- package/dist/cli/{chunk-YO2FDGAN.mjs → chunk-CG3R4ZFS.mjs} +2 -2
- package/dist/cli/{chunk-MUIJGT2B.mjs → chunk-D4GCU735.mjs} +1 -1
- package/dist/cli/{chunk-YGW2CSB7.js → chunk-DDI4LNVC.js} +41 -41
- package/dist/cli/{chunk-L57JAXHI.mjs → chunk-DJAP2M5M.mjs} +1 -1
- package/dist/cli/{chunk-TGUQET3O.mjs → chunk-ENHQBPR5.mjs} +1 -1
- package/dist/cli/{chunk-SWVGAIJD.js → chunk-FCG42RQZ.js} +20 -20
- package/dist/cli/{chunk-UYPXQFJ4.mjs → chunk-FF3BWNLL.mjs} +1 -1
- package/dist/cli/{chunk-KN3NETDA.js → chunk-FH55SB63.js} +11 -11
- package/dist/cli/{chunk-LW2FKVCQ.mjs → chunk-GAQ6VSRS.mjs} +1 -1
- package/dist/cli/{chunk-PC2FTUCP.mjs → chunk-HUJMFETO.mjs} +2 -2
- package/dist/cli/{chunk-GY4S6A72.js → chunk-I3PX6NGG.js} +5 -5
- package/dist/cli/{chunk-ASMHON7N.mjs → chunk-I57JNBKA.mjs} +5 -5
- package/dist/cli/{chunk-CJF7AFBD.js → chunk-IS67LBNV.js} +2 -2
- package/dist/cli/{chunk-IFHMGEDN.mjs → chunk-KMNLER7F.mjs} +13 -13
- package/dist/cli/{chunk-LY5MMXFF.js → chunk-LHPYCJNL.js} +18 -2
- package/dist/cli/{chunk-QGQPVPJN.mjs → chunk-LIS6UJSC.mjs} +1 -1
- package/dist/cli/{chunk-N6LM2Q6V.js → chunk-M4CJGF53.js} +5 -5
- package/dist/cli/{chunk-P6ZIR4QD.mjs → chunk-MAN4IEO4.mjs} +4 -4
- package/dist/cli/{chunk-LU3OLGF3.js → chunk-NADXF2C5.js} +53 -53
- package/dist/cli/{chunk-CZ2RJTAQ.js → chunk-NAJAAIEE.js} +48 -48
- package/dist/cli/{chunk-KUDSTDSL.js → chunk-OWOUDGHO.js} +23 -23
- package/dist/cli/{chunk-O7QRNMSW.mjs → chunk-P2MVPTFJ.mjs} +1 -1
- package/dist/cli/{chunk-UERLY7PX.mjs → chunk-P3SLGOGA.mjs} +2 -2
- package/dist/cli/{chunk-G6BX5VJN.js → chunk-PAJLUB37.js} +274 -274
- package/dist/cli/{chunk-FFXLMJ5O.js → chunk-QGDU23YW.js} +8 -8
- package/dist/cli/{chunk-DAS66RGZ.js → chunk-QGJ4DYGE.js} +1 -1
- package/dist/cli/{chunk-KONNXKKX.js → chunk-RIQYBKHK.js} +2 -2
- package/dist/cli/{chunk-2ZS5PZB6.mjs → chunk-T6W7SKE7.mjs} +2 -2
- package/dist/cli/{chunk-3IKGZ4CG.js → chunk-TBLP7HDL.js} +7 -7
- package/dist/cli/{chunk-K4IPTGU5.js → chunk-VPJ663PV.js} +10 -10
- package/dist/cli/{chunk-B4RWCBU5.mjs → chunk-WJ7RY3PJ.mjs} +3 -3
- package/dist/cli/{chunk-HJO3MZ4M.mjs → chunk-XPSSXKBT.mjs} +2 -2
- package/dist/cli/{chunk-2NZQ432X.js → chunk-XV4DHKZ2.js} +13 -13
- package/dist/cli/{chunk-C2XLKCRH.mjs → chunk-YBJSDL34.mjs} +5 -5
- package/dist/cli/{chunk-7ERE37SK.js → chunk-YJ46MJMT.js} +6 -6
- package/dist/cli/{chunk-PWQ3IUD4.js → chunk-YVWINBZL.js} +20 -20
- package/dist/cli/concurrent-runs-help-4VRUNL3T.js +22 -0
- package/dist/cli/{concurrent-runs-help-AFJDK2SY.mjs → concurrent-runs-help-ZWWMHCK4.mjs} +6 -6
- package/dist/cli/{csv-CATF6MZU.mjs → csv-D76CXYOL.mjs} +4 -4
- package/dist/cli/{csv-NTNQLQXG.js → csv-V2FR4SO2.js} +13 -13
- package/dist/cli/{db-U3FK4FFM.mjs → db-2D7PD7A3.mjs} +6 -6
- package/dist/cli/{db-IKFKNLW5.js → db-B23O6Q4O.js} +27 -27
- package/dist/cli/{describe-F7OQQ7IO.mjs → describe-3LG6VO3D.mjs} +21 -21
- package/dist/cli/describe-QE4ITFPG.js +50 -0
- package/dist/cli/describe-core.d.mts +5 -0
- package/dist/cli/describe-core.d.ts +5 -0
- package/dist/cli/describe-core.js +4 -4
- package/dist/cli/describe-core.mjs +3 -3
- package/dist/cli/{executions-3TA5SATU.js → executions-4P4UBPMX.js} +8 -8
- package/dist/cli/{executions-6KUA7RPH.mjs → executions-ORWO4SR4.mjs} +6 -6
- package/dist/cli/{feedback-U5I6UTJG.mjs → feedback-AY47IRDD.mjs} +6 -6
- package/dist/cli/{feedback-GX7RVC4O.js → feedback-LPHCSOJT.js} +14 -14
- package/dist/cli/{git-DYNKPPNT.mjs → git-LQGZNBZM.mjs} +5 -5
- package/dist/cli/git-XXVGEPEM.js +26 -0
- package/dist/cli/index.js +143 -143
- package/dist/cli/index.mjs +45 -45
- package/dist/cli/{integrations-7FATBEB5.mjs → integrations-NEUZIBQT.mjs} +7 -7
- package/dist/cli/{integrations-PQX2FRPT.js → integrations-QEOUALDR.js} +15 -15
- package/dist/cli/{legacy-noops-ODATBQUL.mjs → legacy-noops-4G3DXN57.mjs} +6 -6
- package/dist/cli/{legacy-noops-JNXQWYUR.js → legacy-noops-PUO5VKHN.js} +9 -9
- package/dist/cli/{mcp-RXBXC4HW.js → mcp-EWAZKABW.js} +24 -24
- package/dist/cli/{mcp-UDNG33WQ.mjs → mcp-USM2QUKK.mjs} +4 -4
- package/dist/cli/{monitors-NDAGIRO4.js → monitors-2BI5J46A.js} +100 -100
- package/dist/cli/{monitors-L56QYFRW.mjs → monitors-T6FJSZCP.mjs} +7 -7
- package/dist/cli/{org-EA5DL5I7.mjs → org-BT45O64S.mjs} +6 -6
- package/dist/cli/{org-Q47O5ZTI.js → org-V6V3E7F7.js} +121 -121
- package/dist/cli/{outcomes-773GPYXN.mjs → outcomes-2T6W554M.mjs} +6 -6
- package/dist/cli/{outcomes-27ENBTWE.js → outcomes-B6RPHM6M.js} +14 -14
- package/dist/cli/{play-O6RGVBT7.mjs → play-CBBGJPRI.mjs} +20 -20
- package/dist/cli/{play-BOZIT25U.js → play-YCFVGEWK.js} +337 -337
- package/dist/cli/{providers-S2E5IGFO.js → providers-AGRUGBIY.js} +9 -9
- package/dist/cli/{providers-OOKYSLMJ.mjs → providers-RHBUQFFO.mjs} +6 -6
- package/dist/cli/{quickstart-YXKRRK43.js → quickstart-6N2KPWII.js} +6 -6
- package/dist/cli/{quickstart-7GVZ7YCQ.mjs → quickstart-OPR5NLIQ.mjs} +4 -4
- package/dist/cli/{run-3QGOVUHF.mjs → run-HAU2STMQ.mjs} +26 -26
- package/dist/cli/{run-7DXBARRO.js → run-MMANMS4E.js} +48 -48
- package/dist/cli/search-7LMUBMDC.js +32 -0
- package/dist/cli/{search-5UIB4QSG.mjs → search-TGWQMQ2C.mjs} +7 -7
- package/dist/cli/{search-output-MSUN3KPW.mjs → search-output-DZBYNJEO.mjs} +5 -5
- package/dist/cli/{search-output-C7ZPRC2B.js → search-output-VVM3DO2H.js} +8 -8
- package/dist/cli/{secrets-FU3DFFB6.js → secrets-V5WD552F.js} +15 -15
- package/dist/cli/{secrets-JYJS2VHO.mjs → secrets-Z6NEKNWM.mjs} +6 -6
- package/dist/cli/{sessions-JBD64DOX.mjs → sessions-C5GNXSPB.mjs} +6 -6
- package/dist/cli/sessions-VYIPZBSR.js +23 -0
- package/dist/cli/{settings-GDJGQXKT.js → settings-EZPZXJDG.js} +85 -85
- package/dist/cli/{settings-4KFYWSJI.mjs → settings-QUDVUIOJ.mjs} +12 -12
- package/dist/cli/{setup-46VMBV3K.mjs → setup-BCJBVQTI.mjs} +9 -9
- package/dist/cli/{setup-OKLUCTU7.js → setup-QY5VVGWQ.js} +49 -49
- package/dist/cli/{skills-XRJNXEEA.mjs → skills-LY2WZ22U.mjs} +7 -7
- package/dist/cli/skills-PKNTNDYL.js +37 -0
- package/dist/cli/tools-D6CKFZL3.js +57 -0
- package/dist/cli/{tools-WEBVZN3X.mjs → tools-FNCTTFWA.mjs} +19 -19
- package/dist/cli/update-E2H2DWH4.js +37 -0
- package/dist/cli/{update-RKTYJ6BO.mjs → update-YKQAC4AQ.mjs} +9 -9
- package/dist/cli/{views-VTOQ4U75.mjs → views-5R5NVYHL.mjs} +6 -6
- package/dist/cli/{views-XLAPDQXQ.js → views-NBTOBB67.js} +21 -21
- package/dist/cli/{workflow-RCO4R46B.mjs → workflow-HBDW43GT.mjs} +7 -7
- package/dist/cli/{workflow-HH4XVYPN.js → workflow-VNPT5VQS.js} +17 -17
- 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-HA7TI6SA.js +0 -44
- package/dist/cli/concurrent-runs-help-ZHOCLINF.js +0 -22
- package/dist/cli/describe-ZHNZ4H6S.js +0 -50
- package/dist/cli/git-6DK7N4V7.js +0 -26
- package/dist/cli/search-4DZYX3FR.js +0 -32
- package/dist/cli/sessions-E2IX3GU7.js +0 -23
- package/dist/cli/skills-GJS4Q7NU.js +0 -37
- package/dist/cli/tools-LICQXFYA.js +0 -57
- package/dist/cli/update-3XH3NVVY.js +0 -37
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return 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 _chunkM4CJGF53js = require('./chunk-M4CJGF53.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkYVWINBZLjs = require('./chunk-YVWINBZL.js');
|
|
7
7
|
|
|
8
8
|
// src/cli/commands/integration-commands.ts
|
|
9
9
|
var _commander = require('commander');
|
|
10
10
|
var _fs = require('fs');
|
|
11
11
|
var _path = require('path');
|
|
12
12
|
function printIntegrationResult(value, json, lines, nextCursor) {
|
|
13
|
-
|
|
13
|
+
_chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
|
|
14
14
|
{},
|
|
15
15
|
{
|
|
16
16
|
json: json || void 0,
|
|
@@ -26,7 +26,7 @@ function registerIntegrationBalanceCommand(parent, hidden = false) {
|
|
|
26
26
|
return parent.command("balance <provider>", { hidden }).description(
|
|
27
27
|
"Read a fresh balance using this org\u2019s own provider connection (LeadMagic)."
|
|
28
28
|
).option("--json", "Print the balance and observation timestamp as JSON").action(async (provider, options) => {
|
|
29
|
-
const balance = await new (0,
|
|
29
|
+
const balance = await new (0, _chunkM4CJGF53js.DeeplineClient)().getIntegrationBalance(
|
|
30
30
|
provider
|
|
31
31
|
);
|
|
32
32
|
printIntegrationResult(balance, options.json, [
|
|
@@ -40,7 +40,7 @@ function registerWorkspaceConnectionListCommand(parent, name = "workspace-connec
|
|
|
40
40
|
"List teammates\u2019 personal connections for this provider"
|
|
41
41
|
).option("--cursor <cursor>", "Read the next page of members").action(
|
|
42
42
|
async (options) => {
|
|
43
|
-
const client = new (0,
|
|
43
|
+
const client = new (0, _chunkM4CJGF53js.DeeplineClient)();
|
|
44
44
|
if (name === "list" && options.cursor && !options.members)
|
|
45
45
|
throw new Error(
|
|
46
46
|
"Use --cursor with --members to continue a member page."
|
|
@@ -82,7 +82,7 @@ function registerWorkspaceConnectionListCommand(parent, name = "workspace-connec
|
|
|
82
82
|
}
|
|
83
83
|
function registerLegacyHubSpotMembersCommand(parent, hidden = false) {
|
|
84
84
|
return parent.command("hubspot-members", { hidden }).description("List personal HubSpot connection status for org members.").option("--cursor <cursor>", "Read the next roster page").option("--json", "Print the roster page as JSON").action(async (options) => {
|
|
85
|
-
const page = await new (0,
|
|
85
|
+
const page = await new (0, _chunkM4CJGF53js.DeeplineClient)().listPersonalHubSpotMembers(
|
|
86
86
|
options.cursor
|
|
87
87
|
);
|
|
88
88
|
const rows = page.members.map((member) => {
|
|
@@ -108,7 +108,7 @@ function registerLegacyWorkspaceConnectionCommand(parent, hidden = false) {
|
|
|
108
108
|
);
|
|
109
109
|
if (options.autoName && (action !== "connect" || options.name !== void 0))
|
|
110
110
|
throw new Error("Use --auto-name with connect and omit --name.");
|
|
111
|
-
const client = new (0,
|
|
111
|
+
const client = new (0, _chunkM4CJGF53js.DeeplineClient)();
|
|
112
112
|
const { connections } = action === "connect" ? { connections: [] } : options.name ? await client.listWorkspaceConnectionInventory(provider) : await client.listWorkspaceIntegrationConnections();
|
|
113
113
|
const row = connections.find(
|
|
114
114
|
(connection) => connection.provider === provider && (!("type" in connection) || connection.type === "oauth") && (options.name === void 0 || "name" in connection && connection.name === options.name)
|
|
@@ -141,7 +141,7 @@ function registerLegacyCalendarDelegationCommand(parent, hidden = false) {
|
|
|
141
141
|
"Print the proposed change without contacting Google or saving it"
|
|
142
142
|
).option("--json", "Print the result as JSON").action(
|
|
143
143
|
async (action, options) => {
|
|
144
|
-
const client = new (0,
|
|
144
|
+
const client = new (0, _chunkM4CJGF53js.DeeplineClient)();
|
|
145
145
|
if (action === "list") {
|
|
146
146
|
const inventory = await client.listCalendarAvailabilityConnections();
|
|
147
147
|
const approvals = _optionalChain([inventory, 'access', _3 => _3.approvals, 'optionalAccess', _4 => _4.length]) ? inventory.approvals.map(
|
|
@@ -291,7 +291,7 @@ function registerLegacyCalendarDelegationCommand(parent, hidden = false) {
|
|
|
291
291
|
}
|
|
292
292
|
function registerLegacyAvailabilityCalendarsCommand(parent, hidden = false) {
|
|
293
293
|
return parent.command("availability-calendars", { hidden }).description("Calendar discovery compatibility command for the pilot.").option("--cursor <cursor>", "Legacy calendar page cursor").option("--json", "Print the response as JSON").action(async (options) => {
|
|
294
|
-
const page = await new (0,
|
|
294
|
+
const page = await new (0, _chunkM4CJGF53js.DeeplineClient)().listAvailabilityCalendars(
|
|
295
295
|
options.cursor
|
|
296
296
|
);
|
|
297
297
|
printIntegrationResult(page, options.json, [
|
|
@@ -335,7 +335,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
|
|
|
335
335
|
printSetupPlan({ provider, action: "connect_link" }, options.json);
|
|
336
336
|
return;
|
|
337
337
|
}
|
|
338
|
-
const link = await new (0,
|
|
338
|
+
const link = await new (0, _chunkM4CJGF53js.DeeplineClient)().getIntegrationConnectLink(
|
|
339
339
|
provider
|
|
340
340
|
);
|
|
341
341
|
printIntegrationResult(link, options.json, [link.connect_url]);
|
|
@@ -362,7 +362,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
|
|
|
362
362
|
);
|
|
363
363
|
return;
|
|
364
364
|
}
|
|
365
|
-
const result2 = await new (0,
|
|
365
|
+
const result2 = await new (0, _chunkM4CJGF53js.DeeplineClient)().startIntegrationOAuth(
|
|
366
366
|
provider,
|
|
367
367
|
{
|
|
368
368
|
...options.preset !== void 0 ? { preset: options.preset } : {},
|
|
@@ -412,7 +412,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
|
|
|
412
412
|
"--credentials-file must contain a nonempty JSON object of string credential values."
|
|
413
413
|
);
|
|
414
414
|
}
|
|
415
|
-
const result = await new (0,
|
|
415
|
+
const result = await new (0, _chunkM4CJGF53js.DeeplineClient)().setIntegrationCredentials(
|
|
416
416
|
provider,
|
|
417
417
|
credentials,
|
|
418
418
|
{ expectedConnectionId: options.expectedConnectionId }
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
} from "./chunk-5AEDYVB6.mjs";
|
|
4
4
|
import {
|
|
5
5
|
DeeplineClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-T6W7SKE7.mjs";
|
|
7
7
|
import {
|
|
8
8
|
errorToJsonPayload,
|
|
9
9
|
printCommandEnvelope,
|
|
10
10
|
resolveSdkCliFailureExitCode
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CB5DIX5K.mjs";
|
|
12
12
|
import {
|
|
13
13
|
resolveConfig,
|
|
14
14
|
sdkCliStateDirPath
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CEEUL7ER.mjs";
|
|
16
16
|
|
|
17
17
|
// src/cli/commands/search.ts
|
|
18
18
|
import { Option } from "commander";
|
|
@@ -134,7 +134,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
|
|
|
134
134
|
}
|
|
135
135
|
const client = new DeeplineClient();
|
|
136
136
|
const json = options.json === true;
|
|
137
|
-
const renderer = json ? void 0 : await import("./search-output-
|
|
137
|
+
const renderer = json ? void 0 : await import("./search-output-DZBYNJEO.mjs");
|
|
138
138
|
const searches = [];
|
|
139
139
|
const chunks = [];
|
|
140
140
|
const refs = /* @__PURE__ */ new Map();
|
|
@@ -1,10 +1,10 @@
|
|
|
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 _chunkQGDU23YWjs = require('./chunk-QGDU23YW.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunk4CTBC6Q7js = require('./chunk-4CTBC6Q7.js');
|
|
8
8
|
|
|
9
9
|
// src/plays/local-play-execution.ts
|
|
10
10
|
function importedNodes(graph) {
|
|
@@ -137,9 +137,9 @@ async function pinLocalPlayImports(client, graph) {
|
|
|
137
137
|
|
|
138
138
|
// src/plays/client.ts
|
|
139
139
|
function createPlayClient(options) {
|
|
140
|
-
const config =
|
|
141
|
-
return new (0,
|
|
142
|
-
new (0,
|
|
140
|
+
const config = _chunk4CTBC6Q7js.resolveConfig.call(void 0, options);
|
|
141
|
+
return new (0, _chunkQGDU23YWjs.PlayClient)(
|
|
142
|
+
new (0, _chunk4CTBC6Q7js.HttpClient)(config),
|
|
143
143
|
_nullishCoalesce(config.environment, () => ( process.env))
|
|
144
144
|
);
|
|
145
145
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PlayClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FF3BWNLL.mjs";
|
|
4
4
|
import {
|
|
5
5
|
HttpClient,
|
|
6
6
|
resolveConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CEEUL7ER.mjs";
|
|
8
8
|
|
|
9
9
|
// src/plays/local-play-execution.ts
|
|
10
10
|
function importedNodes(graph) {
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
getAuthedHttpClient,
|
|
3
3
|
openInBrowser,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CB5DIX5K.mjs";
|
|
6
6
|
import {
|
|
7
7
|
resolveBaseUrlOnly
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CEEUL7ER.mjs";
|
|
9
9
|
|
|
10
10
|
// src/cli/commands/git.ts
|
|
11
11
|
function shellQuote(value) {
|
|
@@ -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 _chunkYVWINBZLjs = require('./chunk-YVWINBZL.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
|
+
_chunkYVWINBZLjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
|
|
37
37
|
`);
|
|
38
38
|
}
|
|
39
39
|
async function traceCliSpan(phase, fields, run) {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
seedToolListScript
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KMNLER7F.mjs";
|
|
4
4
|
import {
|
|
5
5
|
addDescribeOptions
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CG3R4ZFS.mjs";
|
|
7
7
|
import {
|
|
8
8
|
describeLookupsFor,
|
|
9
9
|
describeName,
|
|
10
10
|
findNamed
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-HUJMFETO.mjs";
|
|
12
12
|
import {
|
|
13
13
|
SCHEMA_LINE_LIMIT
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-BM4GE67C.mjs";
|
|
15
15
|
import {
|
|
16
16
|
DeeplineClient
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-T6W7SKE7.mjs";
|
|
18
18
|
import {
|
|
19
19
|
failureReportHeaders,
|
|
20
20
|
isFailureReportingDisabled,
|
|
21
21
|
printCommandEnvelope
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-CB5DIX5K.mjs";
|
|
23
23
|
import {
|
|
24
24
|
autoDetectBaseUrl,
|
|
25
25
|
resolveApiKeyForBaseUrl
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-CEEUL7ER.mjs";
|
|
27
27
|
|
|
28
28
|
// src/cli/commands/describe.ts
|
|
29
29
|
import { writeFileSync } from "fs";
|
|
@@ -99,8 +99,22 @@ function schemaType(schema) {
|
|
|
99
99
|
type: nonNull ? nonNull + nullable : nullable ? "null" : "unknown"
|
|
100
100
|
};
|
|
101
101
|
}
|
|
102
|
+
function pageSizeNote(schema) {
|
|
103
|
+
const declaration = schema.pageSize;
|
|
104
|
+
if (!isRecord(declaration)) return void 0;
|
|
105
|
+
const { minimum, maximum } = schema;
|
|
106
|
+
const range = typeof minimum === "number" && typeof maximum === "number" ? ` ${minimum} to ${maximum}` : typeof maximum === "number" ? ` up to ${maximum}` : "";
|
|
107
|
+
const notes = [
|
|
108
|
+
`page size${range}`,
|
|
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,
|
|
111
|
+
typeof declaration.count === "string" ? `to count: ${declaration.count}` : declaration.count === false ? "no count mode" : void 0
|
|
112
|
+
];
|
|
113
|
+
return notes.filter(Boolean).join("; ");
|
|
114
|
+
}
|
|
102
115
|
function schemaField(name, node, required) {
|
|
103
116
|
const schema = isRecord(node) ? node : {};
|
|
117
|
+
const pageSize = pageSizeNote(schema);
|
|
104
118
|
const { type, fields } = schemaType(schema);
|
|
105
119
|
const example = [
|
|
106
120
|
schema.example,
|
|
@@ -115,7 +129,8 @@ function schemaField(name, node, required) {
|
|
|
115
129
|
...typeof schema.description === "string" && schema.description ? { description: schema.description } : {},
|
|
116
130
|
...fields ? { fields } : {},
|
|
117
131
|
...schema.secondary === true ? { secondary: true } : {},
|
|
118
|
-
...typeof schema.means === "string" ? { means: schema.means } : {}
|
|
132
|
+
...typeof schema.means === "string" ? { means: schema.means } : {},
|
|
133
|
+
...pageSize ? { pageSize } : {}
|
|
119
134
|
};
|
|
120
135
|
}
|
|
121
136
|
function resolveSchemaReference(root, ref) {
|
|
@@ -434,7 +449,7 @@ function schemaBlocks(sections, maxDepth, everyField = false) {
|
|
|
434
449
|
const start = `${indent}${JSON.stringify(field.name)}${field.required ? "" : "?"}: `;
|
|
435
450
|
if (!field.fields) {
|
|
436
451
|
return [
|
|
437
|
-
`${start}${field.type},${comment([field.means, example, field.description])}`
|
|
452
|
+
`${start}${field.type},${comment([field.means, example, field.pageSize, field.description])}`
|
|
438
453
|
];
|
|
439
454
|
}
|
|
440
455
|
const [before, after] = field.type.split(SHAPE);
|
|
@@ -750,6 +765,7 @@ function jsonFields(fields, options) {
|
|
|
750
765
|
...options.input ? { required: field.required } : {},
|
|
751
766
|
...field.means ? { means: field.means } : {},
|
|
752
767
|
...field.example !== void 0 ? { example: field.example } : {},
|
|
768
|
+
...field.pageSize ? { page_size: field.pageSize } : {},
|
|
753
769
|
...field.description && field.description !== shape?.description ? { description: field.description } : {},
|
|
754
770
|
...field.secondary ? { secondary: true } : {},
|
|
755
771
|
...field.read ? { read: field.read } : {},
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
npmSupportsAllowScripts,
|
|
3
3
|
readNpmVersion
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6GBQNS6L.mjs";
|
|
5
5
|
import {
|
|
6
6
|
runSkillsCommand
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MAN4IEO4.mjs";
|
|
8
8
|
import {
|
|
9
9
|
resolveShellSpawn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-I57JNBKA.mjs";
|
|
11
11
|
import {
|
|
12
12
|
printCommandEnvelope
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-CB5DIX5K.mjs";
|
|
14
14
|
import {
|
|
15
15
|
DEFAULT_MAX_RETRIES,
|
|
16
16
|
DEFAULT_TIMEOUT,
|
|
17
17
|
TRANSIENT_HTTP_STATUSES,
|
|
18
18
|
autoDetectBaseUrl,
|
|
19
19
|
defaultRetryBackoffMs
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-CEEUL7ER.mjs";
|
|
21
21
|
|
|
22
22
|
// src/cli/commands/update.ts
|
|
23
23
|
import { spawn, spawnSync } from "child_process";
|
|
@@ -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 _chunkQGJ4DYGEjs = require('./chunk-QGJ4DYGE.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 = _chunkQGJ4DYGEjs.SDK_RELEASE.version;
|
|
28
|
+
var SDK_API_MAJOR = _chunkQGJ4DYGEjs.SDK_RELEASE.contracts.api.currentMajor;
|
|
29
|
+
var SDK_API_CONTRACT = _nullishCoalesce(_chunkQGJ4DYGEjs.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');
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
resolveApiKeyForBaseUrl,
|
|
5
5
|
resolveCliCommandContext,
|
|
6
6
|
resolveConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CEEUL7ER.mjs";
|
|
8
8
|
import {
|
|
9
9
|
SDK_VERSION,
|
|
10
10
|
agentSessionIdFromEnvironment,
|
|
11
11
|
deploymentProtectionHeaders,
|
|
12
12
|
detectAgentRuntime,
|
|
13
13
|
readToolFailureHint
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GAQ6VSRS.mjs";
|
|
15
15
|
import {
|
|
16
16
|
DeeplineError,
|
|
17
17
|
normalizeToolExecutionFailure,
|
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
SCHEMA_LINE_LIMIT,
|
|
3
3
|
fieldBlockLines,
|
|
4
4
|
schemaFields
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BM4GE67C.mjs";
|
|
6
6
|
import {
|
|
7
7
|
csvSafeJsonString,
|
|
8
8
|
csvStringFromRows,
|
|
9
9
|
formatCliFailureDiagnostic,
|
|
10
10
|
markJsonOutputHandled,
|
|
11
11
|
writeRawStderr
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-CB5DIX5K.mjs";
|
|
13
13
|
|
|
14
14
|
// src/cli/describe-options.ts
|
|
15
15
|
function addDescribeOptions(command, options = {}) {
|
|
@@ -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.558",
|
|
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."
|