deepline 0.3.498 → 0.3.500

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 (123) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  3. package/dist/cli/auth-H4PCVUN3.js +43 -0
  4. package/dist/cli/{auth-TNYYAPIX.mjs → auth-WK3FDPRP.mjs} +5 -5
  5. package/dist/cli/{billing-MP43H3ZK.js → billing-K7UHZUF4.js} +79 -79
  6. package/dist/cli/{billing-G6QBOZAE.mjs → billing-O3LVKXE7.mjs} +6 -6
  7. package/dist/cli/{chunk-4RSOYJ67.mjs → chunk-4CJWOLOS.mjs} +3 -3
  8. package/dist/cli/{chunk-6JVJZ7YG.mjs → chunk-56QAHX2K.mjs} +1 -1
  9. package/dist/cli/{chunk-OFNXUDEC.mjs → chunk-5AC7NUQN.mjs} +5 -5
  10. package/dist/cli/{chunk-MRHMC33S.mjs → chunk-5JXGYSXH.mjs} +1 -1
  11. package/dist/cli/{chunk-VUNAIAMX.js → chunk-5KAZGZG7.js} +5 -5
  12. package/dist/cli/{chunk-3XNYGMPZ.mjs → chunk-5TVY5OEH.mjs} +10 -10
  13. package/dist/cli/{chunk-YCGVVUGX.js → chunk-74VKLBJD.js} +9 -9
  14. package/dist/cli/{chunk-UA2GU7NB.js → chunk-BIE57V6K.js} +7 -7
  15. package/dist/cli/{chunk-IE6FYMUS.mjs → chunk-C7355NMU.mjs} +1 -1
  16. package/dist/cli/{chunk-PAHFVOFZ.mjs → chunk-CBZTKDXW.mjs} +1 -1
  17. package/dist/cli/{chunk-H7YR4EYF.mjs → chunk-CIV5GJAE.mjs} +9 -5
  18. package/dist/cli/{chunk-C7BH7T3T.mjs → chunk-FJZUG633.mjs} +2 -2
  19. package/dist/cli/{chunk-TDUTNTA5.js → chunk-G3NA4R7M.js} +53 -53
  20. package/dist/cli/{chunk-TLG75Q77.js → chunk-GBRI644Y.js} +53 -53
  21. package/dist/cli/{chunk-VFYKFPZD.js → chunk-GOO4VI5M.js} +16 -16
  22. package/dist/cli/{chunk-ZEYB6QPW.mjs → chunk-HI2BFS5S.mjs} +2 -2
  23. package/dist/cli/{chunk-PKTJN6PF.js → chunk-IX2DPYIV.js} +3 -3
  24. package/dist/cli/{chunk-2QS3MCJ2.mjs → chunk-IZ6YWXIK.mjs} +2 -2
  25. package/dist/cli/{chunk-VETP54NO.mjs → chunk-JHNFUCVT.mjs} +4 -4
  26. package/dist/cli/{chunk-XGUGFGCF.js → chunk-K3BHKRMS.js} +3 -3
  27. package/dist/cli/{chunk-IUCAVYXR.js → chunk-KEBNXJSK.js} +16 -16
  28. package/dist/cli/{chunk-UUFZFJL4.mjs → chunk-L7X6ADNM.mjs} +4 -4
  29. package/dist/cli/{chunk-IBCROFZW.js → chunk-LNMY2T5S.js} +41 -41
  30. package/dist/cli/{chunk-O4H53SJ4.mjs → chunk-MAHLIWOF.mjs} +2 -2
  31. package/dist/cli/{chunk-EHOC6NCN.mjs → chunk-PGRPNRP6.mjs} +1 -1
  32. package/dist/cli/{chunk-QERMP4TW.js → chunk-PHGMC33I.js} +2 -2
  33. package/dist/cli/{chunk-BQIEYWGQ.js → chunk-Q2FXZ4Z5.js} +94 -94
  34. package/dist/cli/{chunk-KLA4IUOI.mjs → chunk-QRKCCY4L.mjs} +28 -22
  35. package/dist/cli/{chunk-PHBJ2VDS.js → chunk-RAZ3TMOS.js} +7 -7
  36. package/dist/cli/{chunk-OL2QEEXF.js → chunk-REIKJREB.js} +5 -5
  37. package/dist/cli/{chunk-DB7SJKGI.js → chunk-RHE4YI4H.js} +6 -6
  38. package/dist/cli/{chunk-TPQFCUPV.js → chunk-SNJNPRIV.js} +15 -11
  39. package/dist/cli/{chunk-XNYAIV4E.js → chunk-SNPZ2QWL.js} +8 -8
  40. package/dist/cli/{chunk-SR3PRGWB.mjs → chunk-SRS2D27G.mjs} +1 -1
  41. package/dist/cli/{chunk-RZA6HSXX.mjs → chunk-T4AGTOKQ.mjs} +6 -6
  42. package/dist/cli/{chunk-2HCZHIMT.mjs → chunk-TFFJ2PRN.mjs} +5 -3
  43. package/dist/cli/{chunk-EAQXRAVF.js → chunk-TOGCDNMH.js} +4 -4
  44. package/dist/cli/{chunk-QDNP6KOF.js → chunk-U5GFP26N.js} +21 -21
  45. package/dist/cli/{chunk-ELZYHPE7.mjs → chunk-V7MZYIA7.mjs} +5 -5
  46. package/dist/cli/{chunk-FPRS3FP4.js → chunk-VLCY4F6E.js} +26 -26
  47. package/dist/cli/{chunk-RZO743TC.mjs → chunk-VPVEPGYS.mjs} +2 -2
  48. package/dist/cli/{chunk-XUTIBRKF.js → chunk-W64Y7GE7.js} +1 -1
  49. package/dist/cli/{chunk-KV4RNW2H.mjs → chunk-X5SO7RV5.mjs} +4 -4
  50. package/dist/cli/{chunk-QUIJUNXX.js → chunk-X7ODM2LK.js} +30 -24
  51. package/dist/cli/{chunk-LGE6ZOEO.mjs → chunk-XCBOOB73.mjs} +1 -1
  52. package/dist/cli/{chunk-4TVN2676.mjs → chunk-XUOZYAP5.mjs} +2 -2
  53. package/dist/cli/{chunk-N3T3L3WW.js → chunk-YPTZJ7LO.js} +5 -3
  54. package/dist/cli/{chunk-KRR2Z2FH.js → chunk-Z5LE7NXM.js} +2 -2
  55. package/dist/cli/command-docs.js +2 -2
  56. package/dist/cli/command-docs.mjs +1 -1
  57. package/dist/cli/{csv-LBUOESU2.mjs → csv-DEUOSTEB.mjs} +4 -4
  58. package/dist/cli/{csv-SCXUWRVV.js → csv-MWCWNIBJ.js} +13 -13
  59. package/dist/cli/{db-CC2D2GSL.js → db-Q6IRXTTG.js} +27 -27
  60. package/dist/cli/{db-3SI2OXIV.mjs → db-QM5R5BRY.mjs} +6 -6
  61. package/dist/cli/describe-BZ544347.js +50 -0
  62. package/dist/cli/{describe-ZK5CMT4M.mjs → describe-CQZ7TBOG.mjs} +17 -17
  63. package/dist/cli/{executions-YKYQIRPP.js → executions-DCCDXSQI.js} +8 -8
  64. package/dist/cli/{executions-DVPHIG2I.mjs → executions-SWBKFCY2.mjs} +6 -6
  65. package/dist/cli/{feedback-BVLYZ3BM.js → feedback-EU3EYF4V.js} +8 -8
  66. package/dist/cli/{feedback-UQRMPU2S.mjs → feedback-Q27HN3SB.mjs} +4 -4
  67. package/dist/cli/git-NW6BAXX2.js +25 -0
  68. package/dist/cli/{git-WTMZ66HP.mjs → git-SEQFTQ4N.mjs} +5 -5
  69. package/dist/cli/index.js +141 -141
  70. package/dist/cli/index.mjs +41 -41
  71. package/dist/cli/{legacy-noops-TVJ5WOBD.js → legacy-noops-LCQDEVA3.js} +8 -8
  72. package/dist/cli/{legacy-noops-RUQT6DB3.mjs → legacy-noops-XKH4VREG.mjs} +5 -5
  73. package/dist/cli/{monitors-ZQBZMFUL.mjs → monitors-4XWBV46I.mjs} +7 -7
  74. package/dist/cli/{monitors-UYYJBO6U.js → monitors-DJCID6X5.js} +95 -95
  75. package/dist/cli/{org-4TZED2IF.js → org-BU4FG5PN.js} +72 -72
  76. package/dist/cli/{org-UACQHFY6.mjs → org-PSBGXBRW.mjs} +6 -6
  77. package/dist/cli/{pages-HDYYGZOT.js → pages-3PHJYXYB.js} +18 -18
  78. package/dist/cli/{pages-R2KSZCYK.mjs → pages-7QLXLJGQ.mjs} +6 -6
  79. package/dist/cli/{play-DQ4AZ2NV.mjs → play-4OLYXRCG.mjs} +37 -27
  80. package/dist/cli/{play-ZMYWHAV3.js → play-S3CWPQKB.js} +406 -396
  81. package/dist/cli/{providers-X53WCX46.mjs → providers-JT7C2QTC.mjs} +6 -6
  82. package/dist/cli/{providers-I7GXTYG4.js → providers-U4JUMLB2.js} +9 -9
  83. package/dist/cli/{quickstart-DKVF32MY.mjs → quickstart-DQF5CF2I.mjs} +4 -4
  84. package/dist/cli/{quickstart-GKW46HUR.js → quickstart-OUSMXLYZ.js} +6 -6
  85. package/dist/cli/{run-VLX775L5.js → run-6XXHLB4X.js} +82 -43
  86. package/dist/cli/{run-A36EBVLD.mjs → run-RECNI77K.mjs} +69 -30
  87. package/dist/cli/search-BIQ62ZBE.js +32 -0
  88. package/dist/cli/{search-QHO4AYS2.mjs → search-JN7K3GC6.mjs} +7 -7
  89. package/dist/cli/{search-output-P7GWSTNO.js → search-output-JGNYXDWZ.js} +6 -6
  90. package/dist/cli/{search-output-YF5HCWKU.mjs → search-output-L6PC5SPM.mjs} +4 -4
  91. package/dist/cli/{secrets-3X56AV2F.js → secrets-TX6PCZ77.js} +15 -15
  92. package/dist/cli/{secrets-XTHBAX26.mjs → secrets-UOXZWHBY.mjs} +6 -6
  93. package/dist/cli/{sessions-4ZVZABXN.mjs → sessions-DTE733EH.mjs} +5 -5
  94. package/dist/cli/{sessions-AJUQJR4G.js → sessions-GCEIX4KB.js} +6 -6
  95. package/dist/cli/{settings-R7RQC5Z3.js → settings-UGXSDHR5.js} +78 -78
  96. package/dist/cli/{settings-AX5JF47R.mjs → settings-ZGIMRCTC.mjs} +11 -11
  97. package/dist/cli/{setup-QB62E6K5.js → setup-JYB6Z376.js} +49 -49
  98. package/dist/cli/{setup-DTXQODYK.mjs → setup-UT7AO53D.mjs} +9 -9
  99. package/dist/cli/{skills-N6OY5ABC.mjs → skills-4QJCMN7J.mjs} +7 -7
  100. package/dist/cli/skills-53LCPB5R.js +36 -0
  101. package/dist/cli/tools-HKJK6UNJ.js +57 -0
  102. package/dist/cli/{tools-3T4GKGS4.mjs → tools-RGNXIAA6.mjs} +16 -16
  103. package/dist/cli/{update-QDT4SFW3.mjs → update-Q62EVSXZ.mjs} +9 -9
  104. package/dist/cli/update-QMZSFTFZ.js +34 -0
  105. package/dist/cli/{workflow-FW3FPOWU.js → workflow-GENV47RD.js} +17 -17
  106. package/dist/cli/{workflow-Q7LQETNW.mjs → workflow-YNIOWM7J.mjs} +7 -7
  107. package/dist/index.js +9 -9
  108. package/dist/index.mjs +6 -6
  109. package/dist/install-integrity.json +100 -100
  110. package/dist/release.d.mts +1 -1
  111. package/dist/release.d.ts +1 -1
  112. package/dist/release.js +2 -2
  113. package/dist/release.mjs +1 -1
  114. package/dist/server.js +5 -5
  115. package/dist/server.mjs +3 -3
  116. package/package.json +1 -1
  117. package/dist/cli/auth-NYYFDCMT.js +0 -43
  118. package/dist/cli/describe-DAUL3SDQ.js +0 -50
  119. package/dist/cli/git-MFIJCRX6.js +0 -25
  120. package/dist/cli/search-STXZIGVB.js +0 -32
  121. package/dist/cli/skills-IEP5L5MQ.js +0 -36
  122. package/dist/cli/tools-JWBXEZKY.js +0 -57
  123. package/dist/cli/update-QME3C2VP.js +0 -34
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkTPQFCUPVjs = require('./chunk-TPQFCUPV.js');
5
+ var _chunkSNJNPRIVjs = require('./chunk-SNJNPRIV.js');
6
6
 
7
7
 
8
- var _chunkXGUGFGCFjs = require('./chunk-XGUGFGCF.js');
8
+ var _chunkK3BHKRMSjs = require('./chunk-K3BHKRMS.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 } = _chunkTPQFCUPVjs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunkSNJNPRIVjs.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
39
+ _chunkSNJNPRIVjs.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 } = _chunkTPQFCUPVjs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunkSNJNPRIVjs.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
- _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
139
+ _chunkSNJNPRIVjs.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 } = _chunkTPQFCUPVjs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunkSNJNPRIVjs.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
- _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
153
+ _chunkSNJNPRIVjs.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 } = _chunkTPQFCUPVjs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunkSNJNPRIVjs.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 } = _chunkTPQFCUPVjs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunkSNJNPRIVjs.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
- _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
200
+ _chunkSNJNPRIVjs.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 } = _chunkTPQFCUPVjs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunkSNJNPRIVjs.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
227
+ _chunkSNJNPRIVjs.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 } = _chunkTPQFCUPVjs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunkSNJNPRIVjs.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
- _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
254
+ _chunkSNJNPRIVjs.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 } = _chunkTPQFCUPVjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkSNJNPRIVjs.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
269
+ _chunkSNJNPRIVjs.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 = _chunkXGUGFGCFjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkK3BHKRMSjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkTPQFCUPVjs.openInBrowser.call(void 0, connectUrl);
292
- _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunkSNJNPRIVjs.openInBrowser.call(void 0, connectUrl);
292
+ _chunkSNJNPRIVjs.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 } = _chunkTPQFCUPVjs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunkSNJNPRIVjs.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
- _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
322
+ _chunkSNJNPRIVjs.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 } = _chunkTPQFCUPVjs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunkSNJNPRIVjs.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
- _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
371
+ _chunkSNJNPRIVjs.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 } = _chunkTPQFCUPVjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkSNJNPRIVjs.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
392
+ _chunkSNJNPRIVjs.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-6JVJZ7YG.mjs";
3
+ } from "./chunk-56QAHX2K.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-PAHFVOFZ.mjs";
7
+ } from "./chunk-CBZTKDXW.mjs";
8
8
 
9
9
  // src/client.ts
10
10
  var DeeplineClient2 = class extends DeeplineClient {
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
49
49
  // getters keep their established compatibility behavior.
50
50
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
51
51
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
52
- version: "0.3.498",
52
+ version: "0.3.500",
53
53
  updateSummary: {
54
54
  introducedIn: "0.3.90",
55
55
  summary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release."
@@ -11,20 +11,20 @@ import {
11
11
  skillsInstallLeasePath,
12
12
  skillsSourceUrl,
13
13
  syncSdkSkillsIfNeeded
14
- } from "./chunk-UUFZFJL4.mjs";
14
+ } from "./chunk-L7X6ADNM.mjs";
15
15
  import {
16
16
  printCommandEnvelope
17
- } from "./chunk-H7YR4EYF.mjs";
17
+ } from "./chunk-CIV5GJAE.mjs";
18
18
  import {
19
19
  autoDetectBaseUrl,
20
20
  ensureProjectPrivatePathsIgnored,
21
21
  resolveProjectPinTarget,
22
22
  sdkCliStateDirPath
23
- } from "./chunk-PAHFVOFZ.mjs";
23
+ } from "./chunk-CBZTKDXW.mjs";
24
24
  import {
25
25
  SDK_VERSION,
26
26
  detectAgentRuntime
27
- } from "./chunk-MRHMC33S.mjs";
27
+ } from "./chunk-5JXGYSXH.mjs";
28
28
  import {
29
29
  DEEPLINE_GTM_GLOBAL_SKILL_ROOTS
30
30
  } from "./chunk-5JPKRDFC.mjs";
@@ -6,7 +6,9 @@ var _chunkJO5FFSR7js = require('./chunk-JO5FFSR7.js');
6
6
 
7
7
 
8
8
 
9
- var _chunkTPQFCUPVjs = require('./chunk-TPQFCUPV.js');
9
+
10
+
11
+ var _chunkSNJNPRIVjs = require('./chunk-SNJNPRIV.js');
10
12
 
11
13
  // src/cli/describe-options.ts
12
14
  function addDescribeOptions(command, options = {}) {
@@ -247,7 +249,7 @@ function projectRunDatasetCell(value) {
247
249
  const logicalValue = parseSerializedDatasetValue(value);
248
250
  if (logicalValue === null || logicalValue === void 0) return logicalValue;
249
251
  if (typeof logicalValue === "object") {
250
- return _chunkTPQFCUPVjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
252
+ return _chunkSNJNPRIVjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
251
253
  }
252
254
  return logicalValue;
253
255
  }
@@ -533,11 +535,8 @@ function preflightExecutionOutput(options) {
533
535
  },
534
536
  ran: false
535
537
  },
536
- // A rejected destination must not be opened, nor may errors pollute data stdout.
537
- {
538
- receiptJson: options.receiptJson,
539
- ...dataOnStdout(options) ? { jsonOut: "-" } : {}
540
- }
538
+ options,
539
+ { skipReceiptFile: true }
541
540
  );
542
541
  return false;
543
542
  }
@@ -642,9 +641,9 @@ function csvText(rows, columns = []) {
642
641
  rows: rows.map((row) => record(row) ? row : { value: row }),
643
642
  columns
644
643
  });
645
- return _chunkTPQFCUPVjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
644
+ return _chunkSNJNPRIVjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
646
645
  }
647
- function writeExecutionOutput(result, options) {
646
+ function writeExecutionOutput(result, options, { skipReceiptFile = false } = {}) {
648
647
  let temp;
649
648
  const temporary = (name) => _path.join.call(void 0, temp ??= _fs.mkdtempSync.call(void 0, _path.join.call(void 0, _os.tmpdir.call(void 0, ), "deepline-output-")), name);
650
649
  const jsonText = (value) => `${JSON.stringify(value, null, 2)}
@@ -767,13 +766,16 @@ function writeExecutionOutput(result, options) {
767
766
  error: _nullishCoalesce(result.error, () => ( null)),
768
767
  next: _nullishCoalesce(result.next, () => ( {}))
769
768
  };
770
- const receiptFile = options.receiptOut ? persist(options.receiptOut, jsonText(receipt)) : null;
771
- printReceipt(receipt, options, {
772
- receiptFile,
773
- data: hasData ? result.data : void 0,
774
- ran: result.ran,
775
- declared: result.declared
776
- });
769
+ if (options.receiptOut && !skipReceiptFile) {
770
+ persist(options.receiptOut, jsonText(receipt));
771
+ _chunkSNJNPRIVjs.markJsonOutputHandled.call(void 0, );
772
+ } else {
773
+ printReceipt(receipt, options, {
774
+ data: hasData ? result.data : void 0,
775
+ ran: result.ran,
776
+ declared: result.declared
777
+ });
778
+ }
777
779
  if (stdoutData !== void 0) process.stdout.write(stdoutData);
778
780
  } catch (error) {
779
781
  let recoveryFile = null;
@@ -781,6 +783,7 @@ function writeExecutionOutput(result, options) {
781
783
  if (result.data !== void 0) recoveryFile = ensureJson();
782
784
  } catch (e4) {
783
785
  }
786
+ const retryWarning = "Do not re-execute paid work.";
784
787
  const failure = {
785
788
  status: "output_failed",
786
789
  id: result.id,
@@ -793,16 +796,16 @@ function writeExecutionOutput(result, options) {
793
796
  schemaFile: null,
794
797
  logsFile: _nullishCoalesce(options.logsFile, () => ( null)),
795
798
  collections: [],
796
- warnings: [],
799
+ warnings: options.receiptOut !== void 0 && result.id ? [retryWarning] : [],
797
800
  error: {
798
801
  message: error instanceof Error ? error.message : String(error),
799
802
  recoveryFile
800
803
  },
801
804
  next: _nullishCoalesce(result.next, () => ( {}))
802
805
  };
803
- printReceipt(failure, options, { receiptFile: null, ran: result.ran });
806
+ printReceipt(failure, options, { ran: result.ran });
804
807
  throw new ExecutionOutputError(
805
- `Output failed${result.id ? ` for ${result.id}` : ""}: ${error instanceof Error ? error.message : String(error)}. Do not re-execute paid work.`,
808
+ `Output failed${result.id ? ` for ${result.id}` : ""}: ${error instanceof Error ? error.message : String(error)}. ${retryWarning}`,
806
809
  { cause: error }
807
810
  );
808
811
  }
@@ -951,9 +954,6 @@ function receiptText(receipt, options, extra) {
951
954
  )
952
955
  ]);
953
956
  }
954
- if (extra.receiptFile) {
955
- sections.push([`JSON receipt: ${extra.receiptFile}`]);
956
- }
957
957
  if (resultSection) sections.push(resultSection);
958
958
  return `${sections.map((lines) => lines.join("\n")).join("\n\n")}
959
959
  `;
@@ -1026,7 +1026,12 @@ function resultLines(title, data, declared, options) {
1026
1026
  function printReceipt(receipt, options, extra) {
1027
1027
  const text = options.receiptJson ? `${JSON.stringify(receipt, null, 2)}
1028
1028
  ` : receiptText(receipt, options, extra);
1029
- (dataOnStdout(options) ? process.stderr : process.stdout).write(text);
1029
+ if (options.receiptOut !== void 0) {
1030
+ _chunkSNJNPRIVjs.writeRawStderr.call(void 0, text);
1031
+ _chunkSNJNPRIVjs.markJsonOutputHandled.call(void 0, );
1032
+ } else {
1033
+ (dataOnStdout(options) ? process.stderr : process.stdout).write(text);
1034
+ }
1030
1035
  }
1031
1036
  function openLogDestination(output) {
1032
1037
  if (output.logsOut === "-") {
@@ -1058,4 +1063,5 @@ function openLogDestination(output) {
1058
1063
 
1059
1064
 
1060
1065
 
1061
- exports.addDescribeOptions = addDescribeOptions; exports.recordApiResponse = recordApiResponse; exports.recordPlayTermination = recordPlayTermination; exports.TABLE_EXPORT_ERROR_COLUMN = TABLE_EXPORT_ERROR_COLUMN; exports.tableExportHasFailedRows = tableExportHasFailedRows; exports.tableExportErrorCell = tableExportErrorCell; exports.underscoreKeysLast = underscoreKeysLast; exports.orderRunExportJson = orderRunExportJson; exports.writeRunDatasetCsv = writeRunDatasetCsv; exports.preflightExecutionOutput = preflightExecutionOutput; exports.outputCollections = outputCollections; exports.writeExecutionOutput = writeExecutionOutput; exports.openLogDestination = openLogDestination;
1066
+
1067
+ exports.addDescribeOptions = addDescribeOptions; exports.recordApiResponse = recordApiResponse; exports.recordPlayTermination = recordPlayTermination; exports.TABLE_EXPORT_ERROR_COLUMN = TABLE_EXPORT_ERROR_COLUMN; exports.tableExportHasFailedRows = tableExportHasFailedRows; exports.tableExportErrorCell = tableExportErrorCell; exports.underscoreKeysLast = underscoreKeysLast; exports.orderRunExportJson = orderRunExportJson; exports.writeRunDatasetCsv = writeRunDatasetCsv; exports.ExecutionOutputError = ExecutionOutputError; exports.preflightExecutionOutput = preflightExecutionOutput; exports.outputCollections = outputCollections; exports.writeExecutionOutput = writeExecutionOutput; exports.openLogDestination = openLogDestination;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-UUFZFJL4.mjs";
3
+ } from "./chunk-L7X6ADNM.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  traceCliSpan
3
- } from "./chunk-EHOC6NCN.mjs";
3
+ } from "./chunk-PGRPNRP6.mjs";
4
4
  import {
5
5
  checkSdkCompatibility,
6
6
  enforceSdkCompatibilityResponse,
7
7
  flushDeferredSkillsSyncNotices
8
- } from "./chunk-UUFZFJL4.mjs";
8
+ } from "./chunk-L7X6ADNM.mjs";
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -459,9 +459,11 @@ Examples:
459
459
  deepline run -e 'return { doubled: input.n * 2 };' --input '{"n":21}'
460
460
  Output:
461
461
  A receipt: what ran, its status and cost, where the data was saved, and
462
- the first values. The full data is always saved to a file; --csv-out and
463
- --json-out choose where. --fields picks values and CSV columns. Exit code
464
- 0 completed, 1 failed or still running, 2 nothing ran.
462
+ the first values. --receipt-out <path> writes the JSON receipt only to that
463
+ new file, even with --json. File errors go to stderr. Use --json-out - or
464
+ --csv-out - to pipe result data to stdout.
465
+ --fields picks values and CSV columns. Exit code 0 completed, 1 failed or
466
+ still running, 2 nothing ran.
465
467
  Cost:
466
468
  What the tool or play charges. --max-credits caps a play run. Running an
467
469
  interrupted call again replays it without paying twice.
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkTLG75Q77js = require('./chunk-TLG75Q77.js');
3
+ var _chunkGBRI644Yjs = require('./chunk-GBRI644Y.js');
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  var _child_process = require('child_process');
@@ -13,7 +13,7 @@ function npmSupportsAllowScripts(version) {
13
13
  }
14
14
  function readNpmVersion(env) {
15
15
  try {
16
- const plan = _chunkTLG75Q77js.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkGBRI644Yjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
17
17
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
18
18
  encoding: "utf8",
19
19
  env,
@@ -6,7 +6,7 @@
6
6
 
7
7
 
8
8
 
9
- var _chunkN3T3L3WWjs = require('./chunk-N3T3L3WW.js');
9
+ var _chunkYPTZJ7LOjs = require('./chunk-YPTZJ7LO.js');
10
10
  require('./chunk-COGTRVWW.js');
11
11
 
12
12
 
@@ -16,4 +16,4 @@ require('./chunk-COGTRVWW.js');
16
16
 
17
17
 
18
18
 
19
- exports.CLI_DOC_SURFACE = _chunkN3T3L3WWjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunkN3T3L3WWjs.COMMAND_DOCS; exports.commandDocKey = _chunkN3T3L3WWjs.commandDocKey; exports.helpDetailFromArgv = _chunkN3T3L3WWjs.helpDetailFromArgv; exports.renderActionExplanation = _chunkN3T3L3WWjs.renderActionExplanation; exports.renderCommandExplanation = _chunkN3T3L3WWjs.renderCommandExplanation; exports.renderDocText = _chunkN3T3L3WWjs.renderDocText;
19
+ exports.CLI_DOC_SURFACE = _chunkYPTZJ7LOjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunkYPTZJ7LOjs.COMMAND_DOCS; exports.commandDocKey = _chunkYPTZJ7LOjs.commandDocKey; exports.helpDetailFromArgv = _chunkYPTZJ7LOjs.helpDetailFromArgv; exports.renderActionExplanation = _chunkYPTZJ7LOjs.renderActionExplanation; exports.renderCommandExplanation = _chunkYPTZJ7LOjs.renderCommandExplanation; exports.renderDocText = _chunkYPTZJ7LOjs.renderDocText;
@@ -6,7 +6,7 @@ import {
6
6
  renderActionExplanation,
7
7
  renderCommandExplanation,
8
8
  renderDocText
9
- } from "./chunk-2HCZHIMT.mjs";
9
+ } from "./chunk-TFFJ2PRN.mjs";
10
10
  import "./chunk-KRD6H754.mjs";
11
11
  export {
12
12
  CLI_DOC_SURFACE,
@@ -4,13 +4,13 @@ import {
4
4
  printCommandEnvelope,
5
5
  printJson,
6
6
  readCsvRows
7
- } from "./chunk-H7YR4EYF.mjs";
8
- import "./chunk-PAHFVOFZ.mjs";
9
- import "./chunk-MRHMC33S.mjs";
7
+ } from "./chunk-CIV5GJAE.mjs";
8
+ import "./chunk-CBZTKDXW.mjs";
9
+ import "./chunk-5JXGYSXH.mjs";
10
10
  import "./chunk-4QF2K7TM.mjs";
11
11
  import "./chunk-DLIRSHV6.mjs";
12
12
  import "./chunk-HBL4PM5Q.mjs";
13
- import "./chunk-SR3PRGWB.mjs";
13
+ import "./chunk-SRS2D27G.mjs";
14
14
  import "./chunk-WZYKRD7T.mjs";
15
15
  import "./chunk-KRD6H754.mjs";
16
16
 
@@ -4,13 +4,13 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkTPQFCUPVjs = require('./chunk-TPQFCUPV.js');
8
- require('./chunk-XGUGFGCF.js');
9
- require('./chunk-EAQXRAVF.js');
7
+ var _chunkSNJNPRIVjs = require('./chunk-SNJNPRIV.js');
8
+ require('./chunk-K3BHKRMS.js');
9
+ require('./chunk-TOGCDNMH.js');
10
10
  require('./chunk-ALJJRZNJ.js');
11
11
  require('./chunk-XNYIZMNQ.js');
12
12
  require('./chunk-DIAWYWT5.js');
13
- require('./chunk-XUTIBRKF.js');
13
+ require('./chunk-W64Y7GE7.js');
14
14
  require('./chunk-OG64RBAC.js');
15
15
  require('./chunk-COGTRVWW.js');
16
16
 
@@ -128,7 +128,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
128
128
  column.length,
129
129
  ...rows.map((row) => {
130
130
  const value = _nullishCoalesce(row[column], () => ( ""));
131
- return (verbose ? value : _chunkTPQFCUPVjs.clip.call(void 0, value, 42)).length;
131
+ return (verbose ? value : _chunkSNJNPRIVjs.clip.call(void 0, value, 42)).length;
132
132
  })
133
133
  )
134
134
  ])
@@ -138,7 +138,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
138
138
  const body = rows.map(
139
139
  (row) => columns.map((column) => {
140
140
  const raw = _nullishCoalesce(row[column], () => ( ""));
141
- const display = verbose ? raw : _chunkTPQFCUPVjs.clip.call(void 0, raw, 42);
141
+ const display = verbose ? raw : _chunkSNJNPRIVjs.clip.call(void 0, raw, 42);
142
142
  return display.padEnd(widths[column]);
143
143
  }).join(" | ")
144
144
  );
@@ -158,7 +158,7 @@ async function handleCsvShow(path, options, command) {
158
158
  { exitCode: 2 }
159
159
  );
160
160
  }
161
- const allRows = _chunkTPQFCUPVjs.readCsvRows.call(void 0, csvPath);
161
+ const allRows = _chunkSNJNPRIVjs.readCsvRows.call(void 0, csvPath);
162
162
  const [rowStart, rowEnd] = parseRowRange(options.rows);
163
163
  const rows = options.summary && options.rows === void 0 ? allRows : selectRows(allRows, rowStart, rowEnd);
164
164
  const { rows: selected, columns } = selectColumns(
@@ -171,7 +171,7 @@ async function handleCsvShow(path, options, command) {
171
171
  if (options.summary) {
172
172
  const summaries = summarizeColumns(selected, columns);
173
173
  if (format === "json") {
174
- _chunkTPQFCUPVjs.printJson.call(void 0, {
174
+ _chunkSNJNPRIVjs.printJson.call(void 0, {
175
175
  rows: summaries,
176
176
  total_rows: selected.length,
177
177
  source_total_rows: allRows.length
@@ -180,7 +180,7 @@ async function handleCsvShow(path, options, command) {
180
180
  }
181
181
  const displayRows = summaryDisplayRows(summaries);
182
182
  if (format === "csv") {
183
- process.stdout.write(_chunkTPQFCUPVjs.csvStringFromRows.call(void 0, displayRows));
183
+ process.stdout.write(_chunkSNJNPRIVjs.csvStringFromRows.call(void 0, displayRows));
184
184
  return;
185
185
  }
186
186
  process.stdout.write(
@@ -195,7 +195,7 @@ async function handleCsvShow(path, options, command) {
195
195
  return;
196
196
  }
197
197
  if (format === "json") {
198
- _chunkTPQFCUPVjs.printJson.call(void 0, {
198
+ _chunkSNJNPRIVjs.printJson.call(void 0, {
199
199
  rows: selected.map((row, index) => ({ __row: rowStart + index, ...row }))
200
200
  });
201
201
  return;
@@ -438,7 +438,7 @@ async function handleCsvRenderStart(options) {
438
438
  if (log) {
439
439
  detail = `
440
440
  CSV render log:
441
- ${_chunkTPQFCUPVjs.clip.call(void 0, log, 2e3)}`;
441
+ ${_chunkSNJNPRIVjs.clip.call(void 0, log, 2e3)}`;
442
442
  }
443
443
  } catch (e7) {
444
444
  }
@@ -489,7 +489,7 @@ async function handleCsvRenderStatus(options) {
489
489
  if (payload.pid) lines.push(`Render PID: ${payload.pid}`);
490
490
  if (payload.url) lines.push(`Render URL: ${payload.url}`);
491
491
  lines.push(`Render Health: ${payload.health_status}`);
492
- _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0, payload, {
492
+ _chunkSNJNPRIVjs.printCommandEnvelope.call(void 0, payload, {
493
493
  json: options.json,
494
494
  text: `${lines.join("\n")}
495
495
  `
@@ -525,7 +525,7 @@ async function handleCsvRenderStop(options) {
525
525
  };
526
526
  const text = stopped.length > 0 ? `Stopped CSV render process(es): ${stopped.join(" ")}
527
527
  ` : "No running CSV render process found.\n";
528
- _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
528
+ _chunkSNJNPRIVjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
529
529
  }
530
530
  async function handleCsvRender(action, options) {
531
531
  const normalized = _nullishCoalesce(action, () => ( "start"));