openxiangda-devkit-core 2.0.0-alpha.12 → 2.0.0-alpha.121
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 +123 -366
- package/dist/command-registry.d.ts.map +1 -1
- package/dist/command-registry.js +26 -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 +149 -4
- package/dist/session.d.ts.map +1 -1
- package/dist/session.js +362 -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,214 @@ 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: "auth
|
|
10
|
-
readonly operation: "auth.login";
|
|
11
|
-
readonly summary: "保存 2.0 平台登录会话";
|
|
12
|
-
readonly risk: "write-local";
|
|
13
|
-
}, {
|
|
14
|
-
readonly id: "auth:status";
|
|
10
|
+
readonly id: "auth";
|
|
15
11
|
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 元数据";
|
|
87
|
-
readonly risk: "read";
|
|
88
|
-
}, {
|
|
89
|
-
readonly id: "secret:create";
|
|
90
|
-
readonly operation: "secret.create";
|
|
91
|
-
readonly summary: "从本机安全来源创建应用 Secret";
|
|
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 审计事件";
|
|
112
|
-
readonly risk: "read";
|
|
113
|
-
}, {
|
|
114
|
-
readonly id: "event:subscription:list";
|
|
115
|
-
readonly operation: "event.subscription.list";
|
|
116
|
-
readonly summary: "查询应用事件订阅";
|
|
12
|
+
readonly summary: "只读核验指定平台授权,不登录或刷新会话";
|
|
117
13
|
readonly risk: "read";
|
|
118
14
|
}, {
|
|
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: "暂存下一版本事件签名密钥并随下次部署激活";
|
|
127
|
-
readonly risk: "deploy";
|
|
128
|
-
}, {
|
|
129
|
-
readonly id: "event:delivery:list";
|
|
130
|
-
readonly operation: "event.delivery.list";
|
|
131
|
-
readonly summary: "查询事件投递与死信";
|
|
15
|
+
readonly id: "context";
|
|
16
|
+
readonly operation: "workspace.context";
|
|
17
|
+
readonly summary: "只读查看工作区、版本与平台绑定";
|
|
132
18
|
readonly risk: "read";
|
|
133
19
|
}, {
|
|
134
|
-
readonly id: "
|
|
135
|
-
readonly operation: "
|
|
136
|
-
readonly summary: "
|
|
137
|
-
readonly risk: "deploy";
|
|
138
|
-
}, {
|
|
139
|
-
readonly id: "event:timer:list";
|
|
140
|
-
readonly operation: "event.timer.list";
|
|
141
|
-
readonly summary: "查询定时事件";
|
|
20
|
+
readonly id: "docs";
|
|
21
|
+
readonly operation: "docs";
|
|
22
|
+
readonly summary: "按主题和章节读取当前版本中文资料";
|
|
142
23
|
readonly risk: "read";
|
|
143
24
|
}, {
|
|
144
|
-
readonly id: "
|
|
145
|
-
readonly operation: "
|
|
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";
|
|
25
|
+
readonly id: "admin";
|
|
26
|
+
readonly operation: "admin";
|
|
27
|
+
readonly summary: "只读查看应用管理能力和流程节点运行配置";
|
|
152
28
|
readonly risk: "read";
|
|
153
29
|
}, {
|
|
154
|
-
readonly id: "
|
|
155
|
-
readonly operation: "
|
|
156
|
-
readonly summary: "
|
|
30
|
+
readonly id: "create";
|
|
31
|
+
readonly operation: "create";
|
|
32
|
+
readonly summary: "创建、绑定并初始化应用";
|
|
157
33
|
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";
|
|
34
|
+
readonly studioJsonEvents: true;
|
|
168
35
|
}, {
|
|
169
36
|
readonly id: "dev";
|
|
170
37
|
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 类型契约";
|
|
38
|
+
readonly summary: "连接平台测试数据启动本地 Web,按需启动 Nest";
|
|
177
39
|
readonly risk: "write-local";
|
|
40
|
+
readonly studioJsonEvents: true;
|
|
178
41
|
}, {
|
|
179
42
|
readonly id: "check";
|
|
180
43
|
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";
|
|
44
|
+
readonly summary: "生成契约并在目标平台预检后执行检查、测试和构建";
|
|
192
45
|
readonly risk: "write-local";
|
|
46
|
+
readonly studioJsonEvents: true;
|
|
193
47
|
}, {
|
|
194
|
-
readonly id: "
|
|
195
|
-
readonly operation: "
|
|
196
|
-
readonly summary: "
|
|
48
|
+
readonly id: "accept";
|
|
49
|
+
readonly operation: "accept";
|
|
50
|
+
readonly summary: "按计划准备可选的真实预发验收身份";
|
|
197
51
|
readonly risk: "deploy";
|
|
198
52
|
}, {
|
|
199
|
-
readonly id: "
|
|
200
|
-
readonly operation: "
|
|
201
|
-
readonly summary: "
|
|
53
|
+
readonly id: "deploy";
|
|
54
|
+
readonly operation: "deploy";
|
|
55
|
+
readonly summary: "部署测试环境或显式复用测试版本部署生产";
|
|
202
56
|
readonly risk: "deploy";
|
|
57
|
+
readonly studioJsonEvents: true;
|
|
203
58
|
}, {
|
|
204
59
|
readonly id: "status";
|
|
205
60
|
readonly operation: "status";
|
|
206
|
-
readonly summary: "
|
|
61
|
+
readonly summary: "查询最近或指定部署状态";
|
|
207
62
|
readonly risk: "read";
|
|
208
63
|
}, {
|
|
209
64
|
readonly id: "logs";
|
|
210
65
|
readonly operation: "logs";
|
|
211
|
-
readonly summary: "
|
|
66
|
+
readonly summary: "查询最近或指定部署日志";
|
|
212
67
|
readonly risk: "read";
|
|
68
|
+
readonly studioJsonEvents: true;
|
|
69
|
+
}, {
|
|
70
|
+
readonly id: "cancel";
|
|
71
|
+
readonly operation: "cancel";
|
|
72
|
+
readonly summary: "幂等取消尚未提交激活的部署";
|
|
73
|
+
readonly risk: "deploy";
|
|
213
74
|
}, {
|
|
214
75
|
readonly id: "retry";
|
|
215
76
|
readonly operation: "retry";
|
|
216
|
-
readonly summary: "
|
|
77
|
+
readonly summary: "显式重试可恢复的失败部署";
|
|
217
78
|
readonly risk: "deploy";
|
|
218
79
|
}, {
|
|
219
|
-
readonly id: "
|
|
220
|
-
readonly operation: "
|
|
221
|
-
readonly summary: "
|
|
80
|
+
readonly id: "start";
|
|
81
|
+
readonly operation: "environment.start";
|
|
82
|
+
readonly summary: "从当前不可变版本启动应用环境";
|
|
83
|
+
readonly risk: "deploy";
|
|
84
|
+
}, {
|
|
85
|
+
readonly id: "stop";
|
|
86
|
+
readonly operation: "environment.stop";
|
|
87
|
+
readonly summary: "将应用环境缩容为零并保留数据";
|
|
222
88
|
readonly risk: "deploy";
|
|
223
89
|
}, {
|
|
224
90
|
readonly id: "rollback";
|
|
225
91
|
readonly operation: "rollback";
|
|
226
|
-
readonly summary: "
|
|
92
|
+
readonly summary: "回滚测试或生产环境";
|
|
227
93
|
readonly risk: "deploy";
|
|
94
|
+
readonly studioJsonEvents: true;
|
|
228
95
|
}, {
|
|
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: "删除当前登录会话";
|
|
96
|
+
readonly id: "login";
|
|
97
|
+
readonly operation: "login";
|
|
98
|
+
readonly summary: "通过平台浏览器授权登录";
|
|
248
99
|
readonly risk: "write-local";
|
|
249
|
-
}
|
|
250
|
-
readonly id: "
|
|
251
|
-
readonly operation: "
|
|
252
|
-
readonly summary: "
|
|
100
|
+
}, {
|
|
101
|
+
readonly id: "skill";
|
|
102
|
+
readonly operation: "skill install";
|
|
103
|
+
readonly summary: "安装当前版本的 AI Skill";
|
|
253
104
|
readonly risk: "write-local";
|
|
254
|
-
}
|
|
255
|
-
readonly id: "
|
|
256
|
-
readonly operation: "
|
|
257
|
-
readonly summary: "
|
|
105
|
+
}, {
|
|
106
|
+
readonly id: "spec";
|
|
107
|
+
readonly operation: "spec";
|
|
108
|
+
readonly summary: "维护需求、设计、变更与业务验收记录";
|
|
258
109
|
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: "查询应用事件订阅";
|
|
110
|
+
}];
|
|
111
|
+
export declare function commandDefinition(id: string): {
|
|
112
|
+
readonly id: "auth";
|
|
113
|
+
readonly operation: "auth.status";
|
|
114
|
+
readonly summary: "只读核验指定平台授权,不登录或刷新会话";
|
|
343
115
|
readonly risk: "read";
|
|
344
116
|
} | {
|
|
345
|
-
readonly id: "
|
|
346
|
-
readonly operation: "
|
|
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: "查询事件投递与死信";
|
|
117
|
+
readonly id: "context";
|
|
118
|
+
readonly operation: "workspace.context";
|
|
119
|
+
readonly summary: "只读查看工作区、版本与平台绑定";
|
|
358
120
|
readonly risk: "read";
|
|
359
121
|
} | {
|
|
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: "查询定时事件";
|
|
122
|
+
readonly id: "docs";
|
|
123
|
+
readonly operation: "docs";
|
|
124
|
+
readonly summary: "按主题和章节读取当前版本中文资料";
|
|
368
125
|
readonly risk: "read";
|
|
369
126
|
} | {
|
|
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";
|
|
127
|
+
readonly id: "admin";
|
|
128
|
+
readonly operation: "admin";
|
|
129
|
+
readonly summary: "只读查看应用管理能力和流程节点运行配置";
|
|
378
130
|
readonly risk: "read";
|
|
379
131
|
} | {
|
|
380
|
-
readonly id: "
|
|
381
|
-
readonly operation: "
|
|
382
|
-
readonly summary: "
|
|
132
|
+
readonly id: "create";
|
|
133
|
+
readonly operation: "create";
|
|
134
|
+
readonly summary: "创建、绑定并初始化应用";
|
|
383
135
|
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";
|
|
136
|
+
readonly studioJsonEvents: true;
|
|
394
137
|
} | {
|
|
395
138
|
readonly id: "dev";
|
|
396
139
|
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 类型契约";
|
|
140
|
+
readonly summary: "连接平台测试数据启动本地 Web,按需启动 Nest";
|
|
403
141
|
readonly risk: "write-local";
|
|
142
|
+
readonly studioJsonEvents: true;
|
|
404
143
|
} | {
|
|
405
144
|
readonly id: "check";
|
|
406
145
|
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";
|
|
146
|
+
readonly summary: "生成契约并在目标平台预检后执行检查、测试和构建";
|
|
418
147
|
readonly risk: "write-local";
|
|
148
|
+
readonly studioJsonEvents: true;
|
|
419
149
|
} | {
|
|
420
|
-
readonly id: "
|
|
421
|
-
readonly operation: "
|
|
422
|
-
readonly summary: "
|
|
150
|
+
readonly id: "accept";
|
|
151
|
+
readonly operation: "accept";
|
|
152
|
+
readonly summary: "按计划准备可选的真实预发验收身份";
|
|
423
153
|
readonly risk: "deploy";
|
|
424
154
|
} | {
|
|
425
|
-
readonly id: "
|
|
426
|
-
readonly operation: "
|
|
427
|
-
readonly summary: "
|
|
155
|
+
readonly id: "deploy";
|
|
156
|
+
readonly operation: "deploy";
|
|
157
|
+
readonly summary: "部署测试环境或显式复用测试版本部署生产";
|
|
428
158
|
readonly risk: "deploy";
|
|
159
|
+
readonly studioJsonEvents: true;
|
|
429
160
|
} | {
|
|
430
161
|
readonly id: "status";
|
|
431
162
|
readonly operation: "status";
|
|
432
|
-
readonly summary: "
|
|
163
|
+
readonly summary: "查询最近或指定部署状态";
|
|
433
164
|
readonly risk: "read";
|
|
434
165
|
} | {
|
|
435
166
|
readonly id: "logs";
|
|
436
167
|
readonly operation: "logs";
|
|
437
|
-
readonly summary: "
|
|
168
|
+
readonly summary: "查询最近或指定部署日志";
|
|
438
169
|
readonly risk: "read";
|
|
170
|
+
readonly studioJsonEvents: true;
|
|
171
|
+
} | {
|
|
172
|
+
readonly id: "cancel";
|
|
173
|
+
readonly operation: "cancel";
|
|
174
|
+
readonly summary: "幂等取消尚未提交激活的部署";
|
|
175
|
+
readonly risk: "deploy";
|
|
439
176
|
} | {
|
|
440
177
|
readonly id: "retry";
|
|
441
178
|
readonly operation: "retry";
|
|
442
|
-
readonly summary: "
|
|
179
|
+
readonly summary: "显式重试可恢复的失败部署";
|
|
443
180
|
readonly risk: "deploy";
|
|
444
181
|
} | {
|
|
445
|
-
readonly id: "
|
|
446
|
-
readonly operation: "
|
|
447
|
-
readonly summary: "
|
|
182
|
+
readonly id: "start";
|
|
183
|
+
readonly operation: "environment.start";
|
|
184
|
+
readonly summary: "从当前不可变版本启动应用环境";
|
|
185
|
+
readonly risk: "deploy";
|
|
186
|
+
} | {
|
|
187
|
+
readonly id: "stop";
|
|
188
|
+
readonly operation: "environment.stop";
|
|
189
|
+
readonly summary: "将应用环境缩容为零并保留数据";
|
|
448
190
|
readonly risk: "deploy";
|
|
449
191
|
} | {
|
|
450
192
|
readonly id: "rollback";
|
|
451
193
|
readonly operation: "rollback";
|
|
452
|
-
readonly summary: "
|
|
194
|
+
readonly summary: "回滚测试或生产环境";
|
|
453
195
|
readonly risk: "deploy";
|
|
196
|
+
readonly studioJsonEvents: true;
|
|
454
197
|
} | {
|
|
455
|
-
readonly id: "
|
|
456
|
-
readonly operation: "
|
|
457
|
-
readonly summary: "
|
|
458
|
-
readonly risk: "
|
|
198
|
+
readonly id: "login";
|
|
199
|
+
readonly operation: "login";
|
|
200
|
+
readonly summary: "通过平台浏览器授权登录";
|
|
201
|
+
readonly risk: "write-local";
|
|
202
|
+
} | {
|
|
203
|
+
readonly id: "skill";
|
|
204
|
+
readonly operation: "skill install";
|
|
205
|
+
readonly summary: "安装当前版本的 AI Skill";
|
|
206
|
+
readonly risk: "write-local";
|
|
207
|
+
} | {
|
|
208
|
+
readonly id: "spec";
|
|
209
|
+
readonly operation: "spec";
|
|
210
|
+
readonly summary: "维护需求、设计、变更与业务验收记录";
|
|
211
|
+
readonly risk: "write-local";
|
|
459
212
|
} | undefined;
|
|
213
|
+
export declare function renderDevkitCommandReference(options?: {
|
|
214
|
+
title?: string;
|
|
215
|
+
executable?: string;
|
|
216
|
+
}): string;
|
|
460
217
|
//# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoB2B,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"}
|