@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.
- package/dist/{chunk-PQKVUWQW.js → chunk-DW24CKCT.js} +7 -8
- package/dist/chunk-DW24CKCT.js.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +73 -31
- package/dist/index.js.map +1 -1
- package/dist/provision-roles.d.ts +20 -9
- package/dist/{schema-FoPub9yt.d.ts → schema-DhkRhcuQ.d.ts} +4 -4
- package/dist/schema.d.ts +1 -1
- package/dist/schema.js +1 -1
- package/drizzle/0136_unified_session_tool_policy.sql +109 -0
- package/package.json +3 -3
- package/src/index.ts +102 -11
- package/src/schema.ts +6 -7
- package/src/session-queue-commands.ts +8 -40
- package/dist/chunk-PQKVUWQW.js.map +0 -1
|
@@ -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.
|
|
937
|
-
//
|
|
938
|
-
firstPartyMcpTools: jsonb("first_party_mcp_tools").$type(),
|
|
939
|
-
// Durable tool-policy origin.
|
|
940
|
-
//
|
|
941
|
-
|
|
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-
|
|
4046
|
+
//# sourceMappingURL=chunk-DW24CKCT.js.map
|