datanotes 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,30 +4,14 @@ The engine of your second brain: Markdown notes as database tables, for you and
4
4
 
5
5
  A row is any note whose `table` property names a table; tables are defined in
6
6
  `Database/database.yaml`. Every write is checked against its table, journaled and undoable. Agents
7
- use it through MCP (the separate `datanotes-mcp` server); programs use its HTTP API or the
8
- `datanotes/client` library; it also runs inside Obsidian as a plugin.
7
+ programs use its HTTP API or the `datanotes/client` library, agents use the separate MCP server
8
+ `datanotes-mcp`, and it also runs inside Obsidian as a plugin.
9
9
 
10
10
  **Documentation: [datanotes.dev](https://datanotes.dev)**
11
11
 
12
12
  ## Quick start
13
13
 
14
- Requires Node.js 20 or newer. Connect an MCP client to a vault (here Claude Code):
15
-
16
- ```bash
17
- claude mcp add datanotes -- npx -y datanotes-mcp --vault /path/to/vault
18
- ```
19
-
20
- Other clients use the same command:
21
-
22
- ```json
23
- {
24
- "mcpServers": {
25
- "datanotes": { "command": "npx", "args": ["-y", "datanotes-mcp", "--vault", "/path/to/vault"] }
26
- }
27
- }
28
- ```
29
-
30
- To keep the engine running for several clients and apps:
14
+ Requires Node.js 20 or newer. Start the engine on a vault:
31
15
 
32
16
  ```bash
33
17
  npx -y datanotes serve --vault /path/to/vault
@@ -43,11 +27,14 @@ const db = new DatanotesClient({ url: "http://127.0.0.1:27150", token });
43
27
  const { value } = await db.call("select_rows", { table: "book", where: { pages: { gt: 300 } } });
44
28
  ```
45
29
 
30
+ AI agents connect through [`datanotes-mcp`](https://www.npmjs.com/package/datanotes-mcp), the MCP
31
+ server of Datanotes, a separate package built on this API.
32
+
46
33
  ## Learn more
47
34
 
48
35
  - [How it works](https://datanotes.dev/concepts/how-it-works/)
49
- - [Connect agents](https://datanotes.dev/start/connect-agents/)
50
- - [Operations and MCP tools](https://datanotes.dev/reference/tools/)
36
+ - [Operations](https://datanotes.dev/reference/tools/)
37
+ - [Connect agents (datanotes-mcp)](https://datanotes.dev/start/connect-agents/)
51
38
  - [JavaScript client](https://datanotes.dev/guides/client/)
52
39
  - [Apps](https://datanotes.dev/guides/apps/)
53
40
  - [Obsidian plugin](https://datanotes.dev/guides/obsidian/)
@@ -22080,7 +22080,7 @@ var NodeWatcher = class {
22080
22080
  };
22081
22081
 
22082
22082
  // src/node/service.ts
22083
- var VERSION = true ? "1.1.0" : "dev";
22083
+ var VERSION = true ? "1.1.1" : "dev";
22084
22084
  function parseArgs(argv, env = process.env) {
22085
22085
  const get = (name) => {
22086
22086
  const i = argv.indexOf(`--${name}`);
@@ -22251,7 +22251,7 @@ Docs: https://datanotes.dev`;
22251
22251
  }
22252
22252
 
22253
22253
  // src/node/cli.ts
22254
- var VERSION2 = true ? "1.1.0" : "dev";
22254
+ var VERSION2 = true ? "1.1.1" : "dev";
22255
22255
  async function main2(argv = process.argv.slice(2)) {
22256
22256
  const [command, ...rest] = argv;
22257
22257
  if (command === "--version" || command === "-v" || command === "version") return void process.stdout.write(`${VERSION2}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datanotes",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "The engine of your second brain: Markdown notes as database tables, for you and your agents.",
5
5
  "keywords": [
6
6
  "obsidian",