You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5420c5c
Browse filesBrowse the repository at this point in the historyBrowse files
Opening a session discussion creates a public, externally managed channel and
65
+
stores its binding in the ClickClack plugin's SQLite state. Session archive,
66
+
restore, label, category, and deletion changes are reflected in the channel;
67
+
deletion archives the channel and never deletes its messages. `workspace`
68
+
defaults to the account workspace, and `section` defaults to `Sessions`.
69
+
`controlUrlBase` adds a link back to `/chat?session=<session-key>` in the
70
+
OpenClaw Control UI.
71
+
72
+
Enable discussions on exactly one ClickClack account. Multiple enabled
73
+
discussion accounts are rejected because the session discussion provider does
74
+
not have an account selector.
75
+
76
+
Messages in the managed channel run in a stable side session under the same
77
+
agent id as the attached main session. The plugin installs a scoped host grant
78
+
for `sessions_history`, `session_status`, and `sessions_send` between that side
79
+
session and its attached main session, so `tools.sessions.visibility` can stay
80
+
at its safer default `tree`. A second host-side policy blocks session discovery
81
+
and alternate targets; the side-agent prompt is not the authorization boundary.
82
+
The agent still needs those three tools in its effective tool allowlist.
83
+
84
+
The binding, managed ownership reference, and side-session identity include the
85
+
concrete OpenClaw session id as well as the pinned server and channel. Resetting
86
+
a reusable session key, replacing a binding, or retargeting it therefore revokes
87
+
the old channel locally, archives it when the old credential remains usable, and
88
+
starts a fresh channel and side transcript.
89
+
Messages arriving through an archived, reset, disabled, or retargeted managed
90
+
binding are dropped instead of falling back to the account's normal channel
91
+
routing. Released bindings leave a durable revoked-channel marker so delayed
92
+
realtime events remain fail-closed. Remote ownership is keyed by ClickClack
93
+
server and channel id, so renaming the local account cannot turn a managed
94
+
channel into an ordinary one.
95
+
96
+
Managed-channel ownership references include a durable per-installation id, so
97
+
two OpenClaw gateways using the same ClickClack workspace do not adopt each
98
+
other's discussion channels. They also include the destination and a durable
99
+
binding generation, so an account or workspace round trip cannot re-adopt a
100
+
previous channel. Changing or removing `controlUrlBase` is reflected on the next
101
+
lifecycle reconciliation pass.
102
+
103
+
If a channel-create response is lost, the pending ownership reservation
104
+
temporarily quarantines otherwise-unbound events in that workspace. The same
105
+
coarse reconciler then adopts the created channel or clears/archives the
106
+
ambiguous attempt; a reset cannot make the old channel fall through to ordinary
107
+
routing.
108
+
109
+
When a workspace move keeps the original workspace credential configured, the
110
+
plugin archives the old channel before release. If the token is replaced with a
111
+
workspace-scoped credential that cannot access the old workspace, OpenClaw
112
+
releases the binding into the revoked-channel marker without trying the new token
113
+
against the old channel; archive that leftover channel from ClickClack.
114
+
115
+
The main session gets a read-only `discussion` tool that pulls the latest
116
+
channel messages, including recent thread replies. The pull uses bounded
117
+
history and thread-request budgets; its output says when older active threads
118
+
may have been omitted. It never posts, archives, renames, or otherwise mutates
119
+
the discussion.
120
+
38
121
## Docs
39
122
40
123
See `docs/channels/clickclack.md` in the OpenClaw repository, or the published docs at `https://docs.openclaw.ai/channels/clickclack`.
0 commit comments