@lucern/contracts 1.0.11 → 1.0.12

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 (112) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/dist/function-registry/beliefs.d.ts +1 -1
  3. package/dist/function-registry/beliefs.js +79 -0
  4. package/dist/function-registry/beliefs.js.map +1 -1
  5. package/dist/function-registry/coding.d.ts +1 -1
  6. package/dist/function-registry/coding.js +79 -0
  7. package/dist/function-registry/coding.js.map +1 -1
  8. package/dist/function-registry/context.d.ts +44 -4
  9. package/dist/function-registry/context.js +101 -0
  10. package/dist/function-registry/context.js.map +1 -1
  11. package/dist/function-registry/contracts.d.ts +1 -1
  12. package/dist/function-registry/contracts.js +79 -0
  13. package/dist/function-registry/contracts.js.map +1 -1
  14. package/dist/function-registry/coordination.d.ts +1 -1
  15. package/dist/function-registry/coordination.js +79 -0
  16. package/dist/function-registry/coordination.js.map +1 -1
  17. package/dist/function-registry/edges.d.ts +1 -1
  18. package/dist/function-registry/edges.js +79 -0
  19. package/dist/function-registry/edges.js.map +1 -1
  20. package/dist/function-registry/evidence.d.ts +1 -1
  21. package/dist/function-registry/evidence.js +144 -24
  22. package/dist/function-registry/evidence.js.map +1 -1
  23. package/dist/function-registry/graph.d.ts +1 -1
  24. package/dist/function-registry/graph.js +81 -4
  25. package/dist/function-registry/graph.js.map +1 -1
  26. package/dist/function-registry/helpers.js +79 -0
  27. package/dist/function-registry/helpers.js.map +1 -1
  28. package/dist/function-registry/identity.d.ts +1 -1
  29. package/dist/function-registry/identity.js +79 -0
  30. package/dist/function-registry/identity.js.map +1 -1
  31. package/dist/function-registry/index.js +79 -0
  32. package/dist/function-registry/index.js.map +1 -1
  33. package/dist/function-registry/judgments.d.ts +1 -1
  34. package/dist/function-registry/judgments.js +79 -0
  35. package/dist/function-registry/judgments.js.map +1 -1
  36. package/dist/function-registry/legacy.d.ts +1 -1
  37. package/dist/function-registry/legacy.js +79 -0
  38. package/dist/function-registry/legacy.js.map +1 -1
  39. package/dist/function-registry/lenses.d.ts +1 -1
  40. package/dist/function-registry/lenses.js +79 -0
  41. package/dist/function-registry/lenses.js.map +1 -1
  42. package/dist/function-registry/manifest.d.ts +2 -2
  43. package/dist/function-registry/manifest.js +1 -0
  44. package/dist/function-registry/manifest.js.map +1 -1
  45. package/dist/function-registry/nodes.d.ts +1 -1
  46. package/dist/function-registry/nodes.js +79 -0
  47. package/dist/function-registry/nodes.js.map +1 -1
  48. package/dist/function-registry/ontologies.d.ts +1 -1
  49. package/dist/function-registry/ontologies.js +79 -0
  50. package/dist/function-registry/ontologies.js.map +1 -1
  51. package/dist/function-registry/pipeline.d.ts +1 -1
  52. package/dist/function-registry/pipeline.js +79 -0
  53. package/dist/function-registry/pipeline.js.map +1 -1
  54. package/dist/function-registry/questions.d.ts +1 -1
  55. package/dist/function-registry/questions.js +79 -0
  56. package/dist/function-registry/questions.js.map +1 -1
  57. package/dist/function-registry/tasks.d.ts +1 -1
  58. package/dist/function-registry/tasks.js +79 -0
  59. package/dist/function-registry/tasks.js.map +1 -1
  60. package/dist/function-registry/topics.d.ts +1 -1
  61. package/dist/function-registry/topics.js +81 -4
  62. package/dist/function-registry/topics.js.map +1 -1
  63. package/dist/function-registry/types.d.ts +1 -1
  64. package/dist/function-registry/worktrees.d.ts +1 -1
  65. package/dist/function-registry/worktrees.js +79 -0
  66. package/dist/function-registry/worktrees.js.map +1 -1
  67. package/dist/generated/infisicalRuntimeEnv.js +536 -1
  68. package/dist/generated/infisicalRuntimeEnv.js.map +1 -1
  69. package/dist/index.d.ts +2 -1
  70. package/dist/index.js +831 -4
  71. package/dist/index.js.map +1 -1
  72. package/dist/infisical-runtime.base.d.ts +42 -1
  73. package/dist/infisical-runtime.base.js +50 -1
  74. package/dist/infisical-runtime.base.js.map +1 -1
  75. package/dist/infisical-runtime.contract.d.ts +102 -0
  76. package/dist/infisical-runtime.contract.js +170 -1
  77. package/dist/infisical-runtime.contract.js.map +1 -1
  78. package/dist/infisical-runtime.platform-secrets.d.ts +102 -0
  79. package/dist/infisical-runtime.platform-secrets.js +120 -0
  80. package/dist/infisical-runtime.platform-secrets.js.map +1 -1
  81. package/dist/infisical-runtime.tenant-secrets.js.map +1 -1
  82. package/dist/manifests/infisical-runtime-manifest.d.ts +144 -1
  83. package/dist/manifests/infisical-runtime-manifest.js +170 -1
  84. package/dist/manifests/infisical-runtime-manifest.js.map +1 -1
  85. package/dist/projections/check-convex-args-shape.js +60 -2
  86. package/dist/projections/check-convex-args-shape.js.map +1 -1
  87. package/dist/projections/create-evidence.projection.js +60 -2
  88. package/dist/projections/create-evidence.projection.js.map +1 -1
  89. package/dist/projections/index.js +60 -2
  90. package/dist/projections/index.js.map +1 -1
  91. package/dist/proof-attestation.json +1 -1
  92. package/dist/schemas/manifest.d.ts +20 -20
  93. package/dist/schemas/tables/kernel/platform.d.ts +4 -4
  94. package/dist/sdk-tools.contract.js +78 -0
  95. package/dist/sdk-tools.contract.js.map +1 -1
  96. package/dist/sdk-tools.contract.registry.js +78 -0
  97. package/dist/sdk-tools.contract.registry.js.map +1 -1
  98. package/dist/sdk-tools.contract.values.js +78 -0
  99. package/dist/sdk-tools.contract.values.js.map +1 -1
  100. package/dist/tool-contracts.context-orientation.d.ts +5 -0
  101. package/dist/tool-contracts.context-orientation.js +56 -0
  102. package/dist/tool-contracts.context-orientation.js.map +1 -0
  103. package/dist/tool-contracts.d.ts +1 -0
  104. package/dist/tool-contracts.js +79 -1
  105. package/dist/tool-contracts.js.map +1 -1
  106. package/dist/tool-contracts.questions-listing.js +24 -0
  107. package/dist/tool-contracts.questions-listing.js.map +1 -1
  108. package/dist/{tool-contracts.values-DjctSW7S.d.ts → tool-contracts.values-BhxfrXS5.d.ts} +3 -1
  109. package/dist/tool-contracts.values.d.ts +1 -0
  110. package/dist/tool-contracts.values.js +79 -1
  111. package/dist/tool-contracts.values.js.map +1 -1
  112. package/package.json +1 -1
@@ -162,6 +162,47 @@ declare const INFISICAL_RUNTIME_MANIFEST: {
162
162
  readonly public: false;
163
163
  readonly description: "Optional web-issued CLI login session lifetime override in milliseconds.";
164
164
  }];
165
+ }, {
166
+ readonly id: "platform-permit";
167
+ readonly secretPath: "/platform/permit";
168
+ readonly description: "Permit runtime configuration for policy enforcement and embedded Permit Elements.";
169
+ readonly variables: readonly [{
170
+ readonly name: "LUCERN_PERMIT_ELEMENTS_ENV_ID";
171
+ readonly required: false;
172
+ readonly secret: false;
173
+ readonly public: false;
174
+ readonly description: "Permit environment id used by Lucern web to authenticate embedded Permit Elements.";
175
+ }, {
176
+ readonly name: "LUCERN_PERMIT_ELEMENTS_JWT_TEMPLATE";
177
+ readonly required: false;
178
+ readonly secret: false;
179
+ readonly public: false;
180
+ readonly description: "Optional Clerk JWT template name for Permit Elements frontendOnly login.";
181
+ }, {
182
+ readonly name: "LUCERN_PERMIT_ELEMENTS_USER_MANAGEMENT_URL";
183
+ readonly required: false;
184
+ readonly secret: false;
185
+ readonly public: false;
186
+ readonly description: "Permit Elements dashboard iframe URL for user and group management.";
187
+ }, {
188
+ readonly name: "LUCERN_PERMIT_ELEMENTS_AUDIT_LOGS_URL";
189
+ readonly required: false;
190
+ readonly secret: false;
191
+ readonly public: false;
192
+ readonly description: "Permit Elements dashboard iframe URL for audit logs.";
193
+ }, {
194
+ readonly name: "LUCERN_PERMIT_ELEMENTS_ACCESS_REQUEST_URL";
195
+ readonly required: false;
196
+ readonly secret: false;
197
+ readonly public: false;
198
+ readonly description: "Permit Elements dashboard iframe URL for access requests.";
199
+ }, {
200
+ readonly name: "LUCERN_PERMIT_ELEMENTS_APPROVALS_URL";
201
+ readonly required: false;
202
+ readonly secret: false;
203
+ readonly public: false;
204
+ readonly description: "Permit Elements dashboard iframe URL for approval management.";
205
+ }];
165
206
  }, {
166
207
  readonly id: "platform-operator-credentials";
167
208
  readonly secretPath: "/platform/runtime";
@@ -189,7 +230,7 @@ declare const INFISICAL_RUNTIME_MANIFEST: {
189
230
  readonly surfaces: readonly [{
190
231
  readonly id: "lucern-web";
191
232
  readonly delivery: "vercel_sync";
192
- readonly sourcePathIds: readonly ["platform-auth", "platform-runtime"];
233
+ readonly sourcePathIds: readonly ["platform-auth", "platform-runtime", "platform-permit"];
193
234
  readonly consumer: "apps/web on Vercel project lucern";
194
235
  readonly description: "Lucern web consumes Clerk and runtime config via Infisical-to-Vercel syncs.";
195
236
  }, {
@@ -640,6 +681,108 @@ declare const INFISICAL_RUNTIME_MANIFEST: {
640
681
  readonly environmentPolicy: "environment_specific";
641
682
  }];
642
683
  readonly description: "Optional Permit API URL override.";
684
+ }, {
685
+ readonly id: "platform.permit.elements-env-id";
686
+ readonly canonicalName: "LUCERN_PERMIT_ELEMENTS_ENV_ID";
687
+ readonly owner: "lucern_platform";
688
+ readonly scope: "environment";
689
+ readonly sourcePath: "/platform/permit";
690
+ readonly environmentPolicy: "environment_specific";
691
+ readonly required: false;
692
+ readonly secret: false;
693
+ readonly public: false;
694
+ readonly consumers: readonly ["lucern-web"];
695
+ readonly destinations: readonly [{
696
+ readonly kind: "vercel";
697
+ readonly target: "lucern";
698
+ readonly environmentPolicy: "environment_specific";
699
+ }];
700
+ readonly description: "Permit environment id used by Lucern web to authenticate embedded Permit Elements.";
701
+ }, {
702
+ readonly id: "platform.permit.elements-jwt-template";
703
+ readonly canonicalName: "LUCERN_PERMIT_ELEMENTS_JWT_TEMPLATE";
704
+ readonly owner: "lucern_platform";
705
+ readonly scope: "environment";
706
+ readonly sourcePath: "/platform/permit";
707
+ readonly environmentPolicy: "environment_specific";
708
+ readonly required: false;
709
+ readonly secret: false;
710
+ readonly public: false;
711
+ readonly consumers: readonly ["lucern-web"];
712
+ readonly destinations: readonly [{
713
+ readonly kind: "vercel";
714
+ readonly target: "lucern";
715
+ readonly environmentPolicy: "environment_specific";
716
+ }];
717
+ readonly description: "Optional Clerk JWT template name used for Permit Elements frontendOnly login. Defaults to permit-elements.";
718
+ }, {
719
+ readonly id: "platform.permit.elements-user-management-url";
720
+ readonly canonicalName: "LUCERN_PERMIT_ELEMENTS_USER_MANAGEMENT_URL";
721
+ readonly owner: "lucern_platform";
722
+ readonly scope: "environment";
723
+ readonly sourcePath: "/platform/permit";
724
+ readonly environmentPolicy: "environment_specific";
725
+ readonly required: false;
726
+ readonly secret: false;
727
+ readonly public: false;
728
+ readonly consumers: readonly ["lucern-web"];
729
+ readonly destinations: readonly [{
730
+ readonly kind: "vercel";
731
+ readonly target: "lucern";
732
+ readonly environmentPolicy: "environment_specific";
733
+ }];
734
+ readonly description: "Permit Elements dashboard iframe URL for the User Management element.";
735
+ }, {
736
+ readonly id: "platform.permit.elements-audit-logs-url";
737
+ readonly canonicalName: "LUCERN_PERMIT_ELEMENTS_AUDIT_LOGS_URL";
738
+ readonly owner: "lucern_platform";
739
+ readonly scope: "environment";
740
+ readonly sourcePath: "/platform/permit";
741
+ readonly environmentPolicy: "environment_specific";
742
+ readonly required: false;
743
+ readonly secret: false;
744
+ readonly public: false;
745
+ readonly consumers: readonly ["lucern-web"];
746
+ readonly destinations: readonly [{
747
+ readonly kind: "vercel";
748
+ readonly target: "lucern";
749
+ readonly environmentPolicy: "environment_specific";
750
+ }];
751
+ readonly description: "Permit Elements dashboard iframe URL for the Audit Logs element.";
752
+ }, {
753
+ readonly id: "platform.permit.elements-access-request-url";
754
+ readonly canonicalName: "LUCERN_PERMIT_ELEMENTS_ACCESS_REQUEST_URL";
755
+ readonly owner: "lucern_platform";
756
+ readonly scope: "environment";
757
+ readonly sourcePath: "/platform/permit";
758
+ readonly environmentPolicy: "environment_specific";
759
+ readonly required: false;
760
+ readonly secret: false;
761
+ readonly public: false;
762
+ readonly consumers: readonly ["lucern-web"];
763
+ readonly destinations: readonly [{
764
+ readonly kind: "vercel";
765
+ readonly target: "lucern";
766
+ readonly environmentPolicy: "environment_specific";
767
+ }];
768
+ readonly description: "Permit Elements dashboard iframe URL for the Access Request element.";
769
+ }, {
770
+ readonly id: "platform.permit.elements-approvals-url";
771
+ readonly canonicalName: "LUCERN_PERMIT_ELEMENTS_APPROVALS_URL";
772
+ readonly owner: "lucern_platform";
773
+ readonly scope: "environment";
774
+ readonly sourcePath: "/platform/permit";
775
+ readonly environmentPolicy: "environment_specific";
776
+ readonly required: false;
777
+ readonly secret: false;
778
+ readonly public: false;
779
+ readonly consumers: readonly ["lucern-web"];
780
+ readonly destinations: readonly [{
781
+ readonly kind: "vercel";
782
+ readonly target: "lucern";
783
+ readonly environmentPolicy: "environment_specific";
784
+ }];
785
+ readonly description: "Permit Elements dashboard iframe URL for the Approval Management element.";
643
786
  }, {
644
787
  readonly id: "platform.ci.infisical-bootstrap-client-id";
645
788
  readonly canonicalName: "INFISICAL_BOOTSTRAP_CLIENT_ID";
@@ -362,6 +362,55 @@ var INFISICAL_RUNTIME_PATHS = [
362
362
  }
363
363
  ]
364
364
  },
365
+ {
366
+ id: "platform-permit",
367
+ secretPath: "/platform/permit",
368
+ description: "Permit runtime configuration for policy enforcement and embedded Permit Elements.",
369
+ variables: [
370
+ {
371
+ name: "LUCERN_PERMIT_ELEMENTS_ENV_ID",
372
+ required: false,
373
+ secret: false,
374
+ public: false,
375
+ description: "Permit environment id used by Lucern web to authenticate embedded Permit Elements."
376
+ },
377
+ {
378
+ name: "LUCERN_PERMIT_ELEMENTS_JWT_TEMPLATE",
379
+ required: false,
380
+ secret: false,
381
+ public: false,
382
+ description: "Optional Clerk JWT template name for Permit Elements frontendOnly login."
383
+ },
384
+ {
385
+ name: "LUCERN_PERMIT_ELEMENTS_USER_MANAGEMENT_URL",
386
+ required: false,
387
+ secret: false,
388
+ public: false,
389
+ description: "Permit Elements dashboard iframe URL for user and group management."
390
+ },
391
+ {
392
+ name: "LUCERN_PERMIT_ELEMENTS_AUDIT_LOGS_URL",
393
+ required: false,
394
+ secret: false,
395
+ public: false,
396
+ description: "Permit Elements dashboard iframe URL for audit logs."
397
+ },
398
+ {
399
+ name: "LUCERN_PERMIT_ELEMENTS_ACCESS_REQUEST_URL",
400
+ required: false,
401
+ secret: false,
402
+ public: false,
403
+ description: "Permit Elements dashboard iframe URL for access requests."
404
+ },
405
+ {
406
+ name: "LUCERN_PERMIT_ELEMENTS_APPROVALS_URL",
407
+ required: false,
408
+ secret: false,
409
+ public: false,
410
+ description: "Permit Elements dashboard iframe URL for approval management."
411
+ }
412
+ ]
413
+ },
365
414
  {
366
415
  id: "platform-operator-credentials",
367
416
  secretPath: "/platform/runtime",
@@ -396,7 +445,7 @@ var INFISICAL_RUNTIME_SURFACES = [
396
445
  {
397
446
  id: "lucern-web",
398
447
  delivery: "vercel_sync",
399
- sourcePathIds: ["platform-auth", "platform-runtime"],
448
+ sourcePathIds: ["platform-auth", "platform-runtime", "platform-permit"],
400
449
  consumer: "apps/web on Vercel project lucern",
401
450
  description: "Lucern web consumes Clerk and runtime config via Infisical-to-Vercel syncs."
402
451
  },
@@ -1031,6 +1080,126 @@ var PLATFORM_SECRET_DEFINITIONS = [
1031
1080
  ],
1032
1081
  description: "Optional Permit API URL override."
1033
1082
  },
1083
+ {
1084
+ id: "platform.permit.elements-env-id",
1085
+ canonicalName: "LUCERN_PERMIT_ELEMENTS_ENV_ID",
1086
+ owner: "lucern_platform",
1087
+ scope: "environment",
1088
+ sourcePath: "/platform/permit",
1089
+ environmentPolicy: "environment_specific",
1090
+ required: false,
1091
+ secret: false,
1092
+ public: false,
1093
+ consumers: ["lucern-web"],
1094
+ destinations: [
1095
+ {
1096
+ kind: "vercel",
1097
+ target: "lucern",
1098
+ environmentPolicy: "environment_specific"
1099
+ }
1100
+ ],
1101
+ description: "Permit environment id used by Lucern web to authenticate embedded Permit Elements."
1102
+ },
1103
+ {
1104
+ id: "platform.permit.elements-jwt-template",
1105
+ canonicalName: "LUCERN_PERMIT_ELEMENTS_JWT_TEMPLATE",
1106
+ owner: "lucern_platform",
1107
+ scope: "environment",
1108
+ sourcePath: "/platform/permit",
1109
+ environmentPolicy: "environment_specific",
1110
+ required: false,
1111
+ secret: false,
1112
+ public: false,
1113
+ consumers: ["lucern-web"],
1114
+ destinations: [
1115
+ {
1116
+ kind: "vercel",
1117
+ target: "lucern",
1118
+ environmentPolicy: "environment_specific"
1119
+ }
1120
+ ],
1121
+ description: "Optional Clerk JWT template name used for Permit Elements frontendOnly login. Defaults to permit-elements."
1122
+ },
1123
+ {
1124
+ id: "platform.permit.elements-user-management-url",
1125
+ canonicalName: "LUCERN_PERMIT_ELEMENTS_USER_MANAGEMENT_URL",
1126
+ owner: "lucern_platform",
1127
+ scope: "environment",
1128
+ sourcePath: "/platform/permit",
1129
+ environmentPolicy: "environment_specific",
1130
+ required: false,
1131
+ secret: false,
1132
+ public: false,
1133
+ consumers: ["lucern-web"],
1134
+ destinations: [
1135
+ {
1136
+ kind: "vercel",
1137
+ target: "lucern",
1138
+ environmentPolicy: "environment_specific"
1139
+ }
1140
+ ],
1141
+ description: "Permit Elements dashboard iframe URL for the User Management element."
1142
+ },
1143
+ {
1144
+ id: "platform.permit.elements-audit-logs-url",
1145
+ canonicalName: "LUCERN_PERMIT_ELEMENTS_AUDIT_LOGS_URL",
1146
+ owner: "lucern_platform",
1147
+ scope: "environment",
1148
+ sourcePath: "/platform/permit",
1149
+ environmentPolicy: "environment_specific",
1150
+ required: false,
1151
+ secret: false,
1152
+ public: false,
1153
+ consumers: ["lucern-web"],
1154
+ destinations: [
1155
+ {
1156
+ kind: "vercel",
1157
+ target: "lucern",
1158
+ environmentPolicy: "environment_specific"
1159
+ }
1160
+ ],
1161
+ description: "Permit Elements dashboard iframe URL for the Audit Logs element."
1162
+ },
1163
+ {
1164
+ id: "platform.permit.elements-access-request-url",
1165
+ canonicalName: "LUCERN_PERMIT_ELEMENTS_ACCESS_REQUEST_URL",
1166
+ owner: "lucern_platform",
1167
+ scope: "environment",
1168
+ sourcePath: "/platform/permit",
1169
+ environmentPolicy: "environment_specific",
1170
+ required: false,
1171
+ secret: false,
1172
+ public: false,
1173
+ consumers: ["lucern-web"],
1174
+ destinations: [
1175
+ {
1176
+ kind: "vercel",
1177
+ target: "lucern",
1178
+ environmentPolicy: "environment_specific"
1179
+ }
1180
+ ],
1181
+ description: "Permit Elements dashboard iframe URL for the Access Request element."
1182
+ },
1183
+ {
1184
+ id: "platform.permit.elements-approvals-url",
1185
+ canonicalName: "LUCERN_PERMIT_ELEMENTS_APPROVALS_URL",
1186
+ owner: "lucern_platform",
1187
+ scope: "environment",
1188
+ sourcePath: "/platform/permit",
1189
+ environmentPolicy: "environment_specific",
1190
+ required: false,
1191
+ secret: false,
1192
+ public: false,
1193
+ consumers: ["lucern-web"],
1194
+ destinations: [
1195
+ {
1196
+ kind: "vercel",
1197
+ target: "lucern",
1198
+ environmentPolicy: "environment_specific"
1199
+ }
1200
+ ],
1201
+ description: "Permit Elements dashboard iframe URL for the Approval Management element."
1202
+ },
1034
1203
  {
1035
1204
  id: "platform.ci.infisical-bootstrap-client-id",
1036
1205
  canonicalName: "INFISICAL_BOOTSTRAP_CLIENT_ID",