local-cli-agent 5.0.4

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 (776) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +306 -0
  3. package/dist/agents/base/base-agent.d.ts +38 -0
  4. package/dist/agents/base/base-agent.d.ts.map +1 -0
  5. package/dist/agents/base/base-agent.js +69 -0
  6. package/dist/agents/base/base-agent.js.map +1 -0
  7. package/dist/agents/browser/browser-profile-manager.d.ts +16 -0
  8. package/dist/agents/browser/browser-profile-manager.d.ts.map +1 -0
  9. package/dist/agents/browser/browser-profile-manager.js +149 -0
  10. package/dist/agents/browser/browser-profile-manager.js.map +1 -0
  11. package/dist/agents/browser/browser-sub-agent.d.ts +22 -0
  12. package/dist/agents/browser/browser-sub-agent.d.ts.map +1 -0
  13. package/dist/agents/browser/browser-sub-agent.js +162 -0
  14. package/dist/agents/browser/browser-sub-agent.js.map +1 -0
  15. package/dist/agents/browser/confluence-agent.d.ts +3 -0
  16. package/dist/agents/browser/confluence-agent.d.ts.map +1 -0
  17. package/dist/agents/browser/confluence-agent.js +35 -0
  18. package/dist/agents/browser/confluence-agent.js.map +1 -0
  19. package/dist/agents/browser/index.d.ts +4 -0
  20. package/dist/agents/browser/index.d.ts.map +1 -0
  21. package/dist/agents/browser/index.js +4 -0
  22. package/dist/agents/browser/index.js.map +1 -0
  23. package/dist/agents/browser/jira-agent.d.ts +3 -0
  24. package/dist/agents/browser/jira-agent.d.ts.map +1 -0
  25. package/dist/agents/browser/jira-agent.js +35 -0
  26. package/dist/agents/browser/jira-agent.js.map +1 -0
  27. package/dist/agents/browser/prompts.d.ts +4 -0
  28. package/dist/agents/browser/prompts.d.ts.map +1 -0
  29. package/dist/agents/browser/prompts.js +241 -0
  30. package/dist/agents/browser/prompts.js.map +1 -0
  31. package/dist/agents/browser/search-agent.d.ts +3 -0
  32. package/dist/agents/browser/search-agent.d.ts.map +1 -0
  33. package/dist/agents/browser/search-agent.js +31 -0
  34. package/dist/agents/browser/search-agent.js.map +1 -0
  35. package/dist/agents/common/complete-tool.d.ts +3 -0
  36. package/dist/agents/common/complete-tool.d.ts.map +1 -0
  37. package/dist/agents/common/complete-tool.js +18 -0
  38. package/dist/agents/common/complete-tool.js.map +1 -0
  39. package/dist/agents/common/index.d.ts +3 -0
  40. package/dist/agents/common/index.d.ts.map +1 -0
  41. package/dist/agents/common/index.js +3 -0
  42. package/dist/agents/common/index.js.map +1 -0
  43. package/dist/agents/common/sub-agent.d.ts +40 -0
  44. package/dist/agents/common/sub-agent.d.ts.map +1 -0
  45. package/dist/agents/common/sub-agent.js +313 -0
  46. package/dist/agents/common/sub-agent.js.map +1 -0
  47. package/dist/agents/index.d.ts +5 -0
  48. package/dist/agents/index.d.ts.map +1 -0
  49. package/dist/agents/index.js +5 -0
  50. package/dist/agents/index.js.map +1 -0
  51. package/dist/agents/office/complete-tool.d.ts +3 -0
  52. package/dist/agents/office/complete-tool.d.ts.map +1 -0
  53. package/dist/agents/office/complete-tool.js +18 -0
  54. package/dist/agents/office/complete-tool.js.map +1 -0
  55. package/dist/agents/office/excel-agent.d.ts +3 -0
  56. package/dist/agents/office/excel-agent.d.ts.map +1 -0
  57. package/dist/agents/office/excel-agent.js +31 -0
  58. package/dist/agents/office/excel-agent.js.map +1 -0
  59. package/dist/agents/office/excel-create-agent.d.ts +3 -0
  60. package/dist/agents/office/excel-create-agent.d.ts.map +1 -0
  61. package/dist/agents/office/excel-create-agent.js +58 -0
  62. package/dist/agents/office/excel-create-agent.js.map +1 -0
  63. package/dist/agents/office/excel-create-prompts.d.ts +4 -0
  64. package/dist/agents/office/excel-create-prompts.d.ts.map +1 -0
  65. package/dist/agents/office/excel-create-prompts.js +217 -0
  66. package/dist/agents/office/excel-create-prompts.js.map +1 -0
  67. package/dist/agents/office/index.d.ts +10 -0
  68. package/dist/agents/office/index.d.ts.map +1 -0
  69. package/dist/agents/office/index.js +10 -0
  70. package/dist/agents/office/index.js.map +1 -0
  71. package/dist/agents/office/office-sub-agent.d.ts +21 -0
  72. package/dist/agents/office/office-sub-agent.d.ts.map +1 -0
  73. package/dist/agents/office/office-sub-agent.js +127 -0
  74. package/dist/agents/office/office-sub-agent.js.map +1 -0
  75. package/dist/agents/office/powerpoint-agent.d.ts +3 -0
  76. package/dist/agents/office/powerpoint-agent.d.ts.map +1 -0
  77. package/dist/agents/office/powerpoint-agent.js +37 -0
  78. package/dist/agents/office/powerpoint-agent.js.map +1 -0
  79. package/dist/agents/office/powerpoint-create-agent.d.ts +3 -0
  80. package/dist/agents/office/powerpoint-create-agent.d.ts.map +1 -0
  81. package/dist/agents/office/powerpoint-create-agent.js +1124 -0
  82. package/dist/agents/office/powerpoint-create-agent.js.map +1 -0
  83. package/dist/agents/office/powerpoint-create-prompts.d.ts +116 -0
  84. package/dist/agents/office/powerpoint-create-prompts.d.ts.map +1 -0
  85. package/dist/agents/office/powerpoint-create-prompts.js +1354 -0
  86. package/dist/agents/office/powerpoint-create-prompts.js.map +1 -0
  87. package/dist/agents/office/prompts.d.ts +11 -0
  88. package/dist/agents/office/prompts.d.ts.map +1 -0
  89. package/dist/agents/office/prompts.js +852 -0
  90. package/dist/agents/office/prompts.js.map +1 -0
  91. package/dist/agents/office/word-agent.d.ts +3 -0
  92. package/dist/agents/office/word-agent.d.ts.map +1 -0
  93. package/dist/agents/office/word-agent.js +31 -0
  94. package/dist/agents/office/word-agent.js.map +1 -0
  95. package/dist/agents/office/word-create-agent.d.ts +3 -0
  96. package/dist/agents/office/word-create-agent.d.ts.map +1 -0
  97. package/dist/agents/office/word-create-agent.js +36 -0
  98. package/dist/agents/office/word-create-agent.js.map +1 -0
  99. package/dist/agents/office/word-create-prompts.d.ts +4 -0
  100. package/dist/agents/office/word-create-prompts.d.ts.map +1 -0
  101. package/dist/agents/office/word-create-prompts.js +288 -0
  102. package/dist/agents/office/word-create-prompts.js.map +1 -0
  103. package/dist/agents/planner/index.d.ts +14 -0
  104. package/dist/agents/planner/index.d.ts.map +1 -0
  105. package/dist/agents/planner/index.js +334 -0
  106. package/dist/agents/planner/index.js.map +1 -0
  107. package/dist/cli.d.ts +3 -0
  108. package/dist/cli.d.ts.map +1 -0
  109. package/dist/cli.js +166 -0
  110. package/dist/cli.js.map +1 -0
  111. package/dist/commands/chat-command.d.ts +2 -0
  112. package/dist/commands/chat-command.d.ts.map +1 -0
  113. package/dist/commands/chat-command.js +90 -0
  114. package/dist/commands/chat-command.js.map +1 -0
  115. package/dist/commands/electron-client.d.ts +17 -0
  116. package/dist/commands/electron-client.d.ts.map +1 -0
  117. package/dist/commands/electron-client.js +180 -0
  118. package/dist/commands/electron-client.js.map +1 -0
  119. package/dist/commands/jarvis-command.d.ts +2 -0
  120. package/dist/commands/jarvis-command.d.ts.map +1 -0
  121. package/dist/commands/jarvis-command.js +66 -0
  122. package/dist/commands/jarvis-command.js.map +1 -0
  123. package/dist/constants.d.ts +11 -0
  124. package/dist/constants.d.ts.map +1 -0
  125. package/dist/constants.js +13 -0
  126. package/dist/constants.js.map +1 -0
  127. package/dist/core/compact/compact-manager.d.ts +22 -0
  128. package/dist/core/compact/compact-manager.d.ts.map +1 -0
  129. package/dist/core/compact/compact-manager.js +77 -0
  130. package/dist/core/compact/compact-manager.js.map +1 -0
  131. package/dist/core/compact/compact-prompts.d.ts +11 -0
  132. package/dist/core/compact/compact-prompts.d.ts.map +1 -0
  133. package/dist/core/compact/compact-prompts.js +90 -0
  134. package/dist/core/compact/compact-prompts.js.map +1 -0
  135. package/dist/core/compact/context-tracker.d.ts +28 -0
  136. package/dist/core/compact/context-tracker.d.ts.map +1 -0
  137. package/dist/core/compact/context-tracker.js +71 -0
  138. package/dist/core/compact/context-tracker.js.map +1 -0
  139. package/dist/core/compact/index.d.ts +4 -0
  140. package/dist/core/compact/index.d.ts.map +1 -0
  141. package/dist/core/compact/index.js +4 -0
  142. package/dist/core/compact/index.js.map +1 -0
  143. package/dist/core/config/config-manager.d.ts +43 -0
  144. package/dist/core/config/config-manager.d.ts.map +1 -0
  145. package/dist/core/config/config-manager.js +254 -0
  146. package/dist/core/config/config-manager.js.map +1 -0
  147. package/dist/core/config/index.d.ts +2 -0
  148. package/dist/core/config/index.d.ts.map +1 -0
  149. package/dist/core/config/index.js +2 -0
  150. package/dist/core/config/index.js.map +1 -0
  151. package/dist/core/docs-manager.d.ts +46 -0
  152. package/dist/core/docs-manager.d.ts.map +1 -0
  153. package/dist/core/docs-manager.js +475 -0
  154. package/dist/core/docs-manager.js.map +1 -0
  155. package/dist/core/git-auto-updater.d.ts +58 -0
  156. package/dist/core/git-auto-updater.d.ts.map +1 -0
  157. package/dist/core/git-auto-updater.js +374 -0
  158. package/dist/core/git-auto-updater.js.map +1 -0
  159. package/dist/core/llm/index.d.ts +2 -0
  160. package/dist/core/llm/index.d.ts.map +1 -0
  161. package/dist/core/llm/index.js +2 -0
  162. package/dist/core/llm/index.js.map +1 -0
  163. package/dist/core/llm/llm-client.d.ts +110 -0
  164. package/dist/core/llm/llm-client.d.ts.map +1 -0
  165. package/dist/core/llm/llm-client.js +1272 -0
  166. package/dist/core/llm/llm-client.js.map +1 -0
  167. package/dist/core/session/index.d.ts +2 -0
  168. package/dist/core/session/index.d.ts.map +1 -0
  169. package/dist/core/session/index.js +2 -0
  170. package/dist/core/session/index.js.map +1 -0
  171. package/dist/core/session/session-manager.d.ts +73 -0
  172. package/dist/core/session/session-manager.d.ts.map +1 -0
  173. package/dist/core/session/session-manager.js +260 -0
  174. package/dist/core/session/session-manager.js.map +1 -0
  175. package/dist/core/slash-command-handler.d.ts +31 -0
  176. package/dist/core/slash-command-handler.d.ts.map +1 -0
  177. package/dist/core/slash-command-handler.js +304 -0
  178. package/dist/core/slash-command-handler.js.map +1 -0
  179. package/dist/core/telemetry/error-reporter.d.ts +2 -0
  180. package/dist/core/telemetry/error-reporter.d.ts.map +1 -0
  181. package/dist/core/telemetry/error-reporter.js +3 -0
  182. package/dist/core/telemetry/error-reporter.js.map +1 -0
  183. package/dist/core/usage-tracker.d.ts +70 -0
  184. package/dist/core/usage-tracker.d.ts.map +1 -0
  185. package/dist/core/usage-tracker.js +251 -0
  186. package/dist/core/usage-tracker.js.map +1 -0
  187. package/dist/errors/base.d.ts +22 -0
  188. package/dist/errors/base.d.ts.map +1 -0
  189. package/dist/errors/base.js +43 -0
  190. package/dist/errors/base.js.map +1 -0
  191. package/dist/errors/file.d.ts +31 -0
  192. package/dist/errors/file.d.ts.map +1 -0
  193. package/dist/errors/file.js +110 -0
  194. package/dist/errors/file.js.map +1 -0
  195. package/dist/errors/index.d.ts +10 -0
  196. package/dist/errors/index.d.ts.map +1 -0
  197. package/dist/errors/index.js +41 -0
  198. package/dist/errors/index.js.map +1 -0
  199. package/dist/errors/llm.d.ts +30 -0
  200. package/dist/errors/llm.d.ts.map +1 -0
  201. package/dist/errors/llm.js +97 -0
  202. package/dist/errors/llm.js.map +1 -0
  203. package/dist/errors/network.d.ts +19 -0
  204. package/dist/errors/network.d.ts.map +1 -0
  205. package/dist/errors/network.js +82 -0
  206. package/dist/errors/network.js.map +1 -0
  207. package/dist/errors/validation.d.ts +19 -0
  208. package/dist/errors/validation.d.ts.map +1 -0
  209. package/dist/errors/validation.js +62 -0
  210. package/dist/errors/validation.js.map +1 -0
  211. package/dist/eval/eval-runner.d.ts +24 -0
  212. package/dist/eval/eval-runner.d.ts.map +1 -0
  213. package/dist/eval/eval-runner.js +291 -0
  214. package/dist/eval/eval-runner.js.map +1 -0
  215. package/dist/eval/index.d.ts +3 -0
  216. package/dist/eval/index.d.ts.map +1 -0
  217. package/dist/eval/index.js +3 -0
  218. package/dist/eval/index.js.map +1 -0
  219. package/dist/eval/types.d.ts +77 -0
  220. package/dist/eval/types.d.ts.map +1 -0
  221. package/dist/eval/types.js +2 -0
  222. package/dist/eval/types.js.map +1 -0
  223. package/dist/index.d.ts +4 -0
  224. package/dist/index.d.ts.map +1 -0
  225. package/dist/index.js +6 -0
  226. package/dist/index.js.map +1 -0
  227. package/dist/orchestration/index.d.ts +4 -0
  228. package/dist/orchestration/index.d.ts.map +1 -0
  229. package/dist/orchestration/index.js +3 -0
  230. package/dist/orchestration/index.js.map +1 -0
  231. package/dist/orchestration/plan-executor.d.ts +27 -0
  232. package/dist/orchestration/plan-executor.d.ts.map +1 -0
  233. package/dist/orchestration/plan-executor.js +536 -0
  234. package/dist/orchestration/plan-executor.js.map +1 -0
  235. package/dist/orchestration/types.d.ts +69 -0
  236. package/dist/orchestration/types.d.ts.map +1 -0
  237. package/dist/orchestration/types.js +2 -0
  238. package/dist/orchestration/types.js.map +1 -0
  239. package/dist/orchestration/utils.d.ts +14 -0
  240. package/dist/orchestration/utils.d.ts.map +1 -0
  241. package/dist/orchestration/utils.js +105 -0
  242. package/dist/orchestration/utils.js.map +1 -0
  243. package/dist/pipe/index.d.ts +2 -0
  244. package/dist/pipe/index.d.ts.map +1 -0
  245. package/dist/pipe/index.js +2 -0
  246. package/dist/pipe/index.js.map +1 -0
  247. package/dist/pipe/pipe-runner.d.ts +15 -0
  248. package/dist/pipe/pipe-runner.d.ts.map +1 -0
  249. package/dist/pipe/pipe-runner.js +207 -0
  250. package/dist/pipe/pipe-runner.js.map +1 -0
  251. package/dist/prompts/agents/planning.d.ts +4 -0
  252. package/dist/prompts/agents/planning.d.ts.map +1 -0
  253. package/dist/prompts/agents/planning.js +318 -0
  254. package/dist/prompts/agents/planning.js.map +1 -0
  255. package/dist/prompts/index.d.ts +8 -0
  256. package/dist/prompts/index.d.ts.map +1 -0
  257. package/dist/prompts/index.js +8 -0
  258. package/dist/prompts/index.js.map +1 -0
  259. package/dist/prompts/shared/codebase-rules.d.ts +4 -0
  260. package/dist/prompts/shared/codebase-rules.d.ts.map +1 -0
  261. package/dist/prompts/shared/codebase-rules.js +16 -0
  262. package/dist/prompts/shared/codebase-rules.js.map +1 -0
  263. package/dist/prompts/shared/git-rules.d.ts +2 -0
  264. package/dist/prompts/shared/git-rules.d.ts.map +1 -0
  265. package/dist/prompts/shared/git-rules.js +87 -0
  266. package/dist/prompts/shared/git-rules.js.map +1 -0
  267. package/dist/prompts/shared/language-rules.d.ts +4 -0
  268. package/dist/prompts/shared/language-rules.d.ts.map +1 -0
  269. package/dist/prompts/shared/language-rules.js +22 -0
  270. package/dist/prompts/shared/language-rules.js.map +1 -0
  271. package/dist/prompts/shared/tool-usage.d.ts +14 -0
  272. package/dist/prompts/shared/tool-usage.d.ts.map +1 -0
  273. package/dist/prompts/shared/tool-usage.js +92 -0
  274. package/dist/prompts/shared/tool-usage.js.map +1 -0
  275. package/dist/prompts/system/compact.d.ts +3 -0
  276. package/dist/prompts/system/compact.d.ts.map +1 -0
  277. package/dist/prompts/system/compact.js +73 -0
  278. package/dist/prompts/system/compact.js.map +1 -0
  279. package/dist/prompts/system/plan-execute.d.ts +6 -0
  280. package/dist/prompts/system/plan-execute.d.ts.map +1 -0
  281. package/dist/prompts/system/plan-execute.js +178 -0
  282. package/dist/prompts/system/plan-execute.js.map +1 -0
  283. package/dist/tools/browser/browser-client.d.ts +108 -0
  284. package/dist/tools/browser/browser-client.d.ts.map +1 -0
  285. package/dist/tools/browser/browser-client.js +965 -0
  286. package/dist/tools/browser/browser-client.js.map +1 -0
  287. package/dist/tools/browser/browser-tools.d.ts +18 -0
  288. package/dist/tools/browser/browser-tools.d.ts.map +1 -0
  289. package/dist/tools/browser/browser-tools.js +983 -0
  290. package/dist/tools/browser/browser-tools.js.map +1 -0
  291. package/dist/tools/browser/index.d.ts +7 -0
  292. package/dist/tools/browser/index.d.ts.map +1 -0
  293. package/dist/tools/browser/index.js +17 -0
  294. package/dist/tools/browser/index.js.map +1 -0
  295. package/dist/tools/index.d.ts +4 -0
  296. package/dist/tools/index.d.ts.map +1 -0
  297. package/dist/tools/index.js +4 -0
  298. package/dist/tools/index.js.map +1 -0
  299. package/dist/tools/llm/index.d.ts +2 -0
  300. package/dist/tools/llm/index.d.ts.map +1 -0
  301. package/dist/tools/llm/index.js +2 -0
  302. package/dist/tools/llm/index.js.map +1 -0
  303. package/dist/tools/llm/simple/ask-user-tool.d.ts +5 -0
  304. package/dist/tools/llm/simple/ask-user-tool.d.ts.map +1 -0
  305. package/dist/tools/llm/simple/ask-user-tool.js +7 -0
  306. package/dist/tools/llm/simple/ask-user-tool.js.map +1 -0
  307. package/dist/tools/llm/simple/background-bash-tool.d.ts +30 -0
  308. package/dist/tools/llm/simple/background-bash-tool.d.ts.map +1 -0
  309. package/dist/tools/llm/simple/background-bash-tool.js +320 -0
  310. package/dist/tools/llm/simple/background-bash-tool.js.map +1 -0
  311. package/dist/tools/llm/simple/background-powershell-tool.d.ts +30 -0
  312. package/dist/tools/llm/simple/background-powershell-tool.d.ts.map +1 -0
  313. package/dist/tools/llm/simple/background-powershell-tool.js +302 -0
  314. package/dist/tools/llm/simple/background-powershell-tool.js.map +1 -0
  315. package/dist/tools/llm/simple/bash-tool.d.ts +4 -0
  316. package/dist/tools/llm/simple/bash-tool.d.ts.map +1 -0
  317. package/dist/tools/llm/simple/bash-tool.js +167 -0
  318. package/dist/tools/llm/simple/bash-tool.js.map +1 -0
  319. package/dist/tools/llm/simple/file-tools.d.ts +13 -0
  320. package/dist/tools/llm/simple/file-tools.d.ts.map +1 -0
  321. package/dist/tools/llm/simple/file-tools.js +814 -0
  322. package/dist/tools/llm/simple/file-tools.js.map +1 -0
  323. package/dist/tools/llm/simple/final-response-tool.d.ts +12 -0
  324. package/dist/tools/llm/simple/final-response-tool.d.ts.map +1 -0
  325. package/dist/tools/llm/simple/final-response-tool.js +107 -0
  326. package/dist/tools/llm/simple/final-response-tool.js.map +1 -0
  327. package/dist/tools/llm/simple/index.d.ts +11 -0
  328. package/dist/tools/llm/simple/index.d.ts.map +1 -0
  329. package/dist/tools/llm/simple/index.js +20 -0
  330. package/dist/tools/llm/simple/index.js.map +1 -0
  331. package/dist/tools/llm/simple/planning-tools.d.ts +5 -0
  332. package/dist/tools/llm/simple/planning-tools.d.ts.map +1 -0
  333. package/dist/tools/llm/simple/planning-tools.js +121 -0
  334. package/dist/tools/llm/simple/planning-tools.js.map +1 -0
  335. package/dist/tools/llm/simple/powershell-tool.d.ts +4 -0
  336. package/dist/tools/llm/simple/powershell-tool.d.ts.map +1 -0
  337. package/dist/tools/llm/simple/powershell-tool.js +163 -0
  338. package/dist/tools/llm/simple/powershell-tool.js.map +1 -0
  339. package/dist/tools/llm/simple/read-image-tool.d.ts +8 -0
  340. package/dist/tools/llm/simple/read-image-tool.d.ts.map +1 -0
  341. package/dist/tools/llm/simple/read-image-tool.js +170 -0
  342. package/dist/tools/llm/simple/read-image-tool.js.map +1 -0
  343. package/dist/tools/llm/simple/simple-tool-executor.d.ts +40 -0
  344. package/dist/tools/llm/simple/simple-tool-executor.d.ts.map +1 -0
  345. package/dist/tools/llm/simple/simple-tool-executor.js +159 -0
  346. package/dist/tools/llm/simple/simple-tool-executor.js.map +1 -0
  347. package/dist/tools/llm/simple/todo-tools.d.ts +15 -0
  348. package/dist/tools/llm/simple/todo-tools.d.ts.map +1 -0
  349. package/dist/tools/llm/simple/todo-tools.js +145 -0
  350. package/dist/tools/llm/simple/todo-tools.js.map +1 -0
  351. package/dist/tools/llm/simple/user-interaction-tools.d.ts +22 -0
  352. package/dist/tools/llm/simple/user-interaction-tools.d.ts.map +1 -0
  353. package/dist/tools/llm/simple/user-interaction-tools.js +168 -0
  354. package/dist/tools/llm/simple/user-interaction-tools.js.map +1 -0
  355. package/dist/tools/office/common/constants.d.ts +192 -0
  356. package/dist/tools/office/common/constants.d.ts.map +1 -0
  357. package/dist/tools/office/common/constants.js +165 -0
  358. package/dist/tools/office/common/constants.js.map +1 -0
  359. package/dist/tools/office/common/index.d.ts +4 -0
  360. package/dist/tools/office/common/index.d.ts.map +1 -0
  361. package/dist/tools/office/common/index.js +3 -0
  362. package/dist/tools/office/common/index.js.map +1 -0
  363. package/dist/tools/office/common/types.d.ts +82 -0
  364. package/dist/tools/office/common/types.d.ts.map +1 -0
  365. package/dist/tools/office/common/types.js +2 -0
  366. package/dist/tools/office/common/types.js.map +1 -0
  367. package/dist/tools/office/common/utils.d.ts +16 -0
  368. package/dist/tools/office/common/utils.d.ts.map +1 -0
  369. package/dist/tools/office/common/utils.js +60 -0
  370. package/dist/tools/office/common/utils.js.map +1 -0
  371. package/dist/tools/office/excel-client.d.ts +219 -0
  372. package/dist/tools/office/excel-client.d.ts.map +1 -0
  373. package/dist/tools/office/excel-client.js +2346 -0
  374. package/dist/tools/office/excel-client.js.map +1 -0
  375. package/dist/tools/office/excel-tools/cells.d.ts +10 -0
  376. package/dist/tools/office/excel-tools/cells.d.ts.map +1 -0
  377. package/dist/tools/office/excel-tools/cells.js +283 -0
  378. package/dist/tools/office/excel-tools/cells.js.map +1 -0
  379. package/dist/tools/office/excel-tools/charts.d.ts +6 -0
  380. package/dist/tools/office/excel-tools/charts.d.ts.map +1 -0
  381. package/dist/tools/office/excel-tools/charts.js +124 -0
  382. package/dist/tools/office/excel-tools/charts.js.map +1 -0
  383. package/dist/tools/office/excel-tools/comments.d.ts +6 -0
  384. package/dist/tools/office/excel-tools/comments.d.ts.map +1 -0
  385. package/dist/tools/office/excel-tools/comments.js +114 -0
  386. package/dist/tools/office/excel-tools/comments.js.map +1 -0
  387. package/dist/tools/office/excel-tools/data-ops.d.ts +10 -0
  388. package/dist/tools/office/excel-tools/data-ops.d.ts.map +1 -0
  389. package/dist/tools/office/excel-tools/data-ops.js +266 -0
  390. package/dist/tools/office/excel-tools/data-ops.js.map +1 -0
  391. package/dist/tools/office/excel-tools/export.d.ts +5 -0
  392. package/dist/tools/office/excel-tools/export.d.ts.map +1 -0
  393. package/dist/tools/office/excel-tools/export.js +75 -0
  394. package/dist/tools/office/excel-tools/export.js.map +1 -0
  395. package/dist/tools/office/excel-tools/formatting.d.ts +10 -0
  396. package/dist/tools/office/excel-tools/formatting.d.ts.map +1 -0
  397. package/dist/tools/office/excel-tools/formatting.js +276 -0
  398. package/dist/tools/office/excel-tools/formatting.js.map +1 -0
  399. package/dist/tools/office/excel-tools/index.d.ts +18 -0
  400. package/dist/tools/office/excel-tools/index.d.ts.map +1 -0
  401. package/dist/tools/office/excel-tools/index.js +54 -0
  402. package/dist/tools/office/excel-tools/index.js.map +1 -0
  403. package/dist/tools/office/excel-tools/launch.d.ts +10 -0
  404. package/dist/tools/office/excel-tools/launch.d.ts.map +1 -0
  405. package/dist/tools/office/excel-tools/launch.js +250 -0
  406. package/dist/tools/office/excel-tools/launch.js.map +1 -0
  407. package/dist/tools/office/excel-tools/media.d.ts +5 -0
  408. package/dist/tools/office/excel-tools/media.d.ts.map +1 -0
  409. package/dist/tools/office/excel-tools/media.js +84 -0
  410. package/dist/tools/office/excel-tools/media.js.map +1 -0
  411. package/dist/tools/office/excel-tools/named-ranges.d.ts +6 -0
  412. package/dist/tools/office/excel-tools/named-ranges.d.ts.map +1 -0
  413. package/dist/tools/office/excel-tools/named-ranges.js +113 -0
  414. package/dist/tools/office/excel-tools/named-ranges.js.map +1 -0
  415. package/dist/tools/office/excel-tools/protection.d.ts +5 -0
  416. package/dist/tools/office/excel-tools/protection.d.ts.map +1 -0
  417. package/dist/tools/office/excel-tools/protection.js +75 -0
  418. package/dist/tools/office/excel-tools/protection.js.map +1 -0
  419. package/dist/tools/office/excel-tools/rows-columns.d.ts +11 -0
  420. package/dist/tools/office/excel-tools/rows-columns.d.ts.map +1 -0
  421. package/dist/tools/office/excel-tools/rows-columns.js +293 -0
  422. package/dist/tools/office/excel-tools/rows-columns.js.map +1 -0
  423. package/dist/tools/office/excel-tools/sheet-builders.d.ts +9 -0
  424. package/dist/tools/office/excel-tools/sheet-builders.d.ts.map +1 -0
  425. package/dist/tools/office/excel-tools/sheet-builders.js +483 -0
  426. package/dist/tools/office/excel-tools/sheet-builders.js.map +1 -0
  427. package/dist/tools/office/excel-tools/sheets.d.ts +8 -0
  428. package/dist/tools/office/excel-tools/sheets.d.ts.map +1 -0
  429. package/dist/tools/office/excel-tools/sheets.js +182 -0
  430. package/dist/tools/office/excel-tools/sheets.js.map +1 -0
  431. package/dist/tools/office/excel-tools/validation.d.ts +7 -0
  432. package/dist/tools/office/excel-tools/validation.d.ts.map +1 -0
  433. package/dist/tools/office/excel-tools/validation.js +175 -0
  434. package/dist/tools/office/excel-tools/validation.js.map +1 -0
  435. package/dist/tools/office/excel-tools.d.ts +3 -0
  436. package/dist/tools/office/excel-tools.d.ts.map +1 -0
  437. package/dist/tools/office/excel-tools.js +3 -0
  438. package/dist/tools/office/excel-tools.js.map +1 -0
  439. package/dist/tools/office/index.d.ts +6 -0
  440. package/dist/tools/office/index.d.ts.map +1 -0
  441. package/dist/tools/office/index.js +9 -0
  442. package/dist/tools/office/index.js.map +1 -0
  443. package/dist/tools/office/office-client-base.d.ts +33 -0
  444. package/dist/tools/office/office-client-base.d.ts.map +1 -0
  445. package/dist/tools/office/office-client-base.js +166 -0
  446. package/dist/tools/office/office-client-base.js.map +1 -0
  447. package/dist/tools/office/office-client.d.ts +196 -0
  448. package/dist/tools/office/office-client.d.ts.map +1 -0
  449. package/dist/tools/office/office-client.js +200 -0
  450. package/dist/tools/office/office-client.js.map +1 -0
  451. package/dist/tools/office/powerpoint-client.d.ts +148 -0
  452. package/dist/tools/office/powerpoint-client.d.ts.map +1 -0
  453. package/dist/tools/office/powerpoint-client.js +1310 -0
  454. package/dist/tools/office/powerpoint-client.js.map +1 -0
  455. package/dist/tools/office/powerpoint-tools/effects.d.ts +9 -0
  456. package/dist/tools/office/powerpoint-tools/effects.d.ts.map +1 -0
  457. package/dist/tools/office/powerpoint-tools/effects.js +246 -0
  458. package/dist/tools/office/powerpoint-tools/effects.js.map +1 -0
  459. package/dist/tools/office/powerpoint-tools/export.d.ts +6 -0
  460. package/dist/tools/office/powerpoint-tools/export.d.ts.map +1 -0
  461. package/dist/tools/office/powerpoint-tools/export.js +123 -0
  462. package/dist/tools/office/powerpoint-tools/export.js.map +1 -0
  463. package/dist/tools/office/powerpoint-tools/index.d.ts +15 -0
  464. package/dist/tools/office/powerpoint-tools/index.d.ts.map +1 -0
  465. package/dist/tools/office/powerpoint-tools/index.js +40 -0
  466. package/dist/tools/office/powerpoint-tools/index.js.map +1 -0
  467. package/dist/tools/office/powerpoint-tools/launch.d.ts +9 -0
  468. package/dist/tools/office/powerpoint-tools/launch.d.ts.map +1 -0
  469. package/dist/tools/office/powerpoint-tools/launch.js +218 -0
  470. package/dist/tools/office/powerpoint-tools/launch.js.map +1 -0
  471. package/dist/tools/office/powerpoint-tools/layout-builders.d.ts +12 -0
  472. package/dist/tools/office/powerpoint-tools/layout-builders.d.ts.map +1 -0
  473. package/dist/tools/office/powerpoint-tools/layout-builders.js +785 -0
  474. package/dist/tools/office/powerpoint-tools/layout-builders.js.map +1 -0
  475. package/dist/tools/office/powerpoint-tools/media.d.ts +8 -0
  476. package/dist/tools/office/powerpoint-tools/media.d.ts.map +1 -0
  477. package/dist/tools/office/powerpoint-tools/media.js +211 -0
  478. package/dist/tools/office/powerpoint-tools/media.js.map +1 -0
  479. package/dist/tools/office/powerpoint-tools/notes.d.ts +8 -0
  480. package/dist/tools/office/powerpoint-tools/notes.d.ts.map +1 -0
  481. package/dist/tools/office/powerpoint-tools/notes.js +171 -0
  482. package/dist/tools/office/powerpoint-tools/notes.js.map +1 -0
  483. package/dist/tools/office/powerpoint-tools/sections.d.ts +6 -0
  484. package/dist/tools/office/powerpoint-tools/sections.d.ts.map +1 -0
  485. package/dist/tools/office/powerpoint-tools/sections.js +104 -0
  486. package/dist/tools/office/powerpoint-tools/sections.js.map +1 -0
  487. package/dist/tools/office/powerpoint-tools/shapes.d.ts +22 -0
  488. package/dist/tools/office/powerpoint-tools/shapes.d.ts.map +1 -0
  489. package/dist/tools/office/powerpoint-tools/shapes.js +681 -0
  490. package/dist/tools/office/powerpoint-tools/shapes.js.map +1 -0
  491. package/dist/tools/office/powerpoint-tools/slides.d.ts +11 -0
  492. package/dist/tools/office/powerpoint-tools/slides.d.ts.map +1 -0
  493. package/dist/tools/office/powerpoint-tools/slides.js +283 -0
  494. package/dist/tools/office/powerpoint-tools/slides.js.map +1 -0
  495. package/dist/tools/office/powerpoint-tools/tables.d.ts +6 -0
  496. package/dist/tools/office/powerpoint-tools/tables.d.ts.map +1 -0
  497. package/dist/tools/office/powerpoint-tools/tables.js +132 -0
  498. package/dist/tools/office/powerpoint-tools/tables.js.map +1 -0
  499. package/dist/tools/office/powerpoint-tools/text.d.ts +12 -0
  500. package/dist/tools/office/powerpoint-tools/text.d.ts.map +1 -0
  501. package/dist/tools/office/powerpoint-tools/text.js +379 -0
  502. package/dist/tools/office/powerpoint-tools/text.js.map +1 -0
  503. package/dist/tools/office/powerpoint-tools.d.ts +3 -0
  504. package/dist/tools/office/powerpoint-tools.d.ts.map +1 -0
  505. package/dist/tools/office/powerpoint-tools.js +3 -0
  506. package/dist/tools/office/powerpoint-tools.js.map +1 -0
  507. package/dist/tools/office/word-client.d.ts +169 -0
  508. package/dist/tools/office/word-client.d.ts.map +1 -0
  509. package/dist/tools/office/word-client.js +1636 -0
  510. package/dist/tools/office/word-client.js.map +1 -0
  511. package/dist/tools/office/word-tools/bookmarks.d.ts +7 -0
  512. package/dist/tools/office/word-tools/bookmarks.d.ts.map +1 -0
  513. package/dist/tools/office/word-tools/bookmarks.js +146 -0
  514. package/dist/tools/office/word-tools/bookmarks.js.map +1 -0
  515. package/dist/tools/office/word-tools/comments.d.ts +7 -0
  516. package/dist/tools/office/word-tools/comments.d.ts.map +1 -0
  517. package/dist/tools/office/word-tools/comments.js +146 -0
  518. package/dist/tools/office/word-tools/comments.js.map +1 -0
  519. package/dist/tools/office/word-tools/content.d.ts +7 -0
  520. package/dist/tools/office/word-tools/content.d.ts.map +1 -0
  521. package/dist/tools/office/word-tools/content.js +168 -0
  522. package/dist/tools/office/word-tools/content.js.map +1 -0
  523. package/dist/tools/office/word-tools/export.d.ts +5 -0
  524. package/dist/tools/office/word-tools/export.d.ts.map +1 -0
  525. package/dist/tools/office/word-tools/export.js +73 -0
  526. package/dist/tools/office/word-tools/export.js.map +1 -0
  527. package/dist/tools/office/word-tools/formatting.d.ts +6 -0
  528. package/dist/tools/office/word-tools/formatting.d.ts.map +1 -0
  529. package/dist/tools/office/word-tools/formatting.js +129 -0
  530. package/dist/tools/office/word-tools/formatting.js.map +1 -0
  531. package/dist/tools/office/word-tools/headers-footers.d.ts +6 -0
  532. package/dist/tools/office/word-tools/headers-footers.d.ts.map +1 -0
  533. package/dist/tools/office/word-tools/headers-footers.js +117 -0
  534. package/dist/tools/office/word-tools/headers-footers.js.map +1 -0
  535. package/dist/tools/office/word-tools/index.d.ts +19 -0
  536. package/dist/tools/office/word-tools/index.d.ts.map +1 -0
  537. package/dist/tools/office/word-tools/index.js +60 -0
  538. package/dist/tools/office/word-tools/index.js.map +1 -0
  539. package/dist/tools/office/word-tools/launch.d.ts +10 -0
  540. package/dist/tools/office/word-tools/launch.d.ts.map +1 -0
  541. package/dist/tools/office/word-tools/launch.js +257 -0
  542. package/dist/tools/office/word-tools/launch.js.map +1 -0
  543. package/dist/tools/office/word-tools/lists.d.ts +5 -0
  544. package/dist/tools/office/word-tools/lists.d.ts.map +1 -0
  545. package/dist/tools/office/word-tools/lists.js +73 -0
  546. package/dist/tools/office/word-tools/lists.js.map +1 -0
  547. package/dist/tools/office/word-tools/navigation.d.ts +5 -0
  548. package/dist/tools/office/word-tools/navigation.d.ts.map +1 -0
  549. package/dist/tools/office/word-tools/navigation.js +85 -0
  550. package/dist/tools/office/word-tools/navigation.js.map +1 -0
  551. package/dist/tools/office/word-tools/page-setup.d.ts +7 -0
  552. package/dist/tools/office/word-tools/page-setup.d.ts.map +1 -0
  553. package/dist/tools/office/word-tools/page-setup.js +152 -0
  554. package/dist/tools/office/word-tools/page-setup.js.map +1 -0
  555. package/dist/tools/office/word-tools/section-builders.d.ts +12 -0
  556. package/dist/tools/office/word-tools/section-builders.d.ts.map +1 -0
  557. package/dist/tools/office/word-tools/section-builders.js +601 -0
  558. package/dist/tools/office/word-tools/section-builders.js.map +1 -0
  559. package/dist/tools/office/word-tools/tables.d.ts +8 -0
  560. package/dist/tools/office/word-tools/tables.d.ts.map +1 -0
  561. package/dist/tools/office/word-tools/tables.js +197 -0
  562. package/dist/tools/office/word-tools/tables.js.map +1 -0
  563. package/dist/tools/office/word-tools/text.d.ts +9 -0
  564. package/dist/tools/office/word-tools/text.d.ts.map +1 -0
  565. package/dist/tools/office/word-tools/text.js +245 -0
  566. package/dist/tools/office/word-tools/text.js.map +1 -0
  567. package/dist/tools/office/word-tools/undo-redo.d.ts +5 -0
  568. package/dist/tools/office/word-tools/undo-redo.d.ts.map +1 -0
  569. package/dist/tools/office/word-tools/undo-redo.js +73 -0
  570. package/dist/tools/office/word-tools/undo-redo.js.map +1 -0
  571. package/dist/tools/office/word-tools/watermarks.d.ts +5 -0
  572. package/dist/tools/office/word-tools/watermarks.d.ts.map +1 -0
  573. package/dist/tools/office/word-tools/watermarks.js +81 -0
  574. package/dist/tools/office/word-tools/watermarks.js.map +1 -0
  575. package/dist/tools/office/word-tools.d.ts +3 -0
  576. package/dist/tools/office/word-tools.d.ts.map +1 -0
  577. package/dist/tools/office/word-tools.js +3 -0
  578. package/dist/tools/office/word-tools.js.map +1 -0
  579. package/dist/tools/registry.d.ts +55 -0
  580. package/dist/tools/registry.d.ts.map +1 -0
  581. package/dist/tools/registry.js +296 -0
  582. package/dist/tools/registry.js.map +1 -0
  583. package/dist/tools/types.d.ts +88 -0
  584. package/dist/tools/types.d.ts.map +1 -0
  585. package/dist/tools/types.js +19 -0
  586. package/dist/tools/types.js.map +1 -0
  587. package/dist/types/index.d.ts +132 -0
  588. package/dist/types/index.d.ts.map +1 -0
  589. package/dist/types/index.js +2 -0
  590. package/dist/types/index.js.map +1 -0
  591. package/dist/ui/PlanExecuteView.d.ts +11 -0
  592. package/dist/ui/PlanExecuteView.d.ts.map +1 -0
  593. package/dist/ui/PlanExecuteView.js +27 -0
  594. package/dist/ui/PlanExecuteView.js.map +1 -0
  595. package/dist/ui/TodoPanel.d.ts +13 -0
  596. package/dist/ui/TodoPanel.d.ts.map +1 -0
  597. package/dist/ui/TodoPanel.js +138 -0
  598. package/dist/ui/TodoPanel.js.map +1 -0
  599. package/dist/ui/UpdateNotification.d.ts +13 -0
  600. package/dist/ui/UpdateNotification.d.ts.map +1 -0
  601. package/dist/ui/UpdateNotification.js +42 -0
  602. package/dist/ui/UpdateNotification.js.map +1 -0
  603. package/dist/ui/components/ActivityIndicator.d.ts +25 -0
  604. package/dist/ui/components/ActivityIndicator.d.ts.map +1 -0
  605. package/dist/ui/components/ActivityIndicator.js +116 -0
  606. package/dist/ui/components/ActivityIndicator.js.map +1 -0
  607. package/dist/ui/components/CommandBrowser.d.ts +10 -0
  608. package/dist/ui/components/CommandBrowser.d.ts.map +1 -0
  609. package/dist/ui/components/CommandBrowser.js +57 -0
  610. package/dist/ui/components/CommandBrowser.js.map +1 -0
  611. package/dist/ui/components/CustomTextInput.d.ts +13 -0
  612. package/dist/ui/components/CustomTextInput.d.ts.map +1 -0
  613. package/dist/ui/components/CustomTextInput.js +246 -0
  614. package/dist/ui/components/CustomTextInput.js.map +1 -0
  615. package/dist/ui/components/FileBrowser.d.ts +11 -0
  616. package/dist/ui/components/FileBrowser.d.ts.map +1 -0
  617. package/dist/ui/components/FileBrowser.js +45 -0
  618. package/dist/ui/components/FileBrowser.js.map +1 -0
  619. package/dist/ui/components/LLMSetupWizard.d.ts +8 -0
  620. package/dist/ui/components/LLMSetupWizard.d.ts.map +1 -0
  621. package/dist/ui/components/LLMSetupWizard.js +197 -0
  622. package/dist/ui/components/LLMSetupWizard.js.map +1 -0
  623. package/dist/ui/components/Logo.d.ts +20 -0
  624. package/dist/ui/components/Logo.d.ts.map +1 -0
  625. package/dist/ui/components/Logo.js +100 -0
  626. package/dist/ui/components/Logo.js.map +1 -0
  627. package/dist/ui/components/MarkdownRenderer.d.ts +9 -0
  628. package/dist/ui/components/MarkdownRenderer.d.ts.map +1 -0
  629. package/dist/ui/components/MarkdownRenderer.js +198 -0
  630. package/dist/ui/components/MarkdownRenderer.js.map +1 -0
  631. package/dist/ui/components/ModelSelector.d.ts +8 -0
  632. package/dist/ui/components/ModelSelector.d.ts.map +1 -0
  633. package/dist/ui/components/ModelSelector.js +111 -0
  634. package/dist/ui/components/ModelSelector.js.map +1 -0
  635. package/dist/ui/components/PlanExecuteApp.d.ts +23 -0
  636. package/dist/ui/components/PlanExecuteApp.d.ts.map +1 -0
  637. package/dist/ui/components/PlanExecuteApp.js +1377 -0
  638. package/dist/ui/components/PlanExecuteApp.js.map +1 -0
  639. package/dist/ui/components/ProgressBar.d.ts +10 -0
  640. package/dist/ui/components/ProgressBar.d.ts.map +1 -0
  641. package/dist/ui/components/ProgressBar.js +26 -0
  642. package/dist/ui/components/ProgressBar.js.map +1 -0
  643. package/dist/ui/components/StatusBar.d.ts +23 -0
  644. package/dist/ui/components/StatusBar.d.ts.map +1 -0
  645. package/dist/ui/components/StatusBar.js +162 -0
  646. package/dist/ui/components/StatusBar.js.map +1 -0
  647. package/dist/ui/components/ThinkingIndicator.d.ts +14 -0
  648. package/dist/ui/components/ThinkingIndicator.d.ts.map +1 -0
  649. package/dist/ui/components/ThinkingIndicator.js +63 -0
  650. package/dist/ui/components/ThinkingIndicator.js.map +1 -0
  651. package/dist/ui/components/TodoListView.d.ts +11 -0
  652. package/dist/ui/components/TodoListView.d.ts.map +1 -0
  653. package/dist/ui/components/TodoListView.js +69 -0
  654. package/dist/ui/components/TodoListView.js.map +1 -0
  655. package/dist/ui/components/ToolSelector.d.ts +7 -0
  656. package/dist/ui/components/ToolSelector.d.ts.map +1 -0
  657. package/dist/ui/components/ToolSelector.js +112 -0
  658. package/dist/ui/components/ToolSelector.js.map +1 -0
  659. package/dist/ui/components/dialogs/ApprovalDialog.d.ts +13 -0
  660. package/dist/ui/components/dialogs/ApprovalDialog.d.ts.map +1 -0
  661. package/dist/ui/components/dialogs/ApprovalDialog.js +175 -0
  662. package/dist/ui/components/dialogs/ApprovalDialog.js.map +1 -0
  663. package/dist/ui/components/dialogs/AskUserDialog.d.ts +9 -0
  664. package/dist/ui/components/dialogs/AskUserDialog.d.ts.map +1 -0
  665. package/dist/ui/components/dialogs/AskUserDialog.js +111 -0
  666. package/dist/ui/components/dialogs/AskUserDialog.js.map +1 -0
  667. package/dist/ui/components/dialogs/DocsBrowser.d.ts +8 -0
  668. package/dist/ui/components/dialogs/DocsBrowser.d.ts.map +1 -0
  669. package/dist/ui/components/dialogs/DocsBrowser.js +127 -0
  670. package/dist/ui/components/dialogs/DocsBrowser.js.map +1 -0
  671. package/dist/ui/components/dialogs/SettingsDialog.d.ts +10 -0
  672. package/dist/ui/components/dialogs/SettingsDialog.d.ts.map +1 -0
  673. package/dist/ui/components/dialogs/SettingsDialog.js +586 -0
  674. package/dist/ui/components/dialogs/SettingsDialog.js.map +1 -0
  675. package/dist/ui/components/dialogs/index.d.ts +3 -0
  676. package/dist/ui/components/dialogs/index.d.ts.map +1 -0
  677. package/dist/ui/components/dialogs/index.js +3 -0
  678. package/dist/ui/components/dialogs/index.js.map +1 -0
  679. package/dist/ui/components/index.d.ts +12 -0
  680. package/dist/ui/components/index.d.ts.map +1 -0
  681. package/dist/ui/components/index.js +9 -0
  682. package/dist/ui/components/index.js.map +1 -0
  683. package/dist/ui/components/panels/LogPanel.d.ts +7 -0
  684. package/dist/ui/components/panels/LogPanel.d.ts.map +1 -0
  685. package/dist/ui/components/panels/LogPanel.js +280 -0
  686. package/dist/ui/components/panels/LogPanel.js.map +1 -0
  687. package/dist/ui/components/panels/SessionPanel.d.ts +8 -0
  688. package/dist/ui/components/panels/SessionPanel.d.ts.map +1 -0
  689. package/dist/ui/components/panels/SessionPanel.js +81 -0
  690. package/dist/ui/components/panels/SessionPanel.js.map +1 -0
  691. package/dist/ui/components/panels/index.d.ts +4 -0
  692. package/dist/ui/components/panels/index.d.ts.map +1 -0
  693. package/dist/ui/components/panels/index.js +4 -0
  694. package/dist/ui/components/panels/index.js.map +1 -0
  695. package/dist/ui/components/views/ChatView.d.ts +12 -0
  696. package/dist/ui/components/views/ChatView.d.ts.map +1 -0
  697. package/dist/ui/components/views/ChatView.js +289 -0
  698. package/dist/ui/components/views/ChatView.js.map +1 -0
  699. package/dist/ui/components/views/index.d.ts +2 -0
  700. package/dist/ui/components/views/index.d.ts.map +1 -0
  701. package/dist/ui/components/views/index.js +2 -0
  702. package/dist/ui/components/views/index.js.map +1 -0
  703. package/dist/ui/contexts/TokenContext.d.ts +29 -0
  704. package/dist/ui/contexts/TokenContext.d.ts.map +1 -0
  705. package/dist/ui/contexts/TokenContext.js +79 -0
  706. package/dist/ui/contexts/TokenContext.js.map +1 -0
  707. package/dist/ui/hooks/atFileProcessor.d.ts +15 -0
  708. package/dist/ui/hooks/atFileProcessor.d.ts.map +1 -0
  709. package/dist/ui/hooks/atFileProcessor.js +88 -0
  710. package/dist/ui/hooks/atFileProcessor.js.map +1 -0
  711. package/dist/ui/hooks/index.d.ts +9 -0
  712. package/dist/ui/hooks/index.d.ts.map +1 -0
  713. package/dist/ui/hooks/index.js +9 -0
  714. package/dist/ui/hooks/index.js.map +1 -0
  715. package/dist/ui/hooks/slashCommandProcessor.d.ts +21 -0
  716. package/dist/ui/hooks/slashCommandProcessor.d.ts.map +1 -0
  717. package/dist/ui/hooks/slashCommandProcessor.js +96 -0
  718. package/dist/ui/hooks/slashCommandProcessor.js.map +1 -0
  719. package/dist/ui/hooks/useCommandBrowserState.d.ts +12 -0
  720. package/dist/ui/hooks/useCommandBrowserState.d.ts.map +1 -0
  721. package/dist/ui/hooks/useCommandBrowserState.js +66 -0
  722. package/dist/ui/hooks/useCommandBrowserState.js.map +1 -0
  723. package/dist/ui/hooks/useFileBrowserState.d.ts +15 -0
  724. package/dist/ui/hooks/useFileBrowserState.d.ts.map +1 -0
  725. package/dist/ui/hooks/useFileBrowserState.js +80 -0
  726. package/dist/ui/hooks/useFileBrowserState.js.map +1 -0
  727. package/dist/ui/hooks/useFileList.d.ts +20 -0
  728. package/dist/ui/hooks/useFileList.d.ts.map +1 -0
  729. package/dist/ui/hooks/useFileList.js +57 -0
  730. package/dist/ui/hooks/useFileList.js.map +1 -0
  731. package/dist/ui/hooks/useInputHistory.d.ts +9 -0
  732. package/dist/ui/hooks/useInputHistory.d.ts.map +1 -0
  733. package/dist/ui/hooks/useInputHistory.js +68 -0
  734. package/dist/ui/hooks/useInputHistory.js.map +1 -0
  735. package/dist/ui/hooks/usePlanExecution.d.ts +8 -0
  736. package/dist/ui/hooks/usePlanExecution.d.ts.map +1 -0
  737. package/dist/ui/hooks/usePlanExecution.js +218 -0
  738. package/dist/ui/hooks/usePlanExecution.js.map +1 -0
  739. package/dist/ui/hooks/useTerminalWidth.d.ts +4 -0
  740. package/dist/ui/hooks/useTerminalWidth.d.ts.map +1 -0
  741. package/dist/ui/hooks/useTerminalWidth.js +26 -0
  742. package/dist/ui/hooks/useTerminalWidth.js.map +1 -0
  743. package/dist/ui/index.d.ts +7 -0
  744. package/dist/ui/index.d.ts.map +1 -0
  745. package/dist/ui/index.js +7 -0
  746. package/dist/ui/index.js.map +1 -0
  747. package/dist/ui/ink-entry.d.ts +3 -0
  748. package/dist/ui/ink-entry.d.ts.map +1 -0
  749. package/dist/ui/ink-entry.js +22 -0
  750. package/dist/ui/ink-entry.js.map +1 -0
  751. package/dist/utils/file-system.d.ts +9 -0
  752. package/dist/utils/file-system.d.ts.map +1 -0
  753. package/dist/utils/file-system.js +99 -0
  754. package/dist/utils/file-system.js.map +1 -0
  755. package/dist/utils/git-utils.d.ts +2 -0
  756. package/dist/utils/git-utils.d.ts.map +1 -0
  757. package/dist/utils/git-utils.js +16 -0
  758. package/dist/utils/git-utils.js.map +1 -0
  759. package/dist/utils/json-stream-logger.d.ts +74 -0
  760. package/dist/utils/json-stream-logger.d.ts.map +1 -0
  761. package/dist/utils/json-stream-logger.js +808 -0
  762. package/dist/utils/json-stream-logger.js.map +1 -0
  763. package/dist/utils/logger.d.ts +152 -0
  764. package/dist/utils/logger.d.ts.map +1 -0
  765. package/dist/utils/logger.js +1672 -0
  766. package/dist/utils/logger.js.map +1 -0
  767. package/dist/utils/platform-utils.d.ts +19 -0
  768. package/dist/utils/platform-utils.d.ts.map +1 -0
  769. package/dist/utils/platform-utils.js +134 -0
  770. package/dist/utils/platform-utils.js.map +1 -0
  771. package/dist/utils/wsl-utils.d.ts +4 -0
  772. package/dist/utils/wsl-utils.d.ts.map +1 -0
  773. package/dist/utils/wsl-utils.js +72 -0
  774. package/dist/utils/wsl-utils.js.map +1 -0
  775. package/package.json +132 -0
  776. package/scripts/patch-yoga.js +48 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"section-builders.d.ts","sourceRoot":"","sources":["../../../../src/tools/office/word-tools/section-builders.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,aAAa,EAAc,MAAM,gBAAgB,CAAC;AA4qB3D,eAAO,MAAM,sBAAsB,EAAE,aAKpC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,aAK9B,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,aAKlC,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,aAKvC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,aAKtC,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,aAKrC,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,aAKrC,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,aAKrC,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,aAKpC,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,aAAa,EAU9C,CAAC"}
@@ -0,0 +1,601 @@
1
+ import { wordClient } from '../word-client.js';
2
+ import { OFFICE_CATEGORIES } from '../common/constants.js';
3
+ const COLOR_PRESETS = {
4
+ MODERN_TECH: { primary: '#0D1B2A', accent: '#1B998B', body: '#333333', light: '#E0F7F5' },
5
+ WARM_EXECUTIVE: { primary: '#2C1810', accent: '#C45B28', body: '#333333', light: '#FFF3EC' },
6
+ CLEAN_MINIMAL: { primary: '#1A1A2E', accent: '#16213E', body: '#444444', light: '#F5F5F5' },
7
+ CORPORATE: { primary: '#1B3A5C', accent: '#2E5090', body: '#333333', light: '#EBF0F7' },
8
+ NATURE_FRESH: { primary: '#1B4332', accent: '#2D6A4F', body: '#333333', light: '#D8F3DC' },
9
+ BOLD_MODERN: { primary: '#1A1A2E', accent: '#E63946', body: '#333333', light: '#F8F9FA' },
10
+ };
11
+ const FONT_PRESETS = {
12
+ MODERN_TECH: { title: 'Segoe UI', body: '맑은 고딕' },
13
+ WARM_EXECUTIVE: { title: 'Georgia', body: '맑은 고딕' },
14
+ CLEAN_MINIMAL: { title: '맑은 고딕', body: '돋움' },
15
+ CORPORATE: { title: 'Calibri', body: '맑은 고딕' },
16
+ NATURE_FRESH: { title: '굴림', body: '맑은 고딕' },
17
+ BOLD_MODERN: { title: 'Arial Black', body: '맑은 고딕' },
18
+ };
19
+ const DEFAULT_FONTS = { title: 'Segoe UI', body: '맑은 고딕' };
20
+ function stripMarkdown(text) {
21
+ return text
22
+ .replace(/^#{1,6}\s+/gm, '')
23
+ .replace(/\*\*(.+?)\*\*/g, '$1')
24
+ .replace(/__(.+?)__/g, '$1')
25
+ .replace(/(?<!\w)\*(.+?)\*(?!\w)/g, '$1')
26
+ .replace(/(?<!\w)_(.+?)_(?!\w)/g, '$1')
27
+ .replace(/~~(.+?)~~/g, '$1')
28
+ .replace(/`(.+?)`/g, '$1');
29
+ }
30
+ function generateLightTint(hexColor) {
31
+ const hex = hexColor.replace('#', '');
32
+ const r = parseInt(hex.substring(0, 2), 16);
33
+ const g = parseInt(hex.substring(2, 4), 16);
34
+ const b = parseInt(hex.substring(4, 6), 16);
35
+ const lr = Math.round(r * 0.08 + 255 * 0.92);
36
+ const lg = Math.round(g * 0.08 + 255 * 0.92);
37
+ const lb = Math.round(b * 0.08 + 255 * 0.92);
38
+ return `#${lr.toString(16).padStart(2, '0')}${lg.toString(16).padStart(2, '0')}${lb.toString(16).padStart(2, '0')}`;
39
+ }
40
+ function resolveColors(args) {
41
+ if (args['colors'] && typeof args['colors'] === 'object') {
42
+ const c = args['colors'];
43
+ const accent = c['accent'] || '#1B998B';
44
+ let light = c['light'] || '#F5F5F5';
45
+ if (light === '#FFFFFF' || light === '#ffffff' || light === '#FFF' || light === '#fff') {
46
+ light = generateLightTint(accent);
47
+ }
48
+ return {
49
+ primary: c['primary'] || '#1A1A2E',
50
+ accent,
51
+ body: c['body'] || '#333333',
52
+ light,
53
+ };
54
+ }
55
+ const scheme = args['color_scheme'] || 'MODERN_TECH';
56
+ return COLOR_PRESETS[scheme] ?? COLOR_PRESETS['MODERN_TECH'];
57
+ }
58
+ function resolveFonts(args) {
59
+ if (args['fonts'] && typeof args['fonts'] === 'object') {
60
+ const f = args['fonts'];
61
+ return { title: f['title'] || 'Segoe UI', body: f['body'] || '맑은 고딕' };
62
+ }
63
+ if (typeof args['fonts'] === 'string') {
64
+ return FONT_PRESETS[args['fonts']] ?? DEFAULT_FONTS;
65
+ }
66
+ const scheme = args['color_scheme'] || 'MODERN_TECH';
67
+ return FONT_PRESETS[scheme] ?? DEFAULT_FONTS;
68
+ }
69
+ const COLOR_FONT_PARAMS = {
70
+ color_scheme: { type: 'string', description: 'Preset: MODERN_TECH, WARM_EXECUTIVE, CLEAN_MINIMAL, CORPORATE, NATURE_FRESH, BOLD_MODERN' },
71
+ colors: { type: 'object', properties: { primary: { type: 'string' }, accent: { type: 'string' }, body: { type: 'string' }, light: { type: 'string' } } },
72
+ fonts: { type: 'object', properties: { title: { type: 'string' }, body: { type: 'string' } } },
73
+ };
74
+ const WORD_BUILD_TITLE_PAGE_DEF = {
75
+ type: 'function',
76
+ function: {
77
+ name: 'word_build_title_page',
78
+ description: 'Build a complete title page with centered title, subtitle, date/author, and a page break. One call = one finished title page.',
79
+ parameters: {
80
+ type: 'object',
81
+ properties: {
82
+ title: { type: 'string', description: 'Document title' },
83
+ subtitle: { type: 'string', description: 'Subtitle or description' },
84
+ date_text: { type: 'string', description: 'Date string (e.g., "2024년 12월")' },
85
+ author: { type: 'string', description: 'Author name' },
86
+ ...COLOR_FONT_PARAMS,
87
+ },
88
+ required: ['title'],
89
+ },
90
+ },
91
+ };
92
+ async function executeBuildTitlePage(args) {
93
+ try {
94
+ const colors = resolveColors(args);
95
+ const fonts = resolveFonts(args);
96
+ const title = args['title'] || 'Document';
97
+ const subtitle = args['subtitle'] || '';
98
+ const dateText = args['date_text'] || '';
99
+ const author = args['author'] || '';
100
+ for (let i = 0; i < 10; i++) {
101
+ await wordClient.wordWrite(' ', { fontSize: 20, newParagraph: true, spaceAfter: 0, spaceBefore: 0 });
102
+ }
103
+ await wordClient.wordWrite(' ', {
104
+ fontSize: 6, newParagraph: true, spaceAfter: 0, spaceBefore: 0,
105
+ bgColor: colors.accent,
106
+ });
107
+ const titleFontSize = title.length <= 10 ? 42 : title.length <= 16 ? 36 : title.length <= 22 ? 30 : 26;
108
+ await wordClient.wordWrite(' ', {
109
+ fontSize: 36, newParagraph: true, spaceAfter: 0, spaceBefore: 0,
110
+ bgColor: colors.primary,
111
+ });
112
+ await wordClient.wordWrite(title, {
113
+ fontName: fonts.title, fontSize: titleFontSize, bold: true, color: '#FFFFFF',
114
+ alignment: 'center', newParagraph: true, spaceAfter: 0, spaceBefore: 12,
115
+ bgColor: colors.primary,
116
+ });
117
+ await wordClient.wordWrite(' ', {
118
+ fontSize: 36, newParagraph: true, spaceAfter: 0, spaceBefore: 0,
119
+ bgColor: colors.primary,
120
+ });
121
+ await wordClient.wordWrite(' ', {
122
+ fontSize: 6, newParagraph: true, spaceAfter: 24, spaceBefore: 0,
123
+ bgColor: colors.accent,
124
+ });
125
+ if (subtitle) {
126
+ await wordClient.wordWrite(subtitle, {
127
+ fontName: fonts.body, fontSize: 18, color: '#444444',
128
+ alignment: 'center', newParagraph: true, spaceAfter: 10,
129
+ });
130
+ }
131
+ if (dateText || author) {
132
+ const infoText = [dateText, author].filter(Boolean).join(' | ');
133
+ await wordClient.wordWrite(infoText, {
134
+ fontName: fonts.body, fontSize: 12, color: '#777777',
135
+ alignment: 'center', newParagraph: true, spaceAfter: 0,
136
+ });
137
+ }
138
+ await wordClient.wordInsertBreak('page');
139
+ return { success: true, result: 'Title page built successfully' };
140
+ }
141
+ catch (error) {
142
+ return { success: false, error: `Failed to build title page: ${error instanceof Error ? error.message : String(error)}` };
143
+ }
144
+ }
145
+ const WORD_BUILD_TOC_DEF = {
146
+ type: 'function',
147
+ function: {
148
+ name: 'word_build_toc',
149
+ description: 'Insert a table of contents followed by a page break. Call this after the title page and before content sections.',
150
+ parameters: {
151
+ type: 'object',
152
+ properties: {
153
+ title: { type: 'string', description: 'TOC title text (default: "목차")' },
154
+ toc_depth: { type: 'number', description: 'Heading depth to include (1=H1 only, 2=H1+H2, 3=H1+H2+H3). Default: 2. Use 1 for documents with many sections.' },
155
+ ...COLOR_FONT_PARAMS,
156
+ },
157
+ required: [],
158
+ },
159
+ },
160
+ };
161
+ async function executeBuildTOC(args) {
162
+ try {
163
+ const colors = resolveColors(args);
164
+ const fonts = resolveFonts(args);
165
+ const tocTitle = args['title'] || '목차';
166
+ await wordClient.wordWrite(tocTitle, {
167
+ fontName: fonts.title, fontSize: 20, bold: true, color: colors.primary,
168
+ alignment: 'left', newParagraph: true, spaceAfter: 12,
169
+ bgColor: colors.light, leftBorderColor: colors.accent, leftBorderWidth: 4,
170
+ });
171
+ const tocDepth = args['toc_depth'] || 2;
172
+ await wordClient.wordInsertTOC({ lowerHeadingLevel: tocDepth });
173
+ await wordClient.wordInsertBreak('page');
174
+ return { success: true, result: 'Table of contents built successfully' };
175
+ }
176
+ catch (error) {
177
+ return { success: false, error: `Failed to build TOC: ${error instanceof Error ? error.message : String(error)}` };
178
+ }
179
+ }
180
+ const WORD_BUILD_SECTION_DEF = {
181
+ type: 'function',
182
+ function: {
183
+ name: 'word_build_section',
184
+ description: 'Build a complete document section with a heading and body paragraphs. Supports sub-sections with Heading 2. One call = one finished section.',
185
+ parameters: {
186
+ type: 'object',
187
+ properties: {
188
+ heading: { type: 'string', description: 'Section heading text (will be Heading 1 style)' },
189
+ body_paragraphs: {
190
+ type: 'array', items: { type: 'string' },
191
+ description: 'Array of body paragraphs. Each string becomes a separate paragraph.',
192
+ },
193
+ sub_sections: {
194
+ type: 'array',
195
+ description: 'Optional sub-sections, each with heading (Heading 2) and body paragraphs',
196
+ items: {
197
+ type: 'object',
198
+ properties: {
199
+ heading: { type: 'string' },
200
+ body_paragraphs: { type: 'array', items: { type: 'string' } },
201
+ },
202
+ required: ['heading', 'body_paragraphs'],
203
+ },
204
+ },
205
+ ...COLOR_FONT_PARAMS,
206
+ },
207
+ required: ['heading', 'body_paragraphs'],
208
+ },
209
+ },
210
+ };
211
+ async function executeBuildSection(args) {
212
+ try {
213
+ const colors = resolveColors(args);
214
+ const fonts = resolveFonts(args);
215
+ const heading = stripMarkdown(args['heading'] || '');
216
+ const bodyParagraphs = args['body_paragraphs'] || [];
217
+ const subSections = args['sub_sections'] || [];
218
+ await wordClient.wordWrite(heading, {
219
+ fontName: fonts.title, fontSize: 18, bold: true, color: colors.primary,
220
+ newParagraph: true, spaceAfter: 8, spaceBefore: 16, styleName: 'Heading 1',
221
+ bgColor: colors.light, leftBorderColor: colors.accent, leftBorderWidth: 4,
222
+ });
223
+ for (const para of bodyParagraphs) {
224
+ await wordClient.wordWrite(stripMarkdown(para), {
225
+ fontName: fonts.body, fontSize: 11, color: colors.body,
226
+ alignment: 'justify', newParagraph: true, spaceAfter: 6, lineSpacing: 1.5,
227
+ });
228
+ }
229
+ for (const sub of subSections) {
230
+ const subHeading = stripMarkdown(sub['heading'] || '');
231
+ const subBody = sub['body_paragraphs'] || [];
232
+ await wordClient.wordWrite(subHeading, {
233
+ fontName: fonts.title, fontSize: 14, bold: true, color: colors.accent,
234
+ newParagraph: true, spaceAfter: 6, spaceBefore: 12, styleName: 'Heading 2',
235
+ leftBorderColor: colors.accent, leftBorderWidth: 3,
236
+ });
237
+ for (const para of subBody) {
238
+ await wordClient.wordWrite(stripMarkdown(para), {
239
+ fontName: fonts.body, fontSize: 11, color: colors.body,
240
+ alignment: 'justify', newParagraph: true, spaceAfter: 6, lineSpacing: 1.5,
241
+ });
242
+ }
243
+ }
244
+ return { success: true, result: `Section "${heading}" built successfully` };
245
+ }
246
+ catch (error) {
247
+ return { success: false, error: `Failed to build section: ${error instanceof Error ? error.message : String(error)}` };
248
+ }
249
+ }
250
+ const WORD_BUILD_TABLE_SECTION_DEF = {
251
+ type: 'function',
252
+ function: {
253
+ name: 'word_build_table_section',
254
+ description: 'Build a section with a heading and a styled table. Row 0 of table_data is treated as headers. One call = heading + styled table.',
255
+ parameters: {
256
+ type: 'object',
257
+ properties: {
258
+ heading: { type: 'string', description: 'Section heading text' },
259
+ table_data: {
260
+ type: 'array',
261
+ description: '2D array: first row = headers, rest = data rows',
262
+ items: { type: 'array', items: { type: 'string' } },
263
+ },
264
+ caption: { type: 'string', description: 'Optional caption below the table' },
265
+ ...COLOR_FONT_PARAMS,
266
+ },
267
+ required: ['heading', 'table_data'],
268
+ },
269
+ },
270
+ };
271
+ async function executeBuildTableSection(args) {
272
+ try {
273
+ const colors = resolveColors(args);
274
+ const fonts = resolveFonts(args);
275
+ const heading = stripMarkdown(args['heading'] || '');
276
+ const tableData = args['table_data'] || [];
277
+ const caption = args['caption'] || '';
278
+ if (tableData.length < 2) {
279
+ return { success: false, error: 'Table requires at least 2 rows (1 header + 1 data)' };
280
+ }
281
+ const filteredData = [tableData[0]];
282
+ for (let i = 1; i < tableData.length; i++) {
283
+ const row = tableData[i];
284
+ if (row.some(cell => cell && cell.trim() !== '')) {
285
+ filteredData.push(row);
286
+ }
287
+ }
288
+ if (filteredData.length < 2) {
289
+ return { success: false, error: 'Table has no non-empty data rows' };
290
+ }
291
+ await wordClient.wordWrite(heading, {
292
+ fontName: fonts.title, fontSize: 18, bold: true, color: colors.primary,
293
+ newParagraph: true, spaceAfter: 8, spaceBefore: 16, styleName: 'Heading 1',
294
+ bgColor: colors.light, leftBorderColor: colors.accent, leftBorderWidth: 4,
295
+ });
296
+ const cleanTableData = filteredData.map(row => row.map(stripMarkdown));
297
+ const rows = cleanTableData.length;
298
+ const cols = cleanTableData[0].length;
299
+ await wordClient.wordAddTable(rows, cols, cleanTableData);
300
+ try {
301
+ await wordClient.wordStyleTableHeaderRow(1, colors.accent);
302
+ }
303
+ catch {
304
+ try {
305
+ await wordClient.wordSetTableStyle(1, 'Table Grid');
306
+ }
307
+ catch { }
308
+ }
309
+ if (caption) {
310
+ await wordClient.wordWrite(caption, {
311
+ fontName: fonts.body, fontSize: 9, italic: true, color: '#888888',
312
+ alignment: 'center', newParagraph: true, spaceAfter: 8,
313
+ });
314
+ }
315
+ return { success: true, result: `Table section "${heading}" built (${rows}×${cols})` };
316
+ }
317
+ catch (error) {
318
+ return { success: false, error: `Failed to build table section: ${error instanceof Error ? error.message : String(error)}` };
319
+ }
320
+ }
321
+ const WORD_BUILD_LIST_SECTION_DEF = {
322
+ type: 'function',
323
+ function: {
324
+ name: 'word_build_list_section',
325
+ description: 'Build a section with a heading and a bullet or numbered list. One call = heading + styled list.',
326
+ parameters: {
327
+ type: 'object',
328
+ properties: {
329
+ heading: { type: 'string', description: 'Section heading text' },
330
+ items: {
331
+ type: 'array', items: { type: 'string' },
332
+ description: 'List items',
333
+ },
334
+ list_type: { type: 'string', enum: ['bullet', 'numbered'], description: 'List type (default: bullet)' },
335
+ ...COLOR_FONT_PARAMS,
336
+ },
337
+ required: ['heading', 'items'],
338
+ },
339
+ },
340
+ };
341
+ async function executeBuildListSection(args) {
342
+ try {
343
+ const colors = resolveColors(args);
344
+ const fonts = resolveFonts(args);
345
+ const heading = stripMarkdown(args['heading'] || '');
346
+ const items = args['items'] || [];
347
+ const listType = args['list_type'] || 'bullet';
348
+ await wordClient.wordWrite(heading, {
349
+ fontName: fonts.title, fontSize: 18, bold: true, color: colors.primary,
350
+ newParagraph: true, spaceAfter: 8, spaceBefore: 16, styleName: 'Heading 1',
351
+ bgColor: colors.light, leftBorderColor: colors.accent, leftBorderWidth: 4,
352
+ });
353
+ const cleanItems = items.map(stripMarkdown);
354
+ if (listType === 'numbered') {
355
+ await wordClient.wordCreateNumberedList(cleanItems);
356
+ }
357
+ else {
358
+ await wordClient.wordCreateBulletList(cleanItems);
359
+ }
360
+ return { success: true, result: `List section "${heading}" built (${items.length} items)` };
361
+ }
362
+ catch (error) {
363
+ return { success: false, error: `Failed to build list section: ${error instanceof Error ? error.message : String(error)}` };
364
+ }
365
+ }
366
+ const WORD_BUILD_CALLOUT_BOX_DEF = {
367
+ type: 'function',
368
+ function: {
369
+ name: 'word_build_callout_box',
370
+ description: 'Build a visually distinct callout box for key insights, tips, warnings, or summaries. Uses colored background + left border accent for visual emphasis. Great for breaking up monotonous text sections.',
371
+ parameters: {
372
+ type: 'object',
373
+ properties: {
374
+ title: { type: 'string', description: 'Callout title (e.g., "핵심 인사이트", "Key Takeaway", "⚡ 중요")' },
375
+ body: { type: 'string', description: 'Callout body text — the key insight or information' },
376
+ style: { type: 'string', enum: ['insight', 'tip', 'warning', 'summary'], description: 'Visual style: insight (accent), tip (green), warning (orange/red), summary (primary)' },
377
+ ...COLOR_FONT_PARAMS,
378
+ },
379
+ required: ['title', 'body'],
380
+ },
381
+ },
382
+ };
383
+ async function executeBuildCalloutBox(args) {
384
+ try {
385
+ const colors = resolveColors(args);
386
+ const fonts = resolveFonts(args);
387
+ const title = args['title'] || 'Key Insight';
388
+ const body = args['body'] || '';
389
+ const style = args['style'] || 'insight';
390
+ let borderColor = colors.accent;
391
+ let bgColor = colors.light;
392
+ if (style === 'warning') {
393
+ borderColor = '#E17055';
394
+ bgColor = '#FFF5F2';
395
+ }
396
+ else if (style === 'tip') {
397
+ borderColor = '#00B894';
398
+ bgColor = '#F0FFF4';
399
+ }
400
+ else if (style === 'summary') {
401
+ borderColor = colors.primary;
402
+ bgColor = colors.light;
403
+ }
404
+ await wordClient.wordWrite(stripMarkdown(title), {
405
+ fontName: fonts.title, fontSize: 12, bold: true, color: borderColor,
406
+ newParagraph: true, spaceAfter: 2, spaceBefore: 12,
407
+ bgColor, leftBorderColor: borderColor, leftBorderWidth: 5,
408
+ });
409
+ await wordClient.wordWrite(stripMarkdown(body), {
410
+ fontName: fonts.body, fontSize: 11, color: colors.body,
411
+ newParagraph: true, spaceAfter: 12, lineSpacing: 1.4,
412
+ bgColor, leftBorderColor: borderColor, leftBorderWidth: 5,
413
+ });
414
+ return { success: true, result: `Callout box "${title}" built` };
415
+ }
416
+ catch (error) {
417
+ return { success: false, error: `Failed to build callout box: ${error instanceof Error ? error.message : String(error)}` };
418
+ }
419
+ }
420
+ const WORD_BUILD_KEY_METRICS_DEF = {
421
+ type: 'function',
422
+ function: {
423
+ name: 'word_build_key_metrics',
424
+ description: 'Display 3-6 key statistics/metrics prominently with large accent-colored numbers and labels. Perfect for executive summaries, dashboards, and highlighting key data points.',
425
+ parameters: {
426
+ type: 'object',
427
+ properties: {
428
+ heading: { type: 'string', description: 'Section heading (e.g., "핵심 성과 지표", "Key Metrics")' },
429
+ metrics: {
430
+ type: 'array',
431
+ description: 'Array of metrics: each has value (large number) and label (description)',
432
+ items: {
433
+ type: 'object',
434
+ properties: {
435
+ value: { type: 'string', description: 'The metric value (e.g., "32%", "$4.2M", "847대")' },
436
+ label: { type: 'string', description: 'What the metric represents (e.g., "매출 증가율", "Annual Savings")' },
437
+ },
438
+ required: ['value', 'label'],
439
+ },
440
+ },
441
+ ...COLOR_FONT_PARAMS,
442
+ },
443
+ required: ['heading', 'metrics'],
444
+ },
445
+ },
446
+ };
447
+ async function executeBuildKeyMetrics(args) {
448
+ try {
449
+ const colors = resolveColors(args);
450
+ const fonts = resolveFonts(args);
451
+ const heading = stripMarkdown(args['heading'] || 'Key Metrics');
452
+ const metrics = args['metrics'] || [];
453
+ await wordClient.wordWrite(heading, {
454
+ fontName: fonts.title, fontSize: 18, bold: true, color: colors.primary,
455
+ newParagraph: true, spaceAfter: 8, spaceBefore: 16, styleName: 'Heading 1',
456
+ bgColor: colors.light, leftBorderColor: colors.accent, leftBorderWidth: 4,
457
+ });
458
+ for (const metric of metrics) {
459
+ const value = metric['value'] || '';
460
+ const label = metric['label'] || '';
461
+ await wordClient.wordWrite(value, {
462
+ fontName: fonts.title, fontSize: 28, bold: true, color: colors.accent,
463
+ alignment: 'center', newParagraph: true, spaceAfter: 0, spaceBefore: 8,
464
+ bgColor: colors.light,
465
+ });
466
+ await wordClient.wordWrite(label, {
467
+ fontName: fonts.body, fontSize: 11, color: '#666666',
468
+ alignment: 'center', newParagraph: true, spaceAfter: 8, spaceBefore: 0,
469
+ bgColor: colors.light,
470
+ });
471
+ }
472
+ await wordClient.wordWrite(' ', {
473
+ fontSize: 2, newParagraph: true, spaceAfter: 8, spaceBefore: 4,
474
+ bgColor: colors.accent,
475
+ });
476
+ return { success: true, result: `Key metrics section "${heading}" built (${metrics.length} metrics)` };
477
+ }
478
+ catch (error) {
479
+ return { success: false, error: `Failed to build key metrics: ${error instanceof Error ? error.message : String(error)}` };
480
+ }
481
+ }
482
+ const WORD_BUILD_CONCLUSION_DEF = {
483
+ type: 'function',
484
+ function: {
485
+ name: 'word_build_conclusion',
486
+ description: 'Build a conclusion section with heading and body text. Typically the last content section.',
487
+ parameters: {
488
+ type: 'object',
489
+ properties: {
490
+ heading: { type: 'string', description: 'Conclusion heading (e.g., "결론", "마무리")' },
491
+ body: { type: 'string', description: 'Conclusion body text' },
492
+ ...COLOR_FONT_PARAMS,
493
+ },
494
+ required: ['heading', 'body'],
495
+ },
496
+ },
497
+ };
498
+ async function executeBuildConclusion(args) {
499
+ try {
500
+ const colors = resolveColors(args);
501
+ const fonts = resolveFonts(args);
502
+ const heading = stripMarkdown(args['heading'] || '결론');
503
+ const body = args['body'] || '';
504
+ await wordClient.wordWrite(heading, {
505
+ fontName: fonts.title, fontSize: 18, bold: true, color: colors.primary,
506
+ newParagraph: true, spaceAfter: 8, spaceBefore: 16, styleName: 'Heading 1',
507
+ bgColor: colors.light, leftBorderColor: colors.accent, leftBorderWidth: 4,
508
+ });
509
+ await wordClient.wordWrite(stripMarkdown(body), {
510
+ fontName: fonts.body, fontSize: 11, color: colors.body,
511
+ alignment: 'justify', newParagraph: true, spaceAfter: 6, lineSpacing: 1.5,
512
+ });
513
+ return { success: true, result: `Conclusion "${heading}" built successfully` };
514
+ }
515
+ catch (error) {
516
+ return { success: false, error: `Failed to build conclusion: ${error instanceof Error ? error.message : String(error)}` };
517
+ }
518
+ }
519
+ const WORD_BUILD_PAGE_BREAK_DEF = {
520
+ type: 'function',
521
+ function: {
522
+ name: 'word_build_page_break',
523
+ description: 'Insert a page break at the current cursor position.',
524
+ parameters: { type: 'object', properties: {}, required: [] },
525
+ },
526
+ };
527
+ async function executeBuildPageBreak() {
528
+ try {
529
+ await wordClient.wordInsertBreak('page');
530
+ return { success: true, result: 'Page break inserted' };
531
+ }
532
+ catch (error) {
533
+ return { success: false, error: `Failed to insert page break: ${error instanceof Error ? error.message : String(error)}` };
534
+ }
535
+ }
536
+ export const wordBuildTitlePageTool = {
537
+ definition: WORD_BUILD_TITLE_PAGE_DEF,
538
+ execute: executeBuildTitlePage,
539
+ categories: OFFICE_CATEGORIES,
540
+ description: 'Build complete title page',
541
+ };
542
+ export const wordBuildTOCTool = {
543
+ definition: WORD_BUILD_TOC_DEF,
544
+ execute: executeBuildTOC,
545
+ categories: OFFICE_CATEGORIES,
546
+ description: 'Build table of contents',
547
+ };
548
+ export const wordBuildSectionTool = {
549
+ definition: WORD_BUILD_SECTION_DEF,
550
+ execute: executeBuildSection,
551
+ categories: OFFICE_CATEGORIES,
552
+ description: 'Build document section',
553
+ };
554
+ export const wordBuildTableSectionTool = {
555
+ definition: WORD_BUILD_TABLE_SECTION_DEF,
556
+ execute: executeBuildTableSection,
557
+ categories: OFFICE_CATEGORIES,
558
+ description: 'Build table section',
559
+ };
560
+ export const wordBuildListSectionTool = {
561
+ definition: WORD_BUILD_LIST_SECTION_DEF,
562
+ execute: executeBuildListSection,
563
+ categories: OFFICE_CATEGORIES,
564
+ description: 'Build list section',
565
+ };
566
+ export const wordBuildCalloutBoxTool = {
567
+ definition: WORD_BUILD_CALLOUT_BOX_DEF,
568
+ execute: executeBuildCalloutBox,
569
+ categories: OFFICE_CATEGORIES,
570
+ description: 'Build callout box',
571
+ };
572
+ export const wordBuildKeyMetricsTool = {
573
+ definition: WORD_BUILD_KEY_METRICS_DEF,
574
+ execute: executeBuildKeyMetrics,
575
+ categories: OFFICE_CATEGORIES,
576
+ description: 'Build key metrics display',
577
+ };
578
+ export const wordBuildConclusionTool = {
579
+ definition: WORD_BUILD_CONCLUSION_DEF,
580
+ execute: executeBuildConclusion,
581
+ categories: OFFICE_CATEGORIES,
582
+ description: 'Build conclusion section',
583
+ };
584
+ export const wordBuildPageBreakTool = {
585
+ definition: WORD_BUILD_PAGE_BREAK_DEF,
586
+ execute: executeBuildPageBreak,
587
+ categories: OFFICE_CATEGORIES,
588
+ description: 'Insert page break',
589
+ };
590
+ export const sectionBuilderTools = [
591
+ wordBuildTitlePageTool,
592
+ wordBuildTOCTool,
593
+ wordBuildSectionTool,
594
+ wordBuildTableSectionTool,
595
+ wordBuildListSectionTool,
596
+ wordBuildCalloutBoxTool,
597
+ wordBuildKeyMetricsTool,
598
+ wordBuildConclusionTool,
599
+ wordBuildPageBreakTool,
600
+ ];
601
+ //# sourceMappingURL=section-builders.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"section-builders.js","sourceRoot":"","sources":["../../../../src/tools/office/word-tools/section-builders.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAkB3D,MAAM,aAAa,GAAgC;IACjD,WAAW,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;IACzF,cAAc,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAA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kB;IACnD,UAAU,EAAE,yBAAyB;IACrC,OAAO,EAAE,qBAAqB;IAC9B,UAAU,EAAE,iBAAiB;IAC7B,WAAW,EAAE,mBAAmB;CACjC,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAoB;IAClD,sBAAsB;IACtB,gBAAgB;IAChB,oBAAoB;IACpB,yBAAyB;IACzB,wBAAwB;IACxB,uBAAuB;IACvB,uBAAuB;IACvB,uBAAuB;IACvB,sBAAsB;CACvB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { LLMSimpleTool } from '../../types.js';
2
+ export declare const wordAddTableTool: LLMSimpleTool;
3
+ export declare const wordSetTableCellTool: LLMSimpleTool;
4
+ export declare const wordMergeTableCellsTool: LLMSimpleTool;
5
+ export declare const wordSetTableStyleTool: LLMSimpleTool;
6
+ export declare const wordSetTableBorderTool: LLMSimpleTool;
7
+ export declare const tablesTools: LLMSimpleTool[];
8
+ //# sourceMappingURL=tables.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tables.d.ts","sourceRoot":"","sources":["../../../../src/tools/office/word-tools/tables.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,aAAa,EAAc,MAAM,gBAAgB,CAAC;AA0C3D,eAAO,MAAM,gBAAgB,EAAE,aAK9B,CAAC;AAkDF,eAAO,MAAM,oBAAoB,EAAE,aAKlC,CAAC;AA4CF,eAAO,MAAM,uBAAuB,EAAE,aAKrC,CAAC;AAsCF,eAAO,MAAM,qBAAqB,EAAE,aAKnC,CAAC;AA0CF,eAAO,MAAM,sBAAsB,EAAE,aAKpC,CAAC;AAMF,eAAO,MAAM,WAAW,EAAE,aAAa,EAMtC,CAAC"}