feat(bash-env): extract the shared DSH_* environment registry into its own package

This commit is contained in:
Huanqi Cao
2026-08-02 14:17:46 +08:00
parent bf47f14bb9
commit d73888478a
14 changed files with 685 additions and 2 deletions
@@ -184,7 +184,7 @@ export const SERVICE_API: readonly ServiceApiEntry[] = [
},
{
signature: 'collect(execution: ToolExecution): DshEnvironment',
jsDoc: '/**\n * Build the trusted `DSH_*` snapshot for one bash tool execution.\n * @param execution - the current tool execution.\n * @returns an immutable environment overlay containing built-ins and current contributions.\n */',
jsDoc: '/**\n * Build the trusted `DSH_*` snapshot for one shell tool execution.\n * @param execution - the current tool execution.\n * @returns an immutable environment overlay containing built-ins and current contributions.\n */',
},
{
signature: 'list(): BashEnvVariableInfo[]',