deepline 0.3.577 → 0.3.579

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 (170) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +7 -0
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +3 -1
  4. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox.ts +18 -0
  5. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +124 -57
  6. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/early-sandbox-lane.ts +4 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +43 -64
  8. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-worker-wake.ts +25 -0
  9. package/dist/bundling-sources/shared_libs/plays/sandbox-runtime-limits.ts +83 -0
  10. package/dist/cli/{agents-ZIGK3FQ2.js → agents-D5RZEVXQ.js} +37 -54
  11. package/dist/cli/{agents-SUJRATC2.mjs → agents-FJTRTYCL.mjs} +10 -27
  12. package/dist/cli/{auth-TRKPRZK6.mjs → auth-OMYIDVXZ.mjs} +5 -5
  13. package/dist/cli/auth-Q4O7MJU4.js +44 -0
  14. package/dist/cli/{billing-6RAF4DQY.js → billing-EWFUDLQ7.js} +104 -102
  15. package/dist/cli/{billing-WPQT3QRS.mjs → billing-XK3LBNYS.mjs} +11 -9
  16. package/dist/cli/{chunk-MVCKEPWF.mjs → chunk-27ZYRIQC.mjs} +5 -5
  17. package/dist/cli/{chunk-CWHXE6HJ.mjs → chunk-3Z4TVZE7.mjs} +1 -1
  18. package/dist/cli/{chunk-KVDIN2YW.js → chunk-44NTNNKC.js} +11 -13
  19. package/dist/cli/{chunk-O35BHZLQ.mjs → chunk-6DMGKAWO.mjs} +2 -2
  20. package/dist/cli/{chunk-ATW77ZBL.mjs → chunk-6EVVUVU3.mjs} +2 -2
  21. package/dist/cli/{chunk-LXM36EXW.mjs → chunk-6GON36H3.mjs} +17 -14
  22. package/dist/cli/{chunk-RSZSKTRC.js → chunk-6MIEJJSO.js} +4 -4
  23. package/dist/cli/{chunk-ID5WQZ2H.mjs → chunk-6NYHMXC7.mjs} +1 -1
  24. package/dist/cli/{chunk-DJP7CJQC.js → chunk-72TWLORR.js} +3 -3
  25. package/dist/cli/{chunk-X5ZE7K4J.js → chunk-7HOYKXVY.js} +8 -8
  26. package/dist/cli/{chunk-NRBIYZUG.js → chunk-7JMCRYXU.js} +10 -10
  27. package/dist/cli/{chunk-MDP3CNDM.mjs → chunk-7SZCJC4R.mjs} +2 -2
  28. package/dist/cli/{chunk-APOWCBO7.js → chunk-ABH6PUDZ.js} +23 -23
  29. package/dist/cli/{chunk-EV47DV25.js → chunk-AP7PIGL5.js} +41 -41
  30. package/dist/cli/{chunk-CZF2LKIT.js → chunk-BLEYV4BJ.js} +21 -21
  31. package/dist/cli/{chunk-DWUESXDD.mjs → chunk-BZ4M7OFO.mjs} +11 -1
  32. package/dist/cli/{chunk-RVICQWXU.js → chunk-DH736ASH.js} +20 -20
  33. package/dist/cli/{chunk-FYKHAT2F.mjs → chunk-DTQBQSUU.mjs} +9 -0
  34. package/dist/cli/{chunk-X7Y4T7CV.mjs → chunk-F57NDSKT.mjs} +5 -5
  35. package/dist/cli/{chunk-ITK5TGQ7.js → chunk-FKXSIIR4.js} +15 -15
  36. package/dist/cli/{chunk-ZHJIDDYR.js → chunk-G5CZDRY3.js} +26 -26
  37. package/dist/cli/{chunk-MOWABWHT.js → chunk-HEZW2IDK.js} +277 -274
  38. package/dist/cli/{chunk-ORLJIJVX.mjs → chunk-HGUFTSB5.mjs} +11 -13
  39. package/dist/cli/{chunk-FHYNK7GL.mjs → chunk-I2TSRLOI.mjs} +1 -1
  40. package/dist/cli/{chunk-OQQDNJ2D.mjs → chunk-JFS4KHA3.mjs} +5 -5
  41. package/dist/cli/{chunk-NMSDMXYS.js → chunk-K2BU67UC.js} +2 -2
  42. package/dist/cli/{chunk-XQTJET2Y.mjs → chunk-KIIOKQFY.mjs} +1 -1
  43. package/dist/cli/{chunk-CCGFSELM.mjs → chunk-KQAEXBVQ.mjs} +3 -3
  44. package/dist/cli/{chunk-Y37JQZBP.js → chunk-KWQHQG53.js} +6 -6
  45. package/dist/cli/{chunk-V5SF5CJ7.js → chunk-LCPJR3IY.js} +2 -2
  46. package/dist/cli/{chunk-EKZ6JD6K.js → chunk-LQ45LCH7.js} +9 -9
  47. package/dist/cli/{chunk-APJ6YIYW.mjs → chunk-LV2LGW2Q.mjs} +1 -1
  48. package/dist/cli/{chunk-N6EU2FRF.mjs → chunk-LYBZLA6F.mjs} +2 -2
  49. package/dist/cli/{chunk-JWLV3XRF.js → chunk-LYJ2NSHD.js} +17 -12
  50. package/dist/cli/{chunk-MTM6WNPP.mjs → chunk-M4YWN5BT.mjs} +4 -4
  51. package/dist/cli/{chunk-H6NF5SNY.mjs → chunk-N6X2UKYQ.mjs} +2 -2
  52. package/dist/cli/{chunk-2NFDB6CL.js → chunk-NKUXW4WB.js} +2 -2
  53. package/dist/cli/{chunk-OBZB4J7B.js → chunk-NOMO5GPI.js} +1 -1
  54. package/dist/cli/{chunk-GFWVBXAK.mjs → chunk-NONMY5CY.mjs} +2 -2
  55. package/dist/cli/{chunk-QXAPAHIG.js → chunk-NWZU6HL4.js} +13 -13
  56. package/dist/cli/{chunk-FXN5WSTY.js → chunk-OOGP737I.js} +20 -20
  57. package/dist/cli/{chunk-LUQMTNFB.mjs → chunk-OSRATALX.mjs} +1 -1
  58. package/dist/cli/{chunk-ZO65VJRJ.js → chunk-PGRRMVQ5.js} +10 -1
  59. package/dist/cli/{chunk-MTHAVEQN.js → chunk-PLWZ3NB7.js} +5 -5
  60. package/dist/cli/{chunk-MXK4M7HP.js → chunk-Q4VKMF3B.js} +17 -17
  61. package/dist/cli/{chunk-SKHUWQZE.js → chunk-QA55PGJH.js} +17 -7
  62. package/dist/cli/{chunk-425SUSDJ.mjs → chunk-S2OXA7QS.mjs} +7 -7
  63. package/dist/cli/{chunk-NDMKFA6W.mjs → chunk-SUHCW7U5.mjs} +3 -3
  64. package/dist/cli/{chunk-U6Y4HX6J.mjs → chunk-SZIWFQI2.mjs} +3 -3
  65. package/dist/cli/{chunk-4ANO4DM5.mjs → chunk-TFNDOH4W.mjs} +1 -1
  66. package/dist/cli/{chunk-JHQ7FORY.js → chunk-TVAFWAOQ.js} +3 -3
  67. package/dist/cli/{chunk-NVJGVNEN.js → chunk-UYCBG75H.js} +5 -5
  68. package/dist/cli/{chunk-RW3URFZK.mjs → chunk-VFIIRK7S.mjs} +2 -2
  69. package/dist/cli/{chunk-WP4Q5PTK.mjs → chunk-WQQQP3FH.mjs} +4 -4
  70. package/dist/cli/{chunk-772IV64Y.js → chunk-WWSGXX6U.js} +5 -5
  71. package/dist/cli/{chunk-Q3WDT3YA.mjs → chunk-X6LPC3SU.mjs} +1 -1
  72. package/dist/cli/{chunk-DA5C5WOI.mjs → chunk-XQYBBCFI.mjs} +2 -2
  73. package/dist/cli/{chunk-FRYLXDNP.js → chunk-XTM6NOJ6.js} +53 -53
  74. package/dist/cli/{chunk-EJN43WGD.js → chunk-Y2ND6PPW.js} +48 -48
  75. package/dist/cli/{chunk-I44Y4MPK.mjs → chunk-YCWRKSLB.mjs} +8 -3
  76. package/dist/cli/command-docs.js +2 -2
  77. package/dist/cli/command-docs.mjs +1 -1
  78. package/dist/cli/concurrent-runs-help-D6XH3FY5.js +22 -0
  79. package/dist/cli/{concurrent-runs-help-6CGXMTFQ.mjs → concurrent-runs-help-IQBZBTD5.mjs} +6 -6
  80. package/dist/cli/{csv-L7P6PC6I.mjs → csv-6BEOWTGM.mjs} +4 -4
  81. package/dist/cli/{csv-7UZT2LGE.js → csv-T7TWLIGD.js} +13 -13
  82. package/dist/cli/{db-4OOEC5KV.mjs → db-FA5QGXZ7.mjs} +6 -6
  83. package/dist/cli/{db-7KETOIZY.js → db-MFTUN3DF.js} +27 -27
  84. package/dist/cli/{describe-M6HEFS46.mjs → describe-TITEQNVE.mjs} +21 -21
  85. package/dist/cli/describe-TYZ5YH3V.js +50 -0
  86. package/dist/cli/describe-core.d.mts +4 -2
  87. package/dist/cli/describe-core.d.ts +4 -2
  88. package/dist/cli/describe-core.js +4 -4
  89. package/dist/cli/describe-core.mjs +3 -3
  90. package/dist/cli/{executions-U27R2LY4.mjs → executions-DMYJJIRB.mjs} +6 -6
  91. package/dist/cli/{executions-UIR6RQFM.js → executions-QW3L7G7J.js} +8 -8
  92. package/dist/cli/{feedback-CQ5FUE4T.js → feedback-6JZGE7OQ.js} +14 -14
  93. package/dist/cli/{feedback-UUUISTGQ.mjs → feedback-WPSNSFRC.mjs} +6 -6
  94. package/dist/cli/{git-DTILSRIQ.mjs → git-GO65XRM3.mjs} +5 -5
  95. package/dist/cli/git-UGGRLGTQ.js +26 -0
  96. package/dist/cli/index.js +148 -148
  97. package/dist/cli/index.mjs +47 -47
  98. package/dist/cli/{integrations-NNACG3HD.mjs → integrations-EEBPETH2.mjs} +7 -7
  99. package/dist/cli/{integrations-ABBLLEJH.js → integrations-T5JPSZXN.js} +29 -29
  100. package/dist/cli/{legacy-noops-3JLS5OD7.js → legacy-noops-B55OMNH7.js} +9 -9
  101. package/dist/cli/{legacy-noops-KQW7AIYU.mjs → legacy-noops-XDNZ46IR.mjs} +6 -6
  102. package/dist/cli/{mcp-JPBFKR26.js → mcp-3YA333TQ.js} +24 -24
  103. package/dist/cli/{mcp-7NHGPYZH.mjs → mcp-4QIUAAWS.mjs} +4 -4
  104. package/dist/cli/{monitors-JOE2DALW.mjs → monitors-BVUPS4CE.mjs} +7 -7
  105. package/dist/cli/{monitors-J6HK5KCN.js → monitors-FOS7MWZO.js} +100 -100
  106. package/dist/cli/{org-WFZFQIXQ.js → org-CYM7HFLN.js} +121 -121
  107. package/dist/cli/{org-VZZ4LN4O.mjs → org-TCMRRVFC.mjs} +6 -6
  108. package/dist/cli/{outcomes-H2WEZYNT.mjs → outcomes-2JSWXWQ3.mjs} +6 -6
  109. package/dist/cli/{outcomes-RZWL47BJ.js → outcomes-VDJVP5YC.js} +14 -14
  110. package/dist/cli/{play-KMWA7GVN.mjs → play-CPP4EBYF.mjs} +20 -20
  111. package/dist/cli/{play-2ZEBUF5T.js → play-U3G73VIR.js} +349 -349
  112. package/dist/cli/{providers-57AZWFSW.js → providers-2ZB67TK7.js} +9 -9
  113. package/dist/cli/{providers-2BIA3OWA.mjs → providers-RVMIX5ED.mjs} +6 -6
  114. package/dist/cli/{quickstart-NSDM2RXV.mjs → quickstart-L3YO3OWZ.mjs} +4 -4
  115. package/dist/cli/{quickstart-EYJFERQO.js → quickstart-V3Y7XZ47.js} +6 -6
  116. package/dist/cli/{run-BW62DZGQ.js → run-M2CADJ6E.js} +49 -48
  117. package/dist/cli/{run-X6H5SCEE.mjs → run-PQ3Z2GOF.mjs} +27 -26
  118. package/dist/cli/{search-2VN74P5N.mjs → search-QVLGI7SZ.mjs} +7 -7
  119. package/dist/cli/search-RHPPZZFG.js +32 -0
  120. package/dist/cli/{search-output-SFWQVBYU.js → search-output-IUANVHWU.js} +8 -8
  121. package/dist/cli/{search-output-VN7XOZEQ.mjs → search-output-PN3V7MSO.mjs} +5 -5
  122. package/dist/cli/{secrets-OIPKG2H7.js → secrets-AOW6F67J.js} +15 -15
  123. package/dist/cli/{secrets-4M26N436.mjs → secrets-HK25G4K2.mjs} +6 -6
  124. package/dist/cli/sessions-AEGGTZ3K.js +23 -0
  125. package/dist/cli/{sessions-SYFH23L3.mjs → sessions-YN2OIAGR.mjs} +6 -6
  126. package/dist/cli/{settings-5NB4HZYL.js → settings-6EV2FPGF.js} +85 -85
  127. package/dist/cli/{settings-4HPF3T4P.mjs → settings-7UW5TWSM.mjs} +12 -12
  128. package/dist/cli/{setup-CI74F6CL.mjs → setup-BG56SHKH.mjs} +9 -9
  129. package/dist/cli/{setup-JV3F5C7P.js → setup-ZQPD2R5K.js} +49 -49
  130. package/dist/cli/skills-C6ZEZWBE.js +37 -0
  131. package/dist/cli/{skills-76CM4GHO.mjs → skills-MQV2TNUZ.mjs} +7 -7
  132. package/dist/cli/tools-PM3MC3RR.js +57 -0
  133. package/dist/cli/{tools-SVGLDWOC.mjs → tools-RGI4OE5T.mjs} +19 -19
  134. package/dist/cli/{update-KPMDOZRX.mjs → update-SQKGHQKF.mjs} +9 -9
  135. package/dist/cli/update-ZHUPF2HT.js +37 -0
  136. package/dist/cli/{views-KW54SAES.mjs → views-734T2CXF.mjs} +6 -6
  137. package/dist/cli/{views-R37NWN6J.js → views-BUKVHCRD.js} +21 -21
  138. package/dist/cli/{workflow-3MIRQV4Q.mjs → workflow-JNRRBMEK.mjs} +7 -7
  139. package/dist/cli/{workflow-BKRKUNYS.js → workflow-LPJC6RHP.js} +17 -17
  140. package/dist/{client-BrdMPFCM.d.ts → client-C1AubrWJ.d.ts} +1 -1
  141. package/dist/{client-CF-bsrtI.d.mts → client-CNYctEBh.d.mts} +1 -1
  142. package/dist/{client-core-DM1ZedOG.d.mts → client-core-Bb06TCx5.d.mts} +7 -0
  143. package/dist/{client-core-rMoUWSYM.d.ts → client-core-D6zAE46g.d.ts} +7 -0
  144. package/dist/index.d.mts +3 -3
  145. package/dist/index.d.ts +3 -3
  146. package/dist/index.js +9 -9
  147. package/dist/index.mjs +6 -6
  148. package/dist/install-integrity.json +126 -126
  149. package/dist/plays/play-description.d.mts +1 -1
  150. package/dist/plays/play-description.d.ts +1 -1
  151. package/dist/plays/run-request.d.mts +1 -1
  152. package/dist/plays/run-request.d.ts +1 -1
  153. package/dist/release.d.mts +1 -1
  154. package/dist/release.d.ts +1 -1
  155. package/dist/release.js +2 -2
  156. package/dist/release.mjs +1 -1
  157. package/dist/server.d.mts +2 -2
  158. package/dist/server.d.ts +2 -2
  159. package/dist/server.js +5 -5
  160. package/dist/server.mjs +3 -3
  161. package/package.json +1 -1
  162. package/dist/cli/auth-A5U6GVCF.js +0 -44
  163. package/dist/cli/concurrent-runs-help-VJDPVGXM.js +0 -22
  164. package/dist/cli/describe-RLWJYZIR.js +0 -50
  165. package/dist/cli/git-ZGDD3BVX.js +0 -26
  166. package/dist/cli/search-HYRDZVPQ.js +0 -32
  167. package/dist/cli/sessions-5P2KZOQE.js +0 -23
  168. package/dist/cli/skills-PJ5EL32L.js +0 -37
  169. package/dist/cli/tools-Y5ID2SPK.js +0 -57
  170. package/dist/cli/update-FSUMCMNZ.js +0 -37
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-APJ6YIYW.mjs";
4
+ } from "./chunk-LV2LGW2Q.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-WP4Q5PTK.mjs";
7
+ } from "./chunk-WQQQP3FH.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-OQQDNJ2D.mjs";
10
+ } from "./chunk-JFS4KHA3.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-O35BHZLQ.mjs";
13
+ } from "./chunk-6DMGKAWO.mjs";
14
14
  import {
15
15
  DEFAULT_MAX_RETRIES,
16
16
  DEFAULT_TIMEOUT,
17
17
  TRANSIENT_HTTP_STATUSES,
18
18
  autoDetectBaseUrl,
19
19
  defaultRetryBackoffMs
20
- } from "./chunk-CWHXE6HJ.mjs";
20
+ } from "./chunk-3Z4TVZE7.mjs";
21
21
 
22
22
  // src/cli/commands/update.ts
23
23
  import { spawn, spawnSync } from "child_process";
@@ -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 _chunkNVJGVNENjs = require('./chunk-NVJGVNEN.js');
3
+ var _chunkUYCBG75Hjs = require('./chunk-UYCBG75H.js');
4
4
 
5
5
 
6
- var _chunkFXN5WSTYjs = require('./chunk-FXN5WSTY.js');
6
+ var _chunkOOGP737Ijs = require('./chunk-OOGP737I.js');
7
7
 
8
8
 
9
- var _chunkJHQ7FORYjs = require('./chunk-JHQ7FORY.js');
9
+ var _chunkTVAFWAOQjs = require('./chunk-TVAFWAOQ.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
- _chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
16
+ _chunkOOGP737Ijs.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, _chunkNVJGVNENjs.DeeplineClient)().getIntegrationBalance(
32
+ const balance = await new (0, _chunkUYCBG75Hjs.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, _chunkNVJGVNENjs.DeeplineClient)();
46
+ const client = new (0, _chunkUYCBG75Hjs.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, _chunkNVJGVNENjs.DeeplineClient)().listPersonalHubSpotMembers(
88
+ const page = await new (0, _chunkUYCBG75Hjs.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, _chunkNVJGVNENjs.DeeplineClient)();
114
+ const client = new (0, _chunkUYCBG75Hjs.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, _chunkNVJGVNENjs.DeeplineClient)();
147
+ const client = new (0, _chunkUYCBG75Hjs.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, _chunkNVJGVNENjs.DeeplineClient)().listAvailabilityCalendars(
297
+ const page = await new (0, _chunkUYCBG75Hjs.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, _chunkNVJGVNENjs.DeeplineClient)().connectManagedIntegration(
375
+ const result2 = await new (0, _chunkUYCBG75Hjs.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, _chunkNVJGVNENjs.DeeplineClient)().getIntegrationConnectLink(
412
+ const link = await new (0, _chunkUYCBG75Hjs.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, _chunkNVJGVNENjs.DeeplineClient)().startIntegrationOAuth(
442
+ const result2 = await new (0, _chunkUYCBG75Hjs.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, _chunkNVJGVNENjs.DeeplineClient)().setIntegrationCredentials(
504
+ const result = await new (0, _chunkUYCBG75Hjs.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(_chunkJHQ7FORYjs.resolveConfig.call(void 0, ).workspace, () => ( null));
533
+ return _nullishCoalesce(_chunkTVAFWAOQjs.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
  }
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkFXN5WSTYjs = require('./chunk-FXN5WSTY.js');
5
+ var _chunkOOGP737Ijs = require('./chunk-OOGP737I.js');
6
6
 
7
7
 
8
- var _chunkJHQ7FORYjs = require('./chunk-JHQ7FORY.js');
8
+ var _chunkTVAFWAOQjs = require('./chunk-TVAFWAOQ.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 } = _chunkFXN5WSTYjs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunkOOGP737Ijs.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
39
+ _chunkOOGP737Ijs.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 } = _chunkFXN5WSTYjs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunkOOGP737Ijs.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
- _chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
139
+ _chunkOOGP737Ijs.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 } = _chunkFXN5WSTYjs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunkOOGP737Ijs.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
- _chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
153
+ _chunkOOGP737Ijs.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 } = _chunkFXN5WSTYjs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunkOOGP737Ijs.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 } = _chunkFXN5WSTYjs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunkOOGP737Ijs.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
- _chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
200
+ _chunkOOGP737Ijs.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 } = _chunkFXN5WSTYjs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunkOOGP737Ijs.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
227
+ _chunkOOGP737Ijs.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 } = _chunkFXN5WSTYjs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunkOOGP737Ijs.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
- _chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
254
+ _chunkOOGP737Ijs.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 } = _chunkFXN5WSTYjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkOOGP737Ijs.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
269
+ _chunkOOGP737Ijs.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 = _chunkJHQ7FORYjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkTVAFWAOQjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkFXN5WSTYjs.openInBrowser.call(void 0, connectUrl);
292
- _chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunkOOGP737Ijs.openInBrowser.call(void 0, connectUrl);
292
+ _chunkOOGP737Ijs.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 } = _chunkFXN5WSTYjs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunkOOGP737Ijs.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
- _chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
322
+ _chunkOOGP737Ijs.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 } = _chunkFXN5WSTYjs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunkOOGP737Ijs.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
- _chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
371
+ _chunkOOGP737Ijs.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 } = _chunkFXN5WSTYjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkOOGP737Ijs.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
392
+ _chunkOOGP737Ijs.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,