@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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeni/core",
|
|
3
|
-
"version": "2.7.5-canary.
|
|
3
|
+
"version": "2.7.5-canary.2",
|
|
4
4
|
"description": "OpenGeni framework-agnostic core: the domain, access, and billing layers (neutral access, off-HTTP V2 surface). Behavior-preserving extraction from apps/api — keeps Hono's HTTPException for error throwing (typed-errors cleanup deferred).",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -54,17 +54,17 @@
|
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
57
|
-
"@opengeni/capabilities": "^0.3.2-canary.
|
|
58
|
-
"@opengeni/codex": "^0.2.21-canary.
|
|
59
|
-
"@opengeni/config": "^1.0.0-canary.
|
|
60
|
-
"@opengeni/contracts": "^2.13.0-canary.
|
|
61
|
-
"@opengeni/db": "^4.0.0-canary.
|
|
62
|
-
"@opengeni/documents": "^0.8.19-canary.
|
|
63
|
-
"@opengeni/events": "^0.4.17-canary.
|
|
64
|
-
"@opengeni/network": "^0.3.0-canary.
|
|
65
|
-
"@opengeni/observability": "^0.8.19-canary.
|
|
66
|
-
"@opengeni/runtime": "^2.3.0-canary.
|
|
67
|
-
"@opengeni/storage": "^0.2.120-canary.
|
|
57
|
+
"@opengeni/capabilities": "^0.3.2-canary.2",
|
|
58
|
+
"@opengeni/codex": "^0.2.21-canary.2",
|
|
59
|
+
"@opengeni/config": "^1.0.0-canary.2",
|
|
60
|
+
"@opengeni/contracts": "^2.13.0-canary.2",
|
|
61
|
+
"@opengeni/db": "^4.0.0-canary.2",
|
|
62
|
+
"@opengeni/documents": "^0.8.19-canary.2",
|
|
63
|
+
"@opengeni/events": "^0.4.17-canary.2",
|
|
64
|
+
"@opengeni/network": "^0.3.0-canary.2",
|
|
65
|
+
"@opengeni/observability": "^0.8.19-canary.2",
|
|
66
|
+
"@opengeni/runtime": "^2.3.0-canary.2",
|
|
67
|
+
"@opengeni/storage": "^0.2.120-canary.2",
|
|
68
68
|
"hono": "^4.12.18",
|
|
69
69
|
"zod": "^4.2.1"
|
|
70
70
|
},
|
package/src/domain/sessions.ts
CHANGED
|
@@ -1715,8 +1715,9 @@ export async function postUserMessageTurn(
|
|
|
1715
1715
|
* `session_create` tool: payload validation, resource/tool/variableSet
|
|
1716
1716
|
* checks, usage limits, session start, and usage recording. `rawPayload` is
|
|
1717
1717
|
* the unparsed request body so absent-vs-empty execution-context fields keep
|
|
1718
|
-
* their meaning: a child inherits
|
|
1719
|
-
* trusted immediate parent
|
|
1718
|
+
* their meaning: a child inherits repositories (never files), tools, and MCP
|
|
1719
|
+
* servers from its trusted immediate parent when omitted; explicit arrays
|
|
1720
|
+
* (including []) win. A
|
|
1720
1721
|
* top-level create with omitted tools applies workspace-default capability MCPs.
|
|
1721
1722
|
*/
|
|
1722
1723
|
export function resolveChildGoalFromAcceptedSnapshot(
|
|
@@ -2102,7 +2103,8 @@ export async function createSessionForRequestWithOutcome(
|
|
|
2102
2103
|
const resources = normalizeResources(
|
|
2103
2104
|
hasOwnProperty(rawPayload, "resources")
|
|
2104
2105
|
? payload.resources
|
|
2105
|
-
: (parentSession?.resources
|
|
2106
|
+
: (parentSession?.resources.filter((resource) => resource.kind === "repository") ??
|
|
2107
|
+
payload.resources),
|
|
2106
2108
|
);
|
|
2107
2109
|
const inheritedOrSubmittedSkills = hasOwnProperty(rawPayload, "skills")
|
|
2108
2110
|
? payload.skills
|