@linxiraos/pi-agent-core 1.1.19 → 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 +14 -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.19] - 2026-09-22
5
+ ## [1.1.20] - 2026-09-23
6
6
 
7
- - 版本线推进;本版无独立用户可见变化。
7
+ - 版本线推进;`__piNatives` 哨兵派生规则与 set-version 对齐(dots-only → 全部非字母数字),prerelease 下不再推出非法 Rust 标识符。
8
8
 
9
9
  ## [9.2.2] - 2026-01-31
10
10
 
@@ -136,6 +136,10 @@
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
+
139
143
  ## [1.1.18] - 2026-09-22
140
144
 
141
145
  - 包元数据:author/maintainer 更新为 Linxira-OS,LICENSE 追加 Linxira-OS 版权行(发行面变更)。
@@ -167,14 +171,14 @@ Initial release under @oh-my-pi scope. See previous releases at [badlogic/pi-mon
167
171
  ### Breaking Changes
168
172
 
169
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)):
170
- - `steer(msg)`: Interrupts the agent mid-run. Delivered after current tool execution, skips remaining tools.
171
- - `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.
172
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.
173
177
  - **AgentLoopConfig callbacks renamed**: `getQueuedMessages` split into `getSteeringMessages` and `getFollowUpMessages`.
174
178
  - **Agent methods renamed**:
175
- - `queueMessage()` → `steer()` and `followUp()`
176
- - `clearMessageQueue()` → `clearSteeringQueue()`, `clearFollowUpQueue()`, `clearAllQueues()`
177
- - `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()`
178
182
 
179
183
  ### Fixed
180
184
 
@@ -186,9 +190,9 @@ Initial release under @oh-my-pi scope. See previous releases at [badlogic/pi-mon
186
190
 
187
191
  - **Transport abstraction removed**: `ProviderTransport`, `AppTransport`, and `AgentTransport` interface have been removed. Use the `streamFn` option directly for custom streaming implementations.
188
192
  - **Agent options renamed**:
189
- - `transport` → removed (use `streamFn` instead)
190
- - `messageTransformer` → `convertToLlm`
191
- - `preprocessor` → `transformContext`
193
+ - `transport` → removed (use `streamFn` instead)
194
+ - `messageTransformer` → `convertToLlm`
195
+ - `preprocessor` → `transformContext`
192
196
  - **`AppMessage` renamed to `AgentMessage`**: All references to `AppMessage` have been renamed to `AgentMessage` for consistency.
193
197
  - **`CustomMessages` renamed to `CustomAgentMessages`**: The declaration merging interface has been renamed.
194
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.19",
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.19",
40
- "@linxiraos/pi-catalog": "1.1.19",
41
- "@linxiraos/pi-natives": "1.1.19",
42
- "@linxiraos/pi-utils": "1.1.19",
43
- "@linxiraos/pi-wire": "1.1.19",
44
- "@linxiraos/pi-snapcompact": "1.1.19"
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.19"
50
+ "@linxiraos/pi-omptype": "1.1.20"
51
51
  },
52
52
  "engines": {
53
53
  "bun": ">=1.3.14"