claude-code-station 0.2.1 → 0.2.2
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.
- package/CHANGELOG.md +5 -0
- package/README.md +8 -2
- package/bin/ccs +6 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.2.2] — 2026-06-21
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
- **Version drift** — `bin/ccs` no longer hardcodes the version string. It now reads `version` from `package.json` next to the script, so `ccs --version` always matches the package version. The 0.2.1 publish shipped `VERSION="0.2.0"` because the bash constant was not bumped in tandem with `package.json`. Copy-install layouts (install.sh drops `bin/ccs` into `~/.claude/scripts/` without `package.json`) fall back to `0.0.0-dev`.
|
|
13
|
+
|
|
9
14
|
## [0.2.1] — 2026-06-21
|
|
10
15
|
|
|
11
16
|
### Added (v0.2.1 features)
|
package/README.md
CHANGED
|
@@ -46,10 +46,16 @@ A fast, fzf-powered launcher and session picker for [Claude Code](https://docs.a
|
|
|
46
46
|
### Quick install (npm, recommended) / クイックインストール(npm直接・推奨)
|
|
47
47
|
|
|
48
48
|
```bash
|
|
49
|
-
npm install -g
|
|
49
|
+
npm install -g claude-code-station
|
|
50
50
|
```
|
|
51
51
|
|
|
52
|
-
Installs
|
|
52
|
+
Installs from the [npm registry](https://www.npmjs.com/package/claude-code-station). All runtime deps (`better-sqlite3`, `yaml`, `tsx`) come bundled, and `ccs` lands on your PATH via npm's global bin. / npm レジストリから取得。実行時依存は全部同梱、`ccs` はnpmのグローバルbinでPATHに乗る。
|
|
53
|
+
|
|
54
|
+
#### From GitHub (latest unreleased) / GitHub直接(未リリース版を使いたい時)
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
npm install -g github:indigo-gr/claude-code-station
|
|
58
|
+
```
|
|
53
59
|
|
|
54
60
|
### Copy install (checkout) / コピーインストール
|
|
55
61
|
|
package/bin/ccs
CHANGED
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
set -euo pipefail
|
|
6
6
|
|
|
7
|
-
VERSION="0.2.0"
|
|
8
|
-
|
|
9
7
|
# Resolve $0 through symlinks before taking dirname: `npm install -g
|
|
10
8
|
# github:indigo-gr/claude-code-station` links this script into the global
|
|
11
9
|
# bin dir, and the SYMLINK's dirname has none of the sibling .ts modules.
|
|
@@ -17,6 +15,12 @@ while [[ -L "$SOURCE" ]]; do
|
|
|
17
15
|
done
|
|
18
16
|
SCRIPT_DIR="$(cd -P "$(dirname "$SOURCE")" && pwd)"
|
|
19
17
|
|
|
18
|
+
# Single source of truth: read version from package.json next to bin/.
|
|
19
|
+
# Falls back to "0.0.0-dev" for copy-install layouts (install.sh drops bin/
|
|
20
|
+
# scripts into ~/.claude/scripts/ without package.json) or if the read fails.
|
|
21
|
+
VERSION=$(awk -F'"' '/"version":/{print $4; exit}' "${SCRIPT_DIR}/../package.json" 2>/dev/null)
|
|
22
|
+
VERSION="${VERSION:-0.0.0-dev}"
|
|
23
|
+
|
|
20
24
|
# Prefer a package-local tsx over the PATH one: the npm install brings tsx
|
|
21
25
|
# as a dependency (../node_modules from the package's bin/), and the copy
|
|
22
26
|
# install (install.sh) symlinks node_modules next to the scripts. Fall back
|
package/package.json
CHANGED