@tanagram/lore 0.1.115 → 0.1.116
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/README.md +3 -2
- package/dist/index.js +168 -168
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -232,7 +232,7 @@ dirs so they don't stomp each other:
|
|
|
232
232
|
| Env | State dir | Log file |
|
|
233
233
|
| ---- | --------------- | --------------------- |
|
|
234
234
|
| prod | `~/.lore/` | `~/.lore/log.txt` |
|
|
235
|
-
| dev | `~/.lore-dev/`
|
|
235
|
+
| dev | `~/.lore-dev/` or `LORE_DEV_STATE_DIR` when set by a supervised local stack | `<state-dir>/log.txt` |
|
|
236
236
|
|
|
237
237
|
`lore login` discovers WorkOS AuthKit from the Lore MCP resource metadata,
|
|
238
238
|
starts WorkOS's device-code flow, prints the verification URL and user code, and
|
|
@@ -240,7 +240,8 @@ polls WorkOS until it receives JWT access and refresh tokens. Token persistence,
|
|
|
240
240
|
legacy migration, OAuth discovery caching, and refresh-token rotation live in
|
|
241
241
|
`@lore/identity-store`, shared with the Lore plugin. The CLI stores the
|
|
242
242
|
canonical token record as `tokens.json` in the active state dir (for example,
|
|
243
|
-
`~/.lore-dev/tokens.json` in local dev
|
|
243
|
+
`~/.lore-dev/tokens.json` in standalone local dev or
|
|
244
|
+
`~/.lore-dev-<stack>/tokens.json` under supervised `pnpm dev`) and caches OAuth discovery beside it as
|
|
244
245
|
`discovery-cache.json`. When the access token is expired or will expire within
|
|
245
246
|
10 seconds, authenticated commands use the refresh token to rotate a new access
|
|
246
247
|
token automatically. Transient refresh failures preserve the refresh token for a
|