farmwork 1.1.0 → 1.4.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 +36 -10
- package/package.json +1 -1
- package/src/doctor.js +26 -5
- package/src/init.js +1070 -9
- package/src/status.js +8 -0
package/src/status.js
CHANGED
|
@@ -99,12 +99,16 @@ export async function status() {
|
|
|
99
99
|
const commandsDir = path.join(claudeDir, "commands");
|
|
100
100
|
const auditDir = path.join(cwd, "_AUDIT");
|
|
101
101
|
const plansDir = path.join(cwd, "_PLANS");
|
|
102
|
+
const researchDir = path.join(cwd, "_RESEARCH");
|
|
103
|
+
const officeDir = path.join(cwd, "_OFFICE");
|
|
102
104
|
const beadsDir = path.join(cwd, ".beads");
|
|
103
105
|
|
|
104
106
|
const agents = countMarkdownFiles(agentsDir);
|
|
105
107
|
const commands = countMarkdownFiles(commandsDir);
|
|
106
108
|
const audits = countMarkdownFiles(auditDir);
|
|
107
109
|
const plans = countMarkdownFiles(plansDir);
|
|
110
|
+
const research = countMarkdownFiles(researchDir);
|
|
111
|
+
const office = countMarkdownFiles(officeDir);
|
|
108
112
|
const recipes = countJustfileRecipes(cwd);
|
|
109
113
|
|
|
110
114
|
// Component Counts Section
|
|
@@ -113,6 +117,8 @@ export async function status() {
|
|
|
113
117
|
farmTerm.metric("Commands", commands, emojis.bee);
|
|
114
118
|
farmTerm.metric("Justfile Recipes", recipes, emojis.sheep);
|
|
115
119
|
farmTerm.metric("Audit Docs", audits, emojis.wheat);
|
|
120
|
+
farmTerm.metric("Research Docs", research, emojis.owl);
|
|
121
|
+
farmTerm.metric("Office Docs", office, emojis.barn);
|
|
116
122
|
farmTerm.metric("Plans", plans, emojis.sunflower);
|
|
117
123
|
|
|
118
124
|
// Issue Tracking Section
|
|
@@ -167,6 +173,8 @@ export async function status() {
|
|
|
167
173
|
{ label: "justfile", exists: fs.existsSync(justfile) },
|
|
168
174
|
{ label: ".claude/agents/", exists: fs.existsSync(agentsDir) && agents > 0 },
|
|
169
175
|
{ label: ".claude/commands/", exists: fs.existsSync(commandsDir) && commands > 0 },
|
|
176
|
+
{ label: "_OFFICE/", exists: fs.existsSync(officeDir) && office > 0 },
|
|
177
|
+
{ label: "_RESEARCH/", exists: fs.existsSync(researchDir), optional: true },
|
|
170
178
|
{ label: ".beads/", exists: fs.existsSync(beadsDir), optional: true },
|
|
171
179
|
];
|
|
172
180
|
|