@punica/editor 1.39.0 → 1.40.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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@punica/editor",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.40.0",
|
|
4
4
|
"description": "Punica Editor",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"check:copy": "node scripts/check-marketplace-copy.mjs",
|
|
26
26
|
"check:permissions": "node scripts/check-permissions.mjs",
|
|
27
27
|
"check:empty-states": "node scripts/check-empty-states.mjs",
|
|
28
|
+
"check:card-shape": "node scripts/check-card-shape.mjs",
|
|
28
29
|
"check:capability-handlers": "node scripts/check-capability-handlers.mjs",
|
|
29
30
|
"check:duplicate-capabilities": "node scripts/check-duplicate-capabilities.mjs",
|
|
30
31
|
"check:instruction-classes": "node scripts/check-instruction-classes.mjs",
|
|
@@ -163,10 +163,20 @@ declare module 'punica' {
|
|
|
163
163
|
* during bootstrap. Kernel and runtime modules are always registered
|
|
164
164
|
* unconditionally.
|
|
165
165
|
*
|
|
166
|
-
* Structural DOM slots are derived from this list
|
|
167
|
-
*
|
|
168
|
-
* - `shell.
|
|
169
|
-
*
|
|
166
|
+
* Structural DOM slots are derived from this list
|
|
167
|
+
* (`presentedSlots()` in `@punica/editor` is the one definition):
|
|
168
|
+
* - `shell.activityBar` → `activityBar`, `primarySidebar` and
|
|
169
|
+
* `contentSidebar` — the strip is the only gesture that opens a
|
|
170
|
+
* primary sidebar, and the content drawer is anchored beside it
|
|
171
|
+
* (until 2026-09-26 the two sidebars followed `shell.view`, which
|
|
172
|
+
* every profile activates for its helpers, so a window with no
|
|
173
|
+
* strip got a sidebar nothing could open)
|
|
174
|
+
* - `shell.statusbar` → `statusbar`
|
|
175
|
+
*
|
|
176
|
+
* A view whose declared home slot the profile does not present is
|
|
177
|
+
* placed as a tab in the `content` slot, on demand — the extension
|
|
178
|
+
* analysis decorator applies that rule, so an extension never reads
|
|
179
|
+
* the profile.
|
|
170
180
|
*/
|
|
171
181
|
activeModules: ShellModuleId[];
|
|
172
182
|
/**
|
|
@@ -12,6 +12,13 @@ declare module 'punica' {
|
|
|
12
12
|
* agents and MCP clients all converge on them).
|
|
13
13
|
*/
|
|
14
14
|
export namespace Views {
|
|
15
|
+
/**
|
|
16
|
+
* Where a view can be placed. `content` is never a manifest home: it is
|
|
17
|
+
* where a view lands when the active profile presents none of the slot
|
|
18
|
+
* its manifest names (`homeSlot` keeps the declared one), and a view
|
|
19
|
+
* placed there is a content tab, opened by a reveal and closed like a
|
|
20
|
+
* document.
|
|
21
|
+
*/
|
|
15
22
|
export type ViewSlotId =
|
|
16
23
|
| 'primarySidebar'
|
|
17
24
|
| 'secondarySidebar'
|