@agent-native/core 0.57.0 → 0.58.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -56,7 +56,7 @@ Agent-Native primitives let you choose how much UI to put around an agent withou
56
56
  | **Rich chat** | A standalone or embedded chat with native tables, charts, approvals, setup flows, and tool results. | Shared chat runtime, BYO runtime adapters, action-declared native renderers |
57
57
  | **Whole app** | A full SaaS/product UI where chat can start central, move to the sidebar, and stay synced with app state. | SQL state, actions, context awareness, deep links, live sync |
58
58
 
59
- Protocols come with the framework instead of becoming separate integrations per feature. Today that means A2A, MCP, MCP Apps, standard remote MCP OAuth, MCP clients, HTTP/CLI action calls, native chat widgets, `AgentChatRuntime` adapters, and deep links all hang off the same action surface. AG-UI is a natural future adapter path for bring-your-own agent runtimes; ACP is best understood as the coding-agent/editor interoperability protocol, not the general BYO app-chat runtime.
59
+ Protocols come with the framework instead of becoming separate integrations per feature. Today that means A2A, MCP, MCP Apps, standard remote MCP OAuth, MCP clients, HTTP/CLI action calls, native chat widgets, `AgentChatRuntime` adapters, standard OpenAI, AG-UI, Claude Agent SDK, and Vercel AI SDK chat runtime connectors, and deep links all hang off the same action surface. ACP is best understood as the coding-agent/editor interoperability protocol, not the general BYO app-chat runtime.
60
60
 
61
61
  For the full decision guide — headless, rich chat on the built-in agent, rich chat on your own agent, embedded sidecar, or full app — see [Agent Surfaces](https://agent-native.com/docs/agent-surfaces).
62
62
 
@@ -0,0 +1,19 @@
1
+ import { type AgentChatRuntime, type AgentChatRuntimeKnownEvent, type CreateHttpAgentChatRuntimeOptions } from "./runtime.js";
2
+ type ConnectorRuntimeOptions = Omit<CreateHttpAgentChatRuntimeOptions<AgentChatRuntimeKnownEvent>, "mapEvent">;
3
+ export interface CreateOpenAIAgentsChatRuntimeOptions extends ConnectorRuntimeOptions {
4
+ }
5
+ export interface CreateOpenAIResponsesChatRuntimeOptions extends ConnectorRuntimeOptions {
6
+ }
7
+ export interface CreateAgUiChatRuntimeOptions extends ConnectorRuntimeOptions {
8
+ }
9
+ export interface CreateClaudeAgentChatRuntimeOptions extends ConnectorRuntimeOptions {
10
+ }
11
+ export interface CreateVercelAiChatRuntimeOptions extends ConnectorRuntimeOptions {
12
+ }
13
+ export declare function createOpenAIResponsesChatRuntime(options: CreateOpenAIResponsesChatRuntimeOptions): AgentChatRuntime<AgentChatRuntimeKnownEvent>;
14
+ export declare function createOpenAIAgentsChatRuntime(options: CreateOpenAIAgentsChatRuntimeOptions): AgentChatRuntime<AgentChatRuntimeKnownEvent>;
15
+ export declare function createAgUiChatRuntime(options: CreateAgUiChatRuntimeOptions): AgentChatRuntime<AgentChatRuntimeKnownEvent>;
16
+ export declare function createClaudeAgentChatRuntime(options: CreateClaudeAgentChatRuntimeOptions): AgentChatRuntime<AgentChatRuntimeKnownEvent>;
17
+ export declare function createVercelAiChatRuntime(options: CreateVercelAiChatRuntimeOptions): AgentChatRuntime<AgentChatRuntimeKnownEvent>;
18
+ export {};
19
+ //# sourceMappingURL=connectors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connectors.d.ts","sourceRoot":"","sources":["../../../src/client/chat/connectors.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,EAO/B,KAAK,iCAAiC,EACvC,MAAM,cAAc,CAAC;AAEtB,KAAK,uBAAuB,GAAG,IAAI,CACjC,iCAAiC,CAAC,0BAA0B,CAAC,EAC7D,UAAU,CACX,CAAC;AAEF,MAAM,WAAW,oCAAqC,SAAQ,uBAAuB;CAAG;AAExF,MAAM,WAAW,uCAAwC,SAAQ,uBAAuB;CAAG;AAE3F,MAAM,WAAW,4BAA6B,SAAQ,uBAAuB;CAAG;AAEhF,MAAM,WAAW,mCAAoC,SAAQ,uBAAuB;CAAG;AAEvF,MAAM,WAAW,gCAAiC,SAAQ,uBAAuB;CAAG;AA8sCpF,wBAAgB,gCAAgC,CAC9C,OAAO,EAAE,uCAAuC,GAC/C,gBAAgB,CAAC,0BAA0B,CAAC,CAQ9C;AAED,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE,oCAAoC,GAC5C,gBAAgB,CAAC,0BAA0B,CAAC,CAQ9C;AAED,wBAAgB,qBAAqB,CACnC,OAAO,EAAE,4BAA4B,GACpC,gBAAgB,CAAC,0BAA0B,CAAC,CAQ9C;AAED,wBAAgB,4BAA4B,CAC1C,OAAO,EAAE,mCAAmC,GAC3C,gBAAgB,CAAC,0BAA0B,CAAC,CAQ9C;AAED,wBAAgB,yBAAyB,CACvC,OAAO,EAAE,gCAAgC,GACxC,gBAAgB,CAAC,0BAA0B,CAAC,CAQ9C"}