@perrylink/dsh-github 0.4.0 → 0.4.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.
package/README.es.md CHANGED
@@ -223,7 +223,7 @@ pnpm pack # installable tarball
223
223
  pnpm run check:readmes # cross-checks TOC anchors in all 5 READMEs
224
224
  ```
225
225
 
226
- Las pruebas simulan la API de GitHub, la CLI `gh` y git mediante runners inyectados — sin red, sin credenciales reales. `test/security.test.ts` verifica que la cadena del token nunca aparece en ninguna salida visible para el modelo o para el humano. `test/e2e.test.ts` contiene pruebas de humo optativas de la API real que se omiten automáticamente salvo que `GITHUB_TOKEN` esté definido (solo endpoints de solo lectura).
226
+ Las pruebas simulan la API de GitHub, la CLI `gh` y git mediante runners inyectados — sin red, sin credenciales reales. `test/security.test.ts` verifica que la cadena del token nunca aparece en ninguna salida visible para el modelo o para el humano. `test/e2e.test.ts` contiene pruebas de humo optativas de la API real que se omiten automáticamente salvo que `DSH_GITHUB_E2E_TOKEN` esté definido (solo endpoints de solo lectura).
227
227
 
228
228
  ## 🗂 Estructura del repositorio
229
229
 
package/README.hi.md CHANGED
@@ -223,7 +223,7 @@ pnpm pack # installable tarball
223
223
  pnpm run check:readmes # cross-checks TOC anchors in all 5 READMEs
224
224
  ```
225
225
 
226
- Tests injected runners के ज़रिए GitHub API, `gh` CLI, और git को mock करते हैं — कोई network नहीं, कोई real credentials नहीं। `test/security.test.ts` पुष्टि करता है कि token string किसी भी model- या human-visible output में कभी नहीं आता। `test/e2e.test.ts` में opt-in real-API smoke tests हैं जो `GITHUB_TOKEN` सेट न होने पर खुद को skip कर लेते हैं (केवल read-only endpoints)।
226
+ Tests injected runners के ज़रिए GitHub API, `gh` CLI, और git को mock करते हैं — कोई network नहीं, कोई real credentials नहीं। `test/security.test.ts` पुष्टि करता है कि token string किसी भी model- या human-visible output में कभी नहीं आता। `test/e2e.test.ts` में opt-in real-API smoke tests हैं जो `DSH_GITHUB_E2E_TOKEN` सेट न होने पर खुद को skip कर लेते हैं (केवल read-only endpoints)।
227
227
 
228
228
  ## 🗂 रिपॉज़िटरी संरचना
229
229
 
package/README.md CHANGED
@@ -224,7 +224,7 @@ pnpm pack # installable tarball
224
224
  pnpm run check:readmes # cross-checks TOC anchors in all 5 READMEs
225
225
  ```
226
226
 
227
- Tests mock the GitHub API, the `gh` CLI, and git through injected runners — no network, no real credentials. `test/security.test.ts` asserts the token string never appears in any model- or human-visible output. `test/e2e.test.ts` contains opt-in real-API smoke tests that self-skip unless `GITHUB_TOKEN` is set (read-only endpoints only).
227
+ Tests mock the GitHub API, the `gh` CLI, and git through injected runners — no network, no real credentials. `test/security.test.ts` asserts the token string never appears in any model- or human-visible output. `test/e2e.test.ts` contains opt-in real-API smoke tests that self-skip unless `DSH_GITHUB_E2E_TOKEN` is set (read-only endpoints only; the dedicated variable keeps the unit suite hermetic).
228
228
 
229
229
  ## 🗂 Repository layout
230
230
 
package/README.pt.md CHANGED
@@ -223,7 +223,7 @@ pnpm pack # installable tarball
223
223
  pnpm run check:readmes # cross-checks TOC anchors in all 5 READMEs
224
224
  ```
225
225
 
226
- Os testes simulam a API do GitHub, a CLI `gh` e o git por meio de runners injetados — sem rede, sem credenciais reais. `test/security.test.ts` garante que a string do token nunca aparece em nenhuma saída visível ao modelo ou ao humano. `test/e2e.test.ts` contém testes de fumaça optativos da API real que se pulam automaticamente a menos que `GITHUB_TOKEN` esteja definido (apenas endpoints somente leitura).
226
+ Os testes simulam a API do GitHub, a CLI `gh` e o git por meio de runners injetados — sem rede, sem credenciais reais. `test/security.test.ts` garante que a string do token nunca aparece em nenhuma saída visível ao modelo ou ao humano. `test/e2e.test.ts` contém testes de fumaça optativos da API real que se pulam automaticamente a menos que `DSH_GITHUB_E2E_TOKEN` esteja definido (apenas endpoints somente leitura).
227
227
 
228
228
  ## 🗂 Estrutura do repositório
229
229
 
package/README.zh-CN.md CHANGED
@@ -221,7 +221,7 @@ pnpm pack # 可安装 tarball
221
221
  pnpm run check:readmes # 交叉检查 5 个 README 的目录锚点
222
222
  ```
223
223
 
224
- 测试通过注入的 runner mock 掉 GitHub API、`gh` CLI 与 git——不联网、不用真实凭证。`test/security.test.ts` 断言 token 字符串不出现在任何模型或人类可见输出中。`test/e2e.test.ts` 是可选真实 API 冒烟测试:未设置 `GITHUB_TOKEN` 时自动跳过(只打只读端点)。
224
+ 测试通过注入的 runner mock 掉 GitHub API、`gh` CLI 与 git——不联网、不用真实凭证。`test/security.test.ts` 断言 token 字符串不出现在任何模型或人类可见输出中。`test/e2e.test.ts` 是可选真实 API 冒烟测试:未设置 `DSH_GITHUB_E2E_TOKEN` 时自动跳过(只打只读端点;独立变量保证单测套件与环境隔离)。
225
225
 
226
226
  ## 🗂 目录结构
227
227
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@perrylink/dsh-github",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "GitHub integration for DeepSeek Harness: create pull requests, review PRs with background jobs, and read issues — every write gated by human approval",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",