@ours.network/codex 1.1.0 → 1.1.1
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/.codex-plugin/plugin.json +1 -1
- package/package.json +2 -2
- package/src/launcher.mjs +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ours.network/codex",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Native Codex plugin for secure ours.network messaging and explicitly armed, session-scoped live mail wake.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "FSL-1.1-Apache-2.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
49
|
-
"@ours.network/mcp": "1.1.
|
|
49
|
+
"@ours.network/mcp": "1.1.1",
|
|
50
50
|
"@ours.network/sdk": "3.7.0",
|
|
51
51
|
"ws": "^8.21.0",
|
|
52
52
|
"zod": "^3.25.76"
|
package/src/launcher.mjs
CHANGED
|
@@ -107,10 +107,11 @@ export async function runLauncher({
|
|
|
107
107
|
stdio: 'ignore',
|
|
108
108
|
});
|
|
109
109
|
end.once('error', () => {});
|
|
110
|
+
let cleanupDeadline;
|
|
110
111
|
await Promise.race([
|
|
111
112
|
waitExit(end),
|
|
112
|
-
new Promise((resolve) => setTimeout(resolve, 30_000)),
|
|
113
|
-
]).catch(() => {});
|
|
113
|
+
new Promise((resolve) => { cleanupDeadline = setTimeout(resolve, 30_000); }),
|
|
114
|
+
]).catch(() => {}).finally(() => clearTimeout(cleanupDeadline));
|
|
114
115
|
if (end.exitCode == null) end.kill('SIGTERM');
|
|
115
116
|
if (tui && tui.exitCode == null) tui.kill('SIGTERM');
|
|
116
117
|
if (appServer && appServer.exitCode == null) appServer.kill('SIGTERM');
|