Revision History

Each entry lists the version, when it was made, what changed, and which files were touched.

  1. v1.1.0 2026-06-02 15:36 EDT

    Added project-insight modes, expanded download options, and token usage tracking.

    • index.php — Review mode dropdown now grouped into "Writing review" and "Project insights" (5 new modes: Brain dump, Task breakdown, Technical advisor, Sharpening questions, Risks & gotchas). Added Download Suggestions and Download Both buttons. Added token usage display.
    • api/suggest.php — Added 5 new project-insight modes to whitelist and instruction builder. Refactored buildInstructions() to use a thinking-partner base prompt for insight modes vs editor base prompt for writing modes. Now returns OpenAI usage tokens in the response.
    • assets/app.js — Added downloadSuggestions() and downloadBoth() functions sharing a downloadTextFile() helper. Added updateTokenStats() tracking per-request and session-total tokens.
    • assets/style.css — Cache buster bumped; no visual changes for this release.
    • changelog.php — Added 1.1.0 entry.
  2. v1.0.1 2026-06-02 09:32 EDT

    Debounced the local change log so entries record after a 1 second pause in typing instead of on every keystroke. Added web-viewable changelog page linked from the footer.

    • assets/app.js — added changeLogDebounceMs setting and queueChangeLogEntry() function
    • changelog.php — new web-viewable revision history page
    • assets/style.css — added changelog page styling
    • index.php — footer link to changelog
  3. v1.0.0 2026-06-01 17:06 EDT

    Initial project release.

    • index.php — browser writing UI (split editor + suggestions + change log)
    • assets/app.js — local autosave, change tracking, AI dispatch
    • assets/style.css — responsive layout and panels
    • api/suggest.php — server-side OpenAI proxy with per-IP rate limiting
    • api/health.php — diagnostic endpoint
    • config/config.example.php — config template
    • .htaccess (root, /config, /data) — security protections
    • .gitignore — excludes config.php, runtime data, logs
    • README.md / SECURITY.md — project documentation