refactor(client): namespace service exports and share the registration contract

This commit is contained in:
Dax Raad 2026-07-03 12:36:46 -04:00
commit dd768e30e2
8 changed files with 47 additions and 50 deletions

View file

@ -2,7 +2,6 @@
// Core or Server. Preserve these datatype exports so internal model reorganizations do not require caller migrations.
export * from "./generated/index"
export { Service } from "./service.js"
export type { Transport, ServiceOptions } from "./service.js"
export { Agent } from "@opencode-ai/schema/agent"
export { Command } from "@opencode-ai/schema/command"
export { Credential } from "@opencode-ai/schema/credential"