peertable 0.4.36 → 0.4.37
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "peertable",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.37",
|
|
4
4
|
"description": "A round table of peer agents. No orchestrator at the head. Turn Claude Code, Codex, and Grok sessions into a team of equal, long-lived peers.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
package/room/client.mjs
CHANGED
|
@@ -13,7 +13,7 @@ import { findModelsDoc, resolveSeatIdentity } from '../skill/scripts/resolve-sea
|
|
|
13
13
|
|
|
14
14
|
// client.mjs 側のハードコード版数。package.json の version と一致していることを
|
|
15
15
|
// diagnostics の version_consistency が見る(2 つの版数源の drift 検出。決定45)
|
|
16
|
-
const MCP_VERSION = '0.4.
|
|
16
|
+
const MCP_VERSION = '0.4.37'
|
|
17
17
|
const PKG_ROOT = join(dirname(fileURLToPath(import.meta.url)), '..')
|
|
18
18
|
|
|
19
19
|
const USAGE = `usage:
|
|
@@ -159,8 +159,12 @@ const addressedToParent = message => messageAddressedToParent(message, parent)
|
|
|
159
159
|
|
|
160
160
|
function exitWhenParentStdinCloses() {
|
|
161
161
|
if (mode !== '--follow') return
|
|
162
|
+
// Claude Monitor など stdin を与えない persistent 実行では、stdin が最初から
|
|
163
|
+
// 閉じているのを親端末の終了と誤認して即死する。stdin が TTY でない、または
|
|
164
|
+
// PEERTABLE_WATCH_NO_STDIN=1 の時は stdin 追従を張らない(SKILL は Monitor 起動を指示する)。
|
|
165
|
+
if (process.env.PEERTABLE_WATCH_NO_STDIN === '1') return
|
|
162
166
|
const stdin = process.stdin
|
|
163
|
-
if (!stdin || stdin.destroyed) return
|
|
167
|
+
if (!stdin || stdin.destroyed || stdin.isTTY !== true) return
|
|
164
168
|
const quit = () => process.exit(0)
|
|
165
169
|
stdin.on('end', quit)
|
|
166
170
|
stdin.on('close', quit)
|