UNPKG

@adonis-agora/agent

Version:

Governed, durable-backed AI agent (chat + tool-calling + governance) for AdonisJS — part of the Agora ecosystem.

15 lines • 1.63 kB
/** * `@adonis-agora/agent/opencode` — an engine that runs the agent's turns on OpenCode 2 sessions, * behind the library's routes, stream protocol, approvals, questions and queue. Kept in its own * entry point: the OpenCode client is structural, so nothing here depends on `@opencode/client`. */ export type { OpenCodeClient, OpenCodeEvent, OpenCodeForm, OpenCodeFormField, OpenCodeFormValue, OpenCodeJson, OpenCodeModelRef, OpenCodePermissionRequest, OpenCodePermissionRule, OpenCodePromptFile, OpenCodeSessionCreate, } from './client.js'; export { type OpenCodeClass, OpenCodeEngine, type OpenCodeEngineOptions, openCode, } from './engine.js'; export { OpenCodeEventHub, sessionOf } from './event-hub.js'; export { FormAnswerError, toElicitation, toFormAnswer, toQuestion } from './forms.js'; export { InMemoryOpenCodeSessionStore, keyValueOpenCodeSessionStore, type OpenCodeAmendment, type OpenCodeHost, type OpenCodeKeyValue, type OpenCodeRunResult, type OpenCodeServer, type OpenCodeSessionRef, type OpenCodeSessionStore, type OpenCodeTurnContext, } from './host.js'; export { OpenCodeMcpEndpoint, type OpenCodeToolsClaims, OpenCodeToolsTokens } from './mcp.js'; export { OpenCodeAgentRunner } from './runner.js'; export { addUsage, emptyUsage, type Milestone, OpenCodeTurn, type OpenCodeUsage, type PendingAsk, type StepCost, type StepModel, type TurnOutcome, usageOf, } from './turn.js'; export { type OpenCodeCallContext, type OpenCodeEngineSettings, type OpenCodeToolCall, type OpenCodeToolsOptions, OpenCodeTurns, SESSION_META_KEY, type SessionHandle, } from './turns.js'; //# sourceMappingURL=index.d.ts.map