memhtml 0.2.2 → 0.2.3
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 +10 -6
- package/agent/channels/eve.ts +1 -1
- package/dist/{dist-DBdR0zt7.mjs → dist-Dj-MYf9q.mjs} +1 -1
- package/dist/{dist-0IU3R2cD.mjs → dist-dfrcDFad.mjs} +38 -38
- package/dist/dist-dfrcDFad.mjs.map +1 -0
- package/dist/{dist-CI2-0MRk.mjs → dist-t84Q_98w.mjs} +6 -6
- package/dist/dist-t84Q_98w.mjs.map +1 -0
- package/dist/memhtml-mcp.mjs +16 -16
- package/dist/memhtml-mcp.mjs.map +1 -1
- package/dist/memhtml.mjs +19 -19
- package/dist/memhtml.mjs.map +1 -1
- package/package.json +1 -1
- package/src/agent-build.ts +1 -1
- package/src/client.ts +2 -2
- package/src/contract.ts +2 -2
- package/src/mount.ts +1 -1
- package/dist/dist-0IU3R2cD.mjs.map +0 -1
- package/dist/dist-CI2-0MRk.mjs.map +0 -1
package/package.json
CHANGED
package/src/agent-build.ts
CHANGED
|
@@ -234,7 +234,7 @@ const runEveBuild = (input: {
|
|
|
234
234
|
*
|
|
235
235
|
* Order is deliberate. An explicit `appRoot` is an operator's choice and is never second-guessed. A
|
|
236
236
|
* package that already holds `.output/` is a checkout where `build:agent` has run, and reusing it keeps
|
|
237
|
-
* development
|
|
237
|
+
* development behavior byte-identical. Only the remaining case — an installed package with no output —
|
|
238
238
|
* materializes the cache directory, and it costs one ~17 MB build per version rather than one per run.
|
|
239
239
|
*/
|
|
240
240
|
export const resolveAgentAppRoot = (input: {
|
package/src/client.ts
CHANGED
|
@@ -80,7 +80,7 @@ export interface TranscriptManifestEntry extends TranscriptRef {
|
|
|
80
80
|
*
|
|
81
81
|
* The reason this is worth a join: the bar in `agent/instructions.md` is "more signal than one
|
|
82
82
|
* grep", and a pattern already written down is by definition not new signal. A model told which
|
|
83
|
-
* memories a session produced can decline to re-
|
|
83
|
+
* memories a session produced can decline to re-distill them; one told nothing re-derives them
|
|
84
84
|
* every night and a reviewer declines the duplicate every night.
|
|
85
85
|
*/
|
|
86
86
|
readonly linkedMemories?:
|
|
@@ -125,7 +125,7 @@ type ConsolidatorError =
|
|
|
125
125
|
*
|
|
126
126
|
* The option is still absent rather than defaulted, for the reason it always was: `eve start` binds
|
|
127
127
|
* ALL INTERFACES by default (node_modules/eve/docs/reference/cli.md, `eve start --host`), and a `host`
|
|
128
|
-
* option here would be a way for a caller to widen a boundary the caller does not own.
|
|
128
|
+
* option here would be a way for a caller to widen a boundary the caller does not own. Defense in
|
|
129
129
|
* depth is only depth while both layers are in place.
|
|
130
130
|
*
|
|
131
131
|
* It also fixes where this process CONNECTS, because the port is now chosen HERE rather than read
|
package/src/contract.ts
CHANGED
|
@@ -20,7 +20,7 @@ import { Schema } from "effect"
|
|
|
20
20
|
* cannot be earned from a transcript pattern:
|
|
21
21
|
*
|
|
22
22
|
* - `task` is work to do, not something observed to have happened.
|
|
23
|
-
* - `user_preference` is a standing instruction the user gave; inferring one from
|
|
23
|
+
* - `user_preference` is a standing instruction the user gave; inferring one from behavior is
|
|
24
24
|
* how a corpus starts asserting preferences nobody stated.
|
|
25
25
|
* - `verdict` is a judgement this agent is not the one to pass.
|
|
26
26
|
* - `arc` is synthesized by the sleep cycle from many memories and is not writable at all.
|
|
@@ -173,7 +173,7 @@ export const ungroundedEvidenceReason = (
|
|
|
173
173
|
* `client.ts` now chooses the port itself (`reserveLoopbackPort`) and passes it to
|
|
174
174
|
* `eve start --port <n>`, so the origin is composed from a constant and an integer this process got
|
|
175
175
|
* from the kernel. There is no untrusted string in the path any more, and nothing left to validate:
|
|
176
|
-
* a "
|
|
176
|
+
* a "defense" over a value we constructed asserts that we typed our own constant correctly.
|
|
177
177
|
*
|
|
178
178
|
* Kept as belt-and-braces it would have been WORSE than deleted, because it would have kept
|
|
179
179
|
* asserting a threat model that no longer holds. The deletion also costs nothing in practice:
|
package/src/mount.ts
CHANGED
|
@@ -41,7 +41,7 @@ export interface MountedFilesystem {
|
|
|
41
41
|
readonly roots: ReadonlyArray<ReadOnlyRoot>
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
/** A root declaration this composition cannot
|
|
44
|
+
/** A root declaration this composition cannot honor. Carries the reason, never a file's content. */
|
|
45
45
|
export class SandboxMountInvalid extends Error {
|
|
46
46
|
override readonly name = "SandboxMountInvalid"
|
|
47
47
|
}
|