Skip to content

feat: OpenClaw 2026.5.7 compatibility — palaia v2.8.0#201

Merged
iret77 merged 5 commits into
mainfrom
claude/eloquent-jones-4bbd38
May 12, 2026
Merged

feat: OpenClaw 2026.5.7 compatibility — palaia v2.8.0#201
iret77 merged 5 commits into
mainfrom
claude/eloquent-jones-4bbd38

Conversation

@iret77

@iret77 iret77 commented May 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Bumps OpenClaw peer dependency to >=2026.5.7 (from >=2026.3.22)
  • Updates plugin SDK types to match v2026.5.7 interface
  • Migrates to registerMemoryCapability (replaces deprecated registerMemoryPromptSection)
  • Factory uses ContextEngineFactoryContext.workspaceDir for reliable workspace resolution
  • assemble() skips injection on turns where no memory tools are available
  • assemble() appends citation guidance when citationsMode is active

Test plan

  • tsc --noEmit passes without errors
  • vitest run — 207 tests pass across 7 test files
  • Manual: plugin loads in OpenClaw 2026.5.7, memory_search works, context injection active
  • Manual: citationsMode produces citation hint in system prompt addition
  • Manual: palaia doctor --fix clean on fresh install

🤖 Generated with Claude Code

iret77 and others added 5 commits April 8, 2026 11:01
- Fix select/input height mismatch in New Entry form (explicit 38px)
- Convert Project + Agent fields to datalist with autocomplete from API
- Add /api/tags endpoint + tags datalist for autocomplete
- Move Active Tasks from invisible page-bottom to sidebar (always visible)
- Render detail body as formatted Markdown instead of raw monospace
- Simplify layout from 3-column to 2-column (tasks now in sidebar)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Entries now carry a source tag indicating how they were created:
- webui: created via WebUI (human, 1.3× boost)
- cli: created via palaia add/write (human, 1.3× boost)
- auto-capture: passively captured (no boost)
- no source tag: agent-created via MCP/tool (no boost)

Updates badge display, detail panel, and OpenClaw recall ranking.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
P0: Fix renderMarkdown double-encoding in code blocks (extract before
esc), resolve merge conflict from stash/pop.
P0: Filter webui/cli/auto-capture from edit form tag input.
P1: Add source field to search result JS mapping.
P1: Re-apply cli.py source tag injection (lost during stash/pop).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- types.ts: update SDK types to v2026.5.7
  - Add ContextEngineFactoryContext (workspaceDir/agentDir)
  - Update ContextEngineFactory signature to accept factory context
  - Add TranscriptRewriteReplacement/Request/Result types
  - Add ContextEngineMaintenanceResult, ContextEnginePromptCacheInfo
  - Add turnMaintenanceMode to ContextEngineInfo
  - Add promptAuthority to AssembleResult
  - Add sessionId/sessionFile to CompactResult.result
  - Add availableTools + citationsMode to assemble() params
  - Add contextMode + session paths to prepareSubagentSpawn() params
  - Add rewriteTranscriptEntries + promptCache to ContextEngineRuntimeContext
  - Add MemoryPluginCapability, MemoryPluginPublicArtifact types
  - Add registerMemoryCapability to OpenClawPluginApi
  - Add before_agent_reply, model_call_started, model_call_ended hooks
  - Add tasks/taskFlow to PluginRuntime

- context-engine.ts: assemble() now respects availableTools and citationsMode
  - Skips injection when no memory tools are available this turn
  - Appends citation guidance when citationsMode is active

- index.ts: use registerMemoryCapability (v2026.5.7 API) with
  fallback to deprecated registerMemoryPromptSection; factory uses
  ContextEngineFactoryContext.workspaceDir for reliable workspace resolution

- Bump peerDependency: openclaw >=2026.3.22 → >=2026.5.7
- Bump version: 2.7.3 → 2.8.0

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- CHANGELOG: new v2.8.0 entry (OpenClaw 2026.5.7 compat, new APIs)
- SKILL.md: version 2.7.3 → 2.8.0, postUpdateMessage updated
- All 4 SKILL.md copies synced (palaia/, root, skills/, plugin)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@iret77 iret77 merged commit f8ca791 into main May 12, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant