@@ -55,6 +55,20 @@ const providerConfig = {
5555 } ,
5656} ;
5757
58+ const RELEASE_SMOKE_PLUGIN_ALLOWLIST_BASE = [
59+ "acpx" ,
60+ "bonjour" ,
61+ "browser" ,
62+ "device-pair" ,
63+ "memory-core" ,
64+ "phone-control" ,
65+ "talk-voice" ,
66+ ] ;
67+
68+ export function buildCrossOsReleaseSmokePluginAllowlist ( providerMeta ) {
69+ return [ ...new Set ( [ providerMeta . extensionId , ...RELEASE_SMOKE_PLUGIN_ALLOWLIST_BASE ] ) ] ;
70+ }
71+
5872const PACKAGE_DIST_INVENTORY_RELATIVE_PATH = "dist/postinstall-inventory.json" ;
5973const OMITTED_QA_EXTENSION_PREFIXES = [
6074 "dist/extensions/qa-channel/" ,
@@ -1844,6 +1858,20 @@ async function runInstalledModelsSet(params) {
18441858 logPath : params . logPath ,
18451859 timeoutMs : 2 * 60 * 1000 ,
18461860 } ) ;
1861+ await runInstalledCli ( {
1862+ cliPath : params . cliPath ,
1863+ args : [
1864+ "config" ,
1865+ "set" ,
1866+ "plugins.allow" ,
1867+ JSON . stringify ( buildCrossOsReleaseSmokePluginAllowlist ( params . providerConfig ) ) ,
1868+ "--strict-json" ,
1869+ ] ,
1870+ cwd : params . cwd ,
1871+ env : params . env ,
1872+ logPath : params . logPath ,
1873+ timeoutMs : 2 * 60 * 1000 ,
1874+ } ) ;
18471875 await runInstalledCli ( {
18481876 cliPath : params . cliPath ,
18491877 args : [ "config" , "set" , "agents.defaults.skipBootstrap" , "true" , "--strict-json" ] ,
@@ -2600,6 +2628,19 @@ async function runModelsSet(params) {
26002628 logPath : params . logPath ,
26012629 timeoutMs : 2 * 60 * 1000 ,
26022630 } ) ;
2631+ await runOpenClaw ( {
2632+ lane : params . lane ,
2633+ env : params . env ,
2634+ args : [
2635+ "config" ,
2636+ "set" ,
2637+ "plugins.allow" ,
2638+ JSON . stringify ( buildCrossOsReleaseSmokePluginAllowlist ( params . providerConfig ) ) ,
2639+ "--strict-json" ,
2640+ ] ,
2641+ logPath : params . logPath ,
2642+ timeoutMs : 2 * 60 * 1000 ,
2643+ } ) ;
26032644 await runOpenClaw ( {
26042645 lane : params . lane ,
26052646 env : params . env ,
0 commit comments