vg-coder-cli 2.0.47 → 2.0.49
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/INTEGRATION.md +1 -1
- package/README.md +52 -6
- package/bin/vg-coder.js +7 -0
- package/bin/vg.js +10 -0
- package/package.json +6 -2
- package/src/index.js +2 -1
- package/src/server/api-server.js +9 -4
- package/src/server/views/vg-coder/background.js +40 -4
- package/src/server/views/vg-coder/manifest.json +1 -10
- package/debug.log +0 -42
- package/src/server/views/vg-coder/rules.json +0 -23
- package/test-large/package.json +0 -1
- package/test-large/src/components/Button.tsx +0 -1
- package/test-large/src/index.ts +0 -1
- package/test-small/package.json +0 -1
- package/test-small/src/index.js +0 -1
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"nativeMessaging",
|
|
16
16
|
"downloads",
|
|
17
17
|
"scripting",
|
|
18
|
-
"
|
|
18
|
+
"declarativeNetRequestWithHostAccess",
|
|
19
19
|
"clipboardRead",
|
|
20
20
|
"debugger",
|
|
21
21
|
"alarms"
|
|
@@ -56,14 +56,5 @@
|
|
|
56
56
|
},
|
|
57
57
|
"side_panel": {
|
|
58
58
|
"default_path": "sidepanel.html"
|
|
59
|
-
},
|
|
60
|
-
"declarative_net_request": {
|
|
61
|
-
"rule_resources": [
|
|
62
|
-
{
|
|
63
|
-
"id": "ruleset_1",
|
|
64
|
-
"enabled": true,
|
|
65
|
-
"path": "rules.json"
|
|
66
|
-
}
|
|
67
|
-
]
|
|
68
59
|
}
|
|
69
60
|
}
|
package/debug.log
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
- Initializing analysis...
|
|
2
|
-
|
|
3
|
-
📁 Project Detection:
|
|
4
|
-
Primary Type: react
|
|
5
|
-
Other Types: nodejs
|
|
6
|
-
|
|
7
|
-
📊 Scan Results:
|
|
8
|
-
Files Found: 3
|
|
9
|
-
Files Processed: 3
|
|
10
|
-
Scan Time: 13ms
|
|
11
|
-
|
|
12
|
-
📁 Directory Structure:
|
|
13
|
-
test-large/
|
|
14
|
-
├── src
|
|
15
|
-
│ ├── components
|
|
16
|
-
│ │ └── Button.tsx (.tsx)
|
|
17
|
-
│ └── index.ts (.ts)
|
|
18
|
-
└── package.json (.json)
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
🧮 Token Analysis:
|
|
22
|
-
Total Tokens: 121
|
|
23
|
-
Average Tokens/File: 40
|
|
24
|
-
Files Exceeding Limit: 0
|
|
25
|
-
Estimated Chunks: 1
|
|
26
|
-
DEBUG - aiContent length: 322
|
|
27
|
-
DEBUG - first 200 chars: // ===== FILE: package.json =====
|
|
28
|
-
{"name": "test-large", "version": "1.0.0", "dependencies": {"react": "^18.0.0"}}
|
|
29
|
-
|
|
30
|
-
// ===== FILE: src/components/Button.tsx =====
|
|
31
|
-
export const Button = () => <button>C
|
|
32
|
-
✔ Content saved to vg-projects.txt successfully!
|
|
33
|
-
|
|
34
|
-
📄 File Content:
|
|
35
|
-
Output: /Users/thanhhuynh/Documents/vg-coder-cli/vg-projects.txt
|
|
36
|
-
Files: 3
|
|
37
|
-
Lines: 9
|
|
38
|
-
Characters: 322
|
|
39
|
-
Size: 322 Bytes
|
|
40
|
-
|
|
41
|
-
💡 Ready for AI analysis!
|
|
42
|
-
Content is now saved in vg-projects.txt and ready for AI tools.
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"id": 1,
|
|
4
|
-
"priority": 1,
|
|
5
|
-
"action": {
|
|
6
|
-
"type": "modifyHeaders",
|
|
7
|
-
"responseHeaders": [
|
|
8
|
-
{
|
|
9
|
-
"header": "content-security-policy",
|
|
10
|
-
"operation": "remove"
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
"header": "x-frame-options",
|
|
14
|
-
"operation": "remove"
|
|
15
|
-
}
|
|
16
|
-
]
|
|
17
|
-
},
|
|
18
|
-
"condition": {
|
|
19
|
-
"urlFilter": "*",
|
|
20
|
-
"resourceTypes": ["main_frame", "sub_frame"]
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
]
|
package/test-large/package.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"name": "test-large", "version": "1.0.0", "dependencies": {"react": "^18.0.0"}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const Button = () => <button>Click me</button>;
|
package/test-large/src/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { Button } from "./components/Button"; export default Button;
|
package/test-small/package.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"name": "test-small", "version": "1.0.0"}
|
package/test-small/src/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
console.log("Hello World");
|