@kynver-app/openclaw-agent-os 0.1.48 → 0.1.50

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
@@ -18,7 +18,7 @@ import {
18
18
  diagnoseRepoSearchFailure,
19
19
  extractSearchMetaFromToolLine,
20
20
  formatRepoSearchGuidance
21
- } from "@kynver-app/runtime";
21
+ } from "@kynver-app/runtime/server/repo-search";
22
22
  function rewriteRepoSearchToolFailureLine(line) {
23
23
  const meta = extractSearchMetaFromToolLine(line);
24
24
  if (!meta) return null;
@@ -140,7 +140,7 @@ function isDirectChatMessageSendingContext(ctx) {
140
140
  }
141
141
 
142
142
  // index.ts
143
- import { enforceMemoryCostPackageGuardAtStartup } from "@kynver-app/runtime";
143
+ import { enforceMemoryCostPackageGuardAtStartup } from "@kynver-app/runtime/server/memory-cost-enforce";
144
144
 
145
145
  // src/config.ts
146
146
  var pluginConfigSchema = {
@@ -1887,6 +1887,11 @@ var contextEnvelopeSchema = {
1887
1887
  type: "number",
1888
1888
  description: "Max recent sessions (default 1, max 5). Set 0 to skip."
1889
1889
  },
1890
+ mode: {
1891
+ type: "string",
1892
+ enum: ["routine", "ops", "debug", "handoff"],
1893
+ description: "Caller intent for context budgeting. Default routine keeps payloads small; ops/debug/handoff tune recall breadth and active-state preference without changing projection semantics alone."
1894
+ },
1890
1895
  slug: {
1891
1896
  type: "string",
1892
1897
  description: "AgentOS slug. Omit to use the account's primary AgentOS workspace."
@@ -3024,9 +3029,15 @@ var createTaskSchema = {
3024
3029
  parentTaskId: { type: "string" },
3025
3030
  goalId: { type: "string" },
3026
3031
  projectId: { type: "string" },
3032
+ planId: { type: "string", description: "AgentPlan id to link this task to; required for plan-scoped harness work." },
3033
+ planStageId: { type: "string", description: "Optional AgentPlan stage id for finer plan lineage." },
3027
3034
  personaSlug: nullableString,
3028
3035
  scheduledFor,
3029
3036
  dependsOnTaskIds,
3037
+ standaloneReason: {
3038
+ type: "string",
3039
+ description: "Required when intentionally creating an unscoped harness task without parentTaskId or planId; explain why it is standalone."
3040
+ },
3030
3041
  idempotencyKey: { type: "string", description: "Stable dedupe key for retry/restart safety." },
3031
3042
  requestId: { type: "string", description: "Raw foreground request id; used as dedupe key when idempotencyKey is absent." },
3032
3043
  slug: { type: "string" }
@@ -3071,6 +3082,8 @@ var updateTaskSchema = {
3071
3082
  parentTaskId: { type: "string" },
3072
3083
  goalId: { type: "string" },
3073
3084
  projectId: { type: "string" },
3085
+ planId: { type: "string" },
3086
+ planStageId: { type: "string" },
3074
3087
  personaSlug: nullableString,
3075
3088
  scheduledFor,
3076
3089
  dependsOnTaskIds,
@@ -3184,7 +3197,7 @@ function createTaskTools(config) {
3184
3197
  }
3185
3198
 
3186
3199
  // src/tools/harness.ts
3187
- import { formatHarnessToolReadable, joinHarnessNotice } from "@kynver-app/runtime";
3200
+ import { formatHarnessToolReadable, joinHarnessNotice } from "@kynver-app/runtime/server/harness-notice";
3188
3201
 
3189
3202
  // src/harness-client.ts
3190
3203
  import { createRequire } from "node:module";