@xia-sc/dsh-language-policy 0.1.0 → 0.1.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.1 — 2026-11-04
4
+
5
+ - 发布链路改为 GitHub Actions + npm Trusted Publishing(OIDC),发布自动附带 provenance,不再使用长期 npm token。
6
+ - README 增加 npm version / license / publish 徽标。
7
+ - 无运行时代码变化。
8
+
3
9
  ## 0.1.0 — 2026-11-04
4
10
 
5
11
  - 首个版本:Host-only bundle,通过 `ctx.systemPrompt.section()` 在系统提示词末尾(persona suffix 之后)注入简体中文语言策略。
package/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # @xia-sc/dsh-language-policy
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/@xia-sc/dsh-language-policy.svg)](https://www.npmjs.com/package/@xia-sc/dsh-language-policy)
4
+ [![license](https://img.shields.io/npm/l/@xia-sc/dsh-language-policy.svg)](LICENSE)
5
+ [![publish](https://github.com/xia-sc/dsh-language-policy/actions/workflows/publish.yml/badge.svg)](https://github.com/xia-sc/dsh-language-policy/actions/workflows/publish.yml)
6
+
3
7
  一个只做一件事的 **Host-only DSH bundle**:把一条简体中文语言策略钉在系统提示词的**最末尾**,让模型的内部推理(reasoning)和用户回复保持中文。
4
8
 
5
9
  - 零依赖(只用 `systemPrompt` 服务和 Cordis 的 `ctx.effect` 生命周期)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xia-sc/dsh-language-policy",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "DSH host-only bundle that pins a Simplified-Chinese reasoning/response policy at the end of the system prompt",
5
5
  "license": "MIT",
6
6
  "author": "xia-sc",