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
45 lines • 1.2 kB
TypeScript
/**
* Address Parser — parse hybrid addressing syntax into queries
*
* Syntaxes:
* @.aiwg/requirements/UC-001.md → location
* @?"user authentication" → semantic
* @.aiwg/requirements/?"auth" → hybrid
* @#security,authentication → tags
* @phase:requirements → phase
*
* @module artifacts/address-parser
* @issue #187
*/
export interface HybridQuery {
path?: string;
semanticQuery?: string;
tags?: string[];
phase?: string;
type?: string;
updatedAfter?: string;
limit?: number;
}
export type AddressType = 'location' | 'semantic' | 'hybrid' | 'tags' | 'phase';
export interface ParsedAddress {
type: AddressType;
query: HybridQuery;
raw: string;
}
/**
* Parse an address string into a HybridQuery.
*/
export declare function parseAddress(input: string): ParsedAddress;
/**
* Build a HybridQuery from multiple criteria (CLI-style).
*/
export declare function buildQuery(options: {
path?: string;
query?: string;
tags?: string;
phase?: string;
type?: string;
since?: string;
limit?: number;
}): HybridQuery;
//# sourceMappingURL=address-parser.d.ts.map