Skip to content

ACP: accept image/audio prompt content blocks #5

Description

@JAORMX

What's missing

The ACP adapter handles text prompt content only. initialize advertises promptCapabilities{image:false, audio:false, embeddedContext:false}, and session/prompt flattening keeps only type:"text" blocks (dropping the rest).

Validated (independent cross-check):

  • handleInitialize advertises image/audio/embeddedContext false (internal/adapter/acp/agent.go).
  • flattenPrompt keeps only b.Type == "text"; contentBlock models only Type+Text (agent.go, internal/adapter/acp/types.go).

Proposed approach

Accept image/audio (and embedded-resource) ContentBlocks in session/prompt and advertise the capability. Requires domain support for non-text prompt content — mecatl's prompt path is text-only end-to-end today, so this is larger than an adapter change, and low value unless the configured provider consumes images. Likely the lowest-priority of the remaining items.

Part of ACP Phase 3 long-tail (docs/adr/0001-acp-adapter.md).

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