查看命中位置(40)
讀取檔案 · 第532 行hooks/register.tsxconst text = await $.fs.read(`${home}/.config/jev/.env`).catch(() => '')
連網 · 第690 行hooks/register.tsx$.http.fetch((await envJevUrl($)) ?? JEV_URL, {
模型呼叫 · 第767 行hooks/register.tsxconst ask = (model: string) => $.model.complete({ model, system: JUDGE_SYSTEM, prompt: asked, maxTokens: 160, effort: 'low', timeoutMs: 6000 })
模型呼叫 · 第833 行hooks/register.tsxconst ask = (model: string) => $.model.complete({ model, system: HANDOFF_SYSTEM, prompt: evidence, maxTokens: 60, effort: 'low', timeoutMs: 8000 })
環境變數 · 第1004 行hooks/register.tsxconst envLog = ($: EngineInterface) => (askLog = askLog ?? $.env.get('EFFORTLESS_LOG'))
環境變數 · 第1005 行hooks/register.tsxconst envTemp = ($: EngineInterface) => (askTemp = askTemp ?? $.env.get('TEMP'))
環境變數 · 第1006 行hooks/register.tsxconst envTmpdir = ($: EngineInterface) => (askTmpdir = askTmpdir ?? $.env.get('TMPDIR'))
環境變數 · 第1007 行hooks/register.tsxconst envModelUi = ($: EngineInterface) => (askModelUi = askModelUi ?? $.env.get('EFFORTLESS_MODEL_UI'))
環境變數 · 第1008 行hooks/register.tsxconst envJevUrl = ($: EngineInterface) => (askJevUrl = askJevUrl ?? $.env.get('JEV_URL'))
環境變數 · 第1009 行hooks/register.tsxconst envJevKey = ($: EngineInterface) => (askJevKey = askJevKey ?? $.env.get('TYPESAFE_API_KEY'))
環境變數 · 第1010 行hooks/register.tsxconst envUserProfile = ($: EngineInterface) => (askUserProfile = askUserProfile ?? $.env.get('USERPROFILE'))
環境變數 · 第1011 行hooks/register.tsxconst envHome = ($: EngineInterface) => (askHome = askHome ?? $.env.get('HOME'))
寫入檔案 · 第1024 行hooks/register.tsxawait $.fs.write(path, proofLines.slice(-200).join('\n') + '\n').catch(() => undefined)
讀取檔案 · 第1353 行hooks/register.tsxconst text = await $.fs.read(`${home}/.claude/effortless-preview.json`).catch(() => '')
提交提示詞 · 第1633 行hooks/register.tsxelse await $.prompt.submit({ text: HANDOFF_FULL_PROMPT })
模型呼叫 · 第1639 行hooks/register.tsxconst forked = await $.model.fork({ prompt: HANDOFF_PROMPT }).catch((error: unknown) => error)
提交提示詞 · 第1650 行hooks/register.tsxawait $.prompt.submit({ text: HANDOFF_PROMPT })
提交提示詞 · 第1683 行hooks/register.tsxawait $.prompt.submit({ text: handoffMessage(text, handoffThen, handoffFull ? config.handoffSkill : undefined) })
讀取檔案 · 第1826 行hooks/register.tsxconst before = await $.fs.read(path).catch(() => '')
寫入檔案 · 第1828 行hooks/register.tsxawait $.fs.write(path, withJevKey(typeof before === 'string' ? before : '', clean))
讀取檔案 · 第1854 行hooks/register.tsxconst text = await $.fs.read(`${home}/.config/jev/.env`).catch(() => '')
寫入檔案 · 第2188 行hooks/register.tsxif (home) await $.fs.write(`${home}/.claude/effortless-render-${loadedSession}.log`, renderLog.slice(-300).join('\n') + '\n').catch(() => undefined)
執行指令 · 第2429 行hooks/register.tsxconst r = await $.process.run(['claude', 'plugin', 'uninstall', pluginId($)], { timeoutMs: 120_000 }).catch(error => ({ exitCode: 1, stdout: '', stderr: String(error) }))
讀取檔案 · 第2551 行hooks/register.tsxconst text = await $.fs.read(`${$.plugin.root}/.claude-plugin/plugin.json`).catch(() => '')
執行指令 · 第2565 行hooks/register.tsxconst git = (...args: string[]) => $.process.run(['git', '-C', dir, ...args], { timeoutMs: 60_000 })
執行指令 · 第2567 行hooks/register.tsxawait $.process.run(['git', 'init', '-q', dir], { timeoutMs: 30_000 })
連網 · 第2580 行hooks/register.tsxconst res = await $.http.fetch(`${RELEASES_URL}&t=${Date.now()}`, { headers: { accept: 'application/vnd.github.raw', 'user-agent': 'effortless' } }).catch((error: unknown) => ({ ok: false, status: 0,
讀取檔案 · 第2585 行hooks/register.tsxconst text = await $.fs.read(marketplace).catch(() => '')
執行指令 · 第2589 行hooks/register.tsxawait $.process.run(['claude', 'plugin', 'marketplace', 'update', 'effortless'], { timeoutMs: 120_000, env: GITHUB_OVER_HTTPS }).catch(() => null)
執行指令 · 第2705 行hooks/register.tsxconst r = await $.process.run(argv, { timeoutMs: 180_000, env: GITHUB_OVER_HTTPS })
讀取檔案 · 第2744 行hooks/register.tsxconst record = JSON.parse(String(await $.fs.read(`${home}/installed_plugins.json`))) as { plugins?: Record<string, { installPath?: unknown }[]> }
執行指令 · 第2748 行hooks/register.tsxconst r = await $.process.run(argv, { timeoutMs: 120_000 })
讀取檔案 · 第3473 行hooks/register.tsxif (!known || edited) imports = importsOf(rel, await $.fs.read(path).then(t => t.slice(0, 512_000), () => ''))
模型呼叫 · 第3536 行hooks/register.tsxconst r = await $.model.complete({
讀取檔案 · 第3610 行hooks/register.tsxvoid $.fs.read(`${$.plugin.root}/.claude-plugin/plugin.json`).then(t => { ownVersion = String(JSON.parse(String(t)).version ?? '') }).catch(() => undefined)
讀取檔案 · 第3787 行hooks/register.tsxconst cases = (JSON.parse(await $.fs.read(`${$.plugin.root}/bench/judge-cases.json`)) as { cases: BenchCase[] }).cases
寫入檔案 · 第3792 行hooks/register.tsxawait $.fs.write(`${out}.json`, JSON.stringify({ cases: cases.length, answers }, null, 2))
寫入檔案 · 第3793 行hooks/register.tsxawait $.fs.write(`${out}.md`, report)
攔截工具呼叫 · 第4120 行hooks/register.tsxon('tool.call', async ($, e, next) => {
攔截工具呼叫 · 第206 行hooks/progress.tsxon('tool.call', async ($, e, next) => {