Skip to content

Commit 43f6c8b

Browse files
committed
feat: add OpenClaw SDK package
1 parent 0125450 commit 43f6c8b

20 files changed

Lines changed: 2625 additions & 11 deletions

docs/concepts/openclaw-sdk.md

Lines changed: 367 additions & 0 deletions
Large diffs are not rendered by default.

docs/docs.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1114,6 +1114,7 @@
11141114
"concepts/agent",
11151115
"concepts/agent-loop",
11161116
"concepts/agent-runtimes",
1117+
"concepts/openclaw-sdk",
11171118
"concepts/system-prompt",
11181119
"concepts/context",
11191120
"concepts/context-engine",
@@ -1651,7 +1652,11 @@
16511652
},
16521653
{
16531654
"group": "RPC and API",
1654-
"pages": ["reference/rpc", "reference/device-models"]
1655+
"pages": [
1656+
"reference/rpc",
1657+
"reference/openclaw-sdk-api-design",
1658+
"reference/device-models"
1659+
]
16551660
},
16561661
{
16571662
"group": "Templates",

docs/gateway/protocol.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ enumeration of `src/gateway/server-methods/*.ts`.
402402
- `sessions.create` creates a new session entry.
403403
- `sessions.send` sends a message into an existing session.
404404
- `sessions.steer` is the interrupt-and-steer variant for an active session.
405-
- `sessions.abort` aborts active work for a session.
405+
- `sessions.abort` aborts active work for a session. A caller may pass `key` plus optional `runId`, or pass `runId` alone for active runs the Gateway can resolve to a session.
406406
- `sessions.patch` updates session metadata/overrides and reports the resolved canonical model plus effective `agentRuntime`.
407407
- `sessions.reset`, `sessions.delete`, and `sessions.compact` perform session maintenance.
408408
- `sessions.get` returns the full stored session row.

0 commit comments

Comments
 (0)