Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@
},
"changesets": [
"amsg-client-server-token",
"amsg-server-agentic-fire",
"amsg-server-single-user-cloudflare",
"amsg-server-webcrypto-encryption",
"amsg-shared-agentic-contract",
"amsg-vapid-public-key"
]
}
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions packages/rei-standard-amsg/client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog — @rei-standard/amsg-client

## 2.9.0-next.2

### Patch Changes

- Updated dependencies [914ddcf]
- @rei-standard/amsg-shared@0.4.0-next.0

## 2.9.0-next.1

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/rei-standard-amsg/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rei-standard/amsg-client",
"version": "2.9.0-next.1",
"version": "2.9.0-next.2",
"description": "ReiStandard Active Messaging browser client SDK — also re-exports shared push types, builders, and guards from @rei-standard/amsg-shared",
"repository": {
"type": "git",
Expand Down Expand Up @@ -33,7 +33,7 @@
"node": ">=20"
},
"dependencies": {
"@rei-standard/amsg-shared": "^0.3.0"
"@rei-standard/amsg-shared": "^0.4.0-next.0"
},
"devDependencies": {
"tsup": "^8.0.0",
Expand Down
8 changes: 8 additions & 0 deletions packages/rei-standard-amsg/instant/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog — @rei-standard/amsg-instant

## 0.10.1-next.0

### Patch Changes

- 914ddcf: amsg-shared 新增 agentic 循环契约工具:`buildSessionContext`、`extractAssistantMessage`、`assertValidDecision`(新增 `inlineToolCalls` 选项,允许 `tool-request` 直接携带 `toolCalls`,供服务端就地执行工具的场景用)、`extractToolCallsFromDecision`。amsg-instant 的 SessionContext 构建与 decision 校验改为从 amsg-shared 复用同一实现,对外行为与错误信息不变。
- Updated dependencies [914ddcf]
- @rei-standard/amsg-shared@0.4.0-next.0

## 0.10.0

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/rei-standard-amsg/instant/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rei-standard/amsg-instant",
"version": "0.10.0",
"version": "0.10.1-next.0",
"description": "ReiStandard Active Messaging — agentic-loop framework for instant push. Pluggable per-turn hook + optional blob envelope for oversize payloads. Three-axis push schema (messageKind / messageType / messageSubtype) from @rei-standard/amsg-shared. Auto-emits ReasoningPush when the LLM response carries reasoning_content. Pure Web Crypto. Deployable to Cloudflare Workers / Vercel Edge / Netlify / Node with no flags.",
"repository": {
"type": "git",
Expand Down Expand Up @@ -84,7 +84,7 @@
"node": ">=18"
},
"dependencies": {
"@rei-standard/amsg-shared": "^0.3.0"
"@rei-standard/amsg-shared": "^0.4.0-next.0"
},
"devDependencies": {
"tsup": "^8.0.0",
Expand Down
15 changes: 15 additions & 0 deletions packages/rei-standard-amsg/server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Changelog — @rei-standard/amsg-server

## 2.6.0-next.3

### Minor Changes

- 914ddcf: 单用户 / Cloudflare 模式新增「fire 时刻现场生成」能力:

- 新表 `client_state`(init-tenant 幂等建表)+ 三个端点:`PUT /client-state` 批量上传状态(按 `updatedAt` last-write-wins,单条 value ≤ 200KB)、`GET /client-state?namespace=` 读取、`DELETE /client-state` 清空。value 用 per-user key 加密落库,鉴权与加密头沿用现有端点。
- `createSingleUserCloudflareWorker` 的 config 接受可选 `hooks: { onBeforeFire, onLLMOutput, executeToolCalls }` 与 `maxToolIterations`(默认 5)、`totalTimeoutMs`(默认 240000,两者都可在 onBeforeFire 返回值里按次覆盖)。配置后,AI 类任务在触发时由 onBeforeFire 现场组装 messages(可经 `ctx.readState(namespace)` 读 client_state),工具在 worker 内就地执行、多轮循环闭环后推送成品;onLLMOutput 的 ctx 与 decision 契约与 `@rei-standard/amsg-instant` 的同名 hook 一致,instant 的 classifier 可直接复用(`tool-request` 同时接受 `toolCalls` 直传与 tool_request pushPayloads 两种形状)。
- 不配 hooks、或 onBeforeFire 返回 null 时,任务照走排程时冻结的 completePrompt 老链路;固定文本任务永远走老链路。hook ctx 不含 apiKey / pushSubscription / VAPID。多租户入口(Netlify/Neon)行为不变。

### Patch Changes

- Updated dependencies [914ddcf]
- @rei-standard/amsg-shared@0.4.0-next.0

## 2.6.0-next.2

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/rei-standard-amsg/server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rei-standard/amsg-server",
"version": "2.6.0-next.2",
"version": "2.6.0-next.3",
"description": "ReiStandard Active Messaging server SDK with pluggable database adapters. Three-axis push schema (messageKind / messageType / messageSubtype) from @rei-standard/amsg-shared. Auto-emits ReasoningPush when the LLM response carries reasoning_content.",
"repository": {
"type": "git",
Expand Down Expand Up @@ -39,7 +39,7 @@
},
"dependencies": {
"@netlify/blobs": "^8.1.0",
"@rei-standard/amsg-shared": "^0.3.0",
"@rei-standard/amsg-shared": "^0.4.0-next.0",
"web-push": "^3.6.7"
},
"peerDependencies": {
Expand Down
6 changes: 6 additions & 0 deletions packages/rei-standard-amsg/shared/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog — @rei-standard/amsg-shared

## 0.4.0-next.0

### Minor Changes

- 914ddcf: amsg-shared 新增 agentic 循环契约工具:`buildSessionContext`、`extractAssistantMessage`、`assertValidDecision`(新增 `inlineToolCalls` 选项,允许 `tool-request` 直接携带 `toolCalls`,供服务端就地执行工具的场景用)、`extractToolCallsFromDecision`。amsg-instant 的 SessionContext 构建与 decision 校验改为从 amsg-shared 复用同一实现,对外行为与错误信息不变。

## 0.3.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/rei-standard-amsg/shared/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rei-standard/amsg-shared",
"version": "0.3.0",
"version": "0.4.0-next.0",
"description": "ReiStandard Active Messaging shared types and push builders — the lowest layer (no deps on other amsg packages)",
"repository": {
"type": "git",
Expand Down
7 changes: 7 additions & 0 deletions packages/rei-standard-amsg/sw/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog — @rei-standard/amsg-sw

## 2.3.3-next.0

### Patch Changes

- Updated dependencies [914ddcf]
- @rei-standard/amsg-shared@0.4.0-next.0

## 2.3.2

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/rei-standard-amsg/sw/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rei-standard/amsg-sw",
"version": "2.3.2",
"version": "2.3.3-next.0",
"description": "ReiStandard Active Messaging service worker SDK — three-axis push schema (content / reasoning / tool_request / error) with per-kind client postMessage events",
"repository": {
"type": "git",
Expand Down Expand Up @@ -33,7 +33,7 @@
"node": ">=20"
},
"dependencies": {
"@rei-standard/amsg-shared": "^0.3.0"
"@rei-standard/amsg-shared": "^0.4.0-next.0"
},
"devDependencies": {
"tsup": "^8.0.0",
Expand Down
Loading