mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-28 15:53:37 +08:00
桌面端:
- 服务商表单的 4 个 Model ID 改成可下拉+可手动输入;新增"获取模型"按钮
通过 ${baseUrl}/v1/models 拉取(自动适配 OpenAI Bearer / Anthropic x-api-key)
- 配色主题新增"跟随系统",监听 prefers-color-scheme 自动切换 light/dark
- ModelSelector 新增"思考模式 开/关"会话级开关,默认回退全局
- NSIS 启用许可页+ 自定义安装路径;首次复用 LICENSE 作 license.txt
Server:让会话级 thinking 真正生效
- WS schema 加 thinkingEnabled?: boolean
- handler 把字段写进 runtimeOverrides、纳入 prev/next diff、持久化进 jsonl
- sessionService.appendSessionMetadata / getSessionLaunchInfo / 摘要解析
补充 thinkingEnabled 字段
- resolveDesktopThinkingMode 支持三态:override 优先(true=enabled、
false=disabled),undefined 回落到全局 alwaysThinkingEnabled
- RuntimeSettings.thinking 类型放宽为 'enabled' | 'disabled',
下游 conversationService 已支持,原生拼成 --thinking 参数
i18n:zh / zh-TW / en / jp / kr 同步
39 lines
1.8 KiB
Plaintext
39 lines
1.8 KiB
Plaintext
DISCLAIMER AND LICENSE
|
|
|
|
Copyright (c) 2026 Anthropic, PBC. All rights reserved for the original source code.
|
|
|
|
This repository is based on the Claude Code source code leaked from the Anthropic
|
|
npm registry on 2026-03-31. All original source code copyrights belong to Anthropic.
|
|
|
|
THIS SOFTWARE IS PROVIDED FOR EDUCATIONAL AND RESEARCH PURPOSES ONLY.
|
|
|
|
The purpose of this repository is to facilitate the study and research of AI Agent
|
|
engineering, including but not limited to:
|
|
- Agent architecture and design patterns
|
|
- Tool use and function calling mechanisms
|
|
- Multi-agent orchestration
|
|
- Terminal UI (TUI) implementation for AI applications
|
|
- MCP (Model Context Protocol) integration
|
|
|
|
RESTRICTIONS:
|
|
|
|
1. This software SHALL NOT be used for any commercial purposes.
|
|
2. This software SHALL NOT be used to compete with or replicate Anthropic's
|
|
commercial products or services.
|
|
3. This software SHALL NOT be redistributed, sublicensed, or sold in any form.
|
|
4. Users SHALL comply with all applicable laws and regulations in their jurisdiction.
|
|
|
|
NO WARRANTY:
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
|
|
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
|
|
By using this software, you acknowledge that:
|
|
- You understand this is leaked source code and all original rights belong to Anthropic.
|
|
- You will use it solely for learning and research of Agent engineering.
|
|
- You assume all legal risks and responsibilities arising from the use of this software.
|