@rbinar/dev-kit 1.0.0
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/README.md +103 -0
- package/bin/cli.js +98 -0
- package/bundle/agents-bundle.enc +0 -0
- package/bundle/manifest.json +23 -0
- package/lib/commands/doctor.js +251 -0
- package/lib/commands/init.js +184 -0
- package/lib/commands/status.js +50 -0
- package/lib/commands/update.js +186 -0
- package/lib/constants.js +120 -0
- package/lib/crypto.js +64 -0
- package/lib/installer.js +234 -0
- package/lib/scaffold.js +109 -0
- package/package.json +34 -0
package/lib/scaffold.js
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Zenginleştirilmiş .blink/ scaffold şablonları.
|
|
5
|
+
* Bu şablonlar, ajanların ilk çalışmada anlamlı bağlam bulmasını sağlar.
|
|
6
|
+
* Scribe ajanı bunları keşfedip dolduracaktır.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
const SCAFFOLD_TEMPLATES = {
|
|
10
|
+
'architecture.md': `<!-- Scaffold created by blink-dev init — fill in or run blink.dev.Scribe to auto-discover -->
|
|
11
|
+
|
|
12
|
+
# Architecture
|
|
13
|
+
|
|
14
|
+
## Module Map
|
|
15
|
+
|
|
16
|
+
| Path | Purpose |
|
|
17
|
+
|---|---|
|
|
18
|
+
| src/ | Application source code |
|
|
19
|
+
| | |
|
|
20
|
+
|
|
21
|
+
## Key Dependencies
|
|
22
|
+
|
|
23
|
+
| Module/Package | Role |
|
|
24
|
+
|---|---|
|
|
25
|
+
| | |
|
|
26
|
+
|
|
27
|
+
## Dependency Direction
|
|
28
|
+
|
|
29
|
+
<!-- Describe which modules depend on which — helps agents respect layer boundaries -->
|
|
30
|
+
`,
|
|
31
|
+
|
|
32
|
+
'conventions.md': `<!-- Scaffold created by blink-dev init — fill in or run blink.dev.Scribe to auto-discover -->
|
|
33
|
+
|
|
34
|
+
# Conventions
|
|
35
|
+
|
|
36
|
+
## Code Style
|
|
37
|
+
|
|
38
|
+
<!-- Language-specific style rules: naming, indentation, quotes, etc. -->
|
|
39
|
+
|
|
40
|
+
## Naming
|
|
41
|
+
|
|
42
|
+
<!-- File naming, function naming, variable naming conventions -->
|
|
43
|
+
|
|
44
|
+
## Error Handling
|
|
45
|
+
|
|
46
|
+
<!-- How errors are handled: try/catch patterns, error boundaries, logging -->
|
|
47
|
+
|
|
48
|
+
## Import Order
|
|
49
|
+
|
|
50
|
+
<!-- Import/require ordering convention -->
|
|
51
|
+
`,
|
|
52
|
+
|
|
53
|
+
'stack.md': `<!-- Scaffold created by blink-dev init — fill in or run blink.dev.Scribe to auto-discover -->
|
|
54
|
+
|
|
55
|
+
# Stack
|
|
56
|
+
|
|
57
|
+
## Language
|
|
58
|
+
|
|
59
|
+
## Framework
|
|
60
|
+
|
|
61
|
+
## Package Manager
|
|
62
|
+
|
|
63
|
+
## Key Dependencies
|
|
64
|
+
|
|
65
|
+
| Package | Purpose |
|
|
66
|
+
|---|---|
|
|
67
|
+
| | |
|
|
68
|
+
|
|
69
|
+
## Dev Tools
|
|
70
|
+
|
|
71
|
+
| Tool | Purpose |
|
|
72
|
+
|---|---|
|
|
73
|
+
| | |
|
|
74
|
+
`,
|
|
75
|
+
|
|
76
|
+
'testing.md': `<!-- Scaffold created by blink-dev init — fill in or run blink.dev.Scribe to auto-discover -->
|
|
77
|
+
|
|
78
|
+
# Testing
|
|
79
|
+
|
|
80
|
+
## Framework
|
|
81
|
+
|
|
82
|
+
## Strategy
|
|
83
|
+
|
|
84
|
+
<!-- Unit / Integration / E2E breakdown -->
|
|
85
|
+
|
|
86
|
+
## Coverage
|
|
87
|
+
|
|
88
|
+
## Naming Conventions
|
|
89
|
+
|
|
90
|
+
<!-- Test file naming, describe/it patterns -->
|
|
91
|
+
|
|
92
|
+
## Mocking Patterns
|
|
93
|
+
`,
|
|
94
|
+
|
|
95
|
+
'todo.md': `<!-- Scaffold created by blink-dev init -->
|
|
96
|
+
|
|
97
|
+
# Todo
|
|
98
|
+
|
|
99
|
+
<!-- blink.dev.Triage uses this file when no GitHub Project Board is configured -->
|
|
100
|
+
|
|
101
|
+
## Backlog
|
|
102
|
+
|
|
103
|
+
## In Progress
|
|
104
|
+
|
|
105
|
+
## Done
|
|
106
|
+
`,
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
module.exports = { SCAFFOLD_TEMPLATES };
|
package/package.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@rbinar/dev-kit",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "CLI toolkit for blink.dev agent system — encrypted agent distribution for VS Code Copilot",
|
|
5
|
+
"main": "lib/index.js",
|
|
6
|
+
"bin": {
|
|
7
|
+
"blink-dev": "bin/cli.js"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"bin/",
|
|
11
|
+
"lib/",
|
|
12
|
+
"bundle/"
|
|
13
|
+
],
|
|
14
|
+
"engines": {
|
|
15
|
+
"node": ">=18.0.0"
|
|
16
|
+
},
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"commander": "^14.0.0",
|
|
19
|
+
"tar": "^7.5.13"
|
|
20
|
+
},
|
|
21
|
+
"keywords": [
|
|
22
|
+
"blink",
|
|
23
|
+
"ai-agents",
|
|
24
|
+
"vscode",
|
|
25
|
+
"copilot",
|
|
26
|
+
"agent-mode"
|
|
27
|
+
],
|
|
28
|
+
"author": "blinkbrosai",
|
|
29
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
30
|
+
"repository": {
|
|
31
|
+
"type": "git",
|
|
32
|
+
"url": "https://github.com/blinkbrosai/blink-dev-cli.git"
|
|
33
|
+
}
|
|
34
|
+
}
|