wogiflow 1.0.21 → 1.0.23
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/.claude/commands/wogi-bug.md +43 -0
- package/.claude/commands/wogi-bulk.md +144 -0
- package/.claude/commands/wogi-changelog.md +36 -0
- package/.claude/commands/wogi-compact.md +99 -0
- package/.claude/commands/wogi-config.md +50 -0
- package/.claude/commands/wogi-context.md +68 -0
- package/.claude/commands/wogi-correction.md +73 -0
- package/.claude/commands/wogi-debt.md +128 -0
- package/.claude/commands/wogi-deps.md +32 -0
- package/.claude/commands/wogi-epics.md +145 -0
- package/.claude/commands/wogi-export.md +100 -0
- package/.claude/commands/wogi-feature.md +149 -0
- package/.claude/commands/wogi-guided-edit.md +83 -0
- package/.claude/commands/wogi-health.md +43 -0
- package/.claude/commands/wogi-help.md +96 -0
- package/.claude/commands/wogi-hybrid-edit.md +36 -0
- package/.claude/commands/wogi-hybrid-off.md +24 -0
- package/.claude/commands/wogi-hybrid-setup.md +79 -0
- package/.claude/commands/wogi-hybrid-status.md +45 -0
- package/.claude/commands/wogi-hybrid.md +54 -0
- package/.claude/commands/wogi-import.md +44 -0
- package/.claude/commands/wogi-init.md +618 -0
- package/.claude/commands/wogi-log.md +38 -0
- package/.claude/commands/wogi-map-add.md +29 -0
- package/.claude/commands/wogi-map-check.md +35 -0
- package/.claude/commands/wogi-map-index.md +98 -0
- package/.claude/commands/wogi-map-scan.md +38 -0
- package/.claude/commands/wogi-map-sync.md +91 -0
- package/.claude/commands/wogi-map.md +33 -0
- package/.claude/commands/wogi-morning.md +65 -0
- package/.claude/commands/wogi-onboard.md +99 -0
- package/.claude/commands/wogi-plan.md +173 -0
- package/.claude/commands/wogi-ready.md +84 -0
- package/.claude/commands/wogi-resume.md +95 -0
- package/.claude/commands/wogi-review.md +636 -0
- package/.claude/commands/wogi-roadmap.md +241 -0
- package/.claude/commands/wogi-rules.md +104 -0
- package/.claude/commands/wogi-search.md +33 -0
- package/.claude/commands/wogi-session-end.md +49 -0
- package/.claude/commands/wogi-setup-stack.md +151 -0
- package/.claude/commands/wogi-skill-learn.md +66 -0
- package/.claude/commands/wogi-skills.md +87 -0
- package/.claude/commands/wogi-standup.md +28 -0
- package/.claude/commands/wogi-start.md +465 -0
- package/.claude/commands/wogi-status.md +41 -0
- package/.claude/commands/wogi-statusline-setup/skill.md +109 -0
- package/.claude/commands/wogi-story.md +98 -0
- package/.claude/commands/wogi-suspend.md +87 -0
- package/.claude/commands/wogi-test-browser.md +43 -0
- package/.claude/commands/wogi-trace.md +198 -0
- package/.claude/docs/architecture.md +37 -0
- package/.claude/docs/commands.md +343 -0
- package/.claude/docs/knowledge-base/01-setup-onboarding/README.md +177 -0
- package/.claude/docs/knowledge-base/01-setup-onboarding/component-indexing.md +341 -0
- package/.claude/docs/knowledge-base/01-setup-onboarding/framework-detection.md +269 -0
- package/.claude/docs/knowledge-base/01-setup-onboarding/installation.md +146 -0
- package/.claude/docs/knowledge-base/01-setup-onboarding/onboarding-existing.md +317 -0
- package/.claude/docs/knowledge-base/01-setup-onboarding/team-setup.md +346 -0
- package/.claude/docs/knowledge-base/02-task-execution/01-task-planning.md +259 -0
- package/.claude/docs/knowledge-base/02-task-execution/02-execution-loop.md +443 -0
- package/.claude/docs/knowledge-base/02-task-execution/03-verification.md +417 -0
- package/.claude/docs/knowledge-base/02-task-execution/04-completion.md +374 -0
- package/.claude/docs/knowledge-base/02-task-execution/05-session-review.md +170 -0
- package/.claude/docs/knowledge-base/02-task-execution/README.md +173 -0
- package/.claude/docs/knowledge-base/02-task-execution/external-integrations.md +133 -0
- package/.claude/docs/knowledge-base/02-task-execution/model-management.md +202 -0
- package/.claude/docs/knowledge-base/02-task-execution/specification-mode.md +292 -0
- package/.claude/docs/knowledge-base/02-task-execution/sync-daemon.md +96 -0
- package/.claude/docs/knowledge-base/02-task-execution/trade-offs.md +345 -0
- package/.claude/docs/knowledge-base/02-task-execution/workflow-steps.md +357 -0
- package/.claude/docs/knowledge-base/03-self-improvement/README.md +199 -0
- package/.claude/docs/knowledge-base/03-self-improvement/long-input-processing.md +160 -0
- package/.claude/docs/knowledge-base/03-self-improvement/model-learning.md +334 -0
- package/.claude/docs/knowledge-base/03-self-improvement/project-learning.md +301 -0
- package/.claude/docs/knowledge-base/03-self-improvement/skill-learning.md +372 -0
- package/.claude/docs/knowledge-base/03-self-improvement/skill-matching.md +304 -0
- package/.claude/docs/knowledge-base/03-self-improvement/team-learning.md +342 -0
- package/.claude/docs/knowledge-base/04-memory-context/README.md +189 -0
- package/.claude/docs/knowledge-base/04-memory-context/context-management.md +308 -0
- package/.claude/docs/knowledge-base/04-memory-context/memory-commands.md +176 -0
- package/.claude/docs/knowledge-base/04-memory-context/memory-systems.md +359 -0
- package/.claude/docs/knowledge-base/04-memory-context/prd-management.md +115 -0
- package/.claude/docs/knowledge-base/04-memory-context/session-persistence.md +359 -0
- package/.claude/docs/knowledge-base/04-memory-context/team-history.md +317 -0
- package/.claude/docs/knowledge-base/05-development-tools/README.md +84 -0
- package/.claude/docs/knowledge-base/05-development-tools/code-traces.md +278 -0
- package/.claude/docs/knowledge-base/05-development-tools/figma-analyzer.md +253 -0
- package/.claude/docs/knowledge-base/05-development-tools/guided-edit.md +173 -0
- package/.claude/docs/knowledge-base/05-development-tools/mcp-integrations.md +286 -0
- package/.claude/docs/knowledge-base/06-safety-guardrails/README.md +153 -0
- package/.claude/docs/knowledge-base/06-safety-guardrails/checkpoint-rollback.md +302 -0
- package/.claude/docs/knowledge-base/06-safety-guardrails/commit-gates.md +309 -0
- package/.claude/docs/knowledge-base/06-safety-guardrails/damage-control.md +292 -0
- package/.claude/docs/knowledge-base/06-safety-guardrails/security-scanning.md +291 -0
- package/.claude/docs/knowledge-base/README.md +92 -0
- package/.claude/docs/knowledge-base/configuration/README.md +228 -0
- package/.claude/docs/knowledge-base/configuration/all-options.md +1632 -0
- package/.claude/docs/knowledge-base/future-features.md +277 -0
- package/.claude/docs/stack.md +25 -0
- package/.claude/docs/testing.md +71 -0
- package/.claude/rules/README.md +60 -0
- package/.claude/rules/architecture/component-reuse.md +38 -0
- package/.claude/rules/architecture/document-structure.md +76 -0
- package/.claude/rules/architecture/feature-refactoring-cleanup.md +87 -0
- package/.claude/rules/architecture/model-management.md +35 -0
- package/.claude/rules/code-style/naming-conventions.md +55 -0
- package/.claude/rules/security/security-patterns.md +116 -0
- package/.claude/skills/.gitkeep +0 -0
- package/.claude/skills/README.md +131 -0
- package/.claude/skills/_template/commands/.gitkeep +0 -0
- package/.claude/skills/_template/knowledge/anti-patterns.md +49 -0
- package/.claude/skills/_template/knowledge/learnings.md +60 -0
- package/.claude/skills/_template/knowledge/patterns.md +45 -0
- package/.claude/skills/_template/rules/.gitkeep +0 -0
- package/.claude/skills/_template/skill.md +99 -0
- package/.claude/skills/_template/templates/.gitkeep +0 -0
- package/.claude/skills/figma-analyzer/knowledge/anti-patterns.md +216 -0
- package/.claude/skills/figma-analyzer/knowledge/patterns.md +144 -0
- package/.claude/skills/figma-analyzer/skill.md +236 -0
- package/lib/installer.js +59 -19
- package/package.json +5 -1
- package/scripts/postinstall.js +65 -3
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Set up hybrid mode - generates templates and configures local LLM
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Hybrid Mode Setup
|
|
6
|
+
|
|
7
|
+
This command sets up everything needed for hybrid mode in your project.
|
|
8
|
+
|
|
9
|
+
## Step 1: Generate Project Templates
|
|
10
|
+
|
|
11
|
+
Analyzing your codebase and generating customized templates:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
node scripts/flow-templates.js generate
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Step 2: Enable Hybrid Mode
|
|
18
|
+
|
|
19
|
+
Running the interactive setup wizard to configure your local LLM:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
node scripts/flow-hybrid-interactive.js
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## What This Does
|
|
26
|
+
|
|
27
|
+
1. **Analyzes your project**
|
|
28
|
+
- Detects framework (React, Next.js, Vue, Angular, etc.)
|
|
29
|
+
- Detects state management (Zustand, Redux, MobX, etc.)
|
|
30
|
+
- Detects styling (Tailwind, Styled Components, etc.)
|
|
31
|
+
- Finds code examples from your components, hooks, services
|
|
32
|
+
|
|
33
|
+
2. **Generates templates** in `templates/hybrid/`
|
|
34
|
+
- `_base.md` - Universal rules for your stack
|
|
35
|
+
- `_patterns.md` - Your actual coding patterns
|
|
36
|
+
- Task-specific templates (create-component, create-hook, etc.)
|
|
37
|
+
|
|
38
|
+
3. **Configures local LLM**
|
|
39
|
+
- Detects Ollama and/or LM Studio
|
|
40
|
+
- Lists available models
|
|
41
|
+
- Tests the connection
|
|
42
|
+
- Saves configuration to `config.json`
|
|
43
|
+
|
|
44
|
+
4. **Uses durable session system**
|
|
45
|
+
- Session state tracked in `durable-history.json`
|
|
46
|
+
|
|
47
|
+
## Requirements
|
|
48
|
+
|
|
49
|
+
Before running, ensure you have a local LLM running:
|
|
50
|
+
|
|
51
|
+
**Ollama:**
|
|
52
|
+
```bash
|
|
53
|
+
ollama serve
|
|
54
|
+
ollama pull nemotron-3-nano # or your preferred model
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
**LM Studio:**
|
|
58
|
+
- Open the app
|
|
59
|
+
- Download a model
|
|
60
|
+
- Start the local server
|
|
61
|
+
|
|
62
|
+
## After Setup
|
|
63
|
+
|
|
64
|
+
Use these commands:
|
|
65
|
+
- `/wogi-hybrid-status` - Check configuration
|
|
66
|
+
- `/wogi-hybrid-off` - Disable hybrid mode
|
|
67
|
+
- `/wogi-hybrid-edit` - Edit plans before execution
|
|
68
|
+
|
|
69
|
+
## Token Savings
|
|
70
|
+
|
|
71
|
+
| Task Size | Normal | Hybrid | Savings |
|
|
72
|
+
|-----------|--------|--------|---------|
|
|
73
|
+
| Small | ~8K | ~5K | 35% |
|
|
74
|
+
| Medium | ~20K | ~10K | 50% |
|
|
75
|
+
| Large | ~45K | ~20K | 55% |
|
|
76
|
+
|
|
77
|
+
*Note: Actual savings vary based on instruction detail needed for quality.*
|
|
78
|
+
|
|
79
|
+
Let me set up hybrid mode for your project now...
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Show current hybrid mode configuration
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Hybrid Mode Status
|
|
6
|
+
|
|
7
|
+
Let me check the current configuration:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
echo "═══════════════════════════════════════════════════════════"
|
|
11
|
+
echo " HYBRID MODE STATUS"
|
|
12
|
+
echo "═══════════════════════════════════════════════════════════"
|
|
13
|
+
echo ""
|
|
14
|
+
|
|
15
|
+
# Check if enabled
|
|
16
|
+
ENABLED=$(jq -r '.hybrid.enabled // false' .workflow/config.json)
|
|
17
|
+
echo "Status: $ENABLED"
|
|
18
|
+
|
|
19
|
+
if [ "$ENABLED" = "true" ]; then
|
|
20
|
+
echo ""
|
|
21
|
+
echo "Configuration:"
|
|
22
|
+
jq '.hybrid' .workflow/config.json
|
|
23
|
+
|
|
24
|
+
echo ""
|
|
25
|
+
echo "Testing connection..."
|
|
26
|
+
node scripts/flow-hybrid-detect.js providers
|
|
27
|
+
|
|
28
|
+
echo ""
|
|
29
|
+
echo "Session state:"
|
|
30
|
+
# Use durable session (v2.0) - check durable-history.json for active sessions
|
|
31
|
+
if [ -f ".workflow/state/durable-history.json" ]; then
|
|
32
|
+
ACTIVE=$(jq -r '.activeSession // empty' .workflow/state/durable-history.json)
|
|
33
|
+
if [ -n "$ACTIVE" ] && [ "$ACTIVE" != "null" ]; then
|
|
34
|
+
jq '.activeSession' .workflow/state/durable-history.json
|
|
35
|
+
else
|
|
36
|
+
echo "No active session"
|
|
37
|
+
fi
|
|
38
|
+
else
|
|
39
|
+
echo "No durable session history"
|
|
40
|
+
fi
|
|
41
|
+
fi
|
|
42
|
+
|
|
43
|
+
echo ""
|
|
44
|
+
echo "═══════════════════════════════════════════════════════════"
|
|
45
|
+
```
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Enable hybrid mode - Claude plans, local LLM executes
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Enable Hybrid Mode
|
|
6
|
+
|
|
7
|
+
Hybrid mode allows me to create execution plans that are executed by a local LLM (Ollama or LM Studio), saving tokens while maintaining quality.
|
|
8
|
+
|
|
9
|
+
## Step 1: Detect Local LLM Providers
|
|
10
|
+
|
|
11
|
+
Let me check what's available on your system:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
node scripts/flow-hybrid-detect.js providers
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Step 2: Interactive Setup
|
|
18
|
+
|
|
19
|
+
Running the interactive setup wizard:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
node scripts/flow-hybrid-interactive.js
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## How Hybrid Mode Works
|
|
26
|
+
|
|
27
|
+
1. **You give me a task** - "Add user authentication"
|
|
28
|
+
2. **I create a plan** - Detailed steps with templates
|
|
29
|
+
3. **You review the plan** - Approve, modify, or cancel
|
|
30
|
+
4. **Local LLM executes** - Each step runs on your machine
|
|
31
|
+
5. **I handle failures** - Escalate to me if local LLM fails
|
|
32
|
+
|
|
33
|
+
## Token Savings
|
|
34
|
+
|
|
35
|
+
Typical savings: **20-60%** (depending on task complexity)
|
|
36
|
+
- Planning: ~1,500-5,000 tokens (Claude)
|
|
37
|
+
- Execution: Local LLM (free) or Cloud model (paid but cheaper)
|
|
38
|
+
- Detailed instructions needed for quality results
|
|
39
|
+
- Only escalations use additional Claude tokens
|
|
40
|
+
|
|
41
|
+
## Commands After Enabling
|
|
42
|
+
|
|
43
|
+
- `/wogi-hybrid-off` - Disable hybrid mode
|
|
44
|
+
- `/wogi-hybrid-status` - Check current configuration
|
|
45
|
+
- `/wogi-hybrid-edit` - Modify plan before execution
|
|
46
|
+
|
|
47
|
+
## Supported Models
|
|
48
|
+
|
|
49
|
+
Recommended models for code generation:
|
|
50
|
+
- **NVIDIA Nemotron 3 Nano** - Best instruction following
|
|
51
|
+
- **Qwen3-Coder 30B** - Best code quality
|
|
52
|
+
- **DeepSeek Coder** - Good balance
|
|
53
|
+
|
|
54
|
+
Let me detect your local LLM setup now...
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
Import a team workflow profile.
|
|
2
|
+
|
|
3
|
+
Usage: `/wogi-import [profile.zip]`
|
|
4
|
+
|
|
5
|
+
Steps:
|
|
6
|
+
1. Backup current config (optional)
|
|
7
|
+
2. Extract and copy:
|
|
8
|
+
- CLAUDE.md
|
|
9
|
+
- agents/
|
|
10
|
+
- .workflow/config.json
|
|
11
|
+
- .claude/commands/
|
|
12
|
+
- decisions.md (if included)
|
|
13
|
+
3. Notify user to restart Claude
|
|
14
|
+
|
|
15
|
+
Output:
|
|
16
|
+
```
|
|
17
|
+
📥 Importing profile: team-v2.zip
|
|
18
|
+
|
|
19
|
+
Create backup of current config? [y/n]: y
|
|
20
|
+
✓ Backup created: .workflow/backup-2024-01-15/
|
|
21
|
+
|
|
22
|
+
Importing:
|
|
23
|
+
✓ CLAUDE.md (replaced)
|
|
24
|
+
✓ agents/ (11 files)
|
|
25
|
+
✓ config.json (merged)
|
|
26
|
+
✓ commands/ (20 files)
|
|
27
|
+
✓ decisions.md (merged)
|
|
28
|
+
|
|
29
|
+
✓ Import complete!
|
|
30
|
+
|
|
31
|
+
⚠️ Please restart Claude to load new commands.
|
|
32
|
+
|
|
33
|
+
Changes:
|
|
34
|
+
- 3 new slash commands added
|
|
35
|
+
- config: storybook now enabled
|
|
36
|
+
- 2 new decisions added
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Merge vs Replace:
|
|
40
|
+
- Commands: Added (no replace)
|
|
41
|
+
- Config: Merged (your overrides preserved)
|
|
42
|
+
- Decisions: Merged (appended)
|
|
43
|
+
- Agents: Replaced
|
|
44
|
+
- CLAUDE.md: Replaced
|