solvdex 1.0.1 → 1.0.4

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.
@@ -1,13 +1,22 @@
1
1
  {
2
2
  "name": "solvdex-marketplace",
3
- "description": "Solvdex plugin marketplace",
3
+ "owner": {
4
+ "name": "duc.do",
5
+ "email": "ducdm.dev.work@gmail.com"
6
+ },
7
+ "metadata": {
8
+ "description": "Knowledge management plugins for Claude Code",
9
+ "version": "1.0.4"
10
+ },
4
11
  "plugins": [
5
12
  {
6
13
  "name": "solvdex",
7
- "description": "Auto-capture and retrieve project knowledge across 7 domains",
8
- "repository": "https://github.com/ducdmdev/solvdex",
9
- "version": "1.0.1",
10
- "categories": ["knowledge-management", "documentation", "developer-tools"]
14
+ "source": {
15
+ "source": "url",
16
+ "url": "https://github.com/ducdmdev/solvdex.git"
17
+ },
18
+ "description": "Auto-capture and retrieve project knowledge - solutions, patterns, gotchas, testing, docs, security, performance",
19
+ "version": "1.0.4"
11
20
  }
12
21
  ]
13
22
  }
@@ -1,17 +1,13 @@
1
1
  {
2
2
  "name": "solvdex",
3
- "version": "1.0.1",
4
3
  "description": "Auto-capture and retrieve project knowledge - solutions, patterns, gotchas, testing, docs, security, performance",
4
+ "version": "1.0.4",
5
5
  "author": {
6
- "name": "duc.do"
6
+ "name": "duc.do",
7
+ "email": "ducdm.dev.work@gmail.com"
7
8
  },
8
9
  "homepage": "https://github.com/ducdmdev/solvdex",
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/ducdmdev/solvdex.git"
12
- },
10
+ "repository": "https://github.com/ducdmdev/solvdex",
13
11
  "license": "MIT",
14
- "skills": ["skills/"],
15
- "hooks": "./hooks/hooks.json",
16
12
  "keywords": ["wiki", "knowledge", "documentation", "patterns", "testing", "security", "performance"]
17
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "solvdex",
3
- "version": "1.0.1",
3
+ "version": "1.0.4",
4
4
  "description": "Knowledge management system for Claude Code - auto-captures and retrieves project solutions",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",
@@ -3,7 +3,7 @@ name: wiki-capture
3
3
  description: Intelligent agent that analyzes conversation context and extracts knowledge worth capturing as wiki entries.
4
4
  argument-hint: [--category=<cat>] [--title=<title>] [--dry-run]
5
5
  context: fork
6
- agent: general-purpose
6
+ agent: wiki-capture
7
7
  user-invocable: true
8
8
  disable-model-invocation: true
9
9
  allowed-tools: Read, Write, Glob, Grep
@@ -1,98 +1,52 @@
1
1
  ---
2
2
  name: wiki-scan
3
- description: Scan project and create Solvdex stub entries from existing knowledge sources like git history, comments, and documentation.
4
- argument-hint: [--batch] [--auto]
3
+ description: Scan project and create Solvdex stub entries from existing knowledge sources.
4
+ argument-hint: [--verbose]
5
5
  user-invocable: true
6
6
  disable-model-invocation: false
7
7
  ---
8
8
 
9
9
  # Scan Project for Solvdex
10
10
 
11
- Analyze project and generate wiki stub entries from existing knowledge sources.
11
+ Analyze project and generate wiki stub entries. **Runs quietly by default.**
12
12
 
13
- ## Sources Scanned
13
+ ## Usage
14
14
 
15
- | Source | Extracts | Category |
16
- |--------|----------|----------|
17
- | CLAUDE.md | Instructions, rules | patterns, gotchas |
18
- | docs/ | Documentation | docs, patterns |
19
- | Git history | Fix/refactor commits | issues, patterns |
20
- | Code comments | HACK, WORKAROUND, TODO | gotchas, issues |
21
- | README.md | Setup instructions | patterns, docs |
22
- | Config files | .env.example, docker-compose | gotchas, security |
23
- | Test files | Test patterns, mocks | testing |
24
- | Security configs | Auth, permissions | security |
25
- | Performance code | Optimizations, caching | performance |
15
+ ```bash
16
+ # Default: quiet mode (recommended)
17
+ /wiki scan
26
18
 
27
- ## Modes
28
-
29
- - **Interactive (default):** Review each entry one by one
30
- - **Batch (--batch):** Show all, approve/reject in bulk
31
- - **Auto (--auto):** Accept all stubs automatically
32
-
33
- ## Implementation
34
-
35
- ```typescript
36
- import { wikiExists, createEntry, CONFIDENCE } from 'solvdex';
37
-
38
- const projectRoot = process.cwd();
39
-
40
- if (!wikiExists(projectRoot)) {
41
- console.log('No wiki found. Run `/wiki init` first.');
42
- return;
43
- }
19
+ # Verbose: show all progress
20
+ /wiki scan --verbose
21
+ ```
44
22
 
45
- console.log('Scanning project...');
23
+ ## How It Works
46
24
 
47
- // Scan sources and extract candidates
48
- const candidates = scanProjectSources(projectRoot);
25
+ 1. Detect project type (Go, Node.js, Python, etc.)
26
+ 2. Launch appropriate scanner agent
27
+ 3. Return summary only
49
28
 
50
- console.log(`Found ${candidates.length} potential entries.`);
51
- console.log('');
29
+ ## Implementation
52
30
 
53
- if ($ARGUMENTS.includes('--auto')) {
54
- // Auto-accept all
55
- for (const candidate of candidates) {
56
- const entry = createEntry(projectRoot, {
57
- category: candidate.category,
58
- title: candidate.title,
59
- tags: candidate.tags,
60
- content: { Problem: '<!-- TODO -->' },
61
- stub: true,
62
- confidence: CONFIDENCE.LOW,
63
- source: candidate.source
64
- });
65
- console.log(`Created stub: ${entry.path}`);
66
- }
67
- } else {
68
- // Interactive mode
69
- for (const candidate of candidates) {
70
- console.log(`[${candidate.category}] ${candidate.title}`);
71
- console.log(` Source: ${candidate.source}`);
72
- }
73
- }
31
+ Use the Task tool to launch the scanner agent:
74
32
 
75
- console.log('');
76
- console.log('Scan complete. Run `/wiki browse` to see entries.');
77
33
  ```
78
-
79
- ## Output
80
-
34
+ Task(subagent_type="wiki-scanner", prompt="Scan this project for wiki entries. Return only summary.", run_in_background=false)
81
35
  ```
82
- Scanning project...
83
- Found 8 potential entries.
84
36
 
85
- [issues] Auth Token Expiration Fix
86
- Source: git commit abc123
37
+ If `--verbose` is specified, scan directly with full output instead of using the agent.
87
38
 
88
- [gotchas] Environment Variable Gotcha
89
- Source: code comment in src/config.ts
39
+ ## Output (Default)
90
40
 
91
- [patterns] API Retry Pattern
92
- Source: CLAUDE.md
41
+ ```
42
+ Scan complete: 8 entries created
43
+ - patterns: 3
44
+ - gotchas: 2
45
+ - issues: 1
46
+ - testing: 1
47
+ - security: 1
48
+ ```
93
49
 
94
- [testing] Mock Database Setup
95
- Source: tests/setup.ts
50
+ ## Output (--verbose)
96
51
 
97
- Scan complete. Run `/wiki browse` to see entries.
98
- ```
52
+ Shows full progress with each file being scanned and entry being created.