aemeathcli 1.0.11 → 1.0.12

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 (218) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +620 -609
  3. package/dist/{App-YAHJUWCX.js → App-JQ622M66.js} +209 -52
  4. package/dist/App-JQ622M66.js.map +1 -0
  5. package/dist/agent-store/architect.md +32 -32
  6. package/dist/agent-store/debugger.md +32 -32
  7. package/dist/agent-store/developer.md +29 -29
  8. package/dist/agent-store/documenter.md +30 -30
  9. package/dist/agent-store/researcher.md +31 -31
  10. package/dist/agent-store/reviewer.md +28 -28
  11. package/dist/agent-store/supervisor.md +37 -37
  12. package/dist/agent-store/tester.md +30 -30
  13. package/dist/api-key-fallback-RJLPM3KH.js +11 -0
  14. package/dist/{api-key-fallback-UN3TJEOO.js.map → api-key-fallback-RJLPM3KH.js.map} +1 -1
  15. package/dist/auth-status-JQJOKUPF.js +13 -0
  16. package/dist/{auth-status-EIM5A5KL.js.map → auth-status-JQJOKUPF.js.map} +1 -1
  17. package/dist/{chunk-P66WDACW.js → chunk-2KMA5RBC.js} +18 -42
  18. package/dist/chunk-2KMA5RBC.js.map +1 -0
  19. package/dist/{chunk-2GKOK6T7.js → chunk-2Y7TR6BS.js} +2 -2
  20. package/dist/chunk-2Y7TR6BS.js.map +1 -0
  21. package/dist/{chunk-ONQ4WCUI.js → chunk-2ZYK5IJG.js} +6 -6
  22. package/dist/chunk-2ZYK5IJG.js.map +1 -0
  23. package/dist/{chunk-OCJPQFOR.js → chunk-36RXCZOV.js} +4 -4
  24. package/dist/chunk-36RXCZOV.js.map +1 -0
  25. package/dist/{chunk-H2SYKIMI.js → chunk-7EBLXPL4.js} +10 -10
  26. package/dist/chunk-7EBLXPL4.js.map +1 -0
  27. package/dist/{chunk-IARA5XYP.js → chunk-BIMQL4AG.js} +4 -4
  28. package/dist/chunk-BIMQL4AG.js.map +1 -0
  29. package/dist/{chunk-BY4DAKUU.js → chunk-D275MCIH.js} +2 -2
  30. package/dist/chunk-D275MCIH.js.map +1 -0
  31. package/dist/{chunk-SOQFMNQC.js → chunk-FFS4T7BZ.js} +5 -5
  32. package/dist/chunk-FFS4T7BZ.js.map +1 -0
  33. package/dist/{chunk-LDVY5ELP.js → chunk-GXAJGP2T.js} +5 -5
  34. package/dist/chunk-GXAJGP2T.js.map +1 -0
  35. package/dist/{chunk-62HSGYQD.js → chunk-HCIHOHLX.js} +2 -2
  36. package/dist/chunk-HCIHOHLX.js.map +1 -0
  37. package/dist/{chunk-6GUD7QIM.js → chunk-HESQLCLU.js} +4 -4
  38. package/dist/chunk-HESQLCLU.js.map +1 -0
  39. package/dist/{chunk-HEKFAKVH.js → chunk-IR5HLBMH.js} +2 -2
  40. package/dist/chunk-IR5HLBMH.js.map +1 -0
  41. package/dist/{chunk-2LF7ALGR.js → chunk-K2FCMRXH.js} +4 -4
  42. package/dist/chunk-K2FCMRXH.js.map +1 -0
  43. package/dist/{chunk-2NWNIKBK.js → chunk-KIC7UI5U.js} +4 -4
  44. package/dist/chunk-KIC7UI5U.js.map +1 -0
  45. package/dist/{chunk-YPFOE2QJ.js → chunk-KMOAJRDE.js} +5 -5
  46. package/dist/chunk-KMOAJRDE.js.map +1 -0
  47. package/dist/{chunk-RP2TAL3J.js → chunk-LQBALETG.js} +2 -2
  48. package/dist/chunk-LQBALETG.js.map +1 -0
  49. package/dist/{chunk-CC7MGWYY.js → chunk-M3FPQSRU.js} +2 -2
  50. package/dist/chunk-M3FPQSRU.js.map +1 -0
  51. package/dist/{chunk-3TSPZRGM.js → chunk-NQEUK763.js} +3 -3
  52. package/dist/chunk-NQEUK763.js.map +1 -0
  53. package/dist/{chunk-VBLLDY4R.js → chunk-OPWAFS6Y.js} +2 -2
  54. package/dist/chunk-OPWAFS6Y.js.map +1 -0
  55. package/dist/{chunk-RYOB3TLZ.js → chunk-PS4WEFW6.js} +6 -6
  56. package/dist/chunk-PS4WEFW6.js.map +1 -0
  57. package/dist/{chunk-LCYH4T6N.js → chunk-QK7TKNHV.js} +6 -6
  58. package/dist/chunk-QK7TKNHV.js.map +1 -0
  59. package/dist/{chunk-QCRK4QEL.js → chunk-RADJSEG5.js} +3 -3
  60. package/dist/chunk-RADJSEG5.js.map +1 -0
  61. package/dist/{chunk-AQ23TYSQ.js → chunk-SNWPI6XJ.js} +4 -4
  62. package/dist/chunk-SNWPI6XJ.js.map +1 -0
  63. package/dist/{chunk-TDFTX32B.js → chunk-UM7MSLOV.js} +4 -4
  64. package/dist/chunk-UM7MSLOV.js.map +1 -0
  65. package/dist/{chunk-FIC7AK4Q.js → chunk-VNZ3YTQD.js} +5 -5
  66. package/dist/chunk-VNZ3YTQD.js.map +1 -0
  67. package/dist/{chunk-5XFSV6PF.js → chunk-WXIN65UG.js} +6 -6
  68. package/dist/chunk-WXIN65UG.js.map +1 -0
  69. package/dist/{chunk-WC72BRHR.js → chunk-XEXWX7C7.js} +3 -3
  70. package/dist/chunk-XEXWX7C7.js.map +1 -0
  71. package/dist/{chunk-VJNQJALF.js → chunk-YCCYXDW7.js} +4 -4
  72. package/dist/chunk-YCCYXDW7.js.map +1 -0
  73. package/dist/{chunk-ROJPFPJ7.js → chunk-YL5XFHR3.js} +2 -2
  74. package/dist/chunk-YL5XFHR3.js.map +1 -0
  75. package/dist/{chunk-GU33WKPG.js → chunk-YPQ2MLAV.js} +5 -5
  76. package/dist/chunk-YPQ2MLAV.js.map +1 -0
  77. package/dist/{chunk-WAYSJMPS.js → chunk-ZCOVMVK4.js} +2 -2
  78. package/dist/chunk-ZCOVMVK4.js.map +1 -0
  79. package/dist/{chunk-473JN6M5.js → chunk-ZGOHARPV.js} +2 -2
  80. package/dist/chunk-ZGOHARPV.js.map +1 -0
  81. package/dist/{claude-login-IS5WTBMP.js → claude-login-AIFIWTYF.js} +10 -10
  82. package/dist/claude-login-AIFIWTYF.js.map +1 -0
  83. package/dist/cli.js +30 -30
  84. package/dist/cli.js.map +1 -1
  85. package/dist/{codex-login-GMPF64MR.js → codex-login-LW5X7GAM.js} +10 -10
  86. package/dist/codex-login-LW5X7GAM.js.map +1 -0
  87. package/dist/config-store-NF56VHFU.js +7 -0
  88. package/dist/{config-store-POB6I37G.js.map → config-store-NF56VHFU.js.map} +1 -1
  89. package/dist/conversation-store-7GRDQZD2.js +4 -0
  90. package/dist/{conversation-store-PRBHWQMJ.js.map → conversation-store-7GRDQZD2.js.map} +1 -1
  91. package/dist/detect-providers-QICJ5U3R.js +4 -0
  92. package/dist/{detect-providers-C4SVQHFF.js.map → detect-providers-QICJ5U3R.js.map} +1 -1
  93. package/dist/executor-FTABX2AW.js +4 -0
  94. package/dist/{executor-RUX7VK3T.js.map → executor-FTABX2AW.js.map} +1 -1
  95. package/dist/{first-run-GDEVRFPO.js → first-run-ADROZVYF.js} +13 -13
  96. package/dist/first-run-ADROZVYF.js.map +1 -0
  97. package/dist/{gemini-login-KE224MSW.js → gemini-login-TST454MX.js} +10 -10
  98. package/dist/gemini-login-TST454MX.js.map +1 -0
  99. package/dist/index.d.ts +2 -56
  100. package/dist/index.js +30 -34
  101. package/dist/index.js.map +1 -1
  102. package/dist/{input-history-MIOO3FIW.js → input-history-BEICE7PT.js} +3 -3
  103. package/dist/input-history-BEICE7PT.js.map +1 -0
  104. package/dist/kimi-adapter-7FYOAKOI.js +6 -0
  105. package/dist/{kimi-adapter-UODMNX6K.js.map → kimi-adapter-7FYOAKOI.js.map} +1 -1
  106. package/dist/{kimi-login-DNT5YBKX.js → kimi-login-3IGVOBJI.js} +10 -10
  107. package/dist/kimi-login-3IGVOBJI.js.map +1 -0
  108. package/dist/logger-KGHUQ4VE.js +3 -0
  109. package/dist/{logger-PLPDWACQ.js.map → logger-KGHUQ4VE.js.map} +1 -1
  110. package/dist/model-discovery-AAJDHRFO.js +6 -0
  111. package/dist/{model-discovery-O64ZWPX5.js.map → model-discovery-AAJDHRFO.js.map} +1 -1
  112. package/dist/native-cli-adapters-CLONTZOA.js +8 -0
  113. package/dist/{native-cli-adapters-JMZX2C2C.js.map → native-cli-adapters-CLONTZOA.js.map} +1 -1
  114. package/dist/ollama-adapter-2N5OQIEV.js +5 -0
  115. package/dist/{ollama-adapter-GE67BNSS.js.map → ollama-adapter-2N5OQIEV.js.map} +1 -1
  116. package/dist/{pathResolver-A6IXQQFE.js → pathResolver-UVAB2FCW.js} +3 -3
  117. package/dist/{pathResolver-A6IXQQFE.js.map → pathResolver-UVAB2FCW.js.map} +1 -1
  118. package/dist/{profile-loader-TNAXBLDX.js → profile-loader-EMLV4J7S.js} +4 -4
  119. package/dist/profile-loader-EMLV4J7S.js.map +1 -0
  120. package/dist/registry-LRURZVUL.js +5 -0
  121. package/dist/{registry-3NHVCXCZ.js.map → registry-LRURZVUL.js.map} +1 -1
  122. package/dist/registry-MVNSXCEF.js +6 -0
  123. package/dist/{registry-7CQ3NCAD.js.map → registry-MVNSXCEF.js.map} +1 -1
  124. package/dist/server-manager-THGZBBZB.js +5 -0
  125. package/dist/{server-manager-DES23IBQ.js.map → server-manager-THGZBBZB.js.map} +1 -1
  126. package/dist/session-manager-X3DXT53M.js +12 -0
  127. package/dist/{session-manager-EHD7GWM2.js.map → session-manager-X3DXT53M.js.map} +1 -1
  128. package/dist/skills/built-in/code-review/SKILL.md +85 -85
  129. package/dist/skills/built-in/commit/SKILL.md +83 -83
  130. package/dist/skills/built-in/debug/SKILL.md +119 -119
  131. package/dist/skills/built-in/plan/SKILL.md +123 -123
  132. package/dist/skills/built-in/refactor/SKILL.md +132 -132
  133. package/dist/skills/built-in/test/SKILL.md +128 -128
  134. package/dist/sqlite-store-7OECRTXM.js +5 -0
  135. package/dist/{sqlite-store-7ZIVOUNI.js.map → sqlite-store-7OECRTXM.js.map} +1 -1
  136. package/dist/team-manager-2VSMALAA.js +11 -0
  137. package/dist/{team-manager-6DCNLGTC.js.map → team-manager-2VSMALAA.js.map} +1 -1
  138. package/dist/team-state-HZNVMQHT.js +3 -0
  139. package/dist/{team-state-R2D7DT5M.js.map → team-state-HZNVMQHT.js.map} +1 -1
  140. package/dist/tmux-manager-57QCUVHU.js +6 -0
  141. package/dist/{tmux-manager-WBKHUHDT.js.map → tmux-manager-57QCUVHU.js.map} +1 -1
  142. package/dist/tools-KWFSYT56.js +6 -0
  143. package/dist/{tools-I6XCTEZY.js.map → tools-KWFSYT56.js.map} +1 -1
  144. package/package.json +89 -93
  145. package/dist/App-YAHJUWCX.js.map +0 -1
  146. package/dist/api-key-fallback-UN3TJEOO.js +0 -11
  147. package/dist/auth-status-EIM5A5KL.js +0 -13
  148. package/dist/chunk-25UNNEHN.js +0 -140
  149. package/dist/chunk-25UNNEHN.js.map +0 -1
  150. package/dist/chunk-2GKOK6T7.js.map +0 -1
  151. package/dist/chunk-2LF7ALGR.js.map +0 -1
  152. package/dist/chunk-2NWNIKBK.js.map +0 -1
  153. package/dist/chunk-3TSPZRGM.js.map +0 -1
  154. package/dist/chunk-473JN6M5.js.map +0 -1
  155. package/dist/chunk-5XFSV6PF.js.map +0 -1
  156. package/dist/chunk-62HSGYQD.js.map +0 -1
  157. package/dist/chunk-6GUD7QIM.js.map +0 -1
  158. package/dist/chunk-AQ23TYSQ.js.map +0 -1
  159. package/dist/chunk-BY4DAKUU.js.map +0 -1
  160. package/dist/chunk-CC7MGWYY.js.map +0 -1
  161. package/dist/chunk-CTFZTARK.js +0 -155
  162. package/dist/chunk-CTFZTARK.js.map +0 -1
  163. package/dist/chunk-FIC7AK4Q.js.map +0 -1
  164. package/dist/chunk-GU33WKPG.js.map +0 -1
  165. package/dist/chunk-H2SYKIMI.js.map +0 -1
  166. package/dist/chunk-HEKFAKVH.js.map +0 -1
  167. package/dist/chunk-IARA5XYP.js.map +0 -1
  168. package/dist/chunk-LCYH4T6N.js.map +0 -1
  169. package/dist/chunk-LDVY5ELP.js.map +0 -1
  170. package/dist/chunk-OCJPQFOR.js.map +0 -1
  171. package/dist/chunk-ODBY7S4X.js +0 -141
  172. package/dist/chunk-ODBY7S4X.js.map +0 -1
  173. package/dist/chunk-ONQ4WCUI.js.map +0 -1
  174. package/dist/chunk-P5TKZM3T.js +0 -159
  175. package/dist/chunk-P5TKZM3T.js.map +0 -1
  176. package/dist/chunk-P66WDACW.js.map +0 -1
  177. package/dist/chunk-QCRK4QEL.js.map +0 -1
  178. package/dist/chunk-ROJPFPJ7.js.map +0 -1
  179. package/dist/chunk-RP2TAL3J.js.map +0 -1
  180. package/dist/chunk-RYOB3TLZ.js.map +0 -1
  181. package/dist/chunk-SOQFMNQC.js.map +0 -1
  182. package/dist/chunk-TDFTX32B.js.map +0 -1
  183. package/dist/chunk-VBLLDY4R.js.map +0 -1
  184. package/dist/chunk-VJNQJALF.js.map +0 -1
  185. package/dist/chunk-WAYSJMPS.js.map +0 -1
  186. package/dist/chunk-WC72BRHR.js.map +0 -1
  187. package/dist/chunk-YPFOE2QJ.js.map +0 -1
  188. package/dist/claude-adapter-6P4SJH7P.js +0 -7
  189. package/dist/claude-adapter-6P4SJH7P.js.map +0 -1
  190. package/dist/claude-login-IS5WTBMP.js.map +0 -1
  191. package/dist/codex-login-GMPF64MR.js.map +0 -1
  192. package/dist/config-store-POB6I37G.js +0 -7
  193. package/dist/conversation-store-PRBHWQMJ.js +0 -4
  194. package/dist/detect-providers-C4SVQHFF.js +0 -4
  195. package/dist/executor-RUX7VK3T.js +0 -4
  196. package/dist/first-run-GDEVRFPO.js.map +0 -1
  197. package/dist/gemini-adapter-MV3U4QFH.js +0 -7
  198. package/dist/gemini-adapter-MV3U4QFH.js.map +0 -1
  199. package/dist/gemini-login-KE224MSW.js.map +0 -1
  200. package/dist/input-history-MIOO3FIW.js.map +0 -1
  201. package/dist/kimi-adapter-UODMNX6K.js +0 -6
  202. package/dist/kimi-login-DNT5YBKX.js.map +0 -1
  203. package/dist/logger-PLPDWACQ.js +0 -3
  204. package/dist/model-discovery-O64ZWPX5.js +0 -6
  205. package/dist/native-cli-adapters-JMZX2C2C.js +0 -8
  206. package/dist/ollama-adapter-GE67BNSS.js +0 -5
  207. package/dist/openai-adapter-SHPLK77L.js +0 -7
  208. package/dist/openai-adapter-SHPLK77L.js.map +0 -1
  209. package/dist/profile-loader-TNAXBLDX.js.map +0 -1
  210. package/dist/registry-3NHVCXCZ.js +0 -6
  211. package/dist/registry-7CQ3NCAD.js +0 -5
  212. package/dist/server-manager-DES23IBQ.js +0 -5
  213. package/dist/session-manager-EHD7GWM2.js +0 -12
  214. package/dist/sqlite-store-7ZIVOUNI.js +0 -5
  215. package/dist/team-manager-6DCNLGTC.js +0 -11
  216. package/dist/team-state-R2D7DT5M.js +0 -3
  217. package/dist/tmux-manager-WBKHUHDT.js +0 -6
  218. package/dist/tools-I6XCTEZY.js +0 -6
@@ -1,15 +1,15 @@
1
- import { getCliProviderEntry, getCliProviderForModelProvider } from './chunk-RP2TAL3J.js';
2
- import { getActiveTeamName, getActiveTeamManager, getActiveTmuxCleanup, setActiveTmuxCleanup, setActiveTeamManager, setActiveTeamName } from './chunk-WAYSJMPS.js';
3
- import { CostTracker } from './chunk-ONQ4WCUI.js';
4
- import { getEventBus } from './chunk-ROJPFPJ7.js';
5
- import { createModelRouter } from './chunk-GU33WKPG.js';
6
- import { formatCost, formatTokenCount } from './chunk-VJNQJALF.js';
7
- import './chunk-VBLLDY4R.js';
8
- import { DEFAULT_CONFIG, PACKAGE_VERSION } from './chunk-2GKOK6T7.js';
9
- import './chunk-473JN6M5.js';
10
- import { getThinkingConfigForModel, SUPPORTED_MODELS, PROVIDER_MODEL_ORDER } from './chunk-62HSGYQD.js';
11
- import './chunk-HEKFAKVH.js';
12
- import './chunk-BY4DAKUU.js';
1
+ import { getCliProviderEntry, getCliProviderForModelProvider } from './chunk-LQBALETG.js';
2
+ import { getActiveTeamName, getActiveTeamManager, getActiveTmuxCleanup, setActiveTmuxCleanup, setActiveTeamManager, setActiveTeamName } from './chunk-ZCOVMVK4.js';
3
+ import { CostTracker } from './chunk-2ZYK5IJG.js';
4
+ import { getEventBus } from './chunk-YL5XFHR3.js';
5
+ import { createModelRouter } from './chunk-YPQ2MLAV.js';
6
+ import { formatCost, formatTokenCount } from './chunk-YCCYXDW7.js';
7
+ import './chunk-OPWAFS6Y.js';
8
+ import './chunk-ZGOHARPV.js';
9
+ import { getThinkingConfigForModel, SUPPORTED_MODELS, PROVIDER_MODEL_ORDER } from './chunk-HCIHOHLX.js';
10
+ import { DEFAULT_CONFIG, PACKAGE_VERSION } from './chunk-2Y7TR6BS.js';
11
+ import './chunk-IR5HLBMH.js';
12
+ import './chunk-D275MCIH.js';
13
13
  import React11, { useRef, useState, useCallback, useEffect, useMemo, startTransition } from 'react';
14
14
  import { Box, Text, render, useInput } from 'ink';
15
15
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
@@ -2484,7 +2484,7 @@ async function handleTeamCommand(args, ctx) {
2484
2484
  }
2485
2485
  if (subcommand === "list") {
2486
2486
  try {
2487
- const { TeamManager } = await import('./team-manager-6DCNLGTC.js');
2487
+ const { TeamManager } = await import('./team-manager-2VSMALAA.js');
2488
2488
  const manager = new TeamManager();
2489
2489
  const teams = manager.listTeams();
2490
2490
  if (teams.length === 0) {
@@ -2510,7 +2510,7 @@ async function handleMcpCommand(args, ctx) {
2510
2510
  const subcommand = args[0];
2511
2511
  if (subcommand === "list") {
2512
2512
  try {
2513
- const { MCPServerManager } = await import('./server-manager-DES23IBQ.js');
2513
+ const { MCPServerManager } = await import('./server-manager-THGZBBZB.js');
2514
2514
  const manager = new MCPServerManager();
2515
2515
  const connected = manager.getConnectedServers();
2516
2516
  if (connected.length === 0) {
@@ -2561,8 +2561,8 @@ async function handleSkillCommand(args, ctx) {
2561
2561
  const subcommand = args[0];
2562
2562
  if (subcommand === "list") {
2563
2563
  try {
2564
- const { SkillRegistry } = await import('./registry-7CQ3NCAD.js');
2565
- const { findProjectRoot } = await import('./pathResolver-A6IXQQFE.js');
2564
+ const { SkillRegistry } = await import('./registry-LRURZVUL.js');
2565
+ const { findProjectRoot } = await import('./pathResolver-UVAB2FCW.js');
2566
2566
  const registry = new SkillRegistry();
2567
2567
  await registry.initialize(findProjectRoot());
2568
2568
  const skills = registry.listAll();
@@ -2597,9 +2597,9 @@ async function handleSkillInvocation(input, setMessages) {
2597
2597
  { id: v4Id(), role: "user", content: input, createdAt: /* @__PURE__ */ new Date() }
2598
2598
  ]);
2599
2599
  try {
2600
- const { SkillRegistry } = await import('./registry-7CQ3NCAD.js');
2601
- const { SkillExecutor } = await import('./executor-RUX7VK3T.js');
2602
- const { findProjectRoot } = await import('./pathResolver-A6IXQQFE.js');
2600
+ const { SkillRegistry } = await import('./registry-LRURZVUL.js');
2601
+ const { SkillExecutor } = await import('./executor-FTABX2AW.js');
2602
+ const { findProjectRoot } = await import('./pathResolver-UVAB2FCW.js');
2603
2603
  const registry = new SkillRegistry();
2604
2604
  await registry.initialize(findProjectRoot());
2605
2605
  const executor = new SkillExecutor(registry);
@@ -2634,7 +2634,7 @@ async function handleLoginSlashCommand(args, ctx) {
2634
2634
  const subcommand = args[0];
2635
2635
  if (subcommand === "status") {
2636
2636
  try {
2637
- const { getAuthStatusRecords, formatCompactAuthStatusLine } = await import('./auth-status-EIM5A5KL.js');
2637
+ const { getAuthStatusRecords, formatCompactAuthStatusLine } = await import('./auth-status-JQJOKUPF.js');
2638
2638
  const records = await getAuthStatusRecords();
2639
2639
  const lines = records.map((record) => formatCompactAuthStatusLine(record));
2640
2640
  addSystemMessage(ctx, lines.join("\n"));
@@ -2665,19 +2665,19 @@ async function handleLoginSlashCommand(args, ctx) {
2665
2665
  async function loadLoginModuleForSlash(provider) {
2666
2666
  switch (provider) {
2667
2667
  case "claude": {
2668
- const mod = await import('./claude-login-IS5WTBMP.js');
2668
+ const mod = await import('./claude-login-AIFIWTYF.js');
2669
2669
  return new mod.ClaudeLogin();
2670
2670
  }
2671
2671
  case "codex": {
2672
- const mod = await import('./codex-login-GMPF64MR.js');
2672
+ const mod = await import('./codex-login-LW5X7GAM.js');
2673
2673
  return new mod.CodexLogin();
2674
2674
  }
2675
2675
  case "gemini": {
2676
- const mod = await import('./gemini-login-KE224MSW.js');
2676
+ const mod = await import('./gemini-login-TST454MX.js');
2677
2677
  return new mod.GeminiLogin();
2678
2678
  }
2679
2679
  case "kimi": {
2680
- const mod = await import('./kimi-login-DNT5YBKX.js');
2680
+ const mod = await import('./kimi-login-3IGVOBJI.js');
2681
2681
  return new mod.KimiLogin();
2682
2682
  }
2683
2683
  default:
@@ -2691,7 +2691,7 @@ async function handleConfigSlashCommand(args, ctx) {
2691
2691
  if (subcommand === "get") {
2692
2692
  const key = args[1];
2693
2693
  try {
2694
- const { ConfigStore } = await import('./config-store-POB6I37G.js');
2694
+ const { ConfigStore } = await import('./config-store-NF56VHFU.js');
2695
2695
  const store = new ConfigStore();
2696
2696
  const cfg = store.loadGlobal();
2697
2697
  if (!key) {
@@ -2718,7 +2718,7 @@ async function handleConfigSlashCommand(args, ctx) {
2718
2718
  return;
2719
2719
  }
2720
2720
  try {
2721
- const { ConfigStore } = await import('./config-store-POB6I37G.js');
2721
+ const { ConfigStore } = await import('./config-store-NF56VHFU.js');
2722
2722
  const store = new ConfigStore();
2723
2723
  const cfg = store.loadGlobal();
2724
2724
  let parsedValue;
@@ -2763,8 +2763,8 @@ function setNestedConfigValue(obj, path, value) {
2763
2763
  // src/ui/commands/history-commands.ts
2764
2764
  async function handleHistoryCommand(ctx) {
2765
2765
  try {
2766
- const { SqliteStore } = await import('./sqlite-store-7ZIVOUNI.js');
2767
- const { ConversationStore } = await import('./conversation-store-PRBHWQMJ.js');
2766
+ const { SqliteStore } = await import('./sqlite-store-7OECRTXM.js');
2767
+ const { ConversationStore } = await import('./conversation-store-7GRDQZD2.js');
2768
2768
  const db = new SqliteStore();
2769
2769
  db.open();
2770
2770
  const store = new ConversationStore(db);
@@ -2797,8 +2797,8 @@ async function handleResumeCommand(arg, ctx) {
2797
2797
  return;
2798
2798
  }
2799
2799
  try {
2800
- const { SqliteStore } = await import('./sqlite-store-7ZIVOUNI.js');
2801
- const { ConversationStore } = await import('./conversation-store-PRBHWQMJ.js');
2800
+ const { SqliteStore } = await import('./sqlite-store-7OECRTXM.js');
2801
+ const { ConversationStore } = await import('./conversation-store-7GRDQZD2.js');
2802
2802
  const db = new SqliteStore();
2803
2803
  db.open();
2804
2804
  const store = new ConversationStore(db);
@@ -2952,7 +2952,7 @@ Valid roles: ${validRoles.join(", ")}`);
2952
2952
  break;
2953
2953
  case "/quit":
2954
2954
  case "/exit": {
2955
- const { getActiveTeamManager: getActiveTeamManager2, getActiveTeamName: getActiveTeamName2, getActiveTmuxCleanup: getActiveTmuxCleanup2 } = await import('./team-state-R2D7DT5M.js');
2955
+ const { getActiveTeamManager: getActiveTeamManager2, getActiveTeamName: getActiveTeamName2, getActiveTmuxCleanup: getActiveTmuxCleanup2 } = await import('./team-state-HZNVMQHT.js');
2956
2956
  const teamCleanup = getActiveTmuxCleanup2();
2957
2957
  if (teamCleanup) {
2958
2958
  try {
@@ -2980,8 +2980,8 @@ Valid roles: ${validRoles.join(", ")}`);
2980
2980
  var convDbRef;
2981
2981
  async function persistMessages(projectRoot, userMsg, assistantMsg, model, provider) {
2982
2982
  try {
2983
- const { SqliteStore } = await import('./sqlite-store-7ZIVOUNI.js');
2984
- const { ConversationStore } = await import('./conversation-store-PRBHWQMJ.js');
2983
+ const { SqliteStore } = await import('./sqlite-store-7OECRTXM.js');
2984
+ const { ConversationStore } = await import('./conversation-store-7GRDQZD2.js');
2985
2985
  if (!convDbRef) {
2986
2986
  const db = new SqliteStore();
2987
2987
  db.open();
@@ -3003,7 +3003,7 @@ async function persistMessages(projectRoot, userMsg, assistantMsg, model, provid
3003
3003
  content: assistantMsg.content
3004
3004
  });
3005
3005
  } catch (error) {
3006
- const { logger } = await import('./logger-PLPDWACQ.js');
3006
+ const { logger } = await import('./logger-KGHUQ4VE.js');
3007
3007
  const msg = error instanceof Error ? error.message : String(error);
3008
3008
  logger.warn({ error: msg }, "Conversation persistence failed");
3009
3009
  }
@@ -3220,7 +3220,7 @@ async function handlePromptBasedTeamCreation(input, setMessages, panel, getRegis
3220
3220
  ]);
3221
3221
  try {
3222
3222
  const registry = await getRegistry();
3223
- const { detectInstalledProviders } = await import('./detect-providers-C4SVQHFF.js');
3223
+ const { detectInstalledProviders } = await import('./detect-providers-QICJ5U3R.js');
3224
3224
  const installedClis = detectInstalledProviders();
3225
3225
  const prioritizedMasterProviders = resolveMasterProviderPriority(swarmConfig, installedClis);
3226
3226
  const availableModels = getAvailableModelsForProviders(installedClis);
@@ -3424,6 +3424,40 @@ The sponsoring lead agent must use ${primaryMasterLabel} when possible.`;
3424
3424
  leadCoordinationTask
3425
3425
  );
3426
3426
  }
3427
+ const isGhostty = process.platform === "darwin" && process.env["TERM_PROGRAM"] === "ghostty";
3428
+ if (isGhostty) {
3429
+ return await launchGhostty(
3430
+ agentSpecs,
3431
+ leadSpec,
3432
+ workerCommands,
3433
+ teamName,
3434
+ tempDir,
3435
+ boardDir,
3436
+ fs,
3437
+ path,
3438
+ execaPane,
3439
+ setMessages,
3440
+ formatAgentLines,
3441
+ leadCoordinationTask
3442
+ );
3443
+ }
3444
+ const isTerminalApp = process.platform === "darwin" && process.env["TERM_PROGRAM"] === "Apple_Terminal";
3445
+ if (isTerminalApp) {
3446
+ return await launchTerminalApp(
3447
+ agentSpecs,
3448
+ leadSpec,
3449
+ workerCommands,
3450
+ teamName,
3451
+ tempDir,
3452
+ boardDir,
3453
+ fs,
3454
+ path,
3455
+ execaPane,
3456
+ setMessages,
3457
+ formatAgentLines,
3458
+ leadCoordinationTask
3459
+ );
3460
+ }
3427
3461
  if (isWindowsTerminal) {
3428
3462
  return await launchWindowsTerminal(
3429
3463
  agentSpecs,
@@ -3440,7 +3474,7 @@ The sponsoring lead agent must use ${primaryMasterLabel} when possible.`;
3440
3474
  projectRoot
3441
3475
  );
3442
3476
  }
3443
- const { TmuxManager } = await import('./tmux-manager-WBKHUHDT.js');
3477
+ const { TmuxManager } = await import('./tmux-manager-57QCUVHU.js');
3444
3478
  const tmux = new TmuxManager();
3445
3479
  const tmuxAvailable = await tmux.isAvailable();
3446
3480
  if (tmuxAvailable) {
@@ -3545,6 +3579,129 @@ ${agentLines.join("\n")}
3545
3579
  );
3546
3580
  return leadCoordinationTask;
3547
3581
  }
3582
+ async function launchGhostty(agentSpecs, leadSpec, workerCommands, teamName, tempDir, boardDir, fs, path, execaPane, setMessages, formatAgentLines, leadCoordinationTask) {
3583
+ sysMsg(setMessages, `Designed ${agentSpecs.length}-agent team. Creating Ghostty split panes...`);
3584
+ const asEscape = (s) => s.replace(/\\/gu, "\\\\").replace(/"/gu, '\\"');
3585
+ const scriptLines = [];
3586
+ scriptLines.push('tell application "Ghostty" to activate');
3587
+ scriptLines.push("delay 0.5");
3588
+ scriptLines.push('tell application "System Events"');
3589
+ for (const [i, agent] of workerCommands.entries()) {
3590
+ if (i === 0) {
3591
+ scriptLines.push(' keystroke "d" using {command down}');
3592
+ } else {
3593
+ scriptLines.push(' keystroke "d" using {command down, shift down}');
3594
+ }
3595
+ scriptLines.push(" delay 1.0");
3596
+ const escapedCmd = asEscape(agent.command);
3597
+ scriptLines.push(` keystroke "${escapedCmd}"`);
3598
+ scriptLines.push(" delay 0.2");
3599
+ scriptLines.push(" keystroke return");
3600
+ scriptLines.push(" delay 0.5");
3601
+ }
3602
+ if (workerCommands.length > 0) {
3603
+ for (let i = 0; i < workerCommands.length; i++) {
3604
+ scriptLines.push(" key code 123 using {command down, option down}");
3605
+ scriptLines.push(" delay 0.2");
3606
+ }
3607
+ }
3608
+ scriptLines.push("end tell");
3609
+ const scriptFile = path.join(tempDir, "create-panes.applescript");
3610
+ fs.writeFileSync(scriptFile, scriptLines.join("\n"), "utf-8");
3611
+ try {
3612
+ await execaPane("osascript", [scriptFile]);
3613
+ } catch (scriptErr) {
3614
+ const errMsg = scriptErr instanceof Error ? scriptErr.message : String(scriptErr);
3615
+ sysMsg(
3616
+ setMessages,
3617
+ `Failed to create Ghostty panes: ${errMsg.slice(0, 200)}
3618
+ Ensure macOS accessibility permissions are granted and Ghostty uses default split keybindings (Cmd+D = new_split:right, Cmd+Shift+D = new_split:down).`
3619
+ );
3620
+ return;
3621
+ }
3622
+ setActiveTeamName(teamName);
3623
+ setActiveTeamManager(void 0);
3624
+ setActiveTmuxCleanup(async () => {
3625
+ try {
3626
+ const { execFileSync } = await import('child_process');
3627
+ execFileSync("pkill", ["-f", tempDir], { stdio: "ignore" });
3628
+ } catch {
3629
+ }
3630
+ try {
3631
+ fs.rmSync(tempDir, { recursive: true, force: true });
3632
+ fs.rmSync(boardDir, { recursive: true, force: true });
3633
+ } catch {
3634
+ }
3635
+ });
3636
+ const agentLines = formatAgentLines(leadSpec.name);
3637
+ sysMsg(
3638
+ setMessages,
3639
+ `Team "${teamName}" \u2014 ${agentSpecs.length} agents active.
3640
+ ${workerCommands.length} worker panes in Ghostty + lead coordinating here.
3641
+ ${agentLines.join("\n")}
3642
+ Keybindings:
3643
+ Cmd+Opt+Arrows Switch pane
3644
+ Cmd+Shift+Enter Zoom pane
3645
+ Cmd+Ctrl+= Equalize splits
3646
+ /team stop to shut down all agents.`
3647
+ );
3648
+ return leadCoordinationTask;
3649
+ }
3650
+ async function launchTerminalApp(agentSpecs, leadSpec, workerCommands, teamName, tempDir, boardDir, fs, path, execaPane, setMessages, formatAgentLines, leadCoordinationTask) {
3651
+ sysMsg(setMessages, `Designed ${agentSpecs.length}-agent team. Creating Terminal.app split panes...`);
3652
+ const asEscape = (s) => s.replace(/\\/gu, "\\\\").replace(/"/gu, '\\"');
3653
+ const scriptLines = [];
3654
+ scriptLines.push('tell application "Terminal" to activate');
3655
+ scriptLines.push("delay 0.5");
3656
+ scriptLines.push('tell application "System Events"');
3657
+ for (const agent of workerCommands) {
3658
+ scriptLines.push(' keystroke "d" using {command down}');
3659
+ scriptLines.push(" delay 1.0");
3660
+ const escapedCmd = asEscape(agent.command);
3661
+ scriptLines.push(` keystroke "${escapedCmd}"`);
3662
+ scriptLines.push(" delay 0.2");
3663
+ scriptLines.push(" keystroke return");
3664
+ scriptLines.push(" delay 0.5");
3665
+ }
3666
+ scriptLines.push("end tell");
3667
+ const scriptFile = path.join(tempDir, "create-panes.applescript");
3668
+ fs.writeFileSync(scriptFile, scriptLines.join("\n"), "utf-8");
3669
+ try {
3670
+ await execaPane("osascript", [scriptFile]);
3671
+ } catch (scriptErr) {
3672
+ const errMsg = scriptErr instanceof Error ? scriptErr.message : String(scriptErr);
3673
+ sysMsg(
3674
+ setMessages,
3675
+ `Failed to create Terminal.app panes: ${errMsg.slice(0, 200)}
3676
+ Ensure macOS accessibility permissions are granted for Terminal.app.`
3677
+ );
3678
+ return;
3679
+ }
3680
+ setActiveTeamName(teamName);
3681
+ setActiveTeamManager(void 0);
3682
+ setActiveTmuxCleanup(async () => {
3683
+ try {
3684
+ const { execFileSync } = await import('child_process');
3685
+ execFileSync("pkill", ["-f", tempDir], { stdio: "ignore" });
3686
+ } catch {
3687
+ }
3688
+ try {
3689
+ fs.rmSync(tempDir, { recursive: true, force: true });
3690
+ fs.rmSync(boardDir, { recursive: true, force: true });
3691
+ } catch {
3692
+ }
3693
+ });
3694
+ const agentLines = formatAgentLines(leadSpec.name);
3695
+ sysMsg(
3696
+ setMessages,
3697
+ `Team "${teamName}" \u2014 ${agentSpecs.length} agents active.
3698
+ ${workerCommands.length} worker panes in Terminal.app + lead coordinating here.
3699
+ ${agentLines.join("\n")}
3700
+ Click the lead pane to switch back. Shift+Cmd+D to close a split pane.
3701
+ /team stop to shut down all agents.`
3702
+ );
3703
+ return leadCoordinationTask;
3704
+ }
3548
3705
  async function launchWindowsTerminal(agentSpecs, leadSpec, workerCommands, teamName, tempDir, boardDir, fs, execaPane, setMessages, formatAgentLines, leadCoordinationTask, projectRoot) {
3549
3706
  sysMsg(setMessages, `Designed ${agentSpecs.length}-agent team. Creating Windows Terminal split panes...`);
3550
3707
  for (const [i, agent] of workerCommands.entries()) {
@@ -3724,7 +3881,7 @@ Keybindings:
3724
3881
  const provider = modelInfo?.provider ?? "anthropic";
3725
3882
  return { name: spec.name, agentType: spec.agentType, model: spec.model, provider, role: spec.role };
3726
3883
  });
3727
- const { TeamManager: TM } = await import('./team-manager-6DCNLGTC.js');
3884
+ const { TeamManager: TM } = await import('./team-manager-2VSMALAA.js');
3728
3885
  const manager = new TM();
3729
3886
  setActiveTeamManager(manager);
3730
3887
  setActiveTeamName(teamName);
@@ -3868,13 +4025,13 @@ function App({ config, options }) {
3868
4025
  const registryRef = useRef(void 0);
3869
4026
  const getRegistry = useCallback(async () => {
3870
4027
  if (registryRef.current !== void 0) return registryRef.current;
3871
- const { createDefaultRegistry } = await import('./registry-3NHVCXCZ.js');
4028
+ const { createDefaultRegistry } = await import('./registry-MVNSXCEF.js');
3872
4029
  registryRef.current = await createDefaultRegistry();
3873
4030
  return registryRef.current;
3874
4031
  }, []);
3875
4032
  const projectRootRef = useRef(process.cwd());
3876
4033
  useEffect(() => {
3877
- void import('./pathResolver-A6IXQQFE.js').then(({ findProjectRoot }) => {
4034
+ void import('./pathResolver-UVAB2FCW.js').then(({ findProjectRoot }) => {
3878
4035
  projectRootRef.current = findProjectRoot();
3879
4036
  }).catch(() => {
3880
4037
  });
@@ -3882,10 +4039,10 @@ function App({ config, options }) {
3882
4039
  useEffect(() => {
3883
4040
  void (async () => {
3884
4041
  try {
3885
- const { findProjectRoot } = await import('./pathResolver-A6IXQQFE.js');
4042
+ const { findProjectRoot } = await import('./pathResolver-UVAB2FCW.js');
3886
4043
  const root = findProjectRoot();
3887
4044
  projectRootRef.current = root;
3888
- const { loadInputHistory } = await import('./input-history-MIOO3FIW.js');
4045
+ const { loadInputHistory } = await import('./input-history-BEICE7PT.js');
3889
4046
  const history = await loadInputHistory(root);
3890
4047
  if (history.length > 0) setPersistentHistory(history);
3891
4048
  } catch {
@@ -3902,7 +4059,7 @@ function App({ config, options }) {
3902
4059
  }, []);
3903
4060
  useEffect(() => {
3904
4061
  if (options.isAgentPane) return;
3905
- void import('./detect-providers-C4SVQHFF.js').then(({ detectInstalledProviders }) => {
4062
+ void import('./detect-providers-QICJ5U3R.js').then(({ detectInstalledProviders }) => {
3906
4063
  const detected = detectInstalledProviders();
3907
4064
  if (detected.length > 0) setSwarmOnboardingDeferred(false);
3908
4065
  setSwarmConfig((prev) => {
@@ -3915,7 +4072,7 @@ function App({ config, options }) {
3915
4072
  useEffect(() => {
3916
4073
  void (async () => {
3917
4074
  try {
3918
- const { findProjectRoot } = await import('./pathResolver-A6IXQQFE.js');
4075
+ const { findProjectRoot } = await import('./pathResolver-UVAB2FCW.js');
3919
4076
  const projectRoot = findProjectRoot();
3920
4077
  projectRootRef.current = projectRoot;
3921
4078
  const { default: fg } = await import('fast-glob');
@@ -3942,8 +4099,8 @@ function App({ config, options }) {
3942
4099
  useEffect(() => {
3943
4100
  void (async () => {
3944
4101
  try {
3945
- const { SkillRegistry } = await import('./registry-7CQ3NCAD.js');
3946
- const { findProjectRoot } = await import('./pathResolver-A6IXQQFE.js');
4102
+ const { SkillRegistry } = await import('./registry-LRURZVUL.js');
4103
+ const { findProjectRoot } = await import('./pathResolver-UVAB2FCW.js');
3947
4104
  const registry = new SkillRegistry();
3948
4105
  await registry.initialize(findProjectRoot());
3949
4106
  const all = registry.listAll();
@@ -3957,7 +4114,7 @@ function App({ config, options }) {
3957
4114
  useEffect(() => {
3958
4115
  void (async () => {
3959
4116
  try {
3960
- const { discoverModels, getDisplayOrder } = await import('./model-discovery-O64ZWPX5.js');
4117
+ const { discoverModels, getDisplayOrder } = await import('./model-discovery-AAJDHRFO.js');
3961
4118
  await discoverModels();
3962
4119
  setModelDisplayOrder(getDisplayOrder());
3963
4120
  } catch {
@@ -4021,7 +4178,7 @@ function App({ config, options }) {
4021
4178
  return;
4022
4179
  }
4023
4180
  const userMessage = { id: v4Id(), role: "user", content: input, createdAt: /* @__PURE__ */ new Date() };
4024
- import('./input-history-MIOO3FIW.js').then(({ appendInputHistory }) => appendInputHistory(projectRootRef.current, input)).catch(() => {
4181
+ import('./input-history-BEICE7PT.js').then(({ appendInputHistory }) => appendInputHistory(projectRootRef.current, input)).catch(() => {
4025
4182
  });
4026
4183
  setMessages((prev) => [...prev, userMessage]);
4027
4184
  setIsProcessing(true);
@@ -4166,7 +4323,7 @@ ${methodLabel}: ${optionLabel}`, createdAt: /* @__PURE__ */ new Date() }]);
4166
4323
  fallbackMasterProviders: swarmConfig.detectedProviders.filter((p) => p !== primaryProvider)
4167
4324
  };
4168
4325
  try {
4169
- const { ConfigStore } = await import('./config-store-POB6I37G.js');
4326
+ const { ConfigStore } = await import('./config-store-NF56VHFU.js');
4170
4327
  const store = new ConfigStore();
4171
4328
  const currentConfig = store.loadGlobal();
4172
4329
  const nextProviders = { ...currentConfig.providers };
@@ -4255,7 +4412,7 @@ ${methodLabel}: ${optionLabel}`, createdAt: /* @__PURE__ */ new Date() }]);
4255
4412
  async function startChatSession(options) {
4256
4413
  let config;
4257
4414
  try {
4258
- const { ConfigStore } = await import('./config-store-POB6I37G.js');
4415
+ const { ConfigStore } = await import('./config-store-NF56VHFU.js');
4259
4416
  const store = new ConfigStore();
4260
4417
  config = store.loadGlobal();
4261
4418
  } catch {
@@ -4265,10 +4422,10 @@ async function startChatSession(options) {
4265
4422
  await waitUntilExit();
4266
4423
  }
4267
4424
  async function runFirstRunSetup() {
4268
- const { runFirstRunSetup: runCliFirstRunSetup } = await import('./first-run-GDEVRFPO.js');
4425
+ const { runFirstRunSetup: runCliFirstRunSetup } = await import('./first-run-ADROZVYF.js');
4269
4426
  await runCliFirstRunSetup();
4270
4427
  }
4271
4428
 
4272
4429
  export { runFirstRunSetup, startChatSession };
4273
- //# sourceMappingURL=App-YAHJUWCX.js.map
4274
- //# sourceMappingURL=App-YAHJUWCX.js.map
4430
+ //# sourceMappingURL=App-JQ622M66.js.map
4431
+ //# sourceMappingURL=App-JQ622M66.js.map