@lorekit/cli 1.38.0 → 1.39.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lorekit/cli",
3
- "version": "1.38.0",
3
+ "version": "1.39.0",
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": {
@@ -47,7 +47,14 @@ export const LORE_PARAM_DEFAULTS = {
47
47
  filters: null,
48
48
  tags: [], // string[] — legacy label filter (AND across labels); [] means "no filter". Still READ by the app, superseded by `filters`
49
49
  view: 'scope', // 'scope' | 'time'
50
- archived: false, // boolean
50
+ // 'active' | 'archived' | 'expiring' | null — the Explorer's Status control.
51
+ // `null`, NOT 'active', is the default for `filters`' reason: the app has to
52
+ // tell "absent" from an explicit choice, because an absent `status` falls back
53
+ // to the legacy `archived` flag while an explicit `status=active` overrides it.
54
+ status: null,
55
+ // boolean — SUPERSEDED by `status`, still READ by the app so existing links
56
+ // (and `lorekit link --archived`) keep resolving to the archived view.
57
+ archived: false,
51
58
  lesson: null, // { scope, key } | null — opens the detail sheet
52
59
  };
53
60
 
@@ -55,7 +62,7 @@ export const LORE_PARAM_DEFAULTS = {
55
62
  // Mirrors the `useUrlState` call order in `LoreExplorer.tsx` (+ the `lesson`
56
63
  // param last), so `filters` and `tags` sit between `owner` and `view`. `scope`
57
64
  // precedes `lesson` so a lesson link reads `?scope=…&lesson=…`.
58
- const PARAM_ORDER = ['scope', 'q', 'range', 'owner', 'filters', 'tags', 'view', 'archived', 'lesson'];
65
+ const PARAM_ORDER = ['scope', 'q', 'range', 'owner', 'filters', 'tags', 'view', 'status', 'archived', 'lesson'];
59
66
 
60
67
  // Strip trailing slashes from a base URL, falling back to the default when the
61
68
  // input is empty/absent. Pure.