brainforge-ai 1.2.1 → 1.2.2
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 +326 -863
- package/dist/commands/defensePack.js +194 -194
- package/dist/commands/difficulty.js +116 -116
- package/dist/commands/study.js +119 -119
- package/dist/core/dashboardTemplate.js +748 -748
- package/dist/core/templates.d.ts.map +1 -1
- package/dist/core/templates.js +155 -70
- package/dist/core/templates.js.map +1 -1
- package/package.json +1 -1
package/dist/commands/study.js
CHANGED
|
@@ -54,140 +54,140 @@ async function studyCommand() {
|
|
|
54
54
|
console.log();
|
|
55
55
|
}
|
|
56
56
|
function generateStudyReadme(projectName) {
|
|
57
|
-
return `# Study Mode — ${projectName}
|
|
58
|
-
|
|
59
|
-
Study Mode helps you understand, explain, and defend your project.
|
|
60
|
-
|
|
61
|
-
## What this folder contains
|
|
62
|
-
|
|
63
|
-
| File | Purpose |
|
|
64
|
-
|------|---------|
|
|
65
|
-
| study-guide.md | Phase-by-phase explanations and important files |
|
|
66
|
-
| oral-defense.md | 30s / 1min / 5min explanations for presentation |
|
|
67
|
-
| concepts-to-review.md | Concepts you need to understand |
|
|
68
|
-
| professor-questions.md | Likely professor questions with answers |
|
|
69
|
-
| file-map.md | Map of every important file with difficulty |
|
|
70
|
-
|
|
71
|
-
## How to use Study Mode
|
|
72
|
-
|
|
73
|
-
### Step 1: Study your phases
|
|
74
|
-
|
|
75
|
-
Run in your AI tool:
|
|
76
|
-
\`\`\`
|
|
77
|
-
/study-phase 1
|
|
78
|
-
\`\`\`
|
|
79
|
-
|
|
80
|
-
This reads your phase files and memory, then fills in study-guide.md, professor-questions.md, and oral-defense.md.
|
|
81
|
-
|
|
82
|
-
### Step 2: Find difficult files
|
|
83
|
-
|
|
84
|
-
Run:
|
|
85
|
-
\`\`\`
|
|
86
|
-
brainforge difficulty
|
|
87
|
-
\`\`\`
|
|
88
|
-
|
|
89
|
-
Then paste the generated prompt into your AI tool.
|
|
90
|
-
|
|
91
|
-
### Step 3: Prepare your defense
|
|
92
|
-
|
|
93
|
-
Run:
|
|
94
|
-
\`\`\`
|
|
95
|
-
brainforge defense-pack
|
|
96
|
-
\`\`\`
|
|
97
|
-
|
|
98
|
-
Then paste the generated prompt into your AI tool to get a complete defense pack.
|
|
99
|
-
|
|
100
|
-
## Commands to use
|
|
101
|
-
|
|
102
|
-
| Command | What it does |
|
|
103
|
-
|---------|-------------|
|
|
104
|
-
| \`/study-phase N\` | Study a specific phase |
|
|
105
|
-
| \`/analyze-difficulty\` | Score file complexity |
|
|
106
|
-
| \`/defense-pack\` | Generate presentation prep |
|
|
107
|
-
| \`/professor-check\` | Check for AI-suspicious code |
|
|
108
|
-
| \`brainforge serve\` | Open dashboard |
|
|
57
|
+
return `# Study Mode — ${projectName}
|
|
58
|
+
|
|
59
|
+
Study Mode helps you understand, explain, and defend your project.
|
|
60
|
+
|
|
61
|
+
## What this folder contains
|
|
62
|
+
|
|
63
|
+
| File | Purpose |
|
|
64
|
+
|------|---------|
|
|
65
|
+
| study-guide.md | Phase-by-phase explanations and important files |
|
|
66
|
+
| oral-defense.md | 30s / 1min / 5min explanations for presentation |
|
|
67
|
+
| concepts-to-review.md | Concepts you need to understand |
|
|
68
|
+
| professor-questions.md | Likely professor questions with answers |
|
|
69
|
+
| file-map.md | Map of every important file with difficulty |
|
|
70
|
+
|
|
71
|
+
## How to use Study Mode
|
|
72
|
+
|
|
73
|
+
### Step 1: Study your phases
|
|
74
|
+
|
|
75
|
+
Run in your AI tool:
|
|
76
|
+
\`\`\`
|
|
77
|
+
/study-phase 1
|
|
78
|
+
\`\`\`
|
|
79
|
+
|
|
80
|
+
This reads your phase files and memory, then fills in study-guide.md, professor-questions.md, and oral-defense.md.
|
|
81
|
+
|
|
82
|
+
### Step 2: Find difficult files
|
|
83
|
+
|
|
84
|
+
Run:
|
|
85
|
+
\`\`\`
|
|
86
|
+
brainforge difficulty
|
|
87
|
+
\`\`\`
|
|
88
|
+
|
|
89
|
+
Then paste the generated prompt into your AI tool.
|
|
90
|
+
|
|
91
|
+
### Step 3: Prepare your defense
|
|
92
|
+
|
|
93
|
+
Run:
|
|
94
|
+
\`\`\`
|
|
95
|
+
brainforge defense-pack
|
|
96
|
+
\`\`\`
|
|
97
|
+
|
|
98
|
+
Then paste the generated prompt into your AI tool to get a complete defense pack.
|
|
99
|
+
|
|
100
|
+
## Commands to use
|
|
101
|
+
|
|
102
|
+
| Command | What it does |
|
|
103
|
+
|---------|-------------|
|
|
104
|
+
| \`/study-phase N\` | Study a specific phase |
|
|
105
|
+
| \`/analyze-difficulty\` | Score file complexity |
|
|
106
|
+
| \`/defense-pack\` | Generate presentation prep |
|
|
107
|
+
| \`/professor-check\` | Check for AI-suspicious code |
|
|
108
|
+
| \`brainforge serve\` | Open dashboard |
|
|
109
109
|
`;
|
|
110
110
|
}
|
|
111
111
|
function generateStudyGuide(config) {
|
|
112
|
-
return `# Study Guide
|
|
113
|
-
|
|
114
|
-
## Current project
|
|
115
|
-
|
|
116
|
-
- **Project:** ${config.projectName}
|
|
117
|
-
- **Stack:** ${config.stack.join(', ')}
|
|
118
|
-
- **Code level:** ${config.codeLevel}
|
|
119
|
-
- **User level:** ${config.userLevel}
|
|
120
|
-
- **Academic:** ${config.isAcademic ? 'Yes' : 'No'}
|
|
121
|
-
|
|
122
|
-
## What to study first
|
|
123
|
-
|
|
124
|
-
1. _To be filled by /study-phase_
|
|
125
|
-
2.
|
|
126
|
-
3.
|
|
127
|
-
|
|
128
|
-
## Phase-by-phase explanations
|
|
129
|
-
|
|
130
|
-
_To be filled by /study-phase._
|
|
131
|
-
|
|
132
|
-
## Important files
|
|
133
|
-
|
|
134
|
-
_To be filled by /analyze-difficulty._
|
|
112
|
+
return `# Study Guide
|
|
113
|
+
|
|
114
|
+
## Current project
|
|
115
|
+
|
|
116
|
+
- **Project:** ${config.projectName}
|
|
117
|
+
- **Stack:** ${config.stack.join(', ')}
|
|
118
|
+
- **Code level:** ${config.codeLevel}
|
|
119
|
+
- **User level:** ${config.userLevel}
|
|
120
|
+
- **Academic:** ${config.isAcademic ? 'Yes' : 'No'}
|
|
121
|
+
|
|
122
|
+
## What to study first
|
|
123
|
+
|
|
124
|
+
1. _To be filled by /study-phase_
|
|
125
|
+
2.
|
|
126
|
+
3.
|
|
127
|
+
|
|
128
|
+
## Phase-by-phase explanations
|
|
129
|
+
|
|
130
|
+
_To be filled by /study-phase._
|
|
131
|
+
|
|
132
|
+
## Important files
|
|
133
|
+
|
|
134
|
+
_To be filled by /analyze-difficulty._
|
|
135
135
|
`;
|
|
136
136
|
}
|
|
137
137
|
function generateOralDefense() {
|
|
138
|
-
return `# Oral Defense Preparation
|
|
139
|
-
|
|
140
|
-
## 30-second project explanation
|
|
141
|
-
|
|
142
|
-
_To be filled by /study-phase or /defense-pack._
|
|
143
|
-
|
|
144
|
-
## 1-minute project explanation
|
|
145
|
-
|
|
146
|
-
_To be filled._
|
|
147
|
-
|
|
148
|
-
## 5-minute project explanation
|
|
149
|
-
|
|
150
|
-
_To be filled._
|
|
151
|
-
|
|
152
|
-
## Architecture explanation
|
|
153
|
-
|
|
154
|
-
_To be filled._
|
|
155
|
-
|
|
156
|
-
## Main features
|
|
157
|
-
|
|
158
|
-
_To be filled._
|
|
159
|
-
|
|
160
|
-
## What I built myself
|
|
161
|
-
|
|
162
|
-
_To be filled._
|
|
163
|
-
|
|
164
|
-
## What I should be ready to explain
|
|
165
|
-
|
|
166
|
-
_To be filled._
|
|
138
|
+
return `# Oral Defense Preparation
|
|
139
|
+
|
|
140
|
+
## 30-second project explanation
|
|
141
|
+
|
|
142
|
+
_To be filled by /study-phase or /defense-pack._
|
|
143
|
+
|
|
144
|
+
## 1-minute project explanation
|
|
145
|
+
|
|
146
|
+
_To be filled._
|
|
147
|
+
|
|
148
|
+
## 5-minute project explanation
|
|
149
|
+
|
|
150
|
+
_To be filled._
|
|
151
|
+
|
|
152
|
+
## Architecture explanation
|
|
153
|
+
|
|
154
|
+
_To be filled._
|
|
155
|
+
|
|
156
|
+
## Main features
|
|
157
|
+
|
|
158
|
+
_To be filled._
|
|
159
|
+
|
|
160
|
+
## What I built myself
|
|
161
|
+
|
|
162
|
+
_To be filled._
|
|
163
|
+
|
|
164
|
+
## What I should be ready to explain
|
|
165
|
+
|
|
166
|
+
_To be filled._
|
|
167
167
|
`;
|
|
168
168
|
}
|
|
169
169
|
function generateConceptsToReview() {
|
|
170
|
-
return `# Concepts To Review
|
|
171
|
-
|
|
172
|
-
| Concept | Why it matters | Related files | Priority |
|
|
173
|
-
|---------|---------------|---------------|----------|
|
|
174
|
-
| _To be filled by /study-phase_ | | | |
|
|
170
|
+
return `# Concepts To Review
|
|
171
|
+
|
|
172
|
+
| Concept | Why it matters | Related files | Priority |
|
|
173
|
+
|---------|---------------|---------------|----------|
|
|
174
|
+
| _To be filled by /study-phase_ | | | |
|
|
175
175
|
`;
|
|
176
176
|
}
|
|
177
177
|
function generateProfessorQuestions() {
|
|
178
|
-
return `# Professor Questions
|
|
179
|
-
|
|
180
|
-
| Question | Simple answer | Related file |
|
|
181
|
-
|----------|--------------|-------------|
|
|
182
|
-
| _To be filled by /study-phase_ | | |
|
|
178
|
+
return `# Professor Questions
|
|
179
|
+
|
|
180
|
+
| Question | Simple answer | Related file |
|
|
181
|
+
|----------|--------------|-------------|
|
|
182
|
+
| _To be filled by /study-phase_ | | |
|
|
183
183
|
`;
|
|
184
184
|
}
|
|
185
185
|
function generateFileMap() {
|
|
186
|
-
return `# Study File Map
|
|
187
|
-
|
|
188
|
-
| File | Role | Difficulty | Must understand? |
|
|
189
|
-
|------|------|------------|-----------------|
|
|
190
|
-
| _To be filled by /analyze-difficulty_ | | | |
|
|
186
|
+
return `# Study File Map
|
|
187
|
+
|
|
188
|
+
| File | Role | Difficulty | Must understand? |
|
|
189
|
+
|------|------|------------|-----------------|
|
|
190
|
+
| _To be filled by /analyze-difficulty_ | | | |
|
|
191
191
|
`;
|
|
192
192
|
}
|
|
193
193
|
//# sourceMappingURL=study.js.map
|