Commit Graph
3166 Commits
Author SHA1 Message Date
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
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 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
opencode 056186225b release: v1.1.36 2026-01-25 17:29:26 +00:00
ishaksebsib ebe86e40a0 fix(tui): prevent crash when theme search returns no results (#10565) 2026-01-25 12:11:49 -05:00
Michael YochpazandAiden Cline 0bc4a43320 fix(provider): enable thinking for google-vertex-anthropic models (#10442)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-01-24 23:42:29 -05:00
Aiden Cline e2d0d85d93 test: fix 2026-01-24 23:42:12 -05:00
Aiden Cline 2917a2fa61 test: fix 2026-01-24 23:41:47 -05:00
Aiden Cline 397ee419d1 tweak: make question valdiation more lax to avoid tool call failures 2026-01-24 23:11:21 -05:00
opencode 33298e8775 release: v1.1.35 2026-01-25 00:37:58 +00:00
Maharshi Patel 8f99e9a606 fix(opentui): question selection click when terminal unfocused (#9731) 2026-01-24 15:12:16 -05:00
Dax Raad ff9c186485 tests 2026-01-24 14:16:46 -05:00
Dax Raad 0d9ca0ea31 sync 2026-01-24 14:14:17 -05:00
Dax Raad 68bd16df69 core: fix models snapshot loading to prevent caching issues 2026-01-24 14:06:07 -05:00
Dax Raad fa1a54ba3d fix nix 2026-01-24 13:24:40 -05:00
Dax Raad 32e6bcae3b core: fix unicode filename handling in snapshot diff by disabling quote escaping
This ensures unicode and special characters in filenames are displayed correctly when generating diff patches, allowing proper file detection and revert operations
2026-01-24 13:07:07 -05:00
zerone0xandClaude 087d7da14d fix(provider): deep merge providerOptions in applyCaching (#10323)
Co-authored-by: Claude <noreply@anthropic.com>
2026-01-24 13:07:04 -05:00
Britt f4cf3f4976 fix(web): construct apply_patch metadata before requesting permission (#10422) 2026-01-24 12:00:21 -06:00
Dax Raad e3c1861a3e get rid of models.dev macro 2026-01-24 12:27:13 -05:00
Sebastian Herrlinger ad27427b48 use min/maxHeight for question textarea 2026-01-24 12:14:12 -05:00
Aiden Cline 88bcd04659 tweak: tell the model what model it is in environment section of prompt 2026-01-24 12:10:15 -05:00
justfortheloveof 077d17d433 fix: permission prompt should ignore keyboard events while dialog stack len > 0 (#10338) 2026-01-24 12:01:46 -05:00
GitHub Action ae77ef3370 chore: generate 2026-01-24 14:47:36 +00:00
Ariane Emory 68e504bdc2 fix(tui): Use selectedForeground for question prompt tab text visibility (resolves #10334) (#10337) 2026-01-24 09:46:59 -05:00
Fynn b978ca11da fix: retry webfetch with simple UA on 403 (#10328) 2026-01-24 00:14:32 -05:00