Repository navigation
Identity files and Channel interface - #4
Merged
Merged
Conversation
Phase 2 of openclaw parity: - container/agent-runner.js: load SOUL.md, IDENTITY.md, AGENTS.md, TOOLS.md, USER.md from the group workspace into the system prompt (all optional, openclaw ordering); JSCLAW_SYSTEM_PROMPT appended after - src/channel.js: Channel typedef (name, connect, disconnect, sendMessage, ownsJid, isConnected, optional setTyping) and ChannelManager with ownsJid-based outbound routing, connectAll/ disconnectAll, best-effort typing indicators; sendMessage binds directly as startIpcWatcher's sendMessage dep - examples/telegram.js: rewritten around the Channel interface and the completed task loop (TaskStore + createTaskIpcHandler + startTaskScheduler) — agents can now schedule their own follow-ups Bumps version to 0.0.3 (no npm publish). Closes #3
This was referenced Jun 11, 2026
Models + onboarding: provider presets (incl. GLM, Kimi), per-agent models, jsclaw onboard wizard
#25
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #3
What
Phase 2 of openclaw parity, building on the scheduler/heartbeat from #2.
Identity files (SOUL.md and friends)
The agent runner now loads
SOUL.md,IDENTITY.md,AGENTS.md,TOOLS.md,USER.mdfrom the group workspace into the system prompt — same files, same order as openclaw. All optional;JSCLAW_SYSTEM_PROMPTis appended after, so the existing override hook still works. Pure container-side change: the files live in the already-mounted group folder, no new mounts.Channel interface
src/channel.jsformalizes the I/O contract:Channeltypedef:name,connect(),disconnect(),sendMessage(jid, text, sender?),ownsJid(jid),isConnected(), optionalsetTyping()ChannelManager: registration with duplicate/shape validation,connectAll()/disconnectAll()(one failing channel doesn't block others), outbound routing byownsJid, best-effort typing indicatorsmanager.sendMessageis bound so it drops directly intostartIpcWatcher'ssendMessagedependencyTelegram example
Rewritten around the Channel interface and the now-complete task loop:
TaskStore+createTaskIpcHandler+startTaskScheduler, so an agent on Telegram can schedule its own follow-ups and they actually fire.Verified
Version bumped to 0.0.3 (not published).