codewhale.history 2.11.7 → 2.11.8

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/CHANGELOG.md CHANGED
@@ -4,6 +4,13 @@ All notable changes to the CodeWhale Tools Pack.
4
4
 
5
5
  ---
6
6
 
7
+ ## [2.11.8] — 2026-07-07
8
+
9
+ ### Changed
10
+ - Moved diagram to package root: teach_me-overview.png
11
+ - package.json: images/ → teach_me-overview.png in files array
12
+ - tools-install.js: copy diagram directly to ~/.codewhale/
13
+
7
14
  ## [2.11.7] — 2026-07-07
8
15
 
9
16
  ### Added
package/README.md CHANGED
@@ -84,7 +84,7 @@ Git already has your back.
84
84
  An interactive code-teaching quiz that randomly selects real snippets from your
85
85
  current project.
86
86
 
87
- ![teach-me](images/teach_me-overview.png)
87
+ ![teach-me](./teach_me-overview.png)
88
88
 
89
89
  Two independent dimensions across five difficulty levels:
90
90
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codewhale.history",
3
- "version": "2.11.7",
3
+ "version": "2.11.8",
4
4
  "description": "CodeWhale utility commands: session history, tool listing, file snapshot, interactive code quiz — global install",
5
5
  "bin": {
6
6
  "codewhale-history": "./_list_sessions.js",
@@ -14,7 +14,7 @@
14
14
  "README.md",
15
15
  "CHANGELOG.md",
16
16
  ".codewhale/instructions.md",
17
- "images",
17
+ "teach_me-overview.png",
18
18
  "skills"
19
19
  ],
20
20
  "scripts": {
package/tools-install.js CHANGED
@@ -94,15 +94,15 @@ if (fs.existsSync(changelogSource)) {
94
94
  console.log(' WARNING: CHANGELOG.md not found.');
95
95
  }
96
96
 
97
- // ── 2d. Copy images ───────────────────────────────
98
- const imagesSource = path.join(sourceDir, 'images');
99
- const imagesDest = path.join(os.homedir(), '.codewhale', 'images');
97
+ // ── 2d. Copy teach-me diagram ──────────────────────
98
+ const diagramSource = path.join(sourceDir, 'teach_me-overview.png');
99
+ const diagramDest = path.join(os.homedir(), '.codewhale', 'teach_me-overview.png');
100
100
 
101
- if (fs.existsSync(imagesSource)) {
102
- fs.cpSync(imagesSource, imagesDest, { recursive: true, force: true });
103
- console.log(' Copied images.');
101
+ if (fs.existsSync(diagramSource)) {
102
+ fs.copyFileSync(diagramSource, diagramDest);
103
+ console.log(' Copied teach_me-overview.png.');
104
104
  } else {
105
- console.log(' WARNING: images folder not found.');
105
+ console.log(' WARNING: teach_me-overview.png not found.');
106
106
  }
107
107
 
108
108
  // ── 3. Verify ──────────────────────────────────────────
@@ -116,7 +116,7 @@ const checklist = {
116
116
  'teach-me skill': path.join(skillsDest, 'teach-me', 'SKILL.md'),
117
117
  'workspace instructions': instructionsDest,
118
118
  'tools readme': readmeDest,
119
- 'teach-me diagram': path.join(imagesDest, 'teach_me-overview.png')
119
+ 'teach-me diagram': diagramDest
120
120
  };
121
121
 
122
122
  for (const [name, filePath] of Object.entries(checklist)) {