deepline 0.3.342 → 0.3.344

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 (105) hide show
  1. package/dist/bundling-sources/sdk/src/http.ts +9 -1
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +9 -1
  4. package/dist/bundling-sources/shared_libs/plays/csv-text-repair.ts +145 -0
  5. package/dist/bundling-sources/shared_libs/product-notifications/billing-sales.ts +2 -0
  6. package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +33 -0
  7. package/dist/bundling-sources/shared_libs/product-notifications/events.ts +15 -0
  8. package/dist/cli/auth-6ABMIWQQ.js +31 -0
  9. package/dist/cli/{auth-7GVSCIFY.mjs → auth-KHHPB2DO.mjs} +4 -4
  10. package/dist/cli/{billing-CQDTIFBF.js → billing-HAR4AJZT.js} +71 -71
  11. package/dist/cli/{billing-BVCHOOOJ.mjs → billing-RLK734WE.mjs} +4 -4
  12. package/dist/cli/{chunk-SBXCXMYT.mjs → chunk-23D4YCM6.mjs} +1 -1
  13. package/dist/cli/{chunk-4LPBIUQ2.mjs → chunk-2MSG6WCC.mjs} +2 -2
  14. package/dist/cli/{chunk-W5BMDA4F.js → chunk-475OQE7H.js} +2 -2
  15. package/dist/cli/{chunk-FT4V72RC.mjs → chunk-4DIFNYJZ.mjs} +2 -2
  16. package/dist/cli/{chunk-ECBT2RXL.mjs → chunk-BQYPKV4P.mjs} +8 -8
  17. package/dist/cli/{chunk-VZHA6YHU.mjs → chunk-CIV43IXR.mjs} +4 -4
  18. package/dist/cli/{chunk-GEGCG7MG.mjs → chunk-CMK6UNJA.mjs} +8 -8
  19. package/dist/cli/{chunk-OJH4W52K.mjs → chunk-DRHVFFMJ.mjs} +94 -6
  20. package/dist/cli/{chunk-ERC3XIUO.js → chunk-FHCBNR7M.js} +27 -28
  21. package/dist/cli/{chunk-BIA27ZNI.mjs → chunk-GJYCHN2L.mjs} +2 -2
  22. package/dist/cli/{chunk-G6TM2GK2.mjs → chunk-J5NN6XCF.mjs} +5 -1
  23. package/dist/cli/{chunk-B2PMPAIJ.js → chunk-J5P35NOT.js} +60 -60
  24. package/dist/cli/{chunk-K2P365R2.js → chunk-JXCEXXKW.js} +57 -67
  25. package/dist/cli/{chunk-5Y2DDT5K.js → chunk-LELCMU5K.js} +26 -26
  26. package/dist/cli/{chunk-IDTUEEF4.mjs → chunk-M5FYGL42.mjs} +1 -1
  27. package/dist/cli/{chunk-DP2XSXRA.js → chunk-MQIHCQ5Z.js} +8 -8
  28. package/dist/cli/{chunk-3BY3UMYO.js → chunk-QO6T7ETF.js} +15 -15
  29. package/dist/cli/{chunk-GAQGAH34.mjs → chunk-QZMF7VDU.mjs} +22 -23
  30. package/dist/cli/{chunk-AC7QCWXV.mjs → chunk-RN7NIZIL.mjs} +1 -1
  31. package/dist/cli/{chunk-3BGGXEO5.js → chunk-SJIF45BK.js} +8 -4
  32. package/dist/cli/{chunk-KM3JYG56.js → chunk-TYPYDSNY.js} +9 -9
  33. package/dist/cli/{chunk-4EW5CMVL.js → chunk-UWV3BA43.js} +227 -227
  34. package/dist/cli/{chunk-DL5YQFZ6.js → chunk-VL5IYXS3.js} +112 -24
  35. package/dist/cli/{chunk-XAMWA45P.mjs → chunk-XRZUDK6O.mjs} +11 -21
  36. package/dist/cli/{chunk-KYHNFT7T.js → chunk-Y6PJVWDY.js} +1 -1
  37. package/dist/cli/{chunk-LQGHKRNZ.js → chunk-ZUHK5OX3.js} +48 -48
  38. package/dist/cli/{client-UMFL6LP2.mjs → client-JWDU663V.mjs} +3 -3
  39. package/dist/cli/client-KETSZR46.js +20 -0
  40. package/dist/cli/{csv-HYZKDWVL.js → csv-7AW5GZ4K.js} +12 -12
  41. package/dist/cli/{csv-EFHLVMV2.mjs → csv-CIAWYPZO.mjs} +3 -3
  42. package/dist/cli/{db-GVC55S5W.mjs → db-SX73JJBH.mjs} +4 -4
  43. package/dist/cli/{db-RPWOYGIJ.js → db-UENUIWQN.js} +29 -29
  44. package/dist/cli/{describe-X5WLZXOS.mjs → describe-4SC5G2FG.mjs} +8 -8
  45. package/dist/cli/{describe-EPNNEVZG.js → describe-7OGZQAGF.js} +15 -15
  46. package/dist/cli/{executions-MEQFDGRU.js → executions-UDXQNB34.js} +6 -6
  47. package/dist/cli/{executions-MPEF66XO.mjs → executions-YB4IAUTW.mjs} +4 -4
  48. package/dist/cli/{feedback-SCZSITXP.js → feedback-5SGAGRAW.js} +7 -7
  49. package/dist/cli/{feedback-I4UNJEHC.mjs → feedback-76QWZSW3.mjs} +3 -3
  50. package/dist/cli/git-4PRJV7B3.js +23 -0
  51. package/dist/cli/{git-5H4ZVTTV.mjs → git-ESESPEVB.mjs} +4 -4
  52. package/dist/cli/index.js +80 -80
  53. package/dist/cli/index.mjs +32 -32
  54. package/dist/cli/{legacy-noops-326HSG4F.mjs → legacy-noops-6F6QSRDB.mjs} +4 -4
  55. package/dist/cli/{legacy-noops-BH6IRSKQ.js → legacy-noops-E74OIJCW.js} +7 -7
  56. package/dist/cli/{monitors-SIXPXBKU.js → monitors-4MIXICCR.js} +85 -85
  57. package/dist/cli/{monitors-AZ64IIUO.mjs → monitors-USOHPXUY.mjs} +4 -4
  58. package/dist/cli/{org-2FAU4GBK.mjs → org-2RRIFNXJ.mjs} +4 -4
  59. package/dist/cli/{org-4VX6L3SZ.js → org-DO3Q6L7S.js} +60 -60
  60. package/dist/cli/{play-7VQABXW7.mjs → play-KAXYPLCQ.mjs} +7 -7
  61. package/dist/cli/play-SHRBJAO4.js +153 -0
  62. package/dist/cli/{providers-DOFRWRDC.mjs → providers-FKHLPGQO.mjs} +4 -4
  63. package/dist/cli/{providers-WWEGDKWO.js → providers-RCUITFFY.js} +7 -7
  64. package/dist/cli/{quickstart-JXN53CUE.mjs → quickstart-CDBWA6IK.mjs} +3 -3
  65. package/dist/cli/{quickstart-64NWQZXP.js → quickstart-XGU4M4Z5.js} +5 -5
  66. package/dist/cli/{search-NREYIQO7.mjs → search-QA4DAJPS.mjs} +5 -5
  67. package/dist/cli/search-ZHYH2BA3.js +26 -0
  68. package/dist/cli/{secrets-LO2S3ASQ.mjs → secrets-6S2CDL2M.mjs} +4 -4
  69. package/dist/cli/{secrets-FGZSIICG.js → secrets-KYKXEHNR.js} +13 -13
  70. package/dist/cli/{sessions-VOLIMKDL.js → sessions-PWAIUF7I.js} +5 -5
  71. package/dist/cli/{sessions-FYHXMESN.mjs → sessions-WGLVMQYC.mjs} +4 -4
  72. package/dist/cli/{settings-EYQHZTCR.js → settings-CNWO5VFJ.js} +74 -74
  73. package/dist/cli/{settings-WABX7ZVG.mjs → settings-FQ5CWYNQ.mjs} +7 -7
  74. package/dist/cli/{setup-7H5EAAZK.js → setup-ABIO2LJD.js} +41 -41
  75. package/dist/cli/{setup-JVECE4TU.mjs → setup-RRT66ENS.mjs} +6 -6
  76. package/dist/cli/{skills-BEVLJDUH.mjs → skills-3LY2RQE3.mjs} +4 -4
  77. package/dist/cli/skills-OBTT3OF7.js +28 -0
  78. package/dist/cli/tools-DMXHSMU2.js +40 -0
  79. package/dist/cli/{tools-5D32S2CY.mjs → tools-TQMHPW3U.mjs} +6 -6
  80. package/dist/cli/update-4CK752WQ.js +28 -0
  81. package/dist/cli/{update-EMNDLIDA.mjs → update-6U4ASVZX.mjs} +6 -6
  82. package/dist/cli/{workflow-BBMZ2A2Y.js → workflow-GVXAFVXF.js} +15 -15
  83. package/dist/cli/{workflow-MMTSJB3D.mjs → workflow-XLE4N3W3.mjs} +5 -5
  84. package/dist/{client-B-hjM1NX.d.mts → client-BHReRdWK.d.mts} +41 -0
  85. package/dist/{client-txa3om01.d.ts → client-DW3zASj8.d.ts} +41 -0
  86. package/dist/index.d.mts +2 -2
  87. package/dist/index.d.ts +2 -2
  88. package/dist/index.js +6 -6
  89. package/dist/index.mjs +3 -3
  90. package/dist/install-integrity.json +77 -76
  91. package/dist/plays/run-request.d.mts +1 -1
  92. package/dist/plays/run-request.d.ts +1 -1
  93. package/dist/release.d.mts +1 -1
  94. package/dist/release.d.ts +1 -1
  95. package/dist/release.js +2 -2
  96. package/dist/release.mjs +1 -1
  97. package/package.json +1 -1
  98. package/dist/cli/auth-BFOCE76P.js +0 -31
  99. package/dist/cli/client-FCOLYBLU.js +0 -20
  100. package/dist/cli/git-YA73D6HG.js +0 -23
  101. package/dist/cli/play-SDZWMYJM.js +0 -153
  102. package/dist/cli/search-VKOBBQAN.js +0 -26
  103. package/dist/cli/skills-4WHWKCUN.js +0 -28
  104. package/dist/cli/tools-SGLGLR2H.js +0 -40
  105. package/dist/cli/update-HRB4G5LS.js +0 -28
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunk3BGGXEO5js = require('./chunk-3BGGXEO5.js');
6
+ var _chunkSJIF45BKjs = require('./chunk-SJIF45BK.js');
7
7
 
8
8
 
9
9
  var _chunk7P5AA3SNjs = require('./chunk-7P5AA3SN.js');
@@ -131,20 +131,109 @@ var _os = require('os');
131
131
  var _path = require('path');
132
132
  var _child_process = require('child_process'); var childProcess = _interopRequireWildcard(_child_process);
133
133
  var _sync = require('csv-parse/sync');
134
+
135
+ // ../plays/csv-text-repair.ts
136
+ var CP1252_HIGH_TO_BYTE = /* @__PURE__ */ new Map([
137
+ [8364, 128],
138
+ [8218, 130],
139
+ [402, 131],
140
+ [8222, 132],
141
+ [8230, 133],
142
+ [8224, 134],
143
+ [8225, 135],
144
+ [710, 136],
145
+ [8240, 137],
146
+ [352, 138],
147
+ [8249, 139],
148
+ [338, 140],
149
+ [381, 142],
150
+ [8216, 145],
151
+ [8217, 146],
152
+ [8220, 147],
153
+ [8221, 148],
154
+ [8226, 149],
155
+ [8211, 150],
156
+ [8212, 151],
157
+ [732, 152],
158
+ [8482, 153],
159
+ [353, 154],
160
+ [8250, 155],
161
+ [339, 156],
162
+ [382, 158],
163
+ [376, 159]
164
+ ]);
165
+ var MAC_ROMAN_HIGH = "\xC4\xC5\xC7\xC9\xD1\xD6\xDC\xE1\xE0\xE2\xE4\xE3\xE5\xE7\xE9\xE8\xEA\xEB\xED\xEC\xEE\xEF\xF1\xF3\xF2\xF4\xF6\xF5\xFA\xF9\xFB\xFC\u2020\xB0\xA2\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\xB4\xA8\u2260\xC6\xD8\u221E\xB1\u2264\u2265\xA5\xB5\u2202\u2211\u220F\u03C0\u222B\xAA\xBA\u03A9\xE6\xF8\xBF\xA1\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\xC0\xC3\xD5\u0152\u0153\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\xFF\u0178\u2044\u20AC\u2039\u203A\uFB01\uFB02\u2021\xB7\u201A\u201E\u2030\xC2\xCA\xC1\xCB\xC8\xCD\xCE\xCF\xCC\xD3\xD4\uF8FF\xD2\xDA\xDB\xD9\u0131\u02C6\u02DC\xAF\u02D8\u02D9\u02DA\xB8\u02DD\u02DB\u02C7";
166
+ var MAC_ROMAN_TO_BYTE = new Map(
167
+ [...MAC_ROMAN_HIGH].map((ch, i) => [ch.codePointAt(0), 128 + i])
168
+ );
169
+ var STRICT_UTF8 = new TextDecoder("utf-8", { fatal: true });
170
+ function cp1252Byte(code) {
171
+ if (code < 256) return code;
172
+ return _nullishCoalesce(CP1252_HIGH_TO_BYTE.get(code), () => ( null));
173
+ }
174
+ function macRomanByte(code) {
175
+ if (code < 128) return code;
176
+ return _nullishCoalesce(MAC_ROMAN_TO_BYTE.get(code), () => ( null));
177
+ }
178
+ function decodeAs(run, toByte) {
179
+ const bytes = new Uint8Array(run.length);
180
+ let i = 0;
181
+ for (const ch of run) {
182
+ const byte = toByte(ch.codePointAt(0));
183
+ if (byte === null) return null;
184
+ bytes[i++] = byte;
185
+ }
186
+ if (!bytes.subarray(0, i).some((b) => b >= 194 && b <= 244)) return null;
187
+ try {
188
+ return STRICT_UTF8.decode(bytes.subarray(0, i));
189
+ } catch (e) {
190
+ return null;
191
+ }
192
+ }
193
+ var NON_ASCII_RUN = /[^\u0000-\u007f]+/g;
194
+ function repairMisdecodedText(value) {
195
+ if (!/[^\u0000-\u007f]/.test(value)) return value;
196
+ let changed = false;
197
+ const repaired = value.replace(NON_ASCII_RUN, (run) => {
198
+ const fixed = _nullishCoalesce(decodeAs(run, cp1252Byte), () => ( decodeAs(run, macRomanByte)));
199
+ if (fixed === null || fixed === run) return run;
200
+ changed = true;
201
+ return fixed;
202
+ });
203
+ return changed ? repaired : value;
204
+ }
205
+ function repairRecordText(record) {
206
+ for (const key of Object.keys(record)) {
207
+ const value = record[key];
208
+ if (typeof value === "string") {
209
+ record[key] = repairMisdecodedText(value);
210
+ }
211
+ }
212
+ return record;
213
+ }
214
+ function csvInputTextOptions() {
215
+ return {
216
+ bom: true,
217
+ columns: (header) => header.map(repairMisdecodedText),
218
+ on_record: repairRecordText
219
+ };
220
+ }
221
+
222
+ // src/cli/utils.ts
134
223
  var _sync3 = require('csv-stringify/sync');
135
224
  var BROWSER_OPEN_COOLDOWN_MS = 3e4;
136
225
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
137
226
  var defaultBrowserCommandRunner = childProcess;
138
227
  function getAuthedHttpClient() {
139
- const config = _chunk3BGGXEO5js.resolveConfig.call(void 0, );
140
- return { config, http: new (0, _chunk3BGGXEO5js.HttpClient)(config) };
228
+ const config = _chunkSJIF45BKjs.resolveConfig.call(void 0, );
229
+ return { config, http: new (0, _chunkSJIF45BKjs.HttpClient)(config) };
141
230
  }
142
231
  function stableOsUserId() {
143
232
  try {
144
233
  const info = _os.userInfo.call(void 0, );
145
234
  if (typeof info.uid === "number") return `uid-${info.uid}`;
146
235
  if (info.username) return `user-${info.username}`;
147
- } catch (e) {
236
+ } catch (e2) {
148
237
  }
149
238
  return "unknown-user";
150
239
  }
@@ -171,7 +260,7 @@ function claimBrowserOpen(now = Date.now(), stateDir, targetUrl) {
171
260
  try {
172
261
  _fs.mkdirSync.call(void 0, lockPath, { mode: 448 });
173
262
  locked = true;
174
- } catch (e2) {
263
+ } catch (e3) {
175
264
  return false;
176
265
  }
177
266
  let lastOpenedAt = 0;
@@ -200,7 +289,7 @@ function claimBrowserOpen(now = Date.now(), stateDir, targetUrl) {
200
289
  { encoding: "utf-8", mode: 384 }
201
290
  );
202
291
  return true;
203
- } catch (e3) {
292
+ } catch (e4) {
204
293
  return true;
205
294
  } finally {
206
295
  if (locked) {
@@ -212,7 +301,7 @@ function extractUrlHost(raw) {
212
301
  try {
213
302
  const parsed = new URL(raw.includes("://") ? raw : `https://${raw}`);
214
303
  return parsed.port ? `${parsed.hostname.toLowerCase()}:${parsed.port}` : parsed.hostname.toLowerCase();
215
- } catch (e4) {
304
+ } catch (e5) {
216
305
  return "";
217
306
  }
218
307
  }
@@ -233,7 +322,7 @@ function browserAppNameFromBundleId(bundleId) {
233
322
  function currentOsUsername() {
234
323
  try {
235
324
  return _os.userInfo.call(void 0, ).username || "";
236
- } catch (e5) {
325
+ } catch (e6) {
237
326
  return "";
238
327
  }
239
328
  }
@@ -249,7 +338,7 @@ function readMacosUserHome(runner = defaultBrowserCommandRunner) {
249
338
  const match = String(output).match(/NFSHomeDirectory:\s*(.+)\s*$/m);
250
339
  const home = _optionalChain([match, 'optionalAccess', _ => _[1], 'optionalAccess', _2 => _2.trim, 'call', _3 => _3()]);
251
340
  if (home) return home;
252
- } catch (e6) {
341
+ } catch (e7) {
253
342
  }
254
343
  }
255
344
  return _os.homedir.call(void 0, );
@@ -283,7 +372,7 @@ function readDefaultMacBrowserBundleId(runner = defaultBrowserCommandRunner) {
283
372
  return "";
284
373
  };
285
374
  return pickBundle("https") || pickBundle("http");
286
- } catch (e7) {
375
+ } catch (e8) {
287
376
  return "";
288
377
  }
289
378
  }
@@ -399,7 +488,7 @@ function hasOnlyHeadlessMacosBrowserInstances(appName, runner = defaultBrowserCo
399
488
  return lines.every(
400
489
  (line) => line.includes("--headless") || line.includes("--no-startup-window")
401
490
  );
402
- } catch (e8) {
491
+ } catch (e9) {
403
492
  return false;
404
493
  }
405
494
  }
@@ -413,7 +502,7 @@ function openNewVisibleMacosBrowserInstance(appName, targetUrl, runner = default
413
502
  }
414
503
  );
415
504
  return true;
416
- } catch (e9) {
505
+ } catch (e10) {
417
506
  return false;
418
507
  }
419
508
  }
@@ -435,7 +524,7 @@ function openUrlMacos(targetUrl, allowFocus, runner = defaultBrowserCommandRunne
435
524
  stdio: "ignore"
436
525
  });
437
526
  return true;
438
- } catch (e10) {
527
+ } catch (e11) {
439
528
  return false;
440
529
  }
441
530
  }
@@ -464,7 +553,7 @@ function openInBrowser(url, options = {}) {
464
553
  }
465
554
  childProcess.execFileSync("xdg-open", [targetUrl], { stdio: "ignore" });
466
555
  return "opened";
467
- } catch (e11) {
556
+ } catch (e12) {
468
557
  return "failed";
469
558
  }
470
559
  }
@@ -477,7 +566,7 @@ function collectLocalEnvInfo() {
477
566
  os: `${process.platform} ${process.arch}`,
478
567
  node_version: process.version,
479
568
  home_dir: homeDir,
480
- agent_runtime: _chunk3BGGXEO5js.detectAgentRuntime.call(void 0, )
569
+ agent_runtime: _chunkSJIF45BKjs.detectAgentRuntime.call(void 0, )
481
570
  };
482
571
  const env = process.env;
483
572
  const optional = {
@@ -504,11 +593,10 @@ function collectLocalEnvInfo() {
504
593
  function readCsvRows(csvPath) {
505
594
  const raw = _fs.readFileSync.call(void 0, _path.resolve.call(void 0, csvPath), "utf-8");
506
595
  return _sync.parse.call(void 0, raw, {
507
- // `csv-parse` otherwise treats a BOM before an opening quote as a field
508
- // value, then rejects the quote as invalid. A UTF-8 BOM is a valid file
509
- // prefix and must not become part of the first column name either.
510
- bom: true,
511
- columns: true,
596
+ // Strips the UTF-8 BOM (`csv-parse` otherwise treats one before an opening
597
+ // quote as a field value) and repairs mis-decoded UTF-8 in headers and
598
+ // cells, matching what the Play runtime does with the same file.
599
+ ...csvInputTextOptions(),
512
600
  skip_empty_lines: true
513
601
  });
514
602
  }
@@ -576,7 +664,7 @@ function csvSafeJsonString(value) {
576
664
  try {
577
665
  const serialized = JSON.stringify(value, csvSafeJsonReplacer);
578
666
  return _nullishCoalesce(serialized, () => ( null));
579
- } catch (e12) {
667
+ } catch (e13) {
580
668
  return String(value);
581
669
  }
582
670
  }
@@ -590,7 +678,7 @@ function parseMaybeJsonObject(value) {
590
678
  }
591
679
  try {
592
680
  return JSON.parse(trimmed);
593
- } catch (e13) {
681
+ } catch (e14) {
594
682
  return value;
595
683
  }
596
684
  }
@@ -725,9 +813,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
725
813
  }
726
814
  function withAgentCommandContext(value) {
727
815
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
728
- return _chunk3BGGXEO5js.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
816
+ return _chunkSJIF45BKjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
729
817
  ...valueRecord,
730
- command_context: _chunk3BGGXEO5js.resolveCliCommandContext.call(void 0, )
818
+ command_context: _chunkSJIF45BKjs.resolveCliCommandContext.call(void 0, )
731
819
  } : value;
732
820
  }
733
821
  function printJson(value, fields) {
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-OJH4W52K.mjs";
5
+ } from "./chunk-DRHVFFMJ.mjs";
6
6
  import {
7
7
  ACTIVE_ORG_ID_ENV,
8
8
  ACTIVE_ORG_NAME_ENV,
@@ -25,7 +25,7 @@ import {
25
25
  saveHostEnvValues,
26
26
  saveProjectDeeplineEnvValues,
27
27
  storedHostApiKey
28
- } from "./chunk-G6TM2GK2.mjs";
28
+ } from "./chunk-J5NN6XCF.mjs";
29
29
 
30
30
  // src/cli/commands/auth.ts
31
31
  import {
@@ -513,7 +513,7 @@ async function handleWait(args) {
513
513
  console.log("Already connected.");
514
514
  return EXIT_OK;
515
515
  }
516
- console.error("No pending approval. Run: deepline auth register --wait no");
516
+ console.error("No pending approval. Run: deepline auth register");
517
517
  return EXIT_AUTH;
518
518
  }
519
519
  const deadline = Date.now() + timeoutSeconds * 1e3;
@@ -651,7 +651,7 @@ async function handleStatus(args) {
651
651
  ...hostStatusPayload ?? { host: baseUrl },
652
652
  status: "not connected",
653
653
  connected: false,
654
- next: "deepline auth register --wait auto && deepline auth wait",
654
+ next: "deepline auth register && deepline auth wait",
655
655
  render: {
656
656
  sections: [
657
657
  {
@@ -660,10 +660,7 @@ async function handleStatus(args) {
660
660
  }
661
661
  ],
662
662
  actions: [
663
- {
664
- label: "Register",
665
- command: "deepline auth register --wait auto"
666
- },
663
+ { label: "Register", command: "deepline auth register" },
667
664
  { label: "Wait", command: "deepline auth wait" }
668
665
  ]
669
666
  }
@@ -687,7 +684,7 @@ async function handleStatus(args) {
687
684
  ...hostStatusPayload ?? { host: baseUrl },
688
685
  status: "unauthorized",
689
686
  connected: false,
690
- next: "deepline auth register --wait auto && deepline auth wait",
687
+ next: "deepline auth register && deepline auth wait",
691
688
  render: {
692
689
  sections: [
693
690
  {
@@ -696,10 +693,7 @@ async function handleStatus(args) {
696
693
  }
697
694
  ],
698
695
  actions: [
699
- {
700
- label: "Register",
701
- command: "deepline auth register --wait auto"
702
- },
696
+ { label: "Register", command: "deepline auth register" },
703
697
  { label: "Wait", command: "deepline auth wait" }
704
698
  ]
705
699
  }
@@ -805,15 +799,11 @@ function registerAuthCommands(program) {
805
799
  `
806
800
  Common commands:
807
801
  deepline auth register
808
- deepline auth register --wait no
809
802
  deepline auth wait --timeout 300
810
803
  deepline auth status
811
804
  deepline auth status --json
812
805
 
813
806
  Notes:
814
- Registration uses --wait auto by default: it waits locally and returns after
815
- opening the approval page in Cowork. Use --wait no in CI or agent runs, then
816
- finish with deepline auth wait.
817
807
  Auth status shows the target host and active workspace without printing secrets.
818
808
  Registering again re-approves the same account; it does not change the active
819
809
  workspace. To switch, use deepline org list and deepline org set <org-id>.
@@ -831,15 +821,15 @@ Notes:
831
821
  "after",
832
822
  `
833
823
  Notes:
834
- Opens a browser approval page. --wait auto waits locally and returns after
835
- opening the approval page in Cowork.
824
+ Opens a browser approval page and waits for approval. In Cowork it prints the
825
+ link and returns; finish with deepline auth wait. Keep the default --wait auto
826
+ unless you have an explicit reason to pick another mode.
836
827
  The saved API key is scoped to the selected workspace and host.
837
828
 
838
829
  Examples:
839
830
  deepline auth register
840
831
  deepline auth register --org-name Acme --agent-name local-cli
841
- deepline auth register --wait no
842
- deepline auth register --auth-scope folder --wait no
832
+ deepline auth register --auth-scope folder
843
833
  `
844
834
  ).option(
845
835
  "--org-name <name>",
@@ -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.342",
52
+ version: "0.3.344",
53
53
  updateSummary: "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.",
54
54
  packageCapabilities: {
55
55
  updatePreferences: 1