Commit Graph

7 Commits

Author SHA1 Message Date
daniel156161 f3762eec82 fix: clean vault/vaults output in n8n
Build and Push Docker Container / build-and-push (push) Successful in 4m46s
- Parse vaults stdout into structured {name,path} pairs

- For vault/vaults, return parsed JSON directly (no stdout wrapper)

- Keep minimal output for all operations: stdout or parsed_stdout

- Bump n8n node package to 0.2.3
2026-06-24 12:25:27 +02:00
daniel156161 a953214c20 fix: always return minimal n8n output
Build and Push Docker Container / build-and-push (push) Successful in 4m36s
- Node now outputs only stdout (parsed or raw) plus optional stderr

- Keep output stable across all operations to simplify n8n mappings

- Trim trailing newlines from runner stdout/stderr for cleaner display

- Bump server version to 1.0.3 to ship runner/output changes

- Bump n8n node package via versioned build artifacts
2026-06-24 12:04:34 +02:00
daniel156161 3bda4002fe fix: allow vault info under path scope and clarify API errors
Build and Push Docker Container / build-and-push (push) Successful in 4m29s
- Allow vault and vaults commands when a token has path restrictions

- Treat vault/vaults as pathless metadata commands in policy checks

- Add allowed commands, vaults and paths to 403 permission errors

- Surface real JWT failure reason in 401 instead of generic Unauthorized

- Report missing, malformed and empty Bearer tokens distinctly

- Catch httpRequest failures in the n8n node to avoid circular JSON

- Map API errors to clean NodeApiError with status code and detail

- Support continueOnFail with per-item error output in the n8n node

- Push a versioned image tag from pyproject in the CI workflow

- Bump server to 1.0.2 and n8n node package to 0.2.1

- Add tests for vault info access and richer auth error messages
2026-06-24 11:41:18 +02:00
daniel156161 be78e3aa00 feat: resolve daily-note path from Obsidian config for scoped tokens
Build and Push Docker Container / build-and-push (push) Successful in 4m15s
- Add daily_note_path_for_vault to read .obsidian/daily-notes.json

- Honor configured folder and date format for daily commands

- Add moment_to_strftime to translate Obsidian date tokens

- Authorize pathless daily:* commands against the resolved path

- Pick vault root from token vault, cwd, or default vault

- Normalize n8n httpRequest response to avoid circular JSON output

- Force returnFullResponse false and parse body to plain result

- Bump n8n-nodes-obsidian-cli-api to 0.2.0

- Add tests for allowed and denied scoped daily commands
2026-06-24 11:01:57 +02:00
daniel156161 e21760949a fix(n8n): require explicit API URL
- Remove the default Docker service URL from credentials.

- Move vault, verbose, and timeout into additional fields.

- Keep optional command settings hidden until explicitly added.

- Bump the n8n community node package to 0.1.1.
2026-06-24 10:27:13 +02:00
daniel156161 3b9c508859 chore(n8n): rename npm package for publishing
Build and Push Docker Container / build-and-push (push) Successful in 3m51s
- Use the available n8n-nodes-obsidian-cli-api package name.
- Update package-lock metadata to match the published package.
- Align the n8n package README heading with the npm package name.
2026-06-24 10:06:56 +02:00
daniel156161 902a3df8b5 feat: add Obsidian CLI API service
Build and Push Docker Container / build-and-push (push) Successful in 4m26s
- Add Docker image for the official Obsidian desktop app and CLI.

- Start Obsidian headlessly with Xvfb and DBus setup.

- Expose a safe structured HTTP command API without shell execution.

- Add JWT-based vault, path, and command authorization.

- Support single-vault and multi-vault container mounts.

- Add TypeScript SDK helpers for Obsidian CLI commands.

- Add n8n community node package with Obsidian operations.

- Add docs, compose config, tests, and production image workflow.
2026-06-24 09:11:13 +02:00