Commit 3b2a9f5
committed
✨ feat: widget-builder builtin plugin with stlite console rendering, capability gating, and SessionTool protocol
- Add `builtin_plugins/widget_builder` as a bundled plugin: `SubmitWidgetTool`, extensible
AST lint pipeline, `st-widget-builder` agent + skill, Jinja2 prompt template, and reusable
Streamlit component library (PlantUMLCard, GitHub repo card, stock ticker, search result card)
- Add `capabilities.py`: pure `parse_capabilities`, `filter_by_capabilities`, and
`overlay_capabilities` helpers for frontmatter-driven capability gating across agents, skills,
and plugins
- Add `session_tools.py`: `SessionTool` Protocol and `SessionToolRegistry`; retrofit
`ExitPlanModeTool` to satisfy the protocol; replace single `_exit_plan_mode_tool` slot in
`ToolUseLoop` with a `_session_tools` list built from registry + allowed_tools
- Extend `AgentRegistry.register()` with `capabilities=` and `plugin_root=` params; `get()` and
`render_catalog()` accept `session_capabilities` for gated visibility; add `visible_for()`
- Add `substitute_agent_body()` in `spawn_agent.py` for `${SESSION_ID}` /
`${CLAUDE_PLUGIN_ROOT}` / bash-style `${VAR:-default}` expansion in agent bodies; registered
agent types' model is now authoritative (ignores LLM-supplied model arg)
- Auto-scan `builtin_plugins/` at plugin discovery; propagate `plugin_root` and capability
tuples through `Orchestrator` → `AgentRegistry` / `SkillRegistry` / `SessionToolRegistry`
- Parse `X-Meeseeks-Capabilities` request header in API backend; thread `session_capabilities`
end-to-end through `Orchestrator` → `SpawnAgentTool` → `ToolUseLoop`
- Add `StliteWidgetPanel`, `CheckAgentsCard`, `SpawnAgentCard`, `FiveLeafBloomLoader`, and
`WidgetCard` to the console; wire `widget_ready` event parsing and render inline stlite
widgets in the conversation timeline
- Persist completed child handles in `AgentHypervisor` so `check_agents` surfaces results;
add `list_visible()` helper; emit structured `check_agents` payload in tool card
- Fix: skip CWD root injection for non-registry tools; thread session_capabilities into
slash-command skill lookup; reject path traversal in `widget_id`; scope `submit_widget`
schema to widget-builder sessions only; force full PWA refresh on service-worker update
- Migrate docs screenshots to PNG; add Capabilities, Widgets, and core-orchestration docs
pages; refresh plugins, skills, web-api, and landing pages1 parent 7073d05 commit 3b2a9f5
106 files changed
Lines changed: 7310 additions & 290 deletions
File tree
- .github/workflows
- apps
- meeseeks_api
- src/meeseeks_api
- tests
- meeseeks_console
- src
- __tests__
- api
- components
- __tests__
- utils
- docs
- stylesheets
- overrides
- components
- templates
- packages
- meeseeks_core
- src/meeseeks_core
- builtin_plugins
- widget_builder
- .claude-plugin
- agents
- examples
- components
- data_table
- finance_chart
- skills/st-widget-builder
- meeseeks_tools/src/meeseeks_tools/core
- tests
- builtin_plugins
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| 38 | + | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
62 | 68 | | |
63 | 69 | | |
64 | 70 | | |
| |||
80 | 86 | | |
81 | 87 | | |
82 | 88 | | |
83 | | - | |
| 89 | + | |
84 | 90 | | |
85 | | - | |
| 91 | + | |
| 92 | + | |
86 | 93 | | |
87 | 94 | | |
88 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
610 | 610 | | |
611 | 611 | | |
612 | 612 | | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
613 | 623 | | |
614 | 624 | | |
615 | 625 | | |
| |||
652 | 662 | | |
653 | 663 | | |
654 | 664 | | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
655 | 673 | | |
656 | 674 | | |
657 | 675 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
0 commit comments