-
-
Notifications
You must be signed in to change notification settings - Fork 14
feat(web): interactive plan creation from web dashboard #36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Enable users to create and run plans directly from the web UI. Key changes: - Add PlanRunner to handle plan creation workflow from web interface - Implement InputCollector for capturing user responses to Claude questions - Add ResumableSession for managing long-running plan creation processes - Extend SSE events to support plan creation progress streaming - Update web UI with plan creation form and real-time feedback display - Add session state tracking (planning, executing, completed, failed) - Include question/answer UI for interactive plan refinement The web dashboard now supports the full plan creation flow: users can describe a feature, answer clarifying questions from Claude, and monitor the plan being written in real-time.
- Add ResumePlan for continuing interrupted plan sessions from web UI - Fix Q&A JSON parsing to handle multi-line output with log prefixes - Remove answer queueing and /api/answer-by-question endpoint - Add resumable session detection from progress files - Extract createWebServer/createMultiSessionServer helpers - Fix race condition in server lifecycle test - Improve test coverage for web package (88%)
|
@umputun please play with the UI, when you have time, and tell me how you feel about it. |
|
found these issues on first try:
haven't done deep code review yet - this is just from trying to run it. |
|
Addressed both. I think that the mental model behind My main and only use case is that I always run it as I understand the appeal of having an ad-hoc Your call, obviously. |
Summary
Implements interactive plan creation in the web dashboard, allowing users to create plans through a browser-based workflow instead of CLI-only.
Closes #32
Changes
AskQuestion()until web client submits an answer via/api/answerArchitecture
Uses channel-based coordination (option 1 from the issue):
PlanRunner.StartPlan()launches Claude with plan creation promptQUESTIONsignal detected,WebInputCollector.AskQuestion()blocks on channel/api/answerunblocks the runnerPLAN_READYsignalFor directory selection (option C): Uses recent directories from config, user can also type custom path.
Test plan