検出箇所を見る(23)
環境変数 ・行224 行hooks/register.tsxconst maison = (await $.env.get('USERPROFILE')) ?? (await $.env.get('HOME')) ?? ''
環境変数 ・行225 行hooks/register.tsxconst config = ((await $.env.get('CLAUDE_CONFIG_DIR')) ?? `${maison}/.claude`).replace(/\\/g, '/')
環境変数 ・行227 行hooks/register.tsxconst donnees = ((await $.env.get('WORKLOG_DATA_DIR')) ?? `${config}/${DOSSIER_DONNEES}`).replace(/\\/g, '/')
ファイル読み取り ・行264 行hooks/register.tsxconst avant = (await $.fs.exists(fichier)) ? await $.fs.read(fichier) : ''
ファイル書き込み ・行265 行hooks/register.tsxawait $.fs.write(fichier, `${avant}${JSON.stringify(ev)}\n`)
ファイル読み取り ・行279 行hooks/register.tsxconst signe = (await $.fs.list(dossier)).find(f => f.name === nom)
ファイル書き込み ・行285 行hooks/register.tsxawait $.fs.write(`${journal}/${cleJour(await $.clock.now())}/${await $.session.id()}.vivant`, '')
ファイル読み取り ・行296 行hooks/register.tsxpresents.set(racine, new Set((await $.fs.exists(racine)) ? (await $.fs.list(racine)).map(f => f.name) : []))
ファイル読み取り ・行302 行hooks/register.tsxconst fichiers = await $.fs.list(dossier)
ファイル読み取り ・行304 行hooks/register.tsxif (name.endsWith('.jsonl')) evenements.push(...lireLignes(await $.fs.read(`${dossier}/${name}`)))
ファイル読み取り ・行320 行hooks/register.tsxconst { fin } = JSON.parse(await $.fs.read(fichier)) as { fin?: unknown }
ファイル読み取り ・行353 行hooks/register.tsxconst garde = JSON.parse(await $.fs.read(fichier)) as { maj?: unknown; modeles?: unknown }
環境変数 ・行359 行hooks/register.tsxif (maintenant - maj < PRIX_MS || maintenant - essaiPrix < ESSAI_PRIX_MS || (await $.env.get('WORKLOG_PRICES')) === 'off') return
ネットワーク通信 ・行364 行hooks/register.tsxconst reponse = await $.http.fetch(LITELLM).catch(() => null)
ファイル書き込み ・行368 行hooks/register.tsxawait $.fs.write(fichier, JSON.stringify({ maj: maintenant, modeles }))
環境変数 ・行424 行hooks/register.tsxconst hote = await $.env.get('CLAUDE_CODE_HOST_SESSION_ID')
コマンド実行 ・行445 行hooks/register.tsxconst git = await $.process.run(['git', 'branch', '--show-current'], { timeoutMs: 5_000 }).catch(() => null)
ファイル読み取り ・行498 行hooks/register.tsxconst etats = lireLignes(await $.fs.read(fichier)).filter(ev => ev.e === 'agents-debut' || ev.e === 'agents-fin')
ファイル読み取り ・行589 行hooks/register.tsxif (await $.fs.exists(dossier)) jours.push(...(await $.fs.list(dossier)).map(f => f.name).filter(n => /^\d{4}-\d{2}-\d{2}$/.test(n)))
コマンド実行 ・行849 行hooks/register.tsxconst bande = element === undefined ? null : /^theme-(\w+)#\d+$/.exec(element)
ツール呼び出しの介入 ・行1852 行hooks/register.tsxon('tool.call', ($, e, next) => {
コマンド実行 ・行147 行hooks/calcul.tsreturn expression(motif, false)?.exec(texte)?.[0] ?? null
コマンド実行 ・行600 行hooks/calcul.ts.map(cle => Number(/^input_cost_per_token_above_(\d+)k_tokens$/.exec(cle)?.[1] ?? 0))