deepline 0.3.543 → 0.3.544

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 (154) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +6 -0
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/integration-contracts/monitor-fleet-contract.ts +3 -1
  4. package/dist/bundling-sources/shared_libs/monitors/fleets/plan.ts +108 -1
  5. package/dist/bundling-sources/shared_libs/play-runtime/durable-summary-events.ts +29 -0
  6. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +2 -1
  7. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +3 -0
  8. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +3 -0
  9. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +1 -1
  10. package/dist/cli/auth-ENBXAKQS.js +43 -0
  11. package/dist/cli/{auth-ITAELTOA.mjs → auth-IMWJAHPU.mjs} +5 -5
  12. package/dist/cli/{billing-33XVFDUJ.js → billing-Y55PR2PV.js} +92 -92
  13. package/dist/cli/{billing-WZ7RVZW4.mjs → billing-YQMW3QJI.mjs} +8 -8
  14. package/dist/cli/{chunk-F6VSQ5LN.js → chunk-22OBDYHP.js} +12 -12
  15. package/dist/cli/{chunk-23D224GI.js → chunk-3I26HMJ7.js} +9 -9
  16. package/dist/cli/{chunk-274WKLSY.mjs → chunk-3JDA23NN.mjs} +2 -2
  17. package/dist/cli/{chunk-TBCNL2T5.js → chunk-3KGMM4KS.js} +1 -1
  18. package/dist/cli/{chunk-HKJ26NRN.mjs → chunk-456RRXAP.mjs} +5 -5
  19. package/dist/cli/{chunk-2KTGZKRE.js → chunk-4PKHFW56.js} +15 -15
  20. package/dist/cli/{chunk-XFPVFWZR.mjs → chunk-57G4NYOL.mjs} +1 -1
  21. package/dist/cli/{chunk-XBM3KABD.mjs → chunk-5PR4VLLL.mjs} +2 -2
  22. package/dist/cli/{chunk-NLENABRU.js → chunk-7GNZEOTH.js} +6 -6
  23. package/dist/cli/{chunk-C35NLLSA.js → chunk-7HMMTSDA.js} +5 -5
  24. package/dist/cli/{chunk-NR3O56FT.mjs → chunk-BEQ7RQLT.mjs} +5 -5
  25. package/dist/cli/{chunk-BGAUADV4.js → chunk-C4P2KLWT.js} +41 -41
  26. package/dist/cli/{chunk-MCBUWK5K.js → chunk-COJHT2KF.js} +22 -22
  27. package/dist/cli/{chunk-3JZXU5OB.js → chunk-DF2X7GJG.js} +5 -5
  28. package/dist/cli/{chunk-DH43ECTN.mjs → chunk-DVDWAC2M.mjs} +2 -2
  29. package/dist/cli/{chunk-2NCJQEZH.js → chunk-DYDHLBSK.js} +53 -53
  30. package/dist/cli/{chunk-GRCFX2EG.js → chunk-G26VJCNT.js} +4 -4
  31. package/dist/cli/{chunk-J2F6F5GL.js → chunk-GQHRGBHV.js} +5 -5
  32. package/dist/cli/{chunk-4SKDSSPU.mjs → chunk-GV45TTI6.mjs} +2 -2
  33. package/dist/cli/{chunk-W2OPPSAZ.mjs → chunk-H4SAHB3Q.mjs} +3 -3
  34. package/dist/cli/{chunk-52YK3EII.mjs → chunk-HAQRF6DJ.mjs} +2 -2
  35. package/dist/cli/{chunk-SYOPHFKB.mjs → chunk-HBSWATOU.mjs} +5 -5
  36. package/dist/cli/{chunk-FNW2SGPD.mjs → chunk-HVJQF5BI.mjs} +2 -2
  37. package/dist/cli/{chunk-R57UCXQG.mjs → chunk-HXM2JUGD.mjs} +1 -1
  38. package/dist/cli/{chunk-STXG2LFC.js → chunk-IFIJ4DBJ.js} +2 -2
  39. package/dist/cli/{chunk-5MN3BKNB.js → chunk-JBWOE6AP.js} +16 -16
  40. package/dist/cli/{chunk-2LNTKICO.js → chunk-JWVG7ZPX.js} +3 -3
  41. package/dist/cli/{chunk-O2KLWUNI.js → chunk-KE6CSCUF.js} +44 -44
  42. package/dist/cli/{chunk-OELJKQOL.mjs → chunk-LPUBBUKX.mjs} +2 -2
  43. package/dist/cli/{chunk-XSN6BAZT.mjs → chunk-LQ6RRYXN.mjs} +5 -5
  44. package/dist/cli/{chunk-5VIPTLRX.mjs → chunk-LW274RO7.mjs} +1 -1
  45. package/dist/cli/{chunk-QFRMVI4S.js → chunk-ON56ISO6.js} +3 -3
  46. package/dist/cli/{chunk-46BEBZ3M.js → chunk-PDJ4UDCO.js} +29 -28
  47. package/dist/cli/{chunk-ZRT2PNYY.mjs → chunk-PFGOCUH3.mjs} +1 -1
  48. package/dist/cli/{chunk-NHKP2NSU.js → chunk-PKRW76XG.js} +2 -2
  49. package/dist/cli/{chunk-6SJZMMD5.mjs → chunk-PMW5YP72.mjs} +11 -11
  50. package/dist/cli/{chunk-D6YAU3CF.mjs → chunk-Q7ZOWNKR.mjs} +2 -1
  51. package/dist/cli/{chunk-SZNJENGT.mjs → chunk-REEOMNCO.mjs} +3 -3
  52. package/dist/cli/{chunk-YJYKZ2U3.js → chunk-RG34YBDE.js} +2 -2
  53. package/dist/cli/{chunk-ZSPBJB7I.mjs → chunk-RJPDCSTD.mjs} +4 -4
  54. package/dist/cli/{chunk-YE3T73BV.js → chunk-RUFR4PUO.js} +10 -10
  55. package/dist/cli/{chunk-AACKPOGA.mjs → chunk-SK3HPU2J.mjs} +1 -1
  56. package/dist/cli/{chunk-OAFKUHN5.mjs → chunk-SKS53WM6.mjs} +4 -4
  57. package/dist/cli/{chunk-EHUG6EUT.js → chunk-UHIAQPVA.js} +26 -26
  58. package/dist/cli/{chunk-DUGTPVT7.js → chunk-UNMNGRPB.js} +7 -7
  59. package/dist/cli/{chunk-DI3GL3T6.js → chunk-W7X4KH45.js} +99 -99
  60. package/dist/cli/{chunk-7AUQTNLB.mjs → chunk-WBSGPLH5.mjs} +2 -2
  61. package/dist/cli/{chunk-SU4K4SUU.mjs → chunk-WUEORIOY.mjs} +1 -1
  62. package/dist/cli/{chunk-VSJEOSYL.mjs → chunk-YIRVKMON.mjs} +1 -1
  63. package/dist/cli/{chunk-UJ6GOV7K.js → chunk-Z44YTSTA.js} +13 -13
  64. package/dist/cli/{chunk-JXG7HWBA.mjs → chunk-ZHY4T5M6.mjs} +1 -1
  65. package/dist/cli/{chunk-PX7XAVUC.js → chunk-ZY6FL4O4.js} +19 -19
  66. package/dist/cli/{concurrent-runs-help-Z6ODNL4E.mjs → concurrent-runs-help-KBWPKSTP.mjs} +6 -6
  67. package/dist/cli/concurrent-runs-help-TOMLCMV7.js +21 -0
  68. package/dist/cli/{csv-5QW2HPHT.mjs → csv-M5EBEMZH.mjs} +4 -4
  69. package/dist/cli/{csv-SSOFTXHU.js → csv-XGGDZTQI.js} +13 -13
  70. package/dist/cli/{db-4LK5AJNO.js → db-CVPR54XK.js} +27 -27
  71. package/dist/cli/{db-K2JMR6EM.mjs → db-M6FJ6J6E.mjs} +6 -6
  72. package/dist/cli/describe-RUODIS6M.js +50 -0
  73. package/dist/cli/{describe-AXHQZHTT.mjs → describe-X6QA2U3C.mjs} +18 -18
  74. package/dist/cli/describe-core.d.mts +2 -2
  75. package/dist/cli/describe-core.d.ts +2 -2
  76. package/dist/cli/{executions-FY2XTX2W.mjs → executions-EHTS2XJX.mjs} +6 -6
  77. package/dist/cli/{executions-AATJQQAQ.js → executions-VJEEWN22.js} +8 -8
  78. package/dist/cli/{feedback-MKBPRGS6.mjs → feedback-76VGY4GP.mjs} +6 -6
  79. package/dist/cli/{feedback-QPVJER75.js → feedback-DQPUCUXO.js} +14 -14
  80. package/dist/cli/{git-AGRFZR3K.mjs → git-IY6DKKLR.mjs} +5 -5
  81. package/dist/cli/git-RLHTSYRY.js +25 -0
  82. package/dist/cli/index.js +142 -142
  83. package/dist/cli/index.mjs +44 -44
  84. package/dist/cli/{integrations-OUQ6U33M.mjs → integrations-242LE3TQ.mjs} +7 -7
  85. package/dist/cli/{integrations-R6OUFZXI.js → integrations-CQSTIKFY.js} +15 -15
  86. package/dist/cli/{legacy-noops-DVL2RRKL.mjs → legacy-noops-SWTSTMRY.mjs} +6 -6
  87. package/dist/cli/{legacy-noops-H7INM2QN.js → legacy-noops-U72DO6ZF.js} +9 -9
  88. package/dist/cli/{mcp-2Z2YVOLK.mjs → mcp-JJH6JR52.mjs} +4 -4
  89. package/dist/cli/{mcp-33F7D7WI.js → mcp-L473BKLJ.js} +24 -24
  90. package/dist/cli/{monitors-KDUJHAKJ.js → monitors-3TF2DOFD.js} +117 -102
  91. package/dist/cli/{monitors-NZD2WIKK.mjs → monitors-VSYHUBKC.mjs} +24 -9
  92. package/dist/cli/{org-EJW45RUA.mjs → org-S5VIKU2E.mjs} +6 -6
  93. package/dist/cli/{org-4PQGHLEB.js → org-YKVI2ZTI.js} +88 -88
  94. package/dist/cli/{play-3CM5RT5J.mjs → play-C7T5A3QM.mjs} +17 -17
  95. package/dist/cli/{play-MLHMQL4G.js → play-DOWEG45Y.js} +317 -317
  96. package/dist/cli/{providers-BHYBJI4R.mjs → providers-BMVVX3VD.mjs} +6 -6
  97. package/dist/cli/{providers-YBJG7277.js → providers-TAZPPFTB.js} +9 -9
  98. package/dist/cli/{quickstart-LL3MR562.mjs → quickstart-A3WKMKTW.mjs} +4 -4
  99. package/dist/cli/{quickstart-O7L2NNGJ.js → quickstart-HD6FQXGR.js} +6 -6
  100. package/dist/cli/{run-HJ2AR6CM.js → run-BVVV2UX7.js} +43 -43
  101. package/dist/cli/{run-OK545H5Q.mjs → run-FV7TWNOC.mjs} +23 -23
  102. package/dist/cli/{search-Z5ZKMRTX.mjs → search-MGK6WIKS.mjs} +7 -7
  103. package/dist/cli/search-VJFCWUZN.js +32 -0
  104. package/dist/cli/{search-output-SVW4DETG.js → search-output-6Y7KEPIE.js} +6 -6
  105. package/dist/cli/{search-output-Q5VHNUWG.mjs → search-output-GM7LDZKE.mjs} +4 -4
  106. package/dist/cli/{secrets-QIKIEFWB.mjs → secrets-4RFAR7YI.mjs} +6 -6
  107. package/dist/cli/{secrets-ENQWMCB5.js → secrets-SISXIXSZ.js} +15 -15
  108. package/dist/cli/{sessions-AETO22RF.mjs → sessions-CE3OMEG7.mjs} +6 -6
  109. package/dist/cli/sessions-OWWZJZXH.js +22 -0
  110. package/dist/cli/{settings-OFLIFTMZ.js → settings-4HPM3K4A.js} +85 -85
  111. package/dist/cli/{settings-G5RGRPFV.mjs → settings-E22IDSX2.mjs} +12 -12
  112. package/dist/cli/{setup-QW7Y62XD.js → setup-BDRSNLKX.js} +49 -49
  113. package/dist/cli/{setup-G4N3X6KG.mjs → setup-BK65MDZ6.mjs} +9 -9
  114. package/dist/cli/{skills-QRFQGHNA.mjs → skills-FI2GZMR4.mjs} +7 -7
  115. package/dist/cli/skills-ZLBFUAFR.js +36 -0
  116. package/dist/cli/tools-3K72VE33.js +57 -0
  117. package/dist/cli/{tools-52BH7UTF.mjs → tools-HMMWYUNW.mjs} +17 -17
  118. package/dist/cli/update-QZV6DH5V.js +34 -0
  119. package/dist/cli/{update-SDGZLAGL.mjs → update-WDKBSXV5.mjs} +9 -9
  120. package/dist/cli/{views-5QKAWYPI.js → views-775AUDWQ.js} +21 -21
  121. package/dist/cli/{views-3BIJFJMQ.mjs → views-JYIJCO23.mjs} +6 -6
  122. package/dist/cli/{workflow-G67RPWVY.js → workflow-4H6KQRFQ.js} +17 -17
  123. package/dist/cli/{workflow-QAK773FR.mjs → workflow-FKKHE3IU.mjs} +7 -7
  124. package/dist/{client-bd4QQIXo.d.mts → client-ANT3pyoa.d.mts} +1 -1
  125. package/dist/{client-D1ga52xq.d.ts → client-DD_FyJVd.d.ts} +1 -1
  126. package/dist/{client-core-CqfWNf2Q.d.mts → client-core-Dg9tKhdB.d.mts} +5 -0
  127. package/dist/{client-core-B6eMVx8h.d.ts → client-core-QHmo73k1.d.ts} +5 -0
  128. package/dist/index.d.mts +3 -3
  129. package/dist/index.d.ts +3 -3
  130. package/dist/index.js +9 -9
  131. package/dist/index.mjs +6 -6
  132. package/dist/install-integrity.json +114 -114
  133. package/dist/plays/play-description.d.mts +1 -1
  134. package/dist/plays/play-description.d.ts +1 -1
  135. package/dist/plays/run-request.d.mts +1 -1
  136. package/dist/plays/run-request.d.ts +1 -1
  137. package/dist/release.d.mts +1 -1
  138. package/dist/release.d.ts +1 -1
  139. package/dist/release.js +2 -2
  140. package/dist/release.mjs +1 -1
  141. package/dist/server.d.mts +2 -2
  142. package/dist/server.d.ts +2 -2
  143. package/dist/server.js +5 -5
  144. package/dist/server.mjs +3 -3
  145. package/package.json +1 -1
  146. package/dist/cli/auth-S6B5WUU5.js +0 -43
  147. package/dist/cli/concurrent-runs-help-E4OYD3DS.js +0 -21
  148. package/dist/cli/describe-AC6PLEFP.js +0 -50
  149. package/dist/cli/git-RUYFQEJX.js +0 -25
  150. package/dist/cli/search-UUNS6BCC.js +0 -32
  151. package/dist/cli/sessions-FNSUDERA.js +0 -22
  152. package/dist/cli/skills-3IXIY2IV.js +0 -36
  153. package/dist/cli/tools-MYBUMPKH.js +0 -57
  154. package/dist/cli/update-GT7574UU.js +0 -34
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  concurrentRunsLine
3
- } from "./chunk-XBM3KABD.mjs";
4
- import "./chunk-W2OPPSAZ.mjs";
3
+ } from "./chunk-5PR4VLLL.mjs";
4
+ import "./chunk-H4SAHB3Q.mjs";
5
5
  import {
6
6
  DeeplineClient
7
- } from "./chunk-4SKDSSPU.mjs";
7
+ } from "./chunk-GV45TTI6.mjs";
8
8
  import {
9
9
  iterateCursorPages,
10
10
  requireBillingIdempotencyKey
11
- } from "./chunk-D6YAU3CF.mjs";
11
+ } from "./chunk-Q7ZOWNKR.mjs";
12
12
  import "./chunk-HXIR3VQL.mjs";
13
13
  import "./chunk-LX35AXTN.mjs";
14
14
  import "./chunk-PSX3WHIH.mjs";
@@ -29,9 +29,9 @@ import {
29
29
  openInBrowser,
30
30
  printCommandEnvelope,
31
31
  shouldEmitJson
32
- } from "./chunk-DH43ECTN.mjs";
33
- import "./chunk-R57UCXQG.mjs";
34
- import "./chunk-JXG7HWBA.mjs";
32
+ } from "./chunk-DVDWAC2M.mjs";
33
+ import "./chunk-HXM2JUGD.mjs";
34
+ import "./chunk-ZHY4T5M6.mjs";
35
35
  import {
36
36
  AuthError,
37
37
  ConfigError
@@ -40,7 +40,7 @@ import "./chunk-DLIRSHV6.mjs";
40
40
  import {
41
41
  DeeplineError
42
42
  } from "./chunk-JL2OTMSG.mjs";
43
- import "./chunk-ZRT2PNYY.mjs";
43
+ import "./chunk-PFGOCUH3.mjs";
44
44
  import "./chunk-WZYKRD7T.mjs";
45
45
  import "./chunk-KRD6H754.mjs";
46
46
 
@@ -1,16 +1,16 @@
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 _chunk3JZXU5OBjs = require('./chunk-3JZXU5OB.js');
3
+ var _chunkDF2X7GJGjs = require('./chunk-DF2X7GJG.js');
4
4
 
5
5
 
6
- var _chunkPX7XAVUCjs = require('./chunk-PX7XAVUC.js');
6
+ var _chunkZY6FL4O4js = require('./chunk-ZY6FL4O4.js');
7
7
 
8
8
  // src/cli/commands/integration-commands.ts
9
9
  var _commander = require('commander');
10
10
  var _fs = require('fs');
11
11
  var _path = require('path');
12
12
  function printIntegrationResult(value, json, lines, nextCursor) {
13
- _chunkPX7XAVUCjs.printCommandEnvelope.call(void 0,
13
+ _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
14
14
  {},
15
15
  {
16
16
  json: json || void 0,
@@ -26,7 +26,7 @@ function registerIntegrationBalanceCommand(parent, hidden = false) {
26
26
  return parent.command("balance <provider>", { hidden }).description(
27
27
  "Read a fresh balance using this workspace\u2019s own provider connection (LeadMagic)."
28
28
  ).option("--json", "Print the balance and observation timestamp as JSON").action(async (provider, options) => {
29
- const balance = await new (0, _chunk3JZXU5OBjs.DeeplineClient)().getIntegrationBalance(
29
+ const balance = await new (0, _chunkDF2X7GJGjs.DeeplineClient)().getIntegrationBalance(
30
30
  provider
31
31
  );
32
32
  printIntegrationResult(balance, options.json, [
@@ -42,7 +42,7 @@ function registerWorkspaceConnectionListCommand(parent, name = "workspace-connec
42
42
  "List teammates\u2019 personal connections for this provider"
43
43
  ).option("--cursor <cursor>", "Read the next page of members").action(
44
44
  async (options) => {
45
- const client = new (0, _chunk3JZXU5OBjs.DeeplineClient)();
45
+ const client = new (0, _chunkDF2X7GJGjs.DeeplineClient)();
46
46
  if (name === "list" && options.cursor && !options.members)
47
47
  throw new Error(
48
48
  "Use --cursor with --members to continue a member page."
@@ -86,7 +86,7 @@ function registerLegacyHubSpotMembersCommand(parent, hidden = false) {
86
86
  return parent.command("hubspot-members", { hidden }).description(
87
87
  "List personal HubSpot connection status for workspace members."
88
88
  ).option("--cursor <cursor>", "Read the next roster page").option("--json", "Print the roster page as JSON").action(async (options) => {
89
- const page = await new (0, _chunk3JZXU5OBjs.DeeplineClient)().listPersonalHubSpotMembers(
89
+ const page = await new (0, _chunkDF2X7GJGjs.DeeplineClient)().listPersonalHubSpotMembers(
90
90
  options.cursor
91
91
  );
92
92
  const rows = page.members.map((member) => {
@@ -112,7 +112,7 @@ function registerLegacyWorkspaceConnectionCommand(parent, hidden = false) {
112
112
  );
113
113
  if (options.autoName && (action !== "connect" || options.name !== void 0))
114
114
  throw new Error("Use --auto-name with connect and omit --name.");
115
- const client = new (0, _chunk3JZXU5OBjs.DeeplineClient)();
115
+ const client = new (0, _chunkDF2X7GJGjs.DeeplineClient)();
116
116
  const { connections } = action === "connect" ? { connections: [] } : options.name ? await client.listWorkspaceConnectionInventory(provider) : await client.listWorkspaceIntegrationConnections();
117
117
  const row = connections.find(
118
118
  (connection) => connection.provider === provider && (!("type" in connection) || connection.type === "oauth") && (options.name === void 0 || "name" in connection && connection.name === options.name)
@@ -145,7 +145,7 @@ function registerLegacyCalendarDelegationCommand(parent, hidden = false) {
145
145
  "Print the proposed change without contacting Google or saving it"
146
146
  ).option("--json", "Print the result as JSON").action(
147
147
  async (action, options) => {
148
- const client = new (0, _chunk3JZXU5OBjs.DeeplineClient)();
148
+ const client = new (0, _chunkDF2X7GJGjs.DeeplineClient)();
149
149
  if (action === "list") {
150
150
  const inventory = await client.listCalendarAvailabilityConnections();
151
151
  const approvals = _optionalChain([inventory, 'access', _3 => _3.approvals, 'optionalAccess', _4 => _4.length]) ? inventory.approvals.map(
@@ -295,7 +295,7 @@ function registerLegacyCalendarDelegationCommand(parent, hidden = false) {
295
295
  }
296
296
  function registerLegacyAvailabilityCalendarsCommand(parent, hidden = false) {
297
297
  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) => {
298
- const page = await new (0, _chunk3JZXU5OBjs.DeeplineClient)().listAvailabilityCalendars(
298
+ const page = await new (0, _chunkDF2X7GJGjs.DeeplineClient)().listAvailabilityCalendars(
299
299
  options.cursor
300
300
  );
301
301
  printIntegrationResult(page, options.json, [
@@ -339,7 +339,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
339
339
  printSetupPlan({ provider, action: "connect_link" }, options.json);
340
340
  return;
341
341
  }
342
- const link = await new (0, _chunk3JZXU5OBjs.DeeplineClient)().getIntegrationConnectLink(
342
+ const link = await new (0, _chunkDF2X7GJGjs.DeeplineClient)().getIntegrationConnectLink(
343
343
  provider
344
344
  );
345
345
  printIntegrationResult(link, options.json, [link.connect_url]);
@@ -366,7 +366,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
366
366
  );
367
367
  return;
368
368
  }
369
- const result2 = await new (0, _chunk3JZXU5OBjs.DeeplineClient)().startIntegrationOAuth(
369
+ const result2 = await new (0, _chunkDF2X7GJGjs.DeeplineClient)().startIntegrationOAuth(
370
370
  provider,
371
371
  {
372
372
  ...options.preset !== void 0 ? { preset: options.preset } : {},
@@ -416,7 +416,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
416
416
  "--credentials-file must contain a nonempty JSON object of string credential values."
417
417
  );
418
418
  }
419
- const result = await new (0, _chunk3JZXU5OBjs.DeeplineClient)().setIntegrationCredentials(
419
+ const result = await new (0, _chunkDF2X7GJGjs.DeeplineClient)().setIntegrationCredentials(
420
420
  provider,
421
421
  credentials,
422
422
  { expectedConnectionId: options.expectedConnectionId }
@@ -3,7 +3,7 @@
3
3
  var _chunk2JHYYB3Fjs = require('./chunk-2JHYYB3F.js');
4
4
 
5
5
 
6
- var _chunk46BEBZ3Mjs = require('./chunk-46BEBZ3M.js');
6
+ var _chunkPDJ4UDCOjs = require('./chunk-PDJ4UDCO.js');
7
7
 
8
8
 
9
9
  var _chunkSL6MYJYMjs = require('./chunk-SL6MYJYM.js');
@@ -11,7 +11,7 @@ var _chunkSL6MYJYMjs = require('./chunk-SL6MYJYM.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkPX7XAVUCjs = require('./chunk-PX7XAVUC.js');
14
+ var _chunkZY6FL4O4js = require('./chunk-ZY6FL4O4.js');
15
15
 
16
16
 
17
17
  var _chunkBBTKAASQjs = require('./chunk-BBTKAASQ.js');
@@ -581,7 +581,7 @@ function parseInputFlagValue(raw) {
581
581
  return raw;
582
582
  }
583
583
  function parsePlayRunOptions(args, initialInput = null) {
584
- const selection = _chunkPX7XAVUCjs.parseJsonFields.call(void 0, args, "run");
584
+ const selection = _chunkZY6FL4O4js.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 ? _chunkPX7XAVUCjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkPX7XAVUCjs.argsWantJson.call(void 0, args);
596
+ let jsonOutput = dryRun ? _chunkZY6FL4O4js.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkZY6FL4O4js.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 = _chunk46BEBZ3Mjs.parseLogLevel.call(void 0, value);
660
+ const parsed = _chunkPDJ4UDCOjs.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 : _chunk46BEBZ3Mjs.parseLogLevel.call(void 0, options.logLevel);
993
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkPDJ4UDCOjs.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 : _chunkPX7XAVUCjs.parseJsonFields.call(void 0,
1008
- [...fullJson ? ["--full"] : [], ..._chunkPX7XAVUCjs.jsonFieldArgs.call(void 0, options.json)],
1007
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunkZY6FL4O4js.parseJsonFields.call(void 0,
1008
+ [...fullJson ? ["--full"] : [], ..._chunkZY6FL4O4js.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 || _chunkPX7XAVUCjs.argsWantJson.call(void 0, []) : explicitJson;
1013
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunkZY6FL4O4js.argsWantJson.call(void 0, []) : explicitJson;
1014
1014
  const verboseLogs = Boolean(
1015
1015
  debugAlias || logLevel === "debug" || debugMapLatency
1016
1016
  );
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  PlayClient
3
- } from "./chunk-D6YAU3CF.mjs";
3
+ } from "./chunk-Q7ZOWNKR.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-R57UCXQG.mjs";
7
+ } from "./chunk-HXM2JUGD.mjs";
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
49
49
  // getters keep their established compatibility behavior.
50
50
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
51
51
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
52
- version: "0.3.543",
52
+ version: "0.3.544",
53
53
  updateSummary: {
54
54
  introducedIn: "0.3.90",
55
55
  summary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release."
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-AACKPOGA.mjs";
4
+ } from "./chunk-SK3HPU2J.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-ZSPBJB7I.mjs";
7
+ } from "./chunk-RJPDCSTD.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-NR3O56FT.mjs";
10
+ } from "./chunk-BEQ7RQLT.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-DH43ECTN.mjs";
13
+ } from "./chunk-DVDWAC2M.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-R57UCXQG.mjs";
16
+ } from "./chunk-HXM2JUGD.mjs";
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  import { spawn, spawnSync } from "child_process";
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkDI3GL3T6js = require('./chunk-DI3GL3T6.js');
3
+ var _chunkW7X4KH45js = require('./chunk-W7X4KH45.js');
4
4
 
5
5
 
6
- var _chunkDUGTPVT7js = require('./chunk-DUGTPVT7.js');
6
+ var _chunkUNMNGRPBjs = require('./chunk-UNMNGRPB.js');
7
7
 
8
8
 
9
9
 
@@ -14,16 +14,16 @@ var _chunkRKF263LRjs = require('./chunk-RKF263LR.js');
14
14
  var _chunkXYIECA7Mjs = require('./chunk-XYIECA7M.js');
15
15
 
16
16
 
17
- var _chunk3JZXU5OBjs = require('./chunk-3JZXU5OB.js');
17
+ var _chunkDF2X7GJGjs = require('./chunk-DF2X7GJG.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
- var _chunkPX7XAVUCjs = require('./chunk-PX7XAVUC.js');
22
+ var _chunkZY6FL4O4js = require('./chunk-ZY6FL4O4.js');
23
23
 
24
24
 
25
25
 
26
- var _chunkQFRMVI4Sjs = require('./chunk-QFRMVI4S.js');
26
+ var _chunkON56ISO6js = require('./chunk-ON56ISO6.js');
27
27
 
28
28
  // src/cli/commands/describe.ts
29
29
  var _fs = require('fs');
@@ -32,14 +32,14 @@ var _path = require('path');
32
32
  // src/cli/doc-read-reporting.ts
33
33
  var REPORT_TIMEOUT_MS = 1e3;
34
34
  async function reportDocRead(docId) {
35
- if (_chunkPX7XAVUCjs.isFailureReportingDisabled.call(void 0, )) return;
35
+ if (_chunkZY6FL4O4js.isFailureReportingDisabled.call(void 0, )) return;
36
36
  try {
37
- const baseUrl = _chunkQFRMVI4Sjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
38
- const apiKey = _chunkQFRMVI4Sjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
37
+ const baseUrl = _chunkON56ISO6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
38
+ const apiKey = _chunkON56ISO6js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
39
39
  if (!apiKey) return;
40
40
  await fetch(new URL("/api/v2/telemetry/doc-read", baseUrl), {
41
41
  method: "POST",
42
- headers: _chunkPX7XAVUCjs.failureReportHeaders.call(void 0, apiKey),
42
+ headers: _chunkZY6FL4O4js.failureReportHeaders.call(void 0, apiKey),
43
43
  body: JSON.stringify({ doc_id: docId }),
44
44
  signal: AbortSignal.timeout(REPORT_TIMEOUT_MS)
45
45
  });
@@ -52,16 +52,16 @@ function nothingNamed(name) {
52
52
  return `Nothing named "${name}". Search for it: deepline search ${JSON.stringify(name.replace(/[-_./]+/g, " "))}`;
53
53
  }
54
54
  function findNamed2(name, options) {
55
- return _chunkRKF263LRjs.findNamed.call(void 0, name, options, _chunkRKF263LRjs.describeLookupsFor.call(void 0, new (0, _chunk3JZXU5OBjs.DeeplineClient)()));
55
+ return _chunkRKF263LRjs.findNamed.call(void 0, name, options, _chunkRKF263LRjs.describeLookupsFor.call(void 0, new (0, _chunkDF2X7GJGjs.DeeplineClient)()));
56
56
  }
57
57
  async function describeAnything(name, options, onMissing) {
58
- const client = new (0, _chunk3JZXU5OBjs.DeeplineClient)();
58
+ const client = new (0, _chunkDF2X7GJGjs.DeeplineClient)();
59
59
  const lookups = _chunkRKF263LRjs.describeLookupsFor.call(void 0, client);
60
60
  const outcome = await _chunkRKF263LRjs.describeName.call(void 0, name, options, {
61
61
  ...lookups,
62
62
  // `tools describe` has already fetched the tool for its compatibility check.
63
63
  tool: async (toolName) => _nullishCoalesce(options.fetchedTool, () => ( lookups.tool(toolName))),
64
- seedStarterScript: _chunkDI3GL3T6js.seedToolListScript
64
+ seedStarterScript: _chunkW7X4KH45js.seedToolListScript
65
65
  });
66
66
  if (outcome.status === "missing") {
67
67
  if (onMissing) return onMissing();
@@ -87,18 +87,18 @@ function deliver(envelope, lines, { json, out }) {
87
87
  ` : text;
88
88
  _fs.writeFileSync.call(void 0, path, content);
89
89
  const bytes = Buffer.byteLength(content);
90
- _chunkPX7XAVUCjs.printCommandEnvelope.call(void 0,
90
+ _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
91
91
  { path, bytes },
92
92
  { json, text: `Wrote ${path} (${bytes} bytes)
93
93
  ` }
94
94
  );
95
95
  return 0;
96
96
  }
97
- _chunkPX7XAVUCjs.printCommandEnvelope.call(void 0, envelope, { json, text });
97
+ _chunkZY6FL4O4js.printCommandEnvelope.call(void 0, envelope, { json, text });
98
98
  return 0;
99
99
  }
100
100
  function registerDescribeCommand(program) {
101
- _chunkDUGTPVT7js.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
101
+ _chunkUNMNGRPBjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
102
102
  "Describe anything search returns: a tool, monitor type, or play."
103
103
  ).addHelpText(
104
104
  "after",
@@ -9,7 +9,7 @@ import {
9
9
  formatCliFailureDiagnostic,
10
10
  markJsonOutputHandled,
11
11
  writeRawStderr
12
- } from "./chunk-DH43ECTN.mjs";
12
+ } from "./chunk-DVDWAC2M.mjs";
13
13
 
14
14
  // src/cli/describe-options.ts
15
15
  function addDescribeOptions(command, options = {}) {
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  httpJson
3
- } from "./chunk-W2OPPSAZ.mjs";
3
+ } from "./chunk-H4SAHB3Q.mjs";
4
4
  import {
5
5
  PRICING_PAGE_NOTE
6
6
  } from "./chunk-NIPLY25A.mjs";
7
7
  import {
8
8
  autoDetectBaseUrl,
9
9
  resolveApiKeyForBaseUrl
10
- } from "./chunk-R57UCXQG.mjs";
10
+ } from "./chunk-HXM2JUGD.mjs";
11
11
 
12
12
  // src/cli/concurrent-runs-help.ts
13
13
  var CONCURRENT_RUNS_HELP_COMMANDS = /* @__PURE__ */ new Set([
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunkNHKP2NSUjs = require('./chunk-NHKP2NSU.js');
3
+ var _chunkPKRW76XGjs = require('./chunk-PKRW76XG.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkO2KLWUNIjs = require('./chunk-O2KLWUNI.js');
8
+ var _chunkKE6CSCUFjs = require('./chunk-KE6CSCUF.js');
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -18,11 +18,11 @@ function usesCliPlayAdmission(command, args) {
18
18
  }
19
19
  async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured", signal) {
20
20
  _optionalChain([signal, 'optionalAccess', _ => _.throwIfAborted, 'call', _2 => _2()]);
21
- if (maintenancePolicy !== "off") _chunkO2KLWUNIjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
- const compatibility = await _chunkNHKP2NSUjs.traceCliSpan.call(void 0,
21
+ if (maintenancePolicy !== "off") _chunkKE6CSCUFjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
+ const compatibility = await _chunkPKRW76XGjs.traceCliSpan.call(void 0,
23
23
  "cli.sdk_compatibility",
24
24
  { baseUrl, command: "plays run" },
25
- () => _chunkO2KLWUNIjs.checkSdkCompatibility.call(void 0, baseUrl, {
25
+ () => _chunkKE6CSCUFjs.checkSdkCompatibility.call(void 0, baseUrl, {
26
26
  command: "plays run",
27
27
  persistCache: maintenancePolicy !== "off",
28
28
  signal
@@ -30,7 +30,7 @@ async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configure
30
30
  );
31
31
  _optionalChain([signal, 'optionalAccess', _3 => _3.throwIfAborted, 'call', _4 => _4()]);
32
32
  if (compatibility.error) throw compatibility.error;
33
- _chunkO2KLWUNIjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
33
+ _chunkKE6CSCUFjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
34
34
  quietAdvisory: true
35
35
  });
36
36
  }
@@ -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(); } }
2
2
 
3
- var _chunk46BEBZ3Mjs = require('./chunk-46BEBZ3M.js');
3
+ var _chunkPDJ4UDCOjs = require('./chunk-PDJ4UDCO.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkQFRMVI4Sjs = require('./chunk-QFRMVI4S.js');
7
+ var _chunkON56ISO6js = require('./chunk-ON56ISO6.js');
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -137,9 +137,9 @@ async function pinLocalPlayImports(client, graph) {
137
137
 
138
138
  // src/plays/client.ts
139
139
  function createPlayClient(options) {
140
- const config = _chunkQFRMVI4Sjs.resolveConfig.call(void 0, options);
141
- return new (0, _chunk46BEBZ3Mjs.PlayClient)(
142
- new (0, _chunkQFRMVI4Sjs.HttpClient)(config),
140
+ const config = _chunkON56ISO6js.resolveConfig.call(void 0, options);
141
+ return new (0, _chunkPDJ4UDCOjs.PlayClient)(
142
+ new (0, _chunkON56ISO6js.HttpClient)(config),
143
143
  _nullishCoalesce(config.environment, () => ( process.env))
144
144
  );
145
145
  }
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  getActiveCliProgress
3
- } from "./chunk-VSJEOSYL.mjs";
3
+ } from "./chunk-YIRVKMON.mjs";
4
4
  import {
5
5
  maybeReportAutomaticSkillsSyncFailure
6
- } from "./chunk-DH43ECTN.mjs";
6
+ } from "./chunk-DVDWAC2M.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-R57UCXQG.mjs";
17
+ } from "./chunk-HXM2JUGD.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-JXG7HWBA.mjs";
24
+ } from "./chunk-ZHY4T5M6.mjs";
25
25
  import {
26
26
  SDK_RELEASE
27
- } from "./chunk-ZRT2PNYY.mjs";
27
+ } from "./chunk-PFGOCUH3.mjs";
28
28
 
29
29
  // src/compat.ts
30
30
  import { randomUUID } from "crypto";