@pgpm/metaschema-modules 0.23.0 → 0.26.1

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.
Files changed (69) hide show
  1. package/Makefile +1 -1
  2. package/README.md +1 -1
  3. package/deploy/schemas/metaschema_modules_public/tables/agent_module/table.sql +77 -0
  4. package/deploy/schemas/metaschema_modules_public/tables/billing_module/table.sql +10 -0
  5. package/deploy/schemas/metaschema_modules_public/tables/compute_log_module/table.sql +44 -0
  6. package/deploy/schemas/metaschema_modules_public/tables/config_secrets_org_module/table.sql +28 -0
  7. package/deploy/schemas/metaschema_modules_public/tables/{encrypted_secrets_module → config_secrets_user_module}/table.sql +4 -4
  8. package/deploy/schemas/metaschema_modules_public/tables/db_usage_module/table.sql +52 -0
  9. package/deploy/schemas/metaschema_modules_public/tables/entity_type_provision/table.sql +135 -49
  10. package/deploy/schemas/metaschema_modules_public/tables/events_module/table.sql +85 -0
  11. package/deploy/schemas/metaschema_modules_public/tables/function_module/table.sql +68 -0
  12. package/deploy/schemas/metaschema_modules_public/tables/graph_module/table.sql +73 -0
  13. package/deploy/schemas/metaschema_modules_public/tables/inference_log_module/table.sql +44 -0
  14. package/deploy/schemas/metaschema_modules_public/tables/limits_module/table.sql +11 -1
  15. package/deploy/schemas/metaschema_modules_public/tables/merkle_store_module/table.sql +50 -0
  16. package/deploy/schemas/metaschema_modules_public/tables/namespace_module/table.sql +65 -0
  17. package/deploy/schemas/metaschema_modules_public/tables/rate_limit_meters_module/table.sql +51 -0
  18. package/deploy/schemas/metaschema_modules_public/tables/realtime_module/table.sql +2 -2
  19. package/deploy/schemas/metaschema_modules_public/tables/storage_log_module/table.sql +44 -0
  20. package/deploy/schemas/metaschema_modules_public/tables/storage_module/table.sql +17 -9
  21. package/deploy/schemas/metaschema_modules_public/tables/transfer_log_module/table.sql +44 -0
  22. package/deploy/schemas/metaschema_modules_public/tables/user_auth_module/table.sql +1 -1
  23. package/deploy/schemas/metaschema_modules_public/tables/{secrets_module → user_state_module}/table.sql +4 -4
  24. package/metaschema-modules.control +1 -1
  25. package/package.json +4 -4
  26. package/pgpm.plan +15 -3
  27. package/revert/schemas/metaschema_modules_public/tables/agent_module/table.sql +7 -0
  28. package/revert/schemas/metaschema_modules_public/tables/compute_log_module/table.sql +3 -0
  29. package/revert/schemas/metaschema_modules_public/tables/config_secrets_org_module/table.sql +7 -0
  30. package/revert/schemas/metaschema_modules_public/tables/config_secrets_user_module/table.sql +7 -0
  31. package/revert/schemas/metaschema_modules_public/tables/db_usage_module/table.sql +3 -0
  32. package/revert/schemas/metaschema_modules_public/tables/events_module/table.sql +7 -0
  33. package/revert/schemas/metaschema_modules_public/tables/function_module/table.sql +7 -0
  34. package/revert/schemas/metaschema_modules_public/tables/graph_module/table.sql +7 -0
  35. package/revert/schemas/metaschema_modules_public/tables/inference_log_module/table.sql +3 -0
  36. package/revert/schemas/metaschema_modules_public/tables/merkle_store_module/table.sql +7 -0
  37. package/revert/schemas/metaschema_modules_public/tables/namespace_module/table.sql +7 -0
  38. package/revert/schemas/metaschema_modules_public/tables/rate_limit_meters_module/table.sql +7 -0
  39. package/revert/schemas/metaschema_modules_public/tables/storage_log_module/table.sql +3 -0
  40. package/revert/schemas/metaschema_modules_public/tables/transfer_log_module/table.sql +3 -0
  41. package/revert/schemas/metaschema_modules_public/tables/user_state_module/table.sql +7 -0
  42. package/sql/{metaschema-modules--0.15.5.sql → metaschema-modules--0.26.0.sql} +884 -213
  43. package/verify/schemas/metaschema_modules_public/tables/agent_module/table.sql +7 -0
  44. package/verify/schemas/metaschema_modules_public/tables/billing_module/table.sql +2 -0
  45. package/verify/schemas/metaschema_modules_public/tables/compute_log_module/table.sql +9 -0
  46. package/verify/schemas/metaschema_modules_public/tables/config_secrets_org_module/table.sql +7 -0
  47. package/verify/schemas/metaschema_modules_public/tables/config_secrets_user_module/table.sql +7 -0
  48. package/verify/schemas/metaschema_modules_public/tables/db_usage_module/table.sql +10 -0
  49. package/verify/schemas/metaschema_modules_public/tables/events_module/table.sql +7 -0
  50. package/verify/schemas/metaschema_modules_public/tables/function_module/table.sql +7 -0
  51. package/verify/schemas/metaschema_modules_public/tables/graph_module/table.sql +7 -0
  52. package/verify/schemas/metaschema_modules_public/tables/inference_log_module/table.sql +22 -0
  53. package/verify/schemas/metaschema_modules_public/tables/merkle_store_module/table.sql +7 -0
  54. package/verify/schemas/metaschema_modules_public/tables/namespace_module/table.sql +14 -0
  55. package/verify/schemas/metaschema_modules_public/tables/profiles_module/table.sql +2 -1
  56. package/verify/schemas/metaschema_modules_public/tables/rate_limit_meters_module/table.sql +7 -0
  57. package/verify/schemas/metaschema_modules_public/tables/storage_log_module/table.sql +10 -0
  58. package/verify/schemas/metaschema_modules_public/tables/transfer_log_module/table.sql +10 -0
  59. package/verify/schemas/metaschema_modules_public/tables/user_state_module/table.sql +7 -0
  60. package/deploy/schemas/metaschema_modules_public/tables/levels_module/table.sql +0 -64
  61. package/deploy/schemas/metaschema_modules_public/tables/table_template_module/table.sql +0 -43
  62. package/revert/schemas/metaschema_modules_public/tables/encrypted_secrets_module/table.sql +0 -7
  63. package/revert/schemas/metaschema_modules_public/tables/levels_module/table.sql +0 -7
  64. package/revert/schemas/metaschema_modules_public/tables/secrets_module/table.sql +0 -7
  65. package/revert/schemas/metaschema_modules_public/tables/table_template_module/table.sql +0 -7
  66. package/verify/schemas/metaschema_modules_public/tables/encrypted_secrets_module/table.sql +0 -7
  67. package/verify/schemas/metaschema_modules_public/tables/levels_module/table.sql +0 -7
  68. package/verify/schemas/metaschema_modules_public/tables/secrets_module/table.sql +0 -7
  69. package/verify/schemas/metaschema_modules_public/tables/table_template_module/table.sql +0 -18
package/pgpm.plan CHANGED
@@ -12,9 +12,9 @@ schemas/metaschema_modules_public/tables/crypto_auth_module/table [schemas/metas
12
12
  schemas/metaschema_modules_public/tables/default_ids_module/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/default_ids_module/table
13
13
  schemas/metaschema_modules_public/tables/denormalized_table_field/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/denormalized_table_field/table
14
14
  schemas/metaschema_modules_public/tables/emails_module/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/emails_module/table
15
- schemas/metaschema_modules_public/tables/encrypted_secrets_module/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/encrypted_secrets_module/table
15
+ schemas/metaschema_modules_public/tables/config_secrets_user_module/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/config_secrets_user_module/table
16
16
  schemas/metaschema_modules_public/tables/invites_module/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/invites_module/table
17
- schemas/metaschema_modules_public/tables/levels_module/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/levels_module/table
17
+ schemas/metaschema_modules_public/tables/events_module/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/events_module/table
18
18
  schemas/metaschema_modules_public/tables/limits_module/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/limits_module/table
19
19
  schemas/metaschema_modules_public/tables/membership_types_module/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/membership_types_module/table
20
20
  schemas/metaschema_modules_public/tables/memberships_module/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/memberships_module/table
@@ -22,7 +22,7 @@ schemas/metaschema_modules_public/tables/permissions_module/table [schemas/metas
22
22
  schemas/metaschema_modules_public/tables/phone_numbers_module/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/phone_numbers_module/table
23
23
  schemas/metaschema_modules_public/tables/profiles_module/table [schemas/metaschema_modules_public/schema] 2026-01-01T00:00:00Z devin <devin@cognition.ai> # add schemas/metaschema_modules_public/tables/profiles_module/table
24
24
  schemas/metaschema_modules_public/tables/rls_module/table [schemas/metaschema_modules_public/schema schemas/services_public/tables/apis/table] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/rls_module/table
25
- schemas/metaschema_modules_public/tables/secrets_module/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/secrets_module/table
25
+ schemas/metaschema_modules_public/tables/user_state_module/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/user_state_module/table
26
26
  schemas/services_public/tables/sites/table [schemas/services_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/services_public/tables/sites/table
27
27
  schemas/metaschema_modules_public/tables/sessions_module/table [schemas/metaschema_modules_public/schema] 2026-01-24T00:00:00Z devin <devin@cognition.ai> # add schemas/metaschema_modules_public/tables/sessions_module/table
28
28
  schemas/metaschema_modules_public/tables/user_auth_module/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/user_auth_module/table
@@ -48,3 +48,15 @@ schemas/metaschema_modules_public/tables/plans_module/table [schemas/metaschema_
48
48
  schemas/metaschema_modules_public/tables/billing_module/table [schemas/metaschema_modules_public/schema] 2026-05-02T23:45:00Z devin <devin@cognition.ai> # add billing_module config table for meters, plan_subscriptions, ledger, and balances
49
49
  schemas/metaschema_modules_public/tables/billing_provider_module/table [schemas/metaschema_modules_public/schema] 2026-05-03T01:00:00Z devin <devin@cognition.ai> # add billing_provider_module config table for external billing provider integration
50
50
  schemas/metaschema_modules_public/tables/realtime_module/table [schemas/metaschema_modules_public/schema] 2026-05-09T10:00:00Z devin <devin@cognition.ai> # add realtime_module config table for real-time subscription infrastructure
51
+ schemas/metaschema_modules_public/tables/rate_limit_meters_module/table [schemas/metaschema_modules_public/schema] 2026-05-16T00:00:00Z devin <devin@cognition.ai> # add rate_limit_meters_module for rolling window abuse protection (standalone rate limiting)
52
+ schemas/metaschema_modules_public/tables/config_secrets_org_module/table [schemas/metaschema_modules_public/schema] 2026-05-18T00:00:00Z devin <devin@cognition.ai> # add config_secrets_org_module config table for org-scoped encrypted secrets
53
+ schemas/metaschema_modules_public/tables/inference_log_module/table [schemas/metaschema_modules_public/schema] 2026-05-12T23:00:00Z devin <devin@cognition.ai> # add inference_log_module config table for partitioned LLM inference logging
54
+ schemas/metaschema_modules_public/tables/compute_log_module/table [schemas/metaschema_modules_public/schema] 2026-05-18T20:00:00Z devin <devin@cognition.ai> # add compute_log_module config table for partitioned compute usage logging
55
+ schemas/metaschema_modules_public/tables/transfer_log_module/table [schemas/metaschema_modules_public/schema] 2026-05-18T21:00:00Z devin <devin@cognition.ai> # add transfer_log_module config table for partitioned transfer/bandwidth logging
56
+ schemas/metaschema_modules_public/tables/storage_log_module/table [schemas/metaschema_modules_public/schema] 2026-05-18T21:00:01Z devin <devin@cognition.ai> # add storage_log_module config table for partitioned object storage usage logging
57
+ schemas/metaschema_modules_public/tables/db_usage_module/table [schemas/metaschema_modules_public/schema] 2026-05-18T21:00:02Z devin <devin@cognition.ai> # add db_usage_module config table for partitioned database-level usage metrics
58
+ schemas/metaschema_modules_public/tables/agent_module/table [schemas/metaschema_modules_public/schema] 2026-05-12T23:01:00Z devin <devin@cognition.ai> # add agent_module config table for AI agent conversation threads, messages, and tasks
59
+ schemas/metaschema_modules_public/tables/merkle_store_module/table [schemas/metaschema_modules_public/schema] 2026-05-21T00:00:00Z devin <devin@cognition.ai> # add merkle_store_module config table for content-addressed Merkle object stores
60
+ schemas/metaschema_modules_public/tables/graph_module/table [schemas/metaschema_modules_public/schema schemas/metaschema_modules_public/tables/merkle_store_module/table] 2026-05-21T01:00:00Z devin <devin@cognition.ai> # add graph_module config table for FBP graph utilities on top of merkle store
61
+ schemas/metaschema_modules_public/tables/namespace_module/table [schemas/metaschema_modules_public/schema] 2026-05-21T02:00:00Z devin <devin@cognition.ai> # add namespace_module config table for entity-aware namespace provisioning
62
+ schemas/metaschema_modules_public/tables/function_module/table [schemas/metaschema_modules_public/schema] 2026-05-21T03:00:00Z devin <devin@cognition.ai> # add function_module config table for entity-aware function definitions
@@ -0,0 +1,7 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/agent_module/table from pg
2
+
3
+ BEGIN;
4
+
5
+ DROP TABLE metaschema_modules_public.agent_module;
6
+
7
+ COMMIT;
@@ -0,0 +1,3 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/compute_log_module/table from pg
2
+
3
+ DROP TABLE IF EXISTS metaschema_modules_public.compute_log_module;
@@ -0,0 +1,7 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/config_secrets_org_module/table from pg
2
+
3
+ BEGIN;
4
+
5
+ DROP TABLE metaschema_modules_public.config_secrets_org_module;
6
+
7
+ COMMIT;
@@ -0,0 +1,7 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/config_secrets_user_module/table from pg
2
+
3
+ BEGIN;
4
+
5
+ DROP TABLE metaschema_modules_public.config_secrets_user_module;
6
+
7
+ COMMIT;
@@ -0,0 +1,3 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/db_usage_module/table from pg
2
+
3
+ DROP TABLE IF EXISTS metaschema_modules_public.db_usage_module;
@@ -0,0 +1,7 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/events_module/table from pg
2
+
3
+ BEGIN;
4
+
5
+ DROP TABLE metaschema_modules_public.events_module;
6
+
7
+ COMMIT;
@@ -0,0 +1,7 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/function_module/table from pg
2
+
3
+ BEGIN;
4
+
5
+ DROP TABLE metaschema_modules_public.function_module;
6
+
7
+ COMMIT;
@@ -0,0 +1,7 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/graph_module/table from pg
2
+
3
+ BEGIN;
4
+
5
+ DROP TABLE metaschema_modules_public.graph_module;
6
+
7
+ COMMIT;
@@ -0,0 +1,3 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/inference_log_module/table from pg
2
+
3
+ DROP TABLE IF EXISTS metaschema_modules_public.inference_log_module;
@@ -0,0 +1,7 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/merkle_store_module/table from pg
2
+
3
+ BEGIN;
4
+
5
+ DROP TABLE metaschema_modules_public.merkle_store_module;
6
+
7
+ COMMIT;
@@ -0,0 +1,7 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/namespace_module/table from pg
2
+
3
+ BEGIN;
4
+
5
+ DROP TABLE IF EXISTS metaschema_modules_public.namespace_module;
6
+
7
+ COMMIT;
@@ -0,0 +1,7 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/rate_limit_meters_module/table from pg
2
+
3
+ BEGIN;
4
+
5
+ DROP TABLE metaschema_modules_public.rate_limit_meters_module;
6
+
7
+ COMMIT;
@@ -0,0 +1,3 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/storage_log_module/table from pg
2
+
3
+ DROP TABLE IF EXISTS metaschema_modules_public.storage_log_module;
@@ -0,0 +1,3 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/transfer_log_module/table from pg
2
+
3
+ DROP TABLE IF EXISTS metaschema_modules_public.transfer_log_module;
@@ -0,0 +1,7 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/user_state_module/table from pg
2
+
3
+ BEGIN;
4
+
5
+ DROP TABLE metaschema_modules_public.user_state_module;
6
+
7
+ COMMIT;