liteagents 2.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.
Files changed (215) hide show
  1. package/CHANGELOG.md +441 -0
  2. package/LICENSE +21 -0
  3. package/README.md +179 -0
  4. package/cli.js +230 -0
  5. package/docs/.gitkeep +1 -0
  6. package/docs/CONTRIBUTING.md +739 -0
  7. package/docs/DUAL_PUBLISH_SUMMARY.md +177 -0
  8. package/docs/ERROR_HANDLING_IMPLEMENTATION.md +327 -0
  9. package/docs/GITHUB_PACKAGES.md +181 -0
  10. package/docs/GITHUB_SETUP.md +158 -0
  11. package/docs/INSTALLATION_DEMO.md +691 -0
  12. package/docs/INSTALLATION_LOCATIONS.md +299 -0
  13. package/docs/INSTALLER_GUIDE.md +1586 -0
  14. package/docs/INTEGRATION_ISSUES_9.1.md +341 -0
  15. package/docs/KNOWLEDGE_BASE.md +727 -0
  16. package/docs/MIGRATION.md +384 -0
  17. package/docs/PACKAGE_BASELINE.md +557 -0
  18. package/docs/PACKAGE_VALIDATION_REPORT.md +427 -0
  19. package/docs/PASS_INTEGRATION.md +307 -0
  20. package/docs/PASS_QUICK_START.md +150 -0
  21. package/docs/PRIVACY.md +203 -0
  22. package/docs/PUBLISHING.md +494 -0
  23. package/docs/QUICK-START.md +318 -0
  24. package/docs/RELEASE_NOTES_1.2.0.md +323 -0
  25. package/docs/SECURITY.md +317 -0
  26. package/docs/SILENT_MODE_GUIDE.md +526 -0
  27. package/docs/SKILLS_CONVERSION.md +154 -0
  28. package/docs/TESTING.md +582 -0
  29. package/docs/TEST_COVERAGE.md +347 -0
  30. package/docs/TROUBLESHOOTING.md +788 -0
  31. package/docs/UPDATED_VARIANT_CONFIGURATION.md +274 -0
  32. package/docs/VARIANT_CONFIGURATION.md +440 -0
  33. package/installer/cli.js +761 -0
  34. package/installer/installation-engine.js +1536 -0
  35. package/installer/package-manager.js +640 -0
  36. package/installer/path-manager.js +427 -0
  37. package/installer/report-template.js +298 -0
  38. package/installer/verification-system.js +274 -0
  39. package/package.json +83 -0
  40. package/packages/ampcode/AGENT.md +58 -0
  41. package/packages/ampcode/README.md +17 -0
  42. package/packages/ampcode/agents/1-create-prd.md +175 -0
  43. package/packages/ampcode/agents/2-generate-tasks.md +190 -0
  44. package/packages/ampcode/agents/3-process-task-list.md +225 -0
  45. package/packages/ampcode/agents/code-developer.md +198 -0
  46. package/packages/ampcode/agents/context-builder.md +142 -0
  47. package/packages/ampcode/agents/feature-planner.md +199 -0
  48. package/packages/ampcode/agents/market-researcher.md +89 -0
  49. package/packages/ampcode/agents/orchestrator.md +116 -0
  50. package/packages/ampcode/agents/quality-assurance.md +115 -0
  51. package/packages/ampcode/agents/system-architect.md +135 -0
  52. package/packages/ampcode/agents/ui-designer.md +184 -0
  53. package/packages/ampcode/commands/brainstorming.md +56 -0
  54. package/packages/ampcode/commands/code-review.md +107 -0
  55. package/packages/ampcode/commands/condition-based-waiting/example.ts +158 -0
  56. package/packages/ampcode/commands/condition-based-waiting.md +122 -0
  57. package/packages/ampcode/commands/debug.md +20 -0
  58. package/packages/ampcode/commands/docs-builder/templates.md +572 -0
  59. package/packages/ampcode/commands/docs-builder.md +106 -0
  60. package/packages/ampcode/commands/explain.md +18 -0
  61. package/packages/ampcode/commands/git-commit.md +14 -0
  62. package/packages/ampcode/commands/optimize.md +20 -0
  63. package/packages/ampcode/commands/refactor.md +21 -0
  64. package/packages/ampcode/commands/review.md +18 -0
  65. package/packages/ampcode/commands/root-cause-tracing/find-polluter.sh +63 -0
  66. package/packages/ampcode/commands/root-cause-tracing.md +176 -0
  67. package/packages/ampcode/commands/security.md +21 -0
  68. package/packages/ampcode/commands/ship.md +18 -0
  69. package/packages/ampcode/commands/skill-creator/scripts/init_skill.py +303 -0
  70. package/packages/ampcode/commands/skill-creator/scripts/package_skill.py +110 -0
  71. package/packages/ampcode/commands/skill-creator/scripts/quick_validate.py +65 -0
  72. package/packages/ampcode/commands/skill-creator.md +211 -0
  73. package/packages/ampcode/commands/stash.md +45 -0
  74. package/packages/ampcode/commands/systematic-debugging.md +297 -0
  75. package/packages/ampcode/commands/test-driven-development.md +390 -0
  76. package/packages/ampcode/commands/test-generate.md +18 -0
  77. package/packages/ampcode/commands/testing-anti-patterns.md +304 -0
  78. package/packages/ampcode/commands/verification-before-completion.md +152 -0
  79. package/packages/ampcode/settings.json +13 -0
  80. package/packages/ampcode/variants.json +8 -0
  81. package/packages/claude/CLAUDE.md +58 -0
  82. package/packages/claude/README.md +23 -0
  83. package/packages/claude/agents/1-create-prd.md +175 -0
  84. package/packages/claude/agents/2-generate-tasks.md +190 -0
  85. package/packages/claude/agents/3-process-task-list.md +225 -0
  86. package/packages/claude/agents/code-developer.md +198 -0
  87. package/packages/claude/agents/context-builder.md +142 -0
  88. package/packages/claude/agents/feature-planner.md +199 -0
  89. package/packages/claude/agents/market-researcher.md +89 -0
  90. package/packages/claude/agents/orchestrator.md +117 -0
  91. package/packages/claude/agents/quality-assurance.md +115 -0
  92. package/packages/claude/agents/system-architect.md +135 -0
  93. package/packages/claude/agents/ui-designer.md +184 -0
  94. package/packages/claude/commands/debug.md +20 -0
  95. package/packages/claude/commands/explain.md +18 -0
  96. package/packages/claude/commands/git-commit.md +14 -0
  97. package/packages/claude/commands/optimize.md +20 -0
  98. package/packages/claude/commands/refactor.md +21 -0
  99. package/packages/claude/commands/review.md +18 -0
  100. package/packages/claude/commands/security.md +21 -0
  101. package/packages/claude/commands/ship.md +18 -0
  102. package/packages/claude/commands/stash.md +45 -0
  103. package/packages/claude/commands/test-generate.md +18 -0
  104. package/packages/claude/skills/brainstorming/SKILL.md +56 -0
  105. package/packages/claude/skills/code-review/SKILL.md +107 -0
  106. package/packages/claude/skills/code-review/code-reviewer.md +146 -0
  107. package/packages/claude/skills/condition-based-waiting/SKILL.md +122 -0
  108. package/packages/claude/skills/condition-based-waiting/example.ts +158 -0
  109. package/packages/claude/skills/docs-builder/SKILL.md +106 -0
  110. package/packages/claude/skills/docs-builder/references/templates.md +572 -0
  111. package/packages/claude/skills/root-cause-tracing/SKILL.md +176 -0
  112. package/packages/claude/skills/root-cause-tracing/find-polluter.sh +63 -0
  113. package/packages/claude/skills/skill-creator/LICENSE.txt +202 -0
  114. package/packages/claude/skills/skill-creator/SKILL.md +211 -0
  115. package/packages/claude/skills/skill-creator/scripts/init_skill.py +303 -0
  116. package/packages/claude/skills/skill-creator/scripts/package_skill.py +110 -0
  117. package/packages/claude/skills/skill-creator/scripts/quick_validate.py +65 -0
  118. package/packages/claude/skills/systematic-debugging/CREATION-LOG.md +119 -0
  119. package/packages/claude/skills/systematic-debugging/SKILL.md +296 -0
  120. package/packages/claude/skills/systematic-debugging/test-academic.md +14 -0
  121. package/packages/claude/skills/systematic-debugging/test-pressure-1.md +58 -0
  122. package/packages/claude/skills/systematic-debugging/test-pressure-2.md +68 -0
  123. package/packages/claude/skills/systematic-debugging/test-pressure-3.md +69 -0
  124. package/packages/claude/skills/test-driven-development/SKILL.md +392 -0
  125. package/packages/claude/skills/testing-anti-patterns/SKILL.md +304 -0
  126. package/packages/claude/skills/verification-before-completion/SKILL.md +152 -0
  127. package/packages/claude/variants.json +9 -0
  128. package/packages/droid/AGENTS.md +52 -0
  129. package/packages/droid/README.md +17 -0
  130. package/packages/droid/change_settings.json +61 -0
  131. package/packages/droid/commands/brainstorming.md +56 -0
  132. package/packages/droid/commands/code-review.md +107 -0
  133. package/packages/droid/commands/condition-based-waiting/example.ts +158 -0
  134. package/packages/droid/commands/condition-based-waiting.md +122 -0
  135. package/packages/droid/commands/debug.md +20 -0
  136. package/packages/droid/commands/docs-builder/templates.md +572 -0
  137. package/packages/droid/commands/docs-builder.md +106 -0
  138. package/packages/droid/commands/explain.md +18 -0
  139. package/packages/droid/commands/git-commit.md +14 -0
  140. package/packages/droid/commands/optimize.md +20 -0
  141. package/packages/droid/commands/refactor.md +21 -0
  142. package/packages/droid/commands/review.md +18 -0
  143. package/packages/droid/commands/root-cause-tracing/find-polluter.sh +63 -0
  144. package/packages/droid/commands/root-cause-tracing.md +176 -0
  145. package/packages/droid/commands/security.md +21 -0
  146. package/packages/droid/commands/ship.md +18 -0
  147. package/packages/droid/commands/skill-creator/scripts/init_skill.py +303 -0
  148. package/packages/droid/commands/skill-creator/scripts/package_skill.py +110 -0
  149. package/packages/droid/commands/skill-creator/scripts/quick_validate.py +65 -0
  150. package/packages/droid/commands/skill-creator.md +211 -0
  151. package/packages/droid/commands/stash.md +45 -0
  152. package/packages/droid/commands/systematic-debugging.md +297 -0
  153. package/packages/droid/commands/test-driven-development.md +390 -0
  154. package/packages/droid/commands/test-generate.md +18 -0
  155. package/packages/droid/commands/testing-anti-patterns.md +304 -0
  156. package/packages/droid/commands/verification-before-completion.md +152 -0
  157. package/packages/droid/droids/1-create-prd.md +170 -0
  158. package/packages/droid/droids/2-generate-tasks.md +190 -0
  159. package/packages/droid/droids/3-process-task-list.md +225 -0
  160. package/packages/droid/droids/code-developer.md +198 -0
  161. package/packages/droid/droids/context-builder.md +142 -0
  162. package/packages/droid/droids/feature-planner.md +199 -0
  163. package/packages/droid/droids/market-researcher.md +89 -0
  164. package/packages/droid/droids/orchestrator.md +116 -0
  165. package/packages/droid/droids/quality-assurance.md +115 -0
  166. package/packages/droid/droids/system-architect.md +135 -0
  167. package/packages/droid/droids/ui-designer.md +184 -0
  168. package/packages/droid/variants.json +8 -0
  169. package/packages/opencode/AGENTS.md +52 -0
  170. package/packages/opencode/README.md +17 -0
  171. package/packages/opencode/agent/1-create-prd.md +179 -0
  172. package/packages/opencode/agent/2-generate-tasks.md +194 -0
  173. package/packages/opencode/agent/3-process-task-list.md +229 -0
  174. package/packages/opencode/agent/code-developer.md +202 -0
  175. package/packages/opencode/agent/context-builder.md +146 -0
  176. package/packages/opencode/agent/feature-planner.md +203 -0
  177. package/packages/opencode/agent/market-researcher.md +93 -0
  178. package/packages/opencode/agent/orchestrator.md +120 -0
  179. package/packages/opencode/agent/quality-assurance.md +119 -0
  180. package/packages/opencode/agent/system-architect.md +139 -0
  181. package/packages/opencode/agent/ui-designer.md +188 -0
  182. package/packages/opencode/command/brainstorming.md +56 -0
  183. package/packages/opencode/command/code-review.md +107 -0
  184. package/packages/opencode/command/condition-based-waiting/example.ts +158 -0
  185. package/packages/opencode/command/condition-based-waiting.md +122 -0
  186. package/packages/opencode/command/debug.md +20 -0
  187. package/packages/opencode/command/docs-builder/templates.md +572 -0
  188. package/packages/opencode/command/docs-builder.md +106 -0
  189. package/packages/opencode/command/explain.md +18 -0
  190. package/packages/opencode/command/git-commit.md +14 -0
  191. package/packages/opencode/command/optimize.md +20 -0
  192. package/packages/opencode/command/refactor.md +21 -0
  193. package/packages/opencode/command/review.md +18 -0
  194. package/packages/opencode/command/root-cause-tracing/find-polluter.sh +63 -0
  195. package/packages/opencode/command/root-cause-tracing.md +176 -0
  196. package/packages/opencode/command/security.md +21 -0
  197. package/packages/opencode/command/ship.md +18 -0
  198. package/packages/opencode/command/skill-creator/scripts/init_skill.py +303 -0
  199. package/packages/opencode/command/skill-creator/scripts/package_skill.py +110 -0
  200. package/packages/opencode/command/skill-creator/scripts/quick_validate.py +65 -0
  201. package/packages/opencode/command/skill-creator.md +211 -0
  202. package/packages/opencode/command/stash.md +45 -0
  203. package/packages/opencode/command/systematic-debugging.md +297 -0
  204. package/packages/opencode/command/test-driven-development.md +390 -0
  205. package/packages/opencode/command/test-generate.md +18 -0
  206. package/packages/opencode/command/testing-anti-patterns.md +304 -0
  207. package/packages/opencode/command/verification-before-completion.md +152 -0
  208. package/packages/opencode/opencode.jsonc +201 -0
  209. package/packages/opencode/variants.json +8 -0
  210. package/packages/subagentic-manual.md +349 -0
  211. package/postinstall.js +21 -0
  212. package/tools/ampcode/manifest-template.json +14 -0
  213. package/tools/claude/manifest-template.json +14 -0
  214. package/tools/droid/manifest-template.json +14 -0
  215. package/tools/opencode/manifest-template.json +14 -0
@@ -0,0 +1,299 @@
1
+ # Installation Locations
2
+
3
+ This document explains **where** Agentic Kit files get installed depending on the installation method.
4
+
5
+ ---
6
+
7
+ ## Installation Methods & Locations
8
+
9
+ ### 1. Claude Code Plugin (Recommended)
10
+
11
+ **Command:**
12
+ ```bash
13
+ /plugin add github:amrhas82/agentflow
14
+ ```
15
+
16
+ **Install Location:**
17
+ ```
18
+ ~/.config/claude-code/plugins/github-amrhas82-agentflow/
19
+ ```
20
+
21
+ **What's Installed:**
22
+ - All plugin files (agents, skills, manifests, hooks)
23
+ - Files remain until you uninstall with `/plugin remove`
24
+
25
+ **How it Works:**
26
+ - Claude Code clones the GitHub repository
27
+ - Files are placed in Claude's plugin directory
28
+ - Agents and skills become available in Claude Code immediately
29
+ - Persists across Claude Code sessions
30
+
31
+ **Verify Installation:**
32
+ ```bash
33
+ ls ~/.config/claude-code/plugins/ | grep agentflow
34
+ ```
35
+
36
+ ---
37
+
38
+ ### 2. npx (Temporary Execution)
39
+
40
+ **Command:**
41
+ ```bash
42
+ npx agentflow
43
+ npx agkit --variant=lite
44
+ ```
45
+
46
+ **Install Location:**
47
+ ```
48
+ ~/.npm/_npx/[hash]/agentflow/
49
+ ```
50
+
51
+ **What's Installed:**
52
+ - Package downloaded to npx cache directory
53
+ - **TEMPORARY** - cleared when cache is cleaned
54
+ - Does NOT install permanently
55
+
56
+ **How it Works:**
57
+ - Downloads package from npm registry
58
+ - Caches in npx directory
59
+ - Runs the CLI script (cli.js)
60
+ - Shows installation instructions
61
+ - Files are NOT available after process exits
62
+
63
+ **This is NOT a permanent installation method!**
64
+
65
+ npx is designed for:
66
+ - Trying the package without installing
67
+ - One-time runs
68
+ - Testing different variants
69
+
70
+ **To actually use Agentic Kit, use Claude Code plugin installation instead.**
71
+
72
+ ---
73
+
74
+ ### 3. npm install (Local Project)
75
+
76
+ **Command:**
77
+ ```bash
78
+ npm install agentflow
79
+ ```
80
+
81
+ **Install Location:**
82
+ ```
83
+ ./node_modules/agentflow/
84
+ ```
85
+
86
+ **What's Installed:**
87
+ - All package files in your project's node_modules
88
+ - Available as a dependency
89
+ - Persists as long as node_modules exists
90
+
91
+ **How it Works:**
92
+ - Downloads package from npm registry
93
+ - Installs to local node_modules directory
94
+ - Makes files available for require/import
95
+ - Typical for Node.js projects
96
+
97
+ **When to Use:**
98
+ - Building a Node.js app that uses Agentic Kit
99
+ - Want to version control dependencies (package.json)
100
+ - Need local access to files
101
+
102
+ **Note:** This doesn't make agents available in Claude Code automatically. You still need to use Claude Code plugin installation for that.
103
+
104
+ ---
105
+
106
+ ### 4. npm install -g (Global)
107
+
108
+ **Command:**
109
+ ```bash
110
+ npm install -g agentflow
111
+ ```
112
+
113
+ **Install Location:**
114
+ ```
115
+ # Linux/macOS
116
+ /usr/local/lib/node_modules/agentflow/
117
+
118
+ # Or with nvm
119
+ ~/.nvm/versions/node/vX.X.X/lib/node_modules/agentflow/
120
+
121
+ # Windows
122
+ %AppData%\npm\node_modules\agentflow\
123
+ ```
124
+
125
+ **What's Installed:**
126
+ - Package files in global node_modules
127
+ - CLI binaries in PATH
128
+ - Available system-wide
129
+
130
+ **How it Works:**
131
+ - Downloads package from npm registry
132
+ - Installs globally
133
+ - Adds `agentflow` and `agkit` commands to PATH
134
+
135
+ **When to Use:**
136
+ - Want CLI commands available globally
137
+ - Building tools that use Agentic Kit
138
+
139
+ ---
140
+
141
+ ## Comparison Table
142
+
143
+ | Method | Location | Permanent? | Claude Code? | Use Case |
144
+ |--------|----------|------------|--------------|----------|
145
+ | **Claude Code Plugin** | `~/.config/claude-code/plugins/` | ✅ Yes | ✅ Yes | **Recommended - Use Agentic Kit in Claude** |
146
+ | **npx** | `~/.npm/_npx/[hash]/` | ❌ No (temporary) | ❌ No | Testing, one-time runs |
147
+ | **npm install** | `./node_modules/` | ✅ Yes | ❌ No | Node.js project dependency |
148
+ | **npm install -g** | `/usr/local/lib/node_modules/` | ✅ Yes | ❌ No | Global CLI access |
149
+
150
+ ---
151
+
152
+ ## How Files Are Structured
153
+
154
+ When installed, you get:
155
+
156
+ ```
157
+ agentic-kit/
158
+ ├── .claude-plugin/ # Plugin manifests
159
+ │ ├── plugin.json # Main manifest
160
+ │ ├── plugin-lite.json # Lite variant
161
+ │ ├── plugin-standard.json # Standard variant
162
+ │ └── plugin-pro.json # Pro variant
163
+ ├── agents/ # All 13 agent definitions
164
+ ├── skills/ # All 14 skill definitions
165
+ ├── hooks/ # Plugin hooks
166
+ │ ├── register-agents.js # Agent registration
167
+ │ └── session-start.js # Session persistence
168
+ ├── resources/ # Templates, workflows, data
169
+ ├── cli.js # CLI wrapper
170
+ ├── index.js # Entry point
171
+ ├── package.json # npm package info
172
+ └── README.md # Documentation
173
+ ```
174
+
175
+ ---
176
+
177
+ ## Finding Your Installation
178
+
179
+ ### Claude Code Plugin
180
+ ```bash
181
+ # Linux/macOS
182
+ ls ~/.config/claude-code/plugins/
183
+
184
+ # macOS alternative
185
+ ls ~/Library/Application Support/Claude/plugins/
186
+
187
+ # Check inside Claude Code
188
+ # Type: /plugin list
189
+ ```
190
+
191
+ ### npx Cache
192
+ ```bash
193
+ # List npx cache
194
+ ls ~/.npm/_npx/
195
+
196
+ # Clear npx cache
197
+ rm -rf ~/.npm/_npx
198
+ ```
199
+
200
+ ### npm Local
201
+ ```bash
202
+ # Check local installation
203
+ ls node_modules/agentflow/
204
+
205
+ # Or use npm
206
+ npm list agentflow
207
+ ```
208
+
209
+ ### npm Global
210
+ ```bash
211
+ # Find global installation
212
+ npm list -g agentflow
213
+
214
+ # Or check directory
215
+ npm root -g
216
+ ```
217
+
218
+ ---
219
+
220
+ ## Uninstalling
221
+
222
+ ### Claude Code Plugin
223
+ ```bash
224
+ /plugin remove github-amrhas82-agentflow
225
+ ```
226
+
227
+ ### npm Local
228
+ ```bash
229
+ npm uninstall agentflow
230
+ ```
231
+
232
+ ### npm Global
233
+ ```bash
234
+ npm uninstall -g agentflow
235
+ ```
236
+
237
+ ### npx Cache
238
+ ```bash
239
+ # npx cache is automatically cleaned periodically
240
+ # Or force clean:
241
+ rm -rf ~/.npm/_npx
242
+ ```
243
+
244
+ ---
245
+
246
+ ## Package Publishing Locations
247
+
248
+ When you publish:
249
+
250
+ ### npm.js Registry
251
+ ```
252
+ https://www.npmjs.com/package/agentflow
253
+ ```
254
+
255
+ Users download from:
256
+ ```
257
+ https://registry.npmjs.org/agentflow/-/agentflow-1.1.0.tgz
258
+ ```
259
+
260
+ ### GitHub Packages
261
+ ```
262
+ https://github.com/amrhas82/agentflow/packages
263
+ ```
264
+
265
+ Users download from:
266
+ ```
267
+ https://npm.pkg.github.com/agentflow
268
+ ```
269
+
270
+ ### GitHub Repository
271
+ ```
272
+ https://github.com/amrhas82/agentflow
273
+ ```
274
+
275
+ Claude Code clones from:
276
+ ```
277
+ git clone https://github.com/amrhas82/agentflow.git
278
+ ```
279
+
280
+ ---
281
+
282
+ ## Summary
283
+
284
+ **For most users:**
285
+ - **Use Claude Code plugin installation** → Installs to Claude's plugin directory
286
+ - This is the recommended method for using Agentic Kit
287
+
288
+ **For developers:**
289
+ - **npm install** (local) → For Node.js projects
290
+ - **npm install -g** (global) → For CLI access
291
+
292
+ **For testing:**
293
+ - **npx** → Temporary, doesn't actually install
294
+
295
+ ---
296
+
297
+ **Where do agents/skills become available?**
298
+
299
+ Only **Claude Code plugin installation** makes agents and skills available in Claude Code. Other methods just download files but don't integrate with Claude Code.