deepline 0.3.306 → 0.3.308

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 (104) hide show
  1. package/README.md +2 -1
  2. package/dist/bundling-sources/sdk/src/client.ts +270 -11
  3. package/dist/bundling-sources/sdk/src/compat.ts +27 -9
  4. package/dist/bundling-sources/sdk/src/index.ts +35 -0
  5. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  6. package/dist/bundling-sources/shared_libs/play-runtime/batch-runtime.ts +4 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/batching-types.ts +3 -0
  8. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +46 -16
  9. package/dist/bundling-sources/shared_libs/play-runtime/fullenrich-batching.ts +24 -1
  10. package/dist/bundling-sources/shared_libs/play-runtime/run-event-query.ts +872 -0
  11. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-shared.ts +10 -5
  12. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +4 -1
  13. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +720 -19
  14. package/dist/cli/auth-LWNR7TQB.js +31 -0
  15. package/dist/cli/{auth-WTC7LCQ6.mjs → auth-ZWX4BF5K.mjs} +4 -4
  16. package/dist/cli/{billing-VQM65LVP.mjs → billing-CLV5QRFQ.mjs} +4 -4
  17. package/dist/cli/{billing-3DYTHO32.js → billing-H24FGAKE.js} +70 -70
  18. package/dist/cli/{chunk-WV64SNDV.mjs → chunk-3GIUCJAT.mjs} +1 -1
  19. package/dist/cli/{chunk-5V56XCQN.mjs → chunk-ABMGEW3C.mjs} +1 -1
  20. package/dist/cli/{chunk-UT3VLSLM.mjs → chunk-ASWZTTKT.mjs} +13 -5
  21. package/dist/cli/{chunk-FJ3DANI4.mjs → chunk-BPD7TR27.mjs} +1 -1
  22. package/dist/cli/{chunk-7XORS6WQ.mjs → chunk-CXU7ME5X.mjs} +2 -2
  23. package/dist/cli/{chunk-RODIZCGU.js → chunk-GBFIAI4L.js} +68 -60
  24. package/dist/cli/{chunk-OZIFVQRY.js → chunk-GONK2N7U.js} +1 -1
  25. package/dist/cli/{chunk-LLGF6V6I.mjs → chunk-HGI6RGHB.mjs} +653 -5
  26. package/dist/cli/{chunk-FZNO6B4W.js → chunk-IFIGQWHC.js} +6 -6
  27. package/dist/cli/{chunk-6CRUYVU7.mjs → chunk-JUAVGRD7.mjs} +4 -4
  28. package/dist/cli/{chunk-SZQPJW2L.js → chunk-O7NNH76S.js} +6 -6
  29. package/dist/cli/{chunk-2IKIG333.js → chunk-QJBJZVG6.js} +15 -4
  30. package/dist/cli/{chunk-M6HCRRV2.js → chunk-QTCFSRGC.js} +4 -4
  31. package/dist/cli/{chunk-W7ELTWDM.js → chunk-SRZ6XDX3.js} +26 -26
  32. package/dist/cli/{chunk-4PSSDZQB.mjs → chunk-T3P4NRZU.mjs} +1 -1
  33. package/dist/cli/{chunk-PHNAFCSB.js → chunk-TH3YBIJT.js} +852 -204
  34. package/dist/cli/{chunk-U37SW6IK.js → chunk-UGTYNMRX.js} +48 -48
  35. package/dist/cli/{chunk-2KR56MPF.js → chunk-WEZVPZPE.js} +2 -2
  36. package/dist/cli/{chunk-UABLQKTZ.mjs → chunk-WXLOW623.mjs} +11 -0
  37. package/dist/cli/{chunk-QDC4XTO3.mjs → chunk-XFYVL7EM.mjs} +2 -2
  38. package/dist/cli/{chunk-5HS5EEFE.mjs → chunk-XSDL3NHZ.mjs} +3 -3
  39. package/dist/cli/{chunk-MMNZ6GBT.js → chunk-YEJMVAD3.js} +6 -6
  40. package/dist/cli/{chunk-WWPI4GJI.mjs → chunk-YSZSERRZ.mjs} +1 -1
  41. package/dist/cli/{chunk-OF7QP2XX.js → chunk-ZHHF24O5.js} +15 -15
  42. package/dist/cli/client-3J76AMVE.js +20 -0
  43. package/dist/cli/{client-DCEK34D5.mjs → client-A5ILG5GT.mjs} +3 -3
  44. package/dist/cli/{csv-LXBF5UIV.mjs → csv-NZ7KAYEF.mjs} +3 -3
  45. package/dist/cli/{csv-H42JDJ6G.js → csv-VSSAAXFX.js} +12 -12
  46. package/dist/cli/{db-DP5GU4MU.js → db-ICLEBSNO.js} +20 -20
  47. package/dist/cli/{db-3O5CFLNP.mjs → db-YSAJUBLD.mjs} +4 -4
  48. package/dist/cli/{executions-QC2UZKIP.mjs → executions-MUJRAT5R.mjs} +4 -4
  49. package/dist/cli/{executions-5FFTPHEX.js → executions-XCAJB5TF.js} +6 -6
  50. package/dist/cli/{feedback-JCGE6JFW.mjs → feedback-6C7Y2SCJ.mjs} +3 -3
  51. package/dist/cli/{feedback-XAU3FI5S.js → feedback-DBZMBHZG.js} +6 -6
  52. package/dist/cli/git-2NSE4WIK.js +23 -0
  53. package/dist/cli/{git-S3Y3E2NL.mjs → git-EAH67ITA.mjs} +4 -4
  54. package/dist/cli/index.js +79 -77
  55. package/dist/cli/index.mjs +33 -31
  56. package/dist/cli/{legacy-noops-TXOUX4FX.js → legacy-noops-EJTOLTVO.js} +7 -7
  57. package/dist/cli/{legacy-noops-FQF2IRVS.mjs → legacy-noops-O5INQP6Q.mjs} +4 -4
  58. package/dist/cli/{monitors-4BQCO6B7.js → monitors-5OYO2DPJ.js} +85 -85
  59. package/dist/cli/{monitors-F3PELPSH.mjs → monitors-SBBBMUFY.mjs} +4 -4
  60. package/dist/cli/{org-VQM6OOLK.js → org-SJRPJG42.js} +60 -60
  61. package/dist/cli/{org-ER5J3ATG.mjs → org-Z7LTOL3H.mjs} +4 -4
  62. package/dist/cli/{play-B5H2RN4N.mjs → play-2JTIEOZM.mjs} +472 -55
  63. package/dist/cli/{play-WKZPAOW3.js → play-VQJ6ABZ2.js} +961 -544
  64. package/dist/cli/{providers-5TEA2FJG.js → providers-43MR5XOV.js} +7 -7
  65. package/dist/cli/{providers-6ODEAYC2.mjs → providers-MX4CV2EH.mjs} +4 -4
  66. package/dist/cli/{quickstart-GJYCNMFC.js → quickstart-A6W3HEE2.js} +5 -5
  67. package/dist/cli/{quickstart-BCYT7BCY.mjs → quickstart-Y4YLKRZ3.mjs} +3 -3
  68. package/dist/cli/{search-KKJ535OX.js → search-AMUFSAFP.js} +6 -6
  69. package/dist/cli/{search-RY547KOT.mjs → search-FRKDLJQG.mjs} +5 -5
  70. package/dist/cli/{secrets-U42ZEYIU.mjs → secrets-E4EX7O3J.mjs} +4 -4
  71. package/dist/cli/{secrets-RFGDXSEW.js → secrets-XITHKZW2.js} +13 -13
  72. package/dist/cli/{sessions-ZRTWHMIH.js → sessions-6HJFDIR2.js} +5 -5
  73. package/dist/cli/{sessions-YWEFB62D.mjs → sessions-6YXAUJII.mjs} +4 -4
  74. package/dist/cli/{settings-XUWFXIL7.js → settings-J5NRLCV2.js} +74 -74
  75. package/dist/cli/{settings-AS4U6NVP.mjs → settings-LBJSZIET.mjs} +7 -7
  76. package/dist/cli/{setup-2QPWP2FI.js → setup-2ES4CTO5.js} +41 -41
  77. package/dist/cli/{setup-2GUIV2EW.mjs → setup-75FENNVH.mjs} +6 -6
  78. package/dist/cli/skills-VLTAVA4K.js +28 -0
  79. package/dist/cli/{skills-5QS7ERVF.mjs → skills-XGZDUXW6.mjs} +4 -4
  80. package/dist/cli/{tools-PVWSGCZD.mjs → tools-2LEKXOGY.mjs} +58 -42
  81. package/dist/cli/{tools-J47LIO2H.js → tools-ZOQOGDKI.js} +111 -95
  82. package/dist/cli/update-5CZOVYQT.js +28 -0
  83. package/dist/cli/{update-KS4TRSZI.mjs → update-SNK3IN3I.mjs} +6 -6
  84. package/dist/cli/{workflow-QCLR7GVC.mjs → workflow-G7ZM3MAC.mjs} +5 -5
  85. package/dist/cli/{workflow-HQRUUTTL.js → workflow-W3AYTB3J.js} +15 -15
  86. package/dist/{client-Dj8MAkDc.d.mts → client-DpnkGBn-.d.mts} +324 -11
  87. package/dist/{client-DsrFGXJf.d.ts → client-ypdBvf1o.d.ts} +324 -11
  88. package/dist/index.d.mts +2 -2
  89. package/dist/index.d.ts +2 -2
  90. package/dist/index.js +8 -6
  91. package/dist/index.mjs +5 -3
  92. package/dist/install-integrity.json +73 -72
  93. package/dist/plays/run-request.d.mts +1 -1
  94. package/dist/plays/run-request.d.ts +1 -1
  95. package/dist/release.d.mts +1 -1
  96. package/dist/release.d.ts +1 -1
  97. package/dist/release.js +2 -2
  98. package/dist/release.mjs +1 -1
  99. package/package.json +1 -1
  100. package/dist/cli/auth-ZT3UF33R.js +0 -31
  101. package/dist/cli/client-UQXVU2T6.js +0 -20
  102. package/dist/cli/git-CNO2UFZE.js +0 -23
  103. package/dist/cli/skills-4E5KYW2Y.js +0 -28
  104. package/dist/cli/update-GZKGOMKD.js +0 -28
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkMMNZ6GBTjs = require('./chunk-MMNZ6GBT.js');
4
+ var _chunkYEJMVAD3js = require('./chunk-YEJMVAD3.js');
5
5
 
6
6
  // src/cli/commands/sessions.ts
7
7
 
@@ -420,7 +420,7 @@ function buildSessionUploadContent(raw) {
420
420
  return { encodedContent: encoded, needsChunking: true };
421
421
  }
422
422
  async function uploadPayload(path, payload) {
423
- const { http } = _chunkMMNZ6GBTjs.getAuthedHttpClient.call(void 0, );
423
+ const { http } = _chunkYEJMVAD3js.getAuthedHttpClient.call(void 0, );
424
424
  return await http.post(path, payload);
425
425
  }
426
426
  async function uploadChunkedSessions(sessions, options) {
@@ -452,7 +452,7 @@ async function uploadChunkedSessions(sessions, options) {
452
452
  environments: sessions.map(() => detectShellContext()),
453
453
  ...options.rating ? { rating: options.rating } : {}
454
454
  });
455
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0,
455
+ _chunkYEJMVAD3js.printCommandEnvelope.call(void 0,
456
456
  {
457
457
  ...response,
458
458
  ok: true,
@@ -481,7 +481,7 @@ async function handleSessionsSend(options) {
481
481
  filename: _path.basename.call(void 0, filePath),
482
482
  ...rating ? { rating } : {}
483
483
  });
484
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0,
484
+ _chunkYEJMVAD3js.printCommandEnvelope.call(void 0,
485
485
  {
486
486
  ...response2,
487
487
  ok: true,
@@ -530,7 +530,7 @@ async function handleSessionsSend(options) {
530
530
  environment: detectShellContext(),
531
531
  ...rating ? { rating } : {}
532
532
  });
533
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0,
533
+ _chunkYEJMVAD3js.printCommandEnvelope.call(void 0,
534
534
  {
535
535
  ...response,
536
536
  ok: true,
@@ -635,7 +635,7 @@ ${refreshMeta}
635
635
  </body>
636
636
  </html>`;
637
637
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
638
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0,
638
+ _chunkYEJMVAD3js.printCommandEnvelope.call(void 0,
639
639
  {
640
640
  ok: true,
641
641
  file: outputPath,
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-FJ3DANI4.mjs";
4
+ } from "./chunk-BPD7TR27.mjs";
5
5
  import {
6
6
  resolveShellSpawn,
7
7
  runSkillsCommand
8
- } from "./chunk-UT3VLSLM.mjs";
8
+ } from "./chunk-ASWZTTKT.mjs";
9
9
  import {
10
10
  printCommandEnvelope
11
- } from "./chunk-5V56XCQN.mjs";
11
+ } from "./chunk-ABMGEW3C.mjs";
12
12
  import {
13
13
  autoDetectBaseUrl
14
- } from "./chunk-4PSSDZQB.mjs";
14
+ } from "./chunk-T3P4NRZU.mjs";
15
15
 
16
16
  // src/cli/commands/update.ts
17
17
  import { spawn, spawnSync } from "child_process";
@@ -1,20 +1,20 @@
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 _chunkPHNAFCSBjs = require('./chunk-PHNAFCSB.js');
3
+ var _chunkTH3YBIJTjs = require('./chunk-TH3YBIJT.js');
4
4
 
5
5
 
6
- var _chunkMMNZ6GBTjs = require('./chunk-MMNZ6GBT.js');
6
+ var _chunkYEJMVAD3js = require('./chunk-YEJMVAD3.js');
7
7
 
8
8
 
9
9
 
10
- var _chunkM6HCRRV2js = require('./chunk-M6HCRRV2.js');
10
+ var _chunkQTCFSRGCjs = require('./chunk-QTCFSRGC.js');
11
11
 
12
12
  // src/cli/search-ref.ts
13
13
  var _fs = require('fs');
14
14
  var _path = require('path');
15
15
  var SEARCH_REF_TTL_MS = 15 * 6e4;
16
16
  function lastSearchPath() {
17
- return _path.join.call(void 0, _chunkM6HCRRV2js.sdkCliStateDirPath.call(void 0, _chunkM6HCRRV2js.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
17
+ return _path.join.call(void 0, _chunkQTCFSRGCjs.sdkCliStateDirPath.call(void 0, _chunkQTCFSRGCjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
18
18
  }
19
19
  function rememberSearchRef(searchRef) {
20
20
  try {
@@ -82,7 +82,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
82
82
  console.error(USAGE);
83
83
  return 1;
84
84
  }
85
- const { search_ref: searchRef, ...result } = await new (0, _chunkPHNAFCSBjs.DeeplineClient)().search({
85
+ const { search_ref: searchRef, ...result } = await new (0, _chunkTH3YBIJTjs.DeeplineClient)().search({
86
86
  query,
87
87
  types,
88
88
  exclude,
@@ -95,7 +95,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
95
95
  includeSearchDebug: Boolean(options.includeSearchDebug)
96
96
  });
97
97
  if (searchRef) rememberSearchRef(searchRef);
98
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0, result, {
98
+ _chunkYEJMVAD3js.printCommandEnvelope.call(void 0, result, {
99
99
  json: options.json === true
100
100
  });
101
101
  return 0;
@@ -1,4 +1,13 @@
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; }// src/cli/tool-execute-observability.ts
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; }// src/cli/compatibility-catalog.ts
2
+ var readers = /* @__PURE__ */ new WeakMap();
3
+ function registerCompatibilityCatalog(command, read) {
4
+ readers.set(command, read);
5
+ }
6
+ function compatibilityCatalog(command) {
7
+ return _optionalChain([readers, 'access', _ => _.get, 'call', _2 => _2(command), 'optionalCall', _3 => _3()]);
8
+ }
9
+
10
+ // src/cli/tool-execute-observability.ts
2
11
  var _crypto = require('crypto');
3
12
  var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
4
13
  var activeToolExecuteCommand = null;
@@ -13,7 +22,7 @@ function beginToolExecuteCommand() {
13
22
  return invocationId;
14
23
  }
15
24
  function getToolExecuteInvocationId() {
16
- return _nullishCoalesce(_optionalChain([activeToolExecuteCommand, 'optionalAccess', _ => _.invocationId]), () => ( null));
25
+ return _nullishCoalesce(_optionalChain([activeToolExecuteCommand, 'optionalAccess', _4 => _4.invocationId]), () => ( null));
17
26
  }
18
27
  async function runToolExecuteStage(stage, action) {
19
28
  const command = activeToolExecuteCommand;
@@ -26,7 +35,7 @@ async function runToolExecuteStage(stage, action) {
26
35
  `[tools execute ${command.invocationId}] ${stage} still running (${elapsedMs()}ms)`
27
36
  );
28
37
  }, TOOL_EXECUTE_PROGRESS_INTERVAL_MS);
29
- _optionalChain([progressTimer, 'access', _2 => _2.unref, 'optionalCall', _3 => _3()]);
38
+ _optionalChain([progressTimer, 'access', _5 => _5.unref, 'optionalCall', _6 => _6()]);
30
39
  try {
31
40
  const result = await action();
32
41
  if (result === false) {
@@ -62,4 +71,6 @@ function finishToolExecuteCommand() {
62
71
 
63
72
 
64
73
 
65
- exports.beginToolExecuteCommand = beginToolExecuteCommand; exports.getToolExecuteInvocationId = getToolExecuteInvocationId; exports.runToolExecuteStage = runToolExecuteStage; exports.finishToolExecuteCommand = finishToolExecuteCommand;
74
+
75
+
76
+ exports.registerCompatibilityCatalog = registerCompatibilityCatalog; exports.compatibilityCatalog = compatibilityCatalog; exports.beginToolExecuteCommand = beginToolExecuteCommand; exports.getToolExecuteInvocationId = getToolExecuteInvocationId; exports.runToolExecuteStage = runToolExecuteStage; exports.finishToolExecuteCommand = finishToolExecuteCommand;
@@ -4,7 +4,7 @@
4
4
  var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
5
5
 
6
6
 
7
- var _chunkOZIFVQRYjs = require('./chunk-OZIFVQRY.js');
7
+ var _chunkGONK2N7Ujs = require('./chunk-GONK2N7U.js');
8
8
 
9
9
 
10
10
 
@@ -721,9 +721,9 @@ function resolveCliCommandContext(inputConfig, requestedScope) {
721
721
  }
722
722
 
723
723
  // src/version.ts
724
- var SDK_VERSION = _chunkOZIFVQRYjs.SDK_RELEASE.version;
725
- var SDK_API_MAJOR = _chunkOZIFVQRYjs.SDK_RELEASE.contracts.api.currentMajor;
726
- var SDK_API_CONTRACT = _nullishCoalesce(_chunkOZIFVQRYjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
724
+ var SDK_VERSION = _chunkGONK2N7Ujs.SDK_RELEASE.version;
725
+ var SDK_API_MAJOR = _chunkGONK2N7Ujs.SDK_RELEASE.contracts.api.currentMajor;
726
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunkGONK2N7Ujs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
727
727
 
728
728
  // src/agent-runtime.ts
729
729
 
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkMMNZ6GBTjs = require('./chunk-MMNZ6GBT.js');
5
+ var _chunkYEJMVAD3js = require('./chunk-YEJMVAD3.js');
6
6
 
7
7
 
8
- var _chunkM6HCRRV2js = require('./chunk-M6HCRRV2.js');
8
+ var _chunkQTCFSRGCjs = require('./chunk-QTCFSRGC.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 } = _chunkMMNZ6GBTjs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunkYEJMVAD3js.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0,
39
+ _chunkYEJMVAD3js.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 } = _chunkMMNZ6GBTjs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunkYEJMVAD3js.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
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0,
139
+ _chunkYEJMVAD3js.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 } = _chunkMMNZ6GBTjs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunkYEJMVAD3js.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
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0,
153
+ _chunkYEJMVAD3js.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 } = _chunkMMNZ6GBTjs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunkYEJMVAD3js.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 } = _chunkMMNZ6GBTjs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunkYEJMVAD3js.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
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0,
200
+ _chunkYEJMVAD3js.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 } = _chunkMMNZ6GBTjs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunkYEJMVAD3js.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0,
227
+ _chunkYEJMVAD3js.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 } = _chunkMMNZ6GBTjs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunkYEJMVAD3js.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
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0,
254
+ _chunkYEJMVAD3js.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 } = _chunkMMNZ6GBTjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkYEJMVAD3js.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0,
269
+ _chunkYEJMVAD3js.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 = _chunkM6HCRRV2js.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkQTCFSRGCjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkMMNZ6GBTjs.openInBrowser.call(void 0, connectUrl);
292
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunkYEJMVAD3js.openInBrowser.call(void 0, connectUrl);
292
+ _chunkYEJMVAD3js.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 } = _chunkMMNZ6GBTjs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunkYEJMVAD3js.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
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0,
322
+ _chunkYEJMVAD3js.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 } = _chunkMMNZ6GBTjs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunkYEJMVAD3js.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
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0,
371
+ _chunkYEJMVAD3js.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 } = _chunkMMNZ6GBTjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkYEJMVAD3js.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkMMNZ6GBTjs.printCommandEnvelope.call(void 0,
392
+ _chunkYEJMVAD3js.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-DLIRSHV6.mjs";
5
5
  import {
6
6
  SDK_RELEASE
7
- } from "./chunk-WWPI4GJI.mjs";
7
+ } from "./chunk-YSZSERRZ.mjs";
8
8
  import {
9
9
  DeeplineError,
10
10
  TOOL_EXECUTION_ERROR_SCHEMA_VERSION,