Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 6 additions & 35 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# 暂未正式发布,敬请期待

<p align="center">
<img src="/images/banner.png" width="400" />
</p>
Expand All @@ -15,7 +13,7 @@
> 还在为离线环境无法使用 cursor 而烦恼吗?
> 为什么不试试 MonkeyCode?

**MonkeyCode** 是一款专为研发管理而设计的 AI 编程助手,它不仅仅是普通的 AI 编程助手,还包含了功能远超 Cursor Team 版的企业级管理面板。
**MonkeyCode** 是长亭科技推出的企业智能编程辅助平台,支持私有化部署,兼容第三方及本地化大模型,专为研发管理而设计,它不仅仅是普通的 AI 编程助手,集成了代码安全扫描能力,包含了功能远超 Cursor Team 版的企业级管理面板,使用 AI 的能力为研发团队赋能,提升研发效率,保障代码质量

MonkeyCode 充分考虑了隐私和安全,支持**完全私有化和离线使用**,在帮助你快速完成代码编写,提高开发效率的同时,还支持对 AI 编程行为进行严格审计和管控。

Expand All @@ -24,9 +22,8 @@ MonkeyCode 充分考虑了隐私和安全,支持**完全私有化和离线使

## ⚡️ 界面展示

| - | - |
| ------------------------------------------------ | ------------------------------------------------ |
| <img src="/images/screenshot-1.png" width=370 /> | <img src="/images/screenshot-2.png" width=370 /> |
| ------------------------------------------------ | ------------------------------------------------ |
| <img src="/images/screenshot-3.png" width=370 /> | <img src="/images/screenshot-4.png" width=370 /> |

## 🔥 功能与特色
Expand All @@ -37,39 +34,13 @@ MonkeyCode 充分考虑了隐私和安全,支持**完全私有化和离线使
- **智能代码补全**:通过 AI 理解代码上下文并生成补全建议,减少手动输入代码的时间,显著提升开发效率。
- **自然语言编程**:通过自然语言对话,让 AI 帮你自动完成编程、调试、设计、文档等工作。

## 🚀 上手指南

### 安装 MonkeyCode

你需要一台支持 Docker 20.x 以上版本的 Linux 系统来安装 MonkeyCode。

使用 root 权限登录你的服务器,然后执行以下命令。

```bash
bash -c "$(curl -fsSLk https://release.baizhi.cloud/monkeycode/manager.sh)"
```

根据命令提示的选项进行安装,命令执行过程将会持续几分钟,请耐心等待。

### 登录 MonkeyCode

安装成功后会输出如下的访问信息。通过输出的用户名和密码登录访问地址。

```
SUCCESS 控制台信息:
SUCCESS 访问地址(内网): http://*.*.*.*:<port>
SUCCESS 访问地址(外网): http://*.*.*.*:<port>
SUCCESS 用户名: admin
SUCCESS 密码: **********************
```

### 配置与初始化
## 🚀 安装 PandaWiki

### 邀请成员
请参考 [入门指南 - 新手必读!!!](https://monkeycode.docs.baizhi.cloud/node/0197be94-c6c1-737a-a0ca-01cd9c81e833)

### 安装 IDE 插件
### 在 VS Code 中使用 MonkeyCode

### 开始使用
请参考 [在 VS Code 中使用](https://monkeycode.docs.baizhi.cloud/node/0197e39a-14e7-79db-8e25-6d775407a85b)。

## 社区交流

Expand Down
Binary file modified images/screenshot-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 25 additions & 10 deletions ui/src/pages/chat/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const Chat = () => {
},
{
dataIndex: 'question',
title: '任务',
title: '任务内容',
render(value: string, record) {
const cleanValue = value?.replace(/<\/?task>/g, '') || value;
return (
Expand All @@ -68,7 +68,7 @@ const Chat = () => {
whiteSpace: 'nowrap',
}}
>
{cleanValue}
{cleanValue || '无标题任务'}
</Box>
);
},
Expand All @@ -78,16 +78,31 @@ const Chat = () => {
title: '工作模式',
width: 120,
render(value: DomainChatRecord['work_mode']) {
const workModeMap: Record<string, string> = {
code: 'warning',
ask: 'info',
architect: 'success',
debugger: 'error',
orchestrator: 'info',
const workModeMap: Record<string, Record<string, string>> = {
code: {
name: '编程模式',
color: 'warning',
},
ask: {
name: '问答模式',
color: 'info',
},
architect: {
name: '架构模式',
color: 'success',
},
debug: {
name: '调试模式',
color: 'error',
},
orchestrator: {
name: '编排模式',
color: 'info',
},
};
return (
<StyledLabel color={value ? workModeMap[value] : 'default'}>
{value}
<StyledLabel color={value ? workModeMap[value]['color'] : 'default'}>
{ value ? workModeMap[value]['name'] : '未知' }
</StyledLabel>
);
},
Expand Down
4 changes: 3 additions & 1 deletion ui/src/pages/completion/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,18 +144,20 @@ const Completion = () => {
{
dataIndex: 'program_language',
title: '编程语言',
width: 140,
width: 160,
},
{
dataIndex: 'input_tokens',
title: '输入 Token',
width: 140,
render(value: number) {
return addCommasToNumber(value);
},
},
{
dataIndex: 'output_tokens',
title: '输出 Token',
width: 140,
render(value: number) {
return addCommasToNumber(value);
},
Expand Down
4 changes: 2 additions & 2 deletions ui/src/pages/invite/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -341,12 +341,12 @@ const Invite = () => {
使用教程
</Typography>
<Typography variant='body2' color='text.secondary' sx={{ mb: 3 }}>
查看详细的使用教程,快速上手 MonkeyCode 客户端
查看详细的使用教程,快速上手使用 MonkeyCode
</Typography>
<Button
variant='outlined'
startIcon={<MenuBookIcon />}
href='https://www.monkeycode.cn/docs/client/quick-start'
href='https://monkeycode.docs.baizhi.cloud/node/0197e39a-14e7-79db-8e25-6d775407a85b'
target='_blank'
rel='noopener noreferrer'
size='large'
Expand Down