@reinsjs/core 0.5.0 → 0.7.0

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.
@@ -1,4 +1,4 @@
1
- import { B as BlobStore, E as EventLog, a as Event, M as MemoryStore, r as RunLease, f as LoweringCapabilities, o as CoreEventDraft, U as LoweringOutcome, a5 as ToRequestInput, L as Lowering, e as ModelRef, k as LoweredRequest, V as LoweringStreamContext, c as EventDraft } from '../types-BOSGqMVX.js';
1
+ import { B as BlobStore, E as EventLog, a as Event, M as MemoryStore, r as RunLease, f as LoweringCapabilities, o as CoreEventDraft, U as LoweringOutcome, a5 as ToRequestInput, L as Lowering, e as ModelRef, k as LoweredRequest, V as LoweringStreamContext, c as EventDraft } from '../types-DrzC9Mfc.js';
2
2
 
3
3
  /**
4
4
  * 一致性套件对测试框架的最小要求:只要 describe / it 两个函数。
@@ -108,6 +108,11 @@ interface ToolCallPayload {
108
108
  name: string;
109
109
  /** 模型给的原始入参(已解析为 JSON 值);校验在工具执行前做,事件里存原样 */
110
110
  args: unknown;
111
+ /**
112
+ * 降级层附带的读侧记录,**不进模型上下文**。目前只有 `argumentsUnwrapped: true`:模型把整个入参二次编码成了
113
+ * JSON 文本,降级层多解了一层(core/lowering/tool-arguments.ts)。可选字段,不升版本。
114
+ */
115
+ meta?: Record<string, unknown>;
111
116
  }
112
117
  interface ToolResultPayload {
113
118
  toolCallId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reinsjs/core",
3
- "version": "0.5.0",
3
+ "version": "0.7.0",
4
4
  "description": "reins — core: append-only event timeline, projection, the copyable runLoop, serializable run state and the Socket seam. Zero dependencies, zero node:*",
5
5
  "keywords": [
6
6
  "agent",