-
Notifications
You must be signed in to change notification settings - Fork 0
feat: add project-local DeepAgents skills #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -55,6 +55,11 @@ def _reset_streaming_state(self) -> None: | |
| self._pending_tool_widgets.clear() | ||
| self._tool_widgets_by_id.clear() | ||
|
|
||
| def _finish_streaming_message_segment(self) -> None: | ||
| """Detach the current assistant bubble so later chunks start a new one.""" | ||
| self._streaming_chunks.clear() | ||
| self._streaming_bubble = None | ||
|
Comment on lines
+60
to
+61
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
After a tool boundary this clears only the bridge's current segment, but Useful? React with 👍 / 👎. |
||
|
|
||
| def _extract_tool_name_from_interrupt(self, interrupt_data: dict) -> str: | ||
| """Extract tool name from interrupt data. | ||
|
|
||
|
|
@@ -346,6 +351,7 @@ def handle_event() -> None: | |
| input_box.focus_input() | ||
|
|
||
| elif event.type == EventType.TOOL_CALL: | ||
| self._finish_streaming_message_segment() | ||
| tool_data = event.data or {} | ||
| tool_name = ( | ||
| tool_data.get("name", "unknown") | ||
|
|
@@ -414,6 +420,7 @@ def handle_event() -> None: | |
| self._active_tool_widget.update_status("running") | ||
|
|
||
| elif event.type == EventType.TOOL_SUCCESS: | ||
| self._finish_streaming_message_segment() | ||
| result = event.data or "" | ||
| meta = event.metadata or {} | ||
| tool_call_id = meta.get("tool_call_id") if isinstance(meta, dict) else None | ||
|
|
@@ -449,6 +456,7 @@ def handle_event() -> None: | |
| self._active_tool_widget = None | ||
|
|
||
| elif event.type == EventType.TOOL_ERROR: | ||
| self._finish_streaming_message_segment() | ||
| error = event.data or "Unknown error" | ||
| meta = event.metadata or {} | ||
| tool_call_id = meta.get("tool_call_id") if isinstance(meta, dict) else None | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When the default backend remains
stateand the selected codebase already contains.agents/skills, this resolves a non-empty skills list and passes it intocreate_code_agent, which immediately raisesValueError("Skills require filesystem backend"). That makes otherwise normal state-backend CLI/TUI startup fail merely because the project has a skills directory; only explicit--skills-diron the state backend should be rejected, or auto-discovery should be skipped unlessargs.backend_type == "filesystem".Useful? React with 👍 / 👎.