Merge remote-tracking branch 'origin/codex/agent-session-jsonl-location' into codex/agent-session-jsonl-location

This commit is contained in:
Yichen Jiang
2026-07-15 13:28:00 +08:00
6 changed files with 26 additions and 5 deletions

View File

@@ -32,6 +32,8 @@ Every foreground and background model bash call receives a newly collected trust
import type { Context } from 'cordis'
import type {} from '@deepseek-ai/dsh-tool-bash'
export const inject = ['bashEnv']
export function apply(ctx: Context): void {
ctx.bashEnv.register({
name: 'deployment-region',

View File

@@ -185,6 +185,8 @@ export class BashEnvRegistry extends Service {
return Object.freeze(Object.fromEntries(Object.entries(values).sort(([left], [right]) => left.localeCompare(right))))
}
// TODO(bash-env-list-builtins): Include registry-owned built-ins before diagnostics,
// prompt, or UI code treats list() as an exhaustive environment catalog.
/**
* Enumerate plugin-contributed variables without executing their resolvers.
* @returns declarations sorted by environment variable name.