@objectstack/platform-objects 9.2.0 → 9.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -4554,15 +4554,9 @@ var SETUP_NAV_CONTRIBUTIONS = [
4554
4554
  { id: "nav_system_overview", type: "dashboard", label: "System Overview", dashboardName: "system_overview", icon: "activity" }
4555
4555
  ]
4556
4556
  },
4557
- {
4558
- app: "setup",
4559
- group: "group_apps",
4560
- priority: BASE_PRIORITY,
4561
- items: [
4562
- { id: "nav_marketplace_browse", type: "url", label: "Browse Marketplace", url: "/apps/setup/system/marketplace", icon: "store" },
4563
- { id: "nav_marketplace_installed", type: "url", label: "Installed Apps", url: "/apps/setup/system/marketplace/installed", icon: "package-check", requiresObject: "sys_package_installation" }
4564
- ]
4565
- },
4557
+ // No group_apps contribution left here — both marketplace entries moved
4558
+ // out (see header note); the group_apps shell anchor in setup.app.ts is
4559
+ // filled entirely by capability plugins now.
4566
4560
  {
4567
4561
  app: "setup",
4568
4562
  group: "group_people_org",
@@ -4641,6 +4635,15 @@ var STUDIO_APP = {
4641
4635
  icon: "hammer",
4642
4636
  active: true,
4643
4637
  isDefault: false,
4638
+ // ADR-0010 §3.7 — author-facing protection block. Loader translates
4639
+ // this into the `_lock` envelope at registration time. Same rationale
4640
+ // as Setup: tenant overlay edits to the metadata workbench can lock
4641
+ // implementers out of the very surface used to repair metadata.
4642
+ protection: {
4643
+ lock: "full",
4644
+ reason: "Core developer workbench shipped by @objectstack/platform-objects \u2014 see ADR-0010.",
4645
+ docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection"
4646
+ },
4644
4647
  // Studio is the metadata-authoring host, so its ambient copilot is
4645
4648
  // pinned to the schema-architect agent. Resolved by the ambient chat
4646
4649
  // endpoint via `app.defaultAgent` — no UI-side `?agent=` override
@@ -4932,6 +4935,16 @@ var ACCOUNT_APP = {
4932
4935
  isDefault: false,
4933
4936
  // Surface via the avatar dropdown, not the App Switcher — see App.hidden.
4934
4937
  hidden: true,
4938
+ // ADR-0010 §3.7 — author-facing protection block. Loader translates
4939
+ // this into the `_lock` envelope at registration time. Every
4940
+ // authenticated user depends on this app to manage their own
4941
+ // sessions / API keys / linked accounts, so a tenant overlay that
4942
+ // breaks it is a security-relevant outage — same class as Setup.
4943
+ protection: {
4944
+ lock: "full",
4945
+ reason: "Core self-service security UI shipped by @objectstack/platform-objects \u2014 see ADR-0010.",
4946
+ docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection"
4947
+ },
4935
4948
  branding: {
4936
4949
  primaryColor: "#0ea5e9"
4937
4950
  // sky-500 — distinct from Setup's slate