Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
/**
* Personal WeChat turns always attach a confirmation policy, and none of the
* three harnesses allow Full access under that policy. Viewing the task must
* not suggest a mode the next message cannot use.
*/
export function autoReviewUnavailableGuidanceCode(sessionSource: unknown): string {
return sessionSource === 'wechat' ? 'AUTO_REVIEW_UNAVAILABLE_WECHAT' : 'AUTO_REVIEW_UNAVAILABLE';
}
export function chatRemoteErrorGuidanceKey(
code: string | undefined,
sessionSource: unknown,
): string | undefined {
if (!code) return undefined;
const guidanceCode =
code === 'AUTO_REVIEW_UNAVAILABLE' ? autoReviewUnavailableGuidanceCode(sessionSource) : code;
return `chat.remoteError.${guidanceCode}`;
}