@versatly/workgraph 0.2.0 → 1.0.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.
package/dist/index.js CHANGED
@@ -1,33 +1,67 @@
1
1
  import {
2
- THREAD_STATUS_TRANSITIONS,
2
+ agent_exports,
3
+ autonomy_daemon_exports,
3
4
  bases_exports,
4
5
  board_exports,
6
+ clawdapus_exports,
5
7
  command_center_exports,
8
+ diagnostics_exports,
9
+ fetchSkillMarkdownFromUrl,
10
+ installSkillIntegration,
11
+ integration_exports,
12
+ onboard_exports,
13
+ search_qmd_adapter_exports,
14
+ skill_exports,
15
+ trigger_exports,
16
+ workspace_exports
17
+ } from "./chunk-OJ6KOGB2.js";
18
+ import {
19
+ CursorCloudAdapter,
20
+ THREAD_STATUS_TRANSITIONS,
21
+ autonomy_exports,
22
+ claim_lease_exports,
6
23
  dispatch_exports,
24
+ gate_exports,
7
25
  graph_exports,
8
26
  ledger_exports,
9
- onboard_exports,
27
+ matchesCronSchedule,
28
+ mcp_server_exports,
29
+ nextCronMatch,
10
30
  orientation_exports,
31
+ parseCronExpression,
11
32
  policy_exports,
12
33
  query_exports,
13
34
  registry_exports,
14
- search_qmd_adapter_exports,
15
- skill_exports,
16
35
  store_exports,
36
+ thread_audit_exports,
17
37
  thread_exports,
18
- trigger_exports,
19
- workspace_exports
20
- } from "./chunk-XUMA4O2Z.js";
38
+ trigger_engine_exports
39
+ } from "./chunk-R2MLGBHB.js";
21
40
  export {
41
+ CursorCloudAdapter,
22
42
  THREAD_STATUS_TRANSITIONS,
43
+ agent_exports as agent,
44
+ autonomy_exports as autonomy,
45
+ autonomy_daemon_exports as autonomyDaemon,
23
46
  bases_exports as bases,
24
47
  board_exports as board,
48
+ claim_lease_exports as claimLease,
49
+ clawdapus_exports as clawdapus,
25
50
  command_center_exports as commandCenter,
51
+ diagnostics_exports as diagnostics,
26
52
  dispatch_exports as dispatch,
53
+ fetchSkillMarkdownFromUrl,
54
+ gate_exports as gate,
27
55
  graph_exports as graph,
56
+ installSkillIntegration,
57
+ integration_exports as integration,
28
58
  ledger_exports as ledger,
59
+ matchesCronSchedule,
60
+ mcp_server_exports as mcpServer,
61
+ nextCronMatch,
29
62
  onboard_exports as onboard,
30
63
  orientation_exports as orientation,
64
+ parseCronExpression,
31
65
  policy_exports as policy,
32
66
  query_exports as query,
33
67
  registry_exports as registry,
@@ -35,6 +69,8 @@ export {
35
69
  skill_exports as skill,
36
70
  store_exports as store,
37
71
  thread_exports as thread,
72
+ thread_audit_exports as threadAudit,
38
73
  trigger_exports as trigger,
74
+ trigger_engine_exports as triggerEngine,
39
75
  workspace_exports as workspace
40
76
  };
@@ -0,0 +1,20 @@
1
+ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
2
+
3
+ interface WorkgraphMcpServerOptions {
4
+ workspacePath: string;
5
+ defaultActor?: string;
6
+ readOnly?: boolean;
7
+ name?: string;
8
+ version?: string;
9
+ }
10
+ declare function createWorkgraphMcpServer(options: WorkgraphMcpServerOptions): McpServer;
11
+ declare function startWorkgraphMcpServer(options: WorkgraphMcpServerOptions): Promise<McpServer>;
12
+
13
+ type mcpServer_WorkgraphMcpServerOptions = WorkgraphMcpServerOptions;
14
+ declare const mcpServer_createWorkgraphMcpServer: typeof createWorkgraphMcpServer;
15
+ declare const mcpServer_startWorkgraphMcpServer: typeof startWorkgraphMcpServer;
16
+ declare namespace mcpServer {
17
+ export { type mcpServer_WorkgraphMcpServerOptions as WorkgraphMcpServerOptions, mcpServer_createWorkgraphMcpServer as createWorkgraphMcpServer, mcpServer_startWorkgraphMcpServer as startWorkgraphMcpServer };
18
+ }
19
+
20
+ export { type WorkgraphMcpServerOptions as W, createWorkgraphMcpServer as c, mcpServer as m, startWorkgraphMcpServer as s };
@@ -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-R2MLGBHB.js";
5
+ export {
6
+ createWorkgraphMcpServer,
7
+ startWorkgraphMcpServer
8
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versatly/workgraph",
3
- "version": "0.2.0",
3
+ "version": "1.0.0",
4
4
  "description": "Agent-first workgraph workspace for multi-agent coordination with dynamic primitives, append-only ledger, and markdown-native storage.",
5
5
  "workspaces": [
6
6
  "packages/*"
@@ -14,6 +14,10 @@
14
14
  "types": "./dist/index.d.ts",
15
15
  "import": "./dist/index.js"
16
16
  },
17
+ "./mcp-server": {
18
+ "types": "./dist/mcp-server.d.ts",
19
+ "import": "./dist/mcp-server.js"
20
+ },
17
21
  "./cli": {
18
22
  "types": "./dist/cli.d.ts",
19
23
  "import": "./dist/cli.js"
@@ -30,7 +34,7 @@
30
34
  "SKILL.md"
31
35
  ],
32
36
  "scripts": {
33
- "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",
34
38
  "build:packages": "npm run build --workspaces --if-present",
35
39
  "typecheck": "tsc --noEmit",
36
40
  "typecheck:packages": "npm run typecheck --workspaces --if-present",
@@ -63,9 +67,11 @@
63
67
  "node": ">=18"
64
68
  },
65
69
  "dependencies": {
70
+ "@modelcontextprotocol/sdk": "^1.27.1",
66
71
  "commander": "^12.0.0",
67
72
  "gray-matter": "^4.0.3",
68
- "yaml": "^2.8.1"
73
+ "yaml": "^2.8.1",
74
+ "zod": "^4.3.6"
69
75
  },
70
76
  "devDependencies": {
71
77
  "@types/node": "^20.11.0",