deepline 0.3.381 → 0.3.382

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 (90) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/cli/auth-GFQMA47B.js +39 -0
  3. package/dist/cli/{auth-M2WCVLXM.mjs → auth-K7TZOYYE.mjs} +4 -4
  4. package/dist/cli/{billing-J5FSVZB4.js → billing-4P4N53UW.js} +73 -73
  5. package/dist/cli/{billing-B4XB5L63.mjs → billing-TDW5SHSL.mjs} +4 -4
  6. package/dist/cli/{chunk-D2G6W7ES.js → chunk-3BRXZZNU.js} +50 -50
  7. package/dist/cli/{chunk-RJDYOGD3.mjs → chunk-3QHSILOH.mjs} +2 -2
  8. package/dist/cli/{chunk-OKGOQKW7.js → chunk-5WVT7NHI.js} +48 -48
  9. package/dist/cli/{chunk-Z2EKAUHJ.mjs → chunk-5XYEFAFI.mjs} +1 -1
  10. package/dist/cli/{chunk-QOK7SKSZ.mjs → chunk-ANHZWK2M.mjs} +3 -3
  11. package/dist/cli/{chunk-CFHQRESG.mjs → chunk-BNRRVGGW.mjs} +1 -1
  12. package/dist/cli/{chunk-PPO4FG7O.js → chunk-BSPOALWK.js} +432 -392
  13. package/dist/cli/{chunk-Y3FOW4TU.mjs → chunk-DHV54G6M.mjs} +5 -5
  14. package/dist/cli/{chunk-RWSPU3RI.js → chunk-ERGADEMS.js} +2 -2
  15. package/dist/cli/{chunk-IXRQGX74.mjs → chunk-FEIKELZA.mjs} +4 -4
  16. package/dist/cli/{chunk-4Q4SQJBF.mjs → chunk-H4Q2JRPD.mjs} +1 -1
  17. package/dist/cli/{chunk-2IB2RBCY.js → chunk-ID57OQBZ.js} +1 -1
  18. package/dist/cli/{chunk-5UC6VEXF.js → chunk-IMKWP4UQ.js} +4 -4
  19. package/dist/cli/{chunk-SPJI6J44.js → chunk-IWNJYV27.js} +8 -8
  20. package/dist/cli/{chunk-Q7VDVBZW.mjs → chunk-J6253YWF.mjs} +3 -3
  21. package/dist/cli/{chunk-AQ4HP2GF.js → chunk-JLNMJAWS.js} +9 -9
  22. package/dist/cli/{chunk-N36BQUUU.mjs → chunk-LFY4APCO.mjs} +3 -2
  23. package/dist/cli/{chunk-NEU3YVPF.mjs → chunk-NYS7324H.mjs} +50 -10
  24. package/dist/cli/{chunk-IX6IEN5B.mjs → chunk-QGBXUPY3.mjs} +2 -2
  25. package/dist/cli/{chunk-RK72YKI7.js → chunk-SGG4X23E.js} +26 -26
  26. package/dist/cli/{chunk-KQFDSP5O.js → chunk-SK6KH37M.js} +8 -8
  27. package/dist/cli/{chunk-UTVDVZTM.js → chunk-TOLORRDI.js} +62 -61
  28. package/dist/cli/{chunk-4P35MBCK.mjs → chunk-UKG2DJLZ.mjs} +1 -1
  29. package/dist/cli/{chunk-FDB2YGWF.js → chunk-YYHROETZ.js} +15 -15
  30. package/dist/cli/{chunk-HJWXXZVG.js → chunk-ZP7Z3TZ3.js} +8 -8
  31. package/dist/cli/{chunk-PWCQM4SD.mjs → chunk-ZPD4NZKT.mjs} +2 -2
  32. package/dist/cli/{csv-RG6EPZAF.js → csv-GJB3PQ6I.js} +12 -12
  33. package/dist/cli/{csv-XK2U7OOP.mjs → csv-T4A374D5.mjs} +3 -3
  34. package/dist/cli/{db-LVXEM4JK.mjs → db-CMXCGD3G.mjs} +4 -4
  35. package/dist/cli/{db-LVFZMURX.js → db-J2J5BJOH.js} +29 -29
  36. package/dist/cli/{describe-F52KVIU5.js → describe-HW2SROYB.js} +44 -18
  37. package/dist/cli/{describe-CGNNGI7D.mjs → describe-MN4MJ6DD.mjs} +36 -10
  38. package/dist/cli/{executions-QVNYM6G5.js → executions-DZB6R7OV.js} +6 -6
  39. package/dist/cli/{executions-IFQ4VFOW.mjs → executions-O4CCBVC4.mjs} +4 -4
  40. package/dist/cli/{feedback-GE2HJ3RV.js → feedback-N6HDCLQ6.js} +7 -7
  41. package/dist/cli/{feedback-XQZGZLJD.mjs → feedback-YMOM6INL.mjs} +3 -3
  42. package/dist/cli/git-FCDTBBB3.js +23 -0
  43. package/dist/cli/{git-VHYPESNC.mjs → git-LEC7GJLK.mjs} +4 -4
  44. package/dist/cli/index.js +174 -83
  45. package/dist/cli/index.mjs +123 -32
  46. package/dist/cli/{legacy-noops-MEVZKOQO.js → legacy-noops-GFXVUEHX.js} +7 -7
  47. package/dist/cli/{legacy-noops-H3LBMAJD.mjs → legacy-noops-K27TS7LE.mjs} +4 -4
  48. package/dist/cli/{monitors-6LBPWRV2.js → monitors-HFT37OOR.js} +85 -85
  49. package/dist/cli/{monitors-QCDXTRJG.mjs → monitors-QCLSYMKW.mjs} +4 -4
  50. package/dist/cli/{org-ZCGJFGH2.js → org-4CADZYFV.js} +64 -64
  51. package/dist/cli/{org-R3Q75N6B.mjs → org-UXQ6LVOX.mjs} +4 -4
  52. package/dist/cli/play-2EJN5QAI.js +157 -0
  53. package/dist/cli/{play-AQ6P4KHZ.mjs → play-FOQPC7BY.mjs} +9 -7
  54. package/dist/cli/{providers-DD7F2EB3.mjs → providers-HG3GZRFS.mjs} +4 -4
  55. package/dist/cli/{providers-HQRVMENG.js → providers-W3RK2G2A.js} +7 -7
  56. package/dist/cli/{quickstart-IHSZ24SF.js → quickstart-7VXWMWC6.js} +5 -5
  57. package/dist/cli/{quickstart-IQOBN4JH.mjs → quickstart-DQKAUJFG.mjs} +3 -3
  58. package/dist/cli/{search-DQERH2AR.mjs → search-LDGEJTLL.mjs} +5 -5
  59. package/dist/cli/search-MLQXX25Z.js +26 -0
  60. package/dist/cli/{secrets-XY5226V2.js → secrets-3NHMB236.js} +13 -13
  61. package/dist/cli/{secrets-WNAU3O75.mjs → secrets-VEOZ5FT6.mjs} +4 -4
  62. package/dist/cli/{sessions-R53JPCM4.js → sessions-I4FKREEM.js} +5 -5
  63. package/dist/cli/{sessions-P7UZU5LC.mjs → sessions-UYLIL756.mjs} +4 -4
  64. package/dist/cli/{settings-5QHIIX4A.js → settings-BLNPNNLM.js} +74 -74
  65. package/dist/cli/{settings-JQLWULCE.mjs → settings-RA3XIJWS.mjs} +7 -7
  66. package/dist/cli/{setup-BKCG5BRF.mjs → setup-OAU6HQOG.mjs} +6 -6
  67. package/dist/cli/{setup-3UXOGSKW.js → setup-YFJJQF6T.js} +41 -41
  68. package/dist/cli/skills-P3HX4XRQ.js +28 -0
  69. package/dist/cli/{skills-5BBTJHXZ.mjs → skills-XF7YND7M.mjs} +4 -4
  70. package/dist/cli/{tools-7EQFFGWU.mjs → tools-7CJTNQDV.mjs} +6 -6
  71. package/dist/cli/tools-SHVTCQ2K.js +40 -0
  72. package/dist/cli/update-TI6YJEOZ.js +28 -0
  73. package/dist/cli/{update-KFMOWN7F.mjs → update-WD2X3EZD.mjs} +6 -6
  74. package/dist/cli/{workflow-PGSPHWFA.js → workflow-32EMNRWX.js} +15 -15
  75. package/dist/cli/{workflow-JMBTBZGY.mjs → workflow-AW6GZHG2.mjs} +5 -5
  76. package/dist/index.js +6 -6
  77. package/dist/index.mjs +3 -3
  78. package/dist/install-integrity.json +72 -72
  79. package/dist/release.d.mts +1 -1
  80. package/dist/release.d.ts +1 -1
  81. package/dist/release.js +2 -2
  82. package/dist/release.mjs +1 -1
  83. package/package.json +1 -1
  84. package/dist/cli/auth-T3F2NI55.js +0 -39
  85. package/dist/cli/git-QADGD7ZL.js +0 -23
  86. package/dist/cli/play-AFDVNXFL.js +0 -155
  87. package/dist/cli/search-KQNM6AHE.js +0 -26
  88. package/dist/cli/skills-7X24WLXD.js +0 -28
  89. package/dist/cli/tools-HQFR3CYC.js +0 -40
  90. package/dist/cli/update-MP6SY5LY.js +0 -28
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkKQFDSP5Ojs = require('./chunk-KQFDSP5O.js');
5
+ var _chunkSK6KH37Mjs = require('./chunk-SK6KH37M.js');
6
6
 
7
7
 
8
- var _chunk5UC6VEXFjs = require('./chunk-5UC6VEXF.js');
8
+ var _chunkIMKWP4UQjs = require('./chunk-IMKWP4UQ.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 } = _chunkKQFDSP5Ojs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunkSK6KH37Mjs.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkKQFDSP5Ojs.printCommandEnvelope.call(void 0,
39
+ _chunkSK6KH37Mjs.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 } = _chunkKQFDSP5Ojs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunkSK6KH37Mjs.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
- _chunkKQFDSP5Ojs.printCommandEnvelope.call(void 0,
139
+ _chunkSK6KH37Mjs.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 } = _chunkKQFDSP5Ojs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunkSK6KH37Mjs.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
- _chunkKQFDSP5Ojs.printCommandEnvelope.call(void 0,
153
+ _chunkSK6KH37Mjs.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 } = _chunkKQFDSP5Ojs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunkSK6KH37Mjs.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 } = _chunkKQFDSP5Ojs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunkSK6KH37Mjs.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
- _chunkKQFDSP5Ojs.printCommandEnvelope.call(void 0,
200
+ _chunkSK6KH37Mjs.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 } = _chunkKQFDSP5Ojs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunkSK6KH37Mjs.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkKQFDSP5Ojs.printCommandEnvelope.call(void 0,
227
+ _chunkSK6KH37Mjs.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 } = _chunkKQFDSP5Ojs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunkSK6KH37Mjs.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
- _chunkKQFDSP5Ojs.printCommandEnvelope.call(void 0,
254
+ _chunkSK6KH37Mjs.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 } = _chunkKQFDSP5Ojs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkSK6KH37Mjs.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkKQFDSP5Ojs.printCommandEnvelope.call(void 0,
269
+ _chunkSK6KH37Mjs.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 = _chunk5UC6VEXFjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkIMKWP4UQjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkKQFDSP5Ojs.openInBrowser.call(void 0, connectUrl);
292
- _chunkKQFDSP5Ojs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunkSK6KH37Mjs.openInBrowser.call(void 0, connectUrl);
292
+ _chunkSK6KH37Mjs.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 } = _chunkKQFDSP5Ojs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunkSK6KH37Mjs.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
- _chunkKQFDSP5Ojs.printCommandEnvelope.call(void 0,
322
+ _chunkSK6KH37Mjs.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 } = _chunkKQFDSP5Ojs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunkSK6KH37Mjs.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
- _chunkKQFDSP5Ojs.printCommandEnvelope.call(void 0,
371
+ _chunkSK6KH37Mjs.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 } = _chunkKQFDSP5Ojs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkSK6KH37Mjs.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkKQFDSP5Ojs.printCommandEnvelope.call(void 0,
392
+ _chunkSK6KH37Mjs.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunk5UC6VEXFjs = require('./chunk-5UC6VEXF.js');
6
+ var _chunkIMKWP4UQjs = require('./chunk-IMKWP4UQ.js');
7
7
 
8
8
 
9
9
  var _chunk7P5AA3SNjs = require('./chunk-7P5AA3SN.js');
@@ -15,10 +15,10 @@ var RUN_FIELDS = new Set(
15
15
  )
16
16
  );
17
17
  var ROOTS = {
18
- describe: "name playKey reference displayName description pinned toolCategories tags origin ownerType canEdit canClone aliases inputSchema outputSchema staticPipeline csvInput rowOutputSchema runCommand examples cloneEditStarter currentPublishedVersion liveVersion triggerStatus triggerMetadata isDraftDirty latestRunId runtimeLimit activeScheduledPlays command_context",
18
+ describe: "name playKey reference displayName description pinned toolCategories tags origin ownerType canEdit canClone aliases inputSchema outputSchema staticPipeline csvInput rowOutputSchema runCommand examples cloneEditStarter currentPublishedVersion liveVersion triggerStatus triggerMetadata isDraftDirty latestRunId runtimeLimit activeScheduledPlays dashboardUrl command_context",
19
19
  check: "kind target checked scope name exportName valid stage issues inputSchema outputSchema recognized triggers runtimeLimit limits featureFlags sourceHash artifactHash graphHash toolGetterHints exports actions diagnostics reference origin ownerType activeScheduledPlays command_context",
20
20
  run: "schemaVersion kind run datasets actions apiVersion dashboardUrl progress rowOutcomes steps errors error warnings result resultState execution command_context diagnostics",
21
- get: "schemaVersion kind run runStatus steps failures errorDetails rowOutcomes warnings failedLogs datasets result resultState actions diagnostics command_context",
21
+ get: "schemaVersion kind run dashboardUrl runStatus steps failures errorDetails rowOutcomes warnings failedLogs datasets result resultState actions diagnostics command_context",
22
22
  config: "runId contract command_context",
23
23
  export: "runId datasets csv_path json_path format source rowCount columns notice metadata_path actions command_context"
24
24
  };
@@ -225,8 +225,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
225
225
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
226
226
  var defaultBrowserCommandRunner = childProcess;
227
227
  function getAuthedHttpClient() {
228
- const config = _chunk5UC6VEXFjs.resolveConfig.call(void 0, );
229
- return { config, http: new (0, _chunk5UC6VEXFjs.HttpClient)(config) };
228
+ const config = _chunkIMKWP4UQjs.resolveConfig.call(void 0, );
229
+ return { config, http: new (0, _chunkIMKWP4UQjs.HttpClient)(config) };
230
230
  }
231
231
  function stableOsUserId() {
232
232
  try {
@@ -566,7 +566,7 @@ function collectLocalEnvInfo() {
566
566
  os: `${process.platform} ${process.arch}`,
567
567
  node_version: process.version,
568
568
  home_dir: homeDir,
569
- agent_runtime: _chunk5UC6VEXFjs.detectAgentRuntime.call(void 0, )
569
+ agent_runtime: _chunkIMKWP4UQjs.detectAgentRuntime.call(void 0, )
570
570
  };
571
571
  const env = process.env;
572
572
  const optional = {
@@ -813,9 +813,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
813
813
  }
814
814
  function withAgentCommandContext(value) {
815
815
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
816
- return _chunk5UC6VEXFjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
816
+ return _chunkIMKWP4UQjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
817
817
  ...valueRecord,
818
- command_context: _chunk5UC6VEXFjs.resolveCliCommandContext.call(void 0, )
818
+ command_context: _chunkIMKWP4UQjs.resolveCliCommandContext.call(void 0, )
819
819
  } : value;
820
820
  }
821
821
  function printJson(value, fields) {
@@ -3,7 +3,7 @@
3
3
  var _chunkWJYPBHTEjs = require('./chunk-WJYPBHTE.js');
4
4
 
5
5
 
6
- var _chunkKQFDSP5Ojs = require('./chunk-KQFDSP5O.js');
6
+ var _chunkSK6KH37Mjs = require('./chunk-SK6KH37M.js');
7
7
 
8
8
 
9
9
 
@@ -22,7 +22,7 @@ var _chunkKQFDSP5Ojs = require('./chunk-KQFDSP5O.js');
22
22
 
23
23
 
24
24
 
25
- var _chunk5UC6VEXFjs = require('./chunk-5UC6VEXF.js');
25
+ var _chunkIMKWP4UQjs = require('./chunk-IMKWP4UQ.js');
26
26
 
27
27
 
28
28
  var _chunk7P5AA3SNjs = require('./chunk-7P5AA3SN.js');
@@ -123,7 +123,7 @@ function skillsSourceUrl(baseUrl) {
123
123
  function buildSkillsAddArgs(baseUrl, skillName, options = {}) {
124
124
  const skillNames = Array.isArray(skillName) ? skillName : [skillName];
125
125
  const [firstSkillName, ...extraSkillNames] = skillNames;
126
- const agents = _nullishCoalesce(options.agents, () => ( _chunk5UC6VEXFjs.DEFAULT_SKILL_AGENTS));
126
+ const agents = _nullishCoalesce(options.agents, () => ( _chunkIMKWP4UQjs.DEFAULT_SKILL_AGENTS));
127
127
  const values = {
128
128
  skills_index_url: skillsIndexUrl(baseUrl),
129
129
  skills_source_url: skillsSourceUrl(baseUrl),
@@ -199,7 +199,7 @@ function shouldSkipCompatibilityCheck() {
199
199
  return value === "1" || value === "true" || value === "yes";
200
200
  }
201
201
  function sdkCompatibilityCachePath(baseUrl, homeDir = _os.homedir.call(void 0, )) {
202
- return _path.join.call(void 0, _chunk5UC6VEXFjs.sdkCliStateDirPath.call(void 0, baseUrl, homeDir), "compat-cache.json");
202
+ return _path.join.call(void 0, _chunkIMKWP4UQjs.sdkCliStateDirPath.call(void 0, baseUrl, homeDir), "compat-cache.json");
203
203
  }
204
204
  function legacySdkCompatibilityCachePath(homeDir = _os.homedir.call(void 0, )) {
205
205
  return _path.join.call(void 0, homeDir, ".cache", "deepline", "sdk-compat-cache.json");
@@ -207,9 +207,9 @@ function legacySdkCompatibilityCachePath(homeDir = _os.homedir.call(void 0, )) {
207
207
  function compatibilityCacheKey(baseUrl, command, skillsVersion) {
208
208
  return JSON.stringify({
209
209
  baseUrl: baseUrl.replace(/\/$/, ""),
210
- version: _chunk5UC6VEXFjs.SDK_VERSION,
211
- apiContract: _chunk5UC6VEXFjs.SDK_API_CONTRACT,
212
- apiMajor: _chunk5UC6VEXFjs.SDK_API_MAJOR,
210
+ version: _chunkIMKWP4UQjs.SDK_VERSION,
211
+ apiContract: _chunkIMKWP4UQjs.SDK_API_CONTRACT,
212
+ apiMajor: _chunkIMKWP4UQjs.SDK_API_MAJOR,
213
213
  command: _optionalChain([command, 'optionalAccess', _7 => _7.trim, 'call', _8 => _8()]) || null,
214
214
  skillsVersion: _nullishCoalesce(skillsVersion, () => ( null))
215
215
  });
@@ -217,8 +217,8 @@ function compatibilityCacheKey(baseUrl, command, skillsVersion) {
217
217
  function legacyCompatibilityCacheKey(baseUrl, command) {
218
218
  return JSON.stringify({
219
219
  baseUrl: baseUrl.replace(/\/$/, ""),
220
- version: _chunk5UC6VEXFjs.SDK_VERSION,
221
- apiContract: _chunk5UC6VEXFjs.SDK_API_CONTRACT,
220
+ version: _chunkIMKWP4UQjs.SDK_VERSION,
221
+ apiContract: _chunkIMKWP4UQjs.SDK_API_CONTRACT,
222
222
  command: _optionalChain([command, 'optionalAccess', _9 => _9.trim, 'call', _10 => _10()]) || null
223
223
  });
224
224
  }
@@ -311,7 +311,7 @@ async function checkSdkCompatibility(baseUrl, options = {}) {
311
311
  );
312
312
  try {
313
313
  const url = new URL("/api/v2/sdk/compat", baseUrl);
314
- url.searchParams.set("version", _chunk5UC6VEXFjs.SDK_VERSION);
314
+ url.searchParams.set("version", _chunkIMKWP4UQjs.SDK_VERSION);
315
315
  if (_optionalChain([options, 'access', _19 => _19.command, 'optionalAccess', _20 => _20.trim, 'call', _21 => _21()])) {
316
316
  url.searchParams.set("command", options.command.trim());
317
317
  }
@@ -324,13 +324,13 @@ async function checkSdkCompatibility(baseUrl, options = {}) {
324
324
  const response = await fetch(url, {
325
325
  method: "GET",
326
326
  headers: {
327
- ..._chunk5UC6VEXFjs.deploymentProtectionHeaders.call(void 0, ),
328
- "User-Agent": `deepline-ts-sdk/${_chunk5UC6VEXFjs.SDK_VERSION}`,
329
- "X-Deepline-SDK-Version": _chunk5UC6VEXFjs.SDK_VERSION,
330
- "X-Deepline-API-Major": String(_chunk5UC6VEXFjs.SDK_API_MAJOR),
331
- "X-Deepline-API-Contract": _chunk5UC6VEXFjs.SDK_API_CONTRACT,
327
+ ..._chunkIMKWP4UQjs.deploymentProtectionHeaders.call(void 0, ),
328
+ "User-Agent": `deepline-ts-sdk/${_chunkIMKWP4UQjs.SDK_VERSION}`,
329
+ "X-Deepline-SDK-Version": _chunkIMKWP4UQjs.SDK_VERSION,
330
+ "X-Deepline-API-Major": String(_chunkIMKWP4UQjs.SDK_API_MAJOR),
331
+ "X-Deepline-API-Contract": _chunkIMKWP4UQjs.SDK_API_CONTRACT,
332
332
  "X-Deepline-CLI-Update-Preferences": "1",
333
- ...options.catalog ? { Authorization: `Bearer ${_chunk5UC6VEXFjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl)}` } : {}
333
+ ...options.catalog ? { Authorization: `Bearer ${_chunkIMKWP4UQjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl)}` } : {}
334
334
  },
335
335
  signal: controller.signal
336
336
  });
@@ -583,7 +583,7 @@ function buildEnvironmentContext() {
583
583
  node_version: process.version,
584
584
  runtime: "Node.js",
585
585
  hostname: _os.hostname.call(void 0, ),
586
- agent_runtime: _chunk5UC6VEXFjs.detectAgentRuntime.call(void 0, )
586
+ agent_runtime: _chunkIMKWP4UQjs.detectAgentRuntime.call(void 0, )
587
587
  };
588
588
  for (const key of ["CLAUDE_CODE_REMOTE", "DEEPLINE_PLUGIN_MODE"]) {
589
589
  const normalized = _optionalChain([process, 'access', _32 => _32.env, 'access', _33 => _33[key], 'optionalAccess', _34 => _34.trim, 'call', _35 => _35()]);
@@ -607,12 +607,12 @@ function failureReportHeaders(apiKey) {
607
607
  return {
608
608
  Authorization: `Bearer ${apiKey}`,
609
609
  "Content-Type": "application/json",
610
- "User-Agent": `deepline-ts-sdk/${_chunk5UC6VEXFjs.SDK_VERSION}`,
610
+ "User-Agent": `deepline-ts-sdk/${_chunkIMKWP4UQjs.SDK_VERSION}`,
611
611
  "X-Deepline-Client-Family": "sdk",
612
612
  "X-Deepline-CLI-Family": "sdk",
613
- "X-Deepline-Agent-Runtime": _chunk5UC6VEXFjs.detectAgentRuntime.call(void 0, ),
614
- "X-Deepline-CLI-Version": _chunk5UC6VEXFjs.SDK_VERSION,
615
- "X-Deepline-SDK-Version": _chunk5UC6VEXFjs.SDK_VERSION
613
+ "X-Deepline-Agent-Runtime": _chunkIMKWP4UQjs.detectAgentRuntime.call(void 0, ),
614
+ "X-Deepline-CLI-Version": _chunkIMKWP4UQjs.SDK_VERSION,
615
+ "X-Deepline-SDK-Version": _chunkIMKWP4UQjs.SDK_VERSION
616
616
  };
617
617
  }
618
618
  async function postFailureReport(input) {
@@ -640,7 +640,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
640
640
  if (isFailureReportingDisabled()) return false;
641
641
  let apiKey = "";
642
642
  try {
643
- apiKey = _chunk5UC6VEXFjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
643
+ apiKey = _chunkIMKWP4UQjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
644
644
  } catch (e7) {
645
645
  return false;
646
646
  }
@@ -667,7 +667,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
667
667
  failure_code: failureCode2,
668
668
  failure_stage: failureStage,
669
669
  error_body: "Automatic Deepline skills installation failed.",
670
- cli_version: _chunk5UC6VEXFjs.SDK_VERSION,
670
+ cli_version: _chunkIMKWP4UQjs.SDK_VERSION,
671
671
  context: {
672
672
  environment: buildEnvironmentContext(),
673
673
  skills_sync: {
@@ -787,7 +787,7 @@ function buildFailureReport(input) {
787
787
  failure_kind: failureKind,
788
788
  failure_code: code,
789
789
  failure_stage: input.error === void 0 ? "command_exit" : "cli_main",
790
- cli_version: _chunk5UC6VEXFjs.SDK_VERSION,
790
+ cli_version: _chunkIMKWP4UQjs.SDK_VERSION,
791
791
  context: {
792
792
  base_url: redactFailureText(input.baseUrl, 400),
793
793
  command_summary: sanitizeCommand(input.argv),
@@ -807,8 +807,8 @@ async function maybeReportSdkCliFailure(input) {
807
807
  if (isServerLoggedPlayRunStartFailure(input)) return false;
808
808
  const exitCode = resolvedExitCode(input);
809
809
  if (!shouldReport({ exitCode, error: input.error })) return false;
810
- const baseUrl = _chunk5UC6VEXFjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
811
- const apiKey = _chunk5UC6VEXFjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
810
+ const baseUrl = _chunkIMKWP4UQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
811
+ const apiKey = _chunkIMKWP4UQjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
812
812
  if (!apiKey) return false;
813
813
  return postFailureReport({
814
814
  baseUrl,
@@ -829,25 +829,25 @@ var CHECK_TIMEOUT_MS2 = 3e3;
829
829
  var INSTALLER_PROBE_TIMEOUT_MS = 1e3;
830
830
  var PUBLISHED_VERIFICATION_RETRY_MS = 5 * 6e4;
831
831
  function shouldSkipSkillsSync() {
832
- if (_chunk5UC6VEXFjs.detectAgentRuntime.call(void 0, ) === "claude_cowork" || isCiEnvironment()) {
832
+ if (_chunkIMKWP4UQjs.detectAgentRuntime.call(void 0, ) === "claude_cowork" || isCiEnvironment()) {
833
833
  return true;
834
834
  }
835
835
  const value = _optionalChain([process, 'access', _56 => _56.env, 'access', _57 => _57.DEEPLINE_SKIP_SKILLS_SYNC, 'optionalAccess', _58 => _58.trim, 'call', _59 => _59(), 'access', _60 => _60.toLowerCase, 'call', _61 => _61()]);
836
836
  return value === "1" || value === "true" || value === "yes" || value === "on";
837
837
  }
838
838
  function unavailableSkillsNoticePath(baseUrl) {
839
- return _path.join.call(void 0, _chunk5UC6VEXFjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-sync-unavailable-version");
839
+ return _path.join.call(void 0, _chunkIMKWP4UQjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-sync-unavailable-version");
840
840
  }
841
841
  var SKILLS_SYNC_IN_PROGRESS_TTL_MS = 10 * 60 * 1e3;
842
842
  var SKILLS_SYNC_IN_PROGRESS_PID_CAP_MS = 6 * 60 * 60 * 1e3;
843
- var agentLeaseSegment = _chunk5UC6VEXFjs.skillsAgentPathSegment;
843
+ var agentLeaseSegment = _chunkIMKWP4UQjs.skillsAgentPathSegment;
844
844
  function sortedLeaseAgents(agents) {
845
- const expanded = agents.includes("*") ? [...agents, ..._chunk5UC6VEXFjs.KNOWN_SKILL_AGENTS] : agents;
845
+ const expanded = agents.includes("*") ? [...agents, ..._chunkIMKWP4UQjs.KNOWN_SKILL_AGENTS] : agents;
846
846
  return [...new Set(expanded)].sort((a, b) => a.localeCompare(b));
847
847
  }
848
848
  function inProgressSkillsSyncPath(baseUrl, agent) {
849
849
  return _path.join.call(void 0,
850
- _chunk5UC6VEXFjs.sdkCliStateDirPath.call(void 0, baseUrl),
850
+ _chunkIMKWP4UQjs.sdkCliStateDirPath.call(void 0, baseUrl),
851
851
  `skills-sync-in-progress-${agentLeaseSegment(agent)}`
852
852
  );
853
853
  }
@@ -1006,7 +1006,7 @@ var SkillsStateUnavailableError = class extends Error {
1006
1006
  constructor(baseUrl, error) {
1007
1007
  const detail = error instanceof Error ? error.message : String(error);
1008
1008
  super(
1009
- `Could not save skills state in ${_chunk5UC6VEXFjs.sdkCliStateDirPath.call(void 0, baseUrl)}: ${detail}`
1009
+ `Could not save skills state in ${_chunkIMKWP4UQjs.sdkCliStateDirPath.call(void 0, baseUrl)}: ${detail}`
1010
1010
  );
1011
1011
  this.name = "SkillsStateUnavailableError";
1012
1012
  }
@@ -1091,7 +1091,7 @@ function skillsInstallLeasePath(baseUrl, agents) {
1091
1091
  }
1092
1092
  function deferredSkillsNoticePath(baseUrl, agents) {
1093
1093
  return _path.join.call(void 0,
1094
- _chunk5UC6VEXFjs.sdkCliStateDirPath.call(void 0, baseUrl),
1094
+ _chunkIMKWP4UQjs.sdkCliStateDirPath.call(void 0, baseUrl),
1095
1095
  `skills-sync-notice-${sortedLeaseAgents(agents).map(agentLeaseSegment).join("-")}`
1096
1096
  );
1097
1097
  }
@@ -1125,8 +1125,8 @@ function flushDeferredSkillsNotices(baseUrl, agents) {
1125
1125
  if (text.trim()) writeSdkSkillsStatusLine(text.trimEnd());
1126
1126
  }
1127
1127
  function flushDeferredSkillsSyncNotices(baseUrl) {
1128
- if (shouldSkipSkillsSync() || _chunk5UC6VEXFjs.hasActivePluginSkills.call(void 0, )) return;
1129
- const agents = _chunk5UC6VEXFjs.resolveAutoSyncSkillAgents.call(void 0, );
1128
+ if (shouldSkipSkillsSync() || _chunkIMKWP4UQjs.hasActivePluginSkills.call(void 0, )) return;
1129
+ const agents = _chunkIMKWP4UQjs.resolveAutoSyncSkillAgents.call(void 0, );
1130
1130
  if (agents.length === 0) return;
1131
1131
  flushDeferredSkillsNotices(baseUrl, agents);
1132
1132
  }
@@ -1142,7 +1142,7 @@ function spawnDetachedSkillsSyncChild(argv, onSpawnError) {
1142
1142
  }
1143
1143
  function failedSkillsSyncPath(baseUrl, agents) {
1144
1144
  return _path.join.call(void 0,
1145
- _chunk5UC6VEXFjs.sdkCliStateDirPath.call(void 0, baseUrl),
1145
+ _chunkIMKWP4UQjs.sdkCliStateDirPath.call(void 0, baseUrl),
1146
1146
  `skills-sync-failed-${sortedLeaseAgents(agents).map(agentLeaseSegment).join("-")}-version`
1147
1147
  );
1148
1148
  }
@@ -1171,7 +1171,7 @@ function writeUnavailableSkillsNotice(baseUrl, remoteVersion, skillNames, reason
1171
1171
  if (hasMarkedSkillsSyncVersion(path, remoteVersion)) return;
1172
1172
  writeMarkedSkillsSyncVersion(path, remoteVersion);
1173
1173
  const probes = reason === "no-installer" ? _nullishCoalesce(knownProbes, () => ( probeInstallers())) : null;
1174
- const manualCommand = _optionalChain([probes, 'optionalAccess', _65 => _65.npx]) === "missing" && probes.bunx !== "missing" ? `bunx ${buildBunxSkillsInstallArgs(baseUrl, skillNames, _chunk5UC6VEXFjs.DEFAULT_SKILL_AGENTS).map(shellQuote).join(" ")}` : `npx ${buildSkillsInstallArgs(baseUrl, skillNames).join(" ")}`;
1174
+ const manualCommand = _optionalChain([probes, 'optionalAccess', _65 => _65.npx]) === "missing" && probes.bunx !== "missing" ? `bunx ${buildBunxSkillsInstallArgs(baseUrl, skillNames, _chunkIMKWP4UQjs.DEFAULT_SKILL_AGENTS).map(shellQuote).join(" ")}` : `npx ${buildSkillsInstallArgs(baseUrl, skillNames).join(" ")}`;
1175
1175
  const explanation = reason === "unsupported-agent" ? "the detected agent has no automatic skills sync target. Automatic sync was skipped." : _optionalChain([probes, 'optionalAccess', _66 => _66.bunx]) === "missing" && probes.npx === "missing" ? "neither `bunx` nor `npx` was found on PATH. Make one available." : `installer version check failed for ${Object.entries(_nullishCoalesce(probes, () => ( {}))).filter(([, result]) => result === "failed").map(([command]) => `\`${command}\``).join(" and ")}. Check those commands with --version.`;
1176
1176
  notice(
1177
1177
  `Deepline agent skills are out of date, but ${explanation} To install manually, run:
@@ -1259,7 +1259,7 @@ function buildSdkSkillNames(v1SkillNames2) {
1259
1259
  return sortedUniqueSkillNames(v1SkillNames2);
1260
1260
  }
1261
1261
  function isDefaultAgentSet(agents) {
1262
- return agents.length === _chunk5UC6VEXFjs.DEFAULT_SKILL_AGENTS.length && agents.every((agent, index) => agent === _chunk5UC6VEXFjs.DEFAULT_SKILL_AGENTS[index]);
1262
+ return agents.length === _chunkIMKWP4UQjs.DEFAULT_SKILL_AGENTS.length && agents.every((agent, index) => agent === _chunkIMKWP4UQjs.DEFAULT_SKILL_AGENTS[index]);
1263
1263
  }
1264
1264
  function safeSkillFilePath(value) {
1265
1265
  if (typeof value !== "string" || !value) return false;
@@ -1456,7 +1456,7 @@ function probeInstallers(timeoutMs) {
1456
1456
  }
1457
1457
  function noInstallerProbePath(baseUrl) {
1458
1458
  return _path.join.call(void 0,
1459
- _chunk5UC6VEXFjs.sdkCliStateDirPath.call(void 0, baseUrl),
1459
+ _chunkIMKWP4UQjs.sdkCliStateDirPath.call(void 0, baseUrl),
1460
1460
  "skills-sync-no-installer-unknown.json"
1461
1461
  );
1462
1462
  }
@@ -1535,7 +1535,7 @@ function temporarySkillsSyncSkipCommand() {
1535
1535
  function resolveSkillsInstallSpawn(install, platform2 = process.platform) {
1536
1536
  return resolveShellSpawn(install.command, install.args, platform2);
1537
1537
  }
1538
- function resolveSkillsInstallCommands(baseUrl, skillNames = DEFAULT_SDK_SKILL_NAMES, agents = _chunk5UC6VEXFjs.DEFAULT_SKILL_AGENTS, knownProbes) {
1538
+ function resolveSkillsInstallCommands(baseUrl, skillNames = DEFAULT_SDK_SKILL_NAMES, agents = _chunkIMKWP4UQjs.DEFAULT_SKILL_AGENTS, knownProbes) {
1539
1539
  const commands = [];
1540
1540
  const probes = _nullishCoalesce(knownProbes, () => ( probeInstallers()));
1541
1541
  if (probes.bunx === "available") {
@@ -1687,11 +1687,11 @@ function writeSdkSkillsStatusLine(line) {
1687
1687
  }
1688
1688
  async function syncSdkSkillsIfNeeded(baseUrl, options = {}) {
1689
1689
  if (shouldSkipSkillsSync()) return;
1690
- const usingPluginSkills = _chunk5UC6VEXFjs.hasActivePluginSkills.call(void 0, );
1690
+ const usingPluginSkills = _chunkIMKWP4UQjs.hasActivePluginSkills.call(void 0, );
1691
1691
  if (usingPluginSkills) {
1692
1692
  return;
1693
1693
  }
1694
- const agents = _chunk5UC6VEXFjs.resolveAutoSyncSkillAgents.call(void 0, );
1694
+ const agents = _chunkIMKWP4UQjs.resolveAutoSyncSkillAgents.call(void 0, );
1695
1695
  if (options.mode === "detached" && agents.length > 0) {
1696
1696
  flushDeferredSkillsNotices(baseUrl, agents);
1697
1697
  }
@@ -1719,7 +1719,7 @@ async function syncSdkSkillsIfNeeded(baseUrl, options = {}) {
1719
1719
  return;
1720
1720
  }
1721
1721
  try {
1722
- const localVersion = _chunk5UC6VEXFjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
1722
+ const localVersion = _chunkIMKWP4UQjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
1723
1723
  const update = options.update === void 0 ? claimedVersion ? { needsUpdate: true, remoteVersion: claimedVersion } : await fetchSkillsUpdate(baseUrl, localVersion) : options.update ? {
1724
1724
  needsUpdate: options.update.needs_update,
1725
1725
  remoteVersion: options.update.remote.version
@@ -1885,7 +1885,7 @@ async function runInlineSkillsSync(baseUrl, remoteVersion, agents, notices) {
1885
1885
  }
1886
1886
  }
1887
1887
  runLegacySkillsCleanup(agents);
1888
- if (!_chunk5UC6VEXFjs.writeSdkSkillsLocalVersion.call(void 0, baseUrl, update.remoteVersion, agents)) {
1888
+ if (!_chunkIMKWP4UQjs.writeSdkSkillsLocalVersion.call(void 0, baseUrl, update.remoteVersion, agents)) {
1889
1889
  notice(
1890
1890
  "Deepline agent skills installed, but the local skills version could not be recorded. A later command will retry the refresh."
1891
1891
  );
@@ -1944,7 +1944,7 @@ function inferActiveSkillsScope(entrypoint = _nullishCoalesce(process.argv[1], (
1944
1944
  return /[\\/]\.deepline[\\/]runtime[\\/]/.test(entrypoint) ? "local" : "global";
1945
1945
  }
1946
1946
  function resolveLocalRoot() {
1947
- const target = _chunk5UC6VEXFjs.resolveProjectPinTarget.call(void 0, );
1947
+ const target = _chunkIMKWP4UQjs.resolveProjectPinTarget.call(void 0, );
1948
1948
  if (!target.ok) {
1949
1949
  throw new Error(
1950
1950
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
@@ -1955,7 +1955,7 @@ function resolveLocalRoot() {
1955
1955
  return target.dir;
1956
1956
  }
1957
1957
  function detectSkillsAgents(input) {
1958
- const runtime = _nullishCoalesce(input.runtime, () => ( _chunk5UC6VEXFjs.detectAgentRuntime.call(void 0, )));
1958
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunkIMKWP4UQjs.detectAgentRuntime.call(void 0, )));
1959
1959
  const knownAgent = RUNTIME_TO_SKILLS_AGENT[runtime];
1960
1960
  if (knownAgent) return [knownAgent];
1961
1961
  const roots = [
@@ -1970,7 +1970,7 @@ function detectSkillsAgents(input) {
1970
1970
  return detected.length > 0 ? detected : ["*"];
1971
1971
  }
1972
1972
  function skillsStatePathForScope(baseUrl, scope, root) {
1973
- return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunk5UC6VEXFjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
1973
+ return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkIMKWP4UQjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
1974
1974
  }
1975
1975
  function buildSkillsPlan(input) {
1976
1976
  const scopeArgs = input.scope === "global" ? ["--global"] : [];
@@ -2092,7 +2092,7 @@ async function runSkillsCommand(options, dependencies = {}) {
2092
2092
  scope = normalizeScope(options.scope);
2093
2093
  root = scope === "local" ? resolveLocalRoot() : null;
2094
2094
  } catch (error) {
2095
- _chunkKQFDSP5Ojs.printCommandEnvelope.call(void 0,
2095
+ _chunkSK6KH37Mjs.printCommandEnvelope.call(void 0,
2096
2096
  {
2097
2097
  ok: false,
2098
2098
  status: "failed",
@@ -2104,22 +2104,22 @@ async function runSkillsCommand(options, dependencies = {}) {
2104
2104
  );
2105
2105
  return 2;
2106
2106
  }
2107
- const baseUrl = _chunk5UC6VEXFjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
2107
+ const baseUrl = _chunkIMKWP4UQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
2108
2108
  const catalog = {
2109
2109
  skillNames: [...DEFAULT_SDK_SKILL_NAMES],
2110
- version: _chunk5UC6VEXFjs.SDK_VERSION
2110
+ version: _chunkIMKWP4UQjs.SDK_VERSION
2111
2111
  };
2112
2112
  const agents = options.agent ? [options.agent] : detectSkillsAgents({ scope, root });
2113
2113
  const plan = buildSkillsPlan({ baseUrl, scope, root, agents, ...catalog });
2114
2114
  if (options.dryRun) {
2115
- _chunkKQFDSP5Ojs.printCommandEnvelope.call(void 0,
2115
+ _chunkSK6KH37Mjs.printCommandEnvelope.call(void 0,
2116
2116
  { ok: true, status: "planned", dryRun: true, ...plan },
2117
2117
  { json: options.json }
2118
2118
  );
2119
2119
  return 0;
2120
2120
  }
2121
2121
  if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !hasFailedAutomaticSkillsSync(baseUrl, agents)) {
2122
- _chunkKQFDSP5Ojs.printCommandEnvelope.call(void 0,
2122
+ _chunkSK6KH37Mjs.printCommandEnvelope.call(void 0,
2123
2123
  {
2124
2124
  ok: true,
2125
2125
  status: "current",
@@ -2154,7 +2154,7 @@ async function runSkillsCommand(options, dependencies = {}) {
2154
2154
  .../* @__PURE__ */ new Set([...plan.skillNames, ...LEGACY_SKILL_NAMES_TO_REMOVE])
2155
2155
  ];
2156
2156
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
2157
- _chunk5UC6VEXFjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
2157
+ _chunkIMKWP4UQjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
2158
2158
  ".deepline/",
2159
2159
  ...agentRoots.flatMap(
2160
2160
  (agentRoot) => managedNames.map((name) => `${agentRoot}/skills/${name}/`)
@@ -2172,7 +2172,7 @@ async function runSkillsCommand(options, dependencies = {}) {
2172
2172
  } };
2173
2173
  } catch (error) {
2174
2174
  if (!(error instanceof SkillsStateUnavailableError)) throw error;
2175
- _chunkKQFDSP5Ojs.printCommandEnvelope.call(void 0,
2175
+ _chunkSK6KH37Mjs.printCommandEnvelope.call(void 0,
2176
2176
  {
2177
2177
  ok: false,
2178
2178
  status: "failed",
@@ -2188,7 +2188,7 @@ async function runSkillsCommand(options, dependencies = {}) {
2188
2188
  return 5;
2189
2189
  }
2190
2190
  if (!lease) {
2191
- _chunkKQFDSP5Ojs.printCommandEnvelope.call(void 0,
2191
+ _chunkSK6KH37Mjs.printCommandEnvelope.call(void 0,
2192
2192
  {
2193
2193
  ok: false,
2194
2194
  status: "failed",
@@ -2234,7 +2234,7 @@ async function runSkillsInstallWithLease(input) {
2234
2234
  throw new Error("Could not install the current Deepline skills.");
2235
2235
  }
2236
2236
  } catch (error) {
2237
- _chunkKQFDSP5Ojs.printCommandEnvelope.call(void 0,
2237
+ _chunkSK6KH37Mjs.printCommandEnvelope.call(void 0,
2238
2238
  {
2239
2239
  ok: false,
2240
2240
  status: "failed",
@@ -2273,7 +2273,7 @@ async function runSkillsInstallWithLease(input) {
2273
2273
  {
2274
2274
  schemaVersion: 1,
2275
2275
  installedAt: (/* @__PURE__ */ new Date()).toISOString(),
2276
- cliVersion: _chunk5UC6VEXFjs.SDK_VERSION,
2276
+ cliVersion: _chunkIMKWP4UQjs.SDK_VERSION,
2277
2277
  scope,
2278
2278
  agents,
2279
2279
  skillsVersion: plan.version,
@@ -2288,7 +2288,7 @@ async function runSkillsInstallWithLease(input) {
2288
2288
  if (scope === "global") {
2289
2289
  clearFailedAutomaticSkillsSync(baseUrl, agents);
2290
2290
  }
2291
- _chunkKQFDSP5Ojs.printCommandEnvelope.call(void 0,
2291
+ _chunkSK6KH37Mjs.printCommandEnvelope.call(void 0,
2292
2292
  {
2293
2293
  ok: true,
2294
2294
  status: "complete",
@@ -2337,7 +2337,7 @@ Examples:
2337
2337
  ).action(async (options) => {
2338
2338
  const claim = _optionalChain([options, 'access', _88 => _88.claim, 'optionalAccess', _89 => _89.trim, 'call', _90 => _90()]);
2339
2339
  if (!claim) {
2340
- _chunkKQFDSP5Ojs.printCommandEnvelope.call(void 0,
2340
+ _chunkSK6KH37Mjs.printCommandEnvelope.call(void 0,
2341
2341
  {
2342
2342
  ok: false,
2343
2343
  status: "failed",
@@ -2350,7 +2350,7 @@ Examples:
2350
2350
  process.exitCode = 2;
2351
2351
  return;
2352
2352
  }
2353
- await syncSdkSkillsIfNeeded(_chunk5UC6VEXFjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
2353
+ await syncSdkSkillsIfNeeded(_chunkIMKWP4UQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
2354
2354
  mode: "inline",
2355
2355
  notices: "defer",
2356
2356
  claim
@@ -2379,4 +2379,5 @@ Examples:
2379
2379
 
2380
2380
 
2381
2381
 
2382
- exports.SDK_COMPATIBILITY_FAST_DEADLINE_MS = SDK_COMPATIBILITY_FAST_DEADLINE_MS; exports.readFreshCleanCompatibility = readFreshCleanCompatibility; exports.readTrustedCleanCompatibility = readTrustedCleanCompatibility; exports.checkSdkCompatibility = checkSdkCompatibility; exports.isCiEnvironment = isCiEnvironment; exports.enforceSdkCompatibilityResponse = enforceSdkCompatibilityResponse; exports.resolveShellSpawn = resolveShellSpawn; exports.resolveSdkCliFailureExitCode = resolveSdkCliFailureExitCode; exports.maybeReportSdkCliFailure = maybeReportSdkCliFailure; exports.flushDeferredSkillsSyncNotices = flushDeferredSkillsSyncNotices; exports.SKILLS_AUTO_SYNC_COMMAND = SKILLS_AUTO_SYNC_COMMAND; exports.syncSdkSkillsIfNeeded = syncSdkSkillsIfNeeded; exports.workspaceSkillRootsForAgents = workspaceSkillRootsForAgents; exports.inferActiveSkillsScope = inferActiveSkillsScope; exports.detectSkillsAgents = detectSkillsAgents; exports.skillsStatePathForScope = skillsStatePathForScope; exports.buildSkillsPlan = buildSkillsPlan; exports.isSkillsPlanCurrent = isSkillsPlanCurrent; exports.runSkillsCommand = runSkillsCommand; exports.registerSkillsCommand = registerSkillsCommand;
2382
+
2383
+ exports.SDK_COMPATIBILITY_FAST_DEADLINE_MS = SDK_COMPATIBILITY_FAST_DEADLINE_MS; exports.readFreshCleanCompatibility = readFreshCleanCompatibility; exports.readTrustedCleanCompatibility = readTrustedCleanCompatibility; exports.checkSdkCompatibility = checkSdkCompatibility; exports.isCiEnvironment = isCiEnvironment; exports.enforceSdkCompatibilityResponse = enforceSdkCompatibilityResponse; exports.resolveShellSpawn = resolveShellSpawn; exports.sanitizeCommand = sanitizeCommand; exports.resolveSdkCliFailureExitCode = resolveSdkCliFailureExitCode; exports.maybeReportSdkCliFailure = maybeReportSdkCliFailure; exports.flushDeferredSkillsSyncNotices = flushDeferredSkillsSyncNotices; exports.SKILLS_AUTO_SYNC_COMMAND = SKILLS_AUTO_SYNC_COMMAND; exports.syncSdkSkillsIfNeeded = syncSdkSkillsIfNeeded; exports.workspaceSkillRootsForAgents = workspaceSkillRootsForAgents; exports.inferActiveSkillsScope = inferActiveSkillsScope; exports.detectSkillsAgents = detectSkillsAgents; exports.skillsStatePathForScope = skillsStatePathForScope; exports.buildSkillsPlan = buildSkillsPlan; exports.isSkillsPlanCurrent = isSkillsPlanCurrent; exports.runSkillsCommand = runSkillsCommand; exports.registerSkillsCommand = registerSkillsCommand;