|
1132 | 1132 | }, |
1133 | 1133 | { |
1134 | 1134 | "name": "surface", |
1135 | | - "type": "InputSignal<A2uiSurface | undefined>", |
| 1135 | + "type": "InputSignal<any>", |
1136 | 1136 | "description": "Wire-format surface (legacy path — kept for backwards compat).", |
1137 | 1137 | "optional": false |
1138 | 1138 | }, |
|
5331 | 5331 | ], |
5332 | 5332 | "methods": [] |
5333 | 5333 | }, |
5334 | | - { |
5335 | | - "name": "A2uiAction", |
5336 | | - "kind": "interface", |
5337 | | - "description": "", |
5338 | | - "properties": [ |
5339 | | - { |
5340 | | - "name": "context", |
5341 | | - "type": "A2uiActionContextEntry[]", |
5342 | | - "description": "", |
5343 | | - "optional": true |
5344 | | - }, |
5345 | | - { |
5346 | | - "name": "name", |
5347 | | - "type": "string", |
5348 | | - "description": "", |
5349 | | - "optional": false |
5350 | | - } |
5351 | | - ], |
5352 | | - "examples": [] |
5353 | | - }, |
5354 | | - { |
5355 | | - "name": "A2uiActionContextEntry", |
5356 | | - "kind": "interface", |
5357 | | - "description": "", |
5358 | | - "properties": [ |
5359 | | - { |
5360 | | - "name": "key", |
5361 | | - "type": "string", |
5362 | | - "description": "", |
5363 | | - "optional": false |
5364 | | - }, |
5365 | | - { |
5366 | | - "name": "value", |
5367 | | - "type": "DynamicString | DynamicNumber | DynamicBoolean", |
5368 | | - "description": "", |
5369 | | - "optional": false |
5370 | | - } |
5371 | | - ], |
5372 | | - "examples": [] |
5373 | | - }, |
5374 | | - { |
5375 | | - "name": "A2uiActionMessage", |
5376 | | - "kind": "interface", |
5377 | | - "description": "", |
5378 | | - "properties": [ |
5379 | | - { |
5380 | | - "name": "action", |
5381 | | - "type": "object", |
5382 | | - "description": "", |
5383 | | - "optional": false |
5384 | | - }, |
5385 | | - { |
5386 | | - "name": "metadata", |
5387 | | - "type": "object", |
5388 | | - "description": "", |
5389 | | - "optional": true |
5390 | | - }, |
5391 | | - { |
5392 | | - "name": "version", |
5393 | | - "type": "\"v0.9\"", |
5394 | | - "description": "", |
5395 | | - "optional": false |
5396 | | - } |
5397 | | - ], |
5398 | | - "examples": [] |
5399 | | - }, |
5400 | | - { |
5401 | | - "name": "A2uiClientDataModel", |
5402 | | - "kind": "interface", |
5403 | | - "description": "", |
5404 | | - "properties": [ |
5405 | | - { |
5406 | | - "name": "surfaces", |
5407 | | - "type": "Record<string, Record<string, unknown>>", |
5408 | | - "description": "", |
5409 | | - "optional": false |
5410 | | - }, |
5411 | | - { |
5412 | | - "name": "version", |
5413 | | - "type": "\"v0.9\"", |
5414 | | - "description": "", |
5415 | | - "optional": false |
5416 | | - } |
5417 | | - ], |
5418 | | - "examples": [] |
5419 | | - }, |
5420 | | - { |
5421 | | - "name": "A2uiComponent", |
5422 | | - "kind": "interface", |
5423 | | - "description": "", |
5424 | | - "properties": [ |
5425 | | - { |
5426 | | - "name": "component", |
5427 | | - "type": "A2uiComponentDef", |
5428 | | - "description": "", |
5429 | | - "optional": false |
5430 | | - }, |
5431 | | - { |
5432 | | - "name": "id", |
5433 | | - "type": "string", |
5434 | | - "description": "", |
5435 | | - "optional": false |
5436 | | - }, |
5437 | | - { |
5438 | | - "name": "weight", |
5439 | | - "type": "number", |
5440 | | - "description": "", |
5441 | | - "optional": true |
5442 | | - } |
5443 | | - ], |
5444 | | - "examples": [] |
5445 | | - }, |
5446 | 5334 | { |
5447 | 5335 | "name": "A2uiComponentView", |
5448 | 5336 | "kind": "interface", |
|
5487 | 5375 | ], |
5488 | 5376 | "examples": [] |
5489 | 5377 | }, |
5490 | | - { |
5491 | | - "name": "A2uiSurface", |
5492 | | - "kind": "interface", |
5493 | | - "description": "", |
5494 | | - "properties": [ |
5495 | | - { |
5496 | | - "name": "catalogId", |
5497 | | - "type": "string", |
5498 | | - "description": "", |
5499 | | - "optional": false |
5500 | | - }, |
5501 | | - { |
5502 | | - "name": "components", |
5503 | | - "type": "Map<string, A2uiComponent>", |
5504 | | - "description": "", |
5505 | | - "optional": false |
5506 | | - }, |
5507 | | - { |
5508 | | - "name": "dataModel", |
5509 | | - "type": "Record<string, unknown>", |
5510 | | - "description": "", |
5511 | | - "optional": false |
5512 | | - }, |
5513 | | - { |
5514 | | - "name": "sendDataModel", |
5515 | | - "type": "boolean", |
5516 | | - "description": "", |
5517 | | - "optional": true |
5518 | | - }, |
5519 | | - { |
5520 | | - "name": "styles", |
5521 | | - "type": "object", |
5522 | | - "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.", |
5523 | | - "optional": true |
5524 | | - }, |
5525 | | - { |
5526 | | - "name": "surfaceId", |
5527 | | - "type": "string", |
5528 | | - "description": "", |
5529 | | - "optional": false |
5530 | | - }, |
5531 | | - { |
5532 | | - "name": "theme", |
5533 | | - "type": "A2uiTheme", |
5534 | | - "description": "", |
5535 | | - "optional": true |
5536 | | - } |
5537 | | - ], |
5538 | | - "examples": [] |
5539 | | - }, |
5540 | 5378 | { |
5541 | 5379 | "name": "A2uiSurfaceState", |
5542 | 5380 | "kind": "interface", |
|
5607 | 5445 | ], |
5608 | 5446 | "examples": [] |
5609 | 5447 | }, |
5610 | | - { |
5611 | | - "name": "A2uiTheme", |
5612 | | - "kind": "interface", |
5613 | | - "description": "", |
5614 | | - "properties": [ |
5615 | | - { |
5616 | | - "name": "agentDisplayName", |
5617 | | - "type": "string", |
5618 | | - "description": "", |
5619 | | - "optional": true |
5620 | | - }, |
5621 | | - { |
5622 | | - "name": "iconUrl", |
5623 | | - "type": "string", |
5624 | | - "description": "", |
5625 | | - "optional": true |
5626 | | - }, |
5627 | | - { |
5628 | | - "name": "primaryColor", |
5629 | | - "type": "string", |
5630 | | - "description": "", |
5631 | | - "optional": true |
5632 | | - } |
5633 | | - ], |
5634 | | - "examples": [] |
5635 | | - }, |
5636 | 5448 | { |
5637 | 5449 | "name": "Agent", |
5638 | 5450 | "kind": "interface", |
|
6900 | 6712 | "examples": [] |
6901 | 6713 | }, |
6902 | 6714 | { |
6903 | | - "name": "A2uiChildren", |
6904 | | - "kind": "type", |
6905 | | - "description": "", |
6906 | | - "signature": "object | object", |
6907 | | - "examples": [] |
6908 | | - }, |
6909 | | - { |
6910 | | - "name": "A2uiComponentDef", |
| 6715 | + "name": "A2uiActionMessage", |
6911 | 6716 | "kind": "type", |
6912 | 6717 | "description": "", |
6913 | | - "signature": "object | object | object | object | object | object | object | object | object | object | object | object | object | object | object | object | object | object", |
| 6718 | + "signature": "any", |
6914 | 6719 | "examples": [] |
6915 | 6720 | }, |
6916 | 6721 | { |
|
6997 | 6802 | "signature": "\"right\" | \"bottom\" | \"left\"", |
6998 | 6803 | "examples": [] |
6999 | 6804 | }, |
7000 | | - { |
7001 | | - "name": "DynamicBoolean", |
7002 | | - "kind": "type", |
7003 | | - "description": "", |
7004 | | - "signature": "object | object", |
7005 | | - "examples": [] |
7006 | | - }, |
7007 | | - { |
7008 | | - "name": "DynamicNumber", |
7009 | | - "kind": "type", |
7010 | | - "description": "", |
7011 | | - "signature": "object | object", |
7012 | | - "examples": [] |
7013 | | - }, |
7014 | | - { |
7015 | | - "name": "DynamicString", |
7016 | | - "kind": "type", |
7017 | | - "description": "", |
7018 | | - "signature": "object | object", |
7019 | | - "examples": [] |
7020 | | - }, |
7021 | 6805 | { |
7022 | 6806 | "name": "InterruptAction", |
7023 | 6807 | "kind": "type", |
|
7312 | 7096 | }, |
7313 | 7097 | "examples": [] |
7314 | 7098 | }, |
7315 | | - { |
7316 | | - "name": "isLiteralBoolean", |
7317 | | - "kind": "function", |
7318 | | - "description": "", |
7319 | | - "signature": "isLiteralBoolean(value: unknown): value is { literalBoolean: boolean }", |
7320 | | - "params": [ |
7321 | | - { |
7322 | | - "name": "value", |
7323 | | - "type": "unknown", |
7324 | | - "description": "", |
7325 | | - "optional": false |
7326 | | - } |
7327 | | - ], |
7328 | | - "returns": { |
7329 | | - "type": "value is { literalBoolean: boolean }", |
7330 | | - "description": "" |
7331 | | - }, |
7332 | | - "examples": [] |
7333 | | - }, |
7334 | | - { |
7335 | | - "name": "isLiteralNumber", |
7336 | | - "kind": "function", |
7337 | | - "description": "", |
7338 | | - "signature": "isLiteralNumber(value: unknown): value is { literalNumber: number }", |
7339 | | - "params": [ |
7340 | | - { |
7341 | | - "name": "value", |
7342 | | - "type": "unknown", |
7343 | | - "description": "", |
7344 | | - "optional": false |
7345 | | - } |
7346 | | - ], |
7347 | | - "returns": { |
7348 | | - "type": "value is { literalNumber: number }", |
7349 | | - "description": "" |
7350 | | - }, |
7351 | | - "examples": [] |
7352 | | - }, |
7353 | | - { |
7354 | | - "name": "isLiteralString", |
7355 | | - "kind": "function", |
7356 | | - "description": "", |
7357 | | - "signature": "isLiteralString(value: unknown): value is { literalString: string }", |
7358 | | - "params": [ |
7359 | | - { |
7360 | | - "name": "value", |
7361 | | - "type": "unknown", |
7362 | | - "description": "", |
7363 | | - "optional": false |
7364 | | - } |
7365 | | - ], |
7366 | | - "returns": { |
7367 | | - "type": "value is { literalString: string }", |
7368 | | - "description": "" |
7369 | | - }, |
7370 | | - "examples": [] |
7371 | | - }, |
7372 | | - { |
7373 | | - "name": "isPathRef", |
7374 | | - "kind": "function", |
7375 | | - "description": "", |
7376 | | - "signature": "isPathRef(value: unknown): value is { path: string }", |
7377 | | - "params": [ |
7378 | | - { |
7379 | | - "name": "value", |
7380 | | - "type": "unknown", |
7381 | | - "description": "", |
7382 | | - "optional": false |
7383 | | - } |
7384 | | - ], |
7385 | | - "returns": { |
7386 | | - "type": "value is { path: string }", |
7387 | | - "description": "" |
7388 | | - }, |
7389 | | - "examples": [] |
7390 | | - }, |
7391 | 7099 | { |
7392 | 7100 | "name": "isSystemMessage", |
7393 | 7101 | "kind": "function", |
|
0 commit comments