codewhale.history 2.11.5 → 2.11.7

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,18 @@ All notable changes to the CodeWhale Tools Pack.
4
4
 
5
5
  ---
6
6
 
7
+ ## [2.11.7] — 2026-07-07
8
+
9
+ ### Added
10
+ - README: teach-me workflow diagram (images/teach_me-overview.png)
11
+ - package.json: include images/ in "files" array for npm publish
12
+ - tools-install.js: copy images to ~/.codewhale/images/ on install
13
+
14
+ ## [2.11.6] — 2026-07-06
15
+
16
+ ### Added
17
+ - README: "Want to take this further" section — promotes //spec-analysis product
18
+
7
19
  ## [2.11.5] — 2026-07-06
8
20
 
9
21
  ### 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](images/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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codewhale.history",
3
- "version": "2.11.5",
3
+ "version": "2.11.7",
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
+ "images",
17
18
  "skills"
18
19
  ],
19
20
  "scripts": {
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 images ───────────────────────────────
98
+ const imagesSource = path.join(sourceDir, 'images');
99
+ const imagesDest = path.join(os.homedir(), '.codewhale', 'images');
100
+
101
+ if (fs.existsSync(imagesSource)) {
102
+ fs.cpSync(imagesSource, imagesDest, { recursive: true, force: true });
103
+ console.log(' Copied images.');
104
+ } else {
105
+ console.log(' WARNING: images folder 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': path.join(imagesDest, 'teach_me-overview.png')
108
120
  };
109
121
 
110
122
  for (const [name, filePath] of Object.entries(checklist)) {