Skip to content
298 changes: 3 additions & 295 deletions apps/website/content/docs/chat/api/api-docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,7 @@
},
{
"name": "surface",
"type": "InputSignal<A2uiSurface | undefined>",
"type": "InputSignal<any>",
"description": "Wire-format surface (legacy path — kept for backwards compat).",
"optional": false
},
Expand Down Expand Up @@ -5331,118 +5331,6 @@
],
"methods": []
},
{
"name": "A2uiAction",
"kind": "interface",
"description": "",
"properties": [
{
"name": "context",
"type": "A2uiActionContextEntry[]",
"description": "",
"optional": true
},
{
"name": "name",
"type": "string",
"description": "",
"optional": false
}
],
"examples": []
},
{
"name": "A2uiActionContextEntry",
"kind": "interface",
"description": "",
"properties": [
{
"name": "key",
"type": "string",
"description": "",
"optional": false
},
{
"name": "value",
"type": "DynamicString | DynamicNumber | DynamicBoolean",
"description": "",
"optional": false
}
],
"examples": []
},
{
"name": "A2uiActionMessage",
"kind": "interface",
"description": "",
"properties": [
{
"name": "action",
"type": "object",
"description": "",
"optional": false
},
{
"name": "metadata",
"type": "object",
"description": "",
"optional": true
},
{
"name": "version",
"type": "\"v0.9\"",
"description": "",
"optional": false
}
],
"examples": []
},
{
"name": "A2uiClientDataModel",
"kind": "interface",
"description": "",
"properties": [
{
"name": "surfaces",
"type": "Record<string, Record<string, unknown>>",
"description": "",
"optional": false
},
{
"name": "version",
"type": "\"v0.9\"",
"description": "",
"optional": false
}
],
"examples": []
},
{
"name": "A2uiComponent",
"kind": "interface",
"description": "",
"properties": [
{
"name": "component",
"type": "A2uiComponentDef",
"description": "",
"optional": false
},
{
"name": "id",
"type": "string",
"description": "",
"optional": false
},
{
"name": "weight",
"type": "number",
"description": "",
"optional": true
}
],
"examples": []
},
{
"name": "A2uiComponentView",
"kind": "interface",
Expand Down Expand Up @@ -5487,56 +5375,6 @@
],
"examples": []
},
{
"name": "A2uiSurface",
"kind": "interface",
"description": "",
"properties": [
{
"name": "catalogId",
"type": "string",
"description": "",
"optional": false
},
{
"name": "components",
"type": "Map<string, A2uiComponent>",
"description": "",
"optional": false
},
{
"name": "dataModel",
"type": "Record<string, unknown>",
"description": "",
"optional": false
},
{
"name": "sendDataModel",
"type": "boolean",
"description": "",
"optional": true
},
{
"name": "styles",
"type": "object",
"description": "Styles set by the agent via `beginRendering.styles`. The\ncanonical v1 spec defines exactly two fields: `font` (primary\nfont for the UI) and `primaryColor` (hex `#RRGGBB`). The renderer\napplies these as CSS custom properties on the surface root,\noverriding any consumer-set defaults for the duration of the\nsurface's life. Anything richer (typography scale, spacing,\nelevation, etc.) is the renderer's private vocabulary and not\ncommunicated through this field.",
"optional": true
},
{
"name": "surfaceId",
"type": "string",
"description": "",
"optional": false
},
{
"name": "theme",
"type": "A2uiTheme",
"description": "",
"optional": true
}
],
"examples": []
},
{
"name": "A2uiSurfaceState",
"kind": "interface",
Expand Down Expand Up @@ -5607,32 +5445,6 @@
],
"examples": []
},
{
"name": "A2uiTheme",
"kind": "interface",
"description": "",
"properties": [
{
"name": "agentDisplayName",
"type": "string",
"description": "",
"optional": true
},
{
"name": "iconUrl",
"type": "string",
"description": "",
"optional": true
},
{
"name": "primaryColor",
"type": "string",
"description": "",
"optional": true
}
],
"examples": []
},
{
"name": "Agent",
"kind": "interface",
Expand Down Expand Up @@ -6900,17 +6712,10 @@
"examples": []
},
{
"name": "A2uiChildren",
"kind": "type",
"description": "",
"signature": "object | object",
"examples": []
},
{
"name": "A2uiComponentDef",
"name": "A2uiActionMessage",
"kind": "type",
"description": "",
"signature": "object | object | object | object | object | object | object | object | object | object | object | object | object | object | object | object | object | object",
"signature": "any",
"examples": []
},
{
Expand Down Expand Up @@ -6997,27 +6802,6 @@
"signature": "\"right\" | \"bottom\" | \"left\"",
"examples": []
},
{
"name": "DynamicBoolean",
"kind": "type",
"description": "",
"signature": "object | object",
"examples": []
},
{
"name": "DynamicNumber",
"kind": "type",
"description": "",
"signature": "object | object",
"examples": []
},
{
"name": "DynamicString",
"kind": "type",
"description": "",
"signature": "object | object",
"examples": []
},
{
"name": "InterruptAction",
"kind": "type",
Expand Down Expand Up @@ -7312,82 +7096,6 @@
},
"examples": []
},
{
"name": "isLiteralBoolean",
"kind": "function",
"description": "",
"signature": "isLiteralBoolean(value: unknown): value is { literalBoolean: boolean }",
"params": [
{
"name": "value",
"type": "unknown",
"description": "",
"optional": false
}
],
"returns": {
"type": "value is { literalBoolean: boolean }",
"description": ""
},
"examples": []
},
{
"name": "isLiteralNumber",
"kind": "function",
"description": "",
"signature": "isLiteralNumber(value: unknown): value is { literalNumber: number }",
"params": [
{
"name": "value",
"type": "unknown",
"description": "",
"optional": false
}
],
"returns": {
"type": "value is { literalNumber: number }",
"description": ""
},
"examples": []
},
{
"name": "isLiteralString",
"kind": "function",
"description": "",
"signature": "isLiteralString(value: unknown): value is { literalString: string }",
"params": [
{
"name": "value",
"type": "unknown",
"description": "",
"optional": false
}
],
"returns": {
"type": "value is { literalString: string }",
"description": ""
},
"examples": []
},
{
"name": "isPathRef",
"kind": "function",
"description": "",
"signature": "isPathRef(value: unknown): value is { path: string }",
"params": [
{
"name": "value",
"type": "unknown",
"description": "",
"optional": false
}
],
"returns": {
"type": "value is { path: string }",
"description": ""
},
"examples": []
},
{
"name": "isSystemMessage",
"kind": "function",
Expand Down
Loading