Skip to content

refactor(server): canonicalize service API#31049

Open
thdxr wants to merge 15 commits into
devfrom
refactor/canonical-service-api
Open

refactor(server): canonicalize service API#31049
thdxr wants to merge 15 commits into
devfrom
refactor/canonical-service-api

Conversation

@thdxr
Copy link
Copy Markdown
Member

@thdxr thdxr commented Jun 6, 2026

Summary

  • promote the experimental server API to canonical names and organize route groups, handlers, authorization, and session-location middleware around complete service layers
  • standardize core default layers and replayable state updates, and make CLI daemon startup work for both source and compiled entrypoints
  • derive TUI diff hunk offsets from patch content after the OpenTUI method removal

Testing

  • bun turbo typecheck
  • bun test test/agent.test.ts test/plugin.test.ts test/session-runner.test.ts test/system-context/registry.test.ts test/tool-grep.test.ts test/tool-webfetch.test.ts test/tool-websearch.test.ts in packages/core
  • bun test test/session/compaction.test.ts test/session/prompt.test.ts in packages/opencode
  • bun test test/server/httpapi-authorization.test.ts test/server/httpapi-query-schema-drift.test.ts in packages/opencode
  • bun test test/cli/tui/diff-viewer.test.tsx in packages/opencode

Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

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