Skip to content

merge: synchronize main into v1.1.9 - #539

Merged
syzsunshine219 merged 45 commits into
v1.1.9from
codex/sync-main-to-v1.1.9
Sep 23, 2026
Merged

syzsunshine219 merged 45 commits into
v1.1.9from
codex/sync-main-to-v1.1.9

Conversation

@syzsunshine219

Copy link
Copy Markdown
Collaborator

Synchronize the latest main branch into v1.1.9 so the existing release sync can be reviewed and merged without conflicts. This PR targets v1.1.9; it does not merge v1.1.9 into main.

The only textual conflict was in App/frontend/desktop/src/state/model-workspace.ts. The resolution keeps both behaviors:

  • the main branch BYOK candidate persistence fix;
  • the v1.1.9 invalid-assignment pruning.

Validation completed on the combined branch:

  • npm run version:check: passed (1.1.8 metadata follows main)
  • npm run build -w @memmy/local-api-contracts: passed
  • npm run build -w @memmy/migrations: passed
  • npm run build -w @memmy/agent-source-core: passed
  • AgentSourceCore tests: 55 passed
  • model-workspace tests: 34 passed
  • backend agent-source/skill-writer tests: 183 passed
  • Memory agent-source/session tests: 65 passed
  • git diff --check: passed

The earlier PR #538 was closed because it had the wrong direction and would have brought untested v1.1.9 changes into main.

shsfcx and others added 30 commits September 17, 2026 17:14
Show a one-time campaign dialog with CN/intl copy, and stack a token-credit notification after the comment-draw reward lands.

Co-authored-by: Cursor <cursoragent@cursor.com>
feat(desktop): add Mid-Autumn campaign prompt and token credit toast
In account mode the model dropdown re-derives modelAssignments.account.agent.candidates
from modelAssignments.byok.agent.candidates on every startup. A custom (source: "byok")
model added while in account mode was written only to the account candidate list, so it
was dropped on the next restart; the last-used model reverted to the platform default for
the same reason (its default preset was no longer in the re-derived candidates).

- upsertModelConnection now also enrolls newly added BYOK presets into
  modelAssignments.byok.agent.candidates (the source of truth the backend account
  projection reads), so custom models survive the restart re-projection.
- Selecting a model in the chat model picker now persists it as the mode default
  (new defaultModelSelectionInput helper + saveModelCatalog), so a new chat after
  restart defaults to the last-used model instead of the platform preset.
- Add regression tests for candidate enrollment, default survival, and the helper.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
feat: add lottery campaign rewards
Stop nested folder deletes from freezing the knowledge page
…rsistence

fix(desktop): persist custom models and last-used model in account mode
Account mode needs an authenticated user, and BYOK counts as signed in without a cloud account.

Co-authored-by: Cursor <cursoragent@cursor.com>
Account mode waits for guidance, and BYOK waits until an Agent model is saved.

Co-authored-by: Cursor <cursoragent@cursor.com>
Account and BYOK now share the same post-guidance gate, while the remote campaign status still decides whether to offer it.

Co-authored-by: Cursor <cursoragent@cursor.com>
feat(desktop): add Mid-Autumn campaign
Wait until guidance has settled and the user is on a workspace route, and require a saved BYOK Agent model before offering the prompt.

Co-authored-by: Cursor <cursoragent@cursor.com>
feat: show the campaign prompt after workspace entry
fix(desktop): prevent memory-service blocking Windows updates
…ory-service

fix(desktop): stop Windows memory service on exit by default
fix(desktop): keep Windows startup alive through splash timeout
fix(agent): persist WebUI transcript event timestamps
…lette

fix(desktop): hide standalone search ownership label (MEMMY-517)
…p-errors

fix(chat): de-emphasize recovered tool errors (MEMMY-590)
…hain

fix(upgrade): prefer packaged cloud endpoint over stale env (MEMMY-600)
@syzsunshine219
syzsunshine219 merged commit 8bfb114 into v1.1.9 Sep 23, 2026
7 checks passed
@syzsunshine219
syzsunshine219 deleted the codex/sync-main-to-v1.1.9 branch September 23, 2026 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants