release: Lynceuz v0.1 — public web evidence at zero cost, or an honest stop

This commit is contained in:
public-repo-gate
2026-08-31 22:21:33 +03:00
parent b4431b420c
commit 61a7f0d116
97 changed files with 22291 additions and 1 deletions
+29
View File
@@ -0,0 +1,29 @@
export function capability(overrides = {}) {
return {
id: 'native',
version: 'test-1',
state: 'ready',
reason: 'fixture_ready',
automatic: true,
commands: ['url'],
cost: 'local-zero',
price: 0,
networkModel: 'core-http',
...overrides,
};
}
export function scriptedAdapter(outcomes) {
const script = [...outcomes];
const calls = [];
return {
calls,
async run(job) {
calls.push(job);
if (script.length === 0) throw new Error('script exhausted');
const next = script.shift();
if (next instanceof Error) throw next;
return typeof next === 'function' ? next(job, calls.length) : next;
},
};
}