@sudosandwich/limps 0.2.0 → 0.3.0
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/README.md +281 -33
- package/dist/cli/config-cmd.d.ts +68 -0
- package/dist/cli/config-cmd.d.ts.map +1 -0
- package/dist/cli/config-cmd.js +206 -0
- package/dist/cli/config-cmd.js.map +1 -0
- package/dist/cli/index.d.ts +11 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +12 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/cli/init-project.d.ts +12 -0
- package/dist/cli/init-project.d.ts.map +1 -0
- package/dist/cli/init-project.js +104 -0
- package/dist/cli/init-project.js.map +1 -0
- package/dist/cli/list-agents.d.ts +66 -0
- package/dist/cli/list-agents.d.ts.map +1 -0
- package/dist/cli/list-agents.js +147 -0
- package/dist/cli/list-agents.js.map +1 -0
- package/dist/cli/list-plans.d.ts +63 -0
- package/dist/cli/list-plans.d.ts.map +1 -0
- package/dist/cli/list-plans.js +218 -0
- package/dist/cli/list-plans.js.map +1 -0
- package/dist/cli/next-task.d.ts +83 -0
- package/dist/cli/next-task.d.ts.map +1 -0
- package/dist/cli/next-task.js +201 -0
- package/dist/cli/next-task.js.map +1 -0
- package/dist/cli/registry.d.ts +94 -0
- package/dist/cli/registry.d.ts.map +1 -0
- package/dist/cli/registry.js +150 -0
- package/dist/cli/registry.js.map +1 -0
- package/dist/cli/status.d.ts +35 -0
- package/dist/cli/status.d.ts.map +1 -0
- package/dist/cli/status.js +110 -0
- package/dist/cli/status.js.map +1 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +10 -0
- package/dist/cli.js.map +1 -0
- package/dist/commands/config/add.d.ts +9 -0
- package/dist/commands/config/add.d.ts.map +1 -0
- package/dist/commands/config/add.js +20 -0
- package/dist/commands/config/add.js.map +1 -0
- package/dist/commands/config/discover.d.ts +3 -0
- package/dist/commands/config/discover.d.ts.map +1 -0
- package/dist/commands/config/discover.js +9 -0
- package/dist/commands/config/discover.js.map +1 -0
- package/dist/commands/config/index.d.ts +3 -0
- package/dist/commands/config/index.d.ts.map +1 -0
- package/dist/commands/config/index.js +7 -0
- package/dist/commands/config/index.js.map +1 -0
- package/dist/commands/config/list.d.ts +3 -0
- package/dist/commands/config/list.d.ts.map +1 -0
- package/dist/commands/config/list.js +9 -0
- package/dist/commands/config/list.js.map +1 -0
- package/dist/commands/config/path.d.ts +3 -0
- package/dist/commands/config/path.d.ts.map +1 -0
- package/dist/commands/config/path.js +10 -0
- package/dist/commands/config/path.js.map +1 -0
- package/dist/commands/config/remove.d.ts +9 -0
- package/dist/commands/config/remove.d.ts.map +1 -0
- package/dist/commands/config/remove.js +17 -0
- package/dist/commands/config/remove.js.map +1 -0
- package/dist/commands/config/set.d.ts +9 -0
- package/dist/commands/config/set.d.ts.map +1 -0
- package/dist/commands/config/set.js +17 -0
- package/dist/commands/config/set.js.map +1 -0
- package/dist/commands/config/show.d.ts +3 -0
- package/dist/commands/config/show.d.ts.map +1 -0
- package/dist/commands/config/show.js +15 -0
- package/dist/commands/config/show.js.map +1 -0
- package/dist/commands/config/use.d.ts +9 -0
- package/dist/commands/config/use.d.ts.map +1 -0
- package/dist/commands/config/use.js +17 -0
- package/dist/commands/config/use.js.map +1 -0
- package/dist/commands/index.d.ts +3 -0
- package/dist/commands/index.d.ts.map +1 -0
- package/dist/commands/index.js +7 -0
- package/dist/commands/index.js.map +1 -0
- package/dist/commands/init.d.ts +13 -0
- package/dist/commands/init.d.ts.map +1 -0
- package/dist/commands/init.js +20 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/commands/list-agents.d.ts +13 -0
- package/dist/commands/list-agents.d.ts.map +1 -0
- package/dist/commands/list-agents.js +31 -0
- package/dist/commands/list-agents.js.map +1 -0
- package/dist/commands/list-plans.d.ts +11 -0
- package/dist/commands/list-plans.d.ts.map +1 -0
- package/dist/commands/list-plans.js +21 -0
- package/dist/commands/list-plans.js.map +1 -0
- package/dist/commands/next-task.d.ts +13 -0
- package/dist/commands/next-task.d.ts.map +1 -0
- package/dist/commands/next-task.js +46 -0
- package/dist/commands/next-task.js.map +1 -0
- package/dist/commands/serve.d.ts +11 -0
- package/dist/commands/serve.d.ts.map +1 -0
- package/dist/commands/serve.js +31 -0
- package/dist/commands/serve.js.map +1 -0
- package/dist/commands/status.d.ts +13 -0
- package/dist/commands/status.d.ts.map +1 -0
- package/dist/commands/status.js +28 -0
- package/dist/commands/status.js.map +1 -0
- package/dist/components/AgentsList.d.ts +19 -0
- package/dist/components/AgentsList.d.ts.map +1 -0
- package/dist/components/AgentsList.js +29 -0
- package/dist/components/AgentsList.js.map +1 -0
- package/dist/components/Error.d.ts +6 -0
- package/dist/components/Error.d.ts.map +1 -0
- package/dist/components/Error.js +6 -0
- package/dist/components/Error.js.map +1 -0
- package/dist/components/NextTask.d.ts +12 -0
- package/dist/components/NextTask.d.ts.map +1 -0
- package/dist/components/NextTask.js +11 -0
- package/dist/components/NextTask.js.map +1 -0
- package/dist/components/PlanStatus.d.ts +11 -0
- package/dist/components/PlanStatus.d.ts.map +1 -0
- package/dist/components/PlanStatus.js +18 -0
- package/dist/components/PlanStatus.js.map +1 -0
- package/dist/components/PlansList.d.ts +12 -0
- package/dist/components/PlansList.d.ts.map +1 -0
- package/dist/components/PlansList.js +23 -0
- package/dist/components/PlansList.js.map +1 -0
- package/dist/components/Success.d.ts +6 -0
- package/dist/components/Success.d.ts.map +1 -0
- package/dist/components/Success.js +6 -0
- package/dist/components/Success.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -246
- package/dist/index.js.map +1 -1
- package/dist/server-main.d.ts +11 -0
- package/dist/server-main.d.ts.map +1 -0
- package/dist/server-main.js +81 -0
- package/dist/server-main.js.map +1 -0
- package/dist/server.js +1 -1
- package/dist/server.js.map +1 -1
- package/dist/theme/colors.d.ts +64 -0
- package/dist/theme/colors.d.ts.map +1 -0
- package/dist/theme/colors.js +85 -0
- package/dist/theme/colors.js.map +1 -0
- package/dist/theme/index.d.ts +6 -0
- package/dist/theme/index.d.ts.map +1 -0
- package/dist/theme/index.js +6 -0
- package/dist/theme/index.js.map +1 -0
- package/dist/tools/claim-task.d.ts +7 -10
- package/dist/tools/claim-task.d.ts.map +1 -1
- package/dist/tools/create-doc.d.ts +7 -10
- package/dist/tools/create-doc.d.ts.map +1 -1
- package/dist/tools/create-plan.d.ts +1 -7
- package/dist/tools/create-plan.d.ts.map +1 -1
- package/dist/tools/delete-doc.d.ts +1 -9
- package/dist/tools/delete-doc.d.ts.map +1 -1
- package/dist/tools/get-next-task.d.ts +19 -9
- package/dist/tools/get-next-task.d.ts.map +1 -1
- package/dist/tools/get-next-task.js +64 -1
- package/dist/tools/get-next-task.js.map +1 -1
- package/dist/tools/get-plan-status.d.ts +24 -0
- package/dist/tools/get-plan-status.d.ts.map +1 -0
- package/dist/tools/get-plan-status.js +48 -0
- package/dist/tools/get-plan-status.js.map +1 -0
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +66 -18
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/list-agents.d.ts +24 -0
- package/dist/tools/list-agents.d.ts.map +1 -0
- package/dist/tools/list-agents.js +60 -0
- package/dist/tools/list-agents.js.map +1 -0
- package/dist/tools/list-docs.d.ts +1 -11
- package/dist/tools/list-docs.d.ts.map +1 -1
- package/dist/tools/list-plans.d.ts +23 -0
- package/dist/tools/list-plans.d.ts.map +1 -0
- package/dist/tools/list-plans.js +44 -0
- package/dist/tools/list-plans.js.map +1 -0
- package/dist/tools/open-document-in-cursor.d.ts +1 -9
- package/dist/tools/open-document-in-cursor.d.ts.map +1 -1
- package/dist/tools/process-doc.d.ts +43 -0
- package/dist/tools/process-doc.d.ts.map +1 -0
- package/dist/tools/{rlm-query.js → process-doc.js} +7 -8
- package/dist/tools/process-doc.js.map +1 -0
- package/dist/tools/process-docs.d.ts +54 -0
- package/dist/tools/process-docs.d.ts.map +1 -0
- package/dist/tools/{rlm-multi-query.js → process-docs.js} +10 -10
- package/dist/tools/process-docs.js.map +1 -0
- package/dist/tools/release-task.d.ts +5 -10
- package/dist/tools/release-task.d.ts.map +1 -1
- package/dist/tools/search-docs.d.ts +1 -7
- package/dist/tools/search-docs.d.ts.map +1 -1
- package/dist/tools/update-doc.d.ts +6 -90
- package/dist/tools/update-doc.d.ts.map +1 -1
- package/dist/tools/update-task-status.d.ts +7 -12
- package/dist/tools/update-task-status.d.ts.map +1 -1
- package/dist/utils/config-resolver.d.ts +19 -0
- package/dist/utils/config-resolver.d.ts.map +1 -0
- package/dist/utils/config-resolver.js +65 -0
- package/dist/utils/config-resolver.js.map +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/markdown.d.ts +15 -0
- package/dist/utils/markdown.d.ts.map +1 -0
- package/dist/utils/markdown.js +20 -0
- package/dist/utils/markdown.js.map +1 -0
- package/dist/utils/os-paths.d.ts +4 -4
- package/dist/utils/os-paths.js +5 -5
- package/dist/utils/os-paths.js.map +1 -1
- package/package.json +22 -11
- package/dist/tools/read-doc.d.ts +0 -44
- package/dist/tools/read-doc.d.ts.map +0 -1
- package/dist/tools/read-doc.js +0 -174
- package/dist/tools/read-doc.js.map +0 -1
- package/dist/tools/rlm-multi-query.d.ts +0 -110
- package/dist/tools/rlm-multi-query.d.ts.map +0 -1
- package/dist/tools/rlm-multi-query.js.map +0 -1
- package/dist/tools/rlm-query.d.ts +0 -56
- package/dist/tools/rlm-query.d.ts.map +0 -1
- package/dist/tools/rlm-query.js.map +0 -1
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Project registry for managing limps configurations.
|
|
3
|
+
* Stores a mapping of project names to config paths, enabling
|
|
4
|
+
* users to switch between projects without specifying --config each time.
|
|
5
|
+
*/
|
|
6
|
+
import { existsSync, readFileSync, writeFileSync, mkdirSync, renameSync } from 'fs';
|
|
7
|
+
import { dirname } from 'path';
|
|
8
|
+
import { getOSBasePath } from '../utils/os-paths.js';
|
|
9
|
+
/**
|
|
10
|
+
* Get the path to the registry file.
|
|
11
|
+
* Uses XDG-compliant location: ~/.config/limps/registry.json
|
|
12
|
+
*
|
|
13
|
+
* @returns Absolute path to registry.json
|
|
14
|
+
*/
|
|
15
|
+
export function getRegistryPath() {
|
|
16
|
+
return `${getOSBasePath('limps')}/registry.json`;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Load the project registry from disk.
|
|
20
|
+
* Returns an empty registry if the file doesn't exist.
|
|
21
|
+
*
|
|
22
|
+
* @returns The project registry
|
|
23
|
+
*/
|
|
24
|
+
export function loadRegistry() {
|
|
25
|
+
const path = getRegistryPath();
|
|
26
|
+
if (!existsSync(path)) {
|
|
27
|
+
return { version: 1, current: null, projects: {} };
|
|
28
|
+
}
|
|
29
|
+
try {
|
|
30
|
+
const content = readFileSync(path, 'utf-8');
|
|
31
|
+
const registry = JSON.parse(content);
|
|
32
|
+
// Validate basic structure
|
|
33
|
+
if (!registry.version || !registry.projects) {
|
|
34
|
+
console.error('Warning: Corrupt registry file, resetting to empty');
|
|
35
|
+
return { version: 1, current: null, projects: {} };
|
|
36
|
+
}
|
|
37
|
+
return registry;
|
|
38
|
+
}
|
|
39
|
+
catch (_error) {
|
|
40
|
+
console.error('Warning: Failed to parse registry file, resetting to empty');
|
|
41
|
+
return { version: 1, current: null, projects: {} };
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Save the project registry to disk.
|
|
46
|
+
* Uses atomic write (write to temp, then rename) to prevent corruption.
|
|
47
|
+
*
|
|
48
|
+
* @param registry - The registry to save
|
|
49
|
+
*/
|
|
50
|
+
export function saveRegistry(registry) {
|
|
51
|
+
const path = getRegistryPath();
|
|
52
|
+
mkdirSync(dirname(path), { recursive: true });
|
|
53
|
+
// Atomic write: write to temp file, then rename
|
|
54
|
+
const tmp = `${path}.tmp.${process.pid}`;
|
|
55
|
+
writeFileSync(tmp, JSON.stringify(registry, null, 2));
|
|
56
|
+
renameSync(tmp, path);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Register a new project in the registry.
|
|
60
|
+
*
|
|
61
|
+
* @param name - Project name (used as identifier)
|
|
62
|
+
* @param configPath - Absolute path to the project's config.json
|
|
63
|
+
*/
|
|
64
|
+
export function registerProject(name, configPath) {
|
|
65
|
+
const registry = loadRegistry();
|
|
66
|
+
registry.projects[name] = {
|
|
67
|
+
configPath,
|
|
68
|
+
registeredAt: new Date().toISOString(),
|
|
69
|
+
};
|
|
70
|
+
saveRegistry(registry);
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Unregister a project from the registry.
|
|
74
|
+
* If the project is the current project, clears the current selection.
|
|
75
|
+
* Does not delete any files, only removes the registry entry.
|
|
76
|
+
*
|
|
77
|
+
* @param name - Project name to unregister
|
|
78
|
+
* @throws Error if the project is not registered
|
|
79
|
+
*/
|
|
80
|
+
export function unregisterProject(name) {
|
|
81
|
+
const registry = loadRegistry();
|
|
82
|
+
if (!registry.projects[name]) {
|
|
83
|
+
throw new Error(`Project not found: ${name}`);
|
|
84
|
+
}
|
|
85
|
+
// Clear current if this was the active project
|
|
86
|
+
if (registry.current === name) {
|
|
87
|
+
registry.current = null;
|
|
88
|
+
}
|
|
89
|
+
// eslint-disable-next-line @typescript-eslint/no-dynamic-delete
|
|
90
|
+
delete registry.projects[name];
|
|
91
|
+
saveRegistry(registry);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Set the current/default project.
|
|
95
|
+
*
|
|
96
|
+
* @param name - Project name to set as current, or null to clear
|
|
97
|
+
* @throws Error if the project is not registered
|
|
98
|
+
*/
|
|
99
|
+
export function setCurrentProject(name) {
|
|
100
|
+
const registry = loadRegistry();
|
|
101
|
+
if (name !== null && !registry.projects[name]) {
|
|
102
|
+
throw new Error(`Project not found: ${name}\nRun \`limps config list\` to see available projects.`);
|
|
103
|
+
}
|
|
104
|
+
registry.current = name;
|
|
105
|
+
saveRegistry(registry);
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Get the config path for the current project.
|
|
109
|
+
*
|
|
110
|
+
* @returns Config path if a current project is set and exists, null otherwise
|
|
111
|
+
*/
|
|
112
|
+
export function getCurrentProjectPath() {
|
|
113
|
+
const registry = loadRegistry();
|
|
114
|
+
if (!registry.current) {
|
|
115
|
+
return null;
|
|
116
|
+
}
|
|
117
|
+
const project = registry.projects[registry.current];
|
|
118
|
+
if (!project) {
|
|
119
|
+
return null;
|
|
120
|
+
}
|
|
121
|
+
return project.configPath;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Get the config path for a specific project by name.
|
|
125
|
+
*
|
|
126
|
+
* @param name - Project name to look up
|
|
127
|
+
* @returns Config path if found, null otherwise
|
|
128
|
+
*/
|
|
129
|
+
export function getProjectPath(name) {
|
|
130
|
+
const registry = loadRegistry();
|
|
131
|
+
const project = registry.projects[name];
|
|
132
|
+
return project?.configPath ?? null;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* List all registered projects.
|
|
136
|
+
*
|
|
137
|
+
* @returns Array of project info objects
|
|
138
|
+
*/
|
|
139
|
+
export function listProjects() {
|
|
140
|
+
const registry = loadRegistry();
|
|
141
|
+
return Object.entries(registry.projects)
|
|
142
|
+
.map(([name, project]) => ({
|
|
143
|
+
name,
|
|
144
|
+
current: name === registry.current,
|
|
145
|
+
configPath: project.configPath,
|
|
146
|
+
registeredAt: project.registeredAt,
|
|
147
|
+
}))
|
|
148
|
+
.sort((a, b) => a.name.localeCompare(b.name));
|
|
149
|
+
}
|
|
150
|
+
//# sourceMappingURL=registry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registry.js","sourceRoot":"","sources":["../../src/cli/registry.ts"],"names":[],"mappings":"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C,UAAU;QAC9B,YAAY,EAAE,OAAO,CAAC,YAAY;KACnC,CAAC,CAAC;SACF,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;AAClD,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI command: status
|
|
3
|
+
* Show plan status summary.
|
|
4
|
+
*/
|
|
5
|
+
import type { ServerConfig } from '../config.js';
|
|
6
|
+
import type { AgentFrontmatter } from '../agent-parser.js';
|
|
7
|
+
/**
|
|
8
|
+
* Plan status summary.
|
|
9
|
+
*/
|
|
10
|
+
export interface PlanStatusSummary {
|
|
11
|
+
planName: string;
|
|
12
|
+
totalAgents: number;
|
|
13
|
+
statusCounts: Record<AgentFrontmatter['status'], number>;
|
|
14
|
+
personaCounts: Record<AgentFrontmatter['persona'], number>;
|
|
15
|
+
completionPercentage: number;
|
|
16
|
+
blockedAgents: string[];
|
|
17
|
+
wipAgents: string[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Get status summary for a plan.
|
|
21
|
+
*
|
|
22
|
+
* @param config - Server configuration
|
|
23
|
+
* @param planId - Plan number or name
|
|
24
|
+
* @returns Plan status summary
|
|
25
|
+
*/
|
|
26
|
+
export declare function getPlanStatusSummary(config: ServerConfig, planId: string): PlanStatusSummary;
|
|
27
|
+
/**
|
|
28
|
+
* Format status summary for CLI output.
|
|
29
|
+
*
|
|
30
|
+
* @param config - Server configuration
|
|
31
|
+
* @param planId - Plan number or name
|
|
32
|
+
* @returns Formatted string output for CLI
|
|
33
|
+
*/
|
|
34
|
+
export declare function status(config: ServerConfig, planId: string): string;
|
|
35
|
+
//# sourceMappingURL=status.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../src/cli/status.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAEjD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC,gBAAgB,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,CAAC;IACzD,aAAa,EAAE,MAAM,CAAC,gBAAgB,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC,CAAC;IAC3D,oBAAoB,EAAE,MAAM,CAAC;IAC7B,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,SAAS,EAAE,MAAM,EAAE,CAAC;CACrB;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,GAAG,iBAAiB,CAmD5F;AAED;;;;;;GAMG;AACH,wBAAgB,MAAM,CAAC,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAsDnE"}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI command: status
|
|
3
|
+
* Show plan status summary.
|
|
4
|
+
*/
|
|
5
|
+
import { findPlanDirectory, getAgentFiles } from './list-agents.js';
|
|
6
|
+
/**
|
|
7
|
+
* Get status summary for a plan.
|
|
8
|
+
*
|
|
9
|
+
* @param config - Server configuration
|
|
10
|
+
* @param planId - Plan number or name
|
|
11
|
+
* @returns Plan status summary
|
|
12
|
+
*/
|
|
13
|
+
export function getPlanStatusSummary(config, planId) {
|
|
14
|
+
const planDir = findPlanDirectory(config.plansPath, planId);
|
|
15
|
+
if (!planDir) {
|
|
16
|
+
throw new Error(`Plan not found: ${planId}`);
|
|
17
|
+
}
|
|
18
|
+
const agents = getAgentFiles(planDir);
|
|
19
|
+
const planName = planDir.split('/').pop() || planId;
|
|
20
|
+
const statusCounts = {
|
|
21
|
+
GAP: 0,
|
|
22
|
+
WIP: 0,
|
|
23
|
+
PASS: 0,
|
|
24
|
+
BLOCKED: 0,
|
|
25
|
+
};
|
|
26
|
+
const personaCounts = {
|
|
27
|
+
coder: 0,
|
|
28
|
+
reviewer: 0,
|
|
29
|
+
pm: 0,
|
|
30
|
+
customer: 0,
|
|
31
|
+
};
|
|
32
|
+
const blockedAgents = [];
|
|
33
|
+
const wipAgents = [];
|
|
34
|
+
for (const agent of agents) {
|
|
35
|
+
statusCounts[agent.frontmatter.status]++;
|
|
36
|
+
personaCounts[agent.frontmatter.persona]++;
|
|
37
|
+
if (agent.frontmatter.status === 'BLOCKED') {
|
|
38
|
+
blockedAgents.push(`${agent.agentNumber}: ${agent.title || 'Untitled'}`);
|
|
39
|
+
}
|
|
40
|
+
if (agent.frontmatter.status === 'WIP') {
|
|
41
|
+
wipAgents.push(`${agent.agentNumber}: ${agent.title || 'Untitled'}`);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
const completionPercentage = agents.length > 0 ? Math.round((statusCounts.PASS / agents.length) * 100) : 0;
|
|
45
|
+
return {
|
|
46
|
+
planName,
|
|
47
|
+
totalAgents: agents.length,
|
|
48
|
+
statusCounts,
|
|
49
|
+
personaCounts,
|
|
50
|
+
completionPercentage,
|
|
51
|
+
blockedAgents,
|
|
52
|
+
wipAgents,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Format status summary for CLI output.
|
|
57
|
+
*
|
|
58
|
+
* @param config - Server configuration
|
|
59
|
+
* @param planId - Plan number or name
|
|
60
|
+
* @returns Formatted string output for CLI
|
|
61
|
+
*/
|
|
62
|
+
export function status(config, planId) {
|
|
63
|
+
const summary = getPlanStatusSummary(config, planId);
|
|
64
|
+
const lines = [];
|
|
65
|
+
lines.push(`Plan Status: ${summary.planName}`);
|
|
66
|
+
lines.push('='.repeat(40));
|
|
67
|
+
lines.push('');
|
|
68
|
+
// Progress bar
|
|
69
|
+
const barWidth = 20;
|
|
70
|
+
const filledWidth = Math.round((summary.completionPercentage / 100) * barWidth);
|
|
71
|
+
const emptyWidth = barWidth - filledWidth;
|
|
72
|
+
const progressBar = '[' + '#'.repeat(filledWidth) + '-'.repeat(emptyWidth) + ']';
|
|
73
|
+
lines.push(`Progress: ${progressBar} ${summary.completionPercentage}%`);
|
|
74
|
+
lines.push('');
|
|
75
|
+
// Agent counts
|
|
76
|
+
lines.push('Agents:');
|
|
77
|
+
lines.push(` Total: ${summary.totalAgents}`);
|
|
78
|
+
lines.push(` Complete: ${summary.statusCounts.PASS}`);
|
|
79
|
+
lines.push(` Active: ${summary.statusCounts.WIP}`);
|
|
80
|
+
lines.push(` Pending: ${summary.statusCounts.GAP}`);
|
|
81
|
+
lines.push(` Blocked: ${summary.statusCounts.BLOCKED}`);
|
|
82
|
+
lines.push('');
|
|
83
|
+
// Persona distribution
|
|
84
|
+
const activePersonas = Object.entries(summary.personaCounts).filter(([, count]) => count > 0);
|
|
85
|
+
if (activePersonas.length > 0) {
|
|
86
|
+
lines.push('By Persona:');
|
|
87
|
+
for (const [persona, count] of activePersonas) {
|
|
88
|
+
lines.push(` ${persona}: ${count}`);
|
|
89
|
+
}
|
|
90
|
+
lines.push('');
|
|
91
|
+
}
|
|
92
|
+
// Active work
|
|
93
|
+
if (summary.wipAgents.length > 0) {
|
|
94
|
+
lines.push('In Progress:');
|
|
95
|
+
for (const agent of summary.wipAgents) {
|
|
96
|
+
lines.push(` * ${agent}`);
|
|
97
|
+
}
|
|
98
|
+
lines.push('');
|
|
99
|
+
}
|
|
100
|
+
// Blocked items
|
|
101
|
+
if (summary.blockedAgents.length > 0) {
|
|
102
|
+
lines.push('Blocked:');
|
|
103
|
+
for (const agent of summary.blockedAgents) {
|
|
104
|
+
lines.push(` ! ${agent}`);
|
|
105
|
+
}
|
|
106
|
+
lines.push('');
|
|
107
|
+
}
|
|
108
|
+
return lines.join('\n');
|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QACvC,CAAC;QACD,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACjB,CAAC;IAED,cAAc;IACd,IAAI,OAAO,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACjC,KAAK,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAC3B,KAAK,MAAM,KAAK,IAAI,OAAO,CAAC,SAAS,EAAE,CAAC;YACtC,KAAK,CAAC,IAAI,CAAC,OAAO,KAAK,EAAE,CAAC,CAAC;QAC7B,CAAC;QACD,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACjB,CAAC;IAED,gBAAgB;IAChB,IAAI,OAAO,CAAC,aAAa,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACrC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QACvB,KAAK,MAAM,KAAK,IAAI,OAAO,CAAC,aAAa,EAAE,CAAC;YAC1C,KAAK,CAAC,IAAI,CAAC,OAAO,KAAK,EAAE,CAAC,CAAC;QAC7B,CAAC;QACD,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IACjB,CAAC;IAED,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC1B,CAAC"}
|
package/dist/cli.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.tsx"],"names":[],"mappings":""}
|
package/dist/cli.js
ADDED
package/dist/cli.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.tsx"],"names":[],"mappings":";AACA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,MAAM,GAAG,GAAG,IAAI,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC,IAAI;IACvB,IAAI,EAAE,OAAO;IACb,OAAO,EAAE,OAAO;IAChB,WAAW,EAAE,uCAAuC;CACrD,CAAC,CAAC;AAEH,MAAM,GAAG,CAAC,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const description = "Register an existing config file";
|
|
3
|
+
export declare const args: z.ZodTuple<[z.ZodString, z.ZodString], null>;
|
|
4
|
+
interface Props {
|
|
5
|
+
args: z.infer<typeof args>;
|
|
6
|
+
}
|
|
7
|
+
export default function ConfigAddCommand({ args }: Props): React.ReactNode;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=add.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../src/commands/config/add.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,WAAW,qCAAqC,CAAC;AAE9D,eAAO,MAAM,IAAI,8CAGf,CAAC;AAEH,UAAU,KAAK;IACb,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC;CAC5B;AAED,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EAAE,IAAI,EAAE,EAAE,KAAK,GAAG,KAAK,CAAC,SAAS,CASzE"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Text } from 'ink';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
import { configAdd } from '../../cli/config-cmd.js';
|
|
5
|
+
export const description = 'Register an existing config file';
|
|
6
|
+
export const args = z.tuple([
|
|
7
|
+
z.string().describe('Project name'),
|
|
8
|
+
z.string().describe('Path to config file'),
|
|
9
|
+
]);
|
|
10
|
+
export default function ConfigAddCommand({ args }) {
|
|
11
|
+
const [name, configPath] = args;
|
|
12
|
+
try {
|
|
13
|
+
const output = configAdd(name, configPath);
|
|
14
|
+
return _jsx(Text, { color: "green", children: output });
|
|
15
|
+
}
|
|
16
|
+
catch (error) {
|
|
17
|
+
return _jsxs(Text, { color: "red", children: ["Error: ", error.message] });
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=add.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add.js","sourceRoot":"","sources":["../../../src/commands/config/add.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAC3B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAEpD,MAAM,CAAC,MAAM,WAAW,GAAG,kCAAkC,CAAC;AAE9D,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC;IAC1B,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,cAAc,CAAC;IACnC,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,qBAAqB,CAAC;CAC3C,CAAC,CAAC;AAMH,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EAAE,IAAI,EAAS;IACtD,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,GAAG,IAAI,CAAC;IAEhC,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,SAAS,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC3C,OAAO,KAAC,IAAI,IAAC,KAAK,EAAC,OAAO,YAAE,MAAM,GAAQ,CAAC;IAC7C,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,MAAC,IAAI,IAAC,KAAK,EAAC,KAAK,wBAAU,KAAe,CAAC,OAAO,IAAQ,CAAC;IACpE,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"discover.d.ts","sourceRoot":"","sources":["../../../src/commands/config/discover.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,mDAAmD,CAAC;AAE5E,MAAM,CAAC,OAAO,UAAU,qBAAqB,IAAI,KAAK,CAAC,SAAS,CAG/D"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Text } from 'ink';
|
|
3
|
+
import { configDiscover } from '../../cli/config-cmd.js';
|
|
4
|
+
export const description = 'Find and register configs in default locations';
|
|
5
|
+
export default function ConfigDiscoverCommand() {
|
|
6
|
+
const output = configDiscover();
|
|
7
|
+
return _jsx(Text, { children: output });
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=discover.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"discover.js","sourceRoot":"","sources":["../../../src/commands/config/discover.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAC3B,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAEzD,MAAM,CAAC,MAAM,WAAW,GAAG,gDAAgD,CAAC;AAE5E,MAAM,CAAC,OAAO,UAAU,qBAAqB;IAC3C,MAAM,MAAM,GAAG,cAAc,EAAE,CAAC;IAChC,OAAO,KAAC,IAAI,cAAE,MAAM,GAAQ,CAAC;AAC/B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/config/index.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,iCAAiC,CAAC;AAE1D,MAAM,CAAC,OAAO,UAAU,aAAa,IAAI,KAAK,CAAC,SAAS,CAmBvD"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Text } from 'ink';
|
|
3
|
+
export const description = 'Manage project configuration';
|
|
4
|
+
export default function ConfigCommand() {
|
|
5
|
+
return (_jsxs(Text, { children: ["Usage: limps config ", '<command>', '\n', '\n', "Commands:", '\n', ' ', "list Show all registered projects", '\n', ' ', "use ", '<name>', " Set the current/default project", '\n', ' ', "show Display resolved configuration values", '\n', ' ', "path Print the resolved config file path", '\n', ' ', "add ", '<name>', " ", '<path>', " Register an existing config file", '\n', ' ', "remove ", '<name>', " Unregister a project (keeps files)", '\n', ' ', "set ", '<path>', " Set current from config path (auto-registers)", '\n', ' ', "discover Find and register configs in default locations", '\n', '\n', "Run `limps config ", '<command>', " --help` for more information."] }));
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/commands/config/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAE3B,MAAM,CAAC,MAAM,WAAW,GAAG,8BAA8B,CAAC;AAE1D,MAAM,CAAC,OAAO,UAAU,aAAa;IACnC,OAAO,CACL,MAAC,IAAI,uCACkB,WAAW,EAC/B,IAAI,EACJ,IAAI,eACK,IAAI,EACb,IAAI,uCAAmC,IAAI,EAC3C,IAAI,UAAM,QAAQ,sCAAkC,IAAI,EACxD,IAAI,gDAA4C,IAAI,EACpD,IAAI,8CAA0C,IAAI,EAClD,IAAI,UAAM,QAAQ,OAAG,QAAQ,uCAAmC,IAAI,EACpE,IAAI,aAAS,QAAQ,yCAAqC,IAAI,EAC9D,IAAI,UAAM,QAAQ,oDAAgD,IAAI,EACtE,IAAI,6DAAyD,IAAI,EACjE,IAAI,wBACc,WAAW,sCACzB,CACR,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/commands/config/list.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,WAAW,iCAAiC,CAAC;AAE1D,MAAM,CAAC,OAAO,UAAU,iBAAiB,IAAI,KAAK,CAAC,SAAS,CAG3D"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Text } from 'ink';
|
|
3
|
+
import { configList } from '../../cli/config-cmd.js';
|
|
4
|
+
export const description = 'Show all registered projects';
|
|
5
|
+
export default function ConfigListCommand() {
|
|
6
|
+
const output = configList();
|
|
7
|
+
return _jsx(Text, { children: output });
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../src/commands/config/list.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAC3B,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAErD,MAAM,CAAC,MAAM,WAAW,GAAG,8BAA8B,CAAC;AAE1D,MAAM,CAAC,OAAO,UAAU,iBAAiB;IACvC,MAAM,MAAM,GAAG,UAAU,EAAE,CAAC;IAC5B,OAAO,KAAC,IAAI,cAAE,MAAM,GAAQ,CAAC;AAC/B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"path.d.ts","sourceRoot":"","sources":["../../../src/commands/config/path.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,wCAAwC,CAAC;AAEjE,MAAM,CAAC,OAAO,UAAU,iBAAiB,IAAI,KAAK,CAAC,SAAS,CAG3D"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Text } from 'ink';
|
|
3
|
+
import { configPath } from '../../cli/config-cmd.js';
|
|
4
|
+
import { resolveConfigPath } from '../../utils/config-resolver.js';
|
|
5
|
+
export const description = 'Print the resolved config file path';
|
|
6
|
+
export default function ConfigPathCommand() {
|
|
7
|
+
const output = configPath(() => resolveConfigPath());
|
|
8
|
+
return _jsx(Text, { children: output });
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=path.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"path.js","sourceRoot":"","sources":["../../../src/commands/config/path.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAC3B,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAEnE,MAAM,CAAC,MAAM,WAAW,GAAG,qCAAqC,CAAC;AAEjE,MAAM,CAAC,OAAO,UAAU,iBAAiB;IACvC,MAAM,MAAM,GAAG,UAAU,CAAC,GAAG,EAAE,CAAC,iBAAiB,EAAE,CAAC,CAAC;IACrD,OAAO,KAAC,IAAI,cAAE,MAAM,GAAQ,CAAC;AAC/B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const description = "Unregister a project (keeps files)";
|
|
3
|
+
export declare const args: z.ZodTuple<[z.ZodString], null>;
|
|
4
|
+
interface Props {
|
|
5
|
+
args: z.infer<typeof args>;
|
|
6
|
+
}
|
|
7
|
+
export default function ConfigRemoveCommand({ args }: Props): React.ReactNode;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=remove.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remove.d.ts","sourceRoot":"","sources":["../../../src/commands/config/remove.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,WAAW,uCAAuC,CAAC;AAEhE,eAAO,MAAM,IAAI,iCAAiD,CAAC;AAEnE,UAAU,KAAK;IACb,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC;CAC5B;AAED,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,EAAE,IAAI,EAAE,EAAE,KAAK,GAAG,KAAK,CAAC,SAAS,CAS5E"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Text } from 'ink';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
import { configRemove } from '../../cli/config-cmd.js';
|
|
5
|
+
export const description = 'Unregister a project (keeps files)';
|
|
6
|
+
export const args = z.tuple([z.string().describe('Project name')]);
|
|
7
|
+
export default function ConfigRemoveCommand({ args }) {
|
|
8
|
+
const [name] = args;
|
|
9
|
+
try {
|
|
10
|
+
const output = configRemove(name);
|
|
11
|
+
return _jsx(Text, { color: "green", children: output });
|
|
12
|
+
}
|
|
13
|
+
catch (error) {
|
|
14
|
+
return _jsxs(Text, { color: "red", children: ["Error: ", error.message] });
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=remove.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remove.js","sourceRoot":"","sources":["../../../src/commands/config/remove.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAC3B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,MAAM,CAAC,MAAM,WAAW,GAAG,oCAAoC,CAAC;AAEhE,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;AAMnE,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,EAAE,IAAI,EAAS;IACzD,MAAM,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAEpB,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;QAClC,OAAO,KAAC,IAAI,IAAC,KAAK,EAAC,OAAO,YAAE,MAAM,GAAQ,CAAC;IAC7C,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,MAAC,IAAI,IAAC,KAAK,EAAC,KAAK,wBAAU,KAAe,CAAC,OAAO,IAAQ,CAAC;IACpE,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const description = "Set current from config path (auto-registers)";
|
|
3
|
+
export declare const args: z.ZodTuple<[z.ZodString], null>;
|
|
4
|
+
interface Props {
|
|
5
|
+
args: z.infer<typeof args>;
|
|
6
|
+
}
|
|
7
|
+
export default function ConfigSetCommand({ args }: Props): React.ReactNode;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=set.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set.d.ts","sourceRoot":"","sources":["../../../src/commands/config/set.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,WAAW,kDAAkD,CAAC;AAE3E,eAAO,MAAM,IAAI,iCAAwD,CAAC;AAE1E,UAAU,KAAK;IACb,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC;CAC5B;AAED,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EAAE,IAAI,EAAE,EAAE,KAAK,GAAG,KAAK,CAAC,SAAS,CASzE"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Text } from 'ink';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
import { configSet } from '../../cli/config-cmd.js';
|
|
5
|
+
export const description = 'Set current from config path (auto-registers)';
|
|
6
|
+
export const args = z.tuple([z.string().describe('Path to config file')]);
|
|
7
|
+
export default function ConfigSetCommand({ args }) {
|
|
8
|
+
const [configPath] = args;
|
|
9
|
+
try {
|
|
10
|
+
const output = configSet(configPath);
|
|
11
|
+
return _jsx(Text, { color: "green", children: output });
|
|
12
|
+
}
|
|
13
|
+
catch (error) {
|
|
14
|
+
return _jsxs(Text, { color: "red", children: ["Error: ", error.message] });
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=set.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set.js","sourceRoot":"","sources":["../../../src/commands/config/set.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAC3B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAEpD,MAAM,CAAC,MAAM,WAAW,GAAG,+CAA+C,CAAC;AAE3E,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC;AAM1E,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EAAE,IAAI,EAAS;IACtD,MAAM,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC;IAE1B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,SAAS,CAAC,UAAU,CAAC,CAAC;QACrC,OAAO,KAAC,IAAI,IAAC,KAAK,EAAC,OAAO,YAAE,MAAM,GAAQ,CAAC;IAC7C,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,MAAC,IAAI,IAAC,KAAK,EAAC,KAAK,wBAAU,KAAe,CAAC,OAAO,IAAQ,CAAC;IACpE,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"show.d.ts","sourceRoot":"","sources":["../../../src/commands/config/show.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,0CAA0C,CAAC;AAEnE,MAAM,CAAC,OAAO,UAAU,iBAAiB,IAAI,KAAK,CAAC,SAAS,CAO3D"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Text } from 'ink';
|
|
3
|
+
import { configShow } from '../../cli/config-cmd.js';
|
|
4
|
+
import { resolveConfigPath } from '../../utils/config-resolver.js';
|
|
5
|
+
export const description = 'Display resolved configuration values';
|
|
6
|
+
export default function ConfigShowCommand() {
|
|
7
|
+
try {
|
|
8
|
+
const output = configShow(() => resolveConfigPath());
|
|
9
|
+
return _jsx(Text, { children: output });
|
|
10
|
+
}
|
|
11
|
+
catch (error) {
|
|
12
|
+
return _jsxs(Text, { color: "red", children: ["Error: ", error.message] });
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=show.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"show.js","sourceRoot":"","sources":["../../../src/commands/config/show.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAC3B,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAEnE,MAAM,CAAC,MAAM,WAAW,GAAG,uCAAuC,CAAC;AAEnE,MAAM,CAAC,OAAO,UAAU,iBAAiB;IACvC,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,UAAU,CAAC,GAAG,EAAE,CAAC,iBAAiB,EAAE,CAAC,CAAC;QACrD,OAAO,KAAC,IAAI,cAAE,MAAM,GAAQ,CAAC;IAC/B,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,MAAC,IAAI,IAAC,KAAK,EAAC,KAAK,wBAAU,KAAe,CAAC,OAAO,IAAQ,CAAC;IACpE,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const description = "Set the current/default project";
|
|
3
|
+
export declare const args: z.ZodTuple<[z.ZodString], null>;
|
|
4
|
+
interface Props {
|
|
5
|
+
args: z.infer<typeof args>;
|
|
6
|
+
}
|
|
7
|
+
export default function ConfigUseCommand({ args }: Props): React.ReactNode;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=use.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../src/commands/config/use.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,WAAW,oCAAoC,CAAC;AAE7D,eAAO,MAAM,IAAI,iCAAiD,CAAC;AAEnE,UAAU,KAAK;IACb,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC;CAC5B;AAED,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EAAE,IAAI,EAAE,EAAE,KAAK,GAAG,KAAK,CAAC,SAAS,CASzE"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Text } from 'ink';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
import { configUse } from '../../cli/config-cmd.js';
|
|
5
|
+
export const description = 'Set the current/default project';
|
|
6
|
+
export const args = z.tuple([z.string().describe('Project name')]);
|
|
7
|
+
export default function ConfigUseCommand({ args }) {
|
|
8
|
+
const [name] = args;
|
|
9
|
+
try {
|
|
10
|
+
const output = configUse(name);
|
|
11
|
+
return _jsx(Text, { color: "green", children: output });
|
|
12
|
+
}
|
|
13
|
+
catch (error) {
|
|
14
|
+
return _jsxs(Text, { color: "red", children: ["Error: ", error.message] });
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=use.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use.js","sourceRoot":"","sources":["../../../src/commands/config/use.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAC3B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAEpD,MAAM,CAAC,MAAM,WAAW,GAAG,iCAAiC,CAAC;AAE7D,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;AAMnE,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EAAE,IAAI,EAAS;IACtD,MAAM,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAEpB,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC;QAC/B,OAAO,KAAC,IAAI,IAAC,KAAK,EAAC,OAAO,YAAE,MAAM,GAAQ,CAAC;IAC7C,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,MAAC,IAAI,IAAC,KAAK,EAAC,KAAK,wBAAU,KAAe,CAAC,OAAO,IAAQ,CAAC;IACpE,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/commands/index.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,0CAA0C,CAAC;AAEnE,MAAM,CAAC,OAAO,UAAU,cAAc,IAAI,KAAK,CAAC,SAAS,CAwBxD"}
|