first commit

This commit is contained in:
chenqg
2026-04-01 18:04:13 +08:00
commit f6f2b2a5e6
2028 changed files with 515929 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
/**
* Shim for bun:bundle's feature() function.
* Selectively enables features that have complete source code available.
*/
const ENABLED_FLAGS = new Set([
'AGENT_TRIGGERS', // Cron tools
'AGENT_TRIGGERS_REMOTE', // Remote triggers
'EXTRACT_MEMORIES', // Memory auto-extraction
'TOKEN_BUDGET', // Token budget tracking
'CHICAGO_MCP', // Computer Use MCP
'COMMIT_ATTRIBUTION', // Commit attribution
'MCP_RICH_OUTPUT', // MCP rich output
]);
export function feature(name: string): boolean {
return ENABLED_FLAGS.has(name);
}