Automatically scanned data. Review the source before installing. Levels describe capabilities, not a safety certification.
View matches (13)
Execute commands · line35 linehooks/register.tsxconst num = /^\s*(\d{1,2})[/.-](\d{1,2})\s*$/.exec(s)
Execute commands · line37 linehooks/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)
Execute commands · line49 linehooks/register.tsxconst r = await $.process.run(['osascript', '-e', CHATS], { timeoutMs: 120_000 })
Model calls · line84 linehooks/register.tsxconst r = await $.model.complete({ model: 'claude-sonnet-5-5', prompt, maxTokens: 400, timeoutMs: 60_000 })
Execute commands · line87 linehooks/register.tsxif (r.isAnswered) return (JSON.parse(/\[[\s\S]*\]/.exec(r.text)![0]) as string[]).filter(n => names.has(n)).slice(0, 10)
Execute commands · line96 linehooks/register.tsxconst r = await $.process.run(['osascript', '-l', 'JavaScript', '-e', CONTACTS], { timeoutMs: 90_000 })
Execute commands · line164 linehooks/register.tsxreturn (await $.process.run(['osascript', '-l', 'JavaScript', '-e', js])).stdout.trim()
Execute commands · line171 linehooks/register.tsxawait $.process.run(['open', `sms:${handle}&body=${encodeURIComponent(wish)}`])
Execute commands · line177 linehooks/register.tsxconst me = (await $.process.run(['osascript', '-l', 'JavaScript', '-e', "Application('Contacts').myCard().name()"])).stdout.trim()
Register tools · line207 linehooks/register.tsxawait $.tool.register({
Register tools · line217 linehooks/register.tsxawait $.tool.register({ name: 'list_birthdays', description: 'List the birthdays GoodFriend knows, as "Full Name: M/D".' })
Intercept tool calls · line222 linehooks/register.tsxon('tool.call', { tool: 'mcp__goodfriend__set_birthday' }, async ($, e) => {
Intercept tool calls · line228 linehooks/register.tsxon('tool.call', { tool: 'mcp__goodfriend__list_birthdays' }, async $ => ({