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.
- package/LICENSE +21 -0
- package/README.md +306 -0
- package/dist/agents/base/base-agent.d.ts +38 -0
- package/dist/agents/base/base-agent.d.ts.map +1 -0
- package/dist/agents/base/base-agent.js +69 -0
- package/dist/agents/base/base-agent.js.map +1 -0
- package/dist/agents/browser/browser-profile-manager.d.ts +16 -0
- package/dist/agents/browser/browser-profile-manager.d.ts.map +1 -0
- package/dist/agents/browser/browser-profile-manager.js +149 -0
- package/dist/agents/browser/browser-profile-manager.js.map +1 -0
- package/dist/agents/browser/browser-sub-agent.d.ts +22 -0
- package/dist/agents/browser/browser-sub-agent.d.ts.map +1 -0
- package/dist/agents/browser/browser-sub-agent.js +162 -0
- package/dist/agents/browser/browser-sub-agent.js.map +1 -0
- package/dist/agents/browser/confluence-agent.d.ts +3 -0
- package/dist/agents/browser/confluence-agent.d.ts.map +1 -0
- package/dist/agents/browser/confluence-agent.js +35 -0
- package/dist/agents/browser/confluence-agent.js.map +1 -0
- package/dist/agents/browser/index.d.ts +4 -0
- package/dist/agents/browser/index.d.ts.map +1 -0
- package/dist/agents/browser/index.js +4 -0
- package/dist/agents/browser/index.js.map +1 -0
- package/dist/agents/browser/jira-agent.d.ts +3 -0
- package/dist/agents/browser/jira-agent.d.ts.map +1 -0
- package/dist/agents/browser/jira-agent.js +35 -0
- package/dist/agents/browser/jira-agent.js.map +1 -0
- package/dist/agents/browser/prompts.d.ts +4 -0
- package/dist/agents/browser/prompts.d.ts.map +1 -0
- package/dist/agents/browser/prompts.js +241 -0
- package/dist/agents/browser/prompts.js.map +1 -0
- package/dist/agents/browser/search-agent.d.ts +3 -0
- package/dist/agents/browser/search-agent.d.ts.map +1 -0
- package/dist/agents/browser/search-agent.js +31 -0
- package/dist/agents/browser/search-agent.js.map +1 -0
- package/dist/agents/common/complete-tool.d.ts +3 -0
- package/dist/agents/common/complete-tool.d.ts.map +1 -0
- package/dist/agents/common/complete-tool.js +18 -0
- package/dist/agents/common/complete-tool.js.map +1 -0
- package/dist/agents/common/index.d.ts +3 -0
- package/dist/agents/common/index.d.ts.map +1 -0
- package/dist/agents/common/index.js +3 -0
- package/dist/agents/common/index.js.map +1 -0
- package/dist/agents/common/sub-agent.d.ts +40 -0
- package/dist/agents/common/sub-agent.d.ts.map +1 -0
- package/dist/agents/common/sub-agent.js +313 -0
- package/dist/agents/common/sub-agent.js.map +1 -0
- package/dist/agents/index.d.ts +5 -0
- package/dist/agents/index.d.ts.map +1 -0
- package/dist/agents/index.js +5 -0
- package/dist/agents/index.js.map +1 -0
- package/dist/agents/office/complete-tool.d.ts +3 -0
- package/dist/agents/office/complete-tool.d.ts.map +1 -0
- package/dist/agents/office/complete-tool.js +18 -0
- package/dist/agents/office/complete-tool.js.map +1 -0
- package/dist/agents/office/excel-agent.d.ts +3 -0
- package/dist/agents/office/excel-agent.d.ts.map +1 -0
- package/dist/agents/office/excel-agent.js +31 -0
- package/dist/agents/office/excel-agent.js.map +1 -0
- package/dist/agents/office/excel-create-agent.d.ts +3 -0
- package/dist/agents/office/excel-create-agent.d.ts.map +1 -0
- package/dist/agents/office/excel-create-agent.js +58 -0
- package/dist/agents/office/excel-create-agent.js.map +1 -0
- package/dist/agents/office/excel-create-prompts.d.ts +4 -0
- package/dist/agents/office/excel-create-prompts.d.ts.map +1 -0
- package/dist/agents/office/excel-create-prompts.js +217 -0
- package/dist/agents/office/excel-create-prompts.js.map +1 -0
- package/dist/agents/office/index.d.ts +10 -0
- package/dist/agents/office/index.d.ts.map +1 -0
- package/dist/agents/office/index.js +10 -0
- package/dist/agents/office/index.js.map +1 -0
- package/dist/agents/office/office-sub-agent.d.ts +21 -0
- package/dist/agents/office/office-sub-agent.d.ts.map +1 -0
- package/dist/agents/office/office-sub-agent.js +127 -0
- package/dist/agents/office/office-sub-agent.js.map +1 -0
- package/dist/agents/office/powerpoint-agent.d.ts +3 -0
- package/dist/agents/office/powerpoint-agent.d.ts.map +1 -0
- package/dist/agents/office/powerpoint-agent.js +37 -0
- package/dist/agents/office/powerpoint-agent.js.map +1 -0
- package/dist/agents/office/powerpoint-create-agent.d.ts +3 -0
- package/dist/agents/office/powerpoint-create-agent.d.ts.map +1 -0
- package/dist/agents/office/powerpoint-create-agent.js +1124 -0
- package/dist/agents/office/powerpoint-create-agent.js.map +1 -0
- package/dist/agents/office/powerpoint-create-prompts.d.ts +116 -0
- package/dist/agents/office/powerpoint-create-prompts.d.ts.map +1 -0
- package/dist/agents/office/powerpoint-create-prompts.js +1354 -0
- package/dist/agents/office/powerpoint-create-prompts.js.map +1 -0
- package/dist/agents/office/prompts.d.ts +11 -0
- package/dist/agents/office/prompts.d.ts.map +1 -0
- package/dist/agents/office/prompts.js +852 -0
- package/dist/agents/office/prompts.js.map +1 -0
- package/dist/agents/office/word-agent.d.ts +3 -0
- package/dist/agents/office/word-agent.d.ts.map +1 -0
- package/dist/agents/office/word-agent.js +31 -0
- package/dist/agents/office/word-agent.js.map +1 -0
- package/dist/agents/office/word-create-agent.d.ts +3 -0
- package/dist/agents/office/word-create-agent.d.ts.map +1 -0
- package/dist/agents/office/word-create-agent.js +36 -0
- package/dist/agents/office/word-create-agent.js.map +1 -0
- package/dist/agents/office/word-create-prompts.d.ts +4 -0
- package/dist/agents/office/word-create-prompts.d.ts.map +1 -0
- package/dist/agents/office/word-create-prompts.js +288 -0
- package/dist/agents/office/word-create-prompts.js.map +1 -0
- package/dist/agents/planner/index.d.ts +14 -0
- package/dist/agents/planner/index.d.ts.map +1 -0
- package/dist/agents/planner/index.js +334 -0
- package/dist/agents/planner/index.js.map +1 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +166 -0
- package/dist/cli.js.map +1 -0
- package/dist/commands/chat-command.d.ts +2 -0
- package/dist/commands/chat-command.d.ts.map +1 -0
- package/dist/commands/chat-command.js +90 -0
- package/dist/commands/chat-command.js.map +1 -0
- package/dist/commands/electron-client.d.ts +17 -0
- package/dist/commands/electron-client.d.ts.map +1 -0
- package/dist/commands/electron-client.js +180 -0
- package/dist/commands/electron-client.js.map +1 -0
- package/dist/commands/jarvis-command.d.ts +2 -0
- package/dist/commands/jarvis-command.d.ts.map +1 -0
- package/dist/commands/jarvis-command.js +66 -0
- package/dist/commands/jarvis-command.js.map +1 -0
- package/dist/constants.d.ts +11 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +13 -0
- package/dist/constants.js.map +1 -0
- package/dist/core/compact/compact-manager.d.ts +22 -0
- package/dist/core/compact/compact-manager.d.ts.map +1 -0
- package/dist/core/compact/compact-manager.js +77 -0
- package/dist/core/compact/compact-manager.js.map +1 -0
- package/dist/core/compact/compact-prompts.d.ts +11 -0
- package/dist/core/compact/compact-prompts.d.ts.map +1 -0
- package/dist/core/compact/compact-prompts.js +90 -0
- package/dist/core/compact/compact-prompts.js.map +1 -0
- package/dist/core/compact/context-tracker.d.ts +28 -0
- package/dist/core/compact/context-tracker.d.ts.map +1 -0
- package/dist/core/compact/context-tracker.js +71 -0
- package/dist/core/compact/context-tracker.js.map +1 -0
- package/dist/core/compact/index.d.ts +4 -0
- package/dist/core/compact/index.d.ts.map +1 -0
- package/dist/core/compact/index.js +4 -0
- package/dist/core/compact/index.js.map +1 -0
- package/dist/core/config/config-manager.d.ts +43 -0
- package/dist/core/config/config-manager.d.ts.map +1 -0
- package/dist/core/config/config-manager.js +254 -0
- package/dist/core/config/config-manager.js.map +1 -0
- package/dist/core/config/index.d.ts +2 -0
- package/dist/core/config/index.d.ts.map +1 -0
- package/dist/core/config/index.js +2 -0
- package/dist/core/config/index.js.map +1 -0
- package/dist/core/docs-manager.d.ts +46 -0
- package/dist/core/docs-manager.d.ts.map +1 -0
- package/dist/core/docs-manager.js +475 -0
- package/dist/core/docs-manager.js.map +1 -0
- package/dist/core/git-auto-updater.d.ts +58 -0
- package/dist/core/git-auto-updater.d.ts.map +1 -0
- package/dist/core/git-auto-updater.js +374 -0
- package/dist/core/git-auto-updater.js.map +1 -0
- package/dist/core/llm/index.d.ts +2 -0
- package/dist/core/llm/index.d.ts.map +1 -0
- package/dist/core/llm/index.js +2 -0
- package/dist/core/llm/index.js.map +1 -0
- package/dist/core/llm/llm-client.d.ts +110 -0
- package/dist/core/llm/llm-client.d.ts.map +1 -0
- package/dist/core/llm/llm-client.js +1272 -0
- package/dist/core/llm/llm-client.js.map +1 -0
- package/dist/core/session/index.d.ts +2 -0
- package/dist/core/session/index.d.ts.map +1 -0
- package/dist/core/session/index.js +2 -0
- package/dist/core/session/index.js.map +1 -0
- package/dist/core/session/session-manager.d.ts +73 -0
- package/dist/core/session/session-manager.d.ts.map +1 -0
- package/dist/core/session/session-manager.js +260 -0
- package/dist/core/session/session-manager.js.map +1 -0
- package/dist/core/slash-command-handler.d.ts +31 -0
- package/dist/core/slash-command-handler.d.ts.map +1 -0
- package/dist/core/slash-command-handler.js +304 -0
- package/dist/core/slash-command-handler.js.map +1 -0
- package/dist/core/telemetry/error-reporter.d.ts +2 -0
- package/dist/core/telemetry/error-reporter.d.ts.map +1 -0
- package/dist/core/telemetry/error-reporter.js +3 -0
- package/dist/core/telemetry/error-reporter.js.map +1 -0
- package/dist/core/usage-tracker.d.ts +70 -0
- package/dist/core/usage-tracker.d.ts.map +1 -0
- package/dist/core/usage-tracker.js +251 -0
- package/dist/core/usage-tracker.js.map +1 -0
- package/dist/errors/base.d.ts +22 -0
- package/dist/errors/base.d.ts.map +1 -0
- package/dist/errors/base.js +43 -0
- package/dist/errors/base.js.map +1 -0
- package/dist/errors/file.d.ts +31 -0
- package/dist/errors/file.d.ts.map +1 -0
- package/dist/errors/file.js +110 -0
- package/dist/errors/file.js.map +1 -0
- package/dist/errors/index.d.ts +10 -0
- package/dist/errors/index.d.ts.map +1 -0
- package/dist/errors/index.js +41 -0
- package/dist/errors/index.js.map +1 -0
- package/dist/errors/llm.d.ts +30 -0
- package/dist/errors/llm.d.ts.map +1 -0
- package/dist/errors/llm.js +97 -0
- package/dist/errors/llm.js.map +1 -0
- package/dist/errors/network.d.ts +19 -0
- package/dist/errors/network.d.ts.map +1 -0
- package/dist/errors/network.js +82 -0
- package/dist/errors/network.js.map +1 -0
- package/dist/errors/validation.d.ts +19 -0
- package/dist/errors/validation.d.ts.map +1 -0
- package/dist/errors/validation.js +62 -0
- package/dist/errors/validation.js.map +1 -0
- package/dist/eval/eval-runner.d.ts +24 -0
- package/dist/eval/eval-runner.d.ts.map +1 -0
- package/dist/eval/eval-runner.js +291 -0
- package/dist/eval/eval-runner.js.map +1 -0
- package/dist/eval/index.d.ts +3 -0
- package/dist/eval/index.d.ts.map +1 -0
- package/dist/eval/index.js +3 -0
- package/dist/eval/index.js.map +1 -0
- package/dist/eval/types.d.ts +77 -0
- package/dist/eval/types.d.ts.map +1 -0
- package/dist/eval/types.js +2 -0
- package/dist/eval/types.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -0
- package/dist/orchestration/index.d.ts +4 -0
- package/dist/orchestration/index.d.ts.map +1 -0
- package/dist/orchestration/index.js +3 -0
- package/dist/orchestration/index.js.map +1 -0
- package/dist/orchestration/plan-executor.d.ts +27 -0
- package/dist/orchestration/plan-executor.d.ts.map +1 -0
- package/dist/orchestration/plan-executor.js +536 -0
- package/dist/orchestration/plan-executor.js.map +1 -0
- package/dist/orchestration/types.d.ts +69 -0
- package/dist/orchestration/types.d.ts.map +1 -0
- package/dist/orchestration/types.js +2 -0
- package/dist/orchestration/types.js.map +1 -0
- package/dist/orchestration/utils.d.ts +14 -0
- package/dist/orchestration/utils.d.ts.map +1 -0
- package/dist/orchestration/utils.js +105 -0
- package/dist/orchestration/utils.js.map +1 -0
- package/dist/pipe/index.d.ts +2 -0
- package/dist/pipe/index.d.ts.map +1 -0
- package/dist/pipe/index.js +2 -0
- package/dist/pipe/index.js.map +1 -0
- package/dist/pipe/pipe-runner.d.ts +15 -0
- package/dist/pipe/pipe-runner.d.ts.map +1 -0
- package/dist/pipe/pipe-runner.js +207 -0
- package/dist/pipe/pipe-runner.js.map +1 -0
- package/dist/prompts/agents/planning.d.ts +4 -0
- package/dist/prompts/agents/planning.d.ts.map +1 -0
- package/dist/prompts/agents/planning.js +318 -0
- package/dist/prompts/agents/planning.js.map +1 -0
- package/dist/prompts/index.d.ts +8 -0
- package/dist/prompts/index.d.ts.map +1 -0
- package/dist/prompts/index.js +8 -0
- package/dist/prompts/index.js.map +1 -0
- package/dist/prompts/shared/codebase-rules.d.ts +4 -0
- package/dist/prompts/shared/codebase-rules.d.ts.map +1 -0
- package/dist/prompts/shared/codebase-rules.js +16 -0
- package/dist/prompts/shared/codebase-rules.js.map +1 -0
- package/dist/prompts/shared/git-rules.d.ts +2 -0
- package/dist/prompts/shared/git-rules.d.ts.map +1 -0
- package/dist/prompts/shared/git-rules.js +87 -0
- package/dist/prompts/shared/git-rules.js.map +1 -0
- package/dist/prompts/shared/language-rules.d.ts +4 -0
- package/dist/prompts/shared/language-rules.d.ts.map +1 -0
- package/dist/prompts/shared/language-rules.js +22 -0
- package/dist/prompts/shared/language-rules.js.map +1 -0
- package/dist/prompts/shared/tool-usage.d.ts +14 -0
- package/dist/prompts/shared/tool-usage.d.ts.map +1 -0
- package/dist/prompts/shared/tool-usage.js +92 -0
- package/dist/prompts/shared/tool-usage.js.map +1 -0
- package/dist/prompts/system/compact.d.ts +3 -0
- package/dist/prompts/system/compact.d.ts.map +1 -0
- package/dist/prompts/system/compact.js +73 -0
- package/dist/prompts/system/compact.js.map +1 -0
- package/dist/prompts/system/plan-execute.d.ts +6 -0
- package/dist/prompts/system/plan-execute.d.ts.map +1 -0
- package/dist/prompts/system/plan-execute.js +178 -0
- package/dist/prompts/system/plan-execute.js.map +1 -0
- package/dist/tools/browser/browser-client.d.ts +108 -0
- package/dist/tools/browser/browser-client.d.ts.map +1 -0
- package/dist/tools/browser/browser-client.js +965 -0
- package/dist/tools/browser/browser-client.js.map +1 -0
- package/dist/tools/browser/browser-tools.d.ts +18 -0
- package/dist/tools/browser/browser-tools.d.ts.map +1 -0
- package/dist/tools/browser/browser-tools.js +983 -0
- package/dist/tools/browser/browser-tools.js.map +1 -0
- package/dist/tools/browser/index.d.ts +7 -0
- package/dist/tools/browser/index.d.ts.map +1 -0
- package/dist/tools/browser/index.js +17 -0
- package/dist/tools/browser/index.js.map +1 -0
- package/dist/tools/index.d.ts +4 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/index.js +4 -0
- package/dist/tools/index.js.map +1 -0
- package/dist/tools/llm/index.d.ts +2 -0
- package/dist/tools/llm/index.d.ts.map +1 -0
- package/dist/tools/llm/index.js +2 -0
- package/dist/tools/llm/index.js.map +1 -0
- package/dist/tools/llm/simple/ask-user-tool.d.ts +5 -0
- package/dist/tools/llm/simple/ask-user-tool.d.ts.map +1 -0
- package/dist/tools/llm/simple/ask-user-tool.js +7 -0
- package/dist/tools/llm/simple/ask-user-tool.js.map +1 -0
- package/dist/tools/llm/simple/background-bash-tool.d.ts +30 -0
- package/dist/tools/llm/simple/background-bash-tool.d.ts.map +1 -0
- package/dist/tools/llm/simple/background-bash-tool.js +320 -0
- package/dist/tools/llm/simple/background-bash-tool.js.map +1 -0
- package/dist/tools/llm/simple/background-powershell-tool.d.ts +30 -0
- package/dist/tools/llm/simple/background-powershell-tool.d.ts.map +1 -0
- package/dist/tools/llm/simple/background-powershell-tool.js +302 -0
- package/dist/tools/llm/simple/background-powershell-tool.js.map +1 -0
- package/dist/tools/llm/simple/bash-tool.d.ts +4 -0
- package/dist/tools/llm/simple/bash-tool.d.ts.map +1 -0
- package/dist/tools/llm/simple/bash-tool.js +167 -0
- package/dist/tools/llm/simple/bash-tool.js.map +1 -0
- package/dist/tools/llm/simple/file-tools.d.ts +13 -0
- package/dist/tools/llm/simple/file-tools.d.ts.map +1 -0
- package/dist/tools/llm/simple/file-tools.js +814 -0
- package/dist/tools/llm/simple/file-tools.js.map +1 -0
- package/dist/tools/llm/simple/final-response-tool.d.ts +12 -0
- package/dist/tools/llm/simple/final-response-tool.d.ts.map +1 -0
- package/dist/tools/llm/simple/final-response-tool.js +107 -0
- package/dist/tools/llm/simple/final-response-tool.js.map +1 -0
- package/dist/tools/llm/simple/index.d.ts +11 -0
- package/dist/tools/llm/simple/index.d.ts.map +1 -0
- package/dist/tools/llm/simple/index.js +20 -0
- package/dist/tools/llm/simple/index.js.map +1 -0
- package/dist/tools/llm/simple/planning-tools.d.ts +5 -0
- package/dist/tools/llm/simple/planning-tools.d.ts.map +1 -0
- package/dist/tools/llm/simple/planning-tools.js +121 -0
- package/dist/tools/llm/simple/planning-tools.js.map +1 -0
- package/dist/tools/llm/simple/powershell-tool.d.ts +4 -0
- package/dist/tools/llm/simple/powershell-tool.d.ts.map +1 -0
- package/dist/tools/llm/simple/powershell-tool.js +163 -0
- package/dist/tools/llm/simple/powershell-tool.js.map +1 -0
- package/dist/tools/llm/simple/read-image-tool.d.ts +8 -0
- package/dist/tools/llm/simple/read-image-tool.d.ts.map +1 -0
- package/dist/tools/llm/simple/read-image-tool.js +170 -0
- package/dist/tools/llm/simple/read-image-tool.js.map +1 -0
- package/dist/tools/llm/simple/simple-tool-executor.d.ts +40 -0
- package/dist/tools/llm/simple/simple-tool-executor.d.ts.map +1 -0
- package/dist/tools/llm/simple/simple-tool-executor.js +159 -0
- package/dist/tools/llm/simple/simple-tool-executor.js.map +1 -0
- package/dist/tools/llm/simple/todo-tools.d.ts +15 -0
- package/dist/tools/llm/simple/todo-tools.d.ts.map +1 -0
- package/dist/tools/llm/simple/todo-tools.js +145 -0
- package/dist/tools/llm/simple/todo-tools.js.map +1 -0
- package/dist/tools/llm/simple/user-interaction-tools.d.ts +22 -0
- package/dist/tools/llm/simple/user-interaction-tools.d.ts.map +1 -0
- package/dist/tools/llm/simple/user-interaction-tools.js +168 -0
- package/dist/tools/llm/simple/user-interaction-tools.js.map +1 -0
- package/dist/tools/office/common/constants.d.ts +192 -0
- package/dist/tools/office/common/constants.d.ts.map +1 -0
- package/dist/tools/office/common/constants.js +165 -0
- package/dist/tools/office/common/constants.js.map +1 -0
- package/dist/tools/office/common/index.d.ts +4 -0
- package/dist/tools/office/common/index.d.ts.map +1 -0
- package/dist/tools/office/common/index.js +3 -0
- package/dist/tools/office/common/index.js.map +1 -0
- package/dist/tools/office/common/types.d.ts +82 -0
- package/dist/tools/office/common/types.d.ts.map +1 -0
- package/dist/tools/office/common/types.js +2 -0
- package/dist/tools/office/common/types.js.map +1 -0
- package/dist/tools/office/common/utils.d.ts +16 -0
- package/dist/tools/office/common/utils.d.ts.map +1 -0
- package/dist/tools/office/common/utils.js +60 -0
- package/dist/tools/office/common/utils.js.map +1 -0
- package/dist/tools/office/excel-client.d.ts +219 -0
- package/dist/tools/office/excel-client.d.ts.map +1 -0
- package/dist/tools/office/excel-client.js +2346 -0
- package/dist/tools/office/excel-client.js.map +1 -0
- package/dist/tools/office/excel-tools/cells.d.ts +10 -0
- package/dist/tools/office/excel-tools/cells.d.ts.map +1 -0
- package/dist/tools/office/excel-tools/cells.js +283 -0
- package/dist/tools/office/excel-tools/cells.js.map +1 -0
- package/dist/tools/office/excel-tools/charts.d.ts +6 -0
- package/dist/tools/office/excel-tools/charts.d.ts.map +1 -0
- package/dist/tools/office/excel-tools/charts.js +124 -0
- package/dist/tools/office/excel-tools/charts.js.map +1 -0
- package/dist/tools/office/excel-tools/comments.d.ts +6 -0
- package/dist/tools/office/excel-tools/comments.d.ts.map +1 -0
- package/dist/tools/office/excel-tools/comments.js +114 -0
- package/dist/tools/office/excel-tools/comments.js.map +1 -0
- package/dist/tools/office/excel-tools/data-ops.d.ts +10 -0
- package/dist/tools/office/excel-tools/data-ops.d.ts.map +1 -0
- package/dist/tools/office/excel-tools/data-ops.js +266 -0
- package/dist/tools/office/excel-tools/data-ops.js.map +1 -0
- package/dist/tools/office/excel-tools/export.d.ts +5 -0
- package/dist/tools/office/excel-tools/export.d.ts.map +1 -0
- package/dist/tools/office/excel-tools/export.js +75 -0
- package/dist/tools/office/excel-tools/export.js.map +1 -0
- package/dist/tools/office/excel-tools/formatting.d.ts +10 -0
- package/dist/tools/office/excel-tools/formatting.d.ts.map +1 -0
- package/dist/tools/office/excel-tools/formatting.js +276 -0
- package/dist/tools/office/excel-tools/formatting.js.map +1 -0
- package/dist/tools/office/excel-tools/index.d.ts +18 -0
- package/dist/tools/office/excel-tools/index.d.ts.map +1 -0
- package/dist/tools/office/excel-tools/index.js +54 -0
- package/dist/tools/office/excel-tools/index.js.map +1 -0
- package/dist/tools/office/excel-tools/launch.d.ts +10 -0
- package/dist/tools/office/excel-tools/launch.d.ts.map +1 -0
- package/dist/tools/office/excel-tools/launch.js +250 -0
- package/dist/tools/office/excel-tools/launch.js.map +1 -0
- package/dist/tools/office/excel-tools/media.d.ts +5 -0
- package/dist/tools/office/excel-tools/media.d.ts.map +1 -0
- package/dist/tools/office/excel-tools/media.js +84 -0
- package/dist/tools/office/excel-tools/media.js.map +1 -0
- package/dist/tools/office/excel-tools/named-ranges.d.ts +6 -0
- package/dist/tools/office/excel-tools/named-ranges.d.ts.map +1 -0
- package/dist/tools/office/excel-tools/named-ranges.js +113 -0
- package/dist/tools/office/excel-tools/named-ranges.js.map +1 -0
- package/dist/tools/office/excel-tools/protection.d.ts +5 -0
- package/dist/tools/office/excel-tools/protection.d.ts.map +1 -0
- package/dist/tools/office/excel-tools/protection.js +75 -0
- package/dist/tools/office/excel-tools/protection.js.map +1 -0
- package/dist/tools/office/excel-tools/rows-columns.d.ts +11 -0
- package/dist/tools/office/excel-tools/rows-columns.d.ts.map +1 -0
- package/dist/tools/office/excel-tools/rows-columns.js +293 -0
- package/dist/tools/office/excel-tools/rows-columns.js.map +1 -0
- package/dist/tools/office/excel-tools/sheet-builders.d.ts +9 -0
- package/dist/tools/office/excel-tools/sheet-builders.d.ts.map +1 -0
- package/dist/tools/office/excel-tools/sheet-builders.js +483 -0
- package/dist/tools/office/excel-tools/sheet-builders.js.map +1 -0
- package/dist/tools/office/excel-tools/sheets.d.ts +8 -0
- package/dist/tools/office/excel-tools/sheets.d.ts.map +1 -0
- package/dist/tools/office/excel-tools/sheets.js +182 -0
- package/dist/tools/office/excel-tools/sheets.js.map +1 -0
- package/dist/tools/office/excel-tools/validation.d.ts +7 -0
- package/dist/tools/office/excel-tools/validation.d.ts.map +1 -0
- package/dist/tools/office/excel-tools/validation.js +175 -0
- package/dist/tools/office/excel-tools/validation.js.map +1 -0
- package/dist/tools/office/excel-tools.d.ts +3 -0
- package/dist/tools/office/excel-tools.d.ts.map +1 -0
- package/dist/tools/office/excel-tools.js +3 -0
- package/dist/tools/office/excel-tools.js.map +1 -0
- package/dist/tools/office/index.d.ts +6 -0
- package/dist/tools/office/index.d.ts.map +1 -0
- package/dist/tools/office/index.js +9 -0
- package/dist/tools/office/index.js.map +1 -0
- package/dist/tools/office/office-client-base.d.ts +33 -0
- package/dist/tools/office/office-client-base.d.ts.map +1 -0
- package/dist/tools/office/office-client-base.js +166 -0
- package/dist/tools/office/office-client-base.js.map +1 -0
- package/dist/tools/office/office-client.d.ts +196 -0
- package/dist/tools/office/office-client.d.ts.map +1 -0
- package/dist/tools/office/office-client.js +200 -0
- package/dist/tools/office/office-client.js.map +1 -0
- package/dist/tools/office/powerpoint-client.d.ts +148 -0
- package/dist/tools/office/powerpoint-client.d.ts.map +1 -0
- package/dist/tools/office/powerpoint-client.js +1310 -0
- package/dist/tools/office/powerpoint-client.js.map +1 -0
- package/dist/tools/office/powerpoint-tools/effects.d.ts +9 -0
- package/dist/tools/office/powerpoint-tools/effects.d.ts.map +1 -0
- package/dist/tools/office/powerpoint-tools/effects.js +246 -0
- package/dist/tools/office/powerpoint-tools/effects.js.map +1 -0
- package/dist/tools/office/powerpoint-tools/export.d.ts +6 -0
- package/dist/tools/office/powerpoint-tools/export.d.ts.map +1 -0
- package/dist/tools/office/powerpoint-tools/export.js +123 -0
- package/dist/tools/office/powerpoint-tools/export.js.map +1 -0
- package/dist/tools/office/powerpoint-tools/index.d.ts +15 -0
- package/dist/tools/office/powerpoint-tools/index.d.ts.map +1 -0
- package/dist/tools/office/powerpoint-tools/index.js +40 -0
- package/dist/tools/office/powerpoint-tools/index.js.map +1 -0
- package/dist/tools/office/powerpoint-tools/launch.d.ts +9 -0
- package/dist/tools/office/powerpoint-tools/launch.d.ts.map +1 -0
- package/dist/tools/office/powerpoint-tools/launch.js +218 -0
- package/dist/tools/office/powerpoint-tools/launch.js.map +1 -0
- package/dist/tools/office/powerpoint-tools/layout-builders.d.ts +12 -0
- package/dist/tools/office/powerpoint-tools/layout-builders.d.ts.map +1 -0
- package/dist/tools/office/powerpoint-tools/layout-builders.js +785 -0
- package/dist/tools/office/powerpoint-tools/layout-builders.js.map +1 -0
- package/dist/tools/office/powerpoint-tools/media.d.ts +8 -0
- package/dist/tools/office/powerpoint-tools/media.d.ts.map +1 -0
- package/dist/tools/office/powerpoint-tools/media.js +211 -0
- package/dist/tools/office/powerpoint-tools/media.js.map +1 -0
- package/dist/tools/office/powerpoint-tools/notes.d.ts +8 -0
- package/dist/tools/office/powerpoint-tools/notes.d.ts.map +1 -0
- package/dist/tools/office/powerpoint-tools/notes.js +171 -0
- package/dist/tools/office/powerpoint-tools/notes.js.map +1 -0
- package/dist/tools/office/powerpoint-tools/sections.d.ts +6 -0
- package/dist/tools/office/powerpoint-tools/sections.d.ts.map +1 -0
- package/dist/tools/office/powerpoint-tools/sections.js +104 -0
- package/dist/tools/office/powerpoint-tools/sections.js.map +1 -0
- package/dist/tools/office/powerpoint-tools/shapes.d.ts +22 -0
- package/dist/tools/office/powerpoint-tools/shapes.d.ts.map +1 -0
- package/dist/tools/office/powerpoint-tools/shapes.js +681 -0
- package/dist/tools/office/powerpoint-tools/shapes.js.map +1 -0
- package/dist/tools/office/powerpoint-tools/slides.d.ts +11 -0
- package/dist/tools/office/powerpoint-tools/slides.d.ts.map +1 -0
- package/dist/tools/office/powerpoint-tools/slides.js +283 -0
- package/dist/tools/office/powerpoint-tools/slides.js.map +1 -0
- package/dist/tools/office/powerpoint-tools/tables.d.ts +6 -0
- package/dist/tools/office/powerpoint-tools/tables.d.ts.map +1 -0
- package/dist/tools/office/powerpoint-tools/tables.js +132 -0
- package/dist/tools/office/powerpoint-tools/tables.js.map +1 -0
- package/dist/tools/office/powerpoint-tools/text.d.ts +12 -0
- package/dist/tools/office/powerpoint-tools/text.d.ts.map +1 -0
- package/dist/tools/office/powerpoint-tools/text.js +379 -0
- package/dist/tools/office/powerpoint-tools/text.js.map +1 -0
- package/dist/tools/office/powerpoint-tools.d.ts +3 -0
- package/dist/tools/office/powerpoint-tools.d.ts.map +1 -0
- package/dist/tools/office/powerpoint-tools.js +3 -0
- package/dist/tools/office/powerpoint-tools.js.map +1 -0
- package/dist/tools/office/word-client.d.ts +169 -0
- package/dist/tools/office/word-client.d.ts.map +1 -0
- package/dist/tools/office/word-client.js +1636 -0
- package/dist/tools/office/word-client.js.map +1 -0
- package/dist/tools/office/word-tools/bookmarks.d.ts +7 -0
- package/dist/tools/office/word-tools/bookmarks.d.ts.map +1 -0
- package/dist/tools/office/word-tools/bookmarks.js +146 -0
- package/dist/tools/office/word-tools/bookmarks.js.map +1 -0
- package/dist/tools/office/word-tools/comments.d.ts +7 -0
- package/dist/tools/office/word-tools/comments.d.ts.map +1 -0
- package/dist/tools/office/word-tools/comments.js +146 -0
- package/dist/tools/office/word-tools/comments.js.map +1 -0
- package/dist/tools/office/word-tools/content.d.ts +7 -0
- package/dist/tools/office/word-tools/content.d.ts.map +1 -0
- package/dist/tools/office/word-tools/content.js +168 -0
- package/dist/tools/office/word-tools/content.js.map +1 -0
- package/dist/tools/office/word-tools/export.d.ts +5 -0
- package/dist/tools/office/word-tools/export.d.ts.map +1 -0
- package/dist/tools/office/word-tools/export.js +73 -0
- package/dist/tools/office/word-tools/export.js.map +1 -0
- package/dist/tools/office/word-tools/formatting.d.ts +6 -0
- package/dist/tools/office/word-tools/formatting.d.ts.map +1 -0
- package/dist/tools/office/word-tools/formatting.js +129 -0
- package/dist/tools/office/word-tools/formatting.js.map +1 -0
- package/dist/tools/office/word-tools/headers-footers.d.ts +6 -0
- package/dist/tools/office/word-tools/headers-footers.d.ts.map +1 -0
- package/dist/tools/office/word-tools/headers-footers.js +117 -0
- package/dist/tools/office/word-tools/headers-footers.js.map +1 -0
- package/dist/tools/office/word-tools/index.d.ts +19 -0
- package/dist/tools/office/word-tools/index.d.ts.map +1 -0
- package/dist/tools/office/word-tools/index.js +60 -0
- package/dist/tools/office/word-tools/index.js.map +1 -0
- package/dist/tools/office/word-tools/launch.d.ts +10 -0
- package/dist/tools/office/word-tools/launch.d.ts.map +1 -0
- package/dist/tools/office/word-tools/launch.js +257 -0
- package/dist/tools/office/word-tools/launch.js.map +1 -0
- package/dist/tools/office/word-tools/lists.d.ts +5 -0
- package/dist/tools/office/word-tools/lists.d.ts.map +1 -0
- package/dist/tools/office/word-tools/lists.js +73 -0
- package/dist/tools/office/word-tools/lists.js.map +1 -0
- package/dist/tools/office/word-tools/navigation.d.ts +5 -0
- package/dist/tools/office/word-tools/navigation.d.ts.map +1 -0
- package/dist/tools/office/word-tools/navigation.js +85 -0
- package/dist/tools/office/word-tools/navigation.js.map +1 -0
- package/dist/tools/office/word-tools/page-setup.d.ts +7 -0
- package/dist/tools/office/word-tools/page-setup.d.ts.map +1 -0
- package/dist/tools/office/word-tools/page-setup.js +152 -0
- package/dist/tools/office/word-tools/page-setup.js.map +1 -0
- package/dist/tools/office/word-tools/section-builders.d.ts +12 -0
- package/dist/tools/office/word-tools/section-builders.d.ts.map +1 -0
- package/dist/tools/office/word-tools/section-builders.js +601 -0
- package/dist/tools/office/word-tools/section-builders.js.map +1 -0
- package/dist/tools/office/word-tools/tables.d.ts +8 -0
- package/dist/tools/office/word-tools/tables.d.ts.map +1 -0
- package/dist/tools/office/word-tools/tables.js +197 -0
- package/dist/tools/office/word-tools/tables.js.map +1 -0
- package/dist/tools/office/word-tools/text.d.ts +9 -0
- package/dist/tools/office/word-tools/text.d.ts.map +1 -0
- package/dist/tools/office/word-tools/text.js +245 -0
- package/dist/tools/office/word-tools/text.js.map +1 -0
- package/dist/tools/office/word-tools/undo-redo.d.ts +5 -0
- package/dist/tools/office/word-tools/undo-redo.d.ts.map +1 -0
- package/dist/tools/office/word-tools/undo-redo.js +73 -0
- package/dist/tools/office/word-tools/undo-redo.js.map +1 -0
- package/dist/tools/office/word-tools/watermarks.d.ts +5 -0
- package/dist/tools/office/word-tools/watermarks.d.ts.map +1 -0
- package/dist/tools/office/word-tools/watermarks.js +81 -0
- package/dist/tools/office/word-tools/watermarks.js.map +1 -0
- package/dist/tools/office/word-tools.d.ts +3 -0
- package/dist/tools/office/word-tools.d.ts.map +1 -0
- package/dist/tools/office/word-tools.js +3 -0
- package/dist/tools/office/word-tools.js.map +1 -0
- package/dist/tools/registry.d.ts +55 -0
- package/dist/tools/registry.d.ts.map +1 -0
- package/dist/tools/registry.js +296 -0
- package/dist/tools/registry.js.map +1 -0
- package/dist/tools/types.d.ts +88 -0
- package/dist/tools/types.d.ts.map +1 -0
- package/dist/tools/types.js +19 -0
- package/dist/tools/types.js.map +1 -0
- package/dist/types/index.d.ts +132 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -0
- package/dist/ui/PlanExecuteView.d.ts +11 -0
- package/dist/ui/PlanExecuteView.d.ts.map +1 -0
- package/dist/ui/PlanExecuteView.js +27 -0
- package/dist/ui/PlanExecuteView.js.map +1 -0
- package/dist/ui/TodoPanel.d.ts +13 -0
- package/dist/ui/TodoPanel.d.ts.map +1 -0
- package/dist/ui/TodoPanel.js +138 -0
- package/dist/ui/TodoPanel.js.map +1 -0
- package/dist/ui/UpdateNotification.d.ts +13 -0
- package/dist/ui/UpdateNotification.d.ts.map +1 -0
- package/dist/ui/UpdateNotification.js +42 -0
- package/dist/ui/UpdateNotification.js.map +1 -0
- package/dist/ui/components/ActivityIndicator.d.ts +25 -0
- package/dist/ui/components/ActivityIndicator.d.ts.map +1 -0
- package/dist/ui/components/ActivityIndicator.js +116 -0
- package/dist/ui/components/ActivityIndicator.js.map +1 -0
- package/dist/ui/components/CommandBrowser.d.ts +10 -0
- package/dist/ui/components/CommandBrowser.d.ts.map +1 -0
- package/dist/ui/components/CommandBrowser.js +57 -0
- package/dist/ui/components/CommandBrowser.js.map +1 -0
- package/dist/ui/components/CustomTextInput.d.ts +13 -0
- package/dist/ui/components/CustomTextInput.d.ts.map +1 -0
- package/dist/ui/components/CustomTextInput.js +246 -0
- package/dist/ui/components/CustomTextInput.js.map +1 -0
- package/dist/ui/components/FileBrowser.d.ts +11 -0
- package/dist/ui/components/FileBrowser.d.ts.map +1 -0
- package/dist/ui/components/FileBrowser.js +45 -0
- package/dist/ui/components/FileBrowser.js.map +1 -0
- package/dist/ui/components/LLMSetupWizard.d.ts +8 -0
- package/dist/ui/components/LLMSetupWizard.d.ts.map +1 -0
- package/dist/ui/components/LLMSetupWizard.js +197 -0
- package/dist/ui/components/LLMSetupWizard.js.map +1 -0
- package/dist/ui/components/Logo.d.ts +20 -0
- package/dist/ui/components/Logo.d.ts.map +1 -0
- package/dist/ui/components/Logo.js +100 -0
- package/dist/ui/components/Logo.js.map +1 -0
- package/dist/ui/components/MarkdownRenderer.d.ts +9 -0
- package/dist/ui/components/MarkdownRenderer.d.ts.map +1 -0
- package/dist/ui/components/MarkdownRenderer.js +198 -0
- package/dist/ui/components/MarkdownRenderer.js.map +1 -0
- package/dist/ui/components/ModelSelector.d.ts +8 -0
- package/dist/ui/components/ModelSelector.d.ts.map +1 -0
- package/dist/ui/components/ModelSelector.js +111 -0
- package/dist/ui/components/ModelSelector.js.map +1 -0
- package/dist/ui/components/PlanExecuteApp.d.ts +23 -0
- package/dist/ui/components/PlanExecuteApp.d.ts.map +1 -0
- package/dist/ui/components/PlanExecuteApp.js +1377 -0
- package/dist/ui/components/PlanExecuteApp.js.map +1 -0
- package/dist/ui/components/ProgressBar.d.ts +10 -0
- package/dist/ui/components/ProgressBar.d.ts.map +1 -0
- package/dist/ui/components/ProgressBar.js +26 -0
- package/dist/ui/components/ProgressBar.js.map +1 -0
- package/dist/ui/components/StatusBar.d.ts +23 -0
- package/dist/ui/components/StatusBar.d.ts.map +1 -0
- package/dist/ui/components/StatusBar.js +162 -0
- package/dist/ui/components/StatusBar.js.map +1 -0
- package/dist/ui/components/ThinkingIndicator.d.ts +14 -0
- package/dist/ui/components/ThinkingIndicator.d.ts.map +1 -0
- package/dist/ui/components/ThinkingIndicator.js +63 -0
- package/dist/ui/components/ThinkingIndicator.js.map +1 -0
- package/dist/ui/components/TodoListView.d.ts +11 -0
- package/dist/ui/components/TodoListView.d.ts.map +1 -0
- package/dist/ui/components/TodoListView.js +69 -0
- package/dist/ui/components/TodoListView.js.map +1 -0
- package/dist/ui/components/ToolSelector.d.ts +7 -0
- package/dist/ui/components/ToolSelector.d.ts.map +1 -0
- package/dist/ui/components/ToolSelector.js +112 -0
- package/dist/ui/components/ToolSelector.js.map +1 -0
- package/dist/ui/components/dialogs/ApprovalDialog.d.ts +13 -0
- package/dist/ui/components/dialogs/ApprovalDialog.d.ts.map +1 -0
- package/dist/ui/components/dialogs/ApprovalDialog.js +175 -0
- package/dist/ui/components/dialogs/ApprovalDialog.js.map +1 -0
- package/dist/ui/components/dialogs/AskUserDialog.d.ts +9 -0
- package/dist/ui/components/dialogs/AskUserDialog.d.ts.map +1 -0
- package/dist/ui/components/dialogs/AskUserDialog.js +111 -0
- package/dist/ui/components/dialogs/AskUserDialog.js.map +1 -0
- package/dist/ui/components/dialogs/DocsBrowser.d.ts +8 -0
- package/dist/ui/components/dialogs/DocsBrowser.d.ts.map +1 -0
- package/dist/ui/components/dialogs/DocsBrowser.js +127 -0
- package/dist/ui/components/dialogs/DocsBrowser.js.map +1 -0
- package/dist/ui/components/dialogs/SettingsDialog.d.ts +10 -0
- package/dist/ui/components/dialogs/SettingsDialog.d.ts.map +1 -0
- package/dist/ui/components/dialogs/SettingsDialog.js +586 -0
- package/dist/ui/components/dialogs/SettingsDialog.js.map +1 -0
- package/dist/ui/components/dialogs/index.d.ts +3 -0
- package/dist/ui/components/dialogs/index.d.ts.map +1 -0
- package/dist/ui/components/dialogs/index.js +3 -0
- package/dist/ui/components/dialogs/index.js.map +1 -0
- package/dist/ui/components/index.d.ts +12 -0
- package/dist/ui/components/index.d.ts.map +1 -0
- package/dist/ui/components/index.js +9 -0
- package/dist/ui/components/index.js.map +1 -0
- package/dist/ui/components/panels/LogPanel.d.ts +7 -0
- package/dist/ui/components/panels/LogPanel.d.ts.map +1 -0
- package/dist/ui/components/panels/LogPanel.js +280 -0
- package/dist/ui/components/panels/LogPanel.js.map +1 -0
- package/dist/ui/components/panels/SessionPanel.d.ts +8 -0
- package/dist/ui/components/panels/SessionPanel.d.ts.map +1 -0
- package/dist/ui/components/panels/SessionPanel.js +81 -0
- package/dist/ui/components/panels/SessionPanel.js.map +1 -0
- package/dist/ui/components/panels/index.d.ts +4 -0
- package/dist/ui/components/panels/index.d.ts.map +1 -0
- package/dist/ui/components/panels/index.js +4 -0
- package/dist/ui/components/panels/index.js.map +1 -0
- package/dist/ui/components/views/ChatView.d.ts +12 -0
- package/dist/ui/components/views/ChatView.d.ts.map +1 -0
- package/dist/ui/components/views/ChatView.js +289 -0
- package/dist/ui/components/views/ChatView.js.map +1 -0
- package/dist/ui/components/views/index.d.ts +2 -0
- package/dist/ui/components/views/index.d.ts.map +1 -0
- package/dist/ui/components/views/index.js +2 -0
- package/dist/ui/components/views/index.js.map +1 -0
- package/dist/ui/contexts/TokenContext.d.ts +29 -0
- package/dist/ui/contexts/TokenContext.d.ts.map +1 -0
- package/dist/ui/contexts/TokenContext.js +79 -0
- package/dist/ui/contexts/TokenContext.js.map +1 -0
- package/dist/ui/hooks/atFileProcessor.d.ts +15 -0
- package/dist/ui/hooks/atFileProcessor.d.ts.map +1 -0
- package/dist/ui/hooks/atFileProcessor.js +88 -0
- package/dist/ui/hooks/atFileProcessor.js.map +1 -0
- package/dist/ui/hooks/index.d.ts +9 -0
- package/dist/ui/hooks/index.d.ts.map +1 -0
- package/dist/ui/hooks/index.js +9 -0
- package/dist/ui/hooks/index.js.map +1 -0
- package/dist/ui/hooks/slashCommandProcessor.d.ts +21 -0
- package/dist/ui/hooks/slashCommandProcessor.d.ts.map +1 -0
- package/dist/ui/hooks/slashCommandProcessor.js +96 -0
- package/dist/ui/hooks/slashCommandProcessor.js.map +1 -0
- package/dist/ui/hooks/useCommandBrowserState.d.ts +12 -0
- package/dist/ui/hooks/useCommandBrowserState.d.ts.map +1 -0
- package/dist/ui/hooks/useCommandBrowserState.js +66 -0
- package/dist/ui/hooks/useCommandBrowserState.js.map +1 -0
- package/dist/ui/hooks/useFileBrowserState.d.ts +15 -0
- package/dist/ui/hooks/useFileBrowserState.d.ts.map +1 -0
- package/dist/ui/hooks/useFileBrowserState.js +80 -0
- package/dist/ui/hooks/useFileBrowserState.js.map +1 -0
- package/dist/ui/hooks/useFileList.d.ts +20 -0
- package/dist/ui/hooks/useFileList.d.ts.map +1 -0
- package/dist/ui/hooks/useFileList.js +57 -0
- package/dist/ui/hooks/useFileList.js.map +1 -0
- package/dist/ui/hooks/useInputHistory.d.ts +9 -0
- package/dist/ui/hooks/useInputHistory.d.ts.map +1 -0
- package/dist/ui/hooks/useInputHistory.js +68 -0
- package/dist/ui/hooks/useInputHistory.js.map +1 -0
- package/dist/ui/hooks/usePlanExecution.d.ts +8 -0
- package/dist/ui/hooks/usePlanExecution.d.ts.map +1 -0
- package/dist/ui/hooks/usePlanExecution.js +218 -0
- package/dist/ui/hooks/usePlanExecution.js.map +1 -0
- package/dist/ui/hooks/useTerminalWidth.d.ts +4 -0
- package/dist/ui/hooks/useTerminalWidth.d.ts.map +1 -0
- package/dist/ui/hooks/useTerminalWidth.js +26 -0
- package/dist/ui/hooks/useTerminalWidth.js.map +1 -0
- package/dist/ui/index.d.ts +7 -0
- package/dist/ui/index.d.ts.map +1 -0
- package/dist/ui/index.js +7 -0
- package/dist/ui/index.js.map +1 -0
- package/dist/ui/ink-entry.d.ts +3 -0
- package/dist/ui/ink-entry.d.ts.map +1 -0
- package/dist/ui/ink-entry.js +22 -0
- package/dist/ui/ink-entry.js.map +1 -0
- package/dist/utils/file-system.d.ts +9 -0
- package/dist/utils/file-system.d.ts.map +1 -0
- package/dist/utils/file-system.js +99 -0
- package/dist/utils/file-system.js.map +1 -0
- package/dist/utils/git-utils.d.ts +2 -0
- package/dist/utils/git-utils.d.ts.map +1 -0
- package/dist/utils/git-utils.js +16 -0
- package/dist/utils/git-utils.js.map +1 -0
- package/dist/utils/json-stream-logger.d.ts +74 -0
- package/dist/utils/json-stream-logger.d.ts.map +1 -0
- package/dist/utils/json-stream-logger.js +808 -0
- package/dist/utils/json-stream-logger.js.map +1 -0
- package/dist/utils/logger.d.ts +152 -0
- package/dist/utils/logger.d.ts.map +1 -0
- package/dist/utils/logger.js +1672 -0
- package/dist/utils/logger.js.map +1 -0
- package/dist/utils/platform-utils.d.ts +19 -0
- package/dist/utils/platform-utils.d.ts.map +1 -0
- package/dist/utils/platform-utils.js +134 -0
- package/dist/utils/platform-utils.js.map +1 -0
- package/dist/utils/wsl-utils.d.ts +4 -0
- package/dist/utils/wsl-utils.d.ts.map +1 -0
- package/dist/utils/wsl-utils.js +72 -0
- package/dist/utils/wsl-utils.js.map +1 -0
- package/package.json +132 -0
- package/scripts/patch-yoga.js +48 -0
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import { logger } from '../../../utils/logger.js';
|
|
2
|
+
let tellToUserCallback = null;
|
|
3
|
+
export function setTellToUserCallback(callback) {
|
|
4
|
+
tellToUserCallback = callback;
|
|
5
|
+
}
|
|
6
|
+
const TELL_TO_USER_DEFINITION = {
|
|
7
|
+
type: 'function',
|
|
8
|
+
function: {
|
|
9
|
+
name: 'tell_to_user',
|
|
10
|
+
description: `Send a message directly to the user to explain what you're doing or provide status updates.
|
|
11
|
+
Use this tool to communicate with the user during task execution.
|
|
12
|
+
The message will be displayed immediately in the UI.`,
|
|
13
|
+
parameters: {
|
|
14
|
+
type: 'object',
|
|
15
|
+
properties: {
|
|
16
|
+
message: {
|
|
17
|
+
type: 'string',
|
|
18
|
+
description: `A natural, conversational message for the user (in user's language).
|
|
19
|
+
Examples:
|
|
20
|
+
- "Analyzing the files, please wait a moment"
|
|
21
|
+
- "Found the config file! Let me modify it now"
|
|
22
|
+
- "Ran the tests and 2 failed. Let me find the cause"
|
|
23
|
+
- "Almost done, wrapping up the work"`,
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
required: ['message'],
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
async function executeTellToUser(args) {
|
|
31
|
+
const message = args['message'];
|
|
32
|
+
if (tellToUserCallback) {
|
|
33
|
+
tellToUserCallback(message);
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
success: true,
|
|
37
|
+
result: `Message sent to user: ${message}`,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export const tellToUserTool = {
|
|
41
|
+
definition: TELL_TO_USER_DEFINITION,
|
|
42
|
+
execute: executeTellToUser,
|
|
43
|
+
categories: ['llm-simple'],
|
|
44
|
+
description: 'Send message to user',
|
|
45
|
+
};
|
|
46
|
+
let askUserCallback = null;
|
|
47
|
+
export function setAskUserCallback(callback) {
|
|
48
|
+
logger.flow('Setting ask-user callback');
|
|
49
|
+
askUserCallback = callback;
|
|
50
|
+
}
|
|
51
|
+
export function clearAskUserCallback() {
|
|
52
|
+
logger.flow('Clearing ask-user callback');
|
|
53
|
+
askUserCallback = null;
|
|
54
|
+
}
|
|
55
|
+
export function hasAskUserCallback() {
|
|
56
|
+
return askUserCallback !== null;
|
|
57
|
+
}
|
|
58
|
+
const ASK_TO_USER_DEFINITION = {
|
|
59
|
+
type: 'function',
|
|
60
|
+
function: {
|
|
61
|
+
name: 'ask_to_user',
|
|
62
|
+
description: `Ask the user a question with multiple choice options.
|
|
63
|
+
|
|
64
|
+
Use this tool when you need to:
|
|
65
|
+
- Clarify ambiguous requirements
|
|
66
|
+
- Get user preferences or decisions
|
|
67
|
+
- Confirm important actions before proceeding
|
|
68
|
+
- Offer multiple implementation approaches
|
|
69
|
+
|
|
70
|
+
The user will always have an "Other (custom input)" option to provide custom input,
|
|
71
|
+
so you only need to provide the main choices.
|
|
72
|
+
|
|
73
|
+
RULES:
|
|
74
|
+
- Provide 2-4 clear, distinct options
|
|
75
|
+
- Each option should be a viable choice
|
|
76
|
+
- Keep the question concise and specific
|
|
77
|
+
- "Other" option is automatically added for custom input`,
|
|
78
|
+
parameters: {
|
|
79
|
+
type: 'object',
|
|
80
|
+
properties: {
|
|
81
|
+
question: {
|
|
82
|
+
type: 'string',
|
|
83
|
+
description: 'The question to ask the user. Should be clear and specific.',
|
|
84
|
+
},
|
|
85
|
+
options: {
|
|
86
|
+
type: 'array',
|
|
87
|
+
items: { type: 'string' },
|
|
88
|
+
description: 'List of main options for the user to choose from. Provide 2-4 options. An "Other" option for custom input is automatically added.',
|
|
89
|
+
minItems: 2,
|
|
90
|
+
maxItems: 4,
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
required: ['question', 'options'],
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
};
|
|
97
|
+
async function executeAskToUser(args) {
|
|
98
|
+
logger.enter('executeAskToUser', args);
|
|
99
|
+
const question = args['question'];
|
|
100
|
+
const options = args['options'];
|
|
101
|
+
if (!question || typeof question !== 'string') {
|
|
102
|
+
logger.warn('Invalid question parameter');
|
|
103
|
+
return {
|
|
104
|
+
success: false,
|
|
105
|
+
error: 'Invalid question: must be a non-empty string',
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
if (!Array.isArray(options) || options.length < 2) {
|
|
109
|
+
logger.warn('Invalid options parameter', { optionsLength: options?.length });
|
|
110
|
+
return {
|
|
111
|
+
success: false,
|
|
112
|
+
error: 'Invalid options: must be an array with at least 2 items',
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
if (options.length > 4) {
|
|
116
|
+
logger.warn('Too many options', { optionsLength: options.length });
|
|
117
|
+
return {
|
|
118
|
+
success: false,
|
|
119
|
+
error: 'Too many options: maximum 4 options allowed',
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
if (!askUserCallback) {
|
|
123
|
+
logger.warn('Ask-user callback not set');
|
|
124
|
+
return {
|
|
125
|
+
success: false,
|
|
126
|
+
error: 'User interaction is not available in current context',
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
try {
|
|
130
|
+
logger.flow('Asking user question');
|
|
131
|
+
const response = await askUserCallback({ question, options });
|
|
132
|
+
logger.debug('User responded', { selectedOption: response.selectedOption, isOther: response.isOther });
|
|
133
|
+
const resultText = response.isOther && response.customText
|
|
134
|
+
? `User provided custom response: "${response.customText}"`
|
|
135
|
+
: `User selected: "${response.selectedOption}"`;
|
|
136
|
+
logger.exit('executeAskToUser', { success: true });
|
|
137
|
+
return {
|
|
138
|
+
success: true,
|
|
139
|
+
result: resultText,
|
|
140
|
+
metadata: {
|
|
141
|
+
question,
|
|
142
|
+
selectedOption: response.selectedOption,
|
|
143
|
+
isOther: response.isOther,
|
|
144
|
+
customText: response.customText,
|
|
145
|
+
},
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
catch (error) {
|
|
149
|
+
logger.error('Error asking user', error);
|
|
150
|
+
return {
|
|
151
|
+
success: false,
|
|
152
|
+
error: `Error asking user: ${error instanceof Error ? error.message : 'Unknown error'}`,
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
export const askToUserTool = {
|
|
157
|
+
definition: ASK_TO_USER_DEFINITION,
|
|
158
|
+
execute: executeAskToUser,
|
|
159
|
+
categories: ['llm-simple'],
|
|
160
|
+
description: 'Ask user a question with options',
|
|
161
|
+
};
|
|
162
|
+
export const USER_INTERACTION_TOOLS = [
|
|
163
|
+
tellToUserTool,
|
|
164
|
+
askToUserTool,
|
|
165
|
+
];
|
|
166
|
+
export const USER_TOOLS = USER_INTERACTION_TOOLS;
|
|
167
|
+
export default USER_INTERACTION_TOOLS;
|
|
168
|
+
//# sourceMappingURL=user-interaction-tools.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-interaction-tools.js","sourceRoot":"","sources":["../../../../src/tools/llm/simple/user-interaction-tools.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAUlD,IAAI,kBAAkB,GAA8B,IAAI,CAAC;AAKzD,MAAM,UAAU,qBAAqB,CAAC,QAAmC;IACvE,kBAAkB,GAAG,QAAQ,CAAC;AAChC,CAAC;AAKD,MAAM,uBAAuB,GAAmB;IAC9C,IAAI,EAAE,UAAU;IAChB,QAAQ,EAAE;QACR,IAAI,EAAE,cAAc;QACpB,WAAW,EAAE;;qDAEoC;QACjD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,OAAO,EAAE;oBACP,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE;;;;;sCAKe;iBAC7B;aACF;YACD,QAAQ,EAAE,CAAC,SAAS,CAAC;SACtB;KACF;CACF,CAAC;AAKF,KAAK,UAAU,iBAAiB,CAAC,IAA6B;IAC5D,MAAM,OAAO,GAAG,IAAI,CAAC,SAAS,CAAW,CAAC;IAE1C,IAAI,kBAAkB,EAAE,CAAC;QACvB,kBAAkB,CAAC,OAAO,CAAC,CAAC;IAC9B,CAAC;IAED,OAAO;QACL,OAAO,EAAE,IAAI;QACb,MAAM,EAAE,yBAAyB,OAAO,EAAE;KAC3C,CAAC;AACJ,CAAC;AAKD,MAAM,CAAC,MAAM,cAAc,GAAkB;IAC3C,UAAU,EAAE,uBAAuB;IACnC,OAAO,EAAE,iBAAiB;IAC1B,UAAU,EAAE,CAAC,YAAY,CAAmB;IAC5C,WAAW,EAAE,sBAAsB;CACpC,CAAC;AA4BF,IAAI,eAAe,GAA2B,IAAI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AM,CAAC,IAAI,CAAC,kBAAkB,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;QACnD,OAAO;YACL,OAAO,EAAE,IAAI;YACb,MAAM,EAAE,UAAU;YAClB,QAAQ,EAAE;gBACR,QAAQ;gBACR,cAAc,EAAE,QAAQ,CAAC,cAAc;gBACvC,OAAO,EAAE,QAAQ,CAAC,OAAO;gBACzB,UAAU,EAAE,QAAQ,CAAC,UAAU;aAChC;SACF,CAAC;IACJ,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,CAAC,KAAK,CAAC,mBAAmB,EAAE,KAAc,CAAC,CAAC;QAClD,OAAO;YACL,OAAO,EAAE,KAAK;YACd,KAAK,EAAE,sBAAsB,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,eAAe,EAAE;SACxF,CAAC;IACJ,CAAC;AACH,CAAC;AAKD,MAAM,CAAC,MAAM,aAAa,GAAkB;IAC1C,UAAU,EAAE,sBAAsB;IAClC,OAAO,EAAE,gBAAgB;IACzB,UAAU,EAAE,CAAC,YAAY,CAAmB;IAC5C,WAAW,EAAE,kCAAkC;CAChD,CAAC;AASF,MAAM,CAAC,MAAM,sBAAsB,GAAoB;IACrD,cAAc;IACd,aAAa;CACd,CAAC;AAKF,MAAM,CAAC,MAAM,UAAU,GAAoB,sBAAsB,CAAC;AAElE,eAAe,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import { ToolCategory } from '../../types.js';
|
|
2
|
+
export declare const OFFICE_CATEGORIES: ToolCategory[];
|
|
3
|
+
export declare const WORD_PARAGRAPH_ALIGNMENT: {
|
|
4
|
+
readonly left: 0;
|
|
5
|
+
readonly center: 1;
|
|
6
|
+
readonly right: 2;
|
|
7
|
+
readonly justify: 3;
|
|
8
|
+
};
|
|
9
|
+
export declare const WORD_PAGE_NUMBER_ALIGNMENT: {
|
|
10
|
+
readonly left: 0;
|
|
11
|
+
readonly center: 1;
|
|
12
|
+
readonly right: 2;
|
|
13
|
+
};
|
|
14
|
+
export declare const EXCEL_HORIZONTAL_ALIGNMENT: {
|
|
15
|
+
readonly left: -4131;
|
|
16
|
+
readonly center: -4108;
|
|
17
|
+
readonly right: -4152;
|
|
18
|
+
};
|
|
19
|
+
export declare const EXCEL_VERTICAL_ALIGNMENT: {
|
|
20
|
+
readonly top: -4160;
|
|
21
|
+
readonly center: -4108;
|
|
22
|
+
readonly bottom: -4107;
|
|
23
|
+
};
|
|
24
|
+
export declare const POWERPOINT_HORIZONTAL_ALIGNMENT: {
|
|
25
|
+
readonly left: 1;
|
|
26
|
+
readonly center: 2;
|
|
27
|
+
readonly right: 3;
|
|
28
|
+
readonly justify: 4;
|
|
29
|
+
};
|
|
30
|
+
export declare const POWERPOINT_VERTICAL_ALIGNMENT: {
|
|
31
|
+
readonly top: 1;
|
|
32
|
+
readonly middle: 3;
|
|
33
|
+
readonly bottom: 4;
|
|
34
|
+
};
|
|
35
|
+
export declare const POWERPOINT_SHAPE_ALIGNMENT: {
|
|
36
|
+
readonly left: 0;
|
|
37
|
+
readonly center: 1;
|
|
38
|
+
readonly right: 2;
|
|
39
|
+
readonly top: 3;
|
|
40
|
+
readonly middle: 4;
|
|
41
|
+
readonly bottom: 5;
|
|
42
|
+
};
|
|
43
|
+
export declare const POWERPOINT_DISTRIBUTE: {
|
|
44
|
+
readonly horizontal: 0;
|
|
45
|
+
readonly vertical: 1;
|
|
46
|
+
};
|
|
47
|
+
export declare const EXCEL_CHART_TYPES: {
|
|
48
|
+
readonly column: 51;
|
|
49
|
+
readonly bar: 57;
|
|
50
|
+
readonly line: 4;
|
|
51
|
+
readonly pie: 5;
|
|
52
|
+
readonly area: 1;
|
|
53
|
+
readonly scatter: -4169;
|
|
54
|
+
readonly doughnut: -4120;
|
|
55
|
+
};
|
|
56
|
+
export declare const EXCEL_BORDER_STYLES: {
|
|
57
|
+
readonly thin: 1;
|
|
58
|
+
readonly medium: 1;
|
|
59
|
+
readonly thick: 1;
|
|
60
|
+
readonly double: -4119;
|
|
61
|
+
readonly dotted: -4118;
|
|
62
|
+
readonly dashed: -4115;
|
|
63
|
+
};
|
|
64
|
+
export declare const EXCEL_BORDER_WEIGHTS: {
|
|
65
|
+
readonly thin: 2;
|
|
66
|
+
readonly medium: -4138;
|
|
67
|
+
readonly thick: 4;
|
|
68
|
+
readonly double: 2;
|
|
69
|
+
readonly dotted: 2;
|
|
70
|
+
readonly dashed: 2;
|
|
71
|
+
};
|
|
72
|
+
export declare const EXCEL_BORDER_EDGES: {
|
|
73
|
+
readonly left: 7;
|
|
74
|
+
readonly right: 10;
|
|
75
|
+
readonly top: 8;
|
|
76
|
+
readonly bottom: 9;
|
|
77
|
+
readonly all: -1;
|
|
78
|
+
};
|
|
79
|
+
export declare const EXCEL_CONDITION_TYPES: {
|
|
80
|
+
readonly cellValue: 1;
|
|
81
|
+
readonly colorScale: 3;
|
|
82
|
+
readonly dataBar: 4;
|
|
83
|
+
readonly iconSet: 6;
|
|
84
|
+
readonly duplicates: 8;
|
|
85
|
+
readonly top10: 5;
|
|
86
|
+
};
|
|
87
|
+
export declare const EXCEL_COMPARISON_OPERATORS: {
|
|
88
|
+
readonly greater: 5;
|
|
89
|
+
readonly less: 6;
|
|
90
|
+
readonly equal: 3;
|
|
91
|
+
readonly between: 1;
|
|
92
|
+
readonly notBetween: 2;
|
|
93
|
+
};
|
|
94
|
+
export declare const EXCEL_VALIDATION_TYPES: {
|
|
95
|
+
readonly list: 3;
|
|
96
|
+
readonly whole: 1;
|
|
97
|
+
readonly decimal: 2;
|
|
98
|
+
readonly date: 4;
|
|
99
|
+
readonly textLength: 6;
|
|
100
|
+
readonly custom: 7;
|
|
101
|
+
};
|
|
102
|
+
export declare const EXCEL_VALIDATION_OPERATORS: {
|
|
103
|
+
readonly between: 1;
|
|
104
|
+
readonly notBetween: 2;
|
|
105
|
+
readonly equal: 3;
|
|
106
|
+
readonly notEqual: 4;
|
|
107
|
+
readonly greater: 5;
|
|
108
|
+
readonly less: 6;
|
|
109
|
+
readonly greaterEqual: 7;
|
|
110
|
+
readonly lessEqual: 8;
|
|
111
|
+
};
|
|
112
|
+
export declare const POWERPOINT_ANIMATION_EFFECTS: {
|
|
113
|
+
readonly appear: 1;
|
|
114
|
+
readonly fade: 10;
|
|
115
|
+
readonly fly_in: 2;
|
|
116
|
+
readonly float_in: 42;
|
|
117
|
+
readonly split: 21;
|
|
118
|
+
readonly wipe: 22;
|
|
119
|
+
readonly shape: 31;
|
|
120
|
+
readonly wheel: 36;
|
|
121
|
+
readonly random_bars: 15;
|
|
122
|
+
readonly grow_and_turn: 26;
|
|
123
|
+
readonly zoom: 39;
|
|
124
|
+
readonly swivel: 20;
|
|
125
|
+
readonly bounce: 25;
|
|
126
|
+
};
|
|
127
|
+
export declare const POWERPOINT_TRANSITION_TYPES: {
|
|
128
|
+
readonly none: 0;
|
|
129
|
+
readonly fade: 1197;
|
|
130
|
+
readonly push: 1228;
|
|
131
|
+
readonly wipe: 1212;
|
|
132
|
+
readonly split: 1217;
|
|
133
|
+
readonly reveal: 1204;
|
|
134
|
+
readonly random_bars: 1243;
|
|
135
|
+
readonly shape: 1221;
|
|
136
|
+
readonly uncover: 1227;
|
|
137
|
+
readonly cover: 1218;
|
|
138
|
+
readonly flash: 1248;
|
|
139
|
+
};
|
|
140
|
+
export declare const POWERPOINT_SHAPE_TYPES: {
|
|
141
|
+
readonly rectangle: 1;
|
|
142
|
+
readonly rounded_rectangle: 5;
|
|
143
|
+
readonly oval: 9;
|
|
144
|
+
readonly diamond: 4;
|
|
145
|
+
readonly triangle: 7;
|
|
146
|
+
readonly right_triangle: 6;
|
|
147
|
+
readonly pentagon: 51;
|
|
148
|
+
readonly hexagon: 52;
|
|
149
|
+
readonly arrow_right: 33;
|
|
150
|
+
readonly arrow_left: 34;
|
|
151
|
+
readonly arrow_up: 35;
|
|
152
|
+
readonly arrow_down: 36;
|
|
153
|
+
readonly star_5: 12;
|
|
154
|
+
readonly star_6: 58;
|
|
155
|
+
readonly heart: 21;
|
|
156
|
+
readonly lightning: 22;
|
|
157
|
+
readonly callout: 41;
|
|
158
|
+
};
|
|
159
|
+
export declare const POWERPOINT_CHART_TYPES: {
|
|
160
|
+
readonly column: 51;
|
|
161
|
+
readonly bar: 57;
|
|
162
|
+
readonly line: 4;
|
|
163
|
+
readonly pie: 5;
|
|
164
|
+
readonly area: 1;
|
|
165
|
+
readonly scatter: -4169;
|
|
166
|
+
readonly doughnut: -4120;
|
|
167
|
+
};
|
|
168
|
+
export declare const WORD_BREAK_TYPES: {
|
|
169
|
+
readonly page: 7;
|
|
170
|
+
readonly line: 6;
|
|
171
|
+
readonly section: 2;
|
|
172
|
+
};
|
|
173
|
+
export declare const WORD_SHAPE_TYPES: {
|
|
174
|
+
readonly rectangle: 1;
|
|
175
|
+
readonly rounded_rectangle: 5;
|
|
176
|
+
readonly oval: 9;
|
|
177
|
+
readonly diamond: 4;
|
|
178
|
+
readonly triangle: 7;
|
|
179
|
+
readonly right_triangle: 6;
|
|
180
|
+
readonly pentagon: 51;
|
|
181
|
+
readonly hexagon: 52;
|
|
182
|
+
readonly arrow_right: 33;
|
|
183
|
+
readonly arrow_left: 34;
|
|
184
|
+
readonly arrow_up: 35;
|
|
185
|
+
readonly arrow_down: 36;
|
|
186
|
+
readonly star_5: 12;
|
|
187
|
+
readonly star_6: 58;
|
|
188
|
+
readonly heart: 21;
|
|
189
|
+
readonly lightning: 22;
|
|
190
|
+
readonly callout: 41;
|
|
191
|
+
};
|
|
192
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/tools/office/common/constants.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAS9C,eAAO,MAAM,iBAAiB,EAAE,YAAY,EAAmB,CAAC;AAShE,eAAO,MAAM,wBAAw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const WORD_PAGE_NUMBER_ALIGNMENT = {
|
|
9
|
+
left: 0,
|
|
10
|
+
center: 1,
|
|
11
|
+
right: 2,
|
|
12
|
+
};
|
|
13
|
+
export const EXCEL_HORIZONTAL_ALIGNMENT = {
|
|
14
|
+
left: -4131,
|
|
15
|
+
center: -4108,
|
|
16
|
+
right: -4152,
|
|
17
|
+
};
|
|
18
|
+
export const EXCEL_VERTICAL_ALIGNMENT = {
|
|
19
|
+
top: -4160,
|
|
20
|
+
center: -4108,
|
|
21
|
+
bottom: -4107,
|
|
22
|
+
};
|
|
23
|
+
export const POWERPOINT_HORIZONTAL_ALIGNMENT = {
|
|
24
|
+
left: 1,
|
|
25
|
+
center: 2,
|
|
26
|
+
right: 3,
|
|
27
|
+
justify: 4,
|
|
28
|
+
};
|
|
29
|
+
export const POWERPOINT_VERTICAL_ALIGNMENT = {
|
|
30
|
+
top: 1,
|
|
31
|
+
middle: 3,
|
|
32
|
+
bottom: 4,
|
|
33
|
+
};
|
|
34
|
+
export const POWERPOINT_SHAPE_ALIGNMENT = {
|
|
35
|
+
left: 0,
|
|
36
|
+
center: 1,
|
|
37
|
+
right: 2,
|
|
38
|
+
top: 3,
|
|
39
|
+
middle: 4,
|
|
40
|
+
bottom: 5,
|
|
41
|
+
};
|
|
42
|
+
export const POWERPOINT_DISTRIBUTE = {
|
|
43
|
+
horizontal: 0,
|
|
44
|
+
vertical: 1,
|
|
45
|
+
};
|
|
46
|
+
export const EXCEL_CHART_TYPES = {
|
|
47
|
+
column: 51,
|
|
48
|
+
bar: 57,
|
|
49
|
+
line: 4,
|
|
50
|
+
pie: 5,
|
|
51
|
+
area: 1,
|
|
52
|
+
scatter: -4169,
|
|
53
|
+
doughnut: -4120,
|
|
54
|
+
};
|
|
55
|
+
export const EXCEL_BORDER_STYLES = {
|
|
56
|
+
thin: 1,
|
|
57
|
+
medium: 1,
|
|
58
|
+
thick: 1,
|
|
59
|
+
double: -4119,
|
|
60
|
+
dotted: -4118,
|
|
61
|
+
dashed: -4115,
|
|
62
|
+
};
|
|
63
|
+
export const EXCEL_BORDER_WEIGHTS = {
|
|
64
|
+
thin: 2,
|
|
65
|
+
medium: -4138,
|
|
66
|
+
thick: 4,
|
|
67
|
+
double: 2,
|
|
68
|
+
dotted: 2,
|
|
69
|
+
dashed: 2,
|
|
70
|
+
};
|
|
71
|
+
export const EXCEL_BORDER_EDGES = {
|
|
72
|
+
left: 7,
|
|
73
|
+
right: 10,
|
|
74
|
+
top: 8,
|
|
75
|
+
bottom: 9,
|
|
76
|
+
all: -1,
|
|
77
|
+
};
|
|
78
|
+
export const EXCEL_CONDITION_TYPES = {
|
|
79
|
+
cellValue: 1,
|
|
80
|
+
colorScale: 3,
|
|
81
|
+
dataBar: 4,
|
|
82
|
+
iconSet: 6,
|
|
83
|
+
duplicates: 8,
|
|
84
|
+
top10: 5,
|
|
85
|
+
};
|
|
86
|
+
export const EXCEL_COMPARISON_OPERATORS = {
|
|
87
|
+
greater: 5,
|
|
88
|
+
less: 6,
|
|
89
|
+
equal: 3,
|
|
90
|
+
between: 1,
|
|
91
|
+
notBetween: 2,
|
|
92
|
+
};
|
|
93
|
+
export const EXCEL_VALIDATION_TYPES = {
|
|
94
|
+
list: 3,
|
|
95
|
+
whole: 1,
|
|
96
|
+
decimal: 2,
|
|
97
|
+
date: 4,
|
|
98
|
+
textLength: 6,
|
|
99
|
+
custom: 7,
|
|
100
|
+
};
|
|
101
|
+
export const EXCEL_VALIDATION_OPERATORS = {
|
|
102
|
+
between: 1,
|
|
103
|
+
notBetween: 2,
|
|
104
|
+
equal: 3,
|
|
105
|
+
notEqual: 4,
|
|
106
|
+
greater: 5,
|
|
107
|
+
less: 6,
|
|
108
|
+
greaterEqual: 7,
|
|
109
|
+
lessEqual: 8,
|
|
110
|
+
};
|
|
111
|
+
export const POWERPOINT_ANIMATION_EFFECTS = {
|
|
112
|
+
appear: 1,
|
|
113
|
+
fade: 10,
|
|
114
|
+
fly_in: 2,
|
|
115
|
+
float_in: 42,
|
|
116
|
+
split: 21,
|
|
117
|
+
wipe: 22,
|
|
118
|
+
shape: 31,
|
|
119
|
+
wheel: 36,
|
|
120
|
+
random_bars: 15,
|
|
121
|
+
grow_and_turn: 26,
|
|
122
|
+
zoom: 39,
|
|
123
|
+
swivel: 20,
|
|
124
|
+
bounce: 25,
|
|
125
|
+
};
|
|
126
|
+
export const POWERPOINT_TRANSITION_TYPES = {
|
|
127
|
+
none: 0,
|
|
128
|
+
fade: 1197,
|
|
129
|
+
push: 1228,
|
|
130
|
+
wipe: 1212,
|
|
131
|
+
split: 1217,
|
|
132
|
+
reveal: 1204,
|
|
133
|
+
random_bars: 1243,
|
|
134
|
+
shape: 1221,
|
|
135
|
+
uncover: 1227,
|
|
136
|
+
cover: 1218,
|
|
137
|
+
flash: 1248,
|
|
138
|
+
};
|
|
139
|
+
export const POWERPOINT_SHAPE_TYPES = {
|
|
140
|
+
rectangle: 1,
|
|
141
|
+
rounded_rectangle: 5,
|
|
142
|
+
oval: 9,
|
|
143
|
+
diamond: 4,
|
|
144
|
+
triangle: 7,
|
|
145
|
+
right_triangle: 6,
|
|
146
|
+
pentagon: 51,
|
|
147
|
+
hexagon: 52,
|
|
148
|
+
arrow_right: 33,
|
|
149
|
+
arrow_left: 34,
|
|
150
|
+
arrow_up: 35,
|
|
151
|
+
arrow_down: 36,
|
|
152
|
+
star_5: 12,
|
|
153
|
+
star_6: 58,
|
|
154
|
+
heart: 21,
|
|
155
|
+
lightning: 22,
|
|
156
|
+
callout: 41,
|
|
157
|
+
};
|
|
158
|
+
export const POWERPOINT_CHART_TYPES = EXCEL_CHART_TYPES;
|
|
159
|
+
export const WORD_BREAK_TYPES = {
|
|
160
|
+
page: 7,
|
|
161
|
+
line: 6,
|
|
162
|
+
section: 2,
|
|
163
|
+
};
|
|
164
|
+
export const WORD_SHAPE_TYPES = POWERPOINT_SHAPE_TYPES;
|
|
165
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/tools/office/common/constants.ts"],"names":[],"mappings":"AAeA,MAAM,CAAC,MAAM,iBAAiB,GAAmB,CAAC,YAAY,CAAC,CAAC;AAShE,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,IAAI,EAAE,CAAC;IACP,MAAM,EAAE,CAAC;IACT,KAAK,EAAE,CAAC;IACR,OAAO,EAAE,CAAC;CACF,CAAC;AAKX,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,IAAI,EAAE,CAAC;IACP,MAAM,EAAE,CAAC;IACT,KAAK,EAAE,CAAC;CACA,CAAC;AASX,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,IAAI,EAAE,CAAC,IAAI;IACX,MAAM,EAAE,CAAC,IAAI;IACb,KAAK,EAAE,CAAC,IAAI;CACJ,CAAC;AAKX,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,GAAG,EAAE,CAAC,IAAI;IACV,MAAM,EAAE,CAAC,IAAI;IACb,MAAM,EAAE,CAAC,IAAI;CACL,CAAC;AASX,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,IAAI,EAAE,CAAC;IACP,MAAM,EAAE,CAAC;IACT,KAAK,EAAE,CAAC;IACR,OAAO,EAAE,CAAC;CACF,CAAC;AAKX,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,GAAG,EAAE,CAAC;IACN,MAAM,EAAE,CAAC;IACT,MAAM,EAAE,CAAC;CACD,CAAC;AAKX,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,IAAI,EAAE,CAAC;IACP,MAAM,EAAE,CAAC;IACT,KAAK,EAAE,CAAC;IACR,GAAG,EAAE,CAAC;IACN,MAAM,EAAE,CAAC;IACT,MAAM,EAAE,CAAC;CACD,CAAC;AAKX,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,UAAU,EAAE,CAAC;IACb,QAAQ,EAAE,CAAC;CACH,CAAC;AASX,MAAM,C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IACf,UAAU,EAAE,EAAE;IACd,QAAQ,EAAE,EAAE;IACZ,UAAU,EAAE,EAAE;IACd,MAAM,EAAE,EAAE;IACV,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,EAAE;IACT,SAAS,EAAE,EAAE;IACb,OAAO,EAAE,EAAE;CACH,CAAC;AASX,MAAM,CAAC,MAAM,sBAAsB,GAAG,iBAAiB,CAAC;AASxD,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;IACP,OAAO,EAAE,CAAC;CACF,CAAC;AASX,MAAM,CAAC,MAAM,gBAAgB,GAAG,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { saveScreenshot, hexToRgb, hexToBgrColor, hasKoreanText, getRecommendedFont, escapePowerShellString, columnLetterToNumber, columnNumberToLetter, } from './utils.js';
|
|
2
|
+
export { OFFICE_CATEGORIES, WORD_PARAGRAPH_ALIGNMENT, WORD_PAGE_NUMBER_ALIGNMENT, WORD_BREAK_TYPES, WORD_SHAPE_TYPES, EXCEL_HORIZONTAL_ALIGNMENT, EXCEL_VERTICAL_ALIGNMENT, EXCEL_CHART_TYPES, EXCEL_BORDER_STYLES, EXCEL_BORDER_WEIGHTS, EXCEL_BORDER_EDGES, EXCEL_CONDITION_TYPES, EXCEL_COMPARISON_OPERATORS, EXCEL_VALIDATION_TYPES, EXCEL_VALIDATION_OPERATORS, POWERPOINT_HORIZONTAL_ALIGNMENT, POWERPOINT_VERTICAL_ALIGNMENT, POWERPOINT_SHAPE_ALIGNMENT, POWERPOINT_DISTRIBUTE, POWERPOINT_ANIMATION_EFFECTS, POWERPOINT_TRANSITION_TYPES, POWERPOINT_SHAPE_TYPES, POWERPOINT_CHART_TYPES, } from './constants.js';
|
|
3
|
+
export type { ToolResult, ToolCategory, LLMSimpleTool, OfficeResponse, ScreenshotResponse, HorizontalAlignment, VerticalAlignment, ShapeAlignment, FontOptions, ExtendedFontOptions, RgbColor, ExcelAlignmentOptions, ExcelBorderStyle, ExcelBorderEdge, ExcelBorderOptions, ExcelChartType, ExcelConditionalFormatType, ExcelComparisonOperator, ExcelValidationType, ExcelValidationOperator, ExcelClearType, PowerPointShapeType, PowerPointAnimationEffect, PowerPointTransitionType, PowerPointChartType, PowerPointDistribution, WordParagraphAlignment, WordBreakType, WordPageOrientation, WordGotoWhat, WordShapeType, PositionOptions, SizeOptions, BoundsOptions, PageMarginOptions, ShadowOptions, ReflectionOptions, } from './types.js';
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/tools/office/common/index.ts"],"names":[],"mappings":"AAWA,OAAO,EACL,cAAc,EACd,QAAQ,EACR,aAAa,EACb,aAAa,EACb,kBAAkB,EAClB,sBAAsB,EACtB,oBAAoB,EACpB,oBAAoB,GACrB,MAAM,YAAY,CAAC;AAMpB,OAAO,EACL,iBAAiB,EAGjB,wBAAwB,EACxB,0BAA0B,EAC1B,gBAAgB,EAChB,gBAAgB,EAGhB,0BAA0B,EAC1B,wBAAwB,EAGxB,iBAAiB,EAGjB,mBAAmB,EACnB,oBAAoB,EACpB,kBAAkB,EAGlB,qBAAqB,EACrB,0BAA0B,EAG1B,sBAAsB,EACtB,0BAA0B,EAG1B,+BAA+B,EAC/B,6BAA6B,EAC7B,0BAA0B,EAC1B,qBAAqB,EAGrB,4BAA4B,EAC5B,2BAA2B,EAG3B,sBAAsB,EACtB,sBAAsB,GACvB,MAAM,gBAAgB,CAAC;AAMxB,YAAY,EAEV,UAAU,EACV,YAAY,EACZ,aAAa,EAGb,cAAc,EACd,kBAAkB,EAGlB,mBAAmB,EACnB,iBAAiB,EACjB,cAAc,EAGd,WAAW,EACX,mBAAmB,EAGnB,QAAQ,EAGR,qBAAqB,EACrB,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EAClB,cAAc,EACd,0BAA0B,EAC1B,uBAAuB,EACvB,mBAAmB,EACnB,uBAAuB,EACvB,cAAc,EAGd,mBAAmB,EACnB,yBAAyB,EACzB,wBAAwB,EACxB,mBAAmB,EACnB,sBAAsB,EAGtB,sBAAsB,EACtB,aAAa,EACb,mBAAmB,EACnB,YAAY,EACZ,aAAa,EAGb,eAAe,EACf,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,aAAa,EACb,iBAAiB,GAClB,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { saveScreenshot, hexToRgb, hexToBgrColor, hasKoreanText, getRecommendedFont, escapePowerShellString, columnLetterToNumber, columnNumberToLetter, } from './utils.js';
|
|
2
|
+
export { OFFICE_CATEGORIES, WORD_PARAGRAPH_ALIGNMENT, WORD_PAGE_NUMBER_ALIGNMENT, WORD_BREAK_TYPES, WORD_SHAPE_TYPES, EXCEL_HORIZONTAL_ALIGNMENT, EXCEL_VERTICAL_ALIGNMENT, EXCEL_CHART_TYPES, EXCEL_BORDER_STYLES, EXCEL_BORDER_WEIGHTS, EXCEL_BORDER_EDGES, EXCEL_CONDITION_TYPES, EXCEL_COMPARISON_OPERATORS, EXCEL_VALIDATION_TYPES, EXCEL_VALIDATION_OPERATORS, POWERPOINT_HORIZONTAL_ALIGNMENT, POWERPOINT_VERTICAL_ALIGNMENT, POWERPOINT_SHAPE_ALIGNMENT, POWERPOINT_DISTRIBUTE, POWERPOINT_ANIMATION_EFFECTS, POWERPOINT_TRANSITION_TYPES, POWERPOINT_SHAPE_TYPES, POWERPOINT_CHART_TYPES, } from './constants.js';
|
|
3
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/tools/office/common/index.ts"],"names":[],"mappings":"AAWA,OAAO,EACL,cAAc,EACd,QAAQ,EACR,aAAa,EACb,aAAa,EACb,kBAAkB,EAClB,sBAAsB,EACtB,oBAAoB,EACpB,oBAAoB,GACrB,MAAM,YAAY,CAAC;AAMpB,OAAO,EACL,iBAAiB,EAGjB,wBAAwB,EACxB,0BAA0B,EAC1B,gBAAgB,EAChB,gBAAgB,EAGhB,0BAA0B,EAC1B,wBAAwB,EAGxB,iBAAiB,EAGjB,mBAAmB,EACnB,oBAAoB,EACpB,kBAAkB,EAGlB,qBAAqB,EACrB,0BAA0B,EAG1B,sBAAsB,EACtB,0BAA0B,EAG1B,+BAA+B,EAC/B,6BAA6B,EAC7B,0BAA0B,EAC1B,qBAAqB,EAGrB,4BAA4B,EAC5B,2BAA2B,EAG3B,sBAAsB,EACtB,sBAAsB,GACvB,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
export type { ToolResult, ToolCategory, LLMSimpleTool } from '../../types.js';
|
|
2
|
+
export type { OfficeResponse, ScreenshotResponse } from '../office-client-base.js';
|
|
3
|
+
export type HorizontalAlignment = 'left' | 'center' | 'right' | 'justify';
|
|
4
|
+
export type VerticalAlignment = 'top' | 'center' | 'middle' | 'bottom';
|
|
5
|
+
export type ShapeAlignment = 'left' | 'center' | 'right' | 'top' | 'middle' | 'bottom';
|
|
6
|
+
export interface FontOptions {
|
|
7
|
+
fontName?: string;
|
|
8
|
+
fontSize?: number;
|
|
9
|
+
bold?: boolean;
|
|
10
|
+
italic?: boolean;
|
|
11
|
+
underline?: boolean;
|
|
12
|
+
color?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface ExtendedFontOptions extends FontOptions {
|
|
15
|
+
strikethrough?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface RgbColor {
|
|
18
|
+
r: number;
|
|
19
|
+
g: number;
|
|
20
|
+
b: number;
|
|
21
|
+
}
|
|
22
|
+
export interface ExcelAlignmentOptions {
|
|
23
|
+
horizontal?: 'left' | 'center' | 'right';
|
|
24
|
+
vertical?: 'top' | 'center' | 'bottom';
|
|
25
|
+
wrapText?: boolean;
|
|
26
|
+
orientation?: number;
|
|
27
|
+
}
|
|
28
|
+
export type ExcelBorderStyle = 'thin' | 'medium' | 'thick' | 'double' | 'dotted' | 'dashed';
|
|
29
|
+
export type ExcelBorderEdge = 'left' | 'right' | 'top' | 'bottom' | 'all';
|
|
30
|
+
export interface ExcelBorderOptions {
|
|
31
|
+
style?: ExcelBorderStyle;
|
|
32
|
+
color?: string;
|
|
33
|
+
edges?: ExcelBorderEdge[];
|
|
34
|
+
}
|
|
35
|
+
export type ExcelChartType = 'column' | 'bar' | 'line' | 'pie' | 'area' | 'scatter' | 'doughnut';
|
|
36
|
+
export type ExcelConditionalFormatType = 'cellValue' | 'colorScale' | 'dataBar' | 'iconSet' | 'duplicates' | 'top10';
|
|
37
|
+
export type ExcelComparisonOperator = 'greater' | 'less' | 'equal' | 'between' | 'notBetween';
|
|
38
|
+
export type ExcelValidationType = 'list' | 'whole' | 'decimal' | 'date' | 'textLength' | 'custom';
|
|
39
|
+
export type ExcelValidationOperator = 'between' | 'notBetween' | 'equal' | 'notEqual' | 'greater' | 'less' | 'greaterEqual' | 'lessEqual';
|
|
40
|
+
export type ExcelClearType = 'all' | 'contents' | 'formats' | 'comments';
|
|
41
|
+
export type PowerPointShapeType = 'rectangle' | 'rounded_rectangle' | 'oval' | 'diamond' | 'triangle' | 'right_triangle' | 'pentagon' | 'hexagon' | 'arrow_right' | 'arrow_left' | 'arrow_up' | 'arrow_down' | 'star_5' | 'star_6' | 'heart' | 'lightning' | 'callout';
|
|
42
|
+
export type PowerPointAnimationEffect = 'appear' | 'fade' | 'fly_in' | 'float_in' | 'split' | 'wipe' | 'shape' | 'wheel' | 'random_bars' | 'grow_and_turn' | 'zoom' | 'swivel' | 'bounce';
|
|
43
|
+
export type PowerPointTransitionType = 'none' | 'fade' | 'push' | 'wipe' | 'split' | 'reveal' | 'random_bars' | 'shape' | 'uncover' | 'cover' | 'flash';
|
|
44
|
+
export type PowerPointChartType = ExcelChartType;
|
|
45
|
+
export type PowerPointDistribution = 'horizontal' | 'vertical';
|
|
46
|
+
export type WordParagraphAlignment = 'left' | 'center' | 'right' | 'justify';
|
|
47
|
+
export type WordBreakType = 'page' | 'line' | 'section';
|
|
48
|
+
export type WordPageOrientation = 'portrait' | 'landscape';
|
|
49
|
+
export type WordGotoWhat = 'page' | 'line' | 'bookmark';
|
|
50
|
+
export type WordShapeType = PowerPointShapeType;
|
|
51
|
+
export interface PositionOptions {
|
|
52
|
+
left?: number;
|
|
53
|
+
top?: number;
|
|
54
|
+
}
|
|
55
|
+
export interface SizeOptions {
|
|
56
|
+
width?: number;
|
|
57
|
+
height?: number;
|
|
58
|
+
}
|
|
59
|
+
export interface BoundsOptions extends PositionOptions, SizeOptions {
|
|
60
|
+
}
|
|
61
|
+
export interface PageMarginOptions {
|
|
62
|
+
top?: number;
|
|
63
|
+
bottom?: number;
|
|
64
|
+
left?: number;
|
|
65
|
+
right?: number;
|
|
66
|
+
}
|
|
67
|
+
export interface ShadowOptions {
|
|
68
|
+
visible?: boolean;
|
|
69
|
+
blur?: number;
|
|
70
|
+
offsetX?: number;
|
|
71
|
+
offsetY?: number;
|
|
72
|
+
color?: string;
|
|
73
|
+
transparency?: number;
|
|
74
|
+
}
|
|
75
|
+
export interface ReflectionOptions {
|
|
76
|
+
visible?: boolean;
|
|
77
|
+
size?: number;
|
|
78
|
+
transparency?: number;
|
|
79
|
+
offset?: number;
|
|
80
|
+
blur?: number;
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/tools/office/common/types.ts"],"names":[],"mappings":"AAOA,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAG9E,YAAY,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AASnF,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;AA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