@paperclipai/plugin-sdk 2026.608.0-canary.1 → 2026.609.0-canary.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.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -238,7 +238,9 @@ Adds a navigation-style entry to the main company sidebar navigation area, rende
238
238
 
239
239
  #### `routeSidebar`
240
240
 
241
- Replaces the normal company sidebar while the current route is a plugin page route with the same `routePath`. Use this for full-page plugin workspaces that need their own local navigation while keeping the company rail and account footer. Receives `PluginRouteSidebarProps` with `context.companyId` and `context.companyPrefix` set to the active company. Requires the `ui.sidebar.register` capability.
241
+ A contextual sidebar shown while the current route is a plugin page route with the same `routePath`. Use this for full-page plugin workspaces that need their own local navigation. It does **not** replace the app sidebar: the host collapses the main `<Sidebar/>` to its 64px icon rail (still hover/peek-able) and renders your `routeSidebar` in a secondary pane beside it, producing `[ app rail ][ your sidebar ][ content ]`. Receives `PluginRouteSidebarProps` with `context.companyId` and `context.companyPrefix` set to the active company. Requires the `ui.sidebar.register` capability.
242
+
243
+ Do **not** mount `RequestCollapsedSidebar` (or otherwise try to collapse the app sidebar) from a `routeSidebar` plugin — the host drives the collapse automatically while your route is active and restores the user's preference when they navigate away. The collapse is a hard invariant: a secondary sidebar always forces the app rail collapsed (hiding its expand toggle), overriding any user pin, but it never mutates the user's saved expanded/collapsed preference — that is restored as soon as they leave your route.
242
244
 
243
245
  #### `sidebarPanel`
244
246
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paperclipai/plugin-sdk",
3
- "version": "2026.608.0-canary.1",
3
+ "version": "2026.609.0-canary.0",
4
4
  "description": "Stable public API for Paperclip plugins — worker-side context and UI bridge hooks",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/paperclipai/paperclip",
@@ -61,7 +61,7 @@
61
61
  "dist"
62
62
  ],
63
63
  "dependencies": {
64
- "@paperclipai/shared": "2026.608.0-canary.1",
64
+ "@paperclipai/shared": "2026.609.0-canary.0",
65
65
  "zod": "^3.24.2"
66
66
  },
67
67
  "devDependencies": {