@feltdb/feltkit 0.3.29 → 0.3.30

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 (155) hide show
  1. package/dist/app.d.ts +74 -2
  2. package/dist/app.js +95 -1
  3. package/dist/app.js.map +1 -1
  4. package/dist/appboundry/build.js.map +1 -1
  5. package/dist/appboundry/guest-tenancy.d.ts +2 -2
  6. package/dist/appboundry/guest-tenancy.js.map +1 -1
  7. package/dist/appboundry/guest.js +4 -1
  8. package/dist/appboundry/guest.js.map +1 -1
  9. package/dist/appboundry/host.js +3 -0
  10. package/dist/appboundry/host.js.map +1 -1
  11. package/dist/authorize.d.ts +23 -1
  12. package/dist/authorize.js +37 -0
  13. package/dist/authorize.js.map +1 -1
  14. package/dist/cli/deploy-appboundry.d.ts +1 -1
  15. package/dist/cli/deploy-appboundry.js.map +1 -1
  16. package/dist/cli/deploy.js.map +1 -1
  17. package/dist/cli/main.js +27 -1
  18. package/dist/cli/main.js.map +1 -1
  19. package/dist/cli/skills.js.map +1 -1
  20. package/dist/client/index.js.map +1 -1
  21. package/dist/dashboard/assets/index-9rMS3yBm.js +15 -0
  22. package/dist/dashboard/assets/index-DkiYTUMR.css +1 -0
  23. package/dist/dashboard/index.html +2 -2
  24. package/dist/docs.d.ts +1 -1
  25. package/dist/docs.js +3 -0
  26. package/dist/docs.js.map +1 -1
  27. package/dist/errors.js.map +1 -1
  28. package/dist/event-stage.js.map +1 -1
  29. package/dist/execution.d.ts +186 -0
  30. package/dist/execution.js +105 -0
  31. package/dist/execution.js.map +1 -0
  32. package/dist/index.d.ts +5 -0
  33. package/dist/index.js +4 -0
  34. package/dist/index.js.map +1 -1
  35. package/dist/measure/index.js.map +1 -1
  36. package/dist/platform/approvals.js.map +1 -1
  37. package/dist/platform/artifacts.js.map +1 -1
  38. package/dist/platform/changes.d.ts +54 -54
  39. package/dist/platform/changes.js.map +1 -1
  40. package/dist/platform/deployments.d.ts +32 -32
  41. package/dist/platform/exec.js.map +1 -1
  42. package/dist/platform/platform.js.map +1 -1
  43. package/dist/platform/releases.js.map +1 -1
  44. package/dist/platform/server.js.map +1 -1
  45. package/dist/platform/workspaces.js.map +1 -1
  46. package/dist/react/auth.d.ts +10 -10
  47. package/dist/react/auth.js +1 -1
  48. package/dist/react/auth.js.map +1 -1
  49. package/dist/react/context.d.ts +1 -1
  50. package/dist/react/index.js.map +1 -1
  51. package/dist/runtime/accounts.js.map +1 -1
  52. package/dist/runtime/activity.d.ts +1 -1
  53. package/dist/runtime/activity.js.map +1 -1
  54. package/dist/runtime/agent.d.ts +3 -3
  55. package/dist/runtime/agent.js +9 -3
  56. package/dist/runtime/agent.js.map +1 -1
  57. package/dist/runtime/application-authority.d.ts +13 -2
  58. package/dist/runtime/application-authority.js +18 -6
  59. package/dist/runtime/application-authority.js.map +1 -1
  60. package/dist/runtime/audit.js.map +1 -1
  61. package/dist/runtime/authboundry.d.ts +17 -0
  62. package/dist/runtime/authboundry.js +8 -1
  63. package/dist/runtime/authboundry.js.map +1 -1
  64. package/dist/runtime/authority.d.ts +10 -0
  65. package/dist/runtime/authority.js +17 -0
  66. package/dist/runtime/authority.js.map +1 -1
  67. package/dist/runtime/backup-environment.js.map +1 -1
  68. package/dist/runtime/backup.js.map +1 -1
  69. package/dist/runtime/changes.js.map +1 -1
  70. package/dist/runtime/claims.js.map +1 -1
  71. package/dist/runtime/collections.js.map +1 -1
  72. package/dist/runtime/content.d.ts +27 -2
  73. package/dist/runtime/content.js +55 -5
  74. package/dist/runtime/content.js.map +1 -1
  75. package/dist/runtime/context.d.ts +153 -0
  76. package/dist/runtime/contract.js +5 -1
  77. package/dist/runtime/contract.js.map +1 -1
  78. package/dist/runtime/credentials.d.ts +31 -2
  79. package/dist/runtime/credentials.js +55 -3
  80. package/dist/runtime/credentials.js.map +1 -1
  81. package/dist/runtime/crypto-token.js.map +1 -1
  82. package/dist/runtime/data.js.map +1 -1
  83. package/dist/runtime/decisions.js.map +1 -1
  84. package/dist/runtime/deployment.js.map +1 -1
  85. package/dist/runtime/execution-host.d.ts +54 -0
  86. package/dist/runtime/execution-host.js +54 -0
  87. package/dist/runtime/execution-host.js.map +1 -0
  88. package/dist/runtime/generation.js.map +1 -1
  89. package/dist/runtime/instance.js.map +1 -1
  90. package/dist/runtime/integrations.d.ts +8 -6
  91. package/dist/runtime/integrations.js +48 -5
  92. package/dist/runtime/integrations.js.map +1 -1
  93. package/dist/runtime/invocations.d.ts +313 -0
  94. package/dist/runtime/invocations.js +493 -0
  95. package/dist/runtime/invocations.js.map +1 -0
  96. package/dist/runtime/loader.js.map +1 -1
  97. package/dist/runtime/local-authority.d.ts +50 -0
  98. package/dist/runtime/local-authority.js +214 -0
  99. package/dist/runtime/local-authority.js.map +1 -0
  100. package/dist/runtime/oauth-credentials.d.ts +40 -3
  101. package/dist/runtime/oauth-credentials.js +133 -25
  102. package/dist/runtime/oauth-credentials.js.map +1 -1
  103. package/dist/runtime/outbox.js +3 -0
  104. package/dist/runtime/outbox.js.map +1 -1
  105. package/dist/runtime/projects.d.ts +1 -1
  106. package/dist/runtime/readiness.js +11 -0
  107. package/dist/runtime/readiness.js.map +1 -1
  108. package/dist/runtime/runtime.d.ts +48 -5
  109. package/dist/runtime/runtime.js +139 -17
  110. package/dist/runtime/runtime.js.map +1 -1
  111. package/dist/runtime/services.d.ts +37 -0
  112. package/dist/runtime/services.js +191 -3
  113. package/dist/runtime/services.js.map +1 -1
  114. package/dist/runtime/sessions.js.map +1 -1
  115. package/dist/runtime/state-contract.js.map +1 -1
  116. package/dist/runtime/storage-check.js.map +1 -1
  117. package/dist/runtime/targets.d.ts +1 -1
  118. package/dist/runtime/tenancy.js.map +1 -1
  119. package/dist/runtime/transactions.d.ts +15 -0
  120. package/dist/runtime/transactions.js +5 -0
  121. package/dist/runtime/transactions.js.map +1 -1
  122. package/dist/schema.js.map +1 -1
  123. package/dist/server/admin.d.ts +51 -51
  124. package/dist/server/admin.js +11 -0
  125. package/dist/server/admin.js.map +1 -1
  126. package/dist/server/components.js.map +1 -1
  127. package/dist/server/index.js +39 -0
  128. package/dist/server/index.js.map +1 -1
  129. package/dist/server/management.js.map +1 -1
  130. package/dist/server/mcp.d.ts +59 -37
  131. package/dist/server/mcp.js +24 -1
  132. package/dist/server/mcp.js.map +1 -1
  133. package/dist/server/operators.js.map +1 -1
  134. package/dist/server/ports.d.ts +7 -0
  135. package/dist/server/ports.js +17 -0
  136. package/dist/server/ports.js.map +1 -1
  137. package/dist/server/production.js.map +1 -1
  138. package/dist/server/project.js.map +1 -1
  139. package/dist/server/session-http.js.map +1 -1
  140. package/dist/server/tenancy.js.map +1 -1
  141. package/dist/surfaces.d.ts +153 -0
  142. package/dist/surfaces.js +228 -0
  143. package/dist/surfaces.js.map +1 -0
  144. package/dist/testing/index.js.map +1 -1
  145. package/docs/CONNECTIONS.md +151 -0
  146. package/docs/EXECUTION.md +271 -0
  147. package/docs/GUARANTEES.md +54 -2
  148. package/docs/INVOCATIONS.md +170 -0
  149. package/docs/README.md +5 -2
  150. package/package.json +19 -15
  151. package/skills/.claude-plugin/marketplace.json +1 -1
  152. package/skills/.claude-plugin/plugin.json +1 -1
  153. package/skills/feltkit-services/SKILL.md +1 -1
  154. package/dist/dashboard/assets/index-BehzsQOa.css +0 -1
  155. package/dist/dashboard/assets/index-UuZ63NA6.js +0 -15
@@ -0,0 +1 @@
1
+ :root{color-scheme:light;--stack-font-family-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--stack-font-family-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;--stack-text-xs-size: .75rem;--stack-text-xs-line: 1rem;--stack-text-sm-size: .8125rem;--stack-text-sm-line: 1.25rem;--stack-text-md-size: .875rem;--stack-text-md-line: 1.375rem;--stack-text-lg-size: 1rem;--stack-text-lg-line: 1.5rem;--stack-text-xl-size: 1.25rem;--stack-text-xl-line: 1.75rem;--stack-text-2xl-size: 1.5rem;--stack-text-2xl-line: 2rem;--stack-text-3xl-size: 1.875rem;--stack-text-3xl-line: 2.375rem;--stack-text-4xl-size: 2.5rem;--stack-text-4xl-line: 3rem;--stack-text-display-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);--stack-text-display-line: 1.08;--stack-font-weight-regular: 400;--stack-font-weight-medium: 500;--stack-font-weight-semibold: 600;--stack-font-weight-bold: 700;--stack-letter-spacing-tight: -.02em;--stack-space-0: 0;--stack-space-1: 4px;--stack-space-2: 8px;--stack-space-3: 12px;--stack-space-4: 16px;--stack-space-5: 20px;--stack-space-6: 24px;--stack-space-8: 32px;--stack-space-10: 40px;--stack-space-12: 48px;--stack-space-16: 64px;--stack-space-20: 80px;--stack-space-24: 96px;--stack-size-control-sm: 32px;--stack-size-control-md: 36px;--stack-size-control-lg: 44px;--stack-size-icon-sm: 14px;--stack-size-icon-md: 16px;--stack-radius-sm: 4px;--stack-radius-md: 6px;--stack-radius-lg: 10px;--stack-radius-pill: 999px;--stack-border-width-thin: 1px;--stack-border-width-thick: 2px;--stack-focus-ring-width: 2px;--stack-focus-ring-offset: 2px;--stack-z-sticky: 10;--stack-z-dropdown: 20;--stack-z-overlay: 30;--stack-z-toast: 40;--stack-motion-duration-fast: .12s;--stack-motion-duration-base: .2s;--stack-motion-ease-standard: cubic-bezier(.2, 0, 0, 1);--stack-size-content-max: 1180px;--stack-size-prose-max: 68ch;--stack-color-bg-canvas: #f6f7f9;--stack-color-bg-surface: #ffffff;--stack-color-bg-raised: #ffffff;--stack-color-bg-sunken: #eef0f3;--stack-color-bg-overlay: rgba(15, 18, 24, .48);--stack-color-bg-code: #f0f2f5;--stack-color-text-default: #16181d;--stack-color-text-muted: #4b5260;--stack-color-text-subtle: #5f6673;--stack-color-text-inverse: #ffffff;--stack-color-text-link: #0a55d6;--stack-color-text-on-accent: #ffffff;--stack-color-border-default: #d9dde3;--stack-color-border-strong: #7c8492;--stack-color-border-subtle: #e8ebef;--stack-focus-ring-color: #0a5ce8;--stack-color-action-primary-bg: #0a5ce8;--stack-color-action-primary-fg: #ffffff;--stack-color-action-primary-bg-hover: #084dc4;--stack-color-action-primary-bg-active: #063fa3;--stack-color-action-secondary-bg: #ffffff;--stack-color-action-secondary-fg: #16181d;--stack-color-action-secondary-bg-hover: #eef0f3;--stack-color-action-secondary-bg-active: #e2e5ea;--stack-color-action-danger-bg: #c42b2b;--stack-color-action-danger-fg: #ffffff;--stack-color-action-danger-bg-hover: #a82323;--stack-color-action-danger-bg-active: #8c1d1d;--stack-color-status-positive-fg: #136b3a;--stack-color-status-positive-bg: #e8f5ee;--stack-color-status-positive-border: #9fd3b4;--stack-color-status-positive-glyph: #1a7f45;--stack-color-status-progress-fg: #1f4fb8;--stack-color-status-progress-bg: #eaf0fd;--stack-color-status-progress-border: #b9cbf3;--stack-color-status-progress-glyph: #2f5bd8;--stack-color-status-attention-fg: #734700;--stack-color-status-attention-bg: #fdf3e1;--stack-color-status-attention-border: #ecc77f;--stack-color-status-attention-glyph: #a26400;--stack-color-status-critical-fg: #a32020;--stack-color-status-critical-bg: #fdecec;--stack-color-status-critical-border: #f0b0b0;--stack-color-status-critical-glyph: #c42b2b;--stack-color-status-neutral-fg: #4b5260;--stack-color-status-neutral-bg: #eef0f3;--stack-color-status-neutral-border: #cdd2d9;--stack-color-status-neutral-glyph: #6b7280;--stack-color-status-unknown-fg: #55468a;--stack-color-status-unknown-bg: #f1eef8;--stack-color-status-unknown-border: #cdc4e8;--stack-color-status-unknown-glyph: #7262ad;--stack-color-evidence-verified-fg: #0d5c4a;--stack-color-evidence-verified-bg: #e4f4ef;--stack-color-evidence-verified-border: #93d1c0;--stack-color-evidence-verified-glyph: #11806a;--stack-color-evidence-unverified-fg: #4b5260;--stack-color-evidence-unverified-bg: #eef0f3;--stack-color-evidence-unverified-border: #cdd2d9;--stack-color-evidence-unverified-glyph: #6b7280;--stack-color-notice-info-fg: #1f4fb8;--stack-color-notice-info-bg: #eaf0fd;--stack-color-notice-info-border: #b9cbf3;--stack-color-chart-1: #2563eb;--stack-color-chart-2: #c2410c;--stack-color-chart-3: #0f766e;--stack-color-chart-4: #7c3aed;--stack-color-chart-5: #be185d;--stack-color-chart-6: #4d7c0f;--stack-color-chart-7: #a16207;--stack-color-chart-8: #475569;--stack-shadow-raised: 0 1px 2px rgba(16, 24, 40, .06);--stack-shadow-overlay: 0 12px 32px rgba(16, 24, 40, .18);--stack-brand-ink: #0b1538;--stack-brand-accent: #0a5ce8;--stack-brand-mark-start: #0b1538;--stack-brand-mark-end: #0a64ff;--stack-product-accent: #0a5ce8;--stack-product-accent-fg: #ffffff}[data-stack-product=feltdb]{--stack-product-accent: #18754a;--stack-product-accent-fg: #ffffff}[data-stack-product=appport]{--stack-product-accent: #2f6584;--stack-product-accent-fg: #ffffff}[data-stack-product=appboundry]{--stack-product-accent: #6a3fd0;--stack-product-accent-fg: #ffffff}[data-stack-product=authboundry]{--stack-product-accent: #8a4b36;--stack-product-accent-fg: #ffffff}[data-stack-product=feltkit]{--stack-product-accent: #0b7f6e;--stack-product-accent-fg: #ffffff}@media(prefers-color-scheme:dark){:root:not([data-stack-theme=light]){color-scheme:dark;--stack-color-bg-canvas: #0f1115;--stack-color-bg-surface: #171a20;--stack-color-bg-raised: #1d2027;--stack-color-bg-sunken: #0b0d10;--stack-color-bg-overlay: rgba(0, 0, 0, .6);--stack-color-bg-code: #1d2027;--stack-color-text-default: #e8eaee;--stack-color-text-muted: #b3b9c4;--stack-color-text-subtle: #9aa2ae;--stack-color-text-inverse: #0f1115;--stack-color-text-link: #8ab4ff;--stack-color-text-on-accent: #0b1020;--stack-color-border-default: #2e333c;--stack-color-border-strong: #6b7380;--stack-color-border-subtle: #23272e;--stack-focus-ring-color: #8ab4ff;--stack-color-action-primary-bg: #6ea3ff;--stack-color-action-primary-fg: #0b1020;--stack-color-action-primary-bg-hover: #8ab4ff;--stack-color-action-primary-bg-active: #a7c6ff;--stack-color-action-secondary-bg: #1d2027;--stack-color-action-secondary-fg: #e8eaee;--stack-color-action-secondary-bg-hover: #262a32;--stack-color-action-secondary-bg-active: #2e333c;--stack-color-action-danger-bg: #ff7b76;--stack-color-action-danger-fg: #1a0b0b;--stack-color-action-danger-bg-hover: #ff9692;--stack-color-action-danger-bg-active: #ffb0ad;--stack-color-status-positive-fg: #7ee2a8;--stack-color-status-positive-bg: #12291d;--stack-color-status-positive-border: #24543a;--stack-color-status-positive-glyph: #4cc985;--stack-color-status-progress-fg: #a9c1ff;--stack-color-status-progress-bg: #16213d;--stack-color-status-progress-border: #2c3f72;--stack-color-status-progress-glyph: #7b9cff;--stack-color-status-attention-fg: #f5c66b;--stack-color-status-attention-bg: #2e2410;--stack-color-status-attention-border: #5c4720;--stack-color-status-attention-glyph: #f0b429;--stack-color-status-critical-fg: #ff9b96;--stack-color-status-critical-bg: #331617;--stack-color-status-critical-border: #6b2a2a;--stack-color-status-critical-glyph: #ff6b6b;--stack-color-status-neutral-fg: #c3c8d1;--stack-color-status-neutral-bg: #22262d;--stack-color-status-neutral-border: #3a3f48;--stack-color-status-neutral-glyph: #9aa2ae;--stack-color-status-unknown-fg: #c9bdf2;--stack-color-status-unknown-bg: #241f36;--stack-color-status-unknown-border: #43395f;--stack-color-status-unknown-glyph: #a796e6;--stack-color-evidence-verified-fg: #7fe0c9;--stack-color-evidence-verified-bg: #0f2a25;--stack-color-evidence-verified-border: #22584c;--stack-color-evidence-verified-glyph: #46c7aa;--stack-color-evidence-unverified-fg: #c3c8d1;--stack-color-evidence-unverified-bg: #22262d;--stack-color-evidence-unverified-border: #3a3f48;--stack-color-evidence-unverified-glyph: #9aa2ae;--stack-color-notice-info-fg: #a9c1ff;--stack-color-notice-info-bg: #16213d;--stack-color-notice-info-border: #2c3f72;--stack-color-chart-1: #6ea3ff;--stack-color-chart-2: #fb923c;--stack-color-chart-3: #2dd4bf;--stack-color-chart-4: #c4a1ff;--stack-color-chart-5: #f472b6;--stack-color-chart-6: #a3e635;--stack-color-chart-7: #facc15;--stack-color-chart-8: #a8b3c4;--stack-shadow-raised: 0 1px 2px rgba(0, 0, 0, .4);--stack-shadow-overlay: 0 12px 32px rgba(0, 0, 0, .55);--stack-brand-ink: #e6ebf7;--stack-brand-accent: #8ab4ff;--stack-brand-mark-start: #dbe5ff;--stack-brand-mark-end: #3d86ff;--stack-product-accent: #8ab4ff;--stack-product-accent-fg: #0b1020}:root:not([data-stack-theme=light]) [data-stack-product=feltdb],:root:not([data-stack-theme=light])[data-stack-product=feltdb]{--stack-product-accent: #42e58d;--stack-product-accent-fg: #0b1020}:root:not([data-stack-theme=light]) [data-stack-product=appport],:root:not([data-stack-theme=light])[data-stack-product=appport]{--stack-product-accent: #7fb3d1;--stack-product-accent-fg: #0b1020}:root:not([data-stack-theme=light]) [data-stack-product=appboundry],:root:not([data-stack-theme=light])[data-stack-product=appboundry]{--stack-product-accent: #b49cf5;--stack-product-accent-fg: #0b1020}:root:not([data-stack-theme=light]) [data-stack-product=authboundry],:root:not([data-stack-theme=light])[data-stack-product=authboundry]{--stack-product-accent: #e09a80;--stack-product-accent-fg: #0b1020}:root:not([data-stack-theme=light]) [data-stack-product=feltkit],:root:not([data-stack-theme=light])[data-stack-product=feltkit]{--stack-product-accent: #3fd8c4;--stack-product-accent-fg: #0b1020}}:root[data-stack-theme=light]{color-scheme:light;--stack-color-bg-canvas: #f6f7f9;--stack-color-bg-surface: #ffffff;--stack-color-bg-raised: #ffffff;--stack-color-bg-sunken: #eef0f3;--stack-color-bg-overlay: rgba(15, 18, 24, .48);--stack-color-bg-code: #f0f2f5;--stack-color-text-default: #16181d;--stack-color-text-muted: #4b5260;--stack-color-text-subtle: #5f6673;--stack-color-text-inverse: #ffffff;--stack-color-text-link: #0a55d6;--stack-color-text-on-accent: #ffffff;--stack-color-border-default: #d9dde3;--stack-color-border-strong: #7c8492;--stack-color-border-subtle: #e8ebef;--stack-focus-ring-color: #0a5ce8;--stack-color-action-primary-bg: #0a5ce8;--stack-color-action-primary-fg: #ffffff;--stack-color-action-primary-bg-hover: #084dc4;--stack-color-action-primary-bg-active: #063fa3;--stack-color-action-secondary-bg: #ffffff;--stack-color-action-secondary-fg: #16181d;--stack-color-action-secondary-bg-hover: #eef0f3;--stack-color-action-secondary-bg-active: #e2e5ea;--stack-color-action-danger-bg: #c42b2b;--stack-color-action-danger-fg: #ffffff;--stack-color-action-danger-bg-hover: #a82323;--stack-color-action-danger-bg-active: #8c1d1d;--stack-color-status-positive-fg: #136b3a;--stack-color-status-positive-bg: #e8f5ee;--stack-color-status-positive-border: #9fd3b4;--stack-color-status-positive-glyph: #1a7f45;--stack-color-status-progress-fg: #1f4fb8;--stack-color-status-progress-bg: #eaf0fd;--stack-color-status-progress-border: #b9cbf3;--stack-color-status-progress-glyph: #2f5bd8;--stack-color-status-attention-fg: #734700;--stack-color-status-attention-bg: #fdf3e1;--stack-color-status-attention-border: #ecc77f;--stack-color-status-attention-glyph: #a26400;--stack-color-status-critical-fg: #a32020;--stack-color-status-critical-bg: #fdecec;--stack-color-status-critical-border: #f0b0b0;--stack-color-status-critical-glyph: #c42b2b;--stack-color-status-neutral-fg: #4b5260;--stack-color-status-neutral-bg: #eef0f3;--stack-color-status-neutral-border: #cdd2d9;--stack-color-status-neutral-glyph: #6b7280;--stack-color-status-unknown-fg: #55468a;--stack-color-status-unknown-bg: #f1eef8;--stack-color-status-unknown-border: #cdc4e8;--stack-color-status-unknown-glyph: #7262ad;--stack-color-evidence-verified-fg: #0d5c4a;--stack-color-evidence-verified-bg: #e4f4ef;--stack-color-evidence-verified-border: #93d1c0;--stack-color-evidence-verified-glyph: #11806a;--stack-color-evidence-unverified-fg: #4b5260;--stack-color-evidence-unverified-bg: #eef0f3;--stack-color-evidence-unverified-border: #cdd2d9;--stack-color-evidence-unverified-glyph: #6b7280;--stack-color-notice-info-fg: #1f4fb8;--stack-color-notice-info-bg: #eaf0fd;--stack-color-notice-info-border: #b9cbf3;--stack-color-chart-1: #2563eb;--stack-color-chart-2: #c2410c;--stack-color-chart-3: #0f766e;--stack-color-chart-4: #7c3aed;--stack-color-chart-5: #be185d;--stack-color-chart-6: #4d7c0f;--stack-color-chart-7: #a16207;--stack-color-chart-8: #475569;--stack-shadow-raised: 0 1px 2px rgba(16, 24, 40, .06);--stack-shadow-overlay: 0 12px 32px rgba(16, 24, 40, .18);--stack-brand-ink: #0b1538;--stack-brand-accent: #0a5ce8;--stack-brand-mark-start: #0b1538;--stack-brand-mark-end: #0a64ff;--stack-product-accent: #0a5ce8;--stack-product-accent-fg: #ffffff}:root[data-stack-theme=light] [data-stack-product=feltdb],:root[data-stack-theme=light][data-stack-product=feltdb]{--stack-product-accent: #18754a;--stack-product-accent-fg: #ffffff}:root[data-stack-theme=light] [data-stack-product=appport],:root[data-stack-theme=light][data-stack-product=appport]{--stack-product-accent: #2f6584;--stack-product-accent-fg: #ffffff}:root[data-stack-theme=light] [data-stack-product=appboundry],:root[data-stack-theme=light][data-stack-product=appboundry]{--stack-product-accent: #6a3fd0;--stack-product-accent-fg: #ffffff}:root[data-stack-theme=light] [data-stack-product=authboundry],:root[data-stack-theme=light][data-stack-product=authboundry]{--stack-product-accent: #8a4b36;--stack-product-accent-fg: #ffffff}:root[data-stack-theme=light] [data-stack-product=feltkit],:root[data-stack-theme=light][data-stack-product=feltkit]{--stack-product-accent: #0b7f6e;--stack-product-accent-fg: #ffffff}:root[data-stack-theme=dark]{color-scheme:dark;--stack-color-bg-canvas: #0f1115;--stack-color-bg-surface: #171a20;--stack-color-bg-raised: #1d2027;--stack-color-bg-sunken: #0b0d10;--stack-color-bg-overlay: rgba(0, 0, 0, .6);--stack-color-bg-code: #1d2027;--stack-color-text-default: #e8eaee;--stack-color-text-muted: #b3b9c4;--stack-color-text-subtle: #9aa2ae;--stack-color-text-inverse: #0f1115;--stack-color-text-link: #8ab4ff;--stack-color-text-on-accent: #0b1020;--stack-color-border-default: #2e333c;--stack-color-border-strong: #6b7380;--stack-color-border-subtle: #23272e;--stack-focus-ring-color: #8ab4ff;--stack-color-action-primary-bg: #6ea3ff;--stack-color-action-primary-fg: #0b1020;--stack-color-action-primary-bg-hover: #8ab4ff;--stack-color-action-primary-bg-active: #a7c6ff;--stack-color-action-secondary-bg: #1d2027;--stack-color-action-secondary-fg: #e8eaee;--stack-color-action-secondary-bg-hover: #262a32;--stack-color-action-secondary-bg-active: #2e333c;--stack-color-action-danger-bg: #ff7b76;--stack-color-action-danger-fg: #1a0b0b;--stack-color-action-danger-bg-hover: #ff9692;--stack-color-action-danger-bg-active: #ffb0ad;--stack-color-status-positive-fg: #7ee2a8;--stack-color-status-positive-bg: #12291d;--stack-color-status-positive-border: #24543a;--stack-color-status-positive-glyph: #4cc985;--stack-color-status-progress-fg: #a9c1ff;--stack-color-status-progress-bg: #16213d;--stack-color-status-progress-border: #2c3f72;--stack-color-status-progress-glyph: #7b9cff;--stack-color-status-attention-fg: #f5c66b;--stack-color-status-attention-bg: #2e2410;--stack-color-status-attention-border: #5c4720;--stack-color-status-attention-glyph: #f0b429;--stack-color-status-critical-fg: #ff9b96;--stack-color-status-critical-bg: #331617;--stack-color-status-critical-border: #6b2a2a;--stack-color-status-critical-glyph: #ff6b6b;--stack-color-status-neutral-fg: #c3c8d1;--stack-color-status-neutral-bg: #22262d;--stack-color-status-neutral-border: #3a3f48;--stack-color-status-neutral-glyph: #9aa2ae;--stack-color-status-unknown-fg: #c9bdf2;--stack-color-status-unknown-bg: #241f36;--stack-color-status-unknown-border: #43395f;--stack-color-status-unknown-glyph: #a796e6;--stack-color-evidence-verified-fg: #7fe0c9;--stack-color-evidence-verified-bg: #0f2a25;--stack-color-evidence-verified-border: #22584c;--stack-color-evidence-verified-glyph: #46c7aa;--stack-color-evidence-unverified-fg: #c3c8d1;--stack-color-evidence-unverified-bg: #22262d;--stack-color-evidence-unverified-border: #3a3f48;--stack-color-evidence-unverified-glyph: #9aa2ae;--stack-color-notice-info-fg: #a9c1ff;--stack-color-notice-info-bg: #16213d;--stack-color-notice-info-border: #2c3f72;--stack-color-chart-1: #6ea3ff;--stack-color-chart-2: #fb923c;--stack-color-chart-3: #2dd4bf;--stack-color-chart-4: #c4a1ff;--stack-color-chart-5: #f472b6;--stack-color-chart-6: #a3e635;--stack-color-chart-7: #facc15;--stack-color-chart-8: #a8b3c4;--stack-shadow-raised: 0 1px 2px rgba(0, 0, 0, .4);--stack-shadow-overlay: 0 12px 32px rgba(0, 0, 0, .55);--stack-brand-ink: #e6ebf7;--stack-brand-accent: #8ab4ff;--stack-brand-mark-start: #dbe5ff;--stack-brand-mark-end: #3d86ff;--stack-product-accent: #8ab4ff;--stack-product-accent-fg: #0b1020}:root[data-stack-theme=dark] [data-stack-product=feltdb],:root[data-stack-theme=dark][data-stack-product=feltdb]{--stack-product-accent: #42e58d;--stack-product-accent-fg: #0b1020}:root[data-stack-theme=dark] [data-stack-product=appport],:root[data-stack-theme=dark][data-stack-product=appport]{--stack-product-accent: #7fb3d1;--stack-product-accent-fg: #0b1020}:root[data-stack-theme=dark] [data-stack-product=appboundry],:root[data-stack-theme=dark][data-stack-product=appboundry]{--stack-product-accent: #b49cf5;--stack-product-accent-fg: #0b1020}:root[data-stack-theme=dark] [data-stack-product=authboundry],:root[data-stack-theme=dark][data-stack-product=authboundry]{--stack-product-accent: #e09a80;--stack-product-accent-fg: #0b1020}:root[data-stack-theme=dark] [data-stack-product=feltkit],:root[data-stack-theme=dark][data-stack-product=feltkit]{--stack-product-accent: #3fd8c4;--stack-product-accent-fg: #0b1020}@media(prefers-reduced-motion:reduce){:root{--stack-motion-duration-fast: 0ms;--stack-motion-duration-base: 0ms}}.stack-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.stack-status{display:inline-flex;align-items:baseline;gap:var(--stack-space-1);font:inherit;color:inherit;white-space:nowrap}.stack-status__glyph{font-size:.85em;line-height:1}.stack-status__detail{color:var(--stack-color-text-muted)}.stack-status__detail:before{content:"· "}.stack-status--positive .stack-status__glyph{color:var(--stack-color-status-positive-glyph)}.stack-status--progress .stack-status__glyph{color:var(--stack-color-status-progress-glyph)}.stack-status--attention .stack-status__glyph{color:var(--stack-color-status-attention-glyph)}.stack-status--critical .stack-status__glyph{color:var(--stack-color-status-critical-glyph)}.stack-status--neutral .stack-status__glyph{color:var(--stack-color-status-neutral-glyph)}.stack-status--unknown .stack-status__glyph{color:var(--stack-color-status-unknown-glyph)}.stack-verification{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:var(--stack-space-1);padding:var(--stack-space-1) var(--stack-space-2);border:var(--stack-border-width-thin) solid var(--stack-color-evidence-unverified-border);border-radius:var(--stack-radius-md);background:var(--stack-color-evidence-unverified-bg);color:var(--stack-color-evidence-unverified-fg);font-size:var(--stack-text-sm-size);line-height:var(--stack-text-sm-line)}.stack-verification--verified{border-color:var(--stack-color-evidence-verified-border);background:var(--stack-color-evidence-verified-bg);color:var(--stack-color-evidence-verified-fg)}.stack-verification--verification_failed{border-color:var(--stack-color-status-critical-border);background:var(--stack-color-status-critical-bg);color:var(--stack-color-status-critical-fg)}.stack-verification__label{font-weight:var(--stack-font-weight-medium)}.stack-verification__evidence{color:inherit;text-decoration:underline}.stack-verification__checks{flex-basis:100%;margin:var(--stack-space-1) 0 0;padding-left:var(--stack-space-5)}.stack-freshness{display:inline-flex;align-items:baseline;gap:var(--stack-space-1);color:var(--stack-color-text-muted);font-size:var(--stack-text-sm-size);line-height:var(--stack-text-sm-line)}.stack-freshness__glyph{font-size:.85em}.stack-freshness--live .stack-freshness__glyph{color:var(--stack-color-status-positive-glyph)}.stack-freshness--cached .stack-freshness__glyph{color:var(--stack-color-status-neutral-glyph)}.stack-freshness--stale{color:var(--stack-color-status-attention-fg)}.stack-freshness--stale .stack-freshness__glyph{color:var(--stack-color-status-attention-glyph)}.stack-freshness--unknown .stack-freshness__glyph{color:var(--stack-color-status-unknown-glyph)}.stack-unavailable,.stack-error,.stack-empty,.stack-loading{border-radius:var(--stack-radius-lg);padding:var(--stack-space-3) var(--stack-space-4);font-size:var(--stack-text-md-size);line-height:var(--stack-text-md-line)}.stack-unavailable{border:var(--stack-border-width-thin) dashed var(--stack-color-border-strong);background:var(--stack-color-bg-sunken);color:var(--stack-color-text-muted)}.stack-unavailable__title{margin:0;color:var(--stack-color-text-default);font-size:var(--stack-text-md-size);line-height:var(--stack-text-md-line);font-weight:var(--stack-font-weight-semibold)}.stack-unavailable__reason{margin:var(--stack-space-1) 0 0}.stack-error{border:var(--stack-border-width-thin) solid var(--stack-color-status-critical-border);background:var(--stack-color-status-critical-bg);color:var(--stack-color-status-critical-fg)}.stack-error__title{margin:0;font-weight:var(--stack-font-weight-semibold)}.stack-error__message,.stack-error__meta{margin:var(--stack-space-1) 0 0}.stack-error__meta code{font-family:var(--stack-font-family-mono);font-size:.92em}.stack-error__actions{display:flex;gap:var(--stack-space-2);margin-top:var(--stack-space-3)}.stack-empty{border:var(--stack-border-width-thin) dashed var(--stack-color-border-default);color:var(--stack-color-text-muted);text-align:center;padding:var(--stack-space-6) var(--stack-space-4)}.stack-empty__title{margin:0;color:var(--stack-color-text-default);font-size:var(--stack-text-lg-size);line-height:var(--stack-text-lg-line);font-weight:var(--stack-font-weight-semibold)}.stack-empty__body{margin:var(--stack-space-1) 0 0}.stack-empty__action{margin-top:var(--stack-space-3)}.stack-loading{display:flex;align-items:center;gap:var(--stack-space-2);color:var(--stack-color-text-muted);padding-left:0}.stack-loading__indicator{width:var(--stack-size-icon-sm);height:var(--stack-size-icon-sm);border-radius:50%;border:var(--stack-border-width-thick) solid var(--stack-color-border-default);border-top-color:var(--stack-color-status-progress-glyph);animation:stack-spin calc(var(--stack-motion-duration-base) * 4) linear infinite}@keyframes stack-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.stack-loading__indicator,.stack-button__busy{animation:none}}.stack-meta{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:var(--stack-space-2);margin:0}.stack-meta__item{min-width:0;padding:var(--stack-space-3);border:var(--stack-border-width-thin) solid var(--stack-color-border-default);border-radius:var(--stack-radius-lg);background:var(--stack-color-bg-surface)}.stack-meta__label{color:var(--stack-color-text-muted);font-size:var(--stack-text-xs-size);line-height:var(--stack-text-xs-line);text-transform:uppercase;letter-spacing:.04em;font-weight:var(--stack-font-weight-medium)}.stack-meta__value{margin:var(--stack-space-1) 0 0;color:var(--stack-color-text-default);font-size:var(--stack-text-md-size);line-height:var(--stack-text-md-line);overflow-wrap:anywhere}.stack-meta__value--mono{font-family:var(--stack-font-family-mono);font-size:var(--stack-text-sm-size)}.stack-meta__hint{margin:var(--stack-space-1) 0 0;color:var(--stack-color-text-muted);font-size:var(--stack-text-xs-size)}.stack-identity{display:inline-flex;align-items:baseline;gap:var(--stack-space-2);min-width:0}.stack-identity__kind{color:var(--stack-color-text-muted);font-size:var(--stack-text-xs-size);text-transform:uppercase;letter-spacing:.04em}.stack-identity__name{font-weight:var(--stack-font-weight-semibold);color:inherit}a.stack-identity__name{color:var(--stack-color-text-link)}.stack-identity__id{font-family:var(--stack-font-family-mono);font-size:var(--stack-text-sm-size);padding:0 var(--stack-space-1);border-radius:var(--stack-radius-sm);background:var(--stack-color-bg-code);color:var(--stack-color-text-default)}.stack-page-header{margin:0 0 var(--stack-space-4)}.stack-page-header__eyebrow{margin:0;color:var(--stack-color-text-muted);font-size:var(--stack-text-xs-size);text-transform:uppercase;letter-spacing:.06em;font-weight:var(--stack-font-weight-semibold)}.stack-page-header__title-row{display:flex;flex-wrap:wrap;align-items:center;gap:var(--stack-space-3)}.stack-page-header__title{margin:var(--stack-space-1) 0 0;color:var(--stack-color-text-default);font-size:var(--stack-text-2xl-size);line-height:var(--stack-text-2xl-line);font-weight:var(--stack-font-weight-semibold)}.stack-page-header__actions{display:flex;gap:var(--stack-space-2);margin-left:auto}.stack-page-header__description{margin:var(--stack-space-1) 0 0;color:var(--stack-color-text-muted);max-width:72ch}.stack-page-header__meta{margin-top:var(--stack-space-2)}.stack-button{display:inline-flex;align-items:center;justify-content:center;gap:var(--stack-space-2);min-height:var(--stack-size-control-md);padding:0 var(--stack-space-3);border:var(--stack-border-width-thin) solid var(--stack-color-border-default);border-radius:var(--stack-radius-md);background:var(--stack-color-action-secondary-bg);color:var(--stack-color-action-secondary-fg);font:inherit;font-size:var(--stack-text-md-size);font-weight:var(--stack-font-weight-medium);cursor:pointer;transition:background-color var(--stack-motion-duration-fast) var(--stack-motion-ease-standard)}.stack-button:hover:not(:disabled){background:var(--stack-color-action-secondary-bg-hover)}.stack-button:active:not(:disabled){background:var(--stack-color-action-secondary-bg-active)}.stack-button--primary{border-color:transparent;background:var(--stack-color-action-primary-bg);color:var(--stack-color-action-primary-fg)}.stack-button--primary:hover:not(:disabled){background:var(--stack-color-action-primary-bg-hover)}.stack-button--primary:active:not(:disabled){background:var(--stack-color-action-primary-bg-active)}.stack-button--danger{border-color:transparent;background:var(--stack-color-action-danger-bg);color:var(--stack-color-action-danger-fg)}.stack-button--danger:hover:not(:disabled){background:var(--stack-color-action-danger-bg-hover)}.stack-button--danger:active:not(:disabled){background:var(--stack-color-action-danger-bg-active)}.stack-button--ghost{border-color:transparent;background:transparent}.stack-button--sm{min-height:var(--stack-size-control-sm);padding:0 var(--stack-space-2);font-size:var(--stack-text-sm-size)}.stack-button--lg{min-height:var(--stack-size-control-lg);padding:0 var(--stack-space-4)}.stack-button:disabled{opacity:.55;cursor:not-allowed}.stack-button[aria-busy=true]{opacity:.8;cursor:progress}.stack-button__busy{width:var(--stack-size-icon-sm);height:var(--stack-size-icon-sm);border-radius:50%;border:var(--stack-border-width-thick) solid currentColor;border-right-color:transparent;animation:stack-spin calc(var(--stack-motion-duration-base) * 4) linear infinite}.stack-button:focus-visible,.stack-identity__name:focus-visible,.stack-verification__evidence:focus-visible{outline:var(--stack-focus-ring-width) solid var(--stack-focus-ring-color);outline-offset:var(--stack-focus-ring-offset)}.stack-breadcrumbs{font-size:var(--stack-text-sm-size);line-height:var(--stack-text-sm-line);color:var(--stack-color-text-muted)}.stack-breadcrumbs__list{display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--stack-space-1);margin:0;padding:0;list-style:none}.stack-breadcrumbs__item{display:inline-flex;align-items:baseline;gap:var(--stack-space-1);min-width:0}.stack-breadcrumbs__separator{color:var(--stack-color-text-subtle)}.stack-breadcrumbs__link{color:var(--stack-color-text-link);text-decoration:none}.stack-breadcrumbs__link:hover{text-decoration:underline}.stack-breadcrumbs__current{color:var(--stack-color-text-default);font-weight:var(--stack-font-weight-medium);overflow-wrap:anywhere}.stack-tabs{display:flex;gap:var(--stack-space-1);overflow-x:auto;border-bottom:var(--stack-border-width-thin) solid var(--stack-color-border-default)}.stack-tabs__tab{display:inline-flex;align-items:center;gap:var(--stack-space-2);min-height:var(--stack-size-control-md);padding:0 var(--stack-space-3);margin-bottom:-1px;border:0;border-bottom:var(--stack-border-width-thick) solid transparent;background:transparent;color:var(--stack-color-text-muted);font:inherit;font-size:var(--stack-text-md-size);font-weight:var(--stack-font-weight-medium);white-space:nowrap;cursor:pointer}.stack-tabs__tab:hover:not(:disabled){color:var(--stack-color-text-default)}.stack-tabs__tab[aria-selected=true]{color:var(--stack-color-text-default);border-bottom-color:var(--stack-color-action-primary-bg)}.stack-tabs__tab:disabled{opacity:.55;cursor:not-allowed}.stack-tabs__badge{padding:0 var(--stack-space-2);border-radius:var(--stack-radius-pill);background:var(--stack-color-bg-sunken);color:var(--stack-color-text-muted);font-size:var(--stack-text-xs-size)}.stack-tabpanel{padding-top:var(--stack-space-4)}.stack-table{overflow-x:auto;border:var(--stack-border-width-thin) solid var(--stack-color-border-default);border-radius:var(--stack-radius-lg);background:var(--stack-color-bg-surface)}.stack-table[aria-busy=true]{box-shadow:inset 0 var(--stack-border-width-thick) 0 var(--stack-color-status-progress-glyph)}.stack-table__table{width:100%;border-collapse:collapse;font-size:var(--stack-text-md-size);line-height:var(--stack-text-md-line)}.stack-table__caption{padding:var(--stack-space-3) var(--stack-space-4);text-align:left;color:var(--stack-color-text-default);font-weight:var(--stack-font-weight-semibold)}.stack-table__header{padding:var(--stack-space-2) var(--stack-space-4);text-align:left;white-space:nowrap;border-bottom:var(--stack-border-width-thin) solid var(--stack-color-border-default);background:var(--stack-color-bg-sunken);color:var(--stack-color-text-muted);font-size:var(--stack-text-xs-size);font-weight:var(--stack-font-weight-semibold);letter-spacing:.04em;text-transform:uppercase}.stack-table__sort{display:inline-flex;align-items:center;gap:var(--stack-space-1);padding:0;border:0;background:transparent;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit;cursor:pointer}.stack-table__sort-indicator{color:var(--stack-color-text-subtle)}.stack-table__cell{padding:var(--stack-space-2) var(--stack-space-4);vertical-align:top;border-bottom:var(--stack-border-width-thin) solid var(--stack-color-border-subtle);color:var(--stack-color-text-default)}.stack-table__row:last-child .stack-table__cell{border-bottom:0}.stack-table__cell--end{text-align:right}.stack-table__cell[data-missing=true]{color:var(--stack-color-text-subtle)}.stack-table__row--selectable{cursor:pointer}.stack-table__row--selectable:hover{background:var(--stack-color-bg-sunken)}.stack-table__row--selected{background:var(--stack-color-status-progress-bg)}.stack-filter{margin:0 0 var(--stack-space-3)}.stack-filter__controls{display:flex;flex-wrap:wrap;align-items:flex-end;gap:var(--stack-space-3)}.stack-filter__field{display:flex;flex-direction:column;gap:var(--stack-space-1);min-width:0}.stack-filter__label{color:var(--stack-color-text-muted);font-size:var(--stack-text-xs-size);font-weight:var(--stack-font-weight-semibold)}.stack-filter__control{min-height:var(--stack-size-control-md);max-width:100%;padding:0 var(--stack-space-2);border:var(--stack-border-width-thin) solid var(--stack-color-border-strong);border-radius:var(--stack-radius-md);background:var(--stack-color-bg-surface);color:var(--stack-color-text-default);font:inherit;font-size:var(--stack-text-md-size)}.stack-filter__actions{display:flex;gap:var(--stack-space-2)}.stack-filter__result{margin:var(--stack-space-2) 0 0;min-height:var(--stack-text-sm-line);color:var(--stack-color-text-muted);font-size:var(--stack-text-sm-size)}.stack-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--stack-space-3);margin-top:var(--stack-space-3)}.stack-pagination__summary{margin:0;color:var(--stack-color-text-muted);font-size:var(--stack-text-sm-size)}.stack-pagination__actions{display:flex;gap:var(--stack-space-2);margin-left:auto}.stack-shell{min-height:100vh;display:flex;flex-direction:column;background:var(--stack-color-bg-canvas);color:var(--stack-color-text-default);font-family:var(--stack-font-family-sans)}.stack-shell__skip{position:absolute;left:var(--stack-space-2);top:-100px;z-index:var(--stack-z-toast);padding:var(--stack-space-2) var(--stack-space-3);border-radius:var(--stack-radius-md);background:var(--stack-color-action-primary-bg);color:var(--stack-color-action-primary-fg)}.stack-shell__skip:not(:focus){clip-path:inset(50%)}.stack-shell__skip:focus{top:var(--stack-space-2)}.stack-shell__bar{display:flex;flex-wrap:wrap;align-items:center;gap:var(--stack-space-3);min-height:52px;padding:var(--stack-space-2) var(--stack-space-4);border-bottom:var(--stack-border-width-thin) solid var(--stack-color-border-default);background:var(--stack-color-bg-surface)}.stack-shell__product{display:inline-flex;align-items:center;gap:var(--stack-space-2);color:var(--stack-color-text-default);text-decoration:none;font-weight:var(--stack-font-weight-semibold);letter-spacing:.02em}.stack-shell__mark{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:var(--stack-radius-md);background:var(--stack-product-accent, var(--stack-color-action-primary-bg));color:var(--stack-product-accent-fg, var(--stack-color-action-primary-fg));font-size:var(--stack-text-xs-size)}.stack-shell__context,.stack-shell__search{display:flex;align-items:center;min-width:0}.stack-shell__search{flex:1 1 200px;max-width:420px}.stack-shell__end{display:flex;align-items:center;gap:var(--stack-space-3);margin-left:auto;min-width:0;flex-wrap:wrap}.stack-shell__family{display:inline-flex;align-items:center;gap:var(--stack-space-2);color:var(--stack-color-text-muted);font-size:var(--stack-text-sm-size);text-decoration:none}.stack-shell__family:hover{color:var(--stack-color-text-default);text-decoration:underline}.stack-shell__family:focus-visible{outline:var(--stack-focus-ring-width) solid var(--stack-focus-ring-color);outline-offset:var(--stack-focus-ring-offset)}.stack-shell__family .stack-brand-mark{width:16px}.stack-shell__account{display:flex;align-items:center;gap:var(--stack-space-2);min-width:0}.stack-shell__body{flex:1;display:grid;grid-template-columns:220px minmax(0,1fr);min-height:0}.stack-shell__nav{padding:var(--stack-space-4) var(--stack-space-3);border-right:var(--stack-border-width-thin) solid var(--stack-color-border-default);background:var(--stack-color-bg-surface);overflow-y:auto}.stack-shell__nav-group+.stack-shell__nav-group{margin-top:var(--stack-space-4)}.stack-shell__nav-heading{margin:0 0 var(--stack-space-1);padding:0 var(--stack-space-2);color:var(--stack-color-text-muted);font-size:var(--stack-text-xs-size);font-weight:var(--stack-font-weight-semibold);letter-spacing:.06em;text-transform:uppercase}.stack-shell__nav-list{margin:0;padding:0;list-style:none}.stack-shell__nav-item{display:block;padding:var(--stack-space-2);border-radius:var(--stack-radius-md);color:var(--stack-color-text-default);text-decoration:none;font-size:var(--stack-text-md-size)}.stack-shell__nav-item:hover{background:var(--stack-color-bg-sunken)}.stack-shell__nav-item[aria-current=page]{background:var(--stack-color-status-progress-bg);color:var(--stack-color-status-progress-fg);font-weight:var(--stack-font-weight-semibold)}.stack-shell__main{box-sizing:border-box;width:100%;min-width:0;padding:var(--stack-space-6)}.stack-shell__main:focus{outline:none}.stack-shell__menu-button{display:none;align-items:center;justify-content:center;min-width:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:var(--stack-radius-md);background:transparent;color:var(--stack-color-text-default);font:inherit;font-size:var(--stack-text-lg-size);cursor:pointer}.stack-shell__menu-button:hover{background:var(--stack-color-bg-sunken)}@media(max-width:767px){.stack-shell__body{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr}.stack-shell__nav{display:flex;gap:var(--stack-space-3);padding:var(--stack-space-2) var(--stack-space-3);border-right:0;border-bottom:var(--stack-border-width-thin) solid var(--stack-color-border-default);overflow-x:auto}.stack-shell__nav-group+.stack-shell__nav-group{margin-top:0}.stack-shell__nav-heading{display:none}.stack-shell__nav-list{display:flex;gap:var(--stack-space-1)}.stack-shell__nav-item{white-space:nowrap}.stack-shell__main{padding:var(--stack-space-4)}.stack-shell--menu .stack-shell__menu-button{display:inline-flex}.stack-shell--menu .stack-shell__nav{display:none}.stack-shell--menu.stack-shell--menu-open .stack-shell__nav{display:block;padding:var(--stack-space-3);overflow-x:visible;overflow-y:auto}.stack-shell--menu.stack-shell--menu-open .stack-shell__nav-group+.stack-shell__nav-group{margin-top:var(--stack-space-4)}.stack-shell--menu.stack-shell--menu-open .stack-shell__nav-heading,.stack-shell--menu.stack-shell--menu-open .stack-shell__nav-list{display:block}.stack-shell--menu.stack-shell--menu-open .stack-shell__nav-item{white-space:normal}}.stack-tabs__tab:focus-visible,.stack-table__sort:focus-visible,.stack-table:focus-visible,.stack-table__row--selectable:focus-visible,.stack-filter__control:focus-visible,.stack-shell__theme:focus-visible,.stack-shell__nav-item:focus-visible,.stack-shell__product:focus-visible,.stack-breadcrumbs__link:focus-visible,.stack-shell__skip:focus-visible,.stack-tabpanel:focus-visible,.stack-shell__menu-button:focus-visible{outline:var(--stack-focus-ring-width) solid var(--stack-focus-ring-color);outline-offset:var(--stack-focus-ring-offset)}.stack-field{display:flex;flex-direction:column;gap:var(--stack-space-1);min-width:0}.stack-field__label{color:var(--stack-color-text-default);font-size:var(--stack-text-sm-size);font-weight:var(--stack-font-weight-semibold)}.stack-field__required{color:var(--stack-color-status-critical-fg)}.stack-field__control{box-sizing:border-box;width:100%;min-height:var(--stack-size-control-md);padding:var(--stack-space-1) var(--stack-space-2);border:var(--stack-border-width-thin) solid var(--stack-color-border-strong);border-radius:var(--stack-radius-md);background:var(--stack-color-bg-surface);color:var(--stack-color-text-default);font:inherit;font-size:var(--stack-text-md-size)}textarea.stack-field__control{min-height:calc(var(--stack-size-control-md) * 2);resize:vertical;font-family:var(--stack-font-family-mono);font-size:var(--stack-text-sm-size)}.stack-field__control::placeholder{color:var(--stack-color-text-subtle);opacity:1}.stack-field__control:disabled,.stack-field__control[readonly]{background:var(--stack-color-bg-sunken);color:var(--stack-color-text-muted)}.stack-field--invalid .stack-field__control{border-color:var(--stack-color-status-critical-glyph)}.stack-field__hint{margin:0;color:var(--stack-color-text-muted);font-size:var(--stack-text-xs-size)}.stack-field__error{margin:0;color:var(--stack-color-status-critical-fg);font-size:var(--stack-text-xs-size);font-weight:var(--stack-font-weight-semibold)}.stack-form{display:flex;flex-direction:column;gap:var(--stack-space-3);margin:0 0 var(--stack-space-4)}.stack-form__fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:var(--stack-space-3);align-items:start}.stack-form__actions{display:flex;flex-wrap:wrap;gap:var(--stack-space-2)}.stack-form--inline{flex-direction:row;flex-wrap:wrap;align-items:flex-end}.stack-form--inline .stack-form__fields{flex:1 1 320px}.stack-dialog{box-sizing:border-box;width:min(520px,calc(100vw - 2 * var(--stack-space-4)));max-height:calc(100vh - 2 * var(--stack-space-4));padding:0;overflow:auto;border:var(--stack-border-width-thin) solid var(--stack-color-border-default);border-radius:var(--stack-radius-lg);background:var(--stack-color-bg-raised);color:var(--stack-color-text-default);box-shadow:var(--stack-shadow-overlay);font-family:var(--stack-font-family-sans)}.stack-dialog::backdrop{background:var(--stack-color-bg-overlay)}.stack-dialog__surface{display:flex;flex-direction:column;gap:var(--stack-space-3);padding:var(--stack-space-5)}.stack-dialog__title{margin:0;font-size:var(--stack-text-lg-size);line-height:var(--stack-text-lg-line);font-weight:var(--stack-font-weight-semibold)}.stack-dialog__description{margin:0;color:var(--stack-color-text-muted)}.stack-dialog__body{display:flex;flex-direction:column;gap:var(--stack-space-3)}.stack-dialog__body .stack-form{margin:0}.stack-dialog__body .stack-form__fields{grid-template-columns:1fr}.stack-dialog__actions,.stack-form-dialog .stack-form__actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:var(--stack-space-2)}.stack-confirm__consequences{margin:0;padding-left:var(--stack-space-5)}.stack-confirm__consequences li+li{margin-top:var(--stack-space-1)}.stack-field__control:focus-visible{outline:var(--stack-focus-ring-width) solid var(--stack-focus-ring-color);outline-offset:var(--stack-focus-ring-offset)}@media(prefers-reduced-motion:no-preference){.stack-dialog[open]{animation:stack-dialog-in var(--stack-motion-duration-fast) var(--stack-motion-ease-standard)}}@keyframes stack-dialog-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}.stack-evidence{margin:0 0 var(--stack-space-4);padding:var(--stack-space-4);border:var(--stack-border-width-thin) solid var(--stack-color-border-default);border-radius:var(--stack-radius-lg);background:var(--stack-color-bg-surface);color:var(--stack-color-text-default)}.stack-evidence__header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--stack-space-2) var(--stack-space-3)}.stack-evidence__title{margin:0;font-size:var(--stack-text-lg-size);line-height:var(--stack-text-lg-line);font-weight:var(--stack-font-weight-semibold)}.stack-evidence__summary{margin:var(--stack-space-1) 0 var(--stack-space-3);color:var(--stack-color-text-muted);font-size:var(--stack-text-sm-size)}.stack-evidence__claims{display:grid;grid-template-columns:minmax(8rem,max-content) minmax(0,1fr);gap:var(--stack-space-2) var(--stack-space-4);margin:0}.stack-evidence__claim{display:contents}.stack-evidence__label{color:var(--stack-color-text-muted);font-size:var(--stack-text-sm-size)}.stack-evidence__value{margin:0;min-width:0;overflow-wrap:anywhere;font-size:var(--stack-text-sm-size)}.stack-evidence__value--mono{font-family:var(--stack-font-family-mono);font-size:var(--stack-text-sm-size)}.stack-evidence__check{grid-column:2;margin:0}.stack-evidence__source{margin:var(--stack-space-3) 0 0;color:var(--stack-color-text-muted);font-size:var(--stack-text-xs-size)}@media(max-width:479px){.stack-evidence__claims{grid-template-columns:minmax(0,1fr)}.stack-evidence__check{grid-column:1}}.stack-alert{display:flex;gap:var(--stack-space-3);margin:0 0 var(--stack-space-4);padding:var(--stack-space-3) var(--stack-space-4);border:var(--stack-border-width-thin) solid var(--stack-color-notice-info-border);border-radius:var(--stack-radius-md);background:var(--stack-color-notice-info-bg);color:var(--stack-color-notice-info-fg);font-size:var(--stack-text-md-size);line-height:var(--stack-text-md-line)}.stack-alert--attention{border-color:var(--stack-color-status-attention-border);background:var(--stack-color-status-attention-bg);color:var(--stack-color-status-attention-fg)}.stack-alert--critical{border-color:var(--stack-color-status-critical-border);background:var(--stack-color-status-critical-bg);color:var(--stack-color-status-critical-fg)}.stack-alert__glyph{flex:none;width:1.25em;text-align:center;font-weight:var(--stack-font-weight-semibold)}.stack-alert__content{display:flex;flex-direction:column;gap:var(--stack-space-1);min-width:0}.stack-alert__title{margin:0;font-weight:var(--stack-font-weight-semibold)}.stack-alert__body>:first-child{margin-top:0}.stack-alert__body>:last-child{margin-bottom:0}.stack-alert__actions{display:flex;flex-wrap:wrap;gap:var(--stack-space-2);margin-top:var(--stack-space-1)}.stack-checkbox{display:flex;flex-direction:column;gap:var(--stack-space-1);min-width:0}.stack-checkbox__row{display:flex;align-items:flex-start;gap:var(--stack-space-2)}.stack-checkbox__control{flex:none;width:18px;height:18px;margin:3px 0 0;accent-color:var(--stack-color-action-primary-bg)}.stack-checkbox__label{color:var(--stack-color-text-default);font-size:var(--stack-text-md-size);line-height:var(--stack-text-md-line);cursor:pointer}.stack-checkbox__control:disabled+.stack-checkbox__label{color:var(--stack-color-text-muted);cursor:default}.stack-checkbox--invalid .stack-checkbox__control{outline:var(--stack-border-width-thin) solid var(--stack-color-status-critical-glyph);outline-offset:1px}.stack-checkbox .stack-field__hint,.stack-checkbox .stack-field__error{padding-left:calc(18px + var(--stack-space-2))}.stack-checkbox__control:focus-visible{outline:var(--stack-focus-ring-width) solid var(--stack-focus-ring-color);outline-offset:var(--stack-focus-ring-offset)}.stack-fieldgroup{min-width:0;margin:0;padding:0;border:0;display:flex;flex-direction:column;gap:var(--stack-space-2)}.stack-fieldgroup__legend{padding:0;margin-bottom:var(--stack-space-1);color:var(--stack-color-text-default);font-size:var(--stack-text-sm-size);font-weight:var(--stack-font-weight-semibold)}.stack-fieldgroup__controls{display:flex;flex-direction:column;gap:var(--stack-space-2)}.stack-timeline{margin:0 0 var(--stack-space-4)}.stack-timeline__list{list-style:none;margin:0;padding:0}.stack-timeline__item{position:relative;display:grid;grid-template-columns:12px minmax(0,1fr);gap:var(--stack-space-3);padding-bottom:var(--stack-space-4)}.stack-timeline__item:before{content:"";position:absolute;left:5px;top:14px;bottom:0;width:var(--stack-border-width-thin);background:var(--stack-color-border-default)}.stack-timeline__item:last-child:before{display:none}.stack-timeline__marker{width:12px;height:12px;margin-top:4px;box-sizing:border-box;border-radius:var(--stack-radius-pill);border:var(--stack-border-width-thick) solid var(--stack-color-border-strong);background:var(--stack-color-bg-surface)}.stack-timeline__content{min-width:0}.stack-timeline__summary{margin:0;overflow-wrap:anywhere;color:var(--stack-color-text-default)}.stack-timeline__meta{margin:var(--stack-space-1) 0 0;color:var(--stack-color-text-muted);font-size:var(--stack-text-sm-size)}.stack-timeline__detail{margin-top:var(--stack-space-2);font-size:var(--stack-text-sm-size)}.stack-timeline__more{margin:0;color:var(--stack-color-text-muted);font-size:var(--stack-text-sm-size)}.stack-timeline__link{color:var(--stack-color-text-link)}.stack-timeline__link:focus-visible{outline:var(--stack-focus-ring-width) solid var(--stack-focus-ring-color);outline-offset:var(--stack-focus-ring-offset)}.stack-brand-mark{display:block;width:24px;height:auto;flex:none}.stack-brand-mark__start{stop-color:var(--stack-brand-mark-start)}.stack-brand-mark__end{stop-color:var(--stack-brand-mark-end)}.stack-theme-switch__control,.stack-shell__theme{min-height:var(--stack-size-control-sm);padding:0 var(--stack-space-2);border:var(--stack-border-width-thin) solid var(--stack-color-border-strong);border-radius:var(--stack-radius-md);background:var(--stack-color-bg-surface);color:var(--stack-color-text-default);font:inherit;font-size:var(--stack-text-sm-size)}.stack-site-container{box-sizing:border-box;width:100%;max-width:var(--stack-size-content-max);margin:0 auto;padding:0 clamp(var(--stack-space-4),4vw,var(--stack-space-10))}.stack-section{padding:clamp(var(--stack-space-12),8vw,var(--stack-space-24)) 0}.stack-section+.stack-section{border-top:var(--stack-border-width-thin) solid var(--stack-color-border-subtle)}.stack-eyebrow{margin:0 0 var(--stack-space-3);color:var(--stack-product-accent);font-size:var(--stack-text-sm-size);font-weight:var(--stack-font-weight-semibold);letter-spacing:.06em;text-transform:uppercase}.stack-display{margin:0;color:var(--stack-color-text-default);font-size:var(--stack-text-display-size);line-height:var(--stack-text-display-line);font-weight:var(--stack-font-weight-bold);letter-spacing:var(--stack-letter-spacing-tight);text-wrap:balance}.stack-heading{margin:0 0 var(--stack-space-4);color:var(--stack-color-text-default);font-size:var(--stack-text-3xl-size);line-height:var(--stack-text-3xl-line);font-weight:var(--stack-font-weight-bold);letter-spacing:var(--stack-letter-spacing-tight);text-wrap:balance}.stack-lede{max-width:var(--stack-size-prose-max);margin:var(--stack-space-5) 0 0;color:var(--stack-color-text-muted);font-size:var(--stack-text-xl-size);line-height:var(--stack-text-xl-line)}.stack-hero{padding:clamp(var(--stack-space-12),10vw,var(--stack-space-24)) 0 clamp(var(--stack-space-10),8vw,var(--stack-space-20))}.stack-hero__actions{display:flex;flex-wrap:wrap;gap:var(--stack-space-3);margin-top:var(--stack-space-8)}.stack-feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:var(--stack-space-4);margin:0;padding:0;list-style:none}.stack-feature{padding:var(--stack-space-6);border:var(--stack-border-width-thin) solid var(--stack-color-border-default);border-radius:var(--stack-radius-lg);background:var(--stack-color-bg-surface)}.stack-feature__title{margin:0 0 var(--stack-space-2);color:var(--stack-color-text-default);font-size:var(--stack-text-lg-size);line-height:var(--stack-text-lg-line);font-weight:var(--stack-font-weight-semibold)}.stack-feature__body{margin:0;color:var(--stack-color-text-muted)}.stack-site-header{position:sticky;top:0;z-index:var(--stack-z-sticky);border-bottom:var(--stack-border-width-thin) solid var(--stack-color-border-default);background:color-mix(in srgb,var(--stack-color-bg-canvas) 92%,transparent);-webkit-backdrop-filter:saturate(140%) blur(10px);backdrop-filter:saturate(140%) blur(10px);font-family:var(--stack-font-family-sans);color:var(--stack-color-text-default)}.stack-site-header__skip{position:absolute;left:var(--stack-space-4);top:var(--stack-space-2);transform:translateY(-200%);padding:var(--stack-space-2) var(--stack-space-3);border-radius:var(--stack-radius-md);background:var(--stack-color-text-default);color:var(--stack-color-text-inverse)}.stack-site-header__skip:focus{transform:none}.stack-site-header__inner{box-sizing:border-box;display:flex;flex-wrap:wrap;align-items:center;gap:var(--stack-space-2) var(--stack-space-6);max-width:var(--stack-size-content-max);min-height:64px;margin:0 auto;padding:var(--stack-space-2) clamp(var(--stack-space-4),4vw,var(--stack-space-10))}.stack-site-header__identity{display:flex;align-items:center;gap:var(--stack-space-3);min-width:0;flex-wrap:wrap}.stack-site-header__home{display:inline-flex;align-items:center;gap:var(--stack-space-2);align-self:center;color:var(--stack-color-text-default);text-decoration:none;font-size:var(--stack-text-lg-size);font-weight:var(--stack-font-weight-bold);letter-spacing:-.01em}.stack-site-header__logo{display:inline-flex;width:24px}.stack-site-header__logo>img,.stack-site-header__logo>svg{width:100%;height:auto;display:block}.stack-site-header__product-mark{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:var(--stack-radius-md);background:var(--stack-product-accent);color:var(--stack-product-accent-fg);font-size:var(--stack-text-xs-size);letter-spacing:.02em}.stack-site-header__family{color:var(--stack-color-text-muted);font-size:var(--stack-text-xs-size);text-decoration:none;white-space:nowrap}.stack-site-header__family:hover{color:var(--stack-color-text-default);text-decoration:underline}.stack-site-header .stack-site-header__nav{margin-left:auto;min-width:0}.stack-site-header__nav-list{display:flex;gap:var(--stack-space-1);margin:0;padding:0;list-style:none}.stack-site-header .stack-site-header__nav-item{display:block;padding:var(--stack-space-2) var(--stack-space-3);border-radius:var(--stack-radius-md);color:var(--stack-color-text-muted);text-decoration:none;font-size:var(--stack-text-md-size);white-space:nowrap}.stack-site-header__nav-item:hover{color:var(--stack-color-text-default);background:var(--stack-color-bg-sunken)}.stack-site-header__nav-item[aria-current=page]{color:var(--stack-color-text-default);box-shadow:inset 0 -2px 0 var(--stack-product-accent);border-radius:0}.stack-site-header__end{display:flex;align-items:center;gap:var(--stack-space-3)}@media(max-width:860px){.stack-site-header__inner{padding-top:var(--stack-space-3);padding-bottom:0}.stack-site-header__end{margin-left:auto}.stack-site-header .stack-site-header__nav{order:3;flex:1 0 100%;margin:0 calc(-1*clamp(var(--stack-space-4),4vw,var(--stack-space-10)));overflow-x:auto}.stack-site-header__nav-list{padding:0 clamp(var(--stack-space-4),4vw,var(--stack-space-10)) var(--stack-space-1)}.stack-site-header .stack-site-header__nav-item{padding:var(--stack-space-2)}}.stack-site-header,.stack-site-footer{display:block;height:auto;padding:0;margin:0;text-align:left;text-transform:none;letter-spacing:normal}.stack-site-header nav,.stack-site-footer nav{display:block;gap:normal;padding:0;margin:0;border:0;background:none;position:static;width:auto;height:auto}.stack-site-header a,.stack-site-footer a{text-transform:none;letter-spacing:normal;border:0;font-weight:inherit}.stack-site-footer p,.stack-site-footer ul,.stack-site-footer li{text-align:left}.stack-site-footer__link,.stack-site-footer__company,.stack-site-footer__legal a{padding:0}.stack-site-footer{border-top:var(--stack-border-width-thin) solid var(--stack-color-border-default);background:var(--stack-color-bg-sunken);color:var(--stack-color-text-muted);font-family:var(--stack-font-family-sans);font-size:var(--stack-text-md-size);line-height:var(--stack-text-md-line)}.stack-site-footer__inner{box-sizing:border-box;max-width:var(--stack-size-content-max);margin:0 auto;padding:var(--stack-space-12) clamp(var(--stack-space-4),4vw,var(--stack-space-10)) var(--stack-space-8)}.stack-site-footer__top{display:grid;grid-template-columns:minmax(0,2fr) repeat(auto-fit,minmax(140px,1fr));gap:var(--stack-space-8)}.stack-site-footer__name{margin:0;color:var(--stack-color-text-default);font-size:var(--stack-text-lg-size);font-weight:var(--stack-font-weight-bold)}.stack-site-footer__tagline{margin:var(--stack-space-2) 0 0;max-width:36ch}.stack-site-footer__heading{margin:0 0 var(--stack-space-3);color:var(--stack-color-text-default);font-size:var(--stack-text-sm-size);font-weight:var(--stack-font-weight-semibold)}.stack-site-footer__list,.stack-site-footer__products{margin:0;padding:0;list-style:none;min-width:0}.stack-site-footer__column{min-width:0}.stack-site-footer__list li+li{margin-top:var(--stack-space-2)}.stack-site-footer a{color:inherit;text-underline-offset:3px}.stack-site-footer__link{text-decoration:none;overflow-wrap:anywhere}.stack-site-footer__link:hover{color:var(--stack-color-text-default);text-decoration:underline}.stack-site-footer .stack-site-footer__family{margin-top:var(--stack-space-10);padding-top:var(--stack-space-6);border-top:var(--stack-border-width-thin) solid var(--stack-color-border-default)}.stack-site-footer__company{display:inline-flex;align-items:center;gap:var(--stack-space-2);color:var(--stack-color-text-default)!important;font-weight:var(--stack-font-weight-semibold);text-decoration:none}.stack-site-footer__company:hover{text-decoration:underline}.stack-site-footer__mark{width:20px}.stack-site-footer__products{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,150px),1fr));gap:var(--stack-space-2) var(--stack-space-4);margin-top:var(--stack-space-4)}.stack-site-footer .stack-site-footer__product{display:flex;flex-direction:column;padding:var(--stack-space-2) 0 var(--stack-space-2) var(--stack-space-3);align-items:flex-start;gap:0;white-space:normal;border:0;border-left:var(--stack-border-width-thick) solid var(--stack-product-accent);text-decoration:none}.stack-site-footer__product-name{color:var(--stack-color-text-default);font-weight:var(--stack-font-weight-semibold)}.stack-site-footer__product-category{font-size:var(--stack-text-sm-size)}.stack-site-footer__product[aria-current=true] .stack-site-footer__product-name:after{content:" · this site";font-weight:var(--stack-font-weight-regular);color:var(--stack-color-text-muted)}.stack-site-footer__product:hover .stack-site-footer__product-name{text-decoration:underline}.stack-site-footer__legal{margin:var(--stack-space-8) 0 0;font-size:var(--stack-text-sm-size)}@media(max-width:640px){.stack-site-footer__top{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.stack-site-footer__about{grid-column:1 / -1}}.stack-site-header a:focus-visible,.stack-site-footer a:focus-visible,.stack-theme-switch__control:focus-visible{outline:var(--stack-focus-ring-width) solid var(--stack-focus-ring-color);outline-offset:var(--stack-focus-ring-offset)}[class^=stack-][hidden],[class*=" stack-"][hidden]{display:none!important}.stack-chart{margin:0;min-width:0;display:flex;flex-direction:column;gap:var(--stack-space-2);color:var(--stack-color-text-default);font-family:var(--stack-font-family-sans)}.stack-chart__header{display:flex;flex-direction:column;gap:2px}.stack-chart__title{margin:0;font-size:var(--stack-text-md-size);line-height:var(--stack-text-md-line);font-weight:var(--stack-font-weight-semibold)}.stack-chart__description{color:var(--stack-color-text-muted);font-size:var(--stack-text-sm-size);line-height:var(--stack-text-sm-line)}.stack-chart__plot{min-width:0;width:100%}.stack-chart__svg,.stack-sparkline__svg{display:block;overflow:visible}.stack-chart__svg{width:100%;height:auto;max-width:100%}.stack-chart__state{min-height:120px;display:flex;align-items:center}.stack-chart__state>*{flex:1}.stack-chart__s1{--stack-chart-c: var(--stack-color-chart-1)}.stack-chart__s2{--stack-chart-c: var(--stack-color-chart-2)}.stack-chart__s3{--stack-chart-c: var(--stack-color-chart-3)}.stack-chart__s4{--stack-chart-c: var(--stack-color-chart-4)}.stack-chart__s5{--stack-chart-c: var(--stack-color-chart-5)}.stack-chart__s6{--stack-chart-c: var(--stack-color-chart-6)}.stack-chart__s7{--stack-chart-c: var(--stack-color-chart-7)}.stack-chart__s8{--stack-chart-c: var(--stack-color-chart-8)}.stack-chart__tick,.stack-chart__axis-label{fill:var(--stack-color-text-muted);font-size:var(--stack-text-xs-size);font-family:var(--stack-font-family-sans)}.stack-chart__axis-label{fill:var(--stack-color-text-subtle)}.stack-chart__tick--start{text-anchor:start}.stack-chart__tick--middle{text-anchor:middle}.stack-chart__tick--end{text-anchor:end}.stack-chart__grid{stroke:var(--stack-color-border-subtle);stroke-width:1}.stack-chart__zero{stroke:var(--stack-color-border-strong)}.stack-chart__line{fill:none;stroke:var(--stack-chart-c);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.stack-chart--line .stack-chart__d1 .stack-chart__line{stroke-dasharray:7 4}.stack-chart--line .stack-chart__d2 .stack-chart__line{stroke-dasharray:2 3}.stack-chart--line .stack-chart__d3 .stack-chart__line{stroke-dasharray:10 3 2 3}.stack-chart__area{fill:var(--stack-chart-c);fill-opacity:.18;stroke:none}.stack-chart__point{fill:var(--stack-color-bg-surface);stroke:var(--stack-chart-c);stroke-width:2}.stack-chart__bar{fill:var(--stack-chart-c)}.stack-chart--bar .stack-chart__bar{stroke:var(--stack-color-bg-surface);stroke-width:.5}.stack-chart__arc{fill:var(--stack-chart-c);stroke:var(--stack-color-bg-surface);stroke-width:2}.stack-chart__center-value{fill:var(--stack-color-text-default);font-size:var(--stack-text-lg-size);font-weight:var(--stack-font-weight-semibold)}.stack-chart__center-label{fill:var(--stack-color-text-muted);font-size:var(--stack-text-xs-size)}.stack-chart__target,.stack-chart__slice{outline:none}.stack-chart__target-area{fill:transparent}.stack-chart__cursor{stroke:var(--stack-color-border-strong);stroke-width:1;visibility:hidden;pointer-events:none}.stack-chart__target:hover .stack-chart__target-area,.stack-chart__target:focus-visible .stack-chart__target-area{fill:var(--stack-color-border-strong);fill-opacity:.1}.stack-chart__target:focus-visible .stack-chart__target-area{stroke:var(--stack-focus-ring-color);stroke-width:var(--stack-focus-ring-width)}.stack-chart__slice:focus-visible .stack-chart__arc{stroke:var(--stack-focus-ring-color);stroke-width:3}.stack-chart__slice:hover .stack-chart__arc{fill-opacity:.85}.stack-chart__targets{pointer-events:all}.stack-chart__marks{pointer-events:none}.stack-chart--donut .stack-chart__marks{pointer-events:all}.stack-chart__tip{visibility:hidden;pointer-events:none}.stack-chart__target:hover .stack-chart__tip,.stack-chart__target:focus .stack-chart__tip,.stack-chart__target:hover .stack-chart__cursor,.stack-chart__target:focus .stack-chart__cursor,.stack-chart__slice:hover .stack-chart__tip,.stack-chart__slice:focus .stack-chart__tip{visibility:visible}.stack-chart__tip-box{fill:var(--stack-color-bg-raised);stroke:var(--stack-color-border-default);filter:drop-shadow(var(--stack-shadow-raised))}.stack-chart__tip-title{fill:var(--stack-color-text-default);font-size:var(--stack-text-xs-size);font-weight:var(--stack-font-weight-semibold)}.stack-chart__tip-row{fill:var(--stack-color-text-default);font-size:var(--stack-text-xs-size)}.stack-chart__tip-swatch{fill:var(--stack-chart-c)}.stack-chart__legend{display:flex;flex-wrap:wrap;gap:var(--stack-space-1) var(--stack-space-4);margin:0;padding:0;list-style:none;font-size:var(--stack-text-sm-size);line-height:var(--stack-text-sm-line)}.stack-chart__legend-item,.stack-chart__legend-toggle{display:inline-flex;align-items:center;gap:var(--stack-space-2);min-width:0}.stack-chart__legend-label{overflow-wrap:anywhere}.stack-chart__legend-note{color:var(--stack-color-text-muted);font-variant-numeric:tabular-nums;white-space:nowrap}.stack-chart__legend-toggle{font:inherit;color:inherit;background:none;border:var(--stack-border-width-thin) solid transparent;border-radius:var(--stack-radius-sm);padding:2px var(--stack-space-1);min-height:24px;cursor:pointer}.stack-chart__legend-toggle:hover{border-color:var(--stack-color-border-default)}.stack-chart__legend-toggle:focus-visible{outline:var(--stack-focus-ring-width) solid var(--stack-focus-ring-color);outline-offset:var(--stack-focus-ring-offset)}.stack-chart__legend-item--hidden .stack-chart__legend-label{text-decoration:line-through;color:var(--stack-color-text-muted)}.stack-chart__legend-item--hidden .stack-chart__swatch{opacity:.35}.stack-chart__swatch{flex:none;width:12px;height:12px;border-radius:2px;background:var(--stack-chart-c)}.stack-chart__swatch--line{height:0;width:18px;border-radius:0;background:none;border-top:3px solid var(--stack-chart-c)}.stack-chart__swatch--line.stack-chart__d1{border-top-style:dashed}.stack-chart__swatch--line.stack-chart__d2{border-top-style:dotted}.stack-chart__swatch--line.stack-chart__d3{border-top-style:double}.stack-chart__donut{display:flex;flex-wrap:wrap;align-items:center;gap:var(--stack-space-4)}.stack-chart__plot--donut{flex:0 1 240px;max-width:280px}.stack-chart__donut .stack-chart__legend{flex:1 1 200px;flex-direction:column;flex-wrap:nowrap}.stack-chart__data{font-size:var(--stack-text-sm-size)}.stack-chart__data-summary{cursor:pointer;color:var(--stack-color-text-link);width:fit-content;border-radius:var(--stack-radius-sm)}.stack-chart__data-summary:focus-visible{outline:var(--stack-focus-ring-width) solid var(--stack-focus-ring-color);outline-offset:var(--stack-focus-ring-offset)}.stack-chart__table-wrap{overflow-x:auto;margin-top:var(--stack-space-2)}.stack-chart__table{border-collapse:collapse;min-width:100%}.stack-chart__table th,.stack-chart__table td{padding:var(--stack-space-1) var(--stack-space-2);border-bottom:var(--stack-border-width-thin) solid var(--stack-color-border-subtle);text-align:left;font-weight:var(--stack-font-weight-regular);white-space:nowrap}.stack-chart__table thead th{color:var(--stack-color-text-muted);font-weight:var(--stack-font-weight-semibold)}.stack-chart__table .stack-chart__num{text-align:right;font-variant-numeric:tabular-nums}.stack-chart__table [data-missing]{color:var(--stack-color-text-muted)}.stack-sparkline{display:inline-flex;vertical-align:middle;color:var(--stack-color-chart-1)}.stack-sparkline__line{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round}.stack-sparkline__point,.stack-sparkline__endpoint{fill:currentColor}.stack-sparkline__empty{color:var(--stack-color-text-muted)}:root{--feltkit-gap: var(--stack-space-4);--feltkit-radius: var(--stack-radius-lg);--feltkit-border: var(--stack-border-width-thin) solid var(--stack-color-border-default);--feltkit-mono: var(--stack-font-family-mono);--feltkit-code-bg: var(--stack-color-bg-code)}*{box-sizing:border-box}body{margin:0;background:var(--stack-color-bg-canvas);color:var(--stack-color-text-default);font-family:var(--stack-font-family-sans);font-size:var(--stack-text-md-size);line-height:var(--stack-text-md-line)}a{color:var(--stack-color-text-link)}code{font-family:var(--feltkit-mono);font-size:var(--stack-text-sm-size);background:var(--feltkit-code-bg);padding:0 var(--stack-space-1);border-radius:var(--stack-radius-sm);overflow-wrap:anywhere}h2,h3,p{margin:0}:focus-visible{outline:var(--stack-focus-ring-width) solid var(--stack-focus-ring-color);outline-offset:var(--stack-focus-ring-offset)}.feltkit-muted{color:var(--stack-color-text-muted)}.feltkit-small{font-size:var(--stack-text-sm-size);line-height:var(--stack-text-sm-line)}.feltkit-mono{font-family:var(--feltkit-mono);font-size:var(--stack-text-sm-size);overflow-wrap:anywhere}.feltkit-path{overflow-wrap:anywhere;word-break:break-all}.feltkit-type{color:var(--stack-color-text-muted)}.feltkit-context{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:var(--stack-space-2);min-width:0}.feltkit-context__app{overflow-wrap:anywhere}.feltkit-family{display:inline-flex;align-items:center;gap:var(--stack-space-2);color:var(--stack-color-text-muted);font-size:var(--stack-text-sm-size);text-decoration:none}.feltkit-family:hover{color:var(--stack-color-text-default);text-decoration:underline}.feltkit-family svg{width:16px;height:auto}.feltkit-environment{margin:0 0 var(--stack-space-4)}.feltkit-environment__line{display:flex;flex-wrap:wrap;gap:var(--stack-space-1) var(--stack-space-3);color:var(--stack-color-text-muted);font-size:var(--stack-text-sm-size)}.feltkit-page{display:flex;flex-direction:column;gap:var(--feltkit-gap);min-width:0;max-width:1240px}.feltkit-panel{min-width:0;padding:var(--stack-space-4);border:var(--feltkit-border);border-radius:var(--feltkit-radius);background:var(--stack-color-bg-surface);display:flex;flex-direction:column;gap:var(--stack-space-3)}.feltkit-panel>*{min-width:0}.feltkit-panel__header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--stack-space-2) var(--stack-space-3)}.feltkit-panel__title{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:var(--stack-space-2);font-size:var(--stack-text-lg-size);line-height:var(--stack-text-lg-line);font-weight:var(--stack-font-weight-semibold);overflow-wrap:anywhere}.feltkit-panel__actions{display:flex;flex-wrap:wrap;align-items:flex-end;gap:var(--stack-space-2)}.feltkit-panel--current{border-color:var(--stack-product-accent)}.feltkit-grid{display:grid;gap:var(--feltkit-gap);grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}.feltkit-grid--wide{grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));align-items:start}.feltkit-grid--stats{grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr))}.feltkit-row{display:flex;flex-wrap:wrap;align-items:center;gap:var(--stack-space-2);min-width:0}.feltkit-row--end{align-items:flex-end}.feltkit-stack{display:flex;flex-direction:column;gap:var(--stack-space-3);min-width:0}.feltkit-stat{display:flex;flex-direction:column;gap:var(--stack-space-1);min-width:0;padding:var(--stack-space-3) var(--stack-space-4);border:var(--feltkit-border);border-radius:var(--feltkit-radius);background:var(--stack-color-bg-surface);color:inherit;text-decoration:none}.feltkit-stat:hover{border-color:var(--stack-color-border-strong)}.feltkit-stat__label{color:var(--stack-color-text-muted);font-size:var(--stack-text-sm-size)}.feltkit-stat__value{font-size:var(--stack-text-2xl-size);line-height:var(--stack-text-2xl-line);font-weight:var(--stack-font-weight-semibold);font-variant-numeric:tabular-nums}.feltkit-stat__detail{color:var(--stack-color-text-muted);font-size:var(--stack-text-xs-size)}.feltkit-list{list-style:none;margin:0;padding:0}.feltkit-list>li{min-width:0;overflow-wrap:anywhere}.feltkit-list>li+li{border-top:var(--stack-border-width-thin) solid var(--stack-color-border-subtle)}.feltkit-list__row{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:var(--stack-space-1) var(--stack-space-3);padding:var(--stack-space-2) 0;min-width:0;color:inherit;text-decoration:none}a.feltkit-list__row:hover .feltkit-list__name{text-decoration:underline}.feltkit-list__name{font-family:var(--feltkit-mono);font-size:var(--stack-text-sm-size);overflow-wrap:anywhere;min-width:0}.feltkit-split{display:grid;grid-template-columns:minmax(200px,260px) minmax(0,1fr);gap:var(--feltkit-gap);align-items:start}.feltkit-index{display:flex;flex-direction:column;gap:var(--stack-space-1);padding:var(--stack-space-2);border:var(--feltkit-border);border-radius:var(--feltkit-radius);background:var(--stack-color-bg-surface);min-width:0}.feltkit-index__heading{margin:var(--stack-space-2) var(--stack-space-2) 0;color:var(--stack-color-text-muted);font-size:var(--stack-text-xs-size);font-weight:var(--stack-font-weight-semibold);letter-spacing:.06em;text-transform:uppercase}.feltkit-index ul{list-style:none;margin:0;padding:0}.feltkit-index a{display:flex;justify-content:space-between;gap:var(--stack-space-2);padding:var(--stack-space-1) var(--stack-space-2);border-radius:var(--stack-radius-md);color:var(--stack-color-text-default);text-decoration:none;min-width:0}.feltkit-index a:hover{background:var(--stack-color-bg-sunken)}.feltkit-index a[aria-current=page]{background:var(--stack-color-bg-sunken);font-weight:var(--stack-font-weight-semibold);box-shadow:inset 3px 0 0 var(--stack-product-accent)}.feltkit-index__name{font-family:var(--feltkit-mono);font-size:var(--stack-text-sm-size);overflow-wrap:anywhere;min-width:0}.feltkit-index__meta{color:var(--stack-color-text-muted);font-size:var(--stack-text-xs-size);white-space:nowrap}.feltkit-detail{display:flex;flex-direction:column;gap:var(--feltkit-gap);min-width:0}.feltkit-code{margin:0;padding:var(--stack-space-2) var(--stack-space-3);max-height:420px;overflow:auto;border-radius:var(--stack-radius-md);background:var(--feltkit-code-bg);color:var(--stack-color-text-default);font-family:var(--feltkit-mono);font-size:var(--stack-text-sm-size);line-height:var(--stack-text-sm-line);white-space:pre-wrap;overflow-wrap:anywhere}.feltkit-command{display:flex;align-items:flex-start;gap:var(--stack-space-2);min-width:0}.feltkit-command>.feltkit-code{flex:1 1 auto;min-width:0}.feltkit-schema{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--stack-space-1)}.feltkit-schema li{display:flex;flex-wrap:wrap;align-items:baseline;gap:var(--stack-space-2)}.feltkit-secret{display:block;padding:var(--stack-space-2);word-break:break-all}.feltkit-label{margin:0 0 var(--stack-space-1);color:var(--stack-color-text-muted);font-size:var(--stack-text-xs-size);font-weight:var(--stack-font-weight-semibold);letter-spacing:.04em;text-transform:uppercase}details.feltkit-details>summary{cursor:pointer;color:var(--stack-color-text-muted);font-size:var(--stack-text-sm-size)}details.feltkit-details[open]>summary{margin-bottom:var(--stack-space-2)}.feltkit-identity{min-width:200px}.feltkit-inline{display:flex;flex-wrap:wrap;align-items:flex-end;gap:var(--stack-space-2);min-width:0}.feltkit-inline>div{flex:1 1 200px}.feltkit-choices{display:flex;flex-wrap:wrap;gap:var(--stack-space-2) var(--stack-space-4)}.feltkit-actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--stack-space-2)}.feltkit-dialog-wide{width:min(760px,calc(100vw - 2 * var(--stack-space-4)))}.feltkit-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--stack-space-2)}.feltkit-steps li{display:grid;grid-template-columns:minmax(7rem,max-content) minmax(0,1fr);gap:var(--stack-space-1) var(--stack-space-3);align-items:baseline}.feltkit-steps__detail{color:var(--stack-color-text-muted);font-size:var(--stack-text-sm-size);overflow-wrap:anywhere}.feltkit-gate{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--stack-space-4);padding:var(--stack-space-6) var(--stack-space-4)}.feltkit-gate__bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--stack-space-3);width:min(520px,100%)}.feltkit-gate__card{width:min(520px,100%);display:flex;flex-direction:column;gap:var(--stack-space-3);padding:var(--stack-space-6);border:var(--feltkit-border);border-radius:var(--feltkit-radius);background:var(--stack-color-bg-surface)}.feltkit-gate__title{margin:0;font-size:var(--stack-text-xl-size);line-height:var(--stack-text-xl-line);font-weight:var(--stack-font-weight-semibold)}@media(max-width:767px){.feltkit-split,.feltkit-steps li{grid-template-columns:minmax(0,1fr)}.feltkit-panel{padding:var(--stack-space-3)}.feltkit-gate__card{padding:var(--stack-space-4)}.feltkit-identity{min-width:0}}td code{overflow-wrap:normal;white-space:nowrap}.feltkit-check{padding:var(--stack-space-2) 0}
@@ -9,8 +9,8 @@
9
9
  <link rel="apple-touch-icon" href="/_feltkit/apple-touch-icon.png" />
10
10
  <title>FeltKit</title>
11
11
  <script>(function(){try{var v=window.localStorage.getItem("stack-ui.theme");if(v==="light"||v==="dark")document.documentElement.setAttribute("data-stack-theme",v);}catch(e){}})();</script>
12
- <script type="module" crossorigin src="/_feltkit/assets/index-UuZ63NA6.js"></script>
13
- <link rel="stylesheet" crossorigin href="/_feltkit/assets/index-BehzsQOa.css">
12
+ <script type="module" crossorigin src="/_feltkit/assets/index-9rMS3yBm.js"></script>
13
+ <link rel="stylesheet" crossorigin href="/_feltkit/assets/index-DkiYTUMR.css">
14
14
  </head>
15
15
  <body>
16
16
  <div id="root"></div>
package/dist/docs.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export declare const PACKAGE_NAME = "@feltdb/feltkit";
2
2
  /** The documents shipped in the package, with what each one answers. Order = reading order. */
3
- export declare const SHIPPED_DOCS: readonly [readonly ["ARCHITECTURE.md", "How FeltKit is put together: one FeltDB instance, AppPort, AppPort Services"], readonly ["GUARANTEES.md", "What FeltKit guarantees, and its known limitations"], readonly ["TRANSACTIONS.md", "Mutations, ctx.db.sequence and ctx.afterCommit: the transaction contract"], readonly ["SECURITY.md", "Authorization, sessions, credentials, and production Studio"], readonly ["AUTH.md", "Accounts, sessions, workspaces (tenancy), invitations, and the React sign-in and workspace screens"], readonly ["EXTENSION-HOSTS.md", "Running the app in a browser extension: ownership, token storage, session end, lifecycle, gaps"], readonly ["AGENT-OPERATIONS.md", "Agents: MCP, tasks, proposals, approvals, and evidence"], readonly ["GENERATION.md", "Model generation in an application: actions, streaming, tools as proposals, in-app approvals, caller context"], readonly ["RESOLVER.md", "Model references: change the model a deployed app uses through Resolver, without a redeploy"], readonly ["PATH-TO-PRODUCTION.md", "From a local app to production: deploy targets and what you must provide"], readonly ["BACKUP.md", "Backing up and restoring an environment's state"], readonly ["COMPONENTS.md", "Runtime components: a gateway or worker that runs with the application, as a declared principal"], readonly ["APPBOUNDRY.md", "The AppBoundry artifact, deploying through AppBoundry, and the self-hosted runtime"], readonly ["APPBOUNDRY-DEPLOY-CONTRACT.md", "The deployment contract FeltKit expects from AppBoundry (proposed)"], readonly ["WHY-FELTKIT.md", "Design choices, compared with Convex"], readonly ["UPSTREAM-GAPS.md", "Known gaps in FeltDB, AppPort and AppPort Services, and their status"], readonly ["MEASURE.md", "feltkit measure: what an application is made of, its provenance, platform use and app-built infrastructure"]];
3
+ export declare const SHIPPED_DOCS: readonly [readonly ["ARCHITECTURE.md", "How FeltKit is put together: one FeltDB instance, AppPort, AppPort Services"], readonly ["GUARANTEES.md", "What FeltKit guarantees, and its known limitations"], readonly ["TRANSACTIONS.md", "Mutations, ctx.db.sequence and ctx.afterCommit: the transaction contract"], readonly ["SECURITY.md", "Authorization, sessions, credentials, and production Studio"], readonly ["AUTH.md", "Accounts, sessions, workspaces (tenancy), invitations, and the React sign-in and workspace screens"], readonly ["EXTENSION-HOSTS.md", "Running the app in a browser extension: ownership, token storage, session end, lifecycle, gaps"], readonly ["INVOCATIONS.md", "Surfaces and invocations: registering entry points, the feltkit.invocation/1 contract, the durable lifecycle, dispatch and recovery"], readonly ["EXECUTION.md", "Placement-neutral execution: the control plane and execution environments, the execution contract, adapters, placement, authority and evidence"], readonly ["CONNECTIONS.md", "People's own connections to integrations (credential.owner: person): connecting, isolation, AuthBoundry at every call (reference implementation)"], readonly ["AGENT-OPERATIONS.md", "Agents: MCP, tasks, proposals, approvals, and evidence"], readonly ["GENERATION.md", "Model generation in an application: actions, streaming, tools as proposals, in-app approvals, caller context"], readonly ["RESOLVER.md", "Model references: change the model a deployed app uses through Resolver, without a redeploy"], readonly ["PATH-TO-PRODUCTION.md", "From a local app to production: deploy targets and what you must provide"], readonly ["BACKUP.md", "Backing up and restoring an environment's state"], readonly ["COMPONENTS.md", "Runtime components: a gateway or worker that runs with the application, as a declared principal"], readonly ["APPBOUNDRY.md", "The AppBoundry artifact, deploying through AppBoundry, and the self-hosted runtime"], readonly ["APPBOUNDRY-DEPLOY-CONTRACT.md", "The deployment contract FeltKit expects from AppBoundry (proposed)"], readonly ["WHY-FELTKIT.md", "Design choices, compared with Convex"], readonly ["UPSTREAM-GAPS.md", "Known gaps in FeltDB, AppPort and AppPort Services, and their status"], readonly ["MEASURE.md", "feltkit measure: what an application is made of, its provenance, platform use and app-built infrastructure"]];
4
4
  export type DocName = (typeof SHIPPED_DOCS)[number][0];
5
5
  /** The shipped file on disk (inside node_modules/@feltdb/feltkit in a project). */
6
6
  export declare function docFile(name: DocName): string;
package/dist/docs.js CHANGED
@@ -20,6 +20,9 @@ export const SHIPPED_DOCS = [
20
20
  ["SECURITY.md", "Authorization, sessions, credentials, and production Studio"],
21
21
  ["AUTH.md", "Accounts, sessions, workspaces (tenancy), invitations, and the React sign-in and workspace screens"],
22
22
  ["EXTENSION-HOSTS.md", "Running the app in a browser extension: ownership, token storage, session end, lifecycle, gaps"],
23
+ ["INVOCATIONS.md", "Surfaces and invocations: registering entry points, the feltkit.invocation/1 contract, the durable lifecycle, dispatch and recovery"],
24
+ ["EXECUTION.md", "Placement-neutral execution: the control plane and execution environments, the execution contract, adapters, placement, authority and evidence"],
25
+ ["CONNECTIONS.md", "People's own connections to integrations (credential.owner: person): connecting, isolation, AuthBoundry at every call (reference implementation)"],
23
26
  ["AGENT-OPERATIONS.md", "Agents: MCP, tasks, proposals, approvals, and evidence"],
24
27
  ["GENERATION.md", "Model generation in an application: actions, streaming, tools as proposals, in-app approvals, caller context"],
25
28
  ["RESOLVER.md", "Model references: change the model a deployed app uses through Resolver, without a redeploy"],
package/dist/docs.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"docs.js","sourceRoot":"","sources":["../src/docs.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,MAAM,CAAC,MAAM,YAAY,GAAG,iBAAiB,CAAC;AAC9C,MAAM,OAAO,GAAW,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,IAAI,GAAG,CAAC,iBAAiB,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC;AAE9G,+FAA+F;AAC/F,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,CAAC,iBAAiB,EAAE,6EAA6E,CAAC;IAClG,CAAC,eAAe,EAAE,oDAAoD,CAAC;IACvE,CAAC,iBAAiB,EAAE,0EAA0E,CAAC;IAC/F,CAAC,aAAa,EAAE,6DAA6D,CAAC;IAC9E,CAAC,SAAS,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AAE,MAAM,IAAI,YAAY,CAAC,kBAAkB,EAAE,uBAAuB,MAAM,CAAC,KAAK,EAAE,IAAI,IAAI,KAAK,CAAC,6CAA6C,CAAC,CAAC;IAClL,MAAM,MAAM,GAAG,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA0E,CAAC;IAC3H,IAAI,CAAC,MAAM,CAAC,EAAE;QAAE,MAAM,IAAI,YAAY,CAAC,kBAAkB,EAAE,sBAAsB,KAAK,CAAC,IAAI,6CAA6C,CAAC,MAAM,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAClM,IAAI,OAAO,CAAC,KAAK,KAAK,SAAS,IAAI,CAAC,OAAO,OAAO,CAAC,KAAK,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC;QACrG,MAAM,IAAI,YAAY,CAAC,kBAAkB,EAAE,sBAAsB,KAAK,CAAC,IAAI,gEAAgE,CAAC,CAAC;IAC/I,CAAC;IACD,OAAO,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,OAAO,EAAE,MAAM,CAAC,KAAK,IAAI,OAAO,EAAE,GAAG,CAAC,OAAO,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC;AAClI,CAAC"}
@@ -0,0 +1,186 @@
1
+ /**
2
+ * Placement-neutral execution: what an invocation's work IS (the execution contract), where it may run
3
+ * (placement), and the boundary between FeltKit's control plane and the environment that runs it (the
4
+ * adapter, runtime/execution-host.ts).
5
+ *
6
+ * FeltKit's control plane owns the invocation's identity, lifecycle, authority and evidence
7
+ * (runtime/invocations.ts). An execution environment only runs work: it gains no authority by being
8
+ * registered, trusted or Boundry-operated, and the authoritative lifecycle survives it disappearing.
9
+ *
10
+ * invocation the durable request being fulfilled (inv_…), unchanged across retries and placement
11
+ * execution one placed execution of it (exe_…): the request below, the placement decision, the
12
+ * adapter that dispatched it
13
+ * attempt one try at an execution (att_…): which environment and worker claimed it, what it
14
+ * reported, how it ended
15
+ *
16
+ * Pure and artifact-safe (no Node APIs): app code and an AppBoundry artifact may import the types.
17
+ */
18
+ export declare const EXECUTION_CONTRACT = "feltkit.execution/1";
19
+ export declare const PLACEMENT_CONTRACT = "feltkit.placement/1";
20
+ /** What kind of computer an environment is. Abstract on purpose: no provider, host, region or runtime. */
21
+ export type EnvironmentKind = "managed" | "customer" | "device" | "external";
22
+ /**
23
+ * An execution environment as the control plane sees it: an identity, what it provides, the limits
24
+ * it can honor. Nothing here is authority.
25
+ */
26
+ export interface EnvironmentDescriptor {
27
+ /** Stable id, e.g. "managed". Lowercase letters, digits, dashes. */
28
+ readonly id: string;
29
+ readonly kind: EnvironmentKind;
30
+ /** The adapter's contract version. */
31
+ readonly version: string;
32
+ /** Features work may require (e.g. "feltkit.function"). Requirements are matched against these, exactly. */
33
+ readonly provides: readonly string[];
34
+ /** Limits it can honor. An absent limit is one it can't promise, so a requirement on it can't be placed there. */
35
+ readonly limits: {
36
+ readonly deadlineMs: number;
37
+ readonly memoryMb?: number;
38
+ readonly concurrency?: number;
39
+ };
40
+ /** How cancellation reaches running work: "cooperative" (the work sees it at its next report) or "preemptive". */
41
+ readonly cancellation: "cooperative" | "preemptive";
42
+ /** Whether it accepts work now (a disconnected environment is registered but unavailable). */
43
+ readonly available: boolean;
44
+ }
45
+ /** What the work needs to run. */
46
+ export interface ExecutionRequirements {
47
+ /** Features the environment must provide (all of them). */
48
+ needs: string[];
49
+ /** The longest the work may take. */
50
+ deadlineMs: number;
51
+ memoryMb?: number;
52
+ concurrency?: number;
53
+ }
54
+ /** Where the work may and may not run: constraints and a preference, never permission. */
55
+ export interface PlacementConstraints {
56
+ /** Environment ids or kinds it may run in (absent: any the policy allows). */
57
+ allow?: string[];
58
+ /** Environment ids or kinds it must not run in. */
59
+ deny?: string[];
60
+ /** An environment id preferred among the eligible ones. Not a way around policy. */
61
+ prefer?: string;
62
+ }
63
+ /** The operator's policy: which environments work may go to, in order of preference. Versioned, so a decision names the policy it applied. */
64
+ export interface PlacementPolicy {
65
+ id: string;
66
+ version: string;
67
+ /** Environments the policy allows, in order of preference. Anything not listed is not allowed. */
68
+ order: string[];
69
+ }
70
+ export declare const DEFAULT_POLICY: PlacementPolicy;
71
+ /**
72
+ * What authority the work was dispatched under, computed by the control plane before placement and
73
+ * never by it. Three things kept apart, so none is mistaken for another:
74
+ *
75
+ * requestedBy who asked (the surface's caller: the person's own session, or a bridge vouching for them)
76
+ * runAs the principal the work executes as (today: the requester; the job runs as its enqueuer)
77
+ * checked what FeltKit verified at accept: runAs holds these permissions under the APPLICATION'S
78
+ * ROLES. This is the requester's permission to start the work, NOT an agent's delegated
79
+ * authority over the person's resources.
80
+ *
81
+ * Delegated authority (an agent acting on the person's behalf, per operation and resource) is not
82
+ * decided at dispatch and is not recorded here: AuthBoundry decides it when the work asks
83
+ * (ctx.authority.decide, a person's connection), and each decision is evidence of its own.
84
+ */
85
+ export interface ExecutionAuthority {
86
+ requestedBy: {
87
+ id: string;
88
+ type: string;
89
+ };
90
+ runAs: {
91
+ id: string;
92
+ type: string;
93
+ };
94
+ /** The person the work is for. */
95
+ onBehalfOf: string;
96
+ checked: Array<{
97
+ permission: string;
98
+ source: "roles";
99
+ }>;
100
+ delegation: "decided-at-execution";
101
+ }
102
+ /** One execution of an invocation: the versioned, placement-neutral request an environment receives. */
103
+ export interface ExecutionRequest {
104
+ contract: typeof EXECUTION_CONTRACT;
105
+ invocation: string;
106
+ execution: string;
107
+ /** The operation and its version (a job type the application declares, version "1" until operations are versioned). */
108
+ work: {
109
+ operation: string;
110
+ version: string;
111
+ };
112
+ /** References only: the invocation (its envelope is in the control plane) and the application's small payload. Never a host path. */
113
+ input: {
114
+ invocation: string;
115
+ payload: Record<string, unknown>;
116
+ };
117
+ authority: ExecutionAuthority;
118
+ requirements: ExecutionRequirements;
119
+ placement: PlacementConstraints;
120
+ }
121
+ export interface EnvironmentEvaluation {
122
+ environment: string;
123
+ kind: EnvironmentKind;
124
+ eligible: boolean;
125
+ /** Why it is not eligible (empty when it is). */
126
+ reasons: string[];
127
+ }
128
+ /** An environment as it was when a decision was made (its descriptor may change later; the decision must not). */
129
+ export type EnvironmentSnapshot = Pick<EnvironmentDescriptor, "id" | "kind" | "version" | "provides" | "limits" | "available">;
130
+ export interface PlacementDecision {
131
+ contract: typeof PLACEMENT_CONTRACT;
132
+ /** The policy as applied (its order, not only its name): a later change to the live policy can't rewrite why this was decided. */
133
+ policy: {
134
+ id: string;
135
+ version: string;
136
+ order: string[];
137
+ };
138
+ /** Every environment evaluated, as it was described when the decision was made. */
139
+ environments: EnvironmentSnapshot[];
140
+ requirements: ExecutionRequirements;
141
+ constraints: PlacementConstraints;
142
+ evaluated: EnvironmentEvaluation[];
143
+ /** Environments that were eligible (allowed AND able), in policy order; `selected` is one of them. */
144
+ eligible: string[];
145
+ selected: string;
146
+ why: string;
147
+ at: number;
148
+ }
149
+ export type PlacementResult = {
150
+ ok: true;
151
+ decision: PlacementDecision;
152
+ } | {
153
+ ok: false;
154
+ code: "UNPLACEABLE";
155
+ message: string;
156
+ decision: Omit<PlacementDecision, "selected" | "why"> & {
157
+ selected: null;
158
+ why: string;
159
+ };
160
+ };
161
+ /** A replaceable resolver: same inputs, same answer. */
162
+ export type PlacementResolver = (input: {
163
+ requirements: ExecutionRequirements;
164
+ constraints: PlacementConstraints;
165
+ environments: readonly EnvironmentDescriptor[];
166
+ policy: PlacementPolicy;
167
+ at: number;
168
+ }) => PlacementResult;
169
+ /**
170
+ * The default resolver: deterministic, explainable, no optimization. Every registered environment is
171
+ * evaluated against the policy, the request's constraints, the work's requirements and its
172
+ * availability; the eligible ones are ordered by the policy; a preference picks among them, or the
173
+ * first in policy order is selected. Nothing eligible: UNPLACEABLE, with every reason.
174
+ * It reads no authority and returns none.
175
+ */
176
+ export declare const resolvePlacement: PlacementResolver;
177
+ /** Check work's requirements and constraints as given by application code (refuse what can't be meant). */
178
+ export declare function normalizeExecutionOptions(input: {
179
+ requirements?: Partial<ExecutionRequirements>;
180
+ placement?: PlacementConstraints;
181
+ } | undefined, defaults: {
182
+ deadlineMs: number;
183
+ }): {
184
+ requirements: ExecutionRequirements;
185
+ placement: PlacementConstraints;
186
+ };
@@ -0,0 +1,105 @@
1
+ /**
2
+ * Placement-neutral execution: what an invocation's work IS (the execution contract), where it may run
3
+ * (placement), and the boundary between FeltKit's control plane and the environment that runs it (the
4
+ * adapter, runtime/execution-host.ts).
5
+ *
6
+ * FeltKit's control plane owns the invocation's identity, lifecycle, authority and evidence
7
+ * (runtime/invocations.ts). An execution environment only runs work: it gains no authority by being
8
+ * registered, trusted or Boundry-operated, and the authoritative lifecycle survives it disappearing.
9
+ *
10
+ * invocation the durable request being fulfilled (inv_…), unchanged across retries and placement
11
+ * execution one placed execution of it (exe_…): the request below, the placement decision, the
12
+ * adapter that dispatched it
13
+ * attempt one try at an execution (att_…): which environment and worker claimed it, what it
14
+ * reported, how it ended
15
+ *
16
+ * Pure and artifact-safe (no Node APIs): app code and an AppBoundry artifact may import the types.
17
+ */
18
+ export const EXECUTION_CONTRACT = "feltkit.execution/1";
19
+ export const PLACEMENT_CONTRACT = "feltkit.placement/1";
20
+ export const DEFAULT_POLICY = Object.freeze({ id: "feltkit.default", version: "1", order: ["managed"] });
21
+ const matches = (env, names) => !!names && (names.includes(env.id) || names.includes(env.kind));
22
+ /**
23
+ * The default resolver: deterministic, explainable, no optimization. Every registered environment is
24
+ * evaluated against the policy, the request's constraints, the work's requirements and its
25
+ * availability; the eligible ones are ordered by the policy; a preference picks among them, or the
26
+ * first in policy order is selected. Nothing eligible: UNPLACEABLE, with every reason.
27
+ * It reads no authority and returns none.
28
+ */
29
+ export const resolvePlacement = ({ requirements, constraints, environments, policy, at }) => {
30
+ const rank = (id) => {
31
+ const i = policy.order.indexOf(id);
32
+ return i < 0 ? Number.MAX_SAFE_INTEGER : i;
33
+ };
34
+ const sorted = [...environments].sort((a, b) => rank(a.id) - rank(b.id) || (a.id < b.id ? -1 : a.id > b.id ? 1 : 0));
35
+ const evaluated = sorted.map((env) => {
36
+ const reasons = [];
37
+ if (!policy.order.includes(env.id))
38
+ reasons.push(`not allowed by policy ${policy.id}@${policy.version}`);
39
+ if (constraints.allow && !matches(env, constraints.allow))
40
+ reasons.push("not among the environments the work allows");
41
+ if (matches(env, constraints.deny))
42
+ reasons.push("excluded by the work's constraints");
43
+ const missing = requirements.needs.filter((n) => !env.provides.includes(n));
44
+ if (missing.length)
45
+ reasons.push(`does not provide ${missing.join(", ")}`);
46
+ if (requirements.deadlineMs > env.limits.deadlineMs)
47
+ reasons.push(`deadline ${requirements.deadlineMs} ms exceeds its ${env.limits.deadlineMs} ms`);
48
+ for (const [what, need, has] of [["memory", requirements.memoryMb, env.limits.memoryMb], ["concurrency", requirements.concurrency, env.limits.concurrency]]) {
49
+ if (need === undefined)
50
+ continue;
51
+ if (has === undefined)
52
+ reasons.push(`can't promise a ${what} limit`);
53
+ else if (need > has)
54
+ reasons.push(`${what} ${need} exceeds its ${has}`);
55
+ }
56
+ if (!env.available)
57
+ reasons.push("unavailable");
58
+ return { environment: env.id, kind: env.kind, eligible: reasons.length === 0, reasons };
59
+ });
60
+ const eligible = evaluated.filter((e) => e.eligible).map((e) => e.environment);
61
+ const environmentsSeen = sorted.map((e) => ({ id: e.id, kind: e.kind, version: e.version, provides: [...e.provides], limits: { ...e.limits }, available: e.available }));
62
+ const base = { contract: PLACEMENT_CONTRACT, policy: { id: policy.id, version: policy.version, order: [...policy.order] }, environments: environmentsSeen, requirements, constraints, evaluated, eligible, at };
63
+ if (!eligible.length) {
64
+ const why = `No environment can run it: ${evaluated.map((e) => `${e.environment} (${e.reasons.join("; ")})`).join(", ") || "none is registered"}.`;
65
+ return { ok: false, code: "UNPLACEABLE", message: why, decision: { ...base, selected: null, why } };
66
+ }
67
+ if (constraints.prefer && eligible.includes(constraints.prefer)) {
68
+ return { ok: true, decision: { ...base, selected: constraints.prefer, why: `preferred by the work, and eligible` } };
69
+ }
70
+ const passed = constraints.prefer ? `; the preferred ${constraints.prefer} is not eligible (${evaluated.find((e) => e.environment === constraints.prefer)?.reasons.join("; ") ?? "not registered"})` : "";
71
+ return { ok: true, decision: { ...base, selected: eligible[0], why: `first eligible in policy ${policy.id}@${policy.version} order${passed}` } };
72
+ };
73
+ /** Check work's requirements and constraints as given by application code (refuse what can't be meant). */
74
+ export function normalizeExecutionOptions(input, defaults) {
75
+ const r = input?.requirements ?? {};
76
+ const names = (v, what) => {
77
+ if (v === undefined)
78
+ return undefined;
79
+ if (!Array.isArray(v) || v.length > 20 || v.some((x) => typeof x !== "string" || !/^[a-z][a-z0-9._:-]{0,99}$/.test(x)))
80
+ throw new TypeError(`${what} is a list of names.`);
81
+ return [...new Set(v)].sort();
82
+ };
83
+ const positive = (v, what) => {
84
+ if (v === undefined)
85
+ return undefined;
86
+ if (typeof v !== "number" || !Number.isFinite(v) || v <= 0)
87
+ throw new TypeError(`${what} is a positive number.`);
88
+ return v;
89
+ };
90
+ const p = input?.placement ?? {};
91
+ for (const k of Object.keys(p))
92
+ if (!["allow", "deny", "prefer"].includes(k))
93
+ throw new TypeError(`placement.${k} is not a placement constraint (allow, deny, prefer).`);
94
+ if (p.prefer !== undefined && (typeof p.prefer !== "string" || !/^[a-z][a-z0-9-]{0,39}$/.test(p.prefer)))
95
+ throw new TypeError("placement.prefer is an environment id.");
96
+ const allow = names(p.allow, "placement.allow");
97
+ const deny = names(p.deny, "placement.deny");
98
+ const memoryMb = positive(r.memoryMb, "requirements.memoryMb");
99
+ const concurrency = positive(r.concurrency, "requirements.concurrency");
100
+ return {
101
+ requirements: { needs: names(r.needs, "requirements.needs") ?? [], deadlineMs: positive(r.deadlineMs, "requirements.deadlineMs") ?? defaults.deadlineMs, ...(memoryMb !== undefined ? { memoryMb } : {}), ...(concurrency !== undefined ? { concurrency } : {}) },
102
+ placement: { ...(allow ? { allow } : {}), ...(deny ? { deny } : {}), ...(p.prefer ? { prefer: p.prefer } : {}) },
103
+ };
104
+ }
105
+ //# sourceMappingURL=execution.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execution.js","sourceRoot":"","sources":["../src/execution.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,MAAM,CAAC,MAAM,kBAAkB,GAAG,qBAAqB,CAAC;AACxD,MAAM,CAAC,MAAM,kBAAkB,GAAG,qBAAqB,CAAC;AAqDxD,MAAM,CAAC,MAAM,cAAc,GAAoB,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,EAAE,iBAAiB,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,SAAS,CAAC,EAAE,CAAoB,CAAC;AAyE7I,MAAM,OAAO,GAAG,CAAC,GAA0B,EAAE,KAAoC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC;AAEtJ;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAsB,CAAC,EAAE,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE;IAC7G,MAAM,IAAI,GAAG,CAAC,EAAU,EAAE,EAAE;QAC1B,MAAM,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QACnC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;IAC7C,CAAC,CAAC;IACF,MAAM,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AAC,CAAC,KAAK,EAAE,oBAAoB,CAAC,IAAI,EAAE,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC,UAAU,EAAE,yBAAyB,CAAC,IAAI,QAAQ,CAAC,UAAU,EAAE,GAAG,CAAC,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,GAAG,CAAC,WAAW,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE;QACjQ,SAAS,EAAE,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE;KACjH,CAAC;AACJ,CAAC"}
package/dist/index.d.ts CHANGED
@@ -29,3 +29,8 @@ export { defineComponent } from "./component.js";
29
29
  /** SHA-256 of a UTF-8 string, as lowercase hex, without node:crypto or Web Crypto: the same result in FeltKit's runtime and inside an AppBoundry artifact (whose guest has neither). Checked against node:crypto (test/sha256.test.ts). */
30
30
  export { sha256Hex } from "./runtime/sha256.js";
31
31
  export type { ComponentDeclaration, ComponentContext, ComponentInstance, ComponentHealth, ComponentState, ComponentModel, ComponentDefinition, ComponentWorkItem, ComponentWorkOutcome } from "./component.js";
32
+ export { INVOCATION_CONTRACT, INVOCATION_TRANSITIONS, TERMINAL as INVOCATION_TERMINAL_STATES, InvocationRefusal, canTransition, normalizeInvocation } from "./surfaces.js";
33
+ export type { ContextItem, ContextKind, InvocationEnvelope, InvocationState, NormalizedInvocation, ReturnTo, StoredContextItem, SurfaceConfig, SurfaceDefinition, SurfaceDelivery, SurfaceMode, SurfaceReturn } from "./surfaces.js";
34
+ export { DEFAULT_POLICY as DEFAULT_PLACEMENT_POLICY, EXECUTION_CONTRACT, PLACEMENT_CONTRACT, resolvePlacement } from "./execution.js";
35
+ export type { EnvironmentDescriptor, EnvironmentKind, ExecutionAuthority, ExecutionRequest, ExecutionRequirements, PlacementConstraints, PlacementDecision, PlacementPolicy, PlacementResolver, PlacementResult } from "./execution.js";
36
+ export type { ExecutionAdapter } from "./runtime/execution-host.js";
package/dist/index.js CHANGED
@@ -13,4 +13,8 @@ export { CLAIM_TYPES, claimSpecProblem, claimSchema, isClaimSpec } from "./runti
13
13
  export { defineComponent } from "./component.js";
14
14
  /** SHA-256 of a UTF-8 string, as lowercase hex, without node:crypto or Web Crypto: the same result in FeltKit's runtime and inside an AppBoundry artifact (whose guest has neither). Checked against node:crypto (test/sha256.test.ts). */
15
15
  export { sha256Hex } from "./runtime/sha256.js";
16
+ // Surfaces and invocations: entry points work arrives from, the feltkit.invocation/1 contract and its lifecycle (src/surfaces.ts).
17
+ export { INVOCATION_CONTRACT, INVOCATION_TRANSITIONS, TERMINAL as INVOCATION_TERMINAL_STATES, InvocationRefusal, canTransition, normalizeInvocation } from "./surfaces.js";
18
+ // Placement-neutral execution: the execution contract, placement policy and resolution (src/execution.ts).
19
+ export { DEFAULT_POLICY as DEFAULT_PLACEMENT_POLICY, EXECUTION_CONTRACT, PLACEMENT_CONTRACT, resolvePlacement } from "./execution.js";
16
20
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AA4BrE,OAAO,EAAE,CAAC,EAAE,MAAM,aAAa,CAAC;AAEhC,OAAO,EAAE,YAAY,EAAE,I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