deepline 0.3.458 → 0.3.460

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 (103) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +0 -18
  3. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +11 -20
  4. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +2 -0
  5. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/receipt-gateway.ts +72 -0
  6. package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +51 -3
  7. package/dist/bundling-sources/shared_libs/play-runtime/tool-http-errors.ts +5 -1
  8. package/dist/cli/{auth-APD43NYT.mjs → auth-HKA6ZVHQ.mjs} +4 -4
  9. package/dist/cli/auth-VDOCNR7H.js +40 -0
  10. package/dist/cli/{billing-QW4K272E.mjs → billing-26G44S5N.mjs} +4 -4
  11. package/dist/cli/{billing-TI4YOWAJ.js → billing-MTO2ZZ3G.js} +73 -73
  12. package/dist/cli/{chunk-7M6C4STX.js → chunk-2PBN4SZE.js} +16 -16
  13. package/dist/cli/{chunk-LJDJ5GPR.js → chunk-2WRO2UJ5.js} +51 -51
  14. package/dist/cli/{chunk-AA2DMXBN.js → chunk-2XHWOQF4.js} +50 -50
  15. package/dist/cli/{chunk-7MZQ64FI.mjs → chunk-526R2HON.mjs} +1 -1
  16. package/dist/cli/{chunk-2A63IJ2J.js → chunk-BHGII2D6.js} +6 -6
  17. package/dist/cli/{chunk-EO7WQN5X.mjs → chunk-CTRPCARW.mjs} +8 -8
  18. package/dist/cli/{chunk-ECS3KXM7.mjs → chunk-EJGBLXDZ.mjs} +1 -1
  19. package/dist/cli/{chunk-ZLL345RP.mjs → chunk-KADIT5NV.mjs} +2 -2
  20. package/dist/cli/{chunk-HJ5WE6S5.mjs → chunk-LAWEURCT.mjs} +1 -1
  21. package/dist/cli/{chunk-6FLTFNAY.js → chunk-LJTFZOHU.js} +8 -8
  22. package/dist/cli/{chunk-JIDT3SCM.js → chunk-LMAULZLF.js} +20 -20
  23. package/dist/cli/{chunk-LZUXLXL3.mjs → chunk-LVJOFUU7.mjs} +3 -3
  24. package/dist/cli/{chunk-XI6AZJPO.js → chunk-M52JQSLK.js} +3 -3
  25. package/dist/cli/{chunk-4TWDW7PI.mjs → chunk-MLFR6DVF.mjs} +5 -5
  26. package/dist/cli/{chunk-6UJJZWT2.mjs → chunk-NH6JSJW6.mjs} +3 -3
  27. package/dist/cli/{chunk-NDODDIEC.js → chunk-NRGGFVVB.js} +35 -35
  28. package/dist/cli/{chunk-X3ZRKA3V.mjs → chunk-OJ6RUKVT.mjs} +1 -1
  29. package/dist/cli/{chunk-U5O5TZC2.mjs → chunk-OMM54B3X.mjs} +1 -1
  30. package/dist/cli/{chunk-XBVZ35XJ.js → chunk-QGAWTBIR.js} +81 -81
  31. package/dist/cli/{chunk-DHERSOIG.js → chunk-QJLKYYPX.js} +4 -4
  32. package/dist/cli/{chunk-AJQUFGTJ.js → chunk-RBTTUYZZ.js} +1 -1
  33. package/dist/cli/{chunk-CF2GXP2O.js → chunk-RDPTDDKX.js} +2 -2
  34. package/dist/cli/{chunk-VYLWKTDQ.mjs → chunk-RZSTT45F.mjs} +3 -3
  35. package/dist/cli/{chunk-OTN6GV74.mjs → chunk-S4Q2XCGM.mjs} +1 -1
  36. package/dist/cli/{chunk-ECVZUWRR.js → chunk-UKFZT7RF.js} +2 -2
  37. package/dist/cli/{chunk-K6IHE6R5.js → chunk-VJAEA4CS.js} +8 -8
  38. package/dist/cli/{chunk-L27PA5GT.js → chunk-VTODQWQA.js} +10 -10
  39. package/dist/cli/{chunk-5KO62ZXQ.mjs → chunk-W3BE3CHK.mjs} +4 -4
  40. package/dist/cli/{chunk-GFGBHE43.mjs → chunk-XAYO3Q2X.mjs} +2 -2
  41. package/dist/cli/{chunk-NXVHTBBS.js → chunk-YHTQM5XI.js} +26 -26
  42. package/dist/cli/{chunk-W3OAT72T.js → chunk-YS2YBSJB.js} +6 -6
  43. package/dist/cli/{chunk-V6BEYE35.mjs → chunk-YULBYKAK.mjs} +2 -2
  44. package/dist/cli/{chunk-MNEN3RYE.mjs → chunk-YVBWO647.mjs} +2 -2
  45. package/dist/cli/{chunk-EMIR3EXE.mjs → chunk-ZR2RLI4O.mjs} +1 -1
  46. package/dist/cli/{csv-NIKB3RQX.js → csv-6FNFYJUC.js} +12 -12
  47. package/dist/cli/{csv-VOX5XXBB.mjs → csv-MDHT4BKK.mjs} +3 -3
  48. package/dist/cli/{db-GETE5AIV.mjs → db-74O3RFWY.mjs} +4 -4
  49. package/dist/cli/{db-ZH2NUZ3F.js → db-D6AMVOEW.js} +25 -25
  50. package/dist/cli/{describe-JZ6QOTPY.js → describe-QW54QQNB.js} +17 -17
  51. package/dist/cli/{describe-LWGEU6IE.mjs → describe-TOMIAT37.mjs} +13 -13
  52. package/dist/cli/{executions-CEVMJ4QY.js → executions-N4FMGVSC.js} +6 -6
  53. package/dist/cli/{executions-DUMCTK4E.mjs → executions-PVSF4HUF.mjs} +4 -4
  54. package/dist/cli/{feedback-UEYC3V3O.mjs → feedback-OB7NANZW.mjs} +3 -3
  55. package/dist/cli/{feedback-VI4N44TJ.js → feedback-WFSPCAI2.js} +7 -7
  56. package/dist/cli/git-4PMBJSH5.js +24 -0
  57. package/dist/cli/{git-BOMW65V5.mjs → git-FHUSPAEU.mjs} +4 -4
  58. package/dist/cli/index.js +132 -132
  59. package/dist/cli/index.mjs +37 -37
  60. package/dist/cli/{legacy-noops-SWPSUKTD.js → legacy-noops-ECHNA5HN.js} +7 -7
  61. package/dist/cli/{legacy-noops-33X26VLN.mjs → legacy-noops-HMK4BSCI.mjs} +4 -4
  62. package/dist/cli/{monitors-465GCZ73.mjs → monitors-U7VQ3EZM.mjs} +5 -5
  63. package/dist/cli/{monitors-6HMDLDKU.js → monitors-XLLFNENH.js} +89 -89
  64. package/dist/cli/{org-CAAOHGTM.mjs → org-6H3USO5M.mjs} +4 -4
  65. package/dist/cli/{org-JFQ4QBHQ.js → org-QX6ER2HN.js} +66 -66
  66. package/dist/cli/{play-NJP6HIQD.mjs → play-MOB2WYOR.mjs} +11 -11
  67. package/dist/cli/{play-UKD4KR4K.js → play-WNB7HBZK.js} +284 -284
  68. package/dist/cli/{providers-YTRBZARB.js → providers-7M3DISKX.js} +7 -7
  69. package/dist/cli/{providers-UVHTTSKV.mjs → providers-CXEZ23E2.mjs} +4 -4
  70. package/dist/cli/{quickstart-3GXVHJRL.js → quickstart-CLJT4AZL.js} +5 -5
  71. package/dist/cli/{quickstart-CB3TQ5L2.mjs → quickstart-ZFCHKHF6.mjs} +3 -3
  72. package/dist/cli/search-4CCQCTVD.js +30 -0
  73. package/dist/cli/{search-NXA6526R.mjs → search-FVYWYIC3.mjs} +5 -5
  74. package/dist/cli/{secrets-JFJK2X2N.mjs → secrets-WAMPTQFC.mjs} +4 -4
  75. package/dist/cli/{secrets-E3Y6YDKR.js → secrets-YRLKZQS5.js} +13 -13
  76. package/dist/cli/{sessions-NKLP6TVY.js → sessions-44J6WIVU.js} +5 -5
  77. package/dist/cli/{sessions-HAZJLQQL.mjs → sessions-IQ332BJH.mjs} +4 -4
  78. package/dist/cli/{settings-BSD4DW4O.mjs → settings-22S6NIFQ.mjs} +9 -9
  79. package/dist/cli/{settings-D4LEZOEW.js → settings-4IJR2I2T.js} +76 -76
  80. package/dist/cli/{setup-KMZ4EFDK.js → setup-3FWSRNOX.js} +43 -43
  81. package/dist/cli/{setup-QO64H6YO.mjs → setup-OZUPKKPW.mjs} +8 -8
  82. package/dist/cli/{skills-YLAH2YNN.mjs → skills-5CW3NFP3.mjs} +6 -6
  83. package/dist/cli/skills-LMNM6B5F.js +30 -0
  84. package/dist/cli/tools-AGBBDJ7P.js +45 -0
  85. package/dist/cli/{tools-KGQ76YQE.mjs → tools-NOPBDRGW.mjs} +13 -13
  86. package/dist/cli/{update-JXUSVBH7.mjs → update-IBULOV7P.mjs} +8 -8
  87. package/dist/cli/update-U3W6USVD.js +32 -0
  88. package/dist/cli/{workflow-NYWZWN5Z.mjs → workflow-MVZT7MWT.mjs} +5 -5
  89. package/dist/cli/{workflow-YTXY76FN.js → workflow-Z7FW6GT2.js} +15 -15
  90. package/dist/index.js +6 -6
  91. package/dist/index.mjs +3 -3
  92. package/dist/install-integrity.json +80 -80
  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-4CBIXFOR.js +0 -40
  99. package/dist/cli/git-QISWQQM3.js +0 -24
  100. package/dist/cli/search-YM4ATHTV.js +0 -30
  101. package/dist/cli/skills-T5VTI2LZ.js +0 -30
  102. package/dist/cli/tools-M574OF4H.js +0 -45
  103. package/dist/cli/update-WNG5DNNO.js +0 -32
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkLJDJ5GPRjs = require('./chunk-LJDJ5GPR.js');
3
+ var _chunk2WRO2UJ5js = require('./chunk-2WRO2UJ5.js');
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  var _child_process = require('child_process');
@@ -13,7 +13,7 @@ function npmSupportsAllowScripts(version) {
13
13
  }
14
14
  function readNpmVersion(env) {
15
15
  try {
16
- const plan = _chunkLJDJ5GPRjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunk2WRO2UJ5js.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
17
17
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
18
18
  encoding: "utf8",
19
19
  env,
@@ -1,10 +1,10 @@
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 _chunk2A63IJ2Jjs = require('./chunk-2A63IJ2J.js');
4
+ var _chunkBHGII2D6js = require('./chunk-BHGII2D6.js');
5
5
 
6
6
 
7
- var _chunkDHERSOIGjs = require('./chunk-DHERSOIG.js');
7
+ var _chunkQJLKYYPXjs = require('./chunk-QJLKYYPX.js');
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
 
@@ -139,7 +139,7 @@ function currentSessionFile(agent) {
139
139
  const newestFirst = listSessionFiles(agent).sort(
140
140
  (a, b) => b.mtimeMs - a.mtimeMs
141
141
  );
142
- const sessionId = _chunkDHERSOIGjs.agentSessionIdFromEnvironment.call(void 0,
142
+ const sessionId = _chunkQJLKYYPXjs.agentSessionIdFromEnvironment.call(void 0,
143
143
  process.env,
144
144
  agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
145
145
  );
@@ -451,7 +451,7 @@ function buildSessionUploadContent(raw) {
451
451
  return { encodedContent: encoded, needsChunking: true };
452
452
  }
453
453
  async function uploadPayload(path, payload) {
454
- const { http } = _chunk2A63IJ2Jjs.getAuthedHttpClient.call(void 0, );
454
+ const { http } = _chunkBHGII2D6js.getAuthedHttpClient.call(void 0, );
455
455
  return await http.post(path, payload);
456
456
  }
457
457
  async function uploadChunkedSessions(sessions, options) {
@@ -484,7 +484,7 @@ async function uploadChunkedSessions(sessions, options) {
484
484
  ...options.rating ? { rating: options.rating } : {}
485
485
  });
486
486
  const sessionIds = sessions.map((session) => session.sessionId);
487
- _chunk2A63IJ2Jjs.printCommandEnvelope.call(void 0,
487
+ _chunkBHGII2D6js.printCommandEnvelope.call(void 0,
488
488
  {
489
489
  ...response,
490
490
  ok: true,
@@ -516,7 +516,7 @@ async function handleSessionsSend(options) {
516
516
  filename: _path.basename.call(void 0, filePath),
517
517
  ...rating ? { rating } : {}
518
518
  });
519
- _chunk2A63IJ2Jjs.printCommandEnvelope.call(void 0,
519
+ _chunkBHGII2D6js.printCommandEnvelope.call(void 0,
520
520
  {
521
521
  ...response2,
522
522
  ok: true,
@@ -566,7 +566,7 @@ async function handleSessionsSend(options) {
566
566
  ...rating ? { rating } : {}
567
567
  });
568
568
  const sessionIds = built.map((session) => session.sessionId);
569
- _chunk2A63IJ2Jjs.printCommandEnvelope.call(void 0,
569
+ _chunkBHGII2D6js.printCommandEnvelope.call(void 0,
570
570
  {
571
571
  ...response,
572
572
  ok: true,
@@ -674,7 +674,7 @@ ${refreshMeta}
674
674
  </body>
675
675
  </html>`;
676
676
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
677
- _chunk2A63IJ2Jjs.printCommandEnvelope.call(void 0,
677
+ _chunkBHGII2D6js.printCommandEnvelope.call(void 0,
678
678
  {
679
679
  ok: true,
680
680
  file: outputPath,
@@ -28,7 +28,7 @@ var _chunkKXMNM4AQjs = require('./chunk-KXMNM4AQ.js');
28
28
 
29
29
 
30
30
 
31
- var _chunkDHERSOIGjs = require('./chunk-DHERSOIG.js');
31
+ var _chunkQJLKYYPXjs = require('./chunk-QJLKYYPX.js');
32
32
 
33
33
 
34
34
  var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
@@ -649,7 +649,7 @@ var ToolCalls = class {
649
649
  idempotencyKey,
650
650
  onResponse: (response2) => {
651
651
  lastResponse = null;
652
- atomicToolsSupported = response2.headers.get(_chunkDHERSOIGjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
652
+ atomicToolsSupported = response2.headers.get(_chunkQJLKYYPXjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
653
653
  recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
654
654
  if (_optionalChain([options, 'optionalAccess', _30 => _30.onServerTiming])) {
655
655
  try {
@@ -999,8 +999,8 @@ function runtimeSelectionHeaders(runtime, env) {
999
999
  }
1000
1000
  const receivers = _optionalChain([env, 'access', _52 => _52.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _53 => _53.trim, 'call', _54 => _54()]);
1001
1001
  return {
1002
- [_chunkDHERSOIGjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1003
- ...receivers ? { [_chunkDHERSOIGjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1002
+ [_chunkQJLKYYPXjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1003
+ ...receivers ? { [_chunkQJLKYYPXjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1004
1004
  };
1005
1005
  }
1006
1006
  function normalizeTestPolicyOverrides(value, source) {
@@ -1071,7 +1071,7 @@ var PlayClient = class {
1071
1071
  return _chunkJKVRBCZLjs.startPlayRun.call(void 0,
1072
1072
  this.http,
1073
1073
  resolved.request,
1074
- _optionalChain([options, 'optionalAccess', _62 => _62.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkDHERSOIGjs.SDK_API_MAJOR) } : headers,
1074
+ _optionalChain([options, 'optionalAccess', _62 => _62.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkQJLKYYPXjs.SDK_API_MAJOR) } : headers,
1075
1075
  options
1076
1076
  );
1077
1077
  }
@@ -1137,9 +1137,9 @@ var PlayClient = class {
1137
1137
  }
1138
1138
  };
1139
1139
  function createPlayClient(options) {
1140
- const config = _chunkDHERSOIGjs.resolveConfig.call(void 0, options);
1140
+ const config = _chunkQJLKYYPXjs.resolveConfig.call(void 0, options);
1141
1141
  return new PlayClient(
1142
- new (0, _chunkDHERSOIGjs.HttpClient)(config),
1142
+ new (0, _chunkQJLKYYPXjs.HttpClient)(config),
1143
1143
  _nullishCoalesce(config.environment, () => ( process.env))
1144
1144
  );
1145
1145
  }
@@ -3153,7 +3153,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
3153
3153
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
3154
3154
  );
3155
3155
  }
3156
- return { [_chunkDHERSOIGjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3156
+ return { [_chunkQJLKYYPXjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3157
3157
  }
3158
3158
  function sleep(ms) {
3159
3159
  return new Promise((resolve) => setTimeout(resolve, ms));
@@ -3391,9 +3391,9 @@ var DeeplineClient = (_class = class _DeeplineClient {
3391
3391
  * @throws {@link ConfigError} if no API key can be resolved from any source.
3392
3392
  */
3393
3393
  constructor(options) {
3394
- this.config = _chunkDHERSOIGjs.resolveConfig.call(void 0, options);
3394
+ this.config = _chunkQJLKYYPXjs.resolveConfig.call(void 0, options);
3395
3395
  this.environment = _nullishCoalesce(this.config.environment, () => ( process.env));
3396
- this.http = new (0, _chunkDHERSOIGjs.HttpClient)(this.config);
3396
+ this.http = new (0, _chunkQJLKYYPXjs.HttpClient)(this.config);
3397
3397
  this.playClient = new PlayClient(this.http, this.environment);
3398
3398
  this.toolCalls = new ToolCalls(
3399
3399
  this.http,
@@ -4,18 +4,18 @@ import {
4
4
  resolveUpdatePlan,
5
5
  runAutomaticUpdatePlan,
6
6
  shouldRunCliAutoUpdate
7
- } from "./chunk-4TWDW7PI.mjs";
7
+ } from "./chunk-MLFR6DVF.mjs";
8
8
  import {
9
9
  isCiEnvironment
10
- } from "./chunk-VYLWKTDQ.mjs";
10
+ } from "./chunk-RZSTT45F.mjs";
11
11
  import {
12
12
  addJsonNotice,
13
13
  isJsonOutputMode
14
- } from "./chunk-7MZQ64FI.mjs";
14
+ } from "./chunk-526R2HON.mjs";
15
15
  import {
16
16
  SDK_VERSION,
17
17
  resolveApiKeyForBaseUrl
18
- } from "./chunk-U5O5TZC2.mjs";
18
+ } from "./chunk-OMM54B3X.mjs";
19
19
 
20
20
  // src/cli/compatibility-catalog.ts
21
21
  var readers = /* @__PURE__ */ new WeakMap();
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-7MZQ64FI.mjs";
5
+ } from "./chunk-526R2HON.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-U5O5TZC2.mjs";
28
+ } from "./chunk-OMM54B3X.mjs";
29
29
 
30
30
  // src/cli/commands/auth.ts
31
31
  import {
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk2A63IJ2Jjs = require('./chunk-2A63IJ2J.js');
5
+ var _chunkBHGII2D6js = require('./chunk-BHGII2D6.js');
6
6
 
7
7
 
8
- var _chunkDHERSOIGjs = require('./chunk-DHERSOIG.js');
8
+ var _chunkQJLKYYPXjs = require('./chunk-QJLKYYPX.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 } = _chunk2A63IJ2Jjs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunkBHGII2D6js.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunk2A63IJ2Jjs.printCommandEnvelope.call(void 0,
39
+ _chunkBHGII2D6js.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 } = _chunk2A63IJ2Jjs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunkBHGII2D6js.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
- _chunk2A63IJ2Jjs.printCommandEnvelope.call(void 0,
139
+ _chunkBHGII2D6js.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 } = _chunk2A63IJ2Jjs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunkBHGII2D6js.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
- _chunk2A63IJ2Jjs.printCommandEnvelope.call(void 0,
153
+ _chunkBHGII2D6js.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 } = _chunk2A63IJ2Jjs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunkBHGII2D6js.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 } = _chunk2A63IJ2Jjs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunkBHGII2D6js.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
- _chunk2A63IJ2Jjs.printCommandEnvelope.call(void 0,
200
+ _chunkBHGII2D6js.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 } = _chunk2A63IJ2Jjs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunkBHGII2D6js.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunk2A63IJ2Jjs.printCommandEnvelope.call(void 0,
227
+ _chunkBHGII2D6js.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 } = _chunk2A63IJ2Jjs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunkBHGII2D6js.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
- _chunk2A63IJ2Jjs.printCommandEnvelope.call(void 0,
254
+ _chunkBHGII2D6js.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 } = _chunk2A63IJ2Jjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkBHGII2D6js.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunk2A63IJ2Jjs.printCommandEnvelope.call(void 0,
269
+ _chunkBHGII2D6js.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 = _chunkDHERSOIGjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkQJLKYYPXjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunk2A63IJ2Jjs.openInBrowser.call(void 0, connectUrl);
292
- _chunk2A63IJ2Jjs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunkBHGII2D6js.openInBrowser.call(void 0, connectUrl);
292
+ _chunkBHGII2D6js.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 } = _chunk2A63IJ2Jjs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunkBHGII2D6js.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
- _chunk2A63IJ2Jjs.printCommandEnvelope.call(void 0,
322
+ _chunkBHGII2D6js.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 } = _chunk2A63IJ2Jjs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunkBHGII2D6js.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
- _chunk2A63IJ2Jjs.printCommandEnvelope.call(void 0,
371
+ _chunkBHGII2D6js.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 } = _chunk2A63IJ2Jjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkBHGII2D6js.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunk2A63IJ2Jjs.printCommandEnvelope.call(void 0,
392
+ _chunkBHGII2D6js.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkCF2GXP2Ojs = require('./chunk-CF2GXP2O.js');
3
+ var _chunkRDPTDDKXjs = require('./chunk-RDPTDDKX.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkLJDJ5GPRjs = require('./chunk-LJDJ5GPR.js');
8
+ var _chunk2WRO2UJ5js = require('./chunk-2WRO2UJ5.js');
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -14,17 +14,17 @@ function usesInlinePlayAdmission(command, args) {
14
14
  );
15
15
  }
16
16
  async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured") {
17
- if (maintenancePolicy !== "off") _chunkLJDJ5GPRjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
18
- const compatibility = await _chunkCF2GXP2Ojs.traceCliSpan.call(void 0,
17
+ if (maintenancePolicy !== "off") _chunk2WRO2UJ5js.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
18
+ const compatibility = await _chunkRDPTDDKXjs.traceCliSpan.call(void 0,
19
19
  "cli.sdk_compatibility",
20
20
  { baseUrl, command: "plays run" },
21
- () => _chunkLJDJ5GPRjs.checkSdkCompatibility.call(void 0, baseUrl, {
21
+ () => _chunk2WRO2UJ5js.checkSdkCompatibility.call(void 0, baseUrl, {
22
22
  command: "plays run",
23
23
  persistCache: maintenancePolicy !== "off"
24
24
  })
25
25
  );
26
26
  if (compatibility.error) throw compatibility.error;
27
- _chunkLJDJ5GPRjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
27
+ _chunk2WRO2UJ5js.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
28
28
  quietAdvisory: true
29
29
  });
30
30
  }
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-7MZQ64FI.mjs";
5
+ } from "./chunk-526R2HON.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-U5O5TZC2.mjs";
8
+ } from "./chunk-OMM54B3X.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getAuthedHttpClient,
3
3
  printCommandEnvelope
4
- } from "./chunk-7MZQ64FI.mjs";
4
+ } from "./chunk-526R2HON.mjs";
5
5
  import {
6
6
  agentSessionIdFromEnvironment
7
- } from "./chunk-U5O5TZC2.mjs";
7
+ } from "./chunk-OMM54B3X.mjs";
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
  import {
@@ -28,7 +28,7 @@ import {
28
28
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
29
29
  SDK_API_MAJOR,
30
30
  resolveConfig
31
- } from "./chunk-U5O5TZC2.mjs";
31
+ } from "./chunk-OMM54B3X.mjs";
32
32
  import {
33
33
  CustomerDbQueryOutcomeUnknownError
34
34
  } from "./chunk-4QF2K7TM.mjs";
@@ -4,12 +4,12 @@
4
4
 
5
5
 
6
6
 
7
- var _chunk2A63IJ2Jjs = require('./chunk-2A63IJ2J.js');
8
- require('./chunk-DHERSOIG.js');
7
+ var _chunkBHGII2D6js = require('./chunk-BHGII2D6.js');
8
+ require('./chunk-QJLKYYPX.js');
9
9
  require('./chunk-ALJJRZNJ.js');
10
10
  require('./chunk-XNYIZMNQ.js');
11
11
  require('./chunk-DIAWYWT5.js');
12
- require('./chunk-AJQUFGTJ.js');
12
+ require('./chunk-RBTTUYZZ.js');
13
13
  require('./chunk-OG64RBAC.js');
14
14
  require('./chunk-COGTRVWW.js');
15
15
 
@@ -127,7 +127,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
127
127
  column.length,
128
128
  ...rows.map((row) => {
129
129
  const value = _nullishCoalesce(row[column], () => ( ""));
130
- return (verbose ? value : _chunk2A63IJ2Jjs.clip.call(void 0, value, 42)).length;
130
+ return (verbose ? value : _chunkBHGII2D6js.clip.call(void 0, value, 42)).length;
131
131
  })
132
132
  )
133
133
  ])
@@ -137,7 +137,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
137
137
  const body = rows.map(
138
138
  (row) => columns.map((column) => {
139
139
  const raw = _nullishCoalesce(row[column], () => ( ""));
140
- const display = verbose ? raw : _chunk2A63IJ2Jjs.clip.call(void 0, raw, 42);
140
+ const display = verbose ? raw : _chunkBHGII2D6js.clip.call(void 0, raw, 42);
141
141
  return display.padEnd(widths[column]);
142
142
  }).join(" | ")
143
143
  );
@@ -157,7 +157,7 @@ async function handleCsvShow(path, options, command) {
157
157
  { exitCode: 2 }
158
158
  );
159
159
  }
160
- const allRows = _chunk2A63IJ2Jjs.readCsvRows.call(void 0, csvPath);
160
+ const allRows = _chunkBHGII2D6js.readCsvRows.call(void 0, csvPath);
161
161
  const [rowStart, rowEnd] = parseRowRange(options.rows);
162
162
  const rows = options.summary && options.rows === void 0 ? allRows : selectRows(allRows, rowStart, rowEnd);
163
163
  const { rows: selected, columns } = selectColumns(
@@ -170,7 +170,7 @@ async function handleCsvShow(path, options, command) {
170
170
  if (options.summary) {
171
171
  const summaries = summarizeColumns(selected, columns);
172
172
  if (format === "json") {
173
- _chunk2A63IJ2Jjs.printJson.call(void 0, {
173
+ _chunkBHGII2D6js.printJson.call(void 0, {
174
174
  rows: summaries,
175
175
  total_rows: selected.length,
176
176
  source_total_rows: allRows.length
@@ -179,7 +179,7 @@ async function handleCsvShow(path, options, command) {
179
179
  }
180
180
  const displayRows = summaryDisplayRows(summaries);
181
181
  if (format === "csv") {
182
- process.stdout.write(_chunk2A63IJ2Jjs.csvStringFromRows.call(void 0, displayRows));
182
+ process.stdout.write(_chunkBHGII2D6js.csvStringFromRows.call(void 0, displayRows));
183
183
  return;
184
184
  }
185
185
  process.stdout.write(
@@ -194,7 +194,7 @@ async function handleCsvShow(path, options, command) {
194
194
  return;
195
195
  }
196
196
  if (format === "json") {
197
- _chunk2A63IJ2Jjs.printJson.call(void 0, {
197
+ _chunkBHGII2D6js.printJson.call(void 0, {
198
198
  rows: selected.map((row, index) => ({ __row: rowStart + index, ...row }))
199
199
  });
200
200
  return;
@@ -437,7 +437,7 @@ async function handleCsvRenderStart(options) {
437
437
  if (log) {
438
438
  detail = `
439
439
  CSV render log:
440
- ${_chunk2A63IJ2Jjs.clip.call(void 0, log, 2e3)}`;
440
+ ${_chunkBHGII2D6js.clip.call(void 0, log, 2e3)}`;
441
441
  }
442
442
  } catch (e7) {
443
443
  }
@@ -488,7 +488,7 @@ async function handleCsvRenderStatus(options) {
488
488
  if (payload.pid) lines.push(`Render PID: ${payload.pid}`);
489
489
  if (payload.url) lines.push(`Render URL: ${payload.url}`);
490
490
  lines.push(`Render Health: ${payload.health_status}`);
491
- _chunk2A63IJ2Jjs.printCommandEnvelope.call(void 0, payload, {
491
+ _chunkBHGII2D6js.printCommandEnvelope.call(void 0, payload, {
492
492
  json: options.json,
493
493
  text: `${lines.join("\n")}
494
494
  `
@@ -524,7 +524,7 @@ async function handleCsvRenderStop(options) {
524
524
  };
525
525
  const text = stopped.length > 0 ? `Stopped CSV render process(es): ${stopped.join(" ")}
526
526
  ` : "No running CSV render process found.\n";
527
- _chunk2A63IJ2Jjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
527
+ _chunkBHGII2D6js.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
528
528
  }
529
529
  async function handleCsvRender(action, options) {
530
530
  const normalized = _nullishCoalesce(action, () => ( "start"));
@@ -4,12 +4,12 @@ import {
4
4
  printCommandEnvelope,
5
5
  printJson,
6
6
  readCsvRows
7
- } from "./chunk-7MZQ64FI.mjs";
8
- import "./chunk-U5O5TZC2.mjs";
7
+ } from "./chunk-526R2HON.mjs";
8
+ import "./chunk-OMM54B3X.mjs";
9
9
  import "./chunk-4QF2K7TM.mjs";
10
10
  import "./chunk-DLIRSHV6.mjs";
11
11
  import "./chunk-HBL4PM5Q.mjs";
12
- import "./chunk-ECS3KXM7.mjs";
12
+ import "./chunk-EJGBLXDZ.mjs";
13
13
  import "./chunk-WZYKRD7T.mjs";
14
14
  import "./chunk-KRD6H754.mjs";
15
15
 
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  DeeplineClient,
6
6
  planCustomerDbQuery
7
- } from "./chunk-EMIR3EXE.mjs";
7
+ } from "./chunk-ZR2RLI4O.mjs";
8
8
  import "./chunk-L2VKAASU.mjs";
9
9
  import "./chunk-FAG4DFUC.mjs";
10
10
  import "./chunk-EIMG75BT.mjs";
@@ -18,8 +18,8 @@ import {
18
18
  printCommandEnvelope,
19
19
  recordRows,
20
20
  shouldEmitJson
21
- } from "./chunk-7MZQ64FI.mjs";
22
- import "./chunk-U5O5TZC2.mjs";
21
+ } from "./chunk-526R2HON.mjs";
22
+ import "./chunk-OMM54B3X.mjs";
23
23
  import {
24
24
  CustomerDbQueryOutcomeUnknownError
25
25
  } from "./chunk-4QF2K7TM.mjs";
@@ -27,7 +27,7 @@ import "./chunk-DLIRSHV6.mjs";
27
27
  import {
28
28
  DeeplineError
29
29
  } from "./chunk-HBL4PM5Q.mjs";
30
- import "./chunk-ECS3KXM7.mjs";
30
+ import "./chunk-EJGBLXDZ.mjs";
31
31
  import "./chunk-WZYKRD7T.mjs";
32
32
  import "./chunk-KRD6H754.mjs";
33
33