lucaronin
2026-07-23 7ab802465c87ddffc7044fd9250794608f03b3df
docs: refresh getting started vault
已添加3个文件
已修改8个文件
251 ■■■■■ 文件已修改
AGENTS.md 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
autogit.md 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
editor-playground.md 53 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
get-familiar-with-tolaria.md 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
launch-plan-spreadsheet.md 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
project-dashboard.md 62 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
sample-report.html 45 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
tolaria-ai.md 34 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
tolaria-bottom-bar.md 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
tolaria-editor.md 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
tolaria-principles.md 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
AGENTS.md
@@ -14,7 +14,7 @@
- The first H1 in the body is the preferred display title.
- Legacy `title:` frontmatter is still read as a fallback when a note has no H1. Do not add it to new notes unless you are maintaining an older file.
- Store note type in the `type:` frontmatter field.
- Most notes live at the vault root as flat `.md` files. Type definitions live in `type/`. Saved views live in `views/`.
- Most notes live at the vault root as flat `.md` files. Type definitions are normal notes with `type: Type`; Tolaria creates new ones at the root and still reads legacy `type/` or `types/` folders. Saved views live in `views/`.
- Any frontmatter field containing [[wikilinks]] is treated as a relationship. Common names include `Belongs to:`, `Related to:`, `Workspace:`, and custom relationship names.
- Frontmatter properties that start with `_` are usually Tolaria-managed state. Leave them alone unless the user explicitly asks for them to change.
@@ -24,7 +24,7 @@
---
type: Project
status: Active
icon: target
_icon: target
Workspace: "[[tolaria]]"
Belongs to:
  - "[[25q2]]"
@@ -42,14 +42,14 @@
## Types
Type definitions are regular notes stored in `type/`. Use `type: Type` for new ones:
Type definitions are regular notes. Use `type: Type` for new ones:
```yaml
---
type: Type
icon: shapes
color: blue
sidebar label: Projects
_icon: shapes
_color: blue
_sidebar_label: Projects
template: |
  ## Outcome
@@ -59,7 +59,7 @@
# Project
```
Useful type metadata includes `icon`, `color`, `order`, `sidebar label`, `template`, `sort`, `view`, and `visible`.
Useful type metadata includes `_icon`, `_color`, `_order`, `_sidebar_label`, `_pinned_properties`, `_list_properties_display`, `template`, `_sort`, `view`, and `visible`.
## Wikilinks
@@ -93,13 +93,13 @@
## What agents should do
- Create and edit notes using the frontmatter and H1 conventions above.
- Create and edit type documents in `type/`.
- Create and edit type documents as regular notes with `type: Type`.
- Add or modify relationships without breaking existing wikilinks.
- Create and edit saved views in `views/`.
- Update `AGENTS.md` only when the user asks for vault-level guidance changes.
## What agents should avoid
- Do not infer note type from folders other than the dedicated `type/` directory for type definitions.
- Do not infer a note's type from its folder; use the `type:` frontmatter field.
- Do not silently overwrite an existing custom `AGENTS.md`.
- Do not overwrite user-authored config or installation-specific app files unless the user explicitly asks.
autogit.md
@@ -5,12 +5,16 @@
---
# Git and AutoGit
Tolaria vault have first-class Git support and by default you retain fine control over it.
Tolaria vaults have first-class, optional Git support. You retain control over when to create local history, connect a remote, commit, and push.
You can look at current changes and Git history from [[tolaria-bottom-bar]], create new commits and push them directly without ever leaving the app.
But if you don’t want to manage this manually, Tolaria also has an opt-in **AutoGit mode** in which it automatically creates commits and pushes changes after some time, when the app gets idle, when you shift which app is in focus, and based on various heuristics.
The manual commit dialog can draft a message from the changed files. Review and edit the draft before committing.
If you do not want to manage checkpoints manually, Tolaria also has an opt-in **AutoGit mode**. It creates conservative commits after an editing pause or when the app becomes inactive, then pushes when the vault has a configured remote.
![CleanShot 2026-04-17 at 17.44.08@2x.png](attachments/1776440668823-CleanShot_2026-04-17_at_17.44.08_2x.png)
You can toggle AutoGit on/off and tweak a few parameters in the settings (`cmd+,`)
You can enable AutoGit, choose whether it drafts messages with AI, and adjust its timing in Settings (`Cmd+,` or `Ctrl+,`).
Git also works when this vault is a folder inside a larger repository. Tolaria keeps app-created commits scoped to vault files, while pull and push still operate on the parent repository.
editor-playground.md
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,53 @@
---
type: Note
related_to: "[[tolaria]]"
onboarding: 4.25
_organized: true
---
# Editor Playground
This note contains durable Markdown examples you can edit, select, move, collapse, and inspect in raw mode.
> [!NOTE] Rich in Tolaria, portable everywhere
> This callout stays a normal Markdown blockquote when another editor opens the file.
> [!TIP]- Expand this callout
> The `-` marker makes it start collapsed. Change the marker in raw mode.
## A section to collapse
Move the pointer beside this heading and use its disclosure control. You can also press `Esc` to select the heading, then `Cmd+Enter` on macOS or `Ctrl+Enter` on Windows and Linux.
Everything until the next heading at the same or higher level belongs to the section. Collapsing it changes only the editor—not the Markdown.
### Try block selection
1. Put the cursor in this paragraph and press `Esc`.
2. Use the arrow keys to move the selected block.
3. Hold `Shift` while using the arrows to select more blocks.
4. Press `Enter` to edit text again.
Use `Cmd+Shift+Up` or `Cmd+Shift+Down` to move selected blocks on macOS. Use `Ctrl` instead of `Cmd` on Windows and Linux.
## Formatting that round-trips
This sentence contains ==Markdown highlight==. Select other text and press `Cmd+Shift+M` on macOS or `Ctrl+Shift+M` on Windows and Linux.
- [ ] Press `Cmd+T` or `Ctrl+T` in a paragraph to turn it into a todo
- [ ] Type `/date` or `/time` to insert the current value
Create a code block with the slash menu, a triple-backtick fence, or `Cmd+Shift+Backtick` / `Ctrl+Shift+Backtick`:
```typescript
const vault = {
  format: "Markdown",
  history: "Git",
  lockedIn: false,
}
```
Use the language control to change syntax highlighting. Line numbers are editor presentation and never enter the file.
## Look underneath
Toggle raw mode with `Cmd+\` or `Ctrl+\`. The callouts, highlight, todos, and code block remain ordinary Markdown you can read with any editor.
get-familiar-with-tolaria.md
@@ -6,18 +6,20 @@
---
# Get familiar with Tolaria
Use this checklist to explore Tolaria and learn how it works.
Use this checklist as a 15–20 minute tour of Tolaria. Every link opens a real file you can inspect, edit, and restore with Git.
`Cmd+click` on wikilinks to navigate ðŸ‘‡
- [ ] **Read the** [[tolaria-principles|Tolaria Principles]] â€” understand the core philosophy
- [ ] **Explore the** [[tolaria-sidebar]] â€” learn Inbox, All Notes, Archive, Favorites, Types, Folders
- [ ] **Browse the** [[tolaria-note-list]] â€” sorting, display properties, search within list
- [ ] **Try the** [[tolaria-editor|Editor]] â€” WYSIWYG vs raw mode (Cmd+/), wikilinks with [[, H1-to-filename sync
- [ ] **Open the** [[launch-plan-spreadsheet]] â€” values, formulas, wikilinks, and formatting in a sheet
- [ ] **Try the** [[tolaria-editor|Editor]] and [[editor-playground]] â€” rich vs raw mode, callouts, blocks, code, highlights, and collapsible sections
- [ ] **Open the** [[launch-plan-spreadsheet]] â€” values, formulas, wikilinks, formatting, and a cross-note property reference
- [ ] **Open the** [[project-dashboard]] â€” see a Markdown note render its own properties through a safe HTML block
- [ ] **Preview** [[sample-report.html]] â€” then toggle raw mode to inspect the standalone HTML source
- [ ] **Open the** [[the-properties-panel|Properties Panel]] â€” add a property, create a relationship
- [ ] **Try** [[tolaria-ai]] â€” configure which agent to use, and `Cmd+K` then space for quick prompts.
- [ ] **Try** [[tolaria-ai]] â€” choose an agent or direct model, understand permissions, and send a prompt with note context
- [ ] **Try the** [[command-palette]] â€” to do more from your keyboard
- [ ] **Check the** [[tolaria-bottom-bar]] â€” Git sync status, Pulse (git history), Claude Code indicator
- [ ] **Check the** [[tolaria-bottom-bar]] and [[autogit]] â€” Git status, history, local commits, remotes, and optional checkpoints
- [ ] **Learn how to use** [[multiple-vaults]] â€” keep separate vaults open in one graph
- [ ] Mark this project as `status: done` when done
launch-plan-spreadsheet.md
@@ -145,6 +145,8 @@
      num_fmt: "0.00%"
    I10:
      wrap_text: true
    G11:
      num_fmt: "$#,##0"
---
Workstream,Owner,Status,June,July,August,Q3 total,Trend,Related note
Editor polish,[[luca-rossi]],Active,4,6,8,=SUM(D2:F2),=F2-D2,[[tolaria-editor]]
@@ -156,3 +158,4 @@
Average per workstream,,,=AVERAGE(D2:D5),=AVERAGE(E2:E5),=AVERAGE(F2:F5),=AVERAGE(G2:G5),=AVERAGE(H2:H5),
Completion share,,,=D6/$G$6,=E6/$G$6,=F6/$G$6,=G6/$G$6,,
Launch health,,,,,,"=IF(G6>=40,""On track"",""Review"")",,Edit a number above and watch formulas recalculate
Dashboard budget,,,,,,=[[project-dashboard]].budget,,Reads frontmatter from another note
project-dashboard.md
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,62 @@
---
type: Project
status: Active
owner: "[[luca-rossi]]"
budget: 24000
progress: 0.65
related_to: "[[tolaria]]"
onboarding: 4.75
_organized: true
---
# Project Dashboard
The block below is stored as fenced HTML inside this Markdown note. Tolaria renders it in a sandbox and resolves `{{...}}` expressions from the note's frontmatter.
```html height="360"
<style>
  :root {
    color-scheme: light dark;
    font-family: ui-sans-serif, system-ui, sans-serif;
  }
  .dashboard {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 24px;
  }
  .metric {
    border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
    border-radius: 12px;
    padding: 16px;
  }
  .label {
    font-size: 12px;
    opacity: 0.65;
    text-transform: uppercase;
  }
  .value {
    font-size: 24px;
    font-weight: 700;
    margin-top: 8px;
  }
</style>
<section class="dashboard">
  <article class="metric">
    <div class="label">Status</div>
    <div class="value">{{title(status)}}</div>
  </article>
  <article class="metric">
    <div class="label">Budget</div>
    <div class="value">{{formatCurrency(budget, "USD", 0)}}</div>
  </article>
  <article class="metric">
    <div class="label">Progress</div>
    <div class="value">{{formatPercent(progress, 0)}}</div>
  </article>
</section>
```
Try changing `status`, `budget`, or `progress` in the Properties panel. The preview updates from the same file-backed values.
Use raw mode to edit the HTML source. Remote resources, forms, and scripts are blocked unless a fenced block explicitly opts into Tolaria's local script sandbox.
sample-report.html
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,45 @@
<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Tolaria sample report</title>
    <style>
      :root {
        color-scheme: light dark;
        font-family: ui-sans-serif, system-ui, sans-serif;
      }
      body {
        margin: 0;
        padding: 48px;
      }
      main {
        margin: 0 auto;
        max-width: 720px;
      }
      .status {
        border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
        border-radius: 16px;
        margin-top: 24px;
        padding: 24px;
      }
    </style>
  </head>
  <body>
    <main>
      <p>Standalone HTML preview</p>
      <h1>A report can live beside your notes</h1>
      <p>
        Tolaria previews this file in a sanitized frame. Toggle raw mode to edit
        the source, or open it in your browser when it needs interactive code.
      </p>
      <section class="status">
        <strong>Local resource boundary</strong>
        <p>Styles and images can load when their paths stay inside this vault.</p>
      </section>
    </main>
  </body>
</html>
tolaria-ai.md
@@ -5,32 +5,34 @@
---
# AI in Tolaria
Tolaria embraces AI without making it a requirement. You have options depending on your workflow.
Tolaria embraces AI without making it a requirement. Choose between coding agents that can work with vault files and direct models that answer from note context without file-editing tools.
### AI works without integration
### Coding agents
Because Tolaria is a file-based vault with an [[agents]] documenting the format, any AI CLI can work well with it. Claude Code, Codex, OpenClaw. or your own assistant—all understand the vault structure.
Tolaria can launch installed versions of Claude Code, Codex, GitHub Copilot, OpenCode, Pi, Antigravity CLI, Kiro, and Hermes Agent.
Treat Tolaria notes like any other codebase and prompt naturally.
Each agent owns its authentication and runtime. Tolaria gives it the active note and vault context, streams the conversation, and keeps file changes visible in the app.
However, Tolaria also has optional built-in AI integration that uses CLI assistants you already have:
Use **Vault Safe** for file, search, and edit work. Use **Power User** only when you intentionally want an agent to run supported shell commands inside the vault.
### Quick Prompt Mode
Agents that expose a reliable catalog can also show a model picker. Tolaria remembers model choices separately for each agent; **Agent default** lets the CLI choose.
Press Cmd+K, then type a space to enter quick prompt mode in the Command Palette. Add wikilinks to pass note context. Great for disposable questions and one-off tasks.
### Direct models
![CleanShot 2026-04-17 at 15.39.34@2x.png](attachments/1776433419379-CleanShot_2026-04-17_at_15.39.34_2x.png)
Direct models are useful when you want chat over note context without giving the model vault-write tools. Tolaria supports local providers such as Ollama and LM Studio, hosted providers such as OpenAI, Anthropic, Gemini, and OpenRouter, and custom OpenAI-compatible endpoints.
You can reference existing notes by typing [[ and selecting from the autocomplete.
Provider credentials stay in local app configuration or an environment variable, not in this vault.
### AI Panel
### Try it
Click the AI icon in the breadcrumb bar to open the full AI panel. This gives you persistent conversation history with your AI agent.
1. Open the AI panel with `Cmd+Shift+L` or `Ctrl+Shift+L`.
2. Choose an installed coding agent or a configured direct model.
3. Ask: â€œExplain how [[project-dashboard]] gets its values.”
4. With a coding agent in Vault Safe mode, ask: â€œAdd one unchecked learning task to [[get-familiar-with-tolaria]].”
5. Review the resulting file diff before you commit it.
![CleanShot 2026-04-17 at 17.52.52@2x.png](attachments/1776441193704-CleanShot_2026-04-17_at_17.52.52_2x.png)
Use the stop control if an agent takes the wrong direction.
### Connection Status
### External tools
The bottom bar shows the available connections with AI agents. Right now you can switch between Claude Code and Codex
![CleanShot 2026-04-17 at 17.46.02@2x.png](attachments/1776440809229-CleanShot_2026-04-17_at_17.46.02_2x.png)
Because this vault contains `AGENTS.md`, an external AI tool can understand its file conventions even without Tolaria's built-in panel. Tolaria can also register its MCP server with supported tools so they can search, read, create, update, and append notes through vault-scoped operations.
tolaria-bottom-bar.md
@@ -33,7 +33,7 @@
### ðŸª„ AI Status
Shows which AI Agents are available â€” currently Claude Code and Codex are supported â€” and which one is selected. You can change AI agent from there as well.
Shows which AI target is selected and whether an installed coding agent is available. Tolaria supports Claude Code, Codex, GitHub Copilot, OpenCode, Pi, Antigravity CLI, Kiro, and Hermes Agent, plus configured direct models.
![CleanShot 2026-04-17 at 15.51.39@2x.png](attachments/1776433913782-CleanShot_2026-04-17_at_15.51.39_2x.png)
tolaria-editor.md
@@ -11,7 +11,9 @@
The default experience. Similar to Notion â€” type naturally and see formatted output.
Supports slash commands for quick formatting, live markdown rendering, inline previews, drag and drop of images, `inline code`, and so on.
Supports slash commands for quick formatting, current date and time, live Markdown rendering, editable callouts, inline previews, drag and drop of images, collapsible sections, block selection, code blocks, and more.
Open [[editor-playground]] for examples you can manipulate directly.
- List **item** 1
  - Nested *italic item*
@@ -29,7 +31,9 @@
### Raw Mode
Shows the actual file characters. Access it with `Cmd+/` or the code button in the breadcrumb bar. Useful when you need precise control over markdown syntax.
Shows the actual file characters. Access it with `Cmd+\` or `Ctrl+\`, or use the source button in the breadcrumb bar. It is useful when you need precise control over Markdown or YAML frontmatter.
Invalid YAML frontmatter is highlighted so structural mistakes are easier to locate.
### Filename Display
tolaria-principles.md
@@ -13,7 +13,7 @@
### ðŸ”Œ Git-first
Every vault is a git repository. You get full version history, the ability to use any git remote, and zero dependency on Tolaria servers.
Git is Tolaria's recommended history and sync layer, not a requirement. A plain Markdown folder works as a vault; enabling Git adds diffs, local history, recovery, remotes, and multi-device sync without depending on Tolaria servers.
### ðŸ›œ Offline-first, zero lock-in
@@ -33,7 +33,7 @@
### ðŸª„AI-first â€” but not AI-only
A vault of files works very well with AI agents, but you are free to use whatever you want. We support Claude Code and Codex CLI (for now), but you can edit the vault with any AI you want. We provide an AGENTS file ([[agents]]) for your agents to figure out.
A vault of files works very well with AI agents, but you are free to use whatever you want. Tolaria supports several local coding agents plus direct local and API models. The vault's `AGENTS.md` explains its conventions to external tools without making AI a prerequisite.
### âŒ¨ï¸ Keyboard-first