@streamoid/agent 0.8.2 → 0.8.4
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/dist/index.d.ts +4 -0
- package/dist/index.js +8424 -8254
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -103,6 +103,8 @@ export interface AgentChatShellAdapters {
|
|
|
103
103
|
theme: { mode: 'light' | 'dark' };
|
|
104
104
|
config: {
|
|
105
105
|
apiBase: string;
|
|
106
|
+
/** Compact host-pane typography: 14px text, 1.45 leading and a 60ch measure. */
|
|
107
|
+
textSize?: 'default' | 'small';
|
|
106
108
|
hide?: {
|
|
107
109
|
sidepane?: boolean;
|
|
108
110
|
newBrief?: boolean;
|
|
@@ -710,6 +712,8 @@ export interface AgentHostIntegration {
|
|
|
710
712
|
actions?: {
|
|
711
713
|
list: readonly string[];
|
|
712
714
|
run: (name: string, params: Record<string, unknown>) => Promise<unknown>;
|
|
715
|
+
/** Re-evaluate actions against current host state before displaying or running them. */
|
|
716
|
+
isAvailable?: (name: string, params: Record<string, unknown>) => boolean;
|
|
713
717
|
};
|
|
714
718
|
read?: (name: string, params: Record<string, unknown>) => Promise<unknown>;
|
|
715
719
|
}
|