peertable 0.4.21 → 0.4.22
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 +1 -1
- package/room/client.mjs +1 -1
- package/skill/scripts/launch-seat.sh +13 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "peertable",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.22",
|
|
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.22'
|
|
17
17
|
const PKG_ROOT = join(dirname(fileURLToPath(import.meta.url)), '..')
|
|
18
18
|
|
|
19
19
|
const USAGE = `usage:
|
|
@@ -330,6 +330,19 @@ case "$stale_member_rc" in
|
|
|
330
330
|
;;
|
|
331
331
|
esac
|
|
332
332
|
|
|
333
|
+
# leave-seat が席専用 GROK_HOME を消す。同名再着席では preflight 後に空になるので、
|
|
334
|
+
# live 起動の直前に auth と ui だけを書き直す(user booth MCP は載せない)。
|
|
335
|
+
if [ "$vendor" = grok ]; then
|
|
336
|
+
mkdir -p "$grok_home"
|
|
337
|
+
if [ ! -f "${HOME}/.grok/auth.json" ]; then
|
|
338
|
+
echo "SEAT_GROK_AUTH_MISSING: ${HOME}/.grok/auth.json が無い(席は立てない)" >&2
|
|
339
|
+
exit 1
|
|
340
|
+
fi
|
|
341
|
+
cp "${HOME}/.grok/auth.json" "${grok_home}/auth.json"
|
|
342
|
+
chmod 600 "${grok_home}/auth.json" 2>/dev/null || true
|
|
343
|
+
printf '%s\n' '[ui]' 'permission_mode = "always-approve"' >"${grok_home}/config.toml"
|
|
344
|
+
fi
|
|
345
|
+
|
|
333
346
|
# 前の卓の残骸を回収してから、Aiterm の公開 agent launcher を唯一の席起動経路として呼ぶ。
|
|
334
347
|
# direct CLI launch へ戻るfallbackは置かない。Aiterm が作る同名PTYと launch receipt が、
|
|
335
348
|
# 以後の `pty_read` / `agent_configure` / room metadata を同じsessionへ束縛する。
|