agentbox-sdk 0.1.520 → 0.1.521
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/agents/index.js
CHANGED
|
@@ -15,8 +15,8 @@ import {
|
|
|
15
15
|
parseHarnessCommandInvocation,
|
|
16
16
|
resolveHarnessCommand,
|
|
17
17
|
skillDirective
|
|
18
|
-
} from "../chunk-
|
|
19
|
-
import "../chunk-
|
|
18
|
+
} from "../chunk-UUWGCVXA.js";
|
|
19
|
+
import "../chunk-AE2FQ6YU.js";
|
|
20
20
|
import {
|
|
21
21
|
AGENT_RESERVED_PORTS,
|
|
22
22
|
collectAllAgentReservedPorts
|
|
@@ -452,10 +452,14 @@ var OpenCodeLogAssembler = class {
|
|
|
452
452
|
}
|
|
453
453
|
const text = (this.textByPartId.get(partId) ?? "") + delta;
|
|
454
454
|
this.textByPartId.set(partId, text);
|
|
455
|
+
const previous = this.byPartId.get(partId);
|
|
456
|
+
const previousPart = isRecord(
|
|
457
|
+
previous?.properties?.part
|
|
458
|
+
) ? (previous?.properties).part : null;
|
|
455
459
|
const part = {
|
|
460
|
+
...previousPart ? clone(previousPart) : { type: "text" },
|
|
456
461
|
id: partId,
|
|
457
|
-
messageID: messageId ?? void 0,
|
|
458
|
-
type: "text",
|
|
462
|
+
messageID: messageId ?? previousPart?.messageID ?? void 0,
|
|
459
463
|
text
|
|
460
464
|
};
|
|
461
465
|
if (parentTaskCallId) {
|
package/dist/events/index.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -15,14 +15,14 @@ import {
|
|
|
15
15
|
parseHarnessCommandInvocation,
|
|
16
16
|
resolveHarnessCommand,
|
|
17
17
|
skillDirective
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-UUWGCVXA.js";
|
|
19
19
|
import {
|
|
20
20
|
ProviderLogAssembler,
|
|
21
21
|
createNormalizedEvent,
|
|
22
22
|
normalizeRawAgentEvent,
|
|
23
23
|
toAISDKEvent,
|
|
24
24
|
toAISDKStream
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-AE2FQ6YU.js";
|
|
26
26
|
import {
|
|
27
27
|
Sandbox,
|
|
28
28
|
SandboxAdapter,
|