Name: Explicata, and EX_ for the environment variables
Infinispand becomes Explicata (Latin, "things unfolded") wherever the name shows: the page title, README, package, prompts, seed title, Wikipedia User-Agent and startup line. Every IE_* variable becomes EX_*. The browser's IndexedDB name and the ie: storage keys stay, so settings and replicas already stored are found; the migration fixtures keep the old seed title. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014yB6q6Kn9JiRmGKzPQMh7o
This commit is contained in:
1 parent
e6d71e84de
commit
60d26908d6
51 files changed
+256
-252
No files matched your search
@@ -32,7 +32,7 @@ export interface JobState {
|
||||
finishedAt?: number;
|
||||
/** Seconds left, estimated from the requests still to make and the client's spacing. */
|
||||
etaSec: number | null;
|
||||
/** The client is spacing requests for want of a contact (IE_WIKI_CONTACT). */
|
||||
/** The client is spacing requests for want of a contact (EX_WIKI_CONTACT). */
|
||||
slow: boolean;
|
||||
message?: string;
|
||||
/** The reviewer's part, for a job started with review: verdicts so far, calls made of those allowed, and why it stopped early if it did. */
|
||||
@@ -55,7 +55,7 @@ export class Jobs {
|
||||
pending: PendingStore;
|
||||
announce: (state: JobState) => void;
|
||||
reviewer?: Reviewer;
|
||||
/** Calls a job's review may make (IE_REVIEW_CALLS). */
|
||||
/** Calls a job's review may make (EX_REVIEW_CALLS). */
|
||||
reviewCalls?: number;
|
||||
},
|
||||
) {}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* Suggestions and what was decided about them. Derived data, so they live on the server under
|
||||
* <IE_DATA>/libraries/<id>/links/pending.json, one file per library, and never in the library.
|
||||
* <EX_DATA>/libraries/<id>/links/pending.json, one file per library, and never in the library.
|
||||
*
|
||||
* A scan replaces what was pending for its node, but what was decided is kept: the model
|
||||
* reviewer's verdict (link or not, and why), a person's decision, and when an approved link was
|
||||
|
||||
@@ -22,7 +22,7 @@ import type { Suggestion } from "./scan";
|
||||
/** Proposals per call. */
|
||||
export const BATCH = 60;
|
||||
|
||||
/** Calls a background job may make, unless IE_REVIEW_CALLS says otherwise. */
|
||||
/** Calls a background job may make, unless EX_REVIEW_CALLS says otherwise. */
|
||||
export const JOB_CALLS = 50;
|
||||
/** Calls the scan after one edit may make. */
|
||||
export const SCAN_CALLS = 2;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
* or POST { node, text, title, ancestors }
|
||||
* POST /api/links/jobs { scope: "node" | "library", node?, review? } → the job's state (node: a node's id, scanned with
|
||||
* everything under it; on the library root, the whole library); it runs in the background
|
||||
* (with review, the model reviewer judges what it finds, within IE_REVIEW_CALLS calls)
|
||||
* (with review, the model reviewer judges what it finds, within EX_REVIEW_CALLS calls)
|
||||
* GET /api/links/jobs → { job } (the current or last one)
|
||||
* DELETE /api/links/jobs → cancel the running job
|
||||
* GET /api/links/status → embeddings, the node index, the pending count, the job
|
||||
|
||||
@@ -177,7 +177,7 @@ export const TUNING: Tuning = {
|
||||
};
|
||||
|
||||
/**
|
||||
* Per-model adjustments. The test model (IE_EMBED=fake: hashed words) gives a 7-word description
|
||||
* Per-model adjustments. The test model (EX_EMBED=fake: hashed words) gives a 7-word description
|
||||
* and a paragraph a cosine of 0.1–0.3 when they share a word and 0 when they share none.
|
||||
*/
|
||||
const PROFILES: Record<string, Partial<Tuning>> = {
|
||||
|
||||
Reference in new issue
Block a user