@codemem/server 0.50.0-beta.3 → 0.50.0-beta.5
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/application/background-refresh.d.ts +36 -0
- package/dist/application/background-refresh.d.ts.map +1 -0
- package/dist/application/sync-status.d.ts.map +1 -1
- package/dist/index.d.ts +11 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2628 -671
- package/dist/index.js.map +1 -1
- package/dist/request-rate-limit.d.ts +17 -1
- package/dist/request-rate-limit.d.ts.map +1 -1
- package/dist/response-byte-budget.d.ts +18 -0
- package/dist/response-byte-budget.d.ts.map +1 -0
- package/dist/routes/config.d.ts +2 -0
- package/dist/routes/config.d.ts.map +1 -1
- package/dist/routes/device-removal-local.d.ts.map +1 -1
- package/dist/routes/device-removal-lookup.d.ts.map +1 -1
- package/dist/routes/health.d.ts.map +1 -1
- package/dist/routes/sync.d.ts +31 -5
- package/dist/routes/sync.d.ts.map +1 -1
- package/dist/routes/team-create.d.ts.map +1 -1
- package/dist/routes/team-member-removal.d.ts +10 -0
- package/dist/routes/team-member-removal.d.ts.map +1 -0
- package/dist/routes/team-recovery.d.ts +12 -0
- package/dist/routes/team-recovery.d.ts.map +1 -0
- package/dist/routes/team-setup-reconciliation.d.ts +79 -0
- package/dist/routes/team-setup-reconciliation.d.ts.map +1 -0
- package/dist/routes/team-setup-test-fixtures.d.ts +17 -0
- package/dist/routes/team-setup-test-fixtures.d.ts.map +1 -0
- package/dist/routes/team-setup-view.d.ts +9 -0
- package/dist/routes/team-setup-view.d.ts.map +1 -1
- package/dist/routes/team-setup.d.ts +49 -3
- package/dist/routes/team-setup.d.ts.map +1 -1
- package/dist/sync-app.d.ts +3 -1
- package/dist/sync-app.d.ts.map +1 -1
- package/dist/sync-channel-dispatch.d.ts +9 -0
- package/dist/sync-channel-dispatch.d.ts.map +1 -1
- package/dist/sync-channel-pass-test-fixtures.d.ts +3 -2
- package/dist/sync-channel-pass-test-fixtures.d.ts.map +1 -1
- package/dist/sync-listener-guard.d.ts +67 -0
- package/dist/sync-listener-guard.d.ts.map +1 -0
- package/dist/sync-noise-gate.d.ts +37 -0
- package/dist/sync-noise-gate.d.ts.map +1 -0
- package/dist/sync-server-mode.d.ts +58 -0
- package/dist/sync-server-mode.d.ts.map +1 -0
- package/package.json +2 -2
- package/static/app.js +63 -63
- package/static/app.js.br +0 -0
- package/static/app.js.gz +0 -0
- package/static/index.html +88 -43
- package/dist/routes/device-retire.d.ts +0 -206
- package/dist/routes/device-retire.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sync-channel-pass-test-fixtures.d.ts","sourceRoot":"","sources":["../src/sync-channel-pass-test-fixtures.ts"],"names":[],"mappings":"AAKA,OAAO,EAA6C,WAAW,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"sync-channel-pass-test-fixtures.d.ts","sourceRoot":"","sources":["../src/sync-channel-pass-test-fixtures.ts"],"names":[],"mappings":"AAKA,OAAO,EAA6C,WAAW,EAAE,MAAM,eAAe,CAAC;AAGvF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AASlF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAQpF,OAAO,EACN,2BAA2B,EAC3B,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,YAAY,EAA2B,MAAM,0CAA0C,CAAC;AAoBjG,KAAK,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,GAAG;IAAE,aAAa,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAwFpF,KAAK,iBAAiB,GAAG,IAAI,CAAC,UAAU,CAAC,OAAO,2BAA2B,CAAC,CAAC,CAAC,CAAC,EAAE,cAAc,CAAC,CAAC;AAwFjG,wBAAsB,WAAW,CAAC,iBAAiB,GAAE,iBAAsB;;+CAlE5C;YAAE,MAAM,EAAE,WAAW,CAAC;YAAC,UAAU,EAAE,MAAM,CAAA;SAAE;;;qBAV3D,MAAM,IAAI;yBACN,CAAC,OAAO,EAAE,kBAAkB,KAAK,IAAI;oBAC1C,CAAC,UAAU,EAAE,uBAAuB,KAAK,uBAAuB;wBAC5D,CACf,OAAO,EAAE,kBAAkB,EAC3B,QAAQ,EAAE,mBAAmB,KACzB,OAAO,CAAC,mBAAmB,CAAC,GAAG,mBAAmB;mBAC5C,OAAO;;;;;;;;;;;;;;;;;eAwFP,QAAQ,GAAG,QAAQ,MAAM,MAAM;;;;;;;;;;;;;;GAS3C;AA6CD,iFAAiF;AACjF,wBAAsB,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;;+CA5IjD;YAAE,MAAM,EAAE,WAAW,CAAC;YAAC,UAAU,EAAE,MAAM,CAAA;SAAE;;;qBAV3D,MAAM,IAAI;yBACN,CAAC,OAAO,EAAE,kBAAkB,KAAK,IAAI;oBAC1C,CAAC,UAAU,EAAE,uBAAuB,KAAK,uBAAuB;wBAC5D,CACf,OAAO,EAAE,kBAAkB,EAC3B,QAAQ,EAAE,mBAAmB,KACzB,OAAO,CAAC,mBAAmB,CAAC,GAAG,mBAAmB;mBAC5C,OAAO;;;;;;;GAwKnB;AAED,oGAAoG;AACpG,wBAAsB,uBAAuB,CAAC,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;;;;GA+CvF"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { createServer } from "node:http";
|
|
2
|
+
import type { Socket } from "node:net";
|
|
3
|
+
import { type InMemoryRequestRateLimiter } from "./request-rate-limit.js";
|
|
4
|
+
import { type DirectNoiseGateOptions } from "./sync-noise-gate.js";
|
|
5
|
+
/**
|
|
6
|
+
* Limits for the network-facing sync listener. The header and request
|
|
7
|
+
* deadlines are always on. The socket caps and the per-address request limit
|
|
8
|
+
* apply only while direct Noise is on; see SYNC_LISTENER_CAPS. A cap set to
|
|
9
|
+
* undefined is off.
|
|
10
|
+
*/
|
|
11
|
+
export interface SyncListenerLimits {
|
|
12
|
+
/** Time a socket has to deliver complete request headers. */
|
|
13
|
+
readonly headerMs: number;
|
|
14
|
+
/** Time a request has to finish arriving, body included. */
|
|
15
|
+
readonly requestMs: number;
|
|
16
|
+
/** How often Node checks header and request expiry. Its default is 30 s. */
|
|
17
|
+
readonly checkIntervalMs: number;
|
|
18
|
+
/** Open sockets in total. Off when undefined. */
|
|
19
|
+
readonly maxSockets?: number;
|
|
20
|
+
/** Open sockets per address, IPv6 grouped by /64. Off when undefined. */
|
|
21
|
+
readonly maxSocketsPerIp?: number;
|
|
22
|
+
/** Requests one address may start per minute, before any signature check. Off when undefined. */
|
|
23
|
+
readonly requestsPerIpPerMinute?: number;
|
|
24
|
+
}
|
|
25
|
+
export declare const SYNC_LISTENER_LIMITS: SyncListenerLimits;
|
|
26
|
+
/**
|
|
27
|
+
* Caps from `pnpm run load:sync-listener`
|
|
28
|
+
* (packages/viewer-server/scripts/sync-listener-load.ts). With them, an
|
|
29
|
+
* authenticated flood or idle streams from one address left another
|
|
30
|
+
* address's sync p95 within 10% of idle, at under 16 MiB added memory, and
|
|
31
|
+
* 128 devices behind one address that start syncing within 10 s all succeed.
|
|
32
|
+
* They apply only while the listener runs direct Noise, so the plain listener
|
|
33
|
+
* behaves as before until activation.
|
|
34
|
+
*/
|
|
35
|
+
export declare const SYNC_LISTENER_CAPS: Pick<SyncListenerLimits, "maxSockets" | "maxSocketsPerIp" | "requestsPerIpPerMinute">;
|
|
36
|
+
/**
|
|
37
|
+
* Distinct address buckets the listener's limiter keeps. When it is full, new
|
|
38
|
+
* addresses share one overflow budget until a bucket goes unused for a minute.
|
|
39
|
+
*/
|
|
40
|
+
export declare const SYNC_LISTENER_MAX_BUCKETS = 4096;
|
|
41
|
+
/**
|
|
42
|
+
* The limiter the sync listener, its routes and its Noise streams share. It
|
|
43
|
+
* holds at most SYNC_LISTENER_MAX_BUCKETS buckets.
|
|
44
|
+
*/
|
|
45
|
+
export declare function createSyncListenerLimiter(): InMemoryRequestRateLimiter;
|
|
46
|
+
export interface SyncListenerGuardOptions {
|
|
47
|
+
readonly limits?: Partial<SyncListenerLimits>;
|
|
48
|
+
/** Shared with the upgrade gate, so every request from one address draws on one budget. */
|
|
49
|
+
readonly limiter?: InMemoryRequestRateLimiter;
|
|
50
|
+
/** Direct Noise upgrades. Attached only while direct Noise is active. */
|
|
51
|
+
readonly directNoise?: DirectNoiseGateOptions & {
|
|
52
|
+
readonly active?: boolean;
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* One key per client address. IPv4 clients of a dual-stack socket arrive as
|
|
57
|
+
* ::ffff:a.b.c.d. An IPv6 client usually holds a whole /64, so its addresses
|
|
58
|
+
* share one key and cannot multiply its share of the caps.
|
|
59
|
+
*/
|
|
60
|
+
export declare function remoteAddressKey(socket: Pick<Socket, "remoteAddress">): string;
|
|
61
|
+
/**
|
|
62
|
+
* A createServer replacement for the sync listener. It bounds how long headers
|
|
63
|
+
* and requests may take, and can cap sockets and throttle each address before
|
|
64
|
+
* the sync routes verify any signature.
|
|
65
|
+
*/
|
|
66
|
+
export declare function createGuardedSyncServer(options?: SyncListenerGuardOptions): typeof createServer;
|
|
67
|
+
//# sourceMappingURL=sync-listener-guard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sync-listener-guard.d.ts","sourceRoot":"","sources":["../src/sync-listener-guard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAA0D,MAAM,WAAW,CAAC;AACjG,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,OAAO,EAEN,KAAK,0BAA0B,EAC/B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAyB,KAAK,sBAAsB,EAAE,MAAM,sBA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-0,0 +1,37 @@
|
|
|
1
|
+
import type { Server } from "node:http";
|
|
2
|
+
import type { Socket } from "node:net";
|
|
3
|
+
import { type MemoryStore } from "@codemem/core";
|
|
4
|
+
import type { InMemoryRequestRateLimiter } from "./request-rate-limit.js";
|
|
5
|
+
/**
|
|
6
|
+
* From the sync listener load measurement. Pending handshakes stay at 4 per
|
|
7
|
+
* address: at 16 or more, an authenticated flood from one address pushed
|
|
8
|
+
* another address's sync p95 from 35 ms to 2-3 s. Streams cost about 0.1 MiB
|
|
9
|
+
* each, so the total allows 256, which takes 32 peers or 16 addresses to fill.
|
|
10
|
+
*/
|
|
11
|
+
export interface DirectNoiseGateLimits {
|
|
12
|
+
readonly pendingTotal: number;
|
|
13
|
+
readonly pendingPerIp: number;
|
|
14
|
+
readonly streamsTotal: number;
|
|
15
|
+
readonly streamsPerPeer: number;
|
|
16
|
+
readonly responseBudgetBytes: number;
|
|
17
|
+
readonly handshakeMs: number;
|
|
18
|
+
}
|
|
19
|
+
export declare const DIRECT_NOISE_GATE_LIMITS: DirectNoiseGateLimits;
|
|
20
|
+
export interface DirectNoiseGateOptions {
|
|
21
|
+
readonly storeFactory: () => MemoryStore;
|
|
22
|
+
readonly keysDir?: string;
|
|
23
|
+
readonly limits?: Partial<DirectNoiseGateLimits>;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Accepts direct Noise upgrades on the sync listener. Each address is
|
|
27
|
+
* throttled with the listener's own budget before any signature check, and
|
|
28
|
+
* every refusal before 101 is plain HTTP that carries no Noise bytes.
|
|
29
|
+
*/
|
|
30
|
+
export declare function attachDirectNoiseGate(server: Server, options: DirectNoiseGateOptions, admit: {
|
|
31
|
+
readonly limiter: InMemoryRequestRateLimiter;
|
|
32
|
+
/** The listener's per-address request limit, or undefined while it is off. */
|
|
33
|
+
readonly perMinute: number | undefined;
|
|
34
|
+
/** Stops the listener's header timer. The handshake deadline takes over from here. */
|
|
35
|
+
readonly settle: (socket: Socket) => void;
|
|
36
|
+
}, addressOf: (socket: Socket) => string): void;
|
|
37
|
+
//# sourceMappingURL=sync-noise-gate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sync-noise-gate.d.ts","sourceRoot":"","sources":["../src/sync-noise-gate.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAmB,MAAM,EAAE,MAAM,WAAW,CAAC;AACzD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAIvC,OAAO,EAAwC,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAWvF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAK1E;;;;;GAKG;AACH,MAAM,WAAW,qBAAqB;IACrC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IACrC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC7B;AAED,eAAO,MAAM,wBAAwB,EAAE,qBAOrC,CAAC;AAEH,MAAM,WAAW,sBAAsB;IACtC,QAAQ,CAAC,YAAY,EAAE,MAAM,WAAW,CAAC;IACzC,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,CAAC;CACjD;AA4PD;;;;GAIG;AACH,wBAAgB,qBAAqB,CACpC,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,sBAAsB,EAC/B,KAAK,EAAE;IACN,QAAQ,CAAC,OAAO,EAAE,0BAA0B,CAAC;IAC7C,8EAA8E;IAC9E,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,sFAAsF;IACtF,QAAQ,CAAC,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1C,EACD,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM,GACnC,IAAI,CAkCN"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How a sync request reached this device. Each mode states its own rules, and
|
|
3
|
+
* the route code asks the mode instead of inferring them from other options.
|
|
4
|
+
*
|
|
5
|
+
* - plain-direct: the HTTP sync listener. Signed requests, bootstrap grants allowed.
|
|
6
|
+
* - relay: a coordinator relay channel. Only scoped status, snapshot and ops,
|
|
7
|
+
* every request bound to the Noise peer's key, no bootstrap grants.
|
|
8
|
+
* - noise-direct: a direct Noise channel. The plain-direct surface without
|
|
9
|
+
* bootstrap grants, every request bound to both the admitted device and its key.
|
|
10
|
+
*/
|
|
11
|
+
export type SyncServerMode = {
|
|
12
|
+
readonly kind: "plain-direct";
|
|
13
|
+
/** Whether direct Noise is on for this listener. Defaults to DIRECT_NOISE_ACTIVE. */
|
|
14
|
+
readonly noiseActive?: boolean;
|
|
15
|
+
} | {
|
|
16
|
+
readonly kind: "relay";
|
|
17
|
+
readonly peerPin: (request: Request) => string | null;
|
|
18
|
+
readonly maxEntryBytes?: number;
|
|
19
|
+
} | {
|
|
20
|
+
readonly kind: "noise-direct";
|
|
21
|
+
readonly peer: (request: Request) => NoiseChannelPeer | null;
|
|
22
|
+
readonly maxEntryBytes?: number;
|
|
23
|
+
};
|
|
24
|
+
/** The device a direct Noise channel admitted, and the key its handshake proved. */
|
|
25
|
+
export interface NoiseChannelPeer {
|
|
26
|
+
readonly deviceId: string;
|
|
27
|
+
readonly pin: string;
|
|
28
|
+
}
|
|
29
|
+
export declare const PLAIN_DIRECT_MODE: SyncServerMode;
|
|
30
|
+
/**
|
|
31
|
+
* Checks that a signed request came from the peer its channel authenticated.
|
|
32
|
+
* Undefined for plain-direct, where the signature is the only proof.
|
|
33
|
+
*/
|
|
34
|
+
export type ChannelBinding = ((request: Request | undefined, deviceId: string, publicKey: string) => boolean) & {
|
|
35
|
+
/**
|
|
36
|
+
* Verify a v3 signature without recording that the peer adopted v3. A
|
|
37
|
+
* direct Noise upgrade uses this, so a handshake that fails afterwards
|
|
38
|
+
* leaves only its nonce. The authenticated inner requests record adoption.
|
|
39
|
+
*/
|
|
40
|
+
readonly deferSignatureAdoption?: boolean;
|
|
41
|
+
};
|
|
42
|
+
export declare function channelBinding(mode: SyncServerMode): ChannelBinding | undefined;
|
|
43
|
+
/** Relay requests must name a scope. The default stream is never served there. */
|
|
44
|
+
export declare function requiresScope(mode: SyncServerMode): boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Largest single pull entry a channel response can carry. Undefined for the
|
|
47
|
+
* plain listener, which has no response ceiling and keeps sending any size.
|
|
48
|
+
*/
|
|
49
|
+
export declare function entryByteLimit(mode: SyncServerMode): number | undefined;
|
|
50
|
+
/** Channels serve the peer protocol only. The plain listener keeps its own 404 for the rest. */
|
|
51
|
+
export declare function channelRouteAllowed(mode: SyncServerMode, method: string, path: string): boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Whether the plain listener runs with direct Noise on. Then a bootstrap grant
|
|
54
|
+
* authorizes only status, and an unmarked grant status from a worker known to
|
|
55
|
+
* speak Noise is refused. Channels never accept grants at all.
|
|
56
|
+
*/
|
|
57
|
+
export declare function noiseActive(mode: SyncServerMode): boolean;
|
|
58
|
+
//# sourceMappingURL=sync-server-mode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sync-server-mode.d.ts","sourceRoot":"","sources":["../src/sync-server-mode.ts"],"names":[],"mappings":"AAGA;;;;;;;;;GASG;AACH,MAAM,MAAM,cAAc,GACvB;IACA,QAAQ,CAAC,IAAI,EAAE,cAAc,CAAC;IAC9B,qFAAqF;IACrF,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;CAC9B,GACD;IACA,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IACv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6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codemem/server",
|
|
3
|
-
"version": "0.50.0-beta.
|
|
3
|
+
"version": "0.50.0-beta.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"static/"
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codemem/core": "^0.50.0-beta.
|
|
18
|
+
"@codemem/core": "^0.50.0-beta.5",
|
|
19
19
|
"@hono/node-server": "^2.1.1",
|
|
20
20
|
"drizzle-orm": "^0.45.2",
|
|
21
21
|
"hono": "^4.13.5",
|