@preventive/triage 1.0.0-alpha.16 → 1.0.0-alpha.18
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/common/server-info.ts +4 -4
- package/out/client-managed.js +55 -39
- package/out/client-sync.js +14 -14
- package/out/graph.js +10 -10
- package/out/index.html +1 -0
- package/out/terminal.js +227 -220
- package/out/view.css +1 -1
- package/out/view.js +160 -130
- package/package.json +6 -6
- package/server-e2e/index.ts +8 -1
- package/server-e2e/static.ts +11 -17
- package/out/provider-icons/claude.svg +0 -1
- package/out/provider-icons/deepseek.svg +0 -1
- package/out/provider-icons/google.svg +0 -1
- package/out/provider-icons/grok.svg +0 -1
- package/out/provider-icons/moonshot.svg +0 -1
- package/out/provider-icons/nvidia.svg +0 -1
- package/out/provider-icons/openai.svg +0 -1
- package/out/provider-icons/openrouter.svg +0 -1
- package/out/provider-icons/qwen.svg +0 -1
- package/out/provider-icons/zai.svg +0 -1
package/common/server-info.ts
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
// Delivered to the client as the first `server-info` frame on a sync
|
|
7
7
|
// connection (the WS plane and the SSE+POST fallback share one send path).
|
|
8
8
|
// A client uses it to detect whether a deployment speaks the end-to-end
|
|
9
|
-
// (`e2e`, zero-knowledge) protocol
|
|
10
|
-
//
|
|
9
|
+
// (`e2e`, zero-knowledge) protocol, the trusted `managed` protocol, or both.
|
|
10
|
+
// Combined discovery modes put the default protocol first.
|
|
11
11
|
|
|
12
12
|
export type ServerMode = 'e2e' | 'managed'
|
|
13
13
|
|
|
@@ -18,9 +18,9 @@ export interface ManagedServerInfo {
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
// The `server-info` frame payload (the `type` discriminant is added at the
|
|
21
|
-
// send site). `managed` is null
|
|
21
|
+
// send site). `managed` is null on e2e-only deployments.
|
|
22
22
|
export interface ServerInfo {
|
|
23
|
-
mode: ServerMode
|
|
23
|
+
mode: ServerMode | 'managed+e2e' | 'e2e+managed'
|
|
24
24
|
managed: ManagedServerInfo | null
|
|
25
25
|
deepviewScanServer?: string
|
|
26
26
|
}
|