@ateam-ai-mobile/plugin-runtime 0.1.28 → 0.1.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-WT5TBKGA.mjs → chunk-7X2SDGVF.mjs} +1 -1
- package/dist/chunk-7X2SDGVF.mjs.map +1 -0
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/{loader-X7KHKZ6Y.mjs → loader-GP6X47L6.mjs} +2 -2
- package/package.json +2 -2
- package/src/api/plugins.ts +2 -0
- package/dist/chunk-WT5TBKGA.mjs.map +0 -1
- /package/dist/{loader-X7KHKZ6Y.mjs.map → loader-GP6X47L6.mjs.map} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -100,7 +100,7 @@ import {
|
|
|
100
100
|
useNativeBridge,
|
|
101
101
|
usePluginTheme,
|
|
102
102
|
useSurfaceStore
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-7X2SDGVF.mjs";
|
|
104
104
|
|
|
105
105
|
// src/tools/platformTools.ts
|
|
106
106
|
var PLATFORM_PLUGIN_ID = "platform:device-tools";
|
|
@@ -143,10 +143,10 @@ var REAL_DEPS = {
|
|
|
143
143
|
// `./loader` reaches react-native via the bundle manager; import it only when
|
|
144
144
|
// an effect actually fires (real app), never at module load (tests).
|
|
145
145
|
resetLoader: () => {
|
|
146
|
-
void import("./loader-
|
|
146
|
+
void import("./loader-GP6X47L6.mjs").then((m) => m.resetDeviceToolLoader());
|
|
147
147
|
},
|
|
148
148
|
load: () => {
|
|
149
|
-
void import("./loader-
|
|
149
|
+
void import("./loader-GP6X47L6.mjs").then((m) => {
|
|
150
150
|
m.resetDeviceToolLoader();
|
|
151
151
|
return m.ensureDeviceToolsLoaded({ force: true });
|
|
152
152
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ensureDeviceToolsLoaded,
|
|
3
3
|
resetDeviceToolLoader
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7X2SDGVF.mjs";
|
|
5
5
|
export {
|
|
6
6
|
ensureDeviceToolsLoaded,
|
|
7
7
|
resetDeviceToolLoader
|
|
8
8
|
};
|
|
9
|
-
//# sourceMappingURL=loader-
|
|
9
|
+
//# sourceMappingURL=loader-GP6X47L6.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ateam-ai-mobile/plugin-runtime",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.29",
|
|
4
4
|
"description": "ADAS plugin runtime for React Native hosts — plugin SDK, bundle pipeline with integrity verification, host bridge, surfaces. No Expo dependencies.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"build": "tsup"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@ateam-ai-mobile/core": "0.1.
|
|
12
|
+
"@ateam-ai-mobile/core": "0.1.29",
|
|
13
13
|
"zustand": "^5.0.0"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
package/src/api/plugins.ts
CHANGED
|
@@ -19,6 +19,8 @@ export interface PluginSurfaceMeta {
|
|
|
19
19
|
subtitle?: string;
|
|
20
20
|
privacy?: boolean;
|
|
21
21
|
prompt?: string;
|
|
22
|
+
/** The workspace home: the page the workspace opens on (a solution's choice, or the admin's). */
|
|
23
|
+
home?: boolean;
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
export interface PluginSummary {
|