@treeseed/sdk 0.13.0-rc.57 → 0.13.0-rc.59

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.
Files changed (30) hide show
  1. package/dist/.treeseed-build-complete.json +1 -0
  2. package/dist/agent-capacity/contracts/configuration/configuration.js +1 -1
  3. package/dist/agent-capacity/contracts/projects/agents/project-agent-class.d.ts +0 -1
  4. package/dist/agent-capacity/contracts/support/decision-work.d.ts +0 -1
  5. package/dist/agent-capacity/validation/activity-profile.js +7 -3
  6. package/dist/agent-capacity/validation/agent-definition-schema.d.ts +222 -222
  7. package/dist/agent-capacity/validation/agent-definition-schema.js +1 -1
  8. package/dist/agent-capacity/validation/configuration.d.ts +1 -1
  9. package/dist/agent-capacity/validation/configuration.js +1 -2
  10. package/dist/capacity-provider/capability-ontology.d.ts +0 -5
  11. package/dist/capacity-provider/capability-ontology.js +0 -1
  12. package/dist/capacity-provider/contracts/governance.d.ts +46 -64
  13. package/dist/capacity-provider/core-capability-catalog.d.ts +2 -2
  14. package/dist/capacity-provider/core-capability-catalog.js +7 -21
  15. package/dist/capacity-provider/environment-catalog.d.ts +72 -72
  16. package/dist/capacity-provider/sandbox-contracts.d.ts +5 -0
  17. package/dist/capacity-provider/sandbox-contracts.js +1 -1
  18. package/dist/capacity-provider/sandbox.d.ts +1 -0
  19. package/dist/capacity-provider/sandbox.js +1 -0
  20. package/dist/capacity-provider/validation.d.ts +1 -3
  21. package/dist/capacity-provider/validation.js +6 -36
  22. package/dist/content/validation/content-model-schemas.d.ts +408 -408
  23. package/dist/content/validation/portable-content-data.d.ts +37 -37
  24. package/dist/operator-contracts/canonical-command-tree.js +11 -0
  25. package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +0 -1
  26. package/dist/operator-contracts/control-plane-operations.d.ts +0 -1
  27. package/dist/types/agents/agent-activity-profile.d.ts +3 -3
  28. package/dist/types/agents/agent-trigger-kinds.d.ts +3 -4
  29. package/dist/types/agents/agent-trigger-kinds.js +1 -13
  30. package/package.json +5 -1
@@ -0,0 +1 @@
1
+ {"completedAt":"2026-08-31T04:02:23.583Z"}
@@ -7,7 +7,7 @@ const CAPACITY_CONFIGURATION_FAMILIES = [
7
7
  "activity-profile"
8
8
  ];
9
9
  const CAPACITY_CONFIGURATION_DESCRIPTORS = [
10
- { id: "provider-manifest", ownerPackage: "@treeseed/sdk", format: "yaml", schemaId: "treeseed.capacity-provider/v4", validator: "validateCapacityProviderManifestV4", runtimeOwner: "@treeseed/agent" },
10
+ { id: "provider-manifest", ownerPackage: "@treeseed/sdk", format: "yaml", schemaId: "treeseed.capacity-provider/v5", validator: "validateCapacityProviderManifestV5", runtimeOwner: "@treeseed/agent" },
11
11
  { id: "provider-offer", ownerPackage: "@treeseed/sdk", format: "yaml", schemaId: "treeseed.provider-supply-offer/v1", validator: "validateProviderSupplyOffer", runtimeOwner: "@treeseed/agent" },
12
12
  { id: "capacity-grant", ownerPackage: "@treeseed/sdk", format: "yaml", schemaId: "treeseed.capacity-grant/v2", validator: "validateCapacityGrantV2", runtimeOwner: "@treeseed/api" },
13
13
  { id: "allocation-set", ownerPackage: "@treeseed/sdk", format: "yaml", schemaId: "treeseed.capacity-allocation-set/v2", validator: "validateCapacityAllocationSetV2", runtimeOwner: "@treeseed/api" },
@@ -26,7 +26,6 @@ export interface ProjectAgentClass {
26
26
  name: string;
27
27
  status: ProjectAgentClassStatus;
28
28
  allowedModes: AgentExecutionMode[];
29
- requiredCapabilities: string[];
30
29
  kernelProfile: AgentKernelProfile;
31
30
  kernelPolicy: AgentKernelPolicy;
32
31
  handlerRefs: Record<string, unknown>;
@@ -34,7 +34,6 @@ export interface DecisionDependencySpec {
34
34
  optional?: boolean;
35
35
  deliverableType?: string;
36
36
  capability?: string;
37
- agentClass?: string;
38
37
  contentRefs?: string[];
39
38
  humanInputPolicy?: {
40
39
  requiredFrom: 'team-human' | 'any-human' | 'any-human-or-agent';
@@ -6,7 +6,7 @@ const TOOL_KEYS = /* @__PURE__ */ new Set(["allowed", "denied"]);
6
6
  const SIGNAL_KEYS = /* @__PURE__ */ new Set(["subscribesTo", "publishes"]);
7
7
  const SUBSCRIPTION_KEYS = /* @__PURE__ */ new Set(["contract", "groupScope", "filters", "cardinality", "producerPolicy", "quorum"]);
8
8
  const OUTPUT_KEYS = /* @__PURE__ */ new Set(["messageTypes", "modelMutations"]);
9
- const EXECUTION_KEYS = /* @__PURE__ */ new Set(["requiredCapabilities", "maxRuntimeSeconds", "preparationSeconds", "closeoutSeconds", "closeoutWarningSeconds", "maxRetries", "verificationRequired", "maxTotalTokens", "warningTokens", "maxCostAmount", "costCurrency", "nativeLimits", "pricingGeneration", "enforcementConfidence", "allowedPaths", "forbiddenPaths"]);
9
+ const EXECUTION_KEYS = /* @__PURE__ */ new Set(["reasoningEffort", "maxRuntimeSeconds", "preparationSeconds", "closeoutSeconds", "closeoutWarningSeconds", "maxRetries", "verificationRequired", "maxTotalTokens", "warningTokens", "maxCostAmount", "costCurrency", "nativeLimits", "pricingGeneration", "enforcementConfidence", "allowedPaths", "forbiddenPaths"]);
10
10
  const CONTENT_ACCESS_KEYS = /* @__PURE__ */ new Set(["content", "commit", "repository", "network", "shell"]);
11
11
  const MODEL_PERMISSION_KEYS = /* @__PURE__ */ new Set(["operations", "filters"]);
12
12
  const QUESTION_KEYS = /* @__PURE__ */ new Set(["defaultAnswerPolicy", "blockExecutionWhenCreated"]);
@@ -218,7 +218,10 @@ function validateCloseoutPolicy(value, path, add) {
218
218
  if (value.requiredArtifactKinds !== void 0 && !strings(value.requiredArtifactKinds)) add("agent_activity_string_list_invalid", `${path}.requiredArtifactKinds`, "requiredArtifactKinds must contain unique non-empty strings.");
219
219
  }
220
220
  function validateCapabilityRequirements(value, path, add) {
221
- if (value === void 0) return;
221
+ if (value === void 0) {
222
+ add("agent_activity_capability_requirements_required", path, "capabilityRequirements is required.");
223
+ return;
224
+ }
222
225
  if (!Array.isArray(value) || value.length === 0) {
223
226
  add("agent_activity_capability_requirements_required", path, "capabilityRequirements must be a non-empty array.");
224
227
  return;
@@ -260,7 +263,8 @@ function validateExecution(value, path, add) {
260
263
  return;
261
264
  }
262
265
  unknownKeys(value, EXECUTION_KEYS, path, add);
263
- for (const key of ["requiredCapabilities", "allowedPaths", "forbiddenPaths"]) if (value[key] !== void 0 && !strings(value[key])) add("agent_activity_string_list_invalid", `${path}.${key}`, `${path}.${key} must contain unique non-empty strings.`);
266
+ for (const key of ["allowedPaths", "forbiddenPaths"]) if (value[key] !== void 0 && !strings(value[key])) add("agent_activity_string_list_invalid", `${path}.${key}`, `${path}.${key} must contain unique non-empty strings.`);
267
+ if (value.reasoningEffort !== void 0 && !["minimal", "low", "medium", "high", "xhigh"].includes(String(value.reasoningEffort))) add("agent_activity_reasoning_effort_invalid", `${path}.reasoningEffort`, "reasoningEffort must be minimal, low, medium, high, or xhigh.");
264
268
  if (value.maxRuntimeSeconds !== void 0 && (!Number.isInteger(value.maxRuntimeSeconds) || Number(value.maxRuntimeSeconds) < 1)) add("agent_activity_runtime_invalid", `${path}.maxRuntimeSeconds`, "maxRuntimeSeconds must be a positive integer.");
265
269
  if (value.closeoutWarningSeconds !== void 0 && (!Number.isInteger(value.closeoutWarningSeconds) || Number(value.closeoutWarningSeconds) < 1)) add("agent_activity_closeout_warning_invalid", `${path}.closeoutWarningSeconds`, "closeoutWarningSeconds must be a positive integer.");
266
270
  if (value.preparationSeconds !== void 0 && (!Number.isInteger(value.preparationSeconds) || Number(value.preparationSeconds) < 1)) add("agent_activity_preparation_duration_invalid", `${path}.preparationSeconds`, "preparationSeconds must be a positive integer.");