deepline 0.3.479 → 0.3.480

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 (116) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/cli/auth-7FOB243B.js +43 -0
  3. package/dist/cli/{auth-D7DYB57R.mjs → auth-KMKFQX7X.mjs} +7 -5
  4. package/dist/cli/{billing-DT4JT4QN.mjs → billing-G3Y5FTQM.mjs} +6 -6
  5. package/dist/cli/{billing-DHGSNM6E.js → billing-R5RCTEW6.js} +79 -79
  6. package/dist/cli/{chunk-RJVUILW4.mjs → chunk-2AYWC63S.mjs} +2 -2
  7. package/dist/cli/{chunk-D6MLXRMQ.mjs → chunk-44TVNYYV.mjs} +10 -10
  8. package/dist/cli/{chunk-GQCH6Y7W.js → chunk-4V6KEXCM.js} +1 -1
  9. package/dist/cli/{chunk-YC2QBF2W.mjs → chunk-53LLOGNV.mjs} +2 -2
  10. package/dist/cli/{chunk-K5RRY7DJ.mjs → chunk-57MJL2HU.mjs} +4 -4
  11. package/dist/cli/{chunk-FV7WGK5X.js → chunk-5IVGZCKY.js} +5 -5
  12. package/dist/cli/{chunk-ZJRVHQSZ.mjs → chunk-63QH6FL3.mjs} +4 -4
  13. package/dist/cli/{chunk-GSULE54L.js → chunk-6AYQK7Z6.js} +6 -6
  14. package/dist/cli/{chunk-PUOKABQF.mjs → chunk-7LMLHUCP.mjs} +5 -5
  15. package/dist/cli/{chunk-VRZXGJXH.js → chunk-A3PZKD47.js} +21 -21
  16. package/dist/cli/{chunk-JKUFOP7M.mjs → chunk-AKCYZDBO.mjs} +1 -1
  17. package/dist/cli/{chunk-VKBLXJCK.js → chunk-APFFHSPL.js} +8 -8
  18. package/dist/cli/{chunk-TZCHXF4R.mjs → chunk-ASARTL6E.mjs} +2 -2
  19. package/dist/cli/{chunk-FKEZ5DIJ.mjs → chunk-DIDWIPMA.mjs} +1 -1
  20. package/dist/cli/{chunk-33O2JGHE.js → chunk-DQYJXVAF.js} +4 -4
  21. package/dist/cli/{chunk-W6N2S5N7.js → chunk-FFSOXQEM.js} +8 -8
  22. package/dist/cli/{chunk-27PXHD2P.mjs → chunk-FZ42SO3Q.mjs} +1 -1
  23. package/dist/cli/{chunk-AFHFZU5V.js → chunk-FZX2DGQZ.js} +37 -37
  24. package/dist/cli/{chunk-6C3QY5JS.mjs → chunk-IQ6WL36K.mjs} +1 -1
  25. package/dist/cli/{chunk-N7E25EU2.mjs → chunk-JBQKBDDN.mjs} +5 -5
  26. package/dist/cli/{chunk-W4HIOBQQ.js → chunk-JH77OHD5.js} +2 -2
  27. package/dist/cli/{chunk-27GSBTWD.js → chunk-K7E2DO5P.js} +96 -65
  28. package/dist/cli/{chunk-GONL4EFT.mjs → chunk-KQNQCZLB.mjs} +2 -2
  29. package/dist/cli/{chunk-N4M6CO5H.js → chunk-LBZLV6QF.js} +9 -9
  30. package/dist/cli/{chunk-AKVNUNL7.js → chunk-LHU6BMDV.js} +3 -3
  31. package/dist/cli/{chunk-JNFNNJ75.mjs → chunk-LLEBPM3N.mjs} +4 -4
  32. package/dist/cli/{chunk-3GIM7XRH.js → chunk-MEJJD7PA.js} +2 -2
  33. package/dist/cli/{chunk-UOYA35OT.mjs → chunk-MTMOYZMK.mjs} +1 -1
  34. package/dist/cli/{chunk-OVFCPV24.js → chunk-NBXG4S2X.js} +53 -53
  35. package/dist/cli/{chunk-JMCTNS6S.js → chunk-NVTVS4AV.js} +6 -6
  36. package/dist/cli/{chunk-FBEXJVQL.js → chunk-OGXG46LY.js} +93 -93
  37. package/dist/cli/{chunk-CK2Q6AWR.js → chunk-OQOXR6JL.js} +26 -26
  38. package/dist/cli/{chunk-6QIXWFPO.mjs → chunk-PC42DFZC.mjs} +3 -3
  39. package/dist/cli/{chunk-EMVWC5LP.js → chunk-PDDUX5UY.js} +5 -5
  40. package/dist/cli/{chunk-3PHOAUU4.mjs → chunk-PM2CT7HZ.mjs} +41 -10
  41. package/dist/cli/{chunk-GZ43YXHT.mjs → chunk-PYIWO4GS.mjs} +2 -2
  42. package/dist/cli/{chunk-J5VDE42G.js → chunk-QEV3GFDS.js} +3 -3
  43. package/dist/cli/{chunk-G6V34EQ5.js → chunk-RPJSVGSC.js} +16 -16
  44. package/dist/cli/{chunk-GICSDK72.mjs → chunk-SUTQCM7U.mjs} +2 -2
  45. package/dist/cli/{chunk-XDFARN7U.mjs → chunk-T7EWDIVM.mjs} +1 -1
  46. package/dist/cli/{chunk-3SGA53DX.js → chunk-TBJ23WKT.js} +3 -3
  47. package/dist/cli/{chunk-O5BUFQ2P.mjs → chunk-TXFURKHD.mjs} +1 -1
  48. package/dist/cli/{chunk-Y2MVDYV6.js → chunk-VPO2D7WV.js} +10 -10
  49. package/dist/cli/{chunk-LXYDN5FE.js → chunk-WQBJHB63.js} +7 -7
  50. package/dist/cli/{chunk-JFGOMQW6.mjs → chunk-XNXE7YWI.mjs} +2 -2
  51. package/dist/cli/{chunk-XBYW5EHY.mjs → chunk-ZSWY5E3W.mjs} +1 -1
  52. package/dist/cli/{csv-DQWOZ2BL.js → csv-57D62T7L.js} +13 -13
  53. package/dist/cli/{csv-JXFOD7DJ.mjs → csv-P3AEI4G4.mjs} +4 -4
  54. package/dist/cli/{db-Q2OAAXRX.js → db-FWFYU34R.js} +27 -27
  55. package/dist/cli/{db-NOGMZAQE.mjs → db-PJQMPZJP.mjs} +6 -6
  56. package/dist/cli/{describe-VKZTZLX6.mjs → describe-F57VZZML.mjs} +17 -17
  57. package/dist/cli/describe-ZAYUBNUQ.js +48 -0
  58. package/dist/cli/{executions-B3GDZ4GQ.js → executions-YBT7NTY5.js} +8 -8
  59. package/dist/cli/{executions-XU3JMNI3.mjs → executions-ZAJGMAAT.mjs} +6 -6
  60. package/dist/cli/{feedback-R5UQXINE.mjs → feedback-L3ZQCSY6.mjs} +4 -4
  61. package/dist/cli/{feedback-5IW3ZKRP.js → feedback-YLYY2EG4.js} +8 -8
  62. package/dist/cli/git-A3433UTN.js +25 -0
  63. package/dist/cli/{git-7B4H7VEL.mjs → git-M7735NWJ.mjs} +5 -5
  64. package/dist/cli/index.js +137 -137
  65. package/dist/cli/index.mjs +40 -40
  66. package/dist/cli/{legacy-noops-KY7JAALE.mjs → legacy-noops-PKNMQMGY.mjs} +5 -5
  67. package/dist/cli/{legacy-noops-AVT6T5QI.js → legacy-noops-TX37UP3U.js} +8 -8
  68. package/dist/cli/{monitors-GZB6CWK2.js → monitors-5YTGQSGD.js} +91 -91
  69. package/dist/cli/{monitors-G7L7AFXR.mjs → monitors-U7AUIOFZ.mjs} +7 -7
  70. package/dist/cli/{org-ZHHKAPCE.js → org-N6DSSLLD.js} +72 -72
  71. package/dist/cli/{org-QDUBOQTH.mjs → org-SRKZRVVH.mjs} +6 -6
  72. package/dist/cli/{pages-Q4WGQCST.mjs → pages-UOPJUFCF.mjs} +6 -6
  73. package/dist/cli/{pages-5P3SPMN5.js → pages-YPN54RCC.js} +17 -17
  74. package/dist/cli/{play-WRSHD4RE.mjs → play-4IK4WXWU.mjs} +17 -17
  75. package/dist/cli/{play-IRLKESZB.js → play-MEYZEYOV.js} +306 -306
  76. package/dist/cli/{providers-7CQUHS57.mjs → providers-UGHUYP4C.mjs} +6 -6
  77. package/dist/cli/{providers-LKEYLN6D.js → providers-VS5MK4ZH.js} +9 -9
  78. package/dist/cli/{quickstart-KS45M5SR.js → quickstart-GW2ERQ2A.js} +6 -6
  79. package/dist/cli/{quickstart-I6NYGMEE.mjs → quickstart-YBOQSLFV.mjs} +4 -4
  80. package/dist/cli/{run-AZETCL7R.mjs → run-44JT5GJM.mjs} +22 -22
  81. package/dist/cli/{run-BLMOBNAN.js → run-IVGMLY3J.js} +36 -36
  82. package/dist/cli/search-2XTYY7BF.js +32 -0
  83. package/dist/cli/{search-EEKEP67Y.mjs → search-43NY73VR.mjs} +7 -7
  84. package/dist/cli/{secrets-M6NU3TD2.js → secrets-DABUD3B7.js} +15 -15
  85. package/dist/cli/{secrets-HAULG2EW.mjs → secrets-ONDQGW3B.mjs} +6 -6
  86. package/dist/cli/{sessions-DSR5AHIA.js → sessions-4ILQMBKR.js} +6 -6
  87. package/dist/cli/{sessions-5MB4XKOK.mjs → sessions-AIAKKLSR.mjs} +5 -5
  88. package/dist/cli/{settings-6US327NQ.js → settings-BWNLL7TP.js} +78 -78
  89. package/dist/cli/{settings-JUQP4HYQ.mjs → settings-HSGKYOJT.mjs} +11 -11
  90. package/dist/cli/{setup-5ZRSEQUD.js → setup-37QOD4UT.js} +67 -52
  91. package/dist/cli/{setup-JRH4UC47.mjs → setup-LE4OVH4M.mjs} +33 -18
  92. package/dist/cli/{skills-HFOZ5WDH.mjs → skills-A3ZVR2YX.mjs} +7 -7
  93. package/dist/cli/skills-TULQXRQJ.js +33 -0
  94. package/dist/cli/{tools-CJEBZNPB.mjs → tools-ITKPPUDT.mjs} +16 -16
  95. package/dist/cli/tools-QYYBWDXU.js +55 -0
  96. package/dist/cli/{update-VQJEPAAK.mjs → update-XJOSCOK5.mjs} +9 -9
  97. package/dist/cli/update-XSMY7KWH.js +33 -0
  98. package/dist/cli/{workflow-EYWE3T75.mjs → workflow-KYQYFSND.mjs} +7 -7
  99. package/dist/cli/{workflow-NKPDRZOP.js → workflow-LERZ3TYV.js} +17 -17
  100. package/dist/index.js +9 -9
  101. package/dist/index.mjs +6 -6
  102. package/dist/install-integrity.json +96 -96
  103. package/dist/release.d.mts +1 -1
  104. package/dist/release.d.ts +1 -1
  105. package/dist/release.js +2 -2
  106. package/dist/release.mjs +1 -1
  107. package/dist/server.js +5 -5
  108. package/dist/server.mjs +3 -3
  109. package/package.json +1 -1
  110. package/dist/cli/auth-MZDFNRPG.js +0 -41
  111. package/dist/cli/describe-THHHNUEA.js +0 -48
  112. package/dist/cli/git-BX27JAW4.js +0 -25
  113. package/dist/cli/search-PEQXXY2B.js +0 -32
  114. package/dist/cli/skills-P67KCVDR.js +0 -33
  115. package/dist/cli/tools-PDBEAI22.js +0 -55
  116. package/dist/cli/update-G6DI3BQW.js +0 -33
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkLXYDN5FEjs = require('./chunk-LXYDN5FE.js');
5
+ var _chunkWQBJHB63js = require('./chunk-WQBJHB63.js');
6
6
 
7
7
 
8
- var _chunk3SGA53DXjs = require('./chunk-3SGA53DX.js');
8
+ var _chunkTBJ23WKTjs = require('./chunk-TBJ23WKT.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 } = _chunkLXYDN5FEjs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunkWQBJHB63js.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkLXYDN5FEjs.printCommandEnvelope.call(void 0,
39
+ _chunkWQBJHB63js.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 } = _chunkLXYDN5FEjs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunkWQBJHB63js.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
- _chunkLXYDN5FEjs.printCommandEnvelope.call(void 0,
139
+ _chunkWQBJHB63js.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 } = _chunkLXYDN5FEjs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunkWQBJHB63js.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
- _chunkLXYDN5FEjs.printCommandEnvelope.call(void 0,
153
+ _chunkWQBJHB63js.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 } = _chunkLXYDN5FEjs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunkWQBJHB63js.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 } = _chunkLXYDN5FEjs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunkWQBJHB63js.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
- _chunkLXYDN5FEjs.printCommandEnvelope.call(void 0,
200
+ _chunkWQBJHB63js.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 } = _chunkLXYDN5FEjs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunkWQBJHB63js.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkLXYDN5FEjs.printCommandEnvelope.call(void 0,
227
+ _chunkWQBJHB63js.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 } = _chunkLXYDN5FEjs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunkWQBJHB63js.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
- _chunkLXYDN5FEjs.printCommandEnvelope.call(void 0,
254
+ _chunkWQBJHB63js.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 } = _chunkLXYDN5FEjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkWQBJHB63js.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkLXYDN5FEjs.printCommandEnvelope.call(void 0,
269
+ _chunkWQBJHB63js.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 = _chunk3SGA53DXjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkTBJ23WKTjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkLXYDN5FEjs.openInBrowser.call(void 0, connectUrl);
292
- _chunkLXYDN5FEjs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunkWQBJHB63js.openInBrowser.call(void 0, connectUrl);
292
+ _chunkWQBJHB63js.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 } = _chunkLXYDN5FEjs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunkWQBJHB63js.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
- _chunkLXYDN5FEjs.printCommandEnvelope.call(void 0,
322
+ _chunkWQBJHB63js.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 } = _chunkLXYDN5FEjs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunkWQBJHB63js.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
- _chunkLXYDN5FEjs.printCommandEnvelope.call(void 0,
371
+ _chunkWQBJHB63js.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 } = _chunkLXYDN5FEjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkWQBJHB63js.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkLXYDN5FEjs.printCommandEnvelope.call(void 0,
392
+ _chunkWQBJHB63js.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-RJVUILW4.mjs";
6
+ } from "./chunk-2AYWC63S.mjs";
7
7
  import {
8
8
  printCommandEnvelope,
9
9
  renderCommandEnvelopeText
10
- } from "./chunk-YC2QBF2W.mjs";
10
+ } from "./chunk-53LLOGNV.mjs";
11
11
  import {
12
12
  resolveConfig,
13
13
  sdkCliStateDirPath
14
- } from "./chunk-O5BUFQ2P.mjs";
14
+ } from "./chunk-TXFURKHD.mjs";
15
15
  import {
16
16
  __commonJS,
17
17
  __toESM
@@ -1,16 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkGSULE54Ljs = require('./chunk-GSULE54L.js');
3
+ var _chunk6AYQK7Z6js = require('./chunk-6AYQK7Z6.js');
4
4
 
5
5
 
6
6
 
7
- var _chunk3SGA53DXjs = require('./chunk-3SGA53DX.js');
7
+ var _chunkTBJ23WKTjs = require('./chunk-TBJ23WKT.js');
8
8
 
9
9
  // src/client.ts
10
- var DeeplineClient2 = class extends _chunkGSULE54Ljs.DeeplineClient {
10
+ var DeeplineClient2 = class extends _chunk6AYQK7Z6js.DeeplineClient {
11
11
  constructor(options) {
12
- const config = _chunk3SGA53DXjs.resolveConfig.call(void 0, options);
13
- super(config, new (0, _chunk3SGA53DXjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
12
+ const config = _chunkTBJ23WKTjs.resolveConfig.call(void 0, options);
13
+ super(config, new (0, _chunkTBJ23WKTjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
14
14
  }
15
15
  };
16
16
 
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-YC2QBF2W.mjs";
5
+ } from "./chunk-53LLOGNV.mjs";
6
6
  import {
7
7
  ACTIVE_ORG_ID_ENV,
8
8
  ACTIVE_ORG_NAME_ENV,
@@ -22,14 +22,14 @@ import {
22
22
  saveHostEnvValues,
23
23
  saveProjectDeeplineEnvValues,
24
24
  storedHostApiKey
25
- } from "./chunk-O5BUFQ2P.mjs";
25
+ } from "./chunk-TXFURKHD.mjs";
26
26
  import {
27
27
  SDK_API_CONTRACT,
28
28
  SDK_VERSION,
29
29
  connectionFailureMessage,
30
30
  detectAgentRuntime,
31
31
  networkCauseCode
32
- } from "./chunk-XDFARN7U.mjs";
32
+ } from "./chunk-T7EWDIVM.mjs";
33
33
  import {
34
34
  DeeplineError
35
35
  } from "./chunk-HBL4PM5Q.mjs";
@@ -50,6 +50,7 @@ var EXIT_SERVER = 5;
50
50
  var EXIT_WORKSPACE_MISMATCH = 6;
51
51
  var AUTH_HTTP_TIMEOUT_MS = 1e4;
52
52
  var AUTH_REGISTER_HTTP_TIMEOUT_MS = 3e4;
53
+ var APPROVAL_LINK_REPORT_TIMEOUT_MS = 750;
53
54
  function statusBannerLine(value) {
54
55
  if (!value || typeof value !== "object" || Array.isArray(value)) return null;
55
56
  const banner = value;
@@ -140,6 +141,8 @@ function readPendingAuthClaim(baseUrl, scope) {
140
141
  claimToken,
141
142
  claimUrl: typeof parsed.claimUrl === "string" && parsed.claimUrl.trim() ? parsed.claimUrl.trim() : `${baseUrl}/api/v2/auth/cli/claim/${encodeURIComponent(claimToken)}`,
142
143
  orgName: typeof parsed.orgName === "string" ? parsed.orgName.trim() : void 0,
144
+ ...parsed.approvalLinkReporting === true ? { approvalLinkReporting: true } : {},
145
+ ...typeof parsed.signupWorkspaceId === "string" ? { signupWorkspaceId: parsed.signupWorkspaceId } : {},
143
146
  // The record's own scope, when it has one. `register` writes this field
144
147
  // precisely so a resume can learn where the credential belongs; reading
145
148
  // back the caller's argument instead made it decorative, and a record
@@ -378,7 +381,23 @@ async function printClaimSuccessBanner(baseUrl, apiKey, statusData) {
378
381
  console.log(` \u2022 Signed in with organization: ${statusData.org_name}`);
379
382
  }
380
383
  }
381
- async function handleRegister(args) {
384
+ async function reportApprovalLinkShown(baseUrl, claim, mode) {
385
+ try {
386
+ await httpJson(
387
+ "POST",
388
+ `${baseUrl}/api/v2/auth/cli/status`,
389
+ null,
390
+ {
391
+ claim_token: claim.claimToken,
392
+ approval_link_shown: mode,
393
+ ...claim.signupWorkspaceId ? { signup_workspace_id: claim.signupWorkspaceId } : {}
394
+ },
395
+ APPROVAL_LINK_REPORT_TIMEOUT_MS
396
+ );
397
+ } catch {
398
+ }
399
+ }
400
+ async function handleRegister(args, options) {
382
401
  const baseUrl = autoDetectBaseUrl().replace(/\/$/, "");
383
402
  let orgName = "";
384
403
  let orgId = "";
@@ -425,13 +444,17 @@ async function handleRegister(args) {
425
444
  }
426
445
  const claimUrl = String(data.claim_url || "");
427
446
  const claimToken = String(data.claim_token || "");
447
+ const signupWorkspaceId = process.env.DEEPLINE_SIGNUP_WORKSPACE_ID?.trim();
448
+ const pendingClaim = {
449
+ claimToken,
450
+ claimUrl,
451
+ scope: authScope,
452
+ ...orgName ? { orgName } : {},
453
+ ...data.approval_link_reporting === true ? { approvalLinkReporting: true } : {},
454
+ ...signupWorkspaceId ? { signupWorkspaceId } : {}
455
+ };
428
456
  if (claimToken) {
429
- savePendingClaim(baseUrl, {
430
- claimToken,
431
- claimUrl,
432
- scope: authScope,
433
- ...orgName ? { orgName } : {}
434
- });
457
+ savePendingClaim(baseUrl, pendingClaim);
435
458
  saveEnvValues(
436
459
  {
437
460
  [HOST_URL_ENV]: baseUrl
@@ -447,6 +470,13 @@ async function handleRegister(args) {
447
470
  );
448
471
  console.log(` ${claimUrl}`);
449
472
  if (shouldOpen) openInBrowser(claimUrl);
473
+ if (claimToken && pendingClaim.approvalLinkReporting && !options?.deferApprovalLinkReport) {
474
+ await reportApprovalLinkShown(
475
+ baseUrl,
476
+ pendingClaim,
477
+ shouldOpen ? "auto" : "manual"
478
+ );
479
+ }
450
480
  }
451
481
  if (data.cli_message) {
452
482
  console.log(String(data.cli_message));
@@ -962,6 +992,7 @@ export {
962
992
  httpJson,
963
993
  readStatusBanner,
964
994
  reportSetupCompleted,
995
+ reportApprovalLinkShown,
965
996
  handleRegister,
966
997
  handleWait,
967
998
  authStatusLine,
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  traceCliSpan
3
- } from "./chunk-UOYA35OT.mjs";
3
+ } from "./chunk-MTMOYZMK.mjs";
4
4
  import {
5
5
  checkSdkCompatibility,
6
6
  enforceSdkCompatibilityResponse,
7
7
  flushDeferredSkillsSyncNotices
8
- } from "./chunk-K5RRY7DJ.mjs";
8
+ } from "./chunk-57MJL2HU.mjs";
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -6,7 +6,7 @@ var _chunkIAYSWZDJjs = require('./chunk-IAYSWZDJ.js');
6
6
 
7
7
 
8
8
 
9
- var _chunkLXYDN5FEjs = require('./chunk-LXYDN5FE.js');
9
+ var _chunkWQBJHB63js = require('./chunk-WQBJHB63.js');
10
10
 
11
11
  // src/cli/describe-options.ts
12
12
  function addDescribeOptions(command, options = {}) {
@@ -247,7 +247,7 @@ function projectRunDatasetCell(value) {
247
247
  const logicalValue = parseSerializedDatasetValue(value);
248
248
  if (logicalValue === null || logicalValue === void 0) return logicalValue;
249
249
  if (typeof logicalValue === "object") {
250
- return _chunkLXYDN5FEjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
250
+ return _chunkWQBJHB63js.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
251
251
  }
252
252
  return logicalValue;
253
253
  }
@@ -642,7 +642,7 @@ function csvText(rows, columns = []) {
642
642
  rows: rows.map((row) => record(row) ? row : { value: row }),
643
643
  columns
644
644
  });
645
- return _chunkLXYDN5FEjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
645
+ return _chunkWQBJHB63js.csvStringFromRows.call(void 0, projection.rows, projection.columns);
646
646
  }
647
647
  function writeExecutionOutput(result, options) {
648
648
  let temp;
@@ -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 _chunk3GIM7XRHjs = require('./chunk-3GIM7XRH.js');
4
+ var _chunkMEJJD7PAjs = require('./chunk-MEJJD7PA.js');
5
5
 
6
6
 
7
- var _chunkAFHFZU5Vjs = require('./chunk-AFHFZU5V.js');
7
+ var _chunkFZX2DGQZjs = require('./chunk-FZX2DGQZ.js');
8
8
 
9
9
 
10
- var _chunkOVFCPV24js = require('./chunk-OVFCPV24.js');
10
+ var _chunkNBXG4S2Xjs = require('./chunk-NBXG4S2X.js');
11
11
 
12
12
 
13
- var _chunkLXYDN5FEjs = require('./chunk-LXYDN5FE.js');
13
+ var _chunkWQBJHB63js = require('./chunk-WQBJHB63.js');
14
14
 
15
15
 
16
- var _chunk3SGA53DXjs = require('./chunk-3SGA53DX.js');
16
+ var _chunkTBJ23WKTjs = require('./chunk-TBJ23WKT.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 = _chunkOVFCPV24js.resolveShellSpawn.call(void 0,
498
+ const plan = _chunkNBXG4S2Xjs.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 ? _chunk3GIM7XRHjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunk3GIM7XRHjs.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 ? _chunkMEJJD7PAjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunkMEJJD7PAjs.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()]) || _chunk3SGA53DXjs.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkTBJ23WKTjs.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 = _chunkOVFCPV24js.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunkNBXG4S2Xjs.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, () => ( _chunk3SGA53DXjs.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkTBJ23WKTjs.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 _chunkAFHFZU5Vjs.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunkFZX2DGQZjs.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
- _chunkLXYDN5FEjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunkWQBJHB63js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunkLXYDN5FEjs.printCommandEnvelope.call(void 0,
1284
+ _chunkWQBJHB63js.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
- _chunkLXYDN5FEjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunkWQBJHB63js.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
- _chunkLXYDN5FEjs.printCommandEnvelope.call(void 0,
1327
+ _chunkWQBJHB63js.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getAuthedHttpClient,
3
3
  printCommandEnvelope
4
- } from "./chunk-YC2QBF2W.mjs";
4
+ } from "./chunk-53LLOGNV.mjs";
5
5
  import {
6
6
  agentSessionIdFromEnvironment
7
- } from "./chunk-XDFARN7U.mjs";
7
+ } from "./chunk-T7EWDIVM.mjs";
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
  import {
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-HBL4PM5Q.mjs";
17
17
  import {
18
18
  SDK_RELEASE
19
- } from "./chunk-27PXHD2P.mjs";
19
+ } from "./chunk-FZ42SO3Q.mjs";
20
20
 
21
21
  // src/version.ts
22
22
  var SDK_VERSION = SDK_RELEASE.version;
@@ -1,7 +1,7 @@
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 _chunk33O2JGHEjs = require('./chunk-33O2JGHE.js');
4
+ var _chunkDQYJXVAFjs = require('./chunk-DQYJXVAF.js');
5
5
 
6
6
 
7
7
  var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
@@ -711,7 +711,7 @@ function readSkillsVersionFile(path) {
711
711
  }
712
712
  }
713
713
  function resolveAutoSyncSkillAgents() {
714
- switch (_chunk33O2JGHEjs.detectAgentRuntime.call(void 0, )) {
714
+ switch (_chunkDQYJXVAFjs.detectAgentRuntime.call(void 0, )) {
715
715
  case "codex":
716
716
  return ["codex"];
717
717
  case "claude_code":
@@ -781,7 +781,7 @@ function writeSdkSkillsLocalVersion(baseUrl, version, agents) {
781
781
  }
782
782
 
783
783
  // src/http.ts
784
- var HttpClient2 = class extends _chunk33O2JGHEjs.HttpClient {
784
+ var HttpClient2 = class extends _chunkDQYJXVAFjs.HttpClient {
785
785
  constructor(config) {
786
786
  super(config, readSdkSkillsLocalVersion);
787
787
  }
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HttpClient,
3
3
  detectAgentRuntime
4
- } from "./chunk-XDFARN7U.mjs";
4
+ } from "./chunk-T7EWDIVM.mjs";
5
5
  import {
6
6
  ConfigError
7
7
  } from "./chunk-4QF2K7TM.mjs";
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkFBEXJVQLjs = require('./chunk-FBEXJVQL.js');
3
+ var _chunkOGXG46LYjs = require('./chunk-OGXG46LY.js');
4
4
 
5
5
 
6
- var _chunkJ5VDE42Gjs = require('./chunk-J5VDE42G.js');
6
+ var _chunkQEV3GFDSjs = require('./chunk-QEV3GFDS.js');
7
7
 
8
8
 
9
9
 
@@ -14,10 +14,10 @@ var _chunkAK7UKQ5Rjs = require('./chunk-AK7UKQ5R.js');
14
14
  var _chunkIAYSWZDJjs = require('./chunk-IAYSWZDJ.js');
15
15
 
16
16
 
17
- var _chunkEMVWC5LPjs = require('./chunk-EMVWC5LP.js');
17
+ var _chunkPDDUX5UYjs = require('./chunk-PDDUX5UY.js');
18
18
 
19
19
 
20
- var _chunkLXYDN5FEjs = require('./chunk-LXYDN5FE.js');
20
+ var _chunkWQBJHB63js = require('./chunk-WQBJHB63.js');
21
21
 
22
22
  // src/cli/commands/describe.ts
23
23
  var _fs = require('fs');
@@ -26,16 +26,16 @@ function nothingNamed(name) {
26
26
  return `Nothing named "${name}". Search for it: deepline search ${JSON.stringify(name.replace(/[-_./]+/g, " "))}`;
27
27
  }
28
28
  function findNamed2(name, options) {
29
- return _chunkAK7UKQ5Rjs.findNamed.call(void 0, name, options, _chunkAK7UKQ5Rjs.describeLookupsFor.call(void 0, new (0, _chunkEMVWC5LPjs.DeeplineClient)()));
29
+ return _chunkAK7UKQ5Rjs.findNamed.call(void 0, name, options, _chunkAK7UKQ5Rjs.describeLookupsFor.call(void 0, new (0, _chunkPDDUX5UYjs.DeeplineClient)()));
30
30
  }
31
31
  async function describeAnything(name, options, onMissing) {
32
- const client = new (0, _chunkEMVWC5LPjs.DeeplineClient)();
32
+ const client = new (0, _chunkPDDUX5UYjs.DeeplineClient)();
33
33
  const lookups = _chunkAK7UKQ5Rjs.describeLookupsFor.call(void 0, client);
34
34
  const outcome = await _chunkAK7UKQ5Rjs.describeName.call(void 0, name, options, {
35
35
  ...lookups,
36
36
  // `tools describe` has already fetched the tool for its compatibility check.
37
37
  tool: async (toolName) => _nullishCoalesce(options.fetchedTool, () => ( lookups.tool(toolName))),
38
- seedStarterScript: _chunkFBEXJVQLjs.seedToolListScript
38
+ seedStarterScript: _chunkOGXG46LYjs.seedToolListScript
39
39
  });
40
40
  if (outcome.status === "missing") {
41
41
  if (onMissing) return onMissing();
@@ -60,18 +60,18 @@ function deliver(envelope, lines, { json, out }) {
60
60
  ` : text;
61
61
  _fs.writeFileSync.call(void 0, path, content);
62
62
  const bytes = Buffer.byteLength(content);
63
- _chunkLXYDN5FEjs.printCommandEnvelope.call(void 0,
63
+ _chunkWQBJHB63js.printCommandEnvelope.call(void 0,
64
64
  { path, bytes },
65
65
  { json, text: `Wrote ${path} (${bytes} bytes)
66
66
  ` }
67
67
  );
68
68
  return 0;
69
69
  }
70
- _chunkLXYDN5FEjs.printCommandEnvelope.call(void 0, envelope, { json, text });
70
+ _chunkWQBJHB63js.printCommandEnvelope.call(void 0, envelope, { json, text });
71
71
  return 0;
72
72
  }
73
73
  function registerDescribeCommand(program) {
74
- _chunkJ5VDE42Gjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
74
+ _chunkQEV3GFDSjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
75
75
  "Describe anything search returns: a tool, monitor type, or play."
76
76
  ).addHelpText(
77
77
  "after",