Commit Graph

11216 Commits

Author SHA1 Message Date
Evgeny Shurakov 2a0ce007b1 Merge pull request #448 from Kilo-Org/eshurakov/send-git-to-ingest
KiloSessions - Send git remote URL and branch to ingest
2026-02-19 13:56:14 +01:00
kilo-maintainer[bot] 74b3afaacb chore: generate 2026-02-19 12:51:37 +00:00
Catriel Müller a21d172a75 Merge pull request #450 from Kilo-Org/fix/bin-kilo-syntax-error
fix: restore bin/kilo findBinary from botched merge resolution
2026-02-19 09:50:50 -03:00
Evgeny Shurakov 582dd685c0 fix(kilo-sessions): scope git URL cache key per worktree 2026-02-19 13:48:37 +01:00
Igor Šćekić c156cb4dea Merge pull request #468 from Kilo-Org/feat/escape-abort-session
feat(vscode): abort session with Escape key
2026-02-19 13:45:03 +01:00
Igor Šćekić cc51049010 fix: add stopPropagation to abort Escape handler to prevent double abort 2026-02-19 13:05:32 +01:00
Igor Šćekić 26a9519685 feat(vscode): abort session with Escape key
Pressing Escape now aborts a busy session in the VS Code extension,
matching the behavior of the web app. Works whether the textarea is
focused or not. Ghost text dismissal still takes priority over abort
when both conditions are true.
2026-02-19 13:00:02 +01:00
Marius 8b1d782a25 feat(agent-manager): worktree state architecture with session tabs (#451)
* tmp

* feat(agent-manager): read-only mode for unassigned sessions, tooltip fix, worktree validation

* tmp

* fix keydown

* feat(agent-manager): replace empty worktree hint with 'New Worktree' button

* fix(agent-manager): validate message params before dispatching handlers

* fix(agent-manager): clear stale directory mappings on worktree deletion, remove unused code

* feat(agent-manager): auto-focus prompt input on session switch and panel focus

* refactor(agent-manager): rename short var wt to worktree

* fix(agent-manager): local tabs with pending session support and serialized saves

- Add pending tab system for local sessions (pending:N IDs in localSessionIDs)
- Show 'New Session' tab on first start, empty state when all tabs closed
- Pending tabs behave like normal tabs (closable, selectable, keyboard nav)
- Guard against duplicate sessionCreated events (HTTP + SSE)
- Serialize WorktreeStateManager saves to prevent concurrent write races
- Add flush() method and use it in tests to eliminate flaky failures

* refactor(agent-manager): rename short var mgr to manager
2026-02-19 12:55:27 +01:00
Evgeny Shurakov 69135ca636 feat(kilo-sessions): normalize git remote URLs to strip credentials, query params, and hash 2026-02-19 12:22:21 +01:00
Christiaan Arnoldus 6e4c6a3191 Merge pull request #417 from Kilo-Org/revert-415-revert-331-session/agent_8ba846fa-10ac-4d6d-a61a-d26dd567770c
feat: add X-KiloCode-MachineId header to API requests
2026-02-19 11:54:04 +01:00
Marius 46e06264da feat(agent-manager): add fixed local session tab with branch display and persistence (#446)
* tmp

* tmp

* tmp

* feat(agent-manager): add fixed local session tab with branch display and persistence

Add a dedicated local session item at the top of the agent manager sidebar
that always runs in the main repo (never a worktree). The local session
persists across panel reopens via vscode webview state, shows the current
git branch name (refreshed on click), and supports keyboard navigation.

Extract navigation logic into a pure testable function with 16 unit tests.

* fix(agent-manager): invalidate stale persisted localSessionID on recovery

The local session ID was persisted to webview state but never checked
against the actual sessions list on recovery. If the session was deleted
or expired between VS Code reloads, the UI would get stuck selecting a
ghost session with no way to recover.
2026-02-19 11:49:15 +01:00
Mark IJbema 32e04107ea Merge pull request #464 from Kilo-Org/mark/update-migration-plan-done-items
docs: update migration plan — mark completed features as done
2026-02-19 11:47:07 +01:00
Jean du Plessis b03df7a1b1 Merge pull request #466 from Kilo-Org/fix/turbo-env-kilo-docs
fix: add missing env vars to turbo.json for kilo-docs build
2026-02-19 12:28:40 +02:00
Christiaan Arnoldus f652673f6e Merge branch 'dev' into revert-415-revert-331-session/agent_8ba846fa-10ac-4d6d-a61a-d26dd567770c 2026-02-19 11:25:25 +01:00
Jean du Plessis c4b8eac8c3 fix: correct outputs path and add actual env var names
- Change outputs from dist/** to .next/** (Next.js default)
- Keep POSTHOG_API_KEY and FREE_TIER_AMOUNT to silence Vercel warnings
- Add NEXT_PUBLIC_POSTHOG_KEY and NEXT_PUBLIC_POSTHOG_HOST for
  correct Turborepo cache invalidation
2026-02-19 12:13:21 +02:00
kilo-maintainer[bot] 8bfa151bc7 chore: update nix node_modules hashes 2026-02-19 10:11:36 +00:00
Mark IJbema 6bd29bd77c docs: remove detail docs for completed features and resolved unknowns
Delete implementation detail docs for all  Done features — these
contained migration instructions that are no longer relevant now that
the feature is built.

Delete all unknowns/ docs — these were pre-implementation research
questions that have since been answered and implemented.

Remove broken links in opencode-migration-plan.md and update
settings-ui.md to reflect actual current state.
2026-02-19 11:11:01 +01:00
Jean du Plessis 502eaf080c fix: add missing env vars to turbo.json for kilo-docs build
Declare POSTHOG_API_KEY and FREE_TIER_AMOUNT in the
@kilocode/kilo-docs#build task so Vercel exposes them during
builds and Turborepo includes them in the cache hash.
2026-02-19 12:07:37 +02:00
Mark IJbema c1e4fc6be5 docs: update Current State Summary to reflect newly completed features 2026-02-19 11:04:24 +01:00
Jean du Plessis cfea1297a7 Merge pull request #439 from Kilo-Org/feat/import-kilocode-docs
feat: import kilocode-docs with full history
2026-02-19 12:04:22 +02:00
Mark IJbema 794cb67b65 docs: mark Non-Agent features as done in migration plan
Agent Manager (worktrees + parallel sessions), Autocomplete/Ghost
(InlineCompletionProvider), Kilo Gateway, Provider Configuration,
Settings UI (most tabs), Task History, Telemetry, and Auto-Approval
Controls are all fully implemented.
2026-02-19 11:03:56 +01:00
Mark IJbema 9c390b5a4a docs: mark Chat UI features as done in migration plan
Code Block Interactions, Command Execution, Diff Viewing, Image Handling,
and Todo List Management are all fully implemented via kilo-ui. Connection
State UI and Inline Actions updated to reflect partial progress.
2026-02-19 11:02:52 +01:00
Jean du Plessis 7cbbecffb9 Merge remote-tracking branch 'origin/dev' into feat/import-kilocode-docs
# Conflicts:
#	bun.lock
2026-02-19 11:56:18 +02:00
Mark IJbema 1ba820d158 Merge pull request #460 from Kilo-Org/mark/remove-ui-implementation-plan-doc
Remove ui-implementation-plan.md (migration complete)
2026-02-19 10:50:48 +01:00
Mark IJbema ead8073f62 remove ui-implementation-plan.md doc (migration complete) 2026-02-19 10:46:07 +01:00
Pedro Heyerdahl b1fd37361c Merge branch 'dev' into fix/bin-kilo-syntax-error 2026-02-18 18:53:32 -03:00
Catriel Müller d900b2fdab Merge pull request #449 from Kilo-Org/fix/kilo-ui-storybook-worker-format
fix: set worker format to es in kilo-ui storybook vite config
2026-02-18 18:48:39 -03:00
Evgeny Shurakov 872cb4124b feat(kilo-sessions): strip credentials from git remote URLs before ingesting 2026-02-18 22:47:46 +01:00
Pedro Heyerdahl a28f086819 fix: restore bin/kilo findBinary from botched merge resolution 2026-02-18 18:46:50 -03:00
kilo-maintainer[bot] 958c173d4b chore: update nix node_modules hashes 2026-02-18 21:44:06 +00:00
Catriel Müller 49e47901bf fix: set worker format to es in kilo-ui storybook vite config 2026-02-18 18:42:48 -03:00
Evgeny Shurakov a2d18131a8 feat(kilo-sessions): send git remote URL and branch to ingest
Add gitUrl and gitBranch fields to kilo_meta so shared sessions
include repository context. Resolves the best remote (origin > single
available > upstream) and fetches the URL with a 10s in-flight cache.
2026-02-18 22:38:46 +01:00
Catriel Müller 30839f1060 Merge pull request #447 from Kilo-Org/catrielmuller/kilo-ui-storybook
feat: add storybook for kilo-ui
2026-02-18 18:35:15 -03:00
Catriel Müller 04a62790ec feat: add complex stories 2026-02-18 18:22:56 -03:00
Pedro Heyerdahl e02debf27b Merge pull request #407 from Kilo-Org/feat/usage-feature-attribution
feat(usage): add feature attribution header to API requests
2026-02-18 17:31:12 -03:00
João Santos bb9c25046c Merge pull request #444 from Kilo-Org/jsantos/auto-triage-manual
adding auto triage docs
2026-02-18 20:18:05 +00:00
Jean du Plessis 573a961a89 fix: capture initial pageview on mount
routeChangeComplete doesn't fire on initial page load, so the first
page a user visits was missing its pageview event.
2026-02-18 22:16:25 +02:00
Joao Santos dce4dfcc05 removing threshold mention 2026-02-18 20:10:41 +00:00
Catriel Müller 8b1788c550 feat: add progress to kilo-ui 2026-02-18 17:08:15 -03:00
Joao Santos 5c73880488 updating title 2026-02-18 20:04:56 +00:00
Catriel Müller 211d8cd081 refactor: deps 2026-02-18 17:03:12 -03:00
Catriel Müller 29934e5c91 feat: kilo-ui basic storybook 2026-02-18 17:02:44 -03:00
Christiaan Arnoldus f57aa882c9 Apply suggestion from @chrarnoldus 2026-02-18 21:02:36 +01:00
Christiaan Arnoldus 11c6f9f57a Merge branch 'dev' into revert-415-revert-331-session/agent_8ba846fa-10ac-4d6d-a61a-d26dd567770c 2026-02-18 21:02:07 +01:00
Joao Santos 9fd8a32658 adding auto triage docs 2026-02-18 20:01:44 +00:00
Jean du Plessis 95e4dd80ec chore: remove tsconfig.tsbuildinfo build artifact and gitignore it 2026-02-18 22:00:09 +02:00
Jean du Plessis 17989b91df fix: disable auto capture_pageview to prevent double tracking
PostHog's capture_pageview fires on initial page load, but _app.tsx
already manually captures $pageview on routeChangeComplete for SPA
navigations. This caused double pageview events on initial load.

Set capture_pageview: false and let the manual call in _app.tsx handle
all pageview tracking consistently.
2026-02-18 21:59:18 +02:00
Jean du Plessis 0a001daff3 fix: address additional code review findings
- raw-markdown.ts: Check path bounds before any filesystem probes to
  prevent leaking file existence info outside the pages directory
- TableOfContents.tsx: Fix SSR hydration mismatch by moving
  window.location.hash into useEffect + state instead of reading it
  during render
2026-02-18 21:50:37 +02:00
Jean du Plessis c49257dee9 fix: address code review findings in docs package
- raw-markdown.ts: Replace weak regex path sanitization with
  path.normalize (the path.resolve bounds check remains as primary guard)
- instrumentation-client.ts: Guard PostHog init against missing env var
  instead of using non-null assertion (prevents crash in local dev)
- CopyPageButton.tsx: Show error feedback instead of false success when
  copy fails
2026-02-18 21:43:24 +02:00
Jean du Plessis 533aaa8112 fix: use correct env var name NEXT_PUBLIC_POSTHOG_KEY in docs workflow
The GitHub secret is POSTHOG_API_KEY but Next.js requires the
NEXT_PUBLIC_ prefix to expose it to the client bundle.
2026-02-18 21:39:03 +02:00