deepline 0.3.437 → 0.3.438

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 (96) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +19 -0
  3. package/dist/cli/auth-7MV6G26U.js +40 -0
  4. package/dist/cli/{auth-TSUA536O.mjs → auth-UDRY6ZL5.mjs} +4 -4
  5. package/dist/cli/{billing-5TGADGMX.mjs → billing-3PTMADUE.mjs} +4 -4
  6. package/dist/cli/{billing-V3T2YPBR.js → billing-7QTUCC3F.js} +73 -73
  7. package/dist/cli/{chunk-PZGRH4X7.mjs → chunk-2KDFL6IV.mjs} +4 -4
  8. package/dist/cli/{chunk-7QLXY6RP.mjs → chunk-2OTCHLWC.mjs} +1 -1
  9. package/dist/cli/{chunk-ZOPU46KZ.js → chunk-3BQVWQXZ.js} +20 -20
  10. package/dist/cli/{chunk-U5PCCQMO.js → chunk-3G2MZM7B.js} +2 -2
  11. package/dist/cli/{chunk-JJ7SVPMN.mjs → chunk-3G7KUJ63.mjs} +1 -1
  12. package/dist/cli/{chunk-Z6TTBJHH.js → chunk-3ZGIJPAC.js} +8 -8
  13. package/dist/cli/{chunk-UNX3UQFJ.mjs → chunk-64GPTXJV.mjs} +3 -3
  14. package/dist/cli/{chunk-5IJDDKD6.mjs → chunk-AGX3XMPN.mjs} +1 -1
  15. package/dist/cli/{chunk-BFV62ZMO.mjs → chunk-ALWQKQQ6.mjs} +2 -2
  16. package/dist/cli/{chunk-YRK64KJY.js → chunk-CLDL6HJ4.js} +35 -35
  17. package/dist/cli/{chunk-RG4ORMHV.mjs → chunk-CO67TF3J.mjs} +8 -8
  18. package/dist/cli/{chunk-OOXULCVG.mjs → chunk-DGGQXHAO.mjs} +2 -2
  19. package/dist/cli/{chunk-WXJAODJD.js → chunk-EBGHNXSH.js} +1 -1
  20. package/dist/cli/{chunk-JIY4IN6O.mjs → chunk-G6HUOVZ4.mjs} +1 -1
  21. package/dist/cli/{chunk-KAM3ZGK4.mjs → chunk-GBIWLNWI.mjs} +1 -1
  22. package/dist/cli/{chunk-XGKH5EC7.js → chunk-GIRJGHC3.js} +10 -10
  23. package/dist/cli/{chunk-AFWYYSKY.mjs → chunk-GSDUURVH.mjs} +2 -2
  24. package/dist/cli/{chunk-NEGUDVTQ.js → chunk-HWTAT726.js} +26 -26
  25. package/dist/cli/{chunk-IPJ3DZ7I.js → chunk-IAQ73HVZ.js} +16 -16
  26. package/dist/cli/{chunk-D7NOGNG5.js → chunk-IREQVEGX.js} +6 -6
  27. package/dist/cli/{chunk-632AG45P.js → chunk-K4WKKNGY.js} +2 -2
  28. package/dist/cli/{chunk-6VB2BPUX.js → chunk-KQJMCYFP.js} +50 -50
  29. package/dist/cli/{chunk-QOTWZX7F.mjs → chunk-LZRYLCV3.mjs} +5 -5
  30. package/dist/cli/{chunk-JHT2LCK3.js → chunk-MOVWT3Z3.js} +8 -8
  31. package/dist/cli/{chunk-BR63JXVC.js → chunk-ODGVHGHI.js} +52 -52
  32. package/dist/cli/{chunk-Q5LCLAY5.js → chunk-OSQEFBQA.js} +4 -4
  33. package/dist/cli/{chunk-BZ3RMXER.js → chunk-OVLP7546.js} +79 -79
  34. package/dist/cli/{chunk-HS3A4Q6E.mjs → chunk-PEFUJDEQ.mjs} +3 -3
  35. package/dist/cli/{chunk-PXUAU5Q6.mjs → chunk-QG7LM24G.mjs} +2 -2
  36. package/dist/cli/{chunk-G56WUJBT.mjs → chunk-QUAV2FSK.mjs} +3 -3
  37. package/dist/cli/{chunk-JU67SR7M.js → chunk-S5AVEKTO.js} +6 -6
  38. package/dist/cli/{chunk-QHDQIHME.mjs → chunk-SJBJYNJ3.mjs} +1 -1
  39. package/dist/cli/{csv-WL7ZWIT5.js → csv-K5PMPLNS.js} +12 -12
  40. package/dist/cli/{csv-BWEZ5PWQ.mjs → csv-ZU2VMGYN.mjs} +3 -3
  41. package/dist/cli/{db-DCTSMDWZ.js → db-7CZ73PYG.js} +25 -25
  42. package/dist/cli/{db-KAR7YCP4.mjs → db-GJR5NDMX.mjs} +4 -4
  43. package/dist/cli/{describe-EMVTMHVJ.mjs → describe-NS2RAE5K.mjs} +12 -12
  44. package/dist/cli/{describe-A7FCQTHV.js → describe-YNVJ76T6.js} +16 -16
  45. package/dist/cli/{executions-XR4PN6WX.mjs → executions-7VW6WOHA.mjs} +4 -4
  46. package/dist/cli/{executions-YSUL2TQR.js → executions-EKWO3HR7.js} +6 -6
  47. package/dist/cli/{feedback-G5IU7E4Y.js → feedback-DTMRRZNI.js} +7 -7
  48. package/dist/cli/{feedback-PJSTAXH7.mjs → feedback-I4AKIIFP.mjs} +3 -3
  49. package/dist/cli/git-F7XXAE3T.js +24 -0
  50. package/dist/cli/{git-TJ5Q2Z7A.mjs → git-H7RW4ILW.mjs} +4 -4
  51. package/dist/cli/index.js +131 -131
  52. package/dist/cli/index.mjs +36 -36
  53. package/dist/cli/{legacy-noops-O6OLRAES.mjs → legacy-noops-2LJGABEO.mjs} +4 -4
  54. package/dist/cli/{legacy-noops-GS3DMVI5.js → legacy-noops-BJCSECN6.js} +7 -7
  55. package/dist/cli/{monitors-BPEMPIO4.mjs → monitors-75ZYK5QN.mjs} +4 -4
  56. package/dist/cli/{monitors-A4S5WBGO.js → monitors-YXIETS5O.js} +84 -84
  57. package/dist/cli/{org-OL3AIYSH.mjs → org-5BYA54D5.mjs} +4 -4
  58. package/dist/cli/{org-VQCNY2WB.js → org-TIQTG57G.js} +66 -66
  59. package/dist/cli/{play-7XS2VNKK.mjs → play-3HDMONS3.mjs} +10 -10
  60. package/dist/cli/{play-U6UJM67Q.js → play-MG6PQTZX.js} +283 -283
  61. package/dist/cli/{providers-RLVGGWTW.js → providers-VTU5QFEY.js} +7 -7
  62. package/dist/cli/{providers-S7Q4I65H.mjs → providers-ZRI33AVX.mjs} +4 -4
  63. package/dist/cli/{quickstart-BNSND2KM.js → quickstart-E2GZQ7C5.js} +5 -5
  64. package/dist/cli/{quickstart-2XZPRIBJ.mjs → quickstart-GLKJVPGF.mjs} +3 -3
  65. package/dist/cli/search-FWZCKD3Y.js +30 -0
  66. package/dist/cli/{search-UVIIPKWR.mjs → search-WA7MLHXA.mjs} +5 -5
  67. package/dist/cli/{secrets-RKE6ZNTC.js → secrets-FJ2FFPR6.js} +13 -13
  68. package/dist/cli/{secrets-DQUHORO5.mjs → secrets-UZCAPRNH.mjs} +4 -4
  69. package/dist/cli/{sessions-4Y7G5432.js → sessions-GSB77ETF.js} +5 -5
  70. package/dist/cli/{sessions-W77NIN3J.mjs → sessions-RGT3OFG3.mjs} +4 -4
  71. package/dist/cli/{settings-SL5QVPV3.mjs → settings-5TWU54SW.mjs} +8 -8
  72. package/dist/cli/{settings-CTNYYHZP.js → settings-LOFO3Z7X.js} +75 -75
  73. package/dist/cli/{setup-Y5UBJKVQ.mjs → setup-ECTNKMOF.mjs} +7 -7
  74. package/dist/cli/{setup-DP6PDQUN.js → setup-HUAD7RTY.js} +42 -42
  75. package/dist/cli/{skills-LWLEGYDS.mjs → skills-APEJV5NK.mjs} +5 -5
  76. package/dist/cli/skills-M6AIJHCI.js +29 -0
  77. package/dist/cli/tools-4CNXP3XD.js +44 -0
  78. package/dist/cli/{tools-M2XZNF66.mjs → tools-56FHN4LC.mjs} +12 -12
  79. package/dist/cli/{update-EK2YNVKT.mjs → update-HEN6P35K.mjs} +7 -7
  80. package/dist/cli/update-US3AAEVC.js +31 -0
  81. package/dist/cli/{workflow-YFZDZT4Z.mjs → workflow-P7XPHC5B.mjs} +5 -5
  82. package/dist/cli/{workflow-BHDL5RHZ.js → workflow-VYCNZHZ7.js} +15 -15
  83. package/dist/index.js +6 -6
  84. package/dist/index.mjs +3 -3
  85. package/dist/install-integrity.json +78 -78
  86. package/dist/release.d.mts +1 -1
  87. package/dist/release.d.ts +1 -1
  88. package/dist/release.js +2 -2
  89. package/dist/release.mjs +1 -1
  90. package/package.json +1 -1
  91. package/dist/cli/auth-DN5GJY5Q.js +0 -40
  92. package/dist/cli/git-QHEYASI4.js +0 -24
  93. package/dist/cli/search-J6VQK6XY.js +0 -30
  94. package/dist/cli/skills-G2Y3KXA3.js +0 -29
  95. package/dist/cli/tools-6SKR5PQ4.js +0 -44
  96. package/dist/cli/update-AUB6RNSI.js +0 -31
@@ -28,7 +28,7 @@ import {
28
28
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
29
29
  SDK_API_MAJOR,
30
30
  resolveConfig
31
- } from "./chunk-JIY4IN6O.mjs";
31
+ } from "./chunk-G6HUOVZ4.mjs";
32
32
  import {
33
33
  CustomerDbQueryOutcomeUnknownError
34
34
  } from "./chunk-MAMVGOSC.mjs";
@@ -28,7 +28,7 @@ var _chunkKXMNM4AQjs = require('./chunk-KXMNM4AQ.js');
28
28
 
29
29
 
30
30
 
31
- var _chunkQ5LCLAY5js = require('./chunk-Q5LCLAY5.js');
31
+ var _chunkOSQEFBQAjs = require('./chunk-OSQEFBQA.js');
32
32
 
33
33
 
34
34
  var _chunkNPBJI7REjs = require('./chunk-NPBJI7RE.js');
@@ -647,7 +647,7 @@ var ToolCalls = class {
647
647
  idempotencyKey,
648
648
  onResponse: (response2) => {
649
649
  lastResponse = null;
650
- atomicToolsSupported = response2.headers.get(_chunkQ5LCLAY5js.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
650
+ atomicToolsSupported = response2.headers.get(_chunkOSQEFBQAjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
651
651
  recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
652
652
  if (_optionalChain([options, 'optionalAccess', _29 => _29.onServerTiming])) {
653
653
  try {
@@ -997,8 +997,8 @@ function runtimeSelectionHeaders(runtime, env) {
997
997
  }
998
998
  const receivers = _optionalChain([env, 'access', _51 => _51.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _52 => _52.trim, 'call', _53 => _53()]);
999
999
  return {
1000
- [_chunkQ5LCLAY5js.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1001
- ...receivers ? { [_chunkQ5LCLAY5js.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1000
+ [_chunkOSQEFBQAjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1001
+ ...receivers ? { [_chunkOSQEFBQAjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1002
1002
  };
1003
1003
  }
1004
1004
  function normalizeTestPolicyOverrides(value, source) {
@@ -1069,7 +1069,7 @@ var PlayClient = class {
1069
1069
  return _chunk2H4EY7KHjs.startPlayRun.call(void 0,
1070
1070
  this.http,
1071
1071
  resolved.request,
1072
- _optionalChain([options, 'optionalAccess', _61 => _61.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkQ5LCLAY5js.SDK_API_MAJOR) } : headers,
1072
+ _optionalChain([options, 'optionalAccess', _61 => _61.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkOSQEFBQAjs.SDK_API_MAJOR) } : headers,
1073
1073
  options
1074
1074
  );
1075
1075
  }
@@ -1135,9 +1135,9 @@ var PlayClient = class {
1135
1135
  }
1136
1136
  };
1137
1137
  function createPlayClient(options) {
1138
- const config = _chunkQ5LCLAY5js.resolveConfig.call(void 0, options);
1138
+ const config = _chunkOSQEFBQAjs.resolveConfig.call(void 0, options);
1139
1139
  return new PlayClient(
1140
- new (0, _chunkQ5LCLAY5js.HttpClient)(config),
1140
+ new (0, _chunkOSQEFBQAjs.HttpClient)(config),
1141
1141
  _nullishCoalesce(config.environment, () => ( process.env))
1142
1142
  );
1143
1143
  }
@@ -3151,7 +3151,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
3151
3151
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
3152
3152
  );
3153
3153
  }
3154
- return { [_chunkQ5LCLAY5js.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3154
+ return { [_chunkOSQEFBQAjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3155
3155
  }
3156
3156
  function sleep(ms) {
3157
3157
  return new Promise((resolve) => setTimeout(resolve, ms));
@@ -3389,9 +3389,9 @@ var DeeplineClient = (_class = class _DeeplineClient {
3389
3389
  * @throws {@link ConfigError} if no API key can be resolved from any source.
3390
3390
  */
3391
3391
  constructor(options) {
3392
- this.config = _chunkQ5LCLAY5js.resolveConfig.call(void 0, options);
3392
+ this.config = _chunkOSQEFBQAjs.resolveConfig.call(void 0, options);
3393
3393
  this.environment = _nullishCoalesce(this.config.environment, () => ( process.env));
3394
- this.http = new (0, _chunkQ5LCLAY5js.HttpClient)(this.config);
3394
+ this.http = new (0, _chunkOSQEFBQAjs.HttpClient)(this.config);
3395
3395
  this.playClient = new PlayClient(this.http, this.environment);
3396
3396
  this.toolCalls = new ToolCalls(
3397
3397
  this.http,
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  traceCliSpan
3
- } from "./chunk-JJ7SVPMN.mjs";
3
+ } from "./chunk-3G7KUJ63.mjs";
4
4
  import {
5
5
  checkSdkCompatibility,
6
6
  enforceSdkCompatibilityResponse,
7
7
  flushDeferredSkillsSyncNotices
8
- } from "./chunk-UNX3UQFJ.mjs";
8
+ } from "./chunk-64GPTXJV.mjs";
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkJU67SR7Mjs = require('./chunk-JU67SR7M.js');
5
+ var _chunkS5AVEKTOjs = require('./chunk-S5AVEKTO.js');
6
6
 
7
7
 
8
- var _chunkQ5LCLAY5js = require('./chunk-Q5LCLAY5.js');
8
+ var _chunkOSQEFBQAjs = require('./chunk-OSQEFBQA.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 } = _chunkJU67SR7Mjs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunkS5AVEKTOjs.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkJU67SR7Mjs.printCommandEnvelope.call(void 0,
39
+ _chunkS5AVEKTOjs.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 } = _chunkJU67SR7Mjs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunkS5AVEKTOjs.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
- _chunkJU67SR7Mjs.printCommandEnvelope.call(void 0,
139
+ _chunkS5AVEKTOjs.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 } = _chunkJU67SR7Mjs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunkS5AVEKTOjs.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
- _chunkJU67SR7Mjs.printCommandEnvelope.call(void 0,
153
+ _chunkS5AVEKTOjs.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 } = _chunkJU67SR7Mjs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunkS5AVEKTOjs.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 } = _chunkJU67SR7Mjs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunkS5AVEKTOjs.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
- _chunkJU67SR7Mjs.printCommandEnvelope.call(void 0,
200
+ _chunkS5AVEKTOjs.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 } = _chunkJU67SR7Mjs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunkS5AVEKTOjs.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkJU67SR7Mjs.printCommandEnvelope.call(void 0,
227
+ _chunkS5AVEKTOjs.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 } = _chunkJU67SR7Mjs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunkS5AVEKTOjs.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
- _chunkJU67SR7Mjs.printCommandEnvelope.call(void 0,
254
+ _chunkS5AVEKTOjs.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 } = _chunkJU67SR7Mjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkS5AVEKTOjs.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkJU67SR7Mjs.printCommandEnvelope.call(void 0,
269
+ _chunkS5AVEKTOjs.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 = _chunkQ5LCLAY5js.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkOSQEFBQAjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkJU67SR7Mjs.openInBrowser.call(void 0, connectUrl);
292
- _chunkJU67SR7Mjs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunkS5AVEKTOjs.openInBrowser.call(void 0, connectUrl);
292
+ _chunkS5AVEKTOjs.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 } = _chunkJU67SR7Mjs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunkS5AVEKTOjs.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
- _chunkJU67SR7Mjs.printCommandEnvelope.call(void 0,
322
+ _chunkS5AVEKTOjs.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 } = _chunkJU67SR7Mjs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunkS5AVEKTOjs.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
- _chunkJU67SR7Mjs.printCommandEnvelope.call(void 0,
371
+ _chunkS5AVEKTOjs.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 } = _chunkJU67SR7Mjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkS5AVEKTOjs.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkJU67SR7Mjs.printCommandEnvelope.call(void 0,
392
+ _chunkS5AVEKTOjs.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -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 _chunkU5PCCQMOjs = require('./chunk-U5PCCQMO.js');
4
+ var _chunk3G2MZM7Bjs = require('./chunk-3G2MZM7B.js');
5
5
 
6
6
 
7
- var _chunkYRK64KJYjs = require('./chunk-YRK64KJY.js');
7
+ var _chunkCLDL6HJ4js = require('./chunk-CLDL6HJ4.js');
8
8
 
9
9
 
10
- var _chunkBR63JXVCjs = require('./chunk-BR63JXVC.js');
10
+ var _chunkODGVHGHIjs = require('./chunk-ODGVHGHI.js');
11
11
 
12
12
 
13
- var _chunkJU67SR7Mjs = require('./chunk-JU67SR7M.js');
13
+ var _chunkS5AVEKTOjs = require('./chunk-S5AVEKTO.js');
14
14
 
15
15
 
16
- var _chunkQ5LCLAY5js = require('./chunk-Q5LCLAY5.js');
16
+ var _chunkOSQEFBQAjs = require('./chunk-OSQEFBQA.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 = _chunkBR63JXVCjs.resolveShellSpawn.call(void 0,
498
+ const plan = _chunkODGVHGHIjs.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 ? _chunkU5PCCQMOjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunkU5PCCQMOjs.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 ? _chunk3G2MZM7Bjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunk3G2MZM7Bjs.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()]) || _chunkQ5LCLAY5js.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkOSQEFBQAjs.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 = _chunkBR63JXVCjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunkODGVHGHIjs.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, () => ( _chunkQ5LCLAY5js.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkOSQEFBQAjs.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 _chunkYRK64KJYjs.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunkCLDL6HJ4js.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
- _chunkJU67SR7Mjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunkS5AVEKTOjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunkJU67SR7Mjs.printCommandEnvelope.call(void 0,
1284
+ _chunkS5AVEKTOjs.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
- _chunkJU67SR7Mjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunkS5AVEKTOjs.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
- _chunkJU67SR7Mjs.printCommandEnvelope.call(void 0,
1327
+ _chunkS5AVEKTOjs.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk632AG45Pjs = require('./chunk-632AG45P.js');
3
+ var _chunkK4WKKNGYjs = require('./chunk-K4WKKNGY.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkBR63JXVCjs = require('./chunk-BR63JXVC.js');
8
+ var _chunkODGVHGHIjs = require('./chunk-ODGVHGHI.js');
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -14,17 +14,17 @@ function usesInlinePlayAdmission(command, args) {
14
14
  );
15
15
  }
16
16
  async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured") {
17
- if (maintenancePolicy !== "off") _chunkBR63JXVCjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
18
- const compatibility = await _chunk632AG45Pjs.traceCliSpan.call(void 0,
17
+ if (maintenancePolicy !== "off") _chunkODGVHGHIjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
18
+ const compatibility = await _chunkK4WKKNGYjs.traceCliSpan.call(void 0,
19
19
  "cli.sdk_compatibility",
20
20
  { baseUrl, command: "plays run" },
21
- () => _chunkBR63JXVCjs.checkSdkCompatibility.call(void 0, baseUrl, {
21
+ () => _chunkODGVHGHIjs.checkSdkCompatibility.call(void 0, baseUrl, {
22
22
  command: "plays run",
23
23
  persistCache: maintenancePolicy !== "off"
24
24
  })
25
25
  );
26
26
  if (compatibility.error) throw compatibility.error;
27
- _chunkBR63JXVCjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
27
+ _chunkODGVHGHIjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
28
28
  quietAdvisory: true
29
29
  });
30
30
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkJU67SR7Mjs = require('./chunk-JU67SR7M.js');
3
+ var _chunkS5AVEKTOjs = require('./chunk-S5AVEKTO.js');
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  var _commander = require('commander');
@@ -33,7 +33,7 @@ function recordCliTrace(event) {
33
33
  sinceStartMs: now - cliTraceStartedAt,
34
34
  ...event
35
35
  };
36
- _chunkJU67SR7Mjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
36
+ _chunkS5AVEKTOjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
37
37
  `);
38
38
  }
39
39
  async function traceCliSpan(phase, fields, run) {