deepline 0.3.460 → 0.3.461

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 (99) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/monitors/billing/state.ts +28 -0
  3. package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-dead-letter.ts +24 -0
  4. package/dist/cli/{auth-HKA6ZVHQ.mjs → auth-6HJXNWUG.mjs} +4 -4
  5. package/dist/cli/auth-IACERYQH.js +40 -0
  6. package/dist/cli/{billing-MTO2ZZ3G.js → billing-6P5HO6QG.js} +73 -73
  7. package/dist/cli/{billing-26G44S5N.mjs → billing-MJ42N7YF.mjs} +4 -4
  8. package/dist/cli/{chunk-RZSTT45F.mjs → chunk-3BMLICF7.mjs} +3 -3
  9. package/dist/cli/{chunk-RBTTUYZZ.js → chunk-5FDKJQZE.js} +1 -1
  10. package/dist/cli/{chunk-VJAEA4CS.js → chunk-5FY72YOV.js} +8 -8
  11. package/dist/cli/{chunk-LJTFZOHU.js → chunk-5IYOUBFZ.js} +8 -8
  12. package/dist/cli/{chunk-BHGII2D6.js → chunk-5MDIZX7M.js} +6 -6
  13. package/dist/cli/{chunk-YHTQM5XI.js → chunk-ACCR7POB.js} +26 -26
  14. package/dist/cli/{chunk-LVJOFUU7.mjs → chunk-BGY2PLP7.mjs} +3 -3
  15. package/dist/cli/{chunk-2PBN4SZE.js → chunk-CRYOUPEB.js} +16 -16
  16. package/dist/cli/{chunk-2XHWOQF4.js → chunk-FCAZQ7WV.js} +50 -50
  17. package/dist/cli/{chunk-S4Q2XCGM.mjs → chunk-FGLKOWSC.mjs} +1 -1
  18. package/dist/cli/{chunk-LMAULZLF.js → chunk-FGMX4HUZ.js} +20 -20
  19. package/dist/cli/{chunk-MLFR6DVF.mjs → chunk-FJZILBL7.mjs} +5 -5
  20. package/dist/cli/{chunk-CTRPCARW.mjs → chunk-IHHLTHE7.mjs} +8 -8
  21. package/dist/cli/{chunk-QGAWTBIR.js → chunk-KCCOQ5G5.js} +81 -81
  22. package/dist/cli/{chunk-KADIT5NV.mjs → chunk-KVJ5VHW5.mjs} +2 -2
  23. package/dist/cli/{chunk-VTODQWQA.js → chunk-MDJPEGVN.js} +10 -10
  24. package/dist/cli/{chunk-XAYO3Q2X.mjs → chunk-MEAIOXJL.mjs} +2 -2
  25. package/dist/cli/{chunk-NH6JSJW6.mjs → chunk-MGXEUZHL.mjs} +3 -3
  26. package/dist/cli/{chunk-NRGGFVVB.js → chunk-O6QOMHCH.js} +35 -35
  27. package/dist/cli/{chunk-RDPTDDKX.js → chunk-OZBWRICM.js} +2 -2
  28. package/dist/cli/{chunk-YS2YBSJB.js → chunk-PNATXKLP.js} +6 -6
  29. package/dist/cli/{chunk-526R2HON.mjs → chunk-QAJAJPKK.mjs} +1 -1
  30. package/dist/cli/{chunk-OJ6RUKVT.mjs → chunk-QEYHTIV4.mjs} +1 -1
  31. package/dist/cli/{chunk-W3BE3CHK.mjs → chunk-QIW7TVV6.mjs} +4 -4
  32. package/dist/cli/{chunk-YVBWO647.mjs → chunk-R64BGGRQ.mjs} +2 -2
  33. package/dist/cli/{chunk-YULBYKAK.mjs → chunk-RFONC4WJ.mjs} +2 -2
  34. package/dist/cli/{chunk-OMM54B3X.mjs → chunk-RY4IVOU3.mjs} +1 -1
  35. package/dist/cli/{chunk-UKFZT7RF.js → chunk-SAZFZQRI.js} +2 -2
  36. package/dist/cli/{chunk-2WRO2UJ5.js → chunk-SCIR5JXW.js} +51 -51
  37. package/dist/cli/{chunk-EJGBLXDZ.mjs → chunk-T3MVIPHG.mjs} +1 -1
  38. package/dist/cli/{chunk-M52JQSLK.js → chunk-TNMBPMMC.js} +3 -3
  39. package/dist/cli/{chunk-LAWEURCT.mjs → chunk-V7REJRDZ.mjs} +1 -1
  40. package/dist/cli/{chunk-ZR2RLI4O.mjs → chunk-VZBCEA5S.mjs} +1 -1
  41. package/dist/cli/{chunk-QJLKYYPX.js → chunk-YQDUODZW.js} +4 -4
  42. package/dist/cli/{csv-MDHT4BKK.mjs → csv-DQ6GW5B5.mjs} +3 -3
  43. package/dist/cli/{csv-6FNFYJUC.js → csv-NX7NO3O6.js} +12 -12
  44. package/dist/cli/{db-74O3RFWY.mjs → db-2YP33M4K.mjs} +4 -4
  45. package/dist/cli/{db-D6AMVOEW.js → db-R72DFMP6.js} +25 -25
  46. package/dist/cli/{describe-QW54QQNB.js → describe-2WQY7ZCY.js} +17 -17
  47. package/dist/cli/{describe-TOMIAT37.mjs → describe-FRAVCY5F.mjs} +13 -13
  48. package/dist/cli/{executions-PVSF4HUF.mjs → executions-WFBU7L2Q.mjs} +4 -4
  49. package/dist/cli/{executions-N4FMGVSC.js → executions-ZLHD4QIT.js} +6 -6
  50. package/dist/cli/{feedback-OB7NANZW.mjs → feedback-CN3HJFVF.mjs} +3 -3
  51. package/dist/cli/{feedback-WFSPCAI2.js → feedback-NDV6TPHG.js} +7 -7
  52. package/dist/cli/git-JVI36ZFV.js +24 -0
  53. package/dist/cli/{git-FHUSPAEU.mjs → git-QAD6E3HW.mjs} +4 -4
  54. package/dist/cli/index.js +132 -132
  55. package/dist/cli/index.mjs +37 -37
  56. package/dist/cli/{legacy-noops-ECHNA5HN.js → legacy-noops-KVC5QJ74.js} +7 -7
  57. package/dist/cli/{legacy-noops-HMK4BSCI.mjs → legacy-noops-TPTKNBI2.mjs} +4 -4
  58. package/dist/cli/{monitors-XLLFNENH.js → monitors-KCROV6PJ.js} +89 -89
  59. package/dist/cli/{monitors-U7VQ3EZM.mjs → monitors-SV57JFLO.mjs} +5 -5
  60. package/dist/cli/{org-6H3USO5M.mjs → org-KX6QIR7A.mjs} +4 -4
  61. package/dist/cli/{org-QX6ER2HN.js → org-NJYX5743.js} +66 -66
  62. package/dist/cli/{play-WNB7HBZK.js → play-32L7EQN4.js} +284 -284
  63. package/dist/cli/{play-MOB2WYOR.mjs → play-IQQ57L7Z.mjs} +11 -11
  64. package/dist/cli/{providers-CXEZ23E2.mjs → providers-4WEC2EQN.mjs} +4 -4
  65. package/dist/cli/{providers-7M3DISKX.js → providers-ZQV6QLVQ.js} +7 -7
  66. package/dist/cli/{quickstart-CLJT4AZL.js → quickstart-HKUSFADF.js} +5 -5
  67. package/dist/cli/{quickstart-ZFCHKHF6.mjs → quickstart-RQ76RIUE.mjs} +3 -3
  68. package/dist/cli/search-75X5LTDE.js +30 -0
  69. package/dist/cli/{search-FVYWYIC3.mjs → search-ZRAVFBZC.mjs} +5 -5
  70. package/dist/cli/{secrets-WAMPTQFC.mjs → secrets-CMJOVNVH.mjs} +4 -4
  71. package/dist/cli/{secrets-YRLKZQS5.js → secrets-J3G5Y43U.js} +13 -13
  72. package/dist/cli/{sessions-IQ332BJH.mjs → sessions-MDQYY5CB.mjs} +4 -4
  73. package/dist/cli/{sessions-44J6WIVU.js → sessions-WY7VN4AE.js} +5 -5
  74. package/dist/cli/{settings-22S6NIFQ.mjs → settings-4RWZPCT5.mjs} +9 -9
  75. package/dist/cli/{settings-4IJR2I2T.js → settings-HTNTFKCE.js} +76 -76
  76. package/dist/cli/{setup-OZUPKKPW.mjs → setup-P3GYYZWG.mjs} +8 -8
  77. package/dist/cli/{setup-3FWSRNOX.js → setup-QGCAP62X.js} +43 -43
  78. package/dist/cli/{skills-5CW3NFP3.mjs → skills-7NAE4ICL.mjs} +6 -6
  79. package/dist/cli/skills-BKJ53JOQ.js +30 -0
  80. package/dist/cli/{tools-NOPBDRGW.mjs → tools-COWMIEJ6.mjs} +13 -13
  81. package/dist/cli/tools-TASOCE7I.js +45 -0
  82. package/dist/cli/{update-IBULOV7P.mjs → update-GODLRKNB.mjs} +8 -8
  83. package/dist/cli/update-SJIKVME6.js +32 -0
  84. package/dist/cli/{workflow-MVZT7MWT.mjs → workflow-4BXOUVEO.mjs} +5 -5
  85. package/dist/cli/{workflow-Z7FW6GT2.js → workflow-AO3A6LXN.js} +15 -15
  86. package/dist/index.js +6 -6
  87. package/dist/index.mjs +3 -3
  88. package/dist/install-integrity.json +80 -80
  89. package/dist/release.d.mts +1 -1
  90. package/dist/release.d.ts +1 -1
  91. package/dist/release.js +2 -2
  92. package/dist/release.mjs +1 -1
  93. package/package.json +1 -1
  94. package/dist/cli/auth-VDOCNR7H.js +0 -40
  95. package/dist/cli/git-4PMBJSH5.js +0 -24
  96. package/dist/cli/search-4CCQCTVD.js +0 -30
  97. package/dist/cli/skills-LMNM6B5F.js +0 -30
  98. package/dist/cli/tools-AGBBDJ7P.js +0 -45
  99. package/dist/cli/update-U3W6USVD.js +0 -32
@@ -3,15 +3,15 @@
3
3
  var _chunkZM2YPJQJjs = require('./chunk-ZM2YPJQJ.js');
4
4
 
5
5
 
6
- var _chunkVTODQWQAjs = require('./chunk-VTODQWQA.js');
6
+ var _chunkMDJPEGVNjs = require('./chunk-MDJPEGVN.js');
7
7
 
8
8
 
9
9
 
10
- var _chunkBHGII2D6js = require('./chunk-BHGII2D6.js');
10
+ var _chunk5MDIZX7Mjs = require('./chunk-5MDIZX7M.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkQJLKYYPXjs = require('./chunk-QJLKYYPX.js');
14
+ var _chunkYQDUODZWjs = require('./chunk-YQDUODZW.js');
15
15
 
16
16
 
17
17
 
@@ -5713,7 +5713,7 @@ var _fs = require('fs');
5713
5713
  var _path = require('path');
5714
5714
  var SEARCH_REF_TTL_MS = 15 * 6e4;
5715
5715
  function lastSearchPath() {
5716
- return _path.join.call(void 0, _chunkQJLKYYPXjs.sdkCliStateDirPath.call(void 0, _chunkQJLKYYPXjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
5716
+ return _path.join.call(void 0, _chunkYQDUODZWjs.sdkCliStateDirPath.call(void 0, _chunkYQDUODZWjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
5717
5717
  }
5718
5718
  function rememberSearchRef(searchRef) {
5719
5719
  try {
@@ -5877,7 +5877,7 @@ var OPTIONAL_COLUMNS = [
5877
5877
  ];
5878
5878
  function renderSearchResults(result, summaryWidth = DEFAULT_SUMMARY_WIDTH) {
5879
5879
  if (result.results.length === 0)
5880
- return _chunkBHGII2D6js.renderCommandEnvelopeText.call(void 0, result);
5880
+ return _chunk5MDIZX7Mjs.renderCommandEnvelopeText.call(void 0, result);
5881
5881
  const rows = result.results.map((item) => searchRow(item, summaryWidth));
5882
5882
  const kinds = new Set(rows.map((row) => row.kind));
5883
5883
  const onlyTools = kinds.size === 1 && kinds.has("tool");
@@ -5902,7 +5902,7 @@ function renderSearchResults(result, summaryWidth = DEFAULT_SUMMARY_WIDTH) {
5902
5902
  actions: _optionalChain([render, 'optionalAccess', _12 => _12.actions])
5903
5903
  };
5904
5904
  const followUps = _optionalChain([remaining, 'access', _13 => _13.sections, 'optionalAccess', _14 => _14.length]) || _optionalChain([remaining, 'access', _15 => _15.actions, 'optionalAccess', _16 => _16.length]) ? `
5905
- ${_chunkBHGII2D6js.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
5905
+ ${_chunk5MDIZX7Mjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
5906
5906
  const notes = rows.flatMap(
5907
5907
  (row) => row.notes.map((note) => ` ${row.id}: ${note}`)
5908
5908
  );
@@ -5987,7 +5987,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
5987
5987
  console.error("--summary-width must be an integer of at least 2.");
5988
5988
  return 1;
5989
5989
  }
5990
- const { search_ref: searchRef, ...result } = await new (0, _chunkVTODQWQAjs.DeeplineClient)().search({
5990
+ const { search_ref: searchRef, ...result } = await new (0, _chunkMDJPEGVNjs.DeeplineClient)().search({
5991
5991
  query,
5992
5992
  types,
5993
5993
  exclude,
@@ -6001,7 +6001,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
6001
6001
  });
6002
6002
  if (searchRef) rememberSearchRef(searchRef);
6003
6003
  pointAtDescribe(result);
6004
- _chunkBHGII2D6js.printCommandEnvelope.call(void 0, result, {
6004
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, result, {
6005
6005
  json: options.json === true,
6006
6006
  text: renderSearchResults(result, summaryWidth)
6007
6007
  });
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkQJLKYYPXjs = require('./chunk-QJLKYYPX.js');
6
+ var _chunkYQDUODZWjs = require('./chunk-YQDUODZW.js');
7
7
 
8
8
 
9
9
 
@@ -288,8 +288,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
288
288
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
289
289
  var defaultBrowserCommandRunner = childProcess;
290
290
  function getAuthedHttpClient() {
291
- const config = _chunkQJLKYYPXjs.resolveConfig.call(void 0, );
292
- return { config, http: new (0, _chunkQJLKYYPXjs.HttpClient)(config) };
291
+ const config = _chunkYQDUODZWjs.resolveConfig.call(void 0, );
292
+ return { config, http: new (0, _chunkYQDUODZWjs.HttpClient)(config) };
293
293
  }
294
294
  function stableOsUserId() {
295
295
  try {
@@ -629,7 +629,7 @@ function collectLocalEnvInfo() {
629
629
  os: `${process.platform} ${process.arch}`,
630
630
  node_version: process.version,
631
631
  home_dir: homeDir,
632
- agent_runtime: _chunkQJLKYYPXjs.detectAgentRuntime.call(void 0, )
632
+ agent_runtime: _chunkYQDUODZWjs.detectAgentRuntime.call(void 0, )
633
633
  };
634
634
  const env = process.env;
635
635
  const optional = {
@@ -876,9 +876,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
876
876
  }
877
877
  function withAgentCommandContext(value) {
878
878
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
879
- return _chunkQJLKYYPXjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
879
+ return _chunkYQDUODZWjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
880
880
  ...valueRecord,
881
- command_context: _chunkQJLKYYPXjs.resolveCliCommandContext.call(void 0, )
881
+ command_context: _chunkYQDUODZWjs.resolveCliCommandContext.call(void 0, )
882
882
  } : value;
883
883
  }
884
884
  function printJson(value, fields) {
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkBHGII2D6js = require('./chunk-BHGII2D6.js');
5
+ var _chunk5MDIZX7Mjs = require('./chunk-5MDIZX7M.js');
6
6
 
7
7
 
8
- var _chunkQJLKYYPXjs = require('./chunk-QJLKYYPX.js');
8
+ var _chunkYQDUODZWjs = require('./chunk-YQDUODZW.js');
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -32,11 +32,11 @@ function renderDeployment(deployment) {
32
32
  return `${deployment.id} ${source} (${kind}) - ${deployment.status}${suffix}`;
33
33
  }
34
34
  async function handleList(options) {
35
- const { http } = _chunkBHGII2D6js.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunk5MDIZX7Mjs.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkBHGII2D6js.printCommandEnvelope.call(void 0,
39
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
40
40
  {
41
41
  projects: payload.projects,
42
42
  count: payload.projects.length,
@@ -73,7 +73,7 @@ function describeInstallationStatus(installation) {
73
73
  }
74
74
  }
75
75
  async function handleStatus(options) {
76
- const { http } = _chunkBHGII2D6js.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunk5MDIZX7Mjs.getAuthedHttpClient.call(void 0, );
77
77
  const payload = await http.get("/api/v2/github/installation");
78
78
  const installation = payload.installation;
79
79
  const others = (_nullishCoalesce(payload.installations, () => ( []))).filter(
@@ -136,7 +136,7 @@ async function handleStatus(options) {
136
136
  )
137
137
  );
138
138
  }
139
- _chunkBHGII2D6js.printCommandEnvelope.call(void 0,
139
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
140
140
  {
141
141
  installation,
142
142
  installations: _nullishCoalesce(payload.installations, () => ( [])),
@@ -147,10 +147,10 @@ async function handleStatus(options) {
147
147
  );
148
148
  }
149
149
  async function handleRepos(options) {
150
- const { http } = _chunkBHGII2D6js.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunk5MDIZX7Mjs.getAuthedHttpClient.call(void 0, );
151
151
  const query = options.installation ? `?installationId=${encodeURIComponent(options.installation)}` : "";
152
152
  const payload = await http.get(`/api/v2/github/repos${query}`);
153
- _chunkBHGII2D6js.printCommandEnvelope.call(void 0,
153
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
154
154
  {
155
155
  installation: payload.installation,
156
156
  repositories: payload.repositories,
@@ -171,7 +171,7 @@ async function handleRepos(options) {
171
171
  }
172
172
  async function resolveRepoId(repo, installation) {
173
173
  if (/^\d+$/.test(repo)) return Number(repo);
174
- const { http } = _chunkBHGII2D6js.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunk5MDIZX7Mjs.getAuthedHttpClient.call(void 0, );
175
175
  const query = installation ? `?installationId=${encodeURIComponent(installation)}` : "";
176
176
  const payload = await http.get(
177
177
  `/api/v2/github/repos${query}`
@@ -188,7 +188,7 @@ async function resolveRepoId(repo, installation) {
188
188
  }
189
189
  async function handleLink(repo, options) {
190
190
  const repoId = await resolveRepoId(repo, options.installation);
191
- const { http } = _chunkBHGII2D6js.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunk5MDIZX7Mjs.getAuthedHttpClient.call(void 0, );
192
192
  const payload = await http.post("/api/v2/play-projects", {
193
193
  repoId,
194
194
  ...options.installation !== void 0 ? { installationId: options.installation } : {},
@@ -197,7 +197,7 @@ async function handleLink(repo, options) {
197
197
  ...options.branch !== void 0 ? { productionBranch: options.branch } : {},
198
198
  ...options.prChecks !== void 0 ? { checkOnPullRequest: options.prChecks } : {}
199
199
  });
200
- _chunkBHGII2D6js.printCommandEnvelope.call(void 0,
200
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
201
201
  {
202
202
  project: payload.project,
203
203
  render: {
@@ -220,11 +220,11 @@ async function handleLink(repo, options) {
220
220
  );
221
221
  }
222
222
  async function handleGet(id, options) {
223
- const { http } = _chunkBHGII2D6js.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunk5MDIZX7Mjs.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkBHGII2D6js.printCommandEnvelope.call(void 0,
227
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
228
228
  {
229
229
  project: payload.project,
230
230
  render: {
@@ -240,7 +240,7 @@ async function handleGet(id, options) {
240
240
  );
241
241
  }
242
242
  async function handleSet(id, options) {
243
- const { http } = _chunkBHGII2D6js.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunk5MDIZX7Mjs.getAuthedHttpClient.call(void 0, );
244
244
  const payload = await http.patch(
245
245
  `/api/v2/play-projects/${encodeURIComponent(id)}`,
246
246
  {
@@ -251,7 +251,7 @@ async function handleSet(id, options) {
251
251
  ...options.disabled !== void 0 ? { disabled: options.disabled } : {}
252
252
  }
253
253
  );
254
- _chunkBHGII2D6js.printCommandEnvelope.call(void 0,
254
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
255
255
  {
256
256
  project: payload.project,
257
257
  render: {
@@ -264,9 +264,9 @@ async function handleSet(id, options) {
264
264
  );
265
265
  }
266
266
  async function handleUnlink(id, options) {
267
- const { http } = _chunkBHGII2D6js.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunk5MDIZX7Mjs.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkBHGII2D6js.printCommandEnvelope.call(void 0,
269
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
270
270
  {
271
271
  ok: true,
272
272
  id,
@@ -286,10 +286,10 @@ async function handleUnlink(id, options) {
286
286
  );
287
287
  }
288
288
  async function handleConnect(options) {
289
- const baseUrl = _chunkQJLKYYPXjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkYQDUODZWjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkBHGII2D6js.openInBrowser.call(void 0, connectUrl);
292
- _chunkBHGII2D6js.printCommandEnvelope.call(void 0,
291
+ const opened = _chunk5MDIZX7Mjs.openInBrowser.call(void 0, connectUrl);
292
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
293
293
  {
294
294
  connectUrl,
295
295
  browser: opened,
@@ -311,7 +311,7 @@ async function handleConnect(options) {
311
311
  );
312
312
  }
313
313
  async function handleDeploymentsList(options) {
314
- const { http } = _chunkBHGII2D6js.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunk5MDIZX7Mjs.getAuthedHttpClient.call(void 0, );
315
315
  const query = new URLSearchParams();
316
316
  if (options.repo) query.set("projectId", options.repo);
317
317
  if (options.limit) query.set("limit", options.limit);
@@ -319,7 +319,7 @@ async function handleDeploymentsList(options) {
319
319
  const payload = await http.get(
320
320
  `/api/v2/deployments${suffix}`
321
321
  );
322
- _chunkBHGII2D6js.printCommandEnvelope.call(void 0,
322
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
323
323
  {
324
324
  deployments: payload.deployments,
325
325
  count: payload.deployments.length,
@@ -363,12 +363,12 @@ function renderDeploymentMonitorLines(results) {
363
363
  ]);
364
364
  }
365
365
  async function handleDeploymentGet(id, options) {
366
- const { http } = _chunkBHGII2D6js.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunk5MDIZX7Mjs.getAuthedHttpClient.call(void 0, );
367
367
  const payload = await http.get(`/api/v2/deployments/${encodeURIComponent(id)}`);
368
368
  const playLines = renderDeploymentPlayLines(payload.deployment.results);
369
369
  const monitorLines = renderDeploymentMonitorLines(payload.deployment.results);
370
370
  const repository = _nullishCoalesce(_optionalChain([payload, 'access', _10 => _10.project, 'optionalAccess', _11 => _11.repoFullName]), () => ( payload.deployment.repoFullName));
371
- _chunkBHGII2D6js.printCommandEnvelope.call(void 0,
371
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
372
372
  {
373
373
  deployment: payload.deployment,
374
374
  project: payload.project,
@@ -387,9 +387,9 @@ async function handleDeploymentGet(id, options) {
387
387
  );
388
388
  }
389
389
  async function handleDeploymentCancel(id, options) {
390
- const { http } = _chunkBHGII2D6js.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunk5MDIZX7Mjs.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkBHGII2D6js.printCommandEnvelope.call(void 0,
392
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -3,15 +3,15 @@ import {
3
3
  } from "./chunk-LJ5747UC.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-ZR2RLI4O.mjs";
6
+ } from "./chunk-VZBCEA5S.mjs";
7
7
  import {
8
8
  printCommandEnvelope,
9
9
  renderCommandEnvelopeText
10
- } from "./chunk-526R2HON.mjs";
10
+ } from "./chunk-QAJAJPKK.mjs";
11
11
  import {
12
12
  resolveConfig,
13
13
  sdkCliStateDirPath
14
- } from "./chunk-OMM54B3X.mjs";
14
+ } from "./chunk-RY4IVOU3.mjs";
15
15
  import {
16
16
  __commonJS,
17
17
  __toESM
@@ -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 _chunkUKFZT7RFjs = require('./chunk-UKFZT7RF.js');
4
+ var _chunkSAZFZQRIjs = require('./chunk-SAZFZQRI.js');
5
5
 
6
6
 
7
- var _chunkNRGGFVVBjs = require('./chunk-NRGGFVVB.js');
7
+ var _chunkO6QOMHCHjs = require('./chunk-O6QOMHCH.js');
8
8
 
9
9
 
10
- var _chunk2WRO2UJ5js = require('./chunk-2WRO2UJ5.js');
10
+ var _chunkSCIR5JXWjs = require('./chunk-SCIR5JXW.js');
11
11
 
12
12
 
13
- var _chunkBHGII2D6js = require('./chunk-BHGII2D6.js');
13
+ var _chunk5MDIZX7Mjs = require('./chunk-5MDIZX7M.js');
14
14
 
15
15
 
16
- var _chunkQJLKYYPXjs = require('./chunk-QJLKYYPX.js');
16
+ var _chunkYQDUODZWjs = require('./chunk-YQDUODZW.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 = _chunk2WRO2UJ5js.resolveShellSpawn.call(void 0,
498
+ const plan = _chunkSCIR5JXWjs.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 ? _chunkUKFZT7RFjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunkUKFZT7RFjs.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 ? _chunkSAZFZQRIjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunkSAZFZQRIjs.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()]) || _chunkQJLKYYPXjs.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkYQDUODZWjs.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 = _chunk2WRO2UJ5js.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunkSCIR5JXWjs.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, () => ( _chunkQJLKYYPXjs.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkYQDUODZWjs.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 _chunkNRGGFVVBjs.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunkO6QOMHCHjs.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
- _chunkBHGII2D6js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunkBHGII2D6js.printCommandEnvelope.call(void 0,
1284
+ _chunk5MDIZX7Mjs.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
- _chunkBHGII2D6js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunk5MDIZX7Mjs.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
1324
1324
  );
1325
1325
  }
1326
1326
  if (options.executeWithJson && options.json) {
1327
- _chunkBHGII2D6js.printCommandEnvelope.call(void 0,
1327
+ _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion