@femtomc/mu-server 26.2.32 → 26.2.34
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 +6 -5
- package/dist/control_plane.d.ts +2 -2
- package/dist/control_plane.js +2 -3
- package/package.json +6 -5
package/README.md
CHANGED
|
@@ -87,16 +87,17 @@ Bun.serve(server);
|
|
|
87
87
|
|
|
88
88
|
### With Web UI (Recommended)
|
|
89
89
|
|
|
90
|
-
The easiest way to run the server with the web interface:
|
|
90
|
+
The easiest way to run the server with the bundled web interface (and default terminal meta-agent chat):
|
|
91
91
|
|
|
92
92
|
```bash
|
|
93
93
|
# From any mu repository
|
|
94
|
-
mu serve
|
|
95
|
-
|
|
96
|
-
#
|
|
97
|
-
mu serve --port 8080 --api-port 3001
|
|
94
|
+
mu serve # API + web UI + terminal meta-agent session
|
|
95
|
+
mu serve --no-open # Skip browser auto-open (headless/SSH)
|
|
96
|
+
mu serve --port 8080 # Custom shared API/web UI port
|
|
98
97
|
```
|
|
99
98
|
|
|
99
|
+
Type `/exit` (or press Ctrl+C) to stop both the chat session and server.
|
|
100
|
+
|
|
100
101
|
### Standalone Server
|
|
101
102
|
|
|
102
103
|
```bash
|
package/dist/control_plane.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { type Channel
|
|
1
|
+
import { type Channel } from "@femtomc/mu-control-plane";
|
|
2
|
+
import { type MessagingMetaAgentBackend, MessagingMetaAgentRuntime } from "@femtomc/mu-agent";
|
|
2
3
|
export declare const ENV_VARS: {
|
|
3
4
|
readonly slack: {
|
|
4
5
|
readonly signingSecret: "MU_SLACK_SIGNING_SECRET";
|
|
@@ -21,7 +22,6 @@ export declare const ENV_VARS: {
|
|
|
21
22
|
readonly thinking: "MU_META_AGENT_THINKING";
|
|
22
23
|
readonly systemPrompt: "MU_META_AGENT_SYSTEM_PROMPT";
|
|
23
24
|
readonly timeoutMs: "MU_META_AGENT_TIMEOUT_MS";
|
|
24
|
-
readonly piBinary: "MU_META_AGENT_PI_BINARY";
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
27
|
export type ActiveAdapter = {
|
package/dist/control_plane.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ControlPlaneCommandPipeline, ControlPlaneOutbox, ControlPlaneOutboxDispatcher, ControlPlaneRuntime, DiscordControlPlaneAdapter, getControlPlanePaths, SlackControlPlaneAdapter, TelegramControlPlaneAdapter, } from "@femtomc/mu-control-plane";
|
|
2
|
+
import { ApprovedCommandBroker, CommandContextResolver, MessagingMetaAgentRuntime, PiMessagingMetaAgentBackend, } from "@femtomc/mu-agent";
|
|
2
3
|
export const ENV_VARS = {
|
|
3
4
|
slack: { signingSecret: "MU_SLACK_SIGNING_SECRET" },
|
|
4
5
|
discord: { signingSecret: "MU_DISCORD_SIGNING_SECRET" },
|
|
@@ -17,7 +18,6 @@ export const ENV_VARS = {
|
|
|
17
18
|
thinking: "MU_META_AGENT_THINKING",
|
|
18
19
|
systemPrompt: "MU_META_AGENT_SYSTEM_PROMPT",
|
|
19
20
|
timeoutMs: "MU_META_AGENT_TIMEOUT_MS",
|
|
20
|
-
piBinary: "MU_META_AGENT_PI_BINARY",
|
|
21
21
|
},
|
|
22
22
|
};
|
|
23
23
|
const ROUTE_MAP = {
|
|
@@ -95,7 +95,6 @@ function buildMessagingMetaAgentRuntime(opts) {
|
|
|
95
95
|
thinking: opts.env[ENV_VARS.metaAgent.thinking],
|
|
96
96
|
systemPrompt: opts.env[ENV_VARS.metaAgent.systemPrompt],
|
|
97
97
|
timeoutMs,
|
|
98
|
-
piBinary: opts.env[ENV_VARS.metaAgent.piBinary],
|
|
99
98
|
});
|
|
100
99
|
return new MessagingMetaAgentRuntime({
|
|
101
100
|
backend,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@femtomc/mu-server",
|
|
3
|
-
"version": "26.2.
|
|
3
|
+
"version": "26.2.34",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -23,9 +23,10 @@
|
|
|
23
23
|
"start": "bun run dist/cli.js"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@femtomc/mu-
|
|
27
|
-
"@femtomc/mu-
|
|
28
|
-
"@femtomc/mu-
|
|
29
|
-
"@femtomc/mu-
|
|
26
|
+
"@femtomc/mu-agent": "26.2.34",
|
|
27
|
+
"@femtomc/mu-control-plane": "26.2.34",
|
|
28
|
+
"@femtomc/mu-core": "26.2.34",
|
|
29
|
+
"@femtomc/mu-forum": "26.2.34",
|
|
30
|
+
"@femtomc/mu-issue": "26.2.34"
|
|
30
31
|
}
|
|
31
32
|
}
|