vexp-cli 1.2.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/vexp.js ADDED
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env node
2
+ // Thin bootstrap: import the compiled CLI
3
+ import("../dist/cli.js").catch((err) => {
4
+ console.error("Failed to load vexp CLI:", err.message);
5
+ console.error("Try reinstalling: npm install -g vexp");
6
+ process.exit(1);
7
+ });
@@ -0,0 +1,27 @@
1
+ export interface AgentDetection {
2
+ agent: string;
3
+ detectPath: string;
4
+ configFile: string;
5
+ templateName: string;
6
+ mcpConfigFile?: string;
7
+ }
8
+ export interface AgentConfig {
9
+ agent: string;
10
+ configFile: string;
11
+ content: string;
12
+ alreadyExists: boolean;
13
+ action: "created" | "appended" | "updated" | "skipped";
14
+ }
15
+ export interface SetupResult {
16
+ agents: AgentConfig[];
17
+ mcpConfigs: string[];
18
+ }
19
+ /**
20
+ * Detect which AI coding agents are present in the workspace.
21
+ */
22
+ export declare function detectAgents(workspaceRoot: string): AgentDetection[];
23
+ /**
24
+ * Configure all detected agents: write instruction files + MCP configs.
25
+ * If `agentFilter` is provided, only configure those agents.
26
+ */
27
+ export declare function configureAgents(workspaceRoot: string, binaryPath: string, version: string, agentFilter?: string[]): SetupResult;