Language Runtime Provider
Language Runtime Provider
Section titled “Language Runtime Provider”Language Runtime Providers give agents a schema for starting services. The agent should not guess a shell command when a provider can describe the runtime fields.
Standard Flow
Section titled “Standard Flow”list_language_runtime_providersdescribe_language_runtime_schema- Fill the language fields.
preview_config_changeapply_config_change
Two-layer Model
Section titled “Two-layer Model”Use high-level fields first:
- Go:
program,program_args,build_flags - Node:
package_manager,script,program,node_args,program_args - Python:
programormodule,program_args - Java/Kotlin:
program,classpath,vm_args,program_args - Rust and C/C++:
program,build,build_args,program_args
C/C++ projects use the canonical language value cpp; there is no separate c language value.
Use runtime_executable plus runtime_args only as the escape hatch when high-level fields cannot express the runtime.
Debug-ready injection is orthogonal to the startup layer. The agent should not rewrite normal startup just to enable debugging.