Commit Graph

3188 Commits

Author SHA1 Message Date
Marius Wichtner 07c553a47e feat: use provider-reported cost for OpenRouter/Kilo in sidebar 2026-01-27 15:31:20 +01:00
Catriel Müller 7f01f1456d Merge pull request #23 from Kilo-Org/remove-popup
Remove OpenRouter warning popup
2026-01-27 13:58:02 +01:00
Marius 5fb80d4aec Merge pull request #28 from Kilo-Org/show-recommended-provider
feat: add recommended models for Kilo Gateway provider selection
2026-01-27 13:18:39 +01:00
Marius Wichtner 99bfc0c5e5 feat: add recommended models for Kilo Gateway provider selection 2026-01-27 12:55:37 +01:00
Marius 58e7097414 Merge pull request #27 from Kilo-Org/feat/add-kilo-skills-discovery
add skills discovery for the cli
2026-01-27 12:46:30 +01:00
Suresh Sivasankaran 2c344678bc add skills discovery for the cli 2026-01-27 12:19:22 +01:00
Catriel Müller 999a554132 Merge pull request #24 from Kilo-Org/catrielmuller/kilo-profile
Kilo Profile
2026-01-27 12:02:37 +01:00
Marius d4c52239c8 Update packages/opencode/src/cli/cmd/tui/app.tsx
Co-authored-by: Catriel Müller <catrielmuller@gmail.com>
2026-01-27 11:53:22 +01:00
Catriel Müller 4df69de444 feat: kilo profile
Update Nix Hashes / update-node-modules-hashes (push) Has been cancelled
2026-01-27 11:45:15 +01:00
Marius Wichtner e5f8e9f9fc Remove OpenRouter warning popup 2026-01-27 11:41:44 +01:00
Marius 8f0d220da5 Merge pull request #18 from Kilo-Org/schaltwerk/platform-specific_vscode_global_storage-vr
refactor(kilocode): deduplicate getVSCodeGlobalStoragePath across migrators
2026-01-27 11:06:04 +01:00
Catriel Müller 5599512fe9 Merge pull request #20 from Kilo-Org/change-docs-link
chore: change docs link to point to kilo docs
2026-01-27 09:41:11 +01:00
Catriel Müller 3bdeb4c321 Merge pull request #19 from Kilo-Org/change-terminal-title
chore: change terminal tab title to Kilo CLI
2026-01-27 09:40:43 +01:00
Catriel Müller d910056fab Merge pull request #14 from Kilo-Org/catrielmuller/kilo-on-connect-command
Kilo Gateway - Commands & Refactor
2026-01-27 09:38:10 +01:00
Kevin van Dijk c6e4a77e1c t :chore: change docs link to point to kilo docs 2026-01-27 03:10:30 +01:00
Kevin van Dijk 1aa4491809 chore: change terminal tab title to Kilo CLI 2026-01-27 03:00:51 +01:00
Kevin van Dijk 98a3c0e8a8 Merge pull request #10 from Kilo-Org/change-header
chore: Change header name
2026-01-27 02:14:21 +01:00
Marius Wichtner 380e80c92e Remove code duplication 2026-01-26 19:05:48 +01:00
Catriel Müller 1932f7dba7 refactor: fix circular deps
Update Nix Hashes / update-node-modules-hashes (push) Has been cancelled
2026-01-26 19:00:01 +01:00
Marius Wichtner 1835e45a57 Merge branch 'dev' into schaltwerk/kilocode-mcp-migration
Merged dev branch which includes:
- Workflows migration (Phase 3)
- Rules migration (Phase 2)

Combined with MCP migration (Phase 4) from this branch.

Resolved merge conflicts in:
- packages/opencode/src/config/config.ts - Combined all four migrators
- packages/opencode/src/kilocode/index.ts - Export all migrators
2026-01-26 18:44:39 +01:00
Marius Wichtner 8089920e51 Merge branch 'dev' into schaltwerk/kilocode-rules-migration-jx
Resolved conflicts:
- packages/opencode/src/config/config.ts: Added RulesMigrator alongside WorkflowsMigrator
- packages/opencode/src/kilocode/config-injector.ts: Added rules migration alongside workflows
- packages/opencode/src/kilocode/index.ts: Export all three migrators
- packages/opencode/test/kilocode/config-injector.test.ts: Combined all tests
2026-01-26 18:24:55 +01:00
Marius Wichtner 8f463ead87 refactor: address PR review comments
- Move logging logic from config.ts to mcp-migrator.ts (loadMcpConfig helper)
- Reduce config.ts changes to just 2 lines
- Revert AGENTS.md changes
- Add kilocode-markers.md to .opencode/agent/ for kilocode-specific instructions
- Add instructions reference to opencode.jsonc
2026-01-26 18:21:38 +01:00
Marius Wichtner 523f192f96 fix: use regular import instead of type import for Config 2026-01-26 17:57:57 +01:00
Marius Wichtner 7471fcfe73 feat(kilocode): add rules migration (Phase 2)
Migrate Kilocode rules from .kilocoderules and .kilocode/rules/ to
Opencode's instructions config array.

Features:
- Discover rules from .kilocoderules, .kilocode/rules/*.md, and
  mode-specific variants
- Support global rules from ~/.kilocode/rules/
- Read-only migration (never modifies project files)
- Combines with existing opencode config (never overwrites)
- Kilocode-only (no .roorules or .clinerules migration)

Files:
- rules-migrator.ts: Core migration logic
- config.ts: Integration point for direct CLI usage
- config-injector.ts: Integration for VSCode extension path
- rules-migrator.test.ts: 13 unit tests
- config-injector.test.ts: 4 new integration tests
- rules-migration.md: Documentation
2026-01-26 17:50:58 +01:00
Catriel Müller 9dfb837edb feat: kilo gateway rework 2026-01-26 17:42:40 +01:00
Marius Wichtner dde62ab453 fix: remove unnecessary kilocode_change marker and update AGENTS.md
- Remove kilocode_change marker from mcp-migrator.ts (not needed in kilocode directory)
- Update AGENTS.md to clarify when markers are NOT needed with specific paths
2026-01-26 17:22:04 +01:00
Marius Wichtner a7295b4511 feat(kilocode): add MCP server migration from VSCode extension
Migrate Kilocode MCP server configurations from the VSCode extension's
mcp_settings.json to Opencode's native MCP config format.

Features:
- Read MCP settings from VSCode extension global storage
- Convert Kilocode format (command + args) to Opencode format (command array)
- Handle disabled servers (skip them)
- Warn about alwaysAllow permissions that cannot be migrated
- Support project-level .kilocode/mcp_settings.json

Config precedence (lowest to highest):
1. Kilocode MCP settings (new)
2. Remote/well-known config
3. Global user config
4. Project config (opencode.json)
5. OPENCODE_CONFIG_CONTENT

This allows users to configure MCP servers in the Kilocode VSCode extension
and have them automatically available in kilo-cli without any manual setup.
Native opencode config takes precedence over legacy Kilocode settings.
2026-01-26 17:18:15 +01:00
Marius Wichtner ab4d1a6879 core: migrate Kilocode workflows to Opencode commands
- Add WorkflowsMigrator to discover and convert Kilocode workflows
- Load workflows from VSCode global storage, ~/.kilocode/workflows/, and .kilocode/workflows/
- Convert workflows to Opencode Command format with template and description
- Load Kilocode configs first (lowest precedence) so Opencode configs always win
- Update config-injector for VSCode extension env var injection
- Add 16 unit tests for workflows-migrator
- Add 2 integration tests for config-injector

Workflows are discovered from:
1. VSCode extension storage (platform-specific)
2. ~/.kilocode/workflows/ (global)
3. .kilocode/workflows/ (project)

Config loading order (lowest to highest precedence):
1. Kilocode legacy configs (modes + workflows)
2. Remote/well-known config
3. Global user config
4. Custom config path
5. Project config (opencode.json)
6. OPENCODE_CONFIG_CONTENT env var
2026-01-26 17:17:13 +01:00
Marius d2b05852df Merge pull request #11 from Kilo-Org/schaltwerk/kilocode_config_migration_to
feat(kilocode): add modes migration from Kilocode to Opencode agents
2026-01-26 16:39:55 +01:00
Marius Wichtner 8a9510603c feat(kilocode): add modes migration from Kilocode to Opencode agents
Phase 1 of Kilocode config migration:

- Add ModesMigrator to read custom modes from:
  - VSCode extension global storage (platform-specific paths)
  - Project .kilocodemodes files
  - Home directory .kilocodemodes

- Convert Kilocode mode groups to Opencode permissions:
  - read → read: allow
  - edit → edit: allow (with fileRegex support)
  - command/browser → bash: allow
  - mcp → mcp: allow
  - Missing groups are explicitly denied (not ask)

- Skip default modes (code, architect, ask, debug, orchestrator)
  as they map to native Opencode agents

- Add KilocodeConfigInjector for building OPENCODE_CONFIG_CONTENT

- Integration in config.ts to auto-load Kilocode modes

- 27 unit tests with 100% function coverage

- Documentation in kilocode/docs/modes-migration.md
2026-01-26 16:26:49 +01:00
Kevin van Dijk 82cd1ba3b5 chore: change headers to kilo headers 2026-01-26 16:19:33 +01:00
Kevin van Dijk 7c8b714b3e Change header name 2026-01-26 16:07:21 +01:00
Kevin van Dijk 789d3b65c1 Change prompts to reflect fork 2026-01-26 15:48:20 +01:00
Kevin van Dijk 36deaf4fa4 Merge pull request #6 from Kilo-Org/rebranding
Add rebranding
2026-01-26 15:33:44 +01:00
Catriel Müller 7404ffe931 refactor: rename config folder to kilo 2026-01-26 15:26:54 +01:00
Catriel Müller e1376661ea fix: docker build 2026-01-26 14:59:23 +01:00
Catriel Müller 542b00ec97 refactor: fix logo 2026-01-26 14:50:34 +01:00
Kevin van Dijk 0438229530 Rebrand docker file 2026-01-26 14:48:39 +01:00
Kevin van Dijk 2af84d309b Rebrand buil packages 2026-01-26 14:47:28 +01:00
Kevin van Dijk 1d36a2664b Merge pull request #3 from Kilo-Org/bdo/branding
Add in Kilo CLI branding and theme
2026-01-26 12:21:32 +01:00
Kevin van Dijk fdfa5f1e46 Add markers 2026-01-26 12:21:09 +01:00
Brendan O'Leary 07ba6485cc Add in Kilo CLI branding and theme 2026-01-26 11:14:39 +01:00
Catriel Müller 00a6fa709c feat: kilo provider & kilo auth plugin 2026-01-26 10:55:26 +01:00
Aiden Cline 17e6190fcf tweak: adjust tui syncing logic to help prevent case where agents would be undefined / missing 2026-01-25 21:06:19 -05:00
Aiden Cline 578361de64 fix: remove broken app.tsx command option 2026-01-25 20:27:41 -05:00
Ariane Emory 3071720ce7 fix(tui): Move animations toggle to global System category (resolves #10495) (#10497) 2026-01-25 17:57:47 -05:00
Aiden Cline 94dd0a8dbe ignore: rm spoof and bump plugin version 2026-01-25 17:27:24 -05:00
adamelmore 407f34fed5 chore: cleanup 2026-01-25 13:20:18 -06:00
adamelmore 94ce289dd9 fix(app): run start command after reset 2026-01-25 13:20:18 -06:00
Aiden Cline e49306b86c rm log statement 2026-01-25 12:44:17 -05:00