peertable 0.4.27 → 0.4.28

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.27",
3
+ "version": "0.4.28",
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.27'
16
+ const MCP_VERSION = '0.4.28'
17
17
  const PKG_ROOT = join(dirname(fileURLToPath(import.meta.url)), '..')
18
18
 
19
19
  const USAGE = `usage:
@@ -106,8 +106,13 @@ peertable_parent_post() {
106
106
  fi
107
107
  local to="$1"
108
108
  shift
109
- python3 -c 'import json,sys; print(json.dumps({"from":sys.argv[1],"to":sys.argv[2],"body":sys.argv[3]}))' \
110
- "$PEERTABLE_PARENT_NAME" "$to" "$*" \
109
+ local poster
110
+ poster="$(npm root -g)/peertable/skill/scripts/post-message.mjs"
111
+ if [ ! -f "$poster" ]; then
112
+ echo "PEERTABLE_POSTER_MISSING: $poster" >&2
113
+ return 1
114
+ fi
115
+ node "$poster" "$PEERTABLE_PARENT_NAME" "$to" "$*" \
111
116
  | curl -sf -X POST "$PEERTABLE_ROOM_API/messages" \
112
117
  -H "X-Peertable-Token: $PEERTABLE_POST_TOKEN" \
113
118
  -H 'content-type: application/json' --data-binary @-