复现已有算法

This commit is contained in:
cloud
2026-07-14 15:43:18 +08:00
parent abebd2a683
commit 50b8111fd9
860 changed files with 182250 additions and 18 deletions
+48
View File
@@ -0,0 +1,48 @@
---
name: edge-82-release
description: 82主机发布流程。用于用户说“去82主机编译”“去82主机编译代码”“去82发布xxx版本”“发布并上传版本”时,默认到 192.168.40.82 的 /home/cat/code/edge_collector 执行 git pull 与打包;发布并上传时再把产物上传到云平台 admin 账号。
---
# 82 主机发布流程
## 何时使用
- 去82主机编译代码
- 去82主机编译
- 去82发布 xxx 版本
- 发布并上传版本
## 固定环境
- 主机:`cat@192.168.40.82`
- 代码根目录:`/home/cat/code/edge_collector`
- 构建目标:`arm64`
- 云平台:`http://119.45.4.75:8081`
- 云端账号:`admin`
## 执行顺序
1. 去82主机编译代码
- `cd /home/cat/code/edge_collector`
- `git pull`
- `./package.sh --edge`
2. 去82发布 xxx 版本
- `cd /home/cat/code/edge_collector`
- `git pull`
- `./package.sh --publish --version xxx`
3. 发布并上传版本
- 先按“去82发布 xxx 版本”执行
- 再把 `publish/edge_<version>_arm64.tar.gz` 上传到云平台
- 使用云平台默认 `admin` 账号登录
## 上传字段
- `file`
- `package_type=edge`
- `version=<版本号>`
- `target_arch=arm64`
- `release_type=stable`
- `visibility=platform`
- `enabled=true`
@@ -0,0 +1,3 @@
display_name: 82发布流程
short_description: 82主机编译、发布和上传规则
default_prompt: Use this skill when the user asks "去82主机编译", "去82主机编译代码", or asks to publish/publish-and-upload from host 82. For compile requests, go to /home/cat/code/edge_collector on 192.168.40.82, run git pull first, then run ./package.sh --edge. For publish requests, run ./package.sh --publish --version <version>. Upload to the cloud admin account only when the user explicitly asks to publish and upload.