@lorekit/cli 1.55.0 → 1.55.1

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": "@lorekit/cli",
3
- "version": "1.55.0",
3
+ "version": "1.55.1",
4
4
  "description": "Install the LoreKit shared-memory skill and run health checks for the LoreKit MCP server.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -131,6 +131,13 @@ export function loreScopeUrl(scope, opts = {}) {
131
131
  // own scope, coherent with the detail view. A lesson older than that window or
132
132
  // archived can still open blank — a dashboard-side limitation the link can't fix.
133
133
  // `scope` is the lesson's own scope. Pure.
134
+ //
135
+ // NOTE FOR ANYONE HAND-BUILDING A URL INSTEAD OF CALLING THIS: the `lesson`
136
+ // param takes a JSON-encoded `{scope, key}`, NOT a memory id. If you hold the
137
+ // `id` a write returned, the param is `?memoryId=<uuid>` (raw, not JSON-encoded).
138
+ // `/lore` now also accepts a UUID in `?lesson=` so the wrong combination
139
+ // resolves rather than silently doing nothing — but that is a safety net, and
140
+ // this function is the thing to call when you have a scope and key.
134
141
  export function buildLessonUrl(scope, key, opts = {}) {
135
142
  const params = { lesson: { scope, key } };
136
143
  if (scope) params.scope = scope;