deck-plugin-sdk 1.17.3 → 1.17.4

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": "deck-plugin-sdk",
3
- "version": "1.17.3",
3
+ "version": "1.17.4",
4
4
  "description": "Build a plugin for Deck, outside the Deck repository.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -5,6 +5,6 @@
5
5
  "icon": "Sparkles",
6
6
  "color": "#a78bfa",
7
7
  "version": "0.1.0",
8
- "minDeck": "1.17.3",
8
+ "minDeck": "1.17.4",
9
9
  "permissions": []
10
10
  }
@@ -330,6 +330,8 @@ export interface Settings {
330
330
  filesCorner?: "files" | "bottom";
331
331
  /** That column folded to a strip with one button. */
332
332
  filesPanelFolded?: boolean;
333
+ /** On the left, that column reaches the top of the window, beside the project sidebar, and the tabs start beside it. */
334
+ filesPanelTop?: boolean;
333
335
  /** Pane controls float over the pane's top-right corner on hover, instead of a header row. */
334
336
  floatingPaneControls: boolean;
335
337
  /** Per notification kind, whether it shows as a card, in the bell, with a sound, and as a Windows
@@ -29,6 +29,16 @@ export declare function cannotAdd(ws: HasFolders, dir: string): string | null;
29
29
  export declare function withFolder<W extends HasFolders>(ws: W, dir: string): W;
30
30
  /** The workspace without `dir`. The main folder stays: the session and the name hang on it. */
31
31
  export declare function withoutFolder<W extends HasFolders>(ws: W, dir: string): W;
32
+ /**
33
+ * The workspace with its folders in `order` (the same folders, or fewer to drop some): the first is
34
+ * where a plain terminal opens, and what `cwd` holds. Panes keep running where they did: those that
35
+ * followed the old first folder now name it as their own. Unchanged when `order` is empty.
36
+ */
37
+ export declare function withOrder<W extends HasFolders & {
38
+ tabs: {
39
+ root: unknown;
40
+ }[];
41
+ }>(ws: W, order: readonly string[]): W;
32
42
  interface Mergeable extends HasFolders {
33
43
  id: string;
34
44
  tabs: {