@blade-hq/agent-client 2610.0.0-beta.64 → 2610.0.0-beta.65
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/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4322,6 +4322,10 @@ function addUserMessage(state, content, clientRequestId) {
|
|
|
4322
4322
|
id: turnId,
|
|
4323
4323
|
sequence: Math.max(0, ...state.turns.map((turn) => turn.sequence)) + 1,
|
|
4324
4324
|
turn_id: turnId,
|
|
4325
|
+
// 乐观态就自赋,跟服务端确认后 reconcileUserTurns 补上的
|
|
4326
|
+
// client_render_id(= 乐观 turn 自己的 turn_id)保持同一个值,
|
|
4327
|
+
// 消费方才能拿它当"确认前后不变"的稳定标识使用。
|
|
4328
|
+
client_render_id: turnId,
|
|
4325
4329
|
loop_id: "root",
|
|
4326
4330
|
role: "user",
|
|
4327
4331
|
status: "streaming",
|
|
@@ -6614,7 +6618,7 @@ function resolveServiceUrl(endpoints, name, path = "") {
|
|
|
6614
6618
|
|
|
6615
6619
|
// src/version.ts
|
|
6616
6620
|
var SDK_NAME = "agent-client";
|
|
6617
|
-
var SDK_VERSION = true ? "2610.0.0-beta.
|
|
6621
|
+
var SDK_VERSION = true ? "2610.0.0-beta.65" : "1.1.1";
|
|
6618
6622
|
|
|
6619
6623
|
// src/commands/protocol.ts
|
|
6620
6624
|
function isCommandEnvelope(value) {
|