wicked-crew 0.18.1 → 0.18.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 +15 -11
- package/dist/api/chat-proposals.d.ts +10 -2
- package/dist/api/chat-proposals.d.ts.map +1 -1
- package/dist/api/chat-proposals.js +20 -2
- package/dist/api/chat-proposals.js.map +1 -1
- package/dist/api/chat-scope.d.ts +25 -0
- package/dist/api/chat-scope.d.ts.map +1 -1
- package/dist/api/chat-scope.js +49 -4
- package/dist/api/chat-scope.js.map +1 -1
- package/dist/api/proposal-onboard.d.ts +147 -0
- package/dist/api/proposal-onboard.d.ts.map +1 -0
- package/dist/api/proposal-onboard.js +390 -0
- package/dist/api/proposal-onboard.js.map +1 -0
- package/dist/api/routes.d.ts +8 -1
- package/dist/api/routes.d.ts.map +1 -1
- package/dist/api/routes.js +168 -53
- package/dist/api/routes.js.map +1 -1
- package/dist/api/seat-container-login.d.ts +4 -0
- package/dist/api/seat-container-login.d.ts.map +1 -1
- package/dist/api/seat-container-login.js +51 -5
- package/dist/api/seat-container-login.js.map +1 -1
- package/dist/api/server.d.ts +8 -0
- package/dist/api/server.d.ts.map +1 -1
- package/dist/api/server.js +49 -2
- package/dist/api/server.js.map +1 -1
- package/dist/core/adapter.d.ts +17 -2
- package/dist/core/adapter.d.ts.map +1 -1
- package/dist/core/adapter.js +19 -4
- package/dist/core/adapter.js.map +1 -1
- package/dist/projects/auto-refresh.d.ts +17 -6
- package/dist/projects/auto-refresh.d.ts.map +1 -1
- package/dist/projects/auto-refresh.js +16 -11
- package/dist/projects/auto-refresh.js.map +1 -1
- package/dist/projects/graph.d.ts +6 -0
- package/dist/projects/graph.d.ts.map +1 -1
- package/dist/projects/graph.js +16 -4
- package/dist/projects/graph.js.map +1 -1
- package/dist/projects/repo-watch-routes.d.ts +16 -0
- package/dist/projects/repo-watch-routes.d.ts.map +1 -0
- package/dist/projects/repo-watch-routes.js +51 -0
- package/dist/projects/repo-watch-routes.js.map +1 -0
- package/dist/projects/repo-watch.d.ts +227 -0
- package/dist/projects/repo-watch.d.ts.map +1 -0
- package/dist/projects/repo-watch.js +851 -0
- package/dist/projects/repo-watch.js.map +1 -0
- package/dist/projects/routes.d.ts +30 -0
- package/dist/projects/routes.d.ts.map +1 -1
- package/dist/projects/routes.js +57 -24
- package/dist/projects/routes.js.map +1 -1
- package/dist/projects/state-home-registry.d.ts.map +1 -1
- package/dist/projects/state-home-registry.js +2 -0
- package/dist/projects/state-home-registry.js.map +1 -1
- package/dist/studio/apps-standalone/fixture.js +3 -3
- package/dist/studio/assets/{KnowledgeGraph-BT5Y-B8b.js → KnowledgeGraph-8Nfz0zPk.js} +1 -1
- package/dist/studio/assets/{index-Bl9m8ldl.js → index-C-0B6Ue3.js} +306 -302
- package/dist/studio/assets/index-Hi4Wevnb.css +32 -0
- package/dist/studio/editors/wicked-apps/editor.json +1 -1
- package/dist/studio/editors/wicked-apps/index.html +1 -1
- package/dist/studio/editors/wicked-deck/editor.json +1 -1
- package/dist/studio/editors/wicked-deck/index.html +1 -1
- package/dist/studio/editors/wicked-doc/editor.json +1 -1
- package/dist/studio/editors/wicked-doc/index.html +1 -1
- package/dist/studio/editors/wicked-insights/editor.json +1 -1
- package/dist/studio/editors/wicked-insights/index.html +1 -1
- package/dist/studio/editors/wicked-page/editor.json +1 -1
- package/dist/studio/editors/wicked-page/index.html +1 -1
- package/dist/studio/editors/wicked-video/editor.json +1 -1
- package/dist/studio/editors/wicked-video/index.html +1 -1
- package/dist/studio/index.html +2 -2
- package/dist/studio/testid-inventory.json +197 -4
- package/endpoint-manifest.json +34 -2
- package/package.json +4 -4
- package/dist/studio/assets/index-B_JwrHVF.css +0 -32
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THE REPO WATCHER (crew-0183, wicked-core#1230): a registered repo's code graph follows its checkout
|
|
3
|
+
* with no click. Without it the repo graph (onboarding's) and the project graphs (refreshed after
|
|
4
|
+
* onboarding or by hand) stayed at whatever they were indexed at while the person edited, pulled,
|
|
5
|
+
* committed and switched branches, and chats, Understand and runs read the stale graph.
|
|
6
|
+
*
|
|
7
|
+
* # One mechanism: git state, polled
|
|
8
|
+
*
|
|
9
|
+
* Per repo, ONE process: `git -c core.fsmonitor=false status --porcelain=v2 -z --branch
|
|
10
|
+
* --untracked-files=all --ignore-submodules=dirty` with `GIT_OPTIONAL_LOCKS=0`. Its fingerprint is
|
|
11
|
+
* HEAD (`branch.oid`), the branch (`branch.head`) and every listed entry with its size and mtime: a
|
|
12
|
+
* commit or pull moves the oid, a switch the head, an edit to an already-modified file its stat, a
|
|
13
|
+
* new file (nested in a new untracked directory too: `all`) adds an entry. Why not `fs.watch`:
|
|
14
|
+
* recursive watching is emulated on Linux with one inotify watch per directory (node_modules
|
|
15
|
+
* exhausts `max_user_watches`, no ignore option); git is the same on macOS, Linux and Windows, holds
|
|
16
|
+
* no OS handle and already knows the ignore rules. `core.fsmonitor=false` because a repo-configured
|
|
17
|
+
* fsmonitor would spawn a `git fsmonitor--daemon` per repo that outlives the poll; optional locks
|
|
18
|
+
* off so a poll never takes `index.lock` beside the person's own git.
|
|
19
|
+
*
|
|
20
|
+
* # Bounded
|
|
21
|
+
*
|
|
22
|
+
* One poll at a time daemon-wide; a repo's next poll comes after `max(5 s, 10 × its last poll)`,
|
|
23
|
+
* at most 30 s (git takes ~10% of the loop's time per repo and slows itself on a loaded machine,
|
|
24
|
+
* while a change is still seen within 30 s); a failing poll backs off to 10 min. A change seen is
|
|
25
|
+
* polled again 5 s later and indexed when that poll sees the same fingerprint (the quiet window),
|
|
26
|
+
* or 60 s after the first change under continuous churn. At most
|
|
27
|
+
* {@link REPO_WATCH_CAP} repos. One index at a time (the queue below).
|
|
28
|
+
*
|
|
29
|
+
* # One writer
|
|
30
|
+
*
|
|
31
|
+
* The repo graph is written ONLY by the engine's `indexRepoGraph` (the onboarding index command,
|
|
32
|
+
* under the lock a launch's D8 base index takes; the engine re-reads the active runs on the repo under
|
|
33
|
+
* that lock and answers `held`). It is never re-indexed while a run holds it at its base: a run
|
|
34
|
+
* actively executing on the repo (its floor's affected set reads the graph at the base), or a
|
|
35
|
+
* `domain-extraction` run, executing or parked (its pages read the graph with no base check, #1230). A parked run does not hold it: its floor finds the graph not at its base and runs the full
|
|
36
|
+
* suite, disclosed (core `floor_affected.rs`, `review_scale::graph_age`). Then every project the repo
|
|
37
|
+
* is in is refreshed through the onboarding hook's own function. Nothing here re-runs
|
|
38
|
+
* `clusters --annotate`: "current" covers symbols, files and references, never clusters.
|
|
39
|
+
*
|
|
40
|
+
* # Restart
|
|
41
|
+
*
|
|
42
|
+
* `<state home>/repo-watch.json` (registered in the state-home registry crew and wicked-core ship) keeps,
|
|
43
|
+
* per repo, the fingerprint last indexed, when, when a launch on the repo last resolved its base, and the
|
|
44
|
+
* off switch. At boot every repo's first poll compares against it and indexes a difference (catch-up). A
|
|
45
|
+
* launch since the last index (`runBaseResolved`, then its D8 re-indexes the graph at that run's base)
|
|
46
|
+
* brings the graph back to the checkout once nothing holds it.
|
|
47
|
+
*/
|
|
48
|
+
import type { RepoWatchHold, RepoWatchStatus } from 'wicked-crew-api-types';
|
|
49
|
+
import type { RepoEntry, SessionView } from '../core/types.js';
|
|
50
|
+
export declare const REPO_WATCH_CAP = 24;
|
|
51
|
+
export declare const POLL_MIN_MS = 5000;
|
|
52
|
+
/** A repo's poll period is at least this many times its last poll's duration (git stays near 10% of its time)… */
|
|
53
|
+
export declare const POLL_DUTY = 10;
|
|
54
|
+
/** …and never longer than this, so a change is seen within it even when spawning git is slow on a loaded host. */
|
|
55
|
+
export declare const POLL_MAX_MS = 30000;
|
|
56
|
+
/** A change seen is looked at again this soon: the quiet window (the index starts when it has not moved since). */
|
|
57
|
+
export declare const QUIET_MS = 5000;
|
|
58
|
+
export declare const POLL_BACKOFF_MAX_MS: number;
|
|
59
|
+
export declare const CHANGE_MAX_WAIT_MS = 60000;
|
|
60
|
+
export declare const INDEX_BACKOFF_BASE_MS = 60000;
|
|
61
|
+
export declare const INDEX_BACKOFF_MAX_MS: number;
|
|
62
|
+
/** Entries whose size and mtime are read per poll; past it the fingerprint is the status text alone. */
|
|
63
|
+
export declare const STAT_CAP = 2000;
|
|
64
|
+
export declare const GIT_TIMEOUT_MS = 20000;
|
|
65
|
+
/** How long the repo list is reused before it is read again. */
|
|
66
|
+
export declare const REPOS_TTL_MS = 30000;
|
|
67
|
+
/** The poll, verbatim (pinned by a test): no fsmonitor daemon, nested untracked files, dirty submodules ignored. */
|
|
68
|
+
export declare const POLL_ARGS: readonly string[];
|
|
69
|
+
/** Path segments a change under never counts (a repo that forgot to ignore its build output must not loop). */
|
|
70
|
+
export declare const IGNORED_SEGMENTS: ReadonlySet<string>;
|
|
71
|
+
/** The engine's `graph_required` preset (core `actor.rs`): its pages read the graph with no base check. */
|
|
72
|
+
export declare const DOMAIN_MAPPING = "domain-extraction";
|
|
73
|
+
export interface PorcelainStatus {
|
|
74
|
+
oid: string | null;
|
|
75
|
+
head: string | null;
|
|
76
|
+
/** `<kind> <XY>` and the repo-relative path, in git's order; a rename/copy also names its origin (`from`). */
|
|
77
|
+
entries: Array<{
|
|
78
|
+
code: string;
|
|
79
|
+
path: string;
|
|
80
|
+
from?: string;
|
|
81
|
+
}>;
|
|
82
|
+
}
|
|
83
|
+
/** `git status --porcelain=v2 -z --branch` → HEAD, branch, entries (`2` rename entries carry their origin path as the next field). */
|
|
84
|
+
export declare function parsePorcelainV2(stdout: string): PorcelainStatus;
|
|
85
|
+
/** Whether a change at `path` (repo-relative, `/`-separated) counts. `outside` = directories whose writes never count
|
|
86
|
+
* (the state home, the graph roots), compared both as given and as the checkout spells them. */
|
|
87
|
+
export declare function countsAsChange(path: string, root: string, outside: string | null | readonly string[]): boolean;
|
|
88
|
+
/** The directories a checkout's changes never count under, canonical (codex r2: `/tmp` vs `/private/tmp`, and the graph
|
|
89
|
+
* roots an operator variable can point inside a checkout). */
|
|
90
|
+
export declare function outsideDirs(stateHome: string | null, env?: NodeJS.ProcessEnv): string[];
|
|
91
|
+
export type StatFn = (path: string) => Promise<{
|
|
92
|
+
size: number;
|
|
93
|
+
mtimeMs: number;
|
|
94
|
+
} | null>;
|
|
95
|
+
/** The bytes of a small changed file, so a same-size edit inside one mtime tick still moves the fingerprint. */
|
|
96
|
+
export type ReadFn = (path: string) => Promise<Buffer | null>;
|
|
97
|
+
/** Changed files at most this big are hashed by content (pi r1: a 1 s mtime filesystem hides a same-size edit)… */
|
|
98
|
+
export declare const HASH_FILE_MAX: number;
|
|
99
|
+
/** …within this many bytes per poll; past it, size and mtime alone. */
|
|
100
|
+
export declare const HASH_BUDGET: number;
|
|
101
|
+
/**
|
|
102
|
+
* The fingerprint of a repo's state on disk, from its poll. Every counted entry contributes its status, size and mtime,
|
|
103
|
+
* and a small file its content hash. `coarse`: past {@link STAT_CAP} entries (build output git does not ignore), the
|
|
104
|
+
* stats stop and the fingerprint moves once a minute instead, so a change there is still indexed within ~1 min —
|
|
105
|
+
* never reported current on no evidence (codex r1).
|
|
106
|
+
*/
|
|
107
|
+
export declare function fingerprintOf(root: string, status: PorcelainStatus, stateHome: string | null | readonly string[], stat?: StatFn, read?: ReadFn, now?: () => number): Promise<{
|
|
108
|
+
fingerprint: string;
|
|
109
|
+
stable: string;
|
|
110
|
+
coarse: boolean;
|
|
111
|
+
changed: number;
|
|
112
|
+
}>;
|
|
113
|
+
export type GitFn = (cwd: string, args: readonly string[]) => Promise<string>;
|
|
114
|
+
/** The poll's git: optional locks off, hidden on Windows, bounded, output capped; its env through `execCapped`'s
|
|
115
|
+
* boot-store scrub like every crew child (crew#495). */
|
|
116
|
+
export declare const pollGit: GitFn;
|
|
117
|
+
/** The runs on `repoId` that hold its graph at their base now. */
|
|
118
|
+
export declare function holdsOf(views: readonly SessionView[], repoId: string): RepoWatchHold[];
|
|
119
|
+
export interface IndexAnswer {
|
|
120
|
+
outcome: 'indexed' | 'no-graph' | 'held';
|
|
121
|
+
heldBy?: string[];
|
|
122
|
+
}
|
|
123
|
+
export interface RepoWatchDeps {
|
|
124
|
+
listRepos: () => Promise<RepoEntry[]>;
|
|
125
|
+
runViews: () => Promise<readonly SessionView[]>;
|
|
126
|
+
/** The engine's checkout re-index (core-ts `indexRepoGraph`): it re-reads active runs under its lock (`held`). */
|
|
127
|
+
indexRepoGraph: (repoId: string) => Promise<IndexAnswer>;
|
|
128
|
+
/** Refresh every project the repo is in (`refreshProjectGraphsForRepo`, never served by a refresh that predates this
|
|
129
|
+
* index); `true` when every one of them refreshed. */
|
|
130
|
+
refreshProjects: (repoId: string) => Promise<boolean>;
|
|
131
|
+
/** `<state home>/repo-watch.json`. */
|
|
132
|
+
statePath: string;
|
|
133
|
+
/** The daemon's state home (changes under it never count). */
|
|
134
|
+
stateHome: string | null;
|
|
135
|
+
/** `false` when `WICKED_CREW_REPO_WATCH=off`: nothing is polled; the status says why. */
|
|
136
|
+
enabled: boolean;
|
|
137
|
+
log: (msg: string) => void;
|
|
138
|
+
now?: () => number;
|
|
139
|
+
git?: GitFn;
|
|
140
|
+
stat?: StatFn;
|
|
141
|
+
read?: ReadFn;
|
|
142
|
+
exists?: (p: string) => boolean;
|
|
143
|
+
}
|
|
144
|
+
/** The idle poll period after a poll that took `lastPollMs`. */
|
|
145
|
+
export declare function pollPeriod(lastPollMs: number): number;
|
|
146
|
+
/** The person-facing remedy for an index failure (the engine's words name the cause). */
|
|
147
|
+
export declare function indexRemedy(error: string): string;
|
|
148
|
+
export declare function pollRemedy(): string;
|
|
149
|
+
export declare class RepoWatcher {
|
|
150
|
+
private readonly deps;
|
|
151
|
+
private readonly now;
|
|
152
|
+
private readonly git;
|
|
153
|
+
private readonly stat;
|
|
154
|
+
private readonly read;
|
|
155
|
+
private readonly exists;
|
|
156
|
+
private readonly outside;
|
|
157
|
+
/** Repo id → record. A Map, so no repo id (`__proto__`) can reach an object's prototype (codex r1). */
|
|
158
|
+
private readonly records;
|
|
159
|
+
private loading;
|
|
160
|
+
private readonly repos;
|
|
161
|
+
private reposReadAt;
|
|
162
|
+
private readonly queue;
|
|
163
|
+
private timer;
|
|
164
|
+
private running;
|
|
165
|
+
private stopped;
|
|
166
|
+
/** The ONE step in flight; a wake while it runs only marks another step owed (codex + pi r1). */
|
|
167
|
+
private busy;
|
|
168
|
+
private wakeOwed;
|
|
169
|
+
private saving;
|
|
170
|
+
private readonly booted;
|
|
171
|
+
private pollsSinceDebt;
|
|
172
|
+
private readonly bootOwed;
|
|
173
|
+
private saves;
|
|
174
|
+
constructor(deps: RepoWatchDeps);
|
|
175
|
+
/** Start the loop (no-op when off for the daemon). */
|
|
176
|
+
start(): void;
|
|
177
|
+
/** Stop: no new step starts; the one in flight and any pending save are awaited. */
|
|
178
|
+
stop(): Promise<void>;
|
|
179
|
+
/** Wake the loop: a step now, unless one is running (then right after it). */
|
|
180
|
+
private kick;
|
|
181
|
+
/** How long until the next thing is due (bounded 250 ms … 1 s, so a new repo or a press is picked up). */
|
|
182
|
+
private delay;
|
|
183
|
+
private pollable;
|
|
184
|
+
private load;
|
|
185
|
+
private readRecords;
|
|
186
|
+
/** Persist, one write at a time, each through its own temporary file (codex + pi r1). */
|
|
187
|
+
private save;
|
|
188
|
+
private rec;
|
|
189
|
+
/** Re-read the registry: onboarded repos with a folder; the first {@link REPO_WATCH_CAP} ENABLED ones are polled. */
|
|
190
|
+
syncRepos(force?: boolean): Promise<void>;
|
|
191
|
+
/** The resting state a switch or the cap implies (the operational states stand otherwise). */
|
|
192
|
+
private restate;
|
|
193
|
+
/** One unit of work: the next queued index, else the most overdue poll. Exposed for tests. */
|
|
194
|
+
step(): Promise<void>;
|
|
195
|
+
private poll;
|
|
196
|
+
private decide;
|
|
197
|
+
private index;
|
|
198
|
+
/** Refresh the repo's projects; a failure is owed (persisted) and retried, backed off, by the polls (codex r2). */
|
|
199
|
+
private refreshProjectsOf;
|
|
200
|
+
/** One read of the checkout now (the poll's own), or `null` when git could not read it. */
|
|
201
|
+
private sample;
|
|
202
|
+
/**
|
|
203
|
+
* A run on `repoId` resolved its base (`runBaseResolved`): its D8 re-indexes the repo graph at that base, so the
|
|
204
|
+
* graph no longer follows the checkout. Recorded (durably), so once nothing holds the map it is indexed again.
|
|
205
|
+
*/
|
|
206
|
+
noteLaunch(repoId: string): Promise<void>;
|
|
207
|
+
/** Something changed the registry (a repo onboarded): read it at the next step, now. */
|
|
208
|
+
wake(): void;
|
|
209
|
+
/** A person pressed Re-index now: queued at the next step, past the quiet window, the backoff, the switch and the cap;
|
|
210
|
+
* while runs hold the map the request is kept and runs when they let go. */
|
|
211
|
+
reindexNow(repoId: string): Promise<{
|
|
212
|
+
queued: boolean;
|
|
213
|
+
waitingOn: RepoWatchHold[];
|
|
214
|
+
unknown?: true;
|
|
215
|
+
}>;
|
|
216
|
+
/** The per-repo switch (persisted). An unknown repo changes nothing (codex + pi r1). */
|
|
217
|
+
setEnabled(repoId: string, enabled: boolean): Promise<boolean>;
|
|
218
|
+
/** The wire status (`GET /repo-watch`). */
|
|
219
|
+
status(): RepoWatchStatus;
|
|
220
|
+
/** `diagnostics.repoWatch`: the status plus the loop's own numbers. */
|
|
221
|
+
diagnostics(): Record<string, unknown>;
|
|
222
|
+
}
|
|
223
|
+
/** What "current" covers, on the wire so no surface claims more. */
|
|
224
|
+
export declare const COVERS = "Symbols, files and references for what is on disk now. Clusters refresh when the repository is onboarded again.";
|
|
225
|
+
/** `WICKED_CREW_REPO_WATCH=off` (also `0`, `false`, `no`) turns the watcher off for the daemon. */
|
|
226
|
+
export declare function repoWatchEnabledByEnv(env?: NodeJS.ProcessEnv): boolean;
|
|
227
|
+
//# sourceMappingURL=repo-watch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"repo-watch.d.ts","sourceRoot":"","sources":["../../src/projects/repo-watch.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AAOH,OAAO,KAAK,EAAkB,aAAa,EAAE,eA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