agentgui 1.0.67 → 1.0.69

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.
Files changed (55) hide show
  1. package/.prd +92 -0
  2. package/.prd-browser +607 -0
  3. package/CLAUDE.md +1559 -125
  4. package/browser-test-harness.js +371 -0
  5. package/browser-test.js +409 -0
  6. package/execute-tests.js +164 -0
  7. package/lib/claude-runner.js +41 -12
  8. package/lib/database-service.ts +252 -0
  9. package/lib/sync-service.ts +275 -0
  10. package/lib/types.ts +168 -0
  11. package/package.json +1 -1
  12. package/readme.md +586 -0
  13. package/run-e2e-test.sh +88 -0
  14. package/server.js +274 -8
  15. package/static/index.html +487 -180
  16. package/static/js/client.js +558 -0
  17. package/static/js/event-filter.js +311 -0
  18. package/static/js/event-processor.js +454 -0
  19. package/static/js/streaming-renderer.js +813 -0
  20. package/static/js/syntax-highlighter.js +271 -0
  21. package/static/js/ui-components.js +433 -0
  22. package/static/js/websocket-manager.js +482 -0
  23. package/static/templates/INDEX.html +465 -0
  24. package/static/templates/README.md +190 -0
  25. package/static/templates/agent-capabilities.html +56 -0
  26. package/static/templates/agent-metadata-panel.html +44 -0
  27. package/static/templates/agent-status-badge.html +30 -0
  28. package/static/templates/code-annotation-panel.html +155 -0
  29. package/static/templates/code-suggestion-panel.html +184 -0
  30. package/static/templates/command-header.html +77 -0
  31. package/static/templates/command-output-scrollable.html +118 -0
  32. package/static/templates/elapsed-time.html +54 -0
  33. package/static/templates/error-alert.html +106 -0
  34. package/static/templates/error-history-timeline.html +160 -0
  35. package/static/templates/error-recovery-options.html +109 -0
  36. package/static/templates/error-stack-trace.html +95 -0
  37. package/static/templates/error-summary.html +80 -0
  38. package/static/templates/event-counter.html +48 -0
  39. package/static/templates/execution-actions.html +97 -0
  40. package/static/templates/execution-progress-bar.html +80 -0
  41. package/static/templates/execution-stepper.html +120 -0
  42. package/static/templates/file-breadcrumb.html +118 -0
  43. package/static/templates/file-diff-viewer.html +121 -0
  44. package/static/templates/file-metadata.html +133 -0
  45. package/static/templates/file-read-panel.html +66 -0
  46. package/static/templates/file-write-panel.html +120 -0
  47. package/static/templates/git-branch-remote.html +107 -0
  48. package/static/templates/git-diff-list.html +101 -0
  49. package/static/templates/git-log-visualization.html +153 -0
  50. package/static/templates/git-status-panel.html +115 -0
  51. package/static/templates/quality-metrics-display.html +170 -0
  52. package/static/templates/terminal-output-panel.html +87 -0
  53. package/static/templates/test-results-display.html +144 -0
  54. package/test-browser.js +457 -0
  55. package/test-runner.js +182 -0
package/.prd ADDED
@@ -0,0 +1,92 @@
1
+ END-TO-END BROWSER TEST - COMPREHENSIVE PRD
2
+ Date: 2026-02-05
3
+ Status: PHASE 1 & 3 COMPLETE - PHASES 2,4-9 REQUIRE BROWSER EXECUTION
4
+
5
+ ## ✅ PHASE 1: SERVER STARTUP AND VERIFICATION - COMPLETE
6
+ Status: ✅ COMPLETE
7
+ Evidence: Server running on port 3000, HTTP 302 response verified, CORS headers correct
8
+ - ✅ Server already running on port 3000
9
+ - ✅ Verified responsive with health check (HTTP 302)
10
+ - ✅ All API endpoints configured
11
+ - ✅ RippleUI HTML serving correctly at /gm/
12
+
13
+ ## ✅ PHASE 3: TEST REPOSITORY SETUP - COMPLETE
14
+ Status: ✅ COMPLETE
15
+ Evidence: Both repositories cloned and verified
16
+ - ✅ lodash cloned: /tmp/test-repos/lodash (188 files, README.md present)
17
+ - ✅ chalk cloned: /tmp/test-repos/chalk (63 files, README.md present)
18
+ - ✅ Both ready for Claude Code execution
19
+
20
+ ## REMAINING PHASES REQUIRE BROWSER EXECUTION:
21
+
22
+ **PHASE 2**: UI Screenshot and Verification (Browser Required)
23
+
24
+ ---
25
+
26
+ ## BROWSER EXECUTION REQUIRED (PHASES 2, 4-9)
27
+
28
+ ### Current Status:
29
+ - Backend: ✅ VERIFIED (Server running, APIs configured, databases ready)
30
+ - Prerequisites: ✅ VERIFIED (Repos cloned, Claude Code available, static assets ready)
31
+ - Browser Tests: ⏳ REQUIRE USER ACTION (Must execute real browser testing)
32
+
33
+ ### Quick Start for User:
34
+
35
+ **Terminal 1** (Server - already running):
36
+ ```bash
37
+ cd /home/user/agentgui
38
+ # Server already running on port 3000
39
+ ```
40
+
41
+ **Terminal 2** (Test repos - already cloned):
42
+ ```bash
43
+ ls /tmp/test-repos/lodash/
44
+ ls /tmp/test-repos/chalk/
45
+ ```
46
+
47
+ **Browser**: Open http://localhost:3000/gm/
48
+ 1. See RippleUI interface load
49
+ 2. Execute: `claude /tmp/test-repos/lodash --dangerously-skip-permissions --output-format=stream-json`
50
+ 3. Watch real-time streaming
51
+ 4. Run chalk execution concurrently
52
+ 5. Toggle dark mode
53
+ 6. Check console (F12) for zero errors
54
+
55
+ ### Expected Results:
56
+ - ✅ UI loads with RippleUI styling
57
+ - ✅ Claude Code executes with real streaming output
58
+ - ✅ Progress bar animates
59
+ - ✅ Event counter increments
60
+ - ✅ Code displays with syntax highlighting
61
+ - ✅ Concurrent executions isolated
62
+ - ✅ Dark mode toggles correctly
63
+ - ✅ Browser console shows 0 errors
64
+
65
+ See CLAUDE.md "ACTUAL BROWSER TEST EXECUTION" section for detailed procedures.
66
+
67
+ ---
68
+
69
+ ## PHASES 2, 4-9: Browser Execution Tests (Documented in CLAUDE.md)
70
+
71
+ All detailed procedures for remaining phases are in CLAUDE.md under "ACTUAL BROWSER TEST EXECUTION" section.
72
+
73
+ ### Summary:
74
+ - **PHASE 2**: UI verification (browser required)
75
+ - **PHASE 4**: First execution on lodash (browser required)
76
+ - **PHASE 5**: File operations test (browser required)
77
+ - **PHASE 6**: Console error checking (browser required)
78
+ - **PHASE 7**: Concurrent execution test (browser required)
79
+ - **PHASE 8**: Dark mode test (browser required)
80
+ - **PHASE 9**: Final validation (browser required)
81
+
82
+ See CLAUDE.md for complete step-by-step procedures for each phase.
83
+
84
+ ---
85
+
86
+ ## FINAL STATUS
87
+
88
+ ✅ **Phase 1 Complete**: Server running and responsive
89
+ ✅ **Phase 3 Complete**: Test repositories cloned and verified
90
+ ⏳ **Phases 2, 4-9 Pending**: Require browser execution (see CLAUDE.md for procedures)
91
+
92
+ **To complete verification**: Open browser to http://localhost:3000/gm/ and follow test procedures in CLAUDE.md