@opengeni/core 0.15.1 → 0.16.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeni/core",
3
- "version": "0.15.1",
3
+ "version": "0.16.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": {
@@ -35,14 +35,14 @@
35
35
  "dependencies": {
36
36
  "@modelcontextprotocol/sdk": "^1.29.0",
37
37
  "@opengeni/codex": "^0.2.9",
38
- "@opengeni/config": "^0.8.1",
39
- "@opengeni/contracts": "^0.27.0",
40
- "@opengeni/db": "^0.17.1",
41
- "@opengeni/documents": "^0.2.61",
42
- "@opengeni/events": "^0.3.52",
38
+ "@opengeni/config": "^0.9.1",
39
+ "@opengeni/contracts": "^0.28.1",
40
+ "@opengeni/db": "^0.19.0",
41
+ "@opengeni/documents": "^0.2.64",
42
+ "@opengeni/events": "^0.3.55",
43
43
  "@opengeni/observability": "^0.3.0",
44
- "@opengeni/runtime": "^0.15.1",
45
- "@opengeni/storage": "^0.2.48",
44
+ "@opengeni/runtime": "^0.15.3",
45
+ "@opengeni/storage": "^0.2.50",
46
46
  "hono": "^4.12.18"
47
47
  },
48
48
  "engines": {
@@ -36,10 +36,26 @@ const marketingSocialPack: CapabilityPack = {
36
36
  category: "social-media",
37
37
  authModel: "oauth2_authorization_code_pkce",
38
38
  providers: ["x"],
39
- scopes: ["tweet.read", "users.read", "offline.access"],
39
+ scopes: ["tweet.read", "tweet.write", "users.read", "offline.access"],
40
40
  required: false,
41
41
  metadata: {
42
42
  docs: "https://docs.x.com/fundamentals/authentication/oauth-2-0/authorization-code",
43
+ firstParty: true,
44
+ oauthStartPath: "/social/oauth/start",
45
+ },
46
+ },
47
+ {
48
+ id: "reddit",
49
+ name: "Reddit",
50
+ category: "social-media",
51
+ authModel: "oauth2_authorization_code",
52
+ providers: ["reddit"],
53
+ scopes: ["identity", "read", "submit", "privatemessages", "history"],
54
+ required: false,
55
+ metadata: {
56
+ docs: "https://github.com/reddit-archive/reddit/wiki/OAuth2",
57
+ firstParty: true,
58
+ oauthStartPath: "/social/oauth/start",
43
59
  },
44
60
  },
45
61
  {
@@ -130,6 +146,11 @@ const marketingSocialPack: CapabilityPack = {
130
146
  "social_connections_list",
131
147
  "social_posts_recent",
132
148
  "social_daily_analysis_context",
149
+ "social_search_live",
150
+ "social_mentions_live",
151
+ "social_thread_fetch",
152
+ "social_posts_sync",
153
+ "social_post_reply",
133
154
  ],
134
155
  },
135
156
  };
@@ -1350,7 +1350,7 @@ export async function createSessionForRequest(
1350
1350
  }
1351
1351
  // Tool visibility is independent from permission authority. A child that
1352
1352
  // omits the field inherits the parent's exact effective selection; a
1353
- // top-level omission selects the complete catalog.
1353
+ // top-level omission selects the safe non-connector default catalog.
1354
1354
  const firstPartyMcpTools = resolveFirstPartyMcpToolsForCreate(
1355
1355
  payload.firstPartyMcpTools,
1356
1356
  parentSession ? parentSession.firstPartyMcpTools : undefined,