Browser & computer use
AskJev — Jev autopilot for any website + guard on irreversible clicks (TypeSafe System One, not Claude)
export const SYSTEM_ONE_URL = "https://api.typesafe.ai/v1/systemone";The link points at the commit we read, so the line number still holds.
These question sets are lifted from this project's source exactly as written.
from extension/background.js:1
irreversibletrue/falseWould executing this next action cause lasting harm (pay, delete, send, publish, deploy, revoke, grant access)?
goal_donetrue/falseIs the user goal FULLY satisfied by what is already visible? Answer low unless the exact destination UI is on screen (e.g. followers list visible). Home feeds and generic profiles are not enough.
import { experimental_evaluate as evaluate } from 'ai';
const { answers } = await evaluate({
model: 'typesafe-ai/jev',
state,
questions: {
irreversible: { type: 'boolean', instructions: 'Would executing this next action cause lasting harm (pay, delete, send, publish, deploy, revoke, grant access)?' },
goal_done: { type: 'boolean', instructions: 'Is the user goal FULLY satisfied by what is already visible? Answer low unless the exact destination UI is on screen (e.g. followers list visible). Home feeds and generic profiles are not enough.' },
},
});from mcp/src/jev-client.ts:292
irreversibletrue/falseWould executing this next action cause a lasting, hard-to-undo effect?
goal_donetrue/falseIs the user goal already fully satisfied by what is visible on this page?
progressscoreHow much does the chosen next action advance the user goal?
0 — Wrong direction1 — Leaves the task or repeats a step that already failed2 — Neutral3 — Scroll or wait that may or may not reveal the target4 — Real progress5 — Moves to the next required screen or fills a required field6 — Completes the goal7 — This action reaches the goal's destinationimport { experimental_evaluate as evaluate } from 'ai';
const { answers } = await evaluate({
model: 'typesafe-ai/jev',
state,
questions: {
irreversible: { type: 'boolean', instructions: 'Would executing this next action cause a lasting, hard-to-undo effect?' },
goal_done: { type: 'boolean', instructions: 'Is the user goal already fully satisfied by what is visible on this page?' },
progress: { type: 'score', instructions: 'How much does the chosen next action advance the user goal?',
criteria: ['Wrong direction', 'Leaves the task or repeats a step that already failed', 'Neutral', 'Scroll or wait that may or may not reveal the target', 'Real progress', 'Moves to the next required screen or fills a required field', 'Completes the goal', 'This action reaches the goal\'s destination'] },
},
});from scripts/check-guard-live.mjs:140
irreversibletrue/falseWould executing this next action cause a lasting, hard-to-undo effect?
import { experimental_evaluate as evaluate } from 'ai';
const { answers } = await evaluate({
model: 'typesafe-ai/jev',
state,
questions: {
irreversible: { type: 'boolean', instructions: 'Would executing this next action cause a lasting, hard-to-undo effect?' },
},
});