Skip to content

v0.2.23 — dual-loop SDK beat agents

Choose a tag to compare

@chouswei chouswei released this 27 Jun 11:15

Added

  • Dual-loop Cursor SDK beat agents — separate persistent script (編劇) and prose (作者) agents; ids under novel-output/<slug>/agents/
  • agent_session.py — create+primer or Agent.resume, stale-id recovery
  • play_context.py — script_beat_prepare / prose_beat_prepare (USR23 handoff gate)
  • MCP tools — script_beat_prepare, prose_beat_prepare
  • chapter_io — last_committed_paragraph for continuation_anchor
  • tests — test_play_context, test_agent_session_paths, test_beat_prompts

Changed

  • cursor_beat.py — dual-phase orchestrator; --script-only, --prose-only, --reset-agents, --continue
  • beat_prompt.py — split script/prose primers and turns
  • llm-novel-cursor-sdk.md — dual-loop operator SSOT

Full notes: CHANGELOG.md