@sero-ai/app-runtime 0.2.1 → 0.3.0
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/package.json +2 -2
- package/src/sero-bridge.ts +0 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sero-ai/app-runtime",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Hooks for Sero federated app modules — useAppState, useAppInfo, useAgentPrompt, useAppTools",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.ts",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@types/react": "^19.2.13",
|
|
25
25
|
"typescript": "^5.9.3",
|
|
26
26
|
"vitest": "^4.1.7",
|
|
27
|
-
"@sero-ai/common": "0.
|
|
27
|
+
"@sero-ai/common": "0.8.0"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
30
|
"typecheck": "tsc --noEmit",
|
package/src/sero-bridge.ts
CHANGED
|
@@ -11,8 +11,6 @@ import type {
|
|
|
11
11
|
AppToolResult,
|
|
12
12
|
AvailableContext,
|
|
13
13
|
ContextPreset,
|
|
14
|
-
GitActionResult,
|
|
15
|
-
GitManagerRequest,
|
|
16
14
|
SharedAvailableModelGroup,
|
|
17
15
|
SharedModelInfo,
|
|
18
16
|
WebAppActionResult,
|
|
@@ -50,10 +48,6 @@ export interface SeroAppControlBridge {
|
|
|
50
48
|
openFile(workspaceId: string, filePath: string): Promise<boolean>;
|
|
51
49
|
}
|
|
52
50
|
|
|
53
|
-
export interface SeroGitAppBridge {
|
|
54
|
-
run(workspaceId: string, params: GitManagerRequest): Promise<GitActionResult>;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
51
|
export interface SeroWebAppBridge {
|
|
58
52
|
run(workspaceId: string, params: WebAppRequest): Promise<WebAppActionResult>;
|
|
59
53
|
}
|
|
@@ -96,7 +90,6 @@ export interface SeroBridge {
|
|
|
96
90
|
appState: SeroWindowAppStateBridge;
|
|
97
91
|
appAgent: SeroAppAgentBridge;
|
|
98
92
|
appControl?: SeroAppControlBridge;
|
|
99
|
-
gitApp?: SeroGitAppBridge;
|
|
100
93
|
webApp?: SeroWebAppBridge;
|
|
101
94
|
editor?: SeroEditorBridge;
|
|
102
95
|
models?: SeroModelsBridge;
|