@wipcomputer/wip-ldm-os 0.4.85-alpha.11 → 0.4.85-alpha.12
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/package.json
CHANGED
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
|
|
7
7
|
const server = readFileSync("src/hosted-mcp/server.mjs", "utf8");
|
|
8
8
|
const registrySource = readFileSync("src/hosted-mcp/codex-relay-e2ee-registry.mjs", "utf8");
|
|
9
|
+
const deployScript = readFileSync("src/hosted-mcp/deploy.sh", "utf8");
|
|
9
10
|
|
|
10
11
|
function assertContains(haystack, needle, label) {
|
|
11
12
|
if (!haystack.includes(needle)) {
|
|
@@ -73,6 +74,7 @@ assertContains(server, "await codexDaemonPubkeyRegistry.register(identity.agentI
|
|
|
73
74
|
assertContains(server, "if (envelope?.type === \"daemon.identity\") {", "daemon reconnect identity frame");
|
|
74
75
|
assertContains(server, "codexDaemonPubkeyRegistry.register(", "daemon reconnect register call");
|
|
75
76
|
assertContains(server, "buildCodexBootstrapPayload({ identity, threadId, daemonOnline, daemonKey })", "bootstrap uses shared payload builder");
|
|
77
|
+
assertContains(deployScript, "codex-relay-e2ee-registry.mjs", "hosted deploy copies registry module");
|
|
76
78
|
assertBefore(
|
|
77
79
|
server,
|
|
78
80
|
"await codexDaemonPubkeyRegistry.loadFromDb();",
|
package/src/hosted-mcp/deploy.sh
CHANGED
|
@@ -116,6 +116,7 @@ if [ "$SKIP_APP" -ne 1 ]; then
|
|
|
116
116
|
add_file "server.mjs" "${APP_REMOTE_DIR}/server.mjs"
|
|
117
117
|
add_file "inbox.mjs" "${APP_REMOTE_DIR}/inbox.mjs"
|
|
118
118
|
add_file "tools.mjs" "${APP_REMOTE_DIR}/tools.mjs"
|
|
119
|
+
add_file "codex-relay-e2ee-registry.mjs" "${APP_REMOTE_DIR}/codex-relay-e2ee-registry.mjs"
|
|
119
120
|
add_file "package.json" "${APP_REMOTE_DIR}/package.json"
|
|
120
121
|
# Phone app static files (codex-remote-control, login).
|
|
121
122
|
if [ -d "${SCRIPT_DIR}/app" ]; then
|