@getpaseo/plugin 0.7.0-beta.2 → 0.7.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.
@@ -29,7 +29,18 @@ export interface PluginHostProps {
29
29
  platform: "ios" | "android" | "web";
30
30
  };
31
31
  }
32
- export interface PluginSurfaceProps extends PluginHostProps {
32
+ interface PluginNavigableHostProps extends PluginHostProps {
33
+ /** Client-owned navigation. Undefined on older hosts; hide dependent affordances when absent. */
34
+ readonly navigation?: {
35
+ readonly openAgent: (input: {
36
+ readonly agentId: string;
37
+ }) => void;
38
+ readonly openWorkspace: (input: {
39
+ readonly workspaceId: string;
40
+ }) => void;
41
+ };
42
+ }
43
+ export interface PluginSurfaceProps extends PluginNavigableHostProps {
33
44
  }
34
45
  export interface PluginIconProps {
35
46
  name: string;
@@ -82,11 +93,11 @@ interface PluginWorkspacePanelBase {
82
93
  icon: string;
83
94
  locations?: readonly PluginPanelLocation[];
84
95
  }
85
- export interface PluginWorkspacePanelProps extends PluginHostProps {
96
+ export interface PluginWorkspacePanelProps extends PluginNavigableHostProps {
86
97
  context: "workspace";
87
98
  workspaceId: string;
88
99
  }
89
- export interface PluginAgentPanelProps extends PluginHostProps {
100
+ export interface PluginAgentPanelProps extends PluginNavigableHostProps {
90
101
  context: "agent";
91
102
  workspaceId: string;
92
103
  agentId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getpaseo/plugin",
3
- "version": "0.7.0-beta.2",
3
+ "version": "0.7.0",
4
4
  "description": "Paseo plugin SDK package",
5
5
  "files": [
6
6
  "dist",
@@ -44,8 +44,8 @@
44
44
  "use-sync-external-store": "^1.6.0"
45
45
  },
46
46
  "devDependencies": {
47
- "@getpaseo/client": "0.7.0-beta.2",
48
- "@getpaseo/protocol": "0.7.0-beta.2",
47
+ "@getpaseo/client": "0.7.0",
48
+ "@getpaseo/protocol": "0.7.0",
49
49
  "@types/node": "^20.9.0",
50
50
  "@types/react": "~19.2.0",
51
51
  "react": "19.1.0",
@@ -54,8 +54,8 @@
54
54
  "zod": "^4.4.3"
55
55
  },
56
56
  "peerDependencies": {
57
- "@getpaseo/client": "0.7.0-beta.2",
58
- "@getpaseo/protocol": "0.7.0-beta.2",
57
+ "@getpaseo/client": "0.7.0",
58
+ "@getpaseo/protocol": "0.7.0",
59
59
  "react": "19.1.0",
60
60
  "zod": "^4.4.3"
61
61
  }