Skip to content

Commit 1b63edb

Browse files
committed
chore: release v1.0.0
1 parent 58eb6bd commit 1b63edb

16 files changed

Lines changed: 95 additions & 37 deletions

File tree

Presentation/demo.png

-70 Bytes
Binary file not shown.

Presentation/demo1.png

126 KB
Loading

Presentation/demo2.png

145 KB
Loading

README-zh.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Codex Folding | [English](README.md)
22

3-
[![版本](https://img.shields.io/badge/版本-v0.8.0-blue.svg)](#)
3+
[![版本](https://img.shields.io/badge/版本-v1.0.0-blue.svg)](#)
44
[![VS%20Code](https://img.shields.io/badge/VS%20Code-扩展-007ACC.svg)](#)
55
[![许可证](https://img.shields.io/badge/许可证-MIT-green.svg)](LICENSE)
66

@@ -10,9 +10,16 @@
1010

1111
这是一个“补丁式”小插件:把 Codex VS Code 扩展中“最终回答之前的所有过程”折叠进一行 `Workflow`,展开后保持原有展示,不做额外改造。
1212

13-
<p align="center">
14-
<img src="Presentation/demo.png" width="720" alt="Workflow 折叠演示(占位图)" />
15-
</p>
13+
<table align="center">
14+
<tr>
15+
<td>
16+
<img src="Presentation/demo1.png" height="320" alt="Workflow 折叠演示 1" />
17+
</td>
18+
<td>
19+
<img src="Presentation/demo2.png" height="320" alt="Workflow 折叠演示 2" />
20+
</td>
21+
</tr>
22+
</table>
1623

1724
## 功能特性
1825

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Codex Folding | [中文说明](README-zh.md)
22

3-
[![Version](https://img.shields.io/badge/version-v0.8.0-blue.svg)](#)
3+
[![Version](https://img.shields.io/badge/version-v1.0.0-blue.svg)](#)
44
[![VS%20Code](https://img.shields.io/badge/VS%20Code-extension-007ACC.svg)](#)
55
[![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
66

@@ -10,9 +10,16 @@
1010

1111
A small patch-based add-on that folds the Codex VS Code extension’s pre-final “workflow” into a single expandable line, without changing the original rendering when expanded.
1212

13-
<p align="center">
14-
<img src="Presentation/demo.png" width="720" alt="Workflow folding demo (placeholder)" />
15-
</p>
13+
<table align="center">
14+
<tr>
15+
<td>
16+
<img src="Presentation/demo1.png" height="320" alt="Workflow folding demo 1" />
17+
</td>
18+
<td>
19+
<img src="Presentation/demo2.png" height="320" alt="Workflow folding demo 2" />
20+
</td>
21+
</tr>
22+
</table>
1623

1724
## Features
1825

docs/AI_OPERATOR_MANUAL.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ It folds *all pre-final process items* (thinking/tool calls/tool output/status/e
1111
- Manual (this file): `https://raw.githubusercontent.com/MaxMiksa/Codex-Folding/main/docs/AI_OPERATOR_MANUAL.md`
1212
- Install guide: `https://github.com/MaxMiksa/Codex-Folding/blob/main/docs/INSTALL_FOR_AI.md`
1313
- Uninstall guide: `https://github.com/MaxMiksa/Codex-Folding/blob/main/docs/UNINSTALL_FOR_AI.md`
14-
- Remote install script (pinned): `https://raw.githubusercontent.com/MaxMiksa/Codex-Folding/v0.8.0/docs/remote/codex-folding-install.mjs`
15-
- Remote uninstall script (pinned): `https://raw.githubusercontent.com/MaxMiksa/Codex-Folding/v0.8.0/docs/remote/codex-folding-uninstall.mjs`
16-
- If `raw.githubusercontent.com` is blocked: `https://github.com/MaxMiksa/Codex-Folding/raw/v0.8.0/docs/remote/codex-folding-install.mjs`
17-
- If `raw.githubusercontent.com` is blocked: `https://github.com/MaxMiksa/Codex-Folding/raw/v0.8.0/docs/remote/codex-folding-uninstall.mjs`
14+
- Remote install script (pinned): `https://raw.githubusercontent.com/MaxMiksa/Codex-Folding/v1.0.0/docs/remote/codex-folding-install.mjs`
15+
- Remote uninstall script (pinned): `https://raw.githubusercontent.com/MaxMiksa/Codex-Folding/v1.0.0/docs/remote/codex-folding-uninstall.mjs`
16+
- If `raw.githubusercontent.com` is blocked: `https://github.com/MaxMiksa/Codex-Folding/raw/v1.0.0/docs/remote/codex-folding-install.mjs`
17+
- If `raw.githubusercontent.com` is blocked: `https://github.com/MaxMiksa/Codex-Folding/raw/v1.0.0/docs/remote/codex-folding-uninstall.mjs`
1818

1919
## Goal / Scope (strict)
2020

@@ -62,7 +62,7 @@ Do not clone. Use the remote scripts only:
6262

6363
- Patched host file must include: `codex-workflow-collapse`
6464
- Patched webview file must include: `CODEX_WORKFLOW_FOLD_PATCH`
65-
- Patched webview file should include: `CODEX_WORKFLOW_FOLD_PATCH_V5` (fixes mapState return-shape compatibility)
65+
- Patched webview file should include: `CODEX_WORKFLOW_FOLD_PATCH_V7` (excludes plan items; improves UI + timer; fixes Done detection)
6666
- Patched `zh-CN` locale file must include: `codex.workflow.label`
6767

6868
## Version mismatch strategy (required AI behavior)

docs/INSTALL_FOR_AI.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
## Canonical URLs (this is the source of truth)
88

99
- This file: `https://github.com/MaxMiksa/Codex-Folding/blob/main/docs/INSTALL_FOR_AI.md`
10-
- Remote install script (single file, pinned): `https://raw.githubusercontent.com/MaxMiksa/Codex-Folding/v0.8.0/docs/remote/codex-folding-install.mjs`
11-
- Remote uninstall script (single file, pinned): `https://raw.githubusercontent.com/MaxMiksa/Codex-Folding/v0.8.0/docs/remote/codex-folding-uninstall.mjs`
10+
- Remote install script (single file, pinned): `https://raw.githubusercontent.com/MaxMiksa/Codex-Folding/v1.0.0/docs/remote/codex-folding-install.mjs`
11+
- Remote uninstall script (single file, pinned): `https://raw.githubusercontent.com/MaxMiksa/Codex-Folding/v1.0.0/docs/remote/codex-folding-uninstall.mjs`
1212
- Manual (for user to save): `https://raw.githubusercontent.com/MaxMiksa/Codex-Folding/main/docs/AI_OPERATOR_MANUAL.md`
1313

1414
## Preconditions
@@ -29,9 +29,9 @@
2929

3030
1. Download the remote install script
3131
- Save to a temporary folder:
32-
- `Invoke-WebRequest -Uri "https://raw.githubusercontent.com/MaxMiksa/Codex-Folding/v0.8.0/docs/remote/codex-folding-install.mjs" -OutFile "$env:TEMP\\codex-folding-install.mjs"`
32+
- `Invoke-WebRequest -Uri "https://raw.githubusercontent.com/MaxMiksa/Codex-Folding/v1.0.0/docs/remote/codex-folding-install.mjs" -OutFile "$env:TEMP\\codex-folding-install.mjs"`
3333
- If `raw.githubusercontent.com` is blocked in the user’s network, use GitHub’s alternative raw endpoint:
34-
- `Invoke-WebRequest -Uri "https://github.com/MaxMiksa/Codex-Folding/raw/v0.8.0/docs/remote/codex-folding-install.mjs" -OutFile "$env:TEMP\\codex-folding-install.mjs"`
34+
- `Invoke-WebRequest -Uri "https://github.com/MaxMiksa/Codex-Folding/raw/v1.0.0/docs/remote/codex-folding-install.mjs" -OutFile "$env:TEMP\\codex-folding-install.mjs"`
3535

3636
2. Run install script (patches extension + saves manual)
3737
- `node "$env:TEMP\\codex-folding-install.mjs"`

docs/UNINSTALL_FOR_AI.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
## Canonical URLs (this is the source of truth)
66

77
- This file: `https://github.com/MaxMiksa/Codex-Folding/blob/main/docs/UNINSTALL_FOR_AI.md`
8-
- Remote uninstall script (single file, pinned): `https://raw.githubusercontent.com/MaxMiksa/Codex-Folding/v0.8.0/docs/remote/codex-folding-uninstall.mjs`
8+
- Remote uninstall script (single file, pinned): `https://raw.githubusercontent.com/MaxMiksa/Codex-Folding/v1.0.0/docs/remote/codex-folding-uninstall.mjs`
99
- Manual (for user to save): `https://raw.githubusercontent.com/MaxMiksa/Codex-Folding/main/docs/AI_OPERATOR_MANUAL.md`
1010

1111
## Preconditions
@@ -24,9 +24,9 @@
2424
## Steps (what to do)
2525

2626
1. Download the remote uninstall script
27-
- `Invoke-WebRequest -Uri "https://raw.githubusercontent.com/MaxMiksa/Codex-Folding/v0.8.0/docs/remote/codex-folding-uninstall.mjs" -OutFile "$env:TEMP\\codex-folding-uninstall.mjs"`
27+
- `Invoke-WebRequest -Uri "https://raw.githubusercontent.com/MaxMiksa/Codex-Folding/v1.0.0/docs/remote/codex-folding-uninstall.mjs" -OutFile "$env:TEMP\\codex-folding-uninstall.mjs"`
2828
- If `raw.githubusercontent.com` is blocked in the user’s network, use GitHub’s alternative raw endpoint:
29-
- `Invoke-WebRequest -Uri "https://github.com/MaxMiksa/Codex-Folding/raw/v0.8.0/docs/remote/codex-folding-uninstall.mjs" -OutFile "$env:TEMP\\codex-folding-uninstall.mjs"`
29+
- `Invoke-WebRequest -Uri "https://github.com/MaxMiksa/Codex-Folding/raw/v1.0.0/docs/remote/codex-folding-uninstall.mjs" -OutFile "$env:TEMP\\codex-folding-uninstall.mjs"`
3030

3131
2. Run uninstall script (restores installed extension artifacts from `*.bak`)
3232
- `node "$env:TEMP\\codex-folding-uninstall.mjs"`

docs/patch-profiles/openai.chatgpt/0.4.66-win32-x64/INJECTION_webview_index.js.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Key behaviors:
1919
(injected by the host patch, based on VS Code settings; defaults to `"collapse"` if unset/invalid)
2020

2121
Verification marker:
22-
- The patched file must contain the string: `CODEX_WORKFLOW_FOLD_PATCH_V5`
22+
- The patched file must contain the string: `CODEX_WORKFLOW_FOLD_PATCH_V7`
2323

2424
Injected patch code is owned by this repo and can be reviewed in:
2525
- `tools/workflow-fold/patcher.mjs` (search for `CODEX_WORKFLOW_FOLD_PATCH`)

docs/patch-profiles/openai.chatgpt/0.4.66-win32-x64/MANIFEST.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"kind": "webview",
2020
"relativePath": "webview/assets/index-*.js",
2121
"backupSuffix": ".bak",
22-
"verifyIncludes": ["CODEX_WORKFLOW_FOLD_PATCH_V5"]
22+
"verifyIncludes": ["CODEX_WORKFLOW_FOLD_PATCH_V7"]
2323
},
2424
{
2525
"kind": "i18n",

0 commit comments

Comments
 (0)