@opengeni/core 3.0.1-canary.0 → 3.0.1-canary.2

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
@@ -64,7 +64,7 @@ import {
64
64
  editableArtifactStorePortFromPostgres,
65
65
  validateEditableArtifactMaterializationJob,
66
66
  validateEditableArtifactPinnedVersion
67
- } from "./chunk-H7X52RI2.js";
67
+ } from "./chunk-TFHSE7XR.js";
68
68
  import {
69
69
  EDITABLE_ARTIFACT_COMPACTION_BYTE_THRESHOLD,
70
70
  EDITABLE_ARTIFACT_COMPACTION_TRANSACTION_THRESHOLD,
@@ -9011,6 +9011,7 @@ async function finishStartSession(input, session) {
9011
9011
  text: input.goal.text,
9012
9012
  ...input.goal.successCriteria !== void 0 ? { successCriteria: input.goal.successCriteria } : {},
9013
9013
  ...input.goal.rootConstraints !== void 0 ? { rootConstraints: input.goal.rootConstraints } : {},
9014
+ ...input.goal.reportRequirements !== void 0 ? { reportRequirements: input.goal.reportRequirements } : {},
9014
9015
  ...input.goal.maxAutoContinuations !== void 0 ? { maxAutoContinuations: input.goal.maxAutoContinuations } : {},
9015
9016
  ...input.goal.mutationPolicy !== void 0 ? { mutationPolicy: input.goal.mutationPolicy } : {}
9016
9017
  } : null,
@@ -13188,6 +13189,7 @@ async function createValidatedScheduledTask(input) {
13188
13189
  input.settings,
13189
13190
  { subjectId: input.grant.subjectId }
13190
13191
  );
13192
+ const hostRuntimeSettings = runtimeSettings && target ? settingsWithSessionMcpServerMetadata(runtimeSettings, target.mcpServers) : runtimeSettings;
13191
13193
  const personalConnectionDelegations = knowledgeAction || !runtimeSettings ? [] : await freezePersonalConnectionDelegations({
13192
13194
  db: input.db,
13193
13195
  workspaceId: input.grant.workspaceId,
@@ -13250,17 +13252,17 @@ async function createValidatedScheduledTask(input) {
13250
13252
  variableSetId: input.payload.variableSetId ?? null,
13251
13253
  rigId: input.payload.rigId ?? null,
13252
13254
  metadata: input.payload.metadata,
13253
- ...hostSelections?.length && runtimeSettings ? {
13255
+ ...hostSelections?.length && hostRuntimeSettings ? {
13254
13256
  captureHostAuthority: prepareHostMcpTaskAdmission({
13255
- settings: runtimeSettings,
13257
+ settings: hostRuntimeSettings,
13256
13258
  tools: target?.tools ?? agentConfig.tools,
13257
13259
  grant: input.grant,
13258
13260
  ...input.authorization ? { authorization: input.authorization } : {},
13259
13261
  selections: hostSelections
13260
13262
  })
13261
- } : hostSelections === void 0 && creationInitiator.actor && runtimeSettings ? {
13263
+ } : hostSelections === void 0 && creationInitiator.actor && hostRuntimeSettings ? {
13262
13264
  captureHostAuthority: prepareInheritedHostMcpTaskAdmission(
13263
- runtimeSettings,
13265
+ hostRuntimeSettings,
13264
13266
  target?.tools ?? agentConfig.tools,
13265
13267
  creationInitiator.actor
13266
13268
  )