clawconnect-agent 0.2.11 → 0.2.13
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/core/relay/file-upload.d.ts +4 -0
- package/dist/core/relay/file-upload.js +17 -0
- package/dist/core/relay/file-upload.js.map +1 -1
- package/dist/core/relay/source-commit-checkpoint-client.d.ts +42 -0
- package/dist/core/relay/source-commit-checkpoint-client.js +112 -0
- package/dist/core/relay/source-commit-checkpoint-client.js.map +1 -0
- package/dist/core/relay/source-commit-publish-flow.d.ts +36 -0
- package/dist/core/relay/source-commit-publish-flow.js +107 -0
- package/dist/core/relay/source-commit-publish-flow.js.map +1 -0
- package/dist/core/relay/source-commit.d.ts +12 -1
- package/dist/core/relay/source-commit.js +29 -9
- package/dist/core/relay/source-commit.js.map +1 -1
- package/dist/core/thinking-level.d.ts +45 -0
- package/dist/core/thinking-level.js +58 -0
- package/dist/core/thinking-level.js.map +1 -0
- package/dist/hermes/hermes-session-reasoning-store.d.ts +13 -0
- package/dist/hermes/hermes-session-reasoning-store.js +99 -0
- package/dist/hermes/hermes-session-reasoning-store.js.map +1 -0
- package/dist/hermes/runtime/hermes-runtime-api-client.d.ts +10 -0
- package/dist/hermes/runtime/hermes-runtime-api-client.js +7 -4
- package/dist/hermes/runtime/hermes-runtime-api-client.js.map +1 -1
- package/dist/hermes/runtime/hermes-runtime-api-settings.d.ts +6 -0
- package/dist/hermes/runtime/hermes-runtime-api-settings.js +18 -12
- package/dist/hermes/runtime/hermes-runtime-api-settings.js.map +1 -1
- package/dist/hermes/runtime/hermes-runtime-chat.js +8 -0
- package/dist/hermes/runtime/hermes-runtime-chat.js.map +1 -1
- package/dist/hermes/runtime/hermes-runtime-command-router.js +6 -1
- package/dist/hermes/runtime/hermes-runtime-command-router.js.map +1 -1
- package/dist/hermes/runtime/hermes-runtime-reasoning.d.ts +29 -0
- package/dist/hermes/runtime/hermes-runtime-reasoning.js +72 -0
- package/dist/hermes/runtime/hermes-runtime-reasoning.js.map +1 -0
- package/dist/hermes/runtime/hermes-runtime-sessions.d.ts +2 -2
- package/dist/hermes/runtime/hermes-runtime-sessions.js +23 -2
- package/dist/hermes/runtime/hermes-runtime-sessions.js.map +1 -1
- package/dist/hermes/runtime/hermes-runtime-thinking.d.ts +14 -0
- package/dist/hermes/runtime/hermes-runtime-thinking.js +105 -0
- package/dist/hermes/runtime/hermes-runtime-thinking.js.map +1 -0
- package/dist/openclaw/handlers/thinking-handlers.d.ts +22 -0
- package/dist/openclaw/handlers/thinking-handlers.js +104 -0
- package/dist/openclaw/handlers/thinking-handlers.js.map +1 -0
- package/dist/openclaw/relay/chat-history.js +14 -11
- package/dist/openclaw/relay/chat-history.js.map +1 -1
- package/dist/openclaw/relay/openclaw-source-commit-watcher.d.ts +8 -2
- package/dist/openclaw/relay/openclaw-source-commit-watcher.js +13 -4
- package/dist/openclaw/relay/openclaw-source-commit-watcher.js.map +1 -1
- package/dist/openclaw/relay/openclaw-source-cursor-connections.d.ts +23 -0
- package/dist/openclaw/relay/openclaw-source-cursor-connections.js +65 -0
- package/dist/openclaw/relay/openclaw-source-cursor-connections.js.map +1 -0
- package/dist/openclaw/relay/outgoing-media-relay.js +18 -1
- package/dist/openclaw/relay/outgoing-media-relay.js.map +1 -1
- package/dist/openclaw/relay-manager.js +47 -15
- package/dist/openclaw/relay-manager.js.map +1 -1
- package/package.json +1 -1
- package/dist/openclaw/relay/openclaw-message-tool-real-shape.fixture.d.ts +0 -12
- package/dist/openclaw/relay/openclaw-message-tool-real-shape.fixture.js +0 -48
- package/dist/openclaw/relay/openclaw-message-tool-real-shape.fixture.js.map +0 -1
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Sanitized fixture captured from the installed OpenClaw transcript_events
|
|
3
|
-
* shape (toolResult.details.sourceReply), with local paths and run IDs replaced
|
|
4
|
-
* by test values. The installed AssistantMessage.openclawDelivery type does
|
|
5
|
-
* not contain the identity fields; those live on this structured tool result.
|
|
6
|
-
*/
|
|
7
|
-
export function realOpenClawMessageToolResultFixture(params) {
|
|
8
|
-
const firstUrl = params.mediaUrls[0] ?? "";
|
|
9
|
-
return {
|
|
10
|
-
role: "toolResult",
|
|
11
|
-
toolCallId: params.toolCallId,
|
|
12
|
-
toolName: "message",
|
|
13
|
-
content: [{ type: "text", text: "Sent visible reply to the current source conversation via internal-ui." }],
|
|
14
|
-
details: {
|
|
15
|
-
status: "ok",
|
|
16
|
-
deliveryStatus: "sent",
|
|
17
|
-
channel: "webchat",
|
|
18
|
-
target: "current-run",
|
|
19
|
-
sourceReplyDeliveryMode: "message_tool_only",
|
|
20
|
-
idempotencyKey: params.idempotencyKey,
|
|
21
|
-
sourceReplyTranscriptOwner: true,
|
|
22
|
-
sourceReplySink: "internal-ui",
|
|
23
|
-
sourceReply: {
|
|
24
|
-
text: "",
|
|
25
|
-
mediaUrl: firstUrl,
|
|
26
|
-
mediaUrls: params.mediaUrls,
|
|
27
|
-
attachments: params.mediaUrls.map((url, index) => ({
|
|
28
|
-
name: `image-${index + 1}.png`,
|
|
29
|
-
mimeType: "image/png",
|
|
30
|
-
trustedLocalMedia: true,
|
|
31
|
-
url,
|
|
32
|
-
})),
|
|
33
|
-
trustedLocalMedia: true,
|
|
34
|
-
},
|
|
35
|
-
mediaUrl: firstUrl,
|
|
36
|
-
mediaUrls: params.mediaUrls,
|
|
37
|
-
dryRun: false,
|
|
38
|
-
messageDelivery: {
|
|
39
|
-
status: "settled",
|
|
40
|
-
partialDelivery: false,
|
|
41
|
-
createdThreadIds: [],
|
|
42
|
-
},
|
|
43
|
-
},
|
|
44
|
-
isError: false,
|
|
45
|
-
__openclaw: { runId: params.runId },
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
//# sourceMappingURL=openclaw-message-tool-real-shape.fixture.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"openclaw-message-tool-real-shape.fixture.js","sourceRoot":"","sources":["../../../src/openclaw/rel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