export * as Agent from "./agent.js"; import { Schema } from "effect"; export declare const ID: Schema.brand; export type ID = typeof ID.Type; export declare const Name: Schema.brand; export type Name = typeof Name.Type; export declare const Color: Schema.String; export type Color = typeof Color.Type; export interface Info extends Schema.Schema.Type { } export declare const Info: Schema.Struct<{ readonly id: Schema.brand; readonly name: Schema.brand; readonly model: Schema.decodeTo; readonly providerID: Schema.brand & { opencode: string & import("effect/Brand").Brand<"Provider.ID">; anthropic: string & import("effect/Brand").Brand<"Provider.ID">; openai: string & import("effect/Brand").Brand<"Provider.ID">; google: string & import("effect/Brand").Brand<"Provider.ID">; googleVertex: string & import("effect/Brand").Brand<"Provider.ID">; githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">; claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">; amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">; azure: string & import("effect/Brand").Brand<"Provider.ID">; openrouter: string & import("effect/Brand").Brand<"Provider.ID">; mistral: string & import("effect/Brand").Brand<"Provider.ID">; gitlab: string & import("effect/Brand").Brand<"Provider.ID">; }; readonly variant: Schema.decodeTo>>, Schema.optionalKey>, never, never>; }> & { parse: (input: string) => { readonly id: string & import("effect/Brand").Brand<"Model.ID">; readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">; readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined; }; }>>, Schema.optionalKey; readonly providerID: Schema.brand & { opencode: string & import("effect/Brand").Brand<"Provider.ID">; anthropic: string & import("effect/Brand").Brand<"Provider.ID">; openai: string & import("effect/Brand").Brand<"Provider.ID">; google: string & import("effect/Brand").Brand<"Provider.ID">; googleVertex: string & import("effect/Brand").Brand<"Provider.ID">; githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">; claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">; amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">; azure: string & import("effect/Brand").Brand<"Provider.ID">; openrouter: string & import("effect/Brand").Brand<"Provider.ID">; mistral: string & import("effect/Brand").Brand<"Provider.ID">; gitlab: string & import("effect/Brand").Brand<"Provider.ID">; }; readonly variant: Schema.decodeTo>>, Schema.optionalKey>, never, never>; }> & { parse: (input: string) => { readonly id: string & import("effect/Brand").Brand<"Model.ID">; readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">; readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined; }; }>, never, never>; readonly request: Schema.Struct<{ readonly settings: Schema.withConstructorDefault]>>>, Schema.optionalKey]>>, never, never>; readonly headerTimeout: Schema.decodeTo]>>>, Schema.optionalKey]>>, never, never>; readonly chunkTimeout: Schema.decodeTo]>>>, Schema.optionalKey]>>, never, never>; readonly compaction: Schema.decodeTo; }>, Schema.Struct<{ readonly type: Schema.Literal<"native">; }>]>>>, Schema.optionalKey; }>, Schema.Struct<{ readonly type: Schema.Literal<"native">; }>]>>, never, never>; readonly cache: Schema.decodeTo]>>>, Schema.optionalKey]>>, never, never>; readonly warming: Schema.decodeTo, Schema.String]>>>, Schema.optionalKey, Schema.String]>>, never, never>; readonly duration: Schema.decodeTo>, Schema.optionalKey, never, never>; }>]>>>, Schema.optionalKey, Schema.String]>>>, Schema.optionalKey, Schema.String]>>, never, never>; readonly duration: Schema.decodeTo>, Schema.optionalKey, never, never>; }>]>>, never, never>; }>>>, Schema.optionalKey]>>>, Schema.optionalKey]>>, never, never>; readonly warming: Schema.decodeTo, Schema.String]>>>, Schema.optionalKey, Schema.String]>>, never, never>; readonly duration: Schema.decodeTo>, Schema.optionalKey, never, never>; }>]>>>, Schema.optionalKey, Schema.String]>>>, Schema.optionalKey, Schema.String]>>, never, never>; readonly duration: Schema.decodeTo>, Schema.optionalKey, never, never>; }>]>>, never, never>; }>>, never, never>; readonly transport: Schema.decodeTo>>, Schema.optionalKey>, never, never>; readonly encoding: Schema.decodeTo>>, Schema.optionalKey>, never, never>; readonly tls: Schema.decodeTo>, Schema.optionalKey, never, never>; }>>>, Schema.optionalKey>, Schema.optionalKey, never, never>; }>>, never, never>; }>, readonly [Schema.$Record]>>; readonly headers: Schema.$Record; readonly body: Schema.$Record; }>; readonly system: Schema.decodeTo>, Schema.optionalKey, never, never>; /** * Added to the default prompt while the agent is selected, without replacing it like `system`. A string is * introduced as this agent's instructions, and core tells the model when they stop applying. `{ selected, unselected }` * sends both texts exactly as written: `selected` while the agent is selected, `unselected` once when the session * switches away. */ readonly instructions: Schema.decodeTo]>>>, Schema.optionalKey]>>, never, never>; readonly description: Schema.decodeTo>, Schema.optionalKey, never, never>; readonly mode: Schema.Literals; readonly hidden: Schema.Boolean; readonly color: Schema.decodeTo>, Schema.optionalKey, never, never>; readonly steps: Schema.decodeTo>, Schema.optionalKey, never, never>; readonly permissions: Schema.$Array; }>>; }> & { default: (id: ID) => { id: string & import("effect/Brand").Brand<"Agent.ID">; name: string & import("effect/Brand").Brand<"Agent.Name">; request: { settings: {}; headers: {}; body: {}; }; mode: "primary"; hidden: false; permissions: ({ action: string; resource: string; effect: "allow"; } | { action: string; resource: string; effect: "ask"; })[]; }; }; export declare const Event: { Updated: Schema.Struct<{ readonly id: Schema.brand & { create: () => string & import("effect/Brand").Brand<"Event.ID">; }; readonly created: Schema.Finite; readonly metadata: Schema.decodeTo>>, Schema.optionalKey>, never, never>; readonly type: Schema.Literal<"agent.updated">; readonly location: Schema.decodeTo; readonly workspaceID: Schema.decodeTo & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }>>, Schema.optionalKey & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }>, never, never>; }>>>, Schema.optionalKey; readonly workspaceID: Schema.decodeTo & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }>>, Schema.optionalKey & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }>, never, never>; }>>, never, never>; readonly data: Schema.Struct<{}>; }> & { type: "agent.updated"; durability: "ephemeral"; durable: undefined; data: Schema.Struct<{}>; }; Definitions: readonly [Schema.Struct<{ readonly id: Schema.brand & { create: () => string & import("effect/Brand").Brand<"Event.ID">; }; readonly created: Schema.Finite; readonly metadata: Schema.decodeTo>>, Schema.optionalKey>, never, never>; readonly type: Schema.Literal<"agent.updated">; readonly location: Schema.decodeTo; readonly workspaceID: Schema.decodeTo & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }>>, Schema.optionalKey & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }>, never, never>; }>>>, Schema.optionalKey; readonly workspaceID: Schema.decodeTo & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }>>, Schema.optionalKey & { ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">; create: () => string & import("effect/Brand").Brand<"Workspace.ID">; }>, never, never>; }>>, never, never>; readonly data: Schema.Struct<{}>; }> & { type: "agent.updated"; durability: "ephemeral"; durable: undefined; data: Schema.Struct<{}>; }]; };