tfrere HF Staff commited on
Commit
d63dcfe
·
1 Parent(s): f469961

chore(release): prep v0.1.0 with LICENSE, env example and agent undo test

Browse files

- Add LICENSE (CC-BY 4.0) aligned with the upstream research-article-template
- Complete backend/.env.example to cover every env var consumed by the
backend (PORT, DATA_DIR, ENABLE_PDF, OAUTH_*, SPACE_ID/SPACE_HOST,
HF_DATASET_ID, HF_TOKEN, OPENROUTER_API_KEY/MODEL, PUBLISH_BASE_URL)
- Extract createAgentBatch() helper from useAgentChat into
frontend/src/editor/agent-undo-batch.ts (pure module, no React) and add
the P0 5.3.1 test from docs/TESTS.md: 3 chained agent edits
(replaceSelection + applyDiff + updateFrontmatter style) revert with a
single Cmd+Z, while the previous user edit stays untouched
- Refresh README known-debt list to reflect the new coverage

Made-with: Cursor

6 files changed +368 -15
Files changed (6)
LICENSEAdded+33
README.md+1-1
backend/.env.example+89-3
frontend/src/editor/agent-undo-batch.tsAdded+53
frontend/src/hooks/useAgentChat.ts+9-11
frontend/tests/agent-undo-batch.test.tsAdded+183