pikakit 3.9.117 → 3.9.119
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/package.json
CHANGED
|
@@ -1,105 +1,124 @@
|
|
|
1
|
-
# PikaKit Engine - VS Code Extension
|
|
2
|
-
|
|
3
|
-
> 🤖 Real-time auto-learning from IDE diagnostics → Generate skills automatically
|
|
4
|
-
|
|
5
|
-
## Features
|
|
6
|
-
|
|
7
|
-
- **Real-time Diagnostics** - Listen to TypeScript, ESLint errors in real-time
|
|
8
|
-
- **Pattern Detection** - Auto-detect patterns from repeated errors
|
|
9
|
-
- **Auto-Save Lessons** - Save to `.agent/lessons.json`
|
|
10
|
-
- **Skill Generation** - Generate SKILL.md when threshold is reached (≥3 times)
|
|
11
|
-
- **
|
|
12
|
-
- **
|
|
13
|
-
- **Status Bar** - Display learning status +
|
|
14
|
-
|
|
15
|
-
## Keyboard Shortcuts
|
|
16
|
-
|
|
17
|
-
| Shortcut | Action | Description |
|
|
18
|
-
|----------|--------|-------------|
|
|
19
|
-
| `Ctrl+Shift+Enter` | Toggle
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
| `PikaKit:
|
|
59
|
-
| `PikaKit:
|
|
60
|
-
| `PikaKit:
|
|
61
|
-
| `PikaKit:
|
|
62
|
-
| `PikaKit:
|
|
63
|
-
| `PikaKit: Toggle
|
|
64
|
-
| `PikaKit:
|
|
65
|
-
|
|
66
|
-
## Configuration
|
|
67
|
-
|
|
68
|
-
| Setting | Default | Description |
|
|
69
|
-
|---------|---------|-------------|
|
|
70
|
-
| `pikakit.autoStart` | `true` | Auto-start learning on VS Code startup |
|
|
71
|
-
| `pikakit.threshold` | `3` | Error count before generating a skill |
|
|
72
|
-
| `pikakit.lessonsPath` | `.agent/lessons.json` | Path to lessons storage |
|
|
73
|
-
| `pikakit.
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
1
|
+
# PikaKit Engine - VS Code Extension
|
|
2
|
+
|
|
3
|
+
> 🤖 Real-time auto-learning from IDE diagnostics → Generate skills automatically
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- **Real-time Diagnostics** - Listen to TypeScript, ESLint errors in real-time
|
|
8
|
+
- **Pattern Detection** - Auto-detect patterns from repeated errors
|
|
9
|
+
- **Auto-Save Lessons** - Save to `.agent/lessons.json`
|
|
10
|
+
- **Skill Generation** - Generate SKILL.md when threshold is reached (≥3 times)
|
|
11
|
+
- **Autopilot** - Automatically accept edits + run proposed terminal commands (dangerous commands blocked)
|
|
12
|
+
- **CDP** - Auto-click "Allow file access?" permission dialogs via Chrome DevTools Protocol
|
|
13
|
+
- **Status Bar** - Display learning status + Autopilot/CDP toggles
|
|
14
|
+
|
|
15
|
+
## Keyboard Shortcuts
|
|
16
|
+
|
|
17
|
+
| Shortcut | Action | Description |
|
|
18
|
+
|----------|--------|-------------|
|
|
19
|
+
| `Ctrl+Shift+Enter` | Toggle Autopilot | Auto-accept edits + auto-run commands (dangerous blocked) |
|
|
20
|
+
|
|
21
|
+
> On macOS: `Cmd+Shift+Enter`
|
|
22
|
+
|
|
23
|
+
## Installation
|
|
24
|
+
|
|
25
|
+
### Via PikaKit CLI (recommended)
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
npx pikakit
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
The extension is installed automatically during skill installation.
|
|
32
|
+
|
|
33
|
+
### Install from VSIX
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
cd packages/pikakit-extension
|
|
37
|
+
npm install && npm run compile
|
|
38
|
+
npx @vscode/vsce package --allow-missing-repository
|
|
39
|
+
code --install-extension pikakit-engine-3.9.119.vsix
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Local Development
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
cd packages/pikakit-extension
|
|
46
|
+
npm install && npm run compile
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Press F5 → "Extension Development Host" → Extension runs in new window.
|
|
50
|
+
|
|
51
|
+
## Commands
|
|
52
|
+
|
|
53
|
+
Press `Ctrl+Shift+P` → type "PikaKit":
|
|
54
|
+
|
|
55
|
+
| Command | Description |
|
|
56
|
+
|---------|-------------|
|
|
57
|
+
| `PikaKit: Start Learning` | Start listening to diagnostics |
|
|
58
|
+
| `PikaKit: Stop Learning` | Stop learning |
|
|
59
|
+
| `PikaKit: Generate Skill` | Manually generate from patterns |
|
|
60
|
+
| `PikaKit: View Lessons` | View all learned lessons |
|
|
61
|
+
| `PikaKit: Clear Lessons` | Clear all lessons |
|
|
62
|
+
| `PikaKit: Toggle Autopilot` | Toggle autopilot (Ctrl+Shift+Enter) |
|
|
63
|
+
| `PikaKit: Toggle CDP` | Toggle CDP file access auto-click |
|
|
64
|
+
| `PikaKit: CDP Setup Guide` | Show CDP setup instructions |
|
|
65
|
+
|
|
66
|
+
## Configuration
|
|
67
|
+
|
|
68
|
+
| Setting | Default | Description |
|
|
69
|
+
|---------|---------|-------------|
|
|
70
|
+
| `pikakit.autoStart` | `true` | Auto-start learning on VS Code startup |
|
|
71
|
+
| `pikakit.threshold` | `3` | Error count before generating a skill |
|
|
72
|
+
| `pikakit.lessonsPath` | `.agent/lessons.json` | Path to lessons storage |
|
|
73
|
+
| `pikakit.autopilotEnabled` | `false` | Enable Autopilot on startup |
|
|
74
|
+
|
|
75
|
+
## Architecture
|
|
76
|
+
|
|
77
|
+
```
|
|
78
|
+
┌─────────────────────────────────────────────────┐
|
|
79
|
+
│ PikaKit Autonomous Mode │
|
|
80
|
+
│ │
|
|
81
|
+
│ ┌──────────────────────────────┐ │
|
|
82
|
+
│ │ ⚡ Autopilot │ ← Layer 1 │
|
|
83
|
+
│ │ (10 VS Code commands) │ Command API │
|
|
84
|
+
│ │ Accept edits + Run cmds │ │
|
|
85
|
+
│ └──────────────┬───────────────┘ │
|
|
86
|
+
│ │ │
|
|
87
|
+
│ ┌──────────────┴───────────────┐ │
|
|
88
|
+
│ │ 🔌 CDP │ ← Layer 2 │
|
|
89
|
+
│ │ "Allow file access?" etc. │ DOM Click │
|
|
90
|
+
│ └──────────────────────────────┘ │
|
|
91
|
+
└─────────────────────────────────────────────────┘
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
**Autopilot** handles VS Code commands (accept edits, run terminals).
|
|
95
|
+
**CDP** handles permission dialogs that have no VS Code Command API.
|
|
96
|
+
|
|
97
|
+
## Status Bar
|
|
98
|
+
|
|
99
|
+
| Icon | State | Action |
|
|
100
|
+
|------|-------|--------|
|
|
101
|
+
| `$(rocket) Autopilot` | ON | Click or Ctrl+Shift+Enter to toggle |
|
|
102
|
+
| `$(circle-slash) Autopilot` | OFF | Click or Ctrl+Shift+Enter to toggle |
|
|
103
|
+
| `$(plug) CDP: ON` | Connected | Click to disconnect |
|
|
104
|
+
| `$(debug-disconnect) CDP: OFF` | Disconnected | Click to connect |
|
|
105
|
+
|
|
106
|
+
## Safety
|
|
107
|
+
|
|
108
|
+
Autopilot includes dangerous command blocking for:
|
|
109
|
+
- `rm -rf /`, `rm -rf ~`, `rm -rf *`
|
|
110
|
+
- `format c:`, `del /f /s /q`, `rmdir /s /q`
|
|
111
|
+
- Fork bombs (`:(){:|:&};:`)
|
|
112
|
+
- `dd if=`, `mkfs.`, `chmod -R 777 /`
|
|
113
|
+
- `Remove-Item -Recurse -Force C:\`
|
|
114
|
+
|
|
115
|
+
## Supported Error Types
|
|
116
|
+
|
|
117
|
+
- TypeScript: Cannot find name, Property does not exist, Type mismatch
|
|
118
|
+
- ESLint: Unused variables, Missing semicolons
|
|
119
|
+
- React: Invalid hook calls, Missing dependencies
|
|
120
|
+
- General: Import errors, Module not found
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
⚡ PikaKit Engine v3.9.119
|
|
Binary file
|