UNPKG

framework

Version:

The (AI) Framework: turnkey, zero-config AI orchestration that wraps a coding-agent CLI (Claude Code) as a black box and takes you from an idea to a running app. Vite for AI.

28 lines 2.73 kB
export { onAgents, onAgent, onDocs, onQueue, onOverview, onRecentAgents, onHotTickets, onInterventions, onOpenQuestions, onActivity, onDashboard, onGithubUrl, onGitStatus, onProjectFiles, onProjectFileStatus, onFileDiff, onAgentChanges, onFileContent, onTickets, onTicket, onTicketsMeta, onAllTickets, onRetainedWorktrees, onAgentWorktree, onAgentHandoff, onSystemPromptUser, onBridgeQuestion, onBridgeStatus, onBridgeToken, onBridgeEvents, onBridgeAnswer } from './reads.js'; export { sendStop, sendChoice, sendBridgeAnswer, sendBridgeAnswerCancel, sendMessage, sendSetHandoff, sendStart, sendOpenInApp, sendRemoveWorktree, sendDeleteAgent, sendPushBranch, sendOpenPullRequest, sendMerge, sendQueueTicket, sendReleaseTicketLock, type QueueTicketResult, type QueuedTicket } from './control.js'; export { streamAgentEvents, type LiveFeedEvent, type StreamSync } from './events.js'; export { onProjects, sendAddProject, onOnboarding, onDriverReady, onRepoAutoMerge } from './projects.js'; export { onPreferences, savePreferences, patchPreferences, onProjectPresets, saveProjectPresets, onEditors, onNotifyChannels, saveDiscordCredentials, type SavePreferencesResult, type PatchPreferencesResult, type NotifyChannels, } from './preferences.js'; export type { CredentialSource, DiscordCredentialStatus, DiscordCredentialsPatch } from '../discord-credentials.js'; export { type EditorInfo } from '../dashboard/open-in-app.js'; export { onQuota, onAutoPm, sendAutoPmSweep } from './quota.js'; export { checkDevices, type DeviceCheck } from './devices.js'; import { streamAgentEvents } from './events.js'; /** One RPC: called with whatever the browser sent, answering with whatever JSON.stringify keeps. */ export type RpcHandler = (...args: never[]) => unknown; /** * Every RPC the mount will answer, by name. * * Built from the modules' own exports rather than listed by hand, so a function that is exported * and simply never registered — the failure that shipped per-project preferences broken (#866), * a 400 and nothing else — cannot happen: the name IS the export name. * * Null-prototype, because the name is a path segment off an unauthenticated request and this table * is indexed by it directly. With `Object.prototype` behind it, `POST /_rpc/constructor` found * `Object` and answered 200 with whatever it was handed, and `__proto__` / `toString` / `valueOf` * were reachable too — 500s rather than the 404 a name that is not an RPC has to get. */ export declare const RPC_HANDLERS: Record<string, RpcHandler>; /** The live event stream, which is a subscription rather than a call — see `rpc-serve.ts`. */ export declare const RPC_EVENT_STREAM: typeof streamAgentEvents; //# sourceMappingURL=index.d.ts.map