aiwg
Version:
Deployment tool and support utility for AI context. Copies agents, skills, commands, rules, and behaviors into the paths each AI platform reads (Claude Code, Codex, Copilot, Cursor, Warp, OpenClaw, and 6 more) so one source of truth works across 10 platfo
27 lines • 1.32 kB
TypeScript
/**
* Provider policy for AIWG.md and AGENTS.md emission.
*
* Per ADR-1 §3: AIWG.md + AGENTS.md emit by default for providers
* whose loaders consume an AGENTS.md (or close variant: Hermes `.hermes.md`,
* Warp `WARP.md` twin). Claude Code is excluded because CLAUDE.md is its
* native context file and continues unchanged. OpenClaw deploys to home
* directory only and is similarly excluded from project-root context-file
* emission.
*/
import type { Platform } from '../../agents/types.js';
/**
* Providers that receive AIWG.md + AGENTS.md emission at project root.
*
* Sources kept in sync:
* - ADR-1 §3 default-on rollout (`.aiwg/architecture/adr-agents-md-aggregation.md`)
* - ADR-1 §4 per-provider variants table (file-name + twin-file emission)
*/
export declare const AGENTS_MD_PROVIDERS: ReadonlySet<Platform>;
export type AgentsMdProvider = Platform & ('codex' | 'copilot' | 'cursor' | 'windsurf' | 'hermes' | 'warp' | 'factory' | 'opencode');
/**
* Whether the context-pipeline should emit AIWG.md + AGENTS.md for a given
* provider. Returns false for Claude Code (uses CLAUDE.md natively),
* OpenClaw (home-dir-only deployment), and 'generic' (no specific provider).
*/
export declare function shouldEmitContextFiles(provider: Platform): boolean;
//# sourceMappingURL=provider-policy.d.ts.map