@simonfestl/husky-cli 0.9.3 → 0.9.5
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/dist/commands/llm-context.d.ts +2 -0
- package/dist/commands/llm-context.js +100 -2
- package/dist/index.js +3 -2
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* LLM Context Generator
|
|
3
3
|
* Outputs markdown reference for LLM agents
|
|
4
4
|
*/
|
|
5
|
-
const VERSION = "0.9.
|
|
5
|
+
const VERSION = "0.9.5";
|
|
6
6
|
export function generateLLMContext() {
|
|
7
7
|
return `# Husky CLI Reference (v${VERSION})
|
|
8
8
|
|
|
@@ -57,6 +57,8 @@ husky task create # Create new task
|
|
|
57
57
|
husky task start <id> # Start working on task
|
|
58
58
|
husky task done <id> [--pr <url>] # Mark task as done
|
|
59
59
|
husky task update <id> # Update task fields
|
|
60
|
+
husky task assign <id> <assignee> # Assign task
|
|
61
|
+
husky task log <id> # View task activity log
|
|
60
62
|
\`\`\`
|
|
61
63
|
|
|
62
64
|
### Projects
|
|
@@ -64,13 +66,102 @@ husky task update <id> # Update task fields
|
|
|
64
66
|
husky project list # List projects
|
|
65
67
|
husky project get <id> # Get project details
|
|
66
68
|
husky project create # Create new project
|
|
69
|
+
husky project tasks <id> # List project tasks
|
|
67
70
|
\`\`\`
|
|
68
71
|
|
|
69
|
-
###
|
|
72
|
+
### Roadmaps
|
|
73
|
+
\`\`\`bash
|
|
74
|
+
husky roadmap list # List roadmaps
|
|
75
|
+
husky roadmap get <id> # Get roadmap details
|
|
76
|
+
husky roadmap create # Create new roadmap
|
|
77
|
+
husky roadmap milestones <id> # List milestones
|
|
78
|
+
husky roadmap add-milestone <id> # Add milestone to roadmap
|
|
79
|
+
\`\`\`
|
|
80
|
+
|
|
81
|
+
### Ideas
|
|
82
|
+
\`\`\`bash
|
|
83
|
+
husky idea list # List ideas
|
|
84
|
+
husky idea get <id> # Get idea details
|
|
85
|
+
husky idea create # Create new idea
|
|
86
|
+
husky idea vote <id> # Vote on idea
|
|
87
|
+
\`\`\`
|
|
88
|
+
|
|
89
|
+
### Workflows
|
|
90
|
+
\`\`\`bash
|
|
91
|
+
husky workflow list # List workflows
|
|
92
|
+
husky workflow get <id> # Get workflow details
|
|
93
|
+
husky workflow create # Create new workflow
|
|
94
|
+
husky workflow run <id> # Execute workflow
|
|
95
|
+
\`\`\`
|
|
96
|
+
|
|
97
|
+
### Departments
|
|
98
|
+
\`\`\`bash
|
|
99
|
+
husky department list # List departments
|
|
100
|
+
husky department get <id> # Get department details
|
|
101
|
+
husky department members <id> # List department members
|
|
102
|
+
\`\`\`
|
|
103
|
+
|
|
104
|
+
### Processes
|
|
105
|
+
\`\`\`bash
|
|
106
|
+
husky process list # List processes
|
|
107
|
+
husky process get <id> # Get process details
|
|
108
|
+
husky process run <id> # Run process
|
|
109
|
+
\`\`\`
|
|
110
|
+
|
|
111
|
+
### Strategy
|
|
112
|
+
\`\`\`bash
|
|
113
|
+
husky strategy list # List strategy items
|
|
114
|
+
husky strategy get <id> # Get strategy details
|
|
115
|
+
husky strategy update <id> # Update strategy
|
|
116
|
+
\`\`\`
|
|
117
|
+
|
|
118
|
+
### Changelog
|
|
119
|
+
\`\`\`bash
|
|
120
|
+
husky changelog generate # Generate changelog from commits
|
|
121
|
+
husky changelog list # List changelogs
|
|
122
|
+
\`\`\`
|
|
123
|
+
|
|
124
|
+
### Worktrees (Git Isolation)
|
|
70
125
|
\`\`\`bash
|
|
71
126
|
husky worktree list # List worktrees
|
|
72
127
|
husky worktree create <name> # Create isolated worktree
|
|
73
128
|
husky worktree delete <name> # Delete worktree
|
|
129
|
+
husky worktree switch <name> # Switch to worktree
|
|
130
|
+
\`\`\`
|
|
131
|
+
|
|
132
|
+
### VM Sessions (Cloud Agents)
|
|
133
|
+
\`\`\`bash
|
|
134
|
+
husky vm list # List VM sessions
|
|
135
|
+
husky vm create # Create new VM
|
|
136
|
+
husky vm status <id> # Get VM status
|
|
137
|
+
husky vm ssh <id> # SSH into VM
|
|
138
|
+
husky vm delete <id> # Delete VM
|
|
139
|
+
\`\`\`
|
|
140
|
+
|
|
141
|
+
### Jules Sessions (AI Agent)
|
|
142
|
+
\`\`\`bash
|
|
143
|
+
husky jules list # List Jules sessions
|
|
144
|
+
husky jules create # Create new session
|
|
145
|
+
husky jules status <id> # Get session status
|
|
146
|
+
husky jules logs <id> # View session logs
|
|
147
|
+
\`\`\`
|
|
148
|
+
|
|
149
|
+
### Workers (Multi-Agent Coordination)
|
|
150
|
+
\`\`\`bash
|
|
151
|
+
husky worker whoami # Show current worker identity
|
|
152
|
+
husky worker register # Register worker with API
|
|
153
|
+
husky worker list # List all workers
|
|
154
|
+
husky worker sessions # List active sessions
|
|
155
|
+
husky worker activity # Who is working on what
|
|
156
|
+
\`\`\`
|
|
157
|
+
|
|
158
|
+
### Utility Commands
|
|
159
|
+
\`\`\`bash
|
|
160
|
+
husky explain <command> # Explain CLI commands
|
|
161
|
+
husky settings list # List dashboard settings
|
|
162
|
+
husky settings set <key> <value> # Update setting
|
|
163
|
+
husky completion bash|zsh|fish # Generate shell completion
|
|
164
|
+
husky llm # Output LLM reference docs
|
|
74
165
|
\`\`\`
|
|
75
166
|
|
|
76
167
|
---
|
|
@@ -157,3 +248,10 @@ husky biz qdrant search <coll> "<q>" # Semantic search
|
|
|
157
248
|
export function printLLMContext() {
|
|
158
249
|
console.log(generateLLMContext());
|
|
159
250
|
}
|
|
251
|
+
// Command export for subcommand registration
|
|
252
|
+
import { Command } from "commander";
|
|
253
|
+
export const llmCommand = new Command("llm")
|
|
254
|
+
.description("Output LLM reference documentation (markdown)")
|
|
255
|
+
.action(() => {
|
|
256
|
+
printLLMContext();
|
|
257
|
+
});
|
package/dist/index.js
CHANGED
|
@@ -20,13 +20,13 @@ import { completionCommand } from "./commands/completion.js";
|
|
|
20
20
|
import { worktreeCommand } from "./commands/worktree.js";
|
|
21
21
|
import { workerCommand } from "./commands/worker.js";
|
|
22
22
|
import { bizCommand } from "./commands/biz.js";
|
|
23
|
-
import { printLLMContext } from "./commands/llm-context.js";
|
|
23
|
+
import { printLLMContext, llmCommand } from "./commands/llm-context.js";
|
|
24
24
|
import { runInteractiveMode } from "./commands/interactive.js";
|
|
25
25
|
const program = new Command();
|
|
26
26
|
program
|
|
27
27
|
.name("husky")
|
|
28
28
|
.description("CLI for Huskyv0 Task Orchestration with Claude Agent")
|
|
29
|
-
.version("0.9.
|
|
29
|
+
.version("0.9.5")
|
|
30
30
|
.option("--llm", "Output LLM reference documentation (markdown)");
|
|
31
31
|
program.addCommand(taskCommand);
|
|
32
32
|
program.addCommand(configCommand);
|
|
@@ -48,6 +48,7 @@ program.addCommand(completionCommand);
|
|
|
48
48
|
program.addCommand(worktreeCommand);
|
|
49
49
|
program.addCommand(workerCommand);
|
|
50
50
|
program.addCommand(bizCommand);
|
|
51
|
+
program.addCommand(llmCommand);
|
|
51
52
|
// Handle --llm flag specially
|
|
52
53
|
if (process.argv.includes("--llm")) {
|
|
53
54
|
printLLMContext();
|