@kynver-app/openclaw-agent-os 0.1.40 → 0.1.42

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/dist/index.js CHANGED
@@ -987,6 +987,12 @@ function buildAgentOsContinuityGuidanceContext(config) {
987
987
  "Command Center (operational control plane):",
988
988
  "- For the same unified rollup the browser Command Center uses (projects, plans, action-required, DQ inbox, harness summaries, runtime capacity, packageVersionHealth for @kynver-app/runtime), call agent_os_command_center_get. Omit slug to resolve the account primary workspace; pass agentOsId when you already have it from a prior identity fetch. When packageVersionHealth shows use_repo_source, run from the monorepo checkout (sourceVersionEvidence.consumeCommands) \u2014 never npm publish and never block on operator publish. install_needed/reload_needed may use global installs only when an operator directs it.",
989
989
  "",
990
+ "Kynver todos vs plan progress vs AgentTasks:",
991
+ "- Kynver todo items are session checklists projected to plan progress (todo_mirror=plan_progress_observed, task_plane_updates=0) \u2014 they do NOT create, close, or mutate AgentTasks.",
992
+ "- Plan progress rows are durable milestones on an AgentOS plan (kynver plan progress / agent_os_plan_progress_event_append).",
993
+ "- AgentTasks are durable board work (agent_os_task_create, harness dispatch, PR/closure evidence). Board-owned work starts from Command Center + Kynver harness before direct Codex subagents.",
994
+ "- Runbook: docs/runbooks/agent-os-kynver-todos-and-harness-first.md",
995
+ "",
990
996
  "Plan execution progress (Agentic OS operational flow):",
991
997
  "- Workers (`kynver plan progress`, harness/by-id route): emit checkpoints only \u2014 `running`, `partial`, or `blocked` as implementer with evidence and `executorRef`. The harness route rejects `status: done` and confirm events; never propose or confirm row closure from the worker CLI.",
992
998
  "- Chat agents / orchestrators (MCP `agent_os_plan_progress_event_append` on the slug route): propose row done (`proposed: true`, `status: done`, evidence) and confirm (`proposed: false`, reviewer lanes). Split implementer vs reviewer across models when possible.",
@@ -1353,6 +1359,7 @@ var BARE_TOOL_STATUS_LINE_RE = /^(?:`{1,2}\s*)?🛠️\s*(?:Exec|Read|Edit|Write
1353
1359
  var PLAIN_TOOL_PROGRESS_LINE_RE = /^print lines \d+(?:-\d+)?(?:\s+from\s+\S.*)?$/i;
1354
1360
  var CODEX_SEARCH_SCAFFOLD_LINE_RE = /^(?:search\s+)?<{4,}\|={4,}\|/i;
1355
1361
  var TOOL_AGENT_SCOPE_RE = /\(in\s+[~\/]|\(agent\)/i;
1362
+ var KYNVER_INTERNAL_TOOL_LINE_RE = /^(?:>\s*)?🛠️\s+(?:kynver(?:\s+worker|\s+harness|_harness)?_|agent_os_)/iu;
1356
1363
  function normalizeLineForToolFilter(line) {
1357
1364
  return line.trim().replace(/^`+|`+$/g, "").trim();
1358
1365
  }
@@ -1375,6 +1382,9 @@ function isRawInternalToolFailureLine(line) {
1375
1382
  if (PLAIN_TOOL_PROGRESS_LINE_RE.test(trimmed)) return true;
1376
1383
  if (CODEX_SEARCH_SCAFFOLD_LINE_RE.test(trimmed)) return true;
1377
1384
  if (/^🛠️\s+/u.test(normalized) && /\bfailed\b/i.test(normalized)) return true;
1385
+ if (KYNVER_INTERNAL_TOOL_LINE_RE.test(trimmed) || KYNVER_INTERNAL_TOOL_LINE_RE.test(normalized)) {
1386
+ return true;
1387
+ }
1378
1388
  if (/^(?:>\s*)?🛠️/u.test(trimmed) && TOOL_AGENT_SCOPE_RE.test(trimmed)) return true;
1379
1389
  return false;
1380
1390
  }