diff options
| author | Jesse Vincent <jesse@fsck.com> | 2026-03-09 19:43:48 -0700 |
|---|---|---|
| committer | Jesse Vincent <jesse@fsck.com> | 2026-03-09 19:43:48 -0700 |
| commit | 419889b0d325668a2c07e07dd56bbe851a855ff4 (patch) | |
| tree | 9e45ec2884533017a8d4f85a39a24e3ade3c6648 /tests | |
| parent | 715e18e4488afe2b54909647385644efe48abb04 (diff) | |
Move brainstorm-server into skill directory per agentskills spec
Moves lib/brainstorm-server/ → skills/brainstorming/scripts/ so the
brainstorming skill uses relative paths (scripts/start-server.sh) instead
of ${CLAUDE_PLUGIN_ROOT}/lib/brainstorm-server/. This follows the
agentskills.io specification for portable, cross-platform skills.
Updates visual-companion.md references and test paths. All tests pass.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/brainstorm-server/server.test.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/brainstorm-server/server.test.js b/tests/brainstorm-server/server.test.js index 33ef3ef..85e72da 100644 --- a/tests/brainstorm-server/server.test.js +++ b/tests/brainstorm-server/server.test.js @@ -5,7 +5,7 @@ const fs = require('fs'); const path = require('path'); const assert = require('assert'); -const SERVER_PATH = path.join(__dirname, '../../lib/brainstorm-server/index.js'); +const SERVER_PATH = path.join(__dirname, '../../skills/brainstorming/scripts/index.js'); const TEST_PORT = 3334; const TEST_DIR = '/tmp/brainstorm-test'; @@ -160,7 +160,7 @@ async function runTests() { // Test 7: Helper.js includes toggleSelect and send functions console.log('Test 7: Helper.js provides toggleSelect and send'); const helperContent = fs.readFileSync( - path.join(__dirname, '../../lib/brainstorm-server/helper.js'), 'utf-8' + path.join(__dirname, '../../skills/brainstorming/scripts/helper.js'), 'utf-8' ); assert(helperContent.includes('toggleSelect'), 'helper.js should define toggleSelect'); assert(helperContent.includes('sendEvent'), 'helper.js should define sendEvent'); @@ -172,7 +172,7 @@ async function runTests() { // Test 8: Indicator bar uses CSS variables (theme support) console.log('Test 8: Indicator bar uses CSS variables'); const templateContent = fs.readFileSync( - path.join(__dirname, '../../lib/brainstorm-server/frame-template.html'), 'utf-8' + path.join(__dirname, '../../skills/brainstorming/scripts/frame-template.html'), 'utf-8' ); assert(templateContent.includes('indicator-bar'), 'Template should have indicator bar'); assert(templateContent.includes('indicator-text'), 'Template should have indicator text element'); |
