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,6 +1,6 @@
1
1
  {
2
2
  "name": "pikakit",
3
- "version": "3.9.117",
3
+ "version": "3.9.119",
4
4
  "description": "PikaKit FAANG-Grade AI Operating System — Install 51 skills, 18 workflows.",
5
5
  "license": "Proprietary",
6
6
  "author": "pikakit <pikakit@gmail.com>",
@@ -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
- - **Auto-Accept** - Automatically accept Antigravity agent steps (edits, saves, terminal)
12
- - **Auto-Run** - Automatically run proposed terminal commands
13
- - **Status Bar** - Display learning status + Auto-Accept/Auto-Run toggles
14
-
15
- ## Keyboard Shortcuts
16
-
17
- | Shortcut | Action | Description |
18
- |----------|--------|-------------|
19
- | `Ctrl+Shift+Enter` | Toggle Auto-Accept | Auto-accept code edits, file saves, terminal commands |
20
- | `Alt+Enter` | Toggle Auto-Run | Auto-run proposed terminal commands |
21
-
22
- > On macOS: `Cmd+Shift+Enter` and `Alt+Enter`
23
-
24
- ## Installation
25
-
26
- ### Via PikaKit CLI (recommended)
27
-
28
- ```bash
29
- npx pikakit
30
- ```
31
-
32
- The extension is installed automatically during skill installation.
33
-
34
- ### Install from VSIX
35
-
36
- ```bash
37
- cd packages/pikakit-extension
38
- npm install && npm run compile
39
- npx @vscode/vsce package --allow-missing-repository
40
- code --install-extension pikakit-engine-1.1.0.vsix
41
- ```
42
-
43
- ### Local Development
44
-
45
- ```bash
46
- cd packages/pikakit-extension
47
- npm install && npm run compile
48
- ```
49
-
50
- Press F5 → "Extension Development Host" → Extension runs in new window.
51
-
52
- ## Commands
53
-
54
- Press `Ctrl+Shift+P` → type "PikaKit":
55
-
56
- | Command | Description |
57
- |---------|-------------|
58
- | `PikaKit: Start Learning` | Start listening to diagnostics |
59
- | `PikaKit: Stop Learning` | Stop learning |
60
- | `PikaKit: Generate Skill` | Manually generate from patterns |
61
- | `PikaKit: View Lessons` | View all learned lessons |
62
- | `PikaKit: Clear Lessons` | Clear all lessons |
63
- | `PikaKit: Toggle Auto-Accept` | Toggle auto-accept (Ctrl+Shift+Enter) |
64
- | `PikaKit: Toggle Auto-Run` | Toggle auto-run (Alt+Enter) |
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.autoAcceptEnabled` | `false` | Enable Auto-Accept on startup |
74
- | `pikakit.autoRunEnabled` | `false` | Enable Auto-Run on startup |
75
-
76
- ## How It Works
77
-
78
- ```
79
- 1. TypeScript/ESLint error detected
80
- 2. Extension analyzes the error
81
- 3. Pattern saved to lessons.json
82
- 4. When pattern repeats ≥3 times
83
- 5. Auto-offer to generate skill
84
- 6. New skill created in .agent/skills/
85
- ```
86
-
87
- ## Status Bar
88
-
89
- | Icon | State | Action |
90
- |------|-------|--------|
91
- | `$(check) Auto-Accept` | ON | Click or Ctrl+Shift+Enter to toggle |
92
- | `$(circle-slash) Auto-Accept` | OFF | Click or Ctrl+Shift+Enter to toggle |
93
- | `$(play) Auto-Run` | ON | Click or Alt+Enter to toggle |
94
- | `$(debug-pause) Auto-Run` | OFF | Click or Alt+Enter to toggle |
95
-
96
- ## Supported Error Types
97
-
98
- - TypeScript: Cannot find name, Property does not exist, Type mismatch
99
- - ESLint: Unused variables, Missing semicolons
100
- - React: Invalid hook calls, Missing dependencies
101
- - General: Import errors, Module not found
102
-
103
- ---
104
-
105
- ⚡ PikaKit Engine v1.1.0
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