codewhale.history 2.11.6 → 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,20 @@ 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
+
14
+ ## [2.11.7] — 2026-07-07
15
+
16
+ ### Added
17
+ - README: teach-me workflow diagram (images/teach_me-overview.png)
18
+ - package.json: include images/ in "files" array for npm publish
19
+ - tools-install.js: copy images to ~/.codewhale/images/ on install
20
+
7
21
  ## [2.11.6] — 2026-07-06
8
22
 
9
23
  ### Added
package/README.md CHANGED
@@ -82,7 +82,11 @@ Git already has your back.
82
82
 
83
83
  ### `//teach-me`
84
84
  An interactive code-teaching quiz that randomly selects real snippets from your
85
- current project. Two independent dimensions across five difficulty levels:
85
+ current project.
86
+
87
+ ![teach-me](./teach_me-overview.png)
88
+
89
+ Two independent dimensions across five difficulty levels:
86
90
 
87
91
  **Response mode** (how you answer):
88
92
  - **Passive** (default) — Describe your answer in the console.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codewhale.history",
3
- "version": "2.11.6",
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,6 +14,7 @@
14
14
  "README.md",
15
15
  "CHANGELOG.md",
16
16
  ".codewhale/instructions.md",
17
+ "teach_me-overview.png",
17
18
  "skills"
18
19
  ],
19
20
  "scripts": {
Binary file
package/tools-install.js CHANGED
@@ -94,6 +94,17 @@ if (fs.existsSync(changelogSource)) {
94
94
  console.log(' WARNING: CHANGELOG.md not found.');
95
95
  }
96
96
 
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
+
101
+ if (fs.existsSync(diagramSource)) {
102
+ fs.copyFileSync(diagramSource, diagramDest);
103
+ console.log(' Copied teach_me-overview.png.');
104
+ } else {
105
+ console.log(' WARNING: teach_me-overview.png not found.');
106
+ }
107
+
97
108
  // ── 3. Verify ──────────────────────────────────────────
98
109
  console.log('[3/3] Verifying installation...');
99
110
  let errors = 0;
@@ -104,7 +115,8 @@ const checklist = {
104
115
  'snapshot skill': path.join(skillsDest, 'snapshot', 'SKILL.md'),
105
116
  'teach-me skill': path.join(skillsDest, 'teach-me', 'SKILL.md'),
106
117
  'workspace instructions': instructionsDest,
107
- 'tools readme': readmeDest
118
+ 'tools readme': readmeDest,
119
+ 'teach-me diagram': diagramDest
108
120
  };
109
121
 
110
122
  for (const [name, filePath] of Object.entries(checklist)) {