permdock 0.38.0 → 0.38.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.
Files changed (185) hide show
  1. package/dist/a2a/index.js +2 -2
  2. package/dist/{adoption-scan-D-uM3y5a.js → adoption-scan-BSVL4wIW.js} +1 -1
  3. package/dist/agent/index.js +1 -1
  4. package/dist/ai-sdk/index.js +3 -3
  5. package/dist/app/index.js +1 -1
  6. package/dist/{arazzo-CyENGJ-M.js → arazzo-C04bMN6Y.js} +2 -2
  7. package/dist/{arazzo-BdWGzdqv.js → arazzo-DbuxB5Gw.js} +1 -1
  8. package/dist/astro/index.js +1 -1
  9. package/dist/authzen/index.js +1 -1
  10. package/dist/better-supabase/index.js +5 -5
  11. package/dist/{bind-BNYcJ1D9.js → bind-CFwfgfp2.js} +2 -2
  12. package/dist/{bsb-access-tags-C4iPlzjs.js → bsb-access-tags-BfKzb3sw.js} +1 -1
  13. package/dist/{budgets-DFnMBpKz.js → budgets-BGWdTAHq.js} +2 -2
  14. package/dist/{build-instance-BGpABVbM.js → build-instance-BX5yWZDz.js} +1 -1
  15. package/dist/{bundle-size-Pgm7BB5m.js → bundle-size-CeLuyWm0.js} +2 -2
  16. package/dist/bundle-size-DRu3x2lW.js +1 -0
  17. package/dist/{casbin-DdJndgnu.js → casbin-Bp8ajVRK.js} +1 -1
  18. package/dist/{casbin-ILRPO6t9.js → casbin-DAHhk83J.js} +1 -1
  19. package/dist/catalog/index.js +2 -2
  20. package/dist/chat/index.js +1 -1
  21. package/dist/claude-agent/index.js +2 -2
  22. package/dist/cli/bin.js +1 -1
  23. package/dist/cli/generate/watch-worker.js +1 -1
  24. package/dist/cli/index.js +2 -2
  25. package/dist/cli/plugins/app.js +1 -1
  26. package/dist/cli/plugins/openapi.js +1 -1
  27. package/dist/cli/plugins/powersync.js +1 -1
  28. package/dist/cli/plugins/rls.js +1 -1
  29. package/dist/cli/plugins/schemas.js +1 -1
  30. package/dist/cli/plugins/supabase-hook.js +1 -1
  31. package/dist/cli/plugins/supabase.js +2 -2
  32. package/dist/cli/plugins/ui.js +1 -1
  33. package/dist/{cloud-C8bHMKjI.js → cloud-DnsG5KF6.js} +2 -2
  34. package/dist/{codemod-D02eYuzA.js → codemod-BpFi3dGX.js} +4 -4
  35. package/dist/{codemod-D8zh3IYV.js → codemod-DdSdwmq4.js} +1 -1
  36. package/dist/{compile-7tf8hHlu.js → compile-5QQLSNRY.js} +4 -4
  37. package/dist/{completion-BZShluF7.js → completion-j34Zp_y7.js} +1 -1
  38. package/dist/{config-ClypJwe2.js → config-DoywTd1z.js} +1 -1
  39. package/dist/{config-report-Kb-mYv9F.js → config-report-BO_DLUaK.js} +1 -1
  40. package/dist/{context-Nr3nknZX.js → context-CzHYMZr9.js} +1 -1
  41. package/dist/{context-BQQzAw83.js → context-Dew6yQqT.js} +1 -1
  42. package/dist/convex/index.js +2 -2
  43. package/dist/{core-BFR-V5CL.js → core-BEA7805j.js} +3 -3
  44. package/dist/{create-Dapy8DIK.js → create-DRiggRWE.js} +3 -3
  45. package/dist/{create-BICq9l-p.js → create-fNkkpOy5.js} +2 -2
  46. package/dist/{custom-role-rebuild-CRz6Ip6J.js → custom-role-rebuild-BwM6hBqt.js} +1 -1
  47. package/dist/{define-permdock-B0q7Rg9b.js → define-permdock-CGI9pgqL.js} +2 -2
  48. package/dist/{diff-Sxca4_5q.js → diff-CcbTG1G4.js} +2 -2
  49. package/dist/{diff-BebUlh4Z.js → diff-p217YnI5.js} +1 -1
  50. package/dist/{doctor-XSdrG1SZ.js → doctor-cPl8X1Ef.js} +20 -20
  51. package/dist/{doctor-DAx9dIEX.js → doctor-jVVYFNCd.js} +2 -2
  52. package/dist/elysia/index.js +1 -1
  53. package/dist/evaluator-C4RrXo4y.js +2 -0
  54. package/dist/{evaluator-eager-BLNVbEAC.js → evaluator-eager-B_4KdPgg.js} +1 -1
  55. package/dist/eve/index.js +2 -2
  56. package/dist/{execute-DgCH7kEE.js → execute-hsLYXuwL.js} +4 -4
  57. package/dist/{explain-CgKGadRa.js → explain-BHSgFpfd.js} +2 -2
  58. package/dist/{explain-BrvY9cXX.js → explain-DVv1Wbay.js} +1 -1
  59. package/dist/express/index.js +1 -1
  60. package/dist/fastify/index.js +1 -1
  61. package/dist/{fetch-adapter-dmABnF7F.js → fetch-adapter-niRAPzNm.js} +1 -1
  62. package/dist/{from-snapshot-DZ4D2sLa.js → from-snapshot-O341Vdgj.js} +12 -4
  63. package/dist/gen-BHsow3sw.js +1 -0
  64. package/dist/{gen-m1X9N8DZ.js → gen-BZ-03GIG.js} +3 -3
  65. package/dist/{gen-kind-DIltjpY9.js → gen-kind-BKSdYxVh.js} +1 -1
  66. package/dist/{generate-CIjPy_cH.js → generate-BrSCnqfT.js} +3 -3
  67. package/dist/{generate-DWL9aXjZ.js → generate-Ckt9pvJD.js} +12 -12
  68. package/dist/{generate-options-RvPqyMWE.js → generate-options-DudA1wrX.js} +7 -7
  69. package/dist/h3/index.js +2 -2
  70. package/dist/hono/index.js +1 -1
  71. package/dist/{hook-sql-C24FFEWr.js → hook-sql-BArV58df.js} +65 -12
  72. package/dist/{import-Dmm7N9C6.js → import-DvPcOvx4.js} +1 -1
  73. package/dist/{index-B1hyWi7O.d.ts → index-Cnrz9ChE.d.ts} +3 -2
  74. package/dist/index.d.ts +1 -1
  75. package/dist/index.js +4 -4
  76. package/dist/{init-tXmJlH7f.js → init-D50xP3eQ.js} +3 -3
  77. package/dist/{init-Cgcea11w.js → init-ukHYcnVG.js} +1 -1
  78. package/dist/{inspect-functions-DbhgRvDf.js → inspect-functions-BevsMf1c.js} +1 -1
  79. package/dist/{instance-snapshot-D03srwnf.js → instance-snapshot-BJam8gUa.js} +10 -3
  80. package/dist/{interactive-only-ad2JJYk8.js → interactive-only-C9NQJXpi.js} +33 -8
  81. package/dist/{kernel-yI0nUyuX.js → kernel-UOKCD3tV.js} +3 -3
  82. package/dist/{keys-B4JLF5VZ.js → keys-C9gcgQqN.js} +1 -1
  83. package/dist/{lazy-provider-b8UHGi8P.js → lazy-provider-BPSgEG-A.js} +1 -1
  84. package/dist/{login-fz4tUg2P.js → login-CO5_OmE5.js} +3 -3
  85. package/dist/{login-DAqoZl0F.js → login-CeyA9IUa.js} +1 -1
  86. package/dist/{manifest-DbJC_rXj.js → manifest-DWO7EC1m.js} +39 -39
  87. package/dist/mcp/index.js +2 -2
  88. package/dist/{measure-R9VWfQ2y.js → measure-CJOb4tnF.js} +1 -1
  89. package/dist/{model-8NWofaam.js → model-Cjt2WEm3.js} +1 -1
  90. package/dist/nest/index.js +1 -1
  91. package/dist/next/index.js +3 -3
  92. package/dist/node/index.js +1 -1
  93. package/dist/openai/index.js +3 -3
  94. package/dist/{openapi-BgXg8LkZ.js → openapi-BlkqnsHh.js} +2 -2
  95. package/dist/{openapi-uxD7ABpM.js → openapi-WZ7O-5gx.js} +1 -1
  96. package/dist/{openapi-document-BJcbM0-l.js → openapi-document-qHp-hW5Y.js} +1 -1
  97. package/dist/orpc/index.js +2 -2
  98. package/dist/{output-DZS9QWHI.js → output-C3gBd5Yp.js} +1 -1
  99. package/dist/{ownership-DO5EF2nr.js → ownership-BGAqnS59.js} +2 -2
  100. package/dist/pdp/index.js +1 -1
  101. package/dist/{permdock-CbavFN6u.js → permdock-B0aE5Ime.js} +1 -1
  102. package/dist/{permissions-BPYOb5OB.js → permissions-CF8Ed44S.js} +1 -1
  103. package/dist/{pipeline-IvdKfvuP.js → pipeline-BXsElIBt.js} +2 -2
  104. package/dist/{policy-V-sHH2Ku.js → policy-BOXVx6pf.js} +1 -1
  105. package/dist/{policy-bundle-DyJKT9TF.js → policy-bundle-BbXW3vec.js} +3 -3
  106. package/dist/{policy-from-catalog-BohzTN3J.js → policy-from-catalog-hECiBs9M.js} +1 -1
  107. package/dist/{powersync-BkN45DVg.js → powersync-CXTWMf2h.js} +1 -1
  108. package/dist/{powersync-BY6r-MIk.js → powersync-WHQ4bGgx.js} +1 -1
  109. package/dist/{powersync-IqzV6QHS.js → powersync-cShrvGN9.js} +8 -8
  110. package/dist/{provider-NQwLSlgb.js → provider-BT8hVigf.js} +1 -1
  111. package/dist/{provider-hQFC3b98.js → provider-DRsBw6My.js} +1 -1
  112. package/dist/{provider-store-BizF6jyu.js → provider-store-fzaF1R6q.js} +1 -1
  113. package/dist/{prune-config-BRqnw6rb.js → prune-config-CdcEIILi.js} +4 -4
  114. package/dist/pull-DTiAI52h.js +1 -0
  115. package/dist/{pull-PDxkxdGN.js → pull-b_1Jv1XY.js} +1 -1
  116. package/dist/{push-Br0Uz5pT.js → push-Dl7o5gU_.js} +1 -1
  117. package/dist/{pushed-policy-dm_hFstN.js → pushed-policy-DXA5KLo6.js} +1 -1
  118. package/dist/{rbac-BK_wp3eK.js → rbac-BlVLEzQC.js} +2 -2
  119. package/dist/react/index.js +1 -1
  120. package/dist/react/lazy.js +1 -1
  121. package/dist/react/provider-client-lazy.js +1 -1
  122. package/dist/react/provider-client.js +1 -1
  123. package/dist/react-native/index.js +1 -1
  124. package/dist/{rename-BbdlodFz.js → rename-B61GbsZQ.js} +2 -2
  125. package/dist/{request-context-C9FFFpuH.js → request-context-Bi0Crsd5.js} +1 -1
  126. package/dist/{resolve-names-B85N2-Ws.js → resolve-names-D9S1ytiK.js} +2 -2
  127. package/dist/{resolver-C9-dU-SZ.js → resolver-CDJq6Q7f.js} +3 -3
  128. package/dist/{rls-BkXnBVXx.js → rls-BKoLx_wE.js} +7 -7
  129. package/dist/{rls-DTXsf2zJ.js → rls-DUrkfLte.js} +3 -3
  130. package/dist/{rls-files-BJMmTuC9.js → rls-files-CXNRzrb-.js} +1 -1
  131. package/dist/{rpc-RDBrKR7N.js → rpc-C-kZGWs6.js} +1 -1
  132. package/dist/run-BR0E2gC_.js +1 -0
  133. package/dist/{run-dwwtRWj6.js → run-DC-N-B56.js} +2 -2
  134. package/dist/{saas-CHviJgF2.js → saas-DDz3ivSL.js} +2 -2
  135. package/dist/{scan-BGTnZXgx.js → scan-DodOeypJ.js} +1 -1
  136. package/dist/{schema-KPTMZVeK.js → schema-owUQ1gtu.js} +1 -1
  137. package/dist/server/index.js +1 -1
  138. package/dist/{size-Dm3777Ev.js → size-DNSNqUda.js} +2 -2
  139. package/dist/{skills-jPbcwqhX.js → skills-CCpuGcKP.js} +1 -1
  140. package/dist/{skills-CexZ2QfF.js → skills-s2aKsx2b.js} +1 -1
  141. package/dist/{snapshot-size-CpdksnSr.js → snapshot-size-1zICkeFb.js} +1 -1
  142. package/dist/{snapshot-size-I_-fxGry.js → snapshot-size-CFwBMDNC.js} +1 -1
  143. package/dist/solid/index.js +1 -1
  144. package/dist/solid-start/index.js +2 -2
  145. package/dist/{src-10d_jun2.js → src-DUWw9z1D.js} +2 -2
  146. package/dist/{stores-jgDndNHa.js → stores-qYmLHVKv.js} +1 -1
  147. package/dist/supabase/index.js +2 -2
  148. package/dist/supabase/middleware.js +3 -3
  149. package/dist/{supabase-DgHCnzMW.js → supabase-BTQJN5xy.js} +2 -2
  150. package/dist/{supabase-CeJAHqZp.js → supabase-DayxaRcg.js} +2 -2
  151. package/dist/supabase-hook-D6qeBhbR.js +2 -0
  152. package/dist/{supabase-hook-BIBC5Ihn.js → supabase-hook-Q7W7FeMZ.js} +5 -5
  153. package/dist/{supabase-schemas-DOc3cNnf.js → supabase-schemas-DsIQxBsk.js} +1 -1
  154. package/dist/svelte/index.js +2 -2
  155. package/dist/svelte/runtime.js +1 -1
  156. package/dist/svelte/source.js +1 -1
  157. package/dist/sveltekit/index.js +1 -1
  158. package/dist/{table-reads-CXecyZKo.js → table-reads-BnUbRW9A.js} +1 -1
  159. package/dist/{table-reads-CMP1MnPJ.js → table-reads-BqTGNTSZ.js} +1 -1
  160. package/dist/{tables-C-DzDqKb.js → tables-CKtoAAm5.js} +2 -2
  161. package/dist/tanstack-start/index.js +1 -1
  162. package/dist/{tenant-check-DoZibca6.js → tenant-check-cX7MSxRQ.js} +3 -3
  163. package/dist/terminal/index.js +2 -2
  164. package/dist/testing/core.js +1 -1
  165. package/dist/testing/index.d.ts +1 -1
  166. package/dist/testing/index.js +7 -7
  167. package/dist/testing/saas/index.js +2 -2
  168. package/dist/testing/saas/permissions.js +1 -1
  169. package/dist/trpc/index.js +2 -2
  170. package/dist/usage-CRHxOpvu.js +1 -0
  171. package/dist/{usage-BiTJQNJO.js → usage-C_gw6Dsh.js} +2 -2
  172. package/dist/{usage-ltA8iGa4.js → usage-Ct-_O647.js} +1 -1
  173. package/dist/{verify-Dj3OjNiD.js → verify-BHM21t2P.js} +5 -5
  174. package/dist/vue/index.js +1 -1
  175. package/dist/{warm-BOrs0-_j.js → warm-C6Hn4J-4.js} +1 -1
  176. package/dist/{watch--c--3aEf.js → watch-DEnagZ5d.js} +1 -1
  177. package/dist/workflow/index.js +1 -1
  178. package/package.json +2 -2
  179. package/dist/bundle-size-CGd8wVIu.js +0 -1
  180. package/dist/evaluator-zpeC7zel.js +0 -2
  181. package/dist/gen-Df-r9jpy.js +0 -1
  182. package/dist/pull-n6noMzmE.js +0 -1
  183. package/dist/run-DqqVLgh_.js +0 -1
  184. package/dist/supabase-hook-8jAi64W9.js +0 -2
  185. package/dist/usage-D7-bsLte.js +0 -1
@@ -1,7 +1,7 @@
1
1
  import { t as defineLeaf } from "./command-9GAzSI7E.js";
2
2
  import { t as checkFlag } from "./flags-DQzNPxg1.js";
3
3
  import { r as pick, t as CANCELLED } from "./prompt-CPlJn_4-.js";
4
- import { n as detectedAgents, r as runSkills, t as SKILL_AGENTS } from "./skills-jPbcwqhX.js";
4
+ import { n as detectedAgents, r as runSkills, t as SKILL_AGENTS } from "./skills-CCpuGcKP.js";
5
5
  // src/cli/commands/skills.ts
6
6
  const forFlag = { for: {
7
7
  type: "string",
@@ -1,5 +1,5 @@
1
1
  import { d as scopeList } from "./scopes-B-KX9EI8.js";
2
- import { d as snapshotFor } from "./src-10d_jun2.js";
2
+ import { d as snapshotFor } from "./src-DUWw9z1D.js";
3
3
  import { gzipSync } from "node:zlib";
4
4
  // src/cli/snapshot-size.ts
5
5
  /** The default budget of the PD112 doctor rule, in bytes of JSON. */
@@ -1 +1 @@
1
- export { t as SNAPSHOT_BUDGET_BYTES, i as runSnapshotSize } from "./snapshot-size-CpdksnSr.js";
1
+ export { t as SNAPSHOT_BUDGET_BYTES, i as runSnapshotSize } from "./snapshot-size-1zICkeFb.js";
@@ -4,7 +4,7 @@ import { n as actionRunner, r as approvalHeaders, t as actionApproval } from "..
4
4
  import { a as eventSourceRefresh, i as broadcastChannelRefresh, l as isPromiseLike, o as focusRefresh, r as authzChangeRefresh, s as visibilityRefresh } from "../store-options-DgOuhUSn.js";
5
5
  import { a as gateView, c as protectedView, d as slotContent, f as subjectView, i as filterResult, l as rolesView, n as assignablePermissionsView, o as livePermDock, p as tenantView, r as describeWith, s as permissionSet, t as approvalHandle, u as scopedTenant } from "../views-Dpr1uB16.js";
6
6
  import { n as boundaryFallback, t as boundaryDigest } from "../boundary--5Swp7sN.js";
7
- import { n as switchTenant, t as providerStore } from "../provider-store-BizF6jyu.js";
7
+ import { n as switchTenant, t as providerStore } from "../provider-store-fzaF1R6q.js";
8
8
  import { t as compact } from "../compact-C4LFuqbW.js";
9
9
  import { ErrorBoundary, createComponent, createComputed, createContext, createMemo, createSignal, getOwner, on, onCleanup, useContext } from "solid-js";
10
10
  // src/solid/context.ts
@@ -1,6 +1,6 @@
1
1
  import { f as InvalidSignatureError, g as webBotAuthVerifier, p as discoverViaSignatureAgent } from "../evaluations-DPEAu_jM.js";
2
- import { i as decorate } from "../bind-BNYcJ1D9.js";
3
- import { n as guardedRoute, t as fetchAdapter } from "../fetch-adapter-dmABnF7F.js";
2
+ import { i as decorate } from "../bind-CFwfgfp2.js";
3
+ import { n as guardedRoute, t as fetchAdapter } from "../fetch-adapter-niRAPzNm.js";
4
4
  // src/solid-start/create.ts
5
5
  /**
6
6
  * `event.locals`. Its type, `App.RequestEventLocals`, is declared by
@@ -1,6 +1,6 @@
1
1
  import { d as assertSqlFunctionArg, f as assertSqlFunctionName, l as normalizeWhere, p as assertSqlFunctionSet, u as assertPortableTwin } from "./role-builder-BksM3Q9O.js";
2
2
  import { n as freezeDeep } from "./freeze-DGfJq_j2.js";
3
- import { _ as sameList, d as PROBE, f as canonOf, g as probeSnapshot, h as probeGroup, m as compactWithBundle, r as resolveSubject } from "./permdock-CbavFN6u.js";
3
+ import { _ as sameList, d as PROBE, f as canonOf, g as probeSnapshot, h as probeGroup, m as compactWithBundle, r as resolveSubject } from "./permdock-B0aE5Ime.js";
4
4
  import { n as PermDockDeniedError } from "./errors-DOSkVeTC.js";
5
5
  import { c as evaluateCondition } from "./delegation-0DVVomzu.js";
6
6
  import { a as normalizeApproval, r as assertApprovalRelations } from "./approval-normalize-C6je8vWN.js";
@@ -13,7 +13,7 @@ import { c as listPermissions, i as getRegistry, n as findPermission } from "./p
13
13
  import { n as isThenable } from "./thenable-BxMy2v8w.js";
14
14
  import { a as durationOf, g as secondsOf, p as nowSeconds } from "./time-r0CKBm57.js";
15
15
  import { D as tenantCustomRoles, E as roleAllowKeys, O as validateCustomRole, T as resolveCustomRole, b as isGlobalCustomRole, d as customGrantsFor, g as customRoleScope, h as customRoleOf, p as customRoleId, u as ceilingGrants, x as isSharedCustomRole } from "./evaluate-DNz6wMYv.js";
16
- import { a as heldLevels, f as bindingOf, h as usesAssigns, i as assignableIn, m as roleMeta, n as snapshotScopes, o as collectSnapshotGrants, p as rankRoles, r as assignableCandidates, t as snapshotOf } from "./instance-snapshot-D03srwnf.js";
16
+ import { a as heldLevels, f as bindingOf, h as usesAssigns, i as assignableIn, m as roleMeta, n as snapshotScopes, o as collectSnapshotGrants, p as rankRoles, r as assignableCandidates, t as snapshotOf } from "./instance-snapshot-BJam8gUa.js";
17
17
  import { r as ownGet } from "./paths-CeS_gpHf.js";
18
18
  import { n as relationId } from "./relations-CIgB5KPJ.js";
19
19
  import { c as isEdgeRelation, m as restrictedStops, o as groupEntries, s as isComputedRelation, u as isPrincipalRelation } from "./resource-relations-Ck5sjYQR.js";
@@ -1,6 +1,6 @@
1
1
  import { n as actionRunner, t as actionApproval } from "./protected-action-DiXulRVj.js";
2
2
  import { a as gateView, f as subjectView, i as filterResult, l as rolesView, n as assignablePermissionsView, o as livePermDock, p as tenantView, r as describeWith, s as permissionSet, t as approvalHandle } from "./views-Dpr1uB16.js";
3
- import { n as getUi, r as providePermDock, t as getStore } from "./context-Nr3nknZX.js";
3
+ import { n as getUi, r as providePermDock, t as getStore } from "./context-CzHYMZr9.js";
4
4
  import { derived, readable, toStore, writable } from "svelte/store";
5
5
  // src/svelte/stores.ts
6
6
  function fromStore(store, compute) {
@@ -2,9 +2,9 @@ import { r as readSubjectRecord } from "../version-cache-l9Zrfvhz.js";
2
2
  import { n as compactMemberships, r as expandMemberships } from "../read-memberships-DVBitJZG.js";
3
3
  import { n as AUTHZ_TOPIC, r as authzUserTopic, t as AUTHZ_EVENT } from "../authz-topic-D8x24Jv-.js";
4
4
  import { n as supabaseMembershipsBudget, r as supabaseTenantClaim } from "../budget-BH81q2cj.js";
5
- import { a as tableApprovalPolicySource, c as exchangeCapability, i as tableApprovalDelegationSource, n as authorizeSql, o as supabaseApprovalStore, r as supabaseRls, s as supabaseClaims, t as definePermDock } from "../supabase-CeJAHqZp.js";
5
+ import { a as tableApprovalPolicySource, c as exchangeCapability, i as tableApprovalDelegationSource, n as authorizeSql, o as supabaseApprovalStore, r as supabaseRls, s as supabaseClaims, t as definePermDock } from "../supabase-DayxaRcg.js";
6
6
  import { c as tableMembershipSource, i as authzVersion, o as junctionMembershipSource, s as supabasePostgresQuery, t as AUTHZ_VERSION_TABLE } from "../sources-C6Id63F8.js";
7
- import { r as subjectFromSupabaseClient, s as postgrestSources } from "../resolver-C9-dU-SZ.js";
7
+ import { r as subjectFromSupabaseClient, s as postgrestSources } from "../resolver-CDJq6Q7f.js";
8
8
  import { a as delegationOf, i as actorOf, o as subjectFromSupabase, s as subjectFromSupabaseSession } from "../definition-options-DLBlRrPO.js";
9
9
  import { n as parseSupabaseManifest, t as hasTokenHook } from "../manifest-teSfgeqF.js";
10
10
  export { AUTHZ_EVENT, AUTHZ_TOPIC, AUTHZ_VERSION_TABLE, actorOf, authorizeSql, authzUserTopic, authzVersion, compactMemberships, definePermDock, delegationOf, exchangeCapability, expandMemberships, hasTokenHook, junctionMembershipSource, parseSupabaseManifest, postgrestSources, readSubjectRecord, subjectFromSupabase, subjectFromSupabaseClient, subjectFromSupabaseSession, supabaseApprovalStore, supabaseClaims, supabaseMembershipsBudget, supabasePostgresQuery, supabaseRls, supabaseTenantClaim, tableApprovalDelegationSource, tableApprovalPolicySource, tableMembershipSource };
@@ -1,10 +1,10 @@
1
- import { u as withApp } from "../permdock-CbavFN6u.js";
1
+ import { u as withApp } from "../permdock-B0aE5Ime.js";
2
2
  import { t as compact } from "../compact-C4LFuqbW.js";
3
3
  import { r as credentialSubject } from "../credential-D9in5keC.js";
4
4
  import { t as instanceOptions } from "../instance-options-CLErhA76.js";
5
5
  import { t as composeWraps } from "../wrap-CsfsaJhd.js";
6
- import { n as attached } from "../bind-BNYcJ1D9.js";
7
- import { t as createPermDock$1 } from "../create-Dapy8DIK.js";
6
+ import { n as attached } from "../bind-CFwfgfp2.js";
7
+ import { t as createPermDock$1 } from "../create-DRiggRWE.js";
8
8
  import { o as methodNotAllowed } from "../problem-BZB7zPC7.js";
9
9
  import { n as tenantFromPath$1 } from "../tenant-from-path-AKTSY7uR.js";
10
10
  import { n as supabaseOptionsOf, o as subjectFromSupabase, t as SUPABASE_OPTIONS } from "../definition-options-DLBlRrPO.js";
@@ -20,7 +20,7 @@ const inspect = defineLeaf({
20
20
  },
21
21
  async run(ctx, { flags }) {
22
22
  if (flags.functions !== void 0) {
23
- const { inspectFunctions } = await import("./inspect-functions-DbhgRvDf.js");
23
+ const { inspectFunctions } = await import("./inspect-functions-BevsMf1c.js");
24
24
  return inspectFunctions({
25
25
  cwd: ctx.cwd,
26
26
  config: ctx.config,
@@ -29,7 +29,7 @@ const inspect = defineLeaf({
29
29
  });
30
30
  }
31
31
  const out = flags.out === "" ? true : flags.out === "-" ? void 0 : flags.out;
32
- const { runSupabase } = await import("./supabase-hook-8jAi64W9.js");
32
+ const { runSupabase } = await import("./supabase-hook-D6qeBhbR.js");
33
33
  return runSupabase({
34
34
  cwd: ctx.cwd,
35
35
  config: ctx.config,
@@ -8,12 +8,12 @@ import { t as CUSTOM_ROLES_VERSION_CLAIM } from "./budget-BH81q2cj.js";
8
8
  import { s as ApprovalError } from "./types-DFZKovb3.js";
9
9
  import { c as decodeApprovalCursor, l as encodeApprovalCursor, s as approvalPageSize, t as applyApprovalVerdict } from "./store-n3yEN7dt.js";
10
10
  import { t as canonicalJson } from "./canonical-json-BibZkXtE.js";
11
- import { a as withMembers, i as ownedCaches, n as getPermissions, o as callRpc, r as subjectFromSupabaseClient, s as postgrestSources, t as createResolver } from "./resolver-C9-dU-SZ.js";
11
+ import { a as withMembers, i as ownedCaches, n as getPermissions, o as callRpc, r as subjectFromSupabaseClient, s as postgrestSources, t as createResolver } from "./resolver-CDJq6Q7f.js";
12
12
  import { d as keptKeys, l as roleColumn } from "./sources-C6Id63F8.js";
13
13
  import { a as quoteQualifiedTable, c as quoteSqlTable, d as sqlTextArray, i as qualifySqlTable, o as quoteSqlIdent, s as quoteSqlLiteral } from "./sql-T4GaBh9X.js";
14
14
  import { t as compactMembershipsSql } from "./membership-claim-sql-DGfhIn__.js";
15
15
  import { o as subjectFromSupabase, t as SUPABASE_OPTIONS } from "./definition-options-DLBlRrPO.js";
16
- import { t as definePermDock$1 } from "./define-permdock-B0q7Rg9b.js";
16
+ import { t as definePermDock$1 } from "./define-permdock-CGI9pgqL.js";
17
17
  import { r as isSubject } from "./subject-DkxY-AhF.js";
18
18
  // src/supabase/capability.ts
19
19
  const DEFAULT_TTL = 300;
@@ -0,0 +1,2 @@
1
+ import "./hook-sql-BArV58df.js";
2
+ export { r as runSupabase } from "./supabase-hook-Q7W7FeMZ.js";
@@ -5,13 +5,13 @@ import { _ as writeOutputFiles, d as pgDeltaPath, g as underSchemaDir, h as serv
5
5
  import { i as readJsonFile, o as sqlFiles, s as writeFileEnsuringDir } from "./files-DAR51W3J.js";
6
6
  import { n as formatManifestJson, t as MANIFEST_FILE } from "./manifest-json-DMaBWmcG.js";
7
7
  import { c as requirePolicy } from "./load-m7jmit3y.js";
8
- import { a as tryKeyReasons } from "./tenant-check-DoZibca6.js";
9
- import { n as hookUri } from "./rbac-BK_wp3eK.js";
10
- import { a as withTableReads } from "./table-reads-CMP1MnPJ.js";
11
- import { a as supabaseHookSql, c as asideAuthzReceive, d as declarativeSql, i as supabaseHookManifest, l as configToml, n as hooklessDatabase, o as defaultOut, r as supabaseDatabaseManifest, s as hookMarker, t as grantsLabel } from "./hook-sql-C24FFEWr.js";
8
+ import { a as tryKeyReasons } from "./tenant-check-cX7MSxRQ.js";
9
+ import { n as hookUri } from "./rbac-BlVLEzQC.js";
10
+ import { a as withTableReads } from "./table-reads-BqTGNTSZ.js";
11
+ import { a as supabaseHookSql, c as asideAuthzReceive, d as declarativeSql, i as supabaseHookManifest, l as configToml, n as hooklessDatabase, o as defaultOut, r as supabaseDatabaseManifest, s as hookMarker, t as grantsLabel } from "./hook-sql-BArV58df.js";
12
12
  import { r as HOOK_MARKER, s as hookMarkerFields } from "./markers-C-kThnKN.js";
13
13
  import { i as withSchemaDefaults } from "./schema-tables-Ba9LE_XB.js";
14
- import { l as supabaseConfig, n as resolveSchemas, r as schemasRefusal, t as isSupabaseSchemas } from "./supabase-schemas-DOc3cNnf.js";
14
+ import { l as supabaseConfig, n as resolveSchemas, r as schemasRefusal, t as isSupabaseSchemas } from "./supabase-schemas-DsIQxBsk.js";
15
15
  import { t as readMemberships } from "./read-memberships-DVBitJZG.js";
16
16
  import { r as pgConnector } from "./pg-DmS5ITHu.js";
17
17
  import { n as MIGRATION_DIRS } from "./constants-PCJiir_3.js";
@@ -1,6 +1,6 @@
1
1
  import "./sources-C6Id63F8.js";
2
2
  import { a as describeError } from "./errors-DgLOqc6j.js";
3
- import { n as hookUri } from "./rbac-BK_wp3eK.js";
3
+ import { n as hookUri } from "./rbac-BlVLEzQC.js";
4
4
  import { n as supabaseDir, t as supabaseConfigFile } from "./supabase-dir-0lxKbrYu.js";
5
5
  import { existsSync, readFileSync } from "node:fs";
6
6
  import { join, posix } from "node:path";
@@ -1,12 +1,12 @@
1
1
  import { n as boundaryFallback, t as boundaryDigest } from "../boundary--5Swp7sN.js";
2
- import { n as getUi, t as getStore } from "../context-Nr3nknZX.js";
2
+ import { n as getUi, t as getStore } from "../context-CzHYMZr9.js";
3
3
  import { n as viewFor, t as scopedFor } from "../runtime-Cl6xSbEq.js";
4
4
  import { d as slotContent } from "../views-Dpr1uB16.js";
5
5
  import { n as describe } from "../describe-B7EosIKA.js";
6
6
  import { r as requiredPlans } from "../problem-details-EJHcvYCz.js";
7
7
  import { r as approvalHeaders } from "../protected-action-DiXulRVj.js";
8
8
  import { a as eventSourceRefresh, i as broadcastChannelRefresh, o as focusRefresh, r as authzChangeRefresh, s as visibilityRefresh } from "../store-options-DgOuhUSn.js";
9
- import { a as gate, c as memberships, d as protectedAction, f as roles, h as tenant, i as filtered, l as permission, m as subject, n as assignable, o as getDescribe, p as setPermDock, r as assignablePermissions, s as getPermDock, t as approval, u as permissions } from "../stores-jgDndNHa.js";
9
+ import { a as gate, c as memberships, d as protectedAction, f as roles, h as tenant, i as filtered, l as permission, m as subject, n as assignable, o as getDescribe, p as setPermDock, r as assignablePermissions, s as getPermDock, t as approval, u as permissions } from "../stores-qYmLHVKv.js";
10
10
  import "svelte/internal/disclose-version";
11
11
  import * as $ from "svelte/internal/client";
12
12
  import { onDestroy } from "svelte";
@@ -1,5 +1,5 @@
1
1
  import { n as boundaryFallback, t as boundaryDigest } from "../boundary--5Swp7sN.js";
2
2
  import { d as slotContent } from "../views-Dpr1uB16.js";
3
- import { n as getUi, t as getStore } from "../context-Nr3nknZX.js";
3
+ import { n as getUi, t as getStore } from "../context-CzHYMZr9.js";
4
4
  import { n as viewFor, t as scopedFor } from "../runtime-Cl6xSbEq.js";
5
5
  export { boundaryDigest, boundaryFallback, getStore, getUi, scopedFor, slotContent, viewFor };
@@ -2,7 +2,7 @@ import { n as describe } from "../describe-B7EosIKA.js";
2
2
  import { r as requiredPlans } from "../problem-details-EJHcvYCz.js";
3
3
  import { r as approvalHeaders } from "../protected-action-DiXulRVj.js";
4
4
  import { a as eventSourceRefresh, i as broadcastChannelRefresh, o as focusRefresh, r as authzChangeRefresh, s as visibilityRefresh } from "../store-options-DgOuhUSn.js";
5
- import { a as gate, c as memberships, d as protectedAction, f as roles, h as tenant, i as filtered, l as permission, m as subject, n as assignable, o as getDescribe, p as setPermDock, r as assignablePermissions, s as getPermDock, t as approval, u as permissions } from "../stores-jgDndNHa.js";
5
+ import { a as gate, c as memberships, d as protectedAction, f as roles, h as tenant, i as filtered, l as permission, m as subject, n as assignable, o as getDescribe, p as setPermDock, r as assignablePermissions, s as getPermDock, t as approval, u as permissions } from "../stores-qYmLHVKv.js";
6
6
  import PermissionBoundaryComponent from "./PermissionBoundary.svelte";
7
7
  import ProtectedComponent from "./Protected.svelte";
8
8
  // src/svelte/source.ts
@@ -1,5 +1,5 @@
1
1
  import { f as InvalidSignatureError, g as webBotAuthVerifier, p as discoverViaSignatureAgent } from "../evaluations-DPEAu_jM.js";
2
- import { n as guardedRoute, r as instanceRoute, t as fetchAdapter } from "../fetch-adapter-dmABnF7F.js";
2
+ import { n as guardedRoute, r as instanceRoute, t as fetchAdapter } from "../fetch-adapter-niRAPzNm.js";
3
3
  // src/sveltekit/create.ts
4
4
  const route = {
5
5
  context: (event) => event,
@@ -1 +1 @@
1
- export { t as committedManifest, n as configuredTableReads, r as manifestTableReads, i as tableReads, a as withTableReads } from "./table-reads-CMP1MnPJ.js";
1
+ export { t as committedManifest, n as configuredTableReads, r as manifestTableReads, i as tableReads, a as withTableReads } from "./table-reads-BqTGNTSZ.js";
@@ -7,7 +7,7 @@ import { i as loadConfiguredPolicy } from "./load-m7jmit3y.js";
7
7
  import { a as parseSqlFile, c as readPolicy, d as sqlCalls, f as stringValues, t as SqlSyntaxError } from "./ast-Dnm2TOHN.js";
8
8
  import { i as taggedAccessPolicies } from "./bsb-access-Bcw6GrQm.js";
9
9
  import { a as droppedPolicy, s as reportFiles, u as isPlatformSchema } from "./report-x9GeUvjx.js";
10
- import { a as tryKeyReasons, n as tenantCheck, r as keyReason, t as svals } from "./tenant-check-DoZibca6.js";
10
+ import { a as tryKeyReasons, n as tenantCheck, r as keyReason, t as svals } from "./tenant-check-cX7MSxRQ.js";
11
11
  import { existsSync, readFileSync } from "node:fs";
12
12
  import { join, relative } from "node:path";
13
13
  // src/cli/rls/shared-functions.ts
@@ -5,7 +5,7 @@ import { c as rootScope, d as scopeList } from "./scopes-B-KX9EI8.js";
5
5
  import { t as canonicalJson } from "./canonical-json-BibZkXtE.js";
6
6
  import { r as relationCondition, t as inheritCondition } from "./grantee-conditions-Dob6QQAc.js";
7
7
  import { l as partitionsOf, p as scopeField } from "./tenancy-B5Xxt9Sc.js";
8
- import { a as delegatedScopeMap } from "./permdock-CbavFN6u.js";
8
+ import { a as delegatedScopeMap } from "./permdock-B0aE5Ime.js";
9
9
  import { i as configError } from "./errors-DgLOqc6j.js";
10
10
  import { d as sqlTextArray, i as qualifySqlTable, t as SQL_IDENT } from "./sql-T4GaBh9X.js";
11
11
  import { d as restrictedRowsSql, i as scopeColumn, l as relationArmSql } from "./compile-BUKXrueE.js";
@@ -15,7 +15,7 @@ import { t as IDENTITY_SCOPES } from "./identity-scopes-CRVAV0HU.js";
15
15
  import { a as quoteIdent, c as quoteTable, i as qualified, o as quoteLiteral, r as helperSchema, s as quoteQualified } from "./quote-LNaBdCGA.js";
16
16
  import { C as tenantTypeOf, a as kindFilterSql, b as idTypeOf, c as roleKindSql, d as subjectClaimSql, f as subjectIdSql, i as keyTenantSql, m as userIdHelperSql, s as memberVia, u as subjectClaimJsonSql, x as scopeTypeOf } from "./subject-B7p94Y0s.js";
17
17
  import { i as allowEntry, n as GLOBAL_ROLES, o as rootName, r as HELPERS, s as signedIn, t as CUSTOM_ROLES } from "./shared-DnVY767H.js";
18
- import { B as rolesTableScope, C as sourceRows, E as sqlBody, F as customRolesSql, G as activeRowSql, H as trustedReaderGrants, I as hasCustomRoleChecksFor, J as grantPermissionSql, K as activeUserSql, L as perScope, M as userActive, N as globalRoleSource, O as instancesActive, P as currentKeyExpr, R as raiseSql, S as sourceIdOf, T as sourcesKeep, U as activeInstancesSql, V as storedTenant, W as activeMembershipSql, _ as memoWriteSql, b as scopedBody, c as memoUserSql, d as disabledColumn, f as functionBody, g as memoHitList, h as memberColumn, i as interactiveAllowsSql, k as keyTenantLine, l as claimKeptLines, n as delegatedGlobalSql, o as interactiveSessionSql, p as hasBody, r as interactiveAllowsCall, s as memoGlobalUserSql, u as claimTenant, v as memoizedSetofSql, w as sourcesBodyOf, x as sourceFilters, y as memoizes, z as roleReadersSql } from "./interactive-only-ad2JJYk8.js";
18
+ import { B as rolesTableScope, C as sourceRows, E as sqlBody, F as customRolesSql, G as activeRowSql, H as trustedReaderGrants, I as hasCustomRoleChecksFor, J as grantPermissionSql, K as activeUserSql, L as perScope, M as userActive, N as globalRoleSource, O as instancesActive, P as currentKeyExpr, R as raiseSql, S as sourceIdOf, T as sourcesKeep, U as activeInstancesSql, V as storedTenant, W as activeMembershipSql, _ as memoWriteSql, b as scopedBody, c as memoUserSql, d as disabledColumn, f as functionBody, g as memoHitList, h as memberColumn, i as interactiveAllowsSql, k as keyTenantLine, l as claimKeptLines, n as delegatedGlobalSql, o as interactiveSessionSql, p as hasBody, r as interactiveAllowsCall, s as memoGlobalUserSql, u as claimTenant, v as memoizedSetofSql, w as sourcesBodyOf, x as sourceFilters, y as memoizes, z as roleReadersSql } from "./interactive-only-C9NQJXpi.js";
19
19
  import { S as scopeTable, _ as memberRoleOf, a as graphSqlText, b as restrictedHelper, d as linkHelper, f as memberForHelper, g as memberOfHelper, h as memberIdsHelper, i as graphSqlName, n as CLOSURE, o as hasMemberFor, p as memberForSources, r as graphHelper, s as hasMemberOf, u as isTeamScope, v as permittedForHelper, x as scopeSources, y as permittedIdsHelper } from "./names-DwGleRKB.js";
20
20
  import { n as byKey, t as byCodeUnit } from "./compare-8SNJN-9U.js";
21
21
  import { createHash } from "node:crypto";
@@ -1,5 +1,5 @@
1
1
  import { f as InvalidSignatureError, g as webBotAuthVerifier, p as discoverViaSignatureAgent } from "../evaluations-DPEAu_jM.js";
2
- import { t as fetchAdapter } from "../fetch-adapter-dmABnF7F.js";
2
+ import { t as fetchAdapter } from "../fetch-adapter-niRAPzNm.js";
3
3
  import { createMiddleware } from "@tanstack/react-start";
4
4
  // src/tanstack-start/create.ts
5
5
  function createPermDock(policy, options) {
@@ -1,8 +1,8 @@
1
1
  import { r as isRecord } from "./compact-C4LFuqbW.js";
2
2
  import { n as CliError } from "./errors-DgLOqc6j.js";
3
- import { i as tableNames } from "./tables-C-DzDqKb.js";
4
- import { r as compileGrants } from "./compile-7tf8hHlu.js";
5
- import { i as buildContext, n as isRefusal, t as generateOptions } from "./generate-options-RvPqyMWE.js";
3
+ import { i as tableNames } from "./tables-CKtoAAm5.js";
4
+ import { r as compileGrants } from "./compile-5QQLSNRY.js";
5
+ import { i as buildContext, n as isRefusal, t as generateOptions } from "./generate-options-DudA1wrX.js";
6
6
  // src/cli/rls/key-reasons.ts
7
7
  /** A grant key written as a condition group (`k#1`) or a level (`k@own`). */
8
8
  function isConditionKey(permission, grantKey) {
@@ -1,6 +1,6 @@
1
1
  import { l as storedApprovalToken, s as resumeDecision } from "../helpers-COh0lLc1.js";
2
- import { u as withApp } from "../permdock-CbavFN6u.js";
3
- import { n as resolveOrNull, t as buildInstance } from "../build-instance-BGpABVbM.js";
2
+ import { u as withApp } from "../permdock-B0aE5Ime.js";
3
+ import { n as resolveOrNull, t as buildInstance } from "../build-instance-BX5yWZDz.js";
4
4
  import { t as compact } from "../compact-C4LFuqbW.js";
5
5
  import { n as resourceRef } from "../resource-ref-BiQtFK-I.js";
6
6
  import { r as isSubject } from "../subject-DkxY-AhF.js";
@@ -1 +1 @@
1
- export { r as policyMatrix, t as testOrmParity, n as testRlsParity } from "../core-BFR-V5CL.js";
1
+ export { r as policyMatrix, t as testOrmParity, n as testRlsParity } from "../core-BEA7805j.js";
@@ -2,7 +2,7 @@ import { Ar as Subject, Ct as WhereCompiler, D as Policy, Dr as Membership, G as
2
2
  import { S as policyMatrix, _ as DescribePolicyConfig, a as OrmParityScenario, b as PolicyMatrixCell, c as RlsFieldsOutcome, d as RlsParityOptions, f as RlsParityReport, g as testRlsParity, h as RlsQueryResult, i as OrmParityRunInput, l as RlsParityCase, m as RlsQueryFn, n as OrmParityOptions, o as testOrmParity, p as RlsParitySubject, r as OrmParityReport, s as RlsDbOutcome, t as OrmParityCase, u as RlsParityFixture, v as MatrixCell, x as PolicyMatrixReport, y as MatrixOutcome } from "../core-BOWoKYve.js";
3
3
  import { A as ResourceInit, C as InferPermissionTree, r as Role, w as Permission } from "../vocabulary-DHfKPIC5.js";
4
4
  import { l as OperationLookup, n as OperationCoverageOptions } from "../coverage-AOeWiQ7Z.js";
5
- import { dt as LegacyCheck } from "../index-B1hyWi7O.js";
5
+ import { dt as LegacyCheck } from "../index-Cnrz9ChE.js";
6
6
  import { C as Limits, D as InstanceCache, a as PermDock, g as PrincipalIdentity, u as SnapshotOptions, v as PrincipalSource, z as ApprovalPolicySource } from "../permdock-NJ4-pCZy.js";
7
7
  import { i as Seeds } from "../seeds-K00R0810.js";
8
8
  import { t as SqlQuery } from "../sql-BYYNi1lu.js";
@@ -1,11 +1,11 @@
1
- import { i as policyMatrixLayout, n as testRlsParity, r as policyMatrix, t as testOrmParity } from "../core-BFR-V5CL.js";
2
- import { p as clientBundle, t as getPermDock } from "../permdock-CbavFN6u.js";
3
- import { t as fromSnapshot } from "../from-snapshot-DZ4D2sLa.js";
1
+ import { i as policyMatrixLayout, n as testRlsParity, r as policyMatrix, t as testOrmParity } from "../core-BEA7805j.js";
2
+ import { p as clientBundle, t as getPermDock } from "../permdock-B0aE5Ime.js";
3
+ import { t as fromSnapshot } from "../from-snapshot-O341Vdgj.js";
4
4
  import { n as parseSnapshot } from "../snapshot-Dzi4LR6n.js";
5
5
  import { t as operationCoverage } from "../coverage-C3jVYC9Y.js";
6
- import { A as memoryCustomRoleSource, D as approvalPoliciesFor, d as snapshotFor } from "../src-10d_jun2.js";
7
- import { C as saasOrg, E as saasSeed, S as saasMemberships, a as saasProject, g as verifySaasSession, h as signSaasToken, k as saasPolicy, t as saasDoc, w as saasPrincipal, x as saasCustomRoles } from "../saas-CHviJgF2.js";
8
- import { i as saasPermissions } from "../permissions-BPYOb5OB.js";
6
+ import { A as memoryCustomRoleSource, D as approvalPoliciesFor, d as snapshotFor } from "../src-DUWw9z1D.js";
7
+ import { C as saasOrg, E as saasSeed, S as saasMemberships, a as saasProject, g as verifySaasSession, h as signSaasToken, k as saasPolicy, t as saasDoc, w as saasPrincipal, x as saasCustomRoles } from "../saas-DDz3ivSL.js";
8
+ import { i as saasPermissions } from "../permissions-CF8Ed44S.js";
9
9
  import { c as quoteSqlTable, o as quoteSqlIdent } from "../sql-T4GaBh9X.js";
10
10
  import { o as resolveApproval } from "../helpers-COh0lLc1.js";
11
11
  import { c as problemFromDecision } from "../problem-BZB7zPC7.js";
@@ -29,7 +29,7 @@ import { n as discoverAuthorizationServer } from "../device-f3JEnqa0.js";
29
29
  import { t as POLICY_NOT_PUBLISHED } from "../problem-types-81BEw0IN.js";
30
30
  import { t as require__2020 } from "../2020-DBXhfpuK.js";
31
31
  import { t as APPROVAL_REQUEST_SCHEMA } from "../request-schema-DzEoR310.js";
32
- import { t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-dm_hFstN.js";
32
+ import { t as PUSHED_POLICY_SCHEMA } from "../pushed-policy-DXA5KLo6.js";
33
33
  import { n as supabaseMembershipsBudget } from "../budget-BH81q2cj.js";
34
34
  import { t as catalogSchema } from "../schema-D2OK4RrB.js";
35
35
  import { t as CONNECTOR_SCHEMA } from "../connector-schema-BSRMyq4M.js";
@@ -1,3 +1,3 @@
1
- import { a as saasPlans, c as rowSchema, i as saasPermissions, n as SaasFolderSchema, o as saasRoles, r as SaasProjectSchema, s as saasTenantRoleNames, t as SaasDocSchema } from "../../permissions-BPYOb5OB.js";
2
- import { C as saasOrg, D as saasUsers, E as saasSeed, O as SAAS_API_KEY_LIMIT, S as saasMemberships, T as saasRelations, _ as verifySaasToken, a as saasProject, b as SAAS_EXPIRED_AT, c as saasUser, d as saasIssuer, f as saasJwks, g as verifySaasSession, h as signSaasToken, i as saasLimitStore, k as saasPolicy, l as SAAS_TOKEN_TTL_SECONDS, m as saasPublicJwk, n as saasFolder, o as saasScenarioOptions, p as saasPrivateJwk, r as saasFolderScenarios, s as saasScenarios, t as saasDoc, u as saasAudience, v as saasSchemaSql, w as saasPrincipal, x as saasCustomRoles, y as saasSeedSql } from "../../saas-CHviJgF2.js";
1
+ import { a as saasPlans, c as rowSchema, i as saasPermissions, n as SaasFolderSchema, o as saasRoles, r as SaasProjectSchema, s as saasTenantRoleNames, t as SaasDocSchema } from "../../permissions-CF8Ed44S.js";
2
+ import { C as saasOrg, D as saasUsers, E as saasSeed, O as SAAS_API_KEY_LIMIT, S as saasMemberships, T as saasRelations, _ as verifySaasToken, a as saasProject, b as SAAS_EXPIRED_AT, c as saasUser, d as saasIssuer, f as saasJwks, g as verifySaasSession, h as signSaasToken, i as saasLimitStore, k as saasPolicy, l as SAAS_TOKEN_TTL_SECONDS, m as saasPublicJwk, n as saasFolder, o as saasScenarioOptions, p as saasPrivateJwk, r as saasFolderScenarios, s as saasScenarios, t as saasDoc, u as saasAudience, v as saasSchemaSql, w as saasPrincipal, x as saasCustomRoles, y as saasSeedSql } from "../../saas-DDz3ivSL.js";
3
3
  export { SAAS_API_KEY_LIMIT, SAAS_EXPIRED_AT, SAAS_TOKEN_TTL_SECONDS, SaasDocSchema, SaasFolderSchema, SaasProjectSchema, rowSchema, saasAudience, saasCustomRoles, saasDoc, saasFolder, saasFolderScenarios, saasIssuer, saasJwks, saasLimitStore, saasMemberships, saasOrg, saasPermissions, saasPlans, saasPolicy, saasPrincipal, saasPrivateJwk, saasProject, saasPublicJwk, saasRelations, saasRoles, saasScenarioOptions, saasScenarios, saasSchemaSql, saasSeed, saasSeedSql, saasTenantRoleNames, saasUser, saasUsers, signSaasToken, verifySaasSession, verifySaasToken };
@@ -1 +1 @@
1
- export { t as SaasDocSchema, n as SaasFolderSchema, r as SaasProjectSchema, i as saasPermissions, a as saasPlans, o as saasRoles, s as saasTenantRoleNames } from "../../permissions-BPYOb5OB.js";
1
+ export { t as SaasDocSchema, n as SaasFolderSchema, r as SaasProjectSchema, i as saasPermissions, a as saasPlans, o as saasRoles, s as saasTenantRoleNames } from "../../permissions-CF8Ed44S.js";
@@ -1,7 +1,7 @@
1
- import { n as attached } from "../bind-BNYcJ1D9.js";
1
+ import { n as attached } from "../bind-CFwfgfp2.js";
2
2
  import { o as problemMessage } from "../http-C9jDw_bZ.js";
3
3
  import { t as problemFromError } from "../map-error-DYQbf-3Q.js";
4
- import { i as rpcCode, n as guardStream, r as problemBody, t as bindRpcKernel } from "../rpc-RDBrKR7N.js";
4
+ import { i as rpcCode, n as guardStream, r as problemBody, t as bindRpcKernel } from "../rpc-C-kZGWs6.js";
5
5
  import { i as isAsyncIterable, o as reloadAfter } from "../stream-DdF94h7T.js";
6
6
  import { r as permissionList } from "../decide-set-CgNcE6pP.js";
7
7
  import { TRPCError, isTrackedEnvelope } from "@trpc/server";
@@ -0,0 +1 @@
1
+ export { t as runUsage } from "./usage-C_gw6Dsh.js";
@@ -2,8 +2,8 @@ import { a as getResource } from "./permission-registry-DstT40VS.js";
2
2
  import { c as jsonSchemaOf } from "./catalog-doc-BX97oFAn.js";
3
3
  import { r as runCollect } from "./collect-Co-w8Eg2.js";
4
4
  import { f as usageResult } from "./errors-DgLOqc6j.js";
5
- import { t as DOCS_BASE } from "./manifest-DbJC_rXj.js";
6
- import { r as findingOf } from "./output-DZS9QWHI.js";
5
+ import { t as DOCS_BASE } from "./manifest-DWO7EC1m.js";
6
+ import { r as findingOf } from "./output-C3gBd5Yp.js";
7
7
  import { o as USAGE_REPORT_SCHEMA } from "./version-D-jWyJb9.js";
8
8
  import { n as jiti, r as parseSync, t as createVisitor } from "./optional-CaQWp9HA.js";
9
9
  import { a as rel, r as listSourceFiles } from "./files-DAR51W3J.js";
@@ -16,7 +16,7 @@ const usage = defineLeaf({
16
16
  }
17
17
  },
18
18
  async run(ctx, { flags }) {
19
- return (await import("./usage-D7-bsLte.js")).runUsage({
19
+ return (await import("./usage-CRHxOpvu.js")).runUsage({
20
20
  cwd: ctx.cwd,
21
21
  config: ctx.config,
22
22
  ignore: flags.ignore,
@@ -1,21 +1,21 @@
1
1
  import { c as listPermissions, n as findPermission } from "./permission-registry-DstT40VS.js";
2
2
  import { o as hasConditionOp } from "./refs-Cix9Zjis.js";
3
- import { t as getPermDock } from "./permdock-CbavFN6u.js";
4
- import { A as memoryCustomRoleSource, w as memoryRelationSource } from "./src-10d_jun2.js";
3
+ import { t as getPermDock } from "./permdock-B0aE5Ime.js";
4
+ import { A as memoryCustomRoleSource, w as memoryRelationSource } from "./src-DUWw9z1D.js";
5
5
  import { a as describeError, f as usageResult, i as configError } from "./errors-DgLOqc6j.js";
6
6
  import { s as writeFileEnsuringDir } from "./files-DAR51W3J.js";
7
7
  import { n as fixtureSubject, r as loadFixtures, t as fixtureRow } from "./fixtures-3aUUP6Nx.js";
8
8
  import { r as pgConnector } from "./pg-DmS5ITHu.js";
9
9
  import { o as loadPolicyAt } from "./load-m7jmit3y.js";
10
- import { n as commandFor } from "./compile-7tf8hHlu.js";
10
+ import { n as commandFor } from "./compile-5QQLSNRY.js";
11
11
  import { r as isRecord } from "./compact-C4LFuqbW.js";
12
12
  import { n as policyRowConditionKeys } from "./row-conditions-BjARoFLU.js";
13
13
  import { c as rootScope, d as scopeList, o as normalizeMemberships } from "./scopes-B-KX9EI8.js";
14
14
  import { c as helperTablePoliciesFromRows, l as rowConditionMessage, n as HELPER_TABLE_POLICIES_SQL } from "./helper-calls-DN1PJcNY.js";
15
15
  import { a as quoteIdent, c as quoteTable, o as quoteLiteral, s as quoteQualified } from "./quote-LNaBdCGA.js";
16
- import { et as graphPlan, i as tableNames, r as tableNameOf } from "./tables-C-DzDqKb.js";
16
+ import { et as graphPlan, i as tableNames, r as tableNameOf } from "./tables-CKtoAAm5.js";
17
17
  import { s as viewName, t as FIELD_VIEWS } from "./fields-CKX-qjWb.js";
18
- import { t as DOCS_BASE } from "./manifest-DbJC_rXj.js";
18
+ import { t as DOCS_BASE } from "./manifest-DWO7EC1m.js";
19
19
  import { C as membershipsClaim, g as customRoleScope } from "./evaluate-DNz6wMYv.js";
20
20
  import { n as defaultSqlCommand, t as SQL_IDENT } from "./sql-T4GaBh9X.js";
21
21
  import "./budget-BH81q2cj.js";
package/dist/vue/index.js CHANGED
@@ -4,7 +4,7 @@ import { n as actionRunner, r as approvalHeaders, t as actionApproval } from "..
4
4
  import { a as eventSourceRefresh, i as broadcastChannelRefresh, l as isPromiseLike, o as focusRefresh, r as authzChangeRefresh, s as visibilityRefresh } from "../store-options-DgOuhUSn.js";
5
5
  import { a as gateView, c as protectedView, d as slotContent, f as subjectView, i as filterResult, l as rolesView, n as assignablePermissionsView, o as livePermDock, p as tenantView, r as describeWith, s as permissionSet, t as approvalHandle, u as scopedTenant } from "../views-Dpr1uB16.js";
6
6
  import { n as boundaryFallback, t as boundaryDigest } from "../boundary--5Swp7sN.js";
7
- import { n as switchTenant, t as providerStore } from "../provider-store-BizF6jyu.js";
7
+ import { n as switchTenant, t as providerStore } from "../provider-store-fzaF1R6q.js";
8
8
  import { computed, defineComponent, effectScope, getCurrentScope, inject, isRef, onErrorCaptured, onScopeDispose, provide, shallowRef, toValue, watch } from "vue";
9
9
  // src/vue/context.ts
10
10
  const permDockKey = Symbol("permdock");
@@ -1,4 +1,4 @@
1
- import { t as getPermDock } from "./permdock-CbavFN6u.js";
1
+ import { t as getPermDock } from "./permdock-B0aE5Ime.js";
2
2
  import { c as listPermissions } from "./permission-registry-DstT40VS.js";
3
3
  // src/core/warm.ts
4
4
  /**
@@ -2,7 +2,7 @@ import { r as isRecord } from "./compact-C4LFuqbW.js";
2
2
  import { i as dateAt } from "./time-r0CKBm57.js";
3
3
  import { a as describeError, n as CliError } from "./errors-DgLOqc6j.js";
4
4
  import { n as createChangeScheduler } from "./watch-BFDMb5N4.js";
5
- import { n as receiptRows } from "./pipeline-IvdKfvuP.js";
5
+ import { n as receiptRows } from "./pipeline-BXsElIBt.js";
6
6
  import { existsSync } from "node:fs";
7
7
  import { fileURLToPath } from "node:url";
8
8
  import { Worker } from "node:worker_threads";
@@ -1,5 +1,5 @@
1
1
  import { a as requestApproval, s as resumeDecision } from "../helpers-COh0lLc1.js";
2
- import { t as getPermDock, u as withApp } from "../permdock-CbavFN6u.js";
2
+ import { t as getPermDock, u as withApp } from "../permdock-B0aE5Ime.js";
3
3
  import { n as memoryAutomationSource, r as parseAutomation } from "../automation-D58PEI7Y.js";
4
4
  import { t as compact } from "../compact-C4LFuqbW.js";
5
5
  import { n as freezeDeep } from "../freeze-DGfJq_j2.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "permdock",
3
- "version": "0.38.0",
3
+ "version": "0.38.2",
4
4
  "description": "Typed permissions for TypeScript apps, APIs, databases, and AI agents, with the permdock CLI and test runners.",
5
5
  "keywords": [
6
6
  "ai-agents",
@@ -410,7 +410,7 @@
410
410
  "ajv": "8.20.0",
411
411
  "astro": "7.4.13",
412
412
  "babel-plugin-react-compiler": "1.0.0",
413
- "better-supabase": "0.91.0",
413
+ "better-supabase": "0.92.0",
414
414
  "better-supabase-floor": "npm:better-supabase@0.87.0",
415
415
  "chat": "4.45.0",
416
416
  "diff": "9.0.0",
@@ -1 +0,0 @@
1
- export { n as runBundleSize } from "./bundle-size-Pgm7BB5m.js";
@@ -1,2 +0,0 @@
1
- export { t as buildInstance } from "./from-snapshot-DZ4D2sLa.js";
2
- import "./evaluator-BvRk9kiK.js";
@@ -1 +0,0 @@
1
- export { n as renderKinds } from "./gen-m1X9N8DZ.js";
@@ -1 +0,0 @@
1
- export { n as runCloudPull } from "./pull-PDxkxdGN.js";
@@ -1 +0,0 @@
1
- export { t as run } from "./run-dwwtRWj6.js";
@@ -1,2 +0,0 @@
1
- import "./hook-sql-C24FFEWr.js";
2
- export { r as runSupabase } from "./supabase-hook-BIBC5Ihn.js";
@@ -1 +0,0 @@
1
- export { t as runUsage } from "./usage-BiTJQNJO.js";