@tencent-ai/agent-sdk 0.3.114 โ†’ 0.3.117

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/cli/CHANGELOG.md +73 -0
  2. package/cli/bin/codebuddy +5 -1
  3. package/cli/dist/codebuddy-headless.js +196 -289
  4. package/cli/dist/web-ui/assets/index-C7MTLJe8.css +32 -0
  5. package/cli/dist/web-ui/assets/index-CcRN0PLN.js +591 -0
  6. package/cli/dist/web-ui/docs/cn/cli/acp.md +69 -0
  7. package/cli/dist/web-ui/docs/cn/cli/cli-reference.md +12 -1
  8. package/cli/dist/web-ui/docs/cn/cli/daemon.md +232 -0
  9. package/cli/dist/web-ui/docs/cn/cli/env-vars.md +1 -0
  10. package/cli/dist/web-ui/docs/cn/cli/gitlab-ci-cd.md +1 -1
  11. package/cli/dist/web-ui/docs/cn/cli/http-api.md +27 -6
  12. package/cli/dist/web-ui/docs/cn/cli/quickstart.md +1 -1
  13. package/cli/dist/web-ui/docs/cn/cli/release-notes/README.md +6 -1
  14. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.77.0.md +38 -0
  15. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.77.1.md +10 -0
  16. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.78.0.md +26 -0
  17. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.78.1.md +10 -0
  18. package/cli/dist/web-ui/docs/cn/cli/release-notes/v2.79.0.md +38 -0
  19. package/cli/dist/web-ui/docs/cn/cli/settings.md +1 -1
  20. package/cli/dist/web-ui/docs/cn/cli/web-ui.md +3 -1
  21. package/cli/dist/web-ui/docs/en/cli/acp.md +98 -3
  22. package/cli/dist/web-ui/docs/en/cli/best-practices.md +1 -1
  23. package/cli/dist/web-ui/docs/en/cli/cli-reference.md +12 -1
  24. package/cli/dist/web-ui/docs/en/cli/daemon.md +232 -0
  25. package/cli/dist/web-ui/docs/en/cli/env-vars.md +3 -0
  26. package/cli/dist/web-ui/docs/en/cli/gitlab-ci-cd.md +1 -1
  27. package/cli/dist/web-ui/docs/en/cli/http-api.md +144 -8
  28. package/cli/dist/web-ui/docs/en/cli/quickstart.md +1 -1
  29. package/cli/dist/web-ui/docs/en/cli/release-notes/README.md +6 -1
  30. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.77.0.md +38 -0
  31. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.77.1.md +10 -0
  32. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.78.0.md +26 -0
  33. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.78.1.md +10 -0
  34. package/cli/dist/web-ui/docs/en/cli/release-notes/v2.79.0.md +38 -0
  35. package/cli/dist/web-ui/docs/en/cli/web-ui.md +5 -3
  36. package/cli/dist/web-ui/docs/search-index-en.json +1 -1
  37. package/cli/dist/web-ui/docs/search-index-zh.json +1 -1
  38. package/cli/dist/web-ui/docs/sidebar-en.json +1 -1
  39. package/cli/dist/web-ui/docs/sidebar-zh.json +1 -1
  40. package/cli/dist/web-ui/index.html +2 -2
  41. package/cli/package.json +1 -1
  42. package/cli/product.cloudhosted.json +19 -2
  43. package/cli/product.internal.json +37 -2
  44. package/cli/product.ioa.json +42 -2
  45. package/cli/product.json +32 -3
  46. package/cli/product.selfhosted.json +19 -2
  47. package/package.json +1 -1
  48. package/cli/dist/web-ui/assets/index-4R_-ZdN-.css +0 -32
  49. package/cli/dist/web-ui/assets/index-DOt3FCeP.js +0 -499
  50. package/cli/dist/web-ui/docs/cn/cli/sandboxing.md +0 -316
  51. package/cli/dist/web-ui/docs/en/cli/sandboxing.md +0 -316
@@ -0,0 +1,38 @@
1
+ # ๐Ÿš€ CodeBuddy Code v2.77.0 Release
2
+
3
+ ## โœจ New Features
4
+
5
+ ### Plugin System Major Upgrade
6
+
7
+ The plugin system has received a major enhancement, significantly improving plugin installation, management, and extensibility:
8
+
9
+ - **Multi-source Installation**: Support installing plugins via npm packages and Git repository subdirectories, flexibly adapting to different plugin distribution methods
10
+ - **MCP Bundle Support**: Support loading pre-packaged MCP services (.mcpb/.dxt/.zip) from remote URLs or local files, simplifying MCP service integration
11
+ - **Output Style Extension**: Plugins can provide custom output styles to personalize Agent output presentation
12
+ - **Default Agent Configuration**: Plugins support setting a default Agent via `settings.agent`, serving as the lowest-priority base layer
13
+ - **PATH Auto-injection**: Enabled plugins' `bin/` directories are automatically injected into the Bash tool's PATH
14
+ - **User Configuration Options**: Plugins support defining `userConfig` fields for interactive user configuration collection during installation
15
+ - **Dependency Resolution**: Support DFS closure algorithm for resolving plugin transitive dependencies, including cycle detection
16
+
17
+ ### Plugin Security & Management
18
+
19
+ - **Marketplace Name Protection**: Four-layer defense mechanism to prevent third-party impersonation of the official marketplace
20
+ - **Enterprise Policy Service**: Control plugin enable/disable via managed-settings to meet enterprise compliance requirements
21
+ - **`--plugin-dir` Flag**: Support loading plugins from a local directory for development and testing
22
+ - **`/reload-plugins` Command**: Reload all plugin components without restarting
23
+ - **`/plugin-validate` Command**: Four-layer validation of plugin directory structure and manifest validity
24
+
25
+ ## ๐Ÿ”ง Improvements
26
+
27
+ - **Venus Endpoint Compatibility Adapter**: Support Prompt cache injection and request field sanitization for Venus OpenAI-compatible proxy endpoints; model adapters and endpoint adapters can be stacked
28
+ - **SDK MCP Tool Filter**: Ensure permission and deny rules are correctly applied to custom tools registered via the SDK
29
+
30
+ ## ๐Ÿ› Bug Fixes
31
+
32
+ - **AskPanel Race Condition Fix**: Fix the invocation order issue between doneAsk/rejectAsk and approve/reject, preventing tools from continuing execution before receiving an answer
33
+ - **Image Message Type Fix**: `stripImageContent` now uses the correct `input_text` type to replace image placeholders, avoiding type mismatches
34
+
35
+ ## ๐Ÿ“ Documentation Updates
36
+
37
+ - **Plugin Marketplace Documentation**: Comprehensive update of the plugin marketplace usage guide
38
+ - **CLI Documentation Update**: Updated CLI reference, environment variables, HTTP API, slash commands, and other documentation in both Chinese and English
@@ -0,0 +1,10 @@
1
+ # ๐Ÿš€ CodeBuddy Code v2.77.1 Release
2
+
3
+ ## ๐Ÿ”ง Improvements
4
+
5
+ - **Image Blob Reference Rehydration**: Added the `CODEBUDDY_REHYDRATE_IMAGE_BLOB_REFS` environment variable. When set to `true`, image blob references are automatically rehydrated to full base64 data during `-p` mode streaming output, facilitating downstream system integration
6
+ - **WeChat/WeCom Permission Reply UX Optimization**: Removed mechanical confirmation messages after permission operations; Agent's subsequent actions now serve as implicit feedback, making conversations more natural and fluent
7
+
8
+ ## ๐Ÿ› Bug Fixes
9
+
10
+ - **WeChat/WeCom Message Routing Fix**: Fix a bug where the "Always Allow" directive in permission replies was incorrectly recognized due to a check order issue, ensuring permission directives are correctly prioritized
@@ -0,0 +1,26 @@
1
+ # ๐Ÿš€ CodeBuddy Code v2.78.0 Release
2
+
3
+ ## โœจ New Features
4
+
5
+ ### Agent Teams Web UI Support
6
+
7
+ A brand-new Agent Teams Web UI experience that lets you intuitively manage and monitor multi-Agent collaborative tasks in the browser:
8
+
9
+ - **Real-time Progress Tracking**: Team members' running status, token usage, and tool invocation counts are pushed in real time via SSE, giving you an at-a-glance overview in the task panel
10
+ - **Member Conversation Viewer**: Click any member to view their complete conversation history with real-time streaming updates
11
+ - **Smart Message Display**: Incoming messages show `Sender ยท Summary`, outgoing messages show `@Recipient ยท Summary`, with each member having a unique color identifier
12
+ - **State Recovery on Refresh**: Team state and member conversations are automatically restored after page refresh, no manual reconnection needed
13
+ - **Full Internationalization**: Added 13 Team-related translations in both Chinese and English
14
+
15
+ ## ๐Ÿ”ง Improvements
16
+
17
+ - **Permission System Refactor**: Refactored ACP permission broadcast mechanism to support restoring permission dialogs after Web UI page refresh, fixing cross-client permission sync issues
18
+ - **Questionnaire Delivery Optimization**: AskUserQuestion is now delivered via the interruption broadcast protocol, preventing questionnaires from being sent to the wrong client in multi-connection scenarios
19
+ - **Context Compaction Improvement**: Replaced manual truncation with a synchronous compact flow, improving the reliability of context management
20
+ - **Channel Message Queue**: Added a message queue mechanism for WeChat/WeCom channels to prevent concurrent message loss while an Agent is running
21
+ - **Option Compatibility Handling**: Added defensive handling for plain string option arrays in TUI and Web UI questionnaire panels
22
+
23
+ ## ๐Ÿ› Bug Fixes
24
+
25
+ - **Command Completion Fix**: Fix the issue where the completion menu disappears after typing a slash command followed by arguments. Now typing something like `/skill arg` still correctly shows command completion suggestions
26
+ - **Command Suggestion Fix**: Fix the issue where command completion keeps showing after the cursor moves into the argument area
@@ -0,0 +1,10 @@
1
+ # ๐Ÿš€ CodeBuddy Code v2.78.1 Release
2
+
3
+ ## ๐Ÿ› Bug Fixes
4
+
5
+ - **Agent Resolution Fix**: Fix the issue where the wrong Agent was used during queue drain and Agent wake-up. Now the session-associated Agent is used consistently, ensuring more accurate and reliable task scheduling
6
+ - **Model Field Fix**: Fix the model field value issue for reasoning_item and regular items. Actual model response information is now used instead of potentially empty values, ensuring complete and accurate model information
7
+
8
+ ## ๐Ÿ”ง Improvements
9
+
10
+ - **WeCom Reply Enhancement**: Enhanced chatId parsing to support extracting routing information from chatId strings; optimized tool return format to structured JSON, improving message processing reliability
@@ -0,0 +1,38 @@
1
+ # ๐Ÿš€ CodeBuddy Code v2.79.0 Release
2
+
3
+ ## โœจ New Features
4
+
5
+ ### Daemon Mode & Background Sessions
6
+
7
+ Added Daemon process support, allowing you to manage background-running CLI instances via `daemon start/stop/status/restart` commands. Also supports the `--bg` flag to launch tasks in the background, with `ps/logs/attach/kill` commands for full lifecycle management of background tasks.
8
+
9
+ ### Web UI Workers & Log Management
10
+
11
+ The Web UI now includes a Workers page for visual management of all Worker processes and Daemons, supporting start, stop, and terminate operations. Also added a standalone log viewer supporting 4 log types (telemetry/process/debug/conversation) switching, keyword search, and syntax highlighting.
12
+
13
+ ### System Monitoring View
14
+
15
+ The Web UI now includes a Metrics page displaying system CPU, memory, and disk usage overview, as well as per-instance process-level resource metrics (RSS, Heap, uptime), with 8-second auto-polling refresh to help you stay on top of resource status at all times.
16
+
17
+ ### Editor Experience Major Upgrade
18
+
19
+ - **Tab Enhancements**: Support drag-to-reorder, pinned tabs (Pin), overflow scroll arrows, and an enhanced context menu (copy path, reveal in file tree, close to the right, close saved)
20
+ - **Breadcrumb Navigation**: File path hierarchy displayed at the top of the editor; click to quickly switch between sibling files
21
+ - **Quick Open**: Support Cmd+P / Ctrl+P to quickly search and open files
22
+ - **File Preview**: Support image preview (zoom/drag/checkerboard background), Markdown, PDF, SVG preview, and binary file info pages
23
+ - **Status Bar**: Bottom bar displays cursor position, selection info, language type, and other editing status
24
+ - **Recent Files**: Empty editor page shows a list of recently opened files
25
+
26
+ ## ๐Ÿ”ง Improvements
27
+
28
+ - **Execution Phase Tracking**: The loading status bar now shows fine-grained execution phases (preparing / waiting for model / streaming / processing / running tool), helping you understand what the Agent is currently doing
29
+ - **Background Task Support Expansion**: stream-json and headless modes now support background tasks; only print mode (`-p`) retains its original limitation
30
+ - **Settings Page Refactor**: Refactored into a data-driven settings panel with REST API support for reading and writing user-level settings, including toggle, select, text input, and JSON editor controls, with save feedback prompts after operations
31
+ - **Code Block Optimization**: Copy button now appears as a floating button on hover, language label bar removed for a cleaner interface
32
+ - **Menu Interaction Improvement**: Slash commands, @ file completion, and + feature panel now support clicking outside to auto-close
33
+
34
+ ## ๐Ÿ› Bug Fixes
35
+
36
+ - **Command Completion Menu**: Fix the issue where the completion menu still shows when typing command arguments; the menu now correctly closes when the cursor leaves the command name area
37
+ - **Metrics Collection**: Fix the circular invocation issue with the metrics endpoint in multi-instance scenarios
38
+ - **Session Working Directory**: Fix the issue where the Web UI session working directory was set to a URL instead of the actual path
@@ -8,10 +8,12 @@ The Web UI provides the same core capabilities as the terminal interface, with a
8
8
 
9
9
  - **Chat**: Send messages, view conversations, and monitor tool execution in real time
10
10
  - **Terminal**: Embedded terminal with split-pane support (up to 4 panels)
11
- - **Instances**: Manage and switch between multiple CodeBuddy Code instances
11
+ - **Workers**: Manage CLI Worker processes and the Daemon process
12
+ - **Logs**: Dedicated log viewer with support for multiple log types and keyword search
12
13
  - **Remote Control**: Connect WeChat and WeCom channels
13
- - **Tasks**: Browse and create scheduled tasks from templates
14
- - **Plugins**: Manage plugin installations and marketplaces
14
+ - **Monitoring**: System resource metrics and per-Worker process-level memory/uptime metrics
15
+ - **Tasks**: Browse task templates and create scheduled tasks
16
+ - **Plugins**: Manage plugin installations and plugin marketplace
15
17
  - **Settings**: Configure theme, language, model, and permission mode
16
18
  - **Documentation**: Browse CLI documentation with full-text search
17
19
  - **API Reference**: View the interactive Swagger UI for HTTP API exploration