deepline 0.3.572 → 0.3.574
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/config.ts +19 -0
- package/dist/bundling-sources/sdk/src/play.ts +7 -4
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/types.ts +8 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-launch-transport.ts +43 -7
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +56 -20
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-speed-profile.ts +4 -3
- package/dist/cli/agents-6WN5LYUP.mjs +833 -0
- package/dist/cli/agents-7ZZSF4FS.js +833 -0
- package/dist/cli/{auth-YUDM3YOC.mjs → auth-I2QVO677.mjs} +5 -5
- package/dist/cli/auth-UKPV5U2B.js +44 -0
- package/dist/cli/{billing-F3ZGOWKL.js → billing-44QFBUWA.js} +106 -106
- package/dist/cli/{billing-O7WUC4TU.mjs → billing-YPH4GEWU.mjs} +10 -10
- package/dist/cli/{chunk-ITQPBWDS.js → chunk-2QYU57RG.js} +15 -7
- package/dist/cli/{chunk-LBNP52C4.js → chunk-2RPRSTHD.js} +5 -5
- package/dist/cli/{chunk-I4WKB3HO.mjs → chunk-2TMAKJBT.mjs} +2 -2
- package/dist/cli/{chunk-PQ6PM4V6.mjs → chunk-4T2U72SP.mjs} +1 -1
- package/dist/cli/{chunk-HYCJNHZ4.js → chunk-5E2PAGF5.js} +27 -20
- package/dist/cli/{chunk-W3HLZ24Q.js → chunk-6B5EZOI3.js} +10 -10
- package/dist/cli/{chunk-YOST7EJF.js → chunk-6GZIT3TH.js} +20 -20
- package/dist/cli/{chunk-72WI67H4.mjs → chunk-7334X74C.mjs} +2 -2
- package/dist/cli/{chunk-PI4TKE2B.js → chunk-7GQU46SZ.js} +26 -26
- package/dist/cli/{chunk-NOKSEYMS.js → chunk-7UR57HPJ.js} +1 -1
- package/dist/cli/{chunk-6ASDTHEN.js → chunk-AFPGYZBH.js} +21 -17
- package/dist/cli/{chunk-V2W7GX2I.mjs → chunk-B2XLIQPH.mjs} +3 -3
- package/dist/cli/{chunk-XNJXRS3B.js → chunk-BUBOZKH2.js} +2 -2
- package/dist/cli/{chunk-K4LAEKHS.js → chunk-D6ZVRKJ2.js} +41 -41
- package/dist/cli/{chunk-5VUD7HGD.js → chunk-DG56RWI2.js} +2 -2
- package/dist/cli/{chunk-UKD5ZBQD.js → chunk-DOZIWA66.js} +7 -7
- package/dist/cli/{chunk-EKWDSE6H.mjs → chunk-DX646HO7.mjs} +4 -4
- package/dist/cli/{chunk-43GCEVHO.js → chunk-ECLCRE5P.js} +3 -3
- package/dist/cli/{chunk-UUYB6IXC.js → chunk-G2HW2SAP.js} +13 -13
- package/dist/cli/{chunk-BWWDU6FN.mjs → chunk-G7OR3GVD.mjs} +5 -5
- package/dist/cli/{chunk-UQWYDNGB.mjs → chunk-GMQZFWQU.mjs} +17 -10
- package/dist/cli/{chunk-VGPHXXPI.js → chunk-H7PVSG3L.js} +15 -15
- package/dist/cli/{chunk-EL4LME5Y.js → chunk-I62ZBEKH.js} +48 -48
- package/dist/cli/{chunk-QA733N7N.mjs → chunk-IA2LTIWO.mjs} +2 -2
- package/dist/cli/{chunk-FGBX2WVJ.js → chunk-IB225ZK4.js} +4 -4
- package/dist/cli/{chunk-VZ4S5JRC.js → chunk-ID3LGPOE.js} +23 -23
- package/dist/cli/{chunk-LHPYCJNL.js → chunk-IXYVHTRZ.js} +19 -6
- package/dist/cli/{chunk-64MOX3SN.mjs → chunk-JCO226JM.mjs} +111 -2
- package/dist/cli/{chunk-SJI56XPM.mjs → chunk-JY7RKJ65.mjs} +21 -16
- package/dist/cli/{chunk-N6KF6X3D.js → chunk-KSHZY52O.js} +114 -5
- package/dist/cli/{chunk-BM4GE67C.mjs → chunk-L2NXB4WG.mjs} +19 -6
- package/dist/cli/{chunk-UFUXGMHL.mjs → chunk-LCAXLGAY.mjs} +2 -2
- package/dist/cli/{chunk-AHNJGA6Z.js → chunk-LJLM4BUL.js} +6 -6
- package/dist/cli/{chunk-EKIWY5DD.mjs → chunk-LLSCFLFU.mjs} +1 -1
- package/dist/cli/{chunk-OUVQKSVC.mjs → chunk-MAMGREBW.mjs} +1 -1
- package/dist/cli/{chunk-CYW6PE3G.mjs → chunk-MGF3MK27.mjs} +5 -5
- package/dist/cli/{chunk-PZGK6EEB.js → chunk-N6I3BB2O.js} +280 -275
- package/dist/cli/{chunk-4W5EFHHY.js → chunk-NDDGFX4X.js} +11 -11
- package/dist/cli/{chunk-RIA73OAZ.mjs → chunk-NRVEVKXR.mjs} +2 -2
- package/dist/cli/{chunk-UY6Z3XWW.mjs → chunk-OH6WOID2.mjs} +2 -2
- package/dist/cli/{chunk-GX4VZL4Z.mjs → chunk-OIZUFRTE.mjs} +3 -3
- package/dist/cli/{chunk-3SFLY3T3.js → chunk-PP5RMEQQ.js} +5 -5
- package/dist/cli/{chunk-UMP76GYQ.mjs → chunk-PW6NKI2A.mjs} +3 -3
- package/dist/cli/{chunk-ENHQBPR5.mjs → chunk-Q3A53SWK.mjs} +4 -3
- package/dist/cli/{chunk-X6F4XOT2.mjs → chunk-QPSBV4FD.mjs} +2 -2
- package/dist/cli/{chunk-6R57HEPF.mjs → chunk-S22FSNNC.mjs} +1 -1
- package/dist/cli/{chunk-XVQE6IBS.js → chunk-SLXCVPN7.js} +2 -2
- package/dist/cli/{chunk-AJO3I3LL.mjs → chunk-SRUNYWQ2.mjs} +9 -1
- package/dist/cli/{chunk-5EMYPLTW.js → chunk-UXIUAIL2.js} +53 -53
- package/dist/cli/{chunk-MVQ5XGRO.mjs → chunk-VGIDPJXM.mjs} +3 -3
- package/dist/cli/{chunk-PRDCU7BY.js → chunk-VLUBEMWM.js} +20 -20
- package/dist/cli/{chunk-W3RHISD6.js → chunk-VYSUJMB5.js} +8 -8
- package/dist/cli/{chunk-W742U53L.mjs → chunk-W6UCS3O6.mjs} +5 -5
- package/dist/cli/{chunk-Q6H5RRTG.mjs → chunk-X7RKCAMX.mjs} +4 -4
- package/dist/cli/{chunk-TBLP7HDL.js → chunk-XMBTAPHR.js} +10 -9
- package/dist/cli/{chunk-EDAG7ZU4.mjs → chunk-XVBEEGI4.mjs} +1 -1
- package/dist/cli/{chunk-JJEN7TRR.mjs → chunk-YR4REP4D.mjs} +1 -1
- package/dist/cli/{chunk-QMIMGKR2.js → chunk-Z3XFXFRT.js} +9 -9
- package/dist/cli/{chunk-JEI7PHET.mjs → chunk-ZFXDD7VM.mjs} +1 -1
- package/dist/cli/{chunk-HUJMFETO.mjs → chunk-ZTCP5BHH.mjs} +7 -3
- package/dist/cli/command-docs.js +3 -3
- package/dist/cli/command-docs.mjs +2 -2
- package/dist/cli/concurrent-runs-help-BFVCUJF4.js +22 -0
- package/dist/cli/{concurrent-runs-help-5BKCGFGL.mjs → concurrent-runs-help-ROQM6UB3.mjs} +7 -7
- package/dist/cli/{csv-7ZAWND7L.js → csv-FWGSY4GE.js} +13 -13
- package/dist/cli/{csv-MO5WZZDN.mjs → csv-R7GV33BC.mjs} +4 -4
- package/dist/cli/{db-36LX7JBQ.js → db-OCH35YJG.js} +27 -27
- package/dist/cli/{db-OYMULINA.mjs → db-UWXA4RRV.mjs} +6 -6
- package/dist/cli/describe-6OI5K2SH.js +50 -0
- package/dist/cli/{describe-JLAERB6X.mjs → describe-QI4HMUGE.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-AQ32J4BZ.js → executions-7CFGC24E.js} +8 -8
- package/dist/cli/{executions-IZAB2XNC.mjs → executions-YF3KMZZN.mjs} +6 -6
- package/dist/cli/{feedback-WA6EBE5H.mjs → feedback-DWIWBS7O.mjs} +6 -6
- package/dist/cli/{feedback-3IV54HOH.js → feedback-YCZHHSBS.js} +14 -14
- package/dist/cli/git-TGLNZRS3.js +26 -0
- package/dist/cli/{git-OSLU6HIK.mjs → git-XCGMQQOD.mjs} +5 -5
- package/dist/cli/index.js +152 -148
- package/dist/cli/index.mjs +51 -47
- package/dist/cli/{integrations-WOXFOC4M.mjs → integrations-5ABAJBSW.mjs} +7 -7
- package/dist/cli/{integrations-65SYNL53.js → integrations-IEZA3TGK.js} +29 -29
- package/dist/cli/{legacy-noops-3SGXDAV6.js → legacy-noops-KNFLJ5P2.js} +9 -9
- package/dist/cli/{legacy-noops-4FNG2JY3.mjs → legacy-noops-OZMY73Y3.mjs} +6 -6
- package/dist/cli/{mcp-PX27RHCY.js → mcp-NLQAO7KP.js} +24 -24
- package/dist/cli/{mcp-RZLWMZHH.mjs → mcp-WSPFKQPZ.mjs} +4 -4
- package/dist/cli/{monitors-F5BLGS4R.js → monitors-BJYOB4S3.js} +100 -100
- package/dist/cli/{monitors-VK2LW7VU.mjs → monitors-LPKFFTOX.mjs} +7 -7
- package/dist/cli/{org-7AEBTN6Y.mjs → org-RYPMUYUW.mjs} +6 -6
- package/dist/cli/{org-UU3V7U4K.js → org-WIVHI4WT.js} +121 -121
- package/dist/cli/{outcomes-BWERSUJL.mjs → outcomes-FADJYC4I.mjs} +9 -7
- package/dist/cli/{outcomes-GCTBGPMK.js → outcomes-QKX7IE3O.js} +17 -15
- package/dist/cli/{play-TX3RAAYS.mjs → play-4ZKK5Q7U.mjs} +88 -33
- package/dist/cli/{play-7NBCCL26.js → play-ID73J3NP.js} +393 -338
- package/dist/cli/{providers-KFWZXDCV.mjs → providers-LURYBSNO.mjs} +6 -6
- package/dist/cli/{providers-IL2IVKHB.js → providers-WCCGYGW6.js} +9 -9
- package/dist/cli/{quickstart-RAMDGRRI.mjs → quickstart-KCCSEE5J.mjs} +4 -4
- package/dist/cli/{quickstart-MPA6TUK5.js → quickstart-LVPOU25V.js} +6 -6
- package/dist/cli/{run-WBUSXBUS.js → run-2QMJRCVA.js} +48 -48
- package/dist/cli/{run-QNJSKPBN.mjs → run-XXK7DDUF.mjs} +26 -26
- package/dist/cli/search-AQSAXA6D.js +32 -0
- package/dist/cli/{search-2X4P2FXR.mjs → search-ZYAWW3CK.mjs} +7 -7
- package/dist/cli/{search-output-MNJ4AQLV.mjs → search-output-N45AIOB4.mjs} +9 -6
- package/dist/cli/{search-output-P2WNCHA3.js → search-output-YNXAZSKT.js} +12 -9
- package/dist/cli/{secrets-XX54OU22.mjs → secrets-7Q3AOUAS.mjs} +6 -6
- package/dist/cli/{secrets-K5CNDUVR.js → secrets-MHT27L2M.js} +15 -15
- package/dist/cli/{sessions-C4GQ6ZVO.mjs → sessions-6QKOM7M3.mjs} +6 -6
- package/dist/cli/sessions-RGD7L4LC.js +23 -0
- package/dist/cli/{settings-7HBTADGW.mjs → settings-NPVIDENI.mjs} +12 -12
- package/dist/cli/{settings-QP3DVFPS.js → settings-OP7Q6YX6.js} +85 -85
- package/dist/cli/{setup-VPDAKY2G.mjs → setup-OOT3EIMF.mjs} +9 -9
- package/dist/cli/{setup-X6J7U6B4.js → setup-RT6GHL3W.js} +49 -49
- package/dist/cli/skills-ERAA734H.js +37 -0
- package/dist/cli/{skills-UGY6W4AC.mjs → skills-TEXI4CLZ.mjs} +7 -7
- package/dist/cli/tools-D5SZSIIH.js +57 -0
- package/dist/cli/{tools-SVBUAHDD.mjs → tools-G5L36M3X.mjs} +19 -19
- package/dist/cli/update-WZ6527EF.js +37 -0
- package/dist/cli/{update-SDNKNDNW.mjs → update-YNKQTE4D.mjs} +9 -9
- package/dist/cli/{views-M6RBPC65.mjs → views-IQFMUMLU.mjs} +6 -6
- package/dist/cli/{views-JBFSHQBU.js → views-OVQ5AQAU.js} +21 -21
- package/dist/cli/{workflow-UAMTGHQC.js → workflow-RCBYXIFZ.js} +17 -17
- package/dist/cli/{workflow-RYVRAIHV.mjs → workflow-Y5IFMI7N.mjs} +7 -7
- package/dist/{client-DCnExziW.d.ts → client-BrdMPFCM.d.ts} +1 -1
- package/dist/{client-ClJlqkKt.d.mts → client-CF-bsrtI.d.mts} +1 -1
- package/dist/{client-core-DAOPQnGD.d.mts → client-core-DM1ZedOG.d.mts} +8 -0
- package/dist/{client-core-BKq5ZNAl.d.ts → client-core-rMoUWSYM.d.ts} +8 -0
- 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 +128 -126
- 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-PXIVGUVZ.js +0 -44
- package/dist/cli/concurrent-runs-help-KGELXJIQ.js +0 -22
- package/dist/cli/describe-AVGE4MH6.js +0 -50
- package/dist/cli/git-VOFO6V5W.js +0 -26
- package/dist/cli/search-CJHG3VA4.js +0 -32
- package/dist/cli/sessions-3RMRBBJZ.js +0 -23
- package/dist/cli/skills-JUGXGSX2.js +0 -37
- package/dist/cli/tools-ZEI42NSP.js +0 -57
- package/dist/cli/update-VC4UEGMR.js +0 -37
- /package/dist/cli/{chunk-2RIKOPIM.mjs → chunk-HECXJBED.mjs} +0 -0
- /package/dist/cli/{chunk-H4ALLC2X.js → chunk-TJCENACZ.js} +0 -0
|
@@ -6,19 +6,19 @@ var _chunkC5IA2OYEjs = require('./chunk-C5IA2OYE.js');
|
|
|
6
6
|
var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkIXYVHTRZjs = require('./chunk-IXYVHTRZ.js');
|
|
10
10
|
require('./chunk-BVXIGOBZ.js');
|
|
11
11
|
require('./chunk-PMH4GLMD.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
15
|
-
require('./chunk-
|
|
16
|
-
require('./chunk-
|
|
14
|
+
var _chunkVLUBEMWMjs = require('./chunk-VLUBEMWM.js');
|
|
15
|
+
require('./chunk-2QYU57RG.js');
|
|
16
|
+
require('./chunk-IB225ZK4.js');
|
|
17
17
|
require('./chunk-6VLFQZK6.js');
|
|
18
18
|
require('./chunk-XNYIZMNQ.js');
|
|
19
19
|
require('./chunk-LFQJW4S2.js');
|
|
20
20
|
require('./chunk-CFJFUVX2.js');
|
|
21
|
-
require('./chunk-
|
|
21
|
+
require('./chunk-7UR57HPJ.js');
|
|
22
22
|
require('./chunk-OG64RBAC.js');
|
|
23
23
|
require('./chunk-COGTRVWW.js');
|
|
24
24
|
|
|
@@ -27,10 +27,13 @@ function clipSummary(value, width) {
|
|
|
27
27
|
const characters = Array.from(value.replace(/\s+/gu, " ").trim());
|
|
28
28
|
return characters.length <= width ? characters.join("") : `${characters.slice(0, width - 1).join("")}\u2026`;
|
|
29
29
|
}
|
|
30
|
+
function runsOnOwnKey(item) {
|
|
31
|
+
return item.billingSource === "own_provider_credentials" || item.billingSource === "free" && item.billingSourceLabel === "your key";
|
|
32
|
+
}
|
|
30
33
|
function toolPrice(item) {
|
|
31
34
|
const pricing = item.pricing;
|
|
32
35
|
if (!pricing) return item.kind === "tool" ? "unknown" : "\u2014";
|
|
33
|
-
if (item
|
|
36
|
+
if (runsOnOwnKey(item)) return "0 (your key)";
|
|
34
37
|
if (_optionalChain([pricing, 'access', _ => _.benefit, 'optionalAccess', _2 => _2.status]) === "included")
|
|
35
38
|
return typeof pricing.benefit.remaining === "number" ? `0 (${pricing.benefit.remaining.toLocaleString("en-US")} free left)*` : "0 (included)*";
|
|
36
39
|
if (_optionalChain([pricing, 'access', _3 => _3.benefit, 'optionalAccess', _4 => _4.status]) === "unavailable")
|
|
@@ -124,7 +127,7 @@ var OPTIONAL_COLUMNS = [
|
|
|
124
127
|
];
|
|
125
128
|
function renderSearchResults(result, summaryWidth = _chunkD3BCSAN7js.DEFAULT_SUMMARY_WIDTH) {
|
|
126
129
|
if (result.results.length === 0)
|
|
127
|
-
return
|
|
130
|
+
return _chunkVLUBEMWMjs.renderCommandEnvelopeText.call(void 0, result);
|
|
128
131
|
const rows = result.results.map((item) => searchRow(item, summaryWidth));
|
|
129
132
|
const kinds = new Set(rows.map((row) => row.kind));
|
|
130
133
|
const onlyTools = kinds.size === 1 && kinds.has("tool");
|
|
@@ -155,7 +158,7 @@ function renderSearchResults(result, summaryWidth = _chunkD3BCSAN7js.DEFAULT_SUM
|
|
|
155
158
|
actions: _optionalChain([render, 'optionalAccess', _17 => _17.actions])
|
|
156
159
|
};
|
|
157
160
|
const followUps = _optionalChain([remaining, 'access', _18 => _18.sections, 'optionalAccess', _19 => _19.length]) || _optionalChain([remaining, 'access', _20 => _20.actions, 'optionalAccess', _21 => _21.length]) ? `
|
|
158
|
-
${
|
|
161
|
+
${_chunkVLUBEMWMjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
|
|
159
162
|
const exact = _optionalChain([result, 'access', _22 => _22.exactLookup, 'optionalAccess', _23 => _23.toolId]);
|
|
160
163
|
const matched = exact && result.results.find((item) => item.id === exact);
|
|
161
164
|
const contract = matched ? [
|
|
@@ -163,7 +166,7 @@ ${_chunkPRDCU7BYjs.renderCommandEnvelopeText.call(void 0, { render: remaining })
|
|
|
163
166
|
...(_nullishCoalesce(_optionalChain([matched, 'access', _26 => _26.toolUsage, 'optionalAccess', _27 => _27.requiredInputs]), () => ( []))).map(
|
|
164
167
|
({ name, meaning }) => ` ${name}${meaning ? ` \u2014 ${meaning}` : ""}`
|
|
165
168
|
),
|
|
166
|
-
...matched.auth ?
|
|
169
|
+
...matched.auth ? _chunkIXYVHTRZjs.discoveryAuthLines.call(void 0, matched.auth) : [],
|
|
167
170
|
...matched.describeCommand ? [matched.describeCommand] : [],
|
|
168
171
|
..._optionalChain([matched, 'access', _28 => _28.toolUsage, 'optionalAccess', _29 => _29.example]) ? [matched.toolUsage.example.cli] : []
|
|
169
172
|
] : [];
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-LCAXLGAY.mjs";
|
|
4
|
+
import "./chunk-4T2U72SP.mjs";
|
|
5
5
|
import "./chunk-FZHMNK6F.mjs";
|
|
6
6
|
import "./chunk-5TYLSS4Q.mjs";
|
|
7
7
|
import "./chunk-PSX3WHIH.mjs";
|
|
8
8
|
import {
|
|
9
9
|
getAuthedHttpClient,
|
|
10
10
|
printCommandEnvelope
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-2TMAKJBT.mjs";
|
|
12
|
+
import "./chunk-SRUNYWQ2.mjs";
|
|
13
|
+
import "./chunk-ZFXDD7VM.mjs";
|
|
14
14
|
import "./chunk-ASB47RXJ.mjs";
|
|
15
15
|
import "./chunk-DLIRSHV6.mjs";
|
|
16
16
|
import "./chunk-Z3A2S3QM.mjs";
|
|
17
17
|
import "./chunk-2MGZAI54.mjs";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-XVBEEGI4.mjs";
|
|
19
19
|
import "./chunk-WZYKRD7T.mjs";
|
|
20
20
|
import "./chunk-KRD6H754.mjs";
|
|
21
21
|
|
|
@@ -1,21 +1,21 @@
|
|
|
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 _chunk2RPRSTHDjs = require('./chunk-2RPRSTHD.js');
|
|
4
|
+
require('./chunk-VYSUJMB5.js');
|
|
5
5
|
require('./chunk-4WAM6TLD.js');
|
|
6
6
|
require('./chunk-MJTVX4QK.js');
|
|
7
7
|
require('./chunk-PMH4GLMD.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
12
|
-
require('./chunk-
|
|
13
|
-
require('./chunk-
|
|
11
|
+
var _chunkVLUBEMWMjs = require('./chunk-VLUBEMWM.js');
|
|
12
|
+
require('./chunk-2QYU57RG.js');
|
|
13
|
+
require('./chunk-IB225ZK4.js');
|
|
14
14
|
require('./chunk-6VLFQZK6.js');
|
|
15
15
|
require('./chunk-XNYIZMNQ.js');
|
|
16
16
|
require('./chunk-LFQJW4S2.js');
|
|
17
17
|
require('./chunk-CFJFUVX2.js');
|
|
18
|
-
require('./chunk-
|
|
18
|
+
require('./chunk-7UR57HPJ.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, _chunk2RPRSTHDjs.DeeplineClient)();
|
|
211
211
|
const secrets = await client.listSecrets();
|
|
212
|
-
|
|
212
|
+
_chunkVLUBEMWMjs.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, _chunk2RPRSTHDjs.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
|
+
_chunkVLUBEMWMjs.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 } = _chunkVLUBEMWMjs.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
|
+
_chunkVLUBEMWMjs.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
|
+
_chunkVLUBEMWMjs.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, _chunk2RPRSTHDjs.DeeplineClient)();
|
|
327
327
|
const secret = await client.updateSecretNote(secretId, note);
|
|
328
|
-
|
|
328
|
+
_chunkVLUBEMWMjs.printCommandEnvelope.call(void 0,
|
|
329
329
|
{
|
|
330
330
|
ok: true,
|
|
331
331
|
secret,
|
|
@@ -3,16 +3,16 @@ 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-OIZUFRTE.mjs";
|
|
7
|
+
import "./chunk-LLSCFLFU.mjs";
|
|
8
|
+
import "./chunk-2TMAKJBT.mjs";
|
|
9
|
+
import "./chunk-SRUNYWQ2.mjs";
|
|
10
|
+
import "./chunk-ZFXDD7VM.mjs";
|
|
11
11
|
import "./chunk-ASB47RXJ.mjs";
|
|
12
12
|
import "./chunk-DLIRSHV6.mjs";
|
|
13
13
|
import "./chunk-Z3A2S3QM.mjs";
|
|
14
14
|
import "./chunk-2MGZAI54.mjs";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-XVBEEGI4.mjs";
|
|
16
16
|
import "./chunk-WZYKRD7T.mjs";
|
|
17
17
|
import "./chunk-KRD6H754.mjs";
|
|
18
18
|
export {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkG2HW2SAPjs = require('./chunk-G2HW2SAP.js');
|
|
7
|
+
require('./chunk-BUBOZKH2.js');
|
|
8
|
+
require('./chunk-VLUBEMWM.js');
|
|
9
|
+
require('./chunk-2QYU57RG.js');
|
|
10
|
+
require('./chunk-IB225ZK4.js');
|
|
11
|
+
require('./chunk-6VLFQZK6.js');
|
|
12
|
+
require('./chunk-XNYIZMNQ.js');
|
|
13
|
+
require('./chunk-LFQJW4S2.js');
|
|
14
|
+
require('./chunk-CFJFUVX2.js');
|
|
15
|
+
require('./chunk-7UR57HPJ.js');
|
|
16
|
+
require('./chunk-OG64RBAC.js');
|
|
17
|
+
require('./chunk-COGTRVWW.js');
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
exports.feedbackAgentSessionId = _chunkG2HW2SAPjs.feedbackAgentSessionId; exports.registerSessionSendRenderCommands = _chunkG2HW2SAPjs.registerSessionSendRenderCommands; exports.registerSessionsCommands = _chunkG2HW2SAPjs.registerSessionsCommands; exports.uploadAgentSession = _chunkG2HW2SAPjs.uploadAgentSession;
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LCAXLGAY.mjs";
|
|
4
4
|
import {
|
|
5
5
|
PRODUCT_NOTIFICATION_EVENT_CATALOG,
|
|
6
6
|
resolveLegacySlackNotification
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4T2U72SP.mjs";
|
|
8
8
|
import "./chunk-FZHMNK6F.mjs";
|
|
9
9
|
import "./chunk-5TYLSS4Q.mjs";
|
|
10
10
|
import "./chunk-PSX3WHIH.mjs";
|
|
11
11
|
import {
|
|
12
12
|
readFeedbackSetting,
|
|
13
13
|
writeFeedbackSetting
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-LLSCFLFU.mjs";
|
|
15
15
|
import {
|
|
16
16
|
readCliUpdatePreferences,
|
|
17
17
|
runUpdateCommand,
|
|
18
18
|
setCliAutoUpdateEnabled
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-W6UCS3O6.mjs";
|
|
20
|
+
import "./chunk-MAMGREBW.mjs";
|
|
21
|
+
import "./chunk-DX646HO7.mjs";
|
|
22
22
|
import {
|
|
23
23
|
isCliSkillsSyncEnabled,
|
|
24
24
|
setCliSkillsSyncEnabled
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-MGF3MK27.mjs";
|
|
26
|
+
import "./chunk-YR4REP4D.mjs";
|
|
27
27
|
import {
|
|
28
28
|
openInBrowser,
|
|
29
29
|
printCommandEnvelope
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
30
|
+
} from "./chunk-2TMAKJBT.mjs";
|
|
31
|
+
import "./chunk-SRUNYWQ2.mjs";
|
|
32
|
+
import "./chunk-ZFXDD7VM.mjs";
|
|
33
33
|
import "./chunk-ASB47RXJ.mjs";
|
|
34
34
|
import "./chunk-DLIRSHV6.mjs";
|
|
35
35
|
import "./chunk-Z3A2S3QM.mjs";
|
|
36
36
|
import "./chunk-2MGZAI54.mjs";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-XVBEEGI4.mjs";
|
|
38
38
|
import "./chunk-WZYKRD7T.mjs";
|
|
39
39
|
import "./chunk-5JPKRDFC.mjs";
|
|
40
40
|
import "./chunk-KRD6H754.mjs";
|