Skip to content

Commit 66aad2d

Browse files
Braden-suiclaude
andcommitted
feat: add jiron-discovery, vibe-generate, and vibe-publish modules
Add API discovery, code generation, and publishing modules: jiron-discovery: - API contract discovery from Jiron endpoints - Schema extraction and validation - Endpoint metadata collection vibe-generate: - AI-powered code generation - Template-based output formatting - Multi-file generation support vibe-publish: - Capsule packaging and upload - Authentication retry with token refresh - Progress tracking and error handling Depends on: vibe-utils (#73), vibe-auth (#74), vibe-prompt (#75) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 265732b commit 66aad2d

10 files changed

+4374
-0
lines changed

lib/jiron-discovery.d.ts

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
export type JironContractConfig = {
2+
oauth: Record<string, unknown>;
3+
endpoints: Record<string, unknown>;
4+
apiBase: string | null;
5+
playerBase: string | null;
6+
playerUrlTemplate: string | null;
7+
raw: Record<string, unknown>;
8+
};
9+
10+
export function parseJironPug(pugContent: string): JironContractConfig;
11+
12+
export function fetchJironContract(params: {
13+
apiBase: string;
14+
forceRefresh?: boolean;
15+
fetchFn?: (...args: any[]) => Promise<any>;
16+
}): Promise<JironContractConfig>;
17+
18+
export function clearJironCache(): void;
19+
20+
export function getJironCacheState(): {
21+
hasCache: boolean;
22+
expiresAt: string | null;
23+
ttlRemaining: number;
24+
};
25+
26+
export function getDefaultConfig(): Record<string, unknown>;

0 commit comments

Comments
 (0)