検出箇所を見る(13)
コマンド実行 ・行35 行hooks/register.tsxconst num = /^\s*(\d{1,2})[/.-](\d{1,2})\s*$/.exec(s)
コマンド実行 ・行37 行hooks/register.tsxconst word = /([a-z]{3})[a-z]*\.?\s+(\d{1,2})|(\d{1,2})(?:st|nd|rd|th)?\s+([a-z]{3})/i.exec(s)
コマンド実行 ・行49 行hooks/register.tsxconst r = await $.process.run(['osascript', '-e', CHATS], { timeoutMs: 120_000 })
モデル呼び出し ・行84 行hooks/register.tsxconst r = await $.model.complete({ model: 'claude-sonnet-5-5', prompt, maxTokens: 400, timeoutMs: 60_000 })
コマンド実行 ・行87 行hooks/register.tsxif (r.isAnswered) return (JSON.parse(/\[[\s\S]*\]/.exec(r.text)![0]) as string[]).filter(n => names.has(n)).slice(0, 10)
コマンド実行 ・行96 行hooks/register.tsxconst r = await $.process.run(['osascript', '-l', 'JavaScript', '-e', CONTACTS], { timeoutMs: 90_000 })
コマンド実行 ・行164 行hooks/register.tsxreturn (await $.process.run(['osascript', '-l', 'JavaScript', '-e', js])).stdout.trim()
コマンド実行 ・行171 行hooks/register.tsxawait $.process.run(['open', `sms:${handle}&body=${encodeURIComponent(wish)}`])
コマンド実行 ・行177 行hooks/register.tsxconst me = (await $.process.run(['osascript', '-l', 'JavaScript', '-e', "Application('Contacts').myCard().name()"])).stdout.trim()
ツール登録 ・行207 行hooks/register.tsxawait $.tool.register({
ツール登録 ・行217 行hooks/register.tsxawait $.tool.register({ name: 'list_birthdays', description: 'List the birthdays GoodFriend knows, as "Full Name: M/D".' })
ツール呼び出しの介入 ・行222 行hooks/register.tsxon('tool.call', { tool: 'mcp__goodfriend__set_birthday' }, async ($, e) => {
ツール呼び出しの介入 ・行228 行hooks/register.tsxon('tool.call', { tool: 'mcp__goodfriend__list_birthdays' }, async $ => ({