Skip to content

Rebase and land #932: client-executed tools + HITL approval flow #4

Description

@wishborn

Upstream prism-php#932 (client-executed tools + human-in-the-loop tool approval, answering upstream issue prism-php#921) was deferred from v0.104.0: it touches all 28 provider Text/Stream/Structured handlers, was authored ~4 months before Batches 1–3 landed (conflicts with prism-php#996, prism-php#1009, prism-php#952, prism-php#954, prism-php#965, prism-php#1018, prism-php#951 among others), and its head commit is WIP-marked ('stash changes').

Plan:

  • Extract the core design (client tool markers, approval flow events, BroadcastAdapter) from the PR
  • Reimplement against current main, provider by provider, starting with Anthropic + OpenAI
  • Port its 106 test files' coverage where still applicable
  • Coordinate with the Reverb-based sandbox for a live HITL demo

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