@pimote/sdk 0.15.2 → 0.15.3

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/README.md CHANGED
@@ -79,7 +79,7 @@ interface PanelHandle {
79
79
  ```ts
80
80
  interface Card {
81
81
  id: string;
82
- color?: 'accent' | 'success' | 'warning' | 'error' | 'muted';
82
+ color?: 'accent' | 'active' | 'success' | 'warning' | 'error' | 'muted';
83
83
  header: {
84
84
  title: string;
85
85
  tag?: string;
@@ -96,7 +96,7 @@ interface BodySection {
96
96
  ```
97
97
 
98
98
  - **`id`** — Unique identifier for the card within your namespace.
99
- - **`color`** — Optional color theme for the card.
99
+ - **`color`** — Optional semantic status hint for the card's host-rendered accent. Use `active` while work is in flight, `success` for a settled card without an error, `warning` for caution or waiting, `error` for failure, `muted` for low-priority information, and `accent` for general emphasis. The host controls the exact color and rendering.
100
100
  - **`header.title`** — Card title, always visible.
101
101
  - **`header.tag`** — Optional short label displayed next to the title.
102
102
  - **`body`** — Optional content sections, each with a style (`text`, `code`, or `secondary`).
@@ -1,4 +1,5 @@
1
- export type CardColor = 'accent' | 'success' | 'warning' | 'error' | 'muted';
1
+ /** Semantic visual hint for a card's host-rendered status accent. */
2
+ export type CardColor = 'accent' | 'active' | 'success' | 'warning' | 'error' | 'muted';
2
3
  export type BodySectionStyle = 'text' | 'code' | 'secondary';
3
4
  export interface BodySection {
4
5
  content: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pimote/sdk",
3
- "version": "0.15.2",
3
+ "version": "0.15.3",
4
4
  "description": "Pimote extensibility SDK: panel cards, background-activity reap guard, and folder discovery/creation seams for pi extensions",
5
5
  "type": "module",
6
6
  "license": "MIT",