Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
// Safari invokes this only after the user selects Cindy in the share sheet.
// Keep the page untouched. Include the selected passage, never form fields.
var ExtensionPreprocessingJS = {
run: function (args) {
args.completionFunction({
title: document.title || '',
url: document.location.href,
selection: String(window.getSelection() || ''),
});
},
};