@wrongstack/webui 1.0.19 → 1.0.26
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/assets/AgentRosterView-udJ14GYq.js +12 -0
- package/dist/assets/{AnalyticsDashboard-DmQd0E0V.js → AnalyticsDashboard-DwF-0cUA.js} +1 -1
- package/dist/assets/AudienceMemoryPanel-DpBGeZv_.js +3 -0
- package/dist/assets/ChangesView-BfM0T_aS.js +3 -0
- package/dist/assets/ChimeraReviewsView-Q_5C4DU1.js +1 -0
- package/dist/assets/ChronicleDashboard-D6LnZzhy.js +1 -0
- package/dist/assets/CodeEditor-DonrWH9u.js +2 -0
- package/dist/assets/CodeMap-Dxtc378S.js +1 -0
- package/dist/assets/{CronJobsPanel-TcZy_W2t.js → CronJobsPanel-Cn2PQO_p.js} +1 -1
- package/dist/assets/{DeadCodeScanPanel-BOD2JEyf.js → DeadCodeScanPanel-Mc5py-kJ.js} +1 -1
- package/dist/assets/{DebugDashboard-DFPNPzQ_.js → DebugDashboard-D0LRcT4J.js} +1 -1
- package/dist/assets/{DesignGalleryView-BXABwAji.js → DesignGalleryView-DAD-wRUc.js} +1 -1
- package/dist/assets/GoalView-CqeSw0tK.js +1 -0
- package/dist/assets/KanbanView-V-bkFftp.js +3 -0
- package/dist/assets/{MailboxDetailView-QyNmt1Gv.js → MailboxDetailView-CTEjap3r.js} +1 -1
- package/dist/assets/{MemoryDrawer-BZsyD1dh.js → MemoryDrawer-RCduY0FV.js} +1 -1
- package/dist/assets/MemoryManager-B-p6-Bic.js +1 -0
- package/dist/assets/{ProcessMonitor-Bz0jZvHJ.js → ProcessMonitor-B9tpPo4r.js} +1 -1
- package/dist/assets/PromptJournalView-DVNqlac9.js +1 -0
- package/dist/assets/ProviderTestView-mmfpnAbZ.js +1 -0
- package/dist/assets/QueuePanel-BB9qozjm.js +1 -0
- package/dist/assets/{RefreshDebugView-_XPrBDq3.js → RefreshDebugView-CCCWzq29.js} +1 -1
- package/dist/assets/{RepositoryHistoryView-Wlnvi5r1.js → RepositoryHistoryView-RQVRkkUU.js} +2 -2
- package/dist/assets/RequirementIntakeView-D_JRhgzW.js +1 -0
- package/dist/assets/{SageTabs-qrBn3VQr.js → SageTabs--k2hQTvl.js} +2 -2
- package/dist/assets/SddFlowGraph-DKrrRXKy.js +1 -0
- package/dist/assets/SddHub-B5XO56oY.js +2 -0
- package/dist/assets/{SessionInspectView-CuRk2DS0.js → SessionInspectView-j3VJwXNi.js} +1 -1
- package/dist/assets/SessionList-CCVHBseu.js +1 -0
- package/dist/assets/{SessionsDashboard-CSkm28Bx.js → SessionsDashboard-DsM7sXQw.js} +1 -1
- package/dist/assets/SetupScreen-DeuR8Y8S.js +1 -0
- package/dist/assets/SkillDetailView-BeZyGIpW.js +3 -0
- package/dist/assets/TechStackView-CpSMRQE0.js +2 -0
- package/dist/assets/TerminalPanel-BVJ5w-5R.js +1 -0
- package/dist/assets/activity-BS2aW_NN.js +10 -0
- package/dist/assets/activity-CR2KFruY.js +10 -0
- package/dist/assets/activity-Cd0qM2Hx.js +10 -0
- package/dist/assets/activity-DyXRoY2s.js +10 -0
- package/dist/assets/activity-bBAOetvE.js +10 -0
- package/dist/assets/activity-fI3Jy_jD.js +10 -0
- package/dist/assets/activity-t6fUmVjo.js +10 -0
- package/dist/assets/{button-BbeB5Qm8.js → button-UuKTnoM-.js} +1 -1
- package/dist/assets/chat-9GLubejR.js +1 -0
- package/dist/assets/chat-B50ssTLh.js +1 -0
- package/dist/assets/chat-CDioiM1L.js +1 -0
- package/dist/assets/chat-Cll_3gXD.js +1 -0
- package/dist/assets/chat-Cqhc6jQa.js +1 -0
- package/dist/assets/chat-DN1MggWt.js +1 -0
- package/dist/assets/chat-fyvZyUZM.js +1 -0
- package/dist/assets/chat-store-uzGtJfDz.js +1 -0
- package/dist/assets/{codemap-activity-store-Ha7XbGgq.js → codemap-activity-store-WjfEZe4_.js} +1 -1
- package/dist/assets/common-Bjl7V12m.js +1 -0
- package/dist/assets/common-BtyQBZBN.js +1 -0
- package/dist/assets/common-D0QL7rwb.js +1 -0
- package/dist/assets/common-DJRPtYAt.js +1 -0
- package/dist/assets/common-DPPTV3yw.js +1 -0
- package/dist/assets/common-DvjdaRhB.js +1 -0
- package/dist/assets/common-opV6EoLd.js +1 -0
- package/dist/assets/config-store-P5_updTQ.js +21 -0
- package/dist/assets/{dialog-b-Ai37sa.js → dialog-BDUaV5gY.js} +1 -1
- package/dist/assets/{empty-state-pfuS5znr.js → empty-state-BzoEa04Q.js} +1 -1
- package/dist/assets/{fonts-DRGbd-AM.js → fonts-C303yVU_.js} +2 -2
- package/dist/assets/i18n-t7rIS4DB.js +3 -0
- package/dist/assets/index-B4ELbNoz.js +181 -0
- package/dist/assets/index-qdrakcnP.css +1 -0
- package/dist/assets/{input-BA6D2L3K.js → input-DMnC2O7-.js} +1 -1
- package/dist/assets/{mailbox-store-ZQO_Rv6E.js → mailbox-store-DyOOYbni.js} +1 -1
- package/dist/assets/roster-ws-szSqUkqP.js +1 -0
- package/dist/assets/settings-BMHZcBqe.js +1 -0
- package/dist/assets/settings-BQ5J8WXE.js +1 -0
- package/dist/assets/settings-BfNJfO4z.js +1 -0
- package/dist/assets/settings-ClDQ01ie.js +1 -0
- package/dist/assets/settings-DD31lC4f.js +1 -0
- package/dist/assets/settings-Da3EIcna.js +1 -0
- package/dist/assets/settings-Dl_QM2QZ.js +1 -0
- package/dist/assets/{shared-BFJvAYzX.js → shared-CLNEiW00.js} +1 -1
- package/dist/assets/stores-Cx52UOxM.js +7 -0
- package/dist/assets/toasts-3tM1krOo.js +1 -0
- package/dist/assets/toasts-BrHW33qA.js +1 -0
- package/dist/assets/toasts-Buww129h.js +1 -0
- package/dist/assets/toasts-CSN9Fy47.js +1 -0
- package/dist/assets/toasts-DOoYxbHd.js +1 -0
- package/dist/assets/toasts-DkDnbhs_.js +1 -0
- package/dist/assets/toasts-Jo4VH13n.js +1 -0
- package/dist/assets/ui-store-DI0iusYZ.js +1 -0
- package/dist/assets/{utils-CKsqCaP8.js → utils-B21Devim.js} +1 -1
- package/dist/assets/{vector-memory-panel-YWv6xcza.js → vector-memory-panel-DnX-ODHC.js} +1 -1
- package/dist/assets/{vendor-V3ydTHqN.js → vendor-BfBvt432.js} +28 -28
- package/dist/assets/{view-navigation-DTs4cSQ6.js → view-navigation-Cvrp_uJm.js} +1 -1
- package/dist/components/BrowserLivePane.d.ts +2 -0
- package/dist/components/ChangesView.d.ts +3 -1
- package/dist/components/ChatInput/chat-input-bars.d.ts +1 -1
- package/dist/components/ChatInput/image-attachments.d.ts +19 -2
- package/dist/components/ChatInput/skill-mention-picker.d.ts +10 -0
- package/dist/components/ChatInput/slash-routing.d.ts +18 -0
- package/dist/components/ChatInput/use-paste-drop.d.ts +3 -0
- package/dist/components/ChatInput/use-prompt-queue-view.d.ts +13 -0
- package/dist/components/ChatView/BackgroundShellStrip.d.ts +16 -0
- package/dist/components/ChatView/TerminalStrip.d.ts +8 -0
- package/dist/components/CodeMap.d.ts +0 -12
- package/dist/components/CustomRosterPanel.d.ts +0 -1
- package/dist/components/GoalPanel.d.ts +2 -1
- package/dist/components/ImageDiffView.d.ts +12 -0
- package/dist/components/KanbanTaskExecution.d.ts +64 -0
- package/dist/components/KanbanTaskInspector.d.ts +1 -1
- package/dist/components/MessageBubble/AttachmentGallery.d.ts +1 -1
- package/dist/components/MessageBubble/GeneratedImagePreview.d.ts +10 -0
- package/dist/components/OfficeMapCanvas.d.ts +0 -7
- package/dist/components/SessionTabBar/summaries.d.ts +4 -0
- package/dist/components/SettingsPanel/BrainSection.d.ts +1 -1
- package/dist/components/SettingsPanel/JevSection.d.ts +4 -0
- package/dist/components/SettingsPanel/LimitsSection.d.ts +7 -0
- package/dist/components/SettingsPanel/MCPSection.d.ts +1 -37
- package/dist/components/SettingsPanel/MCPServerCards.d.ts +67 -0
- package/dist/components/SettingsPanel/MCPServerDialog.d.ts +11 -0
- package/dist/components/SettingsPanel/OAuthLoginSection.d.ts +2 -0
- package/dist/components/SettingsPanel/PreferenceControls.d.ts +8 -0
- package/dist/components/SettingsPanel/ProviderSavedProfiles.d.ts +50 -0
- package/dist/components/SettingsPanel/ProviderSection.d.ts +2 -79
- package/dist/components/SettingsPanel/SettingsNavigation.d.ts +12 -0
- package/dist/components/SettingsPanel/brain-section-options.d.ts +2 -3
- package/dist/components/SettingsPanel/contracts.d.ts +1 -0
- package/dist/components/SettingsPanel/official-servers.d.ts +1 -0
- package/dist/components/SettingsPanel/provider-section-types.d.ts +79 -0
- package/dist/components/SettingsPanel/use-brain-section.d.ts +28 -0
- package/dist/components/SidePanel/SessionList.d.ts +1 -34
- package/dist/components/SidePanel/session-history.d.ts +61 -0
- package/dist/components/SkillDetailView.d.ts +1 -1
- package/dist/components/SystemPromptPresetEditor.d.ts +9 -0
- package/dist/components/TerminalPanel.d.ts +8 -1
- package/dist/components/WorkspaceDock.d.ts +2 -2
- package/dist/components/chronicle-event-detail.d.ts +51 -0
- package/dist/components/context-dashboard-sections.d.ts +79 -0
- package/dist/components/review/ReviewDiff.d.ts +21 -0
- package/dist/components/review/ReviewTray.d.ts +15 -0
- package/dist/components/review/review-diff-model.d.ts +31 -0
- package/dist/components/use-code-map-flow.d.ts +25 -0
- package/dist/components/use-office-map-canvas.d.ts +42 -0
- package/dist/components/use-office-map-topology.d.ts +31 -0
- package/dist/components/use-skill-detail.d.ts +177 -0
- package/dist/components/vector-memory-panel/model.d.ts +9 -0
- package/dist/hooks/use-live-browser.d.ts +7 -0
- package/dist/hooks/useProviderModels.d.ts +2 -0
- package/dist/hooks/useWebSocket.d.ts +4 -5
- package/dist/hooks/ws-handlers/brain-handlers.d.ts +18 -0
- package/dist/hooks/ws-handlers/goal-handlers.d.ts +9 -0
- package/dist/hooks/ws-handlers/misc-handlers.d.ts +2 -21
- package/dist/hooks/ws-handlers/prompt-queue-handlers.d.ts +18 -0
- package/dist/index.css +3013 -3013
- package/dist/index.html +19 -19
- package/dist/index.js +98758 -91674
- package/dist/lib/auth-operation.d.ts +5 -0
- package/dist/lib/compact-file-tree.d.ts +30 -0
- package/dist/lib/project-image.d.ts +26 -0
- package/dist/lib/provider-warm.d.ts +3 -0
- package/dist/lib/sdd-theme.d.ts +2 -2
- package/dist/lib/ws-client-actions.d.ts +2 -0
- package/dist/lib/ws-client-domain-methods.d.ts +1 -1
- package/dist/lib/ws-client-session-methods.d.ts +3 -1
- package/dist/lib/ws-client.d.ts +3 -3
- package/dist/stores/chat-lane-data.d.ts +153 -0
- package/dist/stores/chat-lanes.d.ts +3 -174
- package/dist/stores/chat-queue-helpers.d.ts +9 -0
- package/dist/stores/chat-store-types.d.ts +3 -0
- package/dist/stores/chat-store.d.ts +1 -1
- package/dist/stores/context-editor-store.d.ts +1 -1
- package/dist/stores/council-log-store.d.ts +4 -0
- package/dist/stores/fleet-transcript.d.ts +14 -0
- package/dist/stores/git-changes-store.d.ts +3 -0
- package/dist/stores/goal-run-store.d.ts +8 -0
- package/dist/stores/goal-state-store.d.ts +3 -0
- package/dist/stores/goal-store.d.ts +9 -11
- package/dist/stores/local-prefs-defaults.d.ts +340 -0
- package/dist/stores/local-prefs.d.ts +2 -318
- package/dist/stores/notification-store.d.ts +9 -0
- package/dist/stores/review-store.d.ts +54 -0
- package/dist/stores/session-activity.d.ts +33 -0
- package/dist/stores/session-tab-store.d.ts +1 -46
- package/dist/stores/terminal-strip-store.d.ts +26 -0
- package/dist/stores/ui-store-chrome.d.ts +1 -1
- package/dist/stores/ui-store-persist.d.ts +2 -2
- package/dist/stores/ui-store-types.d.ts +4 -4
- package/dist/stores/ui-store.d.ts +5 -5
- package/dist/types/brain.d.ts +4 -2
- package/dist/types/client-message.d.ts +132 -11
- package/dist/types/jev.d.ts +62 -0
- package/dist/types/prompt-queue.d.ts +55 -0
- package/dist/types/protocol-core.d.ts +4 -216
- package/dist/types/runtime.d.ts +6 -39
- package/dist/types/server-message-files.d.ts +22 -0
- package/dist/types/server-message-mcp.d.ts +30 -0
- package/dist/types/server-message-system.d.ts +114 -0
- package/dist/types/server-message.d.ts +4 -3
- package/dist/types/system.d.ts +4 -24
- package/package.json +11 -10
- package/dist/assets/AgentRosterView-D4TuVXe8.js +0 -12
- package/dist/assets/AudienceMemoryPanel-DHJM4rf1.js +0 -3
- package/dist/assets/ChangesView-CZ-nCe26.js +0 -1
- package/dist/assets/ChimeraReviewsView-CNeRLesP.js +0 -1
- package/dist/assets/ChronicleDashboard-CYELq7EO.js +0 -1
- package/dist/assets/CodeEditor-CLscjkIR.js +0 -2
- package/dist/assets/CodeMap-CdVy9Q7V.js +0 -1
- package/dist/assets/GoalView-Cepqrg9l.js +0 -1
- package/dist/assets/KanbanView-FSePkLch.js +0 -3
- package/dist/assets/MemoryManager-IHmhWn4P.js +0 -1
- package/dist/assets/PromptJournalView-Ct8cLcGU.js +0 -1
- package/dist/assets/ProviderTestView-Dy3k2bVu.js +0 -1
- package/dist/assets/QueuePanel-oVkTB68Q.js +0 -1
- package/dist/assets/RequirementIntakeView-Cj5arGFF.js +0 -1
- package/dist/assets/SddFlowGraph-DS8R2zEj.js +0 -1
- package/dist/assets/SddHub-C8pHQYSM.js +0 -2
- package/dist/assets/SessionList-BgRb1Mp4.js +0 -1
- package/dist/assets/SetupScreen-CNcJ_9O9.js +0 -1
- package/dist/assets/SkillDetailView-Bc9owpaX.js +0 -3
- package/dist/assets/TechStackView-BHiGCRBT.js +0 -2
- package/dist/assets/TerminalPanel-7VeXK8LB.js +0 -1
- package/dist/assets/activity-1wlPY6yi.js +0 -10
- package/dist/assets/activity-BVbAv0x7.js +0 -10
- package/dist/assets/activity-BmJTU8kX.js +0 -10
- package/dist/assets/activity-By_aWEsY.js +0 -10
- package/dist/assets/activity-Cps_29WN.js +0 -10
- package/dist/assets/activity-Du_fOnvF.js +0 -10
- package/dist/assets/activity-p_2o4eC6.js +0 -10
- package/dist/assets/chat-6dE2AJNN.js +0 -1
- package/dist/assets/chat-B3AJmhGD.js +0 -1
- package/dist/assets/chat-BHsbpaVt.js +0 -1
- package/dist/assets/chat-BITJe8-v.js +0 -1
- package/dist/assets/chat-U-Jjb8_k.js +0 -1
- package/dist/assets/chat-_Xp5fDnj.js +0 -1
- package/dist/assets/chat-mSbSzPl5.js +0 -1
- package/dist/assets/chat-store-C-PKlsCR.js +0 -1
- package/dist/assets/common-BXosnbIt.js +0 -1
- package/dist/assets/common-CzfPgMjC.js +0 -1
- package/dist/assets/common-DDDPz7Dv.js +0 -1
- package/dist/assets/common-DYx9oSoC.js +0 -1
- package/dist/assets/common-DZ-05t4z.js +0 -1
- package/dist/assets/common-MjX8fcng.js +0 -1
- package/dist/assets/common-ipsuLC3n.js +0 -1
- package/dist/assets/config-store-xSv1mChc.js +0 -21
- package/dist/assets/i18n--QdD6NCn.js +0 -3
- package/dist/assets/index-DiX5j910.css +0 -1
- package/dist/assets/index-FWwLmwjx.js +0 -177
- package/dist/assets/roster-ws-CxKDc-ET.js +0 -1
- package/dist/assets/settings-B5Jy-ObI.js +0 -1
- package/dist/assets/settings-BXTJJ4n-.js +0 -1
- package/dist/assets/settings-BcXAVecM.js +0 -1
- package/dist/assets/settings-ByPfZHGm.js +0 -1
- package/dist/assets/settings-CCe4iHcn.js +0 -1
- package/dist/assets/settings-D2GLiaDO.js +0 -1
- package/dist/assets/settings-gB9nKL3f.js +0 -1
- package/dist/assets/stores-2kakt8j9.js +0 -7
- package/dist/assets/toasts-BsmyGP95.js +0 -1
- package/dist/assets/toasts-CgXHu8ZB.js +0 -1
- package/dist/assets/toasts-DZ6HdKgG.js +0 -1
- package/dist/assets/toasts-DizCJjAR.js +0 -1
- package/dist/assets/toasts-NC2MT4uN.js +0 -1
- package/dist/assets/toasts-bPl097de.js +0 -1
- package/dist/assets/toasts-tCVo15mP.js +0 -1
- package/dist/assets/ui-store-DC3mkswy.js +0 -1
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { type Connection, type Edge, type Node } from '@xyflow/react';
|
|
2
|
+
import '@xyflow/react/dist/style.css';
|
|
3
|
+
import type { OfficeNodeData } from './OfficeMapCanvas/utils.js';
|
|
4
|
+
export declare function useOfficeMapCanvas(): {
|
|
5
|
+
canvasRef: import("react").RefObject<HTMLDivElement | null>;
|
|
6
|
+
showHud: boolean;
|
|
7
|
+
t: import("i18next").TFunction<"translation", undefined>;
|
|
8
|
+
showLegend: boolean;
|
|
9
|
+
nodes: Node<OfficeNodeData>[];
|
|
10
|
+
edges: Edge[];
|
|
11
|
+
onNodesChange: import("@xyflow/react").OnNodesChange<Node<OfficeNodeData>>;
|
|
12
|
+
onEdgesChange: import("@xyflow/react").OnEdgesChange<Edge>;
|
|
13
|
+
onConnect: (params: Connection) => void;
|
|
14
|
+
onNodeClick: (_: React.MouseEvent, node: Node) => void;
|
|
15
|
+
onPaneClick: () => void;
|
|
16
|
+
broadcastOpen: boolean;
|
|
17
|
+
onArrange: () => void;
|
|
18
|
+
setBroadcastOpen: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
19
|
+
setShowFeed: (v: boolean) => void;
|
|
20
|
+
showFeed: boolean;
|
|
21
|
+
background: import("@/stores").BackgroundStyle;
|
|
22
|
+
showControls: boolean;
|
|
23
|
+
showMinimap: boolean;
|
|
24
|
+
vizEvents: import("@/stores").VizEvent[];
|
|
25
|
+
broadcastDraft: string;
|
|
26
|
+
broadcasting: boolean;
|
|
27
|
+
broadcastResult: string | null;
|
|
28
|
+
setBroadcastDraft: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
29
|
+
sendBroadcast: () => Promise<void>;
|
|
30
|
+
selectedNode: Node<OfficeNodeData> | null;
|
|
31
|
+
selectedAgentTranscript: import("@/stores").AgentTranscriptEntry[];
|
|
32
|
+
mailboxMessages: import("@/stores").MailboxMessage[];
|
|
33
|
+
setWatch: import("react").Dispatch<import("react").SetStateAction<{
|
|
34
|
+
sessionId: string;
|
|
35
|
+
label: string;
|
|
36
|
+
} | null>>;
|
|
37
|
+
watch: {
|
|
38
|
+
sessionId: string;
|
|
39
|
+
label: string;
|
|
40
|
+
} | null;
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=use-office-map-canvas.d.ts.map
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { TFunction } from 'i18next';
|
|
2
|
+
import '@xyflow/react/dist/style.css';
|
|
3
|
+
export declare function useOfficeMapTopology({ clients, canvasSize, mailboxMessages, t, leaderId, fleetAgents, prevAgentStatsRef, activeNodesRef, ACTIVE_MS, vizActivityRef, edgeIntensitiesRef, layoutPosRef, setNodes, setEdges, prevNodeSigRef, fitView, session, }: {
|
|
4
|
+
clients: import('./OfficeMapCanvas/resolve.js').ResolvedClient[];
|
|
5
|
+
canvasSize: {
|
|
6
|
+
width: number;
|
|
7
|
+
height: number;
|
|
8
|
+
};
|
|
9
|
+
mailboxMessages: import('../stores/mailbox-store.js').MailboxMessage[];
|
|
10
|
+
t: TFunction<'translation', undefined>;
|
|
11
|
+
leaderId: string | undefined;
|
|
12
|
+
fleetAgents: Map<string, import('../stores/types.js').SubagentView>;
|
|
13
|
+
prevAgentStatsRef: React.RefObject<Map<string, {
|
|
14
|
+
toolCalls: number;
|
|
15
|
+
iteration: number;
|
|
16
|
+
}>>;
|
|
17
|
+
activeNodesRef: React.RefObject<Map<string, number>>;
|
|
18
|
+
ACTIVE_MS: 4000;
|
|
19
|
+
vizActivityRef: React.RefObject<Map<string, number>>;
|
|
20
|
+
edgeIntensitiesRef: React.RefObject<Map<string, number>>;
|
|
21
|
+
layoutPosRef: React.RefObject<Map<string, {
|
|
22
|
+
x: number;
|
|
23
|
+
y: number;
|
|
24
|
+
}>>;
|
|
25
|
+
setNodes: React.Dispatch<React.SetStateAction<import('@xyflow/react').Node<import('./OfficeMapCanvas/utils.js').OfficeNodeData>[]>>;
|
|
26
|
+
setEdges: React.Dispatch<React.SetStateAction<import('@xyflow/react').Edge[]>>;
|
|
27
|
+
prevNodeSigRef: React.RefObject<string>;
|
|
28
|
+
fitView: import('@xyflow/react').FitView<import('@xyflow/react').Node>;
|
|
29
|
+
session: import('../stores/types.js').SessionInfo | null;
|
|
30
|
+
}): void;
|
|
31
|
+
//# sourceMappingURL=use-office-map-topology.d.ts.map
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
export declare function useSkillDetail({ className }: {
|
|
2
|
+
className?: string;
|
|
3
|
+
}): {
|
|
4
|
+
selectedSkill: {
|
|
5
|
+
name: string;
|
|
6
|
+
description: string;
|
|
7
|
+
version: string;
|
|
8
|
+
source: string;
|
|
9
|
+
sourceUrl: string;
|
|
10
|
+
ref: string;
|
|
11
|
+
path: string;
|
|
12
|
+
trigger: string;
|
|
13
|
+
scope: string[];
|
|
14
|
+
} | null;
|
|
15
|
+
t: import("i18next").TFunction<"translation", undefined>;
|
|
16
|
+
handleClose: () => void;
|
|
17
|
+
className: string | undefined;
|
|
18
|
+
handleCopySourceUrl: () => void;
|
|
19
|
+
copiedSourceUrl: boolean;
|
|
20
|
+
updateResult: {
|
|
21
|
+
updated: Array<{
|
|
22
|
+
name: string;
|
|
23
|
+
oldRef: string;
|
|
24
|
+
newRef: string;
|
|
25
|
+
}>;
|
|
26
|
+
unchanged: string[];
|
|
27
|
+
errors: Array<{
|
|
28
|
+
name: string;
|
|
29
|
+
error: string;
|
|
30
|
+
}>;
|
|
31
|
+
} | null;
|
|
32
|
+
handleCheckForUpdates: () => void;
|
|
33
|
+
checkingForUpdates: boolean;
|
|
34
|
+
editMode: boolean;
|
|
35
|
+
handleExportSkill: () => void;
|
|
36
|
+
handleStartEdit: () => void;
|
|
37
|
+
setUninstallConfirmSkill: import("react").Dispatch<import("react").SetStateAction<{
|
|
38
|
+
name: string;
|
|
39
|
+
description: string;
|
|
40
|
+
version: string;
|
|
41
|
+
source: string;
|
|
42
|
+
sourceUrl: string;
|
|
43
|
+
ref: string;
|
|
44
|
+
path: string;
|
|
45
|
+
trigger: string;
|
|
46
|
+
scope: string[];
|
|
47
|
+
} | null>>;
|
|
48
|
+
navHistory: {
|
|
49
|
+
name: string;
|
|
50
|
+
description: string;
|
|
51
|
+
version: string;
|
|
52
|
+
source: string;
|
|
53
|
+
sourceUrl: string;
|
|
54
|
+
ref: string;
|
|
55
|
+
path: string;
|
|
56
|
+
trigger: string;
|
|
57
|
+
scope: string[];
|
|
58
|
+
}[];
|
|
59
|
+
handleBreadcrumbBack: () => void;
|
|
60
|
+
historyIndex: number;
|
|
61
|
+
handleBreadcrumbForward: () => void;
|
|
62
|
+
isNavigatingBack: import("react").RefObject<boolean>;
|
|
63
|
+
setSkillsState: (state: import("@/stores/ui-store").UIState['skillsState']) => void;
|
|
64
|
+
skillsStateRef: import("react").RefObject<{
|
|
65
|
+
selectedSkill: {
|
|
66
|
+
name: string;
|
|
67
|
+
description: string;
|
|
68
|
+
version: string;
|
|
69
|
+
source: string;
|
|
70
|
+
sourceUrl: string;
|
|
71
|
+
ref: string;
|
|
72
|
+
path: string;
|
|
73
|
+
trigger: string;
|
|
74
|
+
scope: string[];
|
|
75
|
+
} | null;
|
|
76
|
+
navHistory: {
|
|
77
|
+
name: string;
|
|
78
|
+
description: string;
|
|
79
|
+
version: string;
|
|
80
|
+
source: string;
|
|
81
|
+
sourceUrl: string;
|
|
82
|
+
ref: string;
|
|
83
|
+
path: string;
|
|
84
|
+
trigger: string;
|
|
85
|
+
scope: string[];
|
|
86
|
+
}[];
|
|
87
|
+
historyIndex: number;
|
|
88
|
+
detailOpen: boolean;
|
|
89
|
+
knownRefs: Record<string, string>;
|
|
90
|
+
updateAvailableCount: number;
|
|
91
|
+
}>;
|
|
92
|
+
setEditMode: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
93
|
+
setEditContent: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
94
|
+
setUpdateResult: import("react").Dispatch<import("react").SetStateAction<{
|
|
95
|
+
updated: Array<{
|
|
96
|
+
name: string;
|
|
97
|
+
oldRef: string;
|
|
98
|
+
newRef: string;
|
|
99
|
+
}>;
|
|
100
|
+
unchanged: string[];
|
|
101
|
+
errors: Array<{
|
|
102
|
+
name: string;
|
|
103
|
+
error: string;
|
|
104
|
+
}>;
|
|
105
|
+
} | null>>;
|
|
106
|
+
skillContent: SkillContent | null;
|
|
107
|
+
findSkillByName: (name: string) => {
|
|
108
|
+
name: string;
|
|
109
|
+
description: string;
|
|
110
|
+
version: string;
|
|
111
|
+
source: string;
|
|
112
|
+
sourceUrl: string;
|
|
113
|
+
ref: string;
|
|
114
|
+
path: string;
|
|
115
|
+
trigger: string;
|
|
116
|
+
scope: string[];
|
|
117
|
+
} | undefined;
|
|
118
|
+
handleNavigateToSkill: (name: string) => void;
|
|
119
|
+
contentLoading: boolean;
|
|
120
|
+
editStats: {
|
|
121
|
+
lines: number;
|
|
122
|
+
words: number;
|
|
123
|
+
chars: number;
|
|
124
|
+
};
|
|
125
|
+
charsWarning: {
|
|
126
|
+
level: 'warn' | 'critical';
|
|
127
|
+
used: number;
|
|
128
|
+
limit: number;
|
|
129
|
+
} | null;
|
|
130
|
+
draftSavedAt: number | null;
|
|
131
|
+
draftRestored: boolean;
|
|
132
|
+
editError: string | null;
|
|
133
|
+
handleDiscardDraft: () => void;
|
|
134
|
+
handleCancelEdit: () => void;
|
|
135
|
+
setSplitPreview: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
136
|
+
splitPreview: boolean;
|
|
137
|
+
handleSaveEdit: () => void;
|
|
138
|
+
editSaving: boolean;
|
|
139
|
+
editContent: string;
|
|
140
|
+
skillScrollRef: import("react").RefObject<HTMLDivElement | null>;
|
|
141
|
+
contentError: string | null;
|
|
142
|
+
client: import("../lib").WrongStackWebSocketClient;
|
|
143
|
+
setContentLoading: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
144
|
+
setContentError: import("react").Dispatch<import("react").SetStateAction<string | null>>;
|
|
145
|
+
uninstallConfirmSkill: {
|
|
146
|
+
name: string;
|
|
147
|
+
description: string;
|
|
148
|
+
version: string;
|
|
149
|
+
source: string;
|
|
150
|
+
sourceUrl: string;
|
|
151
|
+
ref: string;
|
|
152
|
+
path: string;
|
|
153
|
+
trigger: string;
|
|
154
|
+
scope: string[];
|
|
155
|
+
} | null;
|
|
156
|
+
uninstalling: boolean;
|
|
157
|
+
handleUninstallSkill: (skill: {
|
|
158
|
+
name: string;
|
|
159
|
+
description: string;
|
|
160
|
+
version: string;
|
|
161
|
+
source: string;
|
|
162
|
+
sourceUrl: string;
|
|
163
|
+
ref: string;
|
|
164
|
+
path: string;
|
|
165
|
+
trigger: string;
|
|
166
|
+
scope: string[];
|
|
167
|
+
} | null) => Promise<void>;
|
|
168
|
+
};
|
|
169
|
+
export interface SkillContent {
|
|
170
|
+
name: string;
|
|
171
|
+
body: string;
|
|
172
|
+
path: string;
|
|
173
|
+
source: string;
|
|
174
|
+
relatedFiles: string[];
|
|
175
|
+
references: string[];
|
|
176
|
+
}
|
|
177
|
+
//# sourceMappingURL=use-skill-detail.d.ts.map
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vector Memory panel — minimal visibility surface for the WebUI.
|
|
3
|
+
*
|
|
4
|
+
* Fetches `/api/vector-memory/status` and `/api/vector-memory/search` to
|
|
5
|
+
* show the active store/provider, model cache location, entry counts, and
|
|
6
|
+
* a search UI with ranked results. When the route is disabled (the
|
|
7
|
+
* webui-server host doesn't wire a vector store), the panel renders a
|
|
8
|
+
* disabled placeholder.
|
|
9
|
+
*/
|
|
1
10
|
interface VectorMemoryCacheStats {
|
|
2
11
|
entries: number;
|
|
3
12
|
providers: number;
|
|
@@ -21,17 +21,17 @@ export declare function useWebSocketBootstrap(): void;
|
|
|
21
21
|
export declare function useWebSocket(): {
|
|
22
22
|
client: WrongStackWebSocketClient;
|
|
23
23
|
sendMessage: (content: string, images?: import('@/types').WSUserMessageImage[], freshContext?: boolean) => string | null;
|
|
24
|
-
adviseTopic: (prompt: string) => Promise<import("
|
|
24
|
+
adviseTopic: (prompt: string) => Promise<import("@wrongstack/webui-protocol").SessionScopedPayload & {
|
|
25
25
|
requestId: string;
|
|
26
26
|
suggestNewContext: boolean;
|
|
27
27
|
confidence: number;
|
|
28
28
|
reason: string;
|
|
29
29
|
nextTopic?: string | undefined;
|
|
30
|
-
source: 'explicit' | 'model' | 'cache' | 'local';
|
|
30
|
+
source: 'explicit' | 'model' | 'system-one' | 'cache' | 'local';
|
|
31
31
|
}>;
|
|
32
32
|
sendAbort: () => void;
|
|
33
33
|
sendMailboxMessage: (opts: Parameters<(opts: import("@/lib/ws-client").WSMailboxSendOptions, sessionId?: string | undefined) => string>[0]) => string;
|
|
34
|
-
sendConfirm: (id: string, decision: 'yes' | 'no' | 'always' | 'deny') => void;
|
|
34
|
+
sendConfirm: (id: string, decision: 'yes' | 'no' | 'always' | 'always-exact' | 'always-command' | 'always-tool' | 'deny') => void;
|
|
35
35
|
switchModel: (provider: string, model: string) => Promise<{
|
|
36
36
|
requestId?: string | undefined;
|
|
37
37
|
success: boolean;
|
|
@@ -49,7 +49,7 @@ export declare function useWebSocket(): {
|
|
|
49
49
|
updateKey: (providerId: string, label: string, apiKey: string) => void;
|
|
50
50
|
deleteKey: (providerId: string, label: string) => void;
|
|
51
51
|
setActiveKey: (providerId: string, label: string) => void;
|
|
52
|
-
addProvider: (id: string, family: string, baseUrl?: string | undefined, apiKey?: string, models?: string[] | undefined, customModels?: Record<string, ProviderCustomModelWire> | undefined) => void;
|
|
52
|
+
addProvider: (id: string, family: string, baseUrl?: string | undefined, apiKey?: string, models?: string[] | undefined, customModels?: Record<string, ProviderCustomModelWire> | undefined, providerType?: string | undefined) => void;
|
|
53
53
|
removeProvider: (providerId: string) => void;
|
|
54
54
|
listSessions: (limit?: number) => void;
|
|
55
55
|
deleteSession: (id: string) => void;
|
|
@@ -131,7 +131,6 @@ export declare function useWebSocket(): {
|
|
|
131
131
|
}) => void;
|
|
132
132
|
deleteContextMode: (id: string) => void;
|
|
133
133
|
repairContext: () => void;
|
|
134
|
-
toggleGoalAutonomous: (autonomous: boolean) => void;
|
|
135
134
|
startGoal: (title: string, phases?: unknown[] | undefined, autonomous?: boolean) => void;
|
|
136
135
|
pauseGoal: () => void;
|
|
137
136
|
resumeGoal: () => void;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { WSServerMessage } from '@/types';
|
|
2
|
+
export declare function handleBrainStatus(msg: WSServerMessage): void;
|
|
3
|
+
export declare function handleBrainAnswer(msg: WSServerMessage): void;
|
|
4
|
+
/**
|
|
5
|
+
* Council seat votes are NOT buffered here: the council log store already
|
|
6
|
+
* tracks each panel's seats per request id (deduped by seat id, retained as
|
|
7
|
+
* whole panels in its ring buffer). `brain.council_vote` fires once per seat
|
|
8
|
+
* and `brain.council_resolved` once per panel, both from inside
|
|
9
|
+
* `council.decide()`. Both reached the browser and were dropped on the
|
|
10
|
+
* floor, so the most expensive Brain tier — one provider call per seat — was
|
|
11
|
+
* completely invisible in the UI. The resolved handler reads the panel's
|
|
12
|
+
* seats back from the store, so vote eviction is per-panel (per-request): a
|
|
13
|
+
* live panel's seats can never be dropped by other requests' vote traffic
|
|
14
|
+
* (the old global 50-vote buffer could). Whole panels still age out of the
|
|
15
|
+
* store's ring buffer, which is the intended log retention.
|
|
16
|
+
*/
|
|
17
|
+
export declare function handleBrainEvent(msg: WSServerMessage): void;
|
|
18
|
+
//# sourceMappingURL=brain-handlers.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { WSServerMessage } from '@/types';
|
|
2
|
+
export declare function handleGoalState(msg: WSServerMessage): void;
|
|
3
|
+
export declare function handleGoalProgress(msg: WSServerMessage): void;
|
|
4
|
+
export declare function handleGoalLifecycle(msg: WSServerMessage): void;
|
|
5
|
+
export declare function handleGoalList(msg: WSServerMessage): void;
|
|
6
|
+
export declare function handleGoalUpdated(msg: WSServerMessage): void;
|
|
7
|
+
export declare function handleGoalRefining(msg: WSServerMessage): void;
|
|
8
|
+
export declare function handleGoalStateError(msg: WSServerMessage): void;
|
|
9
|
+
//# sourceMappingURL=goal-handlers.d.ts.map
|
|
@@ -1,27 +1,6 @@
|
|
|
1
1
|
import type { WSServerMessage } from '@/types';
|
|
2
|
-
export declare function handleGoalState(msg: WSServerMessage): void;
|
|
3
|
-
export declare function handleGoalProgress(msg: WSServerMessage): void;
|
|
4
|
-
export declare function handleGoalLifecycle(msg: WSServerMessage): void;
|
|
5
|
-
export declare function handleGoalList(msg: WSServerMessage): void;
|
|
6
|
-
export declare function handleGoalUpdated(msg: WSServerMessage): void;
|
|
7
2
|
export declare function handlePrefsUpdated(msg: WSServerMessage): void;
|
|
8
3
|
export declare function handleSystemPromptInfo(msg: WSServerMessage): void;
|
|
9
|
-
export declare function handleBrainStatus(msg: WSServerMessage): void;
|
|
10
|
-
export declare function handleBrainAnswer(msg: WSServerMessage): void;
|
|
11
|
-
/**
|
|
12
|
-
* Council seat votes are NOT buffered here: the council log store already
|
|
13
|
-
* tracks each panel's seats per request id (deduped by seat id, retained as
|
|
14
|
-
* whole panels in its ring buffer). `brain.council_vote` fires once per seat
|
|
15
|
-
* and `brain.council_resolved` once per panel, both from inside
|
|
16
|
-
* `council.decide()`. Both reached the browser and were dropped on the
|
|
17
|
-
* floor, so the most expensive Brain tier — one provider call per seat — was
|
|
18
|
-
* completely invisible in the UI. The resolved handler reads the panel's
|
|
19
|
-
* seats back from the store, so vote eviction is per-panel (per-request): a
|
|
20
|
-
* live panel's seats can never be dropped by other requests' vote traffic
|
|
21
|
-
* (the old global 50-vote buffer could). Whole panels still age out of the
|
|
22
|
-
* store's ring buffer, which is the intended log retention.
|
|
23
|
-
*/
|
|
24
|
-
export declare function handleBrainEvent(msg: WSServerMessage): void;
|
|
25
4
|
export declare function handleMemoryEvent(msg: WSServerMessage): void;
|
|
26
5
|
export declare function handleCollabEvent(msg: WSServerMessage): void;
|
|
27
6
|
export declare function handleCollabInjectionGranted(msg: WSServerMessage): void;
|
|
@@ -56,4 +35,6 @@ export declare function handleChimeraReportAvailable(msg: WSServerMessage): void
|
|
|
56
35
|
*/
|
|
57
36
|
export declare function handleChimeraReports(msg: WSServerMessage): void;
|
|
58
37
|
export declare const miscHandlerMap: Partial<Record<string, (msg: WSServerMessage) => void>>;
|
|
38
|
+
export { handleBrainAnswer, handleBrainEvent, handleBrainStatus } from './brain-handlers.js';
|
|
39
|
+
export { handleGoalLifecycle, handleGoalList, handleGoalProgress, handleGoalState, handleGoalUpdated, } from './goal-handlers.js';
|
|
59
40
|
//# sourceMappingURL=misc-handlers.d.ts.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { WSServerMessage } from '@/types';
|
|
2
|
+
export declare function removeServerQueuedPrompt(sessionId: string, id: string): void;
|
|
3
|
+
export declare function clearServerQueue(sessionId: string): void;
|
|
4
|
+
/**
|
|
5
|
+
* Ask for a session's queue when the session starts on this connection — the
|
|
6
|
+
* moment the capability is known. Opening the session is also the server's cue
|
|
7
|
+
* to run whatever a previous host left queued.
|
|
8
|
+
*/
|
|
9
|
+
export declare function requestPromptQueue(msg: WSServerMessage): void;
|
|
10
|
+
declare function handleQueueState(msg: WSServerMessage): void;
|
|
11
|
+
/** A queued prompt started its turn: it becomes the user's message in the transcript. */
|
|
12
|
+
declare function handleQueueDrained(msg: WSServerMessage): void;
|
|
13
|
+
export declare const promptQueueHandlerMap: {
|
|
14
|
+
'queue.state': typeof handleQueueState;
|
|
15
|
+
'queue.drained': typeof handleQueueDrained;
|
|
16
|
+
};
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=prompt-queue-handlers.d.ts.map
|