sync: update from private repo (e84adb9d)
Some checks failed
CI / build-and-test (push) Failing after 6m6s

This commit is contained in:
oss-sync 2026-07-09 00:00:23 +00:00
parent 77ee3bc426
commit e8d38a104d
3 changed files with 6 additions and 2 deletions

View File

@ -67,6 +67,8 @@ exports[`createCoreServer route registration order > pins the auth-active + Conf
"ROUTE delete /api/local/tasks/:taskId",
"ROUTE get /api/local/tasks/:taskId/tool-requests",
"ROUTE post /api/local/tasks/:taskId/tool-requests/:reqId/decide",
"ROUTE get /api/local/tasks/:taskId/package-requests",
"ROUTE post /api/local/tasks/:taskId/package-requests/:reqId/decide",
"ROUTE put /api/local/tasks/:taskId/feedback",
"ROUTE put /api/local/tasks/:taskId/mission",
"ROUTE get /api/local/tasks/:taskId/comments",
@ -183,6 +185,8 @@ exports[`createCoreServer route registration order > pins the no-auth minimal bo
"ROUTE delete /api/local/tasks/:taskId",
"ROUTE get /api/local/tasks/:taskId/tool-requests",
"ROUTE post /api/local/tasks/:taskId/tool-requests/:reqId/decide",
"ROUTE get /api/local/tasks/:taskId/package-requests",
"ROUTE post /api/local/tasks/:taskId/package-requests/:reqId/decide",
"ROUTE put /api/local/tasks/:taskId/feedback",
"ROUTE put /api/local/tasks/:taskId/mission",
"ROUTE get /api/local/tasks/:taskId/comments",

View File

@ -217,7 +217,7 @@ describe('tool-request decide flow (no-auth)', () => {
const { taskId } = await makeTaskWithPendingRequest();
const res = await request(app).post(`/api/local/tasks/${taskId}/comments`).send({ body: 'just a normal message' });
expect(res.status).toBe(409);
expect(String(res.body.error ?? '')).toMatch(/ツール要求/);
expect(String(res.body.error ?? '')).toMatch(/承認要求/);
});
it('does NOT resume a job parked without wait_reason=tool_request (worker-park contract guard)', async () => {

View File

@ -39,7 +39,7 @@ const INDEX_META_TOOLS = [
'ListUserAssets', 'RunUserScript', 'UpdateUserMemory', 'ReadUserMemory',
'ReadUserAgents', 'UpdateUserAgents', 'WriteUserScript', 'Brainstorm',
'ReadAppDoc', 'ListAppDocs', 'GetMyOrchestratorState', 'ReadSkill',
'ListSkills', 'InstallSkill', 'RequestTool',
'ListSkills', 'InstallSkill', 'RequestTool', 'RequestPackage',
];
function makeWorkspace(): string {