@versatly/workgraph 0.1.0 → 0.3.0

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.
@@ -0,0 +1,2 @@
1
+ import '@modelcontextprotocol/sdk/server/mcp.js';
2
+ export { W as WorkgraphMcpServerOptions, c as createWorkgraphMcpServer, s as startWorkgraphMcpServer } from './mcp-server-fU6U6ht8.js';
@@ -0,0 +1,8 @@
1
+ import {
2
+ createWorkgraphMcpServer,
3
+ startWorkgraphMcpServer
4
+ } from "./chunk-65ZMX2WM.js";
5
+ export {
6
+ createWorkgraphMcpServer,
7
+ startWorkgraphMcpServer
8
+ };
package/package.json CHANGED
@@ -1,7 +1,10 @@
1
1
  {
2
2
  "name": "@versatly/workgraph",
3
- "version": "0.1.0",
3
+ "version": "0.3.0",
4
4
  "description": "Agent-first workgraph workspace for multi-agent coordination with dynamic primitives, append-only ledger, and markdown-native storage.",
5
+ "workspaces": [
6
+ "packages/*"
7
+ ],
5
8
  "type": "module",
6
9
  "main": "dist/index.js",
7
10
  "module": "dist/index.js",
@@ -11,6 +14,10 @@
11
14
  "types": "./dist/index.d.ts",
12
15
  "import": "./dist/index.js"
13
16
  },
17
+ "./mcp-server": {
18
+ "types": "./dist/mcp-server.d.ts",
19
+ "import": "./dist/mcp-server.js"
20
+ },
14
21
  "./cli": {
15
22
  "types": "./dist/cli.d.ts",
16
23
  "import": "./dist/cli.js"
@@ -27,10 +34,15 @@
27
34
  "SKILL.md"
28
35
  ],
29
36
  "scripts": {
30
- "build": "tsup src/index.ts src/cli.ts --format esm --dts --clean",
37
+ "build": "tsup src/index.ts src/cli.ts src/mcp-server.ts --format esm --dts --clean",
38
+ "build:packages": "npm run build --workspaces --if-present",
31
39
  "typecheck": "tsc --noEmit",
40
+ "typecheck:packages": "npm run typecheck --workspaces --if-present",
32
41
  "test": "vitest run --config vitest.config.ts",
33
- "ci": "npm run typecheck && npm run test && npm run build",
42
+ "test:packages": "npm run test --workspaces --if-present",
43
+ "demo:workspace": "npm run build --silent && node scripts/generate-demo-workspace.mjs /tmp/workgraph-obsidian-demo",
44
+ "demo:obsidian-setup": "npm run build --silent && node scripts/setup-obsidian-demo.mjs /tmp/workgraph-obsidian-demo",
45
+ "ci": "npm run typecheck && npm run typecheck:packages && npm run test && npm run build",
34
46
  "prepublishOnly": "npm run ci"
35
47
  },
36
48
  "keywords": [
@@ -45,23 +57,26 @@
45
57
  "license": "MIT",
46
58
  "repository": {
47
59
  "type": "git",
48
- "url": "git+https://github.com/Versatly/clawvault.git",
49
- "directory": "packages/workgraph"
60
+ "url": "git+https://github.com/Versatly/workgraph.git"
50
61
  },
51
- "homepage": "https://github.com/Versatly/clawvault/tree/main/packages/workgraph",
62
+ "homepage": "https://github.com/Versatly/workgraph",
52
63
  "bugs": {
53
- "url": "https://github.com/Versatly/clawvault/issues"
64
+ "url": "https://github.com/Versatly/workgraph/issues"
54
65
  },
55
66
  "engines": {
56
67
  "node": ">=18"
57
68
  },
58
69
  "dependencies": {
70
+ "@modelcontextprotocol/sdk": "^1.27.1",
59
71
  "commander": "^12.0.0",
60
72
  "gray-matter": "^4.0.3",
61
- "yaml": "^2.8.1"
73
+ "yaml": "^2.8.1",
74
+ "zod": "^4.3.6"
62
75
  },
63
76
  "devDependencies": {
64
77
  "@types/node": "^20.11.0",
78
+ "ajv": "^8.18.0",
79
+ "ajv-formats": "^3.0.1",
65
80
  "tsup": "^8.5.1",
66
81
  "typescript": "^5.3.3",
67
82
  "vitest": "^1.6.1"