Add OKF soft match, CALL tool streaming, and lib whitelist dispatch.
Canonicalize/alias lookup and optional soft_match parent REUSE cut kb fragmentation; stream tool_start/end for Plan-and-Move visibility; allow safe CALL:lib.* without FC. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
dbb2765553
commit
ff84c43c10
16 files changed
+771
-89
No files matched your search
+31
-1
@@ -1423,7 +1423,37 @@ alias-written
|
||||
alias-ok
|
||||
alias
|
||||
same-slug
|
||||
exact",
|
||||
exact
|
||||
trip-promoted
|
||||
帮我规划明天的行程
|
||||
canonical-ok
|
||||
canonical
|
||||
list-ok",
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn ext_agent_soft_match() {
|
||||
assert_out(
|
||||
"tests/ext/agent-soft-match.mq.md",
|
||||
"REUSE
|
||||
trip-plan
|
||||
NEW
|
||||
REUSE
|
||||
行程-a
|
||||
prompt-ok",
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn ext_agent_lib_call() {
|
||||
assert_out(
|
||||
"tests/ext/agent-lib-call.mq.md",
|
||||
"call
|
||||
lib.fs.exists
|
||||
exists-ok
|
||||
deny-ok
|
||||
callable-ok",
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user