Skip to content

Commit cc6e0ad

Browse files
committed
chore: release v1.3.0
1 parent 9765070 commit cc6e0ad

15 files changed

Lines changed: 503 additions & 130 deletions

README-zh.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<h1 align="center">Codex Workflow Folder</h1>
22

33
<p align="center">
4-
<a href="#"><img alt="版本" src="https://img.shields.io/badge/版本-v1.2.0-blue.svg" /></a>
4+
<a href="#"><img alt="版本" src="https://img.shields.io/badge/版本-v1.3.0-blue.svg" /></a>
55
<a href="#"><img alt="VS Code" src="https://img.shields.io/badge/VS%20Code-扩展-007ACC.svg" /></a>
66
<a href="LICENSE"><img alt="许可证" src="https://img.shields.io/badge/许可证-MIT-green.svg" /></a>
77
&nbsp;&nbsp;
@@ -10,7 +10,7 @@
1010

1111
**自动折叠冗长流程 | 支持个性化配置 | AI 一句指令极速安装**
1212
**隐藏“思考与工具”噪音 | 让对话界面回归清爽 | 中英双语支持**
13-
**跨平台(Windows/macOS/Linux) | 版本分轨安装(71+ 轨道开发中**
13+
**跨平台(Windows/macOS/Linux) | 版本分轨安装(<=0.4.70 / 0.4.71 / 0.4.73**
1414

1515
想拥有一个整洁且**便于上下浏览**的codex?厌倦了codex中长长的workflow?
1616
超级简单!**仅需复制一句话**给codex,你就能够在vscode中手动折叠codex的思考与命令执行流程。
@@ -49,7 +49,7 @@
4949
严格按照 https://github.com/MaxMiksa/Codex-Workflow-Folder/blob/main/docs/INSTALL_FOR_AI.md 的步骤安装该功能,不要自由发挥。
5050
```
5151

52-
> 说明:安装脚本现在会按本地扩展版本自动分流`<=0.4.70` 走 legacy 轨道,`>=0.4.71`71+ 独立轨道占位)。
52+
> 说明:安装脚本会按本地扩展版本自动分流`<=0.4.70` 走 legacy`0.4.71`/`0.4.73`profile;其他版本 fail-fast)。
5353
5454
> 👉 **重要:** AI 执行完毕后,请 **重启 VS Code** 以生效。
5555

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<h1 align="center">Codex Workflow Folder</h1>
22

33
<p align="center">
4-
<a href="#"><img alt="Version" src="https://img.shields.io/badge/version-v1.2.0-blue.svg" /></a>
4+
<a href="#"><img alt="Version" src="https://img.shields.io/badge/version-v1.3.0-blue.svg" /></a>
55
<a href="#"><img alt="VS Code" src="https://img.shields.io/badge/VS%20Code-extension-007ACC.svg" /></a>
66
<a href="LICENSE"><img alt="License" src="https://img.shields.io/badge/license-MIT-green.svg" /></a>
77
&nbsp;&nbsp;
@@ -10,7 +10,7 @@
1010

1111
**Auto-fold Lengthy Workflows | Customizable Settings | One-Prompt AI Installation**
1212
**Hide the "Thinking" Noise | Keep Your Chat Clean & Focused | Bilingual (EN/中文)**
13-
**Cross-Platform (Windows/macOS/Linux) | Version-Track Routing (71+ Track In Progress)**
13+
**Cross-Platform (Windows/macOS/Linux) | Version-Profile Routing (<=0.4.70 / 0.4.71 / 0.4.73)**
1414

1515
Want a clean and **easy-to-browse** Codex? Tired of Codex's **long workflows**?
1616
It's super simple! Just copy **only one sentence** (see blow) to Codex to enable folding of Codex's thought process and command execution flow in VS Code.
@@ -49,7 +49,7 @@ Copy and paste the following prompt to Codex:
4949
Strictly follow https://github.com/MaxMiksa/Codex-Workflow-Folder/blob/main/docs/INSTALL_FOR_AI.md to install this feature. Do not improvise.
5050
```
5151

52-
> Note: the installer now auto-routes by local extension version (`<=0.4.70` legacy track, `>=0.4.71` dedicated 71+ track placeholder).
52+
> Note: the installer now auto-routes by local extension version (`<=0.4.70` legacy, `0.4.71` profile, `0.4.73` profile; other versions fail-fast).
5353
5454
> 👉 **Important:** Restart VS Code after the AI finishes the task.
5555

docs/AI_OPERATOR_MANUAL.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,32 @@ This manual is written for an AI agent to perform a deterministic install/uninst
66

77
Version behavior is split:
88
- `<=0.4.70`: folds pre-final process items into a per-turn `Workflow` expandable row.
9-
- `==0.4.71`: keeps current UI and adds click-to-fold on `Worked for {time}` to hide pre-final process items.
9+
- `==0.4.71` / `==0.4.73`: keeps current UI and adds click-to-fold on `Worked for {time}` to hide pre-final process items.
1010

1111
## Version Routing (important)
1212

1313
This project now uses version-separated tracks:
1414

1515
- `openai.chatgpt <= 0.4.70`: legacy installer/uninstaller track (`v70-and-earlier`) in active use.
16-
- `openai.chatgpt == 0.4.71`: dedicated track (`v71-plus`) and supported in this phase.
17-
- `openai.chatgpt > 0.4.71`: intentionally fail-fast until a newer profile is added.
16+
- `openai.chatgpt == 0.4.71`: `v71-plus` profile track and supported.
17+
- `openai.chatgpt == 0.4.73`: `v71-plus` profile track and supported.
18+
- Other versions: fail-fast until a matching profile is added.
1819

1920
## Canonical URLs (remote-first, no clone)
2021

2122
- Manual (this file): `https://raw.githubusercontent.com/MaxMiksa/Codex-Workflow-Folder/main/docs/AI_OPERATOR_MANUAL.md`
2223
- Install guide: `https://github.com/MaxMiksa/Codex-Workflow-Folder/blob/main/docs/INSTALL_FOR_AI.md`
2324
- Uninstall guide: `https://github.com/MaxMiksa/Codex-Workflow-Folder/blob/main/docs/UNINSTALL_FOR_AI.md`
2425
- Remote install script:
25-
- Latest release (pinned): `https://raw.githubusercontent.com/MaxMiksa/Codex-Workflow-Folder/v1.2.0/docs/remote/codex-folding-install.mjs`
26+
- Latest release (pinned): `https://raw.githubusercontent.com/MaxMiksa/Codex-Workflow-Folder/v1.3.0/docs/remote/codex-folding-install.mjs`
2627
- Latest main (recommended for cross-platform): `https://raw.githubusercontent.com/MaxMiksa/Codex-Workflow-Folder/main/docs/remote/codex-folding-install.mjs`
2728
- Legacy direct track (`<=0.4.70`): `https://raw.githubusercontent.com/MaxMiksa/Codex-Workflow-Folder/main/docs/remote/v70-and-earlier/codex-folding-install.mjs`
28-
- 0.4.71 direct track: `https://raw.githubusercontent.com/MaxMiksa/Codex-Workflow-Folder/main/docs/remote/v71-plus/codex-folding-install.mjs`
29+
- 0.4.71 / 0.4.73 direct profile track: `https://raw.githubusercontent.com/MaxMiksa/Codex-Workflow-Folder/main/docs/remote/v71-plus/codex-folding-install.mjs`
2930
- Remote uninstall script:
30-
- Latest release (pinned): `https://raw.githubusercontent.com/MaxMiksa/Codex-Workflow-Folder/v1.2.0/docs/remote/codex-folding-uninstall.mjs`
31+
- Latest release (pinned): `https://raw.githubusercontent.com/MaxMiksa/Codex-Workflow-Folder/v1.3.0/docs/remote/codex-folding-uninstall.mjs`
3132
- Latest main (recommended for cross-platform): `https://raw.githubusercontent.com/MaxMiksa/Codex-Workflow-Folder/main/docs/remote/codex-folding-uninstall.mjs`
3233
- Legacy direct track (`<=0.4.70`): `https://raw.githubusercontent.com/MaxMiksa/Codex-Workflow-Folder/main/docs/remote/v70-and-earlier/codex-folding-uninstall.mjs`
33-
- 0.4.71 direct track: `https://raw.githubusercontent.com/MaxMiksa/Codex-Workflow-Folder/main/docs/remote/v71-plus/codex-folding-uninstall.mjs`
34+
- 0.4.71 / 0.4.73 direct profile track: `https://raw.githubusercontent.com/MaxMiksa/Codex-Workflow-Folder/main/docs/remote/v71-plus/codex-folding-uninstall.mjs`
3435
- If `raw.githubusercontent.com` is blocked:
3536
- Install: `https://github.com/MaxMiksa/Codex-Workflow-Folder/raw/main/docs/remote/codex-folding-install.mjs`
3637
- Uninstall: `https://github.com/MaxMiksa/Codex-Workflow-Folder/raw/main/docs/remote/codex-folding-uninstall.mjs`
@@ -39,7 +40,7 @@ This project now uses version-separated tracks:
3940

4041
Per turn (per user message):
4142
- `<=0.4.70`: user + `Workflow` row + final answer.
42-
- `==0.4.71`: user + `Worked for {time}` row + final answer (click row toggles fold for pre-final process items).
43+
- `==0.4.71` / `==0.4.73`: user + `Worked for {time}` row + final answer (click row toggles fold for pre-final process items).
4344

4445
## Preconditions
4546

@@ -96,6 +97,7 @@ Do not clone. Use the remote scripts only:
9697
- Patched webview file should include either:
9798
- `CODEX_WORKFLOW_FOLD_PATCH_V10` (legacy track)
9899
- `CODEX_WORKFLOW_FOLD_PATCH_V71_W1` (0.4.71 track)
100+
- `CODEX_WORKFLOW_FOLD_PATCH_V73_W1` (0.4.73 track)
99101
- Patched `zh-CN` locale file (if present) must include: `codex.workflow.label`
100102

101103
## Version mismatch strategy (required AI behavior)
@@ -111,8 +113,8 @@ If the installed `openai.chatgpt` version is not exactly what this repo was test
111113
- Read the three target files and see whether the patch anchors can be applied (the installer script will report failures)
112114
2. Route by version first:
113115
- `<=0.4.70`: continue with legacy track.
114-
- `==0.4.71`: route to `v71-plus` track.
115-
- `>0.4.71`: fail fast with unsupported-version message.
116+
- `==0.4.71` or `==0.4.73`: route to `v71-plus` profile track.
117+
- Other versions: fail fast with unsupported-version message.
116118

117119
3. For active track decide compatibility:
118120
- If the same patch logic can be applied safely (anchors found; verification markers appear after patch), proceed.

docs/INSTALL_FOR_AI.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,32 @@
44
55
**What this does (context for AI):**
66
- `<=0.4.70`: folds pre-final process items into a per-turn `Workflow` row.
7-
- `==0.4.71`: adds click-to-fold on `Worked for {time}` to hide pre-final process items.
7+
- `==0.4.71` / `==0.4.73`: keeps current UI and adds click-to-fold on `Worked for {time}` to hide pre-final process items.
88

99
## Version Routing (important)
1010

1111
This project now separates install tracks by extension version:
1212

1313
- `openai.chatgpt <= 0.4.70`: uses the legacy track (`v70-and-earlier`) and is supported in this phase.
14-
- `openai.chatgpt == 0.4.71`: routes to the `v71-plus` track and is supported in this phase.
15-
- `openai.chatgpt > 0.4.71`: intentionally fails fast (not yet supported in this phase).
14+
- `openai.chatgpt == 0.4.71`: routes to the `v71-plus` profile track and is supported.
15+
- `openai.chatgpt == 0.4.73`: routes to the `v71-plus` profile track and is supported.
16+
- Any other version: fails fast until a matching profile is added.
1617

1718
Default behavior: the main installer entry (`docs/remote/codex-folding-install.mjs`) auto-detects the local extension version and routes accordingly.
1819

1920
## Canonical URLs (this is the source of truth)
2021

2122
- This file: `https://github.com/MaxMiksa/Codex-Workflow-Folder/blob/main/docs/INSTALL_FOR_AI.md`
2223
- Remote install script (single file):
23-
- Latest release (pinned): `https://raw.githubusercontent.com/MaxMiksa/Codex-Workflow-Folder/v1.2.0/docs/remote/codex-folding-install.mjs`
24+
- Latest release (pinned): `https://raw.githubusercontent.com/MaxMiksa/Codex-Workflow-Folder/v1.3.0/docs/remote/codex-folding-install.mjs`
2425
- Latest main (recommended for cross-platform): `https://raw.githubusercontent.com/MaxMiksa/Codex-Workflow-Folder/main/docs/remote/codex-folding-install.mjs`
2526
- Legacy direct track (`<=0.4.70`): `https://raw.githubusercontent.com/MaxMiksa/Codex-Workflow-Folder/main/docs/remote/v70-and-earlier/codex-folding-install.mjs`
26-
- 0.4.71 direct track: `https://raw.githubusercontent.com/MaxMiksa/Codex-Workflow-Folder/main/docs/remote/v71-plus/codex-folding-install.mjs`
27+
- 0.4.71 / 0.4.73 direct profile track: `https://raw.githubusercontent.com/MaxMiksa/Codex-Workflow-Folder/main/docs/remote/v71-plus/codex-folding-install.mjs`
2728
- Remote uninstall script (single file):
28-
- Latest release (pinned): `https://raw.githubusercontent.com/MaxMiksa/Codex-Workflow-Folder/v1.2.0/docs/remote/codex-folding-uninstall.mjs`
29+
- Latest release (pinned): `https://raw.githubusercontent.com/MaxMiksa/Codex-Workflow-Folder/v1.3.0/docs/remote/codex-folding-uninstall.mjs`
2930
- Latest main (recommended for cross-platform): `https://raw.githubusercontent.com/MaxMiksa/Codex-Workflow-Folder/main/docs/remote/codex-folding-uninstall.mjs`
3031
- Legacy direct track (`<=0.4.70`): `https://raw.githubusercontent.com/MaxMiksa/Codex-Workflow-Folder/main/docs/remote/v70-and-earlier/codex-folding-uninstall.mjs`
31-
- 0.4.71 direct track: `https://raw.githubusercontent.com/MaxMiksa/Codex-Workflow-Folder/main/docs/remote/v71-plus/codex-folding-uninstall.mjs`
32+
- 0.4.71 / 0.4.73 direct profile track: `https://raw.githubusercontent.com/MaxMiksa/Codex-Workflow-Folder/main/docs/remote/v71-plus/codex-folding-uninstall.mjs`
3233
- Manual (for user to save): `https://raw.githubusercontent.com/MaxMiksa/Codex-Workflow-Folder/main/docs/AI_OPERATOR_MANUAL.md`
3334

3435
## Preconditions
@@ -76,15 +77,16 @@ Default behavior: the main installer entry (`docs/remote/codex-folding-install.m
7677
- Prints absolute paths of modified files and backups
7778
- Auto-routing result:
7879
- If version is `<=0.4.70`: continues with legacy installer logic.
79-
- If version is `==0.4.71`: applies the `Worked for` click-to-fold patch.
80-
- If version is `>0.4.71`: exits with explicit unsupported-version error.
80+
- If version is `==0.4.71`: applies profile marker `CODEX_WORKFLOW_FOLD_PATCH_V71_W1`.
81+
- If version is `==0.4.73`: applies profile marker `CODEX_WORKFLOW_FOLD_PATCH_V73_W1`.
82+
- Otherwise: exits with explicit unsupported-version error.
8183

8284
### Ambiguity resolution flags
8385

8486
- Default mode is strict (`--strictTarget=true`), which avoids silent wrong-target patching.
8587
- Preferred fix when install fails due to ambiguity:
86-
- Windows: `node "$env:TEMP\\codex-folding-install.mjs" --extDir "C:\\Users\\<YOU>\\.vscode\\extensions\\openai.chatgpt-0.4.71-win32-x64"`
87-
- macOS/Linux: `node "${TMPDIR:-/tmp}/codex-folding-install.mjs" --extDir "$HOME/.vscode/extensions/openai.chatgpt-0.4.71-<platform>"`
88+
- Windows: `node "$env:TEMP\\codex-folding-install.mjs" --extDir "C:\\Users\\<YOU>\\.vscode\\extensions\\openai.chatgpt-<VERSION>-win32-x64"`
89+
- macOS/Linux: `node "${TMPDIR:-/tmp}/codex-folding-install.mjs" --extDir "$HOME/.vscode/extensions/openai.chatgpt-<VERSION>-<platform>"`
8890
- Emergency fallback (not recommended): pass `--strictTarget=false` to allow legacy heuristic fallback.
8991

9092
3. Restart VS Code
@@ -121,7 +123,7 @@ This project does **not** use `~/.codex/config.toml` anymore. The behavior is co
121123
Use these only when you explicitly want to bypass auto-routing:
122124

123125
- Legacy (`<=0.4.70`): `docs/remote/v70-and-earlier/codex-folding-install.mjs`
124-
- 0.4.71 direct: `docs/remote/v71-plus/codex-folding-install.mjs`
126+
- v71-plus profile track (`0.4.71` / `0.4.73`): `docs/remote/v71-plus/codex-folding-install.mjs`
125127

126128

127129

docs/INSTALL_FOR_AI_v71-plus.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Install Guide (Direct Track) — `openai.chatgpt == 0.4.71`
1+
# Install Guide (Direct Track) — `openai.chatgpt == 0.4.71 | 0.4.73`
22

3-
> Use this direct track only when your local extension version is exactly `0.4.71`.
3+
> Use this direct track only when your local extension version is exactly `0.4.71` or `0.4.73`.
44
55
## Canonical script
66

@@ -15,7 +15,7 @@
1515

1616
## Strict version guard
1717

18-
- This direct script **fails fast** unless the installed extension is exactly `openai.chatgpt@0.4.71`.
18+
- This direct script **fails fast** unless the installed extension is exactly `openai.chatgpt@0.4.71` or `openai.chatgpt@0.4.73`.
1919
- For automatic routing by version, use `docs/INSTALL_FOR_AI.md`.
2020

2121
## Steps
@@ -44,5 +44,7 @@
4444

4545
## Verification hints
4646

47-
- Patched webview marker includes: `CODEX_WORKFLOW_FOLD_PATCH_V71_W1`
47+
- Patched webview marker includes:
48+
- `CODEX_WORKFLOW_FOLD_PATCH_V71_W1` (for `0.4.71`)
49+
- `CODEX_WORKFLOW_FOLD_PATCH_V73_W1` (for `0.4.73`)
4850
- Host marker includes: `CODEX_WORKFLOW_FOLD_HOST_V7`

docs/UNINSTALL_FOR_AI.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,20 @@
77
This project now separates uninstall tracks by extension version:
88

99
- `openai.chatgpt <= 0.4.70`: uses the legacy track (`v70-and-earlier`) and is supported in this phase.
10-
- `openai.chatgpt == 0.4.71`: routes to the `v71-plus` track and is supported in this phase.
11-
- `openai.chatgpt > 0.4.71`: intentionally fails fast (not yet supported in this phase).
10+
- `openai.chatgpt == 0.4.71`: routes to the `v71-plus` profile track and is supported.
11+
- `openai.chatgpt == 0.4.73`: routes to the `v71-plus` profile track and is supported.
12+
- Any other version: fails fast until a matching profile is added.
1213

1314
Default behavior: the main uninstaller entry (`docs/remote/codex-folding-uninstall.mjs`) auto-detects the local extension version and routes accordingly.
1415

1516
## Canonical URLs (this is the source of truth)
1617

1718
- This file: `https://github.com/MaxMiksa/Codex-Workflow-Folder/blob/main/docs/UNINSTALL_FOR_AI.md`
1819
- Remote uninstall script (single file):
19-
- Latest release (pinned): `https://raw.githubusercontent.com/MaxMiksa/Codex-Workflow-Folder/v1.2.0/docs/remote/codex-folding-uninstall.mjs`
20+
- Latest release (pinned): `https://raw.githubusercontent.com/MaxMiksa/Codex-Workflow-Folder/v1.3.0/docs/remote/codex-folding-uninstall.mjs`
2021
- Latest main (recommended for cross-platform): `https://raw.githubusercontent.com/MaxMiksa/Codex-Workflow-Folder/main/docs/remote/codex-folding-uninstall.mjs`
2122
- Legacy direct track (`<=0.4.70`): `https://raw.githubusercontent.com/MaxMiksa/Codex-Workflow-Folder/main/docs/remote/v70-and-earlier/codex-folding-uninstall.mjs`
22-
- 0.4.71 direct track: `https://raw.githubusercontent.com/MaxMiksa/Codex-Workflow-Folder/main/docs/remote/v71-plus/codex-folding-uninstall.mjs`
23+
- 0.4.71 / 0.4.73 direct profile track: `https://raw.githubusercontent.com/MaxMiksa/Codex-Workflow-Folder/main/docs/remote/v71-plus/codex-folding-uninstall.mjs`
2324
- Manual (for user to save): `https://raw.githubusercontent.com/MaxMiksa/Codex-Workflow-Folder/main/docs/AI_OPERATOR_MANUAL.md`
2425

2526
## Preconditions
@@ -65,15 +66,16 @@ Default behavior: the main uninstaller entry (`docs/remote/codex-folding-uninsta
6566
- Prints absolute paths of restored files
6667
- Auto-routing result:
6768
- If version is `<=0.4.70`: continues with legacy uninstall logic.
68-
- If version is `==0.4.71`: continues with `v71-plus` uninstall logic.
69-
- If version is `>0.4.71`: exits with explicit unsupported-version error.
69+
- If version is `==0.4.71`: continues with `v71-plus` uninstall profile.
70+
- If version is `==0.4.73`: continues with `v71-plus` uninstall profile.
71+
- Otherwise: exits with explicit unsupported-version error.
7072

7173
### Ambiguity resolution flags
7274

7375
- Default mode is strict (`--strictTarget=true`).
7476
- Preferred fix when uninstall fails due to ambiguity:
75-
- Windows: `node "$env:TEMP\\codex-folding-uninstall.mjs" --extDir "C:\\Users\\<YOU>\\.vscode\\extensions\\openai.chatgpt-0.4.71-win32-x64"`
76-
- macOS/Linux: `node "${TMPDIR:-/tmp}/codex-folding-uninstall.mjs" --extDir "$HOME/.vscode/extensions/openai.chatgpt-0.4.71-<platform>"`
77+
- Windows: `node "$env:TEMP\\codex-folding-uninstall.mjs" --extDir "C:\\Users\\<YOU>\\.vscode\\extensions\\openai.chatgpt-<VERSION>-win32-x64"`
78+
- macOS/Linux: `node "${TMPDIR:-/tmp}/codex-folding-uninstall.mjs" --extDir "$HOME/.vscode/extensions/openai.chatgpt-<VERSION>-<platform>"`
7779
- Emergency fallback (not recommended): pass `--strictTarget=false`.
7880

7981
3. Restart VS Code
@@ -89,6 +91,6 @@ Default behavior: the main uninstaller entry (`docs/remote/codex-folding-uninsta
8991
Use these only when you explicitly want to bypass auto-routing:
9092

9193
- Legacy (`<=0.4.70`): `docs/remote/v70-and-earlier/codex-folding-uninstall.mjs`
92-
- 0.4.71 direct: `docs/remote/v71-plus/codex-folding-uninstall.mjs`
94+
- v71-plus profile track (`0.4.71` / `0.4.73`): `docs/remote/v71-plus/codex-folding-uninstall.mjs`
9395

9496

0 commit comments

Comments
 (0)