@sushanglewis/lincoln 1.5.3 → 1.5.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.
@@ -9,7 +9,7 @@
9
9
  {
10
10
  "name": "lincoln",
11
11
  "description": "AI-Native product R&D collaboration system for Conductor + Claude Code. Orchestrates stages, gates, artifacts, skills, and roles across product, design, and engineering into a repeatable workflow from recordings to GitHub Issues to Obsidian knowledge base.",
12
- "version": "1.5.3",
12
+ "version": "1.5.4",
13
13
  "author": {
14
14
  "name": "Lincoln contributors"
15
15
  },
@@ -28,5 +28,5 @@
28
28
  ]
29
29
  }
30
30
  ],
31
- "version": "1.5.3"
31
+ "version": "1.5.4"
32
32
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lincoln",
3
- "version": "1.5.3",
3
+ "version": "1.5.4",
4
4
  "description": "AI-Native product R&D collaboration system for Conductor + Claude Code + OpenSpec + GitHub + Obsidian",
5
5
  "author": {
6
6
  "name": "Lincoln contributors"
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.5.3",
2
+ "version": "1.5.4",
3
3
  "manifests": [
4
4
  {
5
5
  "path": ".claude-plugin/plugin.json",
@@ -27,14 +27,70 @@ Open the repo and tell the Agent what you want in plain language. Lincoln will r
27
27
 
28
28
  ## Installation
29
29
 
30
- Lincoln is now distributed as a global npm plugin:
30
+ ### Prerequisites
31
+
32
+ - Node.js ≥ 20
33
+ - Python 3.10+ (`lincoln install` will auto-detect `python3.12 / 3.11 / 3.10` and create a virtual environment)
34
+ - At least one agent harness installed: `Claude Code`, `Codex`, or `OpenCode`
35
+
36
+ ### Install Lincoln
37
+
38
+ ```bash
39
+ npm install -g @sushanglewis/lincoln
40
+ lincoln install --yes
41
+ ```
42
+
43
+ > **Note**: `npm install -g` only installs the CLI and bundled framework payload; **you must run `lincoln install`** to sync hooks, agents, skills, scripts, and the full runtime framework to `~/.claude/`, `~/.codex/`, and `~/.opencode/`.
44
+
45
+ If you previously installed the legacy `lincoln-install` package, uninstall it first (its bin names conflict with the new package):
31
46
 
32
47
  ```bash
48
+ npm uninstall -g lincoln-install
33
49
  npm install -g @sushanglewis/lincoln
34
- lincoln install
50
+ lincoln install --yes
51
+ ```
52
+
53
+ To force a reinstall:
54
+
55
+ ```bash
56
+ npm install -g @sushanglewis/lincoln --force
57
+ lincoln install --yes
58
+ ```
59
+
60
+ ### Verify the installation
61
+
62
+ ```bash
63
+ lincoln --version
64
+ lincoln doctor --json
35
65
  ```
36
66
 
37
- `lincoln install` syncs the runtime framework to `~/.claude/`, `~/.codex/`, and `~/.opencode/`. Projects only need a `.lincoln.yaml` marker to opt in (empty directories won't activate Lincoln).
67
+ `lincoln doctor --json` checks Node, Python, PyYAML, npm, the global marker, payload hooks, venv, and project marker.
68
+
69
+ ### Enable Lincoln in a project
70
+
71
+ Lincoln hooks are **off by default** in directories without a marker. In your project root run:
72
+
73
+ ```bash
74
+ cd your-project
75
+ lincoln init-project
76
+ ```
77
+
78
+ This creates a `.lincoln.yaml` marker file. After that, opening Claude Code in this directory will load the `/lc-*` commands.
79
+
80
+ ### Update Lincoln
81
+
82
+ ```bash
83
+ lincoln update
84
+ ```
85
+
86
+ ### Migrate from the old vendored model
87
+
88
+ If your project previously committed the Lincoln framework source directly into the repo:
89
+
90
+ ```bash
91
+ lincoln migrate-project --dry-run # preview files to remove
92
+ lincoln migrate-project --yes # confirm migration
93
+ ```
38
94
 
39
95
  The legacy `npx lincoln-install` / `npx lincoln-update` wrappers are still present but deprecated; migrate to the global CLI.
40
96
 
@@ -27,14 +27,70 @@ Lincoln 是一个贯穿 **IDE、Agent Harness、代码托管、知识管理、
27
27
 
28
28
  ## 安装
29
29
 
30
- Lincoln 现在以全局 npm 插件的形式分发:
30
+ ### 前置条件
31
+
32
+ - Node.js ≥ 20
33
+ - Python 3.10+(`lincoln install` 会自动探测 `python3.12 / 3.11 / 3.10` 并创建虚拟环境)
34
+ - 已安装至少一个 agent harness:`Claude Code`、`Codex` 或 `OpenCode`
35
+
36
+ ### 安装 Lincoln
37
+
38
+ ```bash
39
+ npm install -g @sushanglewis/lincoln
40
+ lincoln install --yes
41
+ ```
42
+
43
+ > **注意**:`npm install -g` 只是把 CLI 和框架 payload 安装到 npm 全局目录;**必须执行 `lincoln install`**,才会把 hooks、agents、skills、scripts 等完整运行时体系同步到 `~/.claude/`、`~/.codex/`、`~/.opencode/`。
44
+
45
+ 如果之前安装过旧版 `lincoln-install`,需要先卸载(旧包与新版 bin 名冲突):
31
46
 
32
47
  ```bash
48
+ npm uninstall -g lincoln-install
33
49
  npm install -g @sushanglewis/lincoln
34
- lincoln install
50
+ lincoln install --yes
51
+ ```
52
+
53
+ 若要强制重装,可加上 `--force`:
54
+
55
+ ```bash
56
+ npm install -g @sushanglewis/lincoln --force
57
+ lincoln install --yes
58
+ ```
59
+
60
+ ### 验证安装
61
+
62
+ ```bash
63
+ lincoln --version
64
+ lincoln doctor --json
35
65
  ```
36
66
 
37
- `lincoln install` 会把运行时框架同步到 `~/.claude/`、`~/.codex/`、`~/.opencode/`。项目侧只需一个 `.lincoln.yaml` 标记即可选择性激活(空目录不会触发 Lincoln)。
67
+ `lincoln doctor --json` 会输出 Node、Python、PyYAML、npm、全局 marker、payload hooks、venv、项目 marker 等检查项。
68
+
69
+ ### 在项目中启用
70
+
71
+ Lincoln hooks 默认**不会**在空目录激活。进入项目后执行:
72
+
73
+ ```bash
74
+ cd your-project
75
+ lincoln init-project
76
+ ```
77
+
78
+ 这会在项目根目录创建 `.lincoln.yaml` 标记文件,之后在该目录打开 Claude Code 即可使用 `/lc-*` 命令。
79
+
80
+ ### 更新 Lincoln
81
+
82
+ ```bash
83
+ lincoln update
84
+ ```
85
+
86
+ ### 从旧版 vendored 模式迁移
87
+
88
+ 如果你的项目之前是把 Lincoln 框架源码直接提交到仓库里的,可以用:
89
+
90
+ ```bash
91
+ lincoln migrate-project --dry-run # 先看看会删哪些文件
92
+ lincoln migrate-project --yes # 确认迁移
93
+ ```
38
94
 
39
95
  旧版 `npx lincoln-install` / `npx lincoln-update` 仍保留但已弃用,建议迁移到全局 CLI。
40
96
 
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "1.5.3",
3
- "generatedAt": "2026-08-06T03:31:08.059Z",
2
+ "version": "1.5.4",
3
+ "generatedAt": "2026-08-06T03:47:12.007Z",
4
4
  "files": [
5
5
  {
6
6
  "path": ".claude-plugin/hooks.json",
@@ -8,11 +8,11 @@
8
8
  },
9
9
  {
10
10
  "path": ".claude-plugin/marketplace.json",
11
- "sha256": "5b1c9d8405192544541b0ef657ff3ce664302e5eb252f0e83298f1d312ce1317"
11
+ "sha256": "3416511abe2f0fe63b7108a99b4386974ed5a1d9165f54cc21ceefa215ddb5a9"
12
12
  },
13
13
  {
14
14
  "path": ".claude-plugin/plugin.json",
15
- "sha256": "ffaade236ca59df4e879e293c61c13ad473c2758749137353adec94811081d4b"
15
+ "sha256": "a95de6491156662f078aeb4b9b3b46e222fcb0b6ef3a6a14f280e23b1c5ad1af"
16
16
  },
17
17
  {
18
18
  "path": ".claude/agents/_contract.md",
@@ -488,7 +488,7 @@
488
488
  },
489
489
  {
490
490
  "path": ".version-bump.json",
491
- "sha256": "db61facbb56f164fbfa5a550bd59dc24dae475a46e3102aef5da2f693a0d849e"
491
+ "sha256": "e17ad70c1076bcef5ed4401960fd8bbf31eb0c4d6f023efff6a1d1fe91e3f7e6"
492
492
  },
493
493
  {
494
494
  "path": "CLAUDE.md",
@@ -504,11 +504,11 @@
504
504
  },
505
505
  {
506
506
  "path": "README.en.md",
507
- "sha256": "bfcfcb255a2289a0018a13c19f3fef7e52e6c48bbe6b755bba90deb33de1d459"
507
+ "sha256": "dc352b91f0b134a7119062a716b34a84ea0a9f62777f5c7f6dbbca8a8ea3cb99"
508
508
  },
509
509
  {
510
510
  "path": "README.md",
511
- "sha256": "f26116a64f7c057aaacbddc56ce3e874cc337c20ec7e158fce39ef87dfb80bb4"
511
+ "sha256": "5f6a04b52cd7ed056511857b99ef9cb58b9da6001fa14d6a958247167025c172"
512
512
  },
513
513
  {
514
514
  "path": "RELEASE.md",
@@ -696,7 +696,7 @@
696
696
  },
697
697
  {
698
698
  "path": "tools/lincoln-installer/package.json",
699
- "sha256": "56d4137e0478df47b5f5ecf8217bb1fc8b5ed89c1a324c1a81e9fc94e4b80566"
699
+ "sha256": "634627c4dc491da303e21601d284258926a7663a628530fbce2bbe0eef136a4d"
700
700
  },
701
701
  {
702
702
  "path": "tools/lincoln-installer/src/cli.tsx",
@@ -988,11 +988,11 @@
988
988
  },
989
989
  {
990
990
  "path": "tools/lincoln/package-lock.json",
991
- "sha256": "17a8339ef610d41d3f0c7d57ac5c2e70eb5c32eca57f7e367601d34ae678394e"
991
+ "sha256": "895bff7b343cc24e4152ca57942b3219e0e59a65416297619d03f4acd2a945c1"
992
992
  },
993
993
  {
994
994
  "path": "tools/lincoln/package.json",
995
- "sha256": "f861a3d7795239e7fe9fb8f39758d36f5d6f7468190212f71a9feab2a163c409"
995
+ "sha256": "4bb2ca50fd059d0885989d619b852c3473be4ad55d508013158fb6701c30b171"
996
996
  },
997
997
  {
998
998
  "path": "tools/lincoln/src/cli.tsx",
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@sushanglewis/lincoln",
3
- "version": "1.5.3",
3
+ "version": "1.5.4",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@sushanglewis/lincoln",
9
- "version": "1.5.3",
9
+ "version": "1.5.4",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "ink": "^5.2.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sushanglewis/lincoln-recorder",
3
- "version": "1.5.3",
3
+ "version": "1.5.4",
4
4
  "description": "Cross-tool terminal UI for recording Lincoln interviews",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lincoln-install",
3
- "version": "1.5.3",
3
+ "version": "1.5.4",
4
4
  "description": "Terminal TUI installer for the Lincoln AI-Native R&D workflow system",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sushanglewis/lincoln",
3
- "version": "1.5.3",
3
+ "version": "1.5.4",
4
4
  "description": "Global Lincoln agent harness plugin CLI",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",