浏览器与电脑操作

AskJev

@ranjan28296TypeScriptMIT更新于 2026-09-18可当场跑

AskJev 是 Jev 的自动驾驶工具,支持任意网站并防止不可逆点击,基于 TypeSafe System One。

英文原文

AskJev — Jev autopilot for any website + guard on irreversible clicks (TypeSafe System One, not Claude)

ranjan2829/AskJev

它在哪儿调用了 Jev

export const SYSTEM_ONE_URL = "https://api.typesafe.ai/v1/systemone";

src/jev.ts:3

链接指向我们抓取当天的那个 commit,行号是准的。

它问 Jev 的问题

下面是从这个项目源码里原样取出来的 question 组合。

取自 extension/background.js:1

  1. irreversible是/否

    Would executing this next action cause lasting harm (pay, delete, send, publish, deploy, revoke, grant access)?

  2. goal_done是/否

    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.

用你自己的内容跑一遍

代码
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.' },
  },
});

取自 mcp/src/jev-client.ts:292

  1. irreversible是/否

    Would executing this next action cause a lasting, hard-to-undo effect?

  2. goal_done是/否

    Is the user goal already fully satisfied by what is visible on this page?

  3. progress打分

    How much does the chosen next action advance the user goal?

    • 0Wrong direction
    • 1Leaves the task or repeats a step that already failed
    • 2Neutral
    • 3Scroll or wait that may or may not reveal the target
    • 4Real progress
    • 5Moves to the next required screen or fills a required field
    • 6Completes the goal
    • 7This action reaches the goal's destination

用你自己的内容跑一遍

代码
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?' },
    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'] },
  },
});

取自 scripts/check-guard-live.mjs:140

  1. irreversible是/否

    Would 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?' },
  },
});

同类的其他项目