Skip to content

ObsidiAI 0.1.4

Choose a tag to compare

@github-actions github-actions released this 20 Sep 05:36
· 8 commits to main since this release

ObsidiAI 0.1.4

Vault-aware context

  • File-tree tool: list_files inspects visible folders—including empty ones—and file paths without reading note bodies. Bounded, paginated queries let the agent explore existing destinations instead of guessing. The agent is instructed to inspect folders before proposing a new note and ask when the destination is ambiguous. Hidden/configuration paths remain excluded; creating missing folders is not supported.
  • Optional open-note context: enable Open notes in the composer or Automatically attach open notes in Settings. Off by default; the preference persists. Dashed chips show included Markdown tabs and can exclude individual notes for the next message. At Send, editable tabs contribute current unsaved text; reading/deferred tabs contribute saved text. Manual attachments and selections take precedence over automatic context for the same file. Changed or oversized context stops submission instead of silently truncating it.

Less intrusive tool activity

  • Consecutive tool calls share a collapsible activity group. Expand the group and individual calls to inspect their results; summaries indicate activity, pending approval, and failures.
  • Approvals are now inside chat, not popup dialogs. Note cards preserve exact diffs; plugin cards retain identity/version information, code-execution warnings, and destructive-operation warnings. Approval cards remain visible outside collapsed tool chains.
  • Diffs use a slightly darker inset with padding and a subtle border. Added text is green and removed text is red, without green/red background blocks.
  • Reject, Stop, and closing the last agent tab reject pending changes. Stale approval buttons cannot authorize a later proposal. Read-only and Auto-approve notes retain their existing safety boundaries; plugin mutations always require explicit approval.

Context and privacy

Automatic attachment happens only at Send, not when enabling the setting. Exclusions reset after submission. Turning the setting off stops new automatic attachments; it does not remove context already sent to a provider or stored in chat history. Saved conversations can contain note excerpts and tool results in unencrypted history.json.

Install or update

  1. Download obsidiai-0.1.4.zip, not GitHub's automatic source archive.
  2. Replace main.js, manifest.json, and styles.css in <vault>/.obsidian/plugins/obsidiai/. Preserve data.json and history.json if present.
  3. Reload Obsidian or disable/re-enable ObsidiAI after the current run settles.

Requirements remain Obsidian desktop 1.11.4+ and embedded Node 22.19.0+. The three individual plugin files are also attached.

Verification

  • 129 tests cover the integrated implementation, including bounded tree navigation, path restrictions, current editor snapshots, conflicting split buffers, stale approvals, and cancellation.
  • Native Obsidian 1.13.7 checks exercised file-tree results, unsaved open-note context, exclusions, manual-attachment precedence, failed preparation cleanup, settings persistence across plugin reload, tool-chain mouse/keyboard controls, inline approval/rejection, Stop, stale clicks, and last-view closure. Light/dark styling and a 360px pane were visually checked.
  • Native checks used a local scripted provider. Plugin-warning presentation and rejection were checked; actual third-party plugin lifecycle effects and successful OAuth login remain unverified. No new remote-provider verification was performed for this release.