@work-graph/cli 0.2.2 → 0.2.4

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/LICENSE ADDED
@@ -0,0 +1,17 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ Copyright 2026 Work Graph contributors
6
+
7
+ Licensed under the Apache License, Version 2.0 (the "License");
8
+ you may not use this file except in compliance with the License.
9
+ You may obtain a copy of the License at
10
+
11
+ http://www.apache.org/licenses/LICENSE-2.0
12
+
13
+ Unless required by applicable law or agreed to in writing, software
14
+ distributed under the License is distributed on an "AS IS" BASIS,
15
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ See the License for the specific language governing permissions and
17
+ limitations under the License.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @work-graph/cli
2
2
 
3
- User-first установка Work Graph в любой проект.
3
+ Install [Work Graph](https://github.com/bvc-lang/work-graph) in any project via npm — no engine clone, no manual `engineRoot`.
4
4
 
5
5
  ## Quick start
6
6
 
@@ -16,16 +16,25 @@ npm run workgraph:ui
16
16
 
17
17
  | Command | Description |
18
18
  |---------|-------------|
19
- | `init [path]` | Канон `intent/`, devDependencies, MCP, Cursor rule |
20
- | `ui [path]` | Backlog UI для проекта |
21
- | `doctor [path]` | Проверка установки |
22
- | `register [path]` | Опционально: multiproject registry (power-user) |
19
+ | `init [path]` | Scaffold `intent/`, add devDependencies, MCP config, Cursor rule |
20
+ | `ui [path]` | Start backlog UI for the project |
21
+ | `doctor [path]` | Verify installation |
22
+ | `register [path]` | Optional: multiproject registry (power users) |
23
23
 
24
- ## Dev (contributors)
24
+ ## Flags (`init`)
25
+
26
+ | Flag | Purpose |
27
+ |------|---------|
28
+ | `--label`, `--id` | Display name and project id |
29
+ | `--no-mcp` | Do not update `.cursor/mcp.json` |
30
+ | `--no-package` | Do not update `package.json` |
31
+ | `--legacy-engine-config` | Dev only: write deprecated `engineRoot` to config |
32
+
33
+ ## Contributors (monorepo dev)
25
34
 
26
35
  ```bash
27
36
  git clone …/work-graph && cd work-graph && npm install
28
37
  WORKGRAPH_ENGINE_ROOT=. npx work-graph ui /path/to/project
29
38
  ```
30
39
 
31
- См. [CONTRIBUTING.md](../../CONTRIBUTING.md) в репозитории Work Graph.
40
+ See [CONTRIBUTING.md](https://github.com/bvc-lang/work-graph/blob/main/CONTRIBUTING.md) in the Work Graph repository.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@work-graph/cli",
3
- "version": "0.2.2",
4
- "description": "Work Graph CLI — init project, doctor, start UI",
3
+ "version": "0.2.4",
4
+ "description": "Work Graph CLI — npm-first project setup, doctor, backlog UI",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "work-graph": "bin/work-graph.mjs"
@@ -20,7 +20,7 @@
20
20
  "license": "Apache-2.0",
21
21
  "repository": {
22
22
  "type": "git",
23
- "url": "git+https://github.com/work-graph/work-graph.git",
23
+ "url": "git+https://github.com/bvc-lang/work-graph.git",
24
24
  "directory": "packages/work-graph-cli"
25
25
  },
26
26
  "keywords": [
@@ -0,0 +1,17 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ Copyright 2026 Work Graph contributors
6
+
7
+ Licensed under the Apache License, Version 2.0 (the "License");
8
+ you may not use this file except in compliance with the License.
9
+ You may obtain a copy of the License at
10
+
11
+ http://www.apache.org/licenses/LICENSE-2.0
12
+
13
+ Unless required by applicable law or agreed to in writing, software
14
+ distributed under the License is distributed on an "AS IS" BASIS,
15
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ See the License for the specific language governing permissions and
17
+ limitations under the License.
@@ -1,6 +1,6 @@
1
1
  # @work-graph/mcp
2
2
 
3
- MCP server for Work Graph — list/create/update work items in `intent/**/*.work.bvc`.
3
+ [MCP](https://modelcontextprotocol.io) server for Work Graph — list, create, and update work items in `intent/**/*.work.bvc`.
4
4
 
5
5
  ## Cursor
6
6
 
@@ -21,8 +21,12 @@ After `npx @work-graph/cli init .`, `.cursor/mcp.json` includes:
21
21
  }
22
22
  ```
23
23
 
24
+ Reload MCP in Cursor after init.
25
+
24
26
  ## Standalone
25
27
 
26
28
  ```bash
27
29
  WORKGRAPH_ROOT=/path/to/project npx @work-graph/mcp
28
30
  ```
31
+
32
+ Requires a project with `.work-graph/config.json` (run `npx @work-graph/cli init` first).
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@work-graph/mcp",
3
- "version": "0.2.2",
4
- "description": "MCP server for Work Graph WorkItems",
3
+ "version": "0.2.4",
4
+ "description": "MCP server for Work Graph — work items in intent/**/*.work.bvc",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "workgraph-mcp": "bin/workgraph-mcp.mjs"
@@ -16,14 +16,14 @@
16
16
  "access": "public"
17
17
  },
18
18
  "dependencies": {
19
- "@work-graph/cli": "^0.2.2",
19
+ "@work-graph/cli": "^0.2.4",
20
20
  "@modelcontextprotocol/sdk": "^1.29.0",
21
21
  "zod": "^3.25.76"
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "repository": {
25
25
  "type": "git",
26
- "url": "git+https://github.com/work-graph/work-graph.git",
26
+ "url": "git+https://github.com/bvc-lang/work-graph.git",
27
27
  "directory": "packages/workgraph-mcp"
28
28
  },
29
29
  "keywords": [
@@ -20,8 +20,8 @@ export {
20
20
 
21
21
  const CONFIG_SCHEMA_V1 = 'workgraph.project.config.v1';
22
22
  const CONFIG_SCHEMA_V2 = 'workgraph.project.config.v2';
23
- const DEFAULT_CLI_VERSION = '0.2.2';
24
- const DEFAULT_MCP_VERSION = '0.2.2';
23
+ const DEFAULT_CLI_VERSION = '0.2.3';
24
+ const DEFAULT_MCP_VERSION = '0.2.3';
25
25
 
26
26
  const INDEX_STUB = `#Index<[
27
27
  WorkItems: