@femtomc/mu-server 26.2.73 → 26.2.75
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/README.md +54 -66
- package/dist/api/control_plane.js +56 -0
- package/dist/api/cron.js +2 -23
- package/dist/api/heartbeats.js +1 -66
- package/dist/api/identities.js +3 -2
- package/dist/api/runs.js +0 -83
- package/dist/api/session_flash.d.ts +60 -0
- package/dist/api/session_flash.js +326 -0
- package/dist/api/session_turn.d.ts +38 -0
- package/dist/api/session_turn.js +423 -0
- package/dist/config.d.ts +9 -4
- package/dist/config.js +24 -24
- package/dist/control_plane.d.ts +2 -16
- package/dist/control_plane.js +57 -83
- package/dist/control_plane_adapter_registry.d.ts +19 -0
- package/dist/control_plane_adapter_registry.js +74 -0
- package/dist/control_plane_contract.d.ts +1 -7
- package/dist/control_plane_run_queue_coordinator.d.ts +1 -7
- package/dist/control_plane_run_queue_coordinator.js +1 -62
- package/dist/control_plane_telegram_generation.js +1 -0
- package/dist/control_plane_wake_delivery.js +1 -0
- package/dist/cron_programs.d.ts +21 -35
- package/dist/cron_programs.js +32 -113
- package/dist/cron_request.d.ts +0 -6
- package/dist/cron_request.js +0 -41
- package/dist/heartbeat_programs.d.ts +20 -35
- package/dist/heartbeat_programs.js +26 -122
- package/dist/index.d.ts +2 -2
- package/dist/outbound_delivery_router.d.ts +12 -0
- package/dist/outbound_delivery_router.js +29 -0
- package/dist/run_supervisor.d.ts +1 -16
- package/dist/run_supervisor.js +0 -70
- package/dist/server.d.ts +0 -5
- package/dist/server.js +95 -127
- package/dist/server_program_orchestration.d.ts +4 -19
- package/dist/server_program_orchestration.js +49 -200
- package/dist/server_routing.d.ts +0 -9
- package/dist/server_routing.js +19 -654
- package/dist/server_runtime.js +0 -1
- package/dist/server_types.d.ts +0 -2
- package/dist/server_types.js +0 -7
- package/package.json +6 -9
- package/dist/api/context.d.ts +0 -5
- package/dist/api/context.js +0 -1147
- package/dist/api/forum.d.ts +0 -2
- package/dist/api/forum.js +0 -75
- package/dist/api/issues.d.ts +0 -2
- package/dist/api/issues.js +0 -173
- package/public/assets/index-CxkevQNh.js +0 -100
- package/public/assets/index-D_8anM-D.css +0 -1
- package/public/index.html +0 -14
package/dist/server_runtime.js
CHANGED
package/dist/server_types.d.ts
CHANGED
package/dist/server_types.js
CHANGED
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
export function normalizeWakeMode(value) {
|
|
2
|
-
if (typeof value !== "string") {
|
|
3
|
-
return "immediate";
|
|
4
|
-
}
|
|
5
|
-
const normalized = value.trim().toLowerCase().replaceAll("-", "_");
|
|
6
|
-
return normalized === "next_heartbeat" ? "next_heartbeat" : "immediate";
|
|
7
|
-
}
|
|
8
1
|
export function toNonNegativeInt(value, fallback) {
|
|
9
2
|
if (typeof value === "number" && Number.isFinite(value)) {
|
|
10
3
|
return Math.max(0, Math.trunc(value));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@femtomc/mu-server",
|
|
3
|
-
"version": "26.2.
|
|
4
|
-
"description": "HTTP API server for mu
|
|
3
|
+
"version": "26.2.75",
|
|
4
|
+
"description": "HTTP API server for mu control-plane transport/session plus run/activity scheduling coordination.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mu",
|
|
7
7
|
"server",
|
|
@@ -22,8 +22,7 @@
|
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"files": [
|
|
25
|
-
"dist/**"
|
|
26
|
-
"public/**"
|
|
25
|
+
"dist/**"
|
|
27
26
|
],
|
|
28
27
|
"scripts": {
|
|
29
28
|
"build": "tsc -p tsconfig.build.json",
|
|
@@ -31,10 +30,8 @@
|
|
|
31
30
|
"start": "bun run dist/cli.js"
|
|
32
31
|
},
|
|
33
32
|
"dependencies": {
|
|
34
|
-
"@femtomc/mu-agent": "26.2.
|
|
35
|
-
"@femtomc/mu-control-plane": "26.2.
|
|
36
|
-
"@femtomc/mu-core": "26.2.
|
|
37
|
-
"@femtomc/mu-forum": "26.2.73",
|
|
38
|
-
"@femtomc/mu-issue": "26.2.73"
|
|
33
|
+
"@femtomc/mu-agent": "26.2.75",
|
|
34
|
+
"@femtomc/mu-control-plane": "26.2.75",
|
|
35
|
+
"@femtomc/mu-core": "26.2.75"
|
|
39
36
|
}
|
|
40
37
|
}
|
package/dist/api/context.d.ts
DELETED