Skip to content

Commit 0696a57

Browse files
committed
chore: 迁移仓库链接并发布 0.2.17
1 parent e19eb13 commit 0696a57

9 files changed

Lines changed: 43 additions & 19 deletions

File tree

.codex-plugin/plugin.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"name": "devopsflow",
3-
"version": "0.2.16",
3+
"version": "0.2.17",
44
"description": "DevOpsFlow engineering workflow skills for Codex: routing, DDD, TDD, planning, execution, debugging, review, verification, and branch finishing.",
55
"composerIcon": "./assets/app-icon-small.svg",
66
"logo": "./assets/app-icon.png",
77
"author": {
8-
"name": "LiTeXz",
9-
"url": "https://github.com/LiTeXz"
8+
"name": "TrueNine",
9+
"url": "https://github.com/TrueNine"
1010
},
11-
"homepage": "https://github.com/LiTeXz/devflow-skills",
12-
"repository": "https://github.com/LiTeXz/devflow-skills",
11+
"homepage": "https://github.com/TrueNine/devopsflow",
12+
"repository": "https://github.com/TrueNine/devopsflow",
1313
"license": "GPL-3.0-only",
1414
"keywords": ["codex", "skills", "workflow", "ddd", "tdd"],
1515
"skills": "./skills/",
@@ -18,10 +18,10 @@
1818
"displayName": "DevOpsFlow",
1919
"shortDescription": "Engineering workflow skills for Codex",
2020
"longDescription": "DevOpsFlow provides a composable Codex workflow for routing engineering requests, DDD modeling, TDD handoff, implementation planning, execution, debugging, review, verification, and branch finishing.",
21-
"developerName": "LiTeXz",
21+
"developerName": "TrueNine",
2222
"category": "Developer Tools",
2323
"capabilities": ["Interactive", "Read", "Write"],
24-
"websiteURL": "https://github.com/LiTeXz/devflow-skills",
24+
"websiteURL": "https://github.com/TrueNine/devopsflow",
2525
"defaultPrompt": [
2626
"Use df-engineering-workflow-router to classify this task",
2727
"Use the df-publisher Codex worker session for git and GitHub publishing tasks.",

.github/workflows/version-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
set -euo pipefail
7070
VERSION=$(bun -e "console.log(require('./package.json').version)")
7171
TAG="v${VERSION}"
72-
REPO=$(bun -e "const p=require('./.codex-plugin/plugin.json'); const repo=String(p.repository||'https://github.com/LiTeXz/devflow-skills'); const m=repo.match(/github\\.com[:/]([^/]+\\/[^/.#]+)(?:\\.git)?/); console.log(m ? m[1] : 'LiTeXz/devflow-skills')")
72+
REPO=$(bun -e "const p=require('./.codex-plugin/plugin.json'); const repo=String(p.repository||'https://github.com/TrueNine/devopsflow'); const m=repo.match(/github\\.com[:/]([^/]+\\/[^/.#]+)(?:\\.git)?/); console.log(m ? m[1] : 'TrueNine/devopsflow')")
7373
HASH_FILE="skills/df-codex-assets/assets/hash.txt"
7474
STORED_HASH=$(tr -d '[:space:]' < "$HASH_FILE")
7575

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
> 本项目基于 [LiTeXz/devflow-skills](https://github.com/LiTeXz/devflow-skills) 二次开发并公开发布。感谢原作者 [LiTeXz](https://github.com/LiTeXz) 的贡献;本项目继续遵循 [GPL-3.0-only](LICENSE) 协议。
2+
13
<h1 align="center">DevOpsFlow</h1>
24

35
<p align="center">
@@ -21,7 +23,7 @@
2123
### Codex
2224

2325
```bash
24-
codex plugin marketplace add LiTeXz/devflow-skills
26+
codex plugin marketplace add TrueNine/devopsflow
2527
codex plugin marketplace upgrade devopsflow
2628
codex plugin add devopsflow@devopsflow
2729
```
@@ -35,9 +37,9 @@ codex plugin add devopsflow@devopsflow
3537
```json
3638
{
3739
"$schema": "https://opencode.ai/config.json",
38-
"plugin": ["/absolute/path/to/devflow-skills/.opencode/plugin/devopsflow.ts"],
40+
"plugin": ["/absolute/path/to/devopsflow/.opencode/plugin/devopsflow.ts"],
3941
"skills": {
40-
"paths": ["/absolute/path/to/devflow-skills/skills"]
42+
"paths": ["/absolute/path/to/devopsflow/skills"]
4143
}
4244
}
4345
```

agents/df-publisher.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# devopsflow-version = "0.2.16"
1+
# devopsflow-version = "0.2.17"
22
name = "df-publisher"
33
description = "唯一被授权执行 git 和 gh 命令的 Codex worker session。负责提交、推送、PR、合并、发布等全部 git/github 操作。遵守保护分支规则。"
44
nickname_candidates = ["df-publisher", "publisher"]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "devopsflow",
3-
"version": "0.2.16",
3+
"version": "0.2.17",
44
"type": "module",
55
"private": true,
66
"scripts": {

scripts/project-branding.test.ts

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ const legacySlug = ["dev", "flow-skills"].join("");
2020
const legacyBrand = ["Dev", "Flow"].join("");
2121
const legacyUpper = ["DEV", "FLOW"].join("");
2222
const legacyDotDirectory = [".dev", "flow"].join("");
23-
const allowedGithubSource = `LiTeXz/${legacySlug}`;
23+
const legacyOwner = ["Li", "TeXz"].join("");
24+
const expectedOwner = "TrueNine";
25+
const expectedRepository = `${expectedOwner}/devopsflow`;
26+
const originalRepository = `${legacyOwner}/${legacySlug}`;
27+
const originalAttribution = `> 本项目基于 [${originalRepository}](https://github.com/${originalRepository}) 二次开发并公开发布。感谢原作者 [${legacyOwner}](https://github.com/${legacyOwner}) 的贡献;本项目继续遵循 [GPL-3.0-only](LICENSE) 协议。`;
2428

2529
function collectTextFiles(directory: string): string[] {
2630
const files: string[] = [];
@@ -42,17 +46,23 @@ describe("DevOpsFlow project identity", () => {
4246
const projectPath = relative(ROOT, file).replaceAll("\\", "/");
4347
expect(projectPath, projectPath).not.toContain(legacySlug);
4448

45-
const content = readFileSync(file, "utf-8").replaceAll(
46-
allowedGithubSource,
49+
const content = readFileSync(file, "utf-8").replace(
50+
originalAttribution,
4751
"",
4852
);
4953
expect(content, projectPath).not.toContain(legacySlug);
5054
expect(content, projectPath).not.toContain(legacyBrand);
5155
expect(content, projectPath).not.toContain(legacyUpper);
5256
expect(content, projectPath).not.toContain(legacyDotDirectory);
57+
expect(content, projectPath).not.toContain(legacyOwner);
5358
}
5459
});
5560

61+
it("attributes the original project in the README first line", () => {
62+
const readme = readFileSync(join(ROOT, "README.md"), "utf-8");
63+
expect(readme.split(/\r?\n/, 1)[0]).toBe(originalAttribution);
64+
});
65+
5666
it("uses the new package and plugin identity", () => {
5767
const packageJson = JSON.parse(
5868
readFileSync(join(ROOT, "package.json"), "utf-8"),
@@ -64,5 +74,17 @@ describe("DevOpsFlow project identity", () => {
6474
expect(packageJson.name).toBe("devopsflow");
6575
expect(pluginJson.name).toBe("devopsflow");
6676
expect(pluginJson.interface.displayName).toBe("DevOpsFlow");
77+
expect(pluginJson.author.name).toBe(expectedOwner);
78+
expect(pluginJson.author.url).toBe(`https://github.com/${expectedOwner}`);
79+
expect(pluginJson.homepage).toBe(
80+
`https://github.com/${expectedRepository}`,
81+
);
82+
expect(pluginJson.repository).toBe(
83+
`https://github.com/${expectedRepository}`,
84+
);
85+
expect(pluginJson.interface.developerName).toBe(expectedOwner);
86+
expect(pluginJson.interface.websiteURL).toBe(
87+
`https://github.com/${expectedRepository}`,
88+
);
6789
});
6890
});
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c74dde06081009652f86893fe436f9b4a155f659c224deab4f5d5ec5a5f153fa
1+
4b808f927420bf3f789448bb1a66673a3932d73cb0f5132198442c2b8cdd9bc3

skills/df-codex-assets/scripts/df-codex-assets.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const MANAGED_ASSET_PATHS = [
2020
] as const;
2121

2222
export const HASH_FILE_PATH = "skills/df-codex-assets/assets/hash.txt";
23-
export const DEFAULT_REPOSITORY = "LiTeXz/devflow-skills";
23+
export const DEFAULT_REPOSITORY = "TrueNine/devopsflow";
2424

2525
export type FetchLike = (
2626
input: string | URL | Request,

skills/df-google-aip-api-design/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,4 @@ Treat linter output as a useful guardrail, not the full design review. Some AIP
7272
## Resources
7373

7474
- Read `references/aip-map.md` when selecting which AIP rules to consult for a task.
75-
- This skill was copied from `https://github.com/LiTeXz/google-aip-api-design` at commit `fa650a59f791cf3ba84e431dfcce441157ac5587` on branch `main`.
75+
- This skill is maintained at `https://github.com/TrueNine/devopsflow/tree/main/skills/df-google-aip-api-design`.

0 commit comments

Comments
 (0)