@shaykec/claude-teach 0.6.17 → 0.6.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shaykec/claude-teach",
3
- "version": "0.6.17",
3
+ "version": "0.6.19",
4
4
  "description": "Socratic AI teaching platform — learn anything through guided dialogue, visual canvas, and gamification",
5
5
  "type": "module",
6
6
  "main": "src/cli.js",
@@ -15,10 +15,10 @@
15
15
  "commander": "^12.0.0",
16
16
  "js-yaml": "^4.1.0",
17
17
  "chalk": "^5.3.0",
18
- "@shaykec/bridge": "0.4.18",
19
- "@shaykec/shared": "0.1.4",
20
- "@shaykec/plugin": "0.2.12",
21
- "@shaykec/extension": "0.1.0"
18
+ "@shaykec/bridge": "0.4.20",
19
+ "@shaykec/shared": "0.1.5",
20
+ "@shaykec/plugin": "0.2.13",
21
+ "@shaykec/extension": "0.1.1"
22
22
  },
23
23
  "publishConfig": {
24
24
  "access": "public"
@@ -88,7 +88,7 @@ describe('CLI E2E: Learning commands', () => {
88
88
  });
89
89
 
90
90
  it('shows no progress for unstudied module', () => {
91
- const { stdout, exitCode } = runCli(['get', 'git', '--status']);
91
+ const { stdout, exitCode } = runCli(['get', 'hooks', '--status']);
92
92
  const clean = stripAnsi(stdout);
93
93
  expect(exitCode).toBe(0);
94
94
  expect(clean).toContain('No progress recorded');
package/src/cli.js CHANGED
@@ -61,17 +61,9 @@ function findClaude() {
61
61
 
62
62
  /** Open the extension folder + chrome://extensions page (cross-platform). */
63
63
  function openExtensionInstall(extensionDir) {
64
- const platform = process.platform;
65
- if (platform === 'darwin') {
66
- exec(`open "${extensionDir}"`);
67
- exec('open -a "Google Chrome" "chrome://extensions"');
68
- } else if (platform === 'linux') {
69
- exec(`xdg-open "${extensionDir}"`);
70
- exec('google-chrome "chrome://extensions" 2>/dev/null || chromium-browser "chrome://extensions" 2>/dev/null');
71
- } else if (platform === 'win32') {
72
- exec(`explorer "${extensionDir}"`);
73
- exec('start chrome "chrome://extensions"');
74
- }
64
+ // Disabled no longer auto-opens Finder/Chrome on startup.
65
+ // The extension path is printed to the console instead.
66
+ console.log(`Extension directory: ${extensionDir}`);
75
67
  }
76
68
 
77
69
  /** Kill any process listening on a given port. Returns true if something was killed. */