@sakanano-moe/agenthelm 6.8.0 → 6.11.0-rc.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.
- package/README.md +1 -1
- package/README.zh-CN.md +2 -0
- package/package.json +1 -1
- package/runtime/index.json +6 -6
- package/runtime/plugins/agent-pack/.codex-plugin/plugin.json +1 -1
- package/runtime/plugins/agent-pack/hooks/hooks.json +32 -0
- package/runtime/plugins/agent-pack/plugin.json +1 -1
- package/runtime/plugins/agent-pack/references/local-only.md +126 -0
- package/runtime/plugins/agent-pack/references/nudge.en.md +58 -0
- package/runtime/plugins/agent-pack/references/nudge.md +58 -0
- package/runtime/plugins/agent-pack/runtime/agent_pack_nudge.py +613 -0
- package/runtime/plugins/agent-pack/runtime/agenthelm.py +1271 -221
- package/runtime/plugins/agent-pack/runtime/agenthelm_runtime.py +114 -65
- package/runtime/plugins/agent-pack/runtime/i18n_agent_pack.py +78 -0
- package/runtime/plugins/agent-pack/runtime/local_only.py +1132 -0
- package/runtime/plugins/agent-pack/runtime/locale/en.json +569 -0
- package/runtime/plugins/agent-pack/runtime/mcp_server.py +25 -0
- package/runtime/plugins/agent-pack/runtime/nudge_text.py +127 -0
- package/runtime/plugins/agent-pack/runtime/user_settings.py +275 -0
- package/runtime/plugins/agent-pack/skills/agent-pack/SKILL.md +11 -1
- package/runtime/plugins/agents-init/.codex-plugin/plugin.json +1 -1
- package/runtime/plugins/agents-init/content.json +4 -4
- package/runtime/plugins/agents-init/plugin.json +1 -1
- package/runtime/plugins/agents-init/skills/agents-init/AGENT.template.md +141 -5
- package/runtime/plugins/agents-init/skills/agents-init/SKILL.md +41 -8
- package/runtime/plugins/agents-init/skills/agents-init/project.schema.json +408 -80
- package/runtime/plugins/agents-init/skills/agents-init/scripts/adopt.py +615 -0
- package/runtime/plugins/agents-init/skills/agents-init/scripts/baseline.py +221 -0
- package/runtime/plugins/agents-init/skills/agents-init/scripts/i18n_init.py +78 -0
- package/runtime/plugins/agents-init/skills/agents-init/scripts/init_project.py +748 -159
- package/runtime/plugins/agents-init/skills/agents-init/scripts/locale/en.json +289 -0
- package/runtime/plugins/agents-init/skills/agents-init/scripts/merge3.py +149 -0
- package/runtime/plugins/agents-init/skills/agents-init/scripts/regions.py +99 -0
- package/runtime/plugins/agents-init/skills/agents-init/scripts/scaffold.py +594 -90
- package/runtime/plugins/agents-init/skills/agents-init/skeleton.json +2 -0
- package/runtime/plugins/agents-init/skills/agents-init/skill.json +1 -1
- package/runtime/plugins/opinion-manager/.codex-plugin/plugin.json +1 -1
- package/runtime/plugins/opinion-manager/plugin.json +1 -1
- package/runtime/plugins/opinion-manager/references/inbox.en.md +48 -0
- package/runtime/plugins/opinion-manager/references/inbox.md +48 -0
- package/runtime/plugins/opinion-manager/runtime/context.py +31 -26
- package/runtime/plugins/opinion-manager/runtime/i18n_opinion.py +78 -0
- package/runtime/plugins/opinion-manager/runtime/inbox.py +398 -0
- package/runtime/plugins/opinion-manager/runtime/inbox_text.py +114 -0
- package/runtime/plugins/opinion-manager/runtime/lifecycle.py +45 -44
- package/runtime/plugins/opinion-manager/runtime/locale/en.json +193 -0
- package/runtime/plugins/opinion-manager/runtime/opinion_manager.py +55 -50
- package/runtime/plugins/opinion-manager/runtime/versioned.py +90 -85
- package/runtime/plugins/opinion-manager/skills/opinion-manager/SKILL.md +15 -2
- package/runtime/plugins/project-orchestrator/.codex-plugin/plugin.json +1 -1
- package/runtime/plugins/project-orchestrator/content.json +30 -3
- package/runtime/plugins/project-orchestrator/plugin.json +1 -1
- package/runtime/plugins/project-orchestrator/references/case-workspaces.md +9 -1
- package/runtime/plugins/project-orchestrator/references/case.schema.json +1 -0
- package/runtime/plugins/project-orchestrator/references/sop-interview.md +83 -0
- package/runtime/plugins/project-orchestrator/references/sop.md +156 -0
- package/runtime/plugins/project-orchestrator/runtime/assets.py +52 -57
- package/runtime/plugins/project-orchestrator/runtime/case.py +139 -80
- package/runtime/plugins/project-orchestrator/runtime/case_structure.py +71 -0
- package/runtime/plugins/project-orchestrator/runtime/case_workspace.py +47 -46
- package/runtime/plugins/project-orchestrator/runtime/i18n_orchestrator.py +78 -0
- package/runtime/plugins/project-orchestrator/runtime/locale/en.json +1450 -0
- package/runtime/plugins/project-orchestrator/runtime/memory.py +45 -45
- package/runtime/plugins/project-orchestrator/runtime/private_paths.py +119 -0
- package/runtime/plugins/project-orchestrator/runtime/project_base.py +37 -19
- package/runtime/plugins/project-orchestrator/runtime/project_cli.py +307 -195
- package/runtime/plugins/project-orchestrator/runtime/project_demo.py +130 -48
- package/runtime/plugins/project-orchestrator/runtime/project_maintain.py +328 -221
- package/runtime/plugins/project-orchestrator/runtime/project_menu.py +167 -89
- package/runtime/plugins/project-orchestrator/runtime/project_real.py +187 -105
- package/runtime/plugins/project-orchestrator/runtime/project_write.py +58 -55
- package/runtime/plugins/project-orchestrator/runtime/sop.py +1670 -0
- package/runtime/plugins/project-orchestrator/runtime/sop_structure.py +226 -0
- package/runtime/plugins/project-orchestrator/runtime/wf.py +74 -70
- package/runtime/plugins/project-orchestrator/skills/project-orchestrator/SKILL.md +22 -0
- package/runtime/plugins/project-orchestrator/sop-templates/blank/SOP.en.md +57 -0
- package/runtime/plugins/project-orchestrator/sop-templates/blank/SOP.md +57 -0
- package/runtime/plugins/project-orchestrator/sop-templates/knowledge-digest/SOP.en.md +77 -0
- package/runtime/plugins/project-orchestrator/sop-templates/knowledge-digest/SOP.md +77 -0
- package/runtime/plugins/project-orchestrator/sop-templates/knowledge-digest/templates/digest.en.md +11 -0
- package/runtime/plugins/project-orchestrator/sop-templates/knowledge-digest/templates/digest.md +11 -0
- package/runtime/plugins/project-orchestrator/sop-templates/video-to-transcript/SOP.en.md +87 -0
- package/runtime/plugins/project-orchestrator/sop-templates/video-to-transcript/SOP.md +87 -0
- package/runtime/plugins/project-orchestrator/sop-templates/weekly-review/SOP.en.md +75 -0
- package/runtime/plugins/project-orchestrator/sop-templates/weekly-review/SOP.md +75 -0
- package/runtime/plugins/project-orchestrator/sop-templates/weekly-review/templates/review.en.md +11 -0
- package/runtime/plugins/project-orchestrator/sop-templates/weekly-review/templates/review.md +12 -0
- package/runtime/plugins/project-orchestrator/templates/CASE.en.md +39 -0
- package/runtime/plugins/agents-init/skills/agents-init/scripts/test_init_project.py +0 -678
- package/runtime/plugins/agents-init/skills/agents-init/scripts/test_scaffold.py +0 -551
|
@@ -5,79 +5,275 @@
|
|
|
5
5
|
"description": "由 project-orchestrator、agent-pack 与 opinion-manager 消费的可移植项目发现契约,位于 .agents/moe.sakanano.agent-pack/project.json。",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"additionalProperties": false,
|
|
8
|
-
"required": [
|
|
8
|
+
"required": [
|
|
9
|
+
"schema_version",
|
|
10
|
+
"name",
|
|
11
|
+
"profile",
|
|
12
|
+
"runtime",
|
|
13
|
+
"opinion",
|
|
14
|
+
"capabilities",
|
|
15
|
+
"work",
|
|
16
|
+
"privacy"
|
|
17
|
+
],
|
|
9
18
|
"properties": {
|
|
10
|
-
"$schema": {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
19
|
+
"$schema": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"format": "uri-reference"
|
|
22
|
+
},
|
|
23
|
+
"schema_version": {
|
|
24
|
+
"const": "1.0"
|
|
25
|
+
},
|
|
26
|
+
"initializer_version": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+$"
|
|
29
|
+
},
|
|
30
|
+
"name": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"minLength": 1
|
|
33
|
+
},
|
|
34
|
+
"language": {
|
|
35
|
+
"enum": [
|
|
36
|
+
"zh",
|
|
37
|
+
"en"
|
|
38
|
+
],
|
|
39
|
+
"description": "项目文件语言:新建 Case 的小节名与默认文字、README 追加的使用说明用哪种语言写;缺省视为 zh(已有项目保持原样)。与命令行界面的语言(AGENTHELM_LANG)无关,随项目同步。"
|
|
40
|
+
},
|
|
14
41
|
"profile": {
|
|
15
42
|
"type": "object",
|
|
16
43
|
"additionalProperties": true,
|
|
17
|
-
"required": [
|
|
44
|
+
"required": [
|
|
45
|
+
"project_type",
|
|
46
|
+
"vcs",
|
|
47
|
+
"stack",
|
|
48
|
+
"runtime",
|
|
49
|
+
"agent_cli"
|
|
50
|
+
],
|
|
18
51
|
"properties": {
|
|
19
|
-
"project_type": {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
|
|
52
|
+
"project_type": {
|
|
53
|
+
"$ref": "#/$defs/stringArray"
|
|
54
|
+
},
|
|
55
|
+
"vcs": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"minLength": 1
|
|
58
|
+
},
|
|
59
|
+
"stack": {
|
|
60
|
+
"$ref": "#/$defs/stringArray"
|
|
61
|
+
},
|
|
62
|
+
"runtime": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"minLength": 1
|
|
65
|
+
},
|
|
66
|
+
"agent_cli": {
|
|
67
|
+
"$ref": "#/$defs/stringArray"
|
|
68
|
+
}
|
|
24
69
|
}
|
|
25
70
|
},
|
|
26
71
|
"runtime": {
|
|
27
72
|
"type": "object",
|
|
28
73
|
"additionalProperties": true,
|
|
29
|
-
"required": [
|
|
74
|
+
"required": [
|
|
75
|
+
"skill",
|
|
76
|
+
"plugin",
|
|
77
|
+
"capability_manager",
|
|
78
|
+
"required",
|
|
79
|
+
"commit_policy",
|
|
80
|
+
"push_policy"
|
|
81
|
+
],
|
|
30
82
|
"properties": {
|
|
31
|
-
"skill": {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
83
|
+
"skill": {
|
|
84
|
+
"const": "project-orchestrator"
|
|
85
|
+
},
|
|
86
|
+
"plugin": {
|
|
87
|
+
"const": "project-orchestrator"
|
|
88
|
+
},
|
|
89
|
+
"capability_manager": {
|
|
90
|
+
"const": "agent-pack"
|
|
91
|
+
},
|
|
92
|
+
"distribution": {
|
|
93
|
+
"enum": [
|
|
94
|
+
"marketplace",
|
|
95
|
+
"bundled",
|
|
96
|
+
"external"
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
"required": {
|
|
100
|
+
"type": "boolean"
|
|
101
|
+
},
|
|
102
|
+
"commit_policy": {
|
|
103
|
+
"enum": [
|
|
104
|
+
"explicit",
|
|
105
|
+
"project-policy"
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
"push_policy": {
|
|
109
|
+
"enum": [
|
|
110
|
+
"explicit",
|
|
111
|
+
"project-policy"
|
|
112
|
+
]
|
|
113
|
+
},
|
|
114
|
+
"source_repository": {
|
|
115
|
+
"type": "string",
|
|
116
|
+
"x-agenthelm-scope": "audit",
|
|
117
|
+
"description": "审计记录:采用的来源仓库。运行时代码不读取,check 不比较,也不进脚手架指纹。"
|
|
118
|
+
},
|
|
119
|
+
"source_ref": {
|
|
120
|
+
"type": "string",
|
|
121
|
+
"x-agenthelm-scope": "audit",
|
|
122
|
+
"description": "审计记录:采用的发布 tag。同上,仅作记录。"
|
|
123
|
+
},
|
|
124
|
+
"source_commit": {
|
|
125
|
+
"type": "string",
|
|
126
|
+
"x-agenthelm-scope": "audit",
|
|
127
|
+
"description": "审计记录:采用的提交。同上,仅作记录。"
|
|
128
|
+
},
|
|
129
|
+
"plugin_version": {
|
|
130
|
+
"type": "string",
|
|
131
|
+
"x-agenthelm-scope": "audit",
|
|
132
|
+
"description": "审计记录:采用时的 project-orchestrator 版本。同上,仅作记录。"
|
|
133
|
+
},
|
|
134
|
+
"capability_manager_version": {
|
|
135
|
+
"type": "string",
|
|
136
|
+
"x-agenthelm-scope": "audit",
|
|
137
|
+
"description": "审计记录:采用时的 agent-pack 版本。同上,仅作记录。"
|
|
138
|
+
}
|
|
43
139
|
}
|
|
44
140
|
},
|
|
45
141
|
"opinion": {
|
|
46
142
|
"type": "object",
|
|
47
143
|
"additionalProperties": true,
|
|
48
|
-
"required": [
|
|
144
|
+
"required": [
|
|
145
|
+
"provider",
|
|
146
|
+
"project_overlay",
|
|
147
|
+
"strict_mode"
|
|
148
|
+
],
|
|
49
149
|
"properties": {
|
|
50
|
-
"provider": {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
150
|
+
"provider": {
|
|
151
|
+
"type": [
|
|
152
|
+
"string",
|
|
153
|
+
"null"
|
|
154
|
+
]
|
|
155
|
+
},
|
|
156
|
+
"project_overlay": {
|
|
157
|
+
"type": [
|
|
158
|
+
"string",
|
|
159
|
+
"null"
|
|
160
|
+
]
|
|
161
|
+
},
|
|
162
|
+
"strict_mode": {
|
|
163
|
+
"enum": [
|
|
164
|
+
"smart",
|
|
165
|
+
"strict",
|
|
166
|
+
"disabled"
|
|
167
|
+
]
|
|
168
|
+
},
|
|
169
|
+
"loading_mode": {
|
|
170
|
+
"enum": [
|
|
171
|
+
"tiered",
|
|
172
|
+
"full"
|
|
173
|
+
]
|
|
174
|
+
},
|
|
175
|
+
"tool_version": {
|
|
176
|
+
"type": "string",
|
|
177
|
+
"x-agenthelm-scope": "audit",
|
|
178
|
+
"description": "审计记录:生成该 Opinion 时的工具版本;不参与比较。"
|
|
179
|
+
},
|
|
180
|
+
"nudge": {
|
|
181
|
+
"type": "object",
|
|
182
|
+
"additionalProperties": true,
|
|
183
|
+
"description": "项目层的提醒设置,由 agent-pack 的 nudge 读取(enabled、language、pending_threshold、stale_days、stop_prompt、keywords 等);用户配置优先于它。check 不比较此项。"
|
|
184
|
+
}
|
|
55
185
|
}
|
|
56
186
|
},
|
|
57
187
|
"memory": {
|
|
58
188
|
"type": "object",
|
|
59
189
|
"additionalProperties": true,
|
|
60
|
-
"required": [
|
|
190
|
+
"required": [
|
|
191
|
+
"provider"
|
|
192
|
+
],
|
|
61
193
|
"properties": {
|
|
62
|
-
"provider": {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
194
|
+
"provider": {
|
|
195
|
+
"enum": [
|
|
196
|
+
"project-orchestrator",
|
|
197
|
+
"project"
|
|
198
|
+
]
|
|
199
|
+
},
|
|
200
|
+
"root": {
|
|
201
|
+
"anyOf": [
|
|
202
|
+
{
|
|
203
|
+
"$ref": "#/$defs/relativePath"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"type": "null"
|
|
207
|
+
}
|
|
208
|
+
]
|
|
209
|
+
},
|
|
210
|
+
"index_command": {
|
|
211
|
+
"type": [
|
|
212
|
+
"string",
|
|
213
|
+
"null"
|
|
214
|
+
]
|
|
215
|
+
},
|
|
216
|
+
"check_command": {
|
|
217
|
+
"type": [
|
|
218
|
+
"string",
|
|
219
|
+
"null"
|
|
220
|
+
]
|
|
221
|
+
},
|
|
222
|
+
"policy": {
|
|
223
|
+
"anyOf": [
|
|
224
|
+
{
|
|
225
|
+
"$ref": "#/$defs/relativePath"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"type": "null"
|
|
229
|
+
}
|
|
230
|
+
]
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
"sop": {
|
|
235
|
+
"type": "object",
|
|
236
|
+
"additionalProperties": true,
|
|
237
|
+
"properties": {
|
|
238
|
+
"root": {"$ref": "#/$defs/relativePath"}
|
|
67
239
|
}
|
|
68
240
|
},
|
|
69
241
|
"capabilities": {
|
|
70
242
|
"type": "object",
|
|
71
243
|
"additionalProperties": false,
|
|
72
|
-
"required": [
|
|
244
|
+
"required": [
|
|
245
|
+
"plugin_roots",
|
|
246
|
+
"plugin_dirs",
|
|
247
|
+
"skill_roots",
|
|
248
|
+
"mcp_sources",
|
|
249
|
+
"destination_skill_root",
|
|
250
|
+
"destination_mcp"
|
|
251
|
+
],
|
|
73
252
|
"properties": {
|
|
74
|
-
"plugin_roots": {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
"
|
|
78
|
-
|
|
253
|
+
"plugin_roots": {
|
|
254
|
+
"$ref": "#/$defs/pathArray"
|
|
255
|
+
},
|
|
256
|
+
"plugin_dirs": {
|
|
257
|
+
"$ref": "#/$defs/pathArray"
|
|
258
|
+
},
|
|
259
|
+
"skill_roots": {
|
|
260
|
+
"$ref": "#/$defs/pathArray"
|
|
261
|
+
},
|
|
262
|
+
"mcp_sources": {
|
|
263
|
+
"$ref": "#/$defs/pathArray"
|
|
264
|
+
},
|
|
265
|
+
"native_mcp_sources": {
|
|
266
|
+
"$ref": "#/$defs/pathArray"
|
|
267
|
+
},
|
|
79
268
|
"credential_env_file": {
|
|
80
|
-
"anyOf": [
|
|
269
|
+
"anyOf": [
|
|
270
|
+
{
|
|
271
|
+
"$ref": "#/$defs/relativePath"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"type": "null"
|
|
275
|
+
}
|
|
276
|
+
]
|
|
81
277
|
},
|
|
82
278
|
"mcp_client_policy": {
|
|
83
279
|
"type": "object",
|
|
@@ -85,72 +281,190 @@
|
|
|
85
281
|
"type": "object",
|
|
86
282
|
"additionalProperties": false,
|
|
87
283
|
"properties": {
|
|
88
|
-
"include": {
|
|
89
|
-
|
|
284
|
+
"include": {
|
|
285
|
+
"$ref": "#/$defs/stringArray"
|
|
286
|
+
},
|
|
287
|
+
"exclude": {
|
|
288
|
+
"$ref": "#/$defs/stringArray"
|
|
289
|
+
}
|
|
90
290
|
},
|
|
91
|
-
"not": {
|
|
291
|
+
"not": {
|
|
292
|
+
"required": [
|
|
293
|
+
"include",
|
|
294
|
+
"exclude"
|
|
295
|
+
]
|
|
296
|
+
}
|
|
92
297
|
}
|
|
93
298
|
},
|
|
94
|
-
"destination_skill_root": {
|
|
95
|
-
|
|
299
|
+
"destination_skill_root": {
|
|
300
|
+
"$ref": "#/$defs/relativePath"
|
|
301
|
+
},
|
|
302
|
+
"destination_mcp": {
|
|
303
|
+
"$ref": "#/$defs/relativePath"
|
|
304
|
+
}
|
|
96
305
|
}
|
|
97
306
|
},
|
|
98
307
|
"work": {
|
|
99
|
-
"type": "object",
|
|
308
|
+
"type": "object",
|
|
309
|
+
"additionalProperties": true,
|
|
100
310
|
"properties": {
|
|
101
|
-
"mode": {
|
|
102
|
-
|
|
103
|
-
|
|
311
|
+
"mode": {
|
|
312
|
+
"enum": [
|
|
313
|
+
"case-workspace",
|
|
314
|
+
"legacy"
|
|
315
|
+
]
|
|
316
|
+
},
|
|
317
|
+
"task": {
|
|
318
|
+
"type": [
|
|
319
|
+
"object",
|
|
320
|
+
"null"
|
|
321
|
+
]
|
|
322
|
+
},
|
|
323
|
+
"legacy_task": {
|
|
324
|
+
"type": [
|
|
325
|
+
"object",
|
|
326
|
+
"null"
|
|
327
|
+
]
|
|
328
|
+
},
|
|
104
329
|
"case": {
|
|
105
|
-
"type": [
|
|
330
|
+
"type": [
|
|
331
|
+
"object",
|
|
332
|
+
"null"
|
|
333
|
+
],
|
|
334
|
+
"additionalProperties": true,
|
|
106
335
|
"properties": {
|
|
107
|
-
"root": {
|
|
108
|
-
|
|
109
|
-
|
|
336
|
+
"root": {
|
|
337
|
+
"$ref": "#/$defs/relativePath"
|
|
338
|
+
},
|
|
339
|
+
"artifact_mode": {
|
|
340
|
+
"enum": [
|
|
341
|
+
"case-local",
|
|
342
|
+
"external-references"
|
|
343
|
+
]
|
|
344
|
+
},
|
|
345
|
+
"command": {
|
|
346
|
+
"type": [
|
|
347
|
+
"array",
|
|
348
|
+
"string"
|
|
349
|
+
],
|
|
350
|
+
"description": "项目自己的 Case 工具命令;声明后项目入口不绕过它写 Case。"
|
|
351
|
+
},
|
|
352
|
+
"schema": {
|
|
353
|
+
"$ref": "#/$defs/relativePath",
|
|
354
|
+
"description": "项目自己的 Case 结构 schema 文件(相对项目根);project-orchestrator 创建与校验 Case 时读取,缺省用内置 schema。"
|
|
355
|
+
},
|
|
110
356
|
"directory_naming": {
|
|
111
|
-
"type": "object",
|
|
357
|
+
"type": "object",
|
|
358
|
+
"additionalProperties": true,
|
|
112
359
|
"description": "Case 目录命名规则,check 据此检查目录名;缺省按 CASE-日期-序号-主题。fix case-naming 只给改名计划,不移动目录。",
|
|
113
360
|
"properties": {
|
|
114
|
-
"style": {
|
|
115
|
-
|
|
361
|
+
"style": {
|
|
362
|
+
"enum": [
|
|
363
|
+
"case-id",
|
|
364
|
+
"date-topic",
|
|
365
|
+
"custom"
|
|
366
|
+
]
|
|
367
|
+
},
|
|
368
|
+
"pattern": {
|
|
369
|
+
"type": "string",
|
|
370
|
+
"description": "匹配整个目录名的正则;style 为 custom 时必填。"
|
|
371
|
+
}
|
|
116
372
|
}
|
|
117
373
|
}
|
|
118
374
|
}
|
|
119
375
|
},
|
|
120
376
|
"assets": {
|
|
121
|
-
"type": [
|
|
377
|
+
"type": [
|
|
378
|
+
"object",
|
|
379
|
+
"null"
|
|
380
|
+
],
|
|
381
|
+
"additionalProperties": true,
|
|
122
382
|
"properties": {
|
|
123
|
-
"roots": {
|
|
383
|
+
"roots": {
|
|
384
|
+
"$ref": "#/$defs/pathArray"
|
|
385
|
+
}
|
|
124
386
|
}
|
|
125
387
|
}
|
|
126
388
|
}
|
|
127
389
|
},
|
|
128
390
|
"entry": {
|
|
129
|
-
"type": [
|
|
391
|
+
"type": [
|
|
392
|
+
"object",
|
|
393
|
+
"null"
|
|
394
|
+
],
|
|
130
395
|
"additionalProperties": true,
|
|
131
396
|
"description": "人用入口:不经过 AI Agent 打开项目菜单。缺省时仍可用 agenthelm project。",
|
|
132
397
|
"properties": {
|
|
133
|
-
"api": {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
398
|
+
"api": {
|
|
399
|
+
"type": "integer",
|
|
400
|
+
"minimum": 1,
|
|
401
|
+
"description": "项目入口的接口版本;运行时不支持时启动器提示更新"
|
|
402
|
+
},
|
|
403
|
+
"launcher": {
|
|
404
|
+
"type": "string",
|
|
405
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$",
|
|
406
|
+
"description": "根目录启动器的文件名"
|
|
407
|
+
},
|
|
408
|
+
"about": {
|
|
409
|
+
"type": "string"
|
|
410
|
+
},
|
|
411
|
+
"guide": {
|
|
412
|
+
"$ref": "#/$defs/relativePath"
|
|
413
|
+
},
|
|
414
|
+
"tools": {
|
|
415
|
+
"$ref": "#/$defs/relativePath"
|
|
416
|
+
},
|
|
138
417
|
"where": {
|
|
139
418
|
"type": "array",
|
|
140
|
-
"items": {
|
|
141
|
-
|
|
419
|
+
"items": {
|
|
420
|
+
"type": "object",
|
|
421
|
+
"required": [
|
|
422
|
+
"label",
|
|
423
|
+
"path"
|
|
424
|
+
],
|
|
425
|
+
"properties": {
|
|
426
|
+
"label": {
|
|
427
|
+
"type": "string"
|
|
428
|
+
},
|
|
429
|
+
"path": {
|
|
430
|
+
"type": "string"
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
"start": {
|
|
436
|
+
"$ref": "#/$defs/stringArray"
|
|
142
437
|
},
|
|
143
|
-
"start": {"$ref": "#/$defs/stringArray"},
|
|
144
438
|
"items": {
|
|
145
439
|
"type": "object",
|
|
146
440
|
"additionalProperties": true,
|
|
147
|
-
"required": [
|
|
441
|
+
"required": [
|
|
442
|
+
"command"
|
|
443
|
+
],
|
|
148
444
|
"properties": {
|
|
149
|
-
"command": {
|
|
150
|
-
|
|
445
|
+
"command": {
|
|
446
|
+
"type": "array",
|
|
447
|
+
"minItems": 1,
|
|
448
|
+
"items": {
|
|
449
|
+
"type": "string",
|
|
450
|
+
"minLength": 1
|
|
451
|
+
}
|
|
452
|
+
},
|
|
453
|
+
"write": {
|
|
454
|
+
"type": "boolean"
|
|
455
|
+
},
|
|
151
456
|
"status_map": {
|
|
152
457
|
"type": "object",
|
|
153
|
-
"additionalProperties": {
|
|
458
|
+
"additionalProperties": {
|
|
459
|
+
"enum": [
|
|
460
|
+
"active",
|
|
461
|
+
"waiting",
|
|
462
|
+
"captured",
|
|
463
|
+
"suspended",
|
|
464
|
+
"done",
|
|
465
|
+
"abandoned"
|
|
466
|
+
]
|
|
467
|
+
}
|
|
154
468
|
}
|
|
155
469
|
}
|
|
156
470
|
}
|
|
@@ -159,27 +473,41 @@
|
|
|
159
473
|
"privacy": {
|
|
160
474
|
"type": "object",
|
|
161
475
|
"additionalProperties": true,
|
|
162
|
-
"required": [
|
|
476
|
+
"required": [
|
|
477
|
+
"forbidden_default_reads",
|
|
478
|
+
"generated_outputs"
|
|
479
|
+
],
|
|
163
480
|
"properties": {
|
|
164
|
-
"forbidden_default_reads": {
|
|
165
|
-
|
|
481
|
+
"forbidden_default_reads": {
|
|
482
|
+
"$ref": "#/$defs/pathArray"
|
|
483
|
+
},
|
|
484
|
+
"generated_outputs": {
|
|
485
|
+
"$ref": "#/$defs/pathArray"
|
|
486
|
+
}
|
|
166
487
|
}
|
|
167
488
|
}
|
|
168
489
|
},
|
|
169
490
|
"$defs": {
|
|
170
491
|
"stringArray": {
|
|
171
492
|
"type": "array",
|
|
172
|
-
"items": {
|
|
493
|
+
"items": {
|
|
494
|
+
"type": "string",
|
|
495
|
+
"minLength": 1
|
|
496
|
+
},
|
|
173
497
|
"uniqueItems": true
|
|
174
498
|
},
|
|
175
499
|
"relativePath": {
|
|
176
500
|
"type": "string",
|
|
177
501
|
"minLength": 1,
|
|
178
|
-
"not": {
|
|
502
|
+
"not": {
|
|
503
|
+
"pattern": "^(?:/|~|[A-Za-z]:[\\\\/])"
|
|
504
|
+
}
|
|
179
505
|
},
|
|
180
506
|
"pathArray": {
|
|
181
507
|
"type": "array",
|
|
182
|
-
"items": {
|
|
508
|
+
"items": {
|
|
509
|
+
"$ref": "#/$defs/relativePath"
|
|
510
|
+
},
|
|
183
511
|
"uniqueItems": true
|
|
184
512
|
}
|
|
185
513
|
}
|