@cmgmyr/hive 1.11.7 → 1.11.8

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.
@@ -1 +1 @@
1
- {"version":"1.11.7","sha":"4861c81","dirty":false,"build_id":"2b159fa2c2519fbd7edef9cf4396ac349c3fb25ec433f76a9b91c5ad98188f43"}
1
+ {"version":"1.11.8","sha":"500220b","dirty":false,"build_id":"1286494bf19194350611bfbf75688ec5a3c7e4b033b7c8dc84a101f57528dcbb"}
package/dist/index.js CHANGED
@@ -15,11 +15,12 @@ import { registerQueenAudit } from "./tools/queenAudit.js";
15
15
  import { registerPrompts } from "./prompts.js";
16
16
  import { schedulerIntervalMs, startScheduler } from "./scheduler.js";
17
17
  import { enforceStrictInput } from "./strictInput.js";
18
+ import { hiveVersion } from "./version.js";
18
19
  migrate();
19
20
  const SCOPE_DISCIPLINE = isQueenLead()
20
21
  ? "Scope discipline: you are the queen, the lead of hive's queen home. Your own project is the working directory's. You may read any registered project by passing its project_id. Into another project you may write only todo_create and todo_comment, plus wakes and agent_send text addressed to that project's running lead; every other write there refuses with QUEEN_CROSS_PROJECT_WRITE_REFUSED. See help(topic=\"projects\")."
21
22
  : "Scope discipline: all state is project-scoped, and the current project is the working directory's. An empty result means there is nothing IN THIS PROJECT; report that and stop. Never browse other projects' state (project_id overrides, project_select) unless the user explicitly names another project and asks for it.";
22
- const server = enforceStrictInput(new McpServer({ name: "hive", version: "0.1.0" }, {
23
+ const server = enforceStrictInput(new McpServer({ name: "hive", version: hiveVersion() }, {
23
24
  instructions: `Hive gives Claude Code sessions shared, persistent state for coordinating work on a project: pads for plans and findings, todos for tracked work with blockers, kv for small shared values, leases for claiming shared state, agents for spawning and directing other sessions, and wake-ups for scheduled or idle-triggered check-ins. Search for these tools when a task needs to persist past this conversation, hand off to or watch another session, or track multi-step work with dependencies.
24
25
  Getting started:
25
26
  1. Call whoami to see your actor identity and effective project scope.
package/dist/version.js CHANGED
@@ -59,6 +59,9 @@ function packageVersion() {
59
59
  return "0.0.0";
60
60
  }
61
61
  }
62
+ export function hiveVersion() {
63
+ return readBuildInfo()?.version ?? packageVersion();
64
+ }
62
65
  function currentGit() {
63
66
  const sha = gitOut(checkoutRoot, ["rev-parse", "--short", "HEAD"]);
64
67
  const status = gitOut(checkoutRoot, ["status", "--porcelain"]);
@@ -67,7 +70,7 @@ function currentGit() {
67
70
  const describe = (sha, dirty) => `${sha}${dirty ? "-dirty" : ""}`;
68
71
  export function versionInfo() {
69
72
  const info = readBuildInfo();
70
- const version = info?.version ?? packageVersion();
73
+ const version = hiveVersion();
71
74
  if (!info || info.sha == null) {
72
75
  const now = currentGit();
73
76
  return now
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmgmyr/hive",
3
- "version": "1.11.7",
3
+ "version": "1.11.8",
4
4
  "description": "Run a crew of Claude Code and Codex workers from one lead session: visible tmux panes, exact state from hooks, one local SQLite store.",
5
5
  "type": "module",
6
6
  "bin": {