@evomap/evolver-cli 2.0.34 → 2.0.36
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/dist/commandCatalog.d.ts +1 -0
- package/dist/commandCatalog.js +1 -0
- package/dist/dashboard.js +1 -0
- package/dist/dispatch.js +2 -0
- package/dist/index.js +3 -3
- package/dist/localMemoryGraph.d.ts +1 -0
- package/dist/localMemoryGraph.js +6 -2
- package/dist/migrate/assetFormatMap.d.ts +2 -2
- package/dist/recipe.d.ts +1 -0
- package/dist/recipe.js +3 -0
- package/dist/reference.d.ts +8 -0
- package/dist/reference.js +99 -0
- package/dist/sync.js +29 -1
- package/dist/valueDigest.js +2 -1
- package/package.json +7 -7
package/dist/commandCatalog.d.ts
CHANGED
|
@@ -30,6 +30,7 @@ export declare const COMMAND_GROUPS: {
|
|
|
30
30
|
readonly 'asset-health': "Assets";
|
|
31
31
|
readonly 'asset-repair': "Assets";
|
|
32
32
|
readonly material: "Assets";
|
|
33
|
+
readonly reference: "Assets";
|
|
33
34
|
readonly recipe: "Assets";
|
|
34
35
|
readonly skill: "Assets";
|
|
35
36
|
readonly login: "Hub";
|
package/dist/commandCatalog.js
CHANGED
package/dist/dashboard.js
CHANGED
|
@@ -211,6 +211,7 @@ export function createDashboardServer(memoryGraphStatus, env = process.env) {
|
|
|
211
211
|
valueSummary: (window, eventSnapshot) => ops.loadValueSummary({
|
|
212
212
|
traces: ops.readTraceRecords(tracesDir),
|
|
213
213
|
events: eventSnapshot,
|
|
214
|
+
referenceScope: store.referenceScope,
|
|
214
215
|
prices,
|
|
215
216
|
}, window),
|
|
216
217
|
retentionReport: () => events.buildRetentionReport({
|
package/dist/dispatch.js
CHANGED
|
@@ -21,6 +21,7 @@ import { runRecallVerifyReportCommand } from './recallVerifyReport.js';
|
|
|
21
21
|
import { runDoctorCommand } from './doctor.js';
|
|
22
22
|
import { runPhubCommand } from './phub.js';
|
|
23
23
|
import { runTrajectoryExport } from './trajectoryExport.js';
|
|
24
|
+
import { runReferenceCommand } from './reference.js';
|
|
24
25
|
import { runSyncCommand } from './sync.js';
|
|
25
26
|
import { runAntiGeneBenchmarkCommand } from './antiGeneBenchmark.js';
|
|
26
27
|
import { runAntiGeneRolloutCommand } from './antiGeneRollout.js';
|
|
@@ -67,6 +68,7 @@ const ASYNC_COMMAND_TABLE = {
|
|
|
67
68
|
recipe: runRecipeCommand,
|
|
68
69
|
reuse: runReuseCommand,
|
|
69
70
|
publish: runPublishCommand,
|
|
71
|
+
reference: runReferenceCommand,
|
|
70
72
|
sync: runSyncCommand,
|
|
71
73
|
recall: runRecallCommand,
|
|
72
74
|
'reuse-report': runReuseReportCommand,
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { events, ops, hooks, mailbox, hub as hubNs } from '@evomap/evolver-core';
|
|
1
|
+
import { reference, events, ops, hooks, mailbox, hub as hubNs } from '@evomap/evolver-core';
|
|
2
2
|
import { readEvents, statusReport, listCycles, showCycle, listTriggers, buildNarrativeSnapshot, buildRetentionReport, dailyCapsuleCount } from './commands.js';
|
|
3
3
|
import { runGeneValue } from './geneValue.js';
|
|
4
4
|
import { assetstore, algo, signals, material as materialNs } from '@evomap/evolver-core';
|
|
@@ -1201,7 +1201,7 @@ export function runValue(argv, deps = {}) {
|
|
|
1201
1201
|
const evts = readEvents(deps.eventsPath ?? events.rootEventsPath());
|
|
1202
1202
|
const prices = deps.prices ?? loadPriceTable();
|
|
1203
1203
|
const window = ops.windowFromSpec(windowSpec, now);
|
|
1204
|
-
const summary = ops.loadValueSummary({ traces, events: evts, prices }, window);
|
|
1204
|
+
const summary = ops.loadValueSummary({ traces, events: evts, prices, referenceScope: reference.referenceScopeForEventsPath(deps.eventsPath ?? events.rootEventsPath()) }, window);
|
|
1205
1205
|
process.stdout.write(ops.formatValueReport(summary, windowSpec) + '\n');
|
|
1206
1206
|
return 0;
|
|
1207
1207
|
}
|
|
@@ -1668,7 +1668,7 @@ export async function runInject(argv, deps = {}) {
|
|
|
1668
1668
|
const traces = ops.readTraceRecords(deps.tracesDir ?? events.tracesDir());
|
|
1669
1669
|
const evts = readEvents(deps.eventsPath ?? events.rootEventsPath());
|
|
1670
1670
|
const prices = deps.prices ?? loadPriceTable();
|
|
1671
|
-
const summary = ops.loadValueSummary({ traces, events: evts, prices }, ops.windowFromSpec('7d', now));
|
|
1671
|
+
const summary = ops.loadValueSummary({ traces, events: evts, prices, referenceScope: reference.referenceScopeForEventsPath(deps.eventsPath ?? events.rootEventsPath()) }, ops.windowFromSpec('7d', now));
|
|
1672
1672
|
// Inject emission seam (#123): wire the ingestor so core's onInject lands a `value.inject` root_event. The
|
|
1673
1673
|
// composition (Ingestor ↔ core's sink-agnostic seam) lives HERE in the CLI — core never imports the Ingestor.
|
|
1674
1674
|
const emitter = makeInjectEmitter(ingestor);
|
|
@@ -68,6 +68,7 @@ export declare class MemoryGraphBusyError extends Error {
|
|
|
68
68
|
}
|
|
69
69
|
export declare class LocalMemoryGraph implements algo.MemoryGraphProvider {
|
|
70
70
|
private readonly dir;
|
|
71
|
+
private readonly referenceScope;
|
|
71
72
|
private readonly userScope;
|
|
72
73
|
private readonly readableUserScopes;
|
|
73
74
|
private readonly now;
|
package/dist/localMemoryGraph.js
CHANGED
|
@@ -3,7 +3,7 @@ import { closeSync, constants, existsSync, fstatSync, ftruncateSync, fsyncSync,
|
|
|
3
3
|
import { basename, dirname, isAbsolute, join, relative, resolve } from 'node:path';
|
|
4
4
|
import { userInfo } from 'node:os';
|
|
5
5
|
import { gzipSync, gunzipSync } from 'node:zlib';
|
|
6
|
-
import { algo, events, util } from '@evomap/evolver-core';
|
|
6
|
+
import { reference, algo, events, util } from '@evomap/evolver-core';
|
|
7
7
|
const ACTIVE_FILE = 'memory_graph.v2.jsonl';
|
|
8
8
|
const COMPACT_FILE = 'memory_graph.compact.jsonl';
|
|
9
9
|
const LOCK_FILE = 'memory_graph.lock';
|
|
@@ -48,6 +48,7 @@ export class MemoryGraphBusyError extends Error {
|
|
|
48
48
|
}
|
|
49
49
|
export class LocalMemoryGraph {
|
|
50
50
|
dir;
|
|
51
|
+
referenceScope;
|
|
51
52
|
userScope;
|
|
52
53
|
readableUserScopes;
|
|
53
54
|
now;
|
|
@@ -62,6 +63,7 @@ export class LocalMemoryGraph {
|
|
|
62
63
|
rotationCleanupFailed = false;
|
|
63
64
|
constructor(options) {
|
|
64
65
|
this.dir = resolve(options.dir);
|
|
66
|
+
this.referenceScope = reference.referenceScopeForEventsPath(join(this.dir, 'root_events.jsonl'));
|
|
65
67
|
this.userScope = scopeHash(`user:${options.userId}`);
|
|
66
68
|
this.readableUserScopes = new Set([
|
|
67
69
|
this.userScope,
|
|
@@ -98,7 +100,7 @@ export class LocalMemoryGraph {
|
|
|
98
100
|
diagnostics.recovery = 'degraded';
|
|
99
101
|
if (records.length === 0 && diagnostics.recovery === 'healthy')
|
|
100
102
|
diagnostics.recovery = 'empty';
|
|
101
|
-
return algo.deriveMemoryGraphAdvice(records, input.signals, this.now(), diagnostics);
|
|
103
|
+
return reference.withReferenceScope(this.referenceScope, () => algo.deriveMemoryGraphAdvice(records, input.signals, this.now(), diagnostics));
|
|
102
104
|
});
|
|
103
105
|
}
|
|
104
106
|
catch (error) {
|
|
@@ -109,6 +111,8 @@ export class LocalMemoryGraph {
|
|
|
109
111
|
}
|
|
110
112
|
}
|
|
111
113
|
recordOutcome(input) {
|
|
114
|
+
if (!reference.isExecutionEligible(input, this.referenceScope))
|
|
115
|
+
return;
|
|
112
116
|
const workspaceScope = this.workspaceScope(input.workspace);
|
|
113
117
|
if (!workspaceScope)
|
|
114
118
|
return;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** V1→V2 asset path / schema mapping — Refs #684 (R4 Asset-format, 5 sub-items). */
|
|
2
|
-
export declare const CURRENT_WIRE_SCHEMA_VERSION: "1.
|
|
2
|
+
export declare const CURRENT_WIRE_SCHEMA_VERSION: "1.14.0";
|
|
3
3
|
export declare const V1_EVENT_SCHEMA_VERSION_EXAMPLE: "1.6.0";
|
|
4
4
|
/** Machine-readable mapping for the five issue rows. */
|
|
5
5
|
export declare const ASSET_FORMAT_MAP: readonly [{
|
|
@@ -7,7 +7,7 @@ export declare const ASSET_FORMAT_MAP: readonly [{
|
|
|
7
7
|
readonly severity: "major";
|
|
8
8
|
readonly v1: "events.jsonl in the selected current store, or repository legacy assets/gep (EvolutionEvent plus ValidationReport rows; stored schema often 1.6.0)";
|
|
9
9
|
readonly v2: "content-addressed EvolutionEvent JSONL; existing schema_version is preserved";
|
|
10
|
-
readonly migrate: "import-v1 injects 1.
|
|
10
|
+
readonly migrate: "import-v1 injects 1.14.0 only when schema_version is missing; frozen hash mismatches remain untrusted; ValidationReport rows are validated, counted, and preserved in the V1 source";
|
|
11
11
|
}, {
|
|
12
12
|
readonly id: 2;
|
|
13
13
|
readonly severity: "cosmetic";
|
package/dist/recipe.d.ts
CHANGED
|
@@ -62,6 +62,7 @@ export interface RecipeSearchOptions {
|
|
|
62
62
|
}
|
|
63
63
|
export type RecipeOptions = RecipeBuildOptions | RecipeReuseOptions | RecipeFromSkillsOptions | RecipeSearchOptions;
|
|
64
64
|
export declare function runRecipeCommand(argv: readonly string[], deps?: RecipeCliDeps): Promise<number>;
|
|
65
|
+
export declare function ensureRecipeHubIdentity(hub: RecipeHub): Promise<void>;
|
|
65
66
|
export declare function createRecipeHubFromEnv(env?: NodeJS.ProcessEnv, connectHub?: (opts: ConnectPublicOptions) => {
|
|
66
67
|
hub: PublicHubCapability;
|
|
67
68
|
auth: hubNs.AuthProvider;
|
package/dist/recipe.js
CHANGED
|
@@ -149,6 +149,9 @@ function runRecipeReuseDryRun(opts, io) {
|
|
|
149
149
|
}
|
|
150
150
|
return 0;
|
|
151
151
|
}
|
|
152
|
+
export async function ensureRecipeHubIdentity(hub) {
|
|
153
|
+
await recipeIdentityBootstraps.get(hub)?.();
|
|
154
|
+
}
|
|
152
155
|
export function createRecipeHubFromEnv(env = process.env, connectHub = connectPublicHub) {
|
|
153
156
|
loadEnvFileFromEnv(env);
|
|
154
157
|
const hubUrl = resolveRecipeHubUrl(env);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { reference } from '@evomap/evolver-core';
|
|
2
|
+
export interface ReferenceCliDeps {
|
|
3
|
+
env?: NodeJS.ProcessEnv;
|
|
4
|
+
store?: reference.ReferenceStore;
|
|
5
|
+
hub?: reference.ReferenceCapability;
|
|
6
|
+
stdout?: (line: string) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare function runReferenceCommand(argv: readonly string[], deps?: ReferenceCliDeps): Promise<number>;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { normalizePublicReferenceQuery } from '@evomap/evolver-adapter-public';
|
|
2
|
+
import { join, resolve } from 'node:path';
|
|
3
|
+
import { events, reference } from '@evomap/evolver-core';
|
|
4
|
+
import { createRecipeHubFromEnv, ensureRecipeHubIdentity } from './recipe.js';
|
|
5
|
+
import { getCliVersion } from './version.js';
|
|
6
|
+
const USAGE = [
|
|
7
|
+
'evolver reference import --file <batch.json> [--home <dir>]',
|
|
8
|
+
'evolver reference fetch [--asset-id <sha256:...>] [--query <text: max 500 chars>] [--limit 1..50] [--cursor <cursor>] [--home <dir>]',
|
|
9
|
+
'evolver reference search [--query <text>] [--signal <signal>] [--limit 1..100] [--cursor <cursor>] [--home <dir>]',
|
|
10
|
+
'evolver reference context [--query <text>] [--limit 1..10] [--max-chars 256..32000] [--home <dir>]',
|
|
11
|
+
'All output is JSON. References are untrusted read-only data, not executable or success evidence.',
|
|
12
|
+
'State: --home or EVOLVER_HOME; separate assets/references store. Fetch uses existing authenticated public Hub; never starts a daemon or updater.',
|
|
13
|
+
].join('\n');
|
|
14
|
+
export async function runReferenceCommand(argv, deps = {}) {
|
|
15
|
+
const out = deps.stdout ?? ((line) => { process.stdout.write(line + '\n'); });
|
|
16
|
+
if (!argv.length || argv.includes('--help') || argv.includes('-h')) {
|
|
17
|
+
out(USAGE);
|
|
18
|
+
return 0;
|
|
19
|
+
}
|
|
20
|
+
// A standalone Bun HTTP stream can release its last socket before body decoding finishes.
|
|
21
|
+
// Keep this one-shot command alive until its bounded Hub request settles and its receipt is printed.
|
|
22
|
+
const keepAlive = argv[0] === 'fetch' ? setInterval(() => undefined, 1000) : undefined;
|
|
23
|
+
try {
|
|
24
|
+
const command = argv[0];
|
|
25
|
+
if (!['import', 'fetch', 'search', 'context'].includes(command))
|
|
26
|
+
throw new Error('reference_unknown_command');
|
|
27
|
+
const flags = {};
|
|
28
|
+
for (let i = 1; i < argv.length; i++) {
|
|
29
|
+
const flag = argv[i];
|
|
30
|
+
if (flag === '--json')
|
|
31
|
+
continue;
|
|
32
|
+
if (!['--file', '--home', '--asset-id', '--query', '--signal', '--limit', '--cursor', '--max-chars'].includes(flag) || flag in flags)
|
|
33
|
+
throw new Error('reference_invalid_flag');
|
|
34
|
+
const value = argv[++i];
|
|
35
|
+
if (!value || value.startsWith('--'))
|
|
36
|
+
throw new Error('reference_missing_flag_value');
|
|
37
|
+
flags[flag] = value;
|
|
38
|
+
}
|
|
39
|
+
if (command === 'import' && Object.keys(flags).some((key) => !['--file', '--home'].includes(key)))
|
|
40
|
+
throw new Error('reference_import_invalid_flag');
|
|
41
|
+
if (command !== 'context' && flags['--max-chars'])
|
|
42
|
+
throw new Error('reference_max_chars_only_for_context');
|
|
43
|
+
const env = { ...(deps.env ?? process.env) };
|
|
44
|
+
if (flags['--home']) {
|
|
45
|
+
const home = resolve(flags['--home']);
|
|
46
|
+
env['EVOLVER_HOME'] = home;
|
|
47
|
+
env['EVOMAP_HOME'] = home;
|
|
48
|
+
env['EVOMAP_DIR'] = home;
|
|
49
|
+
env['EVOLVER_PROXY_STORE'] = join(home, 'proxy', 'mailbox.db');
|
|
50
|
+
}
|
|
51
|
+
const store = deps.store ?? new reference.ReferenceStore(join(events.evomapHome(env), 'assets', 'references'));
|
|
52
|
+
if (command === 'import') {
|
|
53
|
+
if (!flags['--file'])
|
|
54
|
+
throw new Error('reference_file_required');
|
|
55
|
+
out(JSON.stringify(store.import(reference.readReferenceFile(resolve(flags['--file'])))));
|
|
56
|
+
return 0;
|
|
57
|
+
}
|
|
58
|
+
if (flags['--file'])
|
|
59
|
+
throw new Error('reference_file_only_for_import');
|
|
60
|
+
const q = reference.normalizeReferenceQuery({
|
|
61
|
+
...(flags['--query'] ? { query: flags['--query'] } : {}),
|
|
62
|
+
...(flags['--signal'] ? { signals: [flags['--signal']] } : {}),
|
|
63
|
+
...(flags['--asset-id'] ? { asset_ids: [flags['--asset-id']] } : {}),
|
|
64
|
+
...(flags['--limit'] ? { max_assets: Number(flags['--limit']) } : {}),
|
|
65
|
+
...(flags['--cursor'] ? { cursor: flags['--cursor'] } : {}),
|
|
66
|
+
});
|
|
67
|
+
if (command === 'search')
|
|
68
|
+
out(JSON.stringify(store.search(q)));
|
|
69
|
+
else if (command === 'context')
|
|
70
|
+
out(JSON.stringify(store.context(q, flags['--max-chars'] ? Number(flags['--max-chars']) : undefined)));
|
|
71
|
+
else {
|
|
72
|
+
const fetchQuery = normalizePublicReferenceQuery(q);
|
|
73
|
+
let capability = deps.hub;
|
|
74
|
+
if (!capability) {
|
|
75
|
+
const publicHub = createRecipeHubFromEnv(env);
|
|
76
|
+
await ensureRecipeHubIdentity(publicHub);
|
|
77
|
+
const hello = await publicHub.hello({ rotate: false, evolverVersion: getCliVersion(), preserveCredentials: true });
|
|
78
|
+
if (!hello.ok)
|
|
79
|
+
throw new Error(`reference_hub_hello_failed: ${hello.error ?? 'unknown'}`);
|
|
80
|
+
capability = publicHub.references;
|
|
81
|
+
}
|
|
82
|
+
if (!capability)
|
|
83
|
+
throw new Error('reference_hub_unsupported');
|
|
84
|
+
const page = reference.decodeReferencePage(await capability.fetch(fetchQuery), true);
|
|
85
|
+
// Validate the whole page before any persistence; importing the pair originals never credits reuse.
|
|
86
|
+
const receipt = page.results.length ? store.import(page.results, 'hub') : { status: 'stored_reference', stored: 0, duplicates: 0, asset_ids: [], executable: false };
|
|
87
|
+
out(JSON.stringify({ ...receipt, ...page }));
|
|
88
|
+
}
|
|
89
|
+
return 0;
|
|
90
|
+
}
|
|
91
|
+
catch (error) {
|
|
92
|
+
out(JSON.stringify({ ok: false, error: error instanceof Error ? error.message : 'reference_failed' }));
|
|
93
|
+
return 1;
|
|
94
|
+
}
|
|
95
|
+
finally {
|
|
96
|
+
if (keepAlive !== undefined)
|
|
97
|
+
clearInterval(keepAlive);
|
|
98
|
+
}
|
|
99
|
+
}
|
package/dist/sync.js
CHANGED
|
@@ -2,7 +2,7 @@ import { closeSync, constants, fstatSync, lstatSync, mkdirSync, openSync, readSy
|
|
|
2
2
|
import { Buffer } from 'node:buffer';
|
|
3
3
|
import { createHash, randomUUID } from 'node:crypto';
|
|
4
4
|
import { dirname, join } from 'node:path';
|
|
5
|
-
import { assetstore, events, hub as hubNs, wire } from '@evomap/evolver-core';
|
|
5
|
+
import { reference, assetstore, events, hub as hubNs, wire } from '@evomap/evolver-core';
|
|
6
6
|
import { AuthError, connectPublicHub, HubClientError, HubUnreachableError, isHubDryRunEnabled, MalformedAccountAssetPageError, resolveHubUrl, stripHubDeliveryMetadataForIntegrity, } from '@evomap/evolver-adapter-public';
|
|
7
7
|
import { loadEnvFileFromEnv } from '@evomap/evolver-mcp';
|
|
8
8
|
import { createRecipeHubFromEnv, resolveRecipeHubResumeIdentityFingerprint } from './recipe.js';
|
|
@@ -53,6 +53,34 @@ export async function runSyncCommand(argv, deps = {}) {
|
|
|
53
53
|
env,
|
|
54
54
|
assetsDir: deps.assetsDir ?? join(events.evomapHome(env), 'assets'),
|
|
55
55
|
};
|
|
56
|
+
if (parsed.value.importPath) {
|
|
57
|
+
const raw = JSON.parse(readBoundedGepxText(parsed.value.importPath));
|
|
58
|
+
if (reference.hasEvidenceMode(raw)) {
|
|
59
|
+
const envelope = !Array.isArray(raw) ? reference.record(raw) : undefined;
|
|
60
|
+
const assets = envelope?.['assets'];
|
|
61
|
+
let batch = raw;
|
|
62
|
+
if (Array.isArray(assets)) {
|
|
63
|
+
if (assets.some((a) => !['Gene', 'Capsule'].includes(String(reference.record(a)['type']))))
|
|
64
|
+
throw new Error('reference_pair_required');
|
|
65
|
+
const genes = assets.filter((a) => reference.record(a)['type'] === 'Gene');
|
|
66
|
+
const capsules = assets.filter((a) => reference.record(a)['type'] === 'Capsule');
|
|
67
|
+
batch = capsules.map((capsule) => {
|
|
68
|
+
const matches = genes.filter((gene) => [reference.record(gene)['id'], reference.record(gene)['asset_id']].includes(reference.record(capsule)['gene']));
|
|
69
|
+
if (matches.length !== 1)
|
|
70
|
+
throw new Error('reference_gene_binding_invalid');
|
|
71
|
+
return { gene: matches[0], capsule };
|
|
72
|
+
});
|
|
73
|
+
if (genes.some((g) => !capsules.some((c) => [reference.record(g)['id'], reference.record(g)['asset_id']].includes(reference.record(c)['gene']))))
|
|
74
|
+
throw new Error('reference_orphan_gene');
|
|
75
|
+
}
|
|
76
|
+
const pairs = reference.decodeReferenceBatch(batch);
|
|
77
|
+
const receipt = parsed.value.write
|
|
78
|
+
? new reference.ReferenceStore(join(runtimeDeps.assetsDir, 'references')).import(pairs)
|
|
79
|
+
: { status: 'would_store_reference', count: pairs.length, executable: false };
|
|
80
|
+
out(stringifyJsonOutput({ ok: true, group: GROUP, ...receipt }));
|
|
81
|
+
return 0;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
56
84
|
const result = parsed.value.exportPath
|
|
57
85
|
? await executeSyncExport(parsed.value, runtimeDeps)
|
|
58
86
|
: parsed.value.importPath
|
package/dist/valueDigest.js
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// tick the cadence check — this is the bus's first live built-in observer.
|
|
10
10
|
import { appendFileSync, mkdirSync, readFileSync, writeFileSync } from 'node:fs';
|
|
11
11
|
import { dirname, join } from 'node:path';
|
|
12
|
-
import { assetstore, events, observers, ops } from '@evomap/evolver-core';
|
|
12
|
+
import { reference, assetstore, events, observers, ops } from '@evomap/evolver-core';
|
|
13
13
|
import { loadPriceTable } from '@evomap/evolver-adapter-public';
|
|
14
14
|
/** Markdown file sink: appends each weekly digest to <home>/evolution/value-digest.md (inspectable history). */
|
|
15
15
|
export function fileDigestSink(path) {
|
|
@@ -86,6 +86,7 @@ export function resolveValueDigestObserver(env = process.env, opts = {}) {
|
|
|
86
86
|
traces: ops.readTraceRecords(tracesDir),
|
|
87
87
|
events: events.readEvents(eventsPath),
|
|
88
88
|
prices,
|
|
89
|
+
referenceScope: reference.referenceScopeForEventsPath(eventsPath),
|
|
89
90
|
}, window),
|
|
90
91
|
digestExtras: async () => {
|
|
91
92
|
const store = new assetstore.LocalJsonlProvider(events.assetsDir());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evomap/evolver-cli",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.36",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@evomap/evolver-core": "2.0.
|
|
27
|
-
"@evomap/evolver-adapter-public": "2.0.
|
|
28
|
-
"@evomap/evolver-mcp": "2.0.
|
|
29
|
-
"@evomap/evolver-proxy": "2.0.
|
|
30
|
-
"@evomap/evolver-runtime-adapters": "2.0.
|
|
31
|
-
"@evomap/evolver-webui": "2.0.
|
|
26
|
+
"@evomap/evolver-core": "2.0.36",
|
|
27
|
+
"@evomap/evolver-adapter-public": "2.0.36",
|
|
28
|
+
"@evomap/evolver-mcp": "2.0.36",
|
|
29
|
+
"@evomap/evolver-proxy": "2.0.36",
|
|
30
|
+
"@evomap/evolver-runtime-adapters": "2.0.36",
|
|
31
|
+
"@evomap/evolver-webui": "2.0.36"
|
|
32
32
|
},
|
|
33
33
|
"repository": {
|
|
34
34
|
"type": "git",
|