@objectstack/platform-objects 9.2.0 → 9.4.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.
@@ -108,15 +108,9 @@ var SETUP_NAV_CONTRIBUTIONS = [
108
108
  { id: "nav_system_overview", type: "dashboard", label: "System Overview", dashboardName: "system_overview", icon: "activity" }
109
109
  ]
110
110
  },
111
- {
112
- app: "setup",
113
- group: "group_apps",
114
- priority: BASE_PRIORITY,
115
- items: [
116
- { id: "nav_marketplace_browse", type: "url", label: "Browse Marketplace", url: "/apps/setup/system/marketplace", icon: "store" },
117
- { id: "nav_marketplace_installed", type: "url", label: "Installed Apps", url: "/apps/setup/system/marketplace/installed", icon: "package-check", requiresObject: "sys_package_installation" }
118
- ]
119
- },
111
+ // No group_apps contribution left here — both marketplace entries moved
112
+ // out (see header note); the group_apps shell anchor in setup.app.ts is
113
+ // filled entirely by capability plugins now.
120
114
  {
121
115
  app: "setup",
122
116
  group: "group_people_org",
@@ -195,6 +189,15 @@ var STUDIO_APP = {
195
189
  icon: "hammer",
196
190
  active: true,
197
191
  isDefault: false,
192
+ // ADR-0010 §3.7 — author-facing protection block. Loader translates
193
+ // this into the `_lock` envelope at registration time. Same rationale
194
+ // as Setup: tenant overlay edits to the metadata workbench can lock
195
+ // implementers out of the very surface used to repair metadata.
196
+ protection: {
197
+ lock: "full",
198
+ reason: "Core developer workbench shipped by @objectstack/platform-objects \u2014 see ADR-0010.",
199
+ docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection"
200
+ },
198
201
  // Studio is the metadata-authoring host, so its ambient copilot is
199
202
  // pinned to the schema-architect agent. Resolved by the ambient chat
200
203
  // endpoint via `app.defaultAgent` — no UI-side `?agent=` override
@@ -486,6 +489,16 @@ var ACCOUNT_APP = {
486
489
  isDefault: false,
487
490
  // Surface via the avatar dropdown, not the App Switcher — see App.hidden.
488
491
  hidden: true,
492
+ // ADR-0010 §3.7 — author-facing protection block. Loader translates
493
+ // this into the `_lock` envelope at registration time. Every
494
+ // authenticated user depends on this app to manage their own
495
+ // sessions / API keys / linked accounts, so a tenant overlay that
496
+ // breaks it is a security-relevant outage — same class as Setup.
497
+ protection: {
498
+ lock: "full",
499
+ reason: "Core self-service security UI shipped by @objectstack/platform-objects \u2014 see ADR-0010.",
500
+ docsUrl: "https://docs.objectstack.ai/adr/0010-metadata-protection"
501
+ },
489
502
  branding: {
490
503
  primaryColor: "#0ea5e9"
491
504
  // sky-500 — distinct from Setup's slate