Agent 工具

opencode-system-one

@emirbartu1TypeScript更新于 2026-09-19可当场跑

Opencode 插件,使用 Jev(system one 模型)辅助软件开发流程,非 Opencode 团队官方项目。

英文原文

Opencode plugin using Jev (system one model) as part of software development process. Not affiliated with Opencode team.

emirbartu/opencode-system-one

它在哪儿调用了 Jev

const model = options.model ?? "~typesafe/jev-latest"

src/jev.ts:38

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

它问 Jev 的问题

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

取自 scripts/jev-probe.ts:23

  1. is_urgent是/否

    Does this message convey urgency?

  2. department选项

    Which team should handle this?

    • billingPayments, invoicing, refunds
    • technicalBugs, outages, integrations
    • salesPricing, upgrades, new accounts

用你自己的内容跑一遍

代码
import { experimental_evaluate as evaluate } from 'ai';

const { answers } = await evaluate({
  model: 'typesafe-ai/jev',
  state,
  questions: {
    is_urgent: { type: 'boolean', instructions: 'Does this message convey urgency?' },
    department: { type: 'choice', instructions: 'Which team should handle this?',
      criteria: { billing: 'Payments, invoicing, refunds', technical: 'Bugs, outages, integrations', sales: 'Pricing, upgrades, new accounts' } },
  },
});

取自 scripts/jev-probe.ts:48

  1. needs_tool是/否

    Does making progress require calling a tool?

用你自己的内容跑一遍

代码
import { experimental_evaluate as evaluate } from 'ai';

const { answers } = await evaluate({
  model: 'typesafe-ai/jev',
  state,
  questions: {
    needs_tool: { type: 'boolean', instructions: 'Does making progress require calling a tool?' },
  },
});

同类的其他项目