@wrongstack/webui 0.265.1 → 0.268.0

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/types.d.ts CHANGED
@@ -867,6 +867,13 @@ type WSClientMessage = WSUserMessage | WSToolConfirmResult | {
867
867
  type: 'process.killAll';
868
868
  } | {
869
869
  type: 'git.info';
870
+ } | {
871
+ type: 'git.changes';
872
+ } | {
873
+ type: 'git.diff';
874
+ payload: {
875
+ path: string;
876
+ };
870
877
  } | {
871
878
  type: 'goal.get';
872
879
  } | {
@@ -1043,6 +1050,31 @@ type WSClientMessage = WSUserMessage | WSToolConfirmResult | {
1043
1050
  payload: {
1044
1051
  name: string;
1045
1052
  };
1053
+ } | {
1054
+ type: 'terminal.create';
1055
+ payload: {
1056
+ id: string;
1057
+ cols?: number | undefined;
1058
+ rows?: number | undefined;
1059
+ };
1060
+ } | {
1061
+ type: 'terminal.input';
1062
+ payload: {
1063
+ id: string;
1064
+ data: string;
1065
+ };
1066
+ } | {
1067
+ type: 'terminal.resize';
1068
+ payload: {
1069
+ id: string;
1070
+ cols: number;
1071
+ rows: number;
1072
+ };
1073
+ } | {
1074
+ type: 'terminal.close';
1075
+ payload: {
1076
+ id: string;
1077
+ };
1046
1078
  } | {
1047
1079
  type: 'plan.template_use';
1048
1080
  payload: {
@@ -1124,6 +1156,28 @@ type WSServerMessage = WSSessionStart | WSSessionEnd | WSTextDelta | WSThinkingD
1124
1156
  behind: number;
1125
1157
  ahead: number;
1126
1158
  };
1159
+ } | {
1160
+ type: 'git.changes';
1161
+ payload: {
1162
+ files: Array<{
1163
+ path: string;
1164
+ status: string;
1165
+ added: number;
1166
+ deleted: number;
1167
+ staged: boolean;
1168
+ }>;
1169
+ error?: string | undefined;
1170
+ };
1171
+ } | {
1172
+ type: 'git.diff';
1173
+ payload: {
1174
+ path: string;
1175
+ oldText?: string | undefined;
1176
+ newText?: string | undefined;
1177
+ binary?: boolean | undefined;
1178
+ tooLarge?: boolean | undefined;
1179
+ error?: string | undefined;
1180
+ };
1127
1181
  } | {
1128
1182
  type: 'projects.list';
1129
1183
  payload: {
@@ -1382,6 +1436,19 @@ type WSServerMessage = WSSessionStart | WSSessionEnd | WSTextDelta | WSThinkingD
1382
1436
  success: boolean;
1383
1437
  message: string;
1384
1438
  };
1439
+ } | {
1440
+ type: 'terminal.output';
1441
+ payload: {
1442
+ id: string;
1443
+ data: string;
1444
+ };
1445
+ } | {
1446
+ type: 'terminal.exit';
1447
+ payload: {
1448
+ id: string;
1449
+ exitCode: number;
1450
+ signal?: number | undefined;
1451
+ };
1385
1452
  };
1386
1453
  type BroadcastFn = (msg: WSServerMessage) => void;
1387
1454
  /** Narrow type for CollabPanel event handlers — only collab-related messages + errors. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wrongstack/webui",
3
- "version": "0.265.1",
3
+ "version": "0.268.0",
4
4
  "license": "MIT",
5
5
  "description": "Browser-based WebUI for WrongStack — React + Vite frontend with WebSocket backend that drives the same agent kernel as the CLI/TUI.",
6
6
  "keywords": [
@@ -69,12 +69,15 @@
69
69
  "@radix-ui/react-toast": "^1.2.16",
70
70
  "@radix-ui/react-tooltip": "^1.2.9",
71
71
  "@uiw/react-textarea-code-editor": "^3.1.1",
72
+ "@xterm/addon-fit": "^0.11.0",
73
+ "@xterm/xterm": "^6.0.0",
72
74
  "@xyflow/react": "^12.11.0",
73
75
  "class-variance-authority": "^0.7.1",
74
76
  "clsx": "^2.1.1",
75
77
  "jszip": "^3.10.1",
76
78
  "lucide-react": "^1.17.0",
77
79
  "monaco-editor": "^0.55.1",
80
+ "node-pty": "^1.1.0",
78
81
  "react": "^19.2.7",
79
82
  "react-dom": "^19.2.7",
80
83
  "react-markdown": "^10.1.0",
@@ -84,14 +87,17 @@
84
87
  "virtua": "^0.49.1",
85
88
  "ws": "^8.21.0",
86
89
  "zustand": "^5.0.14",
87
- "@wrongstack/providers": "0.265.1",
88
- "@wrongstack/runtime": "0.265.1",
89
- "@wrongstack/core": "0.265.1",
90
- "@wrongstack/tools": "0.265.1"
90
+ "@wrongstack/mcp": "0.268.0",
91
+ "@wrongstack/core": "0.268.0",
92
+ "@wrongstack/providers": "0.268.0",
93
+ "@wrongstack/runtime": "0.268.0",
94
+ "@wrongstack/tools": "0.268.0"
91
95
  },
92
96
  "devDependencies": {
93
97
  "@playwright/test": "^1.60.0",
94
98
  "@tailwindcss/vite": "^4.3.0",
99
+ "@testing-library/dom": "^10.4.1",
100
+ "@testing-library/react": "^16.3.2",
95
101
  "@types/node": "^25.9.3",
96
102
  "@types/react": "^19.2.17",
97
103
  "@types/react-dom": "^19.2.3",