Skip to content

Typed helpers for agent meta (Claude Code options, disallowed tools) #3

@elkraneo

Description

@elkraneo

Right now, passing agent-specific meta (e.g. Claude Code options + disallowed tools) requires ad-hoc [String: AnyCodable] dictionaries. I’d love a typed helper to avoid stringly-typed payloads.

Suggestion: add a small meta builder, e.g.:

  • ClaudeCodeMeta(options: .init(disallowedTools: ["Bash", "Task", "TodoWrite"]))
  • ACPMeta.claudeCode(...) -> [String: AnyCodable]

This would make it clearer how to block built-in tools and standardize the payload shape.

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