docs: rename OP4 branch to model-agnostic-memory-prompt and clarify it applies to all models

This commit is contained in:
OpenPets Dev 2026-06-15 23:19:08 +00:00
parent 880bfb4eb4
commit a78b012075

View file

@ -0,0 +1,78 @@
# OpenPets v3.1.0 — User-reported OP 16 fix PRs
These six per-niche branches split the combined `03ae162` commit so each user-reported tweak can be reviewed and merged independently. Each branch is based on `82abe08` (`chore(release): integrate v3.1.0 companion fixes`) and contains **only** the incremental change for that OP.
When opening PRs, use a base that already includes `82abe08`; the compare links below are against `82abe08` so they show only the isolated fix.
---
## 1. OP1 — Pet drag threshold
- **Branch:** `op1/pet-drag-threshold`
- **Commit:** `be580ba`
- **Files:** `apps/desktop/pet-preload.cjs`
- **What changed:** A mouse-down on the pet now starts as a drag *candidate*; it only becomes an actual drag after the cursor moves more than 4 px. A pure click/release no longer moves the pet.
- **GitHub compare (vs `82abe08`):** https://github.com/verticaltension/openpetswithchatandmcp/compare/82abe08...op1/pet-drag-threshold
- **Forgejo compare (vs `82abe08`):** https://git.scriptoriumai.io/scriptoriumadmin/openpetswithchatandmcp/compare/82abe08...op1/pet-drag-threshold
---
## 2. OP2 — Bubble top-of-screen clipping
- **Branch:** `op2/bubble-top-clip`
- **Commit:** `8648cad`
- **Files:** `apps/desktop/pet-preload.cjs`, `apps/desktop/src/pet-window.ts`
- **What changed:** The pet window now flips the speech bubble below the pet when the pet is near the top of the work area, and the window grows to fit the bubble instead of clipping it. CSS max-heights are driven by layout variables so the renderer respects the computed size.
- **GitHub compare (vs `82abe08`):** https://github.com/verticaltension/openpetswithchatandmcp/compare/82abe08...op2/bubble-top-clip
- **Forgejo compare (vs `82abe08`):** https://git.scriptoriumai.io/scriptoriumadmin/openpetswithchatandmcp/compare/82abe08...op2/bubble-top-clip
---
## 3. OP3 — Settings scale slider draggable
- **Branch:** `op3/settings-slider-draggable`
- **Commit:** `51a7044`
- **Files:** `apps/desktop/src/renderer/src/styles.css`
- **What changed:** Added explicit `-webkit-slider-thumb` / `-moz-range-thumb` styles with a larger hit area and `cursor: pointer`, making the pet-size slider thumb easy to drag.
- **GitHub compare (vs `82abe08`):** https://github.com/verticaltension/openpetswithchatandmcp/compare/82abe08...op3/settings-slider-draggable
- **Forgejo compare (vs `82abe08`):** https://git.scriptoriumai.io/scriptoriumadmin/openpetswithchatandmcp/compare/82abe08...op3/settings-slider-draggable
---
## 4. OP4 — Model-agnostic memory persistence instruction
- **Branch:** `op4/model-agnostic-memory-prompt`
- **Commit:** `150b057`
- **Files:** `apps/desktop/src/openapi-chat.ts`
- **What changed:** Strengthened `baseOpenApiChatInstructions` to explicitly tell the model it has a persistent long-term memory and must not claim it cannot remember or store information. This instruction is added to the base system prompt and applies to **all** chat models, not only GPT-4o.
- **GitHub compare (vs `82abe08`):** https://github.com/verticaltension/openpetswithchatandmcp/compare/82abe08...op4/model-agnostic-memory-prompt
- **Forgejo compare (vs `82abe08`):** https://git.scriptoriumai.io/scriptoriumadmin/openpetswithchatandmcp/compare/82abe08...op4/model-agnostic-memory-prompt
---
## 5. OP5 — Virtual-pet context menu grid
- **Branch:** `op5/virtual-pet-menu-grid`
- **Commit:** `35e4d74`
- **Files:** `apps/desktop/src/pet-window.ts`, `plugins/official/openpets.virtual-pet/index.js`, `plugins/official/openpets.virtual-pet/test.js`
- **What changed:** Reordered the plugin context-submenu so care actions appear above status labels. Stats are now rendered as three compact 2×2-style rows (`Mood · Food`, `Energy · Play`, `Bond · Level`). Updated the plugin test to match the new item IDs.
- **GitHub compare (vs `82abe08`):** https://github.com/verticaltension/openpetswithchatandmcp/compare/82abe08...op5/virtual-pet-menu-grid
- **Forgejo compare (vs `82abe08`):** https://git.scriptoriumai.io/scriptoriumadmin/openpetswithchatandmcp/compare/82abe08...op5/virtual-pet-menu-grid
---
## 6. OP6 — Chat file attachments
- **Branch:** `op6/chat-file-attachments`
- **Commit:** `ccb3224`
- **Files:** `apps/desktop/src/prompt-window.ts`
- **What changed:** Added a paperclip button, hidden file input, attachment chips, and `FileReader`-based text extraction to the floating chat window. Attached files are appended to the prompt as `[Attached file: …]` blocks and cleared after sending.
- **GitHub compare (vs `82abe08`):** https://github.com/verticaltension/openpetswithchatandmcp/compare/82abe08...op6/chat-file-attachments
- **Forgejo compare (vs `82abe08`):** https://git.scriptoriumai.io/scriptoriumadmin/openpetswithchatandmcp/compare/82abe08...op6/chat-file-attachments
---
## Verification
- Each branch was reset to `82abe08` and the relevant subset of `03ae162` was applied with `git apply`.
- `git diff --stat 82abe08..<branch>` for each branch matches the intended per-OP file set.
- The union of the six per-OP diffs equals the full `82abe08..03ae162` diff.
- Branches are force-pushed to both GitHub (`verticaltension/openpetswithchatandmcp`) and Forgejo (`scriptoriumadmin/openpetswithchatandmcp`).
## Combined integration branch
- `v3.1.0-integrated` already contains all OP 16 fixes in a single commit (`03ae162`).
- A follow-up set of seven fixes is documented in [OPENPETS_3_1_0_FIXES_PULL_REQUESTS.md](./OPENPETS_3_1_0_FIXES_PULL_REQUESTS.md); that work is integrated on `v3.1.0-integrated` as commit `41920b0`.
- Signed Windows installers are in `C:\Users\Anthracite Ace\Downloads`.