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