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>
566 B
566 B
title, description
| title | description |
|---|---|
| lib/json | JSON parse/stringify (shared EN/ZH import) |
parse
- text
> host_json_parse text=text
stringify
- value
> host_json_stringify value=value
get
- value
- key
> host_json_get value=value key=key
keys
- value
> host_json_keys value=value
quote
- 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