No description
Find a file
Yan 2bf2032b5d refactor(artifact): extract ArtifactFeatureController, address review items
- Extracted all artifact orchestration from main.ts into
  src/features/artifact/ArtifactFeatureController.ts
  (main.ts now has a 3-line delegation method)

- gatherContext() now receives full params (uses target + artifactType
  for richer related-vault queries instead of just basename)

- Fixed reading-project path matching: f.path.startsWith(folder + '/')
  prevents matching sibling directories with same prefix

- ArtifactPreviewModal now shows 'will create 1-2 files' impact notice

- PlanDraftStore now includes full ExecutionPlan JSON in a code block
  (enables future 'confirm and execute from draft' workflow)

- README Status table updated with Execution Artifact Builder row

- main.ts reduced from ~900+ to 874 lines (artifact logic externalized)
2026-05-20 18:14:41 +08:00
.github fix(2.0.0): address 5 blocking issues before merge 2026-05-20 16:28:55 +08:00
scripts ci: add CI workflow, dependabot, npm ci, templates 2026-05-20 15:17:30 +08:00
src refactor(artifact): extract ArtifactFeatureController, address review items 2026-05-20 18:14:41 +08:00
.gitignore ci: add CI workflow, dependabot, npm ci, templates 2026-05-20 15:17:30 +08:00
CHANGELOG.md docs: bilingual README, PRIVACY, governance files 2026-05-20 15:17:57 +08:00
CONTRIBUTING.md docs: bilingual README, PRIVACY, governance files 2026-05-20 15:17:57 +08:00
esbuild.config.mjs release: 1.8.0 2026-05-16 23:48:46 +08:00
LICENSE init plugin readme for ob 2026-04-27 08:27:46 +08:00
manifest.json feat(2.0.0): three-module architecture — knowledge/execution/auxiliary 2026-05-20 16:06:28 +08:00
package-lock.json chore: strict mode, pin obsidian, bump v1.9.0 2026-05-20 15:17:24 +08:00
package.json feat(2.0.0): three-module architecture — knowledge/execution/auxiliary 2026-05-20 16:06:28 +08:00
PRIVACY.md docs: bilingual README, PRIVACY, governance files 2026-05-20 15:17:57 +08:00
PRIVACY.zh-CN.md docs: bilingual README, PRIVACY, governance files 2026-05-20 15:17:57 +08:00
README.md refactor(artifact): extract ArtifactFeatureController, address review items 2026-05-20 18:14:41 +08:00
README.zh-CN.md feat(2.0.0): three-module architecture — knowledge/execution/auxiliary 2026-05-20 16:06:28 +08:00
SECURITY.md docs: bilingual README, PRIVACY, governance files 2026-05-20 15:17:57 +08:00
styles.css feat(2.0.0): three-module architecture — knowledge/execution/auxiliary 2026-05-20 16:06:28 +08:00
tsconfig.json chore: strict mode, pin obsidian, bump v1.9.0 2026-05-20 15:17:24 +08:00
versions.json feat(2.0.0): three-module architecture — knowledge/execution/auxiliary 2026-05-20 16:06:28 +08:00

IStart-Note-AI

Turn your Obsidian vault into a knowledge-to-action system.

简体中文 · Quick Start · Privacy · Roadmap

Version License CI Obsidian


IStart-Note-AI is an Obsidian plugin built around three modules — Knowledge, Execution, and Auxiliary — that help you turn scattered notes into a searchable, interlinked, and actionable personal knowledge system.

One unified AI entry point connects all three: ask questions, generate structured notes, build execution plans, and keep everything synced — all through natural language.

[!warning] Beta v2.0.0 introduces significant architectural changes. The frontmatter schema and scheduled-task model are not yet stable. Back up your vault before upgrading.


Core Modules

1. Knowledge

Build and maintain a structured knowledge base.

  • Ask questions and generate Q&A notes with automatic concept extraction.
  • Classify questions into new / refinement / expansion and maintain a question evolution graph.
  • Create and complete concept pages with definitions, examples, relations, and domain MOC indexes.
  • Build reading projects — generate a book skeleton, chapter pre-reading questions, summaries, and Feynman tests.
  • Search your vault and get answers with [[source]] references (metadata-based index, no embeddings).
  • Detect knowledge debt — empty concepts, orphan questions, unfinished readings, stale drafts.

2. Execution

Turn knowledge into reviewable actions.

  • Execution plan data model — PlanBuilder + PlanExecutor + PlanDraftStore for multi-op vault changes.
  • Execution logs recorded under Knowledge/_Executions/ after each plan is applied.
  • Plan drafts stored under Knowledge/_ExecutionPlans/ for create-plan-only tasks (user reviews before applying).
  • Scheduler foundation — ScheduledTask types and runner exist; runtime is disabled by default in v2.0 (enabled in v2.1).
  • Safety by defaultcreate-plan-only never auto-executes; auto-execute-low-risk only applies plans with riskLevel: "low".
  • Most AI write flows (assistant, beautify, concept completion) still use direct editor writes; migration to plan-first is in progress.
  • Future: diff preview, rollback, batch-op caps, task-plugin integrations.

3. Auxiliary

Keep the system usable across devices and providers.

  • OpenAI-compatible LLM provider — DeepSeek default; change Base URL for others.
  • Configurable output styles — knowledge-base, technical, minimal, product, academic, story, dashboard.
  • Optional Baidu Cloud sync — incremental backup, bidirectional sync, plugin and Obsidian config backup.
  • Diagnostics — privacy overview, config export, index rebuild, log cleanup.

Status

Module Feature Status Notes
Knowledge AI Assistant Stable Insert / replace / append / show via unified entry
Knowledge Reading Projects Stable Skeleton, chapter questions, summaries, Feynman
Knowledge Concept Completion Experimental Exposed in command panel, preview before write
Knowledge Question Graph Experimental Classification + index + Mermaid evolution graph
Knowledge Vault QA Experimental Metadata-index retrieval, cited answers, no embeddings
Knowledge Knowledge Debt Experimental Dashboard with empty/orphan/unfinished/stale stats
Execution Execution Plan Experimental PlanBuilder + PlanExecutor + PlanDraftStore, no rollback yet
Execution Execution Artifact Builder Experimental Generic checklist/routine/SOP/plan/review generator from any knowledge context
Execution Scheduled Tasks Foundation Types + runner exist; runtime disabled by default in v2.0
Auxiliary Baidu Sync Stable Manual/auto backup and config sync
Auxiliary Multi-provider LLM Partial OpenAI-compatible base URL supported

Quick Start

  1. Install the plugin (see Installation).
  2. Go to Settings → IStart-Note-AI → Auxiliary → AI Service and enter your API key.
  3. Click the 🧠 ribbon icon or press the command palette → IStart-Note-AI: AI 助手.
  4. Type a request in natural language.

Installation

From community plugins (once available)

  1. Settings → Community plugins → Browse.
  2. Search IStart-Note-AI.
  3. Install → Enable.

Download main.js, manifest.json, styles.css from a GitHub Release and place them in <vault>/.obsidian/plugins/istart-note-ai/.

Don't clone the source repo — the bundle lives in dist/ and is not committed. Use release assets.

Build from source

npm ci
npm run build
# → dist/main.js, dist/manifest.json, dist/styles.css

Configuration

Settings are organized into three tabs:

Tab Key settings
Knowledge Q&A path, Concepts path, Questions index path, Reading path, auto-classify, concept depth, vault QA source limit
Execution Require preview, log path, scheduled tasks, safety policy
Auxiliary API key, Base URL, model, output style, Baidu sync, UI preferences

Usage

Desktop

  • 🧠 Ribbon icon → command panel (Knowledge / Execution / Auxiliary).
  • Right-click in editorIStart-Note-AI: AI 助手 or 知识库问答.
  • Right-click fileIStart-Note-AI: AI 助手.

Mobile

  • 🧠 Ribbon icon → command panel.
  • Add commands to the mobile toolbar for one-tap access.

Architecture

src/
  core/
    llm/              Unified LLM client + JSON extractor
    knowledge/        KnowledgeIndexService (metadata index)
    execution/        ExecutionPlan, PlanBuilder, PlanExecutor
    scheduler/        ScheduledTask types + runner (WIP)
    schema.ts         SCHEMA_VERSION + helpers
  ai/                 AI feature modules (assistant, classifier, planner, ...)
  features/
    assistant/        AI assistant modals
    concept/          Concept completion + page manager
    question/         Question classify + graph manager
    reading/          Reading project manager
    dashboard/        Knowledge debt modal
    sync/             Baidu sync
    command-panel/    Unified command panel
  vault/              Vault writer (conflict-safe)
  settings/           Settings tab (tabbed layout)
  actions/            Action registry + definitions
  main.ts

Privacy

AI features send your selection and partial note context to the configured chat-completions endpoint. Sync features upload to your own Baidu Pan. No telemetry. No plugin-operated servers. Full details in PRIVACY.md.


Roadmap

v2.0 — Knowledge System Foundation (current)

  • Three-module product structure: Knowledge / Execution / Auxiliary.
  • Vault-wide lightweight knowledge index.
  • Concept completion and question graph in command panel.
  • Knowledge debt dashboard.
  • Basic execution plan and execution logs.
  • Settings page with tabbed navigation.
  • Open-source governance and privacy docs.

v2.1 — Execution MVP

  • Scheduled tasks runtime (knowledge-debt scan, auto-backup).
  • Execution plan preview modal with diff.
  • Safer policy: AI writes always produce plan-only by default.
  • Execution history view.

v2.2 — Trust & Control

  • Rollback for recent executions.
  • More granular privacy controls.
  • Optional local vector index for richer vault QA.

v3.0 — Integrations

  • Tasks plugin / Periodic Notes integration.
  • GitHub Issues / Linear / Todoist export.
  • Multi-vault support.

Contributing

PRs and issues welcome. See CONTRIBUTING.md. Security issues: SECURITY.md.

License

MIT. See LICENSE.