Skip to content

Add token passthrough feature#12

Open
bettercallsaulj wants to merge 7 commits into
iml_new_apisfrom
feature_token_protect
Open

Add token passthrough feature#12
bettercallsaulj wants to merge 7 commits into
iml_new_apisfrom
feature_token_protect

Conversation

@bettercallsaulj

Copy link
Copy Markdown
Collaborator

No description provided.

RahulHere added 7 commits June 30, 2026 21:05
Summary:\n- Move third_party/gopher-orch from 05667fdf to c78ca8cc on br_release.\n- Pull in the nested gopher-mcp update at 21167aa0 and dynamic MCP header support.
Add ctypes bindings for gopher_orch_agent_options_t and optional *_with_options agent creation symbols.

Route non-empty runtime options through the new native symbols and fail clearly when the loaded native library is too old.

Cover options struct conversion, fallback behavior without runtime options, and missing-symbol errors with focused tests.
Forward configured runtime options into API-key and JSON native agent creation.

Add runtime_options parameters to the direct server, gateway, and URL factory helpers.

Cover public passthrough and old-native-library errors with fake-library tests.
Add a Python header example showing create_with_url with runtime access_token and headers options.

Default the MCP URL to the local gateway address used by the token-flow examples and keep examples/api unchanged.
Add create_by_url_run.sh for the Python header example using the copied local gateway and MCP server helpers.

The runner releases ports 5000/5001, starts the helpers with GOPHER_SDK_TEST token-flow logging, runs deterministic MCP curl calls, and optionally runs the Python SDK client when ANTHROPIC_API_KEY is available.

Copy create_by_url_gateway and create_by_url_server helper executables from the gopher-mcp-js header example.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant