openxiangda-devkit-core 2.0.0-alpha.12 → 2.0.0-alpha.120
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.
- package/README.md +3 -8
- package/dist/app-spec.d.ts +228 -0
- package/dist/app-spec.d.ts.map +1 -0
- package/dist/app-spec.js +1443 -0
- package/dist/app-spec.js.map +1 -0
- package/dist/application-services.d.ts +996 -49
- package/dist/application-services.d.ts.map +1 -1
- package/dist/application-services.js +1348 -197
- package/dist/application-services.js.map +1 -1
- package/dist/application-ui-contract.d.ts +5 -0
- package/dist/application-ui-contract.d.ts.map +1 -0
- package/dist/application-ui-contract.js +149 -0
- package/dist/application-ui-contract.js.map +1 -0
- package/dist/backend-image-build.d.ts +23 -0
- package/dist/backend-image-build.d.ts.map +1 -0
- package/dist/backend-image-build.js +204 -0
- package/dist/backend-image-build.js.map +1 -0
- package/dist/command-process.d.ts +14 -0
- package/dist/command-process.d.ts.map +1 -0
- package/dist/command-process.js +51 -0
- package/dist/command-process.js.map +1 -0
- package/dist/command-registry.d.ts +118 -371
- package/dist/command-registry.d.ts.map +1 -1
- package/dist/command-registry.js +25 -266
- package/dist/command-registry.js.map +1 -1
- package/dist/compiler/ai-catalog.d.ts +4 -0
- package/dist/compiler/ai-catalog.d.ts.map +1 -0
- package/dist/compiler/ai-catalog.js +354 -0
- package/dist/compiler/ai-catalog.js.map +1 -0
- package/dist/compiler/application-model.d.ts +60 -0
- package/dist/compiler/application-model.d.ts.map +1 -0
- package/dist/compiler/application-model.js +141 -0
- package/dist/compiler/application-model.js.map +1 -0
- package/dist/compiler/authorization-transition.d.ts +7 -0
- package/dist/compiler/authorization-transition.d.ts.map +1 -0
- package/dist/compiler/authorization-transition.js +27 -0
- package/dist/compiler/authorization-transition.js.map +1 -0
- package/dist/compiler/bundle.d.ts +34 -0
- package/dist/compiler/bundle.d.ts.map +1 -0
- package/dist/compiler/bundle.js +1910 -0
- package/dist/compiler/bundle.js.map +1 -0
- package/dist/compiler/config.d.ts +882 -0
- package/dist/compiler/config.d.ts.map +1 -0
- package/dist/compiler/config.js +4118 -0
- package/dist/compiler/config.js.map +1 -0
- package/dist/compiler/data-policy-expression.d.ts +12 -0
- package/dist/compiler/data-policy-expression.d.ts.map +1 -0
- package/dist/compiler/data-policy-expression.js +43 -0
- package/dist/compiler/data-policy-expression.js.map +1 -0
- package/dist/compiler/field-codec.d.ts +14 -0
- package/dist/compiler/field-codec.d.ts.map +1 -0
- package/dist/compiler/field-codec.js +131 -0
- package/dist/compiler/field-codec.js.map +1 -0
- package/dist/compiler/field-physical-plan.d.ts +10 -0
- package/dist/compiler/field-physical-plan.d.ts.map +1 -0
- package/dist/compiler/field-physical-plan.js +66 -0
- package/dist/compiler/field-physical-plan.js.map +1 -0
- package/dist/compiler/field-policy-path.d.ts +10 -0
- package/dist/compiler/field-policy-path.d.ts.map +1 -0
- package/dist/compiler/field-policy-path.js +283 -0
- package/dist/compiler/field-policy-path.js.map +1 -0
- package/dist/compiler/field-query-plan.d.ts +13 -0
- package/dist/compiler/field-query-plan.d.ts.map +1 -0
- package/dist/compiler/field-query-plan.js +122 -0
- package/dist/compiler/field-query-plan.js.map +1 -0
- package/dist/compiler/field-surface.d.ts +15 -0
- package/dist/compiler/field-surface.d.ts.map +1 -0
- package/dist/compiler/field-surface.js +51 -0
- package/dist/compiler/field-surface.js.map +1 -0
- package/dist/compiler/index.d.ts +6 -0
- package/dist/compiler/index.d.ts.map +1 -0
- package/dist/compiler/index.js +6 -0
- package/dist/compiler/index.js.map +1 -0
- package/dist/compiler/package-compiler.d.ts +22 -0
- package/dist/compiler/package-compiler.d.ts.map +1 -0
- package/dist/compiler/package-compiler.js +257 -0
- package/dist/compiler/package-compiler.js.map +1 -0
- package/dist/compiler/permission-review.d.ts +139 -0
- package/dist/compiler/permission-review.d.ts.map +1 -0
- package/dist/compiler/permission-review.js +131 -0
- package/dist/compiler/permission-review.js.map +1 -0
- package/dist/compiler/schema-composition.d.ts +21 -0
- package/dist/compiler/schema-composition.d.ts.map +1 -0
- package/dist/compiler/schema-composition.js +193 -0
- package/dist/compiler/schema-composition.js.map +1 -0
- package/dist/config.d.ts +1 -1
- package/dist/config.js +1 -1
- package/dist/configuration-preflight.d.ts +7 -0
- package/dist/configuration-preflight.d.ts.map +1 -0
- package/dist/configuration-preflight.js +13 -0
- package/dist/configuration-preflight.js.map +1 -0
- package/dist/connected-development.d.ts +62 -0
- package/dist/connected-development.d.ts.map +1 -0
- package/dist/connected-development.js +393 -0
- package/dist/connected-development.js.map +1 -0
- package/dist/control-plane-client.d.ts +353 -123
- package/dist/control-plane-client.d.ts.map +1 -1
- package/dist/control-plane-client.js +420 -141
- package/dist/control-plane-client.js.map +1 -1
- package/dist/delivery-cache.d.ts +34 -0
- package/dist/delivery-cache.d.ts.map +1 -0
- package/dist/delivery-cache.js +186 -0
- package/dist/delivery-cache.js.map +1 -0
- package/dist/delivery-source.d.ts +17 -0
- package/dist/delivery-source.d.ts.map +1 -0
- package/dist/delivery-source.js +85 -0
- package/dist/delivery-source.js.map +1 -0
- package/dist/deployment-observer.d.ts +14 -0
- package/dist/deployment-observer.d.ts.map +1 -0
- package/dist/deployment-observer.js +68 -0
- package/dist/deployment-observer.js.map +1 -0
- package/dist/deployment.d.ts +55 -3
- package/dist/deployment.d.ts.map +1 -1
- package/dist/deployment.js +182 -21
- package/dist/deployment.js.map +1 -1
- package/dist/design-readiness.d.ts +24 -0
- package/dist/design-readiness.d.ts.map +1 -0
- package/dist/design-readiness.js +102 -0
- package/dist/design-readiness.js.map +1 -0
- package/dist/developer-errors.d.ts +11 -0
- package/dist/developer-errors.d.ts.map +1 -0
- package/dist/developer-errors.js +16 -0
- package/dist/developer-errors.js.map +1 -0
- package/dist/developer-operations.d.ts +188 -0
- package/dist/developer-operations.d.ts.map +1 -0
- package/dist/developer-operations.js +58 -0
- package/dist/developer-operations.js.map +1 -0
- package/dist/development-lifecycle.d.ts +75 -0
- package/dist/development-lifecycle.d.ts.map +1 -0
- package/dist/development-lifecycle.js +189 -0
- package/dist/development-lifecycle.js.map +1 -0
- package/dist/documentation.d.ts +111 -0
- package/dist/documentation.d.ts.map +1 -0
- package/dist/documentation.js +112 -0
- package/dist/documentation.js.map +1 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16 -0
- package/dist/index.js.map +1 -1
- package/dist/internal/workflow.d.ts +83 -0
- package/dist/internal/workflow.d.ts.map +1 -0
- package/dist/internal/workflow.js +419 -0
- package/dist/internal/workflow.js.map +1 -0
- package/dist/nest-injection-contract.d.ts +4 -0
- package/dist/nest-injection-contract.d.ts.map +1 -0
- package/dist/nest-injection-contract.js +116 -0
- package/dist/nest-injection-contract.js.map +1 -0
- package/dist/operation-progress.d.ts +26 -0
- package/dist/operation-progress.d.ts.map +1 -0
- package/dist/operation-progress.js +92 -0
- package/dist/operation-progress.js.map +1 -0
- package/dist/optional-backend.d.ts +14 -0
- package/dist/optional-backend.d.ts.map +1 -0
- package/dist/optional-backend.js +145 -0
- package/dist/optional-backend.js.map +1 -0
- package/dist/package-compiler.d.ts +1 -1
- package/dist/package-compiler.d.ts.map +1 -1
- package/dist/package-compiler.js +1 -1
- package/dist/package-compiler.js.map +1 -1
- package/dist/session.d.ts +127 -4
- package/dist/session.d.ts.map +1 -1
- package/dist/session.js +326 -23
- package/dist/session.js.map +1 -1
- package/dist/testing.d.ts +77 -0
- package/dist/testing.d.ts.map +1 -0
- package/dist/testing.js +213 -0
- package/dist/testing.js.map +1 -0
- package/dist/toolchain-capsule.d.ts +45 -0
- package/dist/toolchain-capsule.d.ts.map +1 -0
- package/dist/toolchain-capsule.js +165 -0
- package/dist/toolchain-capsule.js.map +1 -0
- package/dist/workspace-loader.d.ts +1 -1
- package/dist/workspace-loader.d.ts.map +1 -1
- package/dist/workspace-loader.js +35 -3
- package/dist/workspace-loader.js.map +1 -1
- package/dist/workspace-operation.d.ts +3 -0
- package/dist/workspace-operation.d.ts.map +1 -0
- package/dist/workspace-operation.js +45 -0
- package/dist/workspace-operation.js.map +1 -0
- package/dist/workspace.d.ts.map +1 -1
- package/dist/workspace.js +37 -1
- package/dist/workspace.js.map +1 -1
- package/package.json +16 -4
- package/templates/backend/Dockerfile +20 -0
- package/templates/backend/package.json +27 -0
- package/templates/backend/src/app.module.ts +23 -0
- package/templates/backend/src/main.ts +5 -0
- package/templates/backend/tsconfig.json +9 -0
|
@@ -4,457 +4,204 @@ export interface DevkitCommandDefinition {
|
|
|
4
4
|
operation: string;
|
|
5
5
|
summary: string;
|
|
6
6
|
risk: DevkitCommandRisk;
|
|
7
|
+
studioJsonEvents?: true;
|
|
7
8
|
}
|
|
8
9
|
export declare const DEVKIT_COMMANDS: readonly [{
|
|
9
|
-
readonly id: "
|
|
10
|
-
readonly operation: "
|
|
11
|
-
readonly summary: "
|
|
12
|
-
readonly risk: "write-local";
|
|
13
|
-
}, {
|
|
14
|
-
readonly id: "auth:status";
|
|
15
|
-
readonly operation: "auth.status";
|
|
16
|
-
readonly summary: "查看当前登录会话";
|
|
17
|
-
readonly risk: "read";
|
|
18
|
-
}, {
|
|
19
|
-
readonly id: "auth:logout";
|
|
20
|
-
readonly operation: "auth.logout";
|
|
21
|
-
readonly summary: "删除当前登录会话";
|
|
22
|
-
readonly risk: "write-local";
|
|
23
|
-
}, {
|
|
24
|
-
readonly id: "app:create";
|
|
25
|
-
readonly operation: "app.create";
|
|
26
|
-
readonly summary: "从官方模板创建 2.0 应用";
|
|
27
|
-
readonly risk: "write-local";
|
|
28
|
-
}, {
|
|
29
|
-
readonly id: "app:link";
|
|
30
|
-
readonly operation: "app.link";
|
|
31
|
-
readonly summary: "绑定平台地址和应用环境";
|
|
32
|
-
readonly risk: "write-local";
|
|
33
|
-
}, {
|
|
34
|
-
readonly id: "app:provision";
|
|
35
|
-
readonly operation: "app.provision";
|
|
36
|
-
readonly summary: "在平台幂等创建 2.0 应用身份";
|
|
37
|
-
readonly risk: "deploy";
|
|
38
|
-
}, {
|
|
39
|
-
readonly id: "app:info";
|
|
40
|
-
readonly operation: "app.info";
|
|
41
|
-
readonly summary: "读取应用工作区上下文";
|
|
42
|
-
readonly risk: "read";
|
|
43
|
-
}, {
|
|
44
|
-
readonly id: "oauth:client:list";
|
|
45
|
-
readonly operation: "oauth.client.list";
|
|
46
|
-
readonly summary: "查询应用 OAuth2 客户端";
|
|
47
|
-
readonly risk: "read";
|
|
48
|
-
}, {
|
|
49
|
-
readonly id: "oauth:client:create";
|
|
50
|
-
readonly operation: "oauth.client.create";
|
|
51
|
-
readonly summary: "创建环境绑定的 OAuth2 客户端";
|
|
52
|
-
readonly risk: "deploy";
|
|
53
|
-
}, {
|
|
54
|
-
readonly id: "oauth:client:update";
|
|
55
|
-
readonly operation: "oauth.client.update";
|
|
56
|
-
readonly summary: "更新 OAuth2 客户端";
|
|
57
|
-
readonly risk: "deploy";
|
|
58
|
-
}, {
|
|
59
|
-
readonly id: "oauth:client:rotate";
|
|
60
|
-
readonly operation: "oauth.client.rotate";
|
|
61
|
-
readonly summary: "双密钥轮换 OAuth2 客户端";
|
|
62
|
-
readonly risk: "deploy";
|
|
63
|
-
}, {
|
|
64
|
-
readonly id: "oauth:client:revoke";
|
|
65
|
-
readonly operation: "oauth.client.revoke";
|
|
66
|
-
readonly summary: "吊销 OAuth2 客户端";
|
|
67
|
-
readonly risk: "deploy";
|
|
68
|
-
}, {
|
|
69
|
-
readonly id: "oauth:runtime:status";
|
|
70
|
-
readonly operation: "oauth.runtime.status";
|
|
71
|
-
readonly summary: "查询平台托管运行凭据状态";
|
|
72
|
-
readonly risk: "read";
|
|
73
|
-
}, {
|
|
74
|
-
readonly id: "oauth:runtime:rotate";
|
|
75
|
-
readonly operation: "oauth.runtime.rotate";
|
|
76
|
-
readonly summary: "暂存运行凭据并创建同版本滚动部署";
|
|
77
|
-
readonly risk: "deploy";
|
|
78
|
-
}, {
|
|
79
|
-
readonly id: "oauth:audit:list";
|
|
80
|
-
readonly operation: "oauth.audit.list";
|
|
81
|
-
readonly summary: "查询 OAuth2 审计事件";
|
|
82
|
-
readonly risk: "read";
|
|
83
|
-
}, {
|
|
84
|
-
readonly id: "secret:list";
|
|
85
|
-
readonly operation: "secret.list";
|
|
86
|
-
readonly summary: "查询环境隔离的应用 Secret 元数据";
|
|
10
|
+
readonly id: "context";
|
|
11
|
+
readonly operation: "workspace.context";
|
|
12
|
+
readonly summary: "只读查看工作区、版本与平台绑定";
|
|
87
13
|
readonly risk: "read";
|
|
88
14
|
}, {
|
|
89
|
-
readonly id: "
|
|
90
|
-
readonly operation: "
|
|
91
|
-
readonly summary: "
|
|
92
|
-
readonly risk: "deploy";
|
|
93
|
-
}, {
|
|
94
|
-
readonly id: "secret:update";
|
|
95
|
-
readonly operation: "secret.update";
|
|
96
|
-
readonly summary: "更新应用 Secret 元数据和状态";
|
|
97
|
-
readonly risk: "deploy";
|
|
98
|
-
}, {
|
|
99
|
-
readonly id: "secret:rotate";
|
|
100
|
-
readonly operation: "secret.rotate";
|
|
101
|
-
readonly summary: "追加不可变版本并轮换应用 Secret";
|
|
102
|
-
readonly risk: "deploy";
|
|
103
|
-
}, {
|
|
104
|
-
readonly id: "secret:delete";
|
|
105
|
-
readonly operation: "secret.delete";
|
|
106
|
-
readonly summary: "删除未被当前配置引用的应用 Secret";
|
|
107
|
-
readonly risk: "deploy";
|
|
108
|
-
}, {
|
|
109
|
-
readonly id: "secret:audit:list";
|
|
110
|
-
readonly operation: "secret.audit.list";
|
|
111
|
-
readonly summary: "查询应用 Secret 审计事件";
|
|
15
|
+
readonly id: "docs";
|
|
16
|
+
readonly operation: "docs";
|
|
17
|
+
readonly summary: "按主题和章节读取当前版本中文资料";
|
|
112
18
|
readonly risk: "read";
|
|
113
19
|
}, {
|
|
114
|
-
readonly id: "
|
|
115
|
-
readonly operation: "
|
|
116
|
-
readonly summary: "
|
|
20
|
+
readonly id: "admin";
|
|
21
|
+
readonly operation: "admin";
|
|
22
|
+
readonly summary: "只读查看应用管理能力和流程节点运行配置";
|
|
117
23
|
readonly risk: "read";
|
|
118
24
|
}, {
|
|
119
|
-
readonly id: "
|
|
120
|
-
readonly operation: "
|
|
121
|
-
readonly summary: "
|
|
122
|
-
readonly risk: "deploy";
|
|
123
|
-
}, {
|
|
124
|
-
readonly id: "event:subscription:rotate-secret";
|
|
125
|
-
readonly operation: "event.subscription.rotate";
|
|
126
|
-
readonly summary: "暂存下一版本事件签名密钥并随下次部署激活";
|
|
25
|
+
readonly id: "create";
|
|
26
|
+
readonly operation: "create";
|
|
27
|
+
readonly summary: "创建、绑定并初始化应用";
|
|
127
28
|
readonly risk: "deploy";
|
|
128
|
-
|
|
129
|
-
readonly id: "event:delivery:list";
|
|
130
|
-
readonly operation: "event.delivery.list";
|
|
131
|
-
readonly summary: "查询事件投递与死信";
|
|
132
|
-
readonly risk: "read";
|
|
133
|
-
}, {
|
|
134
|
-
readonly id: "event:delivery:replay";
|
|
135
|
-
readonly operation: "event.delivery.replay";
|
|
136
|
-
readonly summary: "幂等回放历史事件投递";
|
|
137
|
-
readonly risk: "deploy";
|
|
138
|
-
}, {
|
|
139
|
-
readonly id: "event:timer:list";
|
|
140
|
-
readonly operation: "event.timer.list";
|
|
141
|
-
readonly summary: "查询定时事件";
|
|
142
|
-
readonly risk: "read";
|
|
143
|
-
}, {
|
|
144
|
-
readonly id: "event:timer:status";
|
|
145
|
-
readonly operation: "event.timer.status";
|
|
146
|
-
readonly summary: "暂停或恢复定时事件";
|
|
147
|
-
readonly risk: "deploy";
|
|
148
|
-
}, {
|
|
149
|
-
readonly id: "workflow:provider:list";
|
|
150
|
-
readonly operation: "workflow.provider.list";
|
|
151
|
-
readonly summary: "查询 Workflow Assignee Provider";
|
|
152
|
-
readonly risk: "read";
|
|
153
|
-
}, {
|
|
154
|
-
readonly id: "workflow:provider:rotate";
|
|
155
|
-
readonly operation: "workflow.provider.rotate";
|
|
156
|
-
readonly summary: "轮换 Workflow Provider 签名密钥";
|
|
157
|
-
readonly risk: "deploy";
|
|
158
|
-
}, {
|
|
159
|
-
readonly id: "skill:install";
|
|
160
|
-
readonly operation: "skill.install";
|
|
161
|
-
readonly summary: "安装 OpenXiangda 2.0 AI Skills";
|
|
162
|
-
readonly risk: "write-local";
|
|
163
|
-
}, {
|
|
164
|
-
readonly id: "skill:validate";
|
|
165
|
-
readonly operation: "skill.validate";
|
|
166
|
-
readonly summary: "验证 OpenXiangda 2.0 AI Skills";
|
|
167
|
-
readonly risk: "read";
|
|
29
|
+
readonly studioJsonEvents: true;
|
|
168
30
|
}, {
|
|
169
31
|
readonly id: "dev";
|
|
170
32
|
readonly operation: "dev";
|
|
171
|
-
readonly summary: "
|
|
172
|
-
readonly risk: "write-local";
|
|
173
|
-
}, {
|
|
174
|
-
readonly id: "generate";
|
|
175
|
-
readonly operation: "generate";
|
|
176
|
-
readonly summary: "生成 Data/App/Workflow/Event 类型契约";
|
|
33
|
+
readonly summary: "连接平台测试数据启动本地 Web,按需启动 Nest";
|
|
177
34
|
readonly risk: "write-local";
|
|
35
|
+
readonly studioJsonEvents: true;
|
|
178
36
|
}, {
|
|
179
37
|
readonly id: "check";
|
|
180
38
|
readonly operation: "check";
|
|
181
|
-
readonly summary: "
|
|
182
|
-
readonly risk: "read";
|
|
183
|
-
}, {
|
|
184
|
-
readonly id: "test";
|
|
185
|
-
readonly operation: "test";
|
|
186
|
-
readonly summary: "运行应用测试";
|
|
187
|
-
readonly risk: "read";
|
|
188
|
-
}, {
|
|
189
|
-
readonly id: "build";
|
|
190
|
-
readonly operation: "build";
|
|
191
|
-
readonly summary: "构建并密封一个 AppPackage";
|
|
39
|
+
readonly summary: "生成契约并在目标平台预检后执行检查、测试和构建";
|
|
192
40
|
readonly risk: "write-local";
|
|
41
|
+
readonly studioJsonEvents: true;
|
|
193
42
|
}, {
|
|
194
|
-
readonly id: "
|
|
195
|
-
readonly operation: "
|
|
196
|
-
readonly summary: "
|
|
43
|
+
readonly id: "accept";
|
|
44
|
+
readonly operation: "accept";
|
|
45
|
+
readonly summary: "按计划准备可选的真实预发验收身份";
|
|
197
46
|
readonly risk: "deploy";
|
|
198
47
|
}, {
|
|
199
|
-
readonly id: "
|
|
200
|
-
readonly operation: "
|
|
201
|
-
readonly summary: "
|
|
48
|
+
readonly id: "deploy";
|
|
49
|
+
readonly operation: "deploy";
|
|
50
|
+
readonly summary: "部署测试环境或显式复用测试版本部署生产";
|
|
202
51
|
readonly risk: "deploy";
|
|
52
|
+
readonly studioJsonEvents: true;
|
|
203
53
|
}, {
|
|
204
54
|
readonly id: "status";
|
|
205
55
|
readonly operation: "status";
|
|
206
|
-
readonly summary: "
|
|
56
|
+
readonly summary: "查询最近或指定部署状态";
|
|
207
57
|
readonly risk: "read";
|
|
208
58
|
}, {
|
|
209
59
|
readonly id: "logs";
|
|
210
60
|
readonly operation: "logs";
|
|
211
|
-
readonly summary: "
|
|
61
|
+
readonly summary: "查询最近或指定部署日志";
|
|
212
62
|
readonly risk: "read";
|
|
63
|
+
readonly studioJsonEvents: true;
|
|
64
|
+
}, {
|
|
65
|
+
readonly id: "cancel";
|
|
66
|
+
readonly operation: "cancel";
|
|
67
|
+
readonly summary: "幂等取消尚未提交激活的部署";
|
|
68
|
+
readonly risk: "deploy";
|
|
213
69
|
}, {
|
|
214
70
|
readonly id: "retry";
|
|
215
71
|
readonly operation: "retry";
|
|
216
|
-
readonly summary: "
|
|
72
|
+
readonly summary: "显式重试可恢复的失败部署";
|
|
217
73
|
readonly risk: "deploy";
|
|
218
74
|
}, {
|
|
219
|
-
readonly id: "
|
|
220
|
-
readonly operation: "
|
|
221
|
-
readonly summary: "
|
|
75
|
+
readonly id: "start";
|
|
76
|
+
readonly operation: "environment.start";
|
|
77
|
+
readonly summary: "从当前不可变版本启动应用环境";
|
|
78
|
+
readonly risk: "deploy";
|
|
79
|
+
}, {
|
|
80
|
+
readonly id: "stop";
|
|
81
|
+
readonly operation: "environment.stop";
|
|
82
|
+
readonly summary: "将应用环境缩容为零并保留数据";
|
|
222
83
|
readonly risk: "deploy";
|
|
223
84
|
}, {
|
|
224
85
|
readonly id: "rollback";
|
|
225
86
|
readonly operation: "rollback";
|
|
226
|
-
readonly summary: "
|
|
87
|
+
readonly summary: "回滚测试或生产环境";
|
|
227
88
|
readonly risk: "deploy";
|
|
89
|
+
readonly studioJsonEvents: true;
|
|
228
90
|
}, {
|
|
229
|
-
readonly id: "
|
|
230
|
-
readonly operation: "
|
|
231
|
-
readonly summary: "
|
|
232
|
-
readonly risk: "read";
|
|
233
|
-
}];
|
|
234
|
-
export declare function commandDefinition(id: string): {
|
|
235
|
-
readonly id: "auth:login";
|
|
236
|
-
readonly operation: "auth.login";
|
|
237
|
-
readonly summary: "保存 2.0 平台登录会话";
|
|
238
|
-
readonly risk: "write-local";
|
|
239
|
-
} | {
|
|
240
|
-
readonly id: "auth:status";
|
|
241
|
-
readonly operation: "auth.status";
|
|
242
|
-
readonly summary: "查看当前登录会话";
|
|
243
|
-
readonly risk: "read";
|
|
244
|
-
} | {
|
|
245
|
-
readonly id: "auth:logout";
|
|
246
|
-
readonly operation: "auth.logout";
|
|
247
|
-
readonly summary: "删除当前登录会话";
|
|
91
|
+
readonly id: "login";
|
|
92
|
+
readonly operation: "login";
|
|
93
|
+
readonly summary: "通过平台浏览器授权登录";
|
|
248
94
|
readonly risk: "write-local";
|
|
249
|
-
}
|
|
250
|
-
readonly id: "
|
|
251
|
-
readonly operation: "
|
|
252
|
-
readonly summary: "
|
|
95
|
+
}, {
|
|
96
|
+
readonly id: "skill";
|
|
97
|
+
readonly operation: "skill install";
|
|
98
|
+
readonly summary: "安装当前版本的 AI Skill";
|
|
253
99
|
readonly risk: "write-local";
|
|
254
|
-
}
|
|
255
|
-
readonly id: "
|
|
256
|
-
readonly operation: "
|
|
257
|
-
readonly summary: "
|
|
100
|
+
}, {
|
|
101
|
+
readonly id: "spec";
|
|
102
|
+
readonly operation: "spec";
|
|
103
|
+
readonly summary: "维护需求、设计、变更与业务验收记录";
|
|
258
104
|
readonly risk: "write-local";
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
readonly
|
|
262
|
-
readonly
|
|
263
|
-
readonly
|
|
264
|
-
} | {
|
|
265
|
-
readonly id: "app:info";
|
|
266
|
-
readonly operation: "app.info";
|
|
267
|
-
readonly summary: "读取应用工作区上下文";
|
|
268
|
-
readonly risk: "read";
|
|
269
|
-
} | {
|
|
270
|
-
readonly id: "oauth:client:list";
|
|
271
|
-
readonly operation: "oauth.client.list";
|
|
272
|
-
readonly summary: "查询应用 OAuth2 客户端";
|
|
273
|
-
readonly risk: "read";
|
|
274
|
-
} | {
|
|
275
|
-
readonly id: "oauth:client:create";
|
|
276
|
-
readonly operation: "oauth.client.create";
|
|
277
|
-
readonly summary: "创建环境绑定的 OAuth2 客户端";
|
|
278
|
-
readonly risk: "deploy";
|
|
279
|
-
} | {
|
|
280
|
-
readonly id: "oauth:client:update";
|
|
281
|
-
readonly operation: "oauth.client.update";
|
|
282
|
-
readonly summary: "更新 OAuth2 客户端";
|
|
283
|
-
readonly risk: "deploy";
|
|
284
|
-
} | {
|
|
285
|
-
readonly id: "oauth:client:rotate";
|
|
286
|
-
readonly operation: "oauth.client.rotate";
|
|
287
|
-
readonly summary: "双密钥轮换 OAuth2 客户端";
|
|
288
|
-
readonly risk: "deploy";
|
|
289
|
-
} | {
|
|
290
|
-
readonly id: "oauth:client:revoke";
|
|
291
|
-
readonly operation: "oauth.client.revoke";
|
|
292
|
-
readonly summary: "吊销 OAuth2 客户端";
|
|
293
|
-
readonly risk: "deploy";
|
|
294
|
-
} | {
|
|
295
|
-
readonly id: "oauth:runtime:status";
|
|
296
|
-
readonly operation: "oauth.runtime.status";
|
|
297
|
-
readonly summary: "查询平台托管运行凭据状态";
|
|
298
|
-
readonly risk: "read";
|
|
299
|
-
} | {
|
|
300
|
-
readonly id: "oauth:runtime:rotate";
|
|
301
|
-
readonly operation: "oauth.runtime.rotate";
|
|
302
|
-
readonly summary: "暂存运行凭据并创建同版本滚动部署";
|
|
303
|
-
readonly risk: "deploy";
|
|
304
|
-
} | {
|
|
305
|
-
readonly id: "oauth:audit:list";
|
|
306
|
-
readonly operation: "oauth.audit.list";
|
|
307
|
-
readonly summary: "查询 OAuth2 审计事件";
|
|
308
|
-
readonly risk: "read";
|
|
309
|
-
} | {
|
|
310
|
-
readonly id: "secret:list";
|
|
311
|
-
readonly operation: "secret.list";
|
|
312
|
-
readonly summary: "查询环境隔离的应用 Secret 元数据";
|
|
313
|
-
readonly risk: "read";
|
|
314
|
-
} | {
|
|
315
|
-
readonly id: "secret:create";
|
|
316
|
-
readonly operation: "secret.create";
|
|
317
|
-
readonly summary: "从本机安全来源创建应用 Secret";
|
|
318
|
-
readonly risk: "deploy";
|
|
319
|
-
} | {
|
|
320
|
-
readonly id: "secret:update";
|
|
321
|
-
readonly operation: "secret.update";
|
|
322
|
-
readonly summary: "更新应用 Secret 元数据和状态";
|
|
323
|
-
readonly risk: "deploy";
|
|
324
|
-
} | {
|
|
325
|
-
readonly id: "secret:rotate";
|
|
326
|
-
readonly operation: "secret.rotate";
|
|
327
|
-
readonly summary: "追加不可变版本并轮换应用 Secret";
|
|
328
|
-
readonly risk: "deploy";
|
|
329
|
-
} | {
|
|
330
|
-
readonly id: "secret:delete";
|
|
331
|
-
readonly operation: "secret.delete";
|
|
332
|
-
readonly summary: "删除未被当前配置引用的应用 Secret";
|
|
333
|
-
readonly risk: "deploy";
|
|
334
|
-
} | {
|
|
335
|
-
readonly id: "secret:audit:list";
|
|
336
|
-
readonly operation: "secret.audit.list";
|
|
337
|
-
readonly summary: "查询应用 Secret 审计事件";
|
|
338
|
-
readonly risk: "read";
|
|
339
|
-
} | {
|
|
340
|
-
readonly id: "event:subscription:list";
|
|
341
|
-
readonly operation: "event.subscription.list";
|
|
342
|
-
readonly summary: "查询应用事件订阅";
|
|
343
|
-
readonly risk: "read";
|
|
344
|
-
} | {
|
|
345
|
-
readonly id: "event:subscription:status";
|
|
346
|
-
readonly operation: "event.subscription.status";
|
|
347
|
-
readonly summary: "暂停或恢复事件订阅";
|
|
348
|
-
readonly risk: "deploy";
|
|
349
|
-
} | {
|
|
350
|
-
readonly id: "event:subscription:rotate-secret";
|
|
351
|
-
readonly operation: "event.subscription.rotate";
|
|
352
|
-
readonly summary: "暂存下一版本事件签名密钥并随下次部署激活";
|
|
353
|
-
readonly risk: "deploy";
|
|
354
|
-
} | {
|
|
355
|
-
readonly id: "event:delivery:list";
|
|
356
|
-
readonly operation: "event.delivery.list";
|
|
357
|
-
readonly summary: "查询事件投递与死信";
|
|
105
|
+
}];
|
|
106
|
+
export declare function commandDefinition(id: string): {
|
|
107
|
+
readonly id: "context";
|
|
108
|
+
readonly operation: "workspace.context";
|
|
109
|
+
readonly summary: "只读查看工作区、版本与平台绑定";
|
|
358
110
|
readonly risk: "read";
|
|
359
111
|
} | {
|
|
360
|
-
readonly id: "
|
|
361
|
-
readonly operation: "
|
|
362
|
-
readonly summary: "
|
|
363
|
-
readonly risk: "deploy";
|
|
364
|
-
} | {
|
|
365
|
-
readonly id: "event:timer:list";
|
|
366
|
-
readonly operation: "event.timer.list";
|
|
367
|
-
readonly summary: "查询定时事件";
|
|
112
|
+
readonly id: "docs";
|
|
113
|
+
readonly operation: "docs";
|
|
114
|
+
readonly summary: "按主题和章节读取当前版本中文资料";
|
|
368
115
|
readonly risk: "read";
|
|
369
116
|
} | {
|
|
370
|
-
readonly id: "
|
|
371
|
-
readonly operation: "
|
|
372
|
-
readonly summary: "
|
|
373
|
-
readonly risk: "deploy";
|
|
374
|
-
} | {
|
|
375
|
-
readonly id: "workflow:provider:list";
|
|
376
|
-
readonly operation: "workflow.provider.list";
|
|
377
|
-
readonly summary: "查询 Workflow Assignee Provider";
|
|
117
|
+
readonly id: "admin";
|
|
118
|
+
readonly operation: "admin";
|
|
119
|
+
readonly summary: "只读查看应用管理能力和流程节点运行配置";
|
|
378
120
|
readonly risk: "read";
|
|
379
121
|
} | {
|
|
380
|
-
readonly id: "
|
|
381
|
-
readonly operation: "
|
|
382
|
-
readonly summary: "
|
|
122
|
+
readonly id: "create";
|
|
123
|
+
readonly operation: "create";
|
|
124
|
+
readonly summary: "创建、绑定并初始化应用";
|
|
383
125
|
readonly risk: "deploy";
|
|
384
|
-
|
|
385
|
-
readonly id: "skill:install";
|
|
386
|
-
readonly operation: "skill.install";
|
|
387
|
-
readonly summary: "安装 OpenXiangda 2.0 AI Skills";
|
|
388
|
-
readonly risk: "write-local";
|
|
389
|
-
} | {
|
|
390
|
-
readonly id: "skill:validate";
|
|
391
|
-
readonly operation: "skill.validate";
|
|
392
|
-
readonly summary: "验证 OpenXiangda 2.0 AI Skills";
|
|
393
|
-
readonly risk: "read";
|
|
126
|
+
readonly studioJsonEvents: true;
|
|
394
127
|
} | {
|
|
395
128
|
readonly id: "dev";
|
|
396
129
|
readonly operation: "dev";
|
|
397
|
-
readonly summary: "
|
|
398
|
-
readonly risk: "write-local";
|
|
399
|
-
} | {
|
|
400
|
-
readonly id: "generate";
|
|
401
|
-
readonly operation: "generate";
|
|
402
|
-
readonly summary: "生成 Data/App/Workflow/Event 类型契约";
|
|
130
|
+
readonly summary: "连接平台测试数据启动本地 Web,按需启动 Nest";
|
|
403
131
|
readonly risk: "write-local";
|
|
132
|
+
readonly studioJsonEvents: true;
|
|
404
133
|
} | {
|
|
405
134
|
readonly id: "check";
|
|
406
135
|
readonly operation: "check";
|
|
407
|
-
readonly summary: "
|
|
408
|
-
readonly risk: "read";
|
|
409
|
-
} | {
|
|
410
|
-
readonly id: "test";
|
|
411
|
-
readonly operation: "test";
|
|
412
|
-
readonly summary: "运行应用测试";
|
|
413
|
-
readonly risk: "read";
|
|
414
|
-
} | {
|
|
415
|
-
readonly id: "build";
|
|
416
|
-
readonly operation: "build";
|
|
417
|
-
readonly summary: "构建并密封一个 AppPackage";
|
|
136
|
+
readonly summary: "生成契约并在目标平台预检后执行检查、测试和构建";
|
|
418
137
|
readonly risk: "write-local";
|
|
138
|
+
readonly studioJsonEvents: true;
|
|
419
139
|
} | {
|
|
420
|
-
readonly id: "
|
|
421
|
-
readonly operation: "
|
|
422
|
-
readonly summary: "
|
|
140
|
+
readonly id: "accept";
|
|
141
|
+
readonly operation: "accept";
|
|
142
|
+
readonly summary: "按计划准备可选的真实预发验收身份";
|
|
423
143
|
readonly risk: "deploy";
|
|
424
144
|
} | {
|
|
425
|
-
readonly id: "
|
|
426
|
-
readonly operation: "
|
|
427
|
-
readonly summary: "
|
|
145
|
+
readonly id: "deploy";
|
|
146
|
+
readonly operation: "deploy";
|
|
147
|
+
readonly summary: "部署测试环境或显式复用测试版本部署生产";
|
|
428
148
|
readonly risk: "deploy";
|
|
149
|
+
readonly studioJsonEvents: true;
|
|
429
150
|
} | {
|
|
430
151
|
readonly id: "status";
|
|
431
152
|
readonly operation: "status";
|
|
432
|
-
readonly summary: "
|
|
153
|
+
readonly summary: "查询最近或指定部署状态";
|
|
433
154
|
readonly risk: "read";
|
|
434
155
|
} | {
|
|
435
156
|
readonly id: "logs";
|
|
436
157
|
readonly operation: "logs";
|
|
437
|
-
readonly summary: "
|
|
158
|
+
readonly summary: "查询最近或指定部署日志";
|
|
438
159
|
readonly risk: "read";
|
|
160
|
+
readonly studioJsonEvents: true;
|
|
161
|
+
} | {
|
|
162
|
+
readonly id: "cancel";
|
|
163
|
+
readonly operation: "cancel";
|
|
164
|
+
readonly summary: "幂等取消尚未提交激活的部署";
|
|
165
|
+
readonly risk: "deploy";
|
|
439
166
|
} | {
|
|
440
167
|
readonly id: "retry";
|
|
441
168
|
readonly operation: "retry";
|
|
442
|
-
readonly summary: "
|
|
169
|
+
readonly summary: "显式重试可恢复的失败部署";
|
|
443
170
|
readonly risk: "deploy";
|
|
444
171
|
} | {
|
|
445
|
-
readonly id: "
|
|
446
|
-
readonly operation: "
|
|
447
|
-
readonly summary: "
|
|
172
|
+
readonly id: "start";
|
|
173
|
+
readonly operation: "environment.start";
|
|
174
|
+
readonly summary: "从当前不可变版本启动应用环境";
|
|
175
|
+
readonly risk: "deploy";
|
|
176
|
+
} | {
|
|
177
|
+
readonly id: "stop";
|
|
178
|
+
readonly operation: "environment.stop";
|
|
179
|
+
readonly summary: "将应用环境缩容为零并保留数据";
|
|
448
180
|
readonly risk: "deploy";
|
|
449
181
|
} | {
|
|
450
182
|
readonly id: "rollback";
|
|
451
183
|
readonly operation: "rollback";
|
|
452
|
-
readonly summary: "
|
|
184
|
+
readonly summary: "回滚测试或生产环境";
|
|
453
185
|
readonly risk: "deploy";
|
|
186
|
+
readonly studioJsonEvents: true;
|
|
454
187
|
} | {
|
|
455
|
-
readonly id: "
|
|
456
|
-
readonly operation: "
|
|
457
|
-
readonly summary: "
|
|
458
|
-
readonly risk: "
|
|
188
|
+
readonly id: "login";
|
|
189
|
+
readonly operation: "login";
|
|
190
|
+
readonly summary: "通过平台浏览器授权登录";
|
|
191
|
+
readonly risk: "write-local";
|
|
192
|
+
} | {
|
|
193
|
+
readonly id: "skill";
|
|
194
|
+
readonly operation: "skill install";
|
|
195
|
+
readonly summary: "安装当前版本的 AI Skill";
|
|
196
|
+
readonly risk: "write-local";
|
|
197
|
+
} | {
|
|
198
|
+
readonly id: "spec";
|
|
199
|
+
readonly operation: "spec";
|
|
200
|
+
readonly summary: "维护需求、设计、变更与业务验收记录";
|
|
201
|
+
readonly risk: "write-local";
|
|
459
202
|
} | undefined;
|
|
203
|
+
export declare function renderDevkitCommandReference(options?: {
|
|
204
|
+
title?: string;
|
|
205
|
+
executable?: string;
|
|
206
|
+
}): string;
|
|
460
207
|
//# sourceMappingURL=command-registry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-registry.d.ts","sourceRoot":"","sources":["../src/command-registry.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,aAAa,GAAG,QAAQ,CAAC;AAElE,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,iBAAiB,CAAC;CACzB;AAED,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"command-registry.d.ts","sourceRoot":"","sources":["../src/command-registry.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,aAAa,GAAG,QAAQ,CAAC;AAElE,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,iBAAiB,CAAC;IACxB,gBAAgB,CAAC,EAAE,IAAI,CAAC;CACzB;AAED,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmB2B,CAAC;AAExD,wBAAgB,iBAAiB,CAAC,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAE3C;AAED,wBAAgB,4BAA4B,CAC1C,OAAO,GAAE;IACP,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;CAChB,UASP"}
|