feat(core): Artifact Metadata Binding (${env|arg|sys|secret})

Load-time resolve of frontmatter bindings into Module.metadata; Secret
masking; sys.meta / --bind; llm ctor prefers meta over env_get.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-09-24 19:51:24 +08:00
1 parent 4a2d89406b
commit 88dc6d5a54
31 files changed
+2466 -49

No files matched your search

+1
View File
@@ -85,6 +85,7 @@ pub fn canonical_param(builtin: &str, param: &str) -> String {
"path".into()
}
("host_dotenv_load" | "load_dotenv", "path" | "路径") => "path".into(),
("host_meta_get" | "meta_get", "key" | "键") => "key".into(),
("host_exec" | "exec", "cmd" | "命令") => "cmd".into(),
("host_exec" | "exec", "args" | "参数") => "args".into(),
("host_exec" | "exec", "capture" | "捕获") => "capture".into(),