@wrongstack/webui 0.306.4 → 0.307.1
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-Bb5m_XjZ.js +9 -0
- package/dist/assets/AnalyticsDashboard-lqPCAo9u.js +1 -0
- package/dist/assets/AudienceMemoryPanel-putWTq5V.js +3 -0
- package/dist/assets/{ChangesView-DplR2Twb.js → ChangesView-Cw-qvOLA.js} +1 -1
- package/dist/assets/ChronicleDashboard-DQdMkTLQ.js +1 -0
- package/dist/assets/CodeEditor-BAv2f4se.js +2 -0
- package/dist/assets/CodeMap-BB1WETLd.js +1 -0
- package/dist/assets/ConfirmModal-LBZaZgsG.js +1 -0
- package/dist/assets/CronJobsPanel-DE5CVuSW.js +1 -0
- package/dist/assets/{DeadCodeScanPanel-Dp6vW6pV.js → DeadCodeScanPanel-nlQ9nL3Y.js} +1 -1
- package/dist/assets/{DebugDashboard-d4ETqxOe.js → DebugDashboard-CgRH9SvC.js} +1 -1
- package/dist/assets/{DesignGalleryView-3jRTmgzx.js → DesignGalleryView-Uwo3JXyu.js} +1 -1
- package/dist/assets/GoalView-Cc4B-0Qd.js +1 -0
- package/dist/assets/KanbanView-CK4bvZfi.js +3 -0
- package/dist/assets/MailboxDetailView-CGwtSBcH.js +1 -0
- package/dist/assets/{MemoryDrawer-DIrEAQNI.js → MemoryDrawer-Cw1IiFCO.js} +1 -1
- package/dist/assets/MemoryManager-l0R8JBzL.js +1 -0
- package/dist/assets/{ModelPicker-OSfUtS6_.js → ModelPicker-DC-XCx0f.js} +1 -1
- package/dist/assets/OfficeMapPanel-CUI0PJBI.js +4 -0
- package/dist/assets/{ProcessMonitor-SLnEEbRY.js → ProcessMonitor-DLD6PrVx.js} +1 -1
- package/dist/assets/PromptJournalView-Cf1szLLw.js +1 -0
- package/dist/assets/{QueuePanel-BszNSrlq.js → QueuePanel-O7IsaKUs.js} +1 -1
- package/dist/assets/{RefreshDebugView-DA6cPIhw.js → RefreshDebugView-CuKbgI-T.js} +1 -1
- package/dist/assets/RequirementIntakeView-Bg8ZoV7J.js +1 -0
- package/dist/assets/{SageTabs-BR09lBUK.js → SageTabs-Bk8VDMmR.js} +2 -2
- package/dist/assets/SddFlowGraph-DdYgCVM_.js +1 -0
- package/dist/assets/SddHub-tQztZlHf.js +2 -0
- package/dist/assets/{SessionInspectView-Bf3X0qK8.js → SessionInspectView-BnoD3YER.js} +1 -1
- package/dist/assets/SessionList-BRbF7FVS.js +1 -0
- package/dist/assets/{SessionsDashboard-CwuOKWQc.js → SessionsDashboard-7heYIhHQ.js} +1 -1
- package/dist/assets/SetupScreen-CQW-6bhj.js +1 -0
- package/dist/assets/SkillDetailView-DdxB0JI4.js +3 -0
- package/dist/assets/{SpecsView-Do8eQuTN.js → SpecsView-BAnFfPPH.js} +1 -1
- package/dist/assets/TechStackView-DJeNOZE9.js +2 -0
- package/dist/assets/{TerminalPanel-Pq97A882.js → TerminalPanel-v3SC9LTq.js} +1 -1
- package/dist/assets/Toaster-wXvKXbbS.js +1 -0
- package/dist/assets/{activity-Dr_u3dOm.js → activity-C0qPnCbW.js} +2 -2
- package/dist/assets/{activity-Dzgvt4Nh.js → activity-DTSVEiLK.js} +2 -2
- package/dist/assets/{activity-L2_b8Uan.js → activity-DWHlYL9x.js} +2 -2
- package/dist/assets/{activity-gB90peLu.js → activity-DjnYvN9C.js} +2 -2
- package/dist/assets/{activity-Dg9Q9kwt.js → activity-fdbTRXeg.js} +3 -3
- package/dist/assets/{activity-BI4XyF_x.js → activity-jL8-j1D0.js} +2 -2
- package/dist/assets/{activity-IttuV5ar.js → activity-phJuGuf4.js} +2 -2
- package/dist/assets/{button-DvHe5h9X.js → button-DvpRpKkt.js} +1 -1
- package/dist/assets/{chat-CdiY7G6Z.js → chat-CzaGXz_W.js} +1 -1
- package/dist/assets/chat-store-c0pGYczr.js +17 -0
- package/dist/assets/codemap-activity-store-BH7Mh4k9.js +1 -0
- package/dist/assets/codemap-index-store-BFm1TzVW.js +1 -0
- package/dist/assets/{commandPalette-DpaemFux.js → commandPalette-BovBiPec.js} +1 -1
- package/dist/assets/common-BBHmIHQW.js +1 -0
- package/dist/assets/common-C3PzxyXg.js +1 -0
- package/dist/assets/common-CUWL8eNX.js +1 -0
- package/dist/assets/common-CvSB5NM3.js +1 -0
- package/dist/assets/common-DT2FL9xN.js +1 -0
- package/dist/assets/common-DuR5FTPN.js +1 -0
- package/dist/assets/common-xPePelft.js +1 -0
- package/dist/assets/{css.worker-B1A7g9RU.js → css.worker-DRH2OcAG.js} +14 -14
- package/dist/assets/{dialog-jbs7gu-q.js → dialog-BJjDUqb3.js} +1 -1
- package/dist/assets/{empty-state-D-ojp6Gp.js → empty-state-Cefmzojx.js} +1 -1
- package/dist/assets/{html.worker-NdFMIQdB.js → html.worker-DQLddT9h.js} +17 -17
- package/dist/assets/i18n-CDoHRskt.js +2 -0
- package/dist/assets/index-BRJ_UrGk.js +133 -0
- package/dist/assets/index-BRs425Ir.css +1 -0
- package/dist/assets/{input-oJ0Gehqp.js → input-BtoHcCl9.js} +1 -1
- package/dist/assets/json.worker-D_Dqrls5.js +62 -0
- package/dist/assets/mailbox-store-bF96Ih2G.js +1 -0
- package/dist/assets/markdown-CIRD7kOg.js +44 -0
- package/dist/assets/monaco-BCqJp2xW.js +1236 -0
- package/dist/assets/{monaco-theme-DSeCDzQy.js → monaco-theme-CR1QvFi2.js} +1 -1
- package/dist/assets/{rolldown-runtime-QTnfLwEv.js → rolldown-runtime-hePW80VL.js} +1 -1
- package/dist/assets/{roster-ws-DobwmzEj.js → roster-ws-CK52jAnG.js} +1 -1
- package/dist/assets/session-store-BgiP4PnQ.js +1 -0
- package/dist/assets/{settings-t7_uBgp_.js → settings-CbtB0i7o.js} +1 -1
- package/dist/assets/{setup-BFcmn89w.js → setup-DfcCCvUO.js} +1 -1
- package/dist/assets/{shared-CiaNczO0.js → shared-B3czc2Dj.js} +1 -1
- package/dist/assets/stores-DSGsI875.js +7 -0
- package/dist/assets/{toasts-BL_8kH4B.js → toasts-DOfXc7Rt.js} +1 -1
- package/dist/assets/{ts.worker-XonqDHUu.js → ts.worker-DkYoA6bF.js} +45 -45
- package/dist/assets/ui-store-xx1NssJI.js +1 -0
- package/dist/assets/useWebSocket-BFFntyS4.js +29 -0
- package/dist/assets/utils-tsZEnrBH.js +1 -0
- package/dist/assets/vendor-C_zEzV4N.js +139 -0
- package/dist/assets/{view-navigation-D-afwlSZ.js → view-navigation-CZKugncK.js} +1 -1
- package/dist/assets/ws-client-B3MVz75-.js +1 -0
- package/dist/assets/xterm-BWzBEEhg.js +18 -0
- package/dist/components/ChatInput/composer-button-bar.d.ts +24 -0
- package/dist/components/ChatInput/next-steps-helpers.d.ts +19 -0
- package/dist/components/ChatInput/use-chat-input-mcp.d.ts +8 -0
- package/dist/components/ChatInput/use-refine-timeout.d.ts +9 -0
- package/dist/components/ChatView/ChatDisplayToggles.d.ts +18 -0
- package/dist/components/ChatView/ChatHeader.d.ts +60 -0
- package/dist/components/ChatView/ChatRowView.d.ts +9 -0
- package/dist/components/ChatView/ToggleSwitch.d.ts +6 -0
- package/dist/components/ChatView/useChatViewState.d.ts +80 -0
- package/dist/components/ContextBar.d.ts +15 -2
- package/dist/components/FileExplorer/FileExplorerModals.d.ts +44 -0
- package/dist/components/FileExplorer/TreeRow.d.ts +23 -0
- package/dist/components/FileExplorer/tree-helpers.d.ts +16 -0
- package/dist/components/FileExplorer/types.d.ts +19 -0
- package/dist/components/MemoryManager/MemoryDrawerToolbar.d.ts +8 -0
- package/dist/components/MemoryManager/MemoryManagerHeader.d.ts +7 -0
- package/dist/components/MemoryManager/MemoryManagerStatsBar.d.ts +8 -0
- package/dist/components/MemoryManager/useMemoryManagerState.d.ts +85 -0
- package/dist/components/PromptJournalView.d.ts +2 -0
- package/dist/components/SddWizard.d.ts +0 -6
- package/dist/components/SettingsPanel/AgentSettingsTab.d.ts +5 -0
- package/dist/components/SettingsPanel/ContextSettingsTab.d.ts +4 -0
- package/dist/components/SettingsPanel/ExecutionSettingsTab.d.ts +6 -0
- package/dist/components/SettingsPanel/LogsSettingsTab.d.ts +4 -0
- package/dist/components/TechStackView/shared.d.ts +1 -0
- package/dist/components/self-learning/SelfLearningAgentList.d.ts +9 -0
- package/dist/components/self-learning/SelfLearningDetail.d.ts +39 -0
- package/dist/components/self-learning/types.d.ts +30 -0
- package/dist/components/self-learning/use-self-learning-state.d.ts +46 -0
- package/dist/hooks/ws-handlers/files-mailbox-handlers.d.ts +19 -0
- package/dist/hooks/ws-handlers/session-context-handlers.d.ts +18 -0
- package/dist/hooks/ws-handlers/session-execution-handlers.d.ts +24 -0
- package/dist/hooks/ws-handlers/session-handlers.d.ts +3 -36
- package/dist/hooks/ws-handlers/session-replay-handlers.d.ts +22 -0
- package/dist/index.html +31 -31
- package/dist/index.js +18021 -15149
- package/dist/lib/view-navigation.d.ts +1 -1
- package/dist/lib/ws-client-domain-methods.d.ts +86 -0
- package/dist/lib/ws-client.d.ts +2 -83
- package/dist/stores/chat-queue-helpers.d.ts +9 -0
- package/dist/stores/chat-retention.d.ts +14 -0
- package/dist/stores/chat-store-types.d.ts +106 -0
- package/dist/stores/chat-store.d.ts +6 -183
- package/dist/stores/file-store.d.ts +72 -3
- package/dist/stores/session-store.d.ts +20 -0
- package/dist/stores/ui-store.d.ts +3 -3
- package/dist/types/client-message.d.ts +51 -0
- package/dist/types/protocol-core.d.ts +2 -0
- package/dist/types/runtime.d.ts +1 -0
- package/dist/types/server-message.d.ts +76 -0
- package/package.json +20 -20
- package/dist/assets/AgentRosterView-X4NWBm16.js +0 -9
- package/dist/assets/AnalyticsDashboard-CvEY3lEY.js +0 -1
- package/dist/assets/AudienceMemoryPanel-ChhQVsbD.js +0 -3
- package/dist/assets/ChronicleDashboard-BpykJceZ.js +0 -1
- package/dist/assets/CodeEditor-DQDKQlAo.js +0 -1
- package/dist/assets/CodeMap-CnlnHM8P.js +0 -1
- package/dist/assets/ConfirmModal-BD6pUkAB.js +0 -1
- package/dist/assets/CronJobsPanel-Dp9xc7vb.js +0 -1
- package/dist/assets/GoalView-CoMRM0Vo.js +0 -1
- package/dist/assets/KanbanView-BMHq13vg.js +0 -3
- package/dist/assets/MailboxDetailView-C0n5fMGN.js +0 -1
- package/dist/assets/MemoryManager-CEfDQuV9.js +0 -1
- package/dist/assets/OfficeMapPanel-TIRw1a9O.js +0 -4
- package/dist/assets/RequirementIntakeView-CN7Yympd.js +0 -1
- package/dist/assets/SddFlowGraph-B-5J7zOV.js +0 -1
- package/dist/assets/SddHub-CkjrCykN.js +0 -2
- package/dist/assets/SessionList-cAmzxd3Z.js +0 -1
- package/dist/assets/SetupScreen-DZUvrhr0.js +0 -1
- package/dist/assets/SkillDetailView-CULufBnT.js +0 -3
- package/dist/assets/TechStackView-B2v5LoJp.js +0 -1
- package/dist/assets/Toaster-Dic3369l.js +0 -1
- package/dist/assets/chat-store-BgCgMMd0.js +0 -17
- package/dist/assets/codemap-activity-store-DBdfN0ix.js +0 -1
- package/dist/assets/codemap-index-store-45CkVCxN.js +0 -1
- package/dist/assets/common-BXJbu5Y-.js +0 -1
- package/dist/assets/common-BiNu_WzQ.js +0 -1
- package/dist/assets/common-COVxQ0FV.js +0 -1
- package/dist/assets/common-Ch7JihXD.js +0 -1
- package/dist/assets/common-DPaTeTls.js +0 -1
- package/dist/assets/common-DdGpRh8j.js +0 -1
- package/dist/assets/common-pI6fYZW3.js +0 -1
- package/dist/assets/i18n-nlW2iAya.js +0 -2
- package/dist/assets/index-eK0iH6jY.js +0 -133
- package/dist/assets/index-mNf-KFcC.css +0 -1
- package/dist/assets/json.worker-Ax0gao5O.js +0 -62
- package/dist/assets/mailbox-store-BuLRsYu3.js +0 -1
- package/dist/assets/markdown-sSmz-Ua_.js +0 -44
- package/dist/assets/monaco-BLUV5g0U.js +0 -1236
- package/dist/assets/session-store-DkPaOIhe.js +0 -1
- package/dist/assets/stores-BpVw7ENx.js +0 -7
- package/dist/assets/ui-store-FVcXVdRC.js +0 -1
- package/dist/assets/useWebSocket-Dh-clEvj.js +0 -29
- package/dist/assets/utils-D1fGupR8.js +0 -1
- package/dist/assets/vendor-AeHpGMaG.js +0 -139
- package/dist/assets/ws-client-B7j8isQb.js +0 -1
- package/dist/assets/xterm-DUBp1lnG.js +0 -35
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { CustomRosterStats } from '../agent-roster-data.js';
|
|
2
|
+
import type { AutoOptimizeStatus, RetiredDirective, RoleSkill } from './types.js';
|
|
3
|
+
export declare function useSelfLearningState({ customStats, onRefresh, }: {
|
|
4
|
+
customStats: CustomRosterStats[];
|
|
5
|
+
onRefresh: () => void;
|
|
6
|
+
}): {
|
|
7
|
+
selectedRole: string | null;
|
|
8
|
+
reviewEntries: string[] | null;
|
|
9
|
+
setReviewEntries: import("react").Dispatch<import("react").SetStateAction<string[] | null>>;
|
|
10
|
+
reviewDecisions: Record<number, "drop" | "keep">;
|
|
11
|
+
setReviewDecisions: import("react").Dispatch<import("react").SetStateAction<Record<number, "drop" | "keep">>>;
|
|
12
|
+
teachInput: string;
|
|
13
|
+
setTeachInput: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
14
|
+
teachFeedback: {
|
|
15
|
+
ok: boolean;
|
|
16
|
+
msg: string;
|
|
17
|
+
} | null;
|
|
18
|
+
saving: boolean;
|
|
19
|
+
loadingEntries: boolean;
|
|
20
|
+
consolidatedContent: string | null;
|
|
21
|
+
setConsolidatedContent: import("react").Dispatch<import("react").SetStateAction<string | null>>;
|
|
22
|
+
optimizing: boolean;
|
|
23
|
+
bulkOptimizing: boolean;
|
|
24
|
+
skills: RoleSkill[] | null;
|
|
25
|
+
retired: RetiredDirective[] | null;
|
|
26
|
+
showRetired: boolean;
|
|
27
|
+
setShowRetired: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
28
|
+
autoStatus: AutoOptimizeStatus | null;
|
|
29
|
+
openSkill: {
|
|
30
|
+
skill: string;
|
|
31
|
+
content: string;
|
|
32
|
+
} | null;
|
|
33
|
+
populated: CustomRosterStats[];
|
|
34
|
+
selectedStats: CustomRosterStats | null | undefined;
|
|
35
|
+
loadEntries: (role: string) => Promise<void>;
|
|
36
|
+
applyReview: () => Promise<void>;
|
|
37
|
+
runTeach: () => Promise<void>;
|
|
38
|
+
setLearningEnabled: (role: string, enabled: boolean) => Promise<void>;
|
|
39
|
+
toggleSkillBody: (role: string, skill: string) => Promise<void>;
|
|
40
|
+
toggleSkillPin: (role: string, skill: string, pinned: boolean) => Promise<void>;
|
|
41
|
+
loadConsolidated: (role: string) => Promise<void>;
|
|
42
|
+
runOptimize: (role: string) => Promise<void>;
|
|
43
|
+
runBulkOptimize: (roles: string[]) => Promise<void>;
|
|
44
|
+
selectRole: (role: string) => void;
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=use-self-learning-state.d.ts.map
|
|
@@ -2,9 +2,28 @@ import type { WSServerMessage } from '@/types';
|
|
|
2
2
|
declare function queryMailbox(): void;
|
|
3
3
|
declare function debouncedRefresh(): void;
|
|
4
4
|
export { debouncedRefresh, queryMailbox };
|
|
5
|
+
/**
|
|
6
|
+
* Reconcile rehydrated editor tabs once the server environment is known.
|
|
7
|
+
*
|
|
8
|
+
* Tabs persist as path-only stubs (content is never trusted across a reload
|
|
9
|
+
* — stale cached content would silently overwrite on-disk changes on the
|
|
10
|
+
* next save). After a reload their content is empty and must be re-fetched
|
|
11
|
+
* from disk before the user edits or saves. When the canonical project
|
|
12
|
+
* identity (`projectIdentity`, an absolute env root — NOT the `projectRoot`
|
|
13
|
+
* display label, which can be a cwd-relative label) differs from the server
|
|
14
|
+
* root, the tabs belong to a different project and are dropped instead of
|
|
15
|
+
* restored. Re-fetch responses route through `hydrateFileContent`, which
|
|
16
|
+
* never steals focus and never overwrites mid-flight user edits.
|
|
17
|
+
*/
|
|
18
|
+
export declare function reconcileFileTabsAfterEnvChange(projectRoot: string): void;
|
|
5
19
|
export declare function handleFilesTree(msg: WSServerMessage): void;
|
|
6
20
|
export declare function handleFilesRead(msg: WSServerMessage): void;
|
|
7
21
|
export declare function handleFilesWritten(msg: WSServerMessage): void;
|
|
22
|
+
export declare function handleFilesCreated(msg: WSServerMessage): void;
|
|
23
|
+
export declare function handleFilesDeleted(msg: WSServerMessage): void;
|
|
24
|
+
export declare function handleFilesRenamed(msg: WSServerMessage): void;
|
|
25
|
+
export declare function handleFilesMoved(msg: WSServerMessage): void;
|
|
26
|
+
export declare function handleFilesTreeChanged(_msg: WSServerMessage): void;
|
|
8
27
|
export declare function handleMailboxEvent(msg: WSServerMessage): void;
|
|
9
28
|
export declare function handleMailboxMessages(msg: WSServerMessage): void;
|
|
10
29
|
export declare function handleMailboxAgents(msg: WSServerMessage): void;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { WSServerMessage } from '@/types';
|
|
2
|
+
export declare const warnedCostModels: Set<string>;
|
|
3
|
+
export declare function flushThinkingLogForCurrentIteration(): void;
|
|
4
|
+
export declare function handleContextDebug(msg: WSServerMessage): void;
|
|
5
|
+
export declare function handleKeyOperationResult(msg: WSServerMessage): void;
|
|
6
|
+
export declare function handleModelSwitchResult(msg: WSServerMessage): void;
|
|
7
|
+
export declare function handleContextCompacted(msg: WSServerMessage): void;
|
|
8
|
+
export declare function handleCompactionFailed(msg: WSServerMessage): void;
|
|
9
|
+
export declare function handleTrustPersisted(msg: WSServerMessage): void;
|
|
10
|
+
export declare function handleContextRepaired(msg: WSServerMessage): void;
|
|
11
|
+
export declare function handleContextPct(msg: WSServerMessage): void;
|
|
12
|
+
export declare function handleContextMaxContext(msg: WSServerMessage): void;
|
|
13
|
+
export declare function handleTokenThreshold(msg: WSServerMessage): void;
|
|
14
|
+
export declare function handleTokenCostEstimateUnavailable(msg: WSServerMessage): void;
|
|
15
|
+
export declare function handleContextModesList(msg: WSServerMessage): void;
|
|
16
|
+
export declare function handleContextModeChanged(msg: WSServerMessage): void;
|
|
17
|
+
export declare function handleError(msg: WSServerMessage): void;
|
|
18
|
+
//# sourceMappingURL=session-context-handlers.d.ts.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { WSServerMessage } from '@/types';
|
|
2
|
+
export declare function truncateLine(text: string, max?: number): string;
|
|
3
|
+
export declare function handleProviderResponse(msg: WSServerMessage): void;
|
|
4
|
+
export declare function handleIterationCompleted(msg: WSServerMessage): void;
|
|
5
|
+
export declare function handleIterationLimitReached(msg: WSServerMessage): void;
|
|
6
|
+
export declare function handleProviderRetry(msg: WSServerMessage): void;
|
|
7
|
+
export declare function handleProviderError(msg: WSServerMessage): void;
|
|
8
|
+
export declare function handleProviderFallback(msg: WSServerMessage): void;
|
|
9
|
+
export declare function handleProviderFallbackPending(msg: WSServerMessage): void;
|
|
10
|
+
export declare function handleProviderStatusChanged(msg: WSServerMessage): void;
|
|
11
|
+
export declare function handleProviderStatusSnapshot(msg: WSServerMessage): void;
|
|
12
|
+
export declare function handleProviderActiveBlocked(msg: WSServerMessage): void;
|
|
13
|
+
export declare function handleProviderStreamError(msg: WSServerMessage): void;
|
|
14
|
+
export declare function handleToolLoopDetected(msg: WSServerMessage): void;
|
|
15
|
+
export declare function handleDelegateStarted(msg: WSServerMessage): void;
|
|
16
|
+
export declare function handleDelegateCompleted(msg: WSServerMessage): void;
|
|
17
|
+
export declare function handleSessionDamaged(msg: WSServerMessage): void;
|
|
18
|
+
export declare function handleSessionRewound(msg: WSServerMessage): void;
|
|
19
|
+
export declare function handleCheckpointWritten(msg: WSServerMessage): void;
|
|
20
|
+
export declare function handleInFlightStarted(msg: WSServerMessage): void;
|
|
21
|
+
export declare function handleInFlightEnded(msg: WSServerMessage): void;
|
|
22
|
+
export declare function handleSessionEnd(): void;
|
|
23
|
+
export declare function handleSessionsList(msg: WSServerMessage): void;
|
|
24
|
+
//# sourceMappingURL=session-execution-handlers.d.ts.map
|
|
@@ -1,39 +1,6 @@
|
|
|
1
1
|
import type { WSServerMessage } from '@/types';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export declare function handleModelSwitchResult(msg: WSServerMessage): void;
|
|
6
|
-
export declare function handleContextCompacted(msg: WSServerMessage): void;
|
|
7
|
-
export declare function handleCompactionFailed(msg: WSServerMessage): void;
|
|
8
|
-
export declare function handleProviderResponse(msg: WSServerMessage): void;
|
|
9
|
-
export declare function handleIterationCompleted(msg: WSServerMessage): void;
|
|
10
|
-
export declare function handleIterationLimitReached(msg: WSServerMessage): void;
|
|
11
|
-
export declare function handleProviderRetry(msg: WSServerMessage): void;
|
|
12
|
-
export declare function handleProviderError(msg: WSServerMessage): void;
|
|
13
|
-
export declare function handleProviderFallback(msg: WSServerMessage): void;
|
|
14
|
-
export declare function handleProviderFallbackPending(msg: WSServerMessage): void;
|
|
15
|
-
export declare function handleProviderStatusChanged(msg: WSServerMessage): void;
|
|
16
|
-
export declare function handleProviderStatusSnapshot(msg: WSServerMessage): void;
|
|
17
|
-
export declare function handleProviderActiveBlocked(msg: WSServerMessage): void;
|
|
18
|
-
export declare function handleProviderStreamError(msg: WSServerMessage): void;
|
|
19
|
-
export declare function handleToolLoopDetected(msg: WSServerMessage): void;
|
|
20
|
-
export declare function handleDelegateStarted(msg: WSServerMessage): void;
|
|
21
|
-
export declare function handleDelegateCompleted(msg: WSServerMessage): void;
|
|
22
|
-
export declare function handleTrustPersisted(msg: WSServerMessage): void;
|
|
23
|
-
export declare function handleContextRepaired(msg: WSServerMessage): void;
|
|
24
|
-
export declare function handleContextPct(msg: WSServerMessage): void;
|
|
25
|
-
export declare function handleContextMaxContext(msg: WSServerMessage): void;
|
|
26
|
-
export declare function handleTokenThreshold(msg: WSServerMessage): void;
|
|
27
|
-
export declare function handleTokenCostEstimateUnavailable(msg: WSServerMessage): void;
|
|
28
|
-
export declare function handleSessionDamaged(msg: WSServerMessage): void;
|
|
29
|
-
export declare function handleSessionRewound(msg: WSServerMessage): void;
|
|
30
|
-
export declare function handleCheckpointWritten(msg: WSServerMessage): void;
|
|
31
|
-
export declare function handleInFlightStarted(msg: WSServerMessage): void;
|
|
32
|
-
export declare function handleInFlightEnded(msg: WSServerMessage): void;
|
|
33
|
-
export declare function handleSessionEnd(): void;
|
|
34
|
-
export declare function handleContextModesList(msg: WSServerMessage): void;
|
|
35
|
-
export declare function handleContextModeChanged(msg: WSServerMessage): void;
|
|
36
|
-
export declare function handleSessionsList(msg: WSServerMessage): void;
|
|
37
|
-
export declare function handleError(msg: WSServerMessage): void;
|
|
2
|
+
export { type ReplayMessage, replayTimestamp, replayMessageId, isRoutePinnedView, contentToToolResult, providerResponseText, sessionRouteIdentifier, hydrateReplayMessages, handleSessionStart, } from './session-replay-handlers';
|
|
3
|
+
export { warnedCostModels, flushThinkingLogForCurrentIteration, handleContextDebug, handleKeyOperationResult, handleModelSwitchResult, handleContextCompacted, handleCompactionFailed, handleTrustPersisted, handleContextRepaired, handleContextPct, handleContextMaxContext, handleTokenThreshold, handleTokenCostEstimateUnavailable, handleContextModesList, handleContextModeChanged, handleError, } from './session-context-handlers';
|
|
4
|
+
export { truncateLine, handleProviderResponse, handleIterationCompleted, handleIterationLimitReached, handleProviderRetry, handleProviderError, handleProviderFallback, handleProviderFallbackPending, handleProviderStatusChanged, handleProviderStatusSnapshot, handleProviderActiveBlocked, handleProviderStreamError, handleToolLoopDetected, handleDelegateStarted, handleDelegateCompleted, handleSessionDamaged, handleSessionRewound, handleCheckpointWritten, handleInFlightStarted, handleInFlightEnded, handleSessionEnd, handleSessionsList, } from './session-execution-handlers';
|
|
38
5
|
export declare const sessionHandlerMap: Partial<Record<string, (msg: WSServerMessage) => void>>;
|
|
39
6
|
//# sourceMappingURL=session-handlers.d.ts.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { SessionMarker } from '@wrongstack/core/types';
|
|
2
|
+
import type { ChatMessage } from '@/stores';
|
|
3
|
+
import type { WSServerMessage } from '@/types';
|
|
4
|
+
export interface ReplayMessage {
|
|
5
|
+
role: string | undefined;
|
|
6
|
+
content: unknown;
|
|
7
|
+
ts?: string | undefined;
|
|
8
|
+
}
|
|
9
|
+
export declare function replayTimestamp(ts: string | undefined): number;
|
|
10
|
+
export declare function replayMessageId(index: number): string;
|
|
11
|
+
export declare function isRoutePinnedView(): boolean;
|
|
12
|
+
export declare function contentToToolResult(content: unknown): string;
|
|
13
|
+
export declare function providerResponseText(content: unknown): string;
|
|
14
|
+
/**
|
|
15
|
+
* Keep provider/model objects from crossing the WebSocket trust boundary into
|
|
16
|
+
* persisted Zustand state. Legacy provider instances expose a public id/name;
|
|
17
|
+
* never stringify the full object because it may also contain credentials.
|
|
18
|
+
*/
|
|
19
|
+
export declare function sessionRouteIdentifier(value: unknown): string;
|
|
20
|
+
export declare function hydrateReplayMessages(replay: ReplayMessage[], markers?: readonly SessionMarker[]): ChatMessage[];
|
|
21
|
+
export declare function handleSessionStart(msg: WSServerMessage): void;
|
|
22
|
+
//# sourceMappingURL=session-replay-handlers.d.ts.map
|
package/dist/index.html
CHANGED
|
@@ -5,39 +5,39 @@
|
|
|
5
5
|
<link rel="icon" type="image/svg+xml" href="/wrongstack.svg" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<title>WrongStack WebUI</title>
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
9
|
-
<link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-
|
|
10
|
-
<link rel="modulepreload" crossorigin href="/assets/monaco-
|
|
11
|
-
<link rel="modulepreload" crossorigin href="/assets/markdown-
|
|
12
|
-
<link rel="modulepreload" crossorigin href="/assets/vendor-
|
|
13
|
-
<link rel="modulepreload" crossorigin href="/assets/utils-
|
|
14
|
-
<link rel="modulepreload" crossorigin href="/assets/chat-store-
|
|
15
|
-
<link rel="modulepreload" crossorigin href="/assets/activity-
|
|
16
|
-
<link rel="modulepreload" crossorigin href="/assets/chat-
|
|
17
|
-
<link rel="modulepreload" crossorigin href="/assets/commandPalette-
|
|
18
|
-
<link rel="modulepreload" crossorigin href="/assets/common-
|
|
19
|
-
<link rel="modulepreload" crossorigin href="/assets/settings-
|
|
20
|
-
<link rel="modulepreload" crossorigin href="/assets/setup-
|
|
21
|
-
<link rel="modulepreload" crossorigin href="/assets/toasts-
|
|
22
|
-
<link rel="modulepreload" crossorigin href="/assets/i18n-
|
|
23
|
-
<link rel="modulepreload" crossorigin href="/assets/session-store-
|
|
24
|
-
<link rel="modulepreload" crossorigin href="/assets/ws-client-
|
|
25
|
-
<link rel="modulepreload" crossorigin href="/assets/codemap-activity-store-
|
|
26
|
-
<link rel="modulepreload" crossorigin href="/assets/mailbox-store-
|
|
27
|
-
<link rel="modulepreload" crossorigin href="/assets/ui-store-
|
|
28
|
-
<link rel="modulepreload" crossorigin href="/assets/stores-
|
|
29
|
-
<link rel="modulepreload" crossorigin href="/assets/view-navigation-
|
|
30
|
-
<link rel="modulepreload" crossorigin href="/assets/codemap-index-store-
|
|
31
|
-
<link rel="modulepreload" crossorigin href="/assets/Toaster-
|
|
32
|
-
<link rel="modulepreload" crossorigin href="/assets/useWebSocket-
|
|
33
|
-
<link rel="modulepreload" crossorigin href="/assets/dialog-
|
|
34
|
-
<link rel="modulepreload" crossorigin href="/assets/button-
|
|
35
|
-
<link rel="modulepreload" crossorigin href="/assets/input-
|
|
36
|
-
<link rel="modulepreload" crossorigin href="/assets/ConfirmModal-
|
|
37
|
-
<link rel="modulepreload" crossorigin href="/assets/ModelPicker-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-BRJ_UrGk.js"></script>
|
|
9
|
+
<link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-hePW80VL.js">
|
|
10
|
+
<link rel="modulepreload" crossorigin href="/assets/monaco-BCqJp2xW.js">
|
|
11
|
+
<link rel="modulepreload" crossorigin href="/assets/markdown-CIRD7kOg.js">
|
|
12
|
+
<link rel="modulepreload" crossorigin href="/assets/vendor-C_zEzV4N.js">
|
|
13
|
+
<link rel="modulepreload" crossorigin href="/assets/utils-tsZEnrBH.js">
|
|
14
|
+
<link rel="modulepreload" crossorigin href="/assets/chat-store-c0pGYczr.js">
|
|
15
|
+
<link rel="modulepreload" crossorigin href="/assets/activity-fdbTRXeg.js">
|
|
16
|
+
<link rel="modulepreload" crossorigin href="/assets/chat-CzaGXz_W.js">
|
|
17
|
+
<link rel="modulepreload" crossorigin href="/assets/commandPalette-BovBiPec.js">
|
|
18
|
+
<link rel="modulepreload" crossorigin href="/assets/common-BBHmIHQW.js">
|
|
19
|
+
<link rel="modulepreload" crossorigin href="/assets/settings-CbtB0i7o.js">
|
|
20
|
+
<link rel="modulepreload" crossorigin href="/assets/setup-DfcCCvUO.js">
|
|
21
|
+
<link rel="modulepreload" crossorigin href="/assets/toasts-DOfXc7Rt.js">
|
|
22
|
+
<link rel="modulepreload" crossorigin href="/assets/i18n-CDoHRskt.js">
|
|
23
|
+
<link rel="modulepreload" crossorigin href="/assets/session-store-BgiP4PnQ.js">
|
|
24
|
+
<link rel="modulepreload" crossorigin href="/assets/ws-client-B3MVz75-.js">
|
|
25
|
+
<link rel="modulepreload" crossorigin href="/assets/codemap-activity-store-BH7Mh4k9.js">
|
|
26
|
+
<link rel="modulepreload" crossorigin href="/assets/mailbox-store-bF96Ih2G.js">
|
|
27
|
+
<link rel="modulepreload" crossorigin href="/assets/ui-store-xx1NssJI.js">
|
|
28
|
+
<link rel="modulepreload" crossorigin href="/assets/stores-DSGsI875.js">
|
|
29
|
+
<link rel="modulepreload" crossorigin href="/assets/view-navigation-CZKugncK.js">
|
|
30
|
+
<link rel="modulepreload" crossorigin href="/assets/codemap-index-store-BFm1TzVW.js">
|
|
31
|
+
<link rel="modulepreload" crossorigin href="/assets/Toaster-wXvKXbbS.js">
|
|
32
|
+
<link rel="modulepreload" crossorigin href="/assets/useWebSocket-BFFntyS4.js">
|
|
33
|
+
<link rel="modulepreload" crossorigin href="/assets/dialog-BJjDUqb3.js">
|
|
34
|
+
<link rel="modulepreload" crossorigin href="/assets/button-DvpRpKkt.js">
|
|
35
|
+
<link rel="modulepreload" crossorigin href="/assets/input-BtoHcCl9.js">
|
|
36
|
+
<link rel="modulepreload" crossorigin href="/assets/ConfirmModal-LBZaZgsG.js">
|
|
37
|
+
<link rel="modulepreload" crossorigin href="/assets/ModelPicker-DC-XCx0f.js">
|
|
38
38
|
<link rel="stylesheet" crossorigin href="/assets/monaco-Bowa0-zp.css">
|
|
39
39
|
<link rel="stylesheet" crossorigin href="/assets/vendor-BMdWcCR4.css">
|
|
40
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
40
|
+
<link rel="stylesheet" crossorigin href="/assets/index-BRs425Ir.css">
|
|
41
41
|
</head>
|
|
42
42
|
<body>
|
|
43
43
|
<div id="root"></div>
|