接入 Godot 编辑器插件与受控执行链路

新增 GDExtension 自动引导、GDScript 执行和实例隔离缓存
接入 AGC 插件开关、Runner、Agent 工具与权限审计
完善执行回执确认、不确定状态阻断及卸载恢复
补齐 Windows 分发资源、定向测试与实机验收文档
This commit is contained in:
kdletters
2026-09-20 16:35:04 +08:00
parent 15774a1c02
commit 54d0fb75ea
77 changed files with 11545 additions and 582 deletions
+5 -1
View File
@@ -115,8 +115,12 @@ export function createUnityEditorPlugin({ send, timeoutMs = 85_000 }) {
(result.status === 'completed' &&
result.ok &&
result.dispatched &&
!Object.hasOwn(result, 'error') &&
Object.hasOwn(result, 'result')) ||
(result.status === 'failed' && !result.ok && validError)
(result.status === 'failed' &&
!result.ok &&
validError &&
!Object.hasOwn(result, 'result'))
)
) {
return reconcile('Unity 执行回执无效');
@@ -180,6 +180,13 @@ test('可信运行失败可以修正代码后再次执行', async (t) => {
test('超时回执与不完整终态均保守阻断,不自行重放', async (t) => {
for (const rpc of [
() => ({ ...success, error: { code: 'conflict', message: 'both' } }),
() => ({
...success,
ok: false,
status: 'failed',
error: { code: 'conflict', message: 'both' },
}),
() => new Promise(() => {}),
() => ({ ok: true }),
() => ({