@lore-co/cli 0.1.16 → 0.1.18
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 +76 -14
- package/dist/ask.d.ts.map +1 -1
- package/dist/ask.js +3 -26
- package/dist/ask.js.map +1 -1
- package/dist/cli.d.ts +8 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +566 -39
- package/dist/cli.js.map +1 -1
- package/dist/context-fallback.d.ts +37 -0
- package/dist/context-fallback.d.ts.map +1 -0
- package/dist/context-fallback.js +259 -0
- package/dist/context-fallback.js.map +1 -0
- package/dist/generated-assets.d.ts +4 -4
- package/dist/generated-assets.d.ts.map +1 -1
- package/dist/generated-assets.js +4 -4
- package/dist/generated-assets.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/invocation-health-writer.d.ts +19 -0
- package/dist/invocation-health-writer.d.ts.map +1 -0
- package/dist/invocation-health-writer.js +131 -0
- package/dist/invocation-health-writer.js.map +1 -0
- package/dist/reliability-store.d.ts +283 -0
- package/dist/reliability-store.d.ts.map +1 -0
- package/dist/reliability-store.js +1913 -0
- package/dist/reliability-store.js.map +1 -0
- package/dist/runtime-version.d.ts +2 -0
- package/dist/runtime-version.d.ts.map +1 -0
- package/dist/runtime-version.js +5 -0
- package/dist/runtime-version.js.map +1 -0
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +1041 -152
- package/dist/runtime.js.map +1 -1
- package/dist/self-host.d.ts +1 -1
- package/dist/self-host.js +2 -2
- package/dist/signed-snapshot.d.ts +59 -0
- package/dist/signed-snapshot.d.ts.map +1 -0
- package/dist/signed-snapshot.js +303 -0
- package/dist/signed-snapshot.js.map +1 -0
- package/dist/update.js +3 -3
- package/package.json +19 -3
package/README.md
CHANGED
|
@@ -61,9 +61,10 @@ lore ask "What did the previous agent already try?" --repo acme/billing
|
|
|
61
61
|
lore ask "What constraints apply here?" --json
|
|
62
62
|
```
|
|
63
63
|
|
|
64
|
-
`ask` queries durable knowledge and prior work sessions together. Results
|
|
65
|
-
each memory
|
|
66
|
-
|
|
64
|
+
`ask` queries durable knowledge and prior work sessions together. Results
|
|
65
|
+
explain why each memory matched and show its scope, status, freshness, category,
|
|
66
|
+
source agent, and source session, followed by matching prior sessions with
|
|
67
|
+
excerpts. `--repo` and
|
|
67
68
|
`--project` rank knowledge and sessions for that repository or project,
|
|
68
69
|
`--agent` identifies the caller, `--limit` caps knowledge results (1-20),
|
|
69
70
|
`--no-sessions` skips session context, and `--json` prints the machine-readable
|
|
@@ -88,14 +89,16 @@ In `enforce` mode, actions that conflict with a learning marked as a
|
|
|
88
89
|
dialog, while Cursor and OpenCode block the call and include the
|
|
89
90
|
`lore guard approve` command in the message. Changing modes requires an
|
|
90
91
|
owner- or admin-attributed credential; `status` and `approve` work for every
|
|
91
|
-
member. All subcommands support `--json`. Guard
|
|
92
|
-
|
|
92
|
+
member. All subcommands support `--json`. Guard output uses the same relevance,
|
|
93
|
+
provenance, scope, status, and freshness explanation as `ask`. Every decision,
|
|
94
|
+
including Off, plus confirmations and policy changes is recorded as a
|
|
95
|
+
content-free `guard_check` audit event.
|
|
93
96
|
|
|
94
97
|
## Update the standalone CLI
|
|
95
98
|
|
|
96
99
|
```sh
|
|
97
100
|
lore update
|
|
98
|
-
lore update --version v0.1.
|
|
101
|
+
lore update --version v0.1.18
|
|
99
102
|
```
|
|
100
103
|
|
|
101
104
|
`update` resolves the latest release to an exact tag, or uses the exact
|
|
@@ -122,11 +125,53 @@ lore disconnect
|
|
|
122
125
|
|
|
123
126
|
The three commands above also support `--json`. `doctor` checks public
|
|
124
127
|
`/health/ready` separately from authenticated workspace identity so unreachable,
|
|
125
|
-
unready, and unauthorized states remain distinct.
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
agent
|
|
128
|
+
unready, and unauthorized states remain distinct.
|
|
129
|
+
|
|
130
|
+
`status` and `doctor` report the durable outbox, oldest pending capture,
|
|
131
|
+
verified snapshots and their local age, trust keys, local Guard coverage and
|
|
132
|
+
latency, context fallback rate, declared agent capabilities, exact installation
|
|
133
|
+
state, and last invocation health. `doctor` also reads the authenticated
|
|
134
|
+
workspace operational aggregate: server capture/embedding backlog, dead
|
|
135
|
+
letters, Guard failures/latency, retrieval corrections, and the zero-target
|
|
136
|
+
durable silent-failure invariant. Checks compare every expected
|
|
137
|
+
event, matcher, command, timeout, and plugin entry; equal hook counts do not
|
|
138
|
+
hide a missing, changed, or duplicate unit. Copied hook files also carry their
|
|
139
|
+
Lore runtime version and SHA-256 installation manifest, so old, modified,
|
|
140
|
+
oversized, non-regular, or symlinked runtime files are reported as `stale`.
|
|
141
|
+
Inspection does not create missing store directories or repair unsafe
|
|
142
|
+
permissions before reporting them.
|
|
143
|
+
|
|
144
|
+
`status --json` is versioned as `lore-cli-status-v1`. Invocation states are
|
|
145
|
+
`never_observed`, `successful`, `failed`, `incomplete`, or `unknown`. They come
|
|
146
|
+
from actual hook/plugin calls, not heartbeats. Lore stores only an integration
|
|
147
|
+
ID, random local attempt ID, timestamps, runtime version, and fixed failure
|
|
148
|
+
code—never prompts, responses, commands, files, repositories, sessions,
|
|
149
|
+
credentials, hostnames, or raw errors. Idle event-driven agents do not become
|
|
150
|
+
unhealthy solely because time passed. Per-integration locks keep optional
|
|
151
|
+
health updates separate from capture and cache work. A disposable helper
|
|
152
|
+
process imposes a hard write deadline, so telemetry cannot indefinitely stall
|
|
153
|
+
an agent hook. It runs detached, receives metadata through a private pipe, and
|
|
154
|
+
does not inherit host credentials. Invalid health state is reported as
|
|
155
|
+
`unknown` and quarantined on the next invocation; a mismatched observed
|
|
156
|
+
OpenCode version is reported as stale.
|
|
157
|
+
|
|
158
|
+
These machine-local counters are never uploaded as mandatory telemetry.
|
|
159
|
+
Hosted and self-hosted servers expose only their own content-free aggregates;
|
|
160
|
+
prompts, commands, memory content, paths, credentials, hostnames, and raw
|
|
161
|
+
errors are excluded.
|
|
162
|
+
|
|
163
|
+
`disconnect` removes only hook handlers marked as Lore-owned and Lore's
|
|
164
|
+
OpenCode plugin entry, then deletes Lore's credential, legacy hook runtime,
|
|
165
|
+
legacy pending state, and legacy retry queue. The Reliability v1 store is
|
|
166
|
+
retained so acknowledged local work and visible dead letters are never silently
|
|
167
|
+
discarded. It does not remove the installed `lore` binary or restore a whole
|
|
168
|
+
backup over newer agent settings.
|
|
169
|
+
|
|
170
|
+
During a live retrieval outage, connected native hooks and OpenCode can use one
|
|
171
|
+
relevant, reverified workspace context snapshot when the current repository is
|
|
172
|
+
known. Repository and path scopes are reapplied before injection. Cached
|
|
173
|
+
context is clearly labeled fresh or stale, expires from Assist eligibility
|
|
174
|
+
after seven days, and is never used to authorize offline Guard enforcement.
|
|
130
175
|
|
|
131
176
|
## One-command self-hosting
|
|
132
177
|
|
|
@@ -139,6 +184,19 @@ lore self-host status --json
|
|
|
139
184
|
lore self-host down
|
|
140
185
|
```
|
|
141
186
|
|
|
187
|
+
The stack pulls `ghcr.io/treadiehq/lore-api` and `lore-web`. Those images are
|
|
188
|
+
private. Access to the packages is not enough by itself: Docker must prove who
|
|
189
|
+
you are. After you have been granted Read on both packages, log in once, then
|
|
190
|
+
start the stack:
|
|
191
|
+
|
|
192
|
+
```sh
|
|
193
|
+
echo "$GHCR_TOKEN" | docker login ghcr.io -u YOUR_GITHUB_USERNAME --password-stdin
|
|
194
|
+
lore self-host up
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
Use a GitHub token with `read:packages`. You do not need the Lore source
|
|
198
|
+
repository. `lore self-host` does not log in for you.
|
|
199
|
+
|
|
142
200
|
`up` creates `~/.lore/self-host` with mode `0700` and stores its Compose,
|
|
143
201
|
environment, and state files with mode `0600`. It generates a PostgreSQL secret,
|
|
144
202
|
starts semver-pinned images, waits for `/health/ready`, and prints the signup and
|
|
@@ -164,8 +222,12 @@ The Claude/Codex/Cursor/Polytoken command-hook handler:
|
|
|
164
222
|
- observes and enriches the first prompt in a new session;
|
|
165
223
|
- uses `last_assistant_message`, Cursor's `afterAgentResponse`, or Polytoken's
|
|
166
224
|
`post_model_turn`, not a potentially stale transcript;
|
|
167
|
-
-
|
|
168
|
-
-
|
|
225
|
+
- writes redacted captures and stable idempotency keys to the crash-safe
|
|
226
|
+
`~/.lore/store-v1` outbox before the first network attempt;
|
|
227
|
+
- retries FIFO captures with bounded backoff, preserving authentication failures
|
|
228
|
+
and permanent dead letters for inspection;
|
|
229
|
+
- verifies workspace-bound Ed25519 context and Guard snapshots before caching
|
|
230
|
+
them for later reliability steps;
|
|
169
231
|
- runs Context Guard checks at `PreToolUse` (Cursor: `beforeShellExecution`)
|
|
170
232
|
boundaries when the workspace enables guard, with local mode and cooldown
|
|
171
233
|
caches so repeated actions stay quiet;
|
|
@@ -289,7 +351,7 @@ same-repository, non-draft pull requests bearing the corresponding
|
|
|
289
351
|
`lore:codex-review` or `lore:devin-review` label.
|
|
290
352
|
|
|
291
353
|
Generated jobs require a published standalone binary release and default to
|
|
292
|
-
`treadiehq/lore-releases` at `v0.1.
|
|
354
|
+
`treadiehq/lore-releases` at `v0.1.18`. Set `LORE_CLI_REPOSITORY` to the publicly
|
|
293
355
|
readable `owner/repository` and `LORE_CLI_VERSION` to an existing release tag
|
|
294
356
|
when using another release source.
|
|
295
357
|
|
package/dist/ask.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ask.d.ts","sourceRoot":"","sources":["../src/ask.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"ask.d.ts","sourceRoot":"","sources":["../src/ask.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AA0IhD,wBAAsB,aAAa,CACjC,IAAI,EAAE,SAAS,MAAM,EAAE,EACvB,MAAM,EAAE,eAAe,GAAG,IAAI,GAC7B,OAAO,CAAC,IAAI,CAAC,CA6Df"}
|
package/dist/ask.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AskResponseSchema, } from "@lore-co/core";
|
|
1
|
+
import { AskResponseSchema, formatRetrievalExplanation, } from "@lore-co/core";
|
|
2
2
|
const ASK_HELP = `lore ask
|
|
3
3
|
Query Lore's shared context: durable knowledge plus prior work sessions.
|
|
4
4
|
|
|
@@ -80,38 +80,15 @@ function parseAskArguments(args) {
|
|
|
80
80
|
}
|
|
81
81
|
return parsed;
|
|
82
82
|
}
|
|
83
|
-
function formatScope(memory) {
|
|
84
|
-
const parts = [];
|
|
85
|
-
if (memory.scope.organization !== undefined) {
|
|
86
|
-
parts.push(`org ${memory.scope.organization}`);
|
|
87
|
-
}
|
|
88
|
-
if (memory.scope.project !== undefined) {
|
|
89
|
-
parts.push(`project ${memory.scope.project}`);
|
|
90
|
-
}
|
|
91
|
-
if (memory.scope.repo !== undefined) {
|
|
92
|
-
parts.push(`repo ${memory.scope.repo}`);
|
|
93
|
-
}
|
|
94
|
-
if (memory.scope.path !== undefined) {
|
|
95
|
-
parts.push(`path ${memory.scope.path}`);
|
|
96
|
-
}
|
|
97
|
-
if (memory.scope.component !== undefined) {
|
|
98
|
-
parts.push(`component ${memory.scope.component}`);
|
|
99
|
-
}
|
|
100
|
-
return parts.length === 0 ? "workspace-wide" : parts.join(" · ");
|
|
101
|
-
}
|
|
102
83
|
function formatDate(value) {
|
|
103
84
|
return value.slice(0, 10);
|
|
104
85
|
}
|
|
105
86
|
function formatHit(hit, index) {
|
|
106
87
|
const memory = hit.memory;
|
|
107
|
-
const sourceParts = [memory.source.agent];
|
|
108
|
-
if (memory.source.sessionId !== undefined) {
|
|
109
|
-
sourceParts.push(`session ${memory.source.sessionId}`);
|
|
110
|
-
}
|
|
111
88
|
return [
|
|
112
89
|
`${index + 1}. ${memory.content}`,
|
|
113
|
-
`
|
|
114
|
-
`
|
|
90
|
+
` ${formatRetrievalExplanation(hit)}`,
|
|
91
|
+
` category: ${memory.category} · learned ${formatDate(memory.createdAt)}`,
|
|
115
92
|
].join("\n");
|
|
116
93
|
}
|
|
117
94
|
function formatResponse(response) {
|
package/dist/ask.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ask.js","sourceRoot":"","sources":["../src/ask.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,
|
|
1
|
+
{"version":3,"file":"ask.js","sourceRoot":"","sources":["../src/ask.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,0BAA0B,GAG3B,MAAM,eAAe,CAAC;AAGvB,MAAM,QAAQ,GAAG;;;;;;;;;;;;;;;;;;;CAmBhB,CAAC;AAYF,SAAS,iBAAiB,CAAC,IAAuB;IAChD,MAAM,MAAM,GAAiB;QAC3B,QAAQ,EAAE,EAAE;QACZ,eAAe,EAAE,IAAI;QACrB,IAAI,EAAE,KAAK;KACZ,CAAC;IACF,MAAM,WAAW,GAAa,EAAE,CAAC;IACjC,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC,MAAM,EAAE,KAAK,IAAI,CAAC,EAAE,CAAC;QACpD,MAAM,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC;QAC7B,IAAI,QAAQ,KAAK,QAAQ,IAAI,QAAQ,KAAK,IAAI,EAAE,CAAC;YAC/C,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;YAC/B,OAAO,IAAI,CAAC;QACd,CAAC;QACD,IAAI,QAAQ,KAAK,QAAQ,EAAE,CAAC;YAC1B,MAAM,CAAC,IAAI,GAAG,IAAI,CAAC;YACnB,SAAS;QACX,CAAC;QACD,IAAI,QAAQ,KAAK,eAAe,EAAE,CAAC;YACjC,MAAM,CAAC,eAAe,GAAG,KAAK,CAAC;YAC/B,SAAS;QACX,CAAC;QACD,IACE,QAAQ,KAAK,QAAQ;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AI,QAAQ,CAAC,MAAM,KAAK,GAAG,IAAI,QAAQ,CAAC,MAAM,KAAK,GAAG,EAAE,CAAC;QACvD,MAAM,IAAI,KAAK,CACb,qEAAqE,CACtE,CAAC;IACJ,CAAC;IACD,IAAI,QAAQ,CAAC,MAAM,KAAK,GAAG,EAAE,CAAC;QAC5B,MAAM,IAAI,KAAK,CACb,4EAA4E,CAC7E,CAAC;IACJ,CAAC;IACD,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACjB,MAAM,IAAI,KAAK,CAAC,6BAA6B,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC;IACnE,CAAC;IACD,MAAM,cAAc,GAAG,iBAAiB,CAAC,SAAS,CAChD,IAAI,CAAC,KAAK,CAAC,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC,CAClC,CAAC;IACF,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,CAAC;QAC5B,MAAM,IAAI,KAAK,CACb,gFAAgF,CACjF,CAAC;IACJ,CAAC;IACD,IAAI,MAAM,CAAC,IAAI,EAAE,CAAC;QAChB,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC;QAC1E,OAAO;IACT,CAAC;IACD,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAC;AAC5D,CAAC"}
|
package/dist/cli.d.ts
CHANGED
|
@@ -11,6 +11,12 @@ export interface LorePaths {
|
|
|
11
11
|
config: string;
|
|
12
12
|
runtime: string;
|
|
13
13
|
runtimeRepository: string;
|
|
14
|
+
runtimeReliabilityStore: string;
|
|
15
|
+
runtimeSignedSnapshot: string;
|
|
16
|
+
runtimeCanonicalJson: string;
|
|
17
|
+
runtimeContextFallback: string;
|
|
18
|
+
runtimeInvocationHealthWriter: string;
|
|
19
|
+
runtimeVersion: string;
|
|
14
20
|
runtimePackage: string;
|
|
15
21
|
state: string;
|
|
16
22
|
queue: string;
|
|
@@ -23,9 +29,10 @@ export interface LorePaths {
|
|
|
23
29
|
t3Settings: string;
|
|
24
30
|
}
|
|
25
31
|
export interface ConnectorConfig {
|
|
26
|
-
version:
|
|
32
|
+
version: 2;
|
|
27
33
|
apiUrl: string;
|
|
28
34
|
dashboardUrl?: string;
|
|
35
|
+
workspaceId?: string;
|
|
29
36
|
token: string;
|
|
30
37
|
agents: ConfiguredAgentName[];
|
|
31
38
|
agentConfigPaths?: Partial<Record<ConfiguredAgentName, string[]>>;
|
package/dist/cli.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AAyCA,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,cAAc,CAAC;AA6BtB,eAAO,MAAM,oBAAoB,sBAAsB,CAAC;AACxD,eAAO,MAAM,sBAAsB,2BAA2B,CAAC;AAC/D,eAAO,MAAM,4BAA4B,uBAAuB,CAAC;AACjE,QAAA,MAAM,sBAAsB,iEAA4B,CAAC;AACzD,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAC;AAyB1E,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,uBAAuB,EAAE,MAAM,CAAC;IAChC,qBAAqB,EAAE,MAAM,CAAC;IAC9B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,6BAA6B,EAAE,MAAM,C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