tink-harness 1.7.0 → 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tink",
3
3
  "description": "A small harness layer for Claude Code and Codex.",
4
- "version": "1.7.0",
4
+ "version": "1.7.1",
5
5
  "author": {
6
6
  "name": "dotori"
7
7
  }
package/CHANGELOG.md CHANGED
@@ -7,6 +7,13 @@ All notable changes to Tink are tracked here.
7
7
  No unreleased changes yet.
8
8
 
9
9
 
10
+ ## [1.7.1] - 2026-06-09
11
+
12
+ ### Fixed
13
+
14
+ - `Clean Codex picker (--clean-codex-picker)` option is no longer shown in the Advanced options step when both Claude Code and Codex surfaces are selected. The option only applies when switching from Claude Code to Codex exclusively, so showing it for mixed installs allowed users to accidentally delete their Claude Code commands and skills.
15
+
16
+
10
17
  ## [1.7.0] - 2026-06-09
11
18
 
12
19
  ### Changed
package/README.ko.md CHANGED
@@ -8,7 +8,7 @@ Claude Code와 Codex를 위한 작은 하네스 레이어입니다.
8
8
 
9
9
  Tink는 지금 작업에 맞는 하네스를 고르고, 실행 상태를 보이게 만들고, 실제 사용 중 생긴 실패와 피드백으로 하네스 세트를 개선합니다.
10
10
 
11
- **최신 패키지:** v1.7.0installer surface 선택이 단일 선택 프롬프트(Claude Code / Codex / 다)로 바뀌어 선택 상태를 바로 확인할 있습니다. 최신 마이너 릴리스 노트: [v1.7.0](https://github.com/dotoricode/tink-harness/releases/tag/v1.7.0).
11
+ **최신 패키지:** v1.7.1"둘 다" surface "Clean Codex picker"를 함께 선택했을 Claude Code 명령이 삭제되던 버그를 수정합니다. 최신 마이너 릴리스 노트: [v1.7.0](https://github.com/dotoricode/tink-harness/releases/tag/v1.7.0).
12
12
 
13
13
  [English](README.md) · **한국어**
14
14
 
@@ -59,6 +59,12 @@ npx tink-harness@latest update
59
59
 
60
60
  업데이트 후 Codex skill, schema, Windows 경고가 이상해 보이면 `docs/update-troubleshooting.ko.md` 또는 `docs/update-troubleshooting.md`를 확인하세요.
61
61
 
62
+ ## 1.7.1에서 달라진 점
63
+
64
+ 이번 패치는 "둘 다" surface와 "Clean Codex picker"를 함께 선택했을 때 Claude Code 명령과 skill이 삭제되는 문제를 수정합니다.
65
+
66
+ - "둘 다 (Claude Code + Codex)"와 "Clean Codex picker"를 동시에 선택해도 Claude Code 명령과 skill이 삭제되지 않습니다. 이 옵션은 이제 Codex만 선택했을 때만 표시됩니다.
67
+
62
68
  ## 1.7.0에서 달라진 점
63
69
 
64
70
  이번 마이너 릴리스는 installer UX의 두 가지 불편함을 해결합니다.
package/README.md CHANGED
@@ -24,7 +24,7 @@
24
24
  <a href="https://github.com/dotoricode/tink-harness/stargazers"><img src="https://img.shields.io/github/stars/dotoricode/tink-harness?style=social" alt="GitHub stars"></a>
25
25
  </p>
26
26
 
27
- <p><strong>Latest package:</strong> v1.7.0 - Installer surface selection is now a clear single-choice prompt (Claude Code / Codex / Both). Latest minor release notes: <a href="https://github.com/dotoricode/tink-harness/releases/tag/v1.7.0">v1.7.0</a>.</p>
27
+ <p><strong>Latest package:</strong> v1.7.1 - Fixes accidental deletion of Claude Code commands when "Both" surface and "Clean Codex picker" were selected together. Latest minor release notes: <a href="https://github.com/dotoricode/tink-harness/releases/tag/v1.7.0">v1.7.0</a>.</p>
28
28
 
29
29
  **English** · [한국어](README.ko.md)
30
30
 
@@ -124,6 +124,12 @@ To quickly verify the updated install, see `docs/update-verification-recipe.md`
124
124
 
125
125
  If an update looks stale or incomplete, see `docs/update-troubleshooting.md` or `docs/update-troubleshooting.ko.md`.
126
126
 
127
+ ## What's new in 1.7.1
128
+
129
+ This patch fixes a destructive interaction between the "Both" surface selection and "Clean Codex picker."
130
+
131
+ - Selecting "Both (Claude Code + Codex)" and "Clean Codex picker" in the same install/update run no longer deletes the Claude Code commands and skills. The option is now hidden when both surfaces are selected — it only appears when Codex is the sole surface.
132
+
127
133
  ## What's new in 1.7.0
128
134
 
129
135
  This minor release removes two installer UX rough edges.
package/VERSIONING.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Versioning
2
2
 
3
- Current version: `1.7.0`
3
+ Current version: `1.7.1`
4
4
 
5
5
  Tink follows semver from `1.0.0` onward.
6
6
 
package/bin/install.js CHANGED
@@ -255,7 +255,7 @@ function advancedOptionChoices(agent, language) {
255
255
  : 'Risky. Allows overwriting user-modified files.'
256
256
  }
257
257
  ];
258
- if (includesCodex(agent)) {
258
+ if (agent === 'codex') {
259
259
  choices.push({
260
260
  value: 'clean-codex-picker',
261
261
  label: 'Clean Codex picker (--clean-codex-picker)',
@@ -271,7 +271,7 @@ function defaultAdvancedValues(agent) {
271
271
  return [
272
272
  dryRun ? 'dry-run' : null,
273
273
  force ? 'force' : null,
274
- includesCodex(agent) && cleanCodexPicker ? 'clean-codex-picker' : null
274
+ agent === 'codex' && cleanCodexPicker ? 'clean-codex-picker' : null
275
275
  ].filter(Boolean);
276
276
  }
277
277
 
@@ -285,7 +285,7 @@ function optionsSummary(agent) {
285
285
  return [
286
286
  `Preview only (--dry-run): ${dryRun ? 'yes' : 'no'}`,
287
287
  `Overwrite user-modified files (--force): ${force ? 'yes' : 'no'}`,
288
- includesCodex(agent) ? `Clean Codex picker (--clean-codex-picker): ${cleanCodexPicker ? 'yes' : 'no'}` : null
288
+ agent === 'codex' ? `Clean Codex picker (--clean-codex-picker): ${cleanCodexPicker ? 'yes' : 'no'}` : null
289
289
  ].filter(Boolean).join('\n');
290
290
  }
291
291
 
@@ -0,0 +1,20 @@
1
+ # v1.7.1 패치 이력 초안
2
+
3
+ ## 문제
4
+
5
+ - "둘 다 (Claude Code + Codex)" surface를 선택하고 Advanced options에서 "Clean Codex picker"도 함께 선택하면, install/update 실행 중 Claude Code 명령과 skill이 삭제됨.
6
+ - `clean-codex-picker`는 "Claude Code에서 Codex로 전환할 때 기존 Claude Tink surface를 정리하는" 옵션이지만, `agent === 'all'`일 때도 옵션이 표시되어 의도하지 않은 삭제가 가능했음.
7
+ - 실제로 위 조합으로 update를 실행한 사용자의 Claude Code tink 스킬이 전부 사라지는 사고가 발생함.
8
+
9
+ ## 해결
10
+
11
+ - `advancedOptionChoices`에서 `clean-codex-picker` 옵션을 표시하는 조건을 `includesCodex(agent)`에서 `agent === 'codex'`로 변경.
12
+ - `defaultAdvancedValues`와 `optionsSummary`도 동일한 조건으로 통일.
13
+ - "둘 다" 선택 시 clean-codex-picker 옵션 자체가 보이지 않으므로 사용자가 실수할 수 없음.
14
+
15
+ ## 검증
16
+
17
+ - `npm test`로 회귀 테스트 통과 확인. `agent === 'all'` dry-run 시 "Clean Codex picker" 라인이 출력되지 않음을 검증.
18
+ - `git diff --check` 이상 없음.
19
+ - `claude plugin validate` 통과.
20
+ - `npm pack --dry-run --json` 통과.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tink-harness",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "Self-growing harnesses for Claude Code and Codex.",
5
5
  "license": "MIT",
6
6
  "type": "module",