Browser-based graphical shell and control plane for a Linux server you own — real terminal, file manager, live metrics and BYOK AI in one mobile-first workspace. Next.js 16 · React 19 · node-pty · Tailwind v4 · shadcn/ui. Public alpha, self-hosted.
TypeScript browser-shellcontrol-planefile-managerhomelabmobile-firstnextjsptyreactself-hostedserver-managementshadcn-uisysadmintailwindcssterminaltypescriptvpsweb-desktopweb-terminal
fix(plugin): support optional connector bindings
Rahman1f26fd922c17
diff --git a/claude-skills/mso/SKILL.md b/claude-skills/mso/SKILL.mdindex 679f2872..7691eef8 100644--- a/claude-skills/mso/SKILL.md+++ b/claude-skills/mso/SKILL.md@@ -33,7 +33,7 @@ Treat `Skill`, `Project Plugin`, `MCP`, `Integration`, `App`, and `Managed App`5. Install a Project Plugin only for the exact project that needs it, after inspection. Catalog presence is not installation and nothing is inherited from another project.6. App/App Store state controls workspace UI; Managed App state controls an external runtime. Neither substitutes for MCP authorization or Integration credentials.-When a useful external capability is unavailable, continue any independent work and state the exact missing connection/capability rather than treating setup as proof of completion. Verify connection/install state before using or claiming it.+When a useful external capability is unavailable, continue any independent work and state the exact missing connection/capability rather than treating setup as proof of completion. An optional connector may fall back to another transport only when that fallback uses an already-authorized, explicitly selected identity and preserves scope; never silently switch principals, credential sources, or provider-owned OAuth/MCP into a local key. Verify connection/install state before using or claiming it.## Resolve the install — never hardcode a username/pathdiff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.mdindex 9fbc3188..cb382222 100644--- a/docs/ARCHITECTURE.md+++ b/docs/ARCHITECTURE.md@@ -96,6 +96,8 @@ MSO uses several extension concepts because they own different authority. They a| **Skill Market** | Curated source of reviewed skill bundles. | Install state is local skill state (`installed / modified / conflict / not-installed`); removal refuses unmanaged content. | General app/plugin marketplace. || **App Store** | MSO shell catalog for UI apps/features. | Presentation/install state in the workspace. | OpenAI plugin directory, Project Plugin catalog, Managed App registry. |+OpenAI/Codex `.app.json` bindings may point at a registered app or a portable connector/template identity, and each binding declares whether it is required. `required: true` is a hard package dependency; `required: false` is an optional capability. Optional does **not** authorize a silent identity change: a fallback may change transport only when it uses an already-authorized, explicitly selected principal/connection and preserves the task's scope. Never copy provider OAuth credentials, silently switch from provider-owned MCP/OAuth to a local token, or treat fallback availability as equivalent authorization.+### Capability selection orderFor agent routing, reuse before adding another extension:diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.mdindex c13b2919..eb929236 100644--- a/docs/CHANGELOG.md+++ b/docs/CHANGELOG.md@@ -18,6 +18,7 @@ this is the *what*, and it is what Settings → About shows as “What's new”.**Fixed**+- `plugin` support optional connector bindings- `workflows` keep session nodes clear on compact canvas- `workflows` dismiss session inspector on handoff- `canvas` isolate react flow accessibility idsdiff --git a/docs/PLUGIN-REFERENCE-MATRIX.md b/docs/PLUGIN-REFERENCE-MATRIX.mdindex ccd246dd..f67c4560 100644--- a/docs/PLUGIN-REFERENCE-MATRIX.md+++ b/docs/PLUGIN-REFERENCE-MATRIX.md@@ -17,19 +17,21 @@ The matrix should be updated after each reference audit. `pending` means that pl| Pattern | Shopify | Plugin Management | GitHub | Gmail | Drive | Calendar | Notion | Analytics | Convex | Figma | Lovable | Sites | MSO current | Candidate primitive | Decision ||---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|-| Structured skill routing/lifecycle contract | Strong reference; already adapted | Prose routing only in local snapshot | pending | pending | pending | pending | pending | pending | pending | pending | pending | pending | `contract.yaml` + `agents/openai.yaml` on official skills | Keep structured skill contract | `ALREADY_STRONGER` |-| Discover → validate → execute → verify | Strong reference; already adapted | Discovery/permission/dependency inspection is separated from mutation; connection must be verified before use | pending | pending | pending | pending | pending | pending | pending | pending | pending | pending | Present across project MCP, database, workflows, integrations and action metadata | Universal lifecycle policy engine | `WAIT` — metadata must not become security authority |-| Package identity separate from live app/connection state | Partial evidence | Strong: Codex plugin package points to a required registered app; connection/permission state is managed separately | pending | pending | pending | pending | pending | pending | pending | pending | pending | pending | OpenAI package, project plugin, MCP, Integrations, App and Managed App are distinct but terminology was under-documented | Canonical extension taxonomy | `ALREADY_BUT_IMPROVE` — documented now |-| Reuse existing capability before discovering/installing a new extension | Not primary Shopify pattern | Strong: built-in → connected plugin → search new plugin | pending | pending | pending | pending | pending | pending | pending | pending | pending | pending | Bounded-first and Integrations-first existed, but cross-surface ordering was implicit | Capability selection policy | `ALREADY_BUT_IMPROVE` — added to `/mso` guidance |+| Structured skill routing/lifecycle contract | Strong reference; already adapted | Prose routing only in local snapshot | No skill source in saved snapshot; package/interface evidence only | pending | pending | pending | pending | pending | pending | pending | pending | pending | `contract.yaml` + `agents/openai.yaml` on official skills | Keep structured skill contract | `ALREADY_STRONGER` |+| Discover → validate → execute → verify | Strong reference; already adapted | Discovery/permission/dependency inspection is separated from mutation; connection must be verified before use | Partial: manifest promises connector-first workflows with targeted CLI fallback, but saved snapshot exposes no action source/schema | pending | pending | pending | pending | pending | pending | pending | pending | pending | Present across project MCP, database, workflows, integrations and action metadata | Universal lifecycle policy engine | `WAIT` — metadata must not become security authority |+| Package identity separate from live app/connection state | Partial evidence | Strong: Codex plugin package points to a required registered app; connection/permission state is managed separately | Strong: package binds an exact GitHub connector separately and marks it optional with `required:false` | pending | pending | pending | pending | pending | pending | pending | pending | pending | OpenAI package, project plugin, MCP, Integrations, App and Managed App are distinct but terminology was under-documented | Canonical extension taxonomy | `ALREADY_BUT_IMPROVE` — documented now |+| Reuse existing capability before discovering/installing a new extension | Not primary Shopify pattern | Strong: built-in → connected plugin → search new plugin | Strong: connector-first workflow with targeted CLI fallback | pending | pending | pending | pending | pending | pending | pending | pending | pending | Bounded-first and Integrations-first existed, but cross-surface ordering was implicit | Capability selection policy | `ALREADY_BUT_IMPROVE` — added to `/mso` guidance || Search separated from suggestion/install | Domain discovery is separate from actions | Strong: `search_plugins` is read-only discovery; `suggest_plugins` only proposes exact results and user action completes connection | pending | pending | pending | pending | pending | pending | pending | pending | pending | pending | Skills, projects and project MCP have separate discovery; Project Plugin catalog is small and install is explicit | Generic extension discovery/suggestion lifecycle | `WAIT` || Suggestion is non-blocking | Not established | Strong: continue independent work while user handles connection | pending | pending | pending | pending | pending | pending | pending | pending | pending | pending | Workflows can continue around missing integrations, but no universal suggestion state | Pending extension state | `WAIT` || Installed/pending duplicate prevention | State-aware mutations | Strong: do not suggest installed or already-pending plugins | pending | pending | pending | pending | pending | pending | pending | pending | pending | pending | Skill Market tracks installed/modified/conflict; project MCP inspect reports exact installed bindings | Generic extension state model | `WAIT` |-| Dependency metadata resolved separately from installation | Domain dependencies exist | Strong: dependency inspection reports canonical dependencies and user-aware status without installing | pending | pending | pending | pending | pending | pending | pending | pending | pending | pending | `.app.json` maps OpenAI package→registered app; project plugin manifest declares skills/MCP, but there is no generic dependency graph | Dependency contract | `WAIT` |+| Dependency metadata resolved separately from installation | Domain dependencies exist | Strong: dependency inspection reports canonical dependencies and user-aware status without installing | Strong: `.app.json` names an exact connector and explicitly declares optional dependency state | pending | pending | pending | pending | pending | pending | pending | pending | pending | `.app.json` maps OpenAI package→registered app; project plugin manifest declares skills/MCP, but there is no generic dependency graph | Dependency contract | `WAIT` |+| OpenAI app binding accepts registered apps/connectors with required-or-optional state | No decisive evidence | Required registered-app binding | Strong: exact `connector_*` binding with `required:false`; public plugin guidance also recognizes connector/template bindings | pending | pending | pending | pending | pending | pending | pending | pending | pending | Checker previously accepted only `asdk_app_*` + `required:true` | App-binding compatibility validator | `NEW_GENERALIZABLE` — implemented without changing authorization |+| Optional dependency may degrade transport but never identity/credential authority | No decisive evidence | Missing plugin may leave independent work unblocked, but no transport fallback evidence | Strong: connector-first with targeted CLI fallback and optional app binding | pending | pending | pending | pending | pending | pending | pending | pending | pending | Bounded tools/CLI/shell and multiple Integration sources already exist; source switching is deliberately explicit | Authority-preserving fallback policy | `ALREADY_BUT_IMPROVE` — documented now || Global permission default + per-extension override/inheritance | Not established | Strong: global permission mode plus app-specific override with `inherit` | pending | pending | pending | pending | pending | pending | pending | pending | pending | pending | OAuth `read < write < exec`, live device roles and per-operation confirmation are stronger security boundaries but semantically different | Permission policy overlay | `WAIT` — do not conflate platform UX permissions with MSO authorization || Explicit uninstall/remove only | Mutations are explicit | Strong: uninstall requires explicit user removal intent and exact targets | pending | pending | pending | pending | pending | pending | pending | pending | pending | pending | Project MCP delete is exact-project + revision guarded; Skill Market refuses unmanaged removal; App UI confirms uninstall; managed runtime uninstall is job-based | Shared removal UX vocabulary | `ALREADY_STRONGER` at enforcement level |-| Canonical identity instead of guessed identifiers | Strong target identity discipline | Strong: exact returned plugin IDs or unambiguous names; broad targets are refused | pending | pending | pending | pending | pending | pending | pending | pending | pending | pending | Exact project ids, skill ids, user/provider/connection and server aliases already fail closed on ambiguity | Generic identity resolver | `ALREADY_STRONGER` |-| Public legal/support metadata for submission | Present in Shopify package | Present: website/privacy/terms in package manifest | pending | pending | pending | pending | pending | pending | pending | pending | pending | pending | MSO has real repository/website metadata but intentionally does not invent missing legal/support URLs | Submission metadata checklist | `WAIT` until real public surfaces exist |-| Target-aware capability resolver | Strong target/API legality concept | Partial: availability depends on built-ins, installed/connected state and dependency status | pending | pending | pending | pending | pending | pending | pending | pending | pending | pending | Target/action metadata + dynamic project/provider discovery exist, but no universal actor+project+surface+target+environment resolver | Capability resolver | `WAIT` — strengthened candidate |+| Canonical identity instead of guessed identifiers | Strong target identity discipline | Strong: exact returned plugin IDs or unambiguous names; broad targets are refused | Strong at package boundary: exact `connector_*` identity is stored, not inferred from the provider name | pending | pending | pending | pending | pending | pending | pending | pending | pending | Exact project ids, skill ids, user/provider/connection and server aliases already fail closed on ambiguity | Generic identity resolver | `ALREADY_STRONGER` |+| Public legal/support metadata for submission | Present in Shopify package | Present: website/privacy/terms in package manifest | Present: website/privacy/terms plus repository/license/brand metadata | pending | pending | pending | pending | pending | pending | pending | pending | pending | MSO has real repository/website metadata but intentionally does not invent missing legal/support URLs | Submission metadata checklist | `WAIT` until real public surfaces exist |+| Target-aware capability resolver | Strong target/API legality concept | Partial: availability depends on built-ins, installed/connected state and dependency status | Partial: connector availability changes preferred transport while the package advertises a CLI fallback | pending | pending | pending | pending | pending | pending | pending | pending | pending | Target/action metadata + dynamic project/provider discovery exist, but no universal actor+project+surface+target+environment resolver | Capability resolver | `WAIT` — strengthened candidate || Bulk/partial-failure result contract | Strong Shopify candidate | No evidence in current Plugin Management schemas | pending | pending | pending | pending | pending | pending | pending | pending | pending | pending | No universal result shape | `BulkResult` | `WAIT` || Mandatory postcondition/refetch contract | Strong Shopify candidate | Partial: skill requires verifying installation/connection before claiming state | pending | pending | pending | pending | pending | pending | pending | pending | pending | pending | Verify metadata/evidence exists, but not every mutation has automatic postcondition execution | Postcondition runner | `WAIT` || Query/analytics DSL | ShopifyQL reference | No evidence | pending | pending | pending | pending | pending | pending | pending | pending | pending | pending | `read_pipeline` already supports select/filter/sort/unique/aggregate | Query DSL | `WAIT` for Analytics reference |@@ -90,3 +92,46 @@ MSO therefore should not collapse `Skill`, `Project Plugin`, `MCP`, `Integration**Wait for more references:** generic plugin/extension search-and-suggest primitive, dependency graph, pending-install state, platform-style permission inheritance, universal lifecycle/postcondition engines, and public submission metadata beyond real URLs MSO already owns.**Reject:** collapsing distinct MSO authority domains into a single generic “plugin” object, hiding existing low-level capabilities to mimic a simpler plugin product, or allowing package metadata to become an authorization/security authority.++## GitHub audit — 0.1.12-5f7cd798dc99++Operator-local reference snapshot: `plugin-references/github/0.1.12-5f7cd798dc99` outside the portable MSO source tree. The saved package contains only `.codex-plugin/plugin.json`, `.app.json`, remote-install metadata, and brand assets; it does **not** contain GitHub action implementations, `SKILL.md`, or `.mcp.json`. Action-level pagination, mutation, and concurrency behavior therefore cannot be attributed to this package snapshot.++### Architecture++```text+github/+├── .codex-remote-plugin-install.json+└── 0.1.12-5f7cd798dc99/+ ├── .codex-plugin/plugin.json # workflow/presentation metadata+ ├── .app.json # optional exact connector binding+ └── assets/ # GitHub brand assets+```++The manifest describes a hybrid workflow: inspect repositories, triage PRs/issues, debug CI and publish changes with a **connector-first** path plus **targeted CLI fallbacks**. `.app.json` binds the exact GitHub connector id with `required:false`, proving that an app binding is not always a hard package dependency. The package metadata also carries website, privacy, terms, repository, license, brand and task-shaped default prompts.++### Comparison with MSO++MSO already has the stronger execution boundary: bounded native/project/provider capabilities first, scoped shell only when required, explicit named credential identities, no silent source fallback, revision/CAS checks and evidence verification. The GitHub reference exposes two compatibility refinements. First, OpenAI app bindings may be connector identities rather than only registered `asdk_app_*` ids. Second, `required` is a boolean dependency declaration, not a constant `true`. MSO's plugin checker was stricter than the observed valid format, so it now accepts registered-app, connector and documented template binding ids with either required or optional state. This changes validation compatibility only; package metadata still grants no credential, MCP, host, or provider authority.++For optional capabilities, MSO now states the fallback rule explicitly: transport may degrade only through an already-authorized, explicitly selected identity while preserving scope. A missing provider-owned connector must never cause a silent switch to another user, connection, local token, or copied OAuth credential.++### Shopify / Plugin Management candidate impact++- **Universal lifecycle engine:** unchanged; GitHub's saved snapshot does not expose enough action lifecycle source.+- **Target-aware capability resolver:** strengthened because preferred execution depends on connector availability, while fallback remains possible.+- **Dependency contract:** strengthened materially; required and optional app dependencies are both now evidenced. A generic dependency graph still needs more references before runtime implementation.+- **Postcondition runner:** no new package-level evidence.+- **Bulk/partial failure result:** no package-level evidence.+- **Query/analytics DSL:** no evidence.+- **Public submission metadata:** strengthened again, but MSO should not invent privacy/terms URLs that it does not own.++### Decision++**Implement now:** broaden OpenAI app-binding validation to valid connector/template identities and boolean `required` state; document authority-preserving optional fallback.++**Keep as existing strength:** connector/bounded capability first, targeted CLI/shell fallback, exact credential identity, explicit source selection, and verification.++**Wait:** generic dependency graph, universal capability resolver/runtime fallback engine, and missing MSO-owned legal/support publication surfaces.++**Reject:** treating `required:false` as permission to silently switch credential authority or principal, and inferring unobserved GitHub action semantics from package marketing text.diff --git a/docs/PROGRESS.md b/docs/PROGRESS.mdindex 2f1eb0ab..e9240cf6 100644--- a/docs/PROGRESS.md+++ b/docs/PROGRESS.md@@ -1,3 +1,7 @@+## 2026-09-17 — GitHub reference audit and optional app-binding compatibility++Audited the saved OpenAI GitHub `0.1.12-5f7cd798dc99` package. The snapshot is package/interface metadata only, so no unobserved PR/issue/CI action semantics were invented. Its `.app.json` provides a concrete compatibility correction: GitHub binds an exact `connector_*` identity with `required:false`, while MSO's OpenAI plugin checker previously accepted only `asdk_app_*` and required every dependency to be `true`. Added a tested app-binding validator that accepts registered-app, connector and documented template binding identities plus boolean required/optional state; authorization behavior is unchanged. Also made optional capability fallback explicit in architecture and `/mso`: fallback may change transport only through an already-authorized, explicitly selected identity and must never silently switch principal, credential source, or provider-owned OAuth/MCP into a local key. Updated the living plugin-reference matrix and recorded that GitHub strengthens the target-aware resolver/dependency-contract candidates but does not yet justify a generic dependency graph or universal fallback engine.+## 2026-09-17 — Plugin Management reference audit and extension taxonomyAudited the local OpenAI `plugin-management` 0.1.0 package plus its installed tool contracts. The recurring improvement is model-facing capability selection and terminology, not a reason to collapse MSO authorities: Skills remain trusted instructions, Project Plugins remain exact-project capability packages, MCP remains the tool protocol, Integrations remains the credential authority, Apps remain workspace UI, and Managed Apps remain external service runtimes. Added the living `docs/PLUGIN-REFERENCE-MATRIX.md`, made that taxonomy canonical in `docs/ARCHITECTURE.md`, and updated the main `/mso` skill to reuse existing native/project/integration capabilities before adding a new plugin. No tools, scopes, credential behavior, low-level primitives, or descriptor schemas were removed or added. Generic suggestion state, dependency graphs, platform-style permission inheritance, and universal lifecycle/postcondition engines remain cross-reference candidates rather than one-plugin abstractions.diff --git a/lib/plugins/openai-app-binding.test.ts b/lib/plugins/openai-app-binding.test.tsnew file mode 100644index 00000000..7ac7d0ce--- /dev/null+++ b/lib/plugins/openai-app-binding.test.ts@@ -0,0 +1,32 @@+import { describe, expect, it } from "vitest";+import { isOpenAiAppBindingId, validateOpenAiAppManifest } from "./openai-app-binding";++describe("OpenAI app binding compatibility", () => {+ it.each([+ "asdk_app_6a834fa9d250819197e75b23fe1223da",+ "plugin_asdk_app_6a834fa9d250819197e75b23fe1223da",+ "connector_76869538009648d5b282a4bb21c3d157",+ "templated_apps_example_connector",+ ])("accepts supported app/connector binding ids: %s", (id) => {+ expect(isOpenAiAppBindingId(id)).toBe(true);+ });++ it("accepts required registered apps and optional connectors", () => {+ expect(validateOpenAiAppManifest({ apps: { mso: { id: "asdk_app_abc123", required: true } } }).ok).toBe(true);+ expect(validateOpenAiAppManifest({ apps: { github: { id: "connector_abc123", required: false } } }).ok).toBe(true);+ });++ it("accepts an empty app map for skill-only packages", () => {+ expect(validateOpenAiAppManifest({ apps: {} }).ok).toBe(true);+ });++ it.each([+ { apps: { github: { id: "REPLACE_WITH_APP_ID", required: true } } },+ { apps: { github: { id: "connector_abc123" } } },+ { apps: { github: { id: "connector_abc123", required: "false" } } },+ { apps: { github: { id: "unknown_abc123", required: false } } },+ { apps: { "Bad Key": { id: "connector_abc123", required: false } } },+ ])("rejects placeholders, malformed ids, keys, or non-boolean dependency state", (manifest) => {+ expect(validateOpenAiAppManifest(manifest).ok).toBe(false);+ });+});diff --git a/lib/plugins/openai-app-binding.ts b/lib/plugins/openai-app-binding.tsnew file mode 100644index 00000000..a4e67d3a--- /dev/null+++ b/lib/plugins/openai-app-binding.ts@@ -0,0 +1,42 @@+export type OpenAiAppBinding = {+ id: string;+ required: boolean;+};++export type OpenAiAppManifest = {+ apps: Record<string, OpenAiAppBinding>;+};++const APP_KEY = /^[a-z0-9]+(?:-[a-z0-9]+)*$/;+const REGISTERED_APP_ID = /^(?:plugin_)?asdk_app_[a-z0-9]+$/;+const CONNECTOR_ID = /^connector_[a-z0-9]+$/;+const TEMPLATED_APP_ID = /^templated_apps_[a-z0-9_]+$/;++function record(value: unknown): value is Record<string, unknown> {+ return Boolean(value) && typeof value === "object" && !Array.isArray(value);+}++export function isOpenAiAppBindingId(value: unknown): value is string {+ return typeof value === "string" && (+ REGISTERED_APP_ID.test(value) ||+ CONNECTOR_ID.test(value) ||+ TEMPLATED_APP_ID.test(value)+ );+}++export function validateOpenAiAppManifest(value: unknown):+ | { ok: true; manifest: OpenAiAppManifest }+ | { ok: false; errors: string[] } {+ const errors: string[] = [];+ if (!record(value) || !record(value.apps)) return { ok: false, errors: ["must contain an apps object"] };+ for (const [name, binding] of Object.entries(value.apps)) {+ if (!APP_KEY.test(name)) errors.push(`app key must be kebab-case: ${name}`);+ if (!record(binding)) {+ errors.push(`${name} binding must be an object`);+ continue;+ }+ if (!isOpenAiAppBindingId(binding.id)) errors.push(`${name}.id must be an exact supported OpenAI app/connector id`);+ if (typeof binding.required !== "boolean") errors.push(`${name}.required must be boolean`);+ }+ return errors.length ? { ok: false, errors } : { ok: true, manifest: value as OpenAiAppManifest };+}diff --git a/scripts/check-skill-flows.mjs b/scripts/check-skill-flows.mjsindex 14717780..7aa11116 100755--- a/scripts/check-skill-flows.mjs+++ b/scripts/check-skill-flows.mjs@@ -3,6 +3,7 @@ import { promises as fs } from "fs";import path from "path";import { parse as parseYaml } from "yaml";import { validateSkillArtifact } from "../lib/skills/skill-artifact-validators.ts";+import { validateOpenAiAppManifest } from "../lib/plugins/openai-app-binding.ts";const args = process.argv.slice(2).filter((arg) => arg !== "--");const argValue = (flag, fallback) => {@@ -112,12 +113,8 @@ try {if (plugin.mcpServers !== undefined) errors.push(".codex-plugin/plugin.json must not declare mcpServers; the web-capable MSO custom MCP app remains a separate OAuth connection");if (!Array.isArray(plugin.interface?.capabilities)) errors.push(".codex-plugin/plugin.json interface.capabilities must be an array");const appManifest = JSON.parse(await fs.readFile(path.join(repo, ".app.json"), "utf8"));- if (!appManifest.apps || typeof appManifest.apps !== "object" || Array.isArray(appManifest.apps)) errors.push(".app.json must contain an apps object");- for (const [name, app] of Object.entries(appManifest.apps ?? {})) {- if (!slug.test(name)) errors.push(`.app.json app key must be kebab-case: ${name}`);- if (!app || typeof app !== "object" || typeof app.id !== "string" || !/^(?:plugin_)?asdk_app_[a-z0-9]+$/.test(app.id)) errors.push(`.app.json ${name}.id must be an exact registered OpenAI app id`);- if (app?.required !== true) errors.push(`.app.json ${name}.required must be true`);- }+ const appValidation = validateOpenAiAppManifest(appManifest);+ if (!appValidation.ok) errors.push(...appValidation.errors.map((error) => `.app.json ${error}`));} catch (error) {errors.push(`OpenAI plugin manifest invalid: ${error instanceof Error ? error.message : String(error)}`);}