mirror of
https://github.com/qingchencloud/clawpanel.git
synced 2026-05-31 05:10:14 +08:00
feat: OpenClaw 4.9 全面适配 (v0.12.0)
- 推荐内核统一升级至 2026.4.9 / 2026.4.9-zh.2 - standalone 安装兼容 edition 格式 latest.json + openclaw-zh- 文件名前缀 - standalone 三级降级: R2 CDN → GitHub Releases → npm - pre_install_cleanup 所有命令加 10s 超时保护(修复安装卡死) - npm uninstall 加 30s 超时保护 - wmic 全部迁移到 PowerShell(兼容 Windows 11) - standalone 下载增加文字进度显示
This commit is contained in:
@@ -727,6 +727,45 @@ export class WsClient {
|
||||
return this.request('sessions.reset', { key })
|
||||
}
|
||||
|
||||
// ===== 4.9: Sessions Compaction =====
|
||||
sessionsCompactionList(key) {
|
||||
return this.request('sessions.compaction.list', { key })
|
||||
}
|
||||
|
||||
sessionsCompactionGet(key, checkpointId) {
|
||||
return this.request('sessions.compaction.get', { key, checkpointId })
|
||||
}
|
||||
|
||||
sessionsCompactionBranch(key, checkpointId) {
|
||||
return this.request('sessions.compaction.branch', { key, checkpointId })
|
||||
}
|
||||
|
||||
sessionsCompactionRestore(key, checkpointId) {
|
||||
return this.request('sessions.compaction.restore', { key, checkpointId })
|
||||
}
|
||||
|
||||
// ===== 4.9: Skills Gateway RPC =====
|
||||
skillsSearch(query, limit) {
|
||||
return this.request('skills.search', { query, limit })
|
||||
}
|
||||
|
||||
skillsDetail(slug) {
|
||||
return this.request('skills.detail', { slug })
|
||||
}
|
||||
|
||||
// ===== 4.9: Approval management =====
|
||||
execApprovalList() {
|
||||
return this.request('exec.approval.list', {})
|
||||
}
|
||||
|
||||
execApprovalGet(id) {
|
||||
return this.request('exec.approval.get', { id })
|
||||
}
|
||||
|
||||
pluginApprovalList() {
|
||||
return this.request('plugin.approval.list', {})
|
||||
}
|
||||
|
||||
onEvent(callback) {
|
||||
this._eventListeners.push(callback)
|
||||
return () => { this._eventListeners = this._eventListeners.filter(fn => fn !== callback) }
|
||||
|
||||
Reference in New Issue
Block a user