news
Task 4: Manual smoke test
- [ ] **Step 1: Start the server manually** ```bash cd skills/brainstorming/scripts BRAINSTORM_DIR=/tmp/brainstorm-smoke BRAINSTORM_PORT=9876 node server.js ``` Expected: `server-started` JSON printed with port 9876 - [ ] **Step 2: Open browser to http://localhost:9876** Expected: Waiting page with "Waiting for Claude to push a screen..." - [ ] **Step 3: Write an HTML file to the screen directory** ```bash echo '
Hello from smoke test
' > /tmp/brainstorm-smoke/test.html ``` Expected: Browser reloads and shows "Hello from smoke test" wrapped in frame template - [ ] **Step 4: Verify WebSocket works — check browser console** Open browser dev tools. The WebSocket connection should show as connected (no errors in console). The frame template's status indicator should show "Connected". - [ ] **Step 5: Stop server with Ctrl-C, clean up** ```bash rm -rf /tmp/brainstorm-smoke ```
← 返回教程列表
AI8899 · 内容仅供学习参考