Repository navigation
Description
Part of #12037.
Problem
NemoClaw's API integration schema exposes bearer/header authentication only. Telegram puts the bot token in the URL path and reuses it across multiple API methods.
Change
Expose validated path credential placement in YAML and map it through the provider to OpenShell, including exact-path and path_subtree placement. Keep raw tokens outside the sandbox and supply the native client with one placeholder.
OpenShell profile syntax for Telegram:
auth_style: path_subtree
path_template: /bot{credential}OpenShell #5675 already supplies this feature. NemoClaw pins 0.1.10; no separate OpenShell upgrade or method-selection hook is required.
Acceptance
- YAML accepts the placement style/template and the compiled provider configuration applies them to the declared credential.
- A native, unmodified Telegram client starts, polls, and sends a reply using the same placeholder across API methods.
- Credential delivery stays restricted to declared destinations and placements; invalid configuration/placement is rejected without exposing the token.
- Credential references remain references in YAML, plans, and exports. Record a full sandbox/API run, not only resolver-level results.
Existing Evidence
Exact-path support was prototyped locally. The upstream resolver probe passed seven Telegram methods with one subtree placeholder and rejected five invalid-path cases. Full deployed subtree qualification remains pending; the older live Telegram test used a local method-selection hook.
Activity