deepline 0.3.508 → 0.3.509

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 (127) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +1 -1
  3. package/dist/bundling-sources/shared_libs/play-runtime/db-session-plan.ts +47 -6
  4. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +1 -0
  5. package/dist/cli/{auth-2URIN52G.mjs → auth-6IR2QH4N.mjs} +5 -5
  6. package/dist/cli/auth-SUTQ4SZQ.js +43 -0
  7. package/dist/cli/{billing-R2HY2ZVJ.js → billing-SYBK3ZYU.js} +82 -82
  8. package/dist/cli/{billing-IW23GSR5.mjs → billing-WEWHH6ST.mjs} +7 -7
  9. package/dist/cli/{chunk-3XBI4KZM.mjs → chunk-25MAOMVS.mjs} +2 -2
  10. package/dist/cli/{chunk-63MCLOR2.mjs → chunk-2U7Z4LFG.mjs} +6 -6
  11. package/dist/cli/{chunk-AYNO4VFW.js → chunk-2ZJRCAHG.js} +11 -11
  12. package/dist/cli/{chunk-2LY42EZJ.mjs → chunk-3CZHC24N.mjs} +1 -1
  13. package/dist/cli/{chunk-3ZNPIJX6.js → chunk-4DVANPBN.js} +41 -41
  14. package/dist/cli/{chunk-JEB6BNIU.mjs → chunk-54YPOG5W.mjs} +2 -2
  15. package/dist/cli/{chunk-3BZ74K27.js → chunk-5Y3I5LEQ.js} +16 -16
  16. package/dist/cli/{chunk-DZ7JCRAL.mjs → chunk-6KBVQ76G.mjs} +2 -2
  17. package/dist/cli/{chunk-JRHMPZJX.js → chunk-6TBRWRJ2.js} +7 -7
  18. package/dist/cli/{chunk-JUYW6TSU.js → chunk-726UDAV2.js} +7 -7
  19. package/dist/cli/{chunk-74UO7THC.js → chunk-7KALZEDZ.js} +4 -4
  20. package/dist/cli/{chunk-7PELFO3C.js → chunk-7NMPGX3W.js} +21 -21
  21. package/dist/cli/{chunk-RUD77W2Y.js → chunk-AD45WJHN.js} +5 -5
  22. package/dist/cli/{chunk-ESVK4Z7S.js → chunk-AO63MXT6.js} +1 -1
  23. package/dist/cli/{chunk-JYNHHO3J.js → chunk-CMSPA5VX.js} +6 -6
  24. package/dist/cli/{chunk-63BGKU3A.js → chunk-DGOSW42X.js} +96 -96
  25. package/dist/cli/{chunk-C6TP4DR3.mjs → chunk-E3HWUGDT.mjs} +1 -1
  26. package/dist/cli/{chunk-3C6VBHNW.mjs → chunk-EEEWADSR.mjs} +2 -2
  27. package/dist/cli/{chunk-2PYFXXYA.mjs → chunk-FNLGMMJJ.mjs} +2 -2
  28. package/dist/cli/{chunk-OWH7SSBO.mjs → chunk-FQCIYGQY.mjs} +2 -2
  29. package/dist/cli/{chunk-P7GOQTUN.js → chunk-GTAU4C44.js} +14 -14
  30. package/dist/cli/{chunk-J3LJ37WD.js → chunk-HMAETS53.js} +3 -3
  31. package/dist/cli/{chunk-K4RME7AV.mjs → chunk-IZW7IOD6.mjs} +1 -1
  32. package/dist/cli/{chunk-GDHLL5EQ.js → chunk-J5P4PDRT.js} +3 -0
  33. package/dist/cli/{chunk-ZL2ME3UT.js → chunk-JZJNA57M.js} +6 -6
  34. package/dist/cli/{chunk-Q4I5YKN4.mjs → chunk-K2RCVD7S.mjs} +1 -1
  35. package/dist/cli/{chunk-M37I4A2Z.js → chunk-O527H5GY.js} +16 -16
  36. package/dist/cli/{chunk-QBZECLNG.mjs → chunk-OOD5LGUS.mjs} +3 -3
  37. package/dist/cli/{chunk-N5HRBS4K.js → chunk-Q5UO2ENN.js} +3 -3
  38. package/dist/cli/{chunk-D73YB5NQ.js → chunk-Q7G6WORO.js} +2 -2
  39. package/dist/cli/{chunk-FRT5MFLF.mjs → chunk-R2KNJMOY.mjs} +1 -1
  40. package/dist/cli/{chunk-TVADI7K5.js → chunk-RA2NKHV5.js} +5 -5
  41. package/dist/cli/{chunk-KSQO32L5.mjs → chunk-RSKAPLST.mjs} +1 -1
  42. package/dist/cli/{chunk-RNZQ7RDW.mjs → chunk-S7JEF2MR.mjs} +2 -2
  43. package/dist/cli/{chunk-IF242BIJ.mjs → chunk-SEQIB5WJ.mjs} +5 -5
  44. package/dist/cli/{chunk-XSOLA2ED.mjs → chunk-T67NAGSD.mjs} +4 -4
  45. package/dist/cli/{chunk-NC2FIUPX.mjs → chunk-UART6FGK.mjs} +1 -1
  46. package/dist/cli/{chunk-DWV7KM6H.mjs → chunk-VH522HUP.mjs} +10 -10
  47. package/dist/cli/{chunk-FXKKFM7J.js → chunk-VTVZ7EUA.js} +9 -9
  48. package/dist/cli/{chunk-RWXHMG6F.js → chunk-VZ773N7G.js} +8 -8
  49. package/dist/cli/{chunk-VXNL4HLE.mjs → chunk-WJ6H2W3O.mjs} +5 -5
  50. package/dist/cli/{chunk-2YOM5J3G.js → chunk-WPBTWRKG.js} +26 -26
  51. package/dist/cli/{chunk-4DAR2GYV.mjs → chunk-WUKNKFB3.mjs} +2 -2
  52. package/dist/cli/{chunk-UDH3YMBI.mjs → chunk-XEQH65DT.mjs} +1 -1
  53. package/dist/cli/{chunk-GRGZKXLL.mjs → chunk-XIBNY6H6.mjs} +5 -5
  54. package/dist/cli/{chunk-R4S2AK3Q.js → chunk-XPKBYMJH.js} +53 -53
  55. package/dist/cli/{chunk-JXYVBF5L.mjs → chunk-Y4M5HPQV.mjs} +5 -5
  56. package/dist/cli/{chunk-AFSYNOG4.mjs → chunk-YJM3NOME.mjs} +3 -0
  57. package/dist/cli/{chunk-IZZ7FFWP.js → chunk-Z2LVZDO5.js} +44 -44
  58. package/dist/cli/{chunk-ZLIAUR2E.js → chunk-ZXGMWXZW.js} +2 -2
  59. package/dist/cli/command-docs.js +2 -2
  60. package/dist/cli/command-docs.mjs +1 -1
  61. package/dist/cli/{csv-CMJSMC2I.mjs → csv-4LAJ2ZKG.mjs} +4 -4
  62. package/dist/cli/{csv-DPDO6BU6.js → csv-5KNONIAX.js} +13 -13
  63. package/dist/cli/{db-PPPKNTT5.js → db-5PEXOSN3.js} +27 -27
  64. package/dist/cli/{db-SL3EFN6V.mjs → db-BEVCJI66.mjs} +6 -6
  65. package/dist/cli/{describe-XLN33FJX.mjs → describe-TDJIUSD6.mjs} +18 -18
  66. package/dist/cli/describe-ZB6G6DOV.js +50 -0
  67. package/dist/cli/{executions-6YDTV2J6.js → executions-36GV3A27.js} +8 -8
  68. package/dist/cli/{executions-O6Z5B5NY.mjs → executions-KXCPU6YC.mjs} +6 -6
  69. package/dist/cli/{feedback-DP7LPWAD.mjs → feedback-GEUUT4S7.mjs} +4 -4
  70. package/dist/cli/{feedback-BZ434BN4.js → feedback-SPQABV33.js} +8 -8
  71. package/dist/cli/{git-MI7E5WGL.mjs → git-AE36X2R6.mjs} +5 -5
  72. package/dist/cli/git-UX7L6R32.js +25 -0
  73. package/dist/cli/index.js +142 -142
  74. package/dist/cli/index.mjs +42 -42
  75. package/dist/cli/{legacy-noops-6VYXF2MG.mjs → legacy-noops-LUEDAK7J.mjs} +5 -5
  76. package/dist/cli/{legacy-noops-65WNPQVZ.js → legacy-noops-TKPHN7WT.js} +8 -8
  77. package/dist/cli/{monitors-BYUCTVSC.js → monitors-B2EAIGZI.js} +100 -100
  78. package/dist/cli/{monitors-Y7I5ZVCN.mjs → monitors-JHJZ5XG7.mjs} +7 -7
  79. package/dist/cli/{org-IW3YD6JZ.mjs → org-GUICCEBZ.mjs} +6 -6
  80. package/dist/cli/{org-F2ASWTFY.js → org-PYCPXEAU.js} +72 -72
  81. package/dist/cli/{pages-X6HLRQNV.js → pages-CV4TQNFY.js} +18 -18
  82. package/dist/cli/{pages-H2CXNIDB.mjs → pages-Y2XI36HY.mjs} +6 -6
  83. package/dist/cli/{play-H2EM7DTI.js → play-MTVK66JK.js} +468 -429
  84. package/dist/cli/{play-LLEEDXRX.mjs → play-VWCQNGZZ.mjs} +93 -54
  85. package/dist/cli/{providers-6R2SPOEV.js → providers-N72BUCXZ.js} +9 -9
  86. package/dist/cli/{providers-BZR5JONN.mjs → providers-ZOZTST3A.mjs} +6 -6
  87. package/dist/cli/{quickstart-KVES7R6D.mjs → quickstart-DXIC3NHS.mjs} +4 -4
  88. package/dist/cli/{quickstart-PW7ONQUH.js → quickstart-FK53VZB3.js} +6 -6
  89. package/dist/cli/{run-RDI3Q6GO.mjs → run-IL2KI33N.mjs} +23 -23
  90. package/dist/cli/{run-HVUQROBE.js → run-NNAYDCEN.js} +41 -41
  91. package/dist/cli/{search-3TJ24CUF.mjs → search-7IPVMQCO.mjs} +8 -8
  92. package/dist/cli/search-OZHP5ZE2.js +33 -0
  93. package/dist/cli/{search-output-JHT553SL.js → search-output-YHTWLSDE.js} +6 -6
  94. package/dist/cli/{search-output-Y57OBQXX.mjs → search-output-ZY2GE35S.mjs} +4 -4
  95. package/dist/cli/{secrets-OZK7GRD5.mjs → secrets-BGUMHDZ7.mjs} +6 -6
  96. package/dist/cli/{secrets-U5JHWAXU.js → secrets-ZML76SH2.js} +15 -15
  97. package/dist/cli/{sessions-D6DSEQ2T.mjs → sessions-F5XO6HZJ.mjs} +5 -5
  98. package/dist/cli/{sessions-PNMYAJNB.js → sessions-WDINUUZ3.js} +6 -6
  99. package/dist/cli/{settings-ITLSLT2R.mjs → settings-73SMIICV.mjs} +12 -12
  100. package/dist/cli/{settings-DLPEHYGS.js → settings-TOX2P5M5.js} +82 -82
  101. package/dist/cli/{setup-Y5ZYEC6U.js → setup-DNFHFQ7N.js} +50 -50
  102. package/dist/cli/{setup-XTYLF2CF.mjs → setup-FDJZYBMS.mjs} +10 -10
  103. package/dist/cli/{skills-C4WCAVII.mjs → skills-6HJ2IAY6.mjs} +8 -8
  104. package/dist/cli/skills-NE7WN5PP.js +37 -0
  105. package/dist/cli/{tools-ZESAPVOW.mjs → tools-4FJIIE4R.mjs} +17 -17
  106. package/dist/cli/tools-ETX4MNNO.js +57 -0
  107. package/dist/cli/update-N2DMPSUH.js +35 -0
  108. package/dist/cli/{update-4PCKVDCS.mjs → update-UMRPPILV.mjs} +10 -10
  109. package/dist/cli/{workflow-42CL4TVR.mjs → workflow-LSFOG5VU.mjs} +7 -7
  110. package/dist/cli/{workflow-XXKXMPTI.js → workflow-SK3BUHB4.js} +17 -17
  111. package/dist/index.js +9 -9
  112. package/dist/index.mjs +6 -6
  113. package/dist/install-integrity.json +102 -102
  114. package/dist/release.d.mts +1 -1
  115. package/dist/release.d.ts +1 -1
  116. package/dist/release.js +2 -2
  117. package/dist/release.mjs +1 -1
  118. package/dist/server.js +5 -5
  119. package/dist/server.mjs +3 -3
  120. package/package.json +1 -1
  121. package/dist/cli/auth-LFU77QDI.js +0 -43
  122. package/dist/cli/describe-JKZ67X3E.js +0 -50
  123. package/dist/cli/git-U5N6CTML.js +0 -25
  124. package/dist/cli/search-NKEEGLY6.js +0 -33
  125. package/dist/cli/skills-K6FVG3BX.js +0 -37
  126. package/dist/cli/tools-LSALTN7I.js +0 -57
  127. package/dist/cli/update-P5KGNFNL.js +0 -35
@@ -3,7 +3,7 @@
3
3
  var _chunkVLEVVDWGjs = require('./chunk-VLEVVDWG.js');
4
4
 
5
5
 
6
- var _chunkJRHMPZJXjs = require('./chunk-JRHMPZJX.js');
6
+ var _chunk6TBRWRJ2js = require('./chunk-6TBRWRJ2.js');
7
7
 
8
8
 
9
9
  var _chunkRNSHCJMEjs = require('./chunk-RNSHCJME.js');
@@ -11,7 +11,7 @@ var _chunkRNSHCJMEjs = require('./chunk-RNSHCJME.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkJUYW6TSUjs = require('./chunk-JUYW6TSU.js');
14
+ var _chunk726UDAV2js = require('./chunk-726UDAV2.js');
15
15
 
16
16
 
17
17
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
@@ -581,7 +581,7 @@ function parseInputFlagValue(raw) {
581
581
  return raw;
582
582
  }
583
583
  function parsePlayRunOptions(args, initialInput = null) {
584
- const selection = _chunkJUYW6TSUjs.parseJsonFields.call(void 0, args, "run");
584
+ const selection = _chunk726UDAV2js.parseJsonFields.call(void 0, args, "run");
585
585
  args = selection.args;
586
586
  const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--json] [--full] [--<input> value]\n Runs use the Absurd CJS runtime.\n --header '<name>: <value>' may repeat; each is sent on every request for this run.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and deepline.dataset guidance.";
587
587
  let filePath = null;
@@ -593,7 +593,7 @@ function parsePlayRunOptions(args, initialInput = null) {
593
593
  let revisionSelector = null;
594
594
  const watch = !args.includes("--no-wait");
595
595
  const dryRun = args.includes("--dry-run");
596
- let jsonOutput = dryRun ? _chunkJUYW6TSUjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkJUYW6TSUjs.argsWantJson.call(void 0, args);
596
+ let jsonOutput = dryRun ? _chunk726UDAV2js.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunk726UDAV2js.argsWantJson.call(void 0, args);
597
597
  const fullJson = args.includes("--full");
598
598
  const force = args.includes("--force") || args.includes("--from-start");
599
599
  const forceToolRefresh = args.includes("--force-tool-refresh") || args.includes("--refresh-cache");
@@ -656,7 +656,7 @@ function parsePlayRunOptions(args, initialInput = null) {
656
656
  "--log-level requires one of: debug, info, warn, error."
657
657
  );
658
658
  }
659
- const parsed = _chunkJRHMPZJXjs.parseLogLevel.call(void 0, value);
659
+ const parsed = _chunk6TBRWRJ2js.parseLogLevel.call(void 0, value);
660
660
  if (!parsed) {
661
661
  throw new Error(
662
662
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -974,7 +974,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
974
974
  const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
975
975
  (arg) => arg === "--log-level" || arg.startsWith("--log-level=")
976
976
  );
977
- let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkJRHMPZJXjs.parseLogLevel.call(void 0, options.logLevel);
977
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunk6TBRWRJ2js.parseLogLevel.call(void 0, options.logLevel);
978
978
  if (!logLevel)
979
979
  throw new Error("--log-level requires one of: debug, info, warn, error.");
980
980
  const debugAlias = options.logs || options.debug === true || inputArgs.some(
@@ -988,13 +988,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
988
988
  if (debugAlias || debugMapLatency && logLevel === "info")
989
989
  logLevel = "debug";
990
990
  const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
991
- const jsonFields = options.json === void 0 ? base.jsonFields : _chunkJUYW6TSUjs.parseJsonFields.call(void 0,
992
- [...fullJson ? ["--full"] : [], ..._chunkJUYW6TSUjs.jsonFieldArgs.call(void 0, options.json)],
991
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunk726UDAV2js.parseJsonFields.call(void 0,
992
+ [...fullJson ? ["--full"] : [], ..._chunk726UDAV2js.jsonFieldArgs.call(void 0, options.json)],
993
993
  "run"
994
994
  ).fields;
995
995
  const watch = options.wait === false ? false : base.watch;
996
996
  const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
997
- const jsonOutput = dryRun || !watch ? explicitJson || _chunkJUYW6TSUjs.argsWantJson.call(void 0, []) : explicitJson;
997
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunk726UDAV2js.argsWantJson.call(void 0, []) : explicitJson;
998
998
  const verboseLogs = Boolean(
999
999
  debugAlias || logLevel === "debug" || debugMapLatency
1000
1000
  );
@@ -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 _chunkJUYW6TSUjs = require('./chunk-JUYW6TSU.js');
4
+ var _chunk726UDAV2js = require('./chunk-726UDAV2.js');
5
5
 
6
6
 
7
- var _chunk74UO7THCjs = require('./chunk-74UO7THC.js');
7
+ var _chunk7KALZEDZjs = require('./chunk-7KALZEDZ.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 = _chunk74UO7THCjs.agentSessionIdFromEnvironment.call(void 0,
142
+ const sessionId = _chunk7KALZEDZjs.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 } = _chunkJUYW6TSUjs.getAuthedHttpClient.call(void 0, );
454
+ const { http } = _chunk726UDAV2js.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
- _chunkJUYW6TSUjs.printCommandEnvelope.call(void 0,
487
+ _chunk726UDAV2js.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
- _chunkJUYW6TSUjs.printCommandEnvelope.call(void 0,
519
+ _chunk726UDAV2js.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
- _chunkJUYW6TSUjs.printCommandEnvelope.call(void 0,
569
+ _chunk726UDAV2js.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
- _chunkJUYW6TSUjs.printCommandEnvelope.call(void 0,
677
+ _chunk726UDAV2js.printCommandEnvelope.call(void 0,
678
678
  {
679
679
  ok: true,
680
680
  file: outputPath,
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-K4RME7AV.mjs";
4
+ } from "./chunk-IZW7IOD6.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-XSOLA2ED.mjs";
7
+ } from "./chunk-T67NAGSD.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-GRGZKXLL.mjs";
10
+ } from "./chunk-XIBNY6H6.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-DZ7JCRAL.mjs";
13
+ } from "./chunk-6KBVQ76G.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-FRT5MFLF.mjs";
16
+ } from "./chunk-R2KNJMOY.mjs";
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  import { spawn, spawnSync } from "child_process";
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkJUYW6TSUjs = require('./chunk-JUYW6TSU.js');
5
+ var _chunk726UDAV2js = require('./chunk-726UDAV2.js');
6
6
 
7
7
 
8
- var _chunkJ3LJ37WDjs = require('./chunk-J3LJ37WD.js');
8
+ var _chunkHMAETS53js = require('./chunk-HMAETS53.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 } = _chunkJUYW6TSUjs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunk726UDAV2js.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkJUYW6TSUjs.printCommandEnvelope.call(void 0,
39
+ _chunk726UDAV2js.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 } = _chunkJUYW6TSUjs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunk726UDAV2js.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
- _chunkJUYW6TSUjs.printCommandEnvelope.call(void 0,
139
+ _chunk726UDAV2js.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 } = _chunkJUYW6TSUjs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunk726UDAV2js.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
- _chunkJUYW6TSUjs.printCommandEnvelope.call(void 0,
153
+ _chunk726UDAV2js.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 } = _chunkJUYW6TSUjs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunk726UDAV2js.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 } = _chunkJUYW6TSUjs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunk726UDAV2js.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
- _chunkJUYW6TSUjs.printCommandEnvelope.call(void 0,
200
+ _chunk726UDAV2js.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 } = _chunkJUYW6TSUjs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunk726UDAV2js.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkJUYW6TSUjs.printCommandEnvelope.call(void 0,
227
+ _chunk726UDAV2js.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 } = _chunkJUYW6TSUjs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunk726UDAV2js.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
- _chunkJUYW6TSUjs.printCommandEnvelope.call(void 0,
254
+ _chunk726UDAV2js.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 } = _chunkJUYW6TSUjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunk726UDAV2js.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkJUYW6TSUjs.printCommandEnvelope.call(void 0,
269
+ _chunk726UDAV2js.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 = _chunkJ3LJ37WDjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkHMAETS53js.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkJUYW6TSUjs.openInBrowser.call(void 0, connectUrl);
292
- _chunkJUYW6TSUjs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunk726UDAV2js.openInBrowser.call(void 0, connectUrl);
292
+ _chunk726UDAV2js.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 } = _chunkJUYW6TSUjs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunk726UDAV2js.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
- _chunkJUYW6TSUjs.printCommandEnvelope.call(void 0,
322
+ _chunk726UDAV2js.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 } = _chunkJUYW6TSUjs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunk726UDAV2js.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
- _chunkJUYW6TSUjs.printCommandEnvelope.call(void 0,
371
+ _chunk726UDAV2js.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 } = _chunkJUYW6TSUjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunk726UDAV2js.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkJUYW6TSUjs.printCommandEnvelope.call(void 0,
392
+ _chunk726UDAV2js.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-F6QV42MC.mjs";
4
4
  import {
5
5
  parseLogLevel
6
- } from "./chunk-Q4I5YKN4.mjs";
6
+ } from "./chunk-K2RCVD7S.mjs";
7
7
  import {
8
8
  setDottedInputValue
9
9
  } from "./chunk-N4TR6QRI.mjs";
@@ -11,7 +11,7 @@ import {
11
11
  argsWantJson,
12
12
  jsonFieldArgs,
13
13
  parseJsonFields
14
- } from "./chunk-DZ7JCRAL.mjs";
14
+ } from "./chunk-6KBVQ76G.mjs";
15
15
  import {
16
16
  DeeplineError
17
17
  } from "./chunk-HBL4PM5Q.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeRawStderr
3
- } from "./chunk-DZ7JCRAL.mjs";
3
+ } from "./chunk-6KBVQ76G.mjs";
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  import { InvalidArgumentError } from "commander";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  getActiveCliProgress
3
- } from "./chunk-NC2FIUPX.mjs";
3
+ } from "./chunk-UART6FGK.mjs";
4
4
  import {
5
5
  maybeReportAutomaticSkillsSyncFailure
6
- } from "./chunk-3XBI4KZM.mjs";
6
+ } from "./chunk-25MAOMVS.mjs";
7
7
  import {
8
8
  DEFAULT_SKILL_AGENTS,
9
9
  KNOWN_SKILL_AGENTS,
@@ -14,17 +14,17 @@ import {
14
14
  sdkCliStateDirPath,
15
15
  skillsAgentPathSegment,
16
16
  writeSdkSkillsLocalVersion
17
- } from "./chunk-FRT5MFLF.mjs";
17
+ } from "./chunk-R2KNJMOY.mjs";
18
18
  import {
19
19
  SDK_API_CONTRACT,
20
20
  SDK_API_MAJOR,
21
21
  SDK_VERSION,
22
22
  deploymentProtectionHeaders,
23
23
  detectAgentRuntime
24
- } from "./chunk-2LY42EZJ.mjs";
24
+ } from "./chunk-3CZHC24N.mjs";
25
25
  import {
26
26
  SDK_RELEASE
27
- } from "./chunk-KSQO32L5.mjs";
27
+ } from "./chunk-RSKAPLST.mjs";
28
28
 
29
29
  // src/compat.ts
30
30
  import { randomUUID } from "crypto";