@wrongstack/webui-server 0.313.0 → 0.313.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/index.js CHANGED
@@ -23920,6 +23920,17 @@ function setupEvents(deps2) {
23920
23920
  })
23921
23921
  });
23922
23922
  });
23923
+ on("provider.model_switched", (e) => {
23924
+ broadcast2(clients, {
23925
+ type: "provider.model_switched",
23926
+ payload: sessionPayload2({
23927
+ sessionId: e.sessionId,
23928
+ from: e.from,
23929
+ to: e.to,
23930
+ timestamp: e.timestamp
23931
+ })
23932
+ });
23933
+ });
23923
23934
  on("provider.fallback_pending", (e) => {
23924
23935
  broadcast2(clients, {
23925
23936
  type: "provider.fallback_pending",
@@ -22104,6 +22104,17 @@ function setupEvents(deps2) {
22104
22104
  })
22105
22105
  });
22106
22106
  });
22107
+ on("provider.model_switched", (e) => {
22108
+ broadcast2(clients, {
22109
+ type: "provider.model_switched",
22110
+ payload: sessionPayload2({
22111
+ sessionId: e.sessionId,
22112
+ from: e.from,
22113
+ to: e.to,
22114
+ timestamp: e.timestamp
22115
+ })
22116
+ });
22117
+ });
22107
22118
  on("provider.fallback_pending", (e) => {
22108
22119
  broadcast2(clients, {
22109
22120
  type: "provider.fallback_pending",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wrongstack/webui-server",
3
- "version": "0.313.0",
3
+ "version": "0.313.1",
4
4
  "license": "MIT",
5
5
  "description": "WrongStack WebUI HTTP/WebSocket server module — extracted from @wrongstack/webui in PR #243/244 to remove the CLI -> @wrongstack/webui/server cross-package edge (audit §3.1.1). Pure backend: HTTP routes, WebSocket handlers, MCP tool wrappers, HTML serving. The web frontend lives in @wrongstack/webui; this package is the standalone server it can run on.",
6
6
  "keywords": [
@@ -36,19 +36,19 @@
36
36
  ],
37
37
  "dependencies": {
38
38
  "ws": "^8.21.3",
39
- "@wrongstack/core": "0.313.0",
40
- "@wrongstack/mcp": "0.313.0",
41
- "@wrongstack/kanban": "0.313.0",
42
- "@wrongstack/sage": "0.313.0",
43
- "@wrongstack/runtime": "0.313.0",
44
- "@wrongstack/providers": "0.313.0",
45
- "@wrongstack/sdd": "0.313.0",
46
- "@wrongstack/requirement-intake": "0.313.0",
47
- "@wrongstack/techstack": "0.313.0",
48
- "@wrongstack/tools": "0.313.0",
49
- "@wrongstack/vector-memory": "0.313.0",
50
- "@wrongstack/wrongtrace": "0.313.0",
51
- "@wrongstack/webui-protocol": "0.313.0"
39
+ "@wrongstack/core": "0.313.1",
40
+ "@wrongstack/providers": "0.313.1",
41
+ "@wrongstack/runtime": "0.313.1",
42
+ "@wrongstack/kanban": "0.313.1",
43
+ "@wrongstack/sage": "0.313.1",
44
+ "@wrongstack/sdd": "0.313.1",
45
+ "@wrongstack/vector-memory": "0.313.1",
46
+ "@wrongstack/mcp": "0.313.1",
47
+ "@wrongstack/techstack": "0.313.1",
48
+ "@wrongstack/requirement-intake": "0.313.1",
49
+ "@wrongstack/tools": "0.313.1",
50
+ "@wrongstack/webui-protocol": "0.313.1",
51
+ "@wrongstack/wrongtrace": "0.313.1"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@types/node": "^26.2.0",