deepline 0.3.575 → 0.3.576

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 (145) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +13 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +145 -0
  3. package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +17 -0
  4. package/dist/bundling-sources/shared_libs/play-runtime/experiment-switches.ts +8 -0
  5. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +153 -10
  6. package/dist/bundling-sources/shared_libs/play-runtime/runtime-speed-profile.ts +41 -5
  7. package/dist/cli/{agents-ULGDKUTM.mjs → agents-BLJR2Y3X.mjs} +35 -4
  8. package/dist/cli/{agents-BCLO3KQJ.js → agents-CJQ7KBFT.js} +61 -30
  9. package/dist/cli/auth-GSDYP4ZN.js +44 -0
  10. package/dist/cli/{auth-4WCL7A6W.mjs → auth-SLZIRCPE.mjs} +5 -5
  11. package/dist/cli/{billing-7JQ6EUQU.mjs → billing-6Q4SK5KF.mjs} +9 -9
  12. package/dist/cli/{billing-BF5LVXOM.js → billing-IECMVARO.js} +102 -102
  13. package/dist/cli/{chunk-2T7XOKVL.mjs → chunk-2UHEJPSS.mjs} +5 -5
  14. package/dist/cli/{chunk-AO56MZ7D.js → chunk-36254433.js} +3 -3
  15. package/dist/cli/{chunk-EZIXKNKM.js → chunk-45POZK3F.js} +3 -3
  16. package/dist/cli/{chunk-5H6254MJ.js → chunk-4KIIXV5Z.js} +16 -16
  17. package/dist/cli/{chunk-GQZFZG6R.mjs → chunk-5VABOJ4M.mjs} +2 -2
  18. package/dist/cli/{chunk-TTBZ7QXX.mjs → chunk-66K7F7LR.mjs} +1 -1
  19. package/dist/cli/{chunk-HEOM3FAC.js → chunk-6JQZC6HX.js} +20 -20
  20. package/dist/cli/{chunk-XFV353R2.js → chunk-6RY5COUY.js} +23 -23
  21. package/dist/cli/{chunk-RHRRY2BX.mjs → chunk-7DI34I73.mjs} +3 -3
  22. package/dist/cli/{chunk-ZYSJND73.js → chunk-ANPHEXTT.js} +9 -9
  23. package/dist/cli/{chunk-JGLCK2XF.mjs → chunk-AUR24RQB.mjs} +2 -2
  24. package/dist/cli/{chunk-FDCU3VAJ.mjs → chunk-AZFSCPYK.mjs} +18 -1
  25. package/dist/cli/{chunk-YNAXKA23.js → chunk-BRPUB6UA.js} +5 -5
  26. package/dist/cli/{chunk-BM536WWR.mjs → chunk-CUIFDMNP.mjs} +11 -1
  27. package/dist/cli/{chunk-SYQTBHRX.mjs → chunk-D5LWYP2H.mjs} +3 -3
  28. package/dist/cli/{chunk-ZQXJYO5P.js → chunk-DGY4EYIX.js} +5 -5
  29. package/dist/cli/{chunk-2UM3I2MY.js → chunk-E4M4QZBP.js} +11 -1
  30. package/dist/cli/{chunk-V5XLENWK.js → chunk-EQO77FQZ.js} +5 -5
  31. package/dist/cli/{chunk-H6JMRLAZ.js → chunk-F4H26PP6.js} +100 -100
  32. package/dist/cli/{chunk-MN7JLH2T.mjs → chunk-GI57Q7JU.mjs} +2 -2
  33. package/dist/cli/{chunk-ZS6DT4LD.js → chunk-GZ7KYGYE.js} +15 -15
  34. package/dist/cli/{chunk-TMFR2B45.mjs → chunk-HE53AI2E.mjs} +3 -3
  35. package/dist/cli/{chunk-6IKLITVH.js → chunk-HHMO3CON.js} +6 -6
  36. package/dist/cli/{chunk-X47J55ZJ.mjs → chunk-JPFAD6G6.mjs} +2 -2
  37. package/dist/cli/{chunk-EV3OPDHF.js → chunk-JSIOLCTK.js} +20 -20
  38. package/dist/cli/{chunk-QKP3WYSZ.mjs → chunk-KQTZO6NT.mjs} +2 -2
  39. package/dist/cli/{chunk-636GD4IR.js → chunk-L6H72AIX.js} +2 -2
  40. package/dist/cli/{chunk-IAJ65IDZ.mjs → chunk-LKC7PHDX.mjs} +4 -4
  41. package/dist/cli/{chunk-HO76C7AE.js → chunk-M23G33MH.js} +2 -2
  42. package/dist/cli/{chunk-KNCNFL76.js → chunk-MDJ4LPQ5.js} +4 -4
  43. package/dist/cli/{chunk-DMPGJCNZ.js → chunk-MXPCTF57.js} +18 -1
  44. package/dist/cli/{chunk-FXXERR52.js → chunk-NQFZ7FYN.js} +10 -10
  45. package/dist/cli/{chunk-MWLOBURN.mjs → chunk-OMVBBAQP.mjs} +2 -2
  46. package/dist/cli/{chunk-737Y7QGT.js → chunk-OXRG325T.js} +41 -41
  47. package/dist/cli/{chunk-CVY4MBXH.mjs → chunk-PU5VCDCJ.mjs} +5 -5
  48. package/dist/cli/{chunk-5VSHQG5E.js → chunk-PYFMNPTA.js} +8 -8
  49. package/dist/cli/{chunk-IOWLFWWG.mjs → chunk-QCD7BQ5Z.mjs} +2 -2
  50. package/dist/cli/{chunk-QEDRUURT.mjs → chunk-R5NKLZL2.mjs} +1 -1
  51. package/dist/cli/{chunk-E4RYSSXX.mjs → chunk-S4IW4NAI.mjs} +1 -1
  52. package/dist/cli/{chunk-7DLAJ6JJ.js → chunk-SBZSJQEI.js} +53 -53
  53. package/dist/cli/{chunk-BQUAE6LQ.mjs → chunk-SY3OKOI5.mjs} +1 -1
  54. package/dist/cli/{chunk-NF722E6C.mjs → chunk-TZHS2W5Z.mjs} +1 -1
  55. package/dist/cli/{chunk-AS5XGOZY.js → chunk-UD6M2ZTY.js} +2 -2
  56. package/dist/cli/{chunk-56N3XAT6.mjs → chunk-UGIH4462.mjs} +5 -5
  57. package/dist/cli/{chunk-PQYDO72W.js → chunk-V25CXBR2.js} +26 -26
  58. package/dist/cli/{chunk-GB4IZ5TV.js → chunk-WDWV77SJ.js} +13 -13
  59. package/dist/cli/{chunk-G4WPDCXA.js → chunk-WPGZ6V36.js} +48 -48
  60. package/dist/cli/{chunk-UQZP7XBQ.mjs → chunk-X5V6S5KI.mjs} +5 -5
  61. package/dist/cli/{chunk-IBYMGR5Y.mjs → chunk-XJNJ3BWU.mjs} +1 -1
  62. package/dist/cli/{chunk-G2H6SQQY.js → chunk-Y4A6Y5EY.js} +7 -7
  63. package/dist/cli/{chunk-5D7OJY4W.mjs → chunk-YHM64N5C.mjs} +1 -1
  64. package/dist/cli/{chunk-H3CG72RZ.mjs → chunk-ZIGMC2X4.mjs} +11 -11
  65. package/dist/cli/{chunk-3PVKXUSJ.mjs → chunk-ZRC52APB.mjs} +1 -1
  66. package/dist/cli/{chunk-BONMEBWZ.mjs → chunk-ZYN6S6G2.mjs} +4 -4
  67. package/dist/cli/command-docs.js +2 -2
  68. package/dist/cli/command-docs.mjs +1 -1
  69. package/dist/cli/{concurrent-runs-help-HITK6EOO.mjs → concurrent-runs-help-H3SA7J6H.mjs} +6 -6
  70. package/dist/cli/concurrent-runs-help-PB7GT6F2.js +22 -0
  71. package/dist/cli/{csv-RS7XHQ4P.js → csv-6DEKR3QQ.js} +13 -13
  72. package/dist/cli/{csv-V2T23MXT.mjs → csv-ICXI7JAS.mjs} +4 -4
  73. package/dist/cli/{db-WFIVRPKY.js → db-AG7INMLP.js} +27 -27
  74. package/dist/cli/{db-OQ4RNTGE.mjs → db-VI7T5E6O.mjs} +6 -6
  75. package/dist/cli/describe-LMHIG3DP.js +50 -0
  76. package/dist/cli/{describe-AXV2EEX3.mjs → describe-S6NFWWGK.mjs} +18 -18
  77. package/dist/cli/{executions-5H2RIWZ3.js → executions-M5R5QHIA.js} +8 -8
  78. package/dist/cli/{executions-THP5ZDBQ.mjs → executions-MK7H4Q2H.mjs} +6 -6
  79. package/dist/cli/{feedback-UOI6UEGA.js → feedback-L3L4FEQL.js} +14 -14
  80. package/dist/cli/{feedback-2EJPILGE.mjs → feedback-ZHATL2XF.mjs} +6 -6
  81. package/dist/cli/{git-DI3LJIAT.mjs → git-W5DHNH2Q.mjs} +5 -5
  82. package/dist/cli/git-WYNCLDHD.js +26 -0
  83. package/dist/cli/index.js +148 -148
  84. package/dist/cli/index.mjs +47 -47
  85. package/dist/cli/{integrations-DJYS5VRK.mjs → integrations-73YSN2LI.mjs} +7 -7
  86. package/dist/cli/{integrations-TYN2BSQ6.js → integrations-IBWNO3YP.js} +29 -29
  87. package/dist/cli/{legacy-noops-Z457BB6O.mjs → legacy-noops-4LFZJTDX.mjs} +6 -6
  88. package/dist/cli/{legacy-noops-GXQHNLGJ.js → legacy-noops-AE6DBYJM.js} +9 -9
  89. package/dist/cli/{mcp-WMBOOTQL.js → mcp-BKL6M6OI.js} +24 -24
  90. package/dist/cli/{mcp-NAW3GFNN.mjs → mcp-E6PTSNDE.mjs} +4 -4
  91. package/dist/cli/{monitors-A7NYAXSJ.mjs → monitors-MXJ27KQK.mjs} +7 -7
  92. package/dist/cli/{monitors-OOQVE7XR.js → monitors-SW7ZCPPT.js} +100 -100
  93. package/dist/cli/{org-7YCDUSZE.mjs → org-HYAJ2MIK.mjs} +6 -6
  94. package/dist/cli/{org-D2AMIVBS.js → org-XJ44KZ5I.js} +121 -121
  95. package/dist/cli/{outcomes-2FKZDJSQ.js → outcomes-PTXGG4BZ.js} +14 -14
  96. package/dist/cli/{outcomes-TNTKCUEO.mjs → outcomes-PUMAXRGD.mjs} +6 -6
  97. package/dist/cli/{play-NWKHCHVZ.js → play-EPDZ3GDV.js} +336 -336
  98. package/dist/cli/{play-L6CVHSN4.mjs → play-QN3X6IAE.mjs} +19 -19
  99. package/dist/cli/{providers-PZGOI5CN.js → providers-GNJFGNDH.js} +9 -9
  100. package/dist/cli/{providers-22LO747B.mjs → providers-JIN5UQ7Z.mjs} +6 -6
  101. package/dist/cli/{quickstart-3ZRVKGMH.mjs → quickstart-4EBFHGB7.mjs} +4 -4
  102. package/dist/cli/{quickstart-LLWOC2GR.js → quickstart-YH6NNC5I.js} +6 -6
  103. package/dist/cli/{run-SNF23STR.js → run-4DRF7KQJ.js} +44 -44
  104. package/dist/cli/{run-D46W2GUA.mjs → run-5467KBCP.mjs} +23 -23
  105. package/dist/cli/search-B2KCWPUV.js +32 -0
  106. package/dist/cli/{search-XWVCICIX.mjs → search-ZERTOGH6.mjs} +7 -7
  107. package/dist/cli/{search-output-YM5QXFQQ.mjs → search-output-OAVJXRFO.mjs} +4 -4
  108. package/dist/cli/{search-output-36GHD67U.js → search-output-OMNZN2LP.js} +6 -6
  109. package/dist/cli/{secrets-UXCIHG5I.js → secrets-7XK2BGYX.js} +15 -15
  110. package/dist/cli/{secrets-7PTZEFRC.mjs → secrets-KAVDYB4P.mjs} +6 -6
  111. package/dist/cli/sessions-PUQURPPC.js +23 -0
  112. package/dist/cli/{sessions-DTXJKRP4.mjs → sessions-TNPI6XWB.mjs} +6 -6
  113. package/dist/cli/{settings-74B6UOS4.mjs → settings-KUABXRAJ.mjs} +12 -12
  114. package/dist/cli/{settings-EYSDZE37.js → settings-RQ3Z3JCM.js} +85 -85
  115. package/dist/cli/{setup-2QRZ36CH.mjs → setup-6IX6BSS7.mjs} +9 -9
  116. package/dist/cli/{setup-E7PVXBPL.js → setup-TDOWNKYN.js} +49 -49
  117. package/dist/cli/skills-AACRY2TV.js +37 -0
  118. package/dist/cli/{skills-2WZ7N3UW.mjs → skills-Z6NBJ4KP.mjs} +7 -7
  119. package/dist/cli/{tools-YK5SCUZD.mjs → tools-LQKFWK7J.mjs} +17 -17
  120. package/dist/cli/tools-OTYA4722.js +57 -0
  121. package/dist/cli/update-JTGMI6OJ.js +37 -0
  122. package/dist/cli/{update-563YQK53.mjs → update-RUB4EIKW.mjs} +9 -9
  123. package/dist/cli/{views-ISNCRZUP.mjs → views-D7WY5QPR.mjs} +6 -6
  124. package/dist/cli/{views-OLPS6TPG.js → views-FFLXLAGC.js} +21 -21
  125. package/dist/cli/{workflow-B3ZKU3OR.mjs → workflow-BV2OTEQD.mjs} +7 -7
  126. package/dist/cli/{workflow-CUSCTYMW.js → workflow-QW7QVODA.js} +17 -17
  127. package/dist/index.js +9 -9
  128. package/dist/index.mjs +6 -6
  129. package/dist/install-integrity.json +116 -116
  130. package/dist/release.d.mts +9 -1
  131. package/dist/release.d.ts +9 -1
  132. package/dist/release.js +2 -2
  133. package/dist/release.mjs +1 -1
  134. package/dist/server.js +5 -5
  135. package/dist/server.mjs +3 -3
  136. package/package.json +1 -1
  137. package/dist/cli/auth-DXUHEL5I.js +0 -44
  138. package/dist/cli/concurrent-runs-help-JLWY54WL.js +0 -22
  139. package/dist/cli/describe-33PBWO5O.js +0 -50
  140. package/dist/cli/git-2OPYEPYW.js +0 -26
  141. package/dist/cli/search-H57MZPLF.js +0 -32
  142. package/dist/cli/sessions-JJZMQSH4.js +0 -23
  143. package/dist/cli/skills-RIF2DCZI.js +0 -37
  144. package/dist/cli/tools-7VRQ4GSI.js +0 -57
  145. package/dist/cli/update-CMZAIAES.js +0 -37
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  PlayClient
3
- } from "./chunk-QEDRUURT.mjs";
3
+ } from "./chunk-R5NKLZL2.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-3PVKXUSJ.mjs";
7
+ } from "./chunk-ZRC52APB.mjs";
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -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 _chunkYNAXKA23js = require('./chunk-YNAXKA23.js');
3
+ var _chunkBRPUB6UAjs = require('./chunk-BRPUB6UA.js');
4
4
 
5
5
 
6
- var _chunkEV3OPDHFjs = require('./chunk-EV3OPDHF.js');
6
+ var _chunkJSIOLCTKjs = require('./chunk-JSIOLCTK.js');
7
7
 
8
8
 
9
- var _chunkAO56MZ7Djs = require('./chunk-AO56MZ7D.js');
9
+ var _chunk36254433js = require('./chunk-36254433.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
- _chunkEV3OPDHFjs.printCommandEnvelope.call(void 0,
16
+ _chunkJSIOLCTKjs.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, _chunkYNAXKA23js.DeeplineClient)().getIntegrationBalance(
32
+ const balance = await new (0, _chunkBRPUB6UAjs.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, _chunkYNAXKA23js.DeeplineClient)();
46
+ const client = new (0, _chunkBRPUB6UAjs.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, _chunkYNAXKA23js.DeeplineClient)().listPersonalHubSpotMembers(
88
+ const page = await new (0, _chunkBRPUB6UAjs.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, _chunkYNAXKA23js.DeeplineClient)();
114
+ const client = new (0, _chunkBRPUB6UAjs.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, _chunkYNAXKA23js.DeeplineClient)();
147
+ const client = new (0, _chunkBRPUB6UAjs.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, _chunkYNAXKA23js.DeeplineClient)().listAvailabilityCalendars(
297
+ const page = await new (0, _chunkBRPUB6UAjs.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, _chunkYNAXKA23js.DeeplineClient)().connectManagedIntegration(
375
+ const result2 = await new (0, _chunkBRPUB6UAjs.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, _chunkYNAXKA23js.DeeplineClient)().getIntegrationConnectLink(
412
+ const link = await new (0, _chunkBRPUB6UAjs.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, _chunkYNAXKA23js.DeeplineClient)().startIntegrationOAuth(
442
+ const result2 = await new (0, _chunkBRPUB6UAjs.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, _chunkYNAXKA23js.DeeplineClient)().setIntegrationCredentials(
504
+ const result = await new (0, _chunkBRPUB6UAjs.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(_chunkAO56MZ7Djs.resolveConfig.call(void 0, ).workspace, () => ( null));
533
+ return _nullishCoalesce(_chunk36254433js.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,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-X47J55ZJ.mjs";
5
+ } from "./chunk-JPFAD6G6.mjs";
6
6
  import {
7
7
  ACTIVE_ORG_ID_ENV,
8
8
  ACTIVE_ORG_NAME_ENV,
@@ -22,14 +22,14 @@ import {
22
22
  saveHostEnvValues,
23
23
  saveProjectDeeplineEnvValues,
24
24
  storedHostApiKey
25
- } from "./chunk-3PVKXUSJ.mjs";
25
+ } from "./chunk-ZRC52APB.mjs";
26
26
  import {
27
27
  SDK_API_CONTRACT,
28
28
  SDK_VERSION,
29
29
  connectionFailureMessage,
30
30
  detectAgentRuntime,
31
31
  networkCauseCode
32
- } from "./chunk-IBYMGR5Y.mjs";
32
+ } from "./chunk-XJNJ3BWU.mjs";
33
33
  import {
34
34
  DeeplineError
35
35
  } from "./chunk-Z3A2S3QM.mjs";
@@ -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 _chunk636GD4IRjs = require('./chunk-636GD4IR.js');
3
+ var _chunkL6H72AIXjs = require('./chunk-L6H72AIX.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkG4WPDCXAjs = require('./chunk-G4WPDCXA.js');
8
+ var _chunkWPGZ6V36js = require('./chunk-WPGZ6V36.js');
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -18,18 +18,18 @@ 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") _chunkG4WPDCXAjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
- const compatibility = await _chunk636GD4IRjs.traceCliSpan.call(void 0,
21
+ if (maintenancePolicy !== "off") _chunkWPGZ6V36js.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
+ const compatibility = await _chunkL6H72AIXjs.traceCliSpan.call(void 0,
23
23
  "cli.sdk_compatibility",
24
24
  { baseUrl, command: "plays run" },
25
- () => _chunkG4WPDCXAjs.requireSdkCompatibility.call(void 0, baseUrl, {
25
+ () => _chunkWPGZ6V36js.requireSdkCompatibility.call(void 0, baseUrl, {
26
26
  command: "plays run",
27
27
  persistCache: maintenancePolicy !== "off",
28
28
  signal
29
29
  })
30
30
  );
31
31
  _optionalChain([signal, 'optionalAccess', _3 => _3.throwIfAborted, 'call', _4 => _4()]);
32
- _chunkG4WPDCXAjs.enforceSdkCompatibilityResponse.call(void 0, compatibility, {
32
+ _chunkWPGZ6V36js.enforceSdkCompatibilityResponse.call(void 0, compatibility, {
33
33
  quietAdvisory: true
34
34
  });
35
35
  }
@@ -4,14 +4,14 @@ import {
4
4
  resolveApiKeyForBaseUrl,
5
5
  resolveCliCommandContext,
6
6
  resolveConfig
7
- } from "./chunk-3PVKXUSJ.mjs";
7
+ } from "./chunk-ZRC52APB.mjs";
8
8
  import {
9
9
  SDK_VERSION,
10
10
  agentSessionIdFromEnvironment,
11
11
  deploymentProtectionHeaders,
12
12
  detectAgentRuntime,
13
13
  readToolFailureHint
14
- } from "./chunk-IBYMGR5Y.mjs";
14
+ } from "./chunk-XJNJ3BWU.mjs";
15
15
  import {
16
16
  DeeplineError,
17
17
  normalizeToolExecutionFailure,
@@ -4,14 +4,14 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkAO56MZ7Djs = require('./chunk-AO56MZ7D.js');
7
+ var _chunk36254433js = require('./chunk-36254433.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
12
 
13
13
 
14
- var _chunkKNCNFL76js = require('./chunk-KNCNFL76.js');
14
+ var _chunkMDJ4LPQ5js = require('./chunk-MDJ4LPQ5.js');
15
15
 
16
16
 
17
17
 
@@ -331,7 +331,7 @@ function buildEnvironmentContext() {
331
331
  node_version: process.version,
332
332
  runtime: "Node.js",
333
333
  hostname: _os.hostname.call(void 0, ),
334
- agent_runtime: _chunkKNCNFL76js.detectAgentRuntime.call(void 0, )
334
+ agent_runtime: _chunkMDJ4LPQ5js.detectAgentRuntime.call(void 0, )
335
335
  };
336
336
  for (const key of ["CLAUDE_CODE_REMOTE", "DEEPLINE_PLUGIN_MODE"]) {
337
337
  const normalized = _optionalChain([process, 'access', _6 => _6.env, 'access', _7 => _7[key], 'optionalAccess', _8 => _8.trim, 'call', _9 => _9()]);
@@ -352,18 +352,18 @@ function buildEnvironmentContext() {
352
352
  return context;
353
353
  }
354
354
  function failureReportHeaders(apiKey) {
355
- const agentSessionId = _chunkKNCNFL76js.agentSessionIdFromEnvironment.call(void 0, );
355
+ const agentSessionId = _chunkMDJ4LPQ5js.agentSessionIdFromEnvironment.call(void 0, );
356
356
  return {
357
- ..._chunkKNCNFL76js.deploymentProtectionHeaders.call(void 0, ),
357
+ ..._chunkMDJ4LPQ5js.deploymentProtectionHeaders.call(void 0, ),
358
358
  ...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {},
359
359
  Authorization: `Bearer ${apiKey}`,
360
360
  "Content-Type": "application/json",
361
- "User-Agent": `deepline-ts-sdk/${_chunkKNCNFL76js.SDK_VERSION}`,
361
+ "User-Agent": `deepline-ts-sdk/${_chunkMDJ4LPQ5js.SDK_VERSION}`,
362
362
  "X-Deepline-Client-Family": "sdk",
363
363
  "X-Deepline-CLI-Family": "sdk",
364
- "X-Deepline-Agent-Runtime": _chunkKNCNFL76js.detectAgentRuntime.call(void 0, ),
365
- "X-Deepline-CLI-Version": _chunkKNCNFL76js.SDK_VERSION,
366
- "X-Deepline-SDK-Version": _chunkKNCNFL76js.SDK_VERSION
364
+ "X-Deepline-Agent-Runtime": _chunkMDJ4LPQ5js.detectAgentRuntime.call(void 0, ),
365
+ "X-Deepline-CLI-Version": _chunkMDJ4LPQ5js.SDK_VERSION,
366
+ "X-Deepline-SDK-Version": _chunkMDJ4LPQ5js.SDK_VERSION
367
367
  };
368
368
  }
369
369
  async function postFailureReport(input) {
@@ -391,7 +391,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
391
391
  if (isFailureReportingDisabled()) return false;
392
392
  let apiKey = "";
393
393
  try {
394
- apiKey = _chunkAO56MZ7Djs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
394
+ apiKey = _chunk36254433js.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
395
395
  } catch (e2) {
396
396
  return false;
397
397
  }
@@ -418,7 +418,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
418
418
  failure_code: failureCode2,
419
419
  failure_stage: failureStage,
420
420
  error_body: "Automatic Deepline skills installation failed.",
421
- cli_version: _chunkKNCNFL76js.SDK_VERSION,
421
+ cli_version: _chunkMDJ4LPQ5js.SDK_VERSION,
422
422
  context: {
423
423
  environment: buildEnvironmentContext(),
424
424
  skills_sync: {
@@ -538,7 +538,7 @@ function buildFailureReport(input) {
538
538
  failure_kind: failureKind,
539
539
  failure_code: code,
540
540
  failure_stage: input.error === void 0 ? "command_exit" : "cli_main",
541
- cli_version: _chunkKNCNFL76js.SDK_VERSION,
541
+ cli_version: _chunkMDJ4LPQ5js.SDK_VERSION,
542
542
  context: {
543
543
  base_url: redactFailureText(input.baseUrl, 400),
544
544
  command_summary: sanitizeCommand(input.argv),
@@ -558,8 +558,8 @@ async function maybeReportSdkCliFailure(input) {
558
558
  if (isServerLoggedPlayRunStartFailure(input)) return false;
559
559
  const exitCode = resolvedExitCode(input);
560
560
  if (!shouldReport({ exitCode, error: input.error })) return false;
561
- const baseUrl = _chunkAO56MZ7Djs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
562
- const apiKey = _chunkAO56MZ7Djs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
561
+ const baseUrl = _chunk36254433js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
562
+ const apiKey = _chunk36254433js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
563
563
  if (!apiKey) return false;
564
564
  return postFailureReport({
565
565
  baseUrl,
@@ -914,8 +914,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
914
914
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
915
915
  var defaultBrowserCommandRunner = childProcess;
916
916
  function getAuthedHttpClient() {
917
- const config = _chunkAO56MZ7Djs.resolveConfig.call(void 0, );
918
- return { config, http: new (0, _chunkAO56MZ7Djs.HttpClient)(config) };
917
+ const config = _chunk36254433js.resolveConfig.call(void 0, );
918
+ return { config, http: new (0, _chunk36254433js.HttpClient)(config) };
919
919
  }
920
920
  function stableOsUserId() {
921
921
  try {
@@ -1256,7 +1256,7 @@ function collectLocalEnvInfo() {
1256
1256
  os: `${process.platform} ${process.arch}`,
1257
1257
  node_version: process.version,
1258
1258
  home_dir: homeDir,
1259
- agent_runtime: _chunkKNCNFL76js.detectAgentRuntime.call(void 0, )
1259
+ agent_runtime: _chunkMDJ4LPQ5js.detectAgentRuntime.call(void 0, )
1260
1260
  };
1261
1261
  const env = process.env;
1262
1262
  const optional = {
@@ -1503,9 +1503,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
1503
1503
  }
1504
1504
  function withAgentCommandContext(value) {
1505
1505
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
1506
- return _chunkKNCNFL76js.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
1506
+ return _chunkMDJ4LPQ5js.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
1507
1507
  ...valueRecord,
1508
- command_context: _chunkAO56MZ7Djs.resolveCliCommandContext.call(void 0, )
1508
+ command_context: _chunk36254433js.resolveCliCommandContext.call(void 0, )
1509
1509
  } : value;
1510
1510
  }
1511
1511
  function printJson(value, fields, options = {}) {
@@ -1677,7 +1677,7 @@ function errorToJsonPayload(error) {
1677
1677
  ...upstreamResponse ? { upstreamResponse } : {},
1678
1678
  ...Object.keys(details).length > 0 ? { details } : {}
1679
1679
  };
1680
- const retry = cliRetryGuidance(payloadError, _chunkKNCNFL76js.readToolFailureHint.call(void 0, error));
1680
+ const retry = cliRetryGuidance(payloadError, _chunkMDJ4LPQ5js.readToolFailureHint.call(void 0, error));
1681
1681
  return {
1682
1682
  ok: false,
1683
1683
  status: "failed",
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  httpJson
3
- } from "./chunk-TMFR2B45.mjs";
3
+ } from "./chunk-HE53AI2E.mjs";
4
4
  import {
5
5
  PRICING_PAGE_NOTE
6
6
  } from "./chunk-HECXJBED.mjs";
7
7
  import {
8
8
  autoDetectBaseUrl,
9
9
  resolveApiKeyForBaseUrl
10
- } from "./chunk-3PVKXUSJ.mjs";
10
+ } from "./chunk-ZRC52APB.mjs";
11
11
 
12
12
  // src/cli/concurrent-runs-help.ts
13
13
  var CONCURRENT_RUNS_HELP_COMMANDS = /* @__PURE__ */ new Set([
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkEV3OPDHFjs = require('./chunk-EV3OPDHF.js');
3
+ var _chunkJSIOLCTKjs = require('./chunk-JSIOLCTK.js');
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  var _commander = require('commander');
@@ -33,7 +33,7 @@ function recordCliTrace(event) {
33
33
  sinceStartMs: now - cliTraceStartedAt,
34
34
  ...event
35
35
  };
36
- _chunkEV3OPDHFjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
36
+ _chunkJSIOLCTKjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
37
37
  `);
38
38
  }
39
39
  async function traceCliSpan(phase, fields, run) {
@@ -3,16 +3,16 @@ import {
3
3
  } from "./chunk-5AEDYVB6.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-IOWLFWWG.mjs";
6
+ } from "./chunk-QCD7BQ5Z.mjs";
7
7
  import {
8
8
  errorToJsonPayload,
9
9
  printCommandEnvelope,
10
10
  resolveSdkCliFailureExitCode
11
- } from "./chunk-X47J55ZJ.mjs";
11
+ } from "./chunk-JPFAD6G6.mjs";
12
12
  import {
13
13
  resolveConfig,
14
14
  sdkCliStateDirPath
15
- } from "./chunk-3PVKXUSJ.mjs";
15
+ } from "./chunk-ZRC52APB.mjs";
16
16
 
17
17
  // src/cli/commands/search.ts
18
18
  import { Option } from "commander";
@@ -134,7 +134,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
134
134
  }
135
135
  const client = new DeeplineClient();
136
136
  const json = options.json === true;
137
- const renderer = json ? void 0 : await import("./search-output-YM5QXFQQ.mjs");
137
+ const renderer = json ? void 0 : await import("./search-output-OAVJXRFO.mjs");
138
138
  const searches = [];
139
139
  const chunks = [];
140
140
  const refs = /* @__PURE__ */ new Map();
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkG4WPDCXAjs = require('./chunk-G4WPDCXA.js');
3
+ var _chunkWPGZ6V36js = require('./chunk-WPGZ6V36.js');
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  var _child_process = require('child_process');
@@ -13,7 +13,7 @@ function npmSupportsAllowScripts(version) {
13
13
  }
14
14
  function readNpmVersion(env) {
15
15
  try {
16
- const plan = _chunkG4WPDCXAjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkWPGZ6V36js.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
17
17
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
18
18
  windowsHide: true,
19
19
  encoding: "utf8",
@@ -21,12 +21,12 @@ var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
21
21
  var _chunkCFJFUVX2js = require('./chunk-CFJFUVX2.js');
22
22
 
23
23
 
24
- var _chunk2UM3I2MYjs = require('./chunk-2UM3I2MY.js');
24
+ var _chunkE4M4QZBPjs = require('./chunk-E4M4QZBP.js');
25
25
 
26
26
  // src/version.ts
27
- var SDK_VERSION = _chunk2UM3I2MYjs.SDK_RELEASE.version;
28
- var SDK_API_MAJOR = _chunk2UM3I2MYjs.SDK_RELEASE.contracts.api.currentMajor;
29
- var SDK_API_CONTRACT = _nullishCoalesce(_chunk2UM3I2MYjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
27
+ var SDK_VERSION = _chunkE4M4QZBPjs.SDK_RELEASE.version;
28
+ var SDK_API_MAJOR = _chunkE4M4QZBPjs.SDK_RELEASE.contracts.api.currentMajor;
29
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunkE4M4QZBPjs.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');
@@ -4359,6 +4359,18 @@ Outcomes (needs the outcomes rollout):
4359
4359
  nothing on the outcome.
4360
4360
  A paused outcome still wakes its agent when something reaches it; the
4361
4361
  agent is told the outcome is paused and decides what is worth doing.
4362
+ Every outcome has an agent by default. While agents are on, an outcome
4363
+ with no home channel is owned by Bot by Deepline: it joins as
4364
+ "deepline" and is woken by the same things (a post that names
4365
+ @deepline, a reply in a thread it started, an answered ask, a task made
4366
+ for it, a schedule it set). With no channel to post in, it writes to the
4367
+ outcome's feed. [[agents outcomes]] lists those outcomes with what woke
4368
+ the agent last; [[outcomes watches list <outcome>]] shows its watch. It
4369
+ starts at most 30 turns an hour on one outcome; what arrives past that
4370
+ waits for the next turn. Giving the outcome a home channel hands the
4371
+ watch to that channel's agent, [[agents disable]] or deleting the outcome
4372
+ removes it, and running [[agents enable]] again puts the agent on
4373
+ outcomes made before this.
4362
4374
  From Slack:
4363
4375
  Inviting the agent's app to a channel no agent answers in, or mentioning
4364
4376
  it there, posts a card that asks which outcome the channel is for. Picking
@@ -4405,7 +4417,12 @@ Output (JSON):
4405
4417
  null}} and skills[] {name, description, markdownLength}. get, create,
4406
4418
  update and channels add print agent; created, changed or removed says
4407
4419
  whether anything changed. models prints default and models[] {id, label,
4408
- provider, aliases, available}. channels set prints model {model {id,
4420
+ provider, aliases, available}. outcomes prints owners[] {outcome, agent,
4421
+ watch {key, ringState (idle, pending, delivering, failing), lastRungAt,
4422
+ lastRingError} or null, refusal, lastWake {at, status (woken,
4423
+ nothing_waiting, throttled, not_woken), matches, what[]} or null,
4424
+ lastWokenAt, turnsInWindow, turnLimit, windowEndsAt} and more. channels
4425
+ set prints model {model {id,
4409
4426
  label, provider}, from (conversation, agent), changed} and outcome
4410
4427
  {changed, agentName, conversation, woken}; channels add --outcome prints
4411
4428
  that outcome too.
@@ -3,16 +3,16 @@
3
3
  var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
4
4
 
5
5
 
6
- var _chunkYNAXKA23js = require('./chunk-YNAXKA23.js');
6
+ var _chunkBRPUB6UAjs = require('./chunk-BRPUB6UA.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
- var _chunkEV3OPDHFjs = require('./chunk-EV3OPDHF.js');
11
+ var _chunkJSIOLCTKjs = require('./chunk-JSIOLCTK.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkAO56MZ7Djs = require('./chunk-AO56MZ7D.js');
15
+ var _chunk36254433js = require('./chunk-36254433.js');
16
16
 
17
17
  // src/cli/commands/search.ts
18
18
  var _commander = require('commander');
@@ -22,7 +22,7 @@ var _fs = require('fs');
22
22
  var _path = require('path');
23
23
  var SEARCH_REF_TTL_MS = 15 * 6e4;
24
24
  function lastSearchPath() {
25
- return _path.join.call(void 0, _chunkAO56MZ7Djs.sdkCliStateDirPath.call(void 0, _chunkAO56MZ7Djs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
25
+ return _path.join.call(void 0, _chunk36254433js.sdkCliStateDirPath.call(void 0, _chunk36254433js.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
26
26
  }
27
27
  function rememberSearchRef(searchRef) {
28
28
  writeSearchRefs({ searchRef });
@@ -132,9 +132,9 @@ async function runSearch(queryInputs, options, types, exclude = []) {
132
132
  console.error("--summary-width must be an integer of at least 2.");
133
133
  return 1;
134
134
  }
135
- const client = new (0, _chunkYNAXKA23js.DeeplineClient)();
135
+ const client = new (0, _chunkBRPUB6UAjs.DeeplineClient)();
136
136
  const json = options.json === true;
137
- const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-36GHD67U.js")));
137
+ const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-OMNZN2LP.js")));
138
138
  const searches = [];
139
139
  const chunks = [];
140
140
  const refs = /* @__PURE__ */ new Map();
@@ -157,7 +157,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
157
157
  const text = _optionalChain([renderer, 'optionalAccess', _12 => _12.renderSearchResults, 'call', _13 => _13(result, summaryWidth)]);
158
158
  if (!multiple) {
159
159
  if (searchRef) rememberSearchRef(searchRef);
160
- _chunkEV3OPDHFjs.printCommandEnvelope.call(void 0, result, { json, text });
160
+ _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0, result, { json, text });
161
161
  return 0;
162
162
  }
163
163
  searches.push({ ...result, query });
@@ -171,8 +171,8 @@ ${text}`);
171
171
  }
172
172
  } catch (error) {
173
173
  if (!multiple) throw error;
174
- const payload = _chunkEV3OPDHFjs.errorToJsonPayload.call(void 0, error);
175
- const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkEV3OPDHFjs.resolveSdkCliFailureExitCode.call(void 0, error)));
174
+ const payload = _chunkJSIOLCTKjs.errorToJsonPayload.call(void 0, error);
175
+ const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkJSIOLCTKjs.resolveSdkCliFailureExitCode.call(void 0, error)));
176
176
  searches.push({ ...payload, query, exitCode: queryExitCode });
177
177
  if (!json) {
178
178
  console.error(`${JSON.stringify(query)}: ${payload.error.message}`);
@@ -184,7 +184,7 @@ Search failed.
184
184
  }
185
185
  }
186
186
  rememberSearchRefsByTool(refs);
187
- _chunkEV3OPDHFjs.printCommandEnvelope.call(void 0,
187
+ _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0,
188
188
  { searches },
189
189
  {
190
190
  json,
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  traceCliSpan
3
- } from "./chunk-BQUAE6LQ.mjs";
3
+ } from "./chunk-SY3OKOI5.mjs";
4
4
  import {
5
5
  enforceSdkCompatibilityResponse,
6
6
  flushDeferredSkillsSyncNotices,
7
7
  requireSdkCompatibility
8
- } from "./chunk-2T7XOKVL.mjs";
8
+ } from "./chunk-2UHEJPSS.mjs";
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {