@travisennis/acai 0.0.5 → 0.0.7
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/README.md +190 -19
- package/bin/acai-wrapper.js +26 -0
- package/dist/agent/index.d.ts +132 -0
- package/dist/agent/index.d.ts.map +1 -0
- package/dist/agent/index.js +434 -0
- package/dist/api/exa/index.js +1 -1
- package/dist/cli.d.ts +4 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +67 -40
- package/dist/commands/add-directory-command.d.ts +3 -0
- package/dist/commands/add-directory-command.d.ts.map +1 -0
- package/dist/commands/add-directory-command.js +54 -0
- package/dist/commands/application-log-command.d.ts +1 -1
- package/dist/commands/application-log-command.d.ts.map +1 -1
- package/dist/commands/application-log-command.js +18 -20
- package/dist/commands/clear-command.d.ts +1 -1
- package/dist/commands/clear-command.d.ts.map +1 -1
- package/dist/commands/clear-command.js +7 -3
- package/dist/commands/compact-command.d.ts.map +1 -1
- package/dist/commands/compact-command.js +9 -5
- package/dist/commands/context-command.d.ts +3 -0
- package/dist/commands/context-command.d.ts.map +1 -0
- package/dist/commands/context-command.js +124 -0
- package/dist/commands/copy-command.d.ts.map +1 -1
- package/dist/commands/copy-command.js +14 -5
- package/dist/commands/edit-command.d.ts +1 -1
- package/dist/commands/edit-command.d.ts.map +1 -1
- package/dist/commands/edit-command.js +21 -34
- package/dist/commands/edit-prompt-command.d.ts +1 -1
- package/dist/commands/edit-prompt-command.d.ts.map +1 -1
- package/dist/commands/edit-prompt-command.js +18 -15
- package/dist/commands/exit-command.d.ts +1 -4
- package/dist/commands/exit-command.d.ts.map +1 -1
- package/dist/commands/exit-command.js +9 -5
- package/dist/commands/files-command.d.ts +1 -1
- package/dist/commands/files-command.d.ts.map +1 -1
- package/dist/commands/files-command.js +20 -16
- package/dist/commands/generate-rules-command.d.ts +1 -1
- package/dist/commands/generate-rules-command.d.ts.map +1 -1
- package/dist/commands/generate-rules-command.js +307 -39
- package/dist/commands/handoff-command.d.ts +3 -0
- package/dist/commands/handoff-command.d.ts.map +1 -0
- package/dist/commands/handoff-command.js +191 -0
- package/dist/commands/health-command.d.ts +1 -1
- package/dist/commands/health-command.d.ts.map +1 -1
- package/dist/commands/health-command.js +49 -27
- package/dist/commands/help-command.d.ts +1 -1
- package/dist/commands/help-command.d.ts.map +1 -1
- package/dist/commands/help-command.js +25 -5
- package/dist/commands/history-command.d.ts +3 -0
- package/dist/commands/history-command.d.ts.map +1 -0
- package/dist/commands/history-command.js +458 -0
- package/dist/commands/init-command.d.ts +1 -1
- package/dist/commands/init-command.d.ts.map +1 -1
- package/dist/commands/init-command.js +40 -22
- package/dist/commands/last-log-command.d.ts +1 -1
- package/dist/commands/last-log-command.d.ts.map +1 -1
- package/dist/commands/last-log-command.js +15 -15
- package/dist/commands/list-directories-command.d.ts +3 -0
- package/dist/commands/list-directories-command.d.ts.map +1 -0
- package/dist/commands/list-directories-command.js +35 -0
- package/dist/commands/list-tools-command.d.ts.map +1 -1
- package/dist/commands/list-tools-command.js +61 -21
- package/dist/commands/manager.d.ts +9 -4
- package/dist/commands/manager.d.ts.map +1 -1
- package/dist/commands/manager.js +64 -39
- package/dist/commands/model-command.d.ts.map +1 -1
- package/dist/commands/model-command.js +201 -66
- package/dist/commands/paste-command.d.ts +1 -1
- package/dist/commands/paste-command.d.ts.map +1 -1
- package/dist/commands/paste-command.js +23 -9
- package/dist/commands/pickup-command.d.ts +3 -0
- package/dist/commands/pickup-command.d.ts.map +1 -0
- package/dist/commands/pickup-command.js +109 -0
- package/dist/commands/prompt-command.d.ts +19 -1
- package/dist/commands/prompt-command.d.ts.map +1 -1
- package/dist/commands/prompt-command.js +191 -98
- package/dist/commands/remove-directory-command.d.ts +3 -0
- package/dist/commands/remove-directory-command.d.ts.map +1 -0
- package/dist/commands/remove-directory-command.js +55 -0
- package/dist/commands/reset-command.d.ts +1 -1
- package/dist/commands/reset-command.d.ts.map +1 -1
- package/dist/commands/reset-command.js +8 -5
- package/dist/commands/rules-command.d.ts +1 -1
- package/dist/commands/rules-command.d.ts.map +1 -1
- package/dist/commands/rules-command.js +25 -22
- package/dist/commands/save-command.d.ts +1 -1
- package/dist/commands/save-command.d.ts.map +1 -1
- package/dist/commands/save-command.js +8 -3
- package/dist/commands/shell-command.d.ts.map +1 -1
- package/dist/commands/shell-command.js +45 -24
- package/dist/commands/types.d.ts +9 -7
- package/dist/commands/types.d.ts.map +1 -1
- package/dist/commands/usage-command.d.ts +1 -1
- package/dist/commands/usage-command.d.ts.map +1 -1
- package/dist/commands/usage-command.js +18 -7
- package/dist/config.d.ts +21 -11
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +90 -63
- package/dist/execution/index.d.ts +17 -2
- package/dist/execution/index.d.ts.map +1 -1
- package/dist/execution/index.js +62 -20
- package/dist/formatting.d.ts +127 -0
- package/dist/formatting.d.ts.map +1 -1
- package/dist/formatting.js +201 -0
- package/dist/index.d.ts +7 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +263 -102
- package/dist/logger.d.ts.map +1 -1
- package/dist/logger.js +47 -18
- package/dist/mentions.d.ts +2 -1
- package/dist/mentions.d.ts.map +1 -1
- package/dist/mentions.js +16 -1
- package/dist/messages.d.ts +11 -0
- package/dist/messages.d.ts.map +1 -1
- package/dist/messages.js +122 -21
- package/dist/middleware/cache.d.ts +3 -0
- package/dist/middleware/cache.d.ts.map +1 -0
- package/dist/middleware/cache.js +53 -0
- package/dist/middleware/index.d.ts +1 -0
- package/dist/middleware/index.d.ts.map +1 -1
- package/dist/middleware/index.js +1 -0
- package/dist/models/ai-config.d.ts +4 -2
- package/dist/models/ai-config.d.ts.map +1 -1
- package/dist/models/ai-config.js +12 -2
- package/dist/models/anthropic-provider.d.ts.map +1 -1
- package/dist/models/anthropic-provider.js +3 -67
- package/dist/models/deepseek-provider.d.ts.map +1 -1
- package/dist/models/deepseek-provider.js +0 -2
- package/dist/models/google-provider.d.ts.map +1 -1
- package/dist/models/google-provider.js +0 -3
- package/dist/models/groq-provider.d.ts.map +1 -1
- package/dist/models/groq-provider.js +0 -1
- package/dist/models/manager.d.ts +2 -1
- package/dist/models/manager.d.ts.map +1 -1
- package/dist/models/manager.js +26 -2
- package/dist/models/openai-provider.d.ts.map +1 -1
- package/dist/models/openai-provider.js +0 -4
- package/dist/models/openrouter-provider.d.ts +16 -22
- package/dist/models/openrouter-provider.d.ts.map +1 -1
- package/dist/models/openrouter-provider.js +175 -236
- package/dist/models/providers.d.ts +4 -14
- package/dist/models/providers.d.ts.map +1 -1
- package/dist/models/providers.js +1 -57
- package/dist/models/xai-provider.d.ts.map +1 -1
- package/dist/models/xai-provider.js +0 -2
- package/dist/prompts.d.ts +10 -4
- package/dist/prompts.d.ts.map +1 -1
- package/dist/prompts.js +447 -70
- package/dist/repl/project-status-line.d.ts +3 -0
- package/dist/repl/project-status-line.d.ts.map +1 -0
- package/dist/repl/project-status-line.js +61 -0
- package/dist/repl/tool-call-repair.d.ts.map +1 -1
- package/dist/repl/tool-call-repair.js +8 -4
- package/dist/repl-new.d.ts +51 -0
- package/dist/repl-new.d.ts.map +1 -0
- package/dist/repl-new.js +354 -0
- package/dist/skills.d.ts +20 -0
- package/dist/skills.d.ts.map +1 -0
- package/dist/skills.js +192 -0
- package/dist/terminal/control.d.ts +55 -0
- package/dist/terminal/control.d.ts.map +1 -0
- package/dist/terminal/control.js +109 -0
- package/dist/terminal/default-theme.d.ts +1 -1
- package/dist/terminal/default-theme.d.ts.map +1 -1
- package/dist/terminal/default-theme.js +24 -28
- package/dist/terminal/formatting.d.ts +23 -25
- package/dist/terminal/formatting.d.ts.map +1 -1
- package/dist/terminal/formatting.js +35 -52
- package/dist/terminal/highlight/index.d.ts.map +1 -1
- package/dist/terminal/highlight/index.js +3 -6
- package/dist/terminal/highlight/theme.d.ts.map +1 -1
- package/dist/terminal/highlight/theme.js +2 -6
- package/dist/terminal/index.d.ts +2 -94
- package/dist/terminal/index.d.ts.map +1 -1
- package/dist/terminal/index.js +2 -370
- package/dist/terminal/markdown.js +10 -5
- package/dist/terminal/select-prompt.d.ts +2 -2
- package/dist/terminal/select-prompt.d.ts.map +1 -1
- package/dist/terminal/select-prompt.js +47 -39
- package/dist/terminal/strip-ansi.js +4 -4
- package/dist/terminal/table/cell.d.ts +114 -0
- package/dist/terminal/table/cell.d.ts.map +1 -0
- package/dist/terminal/table/cell.js +407 -0
- package/dist/terminal/table/debug.d.ts +15 -0
- package/dist/terminal/table/debug.d.ts.map +1 -0
- package/dist/terminal/table/debug.js +32 -0
- package/dist/terminal/table/index.d.ts +3 -0
- package/dist/terminal/table/index.d.ts.map +1 -0
- package/dist/terminal/table/index.js +2 -0
- package/dist/terminal/table/layout-manager.d.ts +27 -0
- package/dist/terminal/table/layout-manager.d.ts.map +1 -0
- package/dist/terminal/table/layout-manager.js +257 -0
- package/dist/terminal/table/table.d.ts +9 -0
- package/dist/terminal/table/table.d.ts.map +1 -0
- package/dist/terminal/table/table.js +97 -0
- package/dist/terminal/table/utils.d.ts +63 -0
- package/dist/terminal/table/utils.d.ts.map +1 -0
- package/dist/terminal/table/utils.js +326 -0
- package/dist/tokens/threshold.d.ts +20 -0
- package/dist/tokens/threshold.d.ts.map +1 -0
- package/dist/tokens/threshold.js +67 -0
- package/dist/tools/advanced-edit-file.d.ts +69 -0
- package/dist/tools/advanced-edit-file.d.ts.map +1 -0
- package/dist/tools/advanced-edit-file.js +285 -0
- package/dist/tools/agent.d.ts +16 -5
- package/dist/tools/agent.d.ts.map +1 -1
- package/dist/tools/agent.js +86 -59
- package/dist/tools/bash.d.ts +23 -12
- package/dist/tools/bash.d.ts.map +1 -1
- package/dist/tools/bash.js +243 -128
- package/dist/tools/batch.d.ts +34 -0
- package/dist/tools/batch.d.ts.map +1 -0
- package/dist/tools/batch.js +174 -0
- package/dist/tools/code-interpreter.d.ts +21 -9
- package/dist/tools/code-interpreter.d.ts.map +1 -1
- package/dist/tools/code-interpreter.js +151 -134
- package/dist/tools/delete-file.d.ts +17 -10
- package/dist/tools/delete-file.d.ts.map +1 -1
- package/dist/tools/delete-file.js +60 -97
- package/dist/tools/directory-tree.d.ts +17 -12
- package/dist/tools/directory-tree.d.ts.map +1 -1
- package/dist/tools/directory-tree.js +57 -48
- package/dist/tools/dynamic-tool-loader.d.ts +16 -10
- package/dist/tools/dynamic-tool-loader.d.ts.map +1 -1
- package/dist/tools/dynamic-tool-loader.js +122 -130
- package/dist/tools/dynamic-tool-parser.d.ts +1 -0
- package/dist/tools/dynamic-tool-parser.d.ts.map +1 -1
- package/dist/tools/dynamic-tool-parser.js +1 -0
- package/dist/tools/edit-file.d.ts +35 -15
- package/dist/tools/edit-file.d.ts.map +1 -1
- package/dist/tools/edit-file.js +127 -114
- package/dist/tools/glob.d.ts +36 -0
- package/dist/tools/glob.d.ts.map +1 -0
- package/dist/tools/glob.js +154 -0
- package/dist/tools/grep.d.ts +73 -12
- package/dist/tools/grep.d.ts.map +1 -1
- package/dist/tools/grep.js +425 -165
- package/dist/tools/index.d.ts +220 -126
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +284 -135
- package/dist/tools/llm-edit-fixer.d.ts +24 -0
- package/dist/tools/llm-edit-fixer.d.ts.map +1 -0
- package/dist/tools/llm-edit-fixer.js +136 -0
- package/dist/tools/move-file.d.ts +19 -7
- package/dist/tools/move-file.d.ts.map +1 -1
- package/dist/tools/move-file.js +48 -34
- package/dist/tools/read-file.d.ts +47 -9
- package/dist/tools/read-file.d.ts.map +1 -1
- package/dist/tools/read-file.js +84 -70
- package/dist/tools/read-multiple-files.d.ts +17 -6
- package/dist/tools/read-multiple-files.d.ts.map +1 -1
- package/dist/tools/read-multiple-files.js +132 -72
- package/dist/tools/save-file.d.ts +45 -12
- package/dist/tools/save-file.d.ts.map +1 -1
- package/dist/tools/save-file.js +76 -101
- package/dist/tools/think.d.ts +15 -7
- package/dist/tools/think.d.ts.map +1 -1
- package/dist/tools/think.js +34 -20
- package/dist/tools/types.d.ts +8 -10
- package/dist/tools/types.d.ts.map +1 -1
- package/dist/tools/types.js +9 -0
- package/dist/tools/utils.d.ts +14 -0
- package/dist/tools/utils.d.ts.map +1 -0
- package/dist/tools/utils.js +16 -0
- package/dist/tools/web-fetch.d.ts +11 -4
- package/dist/tools/web-fetch.d.ts.map +1 -1
- package/dist/tools/web-fetch.js +39 -38
- package/dist/tools/web-search.d.ts +15 -6
- package/dist/tools/web-search.d.ts.map +1 -1
- package/dist/tools/web-search.js +64 -31
- package/dist/tui/autocomplete.d.ts +44 -0
- package/dist/tui/autocomplete.d.ts.map +1 -0
- package/dist/tui/autocomplete.js +466 -0
- package/dist/tui/components/assistant-message.d.ts +18 -0
- package/dist/tui/components/assistant-message.d.ts.map +1 -0
- package/dist/tui/components/assistant-message.js +29 -0
- package/dist/tui/components/box.d.ts +20 -0
- package/dist/tui/components/box.d.ts.map +1 -0
- package/dist/tui/components/box.js +81 -0
- package/dist/tui/components/editor.d.ts +106 -0
- package/dist/tui/components/editor.d.ts.map +1 -0
- package/dist/tui/components/editor.js +1220 -0
- package/dist/tui/components/footer.d.ts +12 -0
- package/dist/tui/components/footer.d.ts.map +1 -0
- package/dist/tui/components/footer.js +209 -0
- package/dist/tui/components/header.d.ts +21 -0
- package/dist/tui/components/header.d.ts.map +1 -0
- package/dist/tui/components/header.js +63 -0
- package/dist/tui/components/input.d.ts +14 -0
- package/dist/tui/components/input.d.ts.map +1 -0
- package/dist/tui/components/input.js +122 -0
- package/dist/tui/components/loader.d.ts +23 -0
- package/dist/tui/components/loader.d.ts.map +1 -0
- package/dist/tui/components/loader.js +45 -0
- package/dist/tui/components/markdown.d.ts +106 -0
- package/dist/tui/components/markdown.d.ts.map +1 -0
- package/dist/tui/components/markdown.js +586 -0
- package/dist/tui/components/modal.d.ts +29 -0
- package/dist/tui/components/modal.d.ts.map +1 -0
- package/dist/tui/components/modal.js +263 -0
- package/dist/tui/components/progress-bar.d.ts +19 -0
- package/dist/tui/components/progress-bar.d.ts.map +1 -0
- package/dist/tui/components/progress-bar.js +78 -0
- package/dist/tui/components/prompt-status.d.ts +17 -0
- package/dist/tui/components/prompt-status.d.ts.map +1 -0
- package/dist/tui/components/prompt-status.js +26 -0
- package/dist/tui/components/select-list.d.ts +48 -0
- package/dist/tui/components/select-list.d.ts.map +1 -0
- package/dist/tui/components/select-list.js +207 -0
- package/dist/tui/components/spacer.d.ts +16 -0
- package/dist/tui/components/spacer.d.ts.map +1 -0
- package/dist/tui/components/spacer.js +27 -0
- package/dist/tui/components/table.d.ts +27 -0
- package/dist/tui/components/table.d.ts.map +1 -0
- package/dist/tui/components/table.js +125 -0
- package/dist/tui/components/text.d.ts +26 -0
- package/dist/tui/components/text.d.ts.map +1 -0
- package/dist/tui/components/text.js +143 -0
- package/dist/tui/components/thinking-block.d.ts +14 -0
- package/dist/tui/components/thinking-block.d.ts.map +1 -0
- package/dist/tui/components/thinking-block.js +33 -0
- package/dist/tui/components/tool-execution.d.ts +21 -0
- package/dist/tui/components/tool-execution.d.ts.map +1 -0
- package/dist/tui/components/tool-execution.js +161 -0
- package/dist/tui/components/user-message.d.ts +9 -0
- package/dist/tui/components/user-message.d.ts.map +1 -0
- package/dist/tui/components/user-message.js +23 -0
- package/dist/tui/components/welcome.d.ts +6 -0
- package/dist/tui/components/welcome.d.ts.map +1 -0
- package/dist/tui/components/welcome.js +30 -0
- package/dist/tui/index.d.ts +18 -0
- package/dist/tui/index.d.ts.map +1 -0
- package/dist/tui/index.js +22 -0
- package/dist/tui/terminal.d.ts +38 -0
- package/dist/tui/terminal.d.ts.map +1 -0
- package/dist/tui/terminal.js +94 -0
- package/dist/tui/tui.d.ts +69 -0
- package/dist/tui/tui.d.ts.map +1 -0
- package/dist/tui/tui.js +204 -0
- package/dist/tui/utils.d.ts +24 -0
- package/dist/tui/utils.d.ts.map +1 -0
- package/dist/tui/utils.js +111 -0
- package/dist/utils/bash.d.ts +7 -0
- package/dist/utils/bash.d.ts.map +1 -0
- package/dist/{tools/bash-utils.js → utils/bash.js} +31 -12
- package/dist/utils/{filesystem.d.ts → filesystem/operations.d.ts} +1 -1
- package/dist/utils/filesystem/operations.d.ts.map +1 -0
- package/dist/utils/filesystem/security.d.ts +9 -0
- package/dist/utils/filesystem/security.d.ts.map +1 -0
- package/dist/{tools/filesystem-utils.js → utils/filesystem/security.js} +93 -21
- package/dist/utils/funcs.d.ts +6 -0
- package/dist/utils/funcs.d.ts.map +1 -0
- package/dist/utils/funcs.js +6 -0
- package/dist/utils/generators.d.ts +3 -0
- package/dist/utils/generators.d.ts.map +1 -0
- package/dist/utils/generators.js +25 -0
- package/dist/{tools/git-utils.d.ts → utils/git.d.ts} +1 -1
- package/dist/utils/git.d.ts.map +1 -0
- package/dist/{tools/git-utils.js → utils/git.js} +0 -6
- package/dist/utils/glob.js +1 -1
- package/dist/utils/iterables.d.ts +2 -0
- package/dist/utils/iterables.d.ts.map +1 -0
- package/dist/utils/iterables.js +6 -0
- package/dist/utils/{zod-utils.d.ts → zod.d.ts} +1 -1
- package/dist/utils/zod.d.ts.map +1 -0
- package/package.json +21 -21
- package/dist/conversation-analyzer.d.ts +0 -11
- package/dist/conversation-analyzer.d.ts.map +0 -1
- package/dist/conversation-analyzer.js +0 -88
- package/dist/repl/display-tool-messages.d.ts +0 -4
- package/dist/repl/display-tool-messages.d.ts.map +0 -1
- package/dist/repl/display-tool-messages.js +0 -55
- package/dist/repl/display-tool-use.d.ts +0 -14
- package/dist/repl/display-tool-use.d.ts.map +0 -1
- package/dist/repl/display-tool-use.js +0 -63
- package/dist/repl/get-prompt-header.d.ts +0 -8
- package/dist/repl/get-prompt-header.d.ts.map +0 -1
- package/dist/repl/get-prompt-header.js +0 -38
- package/dist/repl-prompt.d.ts +0 -15
- package/dist/repl-prompt.d.ts.map +0 -1
- package/dist/repl-prompt.js +0 -147
- package/dist/repl.d.ts +0 -31
- package/dist/repl.d.ts.map +0 -1
- package/dist/repl.js +0 -310
- package/dist/terminal/checkbox-prompt.d.ts +0 -36
- package/dist/terminal/checkbox-prompt.d.ts.map +0 -1
- package/dist/terminal/checkbox-prompt.js +0 -362
- package/dist/terminal/editor-prompt.d.ts +0 -10
- package/dist/terminal/editor-prompt.d.ts.map +0 -1
- package/dist/terminal/editor-prompt.js +0 -61
- package/dist/terminal/errors.d.ts +0 -19
- package/dist/terminal/errors.d.ts.map +0 -1
- package/dist/terminal/errors.js +0 -37
- package/dist/terminal/input-prompt.d.ts +0 -16
- package/dist/terminal/input-prompt.d.ts.map +0 -1
- package/dist/terminal/input-prompt.js +0 -181
- package/dist/terminal/search-prompt.d.ts +0 -20
- package/dist/terminal/search-prompt.d.ts.map +0 -1
- package/dist/terminal/search-prompt.js +0 -279
- package/dist/terminal/types.d.ts +0 -35
- package/dist/terminal/types.d.ts.map +0 -1
- package/dist/terminal/types.js +0 -1
- package/dist/tokens/manage-output.d.ts +0 -34
- package/dist/tokens/manage-output.d.ts.map +0 -1
- package/dist/tokens/manage-output.js +0 -44
- package/dist/tool-executor.d.ts +0 -28
- package/dist/tool-executor.d.ts.map +0 -1
- package/dist/tool-executor.js +0 -74
- package/dist/tools/bash-utils.d.ts +0 -7
- package/dist/tools/bash-utils.d.ts.map +0 -1
- package/dist/tools/file-editing-utils.d.ts +0 -2
- package/dist/tools/file-editing-utils.d.ts.map +0 -1
- package/dist/tools/file-editing-utils.js +0 -135
- package/dist/tools/filesystem-utils.d.ts +0 -7
- package/dist/tools/filesystem-utils.d.ts.map +0 -1
- package/dist/tools/git-utils.d.ts.map +0 -1
- package/dist/utils/filesystem.d.ts.map +0 -1
- package/dist/utils/zod-utils.d.ts.map +0 -1
- /package/dist/utils/{filesystem.js → filesystem/operations.js} +0 -0
- /package/dist/utils/{zod-utils.js → zod.js} +0 -0
|
@@ -1,14 +1,26 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ToolCallOptions } from "ai";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import type { ToolResult } from "./types.ts";
|
|
2
4
|
export declare const MoveFileTool: {
|
|
3
5
|
name: "moveFile";
|
|
4
6
|
};
|
|
5
|
-
|
|
7
|
+
declare const inputSchema: z.ZodObject<{
|
|
8
|
+
source: z.ZodString;
|
|
9
|
+
destination: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
type MoveFileInputSchema = z.infer<typeof inputSchema>;
|
|
12
|
+
export declare const createMoveFileTool: ({ workingDir, allowedDirs, }: {
|
|
6
13
|
workingDir: string;
|
|
7
|
-
|
|
14
|
+
allowedDirs?: string[];
|
|
8
15
|
}) => Promise<{
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
16
|
+
toolDef: {
|
|
17
|
+
description: string;
|
|
18
|
+
inputSchema: z.ZodObject<{
|
|
19
|
+
source: z.ZodString;
|
|
20
|
+
destination: z.ZodString;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
};
|
|
23
|
+
execute({ source, destination }: MoveFileInputSchema, { toolCallId, abortSignal }: ToolCallOptions): AsyncGenerator<ToolResult>;
|
|
13
24
|
}>;
|
|
25
|
+
export {};
|
|
14
26
|
//# sourceMappingURL=move-file.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"move-file.d.ts","sourceRoot":"","sources":["../../source/tools/move-file.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"move-file.d.ts","sourceRoot":"","sources":["../../source/tools/move-file.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,IAAI,CAAC;AAC1C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,YAAY;;CAExB,CAAC;AAEF,QAAA,MAAM,WAAW;;;iBAGf,CAAC;AAEH,KAAK,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAEvD,eAAO,MAAM,kBAAkB,GAAU,8BAGtC;IACD,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;CACxB;;;;;;;;qCAY8B,mBAAmB,+BACf,eAAe,GAC3C,cAAc,CAAC,UAAU,CAAC;EAyDhC,CAAC"}
|
package/dist/tools/move-file.js
CHANGED
|
@@ -1,51 +1,65 @@
|
|
|
1
1
|
import fs from "node:fs/promises";
|
|
2
|
-
import { tool } from "ai";
|
|
3
2
|
import { z } from "zod";
|
|
3
|
+
import { config } from "../config.js";
|
|
4
|
+
import { clearProjectStatusCache } from "../repl/project-status-line.js";
|
|
4
5
|
import style from "../terminal/style.js";
|
|
5
|
-
import { joinWorkingDir, validatePath } from "
|
|
6
|
+
import { joinWorkingDir, validateFileNotReadOnly, validatePath, } from "../utils/filesystem/security.js";
|
|
6
7
|
export const MoveFileTool = {
|
|
7
8
|
name: "moveFile",
|
|
8
9
|
};
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
const inputSchema = z.object({
|
|
11
|
+
source: z.string(),
|
|
12
|
+
destination: z.string(),
|
|
13
|
+
});
|
|
14
|
+
export const createMoveFileTool = async ({ workingDir, allowedDirs, }) => {
|
|
15
|
+
const allowedDirectory = allowedDirs ?? [workingDir];
|
|
11
16
|
return {
|
|
12
|
-
|
|
17
|
+
toolDef: {
|
|
13
18
|
description: "Move or rename files and directories. Can move files between directories " +
|
|
14
19
|
"and rename them in a single operation. If the destination exists, the " +
|
|
15
20
|
"operation will fail. Works across different directories and can be used " +
|
|
16
21
|
"for simple renaming within the same directory. Both source and destination must be within allowed directories.",
|
|
17
|
-
inputSchema
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
execute: async ({ source, destination }, { toolCallId, abortSignal }) => {
|
|
22
|
-
// Check if execution has been aborted
|
|
22
|
+
inputSchema,
|
|
23
|
+
},
|
|
24
|
+
async *execute({ source, destination }, { toolCallId, abortSignal }) {
|
|
25
|
+
try {
|
|
23
26
|
if (abortSignal?.aborted) {
|
|
24
27
|
throw new Error("File move aborted");
|
|
25
28
|
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
id: toolCallId,
|
|
40
|
-
event: "tool-completion",
|
|
41
|
-
data: "Done",
|
|
42
|
-
});
|
|
43
|
-
return `Successfully moved ${source} to ${destination}`;
|
|
44
|
-
}
|
|
45
|
-
catch (error) {
|
|
46
|
-
return `Failed to move file: ${error.message}`;
|
|
29
|
+
yield {
|
|
30
|
+
name: MoveFileTool.name,
|
|
31
|
+
id: toolCallId,
|
|
32
|
+
event: "tool-init",
|
|
33
|
+
data: `${style.cyan(source)} => ${style.cyan(destination)}`,
|
|
34
|
+
};
|
|
35
|
+
const validSourcePath = await validatePath(joinWorkingDir(source, workingDir), allowedDirectory, { abortSignal });
|
|
36
|
+
// Check if source file is read-only
|
|
37
|
+
const projectConfig = await config.getConfig();
|
|
38
|
+
validateFileNotReadOnly(validSourcePath, projectConfig, workingDir);
|
|
39
|
+
const validDestPath = await validatePath(joinWorkingDir(destination, workingDir), allowedDirectory, { requireExistence: false, abortSignal });
|
|
40
|
+
if (abortSignal?.aborted) {
|
|
41
|
+
throw new Error("File move aborted before file operation");
|
|
47
42
|
}
|
|
48
|
-
|
|
49
|
-
|
|
43
|
+
await fs.rename(validSourcePath, validDestPath);
|
|
44
|
+
yield {
|
|
45
|
+
name: MoveFileTool.name,
|
|
46
|
+
id: toolCallId,
|
|
47
|
+
event: "tool-completion",
|
|
48
|
+
data: "File moved",
|
|
49
|
+
};
|
|
50
|
+
// Clear project status cache since file operations change git status
|
|
51
|
+
clearProjectStatusCache();
|
|
52
|
+
yield `Successfully moved ${source} to ${destination}`;
|
|
53
|
+
}
|
|
54
|
+
catch (error) {
|
|
55
|
+
yield {
|
|
56
|
+
name: MoveFileTool.name,
|
|
57
|
+
event: "tool-error",
|
|
58
|
+
id: toolCallId,
|
|
59
|
+
data: error.message,
|
|
60
|
+
};
|
|
61
|
+
yield `Failed to move file: ${error.message}`;
|
|
62
|
+
}
|
|
63
|
+
},
|
|
50
64
|
};
|
|
51
65
|
};
|
|
@@ -1,18 +1,56 @@
|
|
|
1
|
+
import type { ToolCallOptions } from "ai";
|
|
2
|
+
import { z } from "zod";
|
|
1
3
|
import type { TokenCounter } from "../tokens/counter.ts";
|
|
2
|
-
import type {
|
|
4
|
+
import type { ToolResult } from "./types.ts";
|
|
3
5
|
export declare const ReadFileTool: {
|
|
4
6
|
name: "readFile";
|
|
5
7
|
};
|
|
6
|
-
|
|
8
|
+
declare const inputSchema: z.ZodObject<{
|
|
9
|
+
path: z.ZodString;
|
|
10
|
+
encoding: z.ZodEnum<{
|
|
11
|
+
utf8: "utf8";
|
|
12
|
+
ascii: "ascii";
|
|
13
|
+
"utf-8": "utf-8";
|
|
14
|
+
utf16le: "utf16le";
|
|
15
|
+
ucs2: "ucs2";
|
|
16
|
+
"ucs-2": "ucs-2";
|
|
17
|
+
base64: "base64";
|
|
18
|
+
base64url: "base64url";
|
|
19
|
+
latin1: "latin1";
|
|
20
|
+
binary: "binary";
|
|
21
|
+
hex: "hex";
|
|
22
|
+
}>;
|
|
23
|
+
startLine: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
24
|
+
lineCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
type ReadFileInputSchema = z.infer<typeof inputSchema>;
|
|
27
|
+
export declare const createReadFileTool: ({ workingDir, allowedDirs, tokenCounter, }: {
|
|
7
28
|
workingDir: string;
|
|
8
|
-
|
|
29
|
+
allowedDirs?: string[];
|
|
9
30
|
tokenCounter: TokenCounter;
|
|
10
31
|
}) => Promise<{
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
32
|
+
toolDef: {
|
|
33
|
+
description: string;
|
|
34
|
+
inputSchema: z.ZodObject<{
|
|
35
|
+
path: z.ZodString;
|
|
36
|
+
encoding: z.ZodEnum<{
|
|
37
|
+
utf8: "utf8";
|
|
38
|
+
ascii: "ascii";
|
|
39
|
+
"utf-8": "utf-8";
|
|
40
|
+
utf16le: "utf16le";
|
|
41
|
+
ucs2: "ucs2";
|
|
42
|
+
"ucs-2": "ucs-2";
|
|
43
|
+
base64: "base64";
|
|
44
|
+
base64url: "base64url";
|
|
45
|
+
latin1: "latin1";
|
|
46
|
+
binary: "binary";
|
|
47
|
+
hex: "hex";
|
|
48
|
+
}>;
|
|
49
|
+
startLine: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
50
|
+
lineCount: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
51
|
+
}, z.core.$strip>;
|
|
52
|
+
};
|
|
53
|
+
execute({ path: providedPath, encoding, startLine, lineCount, }: ReadFileInputSchema, { toolCallId, abortSignal }: ToolCallOptions): AsyncGenerator<ToolResult>;
|
|
17
54
|
}>;
|
|
55
|
+
export {};
|
|
18
56
|
//# sourceMappingURL=read-file.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-file.d.ts","sourceRoot":"","sources":["../../source/tools/read-file.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"read-file.d.ts","sourceRoot":"","sources":["../../source/tools/read-file.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,IAAI,CAAC;AAC1C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAMzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAG7C,eAAO,MAAM,YAAY;;CAExB,CAAC;AAEF,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;iBAiBf,CAAC;AAEH,KAAK,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAEvD,eAAO,MAAM,kBAAkB,GAAU,4CAItC;IACD,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,YAAY,EAAE,YAAY,CAAC;CAC5B;;;;;;;;;;;;;;;;;;;;;;qEAcQ,mBAAmB,+BACO,eAAe,GAC3C,cAAc,CAAC,UAAU,CAAC;EA+FhC,CAAC"}
|
package/dist/tools/read-file.js
CHANGED
|
@@ -1,93 +1,107 @@
|
|
|
1
1
|
import fs from "node:fs/promises";
|
|
2
2
|
import { isNumber } from "@travisennis/stdlib/typeguards";
|
|
3
|
-
import { tool } from "ai";
|
|
4
3
|
import { z } from "zod";
|
|
5
|
-
import { config } from "../config.js";
|
|
6
4
|
import style from "../terminal/style.js";
|
|
7
|
-
import {
|
|
5
|
+
import { manageTokenLimit, TokenLimitExceededError, } from "../tokens/threshold.js";
|
|
6
|
+
import { joinWorkingDir, validatePath } from "../utils/filesystem/security.js";
|
|
8
7
|
import { fileEncodingSchema } from "./types.js";
|
|
9
8
|
export const ReadFileTool = {
|
|
10
9
|
name: "readFile",
|
|
11
10
|
};
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
const inputSchema = z.object({
|
|
12
|
+
path: z.string().describe("Absolute path to file to read"),
|
|
13
|
+
encoding: fileEncodingSchema.describe('Encoding format for reading the file. Use "utf-8" as default for text files'),
|
|
14
|
+
startLine: z.coerce
|
|
15
|
+
.number()
|
|
16
|
+
.nullable()
|
|
17
|
+
.describe("1-based line number to start reading from. Required but nullable. Pass null to start at beginning of file"),
|
|
18
|
+
lineCount: z.coerce
|
|
19
|
+
.number()
|
|
20
|
+
.nullable()
|
|
21
|
+
.describe("Maximum number of lines to read. Required but nullable. Pass null to get all lines."),
|
|
22
|
+
});
|
|
23
|
+
export const createReadFileTool = async ({ workingDir, allowedDirs, tokenCounter, }) => {
|
|
24
|
+
const allowedDirectory = allowedDirs ?? [workingDir];
|
|
14
25
|
return {
|
|
15
|
-
|
|
16
|
-
description: "Read the complete contents of a file from the file system unless startLine and lineCount are given to read a file selection. "
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
path: z.string().describe("Absolute path to file to read"),
|
|
22
|
-
encoding: fileEncodingSchema.describe('Encoding format for reading the file. Use "utf-8" as default for text files'),
|
|
23
|
-
startLine: z.coerce
|
|
24
|
-
.number()
|
|
25
|
-
.nullable()
|
|
26
|
-
.describe("1-based line number to start reading from. Pass null to start at beginning of file"),
|
|
27
|
-
lineCount: z.coerce
|
|
28
|
-
.number()
|
|
29
|
-
.nullable()
|
|
30
|
-
.describe("Maximum number of lines to read. Pass null to get all lines."),
|
|
31
|
-
}),
|
|
32
|
-
execute: async ({ path: providedPath, encoding, startLine, lineCount, }, { toolCallId, abortSignal }) => {
|
|
26
|
+
toolDef: {
|
|
27
|
+
description: "Read the complete contents of a file from the file system unless startLine and lineCount are given to read a file selection. Handles various text encodings and provides detailed error messages if the file cannot be read. Use this tool when you need to examine the contents of a single file. Only works within allowed directories.",
|
|
28
|
+
inputSchema,
|
|
29
|
+
},
|
|
30
|
+
async *execute({ path: providedPath, encoding, startLine, lineCount, }, { toolCallId, abortSignal }) {
|
|
31
|
+
try {
|
|
33
32
|
// Check if execution has been aborted
|
|
34
33
|
if (abortSignal?.aborted) {
|
|
35
34
|
throw new Error("File reading aborted");
|
|
36
35
|
}
|
|
37
|
-
|
|
36
|
+
yield {
|
|
37
|
+
name: ReadFileTool.name,
|
|
38
38
|
id: toolCallId,
|
|
39
39
|
event: "tool-init",
|
|
40
|
-
data:
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
if (encoding.startsWith("utf")) {
|
|
64
|
-
tokenCount = tokenCounter.count(file);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
catch (tokenError) {
|
|
68
|
-
console.error("Error calculating token count:", tokenError);
|
|
69
|
-
// Log or handle error, but don't block file return
|
|
40
|
+
data: `${style.cyan(providedPath)}${startLine ? style.cyan(`:${startLine}`) : ""}${lineCount ? style.cyan(`:${lineCount}`) : ""}`,
|
|
41
|
+
};
|
|
42
|
+
const filePath = await validatePath(joinWorkingDir(providedPath, workingDir), allowedDirectory, { abortSignal });
|
|
43
|
+
if (abortSignal?.aborted) {
|
|
44
|
+
throw new Error("File reading aborted before file read");
|
|
45
|
+
}
|
|
46
|
+
let file = await fs.readFile(filePath, { encoding });
|
|
47
|
+
// Apply line-based selection if requested
|
|
48
|
+
if (isNumber(startLine) || isNumber(lineCount)) {
|
|
49
|
+
const lines = file.split("\n");
|
|
50
|
+
const totalLines = lines.length;
|
|
51
|
+
const startIndex = (startLine ?? 1) - 1; // Default to start of file if only lineCount is given
|
|
52
|
+
const count = lineCount ?? totalLines - startIndex; // Default to read all lines from start if only startLine is given
|
|
53
|
+
if (startIndex < 0 || startIndex >= totalLines) {
|
|
54
|
+
const errorMsg = `startLine ${startLine} is out of bounds for file with ${totalLines} lines.`;
|
|
55
|
+
yield {
|
|
56
|
+
name: ReadFileTool.name,
|
|
57
|
+
event: "tool-error",
|
|
58
|
+
id: toolCallId,
|
|
59
|
+
data: errorMsg,
|
|
60
|
+
};
|
|
61
|
+
yield errorMsg;
|
|
62
|
+
return;
|
|
70
63
|
}
|
|
71
|
-
const
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
64
|
+
const endIndex = Math.min(startIndex + count, totalLines);
|
|
65
|
+
file = lines.slice(startIndex, endIndex).join("\n");
|
|
66
|
+
}
|
|
67
|
+
try {
|
|
68
|
+
const result = await manageTokenLimit(file, tokenCounter, "ReadFile", isNumber(startLine) || isNumber(lineCount)
|
|
69
|
+
? "Consider adjusting startLine/lineCount or using grepFiles"
|
|
70
|
+
: "Use startLine and lineCount parameters to read specific portions, or use grepFiles for targeted access", encoding);
|
|
71
|
+
// Calculate line count for the returned content
|
|
72
|
+
const linesRead = result.content.split("\n").length;
|
|
73
|
+
yield {
|
|
74
|
+
name: ReadFileTool.name,
|
|
78
75
|
id: toolCallId,
|
|
79
76
|
event: "tool-completion",
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
: result,
|
|
84
|
-
});
|
|
85
|
-
return result;
|
|
77
|
+
data: `Read ${linesRead} lines (${result.tokenCount} tokens)`,
|
|
78
|
+
};
|
|
79
|
+
yield result.content;
|
|
86
80
|
}
|
|
87
81
|
catch (error) {
|
|
88
|
-
|
|
82
|
+
if (error instanceof TokenLimitExceededError) {
|
|
83
|
+
yield {
|
|
84
|
+
name: ReadFileTool.name,
|
|
85
|
+
event: "tool-error",
|
|
86
|
+
id: toolCallId,
|
|
87
|
+
data: error.message,
|
|
88
|
+
};
|
|
89
|
+
yield error.message;
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
throw error;
|
|
89
93
|
}
|
|
90
|
-
}
|
|
91
|
-
|
|
94
|
+
}
|
|
95
|
+
catch (error) {
|
|
96
|
+
const errorMsg = `${error.message}`;
|
|
97
|
+
yield {
|
|
98
|
+
name: ReadFileTool.name,
|
|
99
|
+
event: "tool-error",
|
|
100
|
+
id: toolCallId,
|
|
101
|
+
data: errorMsg,
|
|
102
|
+
};
|
|
103
|
+
yield errorMsg;
|
|
104
|
+
}
|
|
105
|
+
},
|
|
92
106
|
};
|
|
93
107
|
};
|
|
@@ -1,15 +1,26 @@
|
|
|
1
|
+
import type { ToolCallOptions } from "ai";
|
|
2
|
+
import { z } from "zod";
|
|
1
3
|
import type { TokenCounter } from "../tokens/counter.ts";
|
|
2
|
-
import type {
|
|
4
|
+
import type { ToolResult } from "./types.ts";
|
|
3
5
|
export declare const ReadMultipleFilesTool: {
|
|
4
6
|
name: "readMultipleFiles";
|
|
5
7
|
};
|
|
6
|
-
|
|
8
|
+
declare const inputSchema: z.ZodObject<{
|
|
9
|
+
paths: z.ZodArray<z.ZodString>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
type ReadMultipleFilesInputSchema = z.infer<typeof inputSchema>;
|
|
12
|
+
export declare const createReadMultipleFilesTool: ({ workingDir, allowedDirs, tokenCounter, }: {
|
|
7
13
|
workingDir: string;
|
|
8
|
-
|
|
14
|
+
allowedDirs?: string[];
|
|
9
15
|
tokenCounter: TokenCounter;
|
|
10
16
|
}) => Promise<{
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
17
|
+
toolDef: {
|
|
18
|
+
description: string;
|
|
19
|
+
inputSchema: z.ZodObject<{
|
|
20
|
+
paths: z.ZodArray<z.ZodString>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
};
|
|
23
|
+
execute({ paths }: ReadMultipleFilesInputSchema, { toolCallId, abortSignal }: ToolCallOptions): AsyncGenerator<ToolResult>;
|
|
14
24
|
}>;
|
|
25
|
+
export {};
|
|
15
26
|
//# sourceMappingURL=read-multiple-files.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-multiple-files.d.ts","sourceRoot":"","sources":["../../source/tools/read-multiple-files.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"read-multiple-files.d.ts","sourceRoot":"","sources":["../../source/tools/read-multiple-files.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,IAAI,CAAC;AAC1C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAMzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C,eAAO,MAAM,qBAAqB;;CAEjC,CAAC;AAEF,QAAA,MAAM,WAAW;;iBAEf,CAAC;AAEH,KAAK,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAEhE,eAAO,MAAM,2BAA2B,GAAU,4CAI/C;IACD,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,YAAY,EAAE,YAAY,CAAC;CAC5B;;;;;;;uBAcgB,4BAA4B,+BACV,eAAe,GAC3C,cAAc,CAAC,UAAU,CAAC;EAsMhC,CAAC"}
|