Extend ext/agent with skill match/assign and multi-column tables.
Compose ext/llm, add ABI match_skill/bump_load, map-valued GFM tables, and agent-assign gold coverage. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
3a7e11c995
commit
c4ffb9473f
15 files changed
+476
-31
No files matched your search
@@ -792,6 +792,14 @@ impl<'a> FnCompiler<'a> {
|
||||
}
|
||||
self.emit(Op::BuildList(items.len() as u16));
|
||||
}
|
||||
Expr::Map(pairs) => {
|
||||
for (k, e) in pairs {
|
||||
let ki = self.add_const(Value::Text(k.clone()));
|
||||
self.emit(Op::Constant(ki));
|
||||
self.compile_expr(e)?;
|
||||
}
|
||||
self.emit(Op::BuildMap(pairs.len() as u16));
|
||||
}
|
||||
Expr::Formula(e) => {
|
||||
let i = self.add_const(Value::Formula(e.clone()));
|
||||
self.emit(Op::Constant(i));
|
||||
|
||||
Reference in new issue
Block a user