Skip to content

Lens command UI silently breaks: reads introspection property "schema", Arc emits payloadSchema/argumentsSchema #35

Description

@einari

Found while authoring Cratis AI guidance for Lens (Cratis/AI#179, verified against real source in both repos).

Lens reads an introspection property named schema from Arc's command introspection response (Source/arc/introspection.ts:23,133). Arc's actual introspection endpoint (/.cratis/commands) emits payloadSchema/argumentsSchema instead (Arc.Core/Introspection/CommandIntrospectionMetadata.cs; documented in Arc/Documentation/backend/introspection/commands.md:20, added 2026-05-27 — after Lens's current revision).

Net effect: every command form in the extension falls back to its empty state, with no raw-JSON editor behind it as a fallback. This looks like Lens predates a rename/restructure on the Arc side and was never updated to match.

Lens's four fallback introspection routes (/.cratis/types/… etc.) also don't appear in Arc's current complete .cratis route list, for what it's worth as additional context, though the schema vs payloadSchema/argumentsSchema mismatch is the actual break.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions