@ginkgolab/harness-core 0.1.1 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +11 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -167,6 +167,17 @@ ai@4.3 的 `asSchema` 对 zod@4(standard schema)做模型侧 JSON Schema 转
167
167
  实现 `HarnessMiddleware` 挂载到 `HarnessPipeline`,或使用 `StateGraph` 构建复杂的循环/分支工作流。
168
168
 
169
169
 
170
+ ## 应用契约与发布形态
171
+
172
+ 本包是平台能力包(领域中立)。契约(manifest / client 插槽 / server 契约 / 权限 / 健康检查)
173
+ 统一在 [`@ginkgolab/app-sdk`](https://www.npmjs.com/package/@ginkgolab/app-sdk) 声明;
174
+ 应用接入规范见仓库 `docs/app-integration-guide.md`。
175
+
176
+ - 开发期消费源码(`exports` → `src`);发布期为 ESM + `.d.ts`(`main → dist`),`engines.node >= 22.12`
177
+ - 内部依赖按正常 npm 依赖解析(不再内联);多入口包开启代码分割
178
+ - 承载流式任务/成本/MCP/遥测等原子能力;`HARNESS_*` 环境变量清单见 `src/config/envLoader.ts`。
179
+
180
+
170
181
  ## License
171
182
 
172
183
  MIT © 2026 Ginkgo contributors — 完整条款见包内 `LICENSE`(或仓库根 `LICENSE`)。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ginkgolab/harness-core",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -59,7 +59,7 @@
59
59
  "dependencies": {
60
60
  "@ai-sdk/anthropic": "1.2.12",
61
61
  "@ai-sdk/openai": "1.3.24",
62
- "@ginkgolab/models": "0.1.1",
62
+ "@ginkgolab/models": "0.1.2",
63
63
  "@modelcontextprotocol/sdk": "^1.32.1",
64
64
  "ai": "4.3.19",
65
65
  "zod": "4.6.7"