fix(coding): remediate data service review findings
This commit is contained in:
@@ -1347,7 +1347,14 @@ export async function runFinalAsarExtensionProof(): Promise<PiReleaseExtensionPr
|
||||
throw new Error('Final packaged Pi parent did not load the materialized subagent tool');
|
||||
}
|
||||
if (childToolNames.includes('subagent') || childToolNames.some((name) => (
|
||||
['ask_user', 'agent_browser', 'game_asset_browser', 'game_asset_review', 'task_state', 'changed_file', 'runtime_context']
|
||||
[
|
||||
'ask_user', 'agent_browser', 'game_asset_browser', 'game_asset_review',
|
||||
'task_state', 'changed_file', 'runtime_context',
|
||||
'data_service_configure', 'data_service_inspect', 'data_service_list_projects',
|
||||
'data_service_get_document', 'data_service_list_documents', 'data_service_put_document',
|
||||
'data_service_delete_document', 'data_service_remove_collection', 'data_service_reset',
|
||||
'data_service_remove_project',
|
||||
]
|
||||
.includes(name)
|
||||
))) {
|
||||
throw new Error('Final packaged Pi child exposed parent-only product tools');
|
||||
|
||||
Reference in New Issue
Block a user