@kynver-app/openclaw-agent-os 0.1.49 → 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 = {
@@ -3029,9 +3029,15 @@ var createTaskSchema = {
3029
3029
  parentTaskId: { type: "string" },
3030
3030
  goalId: { type: "string" },
3031
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." },
3032
3034
  personaSlug: nullableString,
3033
3035
  scheduledFor,
3034
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
+ },
3035
3041
  idempotencyKey: { type: "string", description: "Stable dedupe key for retry/restart safety." },
3036
3042
  requestId: { type: "string", description: "Raw foreground request id; used as dedupe key when idempotencyKey is absent." },
3037
3043
  slug: { type: "string" }
@@ -3076,6 +3082,8 @@ var updateTaskSchema = {
3076
3082
  parentTaskId: { type: "string" },
3077
3083
  goalId: { type: "string" },
3078
3084
  projectId: { type: "string" },
3085
+ planId: { type: "string" },
3086
+ planStageId: { type: "string" },
3079
3087
  personaSlug: nullableString,
3080
3088
  scheduledFor,
3081
3089
  dependsOnTaskIds,
@@ -3189,7 +3197,7 @@ function createTaskTools(config) {
3189
3197
  }
3190
3198
 
3191
3199
  // src/tools/harness.ts
3192
- import { formatHarnessToolReadable, joinHarnessNotice } from "@kynver-app/runtime";
3200
+ import { formatHarnessToolReadable, joinHarnessNotice } from "@kynver-app/runtime/server/harness-notice";
3193
3201
 
3194
3202
  // src/harness-client.ts
3195
3203
  import { createRequire } from "node:module";