deepline 0.3.452 → 0.3.454

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 (122) hide show
  1. package/dist/bundling-sources/sdk/src/client.ts +65 -0
  2. package/dist/bundling-sources/sdk/src/http.ts +2 -1
  3. package/dist/bundling-sources/sdk/src/index.ts +2 -0
  4. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  5. package/dist/bundling-sources/sdk/src/types.ts +2 -0
  6. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-capability.ts +63 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +3 -0
  8. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +13 -1
  9. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-launch-transport.ts +83 -4
  10. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +11 -3
  11. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +16 -0
  12. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-runtime-watchdog.ts +20 -0
  13. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona.ts +77 -12
  14. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +5 -2
  15. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +254 -64
  16. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +11 -0
  17. package/dist/cli/auth-GUZWKNXM.js +40 -0
  18. package/dist/cli/{auth-DKZLB6GN.mjs → auth-YNPT3IER.mjs} +4 -4
  19. package/dist/cli/{billing-DOFXWAZR.mjs → billing-TLRVAOXB.mjs} +18 -5
  20. package/dist/cli/{billing-CN3XSVER.js → billing-VXIIND6T.js} +87 -74
  21. package/dist/cli/{chunk-TXN27XQQ.mjs → chunk-27NNEBIS.mjs} +2 -2
  22. package/dist/cli/chunk-2I7GE7KB.mjs +155 -0
  23. package/dist/cli/{chunk-M4FFNUF4.js → chunk-33FEF4RH.js} +50 -50
  24. package/dist/cli/{chunk-FIQ2F5LA.mjs → chunk-5GJH2BYN.mjs} +2 -2
  25. package/dist/cli/{chunk-ELULDUX3.mjs → chunk-5OQMUDPM.mjs} +1 -1
  26. package/dist/cli/{chunk-5DRGDSJL.js → chunk-6JY2NGJN.js} +26 -26
  27. package/dist/cli/chunk-7ICOQRW5.js +155 -0
  28. package/dist/cli/{chunk-7JSZOUNU.js → chunk-7V3OKSB2.js} +1 -1
  29. package/dist/cli/{chunk-74BPYDDG.js → chunk-BUYQU7TB.js} +8 -8
  30. package/dist/cli/{chunk-RNM4HG3W.mjs → chunk-CPXT4KPC.mjs} +3 -3
  31. package/dist/cli/{chunk-KQUDU3ZE.mjs → chunk-DCZSJON4.mjs} +2 -2
  32. package/dist/cli/{chunk-2GMAPSJU.mjs → chunk-EXWKHMMP.mjs} +5 -5
  33. package/dist/cli/{chunk-ZH6HFV7Y.js → chunk-FKGXZXRP.js} +8 -8
  34. package/dist/cli/{chunk-UGPGB4C6.mjs → chunk-G6ZOZQXT.mjs} +4 -153
  35. package/dist/cli/{chunk-L2GATUZK.js → chunk-IJ5WCZ32.js} +20 -20
  36. package/dist/cli/{chunk-JT4ZSWBK.js → chunk-KPPL2WNH.js} +16 -16
  37. package/dist/cli/{chunk-X4IMX5AO.mjs → chunk-LVHRP7XM.mjs} +4 -4
  38. package/dist/cli/{chunk-RFDIXLRX.mjs → chunk-LWYOJG66.mjs} +1 -1
  39. package/dist/cli/{chunk-L6YCGSL4.js → chunk-P5IQ6LIK.js} +35 -35
  40. package/dist/cli/{chunk-2VERHTKO.js → chunk-QLMQ2NAQ.js} +2 -2
  41. package/dist/cli/{chunk-PBQSX6ES.mjs → chunk-RDAUQGPG.mjs} +1 -1
  42. package/dist/cli/{chunk-7OI33KE5.js → chunk-S2PO3X5R.js} +2 -2
  43. package/dist/cli/{chunk-ZKGK2JU3.js → chunk-SJH66N73.js} +6 -6
  44. package/dist/cli/{chunk-SM5RZ5JC.mjs → chunk-TECW24CR.mjs} +2 -2
  45. package/dist/cli/{chunk-R7YZKHN5.mjs → chunk-THJ7ORNM.mjs} +3 -3
  46. package/dist/cli/{chunk-POSAVPQZ.mjs → chunk-U72KDMYJ.mjs} +2 -2
  47. package/dist/cli/{chunk-JJOSUZMS.mjs → chunk-UT6W675P.mjs} +1 -1
  48. package/dist/cli/{chunk-G5BMPTZD.js → chunk-VHGGHRGY.js} +81 -81
  49. package/dist/cli/{chunk-ETFVH7PO.js → chunk-VXBEHDM6.js} +10 -10
  50. package/dist/cli/{chunk-WW63S4RC.js → chunk-WONLZMDF.js} +6 -6
  51. package/dist/cli/{chunk-QK65KBWN.mjs → chunk-YETNOEAZ.mjs} +8 -8
  52. package/dist/cli/{chunk-YWL4ULLT.js → chunk-YPYR4ACF.js} +73 -222
  53. package/dist/cli/{chunk-2SICEJBN.mjs → chunk-YXCLG3KB.mjs} +35 -1
  54. package/dist/cli/{chunk-J5O4AXSO.js → chunk-Z5PQSTYX.js} +84 -50
  55. package/dist/cli/{csv-N25FMDZQ.js → csv-BSKJR3CR.js} +12 -12
  56. package/dist/cli/{csv-QUNUQZYC.mjs → csv-I4CAAV6A.mjs} +3 -3
  57. package/dist/cli/{db-WYWDUYXS.mjs → db-EQP24K3B.mjs} +4 -4
  58. package/dist/cli/{db-2SGG56WR.js → db-RA3IL6MC.js} +25 -25
  59. package/dist/cli/{describe-QQ2XL6PV.js → describe-62KPTIFH.js} +17 -16
  60. package/dist/cli/{describe-4RBUIHR7.mjs → describe-EZDVJDPQ.mjs} +13 -12
  61. package/dist/cli/describe-core.d.mts +1 -1
  62. package/dist/cli/describe-core.d.ts +1 -1
  63. package/dist/cli/{executions-YLJHAHHX.js → executions-2HBBXRPM.js} +6 -6
  64. package/dist/cli/{executions-WOBIMQ7H.mjs → executions-W5KR56KP.mjs} +4 -4
  65. package/dist/cli/{feedback-VCGVROTY.mjs → feedback-6UTOLSFP.mjs} +3 -3
  66. package/dist/cli/{feedback-D653FAXY.js → feedback-CVYS7ZPV.js} +7 -7
  67. package/dist/cli/{git-SZ6RSLFN.mjs → git-JXH64LI4.mjs} +4 -4
  68. package/dist/cli/git-U6FMVAAM.js +24 -0
  69. package/dist/cli/index.js +133 -131
  70. package/dist/cli/index.mjs +39 -37
  71. package/dist/cli/{legacy-noops-TXZ75CWS.js → legacy-noops-5XTXIPU2.js} +7 -7
  72. package/dist/cli/{legacy-noops-UGLTI2ZY.mjs → legacy-noops-NYMLGQNX.mjs} +4 -4
  73. package/dist/cli/{monitors-HLIW4AIL.mjs → monitors-CEU6SP2B.mjs} +156 -4
  74. package/dist/cli/{monitors-VC6YSBYX.js → monitors-J6HAQLX2.js} +276 -124
  75. package/dist/cli/{org-I3VQDIGZ.js → org-CYE3DCIT.js} +66 -66
  76. package/dist/cli/{org-X4MVTSKM.mjs → org-RRKAJM5V.mjs} +4 -4
  77. package/dist/cli/{play-7TLGGN66.js → play-NJDW74YH.js} +284 -283
  78. package/dist/cli/{play-EAYGEAMI.mjs → play-PXISXZ2P.mjs} +11 -10
  79. package/dist/cli/{providers-MBTMUEGX.mjs → providers-6QGGDOWK.mjs} +4 -4
  80. package/dist/cli/{providers-IZ3YWZ4E.js → providers-JE3MUBYK.js} +7 -7
  81. package/dist/cli/{quickstart-MBDEV4RJ.js → quickstart-AQBBOFQL.js} +5 -5
  82. package/dist/cli/{quickstart-MDW2NMAS.mjs → quickstart-MKJ7TYQZ.mjs} +3 -3
  83. package/dist/cli/{search-4PQZYRQO.mjs → search-6PKFZ2JD.mjs} +5 -5
  84. package/dist/cli/search-EJGRNQQK.js +30 -0
  85. package/dist/cli/{secrets-3S7KUS2H.js → secrets-IKGJYESD.js} +13 -13
  86. package/dist/cli/{secrets-S55UCYYR.mjs → secrets-QBWRVZCT.mjs} +4 -4
  87. package/dist/cli/{sessions-UEHVIB6W.js → sessions-462I5YEQ.js} +5 -5
  88. package/dist/cli/{sessions-T6XVN737.mjs → sessions-SVYTBNRJ.mjs} +4 -4
  89. package/dist/cli/{settings-CGP7XMJZ.mjs → settings-FH4XZ7FE.mjs} +9 -8
  90. package/dist/cli/{settings-MYAUWNTF.js → settings-WHLTLPXZ.js} +76 -75
  91. package/dist/cli/{setup-5Z5HAWEG.js → setup-IKTCP3QB.js} +43 -42
  92. package/dist/cli/{setup-U66NZQXB.mjs → setup-ISCNCB4W.mjs} +8 -7
  93. package/dist/cli/{skills-2JS3SNFA.mjs → skills-HITZS5EJ.mjs} +6 -5
  94. package/dist/cli/skills-LC2YKUSO.js +30 -0
  95. package/dist/cli/{tools-G3VYZKTO.mjs → tools-SQUTVLPO.mjs} +13 -12
  96. package/dist/cli/tools-Y55OXE72.js +45 -0
  97. package/dist/cli/{update-C7CLWWIW.mjs → update-AFYEREBX.mjs} +8 -7
  98. package/dist/cli/update-Q3I6MSEQ.js +32 -0
  99. package/dist/cli/{workflow-TBKVIN4S.js → workflow-AAOOROIR.js} +15 -15
  100. package/dist/cli/{workflow-EUMRVXU7.mjs → workflow-VBCZPKVF.mjs} +5 -5
  101. package/dist/{client-CPRaigLC.d.ts → client-BV7tC6oq.d.ts} +28 -1
  102. package/dist/{client-DstDI5TV.d.mts → client-Ct6OBj9Y.d.mts} +28 -1
  103. package/dist/index.d.mts +2 -2
  104. package/dist/index.d.ts +2 -2
  105. package/dist/index.js +6 -6
  106. package/dist/index.mjs +3 -3
  107. package/dist/install-integrity.json +82 -80
  108. package/dist/plays/play-description.d.mts +1 -1
  109. package/dist/plays/play-description.d.ts +1 -1
  110. package/dist/plays/run-request.d.mts +1 -1
  111. package/dist/plays/run-request.d.ts +1 -1
  112. package/dist/release.d.mts +1 -1
  113. package/dist/release.d.ts +1 -1
  114. package/dist/release.js +2 -2
  115. package/dist/release.mjs +1 -1
  116. package/package.json +1 -1
  117. package/dist/cli/auth-36DQP46D.js +0 -40
  118. package/dist/cli/git-T6LBJEY6.js +0 -24
  119. package/dist/cli/search-5B4ZM7VS.js +0 -30
  120. package/dist/cli/skills-JXPQFJAJ.js +0 -29
  121. package/dist/cli/tools-RHRJ4SLY.js +0 -44
  122. package/dist/cli/update-5YBPJ3EQ.js +0 -31
package/dist/cli/index.js CHANGED
@@ -7,20 +7,20 @@
7
7
 
8
8
 
9
9
 
10
- var _chunkL2GATUZKjs = require('./chunk-L2GATUZK.js');
11
- require('./chunk-JT4ZSWBK.js');
12
- require('./chunk-7OI33KE5.js');
13
- require('./chunk-L6YCGSL4.js');
10
+ var _chunkIJ5WCZ32js = require('./chunk-IJ5WCZ32.js');
11
+ require('./chunk-KPPL2WNH.js');
12
+ require('./chunk-S2PO3X5R.js');
13
+ require('./chunk-P5IQ6LIK.js');
14
14
 
15
15
 
16
- var _chunkWW63S4RCjs = require('./chunk-WW63S4RC.js');
16
+ var _chunkWONLZMDFjs = require('./chunk-WONLZMDF.js');
17
17
 
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunk2VERHTKOjs = require('./chunk-2VERHTKO.js');
23
+ var _chunkQLMQ2NAQjs = require('./chunk-QLMQ2NAQ.js');
24
24
 
25
25
 
26
26
 
@@ -38,9 +38,10 @@ var _chunk2VERHTKOjs = require('./chunk-2VERHTKO.js');
38
38
 
39
39
 
40
40
 
41
+ var _chunkYPYR4ACFjs = require('./chunk-YPYR4ACF.js');
41
42
 
42
- var _chunkYWL4ULLTjs = require('./chunk-YWL4ULLT.js');
43
43
 
44
+ var _chunk7ICOQRW5js = require('./chunk-7ICOQRW5.js');
44
45
 
45
46
 
46
47
 
@@ -52,8 +53,8 @@ var _chunkYWL4ULLTjs = require('./chunk-YWL4ULLT.js');
52
53
 
53
54
 
54
55
 
55
- var _chunkZKGK2JU3js = require('./chunk-ZKGK2JU3.js');
56
56
 
57
+ var _chunkSJH66N73js = require('./chunk-SJH66N73.js');
57
58
 
58
59
 
59
60
 
@@ -62,13 +63,14 @@ var _chunkZKGK2JU3js = require('./chunk-ZKGK2JU3.js');
62
63
 
63
64
 
64
65
 
65
- var _chunkETFVH7POjs = require('./chunk-ETFVH7PO.js');
66
+
67
+ var _chunkVXBEHDM6js = require('./chunk-VXBEHDM6.js');
66
68
 
67
69
 
68
70
  var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
69
71
  require('./chunk-XNYIZMNQ.js');
70
72
  require('./chunk-DIAWYWT5.js');
71
- require('./chunk-7JSZOUNU.js');
73
+ require('./chunk-7V3OKSB2.js');
72
74
  require('./chunk-OG64RBAC.js');
73
75
 
74
76
 
@@ -138,48 +140,48 @@ var _os = require('os');
138
140
  var COMMAND_GROUPS = [
139
141
  {
140
142
  names: ["auth"],
141
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-36DQP46D.js")))).registerAuthCommands
143
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-GUZWKNXM.js")))).registerAuthCommands
142
144
  },
143
145
  {
144
146
  names: ["providers"],
145
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./providers-IZ3YWZ4E.js")))).registerProviderCommands
147
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./providers-JE3MUBYK.js")))).registerProviderCommands
146
148
  },
147
149
  {
148
150
  names: ["search"],
149
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./search-5B4ZM7VS.js")))).registerSearchCommand
151
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./search-EJGRNQQK.js")))).registerSearchCommand
150
152
  },
151
153
  {
152
154
  names: ["describe"],
153
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-QQ2XL6PV.js")))).registerDescribeCommand
155
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-62KPTIFH.js")))).registerDescribeCommand
154
156
  },
155
157
  {
156
158
  names: ["tools"],
157
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-RHRJ4SLY.js")))).registerToolsCommands
159
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-Y55OXE72.js")))).registerToolsCommands
158
160
  },
159
161
  {
160
162
  names: ["executions"],
161
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./executions-YLJHAHHX.js")))).registerExecutionsCommands
163
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./executions-2HBBXRPM.js")))).registerExecutionsCommands
162
164
  },
163
165
  {
164
166
  names: ["plays", "runs"],
165
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./play-7TLGGN66.js")))).registerPlayCommands
167
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./play-NJDW74YH.js")))).registerPlayCommands
166
168
  },
167
169
  {
168
170
  names: ["sessions"],
169
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./sessions-UEHVIB6W.js")))).registerSessionsCommands
171
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./sessions-462I5YEQ.js")))).registerSessionsCommands
170
172
  },
171
173
  {
172
174
  names: ["workflows"],
173
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-TBKVIN4S.js")))).registerWorkflowCommands
175
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-AAOOROIR.js")))).registerWorkflowCommands
174
176
  },
175
177
  {
176
178
  names: ["secrets"],
177
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./secrets-3S7KUS2H.js")))).registerSecretsCommands
179
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./secrets-IKGJYESD.js")))).registerSecretsCommands
178
180
  },
179
181
  {
180
182
  names: ["settings", "notifications"],
181
183
  load: async () => {
182
- const commands = await Promise.resolve().then(() => _interopRequireWildcard(require("./settings-MYAUWNTF.js")));
184
+ const commands = await Promise.resolve().then(() => _interopRequireWildcard(require("./settings-WHLTLPXZ.js")));
183
185
  return (p) => {
184
186
  commands.registerSettingsCommands(p);
185
187
  commands.registerNotificationCommands(p);
@@ -188,51 +190,51 @@ var COMMAND_GROUPS = [
188
190
  },
189
191
  {
190
192
  names: ["billing"],
191
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./billing-CN3XSVER.js")))).registerBillingCommands
193
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./billing-VXIIND6T.js")))).registerBillingCommands
192
194
  },
193
195
  {
194
196
  names: ["monitors"],
195
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./monitors-VC6YSBYX.js")))).registerMonitorsCommands
197
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./monitors-J6HAQLX2.js")))).registerMonitorsCommands
196
198
  },
197
199
  {
198
200
  names: ["org"],
199
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./org-I3VQDIGZ.js")))).registerOrgCommands
201
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./org-CYE3DCIT.js")))).registerOrgCommands
200
202
  },
201
203
  {
202
204
  names: ["git", "projects", "deployments"],
203
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./git-T6LBJEY6.js")))).registerGitCommands
205
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./git-U6FMVAAM.js")))).registerGitCommands
204
206
  },
205
207
  {
206
208
  names: ["csv"],
207
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./csv-N25FMDZQ.js")))).registerCsvCommands
209
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./csv-BSKJR3CR.js")))).registerCsvCommands
208
210
  },
209
211
  {
210
212
  names: ["db"],
211
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./db-2SGG56WR.js")))).registerDbCommands
213
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./db-RA3IL6MC.js")))).registerDbCommands
212
214
  },
213
215
  {
214
216
  names: ["feedback"],
215
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./feedback-D653FAXY.js")))).registerFeedbackCommands
217
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./feedback-CVYS7ZPV.js")))).registerFeedbackCommands
216
218
  },
217
219
  {
218
220
  names: ["enrich", "session", "backend"],
219
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./legacy-noops-TXZ75CWS.js")))).registerDeprecatedCommands
221
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./legacy-noops-5XTXIPU2.js")))).registerDeprecatedCommands
220
222
  },
221
223
  {
222
224
  names: ["update"],
223
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./update-5YBPJ3EQ.js")))).registerUpdateCommand
225
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./update-Q3I6MSEQ.js")))).registerUpdateCommand
224
226
  },
225
227
  {
226
228
  names: ["skills", "skills-auto-sync"],
227
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-JXPQFJAJ.js")))).registerSkillsCommand
229
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-LC2YKUSO.js")))).registerSkillsCommand
228
230
  },
229
231
  {
230
232
  names: ["setup", "doctor"],
231
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./setup-5Z5HAWEG.js")))).registerSetupCommands
233
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./setup-IKTCP3QB.js")))).registerSetupCommands
232
234
  },
233
235
  {
234
236
  names: ["quickstart"],
235
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./quickstart-MBDEV4RJ.js")))).registerQuickstartCommands
237
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./quickstart-AQBBOFQL.js")))).registerQuickstartCommands
236
238
  }
237
239
  ];
238
240
  async function registerDeeplineCommandGroups(program, requestedCommand) {
@@ -258,25 +260,25 @@ function registerDeeplineInlineCommands(program) {
258
260
  function createDeferredPlayRunMaintenance(input) {
259
261
  return async () => {
260
262
  try {
261
- const skillsVersion = _chunkETFVH7POjs.readSdkSkillsLocalVersion.call(void 0, input.baseUrl);
262
- const compatibility = await _chunk2VERHTKOjs.traceCliSpan.call(void 0,
263
+ const skillsVersion = _chunkVXBEHDM6js.readSdkSkillsLocalVersion.call(void 0, input.baseUrl);
264
+ const compatibility = await _chunkQLMQ2NAQjs.traceCliSpan.call(void 0,
263
265
  "cli.sdk_compatibility_deferred",
264
266
  {
265
267
  baseUrl: input.baseUrl,
266
268
  command: "plays run",
267
269
  skillsVersion: _nullishCoalesce(skillsVersion, () => ( null))
268
270
  },
269
- () => _chunkYWL4ULLTjs.checkSdkCompatibility.call(void 0, input.baseUrl, {
271
+ () => _chunkYPYR4ACFjs.checkSdkCompatibility.call(void 0, input.baseUrl, {
270
272
  command: "plays run",
271
273
  skillsVersion,
272
274
  persistCache: input.policy !== "off",
273
- catalog: _chunkL2GATUZKjs.compatibilityCatalog.call(void 0, input.command)
275
+ catalog: _chunkIJ5WCZ32js.compatibilityCatalog.call(void 0, input.command)
274
276
  })
275
277
  );
276
278
  if (compatibility.error || !compatibility.response) return;
277
279
  const automaticUpdate = compatibility.response.auto_update;
278
280
  if (_optionalChain([automaticUpdate, 'optionalAccess', _4 => _4.should_auto_update]) && !automaticUpdate.required && automaticUpdate.reason !== "rollback_forced") {
279
- await _chunkL2GATUZKjs.maybeAutoUpdateAndRelaunch.call(void 0,
281
+ await _chunkIJ5WCZ32js.maybeAutoUpdateAndRelaunch.call(void 0,
280
282
  compatibility.response,
281
283
  input.baseUrl,
282
284
  input.policy
@@ -286,7 +288,7 @@ function createDeferredPlayRunMaintenance(input) {
286
288
  compatibility.response,
287
289
  "skills"
288
290
  ) ? _nullishCoalesce(compatibility.response.skills, () => ( null)) : void 0;
289
- await _chunkYWL4ULLTjs.syncSdkSkillsIfNeeded.call(void 0, input.baseUrl, {
291
+ await _chunkYPYR4ACFjs.syncSdkSkillsIfNeeded.call(void 0, input.baseUrl, {
290
292
  update: skillsUpdate,
291
293
  mode: "detached"
292
294
  });
@@ -314,7 +316,7 @@ var MAX_SESSIONS = 20;
314
316
  function helpSeenPath(homeDir = _os.homedir.call(void 0, )) {
315
317
  return _path.join.call(void 0, homeDir, ".local", "deepline", "sdk-cli", "help-seen.json");
316
318
  }
317
- function resolveHelpDetail(argv, key, homeDir = _os.homedir.call(void 0, ), sessionId = _chunkETFVH7POjs.agentSessionIdFromEnvironment.call(void 0, )) {
319
+ function resolveHelpDetail(argv, key, homeDir = _os.homedir.call(void 0, ), sessionId = _chunkVXBEHDM6js.agentSessionIdFromEnvironment.call(void 0, )) {
318
320
  const explicit = _chunkNMJ4D2WOjs.helpDetailFromArgv.call(void 0, argv);
319
321
  if (explicit === "quiet") return { detail: "quiet", firstRead: false };
320
322
  if (!sessionId) return { detail: explicit, firstRead: false };
@@ -412,7 +414,7 @@ function shouldReport(stdout, stderr) {
412
414
  }
413
415
  function toolName(action) {
414
416
  const [toolId] = _optionalChain([action, 'optionalAccess', _5 => _5.path]) === "tools execute" ? action.args : [];
415
- return typeof toolId === "string" ? _chunkYWL4ULLTjs.redactFailureText.call(void 0, toolId) : null;
417
+ return typeof toolId === "string" ? _chunkYPYR4ACFjs.redactFailureText.call(void 0, toolId) : null;
416
418
  }
417
419
  function chunkText(chunk) {
418
420
  if (typeof chunk === "string") return chunk;
@@ -443,14 +445,14 @@ function watch(stream) {
443
445
  }
444
446
  async function postCommandOutput(body) {
445
447
  try {
446
- const baseUrl = _chunkETFVH7POjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
447
- const apiKey = _chunkETFVH7POjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
448
+ const baseUrl = _chunkVXBEHDM6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
449
+ const apiKey = _chunkVXBEHDM6js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
448
450
  if (!apiKey) return;
449
- const agentSessionId = _chunkETFVH7POjs.agentSessionIdFromEnvironment.call(void 0, );
451
+ const agentSessionId = _chunkVXBEHDM6js.agentSessionIdFromEnvironment.call(void 0, );
450
452
  await fetch(new URL("/api/v2/telemetry/command-output", baseUrl), {
451
453
  method: "POST",
452
454
  headers: {
453
- ..._chunkYWL4ULLTjs.failureReportHeaders.call(void 0, apiKey),
455
+ ..._chunkYPYR4ACFjs.failureReportHeaders.call(void 0, apiKey),
454
456
  ...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {}
455
457
  },
456
458
  body: JSON.stringify(body),
@@ -466,14 +468,14 @@ function startOutputSizeReporting(invocation, streams = {
466
468
  const stdoutWatch = watch(streams.stdout);
467
469
  const stderrWatch = watch(streams.stderr);
468
470
  return async (finished) => {
469
- if (_chunkYWL4ULLTjs.isFailureReportingDisabled.call(void 0, )) return;
471
+ if (_chunkYPYR4ACFjs.isFailureReportingDisabled.call(void 0, )) return;
470
472
  const [stdout, stderr] = await Promise.all([
471
473
  stdoutWatch.settled(),
472
474
  stderrWatch.settled()
473
475
  ]);
474
476
  if (!shouldReport(stdout, stderr)) return;
475
477
  await postCommandOutput({
476
- command: _chunkYWL4ULLTjs.sanitizeCommand.call(void 0, invocation.argv),
478
+ command: _chunkYPYR4ACFjs.sanitizeCommand.call(void 0, invocation.argv),
477
479
  tool: toolName(finished.action),
478
480
  exit_code: typeof finished.exitCode === "number" ? finished.exitCode : null,
479
481
  duration_ms: Math.max(0, Date.now() - invocation.startedAtMs),
@@ -504,7 +506,7 @@ function silenceCommanderErrorOutput(command) {
504
506
  function printUsageErrorJson(code, message, commandPath) {
505
507
  const unknownName = code === "commander.unknownCommand" ? _optionalChain([/unknown command '([^']+)'/, 'access', _6 => _6.exec, 'call', _7 => _7(message), 'optionalAccess', _8 => _8[1]]) : void 0;
506
508
  const helpPath = unknownName && commandPath.endsWith(` ${unknownName}`) ? commandPath.slice(0, -unknownName.length - 1) : commandPath;
507
- _chunkZKGK2JU3js.printJson.call(void 0, {
509
+ _chunkSJH66N73js.printJson.call(void 0, {
508
510
  ok: false,
509
511
  error: {
510
512
  code,
@@ -566,7 +568,7 @@ function topLevelCommandKnown(program, commandName) {
566
568
  );
567
569
  }
568
570
  async function runPlayRunnerHealthCheck() {
569
- _chunkETFVH7POjs.resolveConfig.call(void 0, );
571
+ _chunkVXBEHDM6js.resolveConfig.call(void 0, );
570
572
  const dir = await _promises.mkdtemp.call(void 0, _path.join.call(void 0, _os.tmpdir.call(void 0, ), "deepline-health-play-"));
571
573
  const file = _path.join.call(void 0, dir, "health-check.play.ts");
572
574
  try {
@@ -596,7 +598,7 @@ async function runPlayRunnerHealthCheck() {
596
598
  });
597
599
  let exitCode = 1;
598
600
  try {
599
- const { handlePlayRun } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-7TLGGN66.js")));
601
+ const { handlePlayRun } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-NJDW74YH.js")));
600
602
  exitCode = await handlePlayRun([
601
603
  file,
602
604
  "--input",
@@ -636,7 +638,7 @@ function preflightErrorMessage(error) {
636
638
  return error instanceof Error ? error.message : String(error);
637
639
  }
638
640
  async function runPreflightCheck() {
639
- const baseUrl = _chunkETFVH7POjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
641
+ const baseUrl = _chunkVXBEHDM6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
640
642
  const healthController = new AbortController();
641
643
  const healthTimeout = setTimeout(
642
644
  () => healthController.abort(),
@@ -651,9 +653,9 @@ async function runPreflightCheck() {
651
653
  version: pickString(payload, "version")
652
654
  };
653
655
  }).catch(() => ({ status: "unreachable", version: null })).finally(() => clearTimeout(healthTimeout));
654
- const apiKey = _chunkETFVH7POjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
655
- const http = apiKey ? new (0, _chunkETFVH7POjs.HttpClient)(
656
- _chunkETFVH7POjs.resolveConfig.call(void 0, {
656
+ const apiKey = _chunkVXBEHDM6js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
657
+ const http = apiKey ? new (0, _chunkVXBEHDM6js.HttpClient)(
658
+ _chunkVXBEHDM6js.resolveConfig.call(void 0, {
657
659
  baseUrl,
658
660
  apiKey,
659
661
  timeout: PREFLIGHT_TIMEOUT_MS,
@@ -698,7 +700,7 @@ async function runPreflightCheck() {
698
700
  const connected = authStatus === "connected" || authStatus === "claimed";
699
701
  return {
700
702
  status: healthResult.status === "ok" && connected ? "ok" : "check",
701
- cli_version: _chunkETFVH7POjs.SDK_VERSION,
703
+ cli_version: _chunkVXBEHDM6js.SDK_VERSION,
702
704
  host: baseUrl,
703
705
  health: {
704
706
  status: healthResult.status,
@@ -724,7 +726,7 @@ async function runPreflightCheck() {
724
726
  {
725
727
  title: "preflight",
726
728
  lines: [
727
- `cli: ${_chunkETFVH7POjs.SDK_VERSION}`,
729
+ `cli: ${_chunkVXBEHDM6js.SDK_VERSION}`,
728
730
  `host: ${baseUrl}`,
729
731
  `health: ${healthResult.status}`,
730
732
  `auth: ${authStatus}`,
@@ -749,12 +751,12 @@ function printPreflightHuman(data) {
749
751
  }
750
752
  async function newerCliCommandHint(baseUrl, command) {
751
753
  if (!command.trim()) return null;
752
- const { response, error } = await _chunkYWL4ULLTjs.checkSdkCompatibility.call(void 0, baseUrl, { command });
754
+ const { response, error } = await _chunkYPYR4ACFjs.checkSdkCompatibility.call(void 0, baseUrl, { command });
753
755
  if (error || !response) return null;
754
756
  const introduced = response.command_introduced_in;
755
757
  if (introduced) {
756
758
  return [
757
- `\`deepline ${introduced.command}\` was added in SDK CLI ${introduced.introduced_in}. This CLI is ${_chunkETFVH7POjs.SDK_VERSION}.`,
759
+ `\`deepline ${introduced.command}\` was added in SDK CLI ${introduced.introduced_in}. This CLI is ${_chunkVXBEHDM6js.SDK_VERSION}.`,
758
760
  ` ${introduced.reason}`,
759
761
  ` Update with: ${response.update_command}`,
760
762
  " Agent skills are served by Deepline and refresh on their own, so a skill can describe a command this CLI does not have yet."
@@ -763,31 +765,31 @@ async function newerCliCommandHint(baseUrl, command) {
763
765
  if (!response.update_required) return null;
764
766
  return [
765
767
  response.message,
766
- ` Installed: ${_chunkETFVH7POjs.SDK_VERSION}. Run: ${response.update_command}`,
768
+ ` Installed: ${_chunkVXBEHDM6js.SDK_VERSION}. Run: ${response.update_command}`,
767
769
  " If an agent skill told you to run this, the skill is newer than this CLI."
768
770
  ].join("\n");
769
771
  }
770
772
  async function runMain(ensureTransport, onAction) {
771
773
  const mainStartedAt = Date.now();
772
- _chunkZKGK2JU3js.installJsonStderrGuard.call(void 0, );
774
+ _chunkSJH66N73js.installJsonStderrGuard.call(void 0, );
773
775
  let rootHelpStatus = "";
774
776
  const deferredMaintenance = { inlinePlay: null };
775
- _chunk2VERHTKOjs.recordCliTrace.call(void 0, {
777
+ _chunkQLMQ2NAQjs.recordCliTrace.call(void 0, {
776
778
  phase: "cli.main_start",
777
779
  argv: process.argv.slice(2)
778
780
  });
779
781
  const printStartupPhase = shouldPrintStartupPhase();
780
- const progress = printStartupPhase ? _chunkYWL4ULLTjs.createCliProgress.call(void 0, true) : null;
782
+ const progress = printStartupPhase ? _chunk7ICOQRW5js.createCliProgress.call(void 0, true) : null;
781
783
  if (printStartupPhase) {
782
784
  _optionalChain([progress, 'optionalAccess', _14 => _14.phase, 'call', _15 => _15("loading deepline cli")]);
783
785
  }
784
786
  const program = new (0, _commander.Command)();
785
787
  program.name("deepline").description(
786
788
  "Deepline CLI \u2014 GTM enrichment tools, plays, and runs from your terminal."
787
- ).version(_chunkETFVH7POjs.SDK_VERSION, "-v, --version", "Show version").option(
789
+ ).version(_chunkVXBEHDM6js.SDK_VERSION, "-v, --version", "Show version").option(
788
790
  "--maintenance <policy>",
789
791
  "Installation maintenance: configured preferences or off; independent of output format",
790
- _chunk2VERHTKOjs.parseCliMaintenancePolicy,
792
+ _chunkQLMQ2NAQjs.parseCliMaintenancePolicy,
791
793
  "configured"
792
794
  ).exitOverride().showHelpAfterError().showSuggestionAfterError(true).addHelpText(
793
795
  "beforeAll",
@@ -845,24 +847,24 @@ Exit codes:
845
847
  path: compatibilityCommandPath(actionCommand),
846
848
  args: actionCommand.processedArgs
847
849
  });
848
- const maintenance = _chunk2VERHTKOjs.resolveCliMaintenancePolicy.call(void 0,
850
+ const maintenance = _chunkQLMQ2NAQjs.resolveCliMaintenancePolicy.call(void 0,
849
851
  actionCommand.optsWithGlobals()
850
852
  );
851
853
  if (actionCommand.name() !== "version") {
852
854
  await ensureTransport();
853
855
  }
854
- if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() === _chunkYWL4ULLTjs.SKILLS_AUTO_SYNC_COMMAND || actionCommand.name() === "doctor" || isAutoUpdateSettingsInvocation() || isDeprecatedCommandInvocation()) {
856
+ if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() === _chunkYPYR4ACFjs.SKILLS_AUTO_SYNC_COMMAND || actionCommand.name() === "doctor" || isAutoUpdateSettingsInvocation() || isDeprecatedCommandInvocation()) {
855
857
  return;
856
858
  }
857
859
  const compatibilityCommand = compatibilityCommandPath(actionCommand) || actionCommand.name();
858
860
  const isToolExecuteCommand = compatibilityCommand === "tools execute";
859
861
  if (isToolExecuteCommand) {
860
- _chunkL2GATUZKjs.beginToolExecuteCommand.call(void 0, );
862
+ _chunkIJ5WCZ32js.beginToolExecuteCommand.call(void 0, );
861
863
  }
862
864
  if (isToolExecuteCommand) {
863
- const baseUrl = _chunkETFVH7POjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
864
- if (maintenance !== "off") _chunkYWL4ULLTjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
865
- _chunk2VERHTKOjs.recordCliTrace.call(void 0, {
865
+ const baseUrl = _chunkVXBEHDM6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
866
+ if (maintenance !== "off") _chunkYPYR4ACFjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
867
+ _chunkQLMQ2NAQjs.recordCliTrace.call(void 0, {
866
868
  phase: "cli.sdk_compatibility_deferred_to_tool_execute",
867
869
  baseUrl,
868
870
  command: compatibilityCommand
@@ -870,10 +872,10 @@ Exit codes:
870
872
  return;
871
873
  }
872
874
  const playDryRun = compatibilityCommand === "plays run" && actionCommand.optsWithGlobals().dryRun === true;
873
- if (!playDryRun && _chunkWW63S4RCjs.usesInlinePlayAdmission.call(void 0, compatibilityCommand, process.argv.slice(2))) {
875
+ if (!playDryRun && _chunkWONLZMDFjs.usesInlinePlayAdmission.call(void 0, compatibilityCommand, process.argv.slice(2))) {
874
876
  if (maintenance !== "off") {
875
- const baseUrl = _chunkETFVH7POjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
876
- _chunkYWL4ULLTjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
877
+ const baseUrl = _chunkVXBEHDM6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
878
+ _chunkYPYR4ACFjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
877
879
  deferredMaintenance.inlinePlay = createDeferredPlayRunMaintenance({
878
880
  baseUrl,
879
881
  command: actionCommand,
@@ -882,27 +884,27 @@ Exit codes:
882
884
  }
883
885
  return;
884
886
  }
885
- const runStartupStage = (stage, action) => isToolExecuteCommand ? _chunkL2GATUZKjs.runToolExecuteStage.call(void 0, stage, action) : Promise.resolve(action());
887
+ const runStartupStage = (stage, action) => isToolExecuteCommand ? _chunkIJ5WCZ32js.runToolExecuteStage.call(void 0, stage, action) : Promise.resolve(action());
886
888
  if (printStartupPhase) {
887
889
  _optionalChain([progress, 'optionalAccess', _16 => _16.phase, 'call', _17 => _17("checking sdk compatibility")]);
888
890
  }
889
891
  const startup = await runStartupStage("SDK compatibility", async () => {
890
- const baseUrl = _chunkETFVH7POjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
891
- if (maintenance !== "off") _chunkYWL4ULLTjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
892
+ const baseUrl = _chunkVXBEHDM6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
893
+ if (maintenance !== "off") _chunkYPYR4ACFjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
892
894
  const shouldDeferSkillsSync = isToolExecuteCommand || maintenance === "off" || shouldDeferSkillsSyncForCommand();
893
- const skillsVersion = shouldDeferSkillsSync ? void 0 : _chunkETFVH7POjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
894
- const trusted = isToolExecuteCommand ? null : _chunkYWL4ULLTjs.readTrustedCleanCompatibility.call(void 0,
895
+ const skillsVersion = shouldDeferSkillsSync ? void 0 : _chunkVXBEHDM6js.readSdkSkillsLocalVersion.call(void 0, baseUrl);
896
+ const trusted = isToolExecuteCommand ? null : _chunkYPYR4ACFjs.readTrustedCleanCompatibility.call(void 0,
895
897
  baseUrl,
896
898
  compatibilityCommand,
897
899
  skillsVersion
898
900
  );
899
- const fastDeadline = !isToolExecuteCommand && trusted === null && _chunkYWL4ULLTjs.readFreshCleanCompatibility.call(void 0,
901
+ const fastDeadline = !isToolExecuteCommand && trusted === null && _chunkYPYR4ACFjs.readFreshCleanCompatibility.call(void 0,
900
902
  baseUrl,
901
903
  compatibilityCommand,
902
904
  skillsVersion
903
905
  ) !== null;
904
906
  if (trusted) {
905
- _chunk2VERHTKOjs.recordCliTrace.call(void 0, {
907
+ _chunkQLMQ2NAQjs.recordCliTrace.call(void 0, {
906
908
  phase: "cli.sdk_compatibility",
907
909
  ms: 0,
908
910
  ok: true,
@@ -912,7 +914,7 @@ Exit codes:
912
914
  source: "trusted_cache"
913
915
  });
914
916
  }
915
- const compatibility = trusted ? { response: trusted, error: null } : await _chunk2VERHTKOjs.traceCliSpan.call(void 0,
917
+ const compatibility = trusted ? { response: trusted, error: null } : await _chunkQLMQ2NAQjs.traceCliSpan.call(void 0,
916
918
  "cli.sdk_compatibility",
917
919
  {
918
920
  baseUrl,
@@ -920,12 +922,12 @@ Exit codes:
920
922
  skillsVersion: _nullishCoalesce(skillsVersion, () => ( null)),
921
923
  fastDeadline
922
924
  },
923
- () => _chunkYWL4ULLTjs.checkSdkCompatibility.call(void 0, baseUrl, {
925
+ () => _chunkYPYR4ACFjs.checkSdkCompatibility.call(void 0, baseUrl, {
924
926
  command: compatibilityCommand,
925
927
  skillsVersion,
926
928
  persistCache: !isToolExecuteCommand && maintenance !== "off",
927
- catalog: _chunkL2GATUZKjs.compatibilityCatalog.call(void 0, actionCommand),
928
- ...fastDeadline ? { timeoutMs: _chunkYWL4ULLTjs.SDK_COMPATIBILITY_FAST_DEADLINE_MS } : {}
929
+ catalog: _chunkIJ5WCZ32js.compatibilityCatalog.call(void 0, actionCommand),
930
+ ...fastDeadline ? { timeoutMs: _chunkYPYR4ACFjs.SDK_COMPATIBILITY_FAST_DEADLINE_MS } : {}
929
931
  })
930
932
  );
931
933
  if (compatibility.error) {
@@ -936,7 +938,7 @@ Exit codes:
936
938
  response: null
937
939
  };
938
940
  }
939
- const relaunched = await _chunkL2GATUZKjs.maybeAutoUpdateAndRelaunch.call(void 0,
941
+ const relaunched = await _chunkIJ5WCZ32js.maybeAutoUpdateAndRelaunch.call(void 0,
940
942
  compatibility.response,
941
943
  baseUrl,
942
944
  maintenance
@@ -950,14 +952,14 @@ Exit codes:
950
952
  };
951
953
  }
952
954
  const policy = compatibility.response;
953
- const jsonOutput = _chunkZKGK2JU3js.isJsonOutputMode.call(void 0, );
954
- _chunkYWL4ULLTjs.enforceSdkCompatibilityResponse.call(void 0, policy, {
955
+ const jsonOutput = _chunkSJH66N73js.isJsonOutputMode.call(void 0, );
956
+ _chunkYPYR4ACFjs.enforceSdkCompatibilityResponse.call(void 0, policy, {
955
957
  quietAdvisory: jsonOutput || // The queued update already says what is about to happen.
956
- _chunkL2GATUZKjs.hasDeferredAutoUpdate.call(void 0, ) || maintenance === "off" || !_chunkYWL4ULLTjs.claimUpdateAdvisory.call(void 0, baseUrl)
958
+ _chunkIJ5WCZ32js.hasDeferredAutoUpdate.call(void 0, ) || maintenance === "off" || !_chunkYPYR4ACFjs.claimUpdateAdvisory.call(void 0, baseUrl)
957
959
  });
958
960
  const advisory = compatibility.response;
959
- if (jsonOutput && advisory && (advisory.status === "deprecated" || advisory.status === "update_available") && !_chunkYWL4ULLTjs.isCiEnvironment.call(void 0, ) && !_chunkL2GATUZKjs.hasDeferredAutoUpdate.call(void 0, )) {
960
- _chunkZKGK2JU3js.addJsonNotice.call(void 0, { code: advisory.status, message: advisory.message });
961
+ if (jsonOutput && advisory && (advisory.status === "deprecated" || advisory.status === "update_available") && !_chunkYPYR4ACFjs.isCiEnvironment.call(void 0, ) && !_chunkIJ5WCZ32js.hasDeferredAutoUpdate.call(void 0, )) {
962
+ _chunkSJH66N73js.addJsonNotice.call(void 0, { code: advisory.status, message: advisory.message });
961
963
  }
962
964
  return {
963
965
  shouldContinue: true,
@@ -974,10 +976,10 @@ Exit codes:
974
976
  const skillsUpdate = startup.response && Object.prototype.hasOwnProperty.call(startup.response, "skills") ? _nullishCoalesce(startup.response.skills, () => ( null)) : void 0;
975
977
  await runStartupStage(
976
978
  "agent skills sync",
977
- () => _chunk2VERHTKOjs.traceCliSpan.call(void 0,
979
+ () => _chunkQLMQ2NAQjs.traceCliSpan.call(void 0,
978
980
  "cli.sdk_skills_sync",
979
981
  { baseUrl: startup.baseUrl },
980
- () => _chunkYWL4ULLTjs.syncSdkSkillsIfNeeded.call(void 0, startup.baseUrl, {
982
+ () => _chunkYPYR4ACFjs.syncSdkSkillsIfNeeded.call(void 0, startup.baseUrl, {
981
983
  update: skillsUpdate,
982
984
  mode: "detached"
983
985
  })
@@ -986,19 +988,19 @@ Exit codes:
986
988
  }
987
989
  });
988
990
  const requestedCommand = process.argv[2];
989
- const commandRegistrationStartedAt = _chunk2VERHTKOjs.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
991
+ const commandRegistrationStartedAt = _chunkQLMQ2NAQjs.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
990
992
  await registerDeeplineCommandGroups(
991
993
  program,
992
994
  !requestedCommand || requestedCommand === "help" || requestedCommand.startsWith("-") && !["-v", "--version"].includes(requestedCommand) ? void 0 : requestedCommand
993
995
  );
994
996
  if (commandRegistrationStartedAt !== void 0) {
995
- _chunk2VERHTKOjs.recordCliTrace.call(void 0, {
997
+ _chunkQLMQ2NAQjs.recordCliTrace.call(void 0, {
996
998
  phase: "cli.command_registration",
997
999
  ms: performance.now() - commandRegistrationStartedAt
998
1000
  });
999
1001
  }
1000
1002
  const { preflight, health, version } = registerDeeplineInlineCommands(program);
1001
- if (_chunkZKGK2JU3js.isJsonOutputMode.call(void 0, )) silenceCommanderErrorOutput(program);
1003
+ if (_chunkSJH66N73js.isJsonOutputMode.call(void 0, )) silenceCommanderErrorOutput(program);
1002
1004
  preflight.addHelpText(
1003
1005
  "after",
1004
1006
  `
@@ -1013,8 +1015,8 @@ Examples:
1013
1015
  `
1014
1016
  ).action(async (options) => {
1015
1017
  const data = await runPreflightCheck();
1016
- if (_chunkZKGK2JU3js.shouldEmitJson.call(void 0, options.json)) {
1017
- _chunkZKGK2JU3js.printJson.call(void 0, data);
1018
+ if (_chunkSJH66N73js.shouldEmitJson.call(void 0, options.json)) {
1019
+ _chunkSJH66N73js.printJson.call(void 0, data);
1018
1020
  } else {
1019
1021
  printPreflightHuman(data);
1020
1022
  }
@@ -1036,7 +1038,7 @@ Examples:
1036
1038
  ).action(async (options) => {
1037
1039
  if (options.playRunner) {
1038
1040
  const data = await runPlayRunnerHealthCheck();
1039
- _chunkZKGK2JU3js.printCommandEnvelope.call(void 0, data, {
1041
+ _chunkSJH66N73js.printCommandEnvelope.call(void 0, data, {
1040
1042
  json: options.json,
1041
1043
  text: `play runner: ${data.playRunner.status} (${data.playRunner.check})
1042
1044
  `
@@ -1044,15 +1046,15 @@ Examples:
1044
1046
  return;
1045
1047
  }
1046
1048
  try {
1047
- const { httpJson, readStatusBanner, statusBannerLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-36DQP46D.js")));
1048
- const baseUrl = _chunkETFVH7POjs.resolveBaseUrlOnly.call(void 0, );
1049
+ const { httpJson, readStatusBanner, statusBannerLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-GUZWKNXM.js")));
1050
+ const baseUrl = _chunkVXBEHDM6js.resolveBaseUrlOnly.call(void 0, );
1049
1051
  const [{ status, data }, banner] = await Promise.all([
1050
1052
  httpJson("GET", `${baseUrl}/api/v2/health`, null),
1051
1053
  readStatusBanner(baseUrl)
1052
1054
  ]);
1053
1055
  if (status !== 200) throw new Error(`HTTP ${status}`);
1054
1056
  const lines = [`${baseUrl}: ${data.status}`, statusBannerLine(banner)];
1055
- _chunkZKGK2JU3js.printCommandEnvelope.call(void 0,
1057
+ _chunkSJH66N73js.printCommandEnvelope.call(void 0,
1056
1058
  { ...data, status_banner: banner },
1057
1059
  {
1058
1060
  json: options.json,
@@ -1080,16 +1082,16 @@ Examples:
1080
1082
  `
1081
1083
  ).action((options) => {
1082
1084
  if (options.json) {
1083
- _chunkZKGK2JU3js.printCompactJson.call(void 0, { version: _chunkETFVH7POjs.SDK_VERSION });
1085
+ _chunkSJH66N73js.printCompactJson.call(void 0, { version: _chunkVXBEHDM6js.SDK_VERSION });
1084
1086
  return;
1085
1087
  }
1086
- process.stdout.write(`deepline ${_chunkETFVH7POjs.SDK_VERSION}
1088
+ process.stdout.write(`deepline ${_chunkVXBEHDM6js.SDK_VERSION}
1087
1089
  `);
1088
1090
  });
1089
1091
  if (process.argv.slice(2).length === 0) {
1090
1092
  program.outputHelp({ error: true });
1091
1093
  console.error("\nerror: missing command (see usage above)");
1092
- _chunk2VERHTKOjs.recordCliTrace.call(void 0, {
1094
+ _chunkQLMQ2NAQjs.recordCliTrace.call(void 0, {
1093
1095
  phase: "cli.main_total",
1094
1096
  ms: Date.now() - mainStartedAt,
1095
1097
  ok: false,
@@ -1101,16 +1103,16 @@ Examples:
1101
1103
  const requestedTopLevelCommand = _nullishCoalesce(process.argv.slice(2)[0], () => ( ""));
1102
1104
  if (!topLevelCommandKnown(program, requestedTopLevelCommand)) {
1103
1105
  const unknownCommandMessage = `error: unknown command '${requestedTopLevelCommand}'`;
1104
- if (!_chunkZKGK2JU3js.isJsonOutputMode.call(void 0, )) console.error(unknownCommandMessage);
1105
- const baseUrl = _chunkETFVH7POjs.autoDetectBaseUrl.call(void 0, );
1106
+ if (!_chunkSJH66N73js.isJsonOutputMode.call(void 0, )) console.error(unknownCommandMessage);
1107
+ const baseUrl = _chunkVXBEHDM6js.autoDetectBaseUrl.call(void 0, );
1106
1108
  await ensureTransport();
1107
1109
  const versionHint = await newerCliCommandHint(
1108
1110
  baseUrl,
1109
1111
  requestedTopLevelCommand
1110
1112
  );
1111
- if (_chunkZKGK2JU3js.isJsonOutputMode.call(void 0, )) {
1113
+ if (_chunkSJH66N73js.isJsonOutputMode.call(void 0, )) {
1112
1114
  if (versionHint) {
1113
- _chunkZKGK2JU3js.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
1115
+ _chunkSJH66N73js.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
1114
1116
  }
1115
1117
  printUsageErrorJson(
1116
1118
  "commander.unknownCommand",
@@ -1132,32 +1134,32 @@ Examples:
1132
1134
  const helpArgs = process.argv.slice(2);
1133
1135
  const helpPositionals = helpArgs.filter((arg) => !arg.startsWith("-"));
1134
1136
  if (helpPositionals.length === 0 ? helpArgs.includes("--help") || helpArgs.includes("-h") : helpPositionals.length === 1 && helpPositionals[0] === "help") {
1135
- const { authStatusLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-36DQP46D.js")));
1136
- rootHelpStatus = `Version: ${_chunkETFVH7POjs.SDK_VERSION}
1137
+ const { authStatusLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-GUZWKNXM.js")));
1138
+ rootHelpStatus = `Version: ${_chunkVXBEHDM6js.SDK_VERSION}
1137
1139
  ${await authStatusLine()}
1138
1140
  `;
1139
1141
  }
1140
1142
  await program.parseAsync(process.argv);
1141
- _chunk2VERHTKOjs.recordCliTrace.call(void 0, {
1143
+ _chunkQLMQ2NAQjs.recordCliTrace.call(void 0, {
1142
1144
  phase: "cli.main_total",
1143
1145
  ms: Date.now() - mainStartedAt,
1144
1146
  ok: true
1145
1147
  });
1146
- await _chunkYWL4ULLTjs.maybeReportSdkCliFailure.call(void 0, {
1148
+ await _chunkYPYR4ACFjs.maybeReportSdkCliFailure.call(void 0, {
1147
1149
  argv: process.argv.slice(2),
1148
1150
  startedAtMs: mainStartedAt,
1149
1151
  exitCode: typeof process.exitCode === "number" ? process.exitCode : null
1150
1152
  });
1151
1153
  } catch (error) {
1152
1154
  const commanderError = asCommanderError(error);
1153
- _chunk2VERHTKOjs.recordCliTrace.call(void 0, {
1155
+ _chunkQLMQ2NAQjs.recordCliTrace.call(void 0, {
1154
1156
  phase: "cli.main_total",
1155
1157
  ms: Date.now() - mainStartedAt,
1156
1158
  ok: false,
1157
1159
  error: error instanceof Error ? error.message : String(error)
1158
1160
  });
1159
1161
  _optionalChain([progress, 'optionalAccess', _20 => _20.fail, 'call', _21 => _21()]);
1160
- const wantsJson = _chunkZKGK2JU3js.isJsonOutputMode.call(void 0, );
1162
+ const wantsJson = _chunkSJH66N73js.isJsonOutputMode.call(void 0, );
1161
1163
  if (commanderError) {
1162
1164
  const grammarError = [
1163
1165
  "commander.unknownCommand",
@@ -1168,12 +1170,12 @@ ${await authStatusLine()}
1168
1170
  if (grammarError) {
1169
1171
  await ensureTransport();
1170
1172
  const versionHint = await newerCliCommandHint(
1171
- _chunkETFVH7POjs.autoDetectBaseUrl.call(void 0, ),
1173
+ _chunkVXBEHDM6js.autoDetectBaseUrl.call(void 0, ),
1172
1174
  commandPath
1173
1175
  );
1174
1176
  if (wantsJson) {
1175
1177
  if (versionHint) {
1176
- _chunkZKGK2JU3js.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
1178
+ _chunkSJH66N73js.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
1177
1179
  }
1178
1180
  } else {
1179
1181
  if (versionHint) console.error(versionHint);
@@ -1193,49 +1195,49 @@ ${await authStatusLine()}
1193
1195
  return;
1194
1196
  } else if (wantsJson) {
1195
1197
  if (error instanceof _chunkALJJRZNJjs.AuthError) {
1196
- _chunkZKGK2JU3js.addJsonNotice.call(void 0, {
1198
+ _chunkSJH66N73js.addJsonNotice.call(void 0, {
1197
1199
  code: "auth_required",
1198
1200
  message: `Not authenticated. Run: ${AUTH_RECOVERY_COMMAND}`
1199
1201
  });
1200
1202
  }
1201
- const providerConcurrency = _chunkZKGK2JU3js.formatProviderConcurrencyDiagnostic.call(void 0, error);
1203
+ const providerConcurrency = _chunkSJH66N73js.formatProviderConcurrencyDiagnostic.call(void 0, error);
1202
1204
  if (providerConcurrency) {
1203
- _chunkZKGK2JU3js.addJsonNotice.call(void 0, {
1205
+ _chunkSJH66N73js.addJsonNotice.call(void 0, {
1204
1206
  code: "provider_concurrency",
1205
1207
  message: providerConcurrency
1206
1208
  });
1207
1209
  }
1208
- _chunkZKGK2JU3js.printJson.call(void 0, {
1209
- ..._chunkZKGK2JU3js.errorToJsonPayload.call(void 0, error),
1210
+ _chunkSJH66N73js.printJson.call(void 0, {
1211
+ ..._chunkSJH66N73js.errorToJsonPayload.call(void 0, error),
1210
1212
  ...error instanceof _chunkALJJRZNJjs.AuthError ? { next: AUTH_RECOVERY_COMMAND } : {}
1211
1213
  });
1212
1214
  } else if (error instanceof Error) {
1213
1215
  console.error(`Error: ${error.message}`);
1214
- const toolDiagnostic = _chunkZKGK2JU3js.formatToolExecutionErrorDiagnostic.call(void 0, error);
1216
+ const toolDiagnostic = _chunkSJH66N73js.formatToolExecutionErrorDiagnostic.call(void 0, error);
1215
1217
  if (toolDiagnostic) console.error(toolDiagnostic);
1216
1218
  if (error instanceof _chunkALJJRZNJjs.AuthError) {
1217
1219
  console.error(`Not authenticated. Run: ${AUTH_RECOVERY_COMMAND}`);
1218
1220
  }
1219
- const providerConcurrency = _chunkZKGK2JU3js.formatProviderConcurrencyDiagnostic.call(void 0, error);
1221
+ const providerConcurrency = _chunkSJH66N73js.formatProviderConcurrencyDiagnostic.call(void 0, error);
1220
1222
  if (providerConcurrency) console.error(providerConcurrency);
1221
1223
  } else {
1222
1224
  console.error(`Error: ${String(error)}`);
1223
1225
  }
1224
1226
  const explicitExitCode = error && typeof error === "object" && typeof error.exitCode === "number" ? error.exitCode : void 0;
1225
- const failureExitCode = _nullishCoalesce(explicitExitCode, () => ( _chunkYWL4ULLTjs.resolveSdkCliFailureExitCode.call(void 0, error)));
1227
+ const failureExitCode = _nullishCoalesce(explicitExitCode, () => ( _chunkYPYR4ACFjs.resolveSdkCliFailureExitCode.call(void 0, error)));
1226
1228
  process.exitCode = failureExitCode;
1227
- await _chunkYWL4ULLTjs.maybeReportSdkCliFailure.call(void 0, {
1229
+ await _chunkYPYR4ACFjs.maybeReportSdkCliFailure.call(void 0, {
1228
1230
  argv: process.argv.slice(2),
1229
1231
  startedAtMs: mainStartedAt,
1230
1232
  exitCode: failureExitCode,
1231
1233
  error
1232
1234
  });
1233
1235
  } finally {
1234
- _chunkL2GATUZKjs.finishToolExecuteCommand.call(void 0, );
1236
+ _chunkIJ5WCZ32js.finishToolExecuteCommand.call(void 0, );
1235
1237
  const maintainInlinePlay = deferredMaintenance.inlinePlay;
1236
1238
  deferredMaintenance.inlinePlay = null;
1237
1239
  await _optionalChain([maintainInlinePlay, 'optionalCall', _22 => _22()]);
1238
- await _chunkL2GATUZKjs.runDeferredAutoUpdate.call(void 0, );
1240
+ await _chunkIJ5WCZ32js.runDeferredAutoUpdate.call(void 0, );
1239
1241
  }
1240
1242
  process.exitCode = _nullishCoalesce(process.exitCode, () => ( 0));
1241
1243
  }
@@ -1243,7 +1245,7 @@ async function main() {
1243
1245
  let disposeTransport;
1244
1246
  const ensureTransport = async () => {
1245
1247
  if (disposeTransport) return;
1246
- const transportStartedAt = _chunk2VERHTKOjs.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
1248
+ const transportStartedAt = _chunkQLMQ2NAQjs.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
1247
1249
  const hasProxy = [
1248
1250
  "HTTP_PROXY",
1249
1251
  "http_proxy",
@@ -1255,7 +1257,7 @@ async function main() {
1255
1257
  disposeTransport = configureCliTransport();
1256
1258
  }
1257
1259
  if (transportStartedAt !== void 0) {
1258
- _chunk2VERHTKOjs.recordCliTrace.call(void 0, {
1260
+ _chunkQLMQ2NAQjs.recordCliTrace.call(void 0, {
1259
1261
  phase: "cli.transport_setup",
1260
1262
  ms: performance.now() - transportStartedAt
1261
1263
  });
@@ -1272,9 +1274,9 @@ async function main() {
1272
1274
  action = dispatched;
1273
1275
  skipOutputReport = dispatched.path === "tools execute" || dispatched.path === "plays run" && process.argv.includes("--json");
1274
1276
  });
1275
- const silentFailure = _chunkZKGK2JU3js.takeSilentJsonFailureMessage.call(void 0, process.exitCode);
1277
+ const silentFailure = _chunkSJH66N73js.takeSilentJsonFailureMessage.call(void 0, process.exitCode);
1276
1278
  if (silentFailure) {
1277
- _chunkZKGK2JU3js.printJson.call(void 0, {
1279
+ _chunkSJH66N73js.printJson.call(void 0, {
1278
1280
  ok: false,
1279
1281
  exitCode: Number(process.exitCode),
1280
1282
  error: { code: "CLI_ERROR", message: silentFailure }