feat: add card examples and speed up rtc connect
This commit is contained in:
parent
04afead5af
commit
23fd806e6d
41 changed files with 3327 additions and 3 deletions
15
examples/cards/templates/git-diff-live/manifest.json
Normal file
15
examples/cards/templates/git-diff-live/manifest.json
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"key": "git-diff-live",
|
||||
"title": "Git Repo Diff",
|
||||
"notes": "Manual-refresh git working tree summary for a specific repo directory. Fill template_state with tool_name `exec`, tool_arguments.command running `$HOME/.nanobot/workspace/git_repo_diff_summary.py`, `tool_arguments.max_output_chars` sized for the repo diff payload, and optional subtitle. Refresh it from the card menu. The card shows branch, changed/untracked counts, insertions/deletions, and the top changed files.",
|
||||
"example_state": {
|
||||
"subtitle": "nanobot",
|
||||
"tool_name": "exec",
|
||||
"tool_arguments": {
|
||||
"command": "python3 $HOME/.nanobot/workspace/git_repo_diff_summary.py --repo /home/kacper/nanobot --max-files 8",
|
||||
"max_output_chars": 200000
|
||||
}
|
||||
},
|
||||
"created_at": "2026-03-12T14:00:00+00:00",
|
||||
"updated_at": "2026-03-14T17:00:00-04:00"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue