@xmarts/genius-setup 1.18.0 → 1.18.1-canary.0
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/hooks/genius_inject.py +6 -0
- package/package.json +3 -3
package/hooks/genius_inject.py
CHANGED
|
@@ -79,6 +79,12 @@ def _inject(cfg, prompt, session_id=None):
|
|
|
79
79
|
if cfg.get("installed_version"):
|
|
80
80
|
params["running_version"] = json.dumps(
|
|
81
81
|
{"genius-setup": str(cfg["installed_version"])[:32]})
|
|
82
|
+
else:
|
|
83
|
+
# G6 (1.18.1-canary): a legacy config without installed_version used to
|
|
84
|
+
# keep the device SILENT on the skew view — silence is exactly how 0/16
|
|
85
|
+
# hid for a month (V17). Report a sentinel instead: visible skew makes
|
|
86
|
+
# the fleet converge; the next installer run stamps the real version.
|
|
87
|
+
params["running_version"] = json.dumps({"genius-setup": "pre-1.18.1"})
|
|
82
88
|
if cfg.get("hooks_hash"):
|
|
83
89
|
params["hooks_hash"] = str(cfg["hooks_hash"])[:64]
|
|
84
90
|
body = json.dumps({"jsonrpc": "2.0", "method": "call", "id": 1,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xmarts/genius-setup",
|
|
3
|
-
"version": "1.18.0",
|
|
4
|
-
"description": "One-command, self-updating onboarding for Xmarts Genius (Brain MCP + per-turn injection + automatic session/time capture + presence heartbeat for honest time-tracking 'amarre' + plan/committee
|
|
3
|
+
"version": "1.18.1-canary.0",
|
|
4
|
+
"description": "One-command, self-updating onboarding for Xmarts Genius (Brain MCP + per-turn injection + automatic session/time capture + presence heartbeat for honest time-tracking 'amarre' + plan/committee→Brain enforcement + CLAUDE.md protocol + MCP fan-out: provisions the consultant's granted MCP servers into Claude Code & Claude Desktop). Secret-free onboarding via single-use setup-token exchange. Installs once; self-updates daily so new tools/skills/features arrive with zero action.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"genius-setup": "bin/genius-setup.js"
|
|
7
7
|
},
|
|
@@ -21,4 +21,4 @@
|
|
|
21
21
|
"license": "UNLICENSED",
|
|
22
22
|
"author": "Xmarts",
|
|
23
23
|
"private": false
|
|
24
|
-
}
|
|
24
|
+
}
|