Skip to content

Commit 9ad5a72

Browse files
authored
Merge branch 'main' into release/v1.8.0.2
2 parents 454b6df + 203be5d commit 9ad5a72

31 files changed

+9036
-3
lines changed

.github/workflows/codeql_main.yml

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
# For most projects, this workflow file will not need changing; you simply need
2+
# to commit it to your repository.
3+
#
4+
# You may wish to alter this file to override the set of languages analyzed,
5+
# or to provide custom queries or build logic.
6+
#
7+
# ******** NOTE ********
8+
# We have attempted to detect the languages in your repository. Please check
9+
# the `language` matrix defined below to confirm you have the correct set of
10+
# supported CodeQL languages.
11+
#
12+
name: "CodeQL Advanced"
13+
14+
on:
15+
push:
16+
branches: [ "main" ]
17+
pull_request:
18+
branches: [ "main" ]
19+
schedule:
20+
- cron: '40 13 * * 6'
21+
22+
jobs:
23+
analyze:
24+
name: Analyze (${{ matrix.language }})
25+
# Runner size impacts CodeQL analysis time. To learn more, please see:
26+
# - https://gh.io/recommended-hardware-resources-for-running-codeql
27+
# - https://gh.io/supported-runners-and-hardware-resources
28+
# - https://gh.io/using-larger-runners (GitHub.com only)
29+
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
30+
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
31+
permissions:
32+
# required for all workflows
33+
security-events: write
34+
35+
# required to fetch internal or private CodeQL packs
36+
packages: read
37+
38+
# only required for workflows in private repositories
39+
actions: read
40+
contents: read
41+
42+
strategy:
43+
fail-fast: false
44+
matrix:
45+
include:
46+
- language: actions
47+
build-mode: none
48+
- language: javascript-typescript
49+
build-mode: none
50+
- language: python
51+
build-mode: none
52+
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'rust', 'swift'
53+
# Use `c-cpp` to analyze code written in C, C++ or both
54+
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
55+
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
56+
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
57+
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
58+
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
59+
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
60+
steps:
61+
- name: Checkout repository
62+
uses: actions/checkout@v4
63+
64+
# Add any setup steps before running the `github/codeql-action/init` action.
65+
# This includes steps like installing compilers or runtimes (`actions/setup-node`
66+
# or others). This is typically only required for manual builds.
67+
# - name: Setup runtime (example)
68+
# uses: actions/setup-example@v1
69+
70+
# Initializes the CodeQL tools for scanning.
71+
- name: Initialize CodeQL
72+
uses: github/codeql-action/init@v4
73+
with:
74+
languages: ${{ matrix.language }}
75+
build-mode: ${{ matrix.build-mode }}
76+
# If you wish to specify custom queries, you can do so here or in a config file.
77+
# By default, queries listed here will override any specified in a config file.
78+
# Prefix the list here with "+" to use these queries and those in the config file.
79+
80+
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
81+
# queries: security-extended,security-and-quality
82+
83+
# If the analyze step fails for one of the languages you are analyzing with
84+
# "We were unable to automatically build your code", modify the matrix above
85+
# to set the build mode to "manual" for that language. Then modify this step
86+
# to build your code.
87+
# ℹ️ Command-line programs to run using the OS shell.
88+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
89+
- name: Run manual build steps
90+
if: matrix.build-mode == 'manual'
91+
shell: bash
92+
run: |
93+
echo 'If you are using a "manual" build mode for one or more of the' \
94+
'languages you are analyzing, replace this with the commands to build' \
95+
'your code, for example:'
96+
echo ' make bootstrap'
97+
echo ' make release'
98+
exit 1
99+
100+
- name: Perform CodeQL Analysis
101+
uses: github/codeql-action/analyze@v4
102+
with:
103+
category: "/language:${{matrix.language}}"

doc/docs/en/quick-start/installation.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,35 @@ After executing this command, the system will provide two different versions for
4444
- **Terminal Tool**: Enables openssh-server for AI agent shell command execution
4545
- **Regional optimization**: Mainland China users can use optimized image sources
4646

47-
>⚠️ **Important Note**: When deploying v1.8.0 or later for the first time, please pay special attention to the `suadmin` super administrator account information output in the Docker logs. This account has the highest system privileges, and the password is only displayed upon first generation. It cannot be viewed again later, so please be sure to save it securely.
47+
### ⚠️ Important Notes
48+
1️⃣ **When deploying v1.8.0 or later for the first time**, please pay special attention to the `suadmin` super administrator account information output in the Docker logs. This account has the highest system privileges, and the password is only displayed upon first generation. It cannot be viewed again later, so please be sure to save it securely.
49+
50+
2️⃣ Forgot to note the `suadmin` account password? Follow these steps:
51+
```bash
52+
# Step1: Delete su account record in supabase container
53+
docker exec -it supabase-db-mini bash
54+
psql -U postgres
55+
select id, email from auth.users;
56+
# Get the user_id of [email protected] account
57+
delete from auth.users where id = 'your_user_id';
58+
delete from auth.identities where user_id = 'your_user_id';
59+
60+
# Step2: Delete su account record in nexent database
61+
docker exec -it nexent-postgresql bash
62+
psql -U root -d nexent
63+
delete from nexent.user_tenant_t where user_id = 'your_user_id';
64+
65+
# Step3: Redeploy and record the su account password
66+
```
4867
4968
### 3. Access Your Installation
5069
5170
When deployment completes successfully:
5271
1. Open **http://localhost:3000** in your browser
53-
2. Refer to the [User Guide](../user-guide/home-page) to develop agents
72+
2. Log in with the super administrator account
73+
3. Access tenant resources → Create tenant and tenant administrator
74+
4. Log in with the tenant administrator account
75+
5. Refer to the [User Guide](../user-guide/home-page) to develop agents
5476
5577
5678
## 🏗️ Service Architecture

doc/docs/zh/opensource-memorial-wall.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,10 @@ Nexent 加油!希望能达成所愿!
704704
探索个人智能体平台,从小红书发现Nexent是个非常值得一试的好产品,祝Nexent发展越来越好!
705705
:::
706706

707+
::: info SZShowmaker - 2026-3-3
708+
Happy to find a easy-to-use AI Agent Platform
709+
:::
710+
707711
::: info Passion - 2026-3-4
708712
华为开发者大会接触到Nexent,祝越来越好!
709713
:::

doc/docs/zh/quick-start/installation.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,34 @@ bash deploy.sh
4545
- **区域优化**: 中国大陆用户可使用优化的镜像源
4646

4747

48-
>⚠️ **重要提示**:首次部署 v1.8.0 及以上版本时,需特别留意 Docker 日志中输出的 `suadmin` 超级管理员账号信息。该账号为系统最高权限账户,密码仅在首次生成时显示,后续无法再次查看,请务必妥善保存。
48+
### ⚠️ 重要提示
49+
1️⃣ **首次部署 v1.8.0 及以上版本时**,需特别留意 Docker 日志中输出的 `suadmin` 超级管理员账号信息。该账号为系统最高权限账户,密码仅在首次生成时显示,后续无法再次查看,请务必妥善保存。
50+
> 该账号仅用于权限管理,无权开发智能体或创建知识库。请登录该账号,依次完成:访问租户资源→创建租户→创建租户管理员,然后使用租户管理员账号登录,即可使用全部功能。角色权限详情参见 [用户管理](../user-guide/user-management)
4951
52+
2️⃣ 忘记留意 `suadmin` 账号密码?请按照以下步骤操作:
53+
```bash
54+
# Step1: 在supabase容器中删除su账号记录
55+
docker exec -it supabase-db-mini bash
56+
psql -U postgres
57+
select id, email from auth.users;
58+
#获取到[email protected]账号的user_id
59+
delete from auth.users where id = '你的user_id';
60+
delete from auth.identities where user_id = '你的user_id';
61+
62+
#Step2:在nexent的数据库中删除su账号记录
63+
docker exec -it nexent-postgresql bash
64+
psql -U root -d nexent
65+
delete from nexent.user_tenant_t where user_id = '你的user_id';
66+
67+
#Step3:重新部署并记录su账号密码
68+
```
5069
### 3. 访问您的安装
5170
5271
部署成功完成后:
5372
1. 在浏览器中打开 **http://localhost:3000**
73+
2. 登录超级管理员账号
74+
3. 访问租户资源 → 创建租户及租户管理员
75+
4. 登录租户管理员账号
5476
2. 参考 [用户指南](../user-guide/home-page) 进行智能体的开发
5577
5678

0 commit comments

Comments
 (0)