mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-17 06:04:51 +00:00
WIP: Major cleanup - move Attachment to consumers, simplify agent API
- Removed Attachment from agent package (now in web-ui/coding-agent) - Agent.prompt now takes (text, images?: ImageContent[]) - Removed transports from web-ui (duplicate of agent package) - Updated coding-agent to use local message types - Updated mom package for new agent API Remaining: Fix AgentInterface.ts to compose UserMessageWithAttachments
This commit is contained in:
parent
f86dea2e4f
commit
6ddc7418da
57 changed files with 167 additions and 1061 deletions
|
|
@ -1,13 +1,7 @@
|
|||
// Main chat interface
|
||||
|
||||
export type { AgentState, ThinkingLevel } from "./agent/agent.js";
|
||||
// State management
|
||||
export { Agent } from "./agent/agent.js";
|
||||
// Transports
|
||||
export { AppTransport } from "./agent/transports/AppTransport.js";
|
||||
export { ProviderTransport } from "./agent/transports/ProviderTransport.js";
|
||||
export type { ProxyAssistantMessageEvent } from "./agent/transports/proxy-types.js";
|
||||
export type { AgentRunConfig, AgentTransport } from "./agent/transports/types.js";
|
||||
export type { Agent, AgentMessage, AgentState, ThinkingLevel } from "@mariozechner/pi-agent-core";
|
||||
export type { Model } from "@mariozechner/pi-ai";
|
||||
export { ChatPanel } from "./ChatPanel.js";
|
||||
// Components
|
||||
export { AgentInterface } from "./components/AgentInterface.js";
|
||||
|
|
@ -18,7 +12,7 @@ export { Input } from "./components/Input.js";
|
|||
export { MessageEditor } from "./components/MessageEditor.js";
|
||||
export { MessageList } from "./components/MessageList.js";
|
||||
// Message components
|
||||
export type { AppMessage, CustomMessages, UserMessageWithAttachments } from "./components/Messages.js";
|
||||
export type { UserMessageWithAttachments } from "./components/Messages.js";
|
||||
export { AssistantMessage, ToolMessage, UserMessage } from "./components/Messages.js";
|
||||
// Message renderer registry
|
||||
export {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue