@pouchy_ai/companion-sdk 0.41.0 → 0.42.0
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/CHANGELOG.md +26 -0
- package/README.md +14 -0
- package/dist/a2ui.d.ts +216 -0
- package/dist/a2ui.d.ts.map +1 -0
- package/dist/a2ui.js +622 -0
- package/dist/a2ui.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/a2ui.ts +881 -0
- package/src/index.ts +15 -0
package/src/index.ts
CHANGED
|
@@ -91,6 +91,21 @@ export {
|
|
|
91
91
|
} from './protocol';
|
|
92
92
|
export type { CompanionErrorCode, ControlErrorCode } from './protocol';
|
|
93
93
|
|
|
94
|
+
// Instant UI ⇄ Google A2UI v0.9 projection (0.42.0) — put `toA2UI` in front of
|
|
95
|
+
// any renderer built against the A2UI catalog and it draws Pouchy panels;
|
|
96
|
+
// `fromA2UI` ingests an A2UI surface back into the Instant UI panel shape.
|
|
97
|
+
// The node-type catalog rides along as data for renderer capability checks.
|
|
98
|
+
export { toA2UI, fromA2UI, INSTANT_UI_NODE_TYPES } from './a2ui';
|
|
99
|
+
export type {
|
|
100
|
+
A2UISurface,
|
|
101
|
+
A2UIComponent,
|
|
102
|
+
A2UIValue,
|
|
103
|
+
InstantUIInput,
|
|
104
|
+
DynamicInterface,
|
|
105
|
+
GenuiNode,
|
|
106
|
+
EmbeddedAction
|
|
107
|
+
} from './a2ui';
|
|
108
|
+
|
|
94
109
|
// The framework-agnostic view controller behind the /svelte and /vue subpath
|
|
95
110
|
// adapters (and the separate `@pouchy_ai/react` package) — exported from the
|
|
96
111
|
// root too, so a host on any OTHER framework (or none) can reuse the same
|