@opengeni/db 0.14.0 → 0.14.3

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.
@@ -933,13 +933,12 @@ var sessions = pgTable2(
933
933
  // Non-default first-party MCP token permissions (manager-style sessions);
934
934
  // null means the fixed worker default set in @opengeni/runtime.
935
935
  firstPartyMcpPermissions: jsonb("first_party_mcp_permissions").$type(),
936
- // Exact model-visible first-party tool selection. NULL resolves to the
937
- // fixed minimal default; [] intentionally selects no broad-server tools.
938
- firstPartyMcpTools: jsonb("first_party_mcp_tools").$type(),
939
- // Durable tool-policy origin. NULL is retained for pre-migration rows;
940
- // mapSession exposes those rows as `legacy` instead of guessing omitted vs
941
- // explicit [].
942
- toolPolicy: jsonb("tool_policy").$type(),
936
+ // Exact model-visible first-party tool selection. All catalogued tools are
937
+ // selected by default; [] intentionally selects no broad-server tools.
938
+ firstPartyMcpTools: jsonb("first_party_mcp_tools").$type().notNull(),
939
+ // Durable tool-policy origin. Migration 0136 removes the old null/legacy
940
+ // representation so every session has one explicit policy mode.
941
+ toolPolicy: jsonb("tool_policy").$type().notNull(),
943
942
  // Optimistic-concurrency fence for durable session tool-policy writes.
944
943
  toolPolicyVersion: integer("tool_policy_version").notNull().default(1),
945
944
  // The manager session that spawned this one via session_create. Set only
@@ -4044,4 +4043,4 @@ export {
4044
4043
  rigChanges,
4045
4044
  schema_exports
4046
4045
  };
4047
- //# sourceMappingURL=chunk-PQKVUWQW.js.map
4046
+ //# sourceMappingURL=chunk-DW24CKCT.js.map