@linxiraos/pi-agent-core 1.1.18 → 1.1.20

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/CHANGELOG.md +18 -10
  2. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
- ## [1.1.18] - 2026-09-22
5
+ ## [1.1.20] - 2026-09-23
6
6
 
7
- - 包元数据:author/maintainer 更新为 Linxira-OS,LICENSE 追加 Linxira-OS 版权行(发行面变更)。
7
+ - 版本线推进;`__piNatives` 哨兵派生规则与 set-version 对齐(dots-only → 全部非字母数字),prerelease 下不再推出非法 Rust 标识符。
8
8
 
9
9
  ## [9.2.2] - 2026-01-31
10
10
 
@@ -136,6 +136,14 @@
136
136
 
137
137
  Initial release under @oh-my-pi scope. See previous releases at [badlogic/pi-mono](https://github.com/badlogic/pi-mono).
138
138
 
139
+ ## [1.1.19] - 2026-09-22
140
+
141
+ - 版本线推进;本版无独立用户可见变化。
142
+
143
+ ## [1.1.18] - 2026-09-22
144
+
145
+ - 包元数据:author/maintainer 更新为 Linxira-OS,LICENSE 追加 Linxira-OS 版权行(发行面变更)。
146
+
139
147
  ## [1.1.16] - 2026-09-19
140
148
 
141
149
  - 上游 v18.2.5 同步:工具 schema 注入 stamp 记忆化、代理工具调用流式 JSON 解析。
@@ -163,14 +171,14 @@ Initial release under @oh-my-pi scope. See previous releases at [badlogic/pi-mon
163
171
  ### Breaking Changes
164
172
 
165
173
  - **Queue API replaced with steer/followUp**: The `queueMessage()` method has been split into two methods with different delivery semantics ([#403](https://github.com/badlogic/pi-mono/issues/403)):
166
- - `steer(msg)`: Interrupts the agent mid-run. Delivered after current tool execution, skips remaining tools.
167
- - `followUp(msg)`: Waits until the agent finishes. Delivered only when there are no more tool calls or steering messages.
174
+ - `steer(msg)`: Interrupts the agent mid-run. Delivered after current tool execution, skips remaining tools.
175
+ - `followUp(msg)`: Waits until the agent finishes. Delivered only when there are no more tool calls or steering messages.
168
176
  - **Queue mode renamed**: `queueMode` option renamed to `steeringMode`. Added new `followUpMode` option. Both control whether messages are delivered one-at-a-time or all at once.
169
177
  - **AgentLoopConfig callbacks renamed**: `getQueuedMessages` split into `getSteeringMessages` and `getFollowUpMessages`.
170
178
  - **Agent methods renamed**:
171
- - `queueMessage()` → `steer()` and `followUp()`
172
- - `clearMessageQueue()` → `clearSteeringQueue()`, `clearFollowUpQueue()`, `clearAllQueues()`
173
- - `setQueueMode()`/`getQueueMode()` → `setSteeringMode()`/`getSteeringMode()` and `setFollowUpMode()`/`getFollowUpMode()`
179
+ - `queueMessage()` → `steer()` and `followUp()`
180
+ - `clearMessageQueue()` → `clearSteeringQueue()`, `clearFollowUpQueue()`, `clearAllQueues()`
181
+ - `setQueueMode()`/`getQueueMode()` → `setSteeringMode()`/`getSteeringMode()` and `setFollowUpMode()`/`getFollowUpMode()`
174
182
 
175
183
  ### Fixed
176
184
 
@@ -182,9 +190,9 @@ Initial release under @oh-my-pi scope. See previous releases at [badlogic/pi-mon
182
190
 
183
191
  - **Transport abstraction removed**: `ProviderTransport`, `AppTransport`, and `AgentTransport` interface have been removed. Use the `streamFn` option directly for custom streaming implementations.
184
192
  - **Agent options renamed**:
185
- - `transport` → removed (use `streamFn` instead)
186
- - `messageTransformer` → `convertToLlm`
187
- - `preprocessor` → `transformContext`
193
+ - `transport` → removed (use `streamFn` instead)
194
+ - `messageTransformer` → `convertToLlm`
195
+ - `preprocessor` → `transformContext`
188
196
  - **`AppMessage` renamed to `AgentMessage`**: All references to `AppMessage` have been renamed to `AgentMessage` for consistency.
189
197
  - **`CustomMessages` renamed to `CustomAgentMessages`**: The declaration merging interface has been renamed.
190
198
  - **`UserMessageWithAttachments` and `Attachment` types removed**: Attachment handling is now the responsibility of the `convertToLlm` function.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@linxiraos/pi-agent-core",
4
- "version": "1.1.18",
4
+ "version": "1.1.20",
5
5
  "description": "General-purpose agent with transport abstraction, state management, and attachment support",
6
6
  "homepage": "https://linxira-os.github.io/zeta/",
7
7
  "author": "Linxira-OS",
@@ -36,18 +36,18 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@opentelemetry/api": "^1.9.1",
39
- "@linxiraos/pi-ai": "1.1.18",
40
- "@linxiraos/pi-catalog": "1.1.18",
41
- "@linxiraos/pi-natives": "1.1.18",
42
- "@linxiraos/pi-utils": "1.1.18",
43
- "@linxiraos/pi-wire": "1.1.18",
44
- "@linxiraos/pi-snapcompact": "1.1.18"
39
+ "@linxiraos/pi-ai": "1.1.20",
40
+ "@linxiraos/pi-catalog": "1.1.20",
41
+ "@linxiraos/pi-natives": "1.1.20",
42
+ "@linxiraos/pi-utils": "1.1.20",
43
+ "@linxiraos/pi-wire": "1.1.20",
44
+ "@linxiraos/pi-snapcompact": "1.1.20"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@opentelemetry/context-async-hooks": "^2.9.0",
48
48
  "@opentelemetry/sdk-trace-base": "^2.9.0",
49
49
  "@types/bun": "^1.3.14",
50
- "@linxiraos/pi-omptype": "1.1.18"
50
+ "@linxiraos/pi-omptype": "1.1.20"
51
51
  },
52
52
  "engines": {
53
53
  "bun": ">=1.3.14"