chore(npm): rebrand packages to @opengsd scope (#127)

* chore(npm): rebrand packages to @opengsd scope

Rename:
- get-shit-done-redux → @opengsd/get-shit-done-redux
- @gsd-redux/sdk → @opengsd/gsd-sdk

Add publishConfig.access=public for first-time scoped publish.
CLI binary names (get-shit-done-redux, gsd-sdk, gsd-tools) unchanged.

Sweeps install commands, npx invocations, CI publish/version-check
workflows, tests, docs, READMEs (all translations), and the
PACKAGE_NAME constant in check-latest-version.

Bumps qs 6.15.1 → 6.15.2 to clear a moderate advisory surfaced by
the audit-clean test (GHSA-q8mj-m7cp-5q26).

Closes #126

* chore: pin 2.0.0 release + remove canary workflow

- Bump both packages 1.50.0-canary.0 → 2.0.0 for first @opengsd publish
- Remove .github/workflows/canary.yml and canary dist-tag handling in
  release.yml / release-sdk.yml
- Drop canary section from VERSIONING.md

Refs #126

* chore: address review findings + harden tarball-smoke timeout

- .changeset/opengsd-org-rename.md: match project's custom
  parse.cjs frontmatter (type: Changed / pr: 127); the scoped
  @changesets/cli keys were silently rejected.
- CONTEXT.md: drop two canary-stream policy lines and a dangling
  DEFECT.CANARY-VERSION-LEAK.cross-ref now that canary.yml is gone.
- tests/release-tarball-smoke.install.test.cjs: pass
  timeout: 600_000 for npm pack + global install; the 3-minute
  runNpm default was timing out on slower Docker hosts (cartographer).

Refs #126

* fix(sdk): add missing type/runtime devDependencies for build

prepublishOnly invokes tsc which couldn't resolve @types/node,
@types/ws, or synckit. They had been hoisted from root but were
not declared in sdk/'s own package.json — first publish from a
clean SDK tree failed.

Refs #126

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix(ci): use npm pack stdout instead of glob to find tarball

`npm pack --silent` for a scoped package (@opengsd/get-shit-done-redux)
produces `opengsd-get-shit-done-redux-*.tgz`, not `get-shit-done-redux-*.tgz`.
Capture the filename from stdout instead of a hardcoded glob so the step
works regardless of package name format.

Fixes smoke (ubuntu-latest, 22, false) CI failure.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* ci: treat workflow-file changes as test-skip eligible

`.github/workflows/install-smoke.yml` (and other workflow files)
were in neither `test.yml` paths nor `test-skip.yml` paths-ignore,
so neither workflow ran on a workflow-only commit — leaving the
required test-skip check perpetually missing.

Refs #126

* chore: reset version to 1.0.0 for first @opengsd publish

Nothing has been published yet under the @opengsd scope, so the
inaugural release uses 1.0.0 rather than 2.0.0. The "major bump"
in the changeset reflects the breaking install-command change for
users migrating from the prior unscoped `get-shit-done-redux`, not
a numeric continuation from a 1.x line under the new identity.

Refs #126

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Tom Boucher
2026-05-22 16:22:41 -04:00
committed by GitHub
parent 76dd22deed
commit 334a64168e
95 changed files with 551 additions and 694 deletions

View File

@@ -6,8 +6,8 @@
**解决上下文衰减 —— 即 Claude 填充上下文窗口时发生的质量退化问题。**
[![npm version](https://img.shields.io/npm/v/get-shit-done-redux?style=for-the-badge&logo=npm&logoColor=white&color=CB3837)](https://www.npmjs.com/package/get-shit-done-redux)
[![npm downloads](https://img.shields.io/npm/dm/get-shit-done-redux?style=for-the-badge&logo=npm&logoColor=white&color=CB3837)](https://www.npmjs.com/package/get-shit-done-redux)
[![npm version](https://img.shields.io/npm/v/%40opengsd%2Fget-shit-done-redux?style=for-the-badge&logo=npm&logoColor=white&color=CB3837)](https://www.npmjs.com/package/@opengsd/get-shit-done-redux)
[![npm downloads](https://img.shields.io/npm/dm/%40opengsd%2Fget-shit-done-redux?style=for-the-badge&logo=npm&logoColor=white&color=CB3837)](https://www.npmjs.com/package/@opengsd/get-shit-done-redux)
[![Tests](https://img.shields.io/github/actions/workflow/status/GSD-redux/get-shit-done-redux/test.yml?branch=main&style=for-the-badge&logo=github&label=Tests)](https://github.com/GSD-redux/get-shit-done-redux/actions/workflows/test.yml)
[![Discord](https://img.shields.io/badge/Discord-Join-5865F2?style=for-the-badge&logo=discord&logoColor=white)](https://discord.gg/mYgfVNfA2r)
[![X (Twitter)](https://img.shields.io/badge/X-@gsd__foundation-000000?style=for-the-badge&logo=x&logoColor=white)](https://x.com/gsd_foundation)
@@ -18,7 +18,7 @@
<br>
```bash
npx get-shit-done-redux@latest
npx @opengsd/get-shit-done-redux@latest
```
**支持 Mac、Windows 和 Linux。**
@@ -78,7 +78,7 @@ GSD 解决了这个问题。它是让 Claude Code 变得可靠的上下文工程
## 快速开始
```bash
npx get-shit-done-redux@latest
npx @opengsd/get-shit-done-redux@latest
```
安装程序会提示你选择:
@@ -99,7 +99,7 @@ npx get-shit-done-redux@latest
GSD 快速迭代。定期更新:
```bash
npx get-shit-done-redux@latest
npx @opengsd/get-shit-done-redux@latest
```
<details>
@@ -107,25 +107,25 @@ npx get-shit-done-redux@latest
```bash
# Claude Code
npx get-shit-done-redux --claude --global # 安装到 ~/.claude/
npx get-shit-done-redux --claude --local # 安装到 ./.claude/
npx @opengsd/get-shit-done-redux --claude --global # 安装到 ~/.claude/
npx @opengsd/get-shit-done-redux --claude --local # 安装到 ./.claude/
# OpenCode
npx get-shit-done-redux --opencode --global # 安装到 ~/.config/opencode/
npx @opengsd/get-shit-done-redux --opencode --global # 安装到 ~/.config/opencode/
# Gemini CLI
npx get-shit-done-redux --gemini --global # 安装到 ~/.gemini/
npx @opengsd/get-shit-done-redux --gemini --global # 安装到 ~/.gemini/
# Kilo
npx get-shit-done-redux --kilo --global # 安装到 ~/.config/kilo/
npx get-shit-done-redux --kilo --local # 安装到 ./.kilo/
npx @opengsd/get-shit-done-redux --kilo --global # 安装到 ~/.config/kilo/
npx @opengsd/get-shit-done-redux --kilo --local # 安装到 ./.kilo/
# Codex
npx get-shit-done-redux --codex --global # 安装到 ~/.codex/
npx get-shit-done-redux --codex --local # 安装到 ./.codex/
npx @opengsd/get-shit-done-redux --codex --global # 安装到 ~/.codex/
npx @opengsd/get-shit-done-redux --codex --local # 安装到 ./.codex/
# 所有运行时
npx get-shit-done-redux --all --global # 安装到所有目录
npx @opengsd/get-shit-done-redux --all --global # 安装到所有目录
```
使用 `--global`(`-g`)或 `--local`(`-l`)跳过位置提示。
@@ -652,18 +652,18 @@ GSD 的代码库映射和分析命令读取文件以了解你的项目。**保
**命令没有按预期工作?**
- 运行 `/gsd-help` 验证安装
- 重新运行 `npx get-shit-done-redux` 重新安装
- 重新运行 `npx @opengsd/get-shit-done-redux` 重新安装
**更新到最新版本?**
```bash
npx get-shit-done-redux@latest
npx @opengsd/get-shit-done-redux@latest
```
**使用 Docker 或容器化环境?**
如果用波浪号路径(`~/.claude/...`)读取文件失败,在安装前设置 `CLAUDE_CONFIG_DIR`:
```bash
CLAUDE_CONFIG_DIR=/home/youruser/.claude npx get-shit-done-redux --global
CLAUDE_CONFIG_DIR=/home/youruser/.claude npx @opengsd/get-shit-done-redux --global
```
这确保使用绝对路径而不是 `~`,后者在容器中可能无法正确展开。
@@ -673,16 +673,16 @@ CLAUDE_CONFIG_DIR=/home/youruser/.claude npx get-shit-done-redux --global
```bash
# 全局安装
npx get-shit-done-redux --claude --global --uninstall
npx get-shit-done-redux --opencode --global --uninstall
npx get-shit-done-redux --kilo --global --uninstall
npx get-shit-done-redux --codex --global --uninstall
npx @opengsd/get-shit-done-redux --claude --global --uninstall
npx @opengsd/get-shit-done-redux --opencode --global --uninstall
npx @opengsd/get-shit-done-redux --kilo --global --uninstall
npx @opengsd/get-shit-done-redux --codex --global --uninstall
# 本地安装(当前项目)
npx get-shit-done-redux --claude --local --uninstall
npx get-shit-done-redux --opencode --local --uninstall
npx get-shit-done-redux --kilo --local --uninstall
npx get-shit-done-redux --codex --local --uninstall
npx @opengsd/get-shit-done-redux --claude --local --uninstall
npx @opengsd/get-shit-done-redux --opencode --local --uninstall
npx @opengsd/get-shit-done-redux --kilo --local --uninstall
npx @opengsd/get-shit-done-redux --codex --local --uninstall
```
这删除所有 GSD 命令、代理、钩子和设置,同时保留你的其他配置。
@@ -691,7 +691,7 @@ npx get-shit-done-redux --codex --local --uninstall
## 社区移植
OpenCode、Gemini CLI、Kilo 和 Codex 现在通过 `npx get-shit-done-redux` 原生支持。
OpenCode、Gemini CLI、Kilo 和 Codex 现在通过 `npx @opengsd/get-shit-done-redux` 原生支持。
这些社区移植开创了多运行时支持: