Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
/** 任务记录里「Agent 在某个分享者的电脑上」的设备 id 前缀(与桌面同构:`share:<shareId>`)。 */
export const PROVIDER_SHARE_AGENT_DEVICE_PREFIX = 'share:';
export function isProviderShareAgentDeviceId(deviceId: string | null | undefined): deviceId is string {
return typeof deviceId === 'string'
&& deviceId.length > PROVIDER_SHARE_AGENT_DEVICE_PREFIX.length
&& deviceId.startsWith(PROVIDER_SHARE_AGENT_DEVICE_PREFIX);
}