@jayjiang/open-cc 0.2.1 → 0.3.0

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 (181) hide show
  1. package/README.md +66 -17
  2. package/dist/{chunk-1bhva2z9.js → chunk-03k3e3z0.js} +7 -7
  3. package/dist/{chunk-ft7fs35e.js → chunk-04zxtqnd.js} +2 -2
  4. package/dist/{chunk-00dxqxqj.js → chunk-050m5zxa.js} +2 -2
  5. package/dist/{chunk-khmz14d4.js → chunk-055ys2sk.js} +1 -1
  6. package/dist/{chunk-n128bzxs.js → chunk-07q7v2v9.js} +4 -4
  7. package/dist/{chunk-jkhvm8yk.js → chunk-0f71ws0e.js} +2 -2
  8. package/dist/{chunk-bapy5rc8.js → chunk-0h03m1j0.js} +2 -2
  9. package/dist/{chunk-dnwzz9f7.js → chunk-0t3bjs9k.js} +2 -2
  10. package/dist/{chunk-s56j2d6g.js → chunk-0w66q485.js} +1 -1
  11. package/dist/{chunk-jqp0q5nk.js → chunk-1401zjq1.js} +1 -1
  12. package/dist/{chunk-aftppv3p.js → chunk-1n2k0naa.js} +1 -1
  13. package/dist/{chunk-ebyr6p77.js → chunk-1wb6341y.js} +7 -7
  14. package/dist/{chunk-edfv7pme.js → chunk-1wyfn8fs.js} +2 -2
  15. package/dist/{chunk-30k39xd2.js → chunk-1x3g3ce2.js} +1 -1
  16. package/dist/{chunk-dfx733j3.js → chunk-20je43x3.js} +2 -2
  17. package/dist/{chunk-m4bc15mz.js → chunk-25cesfja.js} +1 -1
  18. package/dist/{chunk-n4nbgkvd.js → chunk-2bxptkrt.js} +2 -2
  19. package/dist/{chunk-tanfpxm1.js → chunk-2crdnncs.js} +3 -3
  20. package/dist/{chunk-wpqbrv0f.js → chunk-2dr6asnr.js} +2 -2
  21. package/dist/{chunk-fdvcpaz3.js → chunk-2eaa1xjc.js} +3 -3
  22. package/dist/{chunk-kkrz2zw2.js → chunk-2vergs5e.js} +2 -2
  23. package/dist/{chunk-gq5bbtme.js → chunk-31jgr3tt.js} +2 -2
  24. package/dist/{chunk-01p8hhsp.js → chunk-33caan56.js} +2 -2
  25. package/dist/{chunk-jynzr5w9.js → chunk-3kwmf042.js} +1 -1
  26. package/dist/{chunk-ztpr96av.js → chunk-3tnb1471.js} +1 -1
  27. package/dist/{chunk-178ykx7k.js → chunk-418x3wg1.js} +5 -5
  28. package/dist/{chunk-a2krhf3c.js → chunk-46q68jv4.js} +6 -6
  29. package/dist/{chunk-rfdbzyjh.js → chunk-491yb5hj.js} +11 -11
  30. package/dist/{chunk-eaf7c8ck.js → chunk-49qytxa9.js} +3 -3
  31. package/dist/{chunk-kv1ryvtm.js → chunk-4b65gyje.js} +3 -3
  32. package/dist/{chunk-dcz167d6.js → chunk-4dp1b3zd.js} +1 -1
  33. package/dist/{chunk-72fey14y.js → chunk-5f6knz25.js} +2 -2
  34. package/dist/{chunk-0hn525br.js → chunk-5t02m61e.js} +2 -2
  35. package/dist/{chunk-cwehsmj5.js → chunk-5tqgf8w6.js} +10 -10
  36. package/dist/{chunk-jpgr7zfs.js → chunk-6996b18z.js} +1 -1
  37. package/dist/{chunk-zmg1pcp3.js → chunk-6cws47ab.js} +1 -1
  38. package/dist/{chunk-1qjb22fx.js → chunk-6knv93mq.js} +7 -7
  39. package/dist/{chunk-vht4mzgb.js → chunk-760t6316.js} +2 -2
  40. package/dist/{chunk-5p2ssw3d.js → chunk-7b81e1jf.js} +1 -1
  41. package/dist/{chunk-p0hff8zy.js → chunk-7q10mn7f.js} +58 -58
  42. package/dist/{chunk-gac6nzhc.js → chunk-7yt4jd3n.js} +6 -6
  43. package/dist/{chunk-sk3gpkdt.js → chunk-8bhsbtjd.js} +3 -3
  44. package/dist/{chunk-4axcksrv.js → chunk-8qbemgf5.js} +3 -3
  45. package/dist/{chunk-2y54j9ew.js → chunk-94a17ey0.js} +369 -299
  46. package/dist/{chunk-jdt5s5k7.js → chunk-99ywn0ej.js} +1 -1
  47. package/dist/{chunk-ab59azrr.js → chunk-9h9dgw51.js} +62 -18
  48. package/dist/{chunk-bp0dnrwg.js → chunk-9ym8f6v7.js} +1 -1
  49. package/dist/{chunk-4n989n6h.js → chunk-9za5agc9.js} +4 -4
  50. package/dist/{chunk-xpm4ebhz.js → chunk-afgm906b.js} +1 -1
  51. package/dist/{chunk-v9ybze94.js → chunk-amj2cne3.js} +1 -1
  52. package/dist/{chunk-yxvy4jt4.js → chunk-any1t25n.js} +2 -2
  53. package/dist/{chunk-26k0324b.js → chunk-atmergmr.js} +3 -3
  54. package/dist/{chunk-ev5p07yh.js → chunk-axh49ea0.js} +3 -3
  55. package/dist/{chunk-rbgjkg3v.js → chunk-b0whm6mb.js} +2 -2
  56. package/dist/{chunk-09y0jvtm.js → chunk-b3kgy25m.js} +3 -3
  57. package/dist/{chunk-nx7s0zn5.js → chunk-b5er2edx.js} +2 -2
  58. package/dist/{chunk-h8qd1gw2.js → chunk-b5z6rj3x.js} +2 -2
  59. package/dist/{chunk-g0nbec9m.js → chunk-bef7x0zj.js} +2 -2
  60. package/dist/{chunk-tww14j0s.js → chunk-bgjj4b0s.js} +1 -1
  61. package/dist/{chunk-mzn0z9d3.js → chunk-bn2yj49s.js} +5 -5
  62. package/dist/{chunk-gntr3b25.js → chunk-btzryrke.js} +60 -67
  63. package/dist/{chunk-cdm0k2n0.js → chunk-bynmk3h0.js} +7 -7
  64. package/dist/{chunk-mezwt1bt.js → chunk-bzmrjhn4.js} +2 -2
  65. package/dist/{chunk-pthzapbx.js → chunk-c40es3w7.js} +1 -1
  66. package/dist/{chunk-mb2gpwwf.js → chunk-c5sc57fe.js} +1 -1
  67. package/dist/{chunk-m0g3xv72.js → chunk-c5vxf67y.js} +1 -1
  68. package/dist/{chunk-qvrq1sby.js → chunk-d44bd9z4.js} +8 -8
  69. package/dist/chunk-d9eqjnya.js +761 -0
  70. package/dist/{chunk-qgjgqmy5.js → chunk-db74da38.js} +4 -4
  71. package/dist/{chunk-87jfpcm7.js → chunk-dg980z8h.js} +2 -2
  72. package/dist/{chunk-789khc7a.js → chunk-dh4jnzs3.js} +1 -1
  73. package/dist/{chunk-g1fdv1kb.js → chunk-e8y2k8mp.js} +2 -2
  74. package/dist/{chunk-jne71s1f.js → chunk-eaecktgy.js} +2 -2
  75. package/dist/{chunk-4rze71rx.js → chunk-efv61cqg.js} +7 -7
  76. package/dist/{chunk-y9nnmev5.js → chunk-emcst9rk.js} +1 -1
  77. package/dist/{chunk-vxj5rbg5.js → chunk-emm7qbhm.js} +3 -3
  78. package/dist/{chunk-5ywjzvm8.js → chunk-ez4b4twb.js} +1 -1
  79. package/dist/{chunk-9ebygqen.js → chunk-f0df5cr5.js} +3 -3
  80. package/dist/{chunk-p5z8t6r3.js → chunk-f3rm5cyn.js} +1 -1
  81. package/dist/{chunk-nttf3k0r.js → chunk-f979wqq7.js} +5 -5
  82. package/dist/{chunk-44q8kegv.js → chunk-fzbthhkm.js} +4 -4
  83. package/dist/{chunk-k445en8h.js → chunk-gasmbc3t.js} +2 -2
  84. package/dist/{chunk-b4w4argn.js → chunk-ghwt3yee.js} +3 -3
  85. package/dist/{chunk-tm1wwvm1.js → chunk-gjckcxhk.js} +3 -3
  86. package/dist/{chunk-q132dkwr.js → chunk-h3dsp9ew.js} +2 -2
  87. package/dist/{chunk-hzhd0p1y.js → chunk-h4e6yx8f.js} +2 -2
  88. package/dist/{chunk-qjcxkbv6.js → chunk-h6rem2kp.js} +2 -2
  89. package/dist/{chunk-nx638j6h.js → chunk-hmg55x4b.js} +2 -2
  90. package/dist/{chunk-x6tb96y2.js → chunk-hw67007k.js} +2 -2
  91. package/dist/{chunk-qj7h3xc3.js → chunk-hzw7v9hd.js} +1 -1
  92. package/dist/{chunk-znrwmznk.js → chunk-j1bkeg89.js} +3 -3
  93. package/dist/{chunk-c2g96ga2.js → chunk-javrjweb.js} +1 -1
  94. package/dist/{chunk-58a0x39g.js → chunk-jm3jcvv7.js} +5 -5
  95. package/dist/{chunk-v4qn3g0d.js → chunk-jmrr15c1.js} +2 -2
  96. package/dist/{chunk-xm3ed3zn.js → chunk-jppj9ntn.js} +3 -3
  97. package/dist/{chunk-ymy4xrr8.js → chunk-jrcywjsm.js} +6 -6
  98. package/dist/{chunk-6b8ksqmf.js → chunk-k569dka2.js} +2 -2
  99. package/dist/{chunk-95rj8m4e.js → chunk-kad9x7e9.js} +5 -5
  100. package/dist/{chunk-j595yd4h.js → chunk-kjxh14v2.js} +9 -9
  101. package/dist/{chunk-dc4eha8a.js → chunk-knejp6ct.js} +14 -14
  102. package/dist/{chunk-95dt8mpg.js → chunk-krmwj24j.js} +2 -2
  103. package/dist/{chunk-4g5mrzm0.js → chunk-krw2m86w.js} +2 -2
  104. package/dist/{chunk-rca5xtnd.js → chunk-kscjn6es.js} +3 -3
  105. package/dist/{chunk-xc9khn0r.js → chunk-m1nng5as.js} +1 -1
  106. package/dist/{chunk-jtqgnyaq.js → chunk-m50sdknd.js} +2 -2
  107. package/dist/{chunk-73fhat5j.js → chunk-m88csyn5.js} +1 -1
  108. package/dist/{chunk-6cpqmd4r.js → chunk-mgtethqg.js} +4 -4
  109. package/dist/{chunk-6n6jfmce.js → chunk-mh7n6peb.js} +4 -4
  110. package/dist/{chunk-accxhkm6.js → chunk-mqe2sfb1.js} +7 -7
  111. package/dist/{chunk-hcdt34n4.js → chunk-mtdrhdc1.js} +43 -43
  112. package/dist/{chunk-2bhq4emw.js → chunk-mwbe7yfx.js} +8 -8
  113. package/dist/{chunk-xch406a3.js → chunk-n33y9xtk.js} +7 -7
  114. package/dist/{chunk-j7qwxra8.js → chunk-n39rn8tg.js} +2 -2
  115. package/dist/{chunk-cp76dsdp.js → chunk-n3rsjj87.js} +7 -7
  116. package/dist/{chunk-62vwr0y5.js → chunk-n64nzb7s.js} +2 -2
  117. package/dist/{chunk-yfa54ssn.js → chunk-n943c903.js} +3 -3
  118. package/dist/{chunk-9tkq3g56.js → chunk-nez3gykb.js} +3 -3
  119. package/dist/{chunk-qz3fe4fj.js → chunk-p0rtjz76.js} +1 -1
  120. package/dist/{chunk-2s5f2nnw.js → chunk-p4zfbz27.js} +44 -44
  121. package/dist/{chunk-fgc0q2b2.js → chunk-pcyftw8z.js} +5 -5
  122. package/dist/{chunk-vvn4gkak.js → chunk-pq3qngwy.js} +3 -3
  123. package/dist/{chunk-8nsem424.js → chunk-qdpfabyz.js} +2 -2
  124. package/dist/{chunk-pd6653na.js → chunk-qjmjcs63.js} +2 -2
  125. package/dist/{chunk-sp5cjcjh.js → chunk-qvd0m1vp.js} +2 -2
  126. package/dist/{chunk-c1zc58pw.js → chunk-qvmmse8a.js} +2 -2
  127. package/dist/{chunk-er8ckwzt.js → chunk-qw2rzvj6.js} +1 -1
  128. package/dist/{chunk-waambva2.js → chunk-r3jp4gc6.js} +4 -4
  129. package/dist/{chunk-wbhsqc2a.js → chunk-r54p01mz.js} +2 -2
  130. package/dist/{chunk-zbmxxxz8.js → chunk-r9yhwx1y.js} +3 -3
  131. package/dist/{chunk-a05hje2h.js → chunk-re0rf0vw.js} +4 -4
  132. package/dist/{chunk-0y3vcsv4.js → chunk-rhtq60c1.js} +2 -2
  133. package/dist/{chunk-5kp252z6.js → chunk-rr8w81t1.js} +2 -2
  134. package/dist/{chunk-hsq4vtjy.js → chunk-rywmy7bd.js} +2 -2
  135. package/dist/{chunk-t4k75hqs.js → chunk-s5pvh4qz.js} +22 -22
  136. package/dist/{chunk-7v0wq9nk.js → chunk-sxft0w1b.js} +6 -6
  137. package/dist/{chunk-agmw1vmf.js → chunk-t2xw2rh1.js} +4 -4
  138. package/dist/{chunk-f63q7vx7.js → chunk-t6ws2gm1.js} +1 -1
  139. package/dist/{chunk-xe0bpcbr.js → chunk-t8shyyz1.js} +2 -2
  140. package/dist/{chunk-dz8exe78.js → chunk-tmxhxy9a.js} +5 -5
  141. package/dist/{chunk-4wbhvcag.js → chunk-trea3s0q.js} +5 -5
  142. package/dist/{chunk-kgn1nfg9.js → chunk-tvq6r54h.js} +2 -2
  143. package/dist/{chunk-8j6vs75t.js → chunk-twbv2xr1.js} +2 -2
  144. package/dist/{chunk-r6e45bzh.js → chunk-txywb35s.js} +2 -2
  145. package/dist/{chunk-k1jnpyj9.js → chunk-tzxm7q7t.js} +2 -2
  146. package/dist/{chunk-m9t8j37k.js → chunk-v3cv3z2z.js} +3 -3
  147. package/dist/{chunk-sbs1r0h4.js → chunk-v98ntm4b.js} +2 -2
  148. package/dist/{chunk-e9nkfs4e.js → chunk-v9z1x9kn.js} +1 -1
  149. package/dist/{chunk-mywpbwad.js → chunk-vc4bw7y9.js} +2 -2
  150. package/dist/{chunk-1nqaq1rs.js → chunk-vm8crmkd.js} +3 -3
  151. package/dist/{chunk-de55jjre.js → chunk-vpshs9f2.js} +2 -2
  152. package/dist/{chunk-sfht9xvd.js → chunk-vt2behmr.js} +1 -1
  153. package/dist/{chunk-j98f65zv.js → chunk-w2cagryn.js} +2 -2
  154. package/dist/{chunk-sq847dr5.js → chunk-wbncq3a7.js} +5 -5
  155. package/dist/{chunk-rh7q28df.js → chunk-wfp4gxpe.js} +7 -7
  156. package/dist/{chunk-fm2jvsk7.js → chunk-wt3kg2dm.js} +3 -3
  157. package/dist/{chunk-b2rkh01x.js → chunk-wt6w9mbw.js} +2 -2
  158. package/dist/{chunk-sskngwam.js → chunk-wy5bf4v9.js} +3 -3
  159. package/dist/{chunk-76t2h5v2.js → chunk-x75gtbay.js} +1 -1
  160. package/dist/{chunk-6tnekwtp.js → chunk-xh91k4cv.js} +1 -1
  161. package/dist/{chunk-j1s1jvad.js → chunk-xnsnhmmb.js} +7 -7
  162. package/dist/{chunk-0scs4rpx.js → chunk-xpdhed8a.js} +2 -2
  163. package/dist/{chunk-fcna95wg.js → chunk-xv0exc70.js} +3 -3
  164. package/dist/{chunk-wbsnpxzh.js → chunk-y02t64a2.js} +2 -2
  165. package/dist/{chunk-7azp8c8y.js → chunk-y2g6g5fx.js} +1 -1
  166. package/dist/{chunk-40tedt0y.js → chunk-y612qk68.js} +1 -1
  167. package/dist/{chunk-tf9h0cyj.js → chunk-y7p5yx4y.js} +2 -2
  168. package/dist/{chunk-kf8kjmfv.js → chunk-y8rcgtpp.js} +2 -2
  169. package/dist/{chunk-20gm89wf.js → chunk-ydaba8sr.js} +1 -1
  170. package/dist/{chunk-4e1271a8.js → chunk-ydgs4nys.js} +4 -4
  171. package/dist/{chunk-73fgm72g.js → chunk-ymn6n1vn.js} +2 -2
  172. package/dist/{chunk-btkettbr.js → chunk-yv366pne.js} +2 -2
  173. package/dist/{chunk-5w33j8gy.js → chunk-yzcndkqh.js} +2 -2
  174. package/dist/{chunk-1p7jfcee.js → chunk-zatb0qz2.js} +2 -2
  175. package/dist/{chunk-rw6fwk2s.js → chunk-zbq7qfcy.js} +1 -1
  176. package/dist/{chunk-bs6keys0.js → chunk-zrdzck9g.js} +4 -4
  177. package/dist/{chunk-kjhmt6ba.js → chunk-zte56zrq.js} +2 -2
  178. package/dist/{chunk-jeaek018.js → chunk-zwzdzvfh.js} +1 -1
  179. package/dist/cli.js +172 -7
  180. package/package.json +1 -1
  181. package/dist/chunk-z2xxx2sz.js +0 -294
@@ -90,7 +90,7 @@ import {
90
90
  unregisterTeamForSessionCleanup,
91
91
  updateTask,
92
92
  writeTeamFileAsync
93
- } from "./chunk-5p2ssw3d.js";
93
+ } from "./chunk-7b81e1jf.js";
94
94
  import {
95
95
  init_worktreeModeEnabled,
96
96
  isWorktreeModeEnabled
@@ -6494,7 +6494,7 @@ var init_add_dir = __esm(() => {
6494
6494
  name: "add-dir",
6495
6495
  description: "Add a new working directory",
6496
6496
  argumentHint: "<path>",
6497
- load: () => import("./chunk-rca5xtnd.js")
6497
+ load: () => import("./chunk-kscjn6es.js")
6498
6498
  };
6499
6499
  add_dir_default = addDir;
6500
6500
  });
@@ -6520,7 +6520,7 @@ var init_btw = __esm(() => {
6520
6520
  description: "Ask a quick side question without interrupting the main conversation",
6521
6521
  immediate: true,
6522
6522
  argumentHint: "<question>",
6523
- load: () => import("./chunk-tanfpxm1.js")
6523
+ load: () => import("./chunk-2crdnncs.js")
6524
6524
  };
6525
6525
  btw_default = btw;
6526
6526
  });
@@ -37712,7 +37712,7 @@ async function persistFileSnapshotIfRemote() {
37712
37712
  uuid: randomUUID2(),
37713
37713
  snapshotFiles
37714
37714
  };
37715
- const { recordTranscript } = await import("./chunk-x6tb96y2.js");
37715
+ const { recordTranscript } = await import("./chunk-hw67007k.js");
37716
37716
  await recordTranscript([message]);
37717
37717
  } catch (error) {
37718
37718
  logError(error);
@@ -53009,7 +53009,7 @@ async function* runAgent({
53009
53009
  }
53010
53010
  validSkills.push({ skillName, skill });
53011
53011
  }
53012
- const { formatSkillLoadingMetadata } = await import("./chunk-kf8kjmfv.js");
53012
+ const { formatSkillLoadingMetadata } = await import("./chunk-y8rcgtpp.js");
53013
53013
  const loaded = await Promise.all(validSkills.map(async ({ skillName, skill }) => ({
53014
53014
  skillName,
53015
53015
  skill,
@@ -53900,7 +53900,7 @@ async function gracefulShutdown(exitCode = 0, reason = "other", options) {
53900
53900
  return;
53901
53901
  }
53902
53902
  shutdownInProgress = true;
53903
- const { executeSessionEndHooks, getSessionEndHookTimeoutMs } = await import("./chunk-btkettbr.js");
53903
+ const { executeSessionEndHooks, getSessionEndHookTimeoutMs } = await import("./chunk-yv366pne.js");
53904
53904
  const sessionEndTimeoutMs = getSessionEndHookTimeoutMs();
53905
53905
  failsafeTimer = setTimeout((code) => {
53906
53906
  cleanupTerminalModes();
@@ -74950,7 +74950,7 @@ var init_extra_usage = __esm(() => {
74950
74950
  name: "extra-usage",
74951
74951
  description: "Configure extra usage to keep working when limits are hit",
74952
74952
  isEnabled: () => isExtraUsageAllowed() && !getIsNonInteractiveSession(),
74953
- load: () => import("./chunk-7v0wq9nk.js")
74953
+ load: () => import("./chunk-sxft0w1b.js")
74954
74954
  };
74955
74955
  extraUsageNonInteractive = {
74956
74956
  type: "local",
@@ -85431,7 +85431,7 @@ var init_SkillTool = __esm(() => {
85431
85431
  if (command?.type === "prompt" && command.context === "fork") {
85432
85432
  return executeForkedSkill(command, commandName, args, context, canUseTool, parentMessage, onProgress);
85433
85433
  }
85434
- const { processPromptSlashCommand } = await import("./chunk-kf8kjmfv.js");
85434
+ const { processPromptSlashCommand } = await import("./chunk-y8rcgtpp.js");
85435
85435
  const processedCommand = await processPromptSlashCommand(commandName, args || "", commands, context);
85436
85436
  if (!processedCommand.shouldQuery) {
85437
85437
  throw new Error("Command processing failed");
@@ -115604,8 +115604,8 @@ var init_PaneBackendExecutor = __esm(() => {
115604
115604
  async function ensureBackendsRegistered() {
115605
115605
  if (backendsRegistered)
115606
115606
  return;
115607
- await import("./chunk-72fey14y.js");
115608
- await import("./chunk-8j6vs75t.js");
115607
+ await import("./chunk-5f6knz25.js");
115608
+ await import("./chunk-twbv2xr1.js");
115609
115609
  backendsRegistered = true;
115610
115610
  }
115611
115611
  function registerTmuxBackend(backendClass) {
@@ -118254,7 +118254,7 @@ function trackGitOperations(command, exitCode, stdout) {
118254
118254
  if (stdout) {
118255
118255
  const prInfo = findPrInStdout(stdout);
118256
118256
  if (prInfo) {
118257
- import("./chunk-x6tb96y2.js").then(({ linkSessionToPR }) => {
118257
+ import("./chunk-hw67007k.js").then(({ linkSessionToPR }) => {
118258
118258
  import("./chunk-zz0qcq2n.js").then(({ getSessionId: getSessionId2 }) => {
118259
118259
  const sessionId = getSessionId2();
118260
118260
  if (sessionId) {
@@ -133760,6 +133760,16 @@ async function* parseOpenAIStream(response, model) {
133760
133760
  contentBlocks.push(block);
133761
133761
  }
133762
133762
  }
133763
+ if (contentBlocks.length === 0) {
133764
+ yield {
133765
+ type: "content_block_delta",
133766
+ delta: {
133767
+ type: "text_delta",
133768
+ text: "[Empty response from provider \u2014 the API returned no content]"
133769
+ }
133770
+ };
133771
+ contentBlocks.push({ type: "text", text: "[Empty response from provider]" });
133772
+ }
133763
133773
  const normalizedStop = normalizeStopReason(stopReason, "openai");
133764
133774
  yield {
133765
133775
  type: "assistant",
@@ -133818,9 +133828,12 @@ var init_openai_compatible = __esm(() => {
133818
133828
  }
133819
133829
  async* query(params) {
133820
133830
  const url2 = `${this.provider.baseUrl}/chat/completions`;
133821
- const headers = this.buildHeaders();
133831
+ const headers = await this.buildHeaders();
133822
133832
  headers["Content-Type"] = "application/json";
133823
133833
  const body = this.buildRequestBody(params);
133834
+ if (this.provider.id === "github-copilot") {
133835
+ delete body.reasoning_effort;
133836
+ }
133824
133837
  let response;
133825
133838
  try {
133826
133839
  response = await fetch(url2, {
@@ -133830,15 +133843,16 @@ var init_openai_compatible = __esm(() => {
133830
133843
  signal: params.signal
133831
133844
  });
133832
133845
  } catch (error) {
133846
+ const msg = error instanceof Error ? error.message : String(error);
133833
133847
  yield {
133834
- type: "system",
133848
+ type: "assistant",
133835
133849
  uuid: crypto.randomUUID(),
133836
133850
  message: {
133837
- type: "api_error",
133838
- error: {
133839
- type: "network_error",
133840
- message: error instanceof Error ? error.message : String(error)
133841
- }
133851
+ role: "assistant",
133852
+ content: [{ type: "text", text: `Network error: ${msg}` }],
133853
+ model: params.model,
133854
+ stop_reason: "end_turn",
133855
+ usage: { input_tokens: 0, output_tokens: 0 }
133842
133856
  }
133843
133857
  };
133844
133858
  return;
@@ -133850,15 +133864,22 @@ var init_openai_compatible = __esm(() => {
133850
133864
  } catch {
133851
133865
  errorText = `HTTP ${response.status}`;
133852
133866
  }
133867
+ let errorMsg = `${response.status}: ${errorText}`;
133868
+ try {
133869
+ const errJson = JSON.parse(errorText);
133870
+ if (errJson.error?.message) {
133871
+ errorMsg = `API error (${response.status}): ${errJson.error.message}`;
133872
+ }
133873
+ } catch {}
133853
133874
  yield {
133854
- type: "system",
133875
+ type: "assistant",
133855
133876
  uuid: crypto.randomUUID(),
133856
133877
  message: {
133857
- type: "api_error",
133858
- error: {
133859
- type: "api_error",
133860
- message: `${response.status}: ${errorText}`
133861
- }
133878
+ role: "assistant",
133879
+ content: [{ type: "text", text: errorMsg }],
133880
+ model: params.model,
133881
+ stop_reason: "end_turn",
133882
+ usage: { input_tokens: 0, output_tokens: 0 }
133862
133883
  }
133863
133884
  };
133864
133885
  return;
@@ -133880,6 +133901,11 @@ var init_openai_compatible = __esm(() => {
133880
133901
  }
133881
133902
  }
133882
133903
  }
133904
+ if (this.provider.id === "github-copilot") {
133905
+ headers["Openai-Intent"] = "conversation-edits";
133906
+ headers["x-initiator"] = "user";
133907
+ headers["User-Agent"] = "opencc/0.2.1";
133908
+ }
133883
133909
  return headers;
133884
133910
  }
133885
133911
  buildRequestBody(params) {
@@ -133900,7 +133926,7 @@ var init_openai_compatible = __esm(() => {
133900
133926
  if (params.temperature !== undefined && thinkingDisabled) {
133901
133927
  body.temperature = params.temperature;
133902
133928
  }
133903
- if (params.tools && params.tools.length > 0) {
133929
+ if (params.tools && params.tools.length > 0 && this.provider.id !== "github-copilot") {
133904
133930
  body.tools = convertToolsToOpenAI(params.tools);
133905
133931
  }
133906
133932
  if (params.toolChoice) {
@@ -133948,21 +133974,189 @@ var init_openai_compatible = __esm(() => {
133948
133974
  };
133949
133975
  });
133950
133976
 
133951
- // src/services/providers/presets.ts
133952
- function getSortedProviderIds() {
133953
- const ids = Object.keys(BUILTIN_PROVIDERS);
133954
- return ids.sort((a, b2) => {
133955
- const aHasKey = hasEnvKey(a);
133956
- const bHasKey = hasEnvKey(b2);
133957
- if (aHasKey !== bHasKey)
133958
- return aHasKey ? -1 : 1;
133959
- const aPriority = PROVIDER_PRIORITY.indexOf(a);
133960
- const bPriority = PROVIDER_PRIORITY.indexOf(b2);
133961
- const aIdx = aPriority === -1 ? 999 : aPriority;
133962
- const bIdx = bPriority === -1 ? 999 : bPriority;
133963
- return aIdx - bIdx;
133964
- });
133977
+ // src/services/providers/registry.ts
133978
+ import * as fs8 from "fs";
133979
+ import * as path9 from "path";
133980
+ import * as os3 from "os";
133981
+
133982
+ class ModelRegistryImpl {
133983
+ models = new Map;
133984
+ lastRefresh = 0;
133985
+ providers = new Map;
133986
+ getProviders() {
133987
+ return Array.from(this.providers.values());
133988
+ }
133989
+ getProvider(id) {
133990
+ return this.providers.get(id);
133991
+ }
133992
+ getModels(providerId) {
133993
+ return this.models.get(providerId) ?? [];
133994
+ }
133995
+ getAllModels() {
133996
+ return new Map(this.models);
133997
+ }
133998
+ setModels(providerId, models) {
133999
+ this.models.set(providerId, models);
134000
+ }
134001
+ getCapabilities(providerId, modelId) {
134002
+ const models = this.models.get(providerId);
134003
+ if (!models)
134004
+ return null;
134005
+ const model = models.find((m2) => m2.id === modelId);
134006
+ return model?.capabilities ?? null;
134007
+ }
134008
+ calculateCost(providerId, modelId, usage) {
134009
+ const models = this.models.get(providerId);
134010
+ if (!models)
134011
+ return 0;
134012
+ const model = models.find((m2) => m2.id === modelId);
134013
+ if (!model?.cost)
134014
+ return 0;
134015
+ const inputCost = usage.inputTokens / 1e6 * model.cost.input;
134016
+ const outputCost = usage.outputTokens / 1e6 * model.cost.output;
134017
+ let cacheReadCost = 0;
134018
+ if (usage.cacheReadTokens && model.cost.cacheRead) {
134019
+ cacheReadCost = usage.cacheReadTokens / 1e6 * model.cost.cacheRead;
134020
+ }
134021
+ let cacheWriteCost = 0;
134022
+ if (usage.cacheCreationTokens && model.cost.cacheWrite) {
134023
+ cacheWriteCost = usage.cacheCreationTokens / 1e6 * model.cost.cacheWrite;
134024
+ }
134025
+ return inputCost + outputCost + cacheReadCost + cacheWriteCost;
134026
+ }
134027
+ findModel(query2) {
134028
+ const lowerQuery = query2.toLowerCase();
134029
+ for (const [providerId, models] of this.models) {
134030
+ for (const model of models) {
134031
+ if (model.id === query2) {
134032
+ return { providerId, model };
134033
+ }
134034
+ }
134035
+ }
134036
+ for (const [providerId, models] of this.models) {
134037
+ for (const model of models) {
134038
+ if (model.id.toLowerCase().includes(lowerQuery)) {
134039
+ return { providerId, model };
134040
+ }
134041
+ }
134042
+ }
134043
+ for (const [providerId, models] of this.models) {
134044
+ for (const model of models) {
134045
+ if (model.name.toLowerCase().includes(lowerQuery)) {
134046
+ return { providerId, model };
134047
+ }
134048
+ }
134049
+ }
134050
+ return null;
134051
+ }
134052
+ async refresh() {
134053
+ const now = Date.now();
134054
+ if (now - this.lastRefresh < REFRESH_INTERVAL_MS)
134055
+ return;
134056
+ try {
134057
+ if (fs8.existsSync(CACHE_FILE)) {
134058
+ const stat23 = fs8.statSync(CACHE_FILE);
134059
+ const cacheAge = now - stat23.mtimeMs;
134060
+ if (cacheAge < REFRESH_INTERVAL_MS) {
134061
+ const cached2 = JSON.parse(fs8.readFileSync(CACHE_FILE, "utf-8"));
134062
+ this.loadFromModelsDevData(cached2);
134063
+ this.lastRefresh = now;
134064
+ return;
134065
+ }
134066
+ }
134067
+ } catch {}
134068
+ try {
134069
+ const response = await fetch(MODELS_DEV_URL);
134070
+ if (!response.ok)
134071
+ return;
134072
+ const data = await response.json();
134073
+ try {
134074
+ fs8.mkdirSync(CACHE_DIR, { recursive: true });
134075
+ fs8.writeFileSync(CACHE_FILE, JSON.stringify(data));
134076
+ } catch {}
134077
+ this.loadFromModelsDevData(data);
134078
+ this.lastRefresh = now;
134079
+ } catch {}
134080
+ }
134081
+ loadFromModelsDevData(data) {
134082
+ if (!data || typeof data !== "object" || Array.isArray(data))
134083
+ return;
134084
+ for (const [providerId, providerData] of Object.entries(data)) {
134085
+ if (!providerData || typeof providerData !== "object")
134086
+ continue;
134087
+ const p = providerData;
134088
+ this.providers.set(providerId, {
134089
+ id: providerId,
134090
+ name: p.name ?? providerId,
134091
+ api: p.api ?? "",
134092
+ npm: p.npm,
134093
+ env: Array.isArray(p.env) ? p.env : []
134094
+ });
134095
+ const modelsObj = p.models;
134096
+ if (modelsObj && typeof modelsObj === "object" && !Array.isArray(modelsObj)) {
134097
+ const models = [];
134098
+ for (const [modelId, modelData] of Object.entries(modelsObj)) {
134099
+ if (!modelData || typeof modelData !== "object")
134100
+ continue;
134101
+ const m2 = modelData;
134102
+ const caps = m2.capabilities ?? {};
134103
+ const limits = m2.limits ?? {};
134104
+ const cost = m2.cost ?? m2.pricing;
134105
+ const def = {
134106
+ id: modelId,
134107
+ name: m2.name ?? modelId,
134108
+ capabilities: {
134109
+ thinking: Boolean(caps.thinking),
134110
+ toolCalling: Boolean(caps.tool_calling ?? caps.toolCalling),
134111
+ toolStreaming: Boolean(caps.tool_streaming ?? caps.toolStreaming),
134112
+ vision: Boolean(caps.vision),
134113
+ structuredOutput: Boolean(caps.structured_output ?? caps.structuredOutput),
134114
+ streaming: caps.streaming !== false,
134115
+ citations: Boolean(caps.citations),
134116
+ serverTools: Boolean(caps.server_tools ?? caps.serverTools),
134117
+ signatures: Boolean(caps.signatures),
134118
+ caching: {
134119
+ strategy: caps.caching?.strategy ?? "none"
134120
+ }
134121
+ },
134122
+ limits: {
134123
+ context: limits.context ?? m2.context_window ?? 128000,
134124
+ output: limits.output ?? m2.max_output ?? 4096
134125
+ }
134126
+ };
134127
+ if (cost) {
134128
+ def.cost = {
134129
+ input: Number(cost.input ?? cost.input_per_million ?? 0),
134130
+ output: Number(cost.output ?? cost.output_per_million ?? 0)
134131
+ };
134132
+ if (cost.cacheRead ?? cost.cache_read) {
134133
+ def.cost.cacheRead = Number(cost.cacheRead ?? cost.cache_read);
134134
+ }
134135
+ if (cost.cacheWrite ?? cost.cache_write) {
134136
+ def.cost.cacheWrite = Number(cost.cacheWrite ?? cost.cache_write);
134137
+ }
134138
+ }
134139
+ models.push(def);
134140
+ }
134141
+ this.models.set(providerId, models);
134142
+ }
134143
+ }
134144
+ }
134145
+ }
134146
+ function getModelRegistry() {
134147
+ if (!_instance) {
134148
+ _instance = new ModelRegistryImpl;
134149
+ }
134150
+ return _instance;
133965
134151
  }
134152
+ var CACHE_DIR, CACHE_FILE, REFRESH_INTERVAL_MS, MODELS_DEV_URL = "https://models.dev/api.json", _instance = null;
134153
+ var init_registry2 = __esm(() => {
134154
+ CACHE_DIR = path9.join(os3.homedir(), ".opencc", "cache");
134155
+ CACHE_FILE = path9.join(CACHE_DIR, "models.json");
134156
+ REFRESH_INTERVAL_MS = 60 * 60 * 1000;
134157
+ });
134158
+
134159
+ // src/services/providers/presets.ts
133966
134160
  function hasEnvKey(providerId) {
133967
134161
  const envVar = PROVIDER_ENV_KEYS[providerId];
133968
134162
  if (!envVar)
@@ -133977,8 +134171,18 @@ function getEnvKey(providerId) {
133977
134171
  const value = process.env[envVar];
133978
134172
  return value !== undefined && value !== "" ? value : undefined;
133979
134173
  }
133980
- var BUILTIN_PROVIDERS, PROVIDER_ENV_KEYS, PROVIDER_PRIORITY, PROVIDER_KEY_HELP_URLS;
134174
+ function hasEnvKeyDynamic(providerId) {
134175
+ const provider = getModelRegistry().getProvider(providerId);
134176
+ if (provider?.env?.length) {
134177
+ if (provider.env.some((v2) => process.env[v2] !== undefined && process.env[v2] !== "")) {
134178
+ return true;
134179
+ }
134180
+ }
134181
+ return hasEnvKey(providerId);
134182
+ }
134183
+ var BUILTIN_PROVIDERS, PROVIDER_ENV_KEYS, PROVIDER_KEY_HELP_URLS, POPULAR_PROVIDERS;
133981
134184
  var init_presets = __esm(() => {
134185
+ init_registry2();
133982
134186
  BUILTIN_PROVIDERS = {
133983
134187
  anthropic: {
133984
134188
  name: "Anthropic",
@@ -134163,38 +134367,6 @@ var init_presets = __esm(() => {
134163
134367
  ernie: "ERNIE_API_KEY",
134164
134368
  sensetime: "SENSETIME_API_KEY"
134165
134369
  };
134166
- PROVIDER_PRIORITY = [
134167
- "anthropic",
134168
- "openai",
134169
- "google-gemini",
134170
- "amazon-bedrock",
134171
- "azure",
134172
- "github-copilot",
134173
- "openrouter",
134174
- "xai",
134175
- "mistral",
134176
- "groq",
134177
- "cohere",
134178
- "perplexity",
134179
- "togetherai",
134180
- "deepinfra",
134181
- "cerebras",
134182
- "fireworks",
134183
- "gitlab",
134184
- "deepseek",
134185
- "qwen",
134186
- "zhipu",
134187
- "moonshot",
134188
- "doubao",
134189
- "baichuan",
134190
- "minimax",
134191
- "stepfun",
134192
- "yi",
134193
- "spark",
134194
- "hunyuan",
134195
- "ernie",
134196
- "sensetime"
134197
- ];
134198
134370
  PROVIDER_KEY_HELP_URLS = {
134199
134371
  anthropic: "https://console.anthropic.com/settings/keys",
134200
134372
  openai: "https://platform.openai.com/api-keys",
@@ -134227,6 +134399,16 @@ var init_presets = __esm(() => {
134227
134399
  ernie: "https://console.bce.baidu.com/qianfan/ais/console/applicationConsole/application",
134228
134400
  sensetime: "https://console.sensecore.cn/iam/Security/APIKeyManagement"
134229
134401
  };
134402
+ POPULAR_PROVIDERS = [
134403
+ "anthropic",
134404
+ "github-copilot",
134405
+ "openai",
134406
+ "google",
134407
+ "openrouter",
134408
+ "kimi-for-coding",
134409
+ "zhipu",
134410
+ "minimax"
134411
+ ];
134230
134412
  });
134231
134413
 
134232
134414
  // src/services/providers/state.ts
@@ -134318,10 +134500,10 @@ function providerHasAuth(id) {
134318
134500
  return false;
134319
134501
  }
134320
134502
  function storeProviderApiKey(id, key) {
134321
- const local = getSettingsForSource("localSettings") ?? {};
134322
- const existingProviders = local.providers ?? {};
134503
+ const user = getSettingsForSource("userSettings") ?? {};
134504
+ const existingProviders = user.providers ?? {};
134323
134505
  const existingConfig = existingProviders[id] ?? {};
134324
- updateSettingsForSource("localSettings", {
134506
+ updateSettingsForSource("userSettings", {
134325
134507
  providers: {
134326
134508
  ...existingProviders,
134327
134509
  [id]: {
@@ -134331,182 +134513,68 @@ function storeProviderApiKey(id, key) {
134331
134513
  }
134332
134514
  });
134333
134515
  }
134334
- var init_state2 = __esm(() => {
134335
- init_presets();
134336
- init_settings2();
134337
- });
134338
-
134339
- // src/services/providers/registry.ts
134340
- import * as fs8 from "fs";
134341
- import * as path9 from "path";
134342
- import * as os3 from "os";
134343
-
134344
- class ModelRegistryImpl {
134345
- models = new Map;
134346
- lastRefresh = 0;
134347
- getModels(providerId) {
134348
- return this.models.get(providerId) ?? [];
134349
- }
134350
- getAllModels() {
134351
- return new Map(this.models);
134352
- }
134353
- setModels(providerId, models) {
134354
- this.models.set(providerId, models);
134355
- }
134356
- getCapabilities(providerId, modelId) {
134357
- const models = this.models.get(providerId);
134358
- if (!models)
134359
- return null;
134360
- const model = models.find((m2) => m2.id === modelId);
134361
- return model?.capabilities ?? null;
134362
- }
134363
- calculateCost(providerId, modelId, usage) {
134364
- const models = this.models.get(providerId);
134365
- if (!models)
134366
- return 0;
134367
- const model = models.find((m2) => m2.id === modelId);
134368
- if (!model?.cost)
134369
- return 0;
134370
- const inputCost = usage.inputTokens / 1e6 * model.cost.input;
134371
- const outputCost = usage.outputTokens / 1e6 * model.cost.output;
134372
- let cacheReadCost = 0;
134373
- if (usage.cacheReadTokens && model.cost.cacheRead) {
134374
- cacheReadCost = usage.cacheReadTokens / 1e6 * model.cost.cacheRead;
134375
- }
134376
- let cacheWriteCost = 0;
134377
- if (usage.cacheCreationTokens && model.cost.cacheWrite) {
134378
- cacheWriteCost = usage.cacheCreationTokens / 1e6 * model.cost.cacheWrite;
134379
- }
134380
- return inputCost + outputCost + cacheReadCost + cacheWriteCost;
134516
+ async function getAvailableProvidersMerged() {
134517
+ const registry = getModelRegistry();
134518
+ await registry.refresh();
134519
+ const result = new Map;
134520
+ for (const p of registry.getProviders()) {
134521
+ result.set(p.id, {
134522
+ id: p.id,
134523
+ name: p.name,
134524
+ baseUrl: p.api,
134525
+ format: "openai-compatible",
134526
+ env: p.env
134527
+ });
134381
134528
  }
134382
- findModel(query2) {
134383
- const lowerQuery = query2.toLowerCase();
134384
- for (const [providerId, models] of this.models) {
134385
- for (const model of models) {
134386
- if (model.id === query2) {
134387
- return { providerId, model };
134388
- }
134389
- }
134390
- }
134391
- for (const [providerId, models] of this.models) {
134392
- for (const model of models) {
134393
- if (model.id.toLowerCase().includes(lowerQuery)) {
134394
- return { providerId, model };
134395
- }
134396
- }
134397
- }
134398
- for (const [providerId, models] of this.models) {
134399
- for (const model of models) {
134400
- if (model.name.toLowerCase().includes(lowerQuery)) {
134401
- return { providerId, model };
134402
- }
134403
- }
134529
+ for (const [id, preset] of Object.entries(BUILTIN_PROVIDERS)) {
134530
+ const existing = result.get(id);
134531
+ if (existing) {
134532
+ existing.format = preset.format;
134533
+ if (preset.baseUrl)
134534
+ existing.baseUrl = preset.baseUrl;
134535
+ } else {
134536
+ result.set(id, {
134537
+ id,
134538
+ name: preset.name,
134539
+ baseUrl: preset.baseUrl,
134540
+ format: preset.format,
134541
+ env: PROVIDER_ENV_KEYS[id] ? [PROVIDER_ENV_KEYS[id]] : []
134542
+ });
134404
134543
  }
134405
- return null;
134406
134544
  }
134407
- async refresh() {
134408
- const now = Date.now();
134409
- if (now - this.lastRefresh < REFRESH_INTERVAL_MS)
134410
- return;
134411
- try {
134412
- if (fs8.existsSync(CACHE_FILE)) {
134413
- const stat23 = fs8.statSync(CACHE_FILE);
134414
- const cacheAge = now - stat23.mtimeMs;
134415
- if (cacheAge < REFRESH_INTERVAL_MS) {
134416
- const cached2 = JSON.parse(fs8.readFileSync(CACHE_FILE, "utf-8"));
134417
- this.loadFromModelsDevData(cached2);
134418
- this.lastRefresh = now;
134419
- return;
134420
- }
134421
- }
134422
- } catch {}
134423
- try {
134424
- const response = await fetch(MODELS_DEV_URL);
134425
- if (!response.ok)
134426
- return;
134427
- const data = await response.json();
134428
- try {
134429
- fs8.mkdirSync(CACHE_DIR, { recursive: true });
134430
- fs8.writeFileSync(CACHE_FILE, JSON.stringify(data));
134431
- } catch {}
134432
- this.loadFromModelsDevData(data);
134433
- this.lastRefresh = now;
134434
- } catch {}
134435
- }
134436
- loadFromModelsDevData(data) {
134437
- if (!Array.isArray(data))
134438
- return;
134439
- const grouped = new Map;
134440
- for (const entry of data) {
134441
- if (!entry || typeof entry !== "object")
134442
- continue;
134443
- const providerId = entry.provider?.id ?? entry.provider;
134444
- const modelId = entry.id ?? entry.model;
134445
- if (typeof providerId !== "string" || typeof modelId !== "string") {
134446
- continue;
134447
- }
134448
- const def = {
134449
- id: modelId,
134450
- name: entry.name ?? modelId,
134451
- capabilities: {
134452
- thinking: Boolean(entry.capabilities?.thinking),
134453
- toolCalling: Boolean(entry.capabilities?.tool_calling ?? entry.capabilities?.toolCalling),
134454
- toolStreaming: Boolean(entry.capabilities?.tool_streaming ?? entry.capabilities?.toolStreaming),
134455
- vision: Boolean(entry.capabilities?.vision),
134456
- structuredOutput: Boolean(entry.capabilities?.structured_output ?? entry.capabilities?.structuredOutput),
134457
- streaming: entry.capabilities?.streaming !== false,
134458
- citations: Boolean(entry.capabilities?.citations),
134459
- serverTools: Boolean(entry.capabilities?.server_tools ?? entry.capabilities?.serverTools),
134460
- signatures: Boolean(entry.capabilities?.signatures),
134461
- caching: {
134462
- strategy: entry.capabilities?.caching?.strategy ?? "none"
134463
- }
134464
- },
134465
- limits: {
134466
- context: entry.limits?.context ?? entry.context_window ?? 128000,
134467
- output: entry.limits?.output ?? entry.max_output ?? 4096
134468
- }
134469
- };
134470
- if (entry.cost || entry.pricing) {
134471
- const cost = entry.cost ?? entry.pricing;
134472
- def.cost = {
134473
- input: Number(cost.input ?? cost.input_per_million ?? 0),
134474
- output: Number(cost.output ?? cost.output_per_million ?? 0)
134475
- };
134476
- if (cost.cacheRead ?? cost.cache_read) {
134477
- def.cost.cacheRead = Number(cost.cacheRead ?? cost.cache_read);
134478
- }
134479
- if (cost.cacheWrite ?? cost.cache_write) {
134480
- def.cost.cacheWrite = Number(cost.cacheWrite ?? cost.cache_write);
134481
- }
134482
- }
134483
- if (!grouped.has(providerId)) {
134484
- grouped.set(providerId, []);
134545
+ return Array.from(result.values());
134546
+ }
134547
+ function storeProviderOAuthToken(id, token, enterpriseUrl) {
134548
+ const user = getSettingsForSource("userSettings") ?? {};
134549
+ const existingProviders = user.providers ?? {};
134550
+ const existingConfig = existingProviders[id] ?? {};
134551
+ const auth2 = { type: "oauth", token };
134552
+ if (enterpriseUrl)
134553
+ auth2.enterpriseUrl = enterpriseUrl;
134554
+ updateSettingsForSource("userSettings", {
134555
+ providers: {
134556
+ ...existingProviders,
134557
+ [id]: {
134558
+ ...existingConfig,
134559
+ auth: auth2
134485
134560
  }
134486
- grouped.get(providerId).push(def);
134487
134561
  }
134488
- for (const [providerId, models] of grouped) {
134489
- this.models.set(providerId, models);
134490
- }
134491
- }
134492
- }
134493
- function getModelRegistry() {
134494
- if (!_instance) {
134495
- _instance = new ModelRegistryImpl;
134496
- }
134497
- return _instance;
134562
+ });
134498
134563
  }
134499
- var CACHE_DIR, CACHE_FILE, REFRESH_INTERVAL_MS, MODELS_DEV_URL = "https://models.dev/api.json", _instance = null;
134500
- var init_registry2 = __esm(() => {
134501
- CACHE_DIR = path9.join(os3.homedir(), ".opencc", "cache");
134502
- CACHE_FILE = path9.join(CACHE_DIR, "models.json");
134503
- REFRESH_INTERVAL_MS = 60 * 60 * 1000;
134564
+ var init_state2 = __esm(() => {
134565
+ init_presets();
134566
+ init_registry2();
134567
+ init_settings2();
134504
134568
  });
134505
134569
 
134506
134570
  // src/services/providers/router.ts
134507
134571
  class ProviderRouterImpl {
134508
134572
  adapters = new Map;
134509
- connectedProviderId = null;
134573
+ connectedProviderId;
134574
+ constructor() {
134575
+ const persistedId = getConnectedProviderId();
134576
+ this.connectedProviderId = persistedId !== "anthropic" ? persistedId : null;
134577
+ }
134510
134578
  registerAdapter(id, adapter) {
134511
134579
  this.adapters.set(id, adapter);
134512
134580
  }
@@ -134940,7 +135008,9 @@ async function* queryLoop(params, consumedCommandUuids) {
134940
135008
  withheld = true;
134941
135009
  }
134942
135010
  if (!withheld) {
134943
- yield yieldMessage;
135011
+ if (message.type !== "content_block_delta" && message.type !== "content_block_start" && message.type !== "content_block_stop") {
135012
+ yield yieldMessage;
135013
+ }
134944
135014
  }
134945
135015
  if (message.type === "assistant") {
134946
135016
  const assistantMessage = message;
@@ -144759,7 +144829,7 @@ async function countBuiltInToolTokens(tools, getToolPermissionContext, agentInfo
144759
144829
  systemToolDetails: []
144760
144830
  };
144761
144831
  }
144762
- const { isToolSearchEnabled: isToolSearchEnabled2 } = await import("./chunk-edfv7pme.js");
144832
+ const { isToolSearchEnabled: isToolSearchEnabled2 } = await import("./chunk-1wyfn8fs.js");
144763
144833
  const { isDeferredTool: isDeferredTool2 } = await import("./chunk-mwrr6zbb.js");
144764
144834
  const isDeferred = await isToolSearchEnabled2(model ?? "", tools, getToolPermissionContext, agentInfo?.activeAgents ?? [], "analyzeBuiltIn");
144765
144835
  const alwaysLoadedTools = builtInTools.filter((t) => !isDeferredTool2(t));
@@ -144894,7 +144964,7 @@ async function countMcpToolTokens(tools, getToolPermissionContext, agentInfo, mo
144894
144964
  }))));
144895
144965
  const estimateTotal = estimates.reduce((s, e) => s + e, 0) || 1;
144896
144966
  const mcpToolTokensByTool = estimates.map((e) => Math.round(e / estimateTotal * totalTokens));
144897
- const { isToolSearchEnabled: isToolSearchEnabled2 } = await import("./chunk-edfv7pme.js");
144967
+ const { isToolSearchEnabled: isToolSearchEnabled2 } = await import("./chunk-1wyfn8fs.js");
144898
144968
  const { isDeferredTool: isDeferredTool2 } = await import("./chunk-mwrr6zbb.js");
144899
144969
  const isDeferred = await isToolSearchEnabled2(model, tools, getToolPermissionContext, agentInfo?.activeAgents ?? [], "analyzeMcp");
144900
144970
  const loadedMcpToolNames = new Set;
@@ -152416,7 +152486,7 @@ var init_client5 = __esm(() => {
152416
152486
  transport = new StreamableHTTPClientTransport(new URL(proxyUrl), transportOptions);
152417
152487
  logMCPDebug(name, `claude.ai proxy transport created successfully`);
152418
152488
  } else if ((serverRef.type === "stdio" || !serverRef.type) && isClaudeInChromeMCPServer(name)) {
152419
- const { createChromeContext } = await import("./chunk-sbs1r0h4.js");
152489
+ const { createChromeContext } = await import("./chunk-v98ntm4b.js");
152420
152490
  const { createClaudeForChromeMcpServer } = await import("./chunk-bm1qb16p.js");
152421
152491
  const { createLinkedTransportPair } = await import("./chunk-1h2famwb.js");
152422
152492
  const context = createChromeContext(serverRef.env);
@@ -162095,7 +162165,7 @@ var init_feedback = __esm(() => {
162095
162165
  description: `Submit feedback about Open CC`,
162096
162166
  argumentHint: "[report]",
162097
162167
  isEnabled: () => !(isEnvTruthy(process.env.CLAUDE_CODE_USE_BEDROCK) || isEnvTruthy(process.env.CLAUDE_CODE_USE_VERTEX) || isEnvTruthy(process.env.CLAUDE_CODE_USE_FOUNDRY) || isEnvTruthy(process.env.DISABLE_FEEDBACK_COMMAND) || isEnvTruthy(process.env.DISABLE_BUG_COMMAND) || isEssentialTrafficOnly() || process.env.USER_TYPE === "ant" || !isPolicyAllowed("allow_product_feedback")),
162098
- load: () => import("./chunk-fcna95wg.js")
162168
+ load: () => import("./chunk-xv0exc70.js")
162099
162169
  };
162100
162170
  feedback_default = feedback;
162101
162171
  });
@@ -162109,7 +162179,7 @@ var init_clear = __esm(() => {
162109
162179
  description: "Clear conversation history and free up context",
162110
162180
  aliases: ["reset", "new"],
162111
162181
  supportsNonInteractive: false,
162112
- load: () => import("./chunk-ymy4xrr8.js")
162182
+ load: () => import("./chunk-jrcywjsm.js")
162113
162183
  };
162114
162184
  clear_default = clear;
162115
162185
  });
@@ -162123,7 +162193,7 @@ var init_color2 = __esm(() => {
162123
162193
  description: "Set the prompt bar color for this session",
162124
162194
  immediate: true,
162125
162195
  argumentHint: "<color|default>",
162126
- load: () => import("./chunk-01p8hhsp.js")
162196
+ load: () => import("./chunk-33caan56.js")
162127
162197
  };
162128
162198
  color_default = color2;
162129
162199
  });
@@ -162223,7 +162293,7 @@ var init_copy = __esm(() => {
162223
162293
  type: "local-jsx",
162224
162294
  name: "copy",
162225
162295
  description: "Copy Claude's last response to clipboard (or /copy N for the Nth-latest)",
162226
- load: () => import("./chunk-sp5cjcjh.js")
162296
+ load: () => import("./chunk-qvd0m1vp.js")
162227
162297
  };
162228
162298
  copy_default = copy;
162229
162299
  });
@@ -162250,7 +162320,7 @@ var init_desktop = __esm(() => {
162250
162320
  get isHidden() {
162251
162321
  return !isSupportedPlatform2();
162252
162322
  },
162253
- load: () => import("./chunk-a05hje2h.js")
162323
+ load: () => import("./chunk-re0rf0vw.js")
162254
162324
  };
162255
162325
  desktop_default = desktop;
162256
162326
  });
@@ -162413,7 +162483,7 @@ var init_compact2 = __esm(() => {
162413
162483
  isEnabled: () => !isEnvTruthy(process.env.DISABLE_COMPACT),
162414
162484
  supportsNonInteractive: true,
162415
162485
  argumentHint: "<optional custom summarization instructions>",
162416
- load: () => import("./chunk-v4qn3g0d.js")
162486
+ load: () => import("./chunk-jmrr15c1.js")
162417
162487
  };
162418
162488
  compact_default = compact;
162419
162489
  });
@@ -162426,7 +162496,7 @@ var init_config7 = __esm(() => {
162426
162496
  type: "local-jsx",
162427
162497
  name: "config",
162428
162498
  description: "Open config panel",
162429
- load: () => import("./chunk-ebyr6p77.js")
162499
+ load: () => import("./chunk-1wb6341y.js")
162430
162500
  };
162431
162501
  config_default = config2;
162432
162502
  });
@@ -162440,7 +162510,7 @@ var init_context3 = __esm(() => {
162440
162510
  description: "Visualize current context usage as a colored grid",
162441
162511
  isEnabled: () => !getIsNonInteractiveSession(),
162442
162512
  type: "local-jsx",
162443
- load: () => import("./chunk-6b8ksqmf.js")
162513
+ load: () => import("./chunk-k569dka2.js")
162444
162514
  };
162445
162515
  contextNonInteractive = {
162446
162516
  type: "local",
@@ -162453,7 +162523,7 @@ var init_context3 = __esm(() => {
162453
162523
  isEnabled() {
162454
162524
  return getIsNonInteractiveSession();
162455
162525
  },
162456
- load: () => import("./chunk-sk3gpkdt.js")
162526
+ load: () => import("./chunk-8bhsbtjd.js")
162457
162527
  };
162458
162528
  });
162459
162529
 
@@ -162472,7 +162542,7 @@ var init_cost = __esm(() => {
162472
162542
  return isClaudeAISubscriber();
162473
162543
  },
162474
162544
  supportsNonInteractive: true,
162475
- load: () => import("./chunk-r6e45bzh.js")
162545
+ load: () => import("./chunk-txywb35s.js")
162476
162546
  };
162477
162547
  cost_default = cost;
162478
162548
  });
@@ -162484,7 +162554,7 @@ var init_diff2 = __esm(() => {
162484
162554
  type: "local-jsx",
162485
162555
  name: "diff",
162486
162556
  description: "View uncommitted changes and per-turn diffs",
162487
- load: () => import("./chunk-30k39xd2.js")
162557
+ load: () => import("./chunk-1x3g3ce2.js")
162488
162558
  };
162489
162559
  });
162490
162560
 
@@ -162503,7 +162573,7 @@ var init_doctor = __esm(() => {
162503
162573
  description: "Diagnose and verify your Open CC installation and settings",
162504
162574
  isEnabled: () => !isEnvTruthy(process.env.DISABLE_DOCTOR_COMMAND),
162505
162575
  type: "local-jsx",
162506
- load: () => import("./chunk-1qjb22fx.js")
162576
+ load: () => import("./chunk-6knv93mq.js")
162507
162577
  };
162508
162578
  doctor_default = doctor;
162509
162579
  });
@@ -162515,7 +162585,7 @@ var init_memory = __esm(() => {
162515
162585
  type: "local-jsx",
162516
162586
  name: "memory",
162517
162587
  description: "Edit Claude memory files",
162518
- load: () => import("./chunk-26k0324b.js")
162588
+ load: () => import("./chunk-atmergmr.js")
162519
162589
  };
162520
162590
  memory_default = memory;
162521
162591
  });
@@ -162527,7 +162597,7 @@ var init_help = __esm(() => {
162527
162597
  type: "local-jsx",
162528
162598
  name: "help",
162529
162599
  description: "Show help and available commands",
162530
- load: () => import("./chunk-eaf7c8ck.js")
162600
+ load: () => import("./chunk-49qytxa9.js")
162531
162601
  };
162532
162602
  help_default = help;
162533
162603
  });
@@ -162540,7 +162610,7 @@ var init_ide2 = __esm(() => {
162540
162610
  name: "ide",
162541
162611
  description: "Manage IDE integrations and show status",
162542
162612
  argumentHint: "[open]",
162543
- load: () => import("./chunk-yxvy4jt4.js")
162613
+ load: () => import("./chunk-any1t25n.js")
162544
162614
  };
162545
162615
  ide_default = ide;
162546
162616
  });
@@ -162865,7 +162935,7 @@ var init_keybindings = __esm(() => {
162865
162935
  isEnabled: () => isKeybindingCustomizationEnabled(),
162866
162936
  supportsNonInteractive: false,
162867
162937
  type: "local",
162868
- load: () => import("./chunk-kv1ryvtm.js")
162938
+ load: () => import("./chunk-4b65gyje.js")
162869
162939
  };
162870
162940
  keybindings_default = keybindings;
162871
162941
  });
@@ -162876,7 +162946,7 @@ var login_default = () => ({
162876
162946
  name: "login",
162877
162947
  description: hasAnthropicApiKeyAuth() ? "Switch Anthropic accounts" : "Sign in with your Anthropic account",
162878
162948
  isEnabled: () => !isEnvTruthy(process.env.DISABLE_LOGIN_COMMAND),
162879
- load: () => import("./chunk-4wbhvcag.js")
162949
+ load: () => import("./chunk-trea3s0q.js")
162880
162950
  });
162881
162951
  var init_login = __esm(() => {
162882
162952
  init_auth();
@@ -162892,7 +162962,7 @@ var init_logout2 = __esm(() => {
162892
162962
  name: "logout",
162893
162963
  description: "Sign out from your Anthropic account",
162894
162964
  isEnabled: () => !isEnvTruthy(process.env.DISABLE_LOGOUT_COMMAND),
162895
- load: () => import("./chunk-rbgjkg3v.js")
162965
+ load: () => import("./chunk-b0whm6mb.js")
162896
162966
  };
162897
162967
  });
162898
162968
 
@@ -162906,7 +162976,7 @@ var init_install_github_app = __esm(() => {
162906
162976
  description: "Set up Claude GitHub Actions for a repository",
162907
162977
  availability: ["claude-ai", "console"],
162908
162978
  isEnabled: () => !isEnvTruthy(process.env.DISABLE_INSTALL_GITHUB_APP_COMMAND),
162909
- load: () => import("./chunk-xe0bpcbr.js")
162979
+ load: () => import("./chunk-t8shyyz1.js")
162910
162980
  };
162911
162981
  install_github_app_default = installGitHubApp;
162912
162982
  });
@@ -162940,7 +163010,7 @@ var init_mcp = __esm(() => {
162940
163010
  description: "Manage MCP servers",
162941
163011
  immediate: true,
162942
163012
  argumentHint: "[enable|disable [server-name]]",
162943
- load: () => import("./chunk-rfdbzyjh.js")
163013
+ load: () => import("./chunk-491yb5hj.js")
162944
163014
  };
162945
163015
  mcp_default = mcp;
162946
163016
  });
@@ -163083,7 +163153,7 @@ var init_rename = __esm(() => {
163083
163153
  description: "Rename the current conversation",
163084
163154
  immediate: true,
163085
163155
  argumentHint: "[name]",
163086
- load: () => import("./chunk-bs6keys0.js")
163156
+ load: () => import("./chunk-zrdzck9g.js")
163087
163157
  };
163088
163158
  rename_default = rename7;
163089
163159
  });
@@ -163097,7 +163167,7 @@ var init_resume = __esm(() => {
163097
163167
  description: "Resume a previous conversation",
163098
163168
  aliases: ["continue"],
163099
163169
  argumentHint: "[conversation id or search term]",
163100
- load: () => import("./chunk-j595yd4h.js")
163170
+ load: () => import("./chunk-kjxh14v2.js")
163101
163171
  };
163102
163172
  resume_default = resume;
163103
163173
  });
@@ -163153,7 +163223,7 @@ var init_review = __esm(() => {
163153
163223
  name: "ultrareview",
163154
163224
  description: `~10\u201320 min \xB7 Finds and verifies bugs in your branch. Runs in Open CC on the web. See ${CCR_TERMS_URL}`,
163155
163225
  isEnabled: () => isUltrareviewEnabled(),
163156
- load: () => import("./chunk-1p7jfcee.js")
163226
+ load: () => import("./chunk-zatb0qz2.js")
163157
163227
  };
163158
163228
  review_default = review;
163159
163229
  });
@@ -163171,7 +163241,7 @@ var init_session = __esm(() => {
163171
163241
  get isHidden() {
163172
163242
  return !getIsRemoteMode();
163173
163243
  },
163174
- load: () => import("./chunk-vht4mzgb.js")
163244
+ load: () => import("./chunk-760t6316.js")
163175
163245
  };
163176
163246
  session_default = session;
163177
163247
  });
@@ -163189,7 +163259,7 @@ var init_skills = __esm(() => {
163189
163259
  type: "local-jsx",
163190
163260
  name: "skills",
163191
163261
  description: "List available skills",
163192
- load: () => import("./chunk-b2rkh01x.js")
163262
+ load: () => import("./chunk-wt6w9mbw.js")
163193
163263
  };
163194
163264
  skills_default = skills;
163195
163265
  });
@@ -163202,7 +163272,7 @@ var init_status2 = __esm(() => {
163202
163272
  name: "status",
163203
163273
  description: "Show Open CC status including version, model, account, API connectivity, and tool statuses",
163204
163274
  immediate: true,
163205
- load: () => import("./chunk-4rze71rx.js")
163275
+ load: () => import("./chunk-efv61cqg.js")
163206
163276
  };
163207
163277
  status_default = status;
163208
163278
  });
@@ -163215,7 +163285,7 @@ var init_tasks3 = __esm(() => {
163215
163285
  name: "tasks",
163216
163286
  aliases: ["bashes"],
163217
163287
  description: "List and manage background tasks",
163218
- load: () => import("./chunk-4e1271a8.js")
163288
+ load: () => import("./chunk-ydgs4nys.js")
163219
163289
  };
163220
163290
  tasks_default = tasks;
163221
163291
  });
@@ -163492,7 +163562,7 @@ var init_usage = __esm(() => {
163492
163562
  name: "usage",
163493
163563
  description: "Show plan usage limits",
163494
163564
  availability: ["claude-ai"],
163495
- load: () => import("./chunk-cdm0k2n0.js")
163565
+ load: () => import("./chunk-bynmk3h0.js")
163496
163566
  };
163497
163567
  });
163498
163568
 
@@ -163503,7 +163573,7 @@ var init_theme2 = __esm(() => {
163503
163573
  type: "local-jsx",
163504
163574
  name: "theme",
163505
163575
  description: "Change the theme",
163506
- load: () => import("./chunk-zbmxxxz8.js")
163576
+ load: () => import("./chunk-r9yhwx1y.js")
163507
163577
  };
163508
163578
  theme_default = theme;
163509
163579
  });
@@ -163530,7 +163600,7 @@ var init_thinkback = __esm(() => {
163530
163600
  name: "think-back",
163531
163601
  description: "Your 2025 Open CC Year in Review",
163532
163602
  isEnabled: () => checkStatsigFeatureGate_CACHED_MAY_BE_STALE("tengu_thinkback"),
163533
- load: () => import("./chunk-dz8exe78.js")
163603
+ load: () => import("./chunk-tmxhxy9a.js")
163534
163604
  };
163535
163605
  thinkback_default = thinkback;
163536
163606
  });
@@ -163546,7 +163616,7 @@ var init_thinkback_play = __esm(() => {
163546
163616
  isEnabled: () => checkStatsigFeatureGate_CACHED_MAY_BE_STALE("tengu_thinkback"),
163547
163617
  isHidden: true,
163548
163618
  supportsNonInteractive: false,
163549
- load: () => import("./chunk-95rj8m4e.js")
163619
+ load: () => import("./chunk-kad9x7e9.js")
163550
163620
  };
163551
163621
  thinkback_play_default = thinkbackPlay;
163552
163622
  });
@@ -163559,7 +163629,7 @@ var init_permissions3 = __esm(() => {
163559
163629
  name: "permissions",
163560
163630
  aliases: ["allowed-tools"],
163561
163631
  description: "Manage allow & deny tool permission rules",
163562
- load: () => import("./chunk-nttf3k0r.js")
163632
+ load: () => import("./chunk-f979wqq7.js")
163563
163633
  };
163564
163634
  permissions_default = permissions;
163565
163635
  });
@@ -163572,7 +163642,7 @@ var init_plan = __esm(() => {
163572
163642
  name: "plan",
163573
163643
  description: "Enable plan mode or view the current session plan",
163574
163644
  argumentHint: "[open|<description>]",
163575
- load: () => import("./chunk-znrwmznk.js")
163645
+ load: () => import("./chunk-j1bkeg89.js")
163576
163646
  };
163577
163647
  plan_default = plan;
163578
163648
  });
@@ -163605,7 +163675,7 @@ var init_fast = __esm(() => {
163605
163675
  get immediate() {
163606
163676
  return shouldInferenceConfigCommandBeImmediate();
163607
163677
  },
163608
- load: () => import("./chunk-9ebygqen.js")
163678
+ load: () => import("./chunk-f0df5cr5.js")
163609
163679
  };
163610
163680
  fast_default = fast;
163611
163681
  });
@@ -163643,7 +163713,7 @@ var init_privacy_settings = __esm(() => {
163643
163713
  isEnabled: () => {
163644
163714
  return isConsumerSubscriber();
163645
163715
  },
163646
- load: () => import("./chunk-fdvcpaz3.js")
163716
+ load: () => import("./chunk-2eaa1xjc.js")
163647
163717
  };
163648
163718
  privacy_settings_default = privacySettings;
163649
163719
  });
@@ -163656,7 +163726,7 @@ var init_hooks = __esm(() => {
163656
163726
  name: "hooks",
163657
163727
  description: "View hook configurations for tool events",
163658
163728
  immediate: true,
163659
- load: () => import("./chunk-0hn525br.js")
163729
+ load: () => import("./chunk-5t02m61e.js")
163660
163730
  };
163661
163731
  hooks_default = hooks;
163662
163732
  });
@@ -163684,7 +163754,7 @@ var init_branch = __esm(() => {
163684
163754
  aliases: ["fork"],
163685
163755
  description: "Create a branch of the current conversation at this point",
163686
163756
  argumentHint: "[name]",
163687
- load: () => import("./chunk-wbhsqc2a.js")
163757
+ load: () => import("./chunk-r54p01mz.js")
163688
163758
  };
163689
163759
  branch_default = branch;
163690
163760
  });
@@ -163696,7 +163766,7 @@ var init_agents = __esm(() => {
163696
163766
  type: "local-jsx",
163697
163767
  name: "agents",
163698
163768
  description: "Manage agent configurations",
163699
- load: () => import("./chunk-qvrq1sby.js")
163769
+ load: () => import("./chunk-d44bd9z4.js")
163700
163770
  };
163701
163771
  agents_default = agents;
163702
163772
  });
@@ -163710,7 +163780,7 @@ var init_plugin2 = __esm(() => {
163710
163780
  aliases: ["plugins", "marketplace"],
163711
163781
  description: "Manage Open CC plugins",
163712
163782
  immediate: true,
163713
- load: () => import("./chunk-cwehsmj5.js")
163783
+ load: () => import("./chunk-5tqgf8w6.js")
163714
163784
  };
163715
163785
  plugin_default = plugin;
163716
163786
  });
@@ -163723,7 +163793,7 @@ var init_reload_plugins = __esm(() => {
163723
163793
  name: "reload-plugins",
163724
163794
  description: "Activate pending plugin changes in the current session",
163725
163795
  supportsNonInteractive: false,
163726
- load: () => import("./chunk-6cpqmd4r.js")
163796
+ load: () => import("./chunk-mgtethqg.js")
163727
163797
  };
163728
163798
  reload_plugins_default = reloadPlugins;
163729
163799
  });
@@ -164314,7 +164384,7 @@ var init_sandbox_toggle = __esm(() => {
164314
164384
  },
164315
164385
  immediate: true,
164316
164386
  type: "local-jsx",
164317
- load: () => import("./chunk-jtqgnyaq.js")
164387
+ load: () => import("./chunk-m50sdknd.js")
164318
164388
  };
164319
164389
  sandbox_toggle_default = command6;
164320
164390
  });
@@ -164329,7 +164399,7 @@ var init_chrome = __esm(() => {
164329
164399
  availability: ["claude-ai"],
164330
164400
  isEnabled: () => !getIsNonInteractiveSession(),
164331
164401
  type: "local-jsx",
164332
- load: () => import("./chunk-n4nbgkvd.js")
164402
+ load: () => import("./chunk-2bxptkrt.js")
164333
164403
  };
164334
164404
  chrome_default = command7;
164335
164405
  });
@@ -164570,7 +164640,7 @@ var init_exit = __esm(() => {
164570
164640
  aliases: ["quit"],
164571
164641
  description: "Exit the REPL",
164572
164642
  immediate: true,
164573
- load: () => import("./chunk-4axcksrv.js")
164643
+ load: () => import("./chunk-8qbemgf5.js")
164574
164644
  };
164575
164645
  exit_default = exit;
164576
164646
  });
@@ -164583,7 +164653,7 @@ var init_export = __esm(() => {
164583
164653
  name: "export",
164584
164654
  description: "Export the current conversation to a file or clipboard",
164585
164655
  argumentHint: "[filename]",
164586
- load: () => import("./chunk-cp76dsdp.js")
164656
+ load: () => import("./chunk-n3rsjj87.js")
164587
164657
  };
164588
164658
  export_default = exportCommand;
164589
164659
  });
@@ -164597,7 +164667,7 @@ var init_connect = __esm(() => {
164597
164667
  description: "Connect to an LLM provider",
164598
164668
  aliases: ["provider"],
164599
164669
  immediate: true,
164600
- load: () => import("./chunk-z2xxx2sz.js")
164670
+ load: () => import("./chunk-d9eqjnya.js")
164601
164671
  };
164602
164672
  });
164603
164673
 
@@ -164620,7 +164690,7 @@ var init_model2 = __esm(() => {
164620
164690
  get immediate() {
164621
164691
  return shouldInferenceConfigCommandBeImmediate();
164622
164692
  },
164623
- load: () => import("./chunk-ab59azrr.js")
164693
+ load: () => import("./chunk-9h9dgw51.js")
164624
164694
  };
164625
164695
  });
164626
164696
 
@@ -164633,7 +164703,7 @@ var init_tag = __esm(() => {
164633
164703
  description: "Toggle a searchable tag on the current session",
164634
164704
  isEnabled: () => process.env.USER_TYPE === "ant",
164635
164705
  argumentHint: "<tag-name>",
164636
- load: () => import("./chunk-nx7s0zn5.js")
164706
+ load: () => import("./chunk-b5er2edx.js")
164637
164707
  };
164638
164708
  tag_default = tag;
164639
164709
  });
@@ -164664,7 +164734,7 @@ var init_remote_env = __esm(() => {
164664
164734
  get isHidden() {
164665
164735
  return !isClaudeAISubscriber() || !isPolicyAllowed("allow_remote_sessions");
164666
164736
  },
164667
- load: () => import("./chunk-9tkq3g56.js")
164737
+ load: () => import("./chunk-nez3gykb.js")
164668
164738
  };
164669
164739
  });
164670
164740
 
@@ -164679,7 +164749,7 @@ var init_upgrade = __esm(() => {
164679
164749
  description: "Upgrade to Max for higher rate limits and more Opus",
164680
164750
  availability: ["claude-ai"],
164681
164751
  isEnabled: () => !isEnvTruthy(process.env.DISABLE_UPGRADE_COMMAND) && getSubscriptionType() !== "enterprise",
164682
- load: () => import("./chunk-gac6nzhc.js")
164752
+ load: () => import("./chunk-7yt4jd3n.js")
164683
164753
  };
164684
164754
  upgrade_default = upgrade;
164685
164755
  });
@@ -164699,7 +164769,7 @@ var init_rate_limit_options = __esm(() => {
164699
164769
  return true;
164700
164770
  },
164701
164771
  isHidden: true,
164702
- load: () => import("./chunk-j1s1jvad.js")
164772
+ load: () => import("./chunk-xnsnhmmb.js")
164703
164773
  };
164704
164774
  rate_limit_options_default = rateLimitOptions;
164705
164775
  });
@@ -164741,7 +164811,7 @@ var init_effort2 = __esm(() => {
164741
164811
  get immediate() {
164742
164812
  return shouldInferenceConfigCommandBeImmediate();
164743
164813
  },
164744
- load: () => import("./chunk-xm3ed3zn.js")
164814
+ load: () => import("./chunk-jppj9ntn.js")
164745
164815
  };
164746
164816
  });
164747
164817
 
@@ -164752,7 +164822,7 @@ var init_stats = __esm(() => {
164752
164822
  type: "local-jsx",
164753
164823
  name: "stats",
164754
164824
  description: "Show your Open CC usage statistics and activity",
164755
- load: () => import("./chunk-tf9h0cyj.js")
164825
+ load: () => import("./chunk-y7p5yx4y.js")
164756
164826
  };
164757
164827
  stats_default = stats;
164758
164828
  });
@@ -165048,7 +165118,7 @@ var init_commands2 = __esm(() => {
165048
165118
  progressMessage: "analyzing your sessions",
165049
165119
  source: "builtin",
165050
165120
  async getPromptForCommand(args, context2) {
165051
- const real = (await import("./chunk-j7qwxra8.js")).default;
165121
+ const real = (await import("./chunk-n39rn8tg.js")).default;
165052
165122
  if (real.type !== "prompt")
165053
165123
  throw new Error("unreachable");
165054
165124
  return real.getPromptForCommand(args, context2);
@@ -170687,7 +170757,7 @@ var init_ssrfGuard = () => {};
170687
170757
 
170688
170758
  // src/utils/hooks/execHttpHook.ts
170689
170759
  async function getSandboxProxyConfig() {
170690
- const { SandboxManager: SandboxManager3 } = await import("./chunk-kjhmt6ba.js");
170760
+ const { SandboxManager: SandboxManager3 } = await import("./chunk-zte56zrq.js");
170691
170761
  if (!SandboxManager3.isSandboxingEnabled()) {
170692
170762
  return;
170693
170763
  }
@@ -174391,4 +174461,4 @@ var init_sandbox_adapter = __esm(() => {
174391
174461
  };
174392
174462
  });
174393
174463
 
174394
- export { BASH_TOOL_NAME, init_toolName, GREP_TOOL_NAME, init_prompt4 as init_prompt, FILE_EDIT_TOOL_NAME, CLAUDE_FOLDER_PERMISSION_PATTERN, GLOBAL_CLAUDE_FOLDER_PERMISSION_PATTERN, init_constants5 as init_constants, FILE_READ_TOOL_NAME, init_prompt5 as init_prompt1, init_prompt6 as init_prompt2, init_prompt7 as init_prompt3, init_constants6 as init_constants1, MessageResponse, init_MessageResponse, validateDirectoryForWorkspace, addDirHelpMessage, init_validation2 as init_validation, createStore, init_store, init_voice, useMailbox, init_mailbox2 as init_mailbox, chokidar_default, init_chokidar, settingsChangeDetector, init_changeDetector, useSettingsChange, init_useSettingsChange, getEmptyToolPermissionContext, toolMatchesName, findToolByName, init_Tool, getSessionStartDate, init_common2 as init_common, g, init_marked_esm, parseYaml, init_yaml, FRONTMATTER_REGEX, parseFrontmatter, init_frontmatterParser, MAX_MEMORY_CHARACTER_COUNT, getMemoryFiles, clearMemoryFileCaches, resetGetMemoryFilesCache, getLargeMemoryFiles, getExternalClaudeMdIncludes, hasExternalClaudeMdIncludes, shouldShowClaudeMdExternalIncludesWarning, init_claudemd, setSystemPromptInjection, getGitStatus, getSystemContext, getUserContext, init_context2 as init_context, isZ4Schema, safeParse2 as safeParse, getObjectShape, init_zod_compat, Protocol, mergeCapabilities, init_protocol, AjvJsonSchemaValidator, init_ajv_provider, assertToolsCallTaskCapability, assertClientRequestTaskCapability, init_helpers, mapValues_default, init_mapValues, getRemoteSessionUrl, init_product, DEFAULT_BINDINGS, init_defaultBindings, NON_REBINDABLE, TERMINAL_RESERVED, MACOS_RESERVED, normalizeKeyForComparison, init_reservedShortcuts, isKeybindingCustomizationEnabled, getKeybindingsPath, loadKeybindingsSyncWithWarnings, getCachedKeybindingWarnings, init_loadUserBindings, getShortcutDisplay, init_shortcutFormat, last_default, init_last, duck, goose, blob, cat, dragon, octopus, owl, penguin, turtle, snail, ghost, axolotl, capybara, cactus, robot, rabbit, mushroom, chonk, init_types6 as init_types, getCompanion, init_companion, NO_CONTENT_MESSAGE, init_messages, ripGrep2 as ripGrep, countFilesRoundedRg, init_ripgrep2 as init_ripgrep, isRestrictedToPluginOnly, isSourceAdminTrusted, init_pluginOnlyPolicy, CLAUDE_CONFIG_DIRECTORIES, loadMarkdownFilesForSubdir, init_markdownConfigLoader, getPluginErrorMessage, init_plugin, isBuiltinPluginId, getBuiltinPluginDefinition, init_builtinPlugins, getAddDirEnabledPlugins, init_addDirPluginSettings, SETTING_SOURCE_TO_SCOPE, parsePluginIdentifier, isOfficialMarketplaceName, scopeToSettingSource, init_pluginIdentifier, findReverseDependents, formatReverseDependentsSuffix, init_dependencyResolver, OFFICIAL_MARKETPLACE_SOURCE, OFFICIAL_MARKETPLACE_NAME, init_officialMarketplace, logPluginFetch, classifyFetchError, init_fetchTelemetry, checkGitAvailable, markGitUnavailable, init_gitAvailability, SandboxViolationStore, SandboxRuntimeConfigSchema, WEB_FETCH_TOOL_NAME, init_prompt10 as init_prompt4, resolvePathPatternForSandbox, resolveSandboxFilesystemPath, shouldAllowManagedSandboxDomainsOnly, convertToSandboxRuntimeConfig, addToExcludedCommands, SandboxManager2 as SandboxManager, init_sandbox_adapter, getPluginsDirectory, getPluginSeedDirs, pluginDataDirPath, getPluginDataDirSize, deletePluginDataDir, init_pluginDirectories, isUltrathinkEnabled, findThinkingTriggerPositions, getRainbowColor, modelSupportsAdaptiveThinking, shouldEnableThinkingByDefault, init_thinking, EFFORT_LEVELS, modelSupportsEffort, modelSupportsMaxEffort, isEffortLevel, parseEffortValue, toPersistableEffort, getInitialEffortSetting, resolvePickerEffortPersistence, getEffortEnvOverride, resolveAppliedEffort, getDisplayedEffortLevel, getEffortSuffix, convertEffortValueToLevel, getEffortValueDescription, getOpusDefaultEffortConfig, getDefaultEffortForModel, init_effort, isMcpbSource, loadMcpServerUserConfig, saveMcpServerUserConfig, loadMcpbFile, init_mcpbHandler, loadPluginOptions, savePluginOptions, deletePluginOptions, getUnconfiguredOptions, init_pluginOptionsStorage, loadPluginAgents, init_loadPluginAgents, AGENT_COLORS, AGENT_COLOR_TO_THEME_COLOR, getAgentColor, setAgentColor, init_agentColorManager, init_prompt11 as init_prompt5, CLAUDE_CODE_GUIDE_AGENT_TYPE, init_claudeCodeGuideAgent, EXIT_PLAN_MODE_TOOL_NAME, EXIT_PLAN_MODE_V2_TOOL_NAME, init_constants11 as init_constants2, isBuiltInAgent, isCustomAgent, isPluginAgent, getActiveAgentsFromList, hasRequiredMcpServers, filterAgentsByMcpRequirements, getAgentDefinitionsWithOverrides, clearAgentDefinitionsCache, parseAgentFromJson, parseAgentsFromJson, parseAgentFromMarkdown, init_loadAgentsDir, SKILL_BUDGET_CONTEXT_PERCENT, CHARS_PER_TOKEN, DEFAULT_CHAR_BUDGET, MAX_LISTING_DESC_CHARS, getCharBudget, formatCommandsWithinBudget, getPrompt2 as getPrompt, getSkillToolInfo, getLimitedSkillToolCommands, clearPromptCache, getSkillInfo, init_prompt16 as init_prompt6, POWERSHELL_TOOL_NAME, init_toolName2 as init_toolName1, SHELL_TOOL_NAMES, isPowerShellToolEnabled, init_shellToolUtils, diffLines, init_libesm, resetPromptCacheBreakDetection, init_promptCacheBreakDetection, compactWarningStore, suppressCompactWarning, init_compactWarningState, resetMicrocompactState, microcompactMessages, init_microCompact, getTokenUsage, tokenCountFromLastAPIResponse, getCurrentUsage, doesMostRecentAssistantMessageExceed200k, getAssistantMessageContentLength, tokenCountWithEstimation, init_tokens, DEFAULT_SESSION_MEMORY_CONFIG, setLastSummarizedMessageId, markExtractionStarted, markExtractionCompleted, getSessionMemoryContent, setSessionMemoryConfig, getSessionMemoryConfig, recordExtractionTokenCount, isSessionMemoryInitialized, markSessionMemoryInitialized, hasMetInitializationThreshold, hasMetUpdateThreshold, getToolCallsBetweenUpdates, init_sessionMemoryUtils, uniqBy_default, init_uniqBy, inputSchema21 as inputSchema, outputSchema18 as outputSchema, clearToolSearchDescriptionCache, ToolSearchTool, init_ToolSearchTool, maybeResizeAndDownsampleImageBlock, detectImageFormatFromBase64, createImageMetadataText, init_imageResizer, getRateLimitWarning, getUsingOverageText, currentLimits, getRawUtilization, statusListeners, checkQuotaStatus, init_claudeAiLimits, getSSLErrorHint, formatAPIError, init_errorUtils, startsWithApiErrorPrefix, categorizeRetryableAPIError, init_errors3 as init_errors, init_withRetry, asSystemPrompt, init_systemPromptType, subscribeToCommandQueue, getCommandQueueSnapshot, getCommandQueue, getCommandQueueLength, hasCommandsInQueue, enqueue, enqueuePendingNotification, dequeue, peek, dequeueAllMatching, removeByFilter, clearCommandQueue, isQueuedCommandEditable, isQueuedCommandVisible, popAllEditable, getCommandsByMaxPriority, init_messageQueueManager, setCommandLifecycleListener, notifyCommandLifecycle, init_commandLifecycle, headlessProfilerStartTurn, headlessProfilerCheckpoint, logHeadlessProfilerTurn, init_headlessProfiler, SLEEP_TOOL_NAME, init_prompt13 as init_prompt7, registerPostSamplingHook, init_postSamplingHooks, clearAllDumpState, init_dumpPrompts, createAbortController, init_abortController, getCliHighlightPromise, getLanguageName, init_cliHighlight, logPermissionDecision, init_permissionLogging, tryParseShellCommand, quote, init_shellQuote, PROMPT_PREFIX, createPromptRuleContent, isClassifierPermissionsEnabled, getBashPromptAllowDescriptions, generateGenericDescription, init_bashClassifier, shouldShowAlwaysAllowOptions, getPermissionRulesForSource, init_permissionsLoader, extractRules, hasRules, applyPermissionUpdate, applyPermissionUpdates, supportsPersistence, persistPermissionUpdate, persistPermissionUpdates, init_PermissionUpdate, permissionRuleExtractPrefix, init_shellRuleMatching, setupVscodeSdkMcp, init_vscodeSdkMcp, shouldEnablePromptSuggestion, abortPromptSuggestion, tryGenerateSuggestion, logSuggestionOutcome, logSuggestionSuppressed, init_promptSuggestion, IDLE_SPECULATION_STATE, getDefaultAppState, init_AppStateStore, toArray, fromArray, init_generators, isResultSuccessful, normalizeMessage, handleOrphanedPermission, extractReadFilesFromMessages, extractBashToolsFromMessages, init_queryHelpers, abortSpeculation, handleSpeculationAccept, init_speculation, enqueueSdkEvent, drainSdkEvents, emitTaskTerminatedSdk, init_sdkEventQueue, updateTaskState, getRunningTasks, init_framework, escapeXml, escapeXmlAttr, init_xml2 as init_xml, SYNTHETIC_OUTPUT_TOOL_NAME, isSyntheticOutputToolEnabled, createSyntheticOutputTool, init_SyntheticOutputTool, asSessionId, asAgentId, init_ids, getQuerySourceForREPL, init_promptCategory, ENTER_PLAN_MODE_TOOL_NAME, init_constants13 as init_constants3, ASK_USER_QUESTION_TOOL_NAME, init_prompt9 as init_prompt8, TODO_WRITE_TOOL_NAME, init_constants8 as init_constants4, SKILL_TOOL_NAME, init_constants10 as init_constants5, isKairosCronEnabled, init_prompt12 as init_prompt9, init_tools, TEAM_CREATE_TOOL_NAME, init_constants20 as init_constants6, isCoordinatorMode, init_coordinatorMode, loadPluginMcpServers, getUnconfiguredChannels, init_mcpPluginIntegration, fetchClaudeAIMcpConfigsIfEligible, clearClaudeAIMcpConfigsCache, hasClaudeAiMcpEverConnected, init_claudeai, filterToolsByServer, commandBelongsToServer, filterMcpPromptsByServer, excludeToolsByServer, excludeCommandsByServer, excludeResourcesByServer, excludeStalePluginClients, isMcpTool, describeMcpConfigFilePath, getScopeLabel, ensureConfigScope, ensureTransport, parseHeaders, getProjectMcpServerStatus, extractAgentMcpServers, init_utils2 as init_utils, getMcpServerSignature, dedupClaudeAiMcpServers, filterMcpServersByPolicy, addMcpConfig, removeMcpConfig, getMcpConfigsByScope, getMcpConfigByName, getClaudeCodeMcpConfigs, getAllMcpConfigs, parseMcpConfig, parseMcpConfigFromFilePath, doesEnterpriseMcpConfigExist, areMcpConfigsAllowedWithEnterpriseMcpConfig, isMcpServerDisabled, setMcpServerEnabled, init_config3 as init_config, isLocalShellTask, init_guards, getHookDisplayText, getAllHooks, hookSourceDescriptionDisplayString, hookSourceHeaderDisplayString, hookSourceInlineDisplayString, sortMatchersByPriority, init_hooksSettings, addSessionHook, addFunctionHook, removeSessionHook, init_sessionHooks, getDefaultSubagentModel, getAgentModelDisplay, getAgentModelOptions, init_agent, validateUuid2 as validateUuid, createAgentId, init_uuid, sideQuery, init_sideQuery, filterToolsForAgent, resolveAgentTools, init_agentToolUtils, useSettings, init_useSettings, applyMarkdown, init_markdown, Markdown, StreamingMarkdown, init_Markdown, isAdvisorBlock, isAdvisorEnabled, canUserConfigureAdvisor, modelSupportsAdvisor, isValidAdvisorModel, getInitialAdvisorSetting, init_advisor, checkOpus1mAccess, checkSonnet1mAccess, init_check1mAccess, getUpgradeMessage, init_contextWindowUpgradeCheck, setupGracefulShutdown, gracefulShutdownSync, isShuttingDown, gracefulShutdown, init_gracefulShutdown, getGroveSettings, markGroveNoticeViewed, updateGroveSettings, isQualifiedForGrove, getGroveNoticeConfig, calculateShouldShowGrove, checkGroveForNonInteractive, init_grove, _resetPolicyLimitsForTesting, initializePolicyLimitsLoadingPromise, isPolicyLimitsEligible, waitForPolicyLimitsToLoad, isPolicyAllowed, loadPolicyLimits, refreshPolicyLimits, clearPolicyLimitsCache, startBackgroundPolling2 as startBackgroundPolling, stopBackgroundPolling2 as stopBackgroundPolling, init_policyLimits, isRemoteManagedSettingsEligible, init_syncCache, initializeRemoteManagedSettingsLoadingPromise, isEligibleForRemoteManagedSettings, waitForRemoteManagedSettingsToLoad, loadRemoteManagedSettings, refreshRemoteManagedSettings, init_remoteManagedSettings, performLogout, clearAuthRelatedCaches, call, init_logout, OAuthService, init_oauth2 as init_oauth, installOrUpdateClaudePackage, localInstallationExists, getShellType, init_localInstaller, assertMinVersion, getMaxVersion, getMaxVersionMessage, shouldSkipVersion, getLatestVersion, getNpmDistTags, getLatestVersionFromGcs, getGcsDistTags, installGlobalPackage, init_autoUpdater, getPackageManager, init_packageManagers, getCurrentInstallationType, getDoctorDiagnostic, init_doctorDiagnostic, _baseSlice_default, init__baseSlice, capitalize_default, init_capitalize, isJetBrainsPluginInstalledCachedSync, init_jetbrains, WindowsToWSLConverter, init_idePathConversion, IdeOnboardingDialog, init_IdeOnboardingDialog, isJetBrainsIde, isSupportedVSCodeTerminal, isSupportedJetBrainsTerminal, isSupportedTerminal, getTerminalIdeType, getSortedIdeLockfiles, detectIDEs, hasAccessToIDEExtensionDiffFeature, isCursorInstalled, isWindsurfInstalled, isVSCodeInstalled, detectRunningIDEs, detectRunningIDEsCached, getConnectedIdeName, toIDEDisplayName, getConnectedIdeClient, closeOpenDiffs, initializeIdeIntegration, init_ide, getXDGStateHome, init_xdg, isPidBasedLockingEnabled, getAllLockInfo, cleanupStaleLocks, init_pidLock, checkInstall, installLatest, lockCurrentVersion, cleanupOldVersions, removeInstalledSymlink, cleanupShellAliases, cleanupNpmInstallations, init_nativeInstaller, getSettingsWithAllErrors, init_allErrors, buildSandboxProperties, buildIDEProperties, buildMcpProperties, buildMemoryDiagnostics, buildSettingSourcesProperties, buildInstallationDiagnostics, buildInstallationHealthDiagnostics, buildAccountProperties, buildAPIProviderProperties, getModelDisplayLabel, init_status, installOAuthTokens, authLogin, authStatus, authLogout, init_auth4 as init_auth, sendNotification, init_notifier, PASTE_THRESHOLD, getImageFromClipboard, init_imagePaste, cacheImagePath, storeImage, storeImages, clearStoredImagePaths, cleanupOldImageCaches, init_imageStore, ListItem, init_ListItem, useRegisterOverlay, useIsOverlayActive, useIsModalOverlayActive, init_overlayContext, Select, init_select, TOOL_DISPLAY_EXPIRY_MS, timestamp, buildBridgeConnectUrl, buildBridgeSessionUrl, getBridgeStatus, buildIdleFooterText, buildActiveFooterText, FAILED_FOOTER_TEXT, wrapWithOsc8Link, init_bridgeStatusUtil, sample_default, init_sample, activityManager, init_activityManager, isInProcessTeammateTask, init_types7 as init_types1, TaskListV2, init_TaskListV2, useTasksV2, useTasksV2WithCollapseEffect, init_useTasksV2, toRGBColor, hueToRgb, init_utils3 as init_utils1, ShimmerChar, init_ShimmerChar, SpinnerGlyph, init_SpinnerGlyph, useShimmerAnimation, init_useShimmerAnimation, toInkColor, init_ink2 as init_ink, isBackgroundTask, init_types10 as init_types2, McpServerConfigForProcessTransportSchema, McpServerStatusSchema, PermissionUpdateSchema, PermissionModeSchema, HookEventSchema, HookInputSchema, SlashCommandSchema, AgentInfoSchema, ModelInfoSchema, AccountInfoSchema, AgentDefinitionSchema, SDKUserMessageSchema, SDKStreamlinedTextMessageSchema, SDKStreamlinedToolUseSummaryMessageSchema, SDKPostTurnSummaryMessageSchema, SDKMessageSchema, FastModeStateSchema, init_coreSchemas, readUnreadMessages, writeToMailbox, markMessagesAsRead, createIdleNotification, isPermissionRequest, isPermissionResponse, isSandboxPermissionRequest, isSandboxPermissionResponse, sendShutdownRequestToMailbox, isShutdownRequest, isPlanApprovalRequest, isShutdownApproved, isPlanApprovalResponse, isTeamPermissionUpdate, createModeSetRequestMessage, isModeSetRequest, getLastPeerDmSummary, init_teammateMailbox, permissionUpdateSchema, init_PermissionUpdateSchema, createPermissionRequest, isSwarmWorker, sendPermissionRequestViaMailbox, sendPermissionResponseViaMailbox, generateSandboxRequestId, sendSandboxPermissionRequestViaMailbox, sendSandboxPermissionResponseViaMailbox, init_permissionSync, registerPermissionCallback, hasPermissionCallback, clearAllPendingCallbacks, processMailboxPermissionResponse, registerSandboxPermissionCallback, hasSandboxPermissionCallback, processSandboxPermissionResponse, init_useSwarmPermissionPoller, TOOL_RESULTS_SUBDIR, processToolResultBlock, provisionContentReplacementState, reconstructContentReplacementState, init_toolResultStorage, registerLeaderToolUseConfirmQueue, getLeaderToolUseConfirmQueue, unregisterLeaderToolUseConfirmQueue, registerLeaderSetToolPermissionContext, unregisterLeaderSetToolPermissionContext, init_leaderPermissionBridge, exports_teammatePromptAddendum, init_teammatePromptAddendum, ensureBackendsRegistered, registerTmuxBackend, registerITermBackend, detectAndGetBackend, getBackendByType, getCachedBackend, getCachedDetectionResult, markInProcessFallback, isInProcessEnabled, getResolvedTeammateMode, getInProcessBackend, getTeammateExecutor, resetBackendDetection, init_registry, InProcessTeammateTask, injectUserMessageToTeammate, getAllInProcessTeammateTasks, getRunningTeammatesSorted, exports_InProcessTeammateTask, init_InProcessTeammateTask, getViewedTeammateTask, getActiveAgentForInput, init_selectors, useElapsedTime, init_useElapsedTime, SpinnerWithVerb, BriefIdleStatus, Spinner, init_Spinner2 as init_Spinner, ConsoleOAuthFlow, init_ConsoleOAuthFlow, extraUsage, init_extra_usage, useClaudeAiLimits, init_claudeAiLimitsHook, AssistantThinkingMessage, init_AssistantThinkingMessage, clearClassifierChecking, init_classifierApprovals, SentryErrorBoundary, init_SentryErrorBoundary, UserBashInputMessage, init_UserBashInputMessage, UserPlanMessage, init_UserPlanMessage, QueuedMessageProvider, init_QueuedMessageContext, UserTextMessage, init_UserTextMessage, diagnosticTracker, init_diagnosticTracking, FilePathLink, init_FilePathLink, PrBadge, init_PrBadge, getPillLabel, pillNeedsCta, init_pillLabel, OffscreenFreeze, init_OffscreenFreeze, hasThinkingContent, Message, init_Message, renderToolUseProgressMessage4 as renderToolUseProgressMessage, init_UI11 as init_UI, recordSkillUsage, getSkillUsageScore, init_skillUsageTracking, buildPluginTelemetryFields, buildPluginCommandTelemetryFields, logPluginsEnabledForSession, classifyPluginCommandError, logPluginLoadErrors, init_pluginTelemetry, runAgent, init_runAgent, TodoListSchema, init_types8 as init_types3, TodoWriteTool, init_TodoWriteTool, fetchEnvironments, init_environments, SelectMulti, init_SelectMulti, init_CustomSelect, TeleportError, init_TeleportError, KeybindingSetup, init_KeybindingProviderSetup, clearAllSessions, init_sessionIngress, fileHistoryEnabled, fileHistoryMakeSnapshot, fileHistoryRewind, fileHistoryCanRestore, fileHistoryGetDiffStats, fileHistoryHasAnyChanges, fileHistoryRestoreStateFromLog, copyFileHistoryForResume, init_fileHistory, init_outputsScanner, generateShortWordSlug, init_words, getPlanSlug, setPlanSlug, clearAllPlanSlugs, getPlansDirectory, getPlanFilePath, getPlan, copyPlanForResume, copyPlanForFork, init_plans, captureHooksConfigSnapshot, updateHooksConfigSnapshot, init_hooksConfigSnapshot, setEnvHookNotifier, initializeFileChangedWatcher, init_fileChangedWatcher, loadPluginHooks, clearPluginHookCache, pruneRemovedPluginHooks, resetHotReloadState, getPluginAffectingSettingsSnapshot, setupPluginHookHotReload, init_loadPluginHooks, takeInitialUserMessage, processSessionStartHooks, processSetupHooks, init_sessionStart, deserializeMessages, loadConversationForResume, init_conversationRecovery, downloadSessionFiles, parseFileSpecs, init_filesApi, generateTempFilePath, init_tempfile, validateGitState, processMessagesForTeleportResume, checkOutTeleportedSessionBranch, validateSessionRepository, teleportResumeCodeSession, teleportToRemoteWithErrorHandling, teleportFromSessionsAPI, pollRemoteSessionEvents, teleportToRemote, archiveRemoteSession, init_teleport, checkRemoteAgentEligibility, formatPreconditionError, registerRemoteAgentTask, restoreRemoteAgentTasks, RemoteAgentTask, getRemoteTaskSessionUrl, init_RemoteAgentTask, SkillTool, init_SkillTool, resetAllLSPDiagnosticState, init_LSPDiagnosticRegistry, loadPluginLspServers, init_lspPluginIntegration, getLspServerManager, getInitializationStatus, initializeLspServerManager, reinitializeLspServerManager, shutdownLspServerManager, init_manager, parseArguments, generateProgressiveArgumentHint, init_argumentSubstitution, clearPendingHint, markShownThisSession, subscribeToPendingHint, getPendingHintSnapshot, init_claudeCodeHints, isPluginBlockedByPolicy, init_pluginPolicy, resolvePluginHint, markHintPluginShown, disableHintRecommendations, init_hintRecommendation, CircularBuffer, init_CircularBuffer, validateBoundedIntEnvVar, init_envValidation, BASH_MAX_OUTPUT_UPPER_LIMIT, BASH_MAX_OUTPUT_DEFAULT, init_outputLimits, clearSessionEnvVars, init_sessionEnvVars, exec, setCwd, init_Shell, ShellProgressMessage, init_ShellProgressMessage, parseSedEditCommand, applySedSubstitution, init_sedEditParser, parsePowerShellCommandCached, getAllCommands2 as getAllCommands, init_parser3 as init_parser, isAllowlistedCommand, init_readOnlyValidation, NEVER_SUGGEST, init_dangerousCmdlets, PowerShellTool, exports_PowerShellTool, init_PowerShellTool, getSkillsPath, estimateSkillFrontmatterTokens, clearSkillCaches, onDynamicSkillsLoaded, clearDynamicSkills, init_loadSkillsDir, getStoredSessionCosts, restoreCostStateForSession, saveCurrentSessionCosts, formatCost, formatTotalCost, init_cost_tracker, CONTEXT_LINES, adjustHunkLineNumbers, getPatchFromContents, getPatchForDisplay, init_diff, fetchGitDiff, fetchGitDiffHunks, init_gitDiff, getColorModuleUnavailableReason, getSyntaxTheme2 as getSyntaxTheme, init_colorDiff, HighlightedCode, init_HighlightedCode, StructuredDiff, init_StructuredDiff, StructuredDiffList, init_StructuredDiffList, CHUNK_SIZE, openForScan, scanForContext, readCapped, init_readEditContext, findActualString, preserveQuoteStyle, getPatchForEdits, getEditsForPatch, init_utils as init_utils2, FileEditTool, init_FileEditTool, FileWriteTool, init_FileWriteTool, getGlobExclusionsForPluginCache, clearPluginCacheExclusions, init_orphanedPluginFilter, GrepTool, init_GrepTool, GlobTool, init_GlobTool, parseCellId, init_notebook, NotebookEditTool, init_NotebookEditTool, clearWebFetchCache, MAX_MARKDOWN_LENGTH, isPreapprovedUrl, validateURL, checkDomainBlocklist, isPermittedRedirect, getWithPermittedRedirects, getURLMarkdownContent, applyPromptToMarkdown, init_utils7 as init_utils3, WebFetchTool, init_WebFetchTool, readLastConsolidatedAt, init_consolidationLock, DreamTask, init_DreamTask, stopTask, init_stopTask, TaskStopTool, init_TaskStopTool, exports_BriefTool, init_BriefTool, TASK_MAX_OUTPUT_UPPER_LIMIT, TASK_MAX_OUTPUT_DEFAULT, init_outputFormatting, TaskOutputTool, init_TaskOutputTool, WebSearchTool, init_WebSearchTool, findInProcessTeammateTaskId, handlePlanApprovalResponse, init_inProcessTeammateHelpers, ExitPlanModeV2Tool, init_ExitPlanModeV2Tool, AskUserQuestionTool, init_AskUserQuestionTool, init_prompt23 as init_prompt10, ReadMcpResourceTool, init_ReadMcpResourceTool, isPlanModeInterviewPhaseEnabled, getPewterLedgerVariant, init_planModeV2, EnterPlanModeTool, init_EnterPlanModeTool, getModelOptions, init_modelOptions, init_voiceModeEnabled, validateModel, init_validateModel, registerSession, updateSessionName, updateSessionBridgeId, countConcurrentSessions, init_concurrentSessions, init_replBridgeHandle, startBackgroundSession, init_LocalMainSessionTask, buildEffectiveSystemPrompt, init_systemPrompt, resumeAgentBackground, init_resumeAgent, getAllBaseTools, filterToolsByDenyRules, getTools, assembleToolPool, init_tools2 as init_tools1, getHardcodedTeammateModelFallback, init_teammateModel, isAutoManagedMemoryFile, init_memoryFileDetection, getToolSearchOrReadInfo, getToolUseIdsFromCollapsedGroup, hasAnyToolInProgress, getDisplayMessageFromCollapsed, collapseReadSearchGroups, summarizeRecentActivities, init_collapseReadSearch, isLocalAgentTask, isPanelAgentTask, queuePendingMessage, appendMessageToLocalAgent, LocalAgentTask, killAllRunningAgentTasks, markAgentsNotified, init_LocalAgentTask, BACKGROUND_BASH_SUMMARY_PREFIX, LocalShellTask, hasForegroundTasks, backgroundAll, init_LocalShellTask, isMemoryFileAccess, registerSessionFileAccessHooks, init_sessionFileAccessHooks, init_undercover, BashTool, init_BashTool, getSimpleCommandPrefix, getFirstWordPrefix, clearSpeculativeChecks, init_bashPermissions, Stream, init_stream2 as init_stream, getErrorParts, init_toolErrors, startQueryProfile, queryCheckpoint, logQueryProfileReport, init_queryProfiler, isAutoDreamEnabled, init_config5 as init_config1, init_readFileInRange, initAutoDream, init_autoDream, BUILTIN_PROVIDERS, PROVIDER_KEY_HELP_URLS, getSortedProviderIds, hasEnvKey, init_presets, getConnectedProviderId, setConnectedProviderId, providerHasAuth, storeProviderApiKey, init_state2 as init_state, getModelRegistry, init_registry2 as init_registry1, getProviderRouter, init_router, init_tokenBudget, query, init_query, init_logging, getLastCacheSafeParams, createCacheSafeParams, prepareForkedCommandContext, extractResultText, createSubagentContext, runForkedAgent, init_forkedAgent, logPermissionContextForAnts, init_internalLogging, ERROR_MESSAGE_NOT_ENOUGH_MESSAGES, ERROR_MESSAGE_USER_ABORT, ERROR_MESSAGE_INCOMPLETE_RESPONSE, buildPostCompactMessages, mergeHookInstructions, compactConversation, partialCompactConversation, init_compact, runPostCompactCleanup, init_postCompactCleanup, loadSessionMemoryTemplate, buildSessionMemoryUpdatePrompt, init_prompts3 as init_prompts, shouldUseSessionMemoryCompaction, trySessionMemoryCompaction, init_sessionMemoryCompact, getEffectiveContextWindowSize, calculateTokenWarningState, isAutoCompactEnabled, init_autoCompact, countMcpToolTokens, analyzeContextUsage, init_analyzeContext, zodToJsonSchema3 as zodToJsonSchema, init_zodToJsonSchema2 as init_zodToJsonSchema, getAutoToolSearchCharThreshold, getToolSearchMode, modelSupportsToolReference, isToolSearchEnabledOptimistic, isToolSearchToolAvailable, isToolSearchEnabled, isToolReferenceBlock, extractDiscoveredToolNames, isDeferredToolsDeltaEnabled, getDeferredToolsDelta, init_toolSearch, roughTokenCountEstimation, init_tokenEstimation, registerFileReadListener, FileReadTool, init_FileReadTool, isValidImagePaste, init_textInputTypes, registerHookEventHandler, setAllHookEventsEnabled, init_hookEvents, finalizePendingAsyncHooks, init_AsyncHookRegistry, isHumanTurn, init_messagePredicates, getQueuedCommandAttachments, resetSentSkillNames, getAttachmentMessages, createAttachmentMessage, init_attachments2 as init_attachments, getPluginCommands, init_loadPluginCommands, isPluginZipCacheEnabled, getPluginZipCachePath, getZipCacheKnownMarketplacesPath, getZipCacheMarketplacesDir, getZipCachePluginsDir, cleanupSessionPluginCache, atomicWriteToZipCache, getMarketplaceJsonRelativePath, isMarketplaceSourceSupportedByZipCache, init_zipCache, clearAllCaches, markPluginVersionOrphaned, cleanupOrphanedPluginVersionsInBackground, init_cacheUtils, formatFailureDetails, getMarketplaceSourceDisplay, createPluginId, loadMarketplacesWithGracefulDegradation, formatMarketplaceLoadingErrors, getPluginTrustMessage, isSourceAllowedByPolicy, detectEmptyMarketplaceReason, init_marketplaceHelpers, fetchOfficialMarketplaceFromGcs, init_officialMarketplaceGcs, getMarketplacesCacheDir, clearMarketplacesCache, getDeclaredMarketplaces, saveMarketplaceToSettings, loadKnownMarketplacesConfig, loadKnownMarketplacesConfigSafe, saveKnownMarketplacesConfig, registerSeedMarketplaces, addMarketplaceSource, removeMarketplaceSource, getMarketplace, getPluginById, refreshAllMarketplaces, refreshMarketplace, setMarketplaceAutoUpdate, init_marketplaceManager, loadInstalledPluginsV2, removePluginInstallation, getInMemoryInstalledPlugins, loadInstalledPluginsFromDisk, updateInstallationPathOnDisk, initializeVersionedPlugins, isInstallationRelevantToCurrentProject, isPluginInstalled, isPluginGloballyInstalled, migrateFromEnabledPlugins, init_installedPluginsManager, getManagedPluginNames, init_managedPlugins, calculatePluginVersion, init_pluginVersioning, cacheAndRegisterPlugin, registerPluginInstallation, formatResolutionError, installResolvedPlugin, installPluginFromMarketplace, init_pluginInstallationHelpers, getVersionedCachePath, getVersionedZipCachePath, copyPluginToVersionedCache, cachePlugin, loadPluginManifest, loadAllPlugins, loadAllPluginsCacheOnly, clearPluginCache, init_pluginLoader, DEFAULT_OUTPUT_STYLE_NAME, OUTPUT_STYLE_CONFIG, getAllOutputStyles, init_outputStyles, withMemoryCorrectionHint, INTERRUPT_MESSAGE, INTERRUPT_MESSAGE_FOR_TOOL_USE, REJECT_MESSAGE, REJECT_MESSAGE_WITH_REASON_PREFIX, SUBAGENT_REJECT_MESSAGE, SUBAGENT_REJECT_MESSAGE_WITH_REASON_PREFIX, SYNTHETIC_MODEL, SYNTHETIC_MESSAGES, isSyntheticMessage, getLastAssistantMessage, hasToolCallsInLastAssistantTurn, createAssistantMessage, createUserMessage, prepareUserContent, createUserInterruptionMessage, createSyntheticUserCaveatMessage, formatCommandInputTags, createModelSwitchBreadcrumbs, extractTag, isNotEmptyMessage, deriveUUID, normalizeMessages, isToolUseResultMessage, reorderMessagesInUI, buildMessageLookups, EMPTY_LOOKUPS, EMPTY_STRING_SET, getSiblingToolUseIDsFromLookup, getProgressMessagesFromLookup, hasUnresolvedHooksFromLookup, getToolUseIDs, isSystemLocalCommandMessage, normalizeMessagesForAPI, isEmptyMessageText, stripPromptXMLTags, getToolUseID, getUserMessageText, textForResubmit, extractTextContent, getContentText, handleMessageFromStream, createSystemMessage, createPermissionRetryMessage, createTurnDurationMessage, createAgentsKilledMessage, createCommandInputMessage, isCompactBoundaryMessage, getMessagesAfterCompactBoundary, shouldShowUserMessage, countToolCalls, stripSignatureBlocks, init_messages3 as init_messages1, isNavigableMessage, toolCallOf, MessageActionsSelectedContext, InVirtualListContext, useMessageActions, MessageActionsBar, stripSystemReminders, init_messageActions, init_prompt14 as init_prompt11, ListMcpResourcesTool, init_ListMcpResourcesTool, ProgressBar, init_ProgressBar, _baseEach_default, init__baseEach, reject_default, init_reject, isXaaEnabled, getXaaIdpSettings, issuerKey, getCachedIdpIdToken, saveIdpIdTokenFromJwt, clearIdpIdToken, saveIdpClientSecret, getIdpClientSecret, clearIdpClientSecret, acquireIdpIdToken, init_xaaIdpLogin, AuthenticationCancelledError, revokeServerTokens, clearServerTokensFromLocalStorage, performMCPOAuthFlow, ClaudeAuthProvider, readClientSecret, saveMcpClientSecret, clearMcpClientConfig, getMcpClientConfig, init_auth5 as init_auth1, recursivelySanitizeUnicode, init_sanitization, registerElicitationHandler, runElicitationHooks, runElicitationResultHooks, init_elicitationHandler, getMcpServerConnectionBatchSize, connectToServer, clearServerCache, areMcpConfigsEqual, fetchToolsForClient, fetchResourcesForClient, fetchCommandsForClient, callIdeRpc, reconnectMcpServerImpl, getMcpToolsCommandsAndResources, prefetchAllMcpResources, setupSdkMcpClients, init_client5 as init_client, prependUserContext, logContextMetrics, init_api2 as init_api, verifyApiKey, queryModelWithoutStreaming, updateUsage, accumulateUsage, queryHaiku, queryWithModel, init_claude, splitCommand_DEPRECATED, clearCommandPrefixCaches, extractOutputRedirections, init_commands, shouldUseSandbox, init_shouldUseSandbox, permissionRuleSourceDisplayString, getAllowRules, getDenyRules, getAskRules, hasPermissionsToUseTool, deletePermissionRule, init_permissions2 as init_permissions, transitionPermissionMode, initialPermissionModeFromCLI, parseToolListFromCLI, initializeToolPermissionContext, getAutoModeUnavailableNotification, shouldDisableBypassPermissions, getAutoModeUnavailableReason, isBypassPermissionsModeDisabled, createDisabledBypassPermissionsContext, checkAndDisableBypassPermissions, prepareContextForPlanMode, transitionPlanAutoMode, init_permissionSetup, applySettingsChange, init_applySettingsChange, AppStateProvider, useAppState, useSetAppState, useAppStateStore, init_AppState, useNotifications, init_notifications, useClipboardImageHint, init_useClipboardImageHint, prependModeCharacterToInput, getModeFromInput, getValueFromInput, init_inputModes, cleanupOldPastes, init_pasteStore, getPastedTextRefNumLines, formatPastedTextRef, formatImageRef, parseReferences, expandPastedTextRefs, makeHistoryReader, getHistory, addToHistory, removeLastFromHistory, init_history, pushToKillRing, getLastKill, resetKillAccumulation, recordYank, yankPop, updateYankLength, resetYankState, isVimWordChar, isVimWhitespace, isVimPunctuation, Cursor, init_Cursor, useTextInput, init_useTextInput, BaseTextInput, init_BaseTextInput, TextInput, init_TextInput, getWorktreePaths, init_getWorktreePaths, isUltrareviewEnabled, init_ultrareviewEnabled, review_default, init_review, validateBridgeId, BridgeFatalError, createBridgeApiClient, isExpiredErrorType, isSuppressible403, init_bridgeApi, registerBridgeDebugHandle, clearBridgeDebugHandle, injectBridgeFault, wrapApiForFaultInjection, init_bridgeDebug, registerBundledSkill, init_bundledSkills, exit_default, init_exit, upgrade_default, init_upgrade, getCommandName, isCommandEnabled, builtInCommandNames, getCommands, clearCommandMemoizationCaches, clearCommandsCache, getSkillToolCommands, getSlashCommandToolSkills, REMOTE_SAFE_COMMANDS, isBridgeSafeCommand, filterCommandsForRemoteMode, findCommand, hasCommand, getCommand, formatDescriptionWithSource, init_commands2 as init_commands1, isTranscriptMessage, isChainParticipant, isEphemeralToolProgress, getProjectsDir2 as getProjectsDir, getTranscriptPath, getTranscriptPathForSession, MAX_TRANSCRIPT_READ_BYTES, setAgentTranscriptSubdir, clearAgentTranscriptSubdir, getAgentTranscriptPath, writeAgentMetadata, readAgentMetadata, writeRemoteAgentMetadata, readRemoteAgentMetadata, deleteRemoteAgentMetadata, listRemoteAgentMetadata, sessionIdExists, getNodeEnv, getUserType, isCustomTitleEnabled, getProjectDir, resetProjectFlushStateForTesting, resetProjectForTesting, setSessionFileForTesting, setInternalEventWriter, setInternalEventReader, setRemoteIngressUrlForTesting, recordTranscript, recordSidechainTranscript, recordQueueOperation, removeTranscriptMessage, recordFileHistorySnapshot, recordAttributionSnapshot, recordContentReplacement, resetSessionFilePointer, adoptResumedSessionFile, recordContextCollapseCommit, recordContextCollapseSnapshot, flushSessionStorage, hydrateRemoteSession, hydrateFromCCRv2InternalEvents, getFirstMeaningfulUserMessageTextContent, removeExtraFields, buildConversationChain, checkResumeConsistency, loadTranscriptFromFile, fetchLogs, saveCustomTitle, saveAiGeneratedTitle, saveTaskSummary, saveTag, linkSessionToPR, getCurrentSessionTag, getCurrentSessionTitle, getCurrentSessionAgentColor, restoreSessionMetadata, clearSessionMetadata, reAppendSessionMetadata, saveAgentName, saveAgentColor, saveAgentSetting, cacheSessionTitle, saveMode, saveWorktreeState, getSessionIdFromLog, isLiteLog, loadFullLog, searchSessionsByCustomTitle, loadTranscriptFile, clearSessionMessagesCache, doesMessageExistInSession, getLastSessionLog, loadMessageLogs, loadAllProjectsMessageLogs, loadAllProjectsMessageLogsProgressive, loadSameRepoMessageLogs, loadSameRepoMessageLogsProgressive, getAgentTranscript, extractAgentIdsFromMessages, extractTeammateTranscriptsFromTasks, loadSubagentTranscripts, loadAllSubagentTranscriptsFromDisk, isLoggableMessage, cleanMessagesForLogging, getLogByIndex, findUnresolvedToolUse, getSessionFilesWithMtime, loadAllLogsFromSessionFile, getSessionFilesLite, enrichLogs, exports_sessionStorage, init_sessionStorage, loadMemoryPrompt, init_memdir, getAgentMemoryDir, getMemoryScopeDisplay, loadAgentMemoryPrompt, init_agentMemory, normalizeCaseForComparison2 as normalizeCaseForComparison, getSessionMemoryDir, getSessionMemoryPath, isScratchpadEnabled, getScratchpadDir, ensureScratchpadDir, pathInAllowedWorkingPath, generateSuggestions, init_filesystem, getTaskOutputPath, evictTaskOutput, initTaskOutputAsSymlink, init_diskOutput, isTerminalTaskStatus, init_Task, hookJSONOutputSchema, init_hooks2 as init_hooks, createCombinedAbortSignal, init_combinedAbortSignal, registerStructuredOutputEnforcement, init_hookHelpers, getSessionEndHookTimeoutMs, shouldSkipHookDueToTrust, createBaseHookInput, getMatchingHooks, getPreToolHookBlockingMessage, getStopHookMessage, getTeammateIdleHookMessage, getTaskCreatedHookMessage, getTaskCompletedHookMessage, getUserPromptSubmitHookBlockingMessage, hasBlockingResult, executePreToolHooks, executePostToolHooks, executePostToolUseFailureHooks, executePermissionDeniedHooks2 as executePermissionDeniedHooks, executeNotificationHooks, executeStopFailureHooks, executeStopHooks, executeTeammateIdleHooks, executeTaskCreatedHooks, executeTaskCompletedHooks, executeUserPromptSubmitHooks, executeSessionStartHooks, executeSetupHooks, executeSubagentStartHooks, executePreCompactHooks, executePostCompactHooks, executeSessionEndHooks, executePermissionRequestHooks, executeConfigChangeHooks, executeCwdChangedHooks, executeFileChangedHooks, hasInstructionsLoadedHook, executeInstructionsLoadedHooks, executeElicitationHooks, executeElicitationResultHooks, executeStatusLineCommand, executeFileSuggestionCommand, hasWorktreeCreateHook, executeWorktreeCreateHook, executeWorktreeRemoveHook, init_hooks3 as init_hooks1, validateWorktreeSlug, getCurrentWorktreeSession, restoreWorktreeSession, generateTmuxSessionName, worktreeBranchName, copyWorktreeIncludeFiles, parsePRReference, isTmuxAvailable2 as isTmuxAvailable, getTmuxInstallInstructions, createTmuxSessionForWorktree, killTmuxSession, createWorktreeForSession, keepWorktree, cleanupWorktree, createAgentWorktree, removeAgentWorktree, cleanupStaleAgentWorktrees, hasWorktreeChanges, execIntoTmuxWorktree, init_worktree, CLAUDE_CODE_DOCS_MAP_URL2 as CLAUDE_CODE_DOCS_MAP_URL, SYSTEM_PROMPT_DYNAMIC_BOUNDARY, prependBullets, getSystemPrompt, computeEnvInfo, computeSimpleEnvInfo, getUnameSR, DEFAULT_AGENT_PROMPT, enhanceSystemPromptWithEnvDetails, getScratchpadInstructions, init_prompts as init_prompts1 };
174464
+ export { BASH_TOOL_NAME, init_toolName, GREP_TOOL_NAME, init_prompt4 as init_prompt, FILE_EDIT_TOOL_NAME, CLAUDE_FOLDER_PERMISSION_PATTERN, GLOBAL_CLAUDE_FOLDER_PERMISSION_PATTERN, init_constants5 as init_constants, FILE_READ_TOOL_NAME, init_prompt5 as init_prompt1, init_prompt6 as init_prompt2, init_prompt7 as init_prompt3, init_constants6 as init_constants1, MessageResponse, init_MessageResponse, validateDirectoryForWorkspace, addDirHelpMessage, init_validation2 as init_validation, createStore, init_store, init_voice, useMailbox, init_mailbox2 as init_mailbox, chokidar_default, init_chokidar, settingsChangeDetector, init_changeDetector, useSettingsChange, init_useSettingsChange, getEmptyToolPermissionContext, toolMatchesName, findToolByName, init_Tool, getSessionStartDate, init_common2 as init_common, g, init_marked_esm, parseYaml, init_yaml, FRONTMATTER_REGEX, parseFrontmatter, init_frontmatterParser, MAX_MEMORY_CHARACTER_COUNT, getMemoryFiles, clearMemoryFileCaches, resetGetMemoryFilesCache, getLargeMemoryFiles, getExternalClaudeMdIncludes, hasExternalClaudeMdIncludes, shouldShowClaudeMdExternalIncludesWarning, init_claudemd, setSystemPromptInjection, getGitStatus, getSystemContext, getUserContext, init_context2 as init_context, isZ4Schema, safeParse2 as safeParse, getObjectShape, init_zod_compat, Protocol, mergeCapabilities, init_protocol, AjvJsonSchemaValidator, init_ajv_provider, assertToolsCallTaskCapability, assertClientRequestTaskCapability, init_helpers, mapValues_default, init_mapValues, getRemoteSessionUrl, init_product, DEFAULT_BINDINGS, init_defaultBindings, NON_REBINDABLE, TERMINAL_RESERVED, MACOS_RESERVED, normalizeKeyForComparison, init_reservedShortcuts, isKeybindingCustomizationEnabled, getKeybindingsPath, loadKeybindingsSyncWithWarnings, getCachedKeybindingWarnings, init_loadUserBindings, getShortcutDisplay, init_shortcutFormat, last_default, init_last, duck, goose, blob, cat, dragon, octopus, owl, penguin, turtle, snail, ghost, axolotl, capybara, cactus, robot, rabbit, mushroom, chonk, init_types6 as init_types, getCompanion, init_companion, NO_CONTENT_MESSAGE, init_messages, ripGrep2 as ripGrep, countFilesRoundedRg, init_ripgrep2 as init_ripgrep, isRestrictedToPluginOnly, isSourceAdminTrusted, init_pluginOnlyPolicy, CLAUDE_CONFIG_DIRECTORIES, loadMarkdownFilesForSubdir, init_markdownConfigLoader, getPluginErrorMessage, init_plugin, isBuiltinPluginId, getBuiltinPluginDefinition, init_builtinPlugins, getAddDirEnabledPlugins, init_addDirPluginSettings, SETTING_SOURCE_TO_SCOPE, parsePluginIdentifier, isOfficialMarketplaceName, scopeToSettingSource, init_pluginIdentifier, findReverseDependents, formatReverseDependentsSuffix, init_dependencyResolver, OFFICIAL_MARKETPLACE_SOURCE, OFFICIAL_MARKETPLACE_NAME, init_officialMarketplace, logPluginFetch, classifyFetchError, init_fetchTelemetry, checkGitAvailable, markGitUnavailable, init_gitAvailability, SandboxViolationStore, SandboxRuntimeConfigSchema, WEB_FETCH_TOOL_NAME, init_prompt10 as init_prompt4, resolvePathPatternForSandbox, resolveSandboxFilesystemPath, shouldAllowManagedSandboxDomainsOnly, convertToSandboxRuntimeConfig, addToExcludedCommands, SandboxManager2 as SandboxManager, init_sandbox_adapter, getPluginsDirectory, getPluginSeedDirs, pluginDataDirPath, getPluginDataDirSize, deletePluginDataDir, init_pluginDirectories, isUltrathinkEnabled, findThinkingTriggerPositions, getRainbowColor, modelSupportsAdaptiveThinking, shouldEnableThinkingByDefault, init_thinking, EFFORT_LEVELS, modelSupportsEffort, modelSupportsMaxEffort, isEffortLevel, parseEffortValue, toPersistableEffort, getInitialEffortSetting, resolvePickerEffortPersistence, getEffortEnvOverride, resolveAppliedEffort, getDisplayedEffortLevel, getEffortSuffix, convertEffortValueToLevel, getEffortValueDescription, getOpusDefaultEffortConfig, getDefaultEffortForModel, init_effort, isMcpbSource, loadMcpServerUserConfig, saveMcpServerUserConfig, loadMcpbFile, init_mcpbHandler, loadPluginOptions, savePluginOptions, deletePluginOptions, getUnconfiguredOptions, init_pluginOptionsStorage, loadPluginAgents, init_loadPluginAgents, AGENT_COLORS, AGENT_COLOR_TO_THEME_COLOR, getAgentColor, setAgentColor, init_agentColorManager, init_prompt11 as init_prompt5, CLAUDE_CODE_GUIDE_AGENT_TYPE, init_claudeCodeGuideAgent, EXIT_PLAN_MODE_TOOL_NAME, EXIT_PLAN_MODE_V2_TOOL_NAME, init_constants11 as init_constants2, isBuiltInAgent, isCustomAgent, isPluginAgent, getActiveAgentsFromList, hasRequiredMcpServers, filterAgentsByMcpRequirements, getAgentDefinitionsWithOverrides, clearAgentDefinitionsCache, parseAgentFromJson, parseAgentsFromJson, parseAgentFromMarkdown, init_loadAgentsDir, SKILL_BUDGET_CONTEXT_PERCENT, CHARS_PER_TOKEN, DEFAULT_CHAR_BUDGET, MAX_LISTING_DESC_CHARS, getCharBudget, formatCommandsWithinBudget, getPrompt2 as getPrompt, getSkillToolInfo, getLimitedSkillToolCommands, clearPromptCache, getSkillInfo, init_prompt16 as init_prompt6, POWERSHELL_TOOL_NAME, init_toolName2 as init_toolName1, SHELL_TOOL_NAMES, isPowerShellToolEnabled, init_shellToolUtils, diffLines, init_libesm, resetPromptCacheBreakDetection, init_promptCacheBreakDetection, compactWarningStore, suppressCompactWarning, init_compactWarningState, resetMicrocompactState, microcompactMessages, init_microCompact, getTokenUsage, tokenCountFromLastAPIResponse, getCurrentUsage, doesMostRecentAssistantMessageExceed200k, getAssistantMessageContentLength, tokenCountWithEstimation, init_tokens, DEFAULT_SESSION_MEMORY_CONFIG, setLastSummarizedMessageId, markExtractionStarted, markExtractionCompleted, getSessionMemoryContent, setSessionMemoryConfig, getSessionMemoryConfig, recordExtractionTokenCount, isSessionMemoryInitialized, markSessionMemoryInitialized, hasMetInitializationThreshold, hasMetUpdateThreshold, getToolCallsBetweenUpdates, init_sessionMemoryUtils, uniqBy_default, init_uniqBy, inputSchema21 as inputSchema, outputSchema18 as outputSchema, clearToolSearchDescriptionCache, ToolSearchTool, init_ToolSearchTool, maybeResizeAndDownsampleImageBlock, detectImageFormatFromBase64, createImageMetadataText, init_imageResizer, getRateLimitWarning, getUsingOverageText, currentLimits, getRawUtilization, statusListeners, checkQuotaStatus, init_claudeAiLimits, getSSLErrorHint, formatAPIError, init_errorUtils, startsWithApiErrorPrefix, categorizeRetryableAPIError, init_errors3 as init_errors, init_withRetry, asSystemPrompt, init_systemPromptType, subscribeToCommandQueue, getCommandQueueSnapshot, getCommandQueue, getCommandQueueLength, hasCommandsInQueue, enqueue, enqueuePendingNotification, dequeue, peek, dequeueAllMatching, removeByFilter, clearCommandQueue, isQueuedCommandEditable, isQueuedCommandVisible, popAllEditable, getCommandsByMaxPriority, init_messageQueueManager, setCommandLifecycleListener, notifyCommandLifecycle, init_commandLifecycle, headlessProfilerStartTurn, headlessProfilerCheckpoint, logHeadlessProfilerTurn, init_headlessProfiler, SLEEP_TOOL_NAME, init_prompt13 as init_prompt7, registerPostSamplingHook, init_postSamplingHooks, clearAllDumpState, init_dumpPrompts, createAbortController, init_abortController, getCliHighlightPromise, getLanguageName, init_cliHighlight, logPermissionDecision, init_permissionLogging, tryParseShellCommand, quote, init_shellQuote, PROMPT_PREFIX, createPromptRuleContent, isClassifierPermissionsEnabled, getBashPromptAllowDescriptions, generateGenericDescription, init_bashClassifier, shouldShowAlwaysAllowOptions, getPermissionRulesForSource, init_permissionsLoader, extractRules, hasRules, applyPermissionUpdate, applyPermissionUpdates, supportsPersistence, persistPermissionUpdate, persistPermissionUpdates, init_PermissionUpdate, permissionRuleExtractPrefix, init_shellRuleMatching, setupVscodeSdkMcp, init_vscodeSdkMcp, shouldEnablePromptSuggestion, abortPromptSuggestion, tryGenerateSuggestion, logSuggestionOutcome, logSuggestionSuppressed, init_promptSuggestion, IDLE_SPECULATION_STATE, getDefaultAppState, init_AppStateStore, toArray, fromArray, init_generators, isResultSuccessful, normalizeMessage, handleOrphanedPermission, extractReadFilesFromMessages, extractBashToolsFromMessages, init_queryHelpers, abortSpeculation, handleSpeculationAccept, init_speculation, enqueueSdkEvent, drainSdkEvents, emitTaskTerminatedSdk, init_sdkEventQueue, updateTaskState, getRunningTasks, init_framework, escapeXml, escapeXmlAttr, init_xml2 as init_xml, SYNTHETIC_OUTPUT_TOOL_NAME, isSyntheticOutputToolEnabled, createSyntheticOutputTool, init_SyntheticOutputTool, asSessionId, asAgentId, init_ids, getQuerySourceForREPL, init_promptCategory, ENTER_PLAN_MODE_TOOL_NAME, init_constants13 as init_constants3, ASK_USER_QUESTION_TOOL_NAME, init_prompt9 as init_prompt8, TODO_WRITE_TOOL_NAME, init_constants8 as init_constants4, SKILL_TOOL_NAME, init_constants10 as init_constants5, isKairosCronEnabled, init_prompt12 as init_prompt9, init_tools, TEAM_CREATE_TOOL_NAME, init_constants20 as init_constants6, isCoordinatorMode, init_coordinatorMode, loadPluginMcpServers, getUnconfiguredChannels, init_mcpPluginIntegration, fetchClaudeAIMcpConfigsIfEligible, clearClaudeAIMcpConfigsCache, hasClaudeAiMcpEverConnected, init_claudeai, filterToolsByServer, commandBelongsToServer, filterMcpPromptsByServer, excludeToolsByServer, excludeCommandsByServer, excludeResourcesByServer, excludeStalePluginClients, isMcpTool, describeMcpConfigFilePath, getScopeLabel, ensureConfigScope, ensureTransport, parseHeaders, getProjectMcpServerStatus, extractAgentMcpServers, init_utils2 as init_utils, getMcpServerSignature, dedupClaudeAiMcpServers, filterMcpServersByPolicy, addMcpConfig, removeMcpConfig, getMcpConfigsByScope, getMcpConfigByName, getClaudeCodeMcpConfigs, getAllMcpConfigs, parseMcpConfig, parseMcpConfigFromFilePath, doesEnterpriseMcpConfigExist, areMcpConfigsAllowedWithEnterpriseMcpConfig, isMcpServerDisabled, setMcpServerEnabled, init_config3 as init_config, isLocalShellTask, init_guards, getHookDisplayText, getAllHooks, hookSourceDescriptionDisplayString, hookSourceHeaderDisplayString, hookSourceInlineDisplayString, sortMatchersByPriority, init_hooksSettings, addSessionHook, addFunctionHook, removeSessionHook, init_sessionHooks, getDefaultSubagentModel, getAgentModelDisplay, getAgentModelOptions, init_agent, validateUuid2 as validateUuid, createAgentId, init_uuid, sideQuery, init_sideQuery, filterToolsForAgent, resolveAgentTools, init_agentToolUtils, useSettings, init_useSettings, applyMarkdown, init_markdown, Markdown, StreamingMarkdown, init_Markdown, isAdvisorBlock, isAdvisorEnabled, canUserConfigureAdvisor, modelSupportsAdvisor, isValidAdvisorModel, getInitialAdvisorSetting, init_advisor, checkOpus1mAccess, checkSonnet1mAccess, init_check1mAccess, getUpgradeMessage, init_contextWindowUpgradeCheck, setupGracefulShutdown, gracefulShutdownSync, isShuttingDown, gracefulShutdown, init_gracefulShutdown, getGroveSettings, markGroveNoticeViewed, updateGroveSettings, isQualifiedForGrove, getGroveNoticeConfig, calculateShouldShowGrove, checkGroveForNonInteractive, init_grove, _resetPolicyLimitsForTesting, initializePolicyLimitsLoadingPromise, isPolicyLimitsEligible, waitForPolicyLimitsToLoad, isPolicyAllowed, loadPolicyLimits, refreshPolicyLimits, clearPolicyLimitsCache, startBackgroundPolling2 as startBackgroundPolling, stopBackgroundPolling2 as stopBackgroundPolling, init_policyLimits, isRemoteManagedSettingsEligible, init_syncCache, initializeRemoteManagedSettingsLoadingPromise, isEligibleForRemoteManagedSettings, waitForRemoteManagedSettingsToLoad, loadRemoteManagedSettings, refreshRemoteManagedSettings, init_remoteManagedSettings, performLogout, clearAuthRelatedCaches, call, init_logout, OAuthService, init_oauth2 as init_oauth, installOrUpdateClaudePackage, localInstallationExists, getShellType, init_localInstaller, assertMinVersion, getMaxVersion, getMaxVersionMessage, shouldSkipVersion, getLatestVersion, getNpmDistTags, getLatestVersionFromGcs, getGcsDistTags, installGlobalPackage, init_autoUpdater, getPackageManager, init_packageManagers, getCurrentInstallationType, getDoctorDiagnostic, init_doctorDiagnostic, _baseSlice_default, init__baseSlice, capitalize_default, init_capitalize, isJetBrainsPluginInstalledCachedSync, init_jetbrains, WindowsToWSLConverter, init_idePathConversion, IdeOnboardingDialog, init_IdeOnboardingDialog, isJetBrainsIde, isSupportedVSCodeTerminal, isSupportedJetBrainsTerminal, isSupportedTerminal, getTerminalIdeType, getSortedIdeLockfiles, detectIDEs, hasAccessToIDEExtensionDiffFeature, isCursorInstalled, isWindsurfInstalled, isVSCodeInstalled, detectRunningIDEs, detectRunningIDEsCached, getConnectedIdeName, toIDEDisplayName, getConnectedIdeClient, closeOpenDiffs, initializeIdeIntegration, init_ide, getXDGStateHome, init_xdg, isPidBasedLockingEnabled, getAllLockInfo, cleanupStaleLocks, init_pidLock, checkInstall, installLatest, lockCurrentVersion, cleanupOldVersions, removeInstalledSymlink, cleanupShellAliases, cleanupNpmInstallations, init_nativeInstaller, getSettingsWithAllErrors, init_allErrors, buildSandboxProperties, buildIDEProperties, buildMcpProperties, buildMemoryDiagnostics, buildSettingSourcesProperties, buildInstallationDiagnostics, buildInstallationHealthDiagnostics, buildAccountProperties, buildAPIProviderProperties, getModelDisplayLabel, init_status, installOAuthTokens, authLogin, authStatus, authLogout, init_auth4 as init_auth, sendNotification, init_notifier, PASTE_THRESHOLD, getImageFromClipboard, init_imagePaste, cacheImagePath, storeImage, storeImages, clearStoredImagePaths, cleanupOldImageCaches, init_imageStore, ListItem, init_ListItem, useRegisterOverlay, useIsOverlayActive, useIsModalOverlayActive, init_overlayContext, Select, init_select, TOOL_DISPLAY_EXPIRY_MS, timestamp, buildBridgeConnectUrl, buildBridgeSessionUrl, getBridgeStatus, buildIdleFooterText, buildActiveFooterText, FAILED_FOOTER_TEXT, wrapWithOsc8Link, init_bridgeStatusUtil, sample_default, init_sample, activityManager, init_activityManager, isInProcessTeammateTask, init_types7 as init_types1, TaskListV2, init_TaskListV2, useTasksV2, useTasksV2WithCollapseEffect, init_useTasksV2, toRGBColor, hueToRgb, init_utils3 as init_utils1, ShimmerChar, init_ShimmerChar, SpinnerGlyph, init_SpinnerGlyph, useShimmerAnimation, init_useShimmerAnimation, toInkColor, init_ink2 as init_ink, isBackgroundTask, init_types10 as init_types2, McpServerConfigForProcessTransportSchema, McpServerStatusSchema, PermissionUpdateSchema, PermissionModeSchema, HookEventSchema, HookInputSchema, SlashCommandSchema, AgentInfoSchema, ModelInfoSchema, AccountInfoSchema, AgentDefinitionSchema, SDKUserMessageSchema, SDKStreamlinedTextMessageSchema, SDKStreamlinedToolUseSummaryMessageSchema, SDKPostTurnSummaryMessageSchema, SDKMessageSchema, FastModeStateSchema, init_coreSchemas, readUnreadMessages, writeToMailbox, markMessagesAsRead, createIdleNotification, isPermissionRequest, isPermissionResponse, isSandboxPermissionRequest, isSandboxPermissionResponse, sendShutdownRequestToMailbox, isShutdownRequest, isPlanApprovalRequest, isShutdownApproved, isPlanApprovalResponse, isTeamPermissionUpdate, createModeSetRequestMessage, isModeSetRequest, getLastPeerDmSummary, init_teammateMailbox, permissionUpdateSchema, init_PermissionUpdateSchema, createPermissionRequest, isSwarmWorker, sendPermissionRequestViaMailbox, sendPermissionResponseViaMailbox, generateSandboxRequestId, sendSandboxPermissionRequestViaMailbox, sendSandboxPermissionResponseViaMailbox, init_permissionSync, registerPermissionCallback, hasPermissionCallback, clearAllPendingCallbacks, processMailboxPermissionResponse, registerSandboxPermissionCallback, hasSandboxPermissionCallback, processSandboxPermissionResponse, init_useSwarmPermissionPoller, TOOL_RESULTS_SUBDIR, processToolResultBlock, provisionContentReplacementState, reconstructContentReplacementState, init_toolResultStorage, registerLeaderToolUseConfirmQueue, getLeaderToolUseConfirmQueue, unregisterLeaderToolUseConfirmQueue, registerLeaderSetToolPermissionContext, unregisterLeaderSetToolPermissionContext, init_leaderPermissionBridge, exports_teammatePromptAddendum, init_teammatePromptAddendum, ensureBackendsRegistered, registerTmuxBackend, registerITermBackend, detectAndGetBackend, getBackendByType, getCachedBackend, getCachedDetectionResult, markInProcessFallback, isInProcessEnabled, getResolvedTeammateMode, getInProcessBackend, getTeammateExecutor, resetBackendDetection, init_registry, InProcessTeammateTask, injectUserMessageToTeammate, getAllInProcessTeammateTasks, getRunningTeammatesSorted, exports_InProcessTeammateTask, init_InProcessTeammateTask, getViewedTeammateTask, getActiveAgentForInput, init_selectors, useElapsedTime, init_useElapsedTime, SpinnerWithVerb, BriefIdleStatus, Spinner, init_Spinner2 as init_Spinner, ConsoleOAuthFlow, init_ConsoleOAuthFlow, extraUsage, init_extra_usage, useClaudeAiLimits, init_claudeAiLimitsHook, AssistantThinkingMessage, init_AssistantThinkingMessage, clearClassifierChecking, init_classifierApprovals, SentryErrorBoundary, init_SentryErrorBoundary, UserBashInputMessage, init_UserBashInputMessage, UserPlanMessage, init_UserPlanMessage, QueuedMessageProvider, init_QueuedMessageContext, UserTextMessage, init_UserTextMessage, diagnosticTracker, init_diagnosticTracking, FilePathLink, init_FilePathLink, PrBadge, init_PrBadge, getPillLabel, pillNeedsCta, init_pillLabel, OffscreenFreeze, init_OffscreenFreeze, hasThinkingContent, Message, init_Message, renderToolUseProgressMessage4 as renderToolUseProgressMessage, init_UI11 as init_UI, recordSkillUsage, getSkillUsageScore, init_skillUsageTracking, buildPluginTelemetryFields, buildPluginCommandTelemetryFields, logPluginsEnabledForSession, classifyPluginCommandError, logPluginLoadErrors, init_pluginTelemetry, runAgent, init_runAgent, TodoListSchema, init_types8 as init_types3, TodoWriteTool, init_TodoWriteTool, fetchEnvironments, init_environments, SelectMulti, init_SelectMulti, init_CustomSelect, TeleportError, init_TeleportError, KeybindingSetup, init_KeybindingProviderSetup, clearAllSessions, init_sessionIngress, fileHistoryEnabled, fileHistoryMakeSnapshot, fileHistoryRewind, fileHistoryCanRestore, fileHistoryGetDiffStats, fileHistoryHasAnyChanges, fileHistoryRestoreStateFromLog, copyFileHistoryForResume, init_fileHistory, init_outputsScanner, generateShortWordSlug, init_words, getPlanSlug, setPlanSlug, clearAllPlanSlugs, getPlansDirectory, getPlanFilePath, getPlan, copyPlanForResume, copyPlanForFork, init_plans, captureHooksConfigSnapshot, updateHooksConfigSnapshot, init_hooksConfigSnapshot, setEnvHookNotifier, initializeFileChangedWatcher, init_fileChangedWatcher, loadPluginHooks, clearPluginHookCache, pruneRemovedPluginHooks, resetHotReloadState, getPluginAffectingSettingsSnapshot, setupPluginHookHotReload, init_loadPluginHooks, takeInitialUserMessage, processSessionStartHooks, processSetupHooks, init_sessionStart, deserializeMessages, loadConversationForResume, init_conversationRecovery, downloadSessionFiles, parseFileSpecs, init_filesApi, generateTempFilePath, init_tempfile, validateGitState, processMessagesForTeleportResume, checkOutTeleportedSessionBranch, validateSessionRepository, teleportResumeCodeSession, teleportToRemoteWithErrorHandling, teleportFromSessionsAPI, pollRemoteSessionEvents, teleportToRemote, archiveRemoteSession, init_teleport, checkRemoteAgentEligibility, formatPreconditionError, registerRemoteAgentTask, restoreRemoteAgentTasks, RemoteAgentTask, getRemoteTaskSessionUrl, init_RemoteAgentTask, SkillTool, init_SkillTool, resetAllLSPDiagnosticState, init_LSPDiagnosticRegistry, loadPluginLspServers, init_lspPluginIntegration, getLspServerManager, getInitializationStatus, initializeLspServerManager, reinitializeLspServerManager, shutdownLspServerManager, init_manager, parseArguments, generateProgressiveArgumentHint, init_argumentSubstitution, clearPendingHint, markShownThisSession, subscribeToPendingHint, getPendingHintSnapshot, init_claudeCodeHints, isPluginBlockedByPolicy, init_pluginPolicy, resolvePluginHint, markHintPluginShown, disableHintRecommendations, init_hintRecommendation, CircularBuffer, init_CircularBuffer, validateBoundedIntEnvVar, init_envValidation, BASH_MAX_OUTPUT_UPPER_LIMIT, BASH_MAX_OUTPUT_DEFAULT, init_outputLimits, clearSessionEnvVars, init_sessionEnvVars, exec, setCwd, init_Shell, ShellProgressMessage, init_ShellProgressMessage, parseSedEditCommand, applySedSubstitution, init_sedEditParser, parsePowerShellCommandCached, getAllCommands2 as getAllCommands, init_parser3 as init_parser, isAllowlistedCommand, init_readOnlyValidation, NEVER_SUGGEST, init_dangerousCmdlets, PowerShellTool, exports_PowerShellTool, init_PowerShellTool, getSkillsPath, estimateSkillFrontmatterTokens, clearSkillCaches, onDynamicSkillsLoaded, clearDynamicSkills, init_loadSkillsDir, getStoredSessionCosts, restoreCostStateForSession, saveCurrentSessionCosts, formatCost, formatTotalCost, init_cost_tracker, CONTEXT_LINES, adjustHunkLineNumbers, getPatchFromContents, getPatchForDisplay, init_diff, fetchGitDiff, fetchGitDiffHunks, init_gitDiff, getColorModuleUnavailableReason, getSyntaxTheme2 as getSyntaxTheme, init_colorDiff, HighlightedCode, init_HighlightedCode, StructuredDiff, init_StructuredDiff, StructuredDiffList, init_StructuredDiffList, CHUNK_SIZE, openForScan, scanForContext, readCapped, init_readEditContext, findActualString, preserveQuoteStyle, getPatchForEdits, getEditsForPatch, init_utils as init_utils2, FileEditTool, init_FileEditTool, FileWriteTool, init_FileWriteTool, getGlobExclusionsForPluginCache, clearPluginCacheExclusions, init_orphanedPluginFilter, GrepTool, init_GrepTool, GlobTool, init_GlobTool, parseCellId, init_notebook, NotebookEditTool, init_NotebookEditTool, clearWebFetchCache, MAX_MARKDOWN_LENGTH, isPreapprovedUrl, validateURL, checkDomainBlocklist, isPermittedRedirect, getWithPermittedRedirects, getURLMarkdownContent, applyPromptToMarkdown, init_utils7 as init_utils3, WebFetchTool, init_WebFetchTool, readLastConsolidatedAt, init_consolidationLock, DreamTask, init_DreamTask, stopTask, init_stopTask, TaskStopTool, init_TaskStopTool, exports_BriefTool, init_BriefTool, TASK_MAX_OUTPUT_UPPER_LIMIT, TASK_MAX_OUTPUT_DEFAULT, init_outputFormatting, TaskOutputTool, init_TaskOutputTool, WebSearchTool, init_WebSearchTool, findInProcessTeammateTaskId, handlePlanApprovalResponse, init_inProcessTeammateHelpers, ExitPlanModeV2Tool, init_ExitPlanModeV2Tool, AskUserQuestionTool, init_AskUserQuestionTool, init_prompt23 as init_prompt10, ReadMcpResourceTool, init_ReadMcpResourceTool, isPlanModeInterviewPhaseEnabled, getPewterLedgerVariant, init_planModeV2, EnterPlanModeTool, init_EnterPlanModeTool, getModelOptions, init_modelOptions, init_voiceModeEnabled, validateModel, init_validateModel, registerSession, updateSessionName, updateSessionBridgeId, countConcurrentSessions, init_concurrentSessions, init_replBridgeHandle, startBackgroundSession, init_LocalMainSessionTask, buildEffectiveSystemPrompt, init_systemPrompt, resumeAgentBackground, init_resumeAgent, getAllBaseTools, filterToolsByDenyRules, getTools, assembleToolPool, init_tools2 as init_tools1, getHardcodedTeammateModelFallback, init_teammateModel, isAutoManagedMemoryFile, init_memoryFileDetection, getToolSearchOrReadInfo, getToolUseIdsFromCollapsedGroup, hasAnyToolInProgress, getDisplayMessageFromCollapsed, collapseReadSearchGroups, summarizeRecentActivities, init_collapseReadSearch, isLocalAgentTask, isPanelAgentTask, queuePendingMessage, appendMessageToLocalAgent, LocalAgentTask, killAllRunningAgentTasks, markAgentsNotified, init_LocalAgentTask, BACKGROUND_BASH_SUMMARY_PREFIX, LocalShellTask, hasForegroundTasks, backgroundAll, init_LocalShellTask, isMemoryFileAccess, registerSessionFileAccessHooks, init_sessionFileAccessHooks, init_undercover, BashTool, init_BashTool, getSimpleCommandPrefix, getFirstWordPrefix, clearSpeculativeChecks, init_bashPermissions, Stream, init_stream2 as init_stream, getErrorParts, init_toolErrors, startQueryProfile, queryCheckpoint, logQueryProfileReport, init_queryProfiler, isAutoDreamEnabled, init_config5 as init_config1, init_readFileInRange, initAutoDream, init_autoDream, getModelRegistry, init_registry2 as init_registry1, BUILTIN_PROVIDERS, PROVIDER_KEY_HELP_URLS, POPULAR_PROVIDERS, hasEnvKeyDynamic, init_presets, getConnectedProviderId, setConnectedProviderId, getConnectedModel, providerHasAuth, storeProviderApiKey, getAvailableProvidersMerged, storeProviderOAuthToken, init_state2 as init_state, getProviderRouter, init_router, init_tokenBudget, query, init_query, init_logging, getLastCacheSafeParams, createCacheSafeParams, prepareForkedCommandContext, extractResultText, createSubagentContext, runForkedAgent, init_forkedAgent, logPermissionContextForAnts, init_internalLogging, ERROR_MESSAGE_NOT_ENOUGH_MESSAGES, ERROR_MESSAGE_USER_ABORT, ERROR_MESSAGE_INCOMPLETE_RESPONSE, buildPostCompactMessages, mergeHookInstructions, compactConversation, partialCompactConversation, init_compact, runPostCompactCleanup, init_postCompactCleanup, loadSessionMemoryTemplate, buildSessionMemoryUpdatePrompt, init_prompts3 as init_prompts, shouldUseSessionMemoryCompaction, trySessionMemoryCompaction, init_sessionMemoryCompact, getEffectiveContextWindowSize, calculateTokenWarningState, isAutoCompactEnabled, init_autoCompact, countMcpToolTokens, analyzeContextUsage, init_analyzeContext, zodToJsonSchema3 as zodToJsonSchema, init_zodToJsonSchema2 as init_zodToJsonSchema, getAutoToolSearchCharThreshold, getToolSearchMode, modelSupportsToolReference, isToolSearchEnabledOptimistic, isToolSearchToolAvailable, isToolSearchEnabled, isToolReferenceBlock, extractDiscoveredToolNames, isDeferredToolsDeltaEnabled, getDeferredToolsDelta, init_toolSearch, roughTokenCountEstimation, init_tokenEstimation, registerFileReadListener, FileReadTool, init_FileReadTool, isValidImagePaste, init_textInputTypes, registerHookEventHandler, setAllHookEventsEnabled, init_hookEvents, finalizePendingAsyncHooks, init_AsyncHookRegistry, isHumanTurn, init_messagePredicates, getQueuedCommandAttachments, resetSentSkillNames, getAttachmentMessages, createAttachmentMessage, init_attachments2 as init_attachments, getPluginCommands, init_loadPluginCommands, isPluginZipCacheEnabled, getPluginZipCachePath, getZipCacheKnownMarketplacesPath, getZipCacheMarketplacesDir, getZipCachePluginsDir, cleanupSessionPluginCache, atomicWriteToZipCache, getMarketplaceJsonRelativePath, isMarketplaceSourceSupportedByZipCache, init_zipCache, clearAllCaches, markPluginVersionOrphaned, cleanupOrphanedPluginVersionsInBackground, init_cacheUtils, formatFailureDetails, getMarketplaceSourceDisplay, createPluginId, loadMarketplacesWithGracefulDegradation, formatMarketplaceLoadingErrors, getPluginTrustMessage, isSourceAllowedByPolicy, detectEmptyMarketplaceReason, init_marketplaceHelpers, fetchOfficialMarketplaceFromGcs, init_officialMarketplaceGcs, getMarketplacesCacheDir, clearMarketplacesCache, getDeclaredMarketplaces, saveMarketplaceToSettings, loadKnownMarketplacesConfig, loadKnownMarketplacesConfigSafe, saveKnownMarketplacesConfig, registerSeedMarketplaces, addMarketplaceSource, removeMarketplaceSource, getMarketplace, getPluginById, refreshAllMarketplaces, refreshMarketplace, setMarketplaceAutoUpdate, init_marketplaceManager, loadInstalledPluginsV2, removePluginInstallation, getInMemoryInstalledPlugins, loadInstalledPluginsFromDisk, updateInstallationPathOnDisk, initializeVersionedPlugins, isInstallationRelevantToCurrentProject, isPluginInstalled, isPluginGloballyInstalled, migrateFromEnabledPlugins, init_installedPluginsManager, getManagedPluginNames, init_managedPlugins, calculatePluginVersion, init_pluginVersioning, cacheAndRegisterPlugin, registerPluginInstallation, formatResolutionError, installResolvedPlugin, installPluginFromMarketplace, init_pluginInstallationHelpers, getVersionedCachePath, getVersionedZipCachePath, copyPluginToVersionedCache, cachePlugin, loadPluginManifest, loadAllPlugins, loadAllPluginsCacheOnly, clearPluginCache, init_pluginLoader, DEFAULT_OUTPUT_STYLE_NAME, OUTPUT_STYLE_CONFIG, getAllOutputStyles, init_outputStyles, withMemoryCorrectionHint, INTERRUPT_MESSAGE, INTERRUPT_MESSAGE_FOR_TOOL_USE, REJECT_MESSAGE, REJECT_MESSAGE_WITH_REASON_PREFIX, SUBAGENT_REJECT_MESSAGE, SUBAGENT_REJECT_MESSAGE_WITH_REASON_PREFIX, SYNTHETIC_MODEL, SYNTHETIC_MESSAGES, isSyntheticMessage, getLastAssistantMessage, hasToolCallsInLastAssistantTurn, createAssistantMessage, createUserMessage, prepareUserContent, createUserInterruptionMessage, createSyntheticUserCaveatMessage, formatCommandInputTags, createModelSwitchBreadcrumbs, extractTag, isNotEmptyMessage, deriveUUID, normalizeMessages, isToolUseResultMessage, reorderMessagesInUI, buildMessageLookups, EMPTY_LOOKUPS, EMPTY_STRING_SET, getSiblingToolUseIDsFromLookup, getProgressMessagesFromLookup, hasUnresolvedHooksFromLookup, getToolUseIDs, isSystemLocalCommandMessage, normalizeMessagesForAPI, isEmptyMessageText, stripPromptXMLTags, getToolUseID, getUserMessageText, textForResubmit, extractTextContent, getContentText, handleMessageFromStream, createSystemMessage, createPermissionRetryMessage, createTurnDurationMessage, createAgentsKilledMessage, createCommandInputMessage, isCompactBoundaryMessage, getMessagesAfterCompactBoundary, shouldShowUserMessage, countToolCalls, stripSignatureBlocks, init_messages3 as init_messages1, isNavigableMessage, toolCallOf, MessageActionsSelectedContext, InVirtualListContext, useMessageActions, MessageActionsBar, stripSystemReminders, init_messageActions, init_prompt14 as init_prompt11, ListMcpResourcesTool, init_ListMcpResourcesTool, ProgressBar, init_ProgressBar, _baseEach_default, init__baseEach, reject_default, init_reject, isXaaEnabled, getXaaIdpSettings, issuerKey, getCachedIdpIdToken, saveIdpIdTokenFromJwt, clearIdpIdToken, saveIdpClientSecret, getIdpClientSecret, clearIdpClientSecret, acquireIdpIdToken, init_xaaIdpLogin, AuthenticationCancelledError, revokeServerTokens, clearServerTokensFromLocalStorage, performMCPOAuthFlow, ClaudeAuthProvider, readClientSecret, saveMcpClientSecret, clearMcpClientConfig, getMcpClientConfig, init_auth5 as init_auth1, recursivelySanitizeUnicode, init_sanitization, registerElicitationHandler, runElicitationHooks, runElicitationResultHooks, init_elicitationHandler, getMcpServerConnectionBatchSize, connectToServer, clearServerCache, areMcpConfigsEqual, fetchToolsForClient, fetchResourcesForClient, fetchCommandsForClient, callIdeRpc, reconnectMcpServerImpl, getMcpToolsCommandsAndResources, prefetchAllMcpResources, setupSdkMcpClients, init_client5 as init_client, prependUserContext, logContextMetrics, init_api2 as init_api, verifyApiKey, queryModelWithoutStreaming, updateUsage, accumulateUsage, queryHaiku, queryWithModel, init_claude, splitCommand_DEPRECATED, clearCommandPrefixCaches, extractOutputRedirections, init_commands, shouldUseSandbox, init_shouldUseSandbox, permissionRuleSourceDisplayString, getAllowRules, getDenyRules, getAskRules, hasPermissionsToUseTool, deletePermissionRule, init_permissions2 as init_permissions, transitionPermissionMode, initialPermissionModeFromCLI, parseToolListFromCLI, initializeToolPermissionContext, getAutoModeUnavailableNotification, shouldDisableBypassPermissions, getAutoModeUnavailableReason, isBypassPermissionsModeDisabled, createDisabledBypassPermissionsContext, checkAndDisableBypassPermissions, prepareContextForPlanMode, transitionPlanAutoMode, init_permissionSetup, applySettingsChange, init_applySettingsChange, AppStateProvider, useAppState, useSetAppState, useAppStateStore, init_AppState, useNotifications, init_notifications, useClipboardImageHint, init_useClipboardImageHint, prependModeCharacterToInput, getModeFromInput, getValueFromInput, init_inputModes, cleanupOldPastes, init_pasteStore, getPastedTextRefNumLines, formatPastedTextRef, formatImageRef, parseReferences, expandPastedTextRefs, makeHistoryReader, getHistory, addToHistory, removeLastFromHistory, init_history, pushToKillRing, getLastKill, resetKillAccumulation, recordYank, yankPop, updateYankLength, resetYankState, isVimWordChar, isVimWhitespace, isVimPunctuation, Cursor, init_Cursor, useTextInput, init_useTextInput, BaseTextInput, init_BaseTextInput, TextInput, init_TextInput, getWorktreePaths, init_getWorktreePaths, isUltrareviewEnabled, init_ultrareviewEnabled, review_default, init_review, validateBridgeId, BridgeFatalError, createBridgeApiClient, isExpiredErrorType, isSuppressible403, init_bridgeApi, registerBridgeDebugHandle, clearBridgeDebugHandle, injectBridgeFault, wrapApiForFaultInjection, init_bridgeDebug, registerBundledSkill, init_bundledSkills, exit_default, init_exit, upgrade_default, init_upgrade, getCommandName, isCommandEnabled, builtInCommandNames, getCommands, clearCommandMemoizationCaches, clearCommandsCache, getSkillToolCommands, getSlashCommandToolSkills, REMOTE_SAFE_COMMANDS, isBridgeSafeCommand, filterCommandsForRemoteMode, findCommand, hasCommand, getCommand, formatDescriptionWithSource, init_commands2 as init_commands1, isTranscriptMessage, isChainParticipant, isEphemeralToolProgress, getProjectsDir2 as getProjectsDir, getTranscriptPath, getTranscriptPathForSession, MAX_TRANSCRIPT_READ_BYTES, setAgentTranscriptSubdir, clearAgentTranscriptSubdir, getAgentTranscriptPath, writeAgentMetadata, readAgentMetadata, writeRemoteAgentMetadata, readRemoteAgentMetadata, deleteRemoteAgentMetadata, listRemoteAgentMetadata, sessionIdExists, getNodeEnv, getUserType, isCustomTitleEnabled, getProjectDir, resetProjectFlushStateForTesting, resetProjectForTesting, setSessionFileForTesting, setInternalEventWriter, setInternalEventReader, setRemoteIngressUrlForTesting, recordTranscript, recordSidechainTranscript, recordQueueOperation, removeTranscriptMessage, recordFileHistorySnapshot, recordAttributionSnapshot, recordContentReplacement, resetSessionFilePointer, adoptResumedSessionFile, recordContextCollapseCommit, recordContextCollapseSnapshot, flushSessionStorage, hydrateRemoteSession, hydrateFromCCRv2InternalEvents, getFirstMeaningfulUserMessageTextContent, removeExtraFields, buildConversationChain, checkResumeConsistency, loadTranscriptFromFile, fetchLogs, saveCustomTitle, saveAiGeneratedTitle, saveTaskSummary, saveTag, linkSessionToPR, getCurrentSessionTag, getCurrentSessionTitle, getCurrentSessionAgentColor, restoreSessionMetadata, clearSessionMetadata, reAppendSessionMetadata, saveAgentName, saveAgentColor, saveAgentSetting, cacheSessionTitle, saveMode, saveWorktreeState, getSessionIdFromLog, isLiteLog, loadFullLog, searchSessionsByCustomTitle, loadTranscriptFile, clearSessionMessagesCache, doesMessageExistInSession, getLastSessionLog, loadMessageLogs, loadAllProjectsMessageLogs, loadAllProjectsMessageLogsProgressive, loadSameRepoMessageLogs, loadSameRepoMessageLogsProgressive, getAgentTranscript, extractAgentIdsFromMessages, extractTeammateTranscriptsFromTasks, loadSubagentTranscripts, loadAllSubagentTranscriptsFromDisk, isLoggableMessage, cleanMessagesForLogging, getLogByIndex, findUnresolvedToolUse, getSessionFilesWithMtime, loadAllLogsFromSessionFile, getSessionFilesLite, enrichLogs, exports_sessionStorage, init_sessionStorage, loadMemoryPrompt, init_memdir, getAgentMemoryDir, getMemoryScopeDisplay, loadAgentMemoryPrompt, init_agentMemory, normalizeCaseForComparison2 as normalizeCaseForComparison, getSessionMemoryDir, getSessionMemoryPath, isScratchpadEnabled, getScratchpadDir, ensureScratchpadDir, pathInAllowedWorkingPath, generateSuggestions, init_filesystem, getTaskOutputPath, evictTaskOutput, initTaskOutputAsSymlink, init_diskOutput, isTerminalTaskStatus, init_Task, hookJSONOutputSchema, init_hooks2 as init_hooks, createCombinedAbortSignal, init_combinedAbortSignal, registerStructuredOutputEnforcement, init_hookHelpers, getSessionEndHookTimeoutMs, shouldSkipHookDueToTrust, createBaseHookInput, getMatchingHooks, getPreToolHookBlockingMessage, getStopHookMessage, getTeammateIdleHookMessage, getTaskCreatedHookMessage, getTaskCompletedHookMessage, getUserPromptSubmitHookBlockingMessage, hasBlockingResult, executePreToolHooks, executePostToolHooks, executePostToolUseFailureHooks, executePermissionDeniedHooks2 as executePermissionDeniedHooks, executeNotificationHooks, executeStopFailureHooks, executeStopHooks, executeTeammateIdleHooks, executeTaskCreatedHooks, executeTaskCompletedHooks, executeUserPromptSubmitHooks, executeSessionStartHooks, executeSetupHooks, executeSubagentStartHooks, executePreCompactHooks, executePostCompactHooks, executeSessionEndHooks, executePermissionRequestHooks, executeConfigChangeHooks, executeCwdChangedHooks, executeFileChangedHooks, hasInstructionsLoadedHook, executeInstructionsLoadedHooks, executeElicitationHooks, executeElicitationResultHooks, executeStatusLineCommand, executeFileSuggestionCommand, hasWorktreeCreateHook, executeWorktreeCreateHook, executeWorktreeRemoveHook, init_hooks3 as init_hooks1, validateWorktreeSlug, getCurrentWorktreeSession, restoreWorktreeSession, generateTmuxSessionName, worktreeBranchName, copyWorktreeIncludeFiles, parsePRReference, isTmuxAvailable2 as isTmuxAvailable, getTmuxInstallInstructions, createTmuxSessionForWorktree, killTmuxSession, createWorktreeForSession, keepWorktree, cleanupWorktree, createAgentWorktree, removeAgentWorktree, cleanupStaleAgentWorktrees, hasWorktreeChanges, execIntoTmuxWorktree, init_worktree, CLAUDE_CODE_DOCS_MAP_URL2 as CLAUDE_CODE_DOCS_MAP_URL, SYSTEM_PROMPT_DYNAMIC_BOUNDARY, prependBullets, getSystemPrompt, computeEnvInfo, computeSimpleEnvInfo, getUnameSR, DEFAULT_AGENT_PROMPT, enhanceSystemPromptWithEnvDetails, getScratchpadInstructions, init_prompts as init_prompts1 };