@elliotxx/claude-list 0.1.1 → 0.1.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.
- package/CHANGELOG.md +71 -0
- package/README.md +34 -24
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [0.1.2] - 2026-01-31
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **Colored Output**: Components are now displayed with distinct colors for easy identification:
|
|
15
|
+
- Plugins: Blue
|
|
16
|
+
- Skills: Green
|
|
17
|
+
- MCP Servers: Yellow
|
|
18
|
+
- Hooks: Magenta
|
|
19
|
+
- Agents: Red
|
|
20
|
+
- Commands: Orange
|
|
21
|
+
- Version Numbers: Gray
|
|
22
|
+
|
|
23
|
+
- **Search Functionality**:
|
|
24
|
+
- Single keyword search (`--search keyword`)
|
|
25
|
+
- Multi-keyword AND search (`--search "keyword1 keyword2"`)
|
|
26
|
+
- Case-insensitive matching
|
|
27
|
+
- Works with all output modes (compact, detailed, JSON)
|
|
28
|
+
|
|
29
|
+
- **Color Control**:
|
|
30
|
+
- `--no-color` flag to disable colors
|
|
31
|
+
- `NO_COLOR` environment variable support
|
|
32
|
+
- Automatic color disabling for non-TTY output (pipes, files)
|
|
33
|
+
|
|
34
|
+
### Changed
|
|
35
|
+
|
|
36
|
+
- Improved table alignment in detailed output mode (`-l`)
|
|
37
|
+
- Colors automatically disabled when output is piped or redirected
|
|
38
|
+
|
|
39
|
+
### Fixed
|
|
40
|
+
|
|
41
|
+
- Fixed ANSI escape sequence handling for proper column alignment
|
|
42
|
+
- Fixed width calculation for Unicode characters with colors
|
|
43
|
+
|
|
44
|
+
### Performance
|
|
45
|
+
|
|
46
|
+
- Search operations complete in under 100ms for typical configurations
|
|
47
|
+
- Color rendering adds minimal overhead (<5ms)
|
|
48
|
+
|
|
49
|
+
## [0.1.1] - 2026-01-29
|
|
50
|
+
|
|
51
|
+
### Added
|
|
52
|
+
|
|
53
|
+
- Initial release with basic component listing
|
|
54
|
+
- Support for all component types: plugins, skills, sessions, MCP servers, hooks, agents, commands
|
|
55
|
+
- Multiple output modes: compact, detailed (`-l`), JSON
|
|
56
|
+
- Filter flags for each component type
|
|
57
|
+
- Test fixtures for all component types
|
|
58
|
+
|
|
59
|
+
### Features
|
|
60
|
+
|
|
61
|
+
- Parse `.claude/settings.json` for plugins
|
|
62
|
+
- Parse `.claude/skills/` directory for skills
|
|
63
|
+
- Parse `.claude/sessions/` for session history
|
|
64
|
+
- Parse `.claude/mcp.json` for MCP servers
|
|
65
|
+
- Parse `.claude/hooks/` for hooks
|
|
66
|
+
- Parse `.claude/agents/` for agents
|
|
67
|
+
- Parse `.claude/commands/` for commands
|
|
68
|
+
|
|
69
|
+
[Unreleased]: https://github.com/elliotxx/claude-list/compare/v0.1.2...HEAD
|
|
70
|
+
[0.1.2]: https://github.com/elliotxx/claude-list/releases/tag/v0.1.2
|
|
71
|
+
[0.1.1]: https://github.com/elliotxx/claude-list/releases/tag/v0.1.1
|
package/README.md
CHANGED
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
|
|
29
29
|
## Latest News 🔥
|
|
30
30
|
|
|
31
|
+
- **[2026/01]** Released v0.1.1 with `-l` flag support and npm package
|
|
31
32
|
- **[2026/01]** Published to crates.io - now installable via `cargo install claude-list`
|
|
32
33
|
- **[2026/01]** Added Homebrew support with cargo-dist multi-platform builds
|
|
33
34
|
- **[2026/01]** Released v0.1.0 with compact, detailed, and JSON output modes
|
|
34
|
-
- **[2026/01]** Implemented 7 component parsers (plugins, skills, sessions, mcp, hooks, agents, commands)
|
|
35
35
|
|
|
36
36
|
---
|
|
37
37
|
|
|
@@ -51,8 +51,11 @@ A Rust CLI tool that follows Unix philosophy—do one thing well. It reads your
|
|
|
51
51
|
## Quick Start
|
|
52
52
|
|
|
53
53
|
```bash
|
|
54
|
-
# Install
|
|
55
|
-
|
|
54
|
+
# Install via Homebrew (macOS)
|
|
55
|
+
brew tap elliotxx/tap && brew install elliotxx/tap/claude-list
|
|
56
|
+
|
|
57
|
+
# OR via shell script (Linux/macOS)
|
|
58
|
+
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/elliotxx/claude-list/releases/latest/download/claude-list-installer.sh | sh
|
|
56
59
|
|
|
57
60
|
# View your Claude Code environment
|
|
58
61
|
claude-list
|
|
@@ -102,7 +105,7 @@ claude-list --config /path/to/.claude
|
|
|
102
105
|
### Compact Mode (Default)
|
|
103
106
|
|
|
104
107
|
```
|
|
105
|
-
CLAUDE-LIST v0.1.
|
|
108
|
+
CLAUDE-LIST v0.1.1
|
|
106
109
|
|
|
107
110
|
CONFIG: /Users/user/.claude
|
|
108
111
|
|
|
@@ -125,7 +128,7 @@ MCP 2 servers
|
|
|
125
128
|
### Detailed Mode (`-l`)
|
|
126
129
|
|
|
127
130
|
```
|
|
128
|
-
CLAUDE-LIST v0.1.
|
|
131
|
+
CLAUDE-LIST v0.1.1
|
|
129
132
|
|
|
130
133
|
CONFIG: /Users/user/.claude
|
|
131
134
|
|
|
@@ -141,7 +144,7 @@ PLUGINS 3 installed
|
|
|
141
144
|
|
|
142
145
|
```json
|
|
143
146
|
{
|
|
144
|
-
"version": "0.1.
|
|
147
|
+
"version": "0.1.1",
|
|
145
148
|
"config_dir": "/Users/user/.claude",
|
|
146
149
|
"plugins": [...],
|
|
147
150
|
"skills": [...],
|
|
@@ -157,19 +160,31 @@ PLUGINS 3 installed
|
|
|
157
160
|
|
|
158
161
|
## Installation
|
|
159
162
|
|
|
160
|
-
### Option 1: From
|
|
163
|
+
### Option 1: From Homebrew (macOS)
|
|
161
164
|
|
|
162
165
|
```bash
|
|
163
|
-
|
|
166
|
+
brew tap elliotxx/tap && brew install elliotxx/tap/claude-list
|
|
164
167
|
```
|
|
165
168
|
|
|
166
|
-
### Option 2: From
|
|
169
|
+
### Option 2: From Shell Script (Linux/macOS)
|
|
167
170
|
|
|
168
171
|
```bash
|
|
169
|
-
|
|
172
|
+
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/elliotxx/claude-list/releases/latest/download/claude-list-installer.sh | sh
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
### Option 3: From npm
|
|
176
|
+
|
|
177
|
+
```bash
|
|
178
|
+
npm install -g @elliotxx/claude-list
|
|
170
179
|
```
|
|
171
180
|
|
|
172
|
-
### Option
|
|
181
|
+
### Option 4: From crates.io
|
|
182
|
+
|
|
183
|
+
```bash
|
|
184
|
+
cargo install claude-list
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
### Option 5: From GitHub Releases
|
|
173
188
|
|
|
174
189
|
Download pre-built binaries from [GitHub Releases](https://github.com/elliotxx/claude-list/releases):
|
|
175
190
|
|
|
@@ -185,7 +200,7 @@ tar -xzf claude-list-aarch64-apple-darwin.tar.gz
|
|
|
185
200
|
./claude-list
|
|
186
201
|
```
|
|
187
202
|
|
|
188
|
-
### Option
|
|
203
|
+
### Option 6: From Source
|
|
189
204
|
|
|
190
205
|
```bash
|
|
191
206
|
git clone https://github.com/elliotxx/claude-list.git
|
|
@@ -198,12 +213,6 @@ cargo install --path .
|
|
|
198
213
|
|
|
199
214
|
## Architecture
|
|
200
215
|
|
|
201
|
-
### System Overview
|
|
202
|
-
|
|
203
|
-
<div align="center">
|
|
204
|
-
<img src="https://via.placeholder.com/750x400?text=claude-list+Architecture" alt="Architecture Diagram" width="750">
|
|
205
|
-
</div>
|
|
206
|
-
|
|
207
216
|
### Component Architecture
|
|
208
217
|
|
|
209
218
|
```
|
|
@@ -326,13 +335,13 @@ Releases are automated via [cargo-dist](https://dist.clap.rs/):
|
|
|
326
335
|
|
|
327
336
|
```bash
|
|
328
337
|
# 1. Update version in Cargo.toml
|
|
329
|
-
# Edit Cargo.toml: version = "0.1.
|
|
338
|
+
# Edit Cargo.toml: version = "0.1.1" → "0.1.2"
|
|
330
339
|
|
|
331
340
|
# 2. Commit version change
|
|
332
|
-
git add -A && git commit -m "chore: bump version to 0.1.
|
|
341
|
+
git add -A && git commit -m "chore: bump version to 0.1.2"
|
|
333
342
|
|
|
334
343
|
# 3. Create git tag
|
|
335
|
-
git tag 0.1.
|
|
344
|
+
git tag 0.1.2
|
|
336
345
|
|
|
337
346
|
# 4. Push to GitHub (including tags)
|
|
338
347
|
git push && git push --tags
|
|
@@ -345,10 +354,11 @@ cargo publish
|
|
|
345
354
|
|
|
346
355
|
### CI Tokens Required
|
|
347
356
|
|
|
348
|
-
| Secret | Purpose
|
|
349
|
-
|
|
357
|
+
| Secret | Purpose | Location |
|
|
358
|
+
|--------|---------|----------|
|
|
350
359
|
| `CARGO_REGISTRY_TOKEN` | Publish to crates.io | [crates.io/settings/tokens](https://crates.io/settings/tokens) |
|
|
351
360
|
| `HOMEBREW_TAP_TOKEN` | Publish to Homebrew | [GitHub Settings](https://github.com/settings/tokens) |
|
|
361
|
+
| `NPM_TOKEN` | Publish to npm (requires 2FA bypass) | [npmjs.com/settings/tokens](https://www.npmjs.com/settings/tokens) |
|
|
352
362
|
|
|
353
363
|
---
|
|
354
364
|
|
|
@@ -367,7 +377,7 @@ We welcome contributions! Feel free to submit issues and pull requests.
|
|
|
367
377
|
|
|
368
378
|
```bash
|
|
369
379
|
# Fork the repository on GitHub, then clone your fork
|
|
370
|
-
git clone https://github.com/
|
|
380
|
+
git clone https://github.com/elliotxx/claude-list.git
|
|
371
381
|
cd claude-list
|
|
372
382
|
|
|
373
383
|
# Follow installation steps above
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"hasInstallScript": true,
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"name": "@elliotxx/claude-list",
|
|
26
|
-
"version": "0.1.
|
|
26
|
+
"version": "0.1.2"
|
|
27
27
|
},
|
|
28
28
|
"node_modules/@isaacs/balanced-match": {
|
|
29
29
|
"engines": {
|
|
@@ -515,5 +515,5 @@
|
|
|
515
515
|
}
|
|
516
516
|
},
|
|
517
517
|
"requires": true,
|
|
518
|
-
"version": "0.1.
|
|
518
|
+
"version": "0.1.2"
|
|
519
519
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"artifactDownloadUrl": "https://github.com/elliotxx/claude-list/releases/download/
|
|
2
|
+
"artifactDownloadUrl": "https://github.com/elliotxx/claude-list/releases/download/v0.1.2",
|
|
3
3
|
"author": "elliot <951376975@qq.com>",
|
|
4
4
|
"bin": {
|
|
5
5
|
"claude-list": "run-claude-list.js"
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"zipExt": ".tar.xz"
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
|
-
"version": "0.1.
|
|
87
|
+
"version": "0.1.2",
|
|
88
88
|
"volta": {
|
|
89
89
|
"node": "18.14.1",
|
|
90
90
|
"npm": "9.5.0"
|