mirror of
https://github.com/logancyang/obsidian-copilot.git
synced 2026-07-22 04:37:23 +00:00
* chore(test-vault): tag deployed manifest with branch + build timestamp `npm run test:vault` now writes a real `manifest.json` (instead of a symlink to the worktree copy) with the current git branch and a `yyyymmdd-HHMMSS` build timestamp appended to `name` and prepended to `description`. Surfaces the active worktree/build directly in Obsidian's Community plugins list, so "is my latest build actually loaded?" is a glance instead of a guess. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * fix(chain): stop writing chainType back inside setChain (apply-Plus freeze) Applying a Copilot Plus license key froze Obsidian. Root cause: ChainManager ran multiple concurrent `createChainWithNewModel` invocations (one from the constructor's `initialize()`, plus one each from the settings, model-key, and chain-type subscribers firing on `applyPlusSettings`). Each captured `chainType = getChainType()` at its start, awaited `setChatModel(...)`, then resumed with a now-stale local value and wrote it back to `chainTypeAtom` via `setChain` → `setChainType`. The write re-fired the chain-type subscriber in ProjectManager, which scheduled another stale-closure rebuild, and the atom bounced indefinitely between `LLM_CHAIN` and `COPILOT_PLUS_CHAIN`. Inlined `setChain` into `createChainWithNewModel` and removed the redundant chainType write-back. The atom is owned by the UI dropdowns and `applyPlusSettings`; this function only reads from it. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * docs(chain): fix outdated comment reference to removed test file Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| stubs | ||
| printPromptDebug.js | ||
| printPromptDebugEntry.ts | ||
| test-vault.sh | ||