MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / getSnapshotService

Method getSnapshotService

src/agent/loop.ts:225–227  ·  view source on GitHub ↗

Public read accessor for slash commands to operate on snapshots.

()

Source from the content-addressed store, hash-verified

223 private completionGateFired = false; // completion-claim gate fires at most once per run
224 /** Visual gate state (reset per run): has the single corrective retry been spent? */
225 private visualGateRetried = false;
226 /** Injectable Layer-3 reviewer for the completion-time visual gate — tests mock this;
227 * when null the loop runs the real `artifact_review` tool (browser + vision). */
228 visualReviewFn: VisualReviewFn | null = null;
229 /** Auto-compact older turns when context exceeds the threshold of the model's window. Enabled by default. */
230 private autoCompactEnabled = true;

Callers 1

handleSlashCommandFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected