@prismer/runtime 1.9.6 → 1.9.9
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/CHANGELOG.md +56 -0
- package/dist/cli.cjs +4621 -2184
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +4450 -2017
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +3590 -1276
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +202 -7
- package/dist/index.d.ts +202 -7
- package/dist/index.js +3836 -1522
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,61 @@
|
|
|
1
1
|
# Changelog — @prismer/runtime
|
|
2
2
|
|
|
3
|
+
## v1.9.7 — 2026-05-12 — Device capacity fix + setup daemon auto-start
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- **`host.declare` now upserts `im_containers` row** so agent.register's
|
|
8
|
+
`assertDeviceCapacityAvailable` can find the daemon device. Previously only
|
|
9
|
+
Redis presence was written; the MySQL `im_containers` table was empty for
|
|
10
|
+
local daemons, causing `UNKNOWN_DAEMON` (409) on every agent create from
|
|
11
|
+
the workspace UI.
|
|
12
|
+
- **`prismer setup` auto-starts daemon when config already exists** — the
|
|
13
|
+
"Already configured" branch was returning early before `startDaemonDetached`,
|
|
14
|
+
leaving users with a working config but no running daemon (no device
|
|
15
|
+
appeared in the workspace).
|
|
16
|
+
|
|
17
|
+
### Internal
|
|
18
|
+
|
|
19
|
+
- `src/im/ws/handler.ts` — upsert im_containers on host.declare, guarded
|
|
20
|
+
against empty daemonId; `startedAt` preserved across heartbeat redeclares.
|
|
21
|
+
- `src/im/api/register.ts` — `assertDeviceCapacityAvailable` matches by
|
|
22
|
+
`OR(agentImUserId, daemonId)` so both runtime-installation and local daemon
|
|
23
|
+
paths find the device row.
|
|
24
|
+
- `src/im/db/index.ts` — Prisma client re-export (unchanged, listed for audit
|
|
25
|
+
completeness).
|
|
26
|
+
|
|
27
|
+
## v1.9.6 — 2026-05-12 — Refactoring wave: register hardening + CLI version sync
|
|
28
|
+
|
|
29
|
+
Batch delivery of §30 / §31 refactoring items affecting IM register flow,
|
|
30
|
+
CEO authorization data layer, and runtime version hygiene.
|
|
31
|
+
|
|
32
|
+
### Fixed
|
|
33
|
+
|
|
34
|
+
- **CLI `--version` + banner displayed stale `1.9.3`** after package.json was
|
|
35
|
+
bumped to 1.9.6. `src/cli/index.ts` hardcoded `VERSION` const and
|
|
36
|
+
`src/cli/util.ts` banner strings were missed in the 1.9.4→1.9.5→1.9.6 bump
|
|
37
|
+
chain. Now reads `1.9.6` in both places.
|
|
38
|
+
- **Hermes adapter prompt still referenced old `im_send_to_agent` /
|
|
39
|
+
`im_list_agents` tool names** after the MCP 58-tool rename sweep. Replaced
|
|
40
|
+
with `prismer.agent.send` / `prismer.conversation.listAgents`. The old names
|
|
41
|
+
returned 404 at dispatch time if the adapter actually called them.
|
|
42
|
+
- **`--json` output from `agent list` now surfaces `local.hosted: true`
|
|
43
|
+
correctly** for agents that were registered with an adapter (was returning
|
|
44
|
+
`local.hosted: false` when the local mirror hadn't synced yet).
|
|
45
|
+
|
|
46
|
+
### Internal
|
|
47
|
+
|
|
48
|
+
- Tool name sweep: `sdk/prismer-cloud/runtime/src/adapters/hermes/index.ts`
|
|
49
|
+
(`buildHermesPrompt`), `src/im/types/im-events.ts` (unused old types),
|
|
50
|
+
`src/im/services/message.service.ts` (WS event type const),
|
|
51
|
+
`src/im/daemon/dispatch.ts` (dispatch compose).
|
|
52
|
+
- Version files bumped via `sdk/build/version.sh --scope prismer-cloud --patch`:
|
|
53
|
+
`VERSION`, all SDK package.json, `mcp/src/index.ts`,
|
|
54
|
+
`python/prismer/__init__.py`, `rust/Cargo.toml`, plugin manifests, root
|
|
55
|
+
`package.json`, `src/lib/version.ts`.
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
3
59
|
## Unreleased — Origin Adapter framework + memory-curation skill
|
|
4
60
|
|
|
5
61
|
Doc 26 §4 Phase 2 + doc 27 rev 5 §3. Daemon-side asset producers behind a
|