Merge branch 'main' into pr/smallflyingpig/36

# Conflicts:
#	src/entrypoints/cli.tsx
This commit is contained in:
claude-code-best
2026-04-02 21:25:53 +08:00
184 changed files with 11136 additions and 1771 deletions

View File

@@ -10,12 +10,12 @@ import { getRainbowColor } from '../utils/thinking.js';
// buzz instead of a single UTC-midnight spike, gentler on soul-gen load.
// Teaser window: April 1-7, 2026 only. Command stays live forever after.
export function isBuddyTeaserWindow(): boolean {
if (("external" as string) === 'ant') return true;
if ((process.env.USER_TYPE) === 'ant') return true;
const d = new Date();
return d.getFullYear() === 2026 && d.getMonth() === 3 && d.getDate() <= 7;
}
export function isBuddyLive(): boolean {
if (("external" as string) === 'ant') return true;
if ((process.env.USER_TYPE) === 'ant') return true;
const d = new Date();
return d.getFullYear() > 2026 || d.getFullYear() === 2026 && d.getMonth() >= 3;
}