Fully Automated - 100% Backpressure - Pipeline runner 🏃 for AI workflows. 🚀

Commit 752b3b2d

752b3b2d1721Merged

Scott Nixon <[email protected]> · 9 months ago · 8 files · +2 added · ~6 modified

Description

Implement Phase 2: PRD/Spec generation via claude CLI (attractor-2od)

  • Add generate_prd_spec server function that shells out to claude CLI
  • Wire ChatInput component to server function with loading state
  • Navigate to /editor with URL-encoded PRD and Spec results
  • Update EditorPage to read query params and display dynamic content
  • Make MarkdownPane content prop reactive (Fn() -> String)
  • Fix critical bug: leptos/hydration -> leptos/hydrate in Cargo.toml
  • Add serde_json and urlencoding dependencies
  • Implement comprehensive error handling and logging

All tests passing, no clippy warnings. Ready for Phase 3 streaming.

Details

Commit
752b3b2d1721
Parent
af14b64e983e

Cargo.lockmodifiedView file

@@ -246,11 +246,13 @@
246246 "leptos_meta",
247247 "leptos_router",
248248 "serde",
249+ "serde_json",
249250 "tokio",
250251 "tower",
251252 "tower-http",
252253 "tracing",
253254 "tracing-subscriber",
255+ "urlencoding",
254256 "wasm-bindgen",
255257 ]
256258
@@ -2891,6 +2893,12 @@
28912893 ]
28922894
28932895 [[package]]
2896+name = "urlencoding"
2897+version = "2.1.3"
2898+source = "registry+https://github.com/rust-lang/crates.io-index"
2899+checksum = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da"
2900+
2901+[[package]]
28942902 name = "utf8-width"
28952903 version = "0.1.8"
28962904 source = "registry+https://github.com/rust-lang/crates.io-index"