Skip to content

Commit 277fdc3

Browse files
committed
chore: v0.0.1 initial release - DevCodex Copilot Agent Plugin
1 parent 3b8a921 commit 277fdc3

109 files changed

Lines changed: 3481 additions & 1010 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/publish.yml‎

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Publish to GitHub Packages
2+
3+
on:
4+
release:
5+
types: [created]
6+
push:
7+
tags:
8+
- 'v*.*.*'
9+
10+
jobs:
11+
publish:
12+
runs-on: ubuntu-latest
13+
permissions:
14+
contents: read
15+
packages: write
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- name: Setup Node.js
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: '20'
24+
registry-url: 'https://npm.pkg.github.com'
25+
scope: '@vextjs'
26+
27+
- name: Publish
28+
run: npm publish
29+
env:
30+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

‎.gitignore‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,20 @@
11
# Dependencies
22
node_modules/
3+
website/node_modules/
4+
website/dist/
5+
auth/node_modules/
6+
auth/dist/
7+
8+
# Auth server secrets
9+
auth/.env
10+
11+
# Plugin token cache(由 plugin.json cacheFile 生成,不应提交)
12+
.copilot/token-cache.json
313

414
# Runtime data (AI-generated during usage, not committed)
515
data/violations.md
616
data/pending-fixes.md
17+
data/gap-registry.md
718

819
# OS
920
.DS_Store

‎.mcp.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"tools": ["violation_log", "violation_query", "violation_stats"]
1919
},
2020
"devcodex-auth": {
21+
"_comment": "规划中(v5.1):auth 服务的 MCP 协议层,/mcp 端点尚未实现。当前 auth.devcodex.dev 只暴露 /validate 和 /auth/* REST 接口。disabled 保持 true 直到 v5.1 实现后更新。",
2122
"type": "http",
2223
"url": "https://auth.devcodex.dev/mcp",
2324
"disabled": true,

‎.npmignore‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ data/
44
node_modules/
55
*.tgz
66

7+
# Documentation website (separate build artifact)
8+
website/
9+
710
# Internal migration / codegen scripts (dev-only)
811
tools/migrate-to-official-format.js
912
tools/v4-to-v5-migration.js

‎.npmrc‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@vextjs:registry=https://npm.pkg.github.com
2+
//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}

‎CHANGELOG.md‎

Lines changed: 10 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,47 +2,27 @@
22

33
All notable changes to DevCodex will be documented in this file.
44

5-
## [1.0.1] — 2026-04-03
5+
## [0.0.1] - 2026-04-04
66

77
### Added
8-
- **`npx devcodex init`**:一行命令将所有文件安装到项目 `.github/` 目录
9-
- **`npx devcodex update`**:升级覆盖已有文件(同 `init --force`)
10-
- **`npx devcodex status`**:查看当前项目的 DevCodex 安装状态
11-
- **`--dry-run` 选项**:预览将要安装的文件,不实际写入
12-
- `bin.devcodex` 字段:`npx devcodex` 可直接执行
138

14-
### Changed
15-
- 文件结构迁移至 **GitHub Copilot 官方标准格式**:
16-
- Skills 重组为 `skills/<category>/<name>/SKILL.md` 独立子目录结构
17-
- Agent frontmatter 精简为官方字段(`name/description/tools`)
18-
- Instructions frontmatter 精简为 `applyTo`
19-
- Hooks 新增 `devcodex-hooks.json`(官方 JSON 格式)
20-
- Audit 工具(`tools/v5-full-audit.js`)更新以匹配官方标准
21-
- README 安装说明更新为 `npx devcodex init`
22-
23-
## [1.0.0] — 2026-04-03
24-
25-
### Added
26-
27-
- **Plugin 架构**:完整的 GitHub Copilot Agent Plugin 骨架(plugin.json + 目录结构)
28-
- **8 个工作流 Agents**:dev / fix / audit / analyze / self-fix / chat / resume / plan
9+
- **GitHub Copilot Agent Plugin** 架构:plugin.json + 完整目录结构
10+
- **1 个统一 Agent**(`agents/devcodex.agent.md`):自动识别意图,路由到 8 个工作流
2911
- **34 个 Skills**:
3012
- 核心 Skills(7):compliance / memory / report / cp-gate / intent / summary / plan
3113
- dev 子类型(8):default / refactor / database / init / optimization / scenario-test / docs / plan-review
3214
- fix 子类型(3):default / incident / security
33-
- audit 目标类型(8):common / dimensions / tech-design / requirements / project / report / document / execution-guide
15+
- audit 子类型(8):common / dimensions / tech-design / requirements / project / report / document / execution-guide
3416
- 其他(8):analyze-research / self-fix-auto / api-verification / document-sync / impact-review / routing / load-profile / token-check
35-
- **11 个 Instructions**:00-safety(P2 全局)/ 01-common / 02-output-paths + 10~17 工作流规则
17+
- **11 个 Instructions**:00-safety(P2 全局)/ 01-common / 02-output-paths + 10~17 工作流规则
3618
- **20 个 Prompt 模板**:v4 templates/ 全量迁移 + token-setup 新增
37-
- **2 个 Hooks**:UserPromptSubmit(Token验证)/ Stop(记忆写入)
38-
- **Token 授权系统**:Free / Pro / Enterprise 三层,7天离线缓存
39-
- **v4→v5 迁移工具**:`tools/v4-to-v5-migration.js`
19+
- **2 个 Hooks**:`pre-message.hook.md`(Token 验证 + 意图识别)/ `post-session.hook.md`(记忆写入 + 合规检查)
20+
- **CLI 工具**:`init` / `status` / `update` 命令,`npx @vextjs/devcodex init` 一行安装
21+
- **Token 授权系统**:Free / Trial / Pro / Enterprise 四层,7 天离线缓存
22+
- **GitHub Packages 私有分发**:`@vextjs/devcodex`,通过 `.npmrc` + PAT 认证安装
23+
- **文档站**(`website/`):Rspress 文档站,含安装指南、架构说明、Skills 清单
4024

4125
### Notes
4226

4327
- v4(ai-dev-guidelines)继续并行维护,v5 为独立 Plugin
4428
- MCP Server 动态数据层计划在 v5.1 实现(当前为占位配置)
45-
46-
## [0.0.1] — 2026-04-03
47-
48-
- npm 占位包发布(devcodex),保留包名

0 commit comments

Comments
 (0)