@kynver-app/openclaw-agent-os 0.1.35 → 0.1.36
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 +11 -8
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -960,12 +960,12 @@ function buildAgentOsContinuityGuidanceContext(config) {
|
|
|
960
960
|
"- Do not answer a reply-thread/status question with a generic paragraph that ignores the quoted message \u2014 that reads like a memory failure to the operator.",
|
|
961
961
|
"If an AgentOS call fails or returns unavailable, say so explicitly, fall back to local markdown or conversation memory for that turn, and ask the user before persisting anything that would normally go to AgentOS.",
|
|
962
962
|
"",
|
|
963
|
-
"AgentTask priority (
|
|
963
|
+
"AgentTask priority (capacity queue signal \u2014 not importance):",
|
|
964
964
|
"- Default agent_os_task_create to priority normal (low for routine cleanup). Omit priority to use normal.",
|
|
965
|
-
"- Do NOT copy
|
|
966
|
-
"-
|
|
967
|
-
"-
|
|
968
|
-
"- The API downgrades
|
|
965
|
+
"- Do NOT copy plan/goal priority onto tasks. Important work stays normal when worker slots are free \u2014 dispatch instead.",
|
|
966
|
+
"- high = harness workers saturated AND ready work waiting for slots (contention only).",
|
|
967
|
+
"- critical = live production/security incident or workstream stop \u2014 cite in priorityEscalationReason or title/description.",
|
|
968
|
+
"- The API downgrades importance-style high/critical; Command Center high-priority counts use effective (capacity-aware) priority.",
|
|
969
969
|
"",
|
|
970
970
|
"Command Center (operational control plane):",
|
|
971
971
|
"- 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.",
|
|
@@ -2598,11 +2598,11 @@ var taskStatus = { type: "string", enum: taskStatusValues };
|
|
|
2598
2598
|
var taskPriority = {
|
|
2599
2599
|
type: "string",
|
|
2600
2600
|
enum: taskPriorityValues,
|
|
2601
|
-
description: "Default normal.
|
|
2601
|
+
description: "Default normal. Priority is a capacity queue signal: high only when workers saturated and ready work waits; critical only for live prod/security incidents (cite in priorityEscalationReason or title/description)."
|
|
2602
2602
|
};
|
|
2603
2603
|
var priorityEscalationReason = {
|
|
2604
2604
|
type: "string",
|
|
2605
|
-
description: "
|
|
2605
|
+
description: "Required for critical: quote Will or name the live incident. Not used for high (contention-only)."
|
|
2606
2606
|
};
|
|
2607
2607
|
var taskExecutor = { type: "string", enum: taskExecutorValues };
|
|
2608
2608
|
var taskEventType = { type: "string", enum: taskEventTypeValues };
|
|
@@ -2621,7 +2621,10 @@ var dependsOnTaskIds = {
|
|
|
2621
2621
|
var createTaskSchema = {
|
|
2622
2622
|
type: "object",
|
|
2623
2623
|
properties: {
|
|
2624
|
-
title: {
|
|
2624
|
+
title: {
|
|
2625
|
+
type: "string",
|
|
2626
|
+
description: "Short task title. Do not create closeout-only bookkeeping tasks (board drain, stale-row cleanup, close/cancel-only sweeps) \u2014 update/close the existing AgentTask instead."
|
|
2627
|
+
},
|
|
2625
2628
|
description: { type: "string" },
|
|
2626
2629
|
priority: taskPriority,
|
|
2627
2630
|
priorityEscalationReason,
|