@optima-chat/dev-skills 0.9.1 → 0.9.2
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: "logs"
|
|
3
|
-
description: "当用户请求查看日志、查看服务日志、排查问题、看看日志、检查日志、商品服务日志、后端日志、API日志、正式环境日志、生产环境日志、CI环境日志、开发环境日志、阿里云日志、cn-prod 日志、SAE 日志时,使用此技能。支持 CI、Stage、Prod(AWS ECS/CloudWatch)以及 cn-prod(阿里云 SAE
|
|
3
|
+
description: "当用户请求查看日志、查看服务日志、排查问题、看看日志、检查日志、商品服务日志、后端日志、API日志、正式环境日志、生产环境日志、CI环境日志、开发环境日志、阿里云日志、cn-prod 日志、SAE 日志时,使用此技能。支持 CI、Stage、Prod(AWS ECS/CloudWatch)以及 cn-prod(阿里云 SAE/SLS)四个环境的 commerce-backend、user-auth、agentic-chat、gateway-core、optima-scout、optima-skills 等服务。"
|
|
4
4
|
allowed-tools: ["Bash", "SlashCommand"]
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -183,10 +183,10 @@ INFO - Database query took 3200ms: SELECT * FROM products WHERE...
|
|
|
183
183
|
```
|
|
184
184
|
|
|
185
185
|
**特点**:
|
|
186
|
-
- 阿里云 **
|
|
187
|
-
-
|
|
188
|
-
-
|
|
189
|
-
-
|
|
186
|
+
- 阿里云 **SLS**(日志服务,cn-beijing),不是 AWS CloudWatch
|
|
187
|
+
- ✅ 用 `optima-logs <svc> --env cn-prod` **直连 SLS**(`aliyun sls GetLogs`,公网控制面 API)——免 buildbox 跳板,支持历史检索 + 时间窗(`--since`)+ 关键词(`--grep`)
|
|
188
|
+
- 前置:本机需装 `aliyun` CLI + `aliyun-optima` profile(cn-beijing)
|
|
189
|
+
- 旧的「buildbox → SAE `DescribeInstanceLog` 取当前缓冲」已弃用(缓冲式、重启即丢、不能检索);技术细节见 `/logs --help`(第 3 节)
|
|
190
190
|
|
|
191
191
|
## 支持的服务列表
|
|
192
192
|
|