dsh-plugin-guide 0.3.9 → 0.3.10

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.
Files changed (82) hide show
  1. package/{README.es.md → README-es.md} +2 -2
  2. package/{README.hi.md → README-hi.md} +2 -2
  3. package/{README.pt.md → README-pt.md} +2 -2
  4. package/{README.zh.md → README-zh.md} +2 -2
  5. package/README.md +2 -2
  6. package/dist/dsh-plugin-dev.js +4 -4
  7. package/guide/links.md +1 -1
  8. package/package.json +7 -7
  9. package/references/harness-repo.md +2 -2
  10. package/references/official-docs/README.i18n.yaml +1 -1
  11. package/references/official-docs/README.md +1 -1
  12. package/references/official-docs/SNAPSHOT.md +1 -1
  13. package/references/official-docs/docs/architecture.zh.md +2 -2
  14. package/references/official-docs/docs/cookbook/adding-a-settings-card.zh.md +1 -1
  15. package/references/official-docs/docs/cookbook/adding-a-tool.zh.md +2 -2
  16. package/references/official-docs/docs/cookbook/adding-an-llm-adapter.zh.md +1 -1
  17. package/references/official-docs/docs/cookbook/extension-cookbook.zh.md +2 -2
  18. package/references/official-docs/docs/deepseek-llm-api-wire-extensions.zh.md +4 -4
  19. package/references/official-docs/docs/development.zh.md +3 -3
  20. package/references/official-docs/docs/i18n/README.i18n.yaml +1 -1
  21. package/references/official-docs/docs/i18n/README.md +1 -1
  22. package/references/official-docs/docs/i18n/style-samples.md +1 -1
  23. package/references/official-docs/docs/i18n/translation-prompt.md +4 -4
  24. package/references/official-docs/docs/i18n/translation-rules.zh.md +2 -2
  25. package/references/official-docs/docs/postmortem/README.i18n.yaml +1 -1
  26. package/references/official-docs/docs/postmortem/README.md +1 -1
  27. package/references/official-docs/docs/postmortem/README.zh.md +1 -1
  28. package/references/official-docs/docs/subsystems/README.i18n.yaml +1 -1
  29. package/references/official-docs/docs/subsystems/README.md +1 -1
  30. package/references/official-docs/docs/subsystems/agent-team.zh.md +1 -1
  31. package/references/official-docs/docs/subsystems/client-modules.zh.md +2 -2
  32. package/references/official-docs/docs/subsystems/commands.zh.md +1 -1
  33. package/references/official-docs/docs/subsystems/compaction.zh.md +2 -2
  34. package/references/official-docs/docs/subsystems/conversation.zh.md +1 -1
  35. package/references/official-docs/docs/subsystems/core.zh.md +3 -3
  36. package/references/official-docs/docs/subsystems/extensions.zh.md +1 -1
  37. package/references/official-docs/docs/subsystems/filesystem.zh.md +1 -1
  38. package/references/official-docs/docs/subsystems/goal.zh.md +1 -1
  39. package/references/official-docs/docs/subsystems/invariants.zh.md +2 -2
  40. package/references/official-docs/docs/subsystems/jobs.zh.md +1 -1
  41. package/references/official-docs/docs/subsystems/llm-streaming.zh.md +2 -2
  42. package/references/official-docs/docs/subsystems/permission-presets.zh.md +1 -1
  43. package/references/official-docs/docs/subsystems/plan.zh.md +2 -2
  44. package/references/official-docs/docs/subsystems/sandbox.zh.md +2 -2
  45. package/references/official-docs/docs/subsystems/schedule.zh.md +2 -2
  46. package/references/official-docs/docs/subsystems/scope.zh.md +1 -1
  47. package/references/official-docs/docs/subsystems/session-projection.zh.md +1 -1
  48. package/references/official-docs/docs/subsystems/session-telemetry.zh.md +2 -2
  49. package/references/official-docs/docs/subsystems/session.zh.md +1 -1
  50. package/references/official-docs/docs/subsystems/shell.zh.md +1 -1
  51. package/references/official-docs/docs/subsystems/slots.zh.md +1 -1
  52. package/references/official-docs/docs/subsystems/storage.zh.md +2 -2
  53. package/references/official-docs/docs/subsystems/subprocess.zh.md +1 -1
  54. package/references/official-docs/docs/subsystems/system-prompt.zh.md +1 -1
  55. package/references/official-docs/docs/subsystems/todo.zh.md +1 -1
  56. package/references/official-docs/docs/subsystems/web-client.zh.md +3 -3
  57. package/references/official-docs/docs/subsystems/web-server.zh.md +1 -1
  58. package/references/official-docs/docs/subsystems/workflow.zh.md +2 -2
  59. package/references/official-docs/docs/testing.zh.md +1 -1
  60. package/references/official-docs/docs/user/develop/basic/index.zh.md +1 -1
  61. package/references/official-docs/docs/user/develop/basic/publish.zh.md +3 -3
  62. package/references/official-docs/docs/user/develop/practice/dynamic-cordis.zh.md +2 -2
  63. package/references/official-docs/docs/user/guide/index.zh.md +2 -2
  64. package/references/official-docs/docs/user/guide/mcp-memory.zh.md +1 -1
  65. package/references/official-docs/docs/user/guide/providers.zh.md +2 -2
  66. package/references/official-docs/docs/user/guide/python-sdk.zh.md +1 -1
  67. package/references/official-docs/docs/web-styling.zh.md +1 -1
  68. package/references/official-docs/packages/README.md +1 -1
  69. package/references/sources.md +2 -2
  70. package/references/website-pages.md +2 -2
  71. package/scripts/check-readme-sync.mjs +4 -4
  72. package/scripts/sync-official-docs.ps1 +4 -4
  73. package/scripts/verify-artifacts.mjs +1 -1
  74. package/scripts/verify-kit.ps1 +2 -2
  75. /package/templates/js/{README.es.md → README-es.md} +0 -0
  76. /package/templates/js/{README.hi.md → README-hi.md} +0 -0
  77. /package/templates/js/{README.pt.md → README-pt.md} +0 -0
  78. /package/templates/js/{README.zh.md → README-zh.md} +0 -0
  79. /package/templates/ts/{README.es.md → README-es.md} +0 -0
  80. /package/templates/ts/{README.hi.md → README-hi.md} +0 -0
  81. /package/templates/ts/{README.pt.md → README-pt.md} +0 -0
  82. /package/templates/ts/{README.zh.md → README-zh.md} +0 -0
@@ -623,7 +623,7 @@
623
623
  ### 5.3 GitHub 仓库文档源文件(web_search 命中,均在 `github.com/deepseek-ai/deepseek-harness`)
624
624
 
625
625
  - `https://github.com/deepseek-ai/deepseek-harness`(主仓库)
626
- - `https://github.com/deepseek-ai/deepseek-harness/blob/master/README.md` / `README.zh.md`
626
+ - `https://github.com/deepseek-ai/deepseek-harness/blob/master/README.md` / `README-zh.md`
627
627
  - `https://github.com/deepseek-ai/deepseek-harness/blob/master/docs/architecture.md` / `.zh.md`
628
628
  - `.../docs/development.md` / `.zh.md`
629
629
  - `.../docs/cordis-primer.md` / `.zh.md`
@@ -634,7 +634,7 @@
634
634
  - `.../docs/user/guide/index.md`
635
635
  - `.../docs/user/develop/basic/index.md`、`config.md`、`publish.md`
636
636
  - `.../packages/mcp/mcp-client/README.md`、`.../packages/llm/llm-deepseek/README.md`、`.../packages/llm/llm-pi-ai/README.md`、`.../packages/bundle/base/README.md`、`.../packages/README.md`、`.../packages/skill/SKILL.md`、`.../packages/hooks/hooks-codex/README.md`
637
- - `.../apps/cli/reference/README.zh.md`
637
+ - `.../apps/cli/reference/README-zh.md`
638
638
 
639
639
  ### 5.4 第三方报道 / 生态(web_search 命中,非官方,内容 [unverified])
640
640
 
@@ -10,10 +10,10 @@ import { fileURLToPath } from 'node:url'
10
10
  const root = path.dirname(path.dirname(fileURLToPath(import.meta.url)))
11
11
  const LANGUAGES = [
12
12
  ['README.md', 'en'],
13
- ['README.zh.md', 'zh'],
14
- ['README.es.md', 'es'],
15
- ['README.pt.md', 'pt'],
16
- ['README.hi.md', 'hi'],
13
+ ['README-zh.md', 'zh'],
14
+ ['README-es.md', 'es'],
15
+ ['README-pt.md', 'pt'],
16
+ ['README-hi.md', 'hi'],
17
17
  ]
18
18
 
19
19
  const headingsOf = (text) => text.split(/\r?\n/u)
@@ -25,10 +25,10 @@ $pruned = 0
25
25
  $mdCount = 0
26
26
  $zhCount = 0
27
27
 
28
- # Sync scope: docs/, root AGENTS.md/BENCHMARK.md/CLAUDE.md/CONTRIBUTING.*/README.zh.md/README.i18n.yaml/THIRD_PARTY_NOTICES.md/LICENSE, packages/AGENTS.md, packages/README.md, vendor/README.md, website/docs.ts
28
+ # Sync scope: docs/, root AGENTS.md/BENCHMARK.md/CLAUDE.md/CONTRIBUTING.*/README-zh.md/README.i18n.yaml/THIRD_PARTY_NOTICES.md/LICENSE, packages/AGENTS.md, packages/README.md, vendor/README.md, website/docs.ts
29
29
  # Upstream root README.md is out of scope: official-docs/README.md is the KB-owned index (the upstream English README snapshot lives in downloads/github/harness/README.md).
30
30
  # Every pathspec uses the :(top) anchor so git's basename-wide matching cannot sweep in same-named symlinks (e.g. the various CLAUDE.md files).
31
- $paths = @(':(top)docs', ':(top)AGENTS.md', ':(top)BENCHMARK.md', ':(top)CONTRIBUTING.md', ':(top)CONTRIBUTING.zh.md', ':(top)CONTRIBUTING.i18n.yaml', ':(top)README.zh.md', ':(top)README.i18n.yaml', ':(top)THIRD_PARTY_NOTICES.md', ':(top)LICENSE', ':(top)packages/AGENTS.md', ':(top)packages/README.md', ':(top)vendor/README.md', ':(top)website/docs.ts')
31
+ $paths = @(':(top)docs', ':(top)AGENTS.md', ':(top)BENCHMARK.md', ':(top)CONTRIBUTING.md', ':(top)CONTRIBUTING.zh.md', ':(top)CONTRIBUTING.i18n.yaml', ':(top)README-zh.md', ':(top)README.i18n.yaml', ':(top)THIRD_PARTY_NOTICES.md', ':(top)LICENSE', ':(top)packages/AGENTS.md', ':(top)packages/README.md', ':(top)vendor/README.md', ':(top)website/docs.ts')
32
32
 
33
33
  if ($gitOk) {
34
34
  # Prefer origin/master, fall back to HEAD - never the working tree (may contain untracked/unpushed content).
@@ -68,7 +68,7 @@ if ($gitOk) {
68
68
 
69
69
  # Keep only in-scope entries at the destination root (drops stale extraction residue and
70
70
  # upstream-deleted root files so the copy stays verbatim).
71
- $rootKeep = @('docs','examples','packages','vendor','AGENTS.md','BENCHMARK.md','CLAUDE.md','CONTRIBUTING.md','CONTRIBUTING.zh.md','CONTRIBUTING.i18n.yaml','LICENSE','README.zh.md','README.i18n.yaml','THIRD_PARTY_NOTICES.md','SNAPSHOT.md','README.md','website-docs.ts')
71
+ $rootKeep = @('docs','examples','packages','vendor','AGENTS.md','BENCHMARK.md','CLAUDE.md','CONTRIBUTING.md','CONTRIBUTING.zh.md','CONTRIBUTING.i18n.yaml','LICENSE','README-zh.md','README.i18n.yaml','THIRD_PARTY_NOTICES.md','SNAPSHOT.md','README.md','website-docs.ts')
72
72
  Get-ChildItem -Force $dest | Where-Object { $rootKeep -notcontains $_.Name } | ForEach-Object {
73
73
  Remove-Item $_.FullName -Recurse -Force; $pruned++
74
74
  }
@@ -127,7 +127,7 @@ $L = @(
127
127
  "| Source ref | ``$ref`` |",
128
128
  "| Source commit | ``$sha`` |",
129
129
  "| Synced at (UTC) | $utc |",
130
- '| Scope | tracked files at the ref: `docs/`, root `AGENTS.md`, `BENCHMARK.md`, `CLAUDE.md` (symlink target text), `CONTRIBUTING.md`/`.zh.md`/`.i18n.yaml`, `README.zh.md`/`.i18n.yaml` (the upstream English `README.md` is not in this dir; its snapshot lives in `downloads/github/harness/README.md`), `THIRD_PARTY_NOTICES.md`, `LICENSE`, `packages/AGENTS.md`, `packages/README.md`, `vendor/README.md`, `website/docs.ts` |',
130
+ '| Scope | tracked files at the ref: `docs/`, root `AGENTS.md`, `BENCHMARK.md`, `CLAUDE.md` (symlink target text), `CONTRIBUTING.md`/`.zh.md`/`.i18n.yaml`, `README-zh.md`/`.i18n.yaml` (the upstream English `README.md` is not in this dir; its snapshot lives in `downloads/github/harness/README.md`), `THIRD_PARTY_NOTICES.md`, `LICENSE`, `packages/AGENTS.md`, `packages/README.md`, `vendor/README.md`, `website/docs.ts` |',
131
131
  "| File counts | docs/: $mdCount md files ($zhCount .zh.md pairs) |",
132
132
  "| Pruned this run | $pruned out-of-scope/upstream-deleted entries |",
133
133
  '',
@@ -55,7 +55,7 @@ try {
55
55
  const result = runNode(['dist/dsh-plugin-dev.js', 'new', 'demo-plugin', '--lang', lang, '--dir', target])
56
56
  const hasEntry = lang === 'ts' ? existsSync(join(target, 'src', 'index.ts')) : existsSync(join(target, 'index.js'))
57
57
  const hasPatch = existsSync(join(target, 'cordis.patch.yml'))
58
- const readmeCount = readdirSync(target).filter((f) => /^README(\.\w{2})?\.md$/.test(f)).length
58
+ const readmeCount = readdirSync(target).filter((f) => /^README(-\w{2})?\.md$/.test(f)).length
59
59
  check(result.status === 0 && hasEntry && hasPatch, `${lang} scaffold produces entry + cordis.patch.yml (exit ${result.status})`)
60
60
  check(readmeCount === 5, `${lang} scaffold produces 5 README languages (${readmeCount})`)
61
61
  }
@@ -10,7 +10,7 @@ $info = New-Object System.Collections.Generic.List[string]
10
10
 
11
11
  # ---- 1) 关键路径 ----
12
12
  $critical = @(
13
- 'SKILL.md','README.md','README.zh.md','README.es.md','README.pt.md','README.hi.md','LICENSE','NOTICE.md','.gitignore',
13
+ 'SKILL.md','README.md','README-zh.md','README-es.md','README-pt.md','README-hi.md','LICENSE','NOTICE.md','.gitignore',
14
14
  'CONTRIBUTING.md','SECURITY.md','.github/ISSUE_TEMPLATE/bug_report.yml','.github/ISSUE_TEMPLATE/feature_request.yml','.github/PULL_REQUEST_TEMPLATE.md',
15
15
  'guide/plugin-dev-guide.md','guide/quick-reference.md','guide/links.md','guide/quick-reference.zh-CN.md','guide/quick-reference.es.md','guide/quick-reference.pt.md','guide/quick-reference.hi.md',
16
16
  'references/sources.md','references/harness-repo.md','references/website-pages.md',
@@ -125,7 +125,7 @@ if ($Checkout -and (Test-Path $Checkout)) {
125
125
  'CONTRIBUTING.md' = 'CONTRIBUTING.md';
126
126
  'CONTRIBUTING.zh.md' = 'CONTRIBUTING.zh.md';
127
127
  'CONTRIBUTING.i18n.yaml' = 'CONTRIBUTING.i18n.yaml';
128
- 'README.zh.md' = 'README.zh.md';
128
+ 'README-zh.md' = 'README-zh.md';
129
129
  'README.i18n.yaml' = 'README.i18n.yaml';
130
130
  'THIRD_PARTY_NOTICES.md' = 'THIRD_PARTY_NOTICES.md';
131
131
  'LICENSE' = 'LICENSE';
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes