@wrongstack/webui 1.0.3 → 1.0.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/assets/AgentRosterView-CoD9SgNh.js +12 -0
- package/dist/assets/{AnalyticsDashboard-cR9JJBI8.js → AnalyticsDashboard-SAH8yxTa.js} +1 -1
- package/dist/assets/{AudienceMemoryPanel-DyP-vZA-.js → AudienceMemoryPanel-C_JHPr_q.js} +2 -2
- package/dist/assets/{ChangesView-DY2KWV9y.js → ChangesView-BRdNlV9e.js} +1 -1
- package/dist/assets/{ChimeraReviewsView-nLzoGYHL.js → ChimeraReviewsView-B8ecsRM9.js} +1 -1
- package/dist/assets/ChronicleDashboard-B2qq4Ax7.js +1 -0
- package/dist/assets/CodeEditor-B-zhjWYw.js +2 -0
- package/dist/assets/CodeMap-BgOJwRYK.js +1 -0
- package/dist/assets/{CronJobsPanel-xM7j0r4p.js → CronJobsPanel-CsbjBcuL.js} +1 -1
- package/dist/assets/{DeadCodeScanPanel-DWsSzjSp.js → DeadCodeScanPanel-CSr2alPo.js} +1 -1
- package/dist/assets/{DebugDashboard-D9DoHsUb.js → DebugDashboard-Ctw40UDW.js} +1 -1
- package/dist/assets/{DesignGalleryView-C2SBhANT.js → DesignGalleryView-DFMq7qzt.js} +1 -1
- package/dist/assets/{GoalView-u24_HH2B.js → GoalView-CHO3i5LQ.js} +1 -1
- package/dist/assets/KanbanView-DxCgCuzq.js +3 -0
- package/dist/assets/{MailboxDetailView-POq0LIQF.js → MailboxDetailView-CjOZymFt.js} +1 -1
- package/dist/assets/{MemoryDrawer-B4aW4mVs.js → MemoryDrawer-DlTa24j0.js} +1 -1
- package/dist/assets/MemoryManager-BvhuaBnp.js +1 -0
- package/dist/assets/{ProcessMonitor-9clcCd5a.js → ProcessMonitor-BB1j59e7.js} +1 -1
- package/dist/assets/{PromptJournalView-DiinN7LV.js → PromptJournalView-BxhsHl73.js} +1 -1
- package/dist/assets/{QueuePanel-DxHkfNun.js → QueuePanel-SirB3W9f.js} +1 -1
- package/dist/assets/{RefreshDebugView-DuRu5_AZ.js → RefreshDebugView-DVUmjUXS.js} +1 -1
- package/dist/assets/RepositoryHistoryView-Cr-UBUel.js +2 -0
- package/dist/assets/{RequirementIntakeView-BE1ZpNh1.js → RequirementIntakeView-BkztR0C2.js} +1 -1
- package/dist/assets/{SageTabs-DdwqvEQL.js → SageTabs-Bb04xdXQ.js} +2 -2
- package/dist/assets/{SddFlowGraph-DcUtqxxR.js → SddFlowGraph-dcuamshO.js} +1 -1
- package/dist/assets/SddHub-E6nNmKTl.js +2 -0
- package/dist/assets/{SessionInspectView-d9NH-E5d.js → SessionInspectView-M3HH5k-z.js} +1 -1
- package/dist/assets/SessionList-BkRdBhqJ.js +1 -0
- package/dist/assets/{SessionsDashboard-CvlpSVyY.js → SessionsDashboard-BW_sONY5.js} +1 -1
- package/dist/assets/SetupScreen-CoQOGYNC.js +1 -0
- package/dist/assets/SkillDetailView-3YHXo_2F.js +3 -0
- package/dist/assets/TechStackView-Bs8OpeDl.js +2 -0
- package/dist/assets/{TerminalPanel-BWr1bOrP.js → TerminalPanel-Mv04uw-A.js} +1 -1
- package/dist/assets/{activity-CwnkusGI.js → activity-B9cZQdVv.js} +1 -1
- package/dist/assets/{activity-C-Y-_UKp.js → activity-ByjzcTzj.js} +1 -1
- package/dist/assets/{activity-sgjix1RN.js → activity-ClXUH80G.js} +1 -1
- package/dist/assets/{activity-DSr_k7lf.js → activity-DBsqMkAC.js} +1 -1
- package/dist/assets/{activity-IxF62i-n.js → activity-DFMEXTAP.js} +1 -1
- package/dist/assets/{activity-D4XDbREq.js → activity-KXlU1-QD.js} +1 -1
- package/dist/assets/{activity-NKeG9bGy.js → activity-PRYzlsxa.js} +1 -1
- package/dist/assets/{button-BIFXNDDY.js → button-Bv5PYkY5.js} +1 -1
- package/dist/assets/{dialog-DT8I6gze.js → dialog-DyGu9hTX.js} +1 -1
- package/dist/assets/{empty-state-DtseAzny.js → empty-state-Dy__H8vX.js} +1 -1
- package/dist/assets/i18n-CEYnEdVi.js +2 -0
- package/dist/assets/index-VSjrOYGx.css +1 -0
- package/dist/assets/{index-CbwgQF8l.js → index-r9OdFrxf.js} +79 -79
- package/dist/assets/{input-DE1O73TJ.js → input-DdFYcw53.js} +1 -1
- package/dist/assets/{roster-ws--cUKX8Eo.js → roster-ws-BDcOlcE2.js} +1 -1
- package/dist/assets/settings-AxDNIcz1.js +1 -0
- package/dist/assets/settings-BcejxgTD.js +1 -0
- package/dist/assets/settings-CAfe70nd.js +1 -0
- package/dist/assets/settings-CxqeEzzD.js +1 -0
- package/dist/assets/settings-D90wMI-3.js +1 -0
- package/dist/assets/settings-DKSmPD2M.js +1 -0
- package/dist/assets/settings-DWXLaAFN.js +1 -0
- package/dist/assets/{shared-k2sZgl6A.js → shared-hOwESeA9.js} +1 -1
- package/dist/assets/ui-store-vtaLeTKu.js +1 -0
- package/dist/assets/{utils-CmY0Pw1m.js → utils-YeTxmVPQ.js} +1 -1
- package/dist/assets/{vector-memory-panel-UsWhpyqi.js → vector-memory-panel-BK3Q4TEg.js} +1 -1
- package/dist/assets/{vendor-DcnGbJ82.js → vendor-CkMYDhDf.js} +27 -27
- package/dist/assets/{ws-client-DitX7fid.js → ws-client-BG2ZSPmv.js} +4 -4
- package/dist/components/ContextBreakdownModal.d.ts +1 -1
- package/dist/components/FallbackModal.d.ts +1 -1
- package/dist/components/RepositoryHistoryView.d.ts +21 -0
- package/dist/components/SettingsPanel/YoloConfirmList.d.ts +21 -0
- package/dist/index.html +10 -10
- package/dist/index.js +12286 -11125
- package/dist/lib/view-navigation.d.ts +1 -1
- package/dist/lib/ws-client-domain-methods.d.ts +7 -0
- package/dist/stores/local-prefs.d.ts +9 -0
- package/dist/stores/ui-store-types.d.ts +1 -1
- package/dist/types/client-message.d.ts +20 -0
- package/dist/types/connections.d.ts +1 -1
- package/dist/types/server-message-files.d.ts +57 -0
- package/package.json +9 -9
- package/dist/assets/AgentRosterView-BVjk_vTm.js +0 -12
- package/dist/assets/ChronicleDashboard-D4O8L9vh.js +0 -1
- package/dist/assets/CodeEditor-BZCXLxnq.js +0 -2
- package/dist/assets/CodeMap-CBAbAWkc.js +0 -1
- package/dist/assets/KanbanView-BfrSarZw.js +0 -3
- package/dist/assets/MemoryManager-BAe2zkyG.js +0 -1
- package/dist/assets/SddHub-DYCzKYUr.js +0 -2
- package/dist/assets/SessionList-DP_TUCns.js +0 -1
- package/dist/assets/SetupScreen-3_DYzzKv.js +0 -1
- package/dist/assets/SkillDetailView-BTuq1wJm.js +0 -3
- package/dist/assets/TechStackView-CQHW3en0.js +0 -2
- package/dist/assets/i18n-Dq2jJcme.js +0 -2
- package/dist/assets/index-Cg_zbV9k.css +0 -1
- package/dist/assets/settings-B1vpPbTt.js +0 -1
- package/dist/assets/settings-BZnHCnGT.js +0 -1
- package/dist/assets/settings-BcB2BIE2.js +0 -1
- package/dist/assets/settings-D9AQ5wLT.js +0 -1
- package/dist/assets/settings-DiVpBZQ2.js +0 -1
- package/dist/assets/settings-DwbEJvxt.js +0 -1
- package/dist/assets/settings-WuyKla3E.js +0 -1
- package/dist/assets/ui-store-BPQ-dcnY.js +0 -1
|
@@ -8,7 +8,7 @@ export type PanelMainView = 'chat' | 'files' | 'skill' | 'changes' | 'mailbox' |
|
|
|
8
8
|
* A standalone main view with its own activity-bar icon (or a slot in the "…"
|
|
9
9
|
* utilities menu). Selecting one collapses the side panel.
|
|
10
10
|
*/
|
|
11
|
-
export type MainView = 'goal' | 'kanban' | 'sddhub' | 'settings' | 'memory' | 'roster' | 'codemap' | 'techstack' | 'chronicle' | 'intake' | 'prompts' | 'chimera';
|
|
11
|
+
export type MainView = 'goal' | 'kanban' | 'sddhub' | 'settings' | 'memory' | 'roster' | 'codemap' | 'techstack' | 'chronicle' | 'intake' | 'prompts' | 'chimera' | 'history';
|
|
12
12
|
/**
|
|
13
13
|
* A view with no bar affordance at all — reached from the command palette, a
|
|
14
14
|
* deep link, or another view's action. Diagnostics and drill-downs live here.
|
|
@@ -11,6 +11,13 @@ interface WsClientDomainHost {
|
|
|
11
11
|
declare const domainMethods: {
|
|
12
12
|
getGitInfo(this: WsClientDomainHost): void;
|
|
13
13
|
getGitChanges(this: WsClientDomainHost): void;
|
|
14
|
+
getGitHistory(this: WsClientDomainHost, options?: {
|
|
15
|
+
ref?: string | undefined;
|
|
16
|
+
limit?: number | undefined;
|
|
17
|
+
skip?: number | undefined;
|
|
18
|
+
}): void;
|
|
19
|
+
getGitCommitDetail(this: WsClientDomainHost, hash: string): void;
|
|
20
|
+
getGitCommitFileDiff(this: WsClientDomainHost, hash: string, path: string, previousPath?: string): void;
|
|
14
21
|
getGitDiff(this: WsClientDomainHost, path: string): void;
|
|
15
22
|
stageGit(this: WsClientDomainHost, paths: string | string[]): void;
|
|
16
23
|
unstageGit(this: WsClientDomainHost, paths: string | string[]): void;
|
|
@@ -18,6 +18,15 @@ export interface LocalPrefs {
|
|
|
18
18
|
autoProceedMaxIterations: number;
|
|
19
19
|
/** YOLO mode — bypass tool confirmations */
|
|
20
20
|
yolo: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Which kinds of damage still prompt while YOLO is on, keyed by
|
|
23
|
+
* `DestructiveKind`. A missing key means "still asks" — the fail-closed
|
|
24
|
+
* reading — so an older client that omits a newer kind cannot un-gate it.
|
|
25
|
+
*
|
|
26
|
+
* Machine-level, NOT session-scoped: unlike `yolo` (a per-tab mode), this
|
|
27
|
+
* answers what the agent may destroy unattended anywhere.
|
|
28
|
+
*/
|
|
29
|
+
yoloConfirm: Record<string, boolean>;
|
|
21
30
|
/** Maximum agent iterations per run */
|
|
22
31
|
maxIterations: number;
|
|
23
32
|
/** Chime on run completion */
|
|
@@ -20,7 +20,7 @@ export declare function coerceActivity(value: unknown): Activity;
|
|
|
20
20
|
* bucket, which makes that class of drift a compile error.
|
|
21
21
|
* See docs/audit/webui-full-review-2026-09-03.md B-02.
|
|
22
22
|
*/
|
|
23
|
-
export declare const VIEWS: readonly ['chat', 'settings', 'memory', 'roster', 'context', 'goal', 'kanban', 'sddhub', 'files', 'changes', 'sessions', 'session-inspect', 'setup', 'skill', 'mailbox', 'debug', 'design-gallery', 'refresh-debug', 'analytics', 'codemap', 'techstack', 'chronicle', 'intake', 'deadcode', 'prompts', 'chimera'];
|
|
23
|
+
export declare const VIEWS: readonly ['chat', 'settings', 'memory', 'roster', 'context', 'goal', 'kanban', 'sddhub', 'files', 'changes', 'history', 'sessions', 'session-inspect', 'setup', 'skill', 'mailbox', 'debug', 'design-gallery', 'refresh-debug', 'analytics', 'codemap', 'techstack', 'chronicle', 'intake', 'deadcode', 'prompts', 'chimera'];
|
|
24
24
|
export type View = (typeof VIEWS)[number];
|
|
25
25
|
/** Coerce an arbitrary value onto the current view union. Used by migrate
|
|
26
26
|
* when reading from localStorage so a stale value (e.g. 'context', a view
|
|
@@ -1018,6 +1018,26 @@ export type WSClientMessageCore = WSUserMessage | {
|
|
|
1018
1018
|
type: 'git.info';
|
|
1019
1019
|
} | {
|
|
1020
1020
|
type: 'git.changes';
|
|
1021
|
+
} | {
|
|
1022
|
+
type: 'git.history';
|
|
1023
|
+
payload?: {
|
|
1024
|
+
ref?: string;
|
|
1025
|
+
limit?: number;
|
|
1026
|
+
skip?: number;
|
|
1027
|
+
path?: string;
|
|
1028
|
+
};
|
|
1029
|
+
} | {
|
|
1030
|
+
type: 'git.commit_detail';
|
|
1031
|
+
payload: {
|
|
1032
|
+
hash: string;
|
|
1033
|
+
};
|
|
1034
|
+
} | {
|
|
1035
|
+
type: 'git.commit_file_diff';
|
|
1036
|
+
payload: {
|
|
1037
|
+
hash: string;
|
|
1038
|
+
path: string;
|
|
1039
|
+
previousPath?: string | undefined;
|
|
1040
|
+
};
|
|
1021
1041
|
} | {
|
|
1022
1042
|
type: 'git.diff';
|
|
1023
1043
|
payload: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export type ConnectionHealthStatus = 'healthy' | 'degraded' | 'offline' | 'unavailable' | 'error';
|
|
2
2
|
export interface ConnectionHealthService {
|
|
3
|
-
id: 'webui' | 'chronicle' | 'codebase-index' | 'sage' | 'kanban' | 'mailbox' | 'governance';
|
|
3
|
+
id: 'webui' | 'session-catalog' | 'chronicle' | 'codebase-index' | 'sage' | 'kanban' | 'mailbox' | 'governance';
|
|
4
4
|
label: string;
|
|
5
5
|
status: ConnectionHealthStatus;
|
|
6
6
|
required: boolean;
|
|
@@ -122,6 +122,63 @@ export type WSFilesGitServerMessage = {
|
|
|
122
122
|
repoPrefix?: string | undefined;
|
|
123
123
|
error?: string | undefined;
|
|
124
124
|
};
|
|
125
|
+
} | {
|
|
126
|
+
type: 'git.history';
|
|
127
|
+
payload: {
|
|
128
|
+
commits: Array<{
|
|
129
|
+
hash: string;
|
|
130
|
+
parents: string[];
|
|
131
|
+
author: string;
|
|
132
|
+
email: string;
|
|
133
|
+
authoredAt: string;
|
|
134
|
+
subject: string;
|
|
135
|
+
refs: string[];
|
|
136
|
+
}>;
|
|
137
|
+
refs: Array<{
|
|
138
|
+
name: string;
|
|
139
|
+
shortName: string;
|
|
140
|
+
kind: 'local' | 'remote' | 'tag';
|
|
141
|
+
hash: string;
|
|
142
|
+
current: boolean;
|
|
143
|
+
}>;
|
|
144
|
+
currentBranch: string;
|
|
145
|
+
repoRoot: string;
|
|
146
|
+
hasMore: boolean;
|
|
147
|
+
skip: number;
|
|
148
|
+
error?: string | undefined;
|
|
149
|
+
};
|
|
150
|
+
} | {
|
|
151
|
+
type: 'git.commit_detail';
|
|
152
|
+
payload: {
|
|
153
|
+
hash: string;
|
|
154
|
+
fullHash?: string | undefined;
|
|
155
|
+
parents?: string[] | undefined;
|
|
156
|
+
author?: string | undefined;
|
|
157
|
+
email?: string | undefined;
|
|
158
|
+
authoredAt?: string | undefined;
|
|
159
|
+
body?: string | undefined;
|
|
160
|
+
files?: Array<{
|
|
161
|
+
path: string;
|
|
162
|
+
previousPath?: string | undefined;
|
|
163
|
+
added: number;
|
|
164
|
+
deleted: number;
|
|
165
|
+
binary?: boolean | undefined;
|
|
166
|
+
}> | undefined;
|
|
167
|
+
truncated?: boolean | undefined;
|
|
168
|
+
error?: string | undefined;
|
|
169
|
+
};
|
|
170
|
+
} | {
|
|
171
|
+
type: 'git.commit_file_diff';
|
|
172
|
+
payload: {
|
|
173
|
+
hash: string;
|
|
174
|
+
path: string;
|
|
175
|
+
previousPath?: string | undefined;
|
|
176
|
+
oldText?: string | undefined;
|
|
177
|
+
newText?: string | undefined;
|
|
178
|
+
binary?: boolean | undefined;
|
|
179
|
+
tooLarge?: boolean | undefined;
|
|
180
|
+
error?: string | undefined;
|
|
181
|
+
};
|
|
125
182
|
} | {
|
|
126
183
|
type: 'git.diff';
|
|
127
184
|
payload: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wrongstack/webui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Browser-based WebUI for WrongStack — React + Vite frontend. The WebSocket backend lives in the separate @wrongstack/webui-server package (extracted in PR #018b to remove the CLI -> @wrongstack/webui/server cross-package edge).",
|
|
6
6
|
"keywords": [
|
|
@@ -57,12 +57,12 @@
|
|
|
57
57
|
"@radix-ui/react-tabs": "^1.1.21",
|
|
58
58
|
"@tanstack/react-virtual": "^3.14.10",
|
|
59
59
|
"@uiw/react-textarea-code-editor": "^3.1.1",
|
|
60
|
-
"@wrongstack/core": "1.0.
|
|
61
|
-
"@wrongstack/kanban": "1.0.
|
|
62
|
-
"@wrongstack/plugins": "1.0.
|
|
63
|
-
"@wrongstack/providers": "1.0.
|
|
64
|
-
"@wrongstack/tools": "1.0.
|
|
65
|
-
"@wrongstack/webui-protocol": "1.0.
|
|
60
|
+
"@wrongstack/core": "1.0.4",
|
|
61
|
+
"@wrongstack/kanban": "1.0.4",
|
|
62
|
+
"@wrongstack/plugins": "1.0.4",
|
|
63
|
+
"@wrongstack/providers": "1.0.4",
|
|
64
|
+
"@wrongstack/tools": "1.0.4",
|
|
65
|
+
"@wrongstack/webui-protocol": "1.0.4",
|
|
66
66
|
"@xterm/addon-fit": "^0.11.0",
|
|
67
67
|
"@xterm/xterm": "^6.0.0",
|
|
68
68
|
"@xyflow/react": "^12.11.3",
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
"@types/ws": "^8.18.1",
|
|
99
99
|
"@vitejs/plugin-react": "^6.1.0",
|
|
100
100
|
"@vitest/coverage-v8": "^4.1.11",
|
|
101
|
-
"@wrongstack/sdd": "1.0.
|
|
102
|
-
"@wrongstack/webui-server": "1.0.
|
|
101
|
+
"@wrongstack/sdd": "1.0.4",
|
|
102
|
+
"@wrongstack/webui-server": "1.0.4",
|
|
103
103
|
"jsdom": "^30.0.1",
|
|
104
104
|
"tailwindcss": "^4.3.3",
|
|
105
105
|
"typescript": "^7.0.2",
|