deepline 0.3.550 → 0.3.551
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/sdk/src/types.ts +22 -0
- package/dist/bundling-sources/shared_libs/integration-contracts/tool-connection.ts +42 -0
- package/dist/bundling-sources/shared_libs/monitors/snitcher-ip2company.ts +31 -0
- package/dist/bundling-sources/shared_libs/monitors/tracking-provider-guidance.ts +1 -0
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +19 -0
- package/dist/bundling-sources/shared_libs/play-runtime/activity-observation.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +2 -2
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +187 -16
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +70 -19
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +854 -3
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +15 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +6 -2
- package/dist/bundling-sources/shared_libs/plays/share/static-pipeline-summary.ts +43 -0
- package/dist/bundling-sources/shared_libs/product-notifications/billing-sales.ts +1 -0
- package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +38 -5
- package/dist/bundling-sources/shared_libs/product-notifications/default-policy.ts +1 -1
- package/dist/bundling-sources/shared_libs/product-notifications/events.ts +16 -0
- package/dist/cli/auth-B4PI7GVY.js +43 -0
- package/dist/cli/{auth-UJCAHGZG.mjs → auth-E7BH4GMJ.mjs} +5 -5
- package/dist/cli/{billing-VO2O5O5O.js → billing-DNQAZGX7.js} +99 -99
- package/dist/cli/{billing-RYWMI7JJ.mjs → billing-OXKU462W.mjs} +10 -10
- package/dist/cli/chunk-2RIKOPIM.mjs +9 -0
- package/dist/cli/{chunk-IZCPOX7X.mjs → chunk-2UXDHFSF.mjs} +1 -1
- package/dist/cli/{chunk-XYIECA7M.js → chunk-2WFPHBR4.js} +30 -8
- package/dist/cli/{chunk-JYUIIDZO.js → chunk-2ZYRBMQM.js} +23 -22
- package/dist/cli/{chunk-TB3WT76F.js → chunk-3G6QZACZ.js} +23 -20
- package/dist/cli/{chunk-LWHWMU4V.js → chunk-3KYBDAR3.js} +7 -7
- package/dist/cli/{chunk-CIBQVA6V.mjs → chunk-3T65J5RG.mjs} +2 -2
- package/dist/cli/{chunk-KSUTNW3X.js → chunk-44I675YK.js} +42 -41
- package/dist/cli/{chunk-4NQWUUOH.mjs → chunk-44KSACJW.mjs} +2 -2
- package/dist/cli/{chunk-GVW5V562.mjs → chunk-4D3WIZST.mjs} +1 -1
- package/dist/cli/{chunk-RS6ZSKX6.js → chunk-4OMAGJ6U.js} +2 -2
- package/dist/cli/{chunk-SZNX3XU3.js → chunk-54EEYLTF.js} +3 -3
- package/dist/cli/{chunk-QD2KT7II.mjs → chunk-5IL7SC45.mjs} +2 -2
- package/dist/cli/{chunk-COHCKZQK.mjs → chunk-5S6PHKRV.mjs} +2 -1
- package/dist/cli/{chunk-SBNNK73L.js → chunk-5VVSEU67.js} +6 -6
- package/dist/cli/{chunk-ZQZOYGDC.mjs → chunk-6PWJKMFQ.mjs} +5 -4
- package/dist/cli/{chunk-MAE3AKDR.mjs → chunk-7DOQ3OEX.mjs} +17 -8
- package/dist/cli/{chunk-3W44AJOE.js → chunk-7RSIFA72.js} +18 -16
- package/dist/cli/{chunk-F2RXBNT5.mjs → chunk-7WQNWJQW.mjs} +7 -5
- package/dist/cli/{chunk-6P7TGCHQ.mjs → chunk-BGBJV26E.mjs} +10 -3
- package/dist/cli/{chunk-UL7HWZO7.mjs → chunk-BIIJATTX.mjs} +2 -2
- package/dist/cli/{chunk-ADWMIZCB.js → chunk-C4CUZH57.js} +20 -11
- package/dist/cli/{chunk-S6XOKGBF.mjs → chunk-CLRAANWH.mjs} +1 -1
- package/dist/cli/{chunk-YSYOQYZE.js → chunk-COGREZAO.js} +48 -44
- package/dist/cli/{chunk-SMLWC7PM.js → chunk-CQ6JYQSW.js} +10 -10
- package/dist/cli/{chunk-7BWMCVYU.mjs → chunk-D6M5HFBB.mjs} +1 -1
- package/dist/cli/{chunk-FMXLQHM2.mjs → chunk-E64HFB4L.mjs} +13 -13
- package/dist/cli/{chunk-E2QVWDDW.mjs → chunk-FOTGUFVK.mjs} +3 -3
- package/dist/cli/{chunk-HCFH2V27.mjs → chunk-GGB3JYCW.mjs} +3 -2
- package/dist/cli/{chunk-7AOFSZJM.mjs → chunk-GGGAEVCX.mjs} +23 -1
- package/dist/cli/{chunk-N2Y2IGNB.mjs → chunk-GVYLCCKN.mjs} +1 -1
- package/dist/cli/{chunk-UV4RU2TE.js → chunk-H4ALLC2X.js} +2 -0
- package/dist/cli/{chunk-LUULRAQB.mjs → chunk-HEHVGEZV.mjs} +10 -7
- package/dist/cli/{chunk-HEVUFICQ.mjs → chunk-I4VKGNAQ.mjs} +9 -5
- package/dist/cli/{chunk-RKF263LR.js → chunk-KWSH5T7K.js} +25 -18
- package/dist/cli/{chunk-XKE2PGZ2.js → chunk-LPJPCGT3.js} +8 -8
- package/dist/cli/{chunk-E4S7OE7B.mjs → chunk-MNSTCJMX.mjs} +3 -3
- package/dist/cli/{chunk-QNWNR6DG.js → chunk-MR5LTVHD.js} +53 -53
- package/dist/cli/{chunk-K7JZV4QW.mjs → chunk-MXGA6JFI.mjs} +2 -2
- package/dist/cli/{chunk-EU23QOJ6.js → chunk-NMWGZD6Y.js} +26 -26
- package/dist/cli/{chunk-MJDQZYKO.js → chunk-PACD5DGC.js} +4 -4
- package/dist/cli/{chunk-EMPXPEIQ.mjs → chunk-PM7MO62Y.mjs} +3 -3
- package/dist/cli/{chunk-JKLDCFY5.js → chunk-POLUE7D5.js} +11 -11
- package/dist/cli/{chunk-DGUTBLXF.js → chunk-PPSDCN6C.js} +3 -2
- package/dist/cli/{chunk-NM3AYEDI.js → chunk-QM6Y6S4E.js} +5 -5
- package/dist/cli/{chunk-2AKS64KJ.mjs → chunk-RE5MJBEV.mjs} +2 -2
- package/dist/cli/{chunk-KLQILE2I.mjs → chunk-S7IZWGUA.mjs} +2 -2
- package/dist/cli/{chunk-2IW5GKB4.js → chunk-T2B5BVZE.js} +13 -13
- package/dist/cli/{chunk-OKNOQRQ3.js → chunk-UDXULACQ.js} +3 -3
- package/dist/cli/{chunk-ECWOIXAV.js → chunk-UPMRIVZB.js} +14 -12
- package/dist/cli/{chunk-72NXIFOT.mjs → chunk-V6SCP4B7.mjs} +1 -1
- package/dist/cli/{chunk-5J3TRWTB.js → chunk-VTGG2RT3.js} +1 -1
- package/dist/cli/{chunk-DJWM5OOY.mjs → chunk-VWLHRZFG.mjs} +4 -4
- package/dist/cli/{chunk-I62PCYU6.js → chunk-W2ZWQUHT.js} +2 -2
- package/dist/cli/{chunk-MXEYNRTZ.mjs → chunk-W425ERWN.mjs} +6 -5
- package/dist/cli/{chunk-GWNYLIF7.mjs → chunk-WEHCBH5R.mjs} +4 -2
- package/dist/cli/{chunk-JLFOQRWM.js → chunk-WKBHUB6R.js} +270 -270
- package/dist/cli/{chunk-3WG2GURT.js → chunk-XYE5XPGF.js} +9 -9
- package/dist/cli/{chunk-R5CYKRA2.js → chunk-Z2FIOG3V.js} +12 -12
- package/dist/cli/{chunk-BJO7ZXAK.js → chunk-ZCDKE4UH.js} +5 -5
- package/dist/cli/{chunk-RINUMR6C.js → chunk-ZDQFBJPO.js} +20 -19
- package/dist/cli/{chunk-TL3WIXDH.mjs → chunk-ZMNGZ6XS.mjs} +1 -1
- package/dist/cli/command-docs.js +3 -3
- package/dist/cli/command-docs.mjs +2 -2
- package/dist/cli/{concurrent-runs-help-766HVJR3.mjs → concurrent-runs-help-C6L6I5OR.mjs} +7 -7
- package/dist/cli/concurrent-runs-help-JEFQZTJI.js +21 -0
- package/dist/cli/{csv-4DZKGYCU.js → csv-QMF4FWE7.js} +19 -14
- package/dist/cli/{csv-VU52KZOX.mjs → csv-SYSDXFEM.mjs} +10 -5
- package/dist/cli/{db-UBGW373S.mjs → db-Q7HURWRZ.mjs} +6 -6
- package/dist/cli/{db-KPIH4HPW.js → db-YSHPPA4H.js} +27 -27
- package/dist/cli/describe-PXTSBJTL.js +50 -0
- package/dist/cli/{describe-NGITP6RA.mjs → describe-YGMQBV44.mjs} +21 -21
- package/dist/cli/describe-core.d.mts +4 -2
- package/dist/cli/describe-core.d.ts +4 -2
- package/dist/cli/describe-core.js +4 -4
- package/dist/cli/describe-core.mjs +3 -3
- package/dist/cli/{executions-CO5UF3CV.mjs → executions-G7U3VUXN.mjs} +6 -6
- package/dist/cli/{executions-G3X25U3V.js → executions-MWBC5TAW.js} +8 -8
- package/dist/cli/{feedback-M2L5DVN2.mjs → feedback-GMHIFLBJ.mjs} +6 -6
- package/dist/cli/{feedback-ZYF65WPH.js → feedback-SD55OY6H.js} +14 -14
- package/dist/cli/{git-AYJD5CLS.mjs → git-HPE45OPD.mjs} +5 -5
- package/dist/cli/git-I3JV7IGH.js +25 -0
- package/dist/cli/index.js +147 -147
- package/dist/cli/index.mjs +46 -46
- package/dist/cli/{integrations-LKEGGTZO.mjs → integrations-2W4MGIQR.mjs} +7 -7
- package/dist/cli/{integrations-GSXXJ4CF.js → integrations-HFKVBY6G.js} +15 -15
- package/dist/cli/{legacy-noops-UF4GKMD4.mjs → legacy-noops-GZYKNU2Z.mjs} +6 -6
- package/dist/cli/{legacy-noops-MZDLLEKN.js → legacy-noops-SXVNDEXN.js} +9 -9
- package/dist/cli/{mcp-NHQ6RMBP.mjs → mcp-BWA6KULG.mjs} +4 -4
- package/dist/cli/{mcp-RTNC6LP3.js → mcp-PJRHQHHU.js} +24 -24
- package/dist/cli/{monitors-WMWB6EKQ.js → monitors-K2WSI6CR.js} +100 -100
- package/dist/cli/{monitors-NC4ZR5DH.mjs → monitors-SYQKCATO.mjs} +7 -7
- package/dist/cli/{org-ZXUSYREQ.mjs → org-5KD7X7IA.mjs} +6 -6
- package/dist/cli/{org-33Q7CXJB.js → org-YQ2CR32B.js} +88 -88
- package/dist/cli/{play-N24XV6TI.js → play-SZXY2F2S.js} +330 -330
- package/dist/cli/{play-IPWFGNRE.mjs → play-TTMABJEI.mjs} +18 -18
- package/dist/cli/{providers-MSVE7UZS.mjs → providers-GQIOMRQO.mjs} +6 -6
- package/dist/cli/{providers-AUI7MMQS.js → providers-YDHCTZAF.js} +9 -9
- package/dist/cli/{quickstart-PSC6VTRI.js → quickstart-BNYOXQXG.js} +6 -6
- package/dist/cli/{quickstart-OME5XMW5.mjs → quickstart-PHSSMKCA.mjs} +4 -4
- package/dist/cli/{run-EYTT2DHO.mjs → run-74C3C75C.mjs} +26 -26
- package/dist/cli/{run-UTIX7CJY.js → run-GFIAZXVL.js} +47 -47
- package/dist/cli/search-2RRRF4LW.js +32 -0
- package/dist/cli/{search-FVE7PM72.mjs → search-3SWUB7KX.mjs} +7 -7
- package/dist/cli/{search-output-O463JNLR.js → search-output-6JF3S4TP.js} +43 -13
- package/dist/cli/{search-output-TQMY6BDG.mjs → search-output-K2SWHVHQ.mjs} +40 -10
- package/dist/cli/{secrets-KCJJAHQB.mjs → secrets-2M4XWEKE.mjs} +6 -6
- package/dist/cli/{secrets-TWZ2GO73.js → secrets-2SAKLH2H.js} +15 -15
- package/dist/cli/{sessions-ZCWAA7QL.mjs → sessions-A64BCXTO.mjs} +6 -6
- package/dist/cli/sessions-SBH27JNW.js +22 -0
- package/dist/cli/{settings-SCR654U7.js → settings-HV64WIJF.js} +85 -85
- package/dist/cli/{settings-4JFKCKII.mjs → settings-SVGEC3FI.mjs} +12 -12
- package/dist/cli/{setup-Q2YOPGOI.mjs → setup-EDC3NEJ3.mjs} +15 -10
- package/dist/cli/{setup-O6GH3UWT.js → setup-FHXOLQGQ.js} +55 -50
- package/dist/cli/{skills-QHPZ6H2G.mjs → skills-3HGHZMXB.mjs} +7 -7
- package/dist/cli/skills-Y3SRLOYD.js +36 -0
- package/dist/cli/tools-OFYPUPUV.js +57 -0
- package/dist/cli/{tools-YO22H46E.mjs → tools-P2QS6A6Q.mjs} +19 -19
- package/dist/cli/{update-WHBC5IHE.mjs → update-552BYQM4.mjs} +9 -9
- package/dist/cli/update-SOUSCLB7.js +34 -0
- package/dist/cli/{views-XNLXV2BT.mjs → views-LD5HXJYY.mjs} +6 -6
- package/dist/cli/{views-4CZJ5BLG.js → views-PA25NAE3.js} +21 -21
- package/dist/cli/{workflow-C4VBARIE.js → workflow-FIDBUQV6.js} +17 -17
- package/dist/cli/{workflow-QUWP2CG2.mjs → workflow-LDYFGBYP.mjs} +7 -7
- package/dist/{client-BEJqhQAj.d.mts → client-DuDFiJDU.d.mts} +1 -1
- package/dist/{client-core-BPYuWfBC.d.ts → client-core-CJRzLanv.d.ts} +93 -4
- package/dist/{client-core-BqetRxx-.d.mts → client-core-DydMQOft.d.mts} +93 -4
- package/dist/{client-Ceo295L2.d.ts → client-t9HZAkFD.d.ts} +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +124 -124
- package/dist/plays/play-description.d.mts +1 -1
- package/dist/plays/play-description.d.ts +1 -1
- package/dist/plays/run-request.d.mts +1 -1
- package/dist/plays/run-request.d.ts +1 -1
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/dist/server.d.mts +2 -2
- package/dist/server.d.ts +2 -2
- package/dist/server.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-J4OW5RNJ.js +0 -43
- package/dist/cli/chunk-NIPLY25A.mjs +0 -7
- package/dist/cli/concurrent-runs-help-3XZIHVRP.js +0 -21
- package/dist/cli/describe-4BI6E2CM.js +0 -50
- package/dist/cli/git-QRZP4DNA.js +0 -25
- package/dist/cli/search-CQ6JG2EN.js +0 -32
- package/dist/cli/sessions-LMPXUPUH.js +0 -22
- package/dist/cli/skills-M4CFE65Z.js +0 -36
- package/dist/cli/tools-CV7XA2V6.js +0 -57
- package/dist/cli/update-PUWBKPWJ.js +0 -34
|
@@ -5,21 +5,21 @@ import {
|
|
|
5
5
|
pointAtDescribe,
|
|
6
6
|
registerDeprecatedSearchCommand,
|
|
7
7
|
registerSearchCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VWLHRZFG.mjs";
|
|
9
9
|
import "./chunk-5AEDYVB6.mjs";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-3T65J5RG.mjs";
|
|
11
|
+
import "./chunk-ZMNGZ6XS.mjs";
|
|
12
12
|
import "./chunk-FZHMNK6F.mjs";
|
|
13
13
|
import "./chunk-LX35AXTN.mjs";
|
|
14
14
|
import "./chunk-PSX3WHIH.mjs";
|
|
15
15
|
import "./chunk-UBKA33KY.mjs";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-GGB3JYCW.mjs";
|
|
17
|
+
import "./chunk-V6SCP4B7.mjs";
|
|
18
|
+
import "./chunk-4D3WIZST.mjs";
|
|
19
19
|
import "./chunk-NURW5XH4.mjs";
|
|
20
20
|
import "./chunk-DLIRSHV6.mjs";
|
|
21
21
|
import "./chunk-JL2OTMSG.mjs";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-2UXDHFSF.mjs";
|
|
23
23
|
import "./chunk-WZYKRD7T.mjs";
|
|
24
24
|
import "./chunk-KRD6H754.mjs";
|
|
25
25
|
export {
|
|
@@ -3,13 +3,18 @@
|
|
|
3
3
|
var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
6
|
+
var _chunk2WFPHBR4js = require('./chunk-2WFPHBR4.js');
|
|
7
|
+
require('./chunk-AID3OYVJ.js');
|
|
8
|
+
require('./chunk-PMH4GLMD.js');
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
var _chunkZDQFBJPOjs = require('./chunk-ZDQFBJPO.js');
|
|
12
|
+
require('./chunk-UDXULACQ.js');
|
|
13
|
+
require('./chunk-PACD5DGC.js');
|
|
9
14
|
require('./chunk-EITMD3A5.js');
|
|
10
15
|
require('./chunk-XNYIZMNQ.js');
|
|
11
16
|
require('./chunk-BBTKAASQ.js');
|
|
12
|
-
require('./chunk-
|
|
17
|
+
require('./chunk-VTGG2RT3.js');
|
|
13
18
|
require('./chunk-OG64RBAC.js');
|
|
14
19
|
|
|
15
20
|
|
|
@@ -5799,7 +5804,9 @@ function searchRow(item, summaryWidth) {
|
|
|
5799
5804
|
cost = observedCost.typical ? `${observedCost.typical.lowCredits}\u2013${observedCost.typical.highCredits}/${observedCost.typical.unit} (typical)` : "no data yet";
|
|
5800
5805
|
notes.push(`Cost: ${observedCost.displayText}`);
|
|
5801
5806
|
}
|
|
5802
|
-
if (item.
|
|
5807
|
+
if (_optionalChain([item, 'access', _13 => _13.auth, 'optionalAccess', _14 => _14.connectionRequired]) && typeof item.connectionMessage === "string") {
|
|
5808
|
+
notes.push(item.connectionMessage);
|
|
5809
|
+
} else if (item.connected === false && item.credentialStatus === "managed") {
|
|
5803
5810
|
notes.push("Temporarily unavailable.");
|
|
5804
5811
|
}
|
|
5805
5812
|
return {
|
|
@@ -5827,7 +5834,7 @@ var OPTIONAL_COLUMNS = [
|
|
|
5827
5834
|
];
|
|
5828
5835
|
function renderSearchResults(result, summaryWidth = _chunkD3BCSAN7js.DEFAULT_SUMMARY_WIDTH) {
|
|
5829
5836
|
if (result.results.length === 0)
|
|
5830
|
-
return
|
|
5837
|
+
return _chunkZDQFBJPOjs.renderCommandEnvelopeText.call(void 0, result);
|
|
5831
5838
|
const rows = result.results.map((item) => searchRow(item, summaryWidth));
|
|
5832
5839
|
const kinds = new Set(rows.map((row) => row.kind));
|
|
5833
5840
|
const onlyTools = kinds.size === 1 && kinds.has("tool");
|
|
@@ -5846,18 +5853,34 @@ function renderSearchResults(result, summaryWidth = _chunkD3BCSAN7js.DEFAULT_SUM
|
|
|
5846
5853
|
{ header: "SUMMARY", value: (row) => row.summary }
|
|
5847
5854
|
];
|
|
5848
5855
|
const render = result.render;
|
|
5849
|
-
const sections = _nullishCoalesce(_optionalChain([render, 'optionalAccess',
|
|
5850
|
-
const resultIndex =
|
|
5856
|
+
const sections = _nullishCoalesce(_optionalChain([render, 'optionalAccess', _15 => _15.sections]), () => ( []));
|
|
5857
|
+
const resultIndex = sections.findIndex(
|
|
5858
|
+
({ title: title2 }) => title2 !== "ignored categories" && title2 !== "exact tool lookup"
|
|
5859
|
+
);
|
|
5851
5860
|
const title = _nullishCoalesce(_optionalChain([sections, 'access', _16 => _16[resultIndex], 'optionalAccess', _17 => _17.title]), () => ( `${_nullishCoalesce(result.total, () => ( rows.length))} matches \u2014 showing ${rows.length}`));
|
|
5852
5861
|
const remaining = {
|
|
5853
|
-
sections: sections.filter(
|
|
5862
|
+
sections: sections.filter(
|
|
5863
|
+
({ title: title2 }, index) => index !== resultIndex && title2 !== "exact tool lookup"
|
|
5864
|
+
),
|
|
5854
5865
|
actions: _optionalChain([render, 'optionalAccess', _18 => _18.actions])
|
|
5855
5866
|
};
|
|
5856
5867
|
const followUps = _optionalChain([remaining, 'access', _19 => _19.sections, 'optionalAccess', _20 => _20.length]) || _optionalChain([remaining, 'access', _21 => _21.actions, 'optionalAccess', _22 => _22.length]) ? `
|
|
5857
|
-
${
|
|
5868
|
+
${_chunkZDQFBJPOjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
|
|
5869
|
+
const exact = _optionalChain([result, 'access', _23 => _23.exactLookup, 'optionalAccess', _24 => _24.toolId]);
|
|
5870
|
+
const matched = exact && result.results.find((item) => item.id === exact);
|
|
5871
|
+
const contract = matched ? [
|
|
5872
|
+
..._optionalChain([matched, 'access', _25 => _25.toolUsage, 'optionalAccess', _26 => _26.effect]) ? [`Effect: ${matched.toolUsage.effect}`] : [],
|
|
5873
|
+
...(_nullishCoalesce(_optionalChain([matched, 'access', _27 => _27.toolUsage, 'optionalAccess', _28 => _28.requiredInputs]), () => ( []))).map(
|
|
5874
|
+
({ name, meaning }) => ` ${name}${meaning ? ` \u2014 ${meaning}` : ""}`
|
|
5875
|
+
),
|
|
5876
|
+
...matched.auth ? _chunk2WFPHBR4js.discoveryAuthLines.call(void 0, matched.auth) : [],
|
|
5877
|
+
...matched.describeCommand ? [matched.describeCommand] : [],
|
|
5878
|
+
..._optionalChain([matched, 'access', _29 => _29.toolUsage, 'optionalAccess', _30 => _30.example]) ? [matched.toolUsage.example.cli] : []
|
|
5879
|
+
] : [];
|
|
5858
5880
|
const missingConnections = /* @__PURE__ */ new Set();
|
|
5859
5881
|
for (const item of result.results) {
|
|
5860
|
-
if (item.credentialStatus !== "requires_connection")
|
|
5882
|
+
if (item.id === exact || _optionalChain([item, 'access', _31 => _31.auth, 'optionalAccess', _32 => _32.connectionRequired]) || item.credentialStatus !== "requires_connection")
|
|
5883
|
+
continue;
|
|
5861
5884
|
const provider = typeof item.provider === "string" && item.provider.trim();
|
|
5862
5885
|
missingConnections.add(provider || item.id);
|
|
5863
5886
|
}
|
|
@@ -5871,9 +5894,16 @@ ${_chunkRINUMR6Cjs.renderCommandEnvelopeText.call(void 0, { render: remaining })
|
|
|
5871
5894
|
...notes.length ? ["Notes", ...notes, ""] : [],
|
|
5872
5895
|
rows.some((row) => row.cost.endsWith("*")) ? "* See deepline describe <toolId> for full pricing information." : "Full descriptions and pricing: deepline describe <toolId>."
|
|
5873
5896
|
].join("\n");
|
|
5874
|
-
|
|
5897
|
+
const exactContract = contract.length ? `
|
|
5898
|
+
|
|
5899
|
+
Exact match
|
|
5900
|
+
${contract.join("\n")}` : "";
|
|
5901
|
+
const exactMiss = _optionalChain([result, 'access', _33 => _33.exactLookup, 'optionalAccess', _34 => _34.status]) !== "found" ? _optionalChain([result, 'access', _35 => _35.exactLookup, 'optionalAccess', _36 => _36.message]) : void 0;
|
|
5902
|
+
return `${exactMiss ? `${exactMiss}
|
|
5903
|
+
|
|
5904
|
+
` : ""}${title}
|
|
5875
5905
|
|
|
5876
|
-
${formatTextTable(rows, columns)}
|
|
5906
|
+
${formatTextTable(rows, columns)}${exactContract}
|
|
5877
5907
|
|
|
5878
5908
|
${details}
|
|
5879
5909
|
${followUps}`;
|
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_SUMMARY_WIDTH
|
|
3
3
|
} from "./chunk-5AEDYVB6.mjs";
|
|
4
|
+
import {
|
|
5
|
+
discoveryAuthLines
|
|
6
|
+
} from "./chunk-GGGAEVCX.mjs";
|
|
7
|
+
import "./chunk-OVDNJAJN.mjs";
|
|
8
|
+
import "./chunk-PSX3WHIH.mjs";
|
|
4
9
|
import {
|
|
5
10
|
renderCommandEnvelopeText
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-GGB3JYCW.mjs";
|
|
12
|
+
import "./chunk-V6SCP4B7.mjs";
|
|
13
|
+
import "./chunk-4D3WIZST.mjs";
|
|
9
14
|
import "./chunk-NURW5XH4.mjs";
|
|
10
15
|
import "./chunk-DLIRSHV6.mjs";
|
|
11
16
|
import "./chunk-JL2OTMSG.mjs";
|
|
12
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-2UXDHFSF.mjs";
|
|
13
18
|
import "./chunk-WZYKRD7T.mjs";
|
|
14
19
|
import {
|
|
15
20
|
__commonJS,
|
|
@@ -5799,7 +5804,9 @@ function searchRow(item, summaryWidth) {
|
|
|
5799
5804
|
cost = observedCost.typical ? `${observedCost.typical.lowCredits}\u2013${observedCost.typical.highCredits}/${observedCost.typical.unit} (typical)` : "no data yet";
|
|
5800
5805
|
notes.push(`Cost: ${observedCost.displayText}`);
|
|
5801
5806
|
}
|
|
5802
|
-
if (item.
|
|
5807
|
+
if (item.auth?.connectionRequired && typeof item.connectionMessage === "string") {
|
|
5808
|
+
notes.push(item.connectionMessage);
|
|
5809
|
+
} else if (item.connected === false && item.credentialStatus === "managed") {
|
|
5803
5810
|
notes.push("Temporarily unavailable.");
|
|
5804
5811
|
}
|
|
5805
5812
|
return {
|
|
@@ -5847,17 +5854,33 @@ function renderSearchResults(result, summaryWidth = DEFAULT_SUMMARY_WIDTH) {
|
|
|
5847
5854
|
];
|
|
5848
5855
|
const render = result.render;
|
|
5849
5856
|
const sections = render?.sections ?? [];
|
|
5850
|
-
const resultIndex = sections
|
|
5857
|
+
const resultIndex = sections.findIndex(
|
|
5858
|
+
({ title: title2 }) => title2 !== "ignored categories" && title2 !== "exact tool lookup"
|
|
5859
|
+
);
|
|
5851
5860
|
const title = sections[resultIndex]?.title ?? `${result.total ?? rows.length} matches \u2014 showing ${rows.length}`;
|
|
5852
5861
|
const remaining = {
|
|
5853
|
-
sections: sections.filter(
|
|
5862
|
+
sections: sections.filter(
|
|
5863
|
+
({ title: title2 }, index) => index !== resultIndex && title2 !== "exact tool lookup"
|
|
5864
|
+
),
|
|
5854
5865
|
actions: render?.actions
|
|
5855
5866
|
};
|
|
5856
5867
|
const followUps = remaining.sections?.length || remaining.actions?.length ? `
|
|
5857
5868
|
${renderCommandEnvelopeText({ render: remaining })}` : "";
|
|
5869
|
+
const exact = result.exactLookup?.toolId;
|
|
5870
|
+
const matched = exact && result.results.find((item) => item.id === exact);
|
|
5871
|
+
const contract = matched ? [
|
|
5872
|
+
...matched.toolUsage?.effect ? [`Effect: ${matched.toolUsage.effect}`] : [],
|
|
5873
|
+
...(matched.toolUsage?.requiredInputs ?? []).map(
|
|
5874
|
+
({ name, meaning }) => ` ${name}${meaning ? ` \u2014 ${meaning}` : ""}`
|
|
5875
|
+
),
|
|
5876
|
+
...matched.auth ? discoveryAuthLines(matched.auth) : [],
|
|
5877
|
+
...matched.describeCommand ? [matched.describeCommand] : [],
|
|
5878
|
+
...matched.toolUsage?.example ? [matched.toolUsage.example.cli] : []
|
|
5879
|
+
] : [];
|
|
5858
5880
|
const missingConnections = /* @__PURE__ */ new Set();
|
|
5859
5881
|
for (const item of result.results) {
|
|
5860
|
-
if (item.credentialStatus !== "requires_connection")
|
|
5882
|
+
if (item.id === exact || item.auth?.connectionRequired || item.credentialStatus !== "requires_connection")
|
|
5883
|
+
continue;
|
|
5861
5884
|
const provider = typeof item.provider === "string" && item.provider.trim();
|
|
5862
5885
|
missingConnections.add(provider || item.id);
|
|
5863
5886
|
}
|
|
@@ -5871,9 +5894,16 @@ ${renderCommandEnvelopeText({ render: remaining })}` : "";
|
|
|
5871
5894
|
...notes.length ? ["Notes", ...notes, ""] : [],
|
|
5872
5895
|
rows.some((row) => row.cost.endsWith("*")) ? "* See deepline describe <toolId> for full pricing information." : "Full descriptions and pricing: deepline describe <toolId>."
|
|
5873
5896
|
].join("\n");
|
|
5874
|
-
|
|
5897
|
+
const exactContract = contract.length ? `
|
|
5898
|
+
|
|
5899
|
+
Exact match
|
|
5900
|
+
${contract.join("\n")}` : "";
|
|
5901
|
+
const exactMiss = result.exactLookup?.status !== "found" ? result.exactLookup?.message : void 0;
|
|
5902
|
+
return `${exactMiss ? `${exactMiss}
|
|
5903
|
+
|
|
5904
|
+
` : ""}${title}
|
|
5875
5905
|
|
|
5876
|
-
${formatTextTable(rows, columns)}
|
|
5906
|
+
${formatTextTable(rows, columns)}${exactContract}
|
|
5877
5907
|
|
|
5878
5908
|
${details}
|
|
5879
5909
|
${followUps}`;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-3T65J5RG.mjs";
|
|
4
|
+
import "./chunk-ZMNGZ6XS.mjs";
|
|
5
5
|
import "./chunk-FZHMNK6F.mjs";
|
|
6
6
|
import "./chunk-LX35AXTN.mjs";
|
|
7
7
|
import "./chunk-PSX3WHIH.mjs";
|
|
@@ -9,13 +9,13 @@ import "./chunk-UBKA33KY.mjs";
|
|
|
9
9
|
import {
|
|
10
10
|
getAuthedHttpClient,
|
|
11
11
|
printCommandEnvelope
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-GGB3JYCW.mjs";
|
|
13
|
+
import "./chunk-V6SCP4B7.mjs";
|
|
14
|
+
import "./chunk-4D3WIZST.mjs";
|
|
15
15
|
import "./chunk-NURW5XH4.mjs";
|
|
16
16
|
import "./chunk-DLIRSHV6.mjs";
|
|
17
17
|
import "./chunk-JL2OTMSG.mjs";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-2UXDHFSF.mjs";
|
|
19
19
|
import "./chunk-WZYKRD7T.mjs";
|
|
20
20
|
import "./chunk-KRD6H754.mjs";
|
|
21
21
|
|
|
@@ -1,7 +1,7 @@
|
|
|
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
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var _chunkQM6Y6S4Ejs = require('./chunk-QM6Y6S4E.js');
|
|
4
|
+
require('./chunk-LPJPCGT3.js');
|
|
5
5
|
require('./chunk-4WAM6TLD.js');
|
|
6
6
|
require('./chunk-SL6MYJYM.js');
|
|
7
7
|
require('./chunk-PMH4GLMD.js');
|
|
@@ -9,13 +9,13 @@ require('./chunk-XDVT3GOM.js');
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
13
|
-
require('./chunk-
|
|
14
|
-
require('./chunk-
|
|
12
|
+
var _chunkZDQFBJPOjs = require('./chunk-ZDQFBJPO.js');
|
|
13
|
+
require('./chunk-UDXULACQ.js');
|
|
14
|
+
require('./chunk-PACD5DGC.js');
|
|
15
15
|
require('./chunk-EITMD3A5.js');
|
|
16
16
|
require('./chunk-XNYIZMNQ.js');
|
|
17
17
|
require('./chunk-BBTKAASQ.js');
|
|
18
|
-
require('./chunk-
|
|
18
|
+
require('./chunk-VTGG2RT3.js');
|
|
19
19
|
require('./chunk-OG64RBAC.js');
|
|
20
20
|
require('./chunk-COGTRVWW.js');
|
|
21
21
|
|
|
@@ -207,9 +207,9 @@ function preventShellHistoryLeak(forbidden) {
|
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
209
|
async function handleList(options) {
|
|
210
|
-
const client = new (0,
|
|
210
|
+
const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
|
|
211
211
|
const secrets = await client.listSecrets();
|
|
212
|
-
|
|
212
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
213
213
|
{
|
|
214
214
|
secrets,
|
|
215
215
|
count: secrets.length,
|
|
@@ -227,14 +227,14 @@ async function handleList(options) {
|
|
|
227
227
|
}
|
|
228
228
|
async function handleCheck(nameInput, options) {
|
|
229
229
|
const name = normalizeSecretName(nameInput);
|
|
230
|
-
const client = new (0,
|
|
230
|
+
const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
|
|
231
231
|
const playName = options.play === void 0 ? void 0 : normalizePlaySelector(options.play);
|
|
232
232
|
const check = playName !== void 0 ? await client.inspectSecret(name, { playName }) : null;
|
|
233
233
|
const secret = check ? check.secret : await client.checkSecret(name);
|
|
234
234
|
const ok = check ? check.ok : Boolean(secret);
|
|
235
235
|
const quotedPlay = `'${(_nullishCoalesce(options.play, () => ( "PLAY"))).replace(/'/g, `'"'"'`)}'`;
|
|
236
236
|
const scopeHint = check ? _optionalChain([secret, 'optionalAccess', _3 => _3.scope]) === "play" ? check.reason === "disabled" ? `The Play-scoped secret is disabled and no active org fallback is available. Restore it with: deepline secrets set ${name} --scope play --play ${quotedPlay}` : `The active Play-scoped secret takes precedence over the org secret.${ok ? "" : ` Restore it with: deepline secrets set ${name} --scope play --play ${quotedPlay}`}` : `No Play override.${ok ? " The org secret is available." : ` Set or rotate the org secret with: deepline secrets set ${name}`}` : `Metadata only. Verify effective scope and active version with: deepline secrets check ${name} --play <play-name>`;
|
|
237
|
-
|
|
237
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
238
238
|
{
|
|
239
239
|
ok,
|
|
240
240
|
name,
|
|
@@ -262,7 +262,7 @@ async function handleSet(nameInput, forbidden, options) {
|
|
|
262
262
|
const name = normalizeSecretName(nameInput);
|
|
263
263
|
const { scope, playName } = resolveSecretWriteScope(options);
|
|
264
264
|
const value = await readSecretValueFromOptions(options);
|
|
265
|
-
const { http } =
|
|
265
|
+
const { http } = _chunkZDQFBJPOjs.getAuthedHttpClient.call(void 0, );
|
|
266
266
|
const response = await http.post(
|
|
267
267
|
"/api/v2/secrets",
|
|
268
268
|
{
|
|
@@ -274,7 +274,7 @@ async function handleSet(nameInput, forbidden, options) {
|
|
|
274
274
|
}
|
|
275
275
|
);
|
|
276
276
|
const secret = response.secret;
|
|
277
|
-
|
|
277
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
278
278
|
{
|
|
279
279
|
ok: true,
|
|
280
280
|
secret,
|
|
@@ -302,7 +302,7 @@ async function handleNote(secretId, noteInput, options) {
|
|
|
302
302
|
}
|
|
303
303
|
const note = options.clear ? "" : noteInput;
|
|
304
304
|
if (options.dryRun) {
|
|
305
|
-
|
|
305
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
306
306
|
{
|
|
307
307
|
ok: true,
|
|
308
308
|
dryRun: true,
|
|
@@ -323,9 +323,9 @@ async function handleNote(secretId, noteInput, options) {
|
|
|
323
323
|
);
|
|
324
324
|
return;
|
|
325
325
|
}
|
|
326
|
-
const client = new (0,
|
|
326
|
+
const client = new (0, _chunkQM6Y6S4Ejs.DeeplineClient)();
|
|
327
327
|
const secret = await client.updateSecretNote(secretId, note);
|
|
328
|
-
|
|
328
|
+
_chunkZDQFBJPOjs.printCommandEnvelope.call(void 0,
|
|
329
329
|
{
|
|
330
330
|
ok: true,
|
|
331
331
|
secret,
|
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
registerSessionSendRenderCommands,
|
|
4
4
|
registerSessionsCommands,
|
|
5
5
|
uploadAgentSession
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-PM7MO62Y.mjs";
|
|
7
|
+
import "./chunk-D6M5HFBB.mjs";
|
|
8
|
+
import "./chunk-GGB3JYCW.mjs";
|
|
9
|
+
import "./chunk-V6SCP4B7.mjs";
|
|
10
|
+
import "./chunk-4D3WIZST.mjs";
|
|
11
11
|
import "./chunk-NURW5XH4.mjs";
|
|
12
12
|
import "./chunk-DLIRSHV6.mjs";
|
|
13
13
|
import "./chunk-JL2OTMSG.mjs";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-2UXDHFSF.mjs";
|
|
15
15
|
import "./chunk-WZYKRD7T.mjs";
|
|
16
16
|
import "./chunk-KRD6H754.mjs";
|
|
17
17
|
export {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkT2B5BVZEjs = require('./chunk-T2B5BVZE.js');
|
|
7
|
+
require('./chunk-4OMAGJ6U.js');
|
|
8
|
+
require('./chunk-ZDQFBJPO.js');
|
|
9
|
+
require('./chunk-UDXULACQ.js');
|
|
10
|
+
require('./chunk-PACD5DGC.js');
|
|
11
|
+
require('./chunk-EITMD3A5.js');
|
|
12
|
+
require('./chunk-XNYIZMNQ.js');
|
|
13
|
+
require('./chunk-BBTKAASQ.js');
|
|
14
|
+
require('./chunk-VTGG2RT3.js');
|
|
15
|
+
require('./chunk-OG64RBAC.js');
|
|
16
|
+
require('./chunk-COGTRVWW.js');
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
exports.feedbackAgentSessionId = _chunkT2B5BVZEjs.feedbackAgentSessionId; exports.registerSessionSendRenderCommands = _chunkT2B5BVZEjs.registerSessionSendRenderCommands; exports.registerSessionsCommands = _chunkT2B5BVZEjs.registerSessionsCommands; exports.uploadAgentSession = _chunkT2B5BVZEjs.uploadAgentSession;
|