12 Commits

Author SHA1 Message Date
zszz3
27c593e85f style: rewrap the opening paragraph of the ima, marginnote4 and obsidian prompts
Replacing the library-name placeholder with a pointer to its runtime
snapshot left one overlong line in each English prompt. Wrap the paragraph
at 80 columns again; the text is unchanged.

Refs #2973
2026-11-30 13:58:21 +08:00
zszz3
2026ee4f18 fix: keep per-session data out of capability system blocks 2026-11-29 16:32:47 +08:00
evan188199-tech
9782043ab3 fix(tools): keep web_search/web_fetch mounted in exclusive knowledge turns
Exclusive knowledge capabilities (obsidian, marginnote4, subagent) dropped
the whole chat built-in surface, including web_search (still shown on in
settings) and the always-on web_fetch. Add a coexisting_tools declaration
to KnowledgeCapability (default empty; the product KBs declare the web
pair), honoured in compose_enabled_tools' exclusive branch under each
tool's usual gate (user toggle / always-on / conditional flag) and the
partner builtin_whitelist, mirroring the #650 KB coexistence. The
capability's system prompt now also names what actually mounted via
coexisting_tools_block, so the model no longer disclaims mounted tools.

Fixes #2612

Signed-off-by: evan188199-tech <238371241+evan188199-tech@users.noreply.github.com>
2026-11-11 11:18:04 +08:00
dajiaohuang
dc2b50355a fix(obsidian): resolve qualified backlink targets 2026-10-08 12:35:41 +08:00
Bingxi Zhao (Frank)
04040a2c06 release: v1.6.5
Ship a content workspace you choose, one exec tool for every language,
Mastery Path modes that gate its tools, and Settings that grades
readiness instead of listing faults.

Release notes: assets/releases/ver1-6-5.md
2026-09-06 13:46:29 +08:00
Bingxi Zhao (Frank)
02ba56793e chore: checkpoint backend stabilization workspace 2026-09-01 21:28:15 +08:00
ZQR1101
e6f41b88a9 fix(agentic): distinguish empty vs missing tool args (#1101)
When a required string key is present but blank, tell the model it sent an empty value instead of framing it as omitted — thinking models otherwise retry the identical call. Also clarify obsidian_create_note.content must be non-empty.
2026-08-30 19:37:32 +08:00
Bingxi Zhao (Frank)
8450a928c4 fix(obsidian): make vault failures legible instead of opaque
Builds on #922, which made read-only scans tolerate undecodable bytes and
kept the read-modify-write paths strict. Strict was the right call, but the
refusal was invisible: append_note / set_property let a raw
UnicodeDecodeError escape, _ObsidianTool.execute catches only VaultError,
so the model was told "an unknown error occurred" — the exact failure mode
#914 reported spending rounds guessing at.

* The two write paths raise VaultError naming the note, the byte offset and
  the fix. The vault is still never rewritten with U+FFFD in place of the
  user's bytes.
* Both decoders now live in one place each (_read_text / _read_text_exact)
  rather than four repeated read_text calls, so which of the two a new
  caller wants is a decision the module states once.
* execute() reports any other unexpected exception to the model by type and
  message, and logs the traceback for the operator.
* Frontmatter dates serialise through isoformat() rather than str(), so a
  YAML timestamp reaches the model as 2026-08-11T09:30:00 instead of
  2026-08-11 09:30:00, which is not a date it can hand back.
2026-08-20 00:56:34 +08:00
0xTidalBore
5afb2547da fix(obsidian): tolerate undecodable bytes and date frontmatter (#922)
Fixes #914, Fixes #915. Read-only vault scans degrade one note instead of aborting the whole search; json.dumps(default=str) keeps unquoted YAML dates serialisable. Read-modify-write paths deliberately stay strict so replacement chars never land back in the vault.
2026-08-19 23:36:14 +08:00
Bingxi Zhao (Frank)
3a19752a44 release: v1.5.3
Maintenance release on top of v1.5.2.

- Themeable code blocks: Settings → Appearance gains a Code blocks panel
  (syntax theme, line numbers, wrapping) applied across chat, Book, and
  Co-Writer.
- My Agents connects four more coding CLIs — Gemini, Kimi, opencode, and
  MiMo Code — alongside Claude Code and Codex.
- Atlas Cloud joins as an LLM provider (34 bindings total); DashScope text
  embeddings route correctly and encoding_format is omitted for strict
  OpenAI-compatible gateways.
- Reliability sweep: RAG coexists with an exclusive knowledge capability
  (#650), DeepSeek DSML tool-call parsing (#666), autoscroll release (#649),
  idempotent write_memory (#647), seeded persona presets (#659), plus Book
  WebSocket streaming, partner filename/split fixes, Visualize fences, and
  CLI UTF-8 input hardening.
- Packaging: cap requires-python to >=3.11,<3.14 so pip refuses 3.14 with a
  readable message instead of a failed source build (#664).

Release notes: assets/releases/ver1-5-3.md
2026-07-24 03:06:58 +08:00
Bingxi Zhao (Frank)
27a0947486 fix(chat): let rag coexist with an exclusive knowledge capability (#650)
Selecting an Obsidian vault (an exclusive KnowledgeCapability) silently
dropped every co-selected LlamaIndex KB: rag was unmounted, unseeded and
unmentioned. Capabilities now declare owned_kbs (the vault / agent refs
they consume via their own tools); the pipeline keeps rag mounted,
seeded and noted for the remaining coexisting KBs, while a pure-vault
turn still mounts nothing but the owned tools + ask_user.
2026-07-24 00:42:28 +08:00
Bingxi Zhao (Frank)
c9d387e2b6 super super great great update 2026-06-17 00:56:27 +08:00