@vybestack/llxprt-code-tools 0.10.0-nightly.260613.1adad3b34
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 +202 -0
- package/README.md +294 -0
- package/dist/.last_build +0 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/src/__tests__/fixtures/filesystem-tool-fixtures.d.ts +29 -0
- package/dist/src/__tests__/fixtures/filesystem-tool-fixtures.js +30 -0
- package/dist/src/__tests__/fixtures/filesystem-tool-fixtures.js.map +1 -0
- package/dist/src/__tests__/fixtures/key-storage-fixtures.d.ts +39 -0
- package/dist/src/__tests__/fixtures/key-storage-fixtures.js +53 -0
- package/dist/src/__tests__/fixtures/key-storage-fixtures.js.map +1 -0
- package/dist/src/__tests__/fixtures/provider-formatting-fixtures.d.ts +140 -0
- package/dist/src/__tests__/fixtures/provider-formatting-fixtures.js +157 -0
- package/dist/src/__tests__/fixtures/provider-formatting-fixtures.js.map +1 -0
- package/dist/src/__tests__/red-test-helpers.d.ts +14 -0
- package/dist/src/__tests__/red-test-helpers.js +18 -0
- package/dist/src/__tests__/red-test-helpers.js.map +1 -0
- package/dist/src/formatters/IToolFormatter.d.ts +84 -0
- package/dist/src/formatters/IToolFormatter.js +6 -0
- package/dist/src/formatters/IToolFormatter.js.map +1 -0
- package/dist/src/formatters/ToolFormatter.d.ts +94 -0
- package/dist/src/formatters/ToolFormatter.js +379 -0
- package/dist/src/formatters/ToolFormatter.js.map +1 -0
- package/dist/src/formatters/ToolIdStrategy.d.ts +79 -0
- package/dist/src/formatters/ToolIdStrategy.js +173 -0
- package/dist/src/formatters/ToolIdStrategy.js.map +1 -0
- package/dist/src/formatters/doubleEscapeUtils.d.ts +46 -0
- package/dist/src/formatters/doubleEscapeUtils.js +223 -0
- package/dist/src/formatters/doubleEscapeUtils.js.map +1 -0
- package/dist/src/formatters/index.d.ts +21 -0
- package/dist/src/formatters/index.js +12 -0
- package/dist/src/formatters/index.js.map +1 -0
- package/dist/src/formatters/toolIdNormalization.d.ts +28 -0
- package/dist/src/formatters/toolIdNormalization.js +97 -0
- package/dist/src/formatters/toolIdNormalization.js.map +1 -0
- package/dist/src/formatters/toolNameUtils.d.ts +43 -0
- package/dist/src/formatters/toolNameUtils.js +143 -0
- package/dist/src/formatters/toolNameUtils.js.map +1 -0
- package/dist/src/index.d.ts +88 -0
- package/dist/src/index.js +68 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/interfaces/IAsyncTaskService.d.ts +57 -0
- package/dist/src/interfaces/IAsyncTaskService.js +6 -0
- package/dist/src/interfaces/IAsyncTaskService.js.map +1 -0
- package/dist/src/interfaces/IIdeService.d.ts +62 -0
- package/dist/src/interfaces/IIdeService.js +6 -0
- package/dist/src/interfaces/IIdeService.js.map +1 -0
- package/dist/src/interfaces/ILspService.d.ts +54 -0
- package/dist/src/interfaces/ILspService.js +6 -0
- package/dist/src/interfaces/ILspService.js.map +1 -0
- package/dist/src/interfaces/IMcpToolService.d.ts +47 -0
- package/dist/src/interfaces/IMcpToolService.js +6 -0
- package/dist/src/interfaces/IMcpToolService.js.map +1 -0
- package/dist/src/interfaces/IPromptRegistryService.d.ts +51 -0
- package/dist/src/interfaces/IPromptRegistryService.js +6 -0
- package/dist/src/interfaces/IPromptRegistryService.js.map +1 -0
- package/dist/src/interfaces/ISettingsService.d.ts +50 -0
- package/dist/src/interfaces/ISettingsService.js +6 -0
- package/dist/src/interfaces/ISettingsService.js.map +1 -0
- package/dist/src/interfaces/IShellExecutionService.d.ts +55 -0
- package/dist/src/interfaces/IShellExecutionService.js +6 -0
- package/dist/src/interfaces/IShellExecutionService.js.map +1 -0
- package/dist/src/interfaces/IShellToolHost.d.ts +176 -0
- package/dist/src/interfaces/IShellToolHost.js +6 -0
- package/dist/src/interfaces/IShellToolHost.js.map +1 -0
- package/dist/src/interfaces/ISkillService.d.ts +69 -0
- package/dist/src/interfaces/ISkillService.js +6 -0
- package/dist/src/interfaces/ISkillService.js.map +1 -0
- package/dist/src/interfaces/IStorageService.d.ts +42 -0
- package/dist/src/interfaces/IStorageService.js +6 -0
- package/dist/src/interfaces/IStorageService.js.map +1 -0
- package/dist/src/interfaces/ISubagentService.d.ts +112 -0
- package/dist/src/interfaces/ISubagentService.js +6 -0
- package/dist/src/interfaces/ISubagentService.js.map +1 -0
- package/dist/src/interfaces/ITaskToolHost.d.ts +185 -0
- package/dist/src/interfaces/ITaskToolHost.js +6 -0
- package/dist/src/interfaces/ITaskToolHost.js.map +1 -0
- package/dist/src/interfaces/ITodoService.d.ts +79 -0
- package/dist/src/interfaces/ITodoService.js +6 -0
- package/dist/src/interfaces/ITodoService.js.map +1 -0
- package/dist/src/interfaces/IToolHost.d.ts +91 -0
- package/dist/src/interfaces/IToolHost.js +6 -0
- package/dist/src/interfaces/IToolHost.js.map +1 -0
- package/dist/src/interfaces/IToolKeyStorage.d.ts +62 -0
- package/dist/src/interfaces/IToolKeyStorage.js +6 -0
- package/dist/src/interfaces/IToolKeyStorage.js.map +1 -0
- package/dist/src/interfaces/IToolMessageBus.d.ts +63 -0
- package/dist/src/interfaces/IToolMessageBus.js +6 -0
- package/dist/src/interfaces/IToolMessageBus.js.map +1 -0
- package/dist/src/interfaces/IToolRegistryHost.d.ts +43 -0
- package/dist/src/interfaces/IToolRegistryHost.js +6 -0
- package/dist/src/interfaces/IToolRegistryHost.js.map +1 -0
- package/dist/src/interfaces/IWebSearchService.d.ts +16 -0
- package/dist/src/interfaces/IWebSearchService.js +7 -0
- package/dist/src/interfaces/IWebSearchService.js.map +1 -0
- package/dist/src/interfaces/index.d.ts +33 -0
- package/dist/src/interfaces/index.js +6 -0
- package/dist/src/interfaces/index.js.map +1 -0
- package/dist/src/tools/activate-skill.d.ts +26 -0
- package/dist/src/tools/activate-skill.js +121 -0
- package/dist/src/tools/activate-skill.js.map +1 -0
- package/dist/src/tools/apply-patch.d.ts +65 -0
- package/dist/src/tools/apply-patch.js +528 -0
- package/dist/src/tools/apply-patch.js.map +1 -0
- package/dist/src/tools/ast-edit/ast-config.d.ts +67 -0
- package/dist/src/tools/ast-edit/ast-config.js +72 -0
- package/dist/src/tools/ast-edit/ast-config.js.map +1 -0
- package/dist/src/tools/ast-edit/ast-edit-invocation.d.ts +40 -0
- package/dist/src/tools/ast-edit/ast-edit-invocation.js +410 -0
- package/dist/src/tools/ast-edit/ast-edit-invocation.js.map +1 -0
- package/dist/src/tools/ast-edit/ast-query-extractor.d.ts +21 -0
- package/dist/src/tools/ast-edit/ast-query-extractor.js +178 -0
- package/dist/src/tools/ast-edit/ast-query-extractor.js.map +1 -0
- package/dist/src/tools/ast-edit/ast-read-file-invocation.d.ts +26 -0
- package/dist/src/tools/ast-edit/ast-read-file-invocation.js +149 -0
- package/dist/src/tools/ast-edit/ast-read-file-invocation.js.map +1 -0
- package/dist/src/tools/ast-edit/constants.d.ts +30 -0
- package/dist/src/tools/ast-edit/constants.js +36 -0
- package/dist/src/tools/ast-edit/constants.js.map +1 -0
- package/dist/src/tools/ast-edit/context-collector.d.ts +25 -0
- package/dist/src/tools/ast-edit/context-collector.js +115 -0
- package/dist/src/tools/ast-edit/context-collector.js.map +1 -0
- package/dist/src/tools/ast-edit/context-optimizer.d.ts +29 -0
- package/dist/src/tools/ast-edit/context-optimizer.js +86 -0
- package/dist/src/tools/ast-edit/context-optimizer.js.map +1 -0
- package/dist/src/tools/ast-edit/cross-file-analyzer.d.ts +41 -0
- package/dist/src/tools/ast-edit/cross-file-analyzer.js +294 -0
- package/dist/src/tools/ast-edit/cross-file-analyzer.js.map +1 -0
- package/dist/src/tools/ast-edit/edit-calculator.d.ts +71 -0
- package/dist/src/tools/ast-edit/edit-calculator.js +249 -0
- package/dist/src/tools/ast-edit/edit-calculator.js.map +1 -0
- package/dist/src/tools/ast-edit/edit-helpers.d.ts +22 -0
- package/dist/src/tools/ast-edit/edit-helpers.js +36 -0
- package/dist/src/tools/ast-edit/edit-helpers.js.map +1 -0
- package/dist/src/tools/ast-edit/language-analysis.d.ts +19 -0
- package/dist/src/tools/ast-edit/language-analysis.js +123 -0
- package/dist/src/tools/ast-edit/language-analysis.js.map +1 -0
- package/dist/src/tools/ast-edit/local-context-analyzer.d.ts +84 -0
- package/dist/src/tools/ast-edit/local-context-analyzer.js +267 -0
- package/dist/src/tools/ast-edit/local-context-analyzer.js.map +1 -0
- package/dist/src/tools/ast-edit/repository-context-provider.d.ts +22 -0
- package/dist/src/tools/ast-edit/repository-context-provider.js +139 -0
- package/dist/src/tools/ast-edit/repository-context-provider.js.map +1 -0
- package/dist/src/tools/ast-edit/types.d.ts +155 -0
- package/dist/src/tools/ast-edit/types.js +7 -0
- package/dist/src/tools/ast-edit/types.js.map +1 -0
- package/dist/src/tools/ast-edit/workspace-context-provider.d.ts +22 -0
- package/dist/src/tools/ast-edit/workspace-context-provider.js +39 -0
- package/dist/src/tools/ast-edit/workspace-context-provider.js.map +1 -0
- package/dist/src/tools/ast-edit.d.ts +43 -0
- package/dist/src/tools/ast-edit.js +183 -0
- package/dist/src/tools/ast-edit.js.map +1 -0
- package/dist/src/tools/ast-grep.d.ts +22 -0
- package/dist/src/tools/ast-grep.js +291 -0
- package/dist/src/tools/ast-grep.js.map +1 -0
- package/dist/src/tools/check-async-tasks.d.ts +46 -0
- package/dist/src/tools/check-async-tasks.js +241 -0
- package/dist/src/tools/check-async-tasks.js.map +1 -0
- package/dist/src/tools/codesearch.d.ts +25 -0
- package/dist/src/tools/codesearch.js +153 -0
- package/dist/src/tools/codesearch.js.map +1 -0
- package/dist/src/tools/delete_line_range.d.ts +41 -0
- package/dist/src/tools/delete_line_range.js +238 -0
- package/dist/src/tools/delete_line_range.js.map +1 -0
- package/dist/src/tools/direct-web-fetch.d.ts +22 -0
- package/dist/src/tools/direct-web-fetch.js +215 -0
- package/dist/src/tools/direct-web-fetch.js.map +1 -0
- package/dist/src/tools/edit-utils.d.ts +53 -0
- package/dist/src/tools/edit-utils.js +250 -0
- package/dist/src/tools/edit-utils.js.map +1 -0
- package/dist/src/tools/edit.d.ts +70 -0
- package/dist/src/tools/edit.js +816 -0
- package/dist/src/tools/edit.js.map +1 -0
- package/dist/src/tools/exa-web-search.d.ts +27 -0
- package/dist/src/tools/exa-web-search.js +153 -0
- package/dist/src/tools/exa-web-search.js.map +1 -0
- package/dist/src/tools/glob.d.ts +55 -0
- package/dist/src/tools/glob.js +284 -0
- package/dist/src/tools/glob.js.map +1 -0
- package/dist/src/tools/google-web-fetch.d.ts +34 -0
- package/dist/src/tools/google-web-fetch.js +417 -0
- package/dist/src/tools/google-web-fetch.js.map +1 -0
- package/dist/src/tools/google-web-search-invocation.d.ts +53 -0
- package/dist/src/tools/google-web-search-invocation.js +180 -0
- package/dist/src/tools/google-web-search-invocation.js.map +1 -0
- package/dist/src/tools/google-web-search.d.ts +16 -0
- package/dist/src/tools/google-web-search.js +34 -0
- package/dist/src/tools/google-web-search.js.map +1 -0
- package/dist/src/tools/grep.d.ts +56 -0
- package/dist/src/tools/grep.js +883 -0
- package/dist/src/tools/grep.js.map +1 -0
- package/dist/src/tools/insert_at_line.d.ts +41 -0
- package/dist/src/tools/insert_at_line.js +287 -0
- package/dist/src/tools/insert_at_line.js.map +1 -0
- package/dist/src/tools/list-subagents.d.ts +31 -0
- package/dist/src/tools/list-subagents.js +122 -0
- package/dist/src/tools/list-subagents.js.map +1 -0
- package/dist/src/tools/ls.d.ts +71 -0
- package/dist/src/tools/ls.js +238 -0
- package/dist/src/tools/ls.js.map +1 -0
- package/dist/src/tools/memoryTool.d.ts +66 -0
- package/dist/src/tools/memoryTool.js +435 -0
- package/dist/src/tools/memoryTool.js.map +1 -0
- package/dist/src/tools/modifiable-tool.d.ts +37 -0
- package/dist/src/tools/modifiable-tool.js +120 -0
- package/dist/src/tools/modifiable-tool.js.map +1 -0
- package/dist/src/tools/read-file.d.ts +49 -0
- package/dist/src/tools/read-file.js +279 -0
- package/dist/src/tools/read-file.js.map +1 -0
- package/dist/src/tools/read-many-files.d.ts +60 -0
- package/dist/src/tools/read-many-files.js +529 -0
- package/dist/src/tools/read-many-files.js.map +1 -0
- package/dist/src/tools/read_line_range.d.ts +47 -0
- package/dist/src/tools/read_line_range.js +248 -0
- package/dist/src/tools/read_line_range.js.map +1 -0
- package/dist/src/tools/ripGrep.d.ts +41 -0
- package/dist/src/tools/ripGrep.js +395 -0
- package/dist/src/tools/ripGrep.js.map +1 -0
- package/dist/src/tools/shell.d.ts +60 -0
- package/dist/src/tools/shell.js +735 -0
- package/dist/src/tools/shell.js.map +1 -0
- package/dist/src/tools/structural-analysis.d.ts +27 -0
- package/dist/src/tools/structural-analysis.js +1089 -0
- package/dist/src/tools/structural-analysis.js.map +1 -0
- package/dist/src/tools/stubs.d.ts +10 -0
- package/dist/src/tools/stubs.js +6 -0
- package/dist/src/tools/stubs.js.map +1 -0
- package/dist/src/tools/task.d.ts +41 -0
- package/dist/src/tools/task.js +195 -0
- package/dist/src/tools/task.js.map +1 -0
- package/dist/src/tools/todo-events.d.ts +22 -0
- package/dist/src/tools/todo-events.js +24 -0
- package/dist/src/tools/todo-events.js.map +1 -0
- package/dist/src/tools/todo-pause.d.ts +29 -0
- package/dist/src/tools/todo-pause.js +172 -0
- package/dist/src/tools/todo-pause.js.map +1 -0
- package/dist/src/tools/todo-read.d.ts +18 -0
- package/dist/src/tools/todo-read.js +98 -0
- package/dist/src/tools/todo-read.js.map +1 -0
- package/dist/src/tools/todo-store.d.ts +35 -0
- package/dist/src/tools/todo-store.js +124 -0
- package/dist/src/tools/todo-store.js.map +1 -0
- package/dist/src/tools/todo-write.d.ts +29 -0
- package/dist/src/tools/todo-write.js +366 -0
- package/dist/src/tools/todo-write.js.map +1 -0
- package/dist/src/tools/tool-registry.d.ts +156 -0
- package/dist/src/tools/tool-registry.js +623 -0
- package/dist/src/tools/tool-registry.js.map +1 -0
- package/dist/src/tools/tools.d.ts +403 -0
- package/dist/src/tools/tools.js +519 -0
- package/dist/src/tools/tools.js.map +1 -0
- package/dist/src/tools/write-file.d.ts +45 -0
- package/dist/src/tools/write-file.js +320 -0
- package/dist/src/tools/write-file.js.map +1 -0
- package/dist/src/types/index.d.ts +17 -0
- package/dist/src/types/index.js +9 -0
- package/dist/src/types/index.js.map +1 -0
- package/dist/src/types/provider-content-types.d.ts +56 -0
- package/dist/src/types/provider-content-types.js +6 -0
- package/dist/src/types/provider-content-types.js.map +1 -0
- package/dist/src/types/todo-schemas.d.ts +263 -0
- package/dist/src/types/todo-schemas.js +32 -0
- package/dist/src/types/todo-schemas.js.map +1 -0
- package/dist/src/types/tool-confirmation-types.d.ts +34 -0
- package/dist/src/types/tool-confirmation-types.js +29 -0
- package/dist/src/types/tool-confirmation-types.js.map +1 -0
- package/dist/src/types/tool-context.d.ts +31 -0
- package/dist/src/types/tool-context.js +6 -0
- package/dist/src/types/tool-context.js.map +1 -0
- package/dist/src/types/tool-error.d.ts +69 -0
- package/dist/src/types/tool-error.js +94 -0
- package/dist/src/types/tool-error.js.map +1 -0
- package/dist/src/types/tool-names.d.ts +57 -0
- package/dist/src/types/tool-names.js +64 -0
- package/dist/src/types/tool-names.js.map +1 -0
- package/dist/src/utils/EmojiFilter.d.ts +134 -0
- package/dist/src/utils/EmojiFilter.js +370 -0
- package/dist/src/utils/EmojiFilter.js.map +1 -0
- package/dist/src/utils/ast-grep-utils.d.ts +42 -0
- package/dist/src/utils/ast-grep-utils.js +140 -0
- package/dist/src/utils/ast-grep-utils.js.map +1 -0
- package/dist/src/utils/debugLogger.d.ts +11 -0
- package/dist/src/utils/debugLogger.js +16 -0
- package/dist/src/utils/debugLogger.js.map +1 -0
- package/dist/src/utils/diffOptions.d.ts +14 -0
- package/dist/src/utils/diffOptions.js +46 -0
- package/dist/src/utils/diffOptions.js.map +1 -0
- package/dist/src/utils/editor.d.ts +39 -0
- package/dist/src/utils/editor.js +212 -0
- package/dist/src/utils/editor.js.map +1 -0
- package/dist/src/utils/ensure-dirs.d.ts +10 -0
- package/dist/src/utils/ensure-dirs.js +16 -0
- package/dist/src/utils/ensure-dirs.js.map +1 -0
- package/dist/src/utils/errors.d.ts +59 -0
- package/dist/src/utils/errors.js +178 -0
- package/dist/src/utils/errors.js.map +1 -0
- package/dist/src/utils/fetch.d.ts +11 -0
- package/dist/src/utils/fetch.js +74 -0
- package/dist/src/utils/fetch.js.map +1 -0
- package/dist/src/utils/fileUtils.d.ts +32 -0
- package/dist/src/utils/fileUtils.js +363 -0
- package/dist/src/utils/fileUtils.js.map +1 -0
- package/dist/src/utils/fuzzy-replacer.d.ts +61 -0
- package/dist/src/utils/fuzzy-replacer.js +492 -0
- package/dist/src/utils/fuzzy-replacer.js.map +1 -0
- package/dist/src/utils/gitLineChanges.d.ts +12 -0
- package/dist/src/utils/gitLineChanges.js +171 -0
- package/dist/src/utils/gitLineChanges.js.map +1 -0
- package/dist/src/utils/gitUtils.d.ts +6 -0
- package/dist/src/utils/gitUtils.js +31 -0
- package/dist/src/utils/gitUtils.js.map +1 -0
- package/dist/src/utils/lsp-diagnostics-helper.d.ts +27 -0
- package/dist/src/utils/lsp-diagnostics-helper.js +62 -0
- package/dist/src/utils/lsp-diagnostics-helper.js.map +1 -0
- package/dist/src/utils/mediaUtils.d.ts +38 -0
- package/dist/src/utils/mediaUtils.js +22 -0
- package/dist/src/utils/mediaUtils.js.map +1 -0
- package/dist/src/utils/pathValidation.d.ts +7 -0
- package/dist/src/utils/pathValidation.js +39 -0
- package/dist/src/utils/pathValidation.js.map +1 -0
- package/dist/src/utils/paths.d.ts +7 -0
- package/dist/src/utils/paths.js +158 -0
- package/dist/src/utils/paths.js.map +1 -0
- package/dist/src/utils/resolveTextSearchTarget.d.ts +17 -0
- package/dist/src/utils/resolveTextSearchTarget.js +45 -0
- package/dist/src/utils/resolveTextSearchTarget.js.map +1 -0
- package/dist/src/utils/retry.d.ts +17 -0
- package/dist/src/utils/retry.js +185 -0
- package/dist/src/utils/retry.js.map +1 -0
- package/dist/src/utils/ripgrepPathResolver.d.ts +23 -0
- package/dist/src/utils/ripgrepPathResolver.js +179 -0
- package/dist/src/utils/ripgrepPathResolver.js.map +1 -0
- package/dist/src/utils/safeJsonStringify.d.ts +9 -0
- package/dist/src/utils/safeJsonStringify.js +21 -0
- package/dist/src/utils/safeJsonStringify.js.map +1 -0
- package/dist/src/utils/schemaValidator.d.ts +13 -0
- package/dist/src/utils/schemaValidator.js +275 -0
- package/dist/src/utils/schemaValidator.js.map +1 -0
- package/dist/src/utils/terminalSerializer.d.ts +33 -0
- package/dist/src/utils/terminalSerializer.js +6 -0
- package/dist/src/utils/terminalSerializer.js.map +1 -0
- package/dist/src/utils/todoContextTracker.d.ts +12 -0
- package/dist/src/utils/todoContextTracker.js +28 -0
- package/dist/src/utils/todoContextTracker.js.map +1 -0
- package/dist/src/utils/todoFormatter.d.ts +24 -0
- package/dist/src/utils/todoFormatter.js +157 -0
- package/dist/src/utils/todoFormatter.js.map +1 -0
- package/dist/src/utils/todoReminderService.d.ts +22 -0
- package/dist/src/utils/todoReminderService.js +43 -0
- package/dist/src/utils/todoReminderService.js.map +1 -0
- package/dist/src/utils/tool-key-storage-facade.d.ts +32 -0
- package/dist/src/utils/tool-key-storage-facade.js +56 -0
- package/dist/src/utils/tool-key-storage-facade.js.map +1 -0
- package/dist/src/utils/tool-key-storage-types.d.ts +56 -0
- package/dist/src/utils/tool-key-storage-types.js +56 -0
- package/dist/src/utils/tool-key-storage-types.js.map +1 -0
- package/dist/src/utils/toolOutputLimiter.d.ts +29 -0
- package/dist/src/utils/toolOutputLimiter.js +107 -0
- package/dist/src/utils/toolOutputLimiter.js.map +1 -0
- package/dist/src/utils/unicodeUtils.d.ts +55 -0
- package/dist/src/utils/unicodeUtils.js +129 -0
- package/dist/src/utils/unicodeUtils.js.map +1 -0
- package/package.json +75 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
package/README.md
ADDED
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
<h1>
|
|
2
|
+
<img src="docs/assets/llxprt.svg" alt="LLxprt logo" width="42" />
|
|
3
|
+
<a href="https://vybestack.dev/llxprt-code.html">LLxprt Code</a>
|
|
4
|
+
</h1>
|
|
5
|
+
|
|
6
|
+
[](https://github.com/vybestack/llxprt-code/actions/workflows/ci.yml)
|
|
7
|
+
[](https://discord.gg/Wc6dZqWWYv) 
|
|
8
|
+
|
|
9
|
+

|
|
10
|
+
|
|
11
|
+
**AI-powered coding assistant that works with any LLM provider.** Command-line interface for querying and editing codebases, generating applications, and automating development workflows.
|
|
12
|
+
|
|
13
|
+
## Free & Subscription Options
|
|
14
|
+
|
|
15
|
+
Get started immediately with powerful LLM options:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
# Free Gemini models
|
|
19
|
+
/auth gemini enable
|
|
20
|
+
/provider gemini
|
|
21
|
+
/model gemini-3-flash-preview
|
|
22
|
+
|
|
23
|
+
# Your Claude Pro / Max subscription
|
|
24
|
+
/auth anthropic enable
|
|
25
|
+
/provider anthropic
|
|
26
|
+
/model claude-sonnet-4-8
|
|
27
|
+
|
|
28
|
+
# Your ChatGPT Plus / Pro subscription (Codex)
|
|
29
|
+
/auth codex enable
|
|
30
|
+
/provider codex
|
|
31
|
+
/model gpt-5.5
|
|
32
|
+
|
|
33
|
+
# Kimi subscription (K2 Thinking with reasoning)
|
|
34
|
+
/provider kimi
|
|
35
|
+
/key **************
|
|
36
|
+
/model kimi-for-coding
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Why Choose LLxprt Code?
|
|
40
|
+
|
|
41
|
+
- **Use Your Existing Subscriptions**: Use Claude Pro/Max, ChatGPT Plus/Pro (Codex) directly via OAuth. Use Kimi/Synthetic/Chutes subscriptions via keys.
|
|
42
|
+
- **Multi-Account Failover**: Configure multiple OAuth accounts that automatically failover on rate limits
|
|
43
|
+
- **Load Balancer Profiles**: Balance requests across providers or accounts with automatic failover
|
|
44
|
+
- **Free Tier Support**: Start coding immediately with Gemini or Qwen free tiers
|
|
45
|
+
- **Provider Flexibility**: Switch between any Anthropic, Gemini, OpenAI, Kimi, or OpenAI-compatible provider
|
|
46
|
+
- **Top Open Models**: Works seamlessly with GLM 5, Kimi K2.5, MiniMax M2.5, and Qwen 3 Coder Next
|
|
47
|
+
- **Local Models**: Run models locally with LM Studio, llama.cpp for complete privacy
|
|
48
|
+
- **Privacy First**: No telemetry by default, local processing available
|
|
49
|
+
- **Subagent Flexibility**: Create agents with different models, providers, or settings
|
|
50
|
+
- **Interactive REPL**: Beautiful terminal UI with multiple themes
|
|
51
|
+
- **Zed Integration**: Native Zed editor integration for seamless workflow
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
# macOS (Homebrew)
|
|
55
|
+
brew tap vybestack/homebrew-tap
|
|
56
|
+
brew update
|
|
57
|
+
brew install llxprt-code
|
|
58
|
+
|
|
59
|
+
# npm
|
|
60
|
+
npm install -g @vybestack/llxprt-code
|
|
61
|
+
|
|
62
|
+
# Start coding
|
|
63
|
+
llxprt
|
|
64
|
+
|
|
65
|
+
# Try without installing
|
|
66
|
+
npx @vybestack/llxprt-code --provider synthetic --model hf:zai-org/GLM-5 --keyfile ~/.synthetic_key "simplify the README.md"
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## What is LLxprt Code?
|
|
70
|
+
|
|
71
|
+
LLxprt Code is a command-line AI assistant designed for developers who want powerful LLM capabilities without leaving their terminal. Unlike GitHub Copilot or ChatGPT, LLxprt Code works with **any provider** and can run **locally** for complete privacy.
|
|
72
|
+
|
|
73
|
+
**Key differences:**
|
|
74
|
+
|
|
75
|
+
- **Open source & community driven**: Not locked into proprietary ecosystems
|
|
76
|
+
- **Provider agnostic**: Not locked into one AI service
|
|
77
|
+
- **Local-first**: Run entirely offline if needed
|
|
78
|
+
- **Developer-centric**: Built specifically for coding workflows
|
|
79
|
+
- **Terminal native**: Designed for CLI workflows, not web interfaces
|
|
80
|
+
|
|
81
|
+
## Quick Start
|
|
82
|
+
|
|
83
|
+
1. **Prerequisites:** Node.js 20+ installed (not required for Homebrew)
|
|
84
|
+
2. **Install:**
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
# macOS (Homebrew)
|
|
88
|
+
brew tap vybestack/homebrew-tap
|
|
89
|
+
brew update
|
|
90
|
+
brew install llxprt-code
|
|
91
|
+
|
|
92
|
+
# npm
|
|
93
|
+
npm install -g @vybestack/llxprt-code
|
|
94
|
+
# Or try without installing:
|
|
95
|
+
npx @vybestack/llxprt-code
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
3. **Run:** `llxprt`
|
|
99
|
+
4. **Choose provider:** Use `/provider` to select your preferred LLM service
|
|
100
|
+
5. **Start coding:** Ask questions, generate code, or analyze projects
|
|
101
|
+
|
|
102
|
+
**First session example:**
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
cd your-project/
|
|
106
|
+
llxprt
|
|
107
|
+
> Explain the architecture of this codebase and suggest improvements
|
|
108
|
+
> Create a test file for the user authentication module
|
|
109
|
+
> Help me debug this error: [paste error message]
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
## Key Features
|
|
113
|
+
|
|
114
|
+
- **Subscription OAuth** - Use Claude Pro/Max, ChatGPT Plus/Pro (Codex), or Kimi subscriptions directly
|
|
115
|
+
- **Free Tiers** - Gemini, Qwen free tiers with generous limits
|
|
116
|
+
- **Multi-Account Failover** - Configure multiple OAuth buckets that failover automatically on rate limits
|
|
117
|
+
- **Load Balancer Profiles** - Balance across providers/accounts with roundrobin or failover policies
|
|
118
|
+
- **Extensive Provider Support** - Anthropic, Gemini, OpenAI, Kimi, and any OpenAI-compatible provider [**Provider Guide →**](./docs/providers/quick-reference.md)
|
|
119
|
+
- **Top Open Models** - GLM 5, Kimi K2.5, MiniMax M2.5, Qwen 3 Coder Next
|
|
120
|
+
- **Local Model Support** - LM Studio, llama.cpp, Ollama for complete privacy
|
|
121
|
+
- **Profile System** - Save provider configurations and model settings
|
|
122
|
+
- **Advanced Subagents** - Isolated AI assistants with different models/providers
|
|
123
|
+
- **MCP Integration** - Connect to external tools and services
|
|
124
|
+
- **Beautiful Terminal UI** - Multiple themes with syntax highlighting
|
|
125
|
+
|
|
126
|
+
## Interactive vs Non-Interactive Workflows
|
|
127
|
+
|
|
128
|
+
**Interactive Mode (REPL):**
|
|
129
|
+
Perfect for exploration, rapid prototyping, and iterative development:
|
|
130
|
+
|
|
131
|
+
```bash
|
|
132
|
+
# Start interactive session
|
|
133
|
+
llxprt
|
|
134
|
+
|
|
135
|
+
> Explore this codebase and suggest improvements
|
|
136
|
+
> Create a REST API endpoint with tests
|
|
137
|
+
> Debug this authentication issue
|
|
138
|
+
> Optimize this database query
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
**Non-Interactive Mode:**
|
|
142
|
+
Ideal for automation, CI/CD, and scripted workflows:
|
|
143
|
+
|
|
144
|
+
```bash
|
|
145
|
+
# Single command with immediate response
|
|
146
|
+
llxprt --profile-load zai-glm5 "Refactor this function for better readability"
|
|
147
|
+
llxprt "Generate unit tests for payment module" > tests/payment.test.js
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
## Top Open Weight Models
|
|
151
|
+
|
|
152
|
+
LLxprt Code works seamlessly with the best open-weight models:
|
|
153
|
+
|
|
154
|
+
### Kimi K2.6
|
|
155
|
+
|
|
156
|
+
- **Context Window**: 262,144 tokens
|
|
157
|
+
- **Architecture**: Trillion-parameter MoE (32B active)
|
|
158
|
+
- **Strengths**: Deep reasoning, multi-step tool orchestration, 200-300 sequential tool calls
|
|
159
|
+
- **Special**: Native thinking/reasoning mode with tool interleaving
|
|
160
|
+
|
|
161
|
+
```bash
|
|
162
|
+
/provider kimi
|
|
163
|
+
/model kimi-for-coding
|
|
164
|
+
# Or via Synthetic/Chutes:
|
|
165
|
+
/provider synthetic
|
|
166
|
+
/model hf:moonshotai/Kimi-K2.5
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
### GLM 5.2
|
|
170
|
+
|
|
171
|
+
- **Context Window**: 200,000 tokens
|
|
172
|
+
- **Max Output**: 131,072 tokens
|
|
173
|
+
- **Architecture**: Mixture-of-Experts with 355B total parameters (32B active)
|
|
174
|
+
- **Strengths**: Coding, multi-step planning, tool integration
|
|
175
|
+
|
|
176
|
+
### MiniMax M3
|
|
177
|
+
|
|
178
|
+
- **Context Window**: 1M tokens
|
|
179
|
+
- **Architecture**: MoE with 230B total parameters (10B active)
|
|
180
|
+
- **Strengths**: Coding workflows, multi-step agents, tool calling
|
|
181
|
+
- **Cost**: Only 8% of Claude Sonnet, ~2x faster
|
|
182
|
+
|
|
183
|
+
### Qwen 3 Coder Next
|
|
184
|
+
|
|
185
|
+
- **Context Window**: 262,144 tokens
|
|
186
|
+
- **Max Output**: 65,536 tokens
|
|
187
|
+
- **Architecture**: MoE with 480B total parameters (35B active)
|
|
188
|
+
- **Strengths**: Agentic coding, browser automation, tool usage
|
|
189
|
+
- **Performance**: State-of-the-art on SWE-bench Verified (69.6%)
|
|
190
|
+
|
|
191
|
+
## Local Models
|
|
192
|
+
|
|
193
|
+
Run models completely offline for maximum privacy:
|
|
194
|
+
|
|
195
|
+
```bash
|
|
196
|
+
# With LM Studio
|
|
197
|
+
/provider openai
|
|
198
|
+
/baseurl http://localhost:1234/v1/
|
|
199
|
+
/model your-local-model
|
|
200
|
+
|
|
201
|
+
# With Ollama
|
|
202
|
+
/provider ollama
|
|
203
|
+
/model codellama:13b
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
Supported local providers:
|
|
207
|
+
|
|
208
|
+
- **LM Studio**: Easy Windows/Mac/Linux setup
|
|
209
|
+
- **llama.cpp**: Maximum performance and control
|
|
210
|
+
- **Ollama**: Simple model management
|
|
211
|
+
- **Any OpenAI-compatible API**: Full flexibility
|
|
212
|
+
|
|
213
|
+
## Advanced Subagents
|
|
214
|
+
|
|
215
|
+
Create specialized AI assistants with isolated contexts and different configurations:
|
|
216
|
+
|
|
217
|
+
```bash
|
|
218
|
+
# Subagents run with custom profiles and tool access
|
|
219
|
+
# Access via the commands interface
|
|
220
|
+
/subagent list
|
|
221
|
+
/subagent create <name>
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
Each subagent can be configured with:
|
|
225
|
+
|
|
226
|
+
- **Different providers** (Gemini vs Anthropic vs Qwen vs Local)
|
|
227
|
+
- **Different models** (Flash vs Sonnet vs GLM 5 vs Custom)
|
|
228
|
+
- **Different tool access** (Restrict or allow specific tools)
|
|
229
|
+
- **Different settings** (Temperature, timeouts, max turns)
|
|
230
|
+
- **Isolated runtime context** (No memory or state crossover)
|
|
231
|
+
|
|
232
|
+
Subagents are designed for:
|
|
233
|
+
|
|
234
|
+
- **Specialized tasks** (Code review, debugging, documentation)
|
|
235
|
+
- **Different expertise areas** (Frontend vs Backend vs DevOps)
|
|
236
|
+
- **Tool-limited environments** (Read-only analysis vs Full development)
|
|
237
|
+
- **Experimental configurations** (Testing new models or settings)
|
|
238
|
+
|
|
239
|
+
**[Full Subagent Documentation →](./docs/subagents.md)**
|
|
240
|
+
|
|
241
|
+
## Zed Integration
|
|
242
|
+
|
|
243
|
+
LLxprt Code integrates with the [Zed editor](https://zed.dev) using the Agent Communication Protocol (ACP):
|
|
244
|
+
|
|
245
|
+
```json
|
|
246
|
+
{
|
|
247
|
+
"agent_servers": {
|
|
248
|
+
"llxprt": {
|
|
249
|
+
"command": "/opt/homebrew/bin/llxprt",
|
|
250
|
+
"args": ["--experimental-acp", "--profile-load", "my-profile", "--yolo"]
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
Configure in Zed's `settings.json` under `agent_servers`. Use `which llxprt` to find your binary path.
|
|
257
|
+
|
|
258
|
+
Features:
|
|
259
|
+
|
|
260
|
+
- **In-editor chat**: Direct AI interaction without leaving Zed
|
|
261
|
+
- **Code selection**: Ask about specific code selections
|
|
262
|
+
- **Project awareness**: Full context of your open workspace
|
|
263
|
+
- **Multiple providers**: Configure different agents for Claude, OpenAI, Gemini, etc.
|
|
264
|
+
|
|
265
|
+
**[Zed Integration Guide →](./docs/zed-integration.md)**
|
|
266
|
+
|
|
267
|
+
** [Complete Provider Guide →](./docs/cli/providers.md)**
|
|
268
|
+
|
|
269
|
+
## Advanced Features
|
|
270
|
+
|
|
271
|
+
- **Settings & Profiles**: Fine-tune model parameters and save configurations
|
|
272
|
+
- **Subagents**: Create specialized assistants for different tasks
|
|
273
|
+
- **MCP Servers**: Connect external tools and data sources
|
|
274
|
+
- **Checkpointing**: Save and resume complex conversations
|
|
275
|
+
- **IDE Integration**: Connect to VS Code and other editors
|
|
276
|
+
|
|
277
|
+
** [Full Documentation →](./docs/index.md)**
|
|
278
|
+
|
|
279
|
+
## Migration & Resources
|
|
280
|
+
|
|
281
|
+
- **From Gemini CLI**: [Migration Guide](./docs/gemini-cli-tips.md)
|
|
282
|
+
- **Local Models Setup**: [Local Models Guide](./docs/local-models.md)
|
|
283
|
+
- **Command Reference**: [CLI Commands](./docs/cli/commands.md)
|
|
284
|
+
- **Troubleshooting**: [Common Issues](./docs/troubleshooting.md)
|
|
285
|
+
|
|
286
|
+
## Privacy & Terms
|
|
287
|
+
|
|
288
|
+
LLxprt Code does not collect telemetry by default. Your data stays with you unless you choose to send it to external AI providers.
|
|
289
|
+
|
|
290
|
+
When using external services, their respective terms of service apply:
|
|
291
|
+
|
|
292
|
+
- [OpenAI Terms](https://openai.com/policies/terms-of-use)
|
|
293
|
+
- [Anthropic Terms](https://www.anthropic.com/legal/terms)
|
|
294
|
+
- [Google Terms](https://policies.google.com/terms)
|
package/dist/.last_build
ADDED
|
File without changes
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/index.js';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare const READ_FILE_FIXTURE: {
|
|
2
|
+
readonly capturedAt: "2026-06-08T23:45:10.325Z";
|
|
3
|
+
readonly contract: {
|
|
4
|
+
readonly llmContentType: "string | Part[]";
|
|
5
|
+
readonly returnDisplayType: "string";
|
|
6
|
+
readonly errorType: "{ message: string; type?: ToolErrorType } | undefined";
|
|
7
|
+
readonly suppressDisplayType: "boolean | undefined";
|
|
8
|
+
};
|
|
9
|
+
readonly exampleContent: "Hello, fixture world!";
|
|
10
|
+
readonly expectedLlmContentContains: readonly ["Hello, fixture world!"];
|
|
11
|
+
};
|
|
12
|
+
export declare const WRITE_FILE_FIXTURE: {
|
|
13
|
+
readonly capturedAt: "2026-06-08T23:45:10.325Z";
|
|
14
|
+
readonly contract: {
|
|
15
|
+
readonly llmContentType: "string | Part[]";
|
|
16
|
+
readonly returnDisplayType: "string";
|
|
17
|
+
readonly errorType: "{ message: string; type?: ToolErrorType } | undefined";
|
|
18
|
+
};
|
|
19
|
+
readonly expectedWrittenContent: "Written by fixture test";
|
|
20
|
+
};
|
|
21
|
+
export declare const GLOB_FIXTURE: {
|
|
22
|
+
readonly capturedAt: "2026-06-08T23:45:10.325Z";
|
|
23
|
+
readonly contract: {
|
|
24
|
+
readonly llmContentType: "string | Part[]";
|
|
25
|
+
readonly returnDisplayType: "string";
|
|
26
|
+
};
|
|
27
|
+
readonly expectedPatterns: readonly ["*.ts", "*.txt"];
|
|
28
|
+
readonly expectedFilePatterns: readonly [".ts$", ".txt$"];
|
|
29
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export const READ_FILE_FIXTURE = {
|
|
2
|
+
capturedAt: '2026-06-08T23:45:10.325Z',
|
|
3
|
+
contract: {
|
|
4
|
+
llmContentType: 'string | Part[]',
|
|
5
|
+
returnDisplayType: 'string',
|
|
6
|
+
errorType: '{ message: string; type?: ToolErrorType } | undefined',
|
|
7
|
+
suppressDisplayType: 'boolean | undefined',
|
|
8
|
+
},
|
|
9
|
+
exampleContent: 'Hello, fixture world!',
|
|
10
|
+
expectedLlmContentContains: ['Hello, fixture world!'],
|
|
11
|
+
};
|
|
12
|
+
export const WRITE_FILE_FIXTURE = {
|
|
13
|
+
capturedAt: '2026-06-08T23:45:10.325Z',
|
|
14
|
+
contract: {
|
|
15
|
+
llmContentType: 'string | Part[]',
|
|
16
|
+
returnDisplayType: 'string',
|
|
17
|
+
errorType: '{ message: string; type?: ToolErrorType } | undefined',
|
|
18
|
+
},
|
|
19
|
+
expectedWrittenContent: 'Written by fixture test',
|
|
20
|
+
};
|
|
21
|
+
export const GLOB_FIXTURE = {
|
|
22
|
+
capturedAt: '2026-06-08T23:45:10.325Z',
|
|
23
|
+
contract: {
|
|
24
|
+
llmContentType: 'string | Part[]',
|
|
25
|
+
returnDisplayType: 'string',
|
|
26
|
+
},
|
|
27
|
+
expectedPatterns: ['*.ts', '*.txt'],
|
|
28
|
+
expectedFilePatterns: ['.ts$', '.txt$'],
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=filesystem-tool-fixtures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filesystem-tool-fixtures.js","sourceRoot":"","sources":["../../../../src/__tests__/fixtures/filesystem-tool-fixtures.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,UAAU,EAAE,0BAA0B;IACtC,QAAQ,EAAE;QACR,cAAc,EAAE,iBAAiB;QACjC,iBAAiB,EAAE,QAAQ;QAC3B,SAAS,EAAE,uDAAuD;QAClE,mBAAmB,EAAE,qBAAqB;KAC3C;IACD,cAAc,EAAE,uBAAuB;IACvC,0BAA0B,EAAE,CAAC,uBAAuB,CAAC;CAC7C,CAAC;AAEX,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,UAAU,EAAE,0BAA0B;IACtC,QAAQ,EAAE;QACR,cAAc,EAAE,iBAAiB;QACjC,iBAAiB,EAAE,QAAQ;QAC3B,SAAS,EAAE,uDAAuD;KACnE;IACD,sBAAsB,EAAE,yBAAyB;CACzC,CAAC;AAEX,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,UAAU,EAAE,0BAA0B;IACtC,QAAQ,EAAE;QACR,cAAc,EAAE,iBAAiB;QACjC,iBAAiB,EAAE,QAAQ;KAC5B;IACD,gBAAgB,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;IACnC,oBAAoB,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;CAC/B,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export declare const MASK_KEY_FIXTURES: readonly [{
|
|
2
|
+
readonly input: "sk-1234567890abcdef";
|
|
3
|
+
readonly output: "sk***************ef";
|
|
4
|
+
}, {
|
|
5
|
+
readonly input: "short";
|
|
6
|
+
readonly output: "*****";
|
|
7
|
+
}, {
|
|
8
|
+
readonly input: "";
|
|
9
|
+
readonly output: "";
|
|
10
|
+
}, {
|
|
11
|
+
readonly input: "exactly8c";
|
|
12
|
+
readonly output: "ex*****8c";
|
|
13
|
+
}, {
|
|
14
|
+
readonly input: "apikey-with-lots-of-characters-here";
|
|
15
|
+
readonly output: "ap*******************************re";
|
|
16
|
+
}];
|
|
17
|
+
export declare const SUPPORTED_TOOL_NAMES_FIXTURE: readonly ["exa"];
|
|
18
|
+
export declare const VALID_KEY_CHECK_FIXTURES: readonly [{
|
|
19
|
+
readonly input: "exa";
|
|
20
|
+
readonly isValid: true;
|
|
21
|
+
}, {
|
|
22
|
+
readonly input: "codesearch";
|
|
23
|
+
readonly isValid: false;
|
|
24
|
+
}, {
|
|
25
|
+
readonly input: "invalid_key";
|
|
26
|
+
readonly isValid: false;
|
|
27
|
+
}, {
|
|
28
|
+
readonly input: "google-web-search";
|
|
29
|
+
readonly isValid: false;
|
|
30
|
+
}];
|
|
31
|
+
export declare const KEY_ENTRY_FIXTURES: readonly [{
|
|
32
|
+
readonly name: "exa";
|
|
33
|
+
readonly entry: {
|
|
34
|
+
readonly toolKeyName: "exa";
|
|
35
|
+
readonly displayName: "Exa Search";
|
|
36
|
+
readonly urlParamName: "exaApiKey";
|
|
37
|
+
readonly description: "API key for Exa web and code search";
|
|
38
|
+
};
|
|
39
|
+
}];
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export const MASK_KEY_FIXTURES = [
|
|
2
|
+
{
|
|
3
|
+
input: 'sk-1234567890abcdef',
|
|
4
|
+
output: 'sk***************ef',
|
|
5
|
+
},
|
|
6
|
+
{
|
|
7
|
+
input: 'short',
|
|
8
|
+
output: '*****',
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
input: '',
|
|
12
|
+
output: '',
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
input: 'exactly8c',
|
|
16
|
+
output: 'ex*****8c',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
input: 'apikey-with-lots-of-characters-here',
|
|
20
|
+
output: 'ap*******************************re',
|
|
21
|
+
},
|
|
22
|
+
];
|
|
23
|
+
export const SUPPORTED_TOOL_NAMES_FIXTURE = ['exa'];
|
|
24
|
+
export const VALID_KEY_CHECK_FIXTURES = [
|
|
25
|
+
{
|
|
26
|
+
input: 'exa',
|
|
27
|
+
isValid: true,
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
input: 'codesearch',
|
|
31
|
+
isValid: false,
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
input: 'invalid_key',
|
|
35
|
+
isValid: false,
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
input: 'google-web-search',
|
|
39
|
+
isValid: false,
|
|
40
|
+
},
|
|
41
|
+
];
|
|
42
|
+
export const KEY_ENTRY_FIXTURES = [
|
|
43
|
+
{
|
|
44
|
+
name: 'exa',
|
|
45
|
+
entry: {
|
|
46
|
+
toolKeyName: 'exa',
|
|
47
|
+
displayName: 'Exa Search',
|
|
48
|
+
urlParamName: 'exaApiKey',
|
|
49
|
+
description: 'API key for Exa web and code search',
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
];
|
|
53
|
+
//# sourceMappingURL=key-storage-fixtures.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"key-storage-fixtures.js","sourceRoot":"","sources":["../../../../src/__tests__/fixtures/key-storage-fixtures.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B;QACE,KAAK,EAAE,qBAAqB;QAC5B,MAAM,EAAE,qBAAqB;KAC9B;IACD;QACE,KAAK,EAAE,OAAO;QACd,MAAM,EAAE,OAAO;KAChB;IACD;QACE,KAAK,EAAE,EAAE;QACT,MAAM,EAAE,EAAE;KACX;IACD;QACE,KAAK,EAAE,WAAW;QAClB,MAAM,EAAE,WAAW;KACpB;IACD;QACE,KAAK,EAAE,qCAAqC;QAC5C,MAAM,EAAE,qCAAqC;KAC9C;CACO,CAAC;AAEX,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,KAAK,CAAU,CAAC;AAE7D,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC;QACE,KAAK,EAAE,KAAK;QACZ,OAAO,EAAE,IAAI;KACd;IACD;QACE,KAAK,EAAE,YAAY;QACnB,OAAO,EAAE,KAAK;KACf;IACD;QACE,KAAK,EAAE,aAAa;QACpB,OAAO,EAAE,KAAK;KACf;IACD;QACE,KAAK,EAAE,mBAAmB;QAC1B,OAAO,EAAE,KAAK;KACf;CACO,CAAC;AAEX,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC;QACE,IAAI,EAAE,KAAK;QACX,KAAK,EAAE;YACL,WAAW,EAAE,KAAK;YAClB,WAAW,EAAE,YAAY;YACzB,YAAY,EAAE,WAAW;YACzB,WAAW,EAAE,qCAAqC;SACnD;KACF;CACO,CAAC"}
|