Skip to content

Commit 2860f56

Browse files
committed
chore(gates): declare provider plugin SDK and module ownership
1 parent b772d9c commit 2860f56

6 files changed

Lines changed: 11 additions & 2 deletions

File tree

‎.fallowrc.json‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"src/sdk/metro.ts",
1010
"src/sdk/remote-config.ts",
1111
"src/sdk/install-source.ts",
12+
"src/sdk/plugins.ts",
1213
"src/sdk/android-adb.ts",
1314
"src/sdk/contracts.ts",
1415
"src/sdk/selectors.ts",
@@ -217,9 +218,10 @@
217218
},
218219
{
219220
"comment": "Dedicated CLI command handlers are reached only through the dynamic `import()` table `dedicatedCliCommandHandlerLoaders` in src/cli/commands/router.ts, which --production analysis cannot follow to a consumer. Same shape as the daemon route-handler entry above; that table is what enumerates this list, so add/remove here whenever a loader is added/removed.",
220-
"file": "src/cli/commands/{auth,connection,daemon,device,proxy,recording,replay,screenshot,takeover}.ts",
221+
"file": "src/cli/commands/{auth,connection,daemon,device,plugins,proxy,recording,replay,screenshot,takeover}.ts",
221222
"exports": [
222223
"authCommand",
224+
"pluginsCommand",
223225
"connectCommand",
224226
"disconnectCommand",
225227
"connectionCommand",

‎package.json‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@
6969
"./ai-sdk": {
7070
"types": "./dist/src/ai-sdk.d.ts",
7171
"import": "./dist/src/ai-sdk.js"
72+
},
73+
"./plugins": {
74+
"types": "./dist/src/plugins.d.ts",
75+
"import": "./dist/src/plugins.js"
7276
}
7377
},
7478
"engines": {

‎packages/command-registry/src/__tests__/device-claim-policy.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ test('every command that deviates from require-owner is a reviewed, diffable set
6868
'lease_release',
6969
'mcp',
7070
'metro',
71+
'plugins',
7172
'proxy',
7273
'react-devtools',
7374
'release_materialized_paths',

‎scripts/layering/daemon-platform-runtime-inventory.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ export const DAEMON_PLATFORM_RUNTIME_EDGES: readonly DaemonPlatformRuntimeEdge[]
223223
{
224224
file: 'src/daemon/server/daemon-runtime.ts',
225225
target: 'src/provider-device-runtimes.ts',
226-
symbols: ['createDefaultProviderRuntimeComposition', 'DEFAULT_PROVIDER_RUNTIME_REQUIRED_IDS'],
226+
symbols: ['createDaemonProviderRuntimeComposition', 'DEFAULT_PROVIDER_RUNTIME_REQUIRED_IDS'],
227227
classification: 'composition-essential',
228228
rationale:
229229
'process-root assembly of the default provider runtime composition and the ids whose runtime ' +

‎scripts/layering/model.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ const TARGET_DAG_RANK = new Map([
6464
['metro', 4],
6565
['remote', 4],
6666
['sdk', 4],
67+
['plugins', 4],
6768
['daemon-client', 5],
6869
['cli', 6],
6970
]);

‎tsdown.config.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ export default defineConfig({
101101
'install-source': 'src/sdk/install-source.ts',
102102
'android-adb': 'src/sdk/android-adb.ts',
103103
limrun: 'src/sdk/limrun.ts',
104+
plugins: 'src/sdk/plugins.ts',
104105
contracts: 'src/sdk/contracts.ts',
105106
selectors: 'src/sdk/selectors.ts',
106107
finders: 'src/sdk/finders.ts',

0 commit comments

Comments
 (0)