liteagents 2.8.0 → 2.8.2

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 (42) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/README.md +2 -5
  3. package/cli.js +11 -221
  4. package/installer/path-manager.js +0 -199
  5. package/package.json +2 -6
  6. package/packages/ampcode/commands/security.md +50 -12
  7. package/packages/ampcode/commands/ship.md +33 -11
  8. package/packages/claude/commands/git-commit.md +1 -1
  9. package/packages/claude/commands/security.md +50 -12
  10. package/packages/claude/commands/ship.md +33 -11
  11. package/packages/claude/plugins/live-canvas-marketplace/plugins/live-canvas-channel/package-lock.json +5 -5
  12. package/packages/droid/commands/security.md +50 -12
  13. package/packages/droid/commands/ship.md +33 -11
  14. package/packages/opencode/command/security.md +50 -12
  15. package/packages/opencode/command/ship.md +33 -11
  16. package/postinstall.js +1 -1
  17. package/docs/.gitkeep +0 -1
  18. package/docs/CONTRIBUTING.md +0 -739
  19. package/docs/ERROR_HANDLING_IMPLEMENTATION.md +0 -327
  20. package/docs/INSTALLATION_DEMO.md +0 -691
  21. package/docs/INSTALLATION_LOCATIONS.md +0 -289
  22. package/docs/INSTALLER_GUIDE.md +0 -1586
  23. package/docs/INTEGRATION_ISSUES_9.1.md +0 -341
  24. package/docs/KNOWLEDGE_BASE.md +0 -727
  25. package/docs/LONG_TERM_MEMORY.md +0 -449
  26. package/docs/MIGRATION.md +0 -384
  27. package/docs/PACKAGE_BASELINE.md +0 -557
  28. package/docs/PACKAGE_VALIDATION_REPORT.md +0 -427
  29. package/docs/PASS_INTEGRATION.md +0 -307
  30. package/docs/PASS_QUICK_START.md +0 -150
  31. package/docs/PRIVACY.md +0 -203
  32. package/docs/PUBLISHING.md +0 -266
  33. package/docs/QUICK-START.md +0 -318
  34. package/docs/RELEASE_NOTES_1.2.0.md +0 -323
  35. package/docs/SECURITY.md +0 -317
  36. package/docs/SILENT_MODE_GUIDE.md +0 -526
  37. package/docs/SKILLS_CONVERSION.md +0 -154
  38. package/docs/TESTING.md +0 -582
  39. package/docs/TEST_COVERAGE.md +0 -347
  40. package/docs/TROUBLESHOOTING.md +0 -788
  41. package/docs/UPDATED_VARIANT_CONFIGURATION.md +0 -274
  42. package/docs/VARIANT_CONFIGURATION.md +0 -440
@@ -1,150 +0,0 @@
1
- # Quick Start: Publishing with `pass`
2
-
3
- You're using `pass` to securely store your GitHub token. Here's everything you need!
4
-
5
- ---
6
-
7
- ## ✅ Your Setup
8
-
9
- **Token Location in pass:** `amr/github`
10
-
11
- ---
12
-
13
- ## 🚀 Publishing (3 Simple Ways)
14
-
15
- ### Method 1: Fully Automatic (Easiest) ⭐
16
-
17
- The `publish.sh` script automatically retrieves your token from `pass`:
18
-
19
- ```bash
20
- ./publish.sh
21
- ```
22
-
23
- **That's it!** No need to export anything manually.
24
-
25
- ### Method 2: One-Line Publish
26
-
27
- ```bash
28
- export GITHUB_TOKEN=$(pass show amr/github) && npm run publish:both
29
- ```
30
-
31
- ### Method 3: Helper Script
32
-
33
- ```bash
34
- source ./set-github-token.sh
35
- npm run publish:both
36
- ```
37
-
38
- ---
39
-
40
- ## 📋 Common Commands
41
-
42
- ### View your token
43
- ```bash
44
- pass show amr/github
45
- ```
46
-
47
- ### Export token for current session
48
- ```bash
49
- export GITHUB_TOKEN=$(pass show amr/github)
50
- ```
51
-
52
- ### Verify token is set
53
- ```bash
54
- echo $GITHUB_TOKEN | cut -c1-10
55
- # Should show: ghp_...
56
- ```
57
-
58
- ### Update token in pass
59
- ```bash
60
- pass edit amr/github
61
- # Or insert new one
62
- pass insert -f amr/github
63
- ```
64
-
65
- ---
66
-
67
- ## 🔄 Complete Release Workflow
68
-
69
- ```bash
70
- # 1. Update version
71
- ./UPDATE_VERSION.sh 1.2.0
72
-
73
- # 2. Update CHANGELOG.md
74
- # (Edit with your changes)
75
-
76
- # 3. Commit and tag
77
- git add .
78
- git commit -m "Bump version to 1.2.0"
79
- git tag v1.2.0
80
- git push origin main --tags
81
-
82
- # 4. Publish (automatic pass retrieval!)
83
- ./publish.sh
84
-
85
- # 5. Verify
86
- # - npm.js: https://www.npmjs.com/package/liteagents
87
- # - GitHub: https://github.com/hamr0/liteagents/packages
88
- ```
89
-
90
- ---
91
-
92
- ## 🔐 Security Tips
93
-
94
- ✅ Your token is encrypted with GPG
95
- ✅ Never stored in plain text
96
- ✅ Not in shell history or config files
97
- ✅ Scripts retrieve it automatically when needed
98
-
99
- ---
100
-
101
- ## 🆘 Troubleshooting
102
-
103
- ### "pass: command not found"
104
- ```bash
105
- sudo apt install pass # Ubuntu/Debian
106
- brew install pass # macOS
107
- ```
108
-
109
- ### "amr/github is not in the password store"
110
- ```bash
111
- pass insert amr/github
112
- # Enter your token when prompted
113
- ```
114
-
115
- ### Token not working
116
- ```bash
117
- # Verify token in pass
118
- pass show amr/github
119
-
120
- # Should start with ghp_
121
- pass show amr/github | head -c 4
122
- ```
123
-
124
- ### Need to regenerate token
125
- 1. Go to: https://github.com/settings/tokens
126
- 2. Generate new token (classic)
127
- 3. Scopes: `write:packages`, `read:packages`
128
- 4. Update in pass:
129
- ```bash
130
- pass insert -f amr/github
131
- ```
132
-
133
- ---
134
-
135
- ## 📚 Full Documentation
136
-
137
- - **Pass Integration Guide:** [docs/PASS_INTEGRATION.md](PASS_INTEGRATION.md)
138
- - **GitHub Setup:** [docs/GITHUB_SETUP.md](GITHUB_SETUP.md)
139
- - **Publishing Guide:** [docs/PUBLISHING.md](PUBLISHING.md)
140
-
141
- ---
142
-
143
- ## ⚡ TL;DR
144
-
145
- **Just run:**
146
- ```bash
147
- ./publish.sh
148
- ```
149
-
150
- **The script does everything automatically!** 🎉
package/docs/PRIVACY.md DELETED
@@ -1,203 +0,0 @@
1
- # Privacy Policy - Agentic Kit Telemetry
2
-
3
- ## Overview
4
-
5
- Agentic Kit respects your privacy. This document explains our optional telemetry system and what data we collect (and don't collect) to help improve the software.
6
-
7
- ## Important Principles
8
-
9
- 1. **Opt-In Only**: Telemetry is completely optional. We will never collect data without your explicit consent.
10
- 2. **Anonymous**: All data collected is anonymous and cannot be linked to you personally.
11
- 3. **Transparent**: We clearly document what we collect and don't collect.
12
- 4. **Respectful**: You can change your mind anytime - opt-in or opt-out at will.
13
-
14
- ## Telemetry Consent
15
-
16
- When you first run the Agentic Kit installer, you'll be asked:
17
-
18
- ```
19
- Would you like to share anonymous usage statistics to help improve liteagents? (y/N)
20
- ```
21
-
22
- - **Default is NO**: If you just press Enter, telemetry is disabled
23
- - **Explicit Consent**: You must type 'y' to enable telemetry
24
- - **One-Time Prompt**: We only ask once; your choice is saved
25
- - **Easy to Change**: You can modify your consent anytime
26
-
27
- ## What Data We Collect
28
-
29
- When you **opt-in**, we collect the following anonymous data:
30
-
31
- ### Installation Events
32
- - **Package variant selected**: Which variant you chose (lite, standard, or pro)
33
- - **Tool count**: How many tools you installed (not which specific tools)
34
- - **Installation time**: How long the installation took (in milliseconds)
35
- - **Success status**: Whether installation succeeded or failed
36
- - **Error count**: Number of errors encountered (not the error details)
37
- - **Warning count**: Number of warnings encountered
38
-
39
- ### System Information
40
- - **Operating system type**: Platform name (e.g., linux, darwin, win32)
41
- - **Node.js version**: The version of Node.js you're using
42
- - **Agentic Kit version**: The version of liteagents you installed
43
-
44
- ### Upgrade Events
45
- - **From variant**: The variant you upgraded from
46
- - **To variant**: The variant you upgraded to
47
- - **Success status**: Whether upgrade succeeded or failed
48
-
49
- ### Uninstallation Events
50
- - **Success status**: Whether uninstallation succeeded or failed
51
-
52
- ## What Data We DON'T Collect
53
-
54
- We explicitly **do not** collect:
55
-
56
- - ❌ **File paths**: No installation directories or file locations
57
- - ❌ **Personal information**: No usernames, emails, or identifying information
58
- - ❌ **System details**: No detailed hardware specs, memory usage, or system configuration
59
- - ❌ **Specific tool names**: We don't track which specific tools you selected
60
- - ❌ **User-created content**: No code, files, or data you create
61
- - ❌ **Network information**: No IP addresses or network identifiers
62
- - ❌ **Installation location**: No absolute or relative paths
63
- - ❌ **Error messages**: No detailed error text or stack traces
64
-
65
- ## How Data is Stored
66
-
67
- Currently, telemetry data is stored locally on your machine at:
68
-
69
- ```
70
- ~/.liteagents-telemetry.log
71
- ```
72
-
73
- In future versions, with your consent, this data may be sent to a secure analytics endpoint to help aggregate usage patterns. Any such change will:
74
- - Be clearly communicated in release notes
75
- - Require you to re-confirm your consent
76
- - Use secure, encrypted transmission (HTTPS)
77
- - Store data in a privacy-respecting manner
78
-
79
- ## Managing Your Consent
80
-
81
- ### Check Current Status
82
-
83
- Your telemetry consent is stored in:
84
- ```
85
- ~/.liteagents-config.json
86
- ```
87
-
88
- You can view this file to see your current setting:
89
- ```json
90
- {
91
- "telemetry": true,
92
- "telemetryConsentDate": "2025-01-15T10:30:00Z"
93
- }
94
- ```
95
-
96
- ### Disable Telemetry
97
-
98
- You have several options to disable telemetry:
99
-
100
- #### Option 1: Edit Config File
101
- Edit `~/.liteagents-config.json` and set:
102
- ```json
103
- {
104
- "telemetry": false
105
- }
106
- ```
107
-
108
- #### Option 2: Use --no-telemetry Flag
109
- Run the installer with the flag:
110
- ```bash
111
- node installer/cli.js --no-telemetry
112
- ```
113
-
114
- This flag:
115
- - Disables telemetry for this installation only
116
- - Doesn't change your saved consent setting
117
- - Can be used anytime
118
-
119
- #### Option 3: Delete Config File
120
- Remove the config file completely:
121
- ```bash
122
- rm ~/.liteagents-config.json
123
- ```
124
-
125
- You'll be prompted again on next installation.
126
-
127
- ### Enable Telemetry
128
-
129
- To enable telemetry after previously declining:
130
-
131
- 1. Edit `~/.liteagents-config.json` and set `"telemetry": true`
132
- 2. Or delete the config file and run installer again to be re-prompted
133
-
134
- ## View Collected Data
135
-
136
- All locally collected telemetry is stored in plaintext at:
137
- ```
138
- ~/.liteagents-telemetry.log
139
- ```
140
-
141
- You can view this file anytime to see exactly what data has been collected:
142
- ```bash
143
- cat ~/.liteagents-telemetry.log
144
- ```
145
-
146
- Each entry is a JSON object on a single line, for example:
147
- ```json
148
- {"timestamp":"2025-01-15T10:30:00Z","event":"installation","variant":"standard","toolCount":2,"installationTimeMs":45000,"success":true,"errorCount":0,"warningCount":0,"osType":"linux","nodeVersion":"v18.0.0","agenticKitVersion":"1.2.0"}
149
- ```
150
-
151
- ## Delete All Telemetry Data
152
-
153
- To completely remove all telemetry data from your system:
154
-
155
- ```bash
156
- rm ~/.liteagents-telemetry.log
157
- rm ~/.liteagents-config.json
158
- ```
159
-
160
- This removes:
161
- - All collected telemetry data
162
- - Your consent setting
163
- - The config file
164
-
165
- ## Why We Collect This Data
166
-
167
- Anonymous usage statistics help us:
168
-
169
- 1. **Understand Usage Patterns**: Know which variants are most popular
170
- 2. **Improve Installation Experience**: Track installation success rates and times
171
- 3. **Prioritize Development**: Focus on the features users actually use
172
- 4. **Fix Issues**: Identify common installation problems
173
- 5. **Platform Support**: Understand which platforms need better support
174
-
175
- ## Questions or Concerns
176
-
177
- If you have questions about our privacy policy or data collection:
178
-
179
- - **GitHub Issues**: https://github.com/hamr0/liteagents/issues
180
- - **Review Code**: Our telemetry code is open source in `installer/telemetry.js`
181
- - **Request Clarification**: Open an issue if anything is unclear
182
-
183
- ## Updates to This Policy
184
-
185
- We may update this privacy policy as we add features. Any changes will:
186
- - Be documented in CHANGELOG.md
187
- - Require re-consent if data collection changes significantly
188
- - Be clearly communicated in release notes
189
-
190
- ## Summary
191
-
192
- **TL;DR:**
193
- - ✅ Telemetry is opt-in only (default: disabled)
194
- - ✅ Data is completely anonymous
195
- - ✅ You can opt-out anytime with `--no-telemetry`
196
- - ✅ All collected data is stored locally and viewable
197
- - ✅ We never collect personal information or file paths
198
- - ✅ The code is open source - you can audit it
199
-
200
- ---
201
-
202
- **Last Updated**: January 2025
203
- **Version**: 1.0
@@ -1,266 +0,0 @@
1
- # Publishing Guide - liteagents
2
-
3
- This guide documents how to publish liteagents to npm and Claude Code marketplaces.
4
-
5
- ---
6
-
7
- ## Table of Contents
8
-
9
- 1. [Quick Publishing](#quick-publishing)
10
- 2. [Publishing to npm](#publishing-to-npm)
11
- 3. [Publishing to Claude Code Marketplace](#publishing-to-claude-code-marketplace)
12
- 4. [Version Management](#version-management)
13
- 5. [Troubleshooting](#troubleshooting)
14
-
15
- ---
16
-
17
- ## Quick Publishing
18
-
19
- ### Publish to npm
20
-
21
- ```bash
22
- # Using the publish script
23
- ./scripts/publish.sh
24
-
25
- # Or directly
26
- npm publish --access public
27
- ```
28
-
29
- **Requirements:**
30
- - Logged into npm: `npm login`
31
- - All changes committed to git
32
- - Package validation passes: `npm run validate`
33
-
34
- ---
35
-
36
- ## Publishing to npm
37
-
38
- ### Prerequisites
39
-
40
- - npm account (create at https://www.npmjs.com/signup)
41
- - Access to the `liteagents` package
42
- - All changes committed to git
43
-
44
- ### Publishing Process
45
-
46
- #### 1. Login to npm
47
-
48
- ```bash
49
- npm login
50
- ```
51
-
52
- #### 2. Validate Package
53
-
54
- ```bash
55
- npm run validate
56
- ```
57
-
58
- This checks:
59
- - ✅ All manifest files exist and are valid JSON
60
- - ✅ Variant configurations are correct
61
- - ✅ All required files are present
62
- - ✅ CLI script has proper shebang
63
-
64
- #### 3. Publish
65
-
66
- ```bash
67
- ./scripts/publish.sh
68
- ```
69
-
70
- Or manually:
71
- ```bash
72
- npm publish --access public
73
- ```
74
-
75
- #### 4. Verify Publication
76
-
77
- Check your package page:
78
- - https://www.npmjs.com/package/liteagents
79
-
80
- Test installation:
81
- ```bash
82
- npm install -g liteagents
83
- liteagents --help
84
- ```
85
-
86
- ---
87
-
88
- ## Publishing to Claude Code Marketplace
89
-
90
- ### Current Options (2025)
91
-
92
- Claude Code doesn't have a centralized official Anthropic marketplace yet. There are three distribution methods:
93
-
94
- ### Option 1: Direct GitHub Installation ⭐ (Recommended)
95
-
96
- Users can install directly from GitHub without marketplace approval:
97
-
98
- ```
99
- /plugin add github:hamr0/liteagents
100
- ```
101
-
102
- **No submission required!** Works as soon as you push to GitHub.
103
-
104
- **Requirements:**
105
- - ✅ Repository must be public
106
- - ✅ `.claude-plugin/` directory with manifests
107
- - ✅ All plugin files in repository root
108
-
109
- ### Option 2: Create Your Own Marketplace
110
-
111
- Host your own marketplace catalog: `.claude-plugin/marketplace.json`
112
-
113
- ```json
114
- {
115
- "name": "liteagents Official",
116
- "owner": "hamr0",
117
- "description": "Lightweight CLI agents for development",
118
- "plugins": [
119
- {
120
- "name": "liteagents",
121
- "source": "github:hamr0/liteagents",
122
- "description": "Lightweight deterministic CLI agents"
123
- }
124
- ]
125
- }
126
- ```
127
-
128
- Users install via:
129
- ```
130
- /plugin marketplace add github:hamr0/liteagents
131
- ```
132
-
133
- ### Option 3: Submit to Community Marketplaces
134
-
135
- **claudecodecommands.directory** (Largest Community Marketplace)
136
-
137
- 1. Visit: https://claudecodecommands.directory/submit
138
- 2. Fill out submission form
139
- 3. Wait for review (1-3 days)
140
- 4. Users can then search and install
141
-
142
- ---
143
-
144
- ## Version Management
145
-
146
- ### Using npm version command
147
-
148
- ```bash
149
- # Update version
150
- npm version patch # 2.4.0 -> 2.4.1 (bug fixes)
151
- npm version minor # 2.4.0 -> 2.5.0 (new features)
152
- npm version major # 2.4.0 -> 3.0.0 (breaking changes)
153
- ```
154
-
155
- ### Complete Release Process
156
-
157
- ```bash
158
- # 1. Update version
159
- npm version patch # or minor/major
160
-
161
- # 2. Update CHANGELOG.md
162
- # Add release notes for this version
163
-
164
- # 3. Commit and tag
165
- git add .
166
- git commit -m "Bump version to 2.4.1"
167
- git tag v2.4.1
168
- git push origin main --tags
169
-
170
- # 4. Publish to npm
171
- ./scripts/publish.sh
172
-
173
- # 5. Verify
174
- # Check npm: https://www.npmjs.com/package/liteagents
175
- ```
176
-
177
- ---
178
-
179
- ## Troubleshooting
180
-
181
- ### npm Issues
182
-
183
- #### Error: 403 Forbidden - Package name taken
184
- ```
185
- npm error 403 You do not have permission to publish
186
- ```
187
-
188
- **Solution:** Package name is taken. Choose a different name or use scoped: `@username/package-name`
189
-
190
- #### Error: 402 Payment Required
191
- ```
192
- npm error 402 You must sign up for private packages
193
- ```
194
-
195
- **Solution:** Add `--access public` flag:
196
- ```bash
197
- npm publish --access public
198
- ```
199
-
200
- #### Error: Not logged in
201
- ```
202
- npm error need auth
203
- ```
204
-
205
- **Solution:**
206
- ```bash
207
- npm login
208
- ```
209
-
210
- ### Validation Issues
211
-
212
- #### Validation Fails
213
-
214
- **Problem:** `npm run validate` reports errors
215
-
216
- **Solutions:**
217
- - Check manifest files have correct agent/skill counts
218
- - Ensure all agent files exist in `agents/` directory
219
- - Verify all skill directories exist in `skills/`
220
- - Check cli.js has shebang and is executable
221
-
222
- #### GitHub Install Not Working
223
-
224
- **Problem:** Users can't install via `/plugin add github:hamr0/liteagents`
225
-
226
- **Checklist:**
227
- - [ ] Repository is public
228
- - [ ] `.claude-plugin/` directory exists
229
- - [ ] Manifests are valid JSON
230
- - [ ] All files are pushed to GitHub
231
-
232
- ---
233
-
234
- ## Distribution Checklist
235
-
236
- Before publishing a new release:
237
-
238
- - [ ] All tests pass
239
- - [ ] `npm run validate` succeeds
240
- - [ ] Version bumped with `npm version`
241
- - [ ] CHANGELOG.md updated
242
- - [ ] README.md reflects current features
243
- - [ ] All changes committed to git
244
- - [ ] Git tag created (`v2.x.x`)
245
- - [ ] Changes pushed to GitHub with tags
246
- - [ ] Published to npm: `./scripts/publish.sh`
247
- - [ ] Verified npm installation: `npm install -g liteagents`
248
- - [ ] Verified GitHub installation: `/plugin add github:hamr0/liteagents`
249
-
250
- ---
251
-
252
- ## Package URLs
253
-
254
- After publishing, your package will be available at:
255
-
256
- - **npm:** https://www.npmjs.com/package/liteagents
257
- - **GitHub Repository:** https://github.com/hamr0/liteagents
258
-
259
- ## Support & Resources
260
-
261
- - **npm Documentation:** https://docs.npmjs.com/cli/v10/commands/npm-publish
262
- - **Claude Code Plugin Docs:** https://docs.claude.com/en/docs/claude-code/plugin-marketplaces
263
-
264
- ---
265
-
266
- **Last Updated:** January 2025