Skip to content

Replace Kit runtime with native Go implementation - #33

Merged
akonwi merged 275 commits into
mainfrom
kit-v2
Sep 25, 2026
Merged

akonwi merged 275 commits into
mainfrom
kit-v2

Conversation

@akonwi

@akonwi akonwi commented Sep 24, 2026

Copy link
Copy Markdown
Owner

Summary

Replace the TypeScript application runtime with native Kit for macOS and Linux.

  • Add the Go CLI, authoritative daemon, SQLite-backed sessions, private droids agent core, and native vaxis terminal UI.
  • Implement headless commands, provider authentication, model configuration, MCP integration, concurrent subagents, shared scratchpads, and subprocess plugins.
  • Add the native macOS client and shared session-client contracts.
  • Use ~/.kit by default, preserve KIT_HOME overrides, and document configuration reuse without importing legacy npm session history.
  • Move the TypeScript application into apps/web/, update workspace and tooling paths, and describe current Kit usage in the README without version-specific rewrite framing.

Status

Draft for review and ongoing release preparation, not a release-readiness declaration. Remaining scope and verification gates are tracked in backlog/README.md and backlog/core.md. The web client is not yet integrated with the Go daemon.

Validation

Recent checks on this branch:

  • Go build, vet, and full test suite passed.
  • Full Go race suite passed on rerun; an intermittent plugin/title-generation test fixture failure remains recorded in CORE-TEST-001.
  • Bun workspace typechecks and unit tests passed after the directory move.
  • Browser build and all 18 Playwright tests passed after the directory move; this does not establish native web-client readiness.
  • Focused macOS shared-settings and plugin-footer tests passed.
  • git diff --check passed.

Add a semantic Goldmark pipeline for transcript and Activity content, including responsive tables, safe links, fenced code, and bounded fallbacks.

Surface streamed reasoning summaries as Markdown and retain full thinking in Activity. Stage detached daemon executables so go-run development daemons preserve macOS TLS trust.
Persist restartable droid execution in memory or SQLite stores and expose durable history, events, steering, pause, resume, and abort semantics.\n\nCut session management over to one droid store per session with idempotent Kit projections and recovery, replacing the legacy bounded runner.
Preserve settled conversation ancestry across independent stores with durable lineage, fresh child events, and atomic initialization recovery. Keep fork local and defer provider compatibility checks to subsequent prompts.
Replace bootstrap dispatch with Cobra commands, add explicit print and session-management flows, and support exact session selection.

Add process-local temporary sessions with coordinated disposal, document the lifecycle decision, and cover protocol, TUI, and concurrency behavior.
Pull the latest models.dev snapshot so OpenAI, Anthropic, and OpenCode
Go catalogs include newly published models.
Give user messages an accent wash so they stand apart from assistant text, matching the macOS transcript.
Fork a private in-memory child for a title and rename the parent only while its name is still empty.
Advertise Claude Code 2.1.280 so Anthropic accepts the model, and drop thinking signatures that were not produced by the target model.
Card user turns, align tool groups inside a two-cell margin, and add a Latest shortcut when the newest message is fully out of view. Tall assistant messages, including subagent tabs, get a section strip and an in-place picker.
@akonwi
akonwi marked this pull request as ready for review September 25, 2026 01:45
@akonwi
akonwi merged commit b12dfc7 into main Sep 25, 2026
3 checks passed
@akonwi
akonwi deleted the kit-v2 branch September 25, 2026 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant