Skip to content

Fix: Remove dingtalk channel#13

Merged
duguwanglong merged 1 commit into
mainfrom
remove_dingtalk_plugin
Mar 31, 2026
Merged

Fix: Remove dingtalk channel#13
duguwanglong merged 1 commit into
mainfrom
remove_dingtalk_plugin

Conversation

@duguwanglong

Copy link
Copy Markdown
Contributor

Remove dingtalk channel according Axios malicious file

@duguwanglong duguwanglong merged commit 8791b07 into main Mar 31, 2026
2 checks passed
@xiami762 xiami762 deleted the remove_dingtalk_plugin branch April 2, 2026 02:52
duguwanglong added a commit that referenced this pull request Jun 8, 2026
Tests (issue #5)
- Update all FakeProvider mocks from chat() to chat_stream() async
  generators; all 4 tests now pass (were 3/4 failing)

_strip_think_blocks (issue #6)
- Apply as a safety net on visible_content so think-tagged text
  that leaks through text deltas is stripped before the final result
- Use visible_content (stripped) for final_content too

System prompt alignment (issue #3)
- memory_delegate: build tools before constructing the system prompt
- Call SessionPrompt.build_system_prompts() with a synthetic session_id
  so the sub-agent gets PROMPT_DEFAULT (SecOps identity + guardrails),
  tool_protocol, and agent_identity — identical foundation to main loop

Parallel TOCTOU guard (issue #4)
- delegate_task is now serial against any non-delegation tool: prevents
  TOCTOU races where a sub-agent writes files while the parent loop
  concurrently reads (glob/grep); multiple delegations can still run
  concurrently against each other

gateway.chat_stream tool_calls robustness (issue #11)
- Emit any accumulated tool_calls after the stream loop ends, so they
  are not silently dropped when a gateway omits finish_reason on the
  final tool-call chunk

loop_engine fallback warning (issue #12)
- _resolve_loop_engine() now logs a warning when the requested engine
  id (session-level or agent-default) is not registered, making
  silent "UI shows Raptor, runs native" situations observable in logs

loop_engine persistence deduplication (issue #13)
- Extract repeated loop_engine persistence blocks into
  _persist_loop_engine_if_changed(); both message routes call it

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant