Commit Graph

9 Commits

Author SHA1 Message Date
Mark IJbema 5d5fab36bb fix(cli): repair broken imports and typecheck after opencode v1.14.29 merge
Fixes 257 typecheck errors surfaced after the upstream merge:

- Update imports to new module paths after upstream PR #24554 removed
  module barrel files (@/config, @/session, @/util, etc.) and PR #24309
  renamed @opencode-ai/shared to @opencode-ai/core.
- Migrate loadMode to use Info.zod.safeParse for consistency with
  loadAgents and ConfigCommand (unblocks KilocodeConfig.handleInvalid).
- Drop removed Npm.outdated mock from tests.
- Add missing Config.defaultLayer to bash-permission-metadata test runtime.
- Fix Tips component signature (kilocode drops upstream's 'connected' prop).
- Fix toast.tsx undefined 'duration' reference (should be toastOptions.duration).
- Move filesystem-containment test from deleted shared package to core.
2026-04-30 17:16:31 +02:00
Imanol Maiztegui 23167b8b6a refactor(test): replace direct Config.get assignment with spyOn mocking
Swap manual save-and-restore of Config.get for bun:test spyOn/mock.restore
across session-list and recall test suites, ensuring proper mock teardown
and consistent namespace imports.
2026-04-22 10:02:40 +02:00
Imanol Maiztegui 251ed67347 refactor(opencode): update internal import paths to use barrel re-exports
Migrate all deep import paths across source and test files to
reference barrel index modules instead of direct file paths. This
covers config, provider, storage, util, tool, lsp, project, and
installation modules. Also moves provider promise helpers out of the
namespace block, switches Clipboard to namespace import style, fixes a
duplicate Filesystem import, removes the deleted paste-summary test,
and corrects snapshot cache typing and indentation.
2026-04-22 07:24:09 +02:00
Johnny Amancio 501ebbf0eb fix: Fix typecheck issues 2026-04-16 01:39:31 +02:00
Catriel Müller da8f05ec75 fix: core tests 2026-04-13 23:58:00 -03:00
Johnny Amancio 040d5b8a28 fix: update branded ID types and Server API references after merge with main 2026-04-08 20:42:02 +02:00
Alex Alecu 42448f98cd chore(cli): add missing kilocode_change annotations
Add kilocode_change markers to all Kilo-specific changes in shared
opencode files to pass the check-opencode-annotations CI check.
Also bring in the workflow and script from main.
2026-04-08 16:43:45 +03:00
Alex Alecu 0c3c233b92 fix: include sibling worktree sessions when project ids drift
Resolve all-worktree session lookups by git worktree family instead of a single project row so /sessions, Ctrl+A, and local recall still find sibling worktrees without leaking unrelated directories.
2026-04-03 23:54:09 +03:00
Alex Alecu 5ddd2167fc fix: scope recall sessions to project worktrees
Keep recall and the all-sessions picker focused on the current repo while still surfacing sessions from sibling worktrees.
2026-04-03 22:07:11 +03:00