Skip to content

Commit 1616d3e

Browse files
authored
Merge pull request #2 from fqmyysjjd/codex/node-runtime-parity
chore: publish scoped npm package
2 parents e7e0755 + 1b19e1d commit 1616d3e

5 files changed

Lines changed: 7 additions & 18 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
- pypi
6060
environment:
6161
name: npm
62-
url: https://www.npmjs.com/package/agent-feed
62+
url: https://www.npmjs.com/package/@yysjjd/agent-feed
6363
permissions:
6464
contents: read
6565
id-token: write

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ uv tool install agent-feed
7676
# or
7777
pipx install agent-feed
7878
# or
79-
npm install -g agent-feed
79+
npm install -g @yysjjd/agent-feed
8080
```
8181

8282
The npm package is a thin wrapper around the Python CLI. It requires Python
@@ -95,12 +95,6 @@ If the project already has AI instructions, `init` backs them up into
9595
workflow. The generated migration guide tells your AI assistant how to preserve
9696
decisive legacy rules into `.agents/project/` and `.agents/domain/`.
9797

98-
For local development from this checkout:
99-
100-
```sh
101-
uv run agent-feed
102-
```
103-
10498
## 🤝 Start AI-Assisted Development
10599

106100
After initialization, open your AI coding assistant in the repository and begin with the following task prompt:

README_ZH.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ uv tool install agent-feed
7676
# 或使用
7777
pipx install agent-feed
7878
# 或使用
79-
npm install -g agent-feed
79+
npm install -g @yysjjd/agent-feed
8080
```
8181

8282
npm 包只是 Python CLI 的薄包装器。使用 npm 安装时,本机仍需要 Python
@@ -95,12 +95,6 @@ agent-feed status # 查看当前状态及下一步推荐操作
9595
生成的迁移说明会要求 AI 把决定性的旧规则迁移到 `.agents/project/`
9696
`.agents/domain/`,遇到冲突或无法判断时必须询问用户。
9797

98-
从源码本地开发运行:
99-
100-
```sh
101-
uv run agent-feed
102-
```
103-
10498
## 🤝 开始 AI 辅助开发
10599

106100
初始化完成后,在仓库中打开你的 AI 编程助手,并使用以下任务提示启动:

RELEASE.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,13 @@ pending publisher.
2323

2424
## One-Time npm Setup
2525

26-
Prepare npm trusted publishing for the `agent-feed` wrapper package:
26+
Prepare npm trusted publishing for the `@yysjjd/agent-feed` wrapper package:
2727

28-
1. Package name: `agent-feed`
28+
1. Package name: `@yysjjd/agent-feed`
2929
2. Owner: `fqmyysjjd`
3030
3. Repository: `agent-feed`
3131
4. Workflow: `publish.yml`
32+
5. Environment: `npm`
3233

3334
npm trusted publishing requires GitHub Actions OIDC, npm CLI 11.5.1 or newer,
3435
and Node 22.14.0 or newer. Keep the release publish job on Node 24 even though

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "agent-feed",
2+
"name": "@yysjjd/agent-feed",
33
"version": "1.0.0",
44
"description": "Repository-owned workflow governance for AI coding agents.",
55
"license": "MIT",

0 commit comments

Comments
 (0)