feat(agents): environment variables for built-in agents (#1157)

Settings › Tools › Agents › Built-in has an Environment variables field under the executable. They are saved in the agent's file like a command override, and the agent starts with them on top of the shell environment, replacing variables of the same name. Changing the command or the environment keeps the other; a file left with only the built-in's values is removed.

Closes #1133
Цей коміт міститься в:
l0ng-ai authored and GitHub committed 2026-11-04 11:07:52 +08:00
1 джерело e88e7e6459
коміт 5e73b1634f
12 files changed
+153 -3

No files matched your search

+3 -1
Переглянути файл
@@ -5910,5 +5910,7 @@
"Shelve changes “{trim}”": "搁置更改“{trim}”",
"Unshelve “{name}”": "取消搁置“{name}”",
"Delete shelved changes “{name}”": "删除搁置的更改“{name}”",
"Rename shelved changes": "重命名搁置的更改"
"Rename shelved changes": "重命名搁置的更改",
"Passed to the agent process, replacing variables of the same name. Changes apply to new sessions.": "传给智能体进程,覆盖同名变量。对新会话生效。",
"Expected NAME=value: {pair}": "应为 NAME=value:{pair}"
}