@kynver-app/openclaw-agent-os 0.1.13 → 0.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +41 -1
- package/dist/index.js +552 -5
- package/dist/index.js.map +3 -3
- package/openclaw.plugin.json +14 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ identity, goals, projects, contacts, sessions, daily logs, and long-term memory.
|
|
|
7
7
|
|
|
8
8
|
## What It Provides
|
|
9
9
|
|
|
10
|
-
-
|
|
10
|
+
- Explicit `agent_os_*` tools in the OpenClaw tool namespace covering identity, goals, projects, contacts, sessions, memory, skills, the durable task board, and first-class plans with version history.
|
|
11
11
|
- Direct Kynver HTTP transport for low-latency calls, with primary-slug auto-resolution via `GET /api/agent-os` so installs work without hardcoding a persona.
|
|
12
12
|
- `mcporter` fallback for compatibility with existing MCP setups.
|
|
13
13
|
- Optional OpenClaw session lifecycle hooks that automatically open/close AgentOS sessions.
|
|
@@ -122,7 +122,10 @@ native Codex dynamic-tool bridge issue.
|
|
|
122
122
|
- `agent_os_search_memory`
|
|
123
123
|
- `agent_os_write_memory`
|
|
124
124
|
- `agent_os_update_memory`
|
|
125
|
+
- `agent_os_correct_memory`
|
|
125
126
|
- `agent_os_consolidate_memory`
|
|
127
|
+
- `agent_os_record_state`
|
|
128
|
+
- `agent_os_get_state`
|
|
126
129
|
- `agent_os_list_skills`
|
|
127
130
|
- `agent_os_get_skill`
|
|
128
131
|
- `agent_os_create_skill`
|
|
@@ -133,6 +136,27 @@ native Codex dynamic-tool bridge issue.
|
|
|
133
136
|
- `agent_os_get_contacts`
|
|
134
137
|
- `agent_os_create_contact`
|
|
135
138
|
- `agent_os_update_contact`
|
|
139
|
+
- `agent_os_plan_create`
|
|
140
|
+
- `agent_os_plan_list`
|
|
141
|
+
- `agent_os_plan_get`
|
|
142
|
+
- `agent_os_plan_update`
|
|
143
|
+
- `agent_os_plan_add_version`
|
|
144
|
+
- `agent_os_plan_mark_current`
|
|
145
|
+
- `agent_os_plan_add_link`
|
|
146
|
+
- `agent_os_plan_list_links`
|
|
147
|
+
- `agent_os_plan_list_versions`
|
|
148
|
+
|
|
149
|
+
Plan tools manage first-class AgentOS plans — versioned operational artifacts
|
|
150
|
+
distinct from goals/projects/tasks. Each `AgentPlan` owns a chain of immutable
|
|
151
|
+
`AgentPlanVersion` snapshots (one stamped current at a time) and typed
|
|
152
|
+
`AgentPlanLink` rows pointing at goals, projects, tasks, memories, sessions,
|
|
153
|
+
plans, or remote refs (repo/branch/commit/PR/URL/markdown). The plan body is
|
|
154
|
+
immutable — to record a new snapshot call `agent_os_plan_add_version`, which
|
|
155
|
+
appends a version and (by default) advances `currentVersionId` atomically. To
|
|
156
|
+
attach a plan to its own stable slug within the workspace, pass `planSlug`
|
|
157
|
+
(the workspace `slug` argument is reserved for the AgentOS slug). All
|
|
158
|
+
workspace-owned link targets are validated against the same AgentOS workspace
|
|
159
|
+
server-side; remote refs carry metadata only and are not resolved.
|
|
136
160
|
|
|
137
161
|
`agent_os_write_memory` and `agent_os_update_memory` are the OpenClaw
|
|
138
162
|
memory-writer surface. They accept `sourceRefs` plus `memoryType`, `confidence`,
|
|
@@ -141,6 +165,22 @@ write durable memories with provenance, reliability, review state, and project
|
|
|
141
165
|
links. Use `reviewStatus: "needs_review"` for important memories that are
|
|
142
166
|
uncertain or likely to need human correction.
|
|
143
167
|
|
|
168
|
+
`agent_os_correct_memory` is the auditable correction path: it writes a new
|
|
169
|
+
`correction` memory whose machine-readable claim atomically supersedes the named
|
|
170
|
+
`targetSlug` (and any `alsoInvalidates` entries), flipping each to
|
|
171
|
+
`status: superseded` while preserving it for recovery. Prefer it over
|
|
172
|
+
`agent_os_update_memory` when a prior memory was substantively wrong.
|
|
173
|
+
|
|
174
|
+
`agent_os_record_state` and `agent_os_get_state` are the active-state surface —
|
|
175
|
+
the "what is true right now?" tier. Active-state records hold volatile facts
|
|
176
|
+
(PR ownership/state, branch freshness, live deployment status) as one upserted
|
|
177
|
+
row per tracked entity. V1 covers `pr_watch`, `branch`, and `deployment`. The
|
|
178
|
+
canonical `entityKey` (e.g. `pr:openclaw/openclaw#83529`) is derived server-side
|
|
179
|
+
from the supplied `fields` and reused as the memory slug, so a second
|
|
180
|
+
`agent_os_record_state` call for the same entity replaces the row in place
|
|
181
|
+
while preserving its edit history. Read current truth with `agent_os_get_state`
|
|
182
|
+
before relying on a volatile fact rather than pattern-matching prose memory.
|
|
183
|
+
|
|
144
184
|
Skill tools expose the AgentOS skill registry without injecting every skill into
|
|
145
185
|
every model context. Fetch a skill on demand with `agent_os_get_skill`, manage
|
|
146
186
|
user-authored skills with `agent_os_create_skill`/`agent_os_update_skill`,
|