File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change 11import type { GatewayBrowserClient } from "../gateway.ts" ;
22import type { AgentsListResult , ToolsCatalogResult } from "../types.ts" ;
33import { saveConfig } from "./config.ts" ;
4+ import type { ConfigState } from "./config.ts" ;
45
56export type AgentsState = {
67 client : GatewayBrowserClient | null ;
@@ -14,16 +15,7 @@ export type AgentsState = {
1415 toolsCatalogResult : ToolsCatalogResult | null ;
1516} ;
1617
17- export type AgentsConfigSaveState = AgentsState & {
18- configSaving : boolean ;
19- configSnapshot : { hash ?: string | null } | null ;
20- configFormDirty : boolean ;
21- configFormMode : "form" | "raw" ;
22- configForm : Record < string , unknown > | null ;
23- configRaw : string ;
24- configSchema : unknown ;
25- lastError : string | null ;
26- } ;
18+ export type AgentsConfigSaveState = AgentsState & ConfigState ;
2719
2820export async function loadAgents ( state : AgentsState ) {
2921 if ( ! state . client || ! state . connected ) {
You can’t perform that action at this time.
0 commit comments