Move LLM and agent into ext/ai with host tool catalog and call_fn.

Consolidate official AI extensions under ext/ai/, add agent history/context host APIs, dynamic call_fn, and a first-pass TOOL:name loop so runbooks can list zero-arg tools in a table.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-08-06 15:28:39 +08:00
1 parent c4ffb9473f
commit 92d88fe761
29 files changed
+1019 -558

No files matched your search

+13
View File
@@ -28,3 +28,16 @@ description: JSON parse/stringify (shared EN/ZH import)
- text
**> host_json_quote text=`text`**
## set
- map
- key
- value
**> host_map_set map=`map` key=`key` value=`value`**
## append
- list
- item
**> host_list_append list=`list` item=`item`**