@acosmi/sdk-ts 1.3.0 → 1.3.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 +11 -0
- package/README.md +3 -2
- package/package.json +6 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,16 @@ All notable changes to `@acosmi/sdk-ts` will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.3.1] — 2026-05-20
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- 修订 npm 包短介绍和搜索关键词,明确 SDK 同时覆盖模型网关、
|
|
13
|
+
Agent Run Gateway 与 Compliance(电子证据、时间章、报告、签署 envelope)
|
|
14
|
+
统一客户端能力。
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
8
18
|
## [1.3.0] — 2026-05-20
|
|
9
19
|
|
|
10
20
|
### Added
|
|
@@ -198,6 +208,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
198
208
|
- 36/36 vitest 全绿,源码 typecheck/lint/build 0 错误
|
|
199
209
|
- 翻车机制:`prepublishOnly` 仅跑源码 typecheck/vitest/build,不验证 packed product 在 consumer 视角能否解析
|
|
200
210
|
|
|
211
|
+
[1.3.1]: https://github.com/acosmi/sdk-ts/releases/tag/v1.3.1
|
|
201
212
|
[1.3.0]: https://github.com/acosmi/sdk-ts/releases/tag/v1.3.0
|
|
202
213
|
[1.2.0]: https://github.com/acosmi/sdk-ts/releases/tag/v1.2.0
|
|
203
214
|
[1.1.0]: https://github.com/acosmi/sdk-ts/releases/tag/v1.1.0
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
## 状态
|
|
8
8
|
|
|
9
9
|
- 端口源:[acosmi-sdk-go](https://github.com/acosmi/acosmi-sdk-go) v1.0.0(与 Go SDK 联动稳定测试版)
|
|
10
|
-
- 当前版本:**1.3.0
|
|
10
|
+
- 当前版本:**1.3.1**(修订 npm 包介绍与搜索关键词;`1.3.0` 新增 `client.compliance`、`complianceBaseURL`、合规域 types/errors/status/scopes、示例与文档;详见 [CHANGELOG](./CHANGELOG.md))
|
|
11
11
|
- 测试:发布前需通过 typecheck/lint/vitest/build/packed-tarball smoke (`npm run test:pack`)
|
|
12
12
|
- 包链接:[npm](https://www.npmjs.com/package/@acosmi/sdk-ts) · [GitHub Releases](https://github.com/acosmi/sdk-ts/releases)
|
|
13
13
|
|
|
@@ -482,7 +482,8 @@ npm run build
|
|
|
482
482
|
|
|
483
483
|
| 版本 | 状态 | 概要 |
|
|
484
484
|
| --- | --- | --- |
|
|
485
|
-
| 1.3.
|
|
485
|
+
| 1.3.1 | 当前稳定版 | 修订 npm 包短介绍与搜索关键词,明确模型网关、Agent Run Gateway 与 Compliance 统一客户端定位。 |
|
|
486
|
+
| 1.3.0 | 稳定版 | 新增 compliance SDK client、base URL、types/errors/status/scopes、docs/examples/tests,并明确 idempotency/no-retry/no-401-replay 与 provider material 安全边界。 |
|
|
486
487
|
| 1.2.0 | 稳定版 | 新增 `ManagedModel.inputModalities`、桌面视觉理解 sidecar capability 与 4 个 catalog helpers。 |
|
|
487
488
|
| 1.1.0 | 稳定版 | 新增 SDK-facing `agentRuns` 网关客户端,覆盖 create/stream/cancel/get/artifacts/local-tool-result,并提供本地只读工具桥协议。 |
|
|
488
489
|
| 1.0.2 | 稳定版 | 修复多进程共享 token refresh rotation 竞态。 |
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acosmi/sdk-ts",
|
|
3
|
-
"version": "1.3.
|
|
4
|
-
"description": "Acosmi
|
|
3
|
+
"version": "1.3.1",
|
|
4
|
+
"description": "Acosmi TypeScript SDK:模型网关、Agent Run Gateway 与 Compliance(电子证据、时间章、报告、签署 envelope)统一客户端,支持浏览器 / Node ≥18 / Deno / Bun。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/node/index.cjs",
|
|
7
7
|
"module": "./dist/node/index.mjs",
|
|
@@ -55,6 +55,10 @@
|
|
|
55
55
|
"openai",
|
|
56
56
|
"llm",
|
|
57
57
|
"sdk",
|
|
58
|
+
"compliance",
|
|
59
|
+
"evidence",
|
|
60
|
+
"timestamp",
|
|
61
|
+
"esignature",
|
|
58
62
|
"claude",
|
|
59
63
|
"crabcode",
|
|
60
64
|
"crabclaw"
|