feat: publish Dever core with project scaffolding and versioned AI skills
This commit is contained in:
1 parent
70fa73cdc2
commit
ac458ffa7f
960 files changed
+221319
-1163
No files matched your search
@@ -0,0 +1,18 @@
|
||||
# 系统健康命令
|
||||
|
||||
声明本地健康检查命令。
|
||||
|
||||
- 包:`system.health.api`
|
||||
- 公开类型:无
|
||||
- 公开方法:无
|
||||
- 使用:无
|
||||
|
||||
## ping
|
||||
|
||||
将命令映射到健康检查 App。
|
||||
|
||||
- 声明:`cmd ping`
|
||||
|
||||
```dever
|
||||
cmd ping = app.ping
|
||||
```
|
||||
@@ -0,0 +1,42 @@
|
||||
# 系统健康
|
||||
|
||||
提供无需业务状态的本地运行检查。
|
||||
|
||||
- 包:`system.health.app`
|
||||
- 公开类型:
|
||||
- `HealthView`
|
||||
- 公开方法:
|
||||
- `ping`
|
||||
- 使用:
|
||||
- `system.health.ping()`
|
||||
|
||||
## HealthView
|
||||
|
||||
返回健康检查的就绪状态。
|
||||
|
||||
- 类型:`HealthView`
|
||||
- 字段:
|
||||
- `status: Text`:状态
|
||||
|
||||
```dever
|
||||
type HealthView {
|
||||
status: Text
|
||||
}
|
||||
```
|
||||
|
||||
## 健康检查
|
||||
|
||||
返回固定的就绪状态。
|
||||
|
||||
- 函数:`ping`
|
||||
- 输入:无
|
||||
- 输出:
|
||||
- `result: HealthView`:健康状态
|
||||
|
||||
```dever
|
||||
ping() (result: HealthView) {
|
||||
result = HealthView {
|
||||
status = "ready"
|
||||
}
|
||||
}
|
||||
```
|
||||
Reference in new issue
Block a user