deepline 0.3.540 → 0.3.542

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.
Files changed (143) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/sdk/src/types.ts +7 -1
  3. package/dist/cli/auth-2PH6RSKL.js +43 -0
  4. package/dist/cli/{auth-32TURPHH.mjs → auth-IGBGOB4E.mjs} +5 -5
  5. package/dist/cli/{billing-6433M4BX.js → billing-IB2TWE74.js} +92 -92
  6. package/dist/cli/{billing-NSH3NOHV.mjs → billing-N37W2I62.mjs} +8 -8
  7. package/dist/cli/{chunk-XYM3SQZN.mjs → chunk-2VRKBHMD.mjs} +1 -1
  8. package/dist/cli/{chunk-FR3AII3W.mjs → chunk-2ZGSHVZE.mjs} +2 -2
  9. package/dist/cli/{chunk-SINNEITW.mjs → chunk-3LEUSRV3.mjs} +4 -4
  10. package/dist/cli/{chunk-M4DB6BBP.js → chunk-3XXXMSSP.js} +44 -44
  11. package/dist/cli/{chunk-KN6ELDPL.mjs → chunk-46V7QSJE.mjs} +2 -2
  12. package/dist/cli/{chunk-XIIQNSWA.js → chunk-4I47NCRI.js} +8 -8
  13. package/dist/cli/{chunk-B6UZUQ2O.mjs → chunk-5APOJWJF.mjs} +1 -1
  14. package/dist/cli/{chunk-MLDLN6WG.js → chunk-5CAVURVS.js} +53 -53
  15. package/dist/cli/{chunk-UJYX4VLX.js → chunk-6SLEHAXX.js} +5 -5
  16. package/dist/cli/{chunk-IYQZVEV4.mjs → chunk-6WQDHEVF.mjs} +5 -5
  17. package/dist/cli/{chunk-S3ULSGFH.mjs → chunk-ACVTMAW4.mjs} +2 -2
  18. package/dist/cli/{chunk-WHYNYL3M.js → chunk-AKY7KZRJ.js} +6 -6
  19. package/dist/cli/{chunk-N6DMKVKO.js → chunk-AUFE624T.js} +10 -10
  20. package/dist/cli/{chunk-AOYW62XO.js → chunk-AWLPERL3.js} +3 -3
  21. package/dist/cli/{chunk-Y6647AIY.mjs → chunk-B5NP3SHX.mjs} +2 -2
  22. package/dist/cli/{chunk-J3TAEPFA.js → chunk-CFZCRM6R.js} +26 -26
  23. package/dist/cli/{chunk-XL3CEPZA.js → chunk-D44DP4KJ.js} +9 -9
  24. package/dist/cli/{chunk-TNUM4DFA.js → chunk-D7GWEBMF.js} +7 -7
  25. package/dist/cli/{chunk-AB6DFHGL.mjs → chunk-DADH3WPE.mjs} +2 -2
  26. package/dist/cli/{chunk-ZTJQKHLM.js → chunk-DMXLZ57N.js} +2 -2
  27. package/dist/cli/{chunk-BGBRA2S6.js → chunk-DNGACHFX.js} +22 -22
  28. package/dist/cli/{chunk-VAOGM5VS.js → chunk-E7B73LGT.js} +19 -19
  29. package/dist/cli/{chunk-SXVYFOBG.mjs → chunk-EGOCGWCI.mjs} +3 -3
  30. package/dist/cli/{chunk-AJVK4XC5.js → chunk-EHLCWGWN.js} +4 -4
  31. package/dist/cli/{chunk-SGMDRYAD.mjs → chunk-FFDZT255.mjs} +1 -1
  32. package/dist/cli/{chunk-BNNGM2E5.js → chunk-FGGPCAGC.js} +15 -15
  33. package/dist/cli/{chunk-MH22LQKZ.mjs → chunk-FX4OWXKK.mjs} +2 -2
  34. package/dist/cli/{chunk-WDHHQEWQ.js → chunk-GM73TZ2W.js} +41 -41
  35. package/dist/cli/{chunk-LXLCQP4A.js → chunk-HAITCPCG.js} +16 -16
  36. package/dist/cli/{chunk-JPU5YLQG.mjs → chunk-I5EAIFGO.mjs} +1 -1
  37. package/dist/cli/{chunk-2U4VACUA.js → chunk-JPT6VE54.js} +2 -2
  38. package/dist/cli/{chunk-HKWJD45V.js → chunk-LFMQVSEI.js} +5 -5
  39. package/dist/cli/{chunk-EXAXDEIF.js → chunk-NDNEARE3.js} +13 -13
  40. package/dist/cli/{chunk-WCM64BRH.mjs → chunk-NLZHLEHD.mjs} +5 -5
  41. package/dist/cli/{chunk-PJOMRUFP.mjs → chunk-ORA5TMML.mjs} +5 -5
  42. package/dist/cli/{chunk-BD3VAPB4.mjs → chunk-P4MDTBAA.mjs} +1 -1
  43. package/dist/cli/{chunk-ZJFU2COM.mjs → chunk-PLIKPGOO.mjs} +5 -5
  44. package/dist/cli/{chunk-H6IA6XRE.js → chunk-Q7WDXLYO.js} +2 -2
  45. package/dist/cli/{chunk-Z2OYTXLK.mjs → chunk-QONO7FRF.mjs} +1 -1
  46. package/dist/cli/{chunk-DV3ESQ4X.js → chunk-QXNOSCYL.js} +1 -1
  47. package/dist/cli/{chunk-BZVVSUE2.mjs → chunk-SCLP5H4P.mjs} +1 -1
  48. package/dist/cli/{chunk-TZVW5JH3.mjs → chunk-SWO5QOXB.mjs} +1 -1
  49. package/dist/cli/{chunk-37VFUQMU.mjs → chunk-TT4JUUC3.mjs} +2 -2
  50. package/dist/cli/{chunk-LPMI4CYW.js → chunk-TTBHOMAA.js} +107 -107
  51. package/dist/cli/{chunk-MVIVF4BW.js → chunk-VHJUH3TB.js} +3 -3
  52. package/dist/cli/{chunk-KFAJYK2N.mjs → chunk-WACIN4PR.mjs} +3 -3
  53. package/dist/cli/{chunk-3GVIVIER.js → chunk-WL2GUGNZ.js} +5 -5
  54. package/dist/cli/{chunk-JGFGWWOF.mjs → chunk-YK7NNZD4.mjs} +10 -10
  55. package/dist/cli/{chunk-DWE2VE5I.mjs → chunk-Z5YRKX7K.mjs} +1 -1
  56. package/dist/cli/{chunk-HLHDCFKL.mjs → chunk-ZVNYBQ77.mjs} +4 -4
  57. package/dist/cli/concurrent-runs-help-BNIDBKML.js +21 -0
  58. package/dist/cli/{concurrent-runs-help-DU5STFGB.mjs → concurrent-runs-help-DIBGMEIN.mjs} +6 -6
  59. package/dist/cli/{csv-OJCMBODT.mjs → csv-CAVA3EMS.mjs} +4 -4
  60. package/dist/cli/{csv-FBNS6SM3.js → csv-XZAM7EYZ.js} +13 -13
  61. package/dist/cli/{db-43RQRF64.mjs → db-HD332QI7.mjs} +6 -6
  62. package/dist/cli/{db-XRGJJ2KA.js → db-PPGEOBNG.js} +27 -27
  63. package/dist/cli/describe-5TFFB2PM.js +49 -0
  64. package/dist/cli/{describe-I42Y3PWR.mjs → describe-THQU7N47.mjs} +17 -17
  65. package/dist/cli/describe-core.d.mts +2 -2
  66. package/dist/cli/describe-core.d.ts +2 -2
  67. package/dist/cli/{executions-LH46O4PG.js → executions-4ZKBL7IC.js} +8 -8
  68. package/dist/cli/{executions-QXGVQHQF.mjs → executions-AFEOLB4A.mjs} +6 -6
  69. package/dist/cli/{feedback-ELFINGTM.mjs → feedback-J2YPLKMF.mjs} +6 -6
  70. package/dist/cli/{feedback-ERYIV6MT.js → feedback-M6Y33JKT.js} +14 -14
  71. package/dist/cli/{git-V2XWB6LN.mjs → git-632RYEF6.mjs} +5 -5
  72. package/dist/cli/git-AQLQYWRI.js +25 -0
  73. package/dist/cli/index.js +144 -140
  74. package/dist/cli/index.mjs +46 -42
  75. package/dist/cli/{legacy-noops-Y3OKNVWH.js → legacy-noops-4Y62TKPC.js} +9 -9
  76. package/dist/cli/{legacy-noops-ULL2EA37.mjs → legacy-noops-KWZMXYAU.mjs} +6 -6
  77. package/dist/cli/mcp-35QA6YG7.js +352 -0
  78. package/dist/cli/mcp-PESLHAAC.mjs +352 -0
  79. package/dist/cli/{monitors-DNQXCRJZ.js → monitors-4DTUZLAI.js} +100 -100
  80. package/dist/cli/{monitors-L34NROM3.mjs → monitors-YVBKBJBU.mjs} +7 -7
  81. package/dist/cli/{org-L3HTEEXL.mjs → org-DJNKMFCZ.mjs} +82 -6
  82. package/dist/cli/{org-JETA62CO.js → org-FWCBZMER.js} +162 -86
  83. package/dist/cli/{play-GTGJRNWI.js → play-FZ45M4KD.js} +317 -317
  84. package/dist/cli/{play-JHGLSSJP.mjs → play-PHVQEEEZ.mjs} +17 -17
  85. package/dist/cli/{providers-IQVHZJ27.mjs → providers-46E67QG7.mjs} +6 -6
  86. package/dist/cli/{providers-7VH7PH2Q.js → providers-QJU6FMDD.js} +9 -9
  87. package/dist/cli/{quickstart-ZDBC45PM.mjs → quickstart-6HMJJ4RR.mjs} +4 -4
  88. package/dist/cli/{quickstart-M25JNU3O.js → quickstart-HOL7H5FS.js} +6 -6
  89. package/dist/cli/{run-NEEWZBTX.mjs → run-2W2TJ6QA.mjs} +22 -22
  90. package/dist/cli/{run-MPZGX3YD.js → run-WKSIRXEC.js} +42 -42
  91. package/dist/cli/{search-YXAFB4QQ.mjs → search-Y2CFLSYB.mjs} +7 -7
  92. package/dist/cli/search-YLJFCJTK.js +32 -0
  93. package/dist/cli/{search-output-4PH5HSJC.js → search-output-2IK6ZZDY.js} +6 -6
  94. package/dist/cli/{search-output-67BBIXIZ.mjs → search-output-FCZ35PHF.mjs} +4 -4
  95. package/dist/cli/{secrets-HLUBDN3H.js → secrets-JVJIHGU4.js} +15 -15
  96. package/dist/cli/{secrets-445FER3C.mjs → secrets-PNPNUZLX.mjs} +6 -6
  97. package/dist/cli/{sessions-CCKXJNWT.mjs → sessions-GY5VVQGO.mjs} +6 -6
  98. package/dist/cli/sessions-TZ33UCPS.js +22 -0
  99. package/dist/cli/{settings-WXJIQS5J.js → settings-5WHMFRNQ.js} +85 -85
  100. package/dist/cli/{settings-3XCZGGVF.mjs → settings-YQOPF3AI.mjs} +12 -12
  101. package/dist/cli/{setup-CKETRFFN.js → setup-3VJMKDEU.js} +49 -49
  102. package/dist/cli/{setup-TOSX6NER.mjs → setup-O5U5IEVW.mjs} +9 -9
  103. package/dist/cli/{skills-Q7NLCIJJ.mjs → skills-G6J5PF35.mjs} +7 -7
  104. package/dist/cli/skills-WZY3XDT3.js +36 -0
  105. package/dist/cli/{tools-GY6QMYTZ.mjs → tools-AG7SWL5Y.mjs} +16 -16
  106. package/dist/cli/tools-BXQBL72Q.js +56 -0
  107. package/dist/cli/{update-A7JRUN4S.mjs → update-K73DD6CR.mjs} +9 -9
  108. package/dist/cli/update-XYP5EII6.js +34 -0
  109. package/dist/cli/{views-GUWC4SNI.js → views-4D2OTLIO.js} +21 -21
  110. package/dist/cli/{views-JG7FDEJR.mjs → views-MO6DIOMR.mjs} +6 -6
  111. package/dist/cli/{workflow-QZCYSQ5G.mjs → workflow-MMZMAELI.mjs} +7 -7
  112. package/dist/cli/{workflow-CXNW7ICH.js → workflow-ZEMFCS4Y.js} +17 -17
  113. package/dist/{client-CE4QBVbp.d.mts → client-DLG9mHDh.d.mts} +1 -1
  114. package/dist/{client-B1fixtK1.d.ts → client-X-FJD5Dp.d.ts} +1 -1
  115. package/dist/{client-core-C-3FVlVq.d.ts → client-core-0jmHfFBv.d.ts} +1 -1
  116. package/dist/{client-core-2BkNBgrx.d.mts → client-core-WtnqyBwY.d.mts} +1 -1
  117. package/dist/index.d.mts +3 -3
  118. package/dist/index.d.ts +3 -3
  119. package/dist/index.js +9 -9
  120. package/dist/index.mjs +6 -6
  121. package/dist/install-integrity.json +110 -108
  122. package/dist/plays/play-description.d.mts +1 -1
  123. package/dist/plays/play-description.d.ts +1 -1
  124. package/dist/plays/run-request.d.mts +1 -1
  125. package/dist/plays/run-request.d.ts +1 -1
  126. package/dist/release.d.mts +1 -1
  127. package/dist/release.d.ts +1 -1
  128. package/dist/release.js +2 -2
  129. package/dist/release.mjs +1 -1
  130. package/dist/server.d.mts +2 -2
  131. package/dist/server.d.ts +2 -2
  132. package/dist/server.js +5 -5
  133. package/dist/server.mjs +3 -3
  134. package/package.json +1 -1
  135. package/dist/cli/auth-XA3K5LH2.js +0 -43
  136. package/dist/cli/concurrent-runs-help-HIPM5BBV.js +0 -21
  137. package/dist/cli/describe-LWZCGAXU.js +0 -49
  138. package/dist/cli/git-OV2TGYVE.js +0 -25
  139. package/dist/cli/search-HUN2YRQE.js +0 -32
  140. package/dist/cli/sessions-T2RNWC6B.js +0 -22
  141. package/dist/cli/skills-FXM2RHHO.js +0 -36
  142. package/dist/cli/tools-XLVDZTWQ.js +0 -56
  143. package/dist/cli/update-AZINHILP.js +0 -34
@@ -1,9 +1,9 @@
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 _chunkLPMI4CYWjs = require('./chunk-LPMI4CYW.js');
3
+ var _chunkTTBHOMAAjs = require('./chunk-TTBHOMAA.js');
4
4
 
5
5
 
6
- var _chunkTNUM4DFAjs = require('./chunk-TNUM4DFA.js');
6
+ var _chunkD7GWEBMFjs = require('./chunk-D7GWEBMF.js');
7
7
 
8
8
 
9
9
 
@@ -14,16 +14,16 @@ var _chunkIPVRMYWTjs = require('./chunk-IPVRMYWT.js');
14
14
  var _chunkXYIECA7Mjs = require('./chunk-XYIECA7M.js');
15
15
 
16
16
 
17
- var _chunkUJYX4VLXjs = require('./chunk-UJYX4VLX.js');
17
+ var _chunk6SLEHAXXjs = require('./chunk-6SLEHAXX.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
- var _chunkVAOGM5VSjs = require('./chunk-VAOGM5VS.js');
22
+ var _chunkE7B73LGTjs = require('./chunk-E7B73LGT.js');
23
23
 
24
24
 
25
25
 
26
- var _chunkMVIVF4BWjs = require('./chunk-MVIVF4BW.js');
26
+ var _chunkVHJUH3TBjs = require('./chunk-VHJUH3TB.js');
27
27
 
28
28
  // src/cli/commands/describe.ts
29
29
  var _fs = require('fs');
@@ -32,14 +32,14 @@ var _path = require('path');
32
32
  // src/cli/doc-read-reporting.ts
33
33
  var REPORT_TIMEOUT_MS = 1e3;
34
34
  async function reportDocRead(docId) {
35
- if (_chunkVAOGM5VSjs.isFailureReportingDisabled.call(void 0, )) return;
35
+ if (_chunkE7B73LGTjs.isFailureReportingDisabled.call(void 0, )) return;
36
36
  try {
37
- const baseUrl = _chunkMVIVF4BWjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
38
- const apiKey = _chunkMVIVF4BWjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
37
+ const baseUrl = _chunkVHJUH3TBjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
38
+ const apiKey = _chunkVHJUH3TBjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
39
39
  if (!apiKey) return;
40
40
  await fetch(new URL("/api/v2/telemetry/doc-read", baseUrl), {
41
41
  method: "POST",
42
- headers: _chunkVAOGM5VSjs.failureReportHeaders.call(void 0, apiKey),
42
+ headers: _chunkE7B73LGTjs.failureReportHeaders.call(void 0, apiKey),
43
43
  body: JSON.stringify({ doc_id: docId }),
44
44
  signal: AbortSignal.timeout(REPORT_TIMEOUT_MS)
45
45
  });
@@ -52,16 +52,16 @@ function nothingNamed(name) {
52
52
  return `Nothing named "${name}". Search for it: deepline search ${JSON.stringify(name.replace(/[-_./]+/g, " "))}`;
53
53
  }
54
54
  function findNamed2(name, options) {
55
- return _chunkIPVRMYWTjs.findNamed.call(void 0, name, options, _chunkIPVRMYWTjs.describeLookupsFor.call(void 0, new (0, _chunkUJYX4VLXjs.DeeplineClient)()));
55
+ return _chunkIPVRMYWTjs.findNamed.call(void 0, name, options, _chunkIPVRMYWTjs.describeLookupsFor.call(void 0, new (0, _chunk6SLEHAXXjs.DeeplineClient)()));
56
56
  }
57
57
  async function describeAnything(name, options, onMissing) {
58
- const client = new (0, _chunkUJYX4VLXjs.DeeplineClient)();
58
+ const client = new (0, _chunk6SLEHAXXjs.DeeplineClient)();
59
59
  const lookups = _chunkIPVRMYWTjs.describeLookupsFor.call(void 0, client);
60
60
  const outcome = await _chunkIPVRMYWTjs.describeName.call(void 0, name, options, {
61
61
  ...lookups,
62
62
  // `tools describe` has already fetched the tool for its compatibility check.
63
63
  tool: async (toolName) => _nullishCoalesce(options.fetchedTool, () => ( lookups.tool(toolName))),
64
- seedStarterScript: _chunkLPMI4CYWjs.seedToolListScript
64
+ seedStarterScript: _chunkTTBHOMAAjs.seedToolListScript
65
65
  });
66
66
  if (outcome.status === "missing") {
67
67
  if (onMissing) return onMissing();
@@ -87,18 +87,18 @@ function deliver(envelope, lines, { json, out }) {
87
87
  ` : text;
88
88
  _fs.writeFileSync.call(void 0, path, content);
89
89
  const bytes = Buffer.byteLength(content);
90
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
90
+ _chunkE7B73LGTjs.printCommandEnvelope.call(void 0,
91
91
  { path, bytes },
92
92
  { json, text: `Wrote ${path} (${bytes} bytes)
93
93
  ` }
94
94
  );
95
95
  return 0;
96
96
  }
97
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0, envelope, { json, text });
97
+ _chunkE7B73LGTjs.printCommandEnvelope.call(void 0, envelope, { json, text });
98
98
  return 0;
99
99
  }
100
100
  function registerDescribeCommand(program) {
101
- _chunkTNUM4DFAjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
101
+ _chunkD7GWEBMFjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
102
102
  "Describe anything search returns: a tool, monitor type, or play."
103
103
  ).addHelpText(
104
104
  "after",
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  traceCliSpan
3
- } from "./chunk-SGMDRYAD.mjs";
3
+ } from "./chunk-FFDZT255.mjs";
4
4
  import {
5
5
  checkSdkCompatibility,
6
6
  enforceSdkCompatibilityResponse,
7
7
  flushDeferredSkillsSyncNotices
8
- } from "./chunk-PJOMRUFP.mjs";
8
+ } from "./chunk-ORA5TMML.mjs";
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -11,20 +11,20 @@
11
11
 
12
12
 
13
13
 
14
- var _chunkM4DB6BBPjs = require('./chunk-M4DB6BBP.js');
14
+ var _chunk3XXXMSSPjs = require('./chunk-3XXXMSSP.js');
15
15
 
16
16
 
17
- var _chunkVAOGM5VSjs = require('./chunk-VAOGM5VS.js');
17
+ var _chunkE7B73LGTjs = require('./chunk-E7B73LGT.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkMVIVF4BWjs = require('./chunk-MVIVF4BW.js');
23
+ var _chunkVHJUH3TBjs = require('./chunk-VHJUH3TB.js');
24
24
 
25
25
 
26
26
 
27
- var _chunkAJVK4XC5js = require('./chunk-AJVK4XC5.js');
27
+ var _chunkEHLCWGWNjs = require('./chunk-EHLCWGWN.js');
28
28
 
29
29
 
30
30
  var _chunkRLX5ZFNXjs = require('./chunk-RLX5ZFNX.js');
@@ -145,7 +145,7 @@ function inferActiveSkillsScope(entrypoint = _nullishCoalesce(process.argv[1], (
145
145
  return /[\\/]\.deepline[\\/]runtime[\\/]/.test(entrypoint) ? "local" : "global";
146
146
  }
147
147
  function resolveLocalRoot() {
148
- const target = _chunkMVIVF4BWjs.resolveProjectPinTarget.call(void 0, );
148
+ const target = _chunkVHJUH3TBjs.resolveProjectPinTarget.call(void 0, );
149
149
  if (!target.ok) {
150
150
  throw new Error(
151
151
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
@@ -156,7 +156,7 @@ function resolveLocalRoot() {
156
156
  return target.dir;
157
157
  }
158
158
  function detectSkillsAgents(input) {
159
- const runtime = _nullishCoalesce(input.runtime, () => ( _chunkAJVK4XC5js.detectAgentRuntime.call(void 0, )));
159
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunkEHLCWGWNjs.detectAgentRuntime.call(void 0, )));
160
160
  const knownAgent = RUNTIME_TO_SKILLS_AGENT[runtime];
161
161
  if (knownAgent) return [knownAgent];
162
162
  const roots = [
@@ -171,11 +171,11 @@ function detectSkillsAgents(input) {
171
171
  return detected.length > 0 ? detected : ["*"];
172
172
  }
173
173
  function skillsStatePathForScope(baseUrl, scope, root) {
174
- return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkMVIVF4BWjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
174
+ return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkVHJUH3TBjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
175
175
  }
176
176
  function buildSkillsPlan(input) {
177
177
  const scopeArgs = input.scope === "global" ? ["--global"] : [];
178
- const legacyNames = [..._chunkM4DB6BBPjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
178
+ const legacyNames = [..._chunk3XXXMSSPjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
179
179
  (a, b) => a.localeCompare(b)
180
180
  );
181
181
  return {
@@ -189,7 +189,7 @@ function buildSkillsPlan(input) {
189
189
  args: [
190
190
  "exec",
191
191
  "--yes",
192
- `--package=${_chunkM4DB6BBPjs.SKILLS_NPX_PACKAGE}`,
192
+ `--package=${_chunk3XXXMSSPjs.SKILLS_NPX_PACKAGE}`,
193
193
  "--",
194
194
  "skills",
195
195
  "remove",
@@ -205,11 +205,11 @@ function buildSkillsPlan(input) {
205
205
  args: [
206
206
  "exec",
207
207
  "--yes",
208
- `--package=${_chunkM4DB6BBPjs.SKILLS_NPX_PACKAGE}`,
208
+ `--package=${_chunk3XXXMSSPjs.SKILLS_NPX_PACKAGE}`,
209
209
  "--",
210
210
  "skills",
211
211
  "add",
212
- _chunkM4DB6BBPjs.skillsSourceUrl.call(void 0, input.baseUrl),
212
+ _chunk3XXXMSSPjs.skillsSourceUrl.call(void 0, input.baseUrl),
213
213
  "--agent",
214
214
  ...input.agents,
215
215
  ...scopeArgs,
@@ -246,7 +246,7 @@ function readSkillsInstallState(path) {
246
246
  }
247
247
  function runProcess(command, args, cwd) {
248
248
  return new Promise((resolve, reject) => {
249
- const plan = _chunkM4DB6BBPjs.resolveShellSpawn.call(void 0,
249
+ const plan = _chunk3XXXMSSPjs.resolveShellSpawn.call(void 0,
250
250
  command,
251
251
  args,
252
252
  process.platform,
@@ -268,7 +268,7 @@ function runProcess(command, args, cwd) {
268
268
  child.kill("SIGTERM");
269
269
  reject(
270
270
  new Error(
271
- `${_chunkM4DB6BBPjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
271
+ `${_chunk3XXXMSSPjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
272
272
  )
273
273
  );
274
274
  }, SKILLS_PROCESS_TIMEOUT_MS);
@@ -279,7 +279,7 @@ function runProcess(command, args, cwd) {
279
279
  child.once("close", (code) => {
280
280
  clearTimeout(timeout);
281
281
  if (code && stderr.trim()) {
282
- process.stderr.write(`${_chunkM4DB6BBPjs.SKILLS_NPX_PACKAGE} exited ${code}.
282
+ process.stderr.write(`${_chunk3XXXMSSPjs.SKILLS_NPX_PACKAGE} exited ${code}.
283
283
  `);
284
284
  }
285
285
  resolve(_nullishCoalesce(code, () => ( 1)));
@@ -287,7 +287,7 @@ function runProcess(command, args, cwd) {
287
287
  });
288
288
  }
289
289
  async function showSkills(options, name) {
290
- const baseUrl = _chunkMVIVF4BWjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
290
+ const baseUrl = _chunkVHJUH3TBjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
291
291
  const url = name ? `${baseUrl}/.well-known/skills/${encodeURIComponent(name)}/SKILL.md` : `${baseUrl}/.well-known/skills/index.json`;
292
292
  try {
293
293
  const response = await fetch(url, {
@@ -300,7 +300,7 @@ async function showSkills(options, name) {
300
300
  }
301
301
  if (name) {
302
302
  const markdown = await response.text();
303
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
303
+ _chunkE7B73LGTjs.printCommandEnvelope.call(void 0,
304
304
  { ok: true, status: "completed", skill: { name, markdown } },
305
305
  { json: options.json, text: markdown }
306
306
  );
@@ -310,7 +310,7 @@ async function showSkills(options, name) {
310
310
  const skills = (_nullishCoalesce(index.skills, () => ( []))).filter(
311
311
  (skill) => skill.install_surface === "v1" && skill.name
312
312
  );
313
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
313
+ _chunkE7B73LGTjs.printCommandEnvelope.call(void 0,
314
314
  {
315
315
  ok: true,
316
316
  status: "completed",
@@ -327,7 +327,7 @@ Read one with: deepline skills show <name>
327
327
  );
328
328
  return 0;
329
329
  } catch (error) {
330
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
330
+ _chunkE7B73LGTjs.printCommandEnvelope.call(void 0,
331
331
  {
332
332
  ok: false,
333
333
  status: "failed",
@@ -350,7 +350,7 @@ async function runSkillsCommand(options, dependencies = {}) {
350
350
  scope = normalizeScope(options.scope);
351
351
  root = scope === "local" ? resolveLocalRoot() : null;
352
352
  } catch (error) {
353
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
353
+ _chunkE7B73LGTjs.printCommandEnvelope.call(void 0,
354
354
  {
355
355
  ok: false,
356
356
  status: "failed",
@@ -362,22 +362,22 @@ async function runSkillsCommand(options, dependencies = {}) {
362
362
  );
363
363
  return 2;
364
364
  }
365
- const baseUrl = _chunkMVIVF4BWjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
365
+ const baseUrl = _chunkVHJUH3TBjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
366
366
  const catalog = {
367
- skillNames: [..._chunkM4DB6BBPjs.DEFAULT_SDK_SKILL_NAMES],
368
- version: _chunkAJVK4XC5js.SDK_VERSION
367
+ skillNames: [..._chunk3XXXMSSPjs.DEFAULT_SDK_SKILL_NAMES],
368
+ version: _chunkEHLCWGWNjs.SDK_VERSION
369
369
  };
370
370
  const agents = options.agent ? [options.agent] : detectSkillsAgents({ scope, root });
371
371
  const plan = buildSkillsPlan({ baseUrl, scope, root, agents, ...catalog });
372
372
  if (options.dryRun) {
373
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
373
+ _chunkE7B73LGTjs.printCommandEnvelope.call(void 0,
374
374
  { ok: true, status: "planned", dryRun: true, ...plan },
375
375
  { json: options.json }
376
376
  );
377
377
  return 0;
378
378
  }
379
- if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkM4DB6BBPjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
380
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
379
+ if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunk3XXXMSSPjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
380
+ _chunkE7B73LGTjs.printCommandEnvelope.call(void 0,
381
381
  {
382
382
  ok: true,
383
383
  status: "current",
@@ -409,10 +409,10 @@ async function runSkillsCommand(options, dependencies = {}) {
409
409
  }
410
410
  if (scope === "local" && root) {
411
411
  const managedNames = [
412
- .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkM4DB6BBPjs.LEGACY_SKILL_NAMES_TO_REMOVE])
412
+ .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunk3XXXMSSPjs.LEGACY_SKILL_NAMES_TO_REMOVE])
413
413
  ];
414
414
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
415
- _chunkMVIVF4BWjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
415
+ _chunkVHJUH3TBjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
416
416
  ".deepline/",
417
417
  ...agentRoots.flatMap(
418
418
  (agentRoot) => managedNames.map((name) => `${agentRoot}/skills/${name}/`)
@@ -421,7 +421,7 @@ async function runSkillsCommand(options, dependencies = {}) {
421
421
  }
422
422
  let lease;
423
423
  try {
424
- lease = scope === "global" ? await _chunkM4DB6BBPjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
424
+ lease = scope === "global" ? await _chunk3XXXMSSPjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
425
425
  waitMs: _nullishCoalesce(dependencies.installLeaseWaitMs, () => ( SKILLS_INSTALL_LEASE_WAIT_MS)),
426
426
  onWait: () => process.stderr.write(
427
427
  "Waiting for a background Deepline skills refresh to finish...\n"
@@ -429,8 +429,8 @@ async function runSkillsCommand(options, dependencies = {}) {
429
429
  }) : { release: () => {
430
430
  } };
431
431
  } catch (error) {
432
- if (!(error instanceof _chunkM4DB6BBPjs.SkillsStateUnavailableError)) throw error;
433
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
432
+ if (!(error instanceof _chunk3XXXMSSPjs.SkillsStateUnavailableError)) throw error;
433
+ _chunkE7B73LGTjs.printCommandEnvelope.call(void 0,
434
434
  {
435
435
  ok: false,
436
436
  status: "failed",
@@ -446,7 +446,7 @@ async function runSkillsCommand(options, dependencies = {}) {
446
446
  return 5;
447
447
  }
448
448
  if (!lease) {
449
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
449
+ _chunkE7B73LGTjs.printCommandEnvelope.call(void 0,
450
450
  {
451
451
  ok: false,
452
452
  status: "failed",
@@ -455,7 +455,7 @@ async function runSkillsCommand(options, dependencies = {}) {
455
455
  scope,
456
456
  agents,
457
457
  message: "A background Deepline skills refresh is still running for these agents.",
458
- next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunkM4DB6BBPjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
458
+ next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunk3XXXMSSPjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
459
459
  },
460
460
  { json: options.json }
461
461
  );
@@ -504,7 +504,7 @@ async function runSkillsInstallWithLease(input) {
504
504
  }
505
505
  }
506
506
  } catch (error) {
507
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
507
+ _chunkE7B73LGTjs.printCommandEnvelope.call(void 0,
508
508
  {
509
509
  ok: false,
510
510
  status: "failed",
@@ -520,7 +520,7 @@ async function runSkillsInstallWithLease(input) {
520
520
  return 5;
521
521
  }
522
522
  if (missing.length > 0) {
523
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
523
+ _chunkE7B73LGTjs.printCommandEnvelope.call(void 0,
524
524
  {
525
525
  ok: false,
526
526
  status: "failed",
@@ -560,7 +560,7 @@ async function runSkillsInstallWithLease(input) {
560
560
  {
561
561
  schemaVersion: 1,
562
562
  installedAt: (/* @__PURE__ */ new Date()).toISOString(),
563
- cliVersion: _chunkAJVK4XC5js.SDK_VERSION,
563
+ cliVersion: _chunkEHLCWGWNjs.SDK_VERSION,
564
564
  scope,
565
565
  agents,
566
566
  skillsVersion: plan.version,
@@ -573,9 +573,9 @@ async function runSkillsInstallWithLease(input) {
573
573
  "utf8"
574
574
  );
575
575
  if (scope === "global") {
576
- _chunkM4DB6BBPjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
576
+ _chunk3XXXMSSPjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
577
577
  }
578
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
578
+ _chunkE7B73LGTjs.printCommandEnvelope.call(void 0,
579
579
  {
580
580
  ok: true,
581
581
  status: "complete",
@@ -624,7 +624,7 @@ Examples:
624
624
  "after",
625
625
  `
626
626
  Notes:
627
- This command reinstalls current Deepline-managed skills using ${_chunkM4DB6BBPjs.SKILLS_NPX_PACKAGE},
627
+ This command reinstalls current Deepline-managed skills using ${_chunk3XXXMSSPjs.SKILLS_NPX_PACKAGE},
628
628
  then removes legacy Deepline skill names. Local scope writes into the resolved
629
629
  persistent project.
630
630
 
@@ -636,13 +636,13 @@ Examples:
636
636
  ).action(async (options) => {
637
637
  process.exitCode = await runSkillsCommand(options);
638
638
  });
639
- program.command(_chunkM4DB6BBPjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
639
+ program.command(_chunk3XXXMSSPjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
640
640
  "--claim <token>",
641
641
  "Owner token of the leases this child was started for."
642
642
  ).action(async (options) => {
643
643
  const claim = _optionalChain([options, 'access', _9 => _9.claim, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]);
644
644
  if (!claim) {
645
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
645
+ _chunkE7B73LGTjs.printCommandEnvelope.call(void 0,
646
646
  {
647
647
  ok: false,
648
648
  status: "failed",
@@ -655,7 +655,7 @@ Examples:
655
655
  process.exitCode = 2;
656
656
  return;
657
657
  }
658
- await _chunkM4DB6BBPjs.syncSdkSkillsIfNeeded.call(void 0, _chunkMVIVF4BWjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
658
+ await _chunk3XXXMSSPjs.syncSdkSkillsIfNeeded.call(void 0, _chunkVHJUH3TBjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
659
659
  mode: "inline",
660
660
  notices: "defer",
661
661
  claim
@@ -1,19 +1,19 @@
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
3
 
4
- var _chunk2U4VACUAjs = require('./chunk-2U4VACUA.js');
4
+ var _chunkJPT6VE54js = require('./chunk-JPT6VE54.js');
5
5
 
6
6
 
7
- var _chunkWDHHQEWQjs = require('./chunk-WDHHQEWQ.js');
7
+ var _chunkGM73TZ2Wjs = require('./chunk-GM73TZ2W.js');
8
8
 
9
9
 
10
- var _chunkM4DB6BBPjs = require('./chunk-M4DB6BBP.js');
10
+ var _chunk3XXXMSSPjs = require('./chunk-3XXXMSSP.js');
11
11
 
12
12
 
13
- var _chunkVAOGM5VSjs = require('./chunk-VAOGM5VS.js');
13
+ var _chunkE7B73LGTjs = require('./chunk-E7B73LGT.js');
14
14
 
15
15
 
16
- var _chunkMVIVF4BWjs = require('./chunk-MVIVF4BW.js');
16
+ var _chunkVHJUH3TBjs = require('./chunk-VHJUH3TB.js');
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  var _child_process = require('child_process');
@@ -495,7 +495,7 @@ function normalizedNpmPrefix(value) {
495
495
  }
496
496
  function resolveNpmGlobalPrefix(env) {
497
497
  try {
498
- const plan = _chunkM4DB6BBPjs.resolveShellSpawn.call(void 0,
498
+ const plan = _chunk3XXXMSSPjs.resolveShellSpawn.call(void 0,
499
499
  "npm",
500
500
  ["prefix", "-g"],
501
501
  process.platform,
@@ -556,8 +556,8 @@ function resolveUpdatePlan(options = {}) {
556
556
  const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
557
557
  const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
558
558
  const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
559
- const npmVersion = options.npmVersion === void 0 ? _chunk2U4VACUAjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunk2U4VACUAjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
559
+ const npmVersion = options.npmVersion === void 0 ? _chunkJPT6VE54js.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunkJPT6VE54js.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
561
561
  const args = installPrefix ? [
562
562
  "install",
563
563
  "-g",
@@ -567,7 +567,7 @@ function resolveUpdatePlan(options = {}) {
567
567
  packageSpec
568
568
  ] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
569
569
  const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
570
- _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkMVIVF4BWjs.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkVHJUH3TBjs.autoDetectBaseUrl.call(void 0, )
571
571
  );
572
572
  return {
573
573
  kind: "npm-global",
@@ -816,7 +816,7 @@ function sidecarInstallFailure(versionDir) {
816
816
  function runCommand(command, args, env = process.env) {
817
817
  return new Promise((resolveResult) => {
818
818
  let output = "";
819
- const plan = _chunkM4DB6BBPjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunk3XXXMSSPjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
820
820
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
821
821
  stdio: ["inherit", "pipe", "pipe"],
822
822
  shell: plan.shell,
@@ -1199,14 +1199,14 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl) {
1199
1199
  throw _nullishCoalesce(lastError, () => ( new Error("No npm registry was available")));
1200
1200
  }
1201
1201
  async function runUpdateCommand(options, dependencies = {}) {
1202
- const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkMVIVF4BWjs.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkVHJUH3TBjs.autoDetectBaseUrl));
1203
1203
  const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
1204
1204
  const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
1205
1205
  const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
1206
1206
  const originalWrite = process.stdout.write.bind(process.stdout);
1207
1207
  process.stdout.write = (() => true);
1208
1208
  try {
1209
- const exitCode = await _chunkWDHHQEWQjs.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunkGM73TZ2Wjs.runSkillsCommand.call(void 0, { json: true });
1210
1210
  if (exitCode !== 0) {
1211
1211
  throw new Error(
1212
1212
  `Deepline skills update failed with exit ${exitCode}.`
@@ -1277,11 +1277,11 @@ async function runUpdateCommand(options, dependencies = {}) {
1277
1277
  ]
1278
1278
  };
1279
1279
  if (options.json && !options.executeWithJson) {
1280
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunkE7B73LGTjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
1284
+ _chunkE7B73LGTjs.printCommandEnvelope.call(void 0,
1285
1285
  {
1286
1286
  ...plan,
1287
1287
  render: {
@@ -1294,7 +1294,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1294
1294
  return 0;
1295
1295
  }
1296
1296
  if (plan.kind === "source" || plan.kind === "homebrew") {
1297
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunkE7B73LGTjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1298
1298
  return 0;
1299
1299
  }
1300
1300
  stderr.write(`Updating Deepline SDK/CLI with: ${plan.manualCommand}
@@ -1324,7 +1324,7 @@ To retry with full installer output, run: deepline skills install
1324
1324
  );
1325
1325
  }
1326
1326
  if (options.executeWithJson && options.json) {
1327
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
1327
+ _chunkE7B73LGTjs.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-PJOMRUFP.mjs";
3
+ } from "./chunk-ORA5TMML.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -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(); } } 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 _chunkM4DB6BBPjs = require('./chunk-M4DB6BBP.js');
3
+ var _chunk3XXXMSSPjs = require('./chunk-3XXXMSSP.js');
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  var _child_process = require('child_process');
@@ -13,7 +13,7 @@ function npmSupportsAllowScripts(version) {
13
13
  }
14
14
  function readNpmVersion(env) {
15
15
  try {
16
- const plan = _chunkM4DB6BBPjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunk3XXXMSSPjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
17
17
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
18
18
  encoding: "utf8",
19
19
  env,
@@ -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 _chunkXIIQNSWAjs = require('./chunk-XIIQNSWA.js');
3
+ var _chunk4I47NCRIjs = require('./chunk-4I47NCRI.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkMVIVF4BWjs = require('./chunk-MVIVF4BW.js');
7
+ var _chunkVHJUH3TBjs = require('./chunk-VHJUH3TB.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 = _chunkMVIVF4BWjs.resolveConfig.call(void 0, options);
141
- return new (0, _chunkXIIQNSWAjs.PlayClient)(
142
- new (0, _chunkMVIVF4BWjs.HttpClient)(config),
140
+ const config = _chunkVHJUH3TBjs.resolveConfig.call(void 0, options);
141
+ return new (0, _chunk4I47NCRIjs.PlayClient)(
142
+ new (0, _chunkVHJUH3TBjs.HttpClient)(config),
143
143
  _nullishCoalesce(config.environment, () => ( process.env))
144
144
  );
145
145
  }