deepline 0.3.569 → 0.3.570

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 (136) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +1 -0
  3. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox.ts +17 -1
  4. package/dist/cli/{auth-VNJLXDGF.mjs → auth-KHJKNEYN.mjs} +5 -5
  5. package/dist/cli/auth-X2LWGPF4.js +44 -0
  6. package/dist/cli/{billing-OTIIK5ZQ.js → billing-Q4BRUODF.js} +99 -99
  7. package/dist/cli/{billing-6HD5LEI2.mjs → billing-R5AO4M3S.mjs} +8 -8
  8. package/dist/cli/{chunk-YNSVWNRY.mjs → chunk-2GBOHROU.mjs} +1 -1
  9. package/dist/cli/{chunk-HLRSNCPM.js → chunk-2GTLZNSK.js} +53 -53
  10. package/dist/cli/{chunk-FSAOU4HA.js → chunk-2MXS53XJ.js} +20 -20
  11. package/dist/cli/{chunk-FPRLFIYT.mjs → chunk-3YHMHV6U.mjs} +4 -4
  12. package/dist/cli/{chunk-TALKTQK5.mjs → chunk-5OOGWYSR.mjs} +1 -1
  13. package/dist/cli/{chunk-7QH52S3E.mjs → chunk-73RTZMDV.mjs} +3 -3
  14. package/dist/cli/{chunk-D3BJ2KZX.mjs → chunk-77HEH4RY.mjs} +1 -1
  15. package/dist/cli/{chunk-UOMMXLDU.mjs → chunk-BEE5VGCL.mjs} +11 -11
  16. package/dist/cli/{chunk-44HOKKIN.js → chunk-CHHXUEVC.js} +100 -100
  17. package/dist/cli/{chunk-MIGJHZ3P.js → chunk-DPZAEVPO.js} +20 -20
  18. package/dist/cli/{chunk-AKNJDDSM.mjs → chunk-EEUBKKJE.mjs} +1 -1
  19. package/dist/cli/{chunk-YLZ63U7S.mjs → chunk-EJB4V77N.mjs} +5 -5
  20. package/dist/cli/{chunk-6SBGYX25.mjs → chunk-EYEPXZNS.mjs} +2 -2
  21. package/dist/cli/{chunk-WVS2ITKP.js → chunk-FABLUH75.js} +3 -3
  22. package/dist/cli/{chunk-SWREMC6J.js → chunk-FDSQSUZF.js} +5 -5
  23. package/dist/cli/{chunk-DG6ILAO7.mjs → chunk-GFGXDDJH.mjs} +2 -2
  24. package/dist/cli/{chunk-ANXJNE2G.js → chunk-GPXLMRCB.js} +3 -3
  25. package/dist/cli/{chunk-IEOIGU5A.mjs → chunk-HPWP2B3D.mjs} +1 -1
  26. package/dist/cli/{chunk-P2LVKWU6.mjs → chunk-I4N62RWB.mjs} +2 -2
  27. package/dist/cli/{chunk-X4WPW5O3.mjs → chunk-I5EZZFQL.mjs} +3 -3
  28. package/dist/cli/{chunk-IS4NFIQY.js → chunk-J6M2AX3P.js} +8 -8
  29. package/dist/cli/{chunk-QLMMNBJW.js → chunk-J6PTH725.js} +6 -6
  30. package/dist/cli/{chunk-TH2GHSF6.js → chunk-JSHE4W6W.js} +5 -5
  31. package/dist/cli/{chunk-EDNWMQZQ.mjs → chunk-MH3WE5O6.mjs} +2 -2
  32. package/dist/cli/{chunk-TRE5X6VQ.mjs → chunk-MVHKTZCX.mjs} +1 -1
  33. package/dist/cli/{chunk-6Z7B3IOW.js → chunk-NIO2T6OC.js} +2 -2
  34. package/dist/cli/{chunk-4CLEOTG6.js → chunk-NR7QW2E7.js} +2 -2
  35. package/dist/cli/{chunk-SRMDDVWK.mjs → chunk-NVYQ6WCW.mjs} +5 -5
  36. package/dist/cli/{chunk-SMAXLMM3.js → chunk-NWAFCOUF.js} +15 -15
  37. package/dist/cli/{chunk-OFBP336D.mjs → chunk-O3ET4XR3.mjs} +4 -4
  38. package/dist/cli/{chunk-6D4WBX7E.mjs → chunk-OOTXBEHG.mjs} +1 -1
  39. package/dist/cli/{chunk-N5ZOD3LA.js → chunk-OPZHUL6T.js} +10 -10
  40. package/dist/cli/{chunk-YTOILYBU.js → chunk-OV6EKORX.js} +26 -26
  41. package/dist/cli/{chunk-H3SQMLHO.js → chunk-OWEUQCBZ.js} +48 -48
  42. package/dist/cli/{chunk-TZVKEUM6.js → chunk-PERYT4ZA.js} +1 -1
  43. package/dist/cli/{chunk-3WZ3X46C.js → chunk-PSMYOQFI.js} +13 -13
  44. package/dist/cli/{chunk-7MZUSBSI.js → chunk-Q4P6STRD.js} +23 -23
  45. package/dist/cli/{chunk-WPCY5PR3.mjs → chunk-RS6KPFQX.mjs} +5 -5
  46. package/dist/cli/{chunk-S3VGWMFX.js → chunk-SOZ2SB43.js} +9 -9
  47. package/dist/cli/{chunk-GSUHJUNZ.mjs → chunk-TMT3S2JR.mjs} +2 -2
  48. package/dist/cli/{chunk-45OTCUAC.mjs → chunk-TWHTVGGW.mjs} +2 -2
  49. package/dist/cli/{chunk-H7DRZXYF.js → chunk-UDN6EYBJ.js} +4 -4
  50. package/dist/cli/{chunk-YTYDKSK7.mjs → chunk-UWQLRBXY.mjs} +5 -5
  51. package/dist/cli/{chunk-IGIUAHTR.js → chunk-W26YT37U.js} +41 -41
  52. package/dist/cli/{chunk-CK6U2NH2.mjs → chunk-WINZRS3A.mjs} +1 -1
  53. package/dist/cli/{chunk-PAFSVZCZ.js → chunk-WNUFRUNS.js} +15 -15
  54. package/dist/cli/{chunk-7NP7WZV2.mjs → chunk-XHFSNMEU.mjs} +3 -3
  55. package/dist/cli/{chunk-LOF7H5V3.js → chunk-YQP4ZUOJ.js} +7 -7
  56. package/dist/cli/{chunk-6HEZRKAO.mjs → chunk-YXJVYY5V.mjs} +2 -2
  57. package/dist/cli/{chunk-QKPKVLTG.js → chunk-ZGOCDLJQ.js} +2 -2
  58. package/dist/cli/{chunk-JXRWSBJZ.mjs → chunk-ZZ4D74UL.mjs} +1 -1
  59. package/dist/cli/{chunk-S4MDYDCF.js → chunk-ZZ7ZH27W.js} +5 -5
  60. package/dist/cli/{concurrent-runs-help-BVBGDMNV.mjs → concurrent-runs-help-Q26CEJ7I.mjs} +6 -6
  61. package/dist/cli/concurrent-runs-help-QDURIV4N.js +22 -0
  62. package/dist/cli/{csv-BUZIP2TV.mjs → csv-6LI6HLKG.mjs} +4 -4
  63. package/dist/cli/{csv-G25E43QV.js → csv-Z34I5QIU.js} +13 -13
  64. package/dist/cli/{db-EUN7RRDX.mjs → db-K5GKIKQU.mjs} +6 -6
  65. package/dist/cli/{db-KYIDDEEE.js → db-NUDEYQCF.js} +27 -27
  66. package/dist/cli/describe-BY7LKP53.js +50 -0
  67. package/dist/cli/{describe-CTYSKRQB.mjs → describe-EB4KTEPT.mjs} +18 -18
  68. package/dist/cli/{executions-BRSOIIV7.mjs → executions-DAGHJZEI.mjs} +6 -6
  69. package/dist/cli/{executions-LQA34Z76.js → executions-KHOUABZ3.js} +8 -8
  70. package/dist/cli/{feedback-JYL2FTWI.mjs → feedback-A57YETEA.mjs} +6 -6
  71. package/dist/cli/{feedback-RVYWQRSZ.js → feedback-XLAWTPK2.js} +14 -14
  72. package/dist/cli/git-CR6PBWBH.js +26 -0
  73. package/dist/cli/{git-2Z2KYPCV.mjs → git-U3FNR34D.mjs} +5 -5
  74. package/dist/cli/index.js +143 -143
  75. package/dist/cli/index.mjs +45 -45
  76. package/dist/cli/{integrations-QFS62VWE.mjs → integrations-LXUMB4RY.mjs} +7 -7
  77. package/dist/cli/{integrations-JK3OT5BT.js → integrations-YVOJ5D6W.js} +29 -29
  78. package/dist/cli/{legacy-noops-NBKBFVDO.mjs → legacy-noops-4Z2RBTHW.mjs} +6 -6
  79. package/dist/cli/{legacy-noops-RYP5LN5D.js → legacy-noops-IZVLGQZJ.js} +9 -9
  80. package/dist/cli/{mcp-KPY7NZPI.js → mcp-GRGI3KYH.js} +24 -24
  81. package/dist/cli/{mcp-KVGJK3SM.mjs → mcp-ZHXRVV7D.mjs} +4 -4
  82. package/dist/cli/{monitors-H3UWQMMI.mjs → monitors-7ZVYJ3CX.mjs} +7 -7
  83. package/dist/cli/{monitors-DE5SX3CP.js → monitors-XFN5D6EW.js} +100 -100
  84. package/dist/cli/{org-CDCSMG3J.js → org-RWWXN5TK.js} +121 -121
  85. package/dist/cli/{org-N6I5K56T.mjs → org-YY5JTKNV.mjs} +6 -6
  86. package/dist/cli/{outcomes-UNAOLWWO.js → outcomes-AOZVYNJT.js} +14 -14
  87. package/dist/cli/{outcomes-EPEMTJVB.mjs → outcomes-MGWUZNQ6.mjs} +6 -6
  88. package/dist/cli/{play-VVM5XJFT.mjs → play-AJR7BT3R.mjs} +19 -19
  89. package/dist/cli/{play-7TVJ3DFQ.js → play-S34KIOWS.js} +324 -324
  90. package/dist/cli/{providers-47CT527B.mjs → providers-QRWQGVIC.mjs} +6 -6
  91. package/dist/cli/{providers-ANYRJ56K.js → providers-S4WMWHBW.js} +9 -9
  92. package/dist/cli/{quickstart-H4MI6LVO.js → quickstart-GET2M3BQ.js} +6 -6
  93. package/dist/cli/{quickstart-QHMC5YCM.mjs → quickstart-NLAIOXVY.mjs} +4 -4
  94. package/dist/cli/{run-V4UAYPAX.js → run-BOHHBZSI.js} +44 -44
  95. package/dist/cli/{run-NXC5W5CW.mjs → run-R2RYHNVS.mjs} +23 -23
  96. package/dist/cli/search-CZVM2OX5.js +32 -0
  97. package/dist/cli/{search-BEU4VBY4.mjs → search-VBIVRRRO.mjs} +7 -7
  98. package/dist/cli/{search-output-NUGUU7VJ.js → search-output-EVNRKEGZ.js} +6 -6
  99. package/dist/cli/{search-output-DUA3WDB7.mjs → search-output-OCYIQFV6.mjs} +4 -4
  100. package/dist/cli/{secrets-PFDBC5KO.js → secrets-52T2SCZ5.js} +15 -15
  101. package/dist/cli/{secrets-XQOOWTH2.mjs → secrets-TNCO45WJ.mjs} +6 -6
  102. package/dist/cli/{sessions-U2ZS5R42.mjs → sessions-4XE7AR3A.mjs} +6 -6
  103. package/dist/cli/sessions-GOHYDYMH.js +23 -0
  104. package/dist/cli/{settings-ATYARYCR.js → settings-TKRF2B3K.js} +85 -85
  105. package/dist/cli/{settings-GPDE7DL2.mjs → settings-ZFCHR7MW.mjs} +12 -12
  106. package/dist/cli/{setup-4AYMU7NK.js → setup-AWNE4VNL.js} +49 -49
  107. package/dist/cli/{setup-UDO6BY5A.mjs → setup-QY3ZML4C.mjs} +9 -9
  108. package/dist/cli/skills-54CGCMPF.js +37 -0
  109. package/dist/cli/{skills-RACTA7VV.mjs → skills-GUGJDCFY.mjs} +7 -7
  110. package/dist/cli/tools-A7FEGDPX.js +57 -0
  111. package/dist/cli/{tools-TXI6XFHE.mjs → tools-NBKPWOWD.mjs} +17 -17
  112. package/dist/cli/update-3J52CJHB.js +37 -0
  113. package/dist/cli/{update-VHTKWNXO.mjs → update-KLGVIBRY.mjs} +9 -9
  114. package/dist/cli/{views-DVBO3L63.js → views-MDXEIVQ7.js} +21 -21
  115. package/dist/cli/{views-GCNEHB7D.mjs → views-OEOW2EZO.mjs} +6 -6
  116. package/dist/cli/{workflow-R3A6EGB5.mjs → workflow-LK4SIUOM.mjs} +7 -7
  117. package/dist/cli/{workflow-TFRJ5JKX.js → workflow-PUSTWPW4.js} +17 -17
  118. package/dist/index.js +9 -9
  119. package/dist/index.mjs +6 -6
  120. package/dist/install-integrity.json +112 -112
  121. package/dist/release.d.mts +1 -1
  122. package/dist/release.d.ts +1 -1
  123. package/dist/release.js +2 -2
  124. package/dist/release.mjs +1 -1
  125. package/dist/server.js +5 -5
  126. package/dist/server.mjs +3 -3
  127. package/package.json +1 -1
  128. package/dist/cli/auth-77NOPZ6A.js +0 -44
  129. package/dist/cli/concurrent-runs-help-QPUTOBFB.js +0 -22
  130. package/dist/cli/describe-PJIQSXJ4.js +0 -50
  131. package/dist/cli/git-MJRG55H7.js +0 -26
  132. package/dist/cli/search-TUK2STXB.js +0 -32
  133. package/dist/cli/sessions-5333FFSY.js +0 -23
  134. package/dist/cli/skills-LB56HJOY.js +0 -37
  135. package/dist/cli/tools-3Y7KCKZX.js +0 -57
  136. package/dist/cli/update-EWOLMH3E.js +0 -37
@@ -3,7 +3,7 @@
3
3
  var _chunkCSPHSNBWjs = require('./chunk-CSPHSNBW.js');
4
4
 
5
5
 
6
- var _chunkIS4NFIQYjs = require('./chunk-IS4NFIQY.js');
6
+ var _chunkJ6M2AX3Pjs = require('./chunk-J6M2AX3P.js');
7
7
 
8
8
 
9
9
  var _chunkMJTVX4QKjs = require('./chunk-MJTVX4QK.js');
@@ -11,7 +11,7 @@ var _chunkMJTVX4QKjs = require('./chunk-MJTVX4QK.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkFSAOU4HAjs = require('./chunk-FSAOU4HA.js');
14
+ var _chunk2MXS53XJjs = require('./chunk-2MXS53XJ.js');
15
15
 
16
16
 
17
17
  var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
@@ -581,7 +581,7 @@ function parseInputFlagValue(raw) {
581
581
  return raw;
582
582
  }
583
583
  function parsePlayRunOptions(args, initialInput = null) {
584
- const selection = _chunkFSAOU4HAjs.parseJsonFields.call(void 0, args, "run");
584
+ const selection = _chunk2MXS53XJjs.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 ? _chunkFSAOU4HAjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkFSAOU4HAjs.argsWantJson.call(void 0, args);
596
+ let jsonOutput = dryRun ? _chunk2MXS53XJjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunk2MXS53XJjs.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");
@@ -657,7 +657,7 @@ function parsePlayRunOptions(args, initialInput = null) {
657
657
  "--log-level requires one of: debug, info, warn, error."
658
658
  );
659
659
  }
660
- const parsed = _chunkIS4NFIQYjs.parseLogLevel.call(void 0, value);
660
+ const parsed = _chunkJ6M2AX3Pjs.parseLogLevel.call(void 0, value);
661
661
  if (!parsed) {
662
662
  throw new Error(
663
663
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -990,7 +990,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
990
990
  const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
991
991
  (arg) => arg === "--log-level" || arg.startsWith("--log-level=")
992
992
  );
993
- let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkIS4NFIQYjs.parseLogLevel.call(void 0, options.logLevel);
993
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkJ6M2AX3Pjs.parseLogLevel.call(void 0, options.logLevel);
994
994
  if (!logLevel)
995
995
  throw new Error("--log-level requires one of: debug, info, warn, error.");
996
996
  const debugAlias = options.logs || options.debug === true || inputArgs.some(
@@ -1004,13 +1004,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
1004
1004
  if (debugAlias || debugMapLatency && logLevel === "info")
1005
1005
  logLevel = "debug";
1006
1006
  const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
1007
- const jsonFields = options.json === void 0 ? base.jsonFields : _chunkFSAOU4HAjs.parseJsonFields.call(void 0,
1008
- [...fullJson ? ["--full"] : [], ..._chunkFSAOU4HAjs.jsonFieldArgs.call(void 0, options.json)],
1007
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunk2MXS53XJjs.parseJsonFields.call(void 0,
1008
+ [...fullJson ? ["--full"] : [], ..._chunk2MXS53XJjs.jsonFieldArgs.call(void 0, options.json)],
1009
1009
  "run"
1010
1010
  ).fields;
1011
1011
  const watch = options.wait === false ? false : base.watch;
1012
1012
  const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
1013
- const jsonOutput = dryRun || !watch ? explicitJson || _chunkFSAOU4HAjs.argsWantJson.call(void 0, []) : explicitJson;
1013
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunk2MXS53XJjs.argsWantJson.call(void 0, []) : explicitJson;
1014
1014
  const verboseLogs = Boolean(
1015
1015
  debugAlias || logLevel === "debug" || debugMapLatency
1016
1016
  );
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-MF7PCM6C.mjs";
4
4
  import {
5
5
  parseLogLevel
6
- } from "./chunk-6D4WBX7E.mjs";
6
+ } from "./chunk-OOTXBEHG.mjs";
7
7
  import {
8
8
  setDottedInputValue
9
9
  } from "./chunk-5TYLSS4Q.mjs";
@@ -11,7 +11,7 @@ import {
11
11
  argsWantJson,
12
12
  jsonFieldArgs,
13
13
  parseJsonFields
14
- } from "./chunk-P2LVKWU6.mjs";
14
+ } from "./chunk-I4N62RWB.mjs";
15
15
  import {
16
16
  DeeplineError
17
17
  } from "./chunk-Z3A2S3QM.mjs";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-6D4WBX7E.mjs";
3
+ } from "./chunk-OOTXBEHG.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-D3BJ2KZX.mjs";
7
+ } from "./chunk-77HEH4RY.mjs";
8
8
 
9
9
  // src/client.ts
10
10
  var DeeplineClient2 = class extends DeeplineClient {
@@ -21,12 +21,12 @@ var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
21
21
  var _chunkCFJFUVX2js = require('./chunk-CFJFUVX2.js');
22
22
 
23
23
 
24
- var _chunkTZVKEUM6js = require('./chunk-TZVKEUM6.js');
24
+ var _chunkPERYT4ZAjs = require('./chunk-PERYT4ZA.js');
25
25
 
26
26
  // src/version.ts
27
- var SDK_VERSION = _chunkTZVKEUM6js.SDK_RELEASE.version;
28
- var SDK_API_MAJOR = _chunkTZVKEUM6js.SDK_RELEASE.contracts.api.currentMajor;
29
- var SDK_API_CONTRACT = _nullishCoalesce(_chunkTZVKEUM6js.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
27
+ var SDK_VERSION = _chunkPERYT4ZAjs.SDK_RELEASE.version;
28
+ var SDK_API_MAJOR = _chunkPERYT4ZAjs.SDK_RELEASE.contracts.api.currentMajor;
29
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunkPERYT4ZAjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
30
30
 
31
31
  // src/agent-runtime.ts
32
32
  var _fs = require('fs');
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  getActiveCliProgress
3
- } from "./chunk-YNSVWNRY.mjs";
3
+ } from "./chunk-2GBOHROU.mjs";
4
4
  import {
5
5
  maybeReportAutomaticSkillsSyncFailure
6
- } from "./chunk-P2LVKWU6.mjs";
6
+ } from "./chunk-I4N62RWB.mjs";
7
7
  import {
8
8
  DEFAULT_MAX_RETRIES,
9
9
  DEFAULT_SKILL_AGENTS,
@@ -18,20 +18,20 @@ import {
18
18
  sdkCliStateDirPath,
19
19
  skillsAgentPathSegment,
20
20
  writeSdkSkillsLocalVersion
21
- } from "./chunk-D3BJ2KZX.mjs";
21
+ } from "./chunk-77HEH4RY.mjs";
22
22
  import {
23
23
  SDK_API_CONTRACT,
24
24
  SDK_API_MAJOR,
25
25
  SDK_VERSION,
26
26
  deploymentProtectionHeaders,
27
27
  detectAgentRuntime
28
- } from "./chunk-IEOIGU5A.mjs";
28
+ } from "./chunk-HPWP2B3D.mjs";
29
29
  import {
30
30
  DeeplineError
31
31
  } from "./chunk-Z3A2S3QM.mjs";
32
32
  import {
33
33
  SDK_RELEASE
34
- } from "./chunk-TALKTQK5.mjs";
34
+ } from "./chunk-5OOGWYSR.mjs";
35
35
 
36
36
  // src/compat.ts
37
37
  import { randomUUID } from "crypto";
@@ -11,20 +11,20 @@
11
11
 
12
12
 
13
13
 
14
- var _chunkH3SQMLHOjs = require('./chunk-H3SQMLHO.js');
14
+ var _chunkOWEUQCBZjs = require('./chunk-OWEUQCBZ.js');
15
15
 
16
16
 
17
- var _chunkFSAOU4HAjs = require('./chunk-FSAOU4HA.js');
17
+ var _chunk2MXS53XJjs = require('./chunk-2MXS53XJ.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkWVS2ITKPjs = require('./chunk-WVS2ITKP.js');
23
+ var _chunkFABLUH75js = require('./chunk-FABLUH75.js');
24
24
 
25
25
 
26
26
 
27
- var _chunkH7DRZXYFjs = require('./chunk-H7DRZXYF.js');
27
+ var _chunkUDN6EYBJjs = require('./chunk-UDN6EYBJ.js');
28
28
 
29
29
 
30
30
  var _chunkRLX5ZFNXjs = require('./chunk-RLX5ZFNX.js');
@@ -145,7 +145,7 @@ function inferActiveSkillsScope(entrypoint = _nullishCoalesce(process.argv[1], (
145
145
  return /[\\/]\.deepline[\\/]runtime[\\/]/.test(entrypoint) ? "local" : "global";
146
146
  }
147
147
  function resolveLocalRoot() {
148
- const target = _chunkWVS2ITKPjs.resolveProjectPinTarget.call(void 0, );
148
+ const target = _chunkFABLUH75js.resolveProjectPinTarget.call(void 0, );
149
149
  if (!target.ok) {
150
150
  throw new Error(
151
151
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
@@ -156,7 +156,7 @@ function resolveLocalRoot() {
156
156
  return target.dir;
157
157
  }
158
158
  function detectSkillsAgents(input) {
159
- const runtime = _nullishCoalesce(input.runtime, () => ( _chunkH7DRZXYFjs.detectAgentRuntime.call(void 0, )));
159
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunkUDN6EYBJjs.detectAgentRuntime.call(void 0, )));
160
160
  const knownAgent = RUNTIME_TO_SKILLS_AGENT[runtime];
161
161
  if (knownAgent) return [knownAgent];
162
162
  const roots = [
@@ -171,11 +171,11 @@ function detectSkillsAgents(input) {
171
171
  return detected.length > 0 ? detected : ["*"];
172
172
  }
173
173
  function skillsStatePathForScope(baseUrl, scope, root) {
174
- return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkWVS2ITKPjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
174
+ return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkFABLUH75js.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
175
175
  }
176
176
  function buildSkillsPlan(input) {
177
177
  const scopeArgs = input.scope === "global" ? ["--global"] : [];
178
- const legacyNames = [..._chunkH3SQMLHOjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
178
+ const legacyNames = [..._chunkOWEUQCBZjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
179
179
  (a, b) => a.localeCompare(b)
180
180
  );
181
181
  return {
@@ -189,7 +189,7 @@ function buildSkillsPlan(input) {
189
189
  args: [
190
190
  "exec",
191
191
  "--yes",
192
- `--package=${_chunkH3SQMLHOjs.SKILLS_NPX_PACKAGE}`,
192
+ `--package=${_chunkOWEUQCBZjs.SKILLS_NPX_PACKAGE}`,
193
193
  "--",
194
194
  "skills",
195
195
  "remove",
@@ -205,11 +205,11 @@ function buildSkillsPlan(input) {
205
205
  args: [
206
206
  "exec",
207
207
  "--yes",
208
- `--package=${_chunkH3SQMLHOjs.SKILLS_NPX_PACKAGE}`,
208
+ `--package=${_chunkOWEUQCBZjs.SKILLS_NPX_PACKAGE}`,
209
209
  "--",
210
210
  "skills",
211
211
  "add",
212
- _chunkH3SQMLHOjs.skillsSourceUrl.call(void 0, input.baseUrl),
212
+ _chunkOWEUQCBZjs.skillsSourceUrl.call(void 0, input.baseUrl),
213
213
  "--agent",
214
214
  ...input.agents,
215
215
  ...scopeArgs,
@@ -246,7 +246,7 @@ function readSkillsInstallState(path) {
246
246
  }
247
247
  function runProcess(command, args, cwd) {
248
248
  return new Promise((resolve, reject) => {
249
- const plan = _chunkH3SQMLHOjs.resolveShellSpawn.call(void 0,
249
+ const plan = _chunkOWEUQCBZjs.resolveShellSpawn.call(void 0,
250
250
  command,
251
251
  args,
252
252
  process.platform,
@@ -269,7 +269,7 @@ function runProcess(command, args, cwd) {
269
269
  child.kill("SIGTERM");
270
270
  reject(
271
271
  new Error(
272
- `${_chunkH3SQMLHOjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
272
+ `${_chunkOWEUQCBZjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
273
273
  )
274
274
  );
275
275
  }, SKILLS_PROCESS_TIMEOUT_MS);
@@ -280,7 +280,7 @@ function runProcess(command, args, cwd) {
280
280
  child.once("close", (code) => {
281
281
  clearTimeout(timeout);
282
282
  if (code && stderr.trim()) {
283
- process.stderr.write(`${_chunkH3SQMLHOjs.SKILLS_NPX_PACKAGE} exited ${code}.
283
+ process.stderr.write(`${_chunkOWEUQCBZjs.SKILLS_NPX_PACKAGE} exited ${code}.
284
284
  `);
285
285
  }
286
286
  resolve(_nullishCoalesce(code, () => ( 1)));
@@ -288,7 +288,7 @@ function runProcess(command, args, cwd) {
288
288
  });
289
289
  }
290
290
  async function showSkills(options, name) {
291
- const baseUrl = _chunkWVS2ITKPjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
291
+ const baseUrl = _chunkFABLUH75js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
292
292
  const url = name ? `${baseUrl}/.well-known/skills/${encodeURIComponent(name)}/SKILL.md` : `${baseUrl}/.well-known/skills/index.json`;
293
293
  try {
294
294
  const response = await fetch(url, {
@@ -301,7 +301,7 @@ async function showSkills(options, name) {
301
301
  }
302
302
  if (name) {
303
303
  const markdown = await response.text();
304
- _chunkFSAOU4HAjs.printCommandEnvelope.call(void 0,
304
+ _chunk2MXS53XJjs.printCommandEnvelope.call(void 0,
305
305
  { ok: true, status: "completed", skill: { name, markdown } },
306
306
  { json: options.json, text: markdown }
307
307
  );
@@ -311,7 +311,7 @@ async function showSkills(options, name) {
311
311
  const skills = (_nullishCoalesce(index.skills, () => ( []))).filter(
312
312
  (skill) => skill.install_surface === "v1" && skill.name
313
313
  );
314
- _chunkFSAOU4HAjs.printCommandEnvelope.call(void 0,
314
+ _chunk2MXS53XJjs.printCommandEnvelope.call(void 0,
315
315
  {
316
316
  ok: true,
317
317
  status: "completed",
@@ -328,7 +328,7 @@ Read one with: deepline skills show <name>
328
328
  );
329
329
  return 0;
330
330
  } catch (error) {
331
- _chunkFSAOU4HAjs.printCommandEnvelope.call(void 0,
331
+ _chunk2MXS53XJjs.printCommandEnvelope.call(void 0,
332
332
  {
333
333
  ok: false,
334
334
  status: "failed",
@@ -351,7 +351,7 @@ async function runSkillsCommand(options, dependencies = {}) {
351
351
  scope = normalizeScope(options.scope);
352
352
  root = scope === "local" ? resolveLocalRoot() : null;
353
353
  } catch (error) {
354
- _chunkFSAOU4HAjs.printCommandEnvelope.call(void 0,
354
+ _chunk2MXS53XJjs.printCommandEnvelope.call(void 0,
355
355
  {
356
356
  ok: false,
357
357
  status: "failed",
@@ -363,22 +363,22 @@ async function runSkillsCommand(options, dependencies = {}) {
363
363
  );
364
364
  return 2;
365
365
  }
366
- const baseUrl = _chunkWVS2ITKPjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
366
+ const baseUrl = _chunkFABLUH75js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
367
367
  const catalog = {
368
- skillNames: [..._chunkH3SQMLHOjs.DEFAULT_SDK_SKILL_NAMES],
369
- version: _chunkH7DRZXYFjs.SDK_VERSION
368
+ skillNames: [..._chunkOWEUQCBZjs.DEFAULT_SDK_SKILL_NAMES],
369
+ version: _chunkUDN6EYBJjs.SDK_VERSION
370
370
  };
371
371
  const agents = options.agent ? [options.agent] : detectSkillsAgents({ scope, root });
372
372
  const plan = buildSkillsPlan({ baseUrl, scope, root, agents, ...catalog });
373
373
  if (options.dryRun) {
374
- _chunkFSAOU4HAjs.printCommandEnvelope.call(void 0,
374
+ _chunk2MXS53XJjs.printCommandEnvelope.call(void 0,
375
375
  { ok: true, status: "planned", dryRun: true, ...plan },
376
376
  { json: options.json }
377
377
  );
378
378
  return 0;
379
379
  }
380
- if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkH3SQMLHOjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
381
- _chunkFSAOU4HAjs.printCommandEnvelope.call(void 0,
380
+ if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkOWEUQCBZjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
381
+ _chunk2MXS53XJjs.printCommandEnvelope.call(void 0,
382
382
  {
383
383
  ok: true,
384
384
  status: "current",
@@ -410,10 +410,10 @@ async function runSkillsCommand(options, dependencies = {}) {
410
410
  }
411
411
  if (scope === "local" && root) {
412
412
  const managedNames = [
413
- .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkH3SQMLHOjs.LEGACY_SKILL_NAMES_TO_REMOVE])
413
+ .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkOWEUQCBZjs.LEGACY_SKILL_NAMES_TO_REMOVE])
414
414
  ];
415
415
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
416
- _chunkWVS2ITKPjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
416
+ _chunkFABLUH75js.ensureProjectPrivatePathsIgnored.call(void 0, root, [
417
417
  ".deepline/",
418
418
  ...agentRoots.flatMap(
419
419
  (agentRoot) => managedNames.map((name) => `${agentRoot}/skills/${name}/`)
@@ -422,7 +422,7 @@ async function runSkillsCommand(options, dependencies = {}) {
422
422
  }
423
423
  let lease;
424
424
  try {
425
- lease = scope === "global" ? await _chunkH3SQMLHOjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
425
+ lease = scope === "global" ? await _chunkOWEUQCBZjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
426
426
  waitMs: _nullishCoalesce(dependencies.installLeaseWaitMs, () => ( SKILLS_INSTALL_LEASE_WAIT_MS)),
427
427
  onWait: () => process.stderr.write(
428
428
  "Waiting for a background Deepline skills refresh to finish...\n"
@@ -430,8 +430,8 @@ async function runSkillsCommand(options, dependencies = {}) {
430
430
  }) : { release: () => {
431
431
  } };
432
432
  } catch (error) {
433
- if (!(error instanceof _chunkH3SQMLHOjs.SkillsStateUnavailableError)) throw error;
434
- _chunkFSAOU4HAjs.printCommandEnvelope.call(void 0,
433
+ if (!(error instanceof _chunkOWEUQCBZjs.SkillsStateUnavailableError)) throw error;
434
+ _chunk2MXS53XJjs.printCommandEnvelope.call(void 0,
435
435
  {
436
436
  ok: false,
437
437
  status: "failed",
@@ -447,7 +447,7 @@ async function runSkillsCommand(options, dependencies = {}) {
447
447
  return 5;
448
448
  }
449
449
  if (!lease) {
450
- _chunkFSAOU4HAjs.printCommandEnvelope.call(void 0,
450
+ _chunk2MXS53XJjs.printCommandEnvelope.call(void 0,
451
451
  {
452
452
  ok: false,
453
453
  status: "failed",
@@ -456,7 +456,7 @@ async function runSkillsCommand(options, dependencies = {}) {
456
456
  scope,
457
457
  agents,
458
458
  message: "A background Deepline skills refresh is still running for these agents.",
459
- next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunkH3SQMLHOjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
459
+ next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunkOWEUQCBZjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
460
460
  },
461
461
  { json: options.json }
462
462
  );
@@ -505,7 +505,7 @@ async function runSkillsInstallWithLease(input) {
505
505
  }
506
506
  }
507
507
  } catch (error) {
508
- _chunkFSAOU4HAjs.printCommandEnvelope.call(void 0,
508
+ _chunk2MXS53XJjs.printCommandEnvelope.call(void 0,
509
509
  {
510
510
  ok: false,
511
511
  status: "failed",
@@ -521,7 +521,7 @@ async function runSkillsInstallWithLease(input) {
521
521
  return 5;
522
522
  }
523
523
  if (missing.length > 0) {
524
- _chunkFSAOU4HAjs.printCommandEnvelope.call(void 0,
524
+ _chunk2MXS53XJjs.printCommandEnvelope.call(void 0,
525
525
  {
526
526
  ok: false,
527
527
  status: "failed",
@@ -561,7 +561,7 @@ async function runSkillsInstallWithLease(input) {
561
561
  {
562
562
  schemaVersion: 1,
563
563
  installedAt: (/* @__PURE__ */ new Date()).toISOString(),
564
- cliVersion: _chunkH7DRZXYFjs.SDK_VERSION,
564
+ cliVersion: _chunkUDN6EYBJjs.SDK_VERSION,
565
565
  scope,
566
566
  agents,
567
567
  skillsVersion: plan.version,
@@ -574,9 +574,9 @@ async function runSkillsInstallWithLease(input) {
574
574
  "utf8"
575
575
  );
576
576
  if (scope === "global") {
577
- _chunkH3SQMLHOjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
577
+ _chunkOWEUQCBZjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
578
578
  }
579
- _chunkFSAOU4HAjs.printCommandEnvelope.call(void 0,
579
+ _chunk2MXS53XJjs.printCommandEnvelope.call(void 0,
580
580
  {
581
581
  ok: true,
582
582
  status: "complete",
@@ -625,7 +625,7 @@ Examples:
625
625
  "after",
626
626
  `
627
627
  Notes:
628
- This command reinstalls current Deepline-managed skills using ${_chunkH3SQMLHOjs.SKILLS_NPX_PACKAGE},
628
+ This command reinstalls current Deepline-managed skills using ${_chunkOWEUQCBZjs.SKILLS_NPX_PACKAGE},
629
629
  then removes legacy Deepline skill names. Local scope writes into the resolved
630
630
  persistent project.
631
631
 
@@ -637,13 +637,13 @@ Examples:
637
637
  ).action(async (options) => {
638
638
  process.exitCode = await runSkillsCommand(options);
639
639
  });
640
- program.command(_chunkH3SQMLHOjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
640
+ program.command(_chunkOWEUQCBZjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
641
641
  "--claim <token>",
642
642
  "Owner token of the leases this child was started for."
643
643
  ).action(async (options) => {
644
644
  const claim = _optionalChain([options, 'access', _9 => _9.claim, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]);
645
645
  if (!claim) {
646
- _chunkFSAOU4HAjs.printCommandEnvelope.call(void 0,
646
+ _chunk2MXS53XJjs.printCommandEnvelope.call(void 0,
647
647
  {
648
648
  ok: false,
649
649
  status: "failed",
@@ -656,7 +656,7 @@ Examples:
656
656
  process.exitCode = 2;
657
657
  return;
658
658
  }
659
- await _chunkH3SQMLHOjs.syncSdkSkillsIfNeeded.call(void 0, _chunkWVS2ITKPjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
659
+ await _chunkOWEUQCBZjs.syncSdkSkillsIfNeeded.call(void 0, _chunkFABLUH75js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
660
660
  mode: "inline",
661
661
  notices: "defer",
662
662
  claim
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  printCommandEnvelope
3
- } from "./chunk-P2LVKWU6.mjs";
3
+ } from "./chunk-I4N62RWB.mjs";
4
4
 
5
5
  // src/cli/feedback-preferences.ts
6
6
  import {
@@ -1,19 +1,19 @@
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 _chunkS4MDYDCFjs = require('./chunk-S4MDYDCF.js');
3
+ var _chunkZZ7ZH27Wjs = require('./chunk-ZZ7ZH27W.js');
4
4
 
5
5
 
6
- var _chunkFSAOU4HAjs = require('./chunk-FSAOU4HA.js');
6
+ var _chunk2MXS53XJjs = require('./chunk-2MXS53XJ.js');
7
7
 
8
8
 
9
- var _chunkWVS2ITKPjs = require('./chunk-WVS2ITKP.js');
9
+ var _chunkFABLUH75js = require('./chunk-FABLUH75.js');
10
10
 
11
11
  // src/cli/commands/integration-commands.ts
12
12
  var _commander = require('commander');
13
13
  var _fs = require('fs');
14
14
  var _path = require('path');
15
15
  function printIntegrationResult(value, json, lines, nextCursor) {
16
- _chunkFSAOU4HAjs.printCommandEnvelope.call(void 0,
16
+ _chunk2MXS53XJjs.printCommandEnvelope.call(void 0,
17
17
  {},
18
18
  {
19
19
  json: json || void 0,
@@ -29,7 +29,7 @@ function registerIntegrationBalanceCommand(parent, hidden = false) {
29
29
  return parent.command("balance <provider>", { hidden }).description(
30
30
  "Read a fresh balance using this org\u2019s own provider connection (LeadMagic)."
31
31
  ).option("--json", "Print the balance and observation timestamp as JSON").action(async (provider, options) => {
32
- const balance = await new (0, _chunkS4MDYDCFjs.DeeplineClient)().getIntegrationBalance(
32
+ const balance = await new (0, _chunkZZ7ZH27Wjs.DeeplineClient)().getIntegrationBalance(
33
33
  provider
34
34
  );
35
35
  printIntegrationResult(balance, options.json, [
@@ -43,7 +43,7 @@ function registerWorkspaceConnectionListCommand(parent, name = "workspace-connec
43
43
  "List teammates\u2019 personal connections for this provider"
44
44
  ).option("--cursor <cursor>", "Read the next page of members").action(
45
45
  async (options) => {
46
- const client = new (0, _chunkS4MDYDCFjs.DeeplineClient)();
46
+ const client = new (0, _chunkZZ7ZH27Wjs.DeeplineClient)();
47
47
  if (name === "list" && options.cursor && !options.members)
48
48
  throw new Error(
49
49
  "Use --cursor with --members to continue a member page."
@@ -85,7 +85,7 @@ function registerWorkspaceConnectionListCommand(parent, name = "workspace-connec
85
85
  }
86
86
  function registerLegacyHubSpotMembersCommand(parent, hidden = false) {
87
87
  return parent.command("hubspot-members", { hidden }).description("List personal HubSpot connection status for org members.").option("--cursor <cursor>", "Read the next roster page").option("--json", "Print the roster page as JSON").action(async (options) => {
88
- const page = await new (0, _chunkS4MDYDCFjs.DeeplineClient)().listPersonalHubSpotMembers(
88
+ const page = await new (0, _chunkZZ7ZH27Wjs.DeeplineClient)().listPersonalHubSpotMembers(
89
89
  options.cursor
90
90
  );
91
91
  const rows = page.members.map((member) => {
@@ -111,7 +111,7 @@ function registerLegacyWorkspaceConnectionCommand(parent, hidden = false) {
111
111
  );
112
112
  if (options.autoName && (action !== "connect" || options.name !== void 0))
113
113
  throw new Error("Use --auto-name with connect and omit --name.");
114
- const client = new (0, _chunkS4MDYDCFjs.DeeplineClient)();
114
+ const client = new (0, _chunkZZ7ZH27Wjs.DeeplineClient)();
115
115
  const { connections } = action === "connect" ? { connections: [] } : options.name ? await client.listWorkspaceConnectionInventory(provider) : await client.listWorkspaceIntegrationConnections();
116
116
  const row = connections.find(
117
117
  (connection) => connection.provider === provider && (!("type" in connection) || connection.type === "oauth") && (options.name === void 0 || "name" in connection && connection.name === options.name)
@@ -144,7 +144,7 @@ function registerLegacyCalendarDelegationCommand(parent, hidden = false) {
144
144
  "Print the proposed change without contacting Google or saving it"
145
145
  ).option("--json", "Print the result as JSON").action(
146
146
  async (action, options) => {
147
- const client = new (0, _chunkS4MDYDCFjs.DeeplineClient)();
147
+ const client = new (0, _chunkZZ7ZH27Wjs.DeeplineClient)();
148
148
  if (action === "list") {
149
149
  const inventory = await client.listCalendarAvailabilityConnections();
150
150
  const approvals = _optionalChain([inventory, 'access', _3 => _3.approvals, 'optionalAccess', _4 => _4.length]) ? inventory.approvals.map(
@@ -294,7 +294,7 @@ function registerLegacyCalendarDelegationCommand(parent, hidden = false) {
294
294
  }
295
295
  function registerLegacyAvailabilityCalendarsCommand(parent, hidden = false) {
296
296
  return parent.command("availability-calendars", { hidden }).description("Calendar discovery compatibility command for the pilot.").option("--cursor <cursor>", "Legacy calendar page cursor").option("--json", "Print the response as JSON").action(async (options) => {
297
- const page = await new (0, _chunkS4MDYDCFjs.DeeplineClient)().listAvailabilityCalendars(
297
+ const page = await new (0, _chunkZZ7ZH27Wjs.DeeplineClient)().listAvailabilityCalendars(
298
298
  options.cursor
299
299
  );
300
300
  printIntegrationResult(page, options.json, [
@@ -372,7 +372,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
372
372
  );
373
373
  return;
374
374
  }
375
- const result2 = await new (0, _chunkS4MDYDCFjs.DeeplineClient)().connectManagedIntegration(
375
+ const result2 = await new (0, _chunkZZ7ZH27Wjs.DeeplineClient)().connectManagedIntegration(
376
376
  provider,
377
377
  {
378
378
  termsVersion: options.acceptTerms,
@@ -409,7 +409,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
409
409
  printSetupPlan({ provider, action: "connect_link" }, options.json);
410
410
  return;
411
411
  }
412
- const link = await new (0, _chunkS4MDYDCFjs.DeeplineClient)().getIntegrationConnectLink(
412
+ const link = await new (0, _chunkZZ7ZH27Wjs.DeeplineClient)().getIntegrationConnectLink(
413
413
  provider
414
414
  );
415
415
  printIntegrationResult(link, options.json, [link.connect_url]);
@@ -439,7 +439,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
439
439
  );
440
440
  return;
441
441
  }
442
- const result2 = await new (0, _chunkS4MDYDCFjs.DeeplineClient)().startIntegrationOAuth(
442
+ const result2 = await new (0, _chunkZZ7ZH27Wjs.DeeplineClient)().startIntegrationOAuth(
443
443
  provider,
444
444
  {
445
445
  ...options.preset !== void 0 ? { preset: options.preset } : {},
@@ -501,7 +501,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
501
501
  "--credentials-file must contain a nonempty JSON object of string credential values."
502
502
  );
503
503
  }
504
- const result = await new (0, _chunkS4MDYDCFjs.DeeplineClient)().setIntegrationCredentials(
504
+ const result = await new (0, _chunkZZ7ZH27Wjs.DeeplineClient)().setIntegrationCredentials(
505
505
  provider,
506
506
  credentials,
507
507
  { expectedConnectionId: options.expectedConnectionId, teamId }
@@ -530,7 +530,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
530
530
  function connectTeamId(orgDefault) {
531
531
  if (orgDefault) return null;
532
532
  try {
533
- return _nullishCoalesce(_chunkWVS2ITKPjs.resolveConfig.call(void 0, ).workspace, () => ( null));
533
+ return _nullishCoalesce(_chunkFABLUH75js.resolveConfig.call(void 0, ).workspace, () => ( null));
534
534
  } catch (e2) {
535
535
  return _optionalChain([process, 'access', _9 => _9.env, 'access', _10 => _10.DEEPLINE_WORKSPACE_ID, 'optionalAccess', _11 => _11.trim, 'call', _12 => _12()]) || null;
536
536
  }
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  rejectRestrictedFeedback
3
- } from "./chunk-CK6U2NH2.mjs";
3
+ } from "./chunk-WINZRS3A.mjs";
4
4
  import {
5
5
  getAuthedHttpClient,
6
6
  printCommandEnvelope
7
- } from "./chunk-P2LVKWU6.mjs";
7
+ } from "./chunk-I4N62RWB.mjs";
8
8
  import {
9
9
  agentSessionIdFromEnvironment,
10
10
  claudeProjectsRoots,
11
11
  coworkTranscriptFromEnvironment
12
- } from "./chunk-IEOIGU5A.mjs";
12
+ } from "./chunk-HPWP2B3D.mjs";
13
13
 
14
14
  // src/cli/commands/sessions.ts
15
15
  import {
@@ -9,7 +9,7 @@ var _chunkLHPYCJNLjs = require('./chunk-LHPYCJNL.js');
9
9
 
10
10
 
11
11
 
12
- var _chunkFSAOU4HAjs = require('./chunk-FSAOU4HA.js');
12
+ var _chunk2MXS53XJjs = require('./chunk-2MXS53XJ.js');
13
13
 
14
14
  // src/cli/describe-options.ts
15
15
  function addDescribeOptions(command, options = {}) {
@@ -250,7 +250,7 @@ function projectRunDatasetCell(value) {
250
250
  const logicalValue = parseSerializedDatasetValue(value);
251
251
  if (logicalValue === null || logicalValue === void 0) return logicalValue;
252
252
  if (typeof logicalValue === "object") {
253
- return _chunkFSAOU4HAjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
253
+ return _chunk2MXS53XJjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
254
254
  }
255
255
  return logicalValue;
256
256
  }
@@ -642,7 +642,7 @@ function csvText(rows, columns = []) {
642
642
  rows: rows.map((row) => record(row) ? row : { value: row }),
643
643
  columns
644
644
  });
645
- return _chunkFSAOU4HAjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
645
+ return _chunk2MXS53XJjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
646
646
  }
647
647
  function writeExecutionOutput(result, options, { skipReceiptFile = false } = {}) {
648
648
  let temp;
@@ -770,7 +770,7 @@ function writeExecutionOutput(result, options, { skipReceiptFile = false } = {})
770
770
  };
771
771
  if (options.receiptOut && !skipReceiptFile) {
772
772
  persist(options.receiptOut, jsonText(receipt));
773
- _chunkFSAOU4HAjs.markJsonOutputHandled.call(void 0, );
773
+ _chunk2MXS53XJjs.markJsonOutputHandled.call(void 0, );
774
774
  } else {
775
775
  printReceipt(receipt, options, {
776
776
  data: hasData ? result.data : void 0,
@@ -939,7 +939,7 @@ function receiptText(receipt, options, extra) {
939
939
  problems.push(
940
940
  `Error: ${record(error) && typeof error.message === "string" ? error.message : JSON.stringify(error)}`
941
941
  );
942
- const diagnostic = _chunkFSAOU4HAjs.formatCliFailureDiagnostic.call(void 0, error);
942
+ const diagnostic = _chunk2MXS53XJjs.formatCliFailureDiagnostic.call(void 0, error);
943
943
  if (diagnostic) problems.push(...diagnostic.split("\n"));
944
944
  if (record(error) && typeof error.recoveryFile === "string") {
945
945
  problems.push(
@@ -1032,8 +1032,8 @@ function printReceipt(receipt, options, extra) {
1032
1032
  const text = options.receiptJson ? `${JSON.stringify(receipt, null, 2)}
1033
1033
  ` : receiptText(receipt, options, extra);
1034
1034
  if (options.receiptOut !== void 0) {
1035
- _chunkFSAOU4HAjs.writeRawStderr.call(void 0, text);
1036
- _chunkFSAOU4HAjs.markJsonOutputHandled.call(void 0, );
1035
+ _chunk2MXS53XJjs.writeRawStderr.call(void 0, text);
1036
+ _chunk2MXS53XJjs.markJsonOutputHandled.call(void 0, );
1037
1037
  } else {
1038
1038
  (dataOnStdout(options) ? process.stderr : process.stdout).write(text);
1039
1039
  }