1.5 KiB
1.5 KiB
INTEGRATION
Current integration model
The current working integration path is:
- patch OpenClaw Telegram runtime
- restart the
openclawtestgateway - send a real Telegram assistant reply
- verify button rendering, callback handling, and state persistence
Runtime files currently involved
See:
reports/openclaw-patch-inventory.md
Apply
Current patch apply script:
scripts/apply-openclaw-poc-patch.sh <openclaw-dist-dir>
Example target dir in openclawtest:
/home/openclawtest/.nvm/versions/node/v22.22.2/lib/node_modules/openclaw/dist
Rollback
Rollback script:
scripts/rollback-openclaw-poc-patch.sh <openclaw-dist-dir>
This expects backup files created by the apply script.
Verify
At minimum, verify these behaviors in Telegram:
- assistant replies show both buttons
- clicking
continueupdates UI and writes state - clicking
stopupdates UI and writes state - later turns are influenced by stop/continue state
Current persisted files in PoC mode
~/.openclaw/reply-end-controls.json~/.openclaw/reply-end-debug.log
Current adapter-related repo modules
src/adapters/openclaw.tssrc/adapters/openclaw-state-file.tssrc/runtime/openclaw-telegram-bridge.tssrc/runtime/openclaw-telegram-poc.ts
These do not yet replace the runtime patch end-to-end, but they are the current repo-side ownership points for the logic.
Known limitation
The current integration path is reproducible, but not yet clean enough to call a final plugin package.
That is the next direction of work.