@opengeni/core 2.7.5-canary.1 → 2.7.5-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/domain/sessions.d.ts +3 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +12 -12
- package/src/domain/sessions.ts +5 -3
|
@@ -273,8 +273,9 @@ export declare function postUserMessageTurn(input: PostUserMessageTurnInput): Pr
|
|
|
273
273
|
* `session_create` tool: payload validation, resource/tool/variableSet
|
|
274
274
|
* checks, usage limits, session start, and usage recording. `rawPayload` is
|
|
275
275
|
* the unparsed request body so absent-vs-empty execution-context fields keep
|
|
276
|
-
* their meaning: a child inherits
|
|
277
|
-
* trusted immediate parent
|
|
276
|
+
* their meaning: a child inherits repositories (never files), tools, and MCP
|
|
277
|
+
* servers from its trusted immediate parent when omitted; explicit arrays
|
|
278
|
+
* (including []) win. A
|
|
278
279
|
* top-level create with omitted tools applies workspace-default capability MCPs.
|
|
279
280
|
*/
|
|
280
281
|
export declare function resolveChildGoalFromAcceptedSnapshot(goal: GoalSpec, parentGoalSnapshot: SessionGoalSnapshot): GoalSpec;
|
package/dist/index.js
CHANGED
|
@@ -10043,7 +10043,7 @@ async function createSessionForRequestWithOutcome(unresolvedDeps, grant, workspa
|
|
|
10043
10043
|
sessionMcpServers.runtimeServers
|
|
10044
10044
|
);
|
|
10045
10045
|
const resources = normalizeResources(
|
|
10046
|
-
hasOwnProperty(rawPayload, "resources") ? payload.resources : parentSession?.resources ?? payload.resources
|
|
10046
|
+
hasOwnProperty(rawPayload, "resources") ? payload.resources : parentSession?.resources.filter((resource) => resource.kind === "repository") ?? payload.resources
|
|
10047
10047
|
);
|
|
10048
10048
|
const inheritedOrSubmittedSkills = hasOwnProperty(rawPayload, "skills") ? payload.skills : parentSession?.skills ?? payload.skills;
|
|
10049
10049
|
const selectedInstalledSkillIds = payload.installedSkillIds ?? [];
|