agent-as-a-tutor 1.1.0 → 1.1.1
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/bin/cli.js +5 -10
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -136,16 +136,12 @@ function copyDirRecursive(src, dest, overwrite, onFile) {
|
|
|
136
136
|
|
|
137
137
|
console.log(`${CYAN}◇${RESET} ${BOLD}Installing to agent directories...${RESET}`);
|
|
138
138
|
|
|
139
|
-
// Target
|
|
140
|
-
const targetAgentsSkill = path.join(targetDir, '.agents', 'skills', 'strict-tutor');
|
|
139
|
+
// Target directory (Single Source of Truth)
|
|
141
140
|
const targetSkillsSkill = path.join(targetDir, 'skills', 'strict-tutor');
|
|
142
141
|
|
|
143
142
|
// Track installed files for pretty reporting
|
|
144
143
|
const installedFiles = new Set();
|
|
145
144
|
|
|
146
|
-
copyDirRecursive(sourceSkillDir, targetAgentsSkill, isForce, (f) => {
|
|
147
|
-
installedFiles.add(path.relative(targetDir, f));
|
|
148
|
-
});
|
|
149
145
|
copyDirRecursive(sourceSkillDir, targetSkillsSkill, isForce, (f) => {
|
|
150
146
|
installedFiles.add(path.relative(targetDir, f));
|
|
151
147
|
});
|
|
@@ -182,11 +178,10 @@ if (fs.existsSync(targetAgentsMd)) {
|
|
|
182
178
|
// Print installed file list with clack bullets
|
|
183
179
|
const fileList = Array.from(installedFiles);
|
|
184
180
|
const previewFiles = [
|
|
185
|
-
'
|
|
186
|
-
'
|
|
187
|
-
'
|
|
188
|
-
'
|
|
189
|
-
'skills/strict-tutor/SKILL.md'
|
|
181
|
+
'skills/strict-tutor/SKILL.md',
|
|
182
|
+
'skills/strict-tutor/references/pedagogy-rubric.md',
|
|
183
|
+
'skills/strict-tutor/references/anti-cargo-cult-rules.md',
|
|
184
|
+
'skills/strict-tutor/references/session-template.md'
|
|
190
185
|
];
|
|
191
186
|
|
|
192
187
|
previewFiles.forEach(pf => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-as-a-tutor",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Strict Socratic Tutor enforcing the 5-Step Understanding Framework, Anti-Cargo-Culting rules, and Evidence-First Quality Gates for AI Coding Agents.",
|
|
5
5
|
"main": "bin/cli.js",
|
|
6
6
|
"bin": {
|