@cadraos/sdk 0.3.10 → 0.3.12

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.
@@ -1,5 +1,4 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ReactNode } from 'react';
3
2
 
4
3
  /**
5
4
  * Shared kanban types for the @cadraos/sdk/kanban module.
@@ -1640,11 +1639,6 @@ interface KanbanAdapter {
1640
1639
  * @returns The updated card.
1641
1640
  */
1642
1641
  transitionCard(input: TransitionCardInput): Promise<KanbanCard$1>;
1643
- /**
1644
- * Delete a card permanently. OPTIONAL — when absent, the board offers no
1645
- * delete affordance (back-compat). Server-authorized + org-scoped.
1646
- */
1647
- deleteCard?(cardId: string): Promise<void>;
1648
1642
  /**
1649
1643
  * Create an `ExecutionStreamController` for a card's run, keyed on the
1650
1644
  * card's `executionId`.
@@ -1717,14 +1711,6 @@ interface LaneAgentPickerProps {
1717
1711
  * "Only Ava (owner) can change agents". Rendered as text, never a tooltip.
1718
1712
  */
1719
1713
  lockedReason?: string;
1720
- /**
1721
- * MV3 (optional, additive). When provided AND an agent is `selected`, the
1722
- * open menu shows an "Edit this agent" footer action; clicking it calls
1723
- * `onEditAgent(selected.id)` and closes the menu. The HOST owns the edit
1724
- * surface (e.g. an in-shell sheet) — the picker only fires the intent.
1725
- * Omit → today's render, unchanged.
1726
- */
1727
- onEditAgent?: (agentId: string) => void;
1728
1714
  /** Additional CSS class. */
1729
1715
  className?: string;
1730
1716
  }
@@ -1732,7 +1718,7 @@ interface LaneAgentPickerProps {
1732
1718
  * Render the lane agent picker — interactive for owners, locked-with-reason for
1733
1719
  * members.
1734
1720
  */
1735
- declare function LaneAgentPicker({ selected, options, onSelect, canEdit, lockedReason, onEditAgent, className, }: LaneAgentPickerProps): react_jsx_runtime.JSX.Element;
1721
+ declare function LaneAgentPicker({ selected, options, onSelect, canEdit, lockedReason, className, }: LaneAgentPickerProps): react_jsx_runtime.JSX.Element;
1736
1722
 
1737
1723
  interface KanbanBoardProps {
1738
1724
  /** The adapter driving the board (default HTTP or a custom direct adapter). */
@@ -1807,75 +1793,13 @@ interface KanbanBoardProps {
1807
1793
  * change it) to re-open after the user closes the drawer.
1808
1794
  */
1809
1795
  focusCardId?: string;
1810
- /**
1811
- * Replace the built-in `CardDrawer` with a HOST-owned drawer (work-shell v2,
1812
- * Screen C). When provided, the board renders `renderCardDrawer(ctx)` instead
1813
- * of its internal drawer whenever a card is selected — the host owns the
1814
- * tabbed Run/Context/Activity/Steer presentation while the board still owns
1815
- * selection state (`focusCardId`, click-to-open, close). Absent → today's
1816
- * internal drawer (M10 back-compat; yobo + the test harness are unchanged).
1817
- *
1818
- * The context carries everything the internal drawer receives, so the host
1819
- * drawer can advance/transition/retry/edit the card and react to run-terminal
1820
- * exactly as the built-in one does.
1821
- */
1822
- renderCardDrawer?: (ctx: CardDrawerRenderContext) => ReactNode;
1823
- /**
1824
- * Enable HTML5 drag-to-move cards between lanes (work-shell v2 / MV4). A card
1825
- * can only be dropped on a lane reachable by a `manualAllowed` transition from
1826
- * its current lane — allowed lanes highlight, others refuse the drop. The move
1827
- * commits through the same `transitionCard` path as the drawer (server
1828
- * re-validates). OPTIONAL — absent → no drag (today's render, M10). Requires
1829
- * `enableAdvance` (the transitions that gate drops come from the same source).
1830
- */
1831
- enableDrag?: boolean;
1832
1796
  /** Additional CSS class for the board container. */
1833
1797
  className?: string;
1834
1798
  }
1835
- /**
1836
- * Everything a HOST-owned card drawer needs — mirrors the props the built-in
1837
- * `CardDrawer` receives (work-shell v2 Screen C seam). The board owns selection;
1838
- * the host owns rendering.
1839
- */
1840
- interface CardDrawerRenderContext {
1841
- /** The currently open card. */
1842
- card: KanbanCard$1;
1843
- /** The adapter (provides `getCard`, the run-stream factory, etc.). */
1844
- adapter: KanbanAdapter;
1845
- /** All lanes (for resolving transition target labels + human-gate detection). */
1846
- lanes: KanbanLane[];
1847
- /**
1848
- * The lifecycle's declared edges — filter to `fromLane === card.lane &&
1849
- * manualAllowed` for the "Move to a step" targets. Undefined when advance is
1850
- * disabled.
1851
- */
1852
- transitions?: KanbanTransition[];
1853
- /** Whether the card can be advanced (false in a terminal lane). */
1854
- canAdvance: boolean;
1855
- /** Close the drawer (clears the board's selection). */
1856
- onClose: () => void;
1857
- /** Re-dispatch a failed card. Absent when the host supplied no `onRetryCard`. */
1858
- onRetry?: (card: KanbanCard$1) => void;
1859
- /** Persist an inline title/description edit. Absent when `enableEdit` is false. */
1860
- onUpdate?: (cardId: string, patch: {
1861
- title?: string;
1862
- description?: string;
1863
- }) => void | Promise<void | unknown>;
1864
- /** Auto-advance a single-edge lane. Absent when `enableAdvance` is false. */
1865
- onAdvance?: (cardId: string) => void | Promise<void | unknown>;
1866
- /** Take a specific manual transition. Absent when `enableAdvance` is false. */
1867
- onTransition?: (cardId: string, toLane: string) => void | Promise<void | unknown>;
1868
- /** Delete this card permanently. Absent when the adapter has no `deleteCard`. */
1869
- onDelete?: (cardId: string) => Promise<boolean>;
1870
- /** Fired when the card's run reaches a terminal state (host should refetch). */
1871
- onRunTerminal?: (status: "completed" | "failed") => void;
1872
- /** Fired on a non-throwing run/board error. */
1873
- onError?: (message: string) => void;
1874
- }
1875
1799
  /**
1876
1800
  * Drop-in agent-first kanban board.
1877
1801
  */
1878
- declare function KanbanBoard({ adapter, onCreateCard, onRetryCard, onError, onCardCreated, enableCreate, enableEdit, enableAdvance, pollIntervalMs, laneCounts, canEditHandlers, laneAgentPicker, scheduleStatus, focusCardId, renderCardDrawer, enableDrag, className, }: KanbanBoardProps): react_jsx_runtime.JSX.Element;
1802
+ declare function KanbanBoard({ adapter, onCreateCard, onRetryCard, onError, onCardCreated, enableCreate, enableEdit, enableAdvance, pollIntervalMs, laneCounts, canEditHandlers, laneAgentPicker, scheduleStatus, focusCardId, className, }: KanbanBoardProps): react_jsx_runtime.JSX.Element;
1879
1803
 
1880
1804
  /**
1881
1805
  * The host's BROWSER-SIDE card source. The host implements these against its
@@ -1897,8 +1821,6 @@ interface AgentBoardCardSource {
1897
1821
  }): Promise<KanbanCard$1>;
1898
1822
  /** Request a manual transition → host engine validates + advances. */
1899
1823
  transitionCard(input: TransitionCardInput): Promise<KanbanCard$1>;
1900
- /** Delete a card permanently. OPTIONAL — absent → no delete affordance. */
1901
- deleteCard?(cardId: string): Promise<void>;
1902
1824
  /**
1903
1825
  * Create an `ExecutionStreamController` for a card's run (the SAME controller
1904
1826
  * the chat module uses). Optional — when absent, the drawer falls back to the
@@ -1973,27 +1895,13 @@ interface KanbanColumnProps {
1973
1895
  * `canEdit` for `agentPicker` when the slot doesn't set its own.
1974
1896
  */
1975
1897
  canEditHandlers?: boolean;
1976
- /** Make this column's cards draggable sources. */
1977
- draggableCards?: boolean;
1978
- /** A drag is in progress somewhere on the board (drives the dimming of
1979
- * non-target lanes). */
1980
- dragActive?: boolean;
1981
- /** This lane is a VALID drop target for the card currently being dragged
1982
- * (`manualAllowed` from its lane) — highlight + accept the drop. */
1983
- dropAllowed?: boolean;
1984
- /** Fired when a card in this column starts being dragged. */
1985
- onCardDragStart?: (card: KanbanCard$1) => void;
1986
- /** Fired when a drag ends (drop or cancel). */
1987
- onCardDragEnd?: () => void;
1988
- /** Fired when a card is dropped onto this lane (only when `dropAllowed`). */
1989
- onLaneDrop?: (lane: KanbanLane) => void;
1990
1898
  /** Additional CSS class. */
1991
1899
  className?: string;
1992
1900
  }
1993
1901
  /**
1994
1902
  * Render a single lane column with its cards.
1995
1903
  */
1996
- declare function KanbanColumn({ lane, cards, onCardClick, selectedCardId, onCreateCard, showCreate, count, agentPicker, canEditHandlers, draggableCards, dragActive, dropAllowed, onCardDragStart, onCardDragEnd, onLaneDrop, className, }: KanbanColumnProps): react_jsx_runtime.JSX.Element;
1904
+ declare function KanbanColumn({ lane, cards, onCardClick, selectedCardId, onCreateCard, showCreate, count, agentPicker, canEditHandlers, className, }: KanbanColumnProps): react_jsx_runtime.JSX.Element;
1997
1905
 
1998
1906
  /**
1999
1907
  * A card's lane-relative schedule state (spec §3a), computed by the column from
@@ -2017,24 +1925,13 @@ interface KanbanCardProps {
2017
1925
  * (today's render).
2018
1926
  */
2019
1927
  dueState?: DueState;
2020
- /**
2021
- * Make this card an HTML5 drag SOURCE (work-shell v2 / MV4). OPTIONAL —
2022
- * absent → not draggable (today's render, M10). The board decides where a
2023
- * drop is allowed (only `manualAllowed` targets); the card just reports the
2024
- * drag start/end.
2025
- */
2026
- draggable?: boolean;
2027
- /** Fired on drag start (draggable cards only). */
2028
- onDragStart?: (card: KanbanCard$1) => void;
2029
- /** Fired on drag end (draggable cards only). */
2030
- onDragEnd?: () => void;
2031
1928
  /** Additional CSS class. */
2032
1929
  className?: string;
2033
1930
  }
2034
1931
  /**
2035
1932
  * Render a single kanban card tile.
2036
1933
  */
2037
- declare function KanbanCard({ card, onClick, selected, dueState, draggable, onDragStart, onDragEnd, className, }: KanbanCardProps): react_jsx_runtime.JSX.Element;
1934
+ declare function KanbanCard({ card, onClick, selected, dueState, className, }: KanbanCardProps): react_jsx_runtime.JSX.Element;
2038
1935
 
2039
1936
  interface CardDrawerProps {
2040
1937
  /** The card to display, or null when the drawer is closed. */
@@ -2221,8 +2118,6 @@ interface UseKanbanBoardResult {
2221
2118
  }) => Promise<KanbanCard$1 | null>;
2222
2119
  /** Manually transition a card; refetches the board afterwards. */
2223
2120
  transitionCard: (input: TransitionCardInput) => Promise<KanbanCard$1 | null>;
2224
- /** Delete a card permanently (optimistic + rollback). Returns success. */
2225
- deleteCard: (cardId: string) => Promise<boolean>;
2226
2121
  /**
2227
2122
  * Called by the drawer when the open card's run reaches a terminal state.
2228
2123
  * Refetches the board (Spec-1 propagation contract).
@@ -4867,4 +4762,4 @@ interface KanbanStorageAdapter {
4867
4762
  getStageRun(idemKey: string): Promise<StageRun | null>;
4868
4763
  }
4869
4764
 
4870
- export { type Actor, type AdapterCapabilities, AgentBoard, type AgentBoardCardSource, type AgentBoardProps, type ApplyTransitionInput, type BadgeVariant, BoardConfigClient, type BoardConfigClientOptions, type BoardConfigHttp, CadraLifecycleSource, CapMeter, type CapMeterProps, CardDrawer, type CardDrawerProps, type CardDrawerRenderContext, type CardList, type CreateCardInput, type CreateCardServerInput, type DefaultKanbanAdapterConfig, type DueRule, type DueState, type KanbanActorType, type KanbanAdapter, KanbanBoard, type KanbanBoard$1 as KanbanBoardData, type KanbanBoardProps, type KanbanCard$1 as KanbanCard, type KanbanCardProps, KanbanCard as KanbanCardTile, KanbanColumn, type KanbanColumnProps, type KanbanHandlerType, type KanbanLane, type KanbanLaneDispatch, type KanbanLaneHandler, type KanbanLaneTrigger, type KanbanRunStatus, type KanbanRunSummary, type KanbanStorageAdapter, type KanbanTransition, type KanbanWebhookBinding, type LaneAgentKind, type LaneAgentOption, LaneAgentPicker, type LaneAgentPickerProps, type LifecycleRef, type LifecycleSource, type LifecycleSourceKind, type ListCardsInput, type ResolveLifecycleRef, type ResolvedBoardConfig, type ResolvedLifecycle, ScheduleStatus, type ScheduleStatusProps, type Stage, type StageRun, type StageRunStatus, type Transition, type TransitionCardInput, type TransitionLogEntry, type UseCardRunOptions, type UseCardRunResult, type UseKanbanBoardOptions, type UseKanbanBoardResult, badgeVariantClass, cn, createDefaultKanbanAdapter, mapDefinitionToBoard, runStatusTone, toResolvedLifecycle, useCardRun, useKanbanBoard };
4765
+ export { type Actor, type AdapterCapabilities, AgentBoard, type AgentBoardCardSource, type AgentBoardProps, type ApplyTransitionInput, type BadgeVariant, BoardConfigClient, type BoardConfigClientOptions, type BoardConfigHttp, CadraLifecycleSource, CapMeter, type CapMeterProps, CardDrawer, type CardDrawerProps, type CardList, type CreateCardInput, type CreateCardServerInput, type DefaultKanbanAdapterConfig, type DueRule, type DueState, type KanbanActorType, type KanbanAdapter, KanbanBoard, type KanbanBoard$1 as KanbanBoardData, type KanbanBoardProps, type KanbanCard$1 as KanbanCard, type KanbanCardProps, KanbanCard as KanbanCardTile, KanbanColumn, type KanbanColumnProps, type KanbanHandlerType, type KanbanLane, type KanbanLaneDispatch, type KanbanLaneHandler, type KanbanLaneTrigger, type KanbanRunStatus, type KanbanRunSummary, type KanbanStorageAdapter, type KanbanTransition, type KanbanWebhookBinding, type LaneAgentKind, type LaneAgentOption, LaneAgentPicker, type LaneAgentPickerProps, type LifecycleRef, type LifecycleSource, type LifecycleSourceKind, type ListCardsInput, type ResolveLifecycleRef, type ResolvedBoardConfig, type ResolvedLifecycle, ScheduleStatus, type ScheduleStatusProps, type Stage, type StageRun, type StageRunStatus, type Transition, type TransitionCardInput, type TransitionLogEntry, type UseCardRunOptions, type UseCardRunResult, type UseKanbanBoardOptions, type UseKanbanBoardResult, badgeVariantClass, cn, createDefaultKanbanAdapter, mapDefinitionToBoard, runStatusTone, toResolvedLifecycle, useCardRun, useKanbanBoard };
@@ -1,5 +1,4 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ReactNode } from 'react';
3
2
 
4
3
  /**
5
4
  * Shared kanban types for the @cadraos/sdk/kanban module.
@@ -1640,11 +1639,6 @@ interface KanbanAdapter {
1640
1639
  * @returns The updated card.
1641
1640
  */
1642
1641
  transitionCard(input: TransitionCardInput): Promise<KanbanCard$1>;
1643
- /**
1644
- * Delete a card permanently. OPTIONAL — when absent, the board offers no
1645
- * delete affordance (back-compat). Server-authorized + org-scoped.
1646
- */
1647
- deleteCard?(cardId: string): Promise<void>;
1648
1642
  /**
1649
1643
  * Create an `ExecutionStreamController` for a card's run, keyed on the
1650
1644
  * card's `executionId`.
@@ -1717,14 +1711,6 @@ interface LaneAgentPickerProps {
1717
1711
  * "Only Ava (owner) can change agents". Rendered as text, never a tooltip.
1718
1712
  */
1719
1713
  lockedReason?: string;
1720
- /**
1721
- * MV3 (optional, additive). When provided AND an agent is `selected`, the
1722
- * open menu shows an "Edit this agent" footer action; clicking it calls
1723
- * `onEditAgent(selected.id)` and closes the menu. The HOST owns the edit
1724
- * surface (e.g. an in-shell sheet) — the picker only fires the intent.
1725
- * Omit → today's render, unchanged.
1726
- */
1727
- onEditAgent?: (agentId: string) => void;
1728
1714
  /** Additional CSS class. */
1729
1715
  className?: string;
1730
1716
  }
@@ -1732,7 +1718,7 @@ interface LaneAgentPickerProps {
1732
1718
  * Render the lane agent picker — interactive for owners, locked-with-reason for
1733
1719
  * members.
1734
1720
  */
1735
- declare function LaneAgentPicker({ selected, options, onSelect, canEdit, lockedReason, onEditAgent, className, }: LaneAgentPickerProps): react_jsx_runtime.JSX.Element;
1721
+ declare function LaneAgentPicker({ selected, options, onSelect, canEdit, lockedReason, className, }: LaneAgentPickerProps): react_jsx_runtime.JSX.Element;
1736
1722
 
1737
1723
  interface KanbanBoardProps {
1738
1724
  /** The adapter driving the board (default HTTP or a custom direct adapter). */
@@ -1807,75 +1793,13 @@ interface KanbanBoardProps {
1807
1793
  * change it) to re-open after the user closes the drawer.
1808
1794
  */
1809
1795
  focusCardId?: string;
1810
- /**
1811
- * Replace the built-in `CardDrawer` with a HOST-owned drawer (work-shell v2,
1812
- * Screen C). When provided, the board renders `renderCardDrawer(ctx)` instead
1813
- * of its internal drawer whenever a card is selected — the host owns the
1814
- * tabbed Run/Context/Activity/Steer presentation while the board still owns
1815
- * selection state (`focusCardId`, click-to-open, close). Absent → today's
1816
- * internal drawer (M10 back-compat; yobo + the test harness are unchanged).
1817
- *
1818
- * The context carries everything the internal drawer receives, so the host
1819
- * drawer can advance/transition/retry/edit the card and react to run-terminal
1820
- * exactly as the built-in one does.
1821
- */
1822
- renderCardDrawer?: (ctx: CardDrawerRenderContext) => ReactNode;
1823
- /**
1824
- * Enable HTML5 drag-to-move cards between lanes (work-shell v2 / MV4). A card
1825
- * can only be dropped on a lane reachable by a `manualAllowed` transition from
1826
- * its current lane — allowed lanes highlight, others refuse the drop. The move
1827
- * commits through the same `transitionCard` path as the drawer (server
1828
- * re-validates). OPTIONAL — absent → no drag (today's render, M10). Requires
1829
- * `enableAdvance` (the transitions that gate drops come from the same source).
1830
- */
1831
- enableDrag?: boolean;
1832
1796
  /** Additional CSS class for the board container. */
1833
1797
  className?: string;
1834
1798
  }
1835
- /**
1836
- * Everything a HOST-owned card drawer needs — mirrors the props the built-in
1837
- * `CardDrawer` receives (work-shell v2 Screen C seam). The board owns selection;
1838
- * the host owns rendering.
1839
- */
1840
- interface CardDrawerRenderContext {
1841
- /** The currently open card. */
1842
- card: KanbanCard$1;
1843
- /** The adapter (provides `getCard`, the run-stream factory, etc.). */
1844
- adapter: KanbanAdapter;
1845
- /** All lanes (for resolving transition target labels + human-gate detection). */
1846
- lanes: KanbanLane[];
1847
- /**
1848
- * The lifecycle's declared edges — filter to `fromLane === card.lane &&
1849
- * manualAllowed` for the "Move to a step" targets. Undefined when advance is
1850
- * disabled.
1851
- */
1852
- transitions?: KanbanTransition[];
1853
- /** Whether the card can be advanced (false in a terminal lane). */
1854
- canAdvance: boolean;
1855
- /** Close the drawer (clears the board's selection). */
1856
- onClose: () => void;
1857
- /** Re-dispatch a failed card. Absent when the host supplied no `onRetryCard`. */
1858
- onRetry?: (card: KanbanCard$1) => void;
1859
- /** Persist an inline title/description edit. Absent when `enableEdit` is false. */
1860
- onUpdate?: (cardId: string, patch: {
1861
- title?: string;
1862
- description?: string;
1863
- }) => void | Promise<void | unknown>;
1864
- /** Auto-advance a single-edge lane. Absent when `enableAdvance` is false. */
1865
- onAdvance?: (cardId: string) => void | Promise<void | unknown>;
1866
- /** Take a specific manual transition. Absent when `enableAdvance` is false. */
1867
- onTransition?: (cardId: string, toLane: string) => void | Promise<void | unknown>;
1868
- /** Delete this card permanently. Absent when the adapter has no `deleteCard`. */
1869
- onDelete?: (cardId: string) => Promise<boolean>;
1870
- /** Fired when the card's run reaches a terminal state (host should refetch). */
1871
- onRunTerminal?: (status: "completed" | "failed") => void;
1872
- /** Fired on a non-throwing run/board error. */
1873
- onError?: (message: string) => void;
1874
- }
1875
1799
  /**
1876
1800
  * Drop-in agent-first kanban board.
1877
1801
  */
1878
- declare function KanbanBoard({ adapter, onCreateCard, onRetryCard, onError, onCardCreated, enableCreate, enableEdit, enableAdvance, pollIntervalMs, laneCounts, canEditHandlers, laneAgentPicker, scheduleStatus, focusCardId, renderCardDrawer, enableDrag, className, }: KanbanBoardProps): react_jsx_runtime.JSX.Element;
1802
+ declare function KanbanBoard({ adapter, onCreateCard, onRetryCard, onError, onCardCreated, enableCreate, enableEdit, enableAdvance, pollIntervalMs, laneCounts, canEditHandlers, laneAgentPicker, scheduleStatus, focusCardId, className, }: KanbanBoardProps): react_jsx_runtime.JSX.Element;
1879
1803
 
1880
1804
  /**
1881
1805
  * The host's BROWSER-SIDE card source. The host implements these against its
@@ -1897,8 +1821,6 @@ interface AgentBoardCardSource {
1897
1821
  }): Promise<KanbanCard$1>;
1898
1822
  /** Request a manual transition → host engine validates + advances. */
1899
1823
  transitionCard(input: TransitionCardInput): Promise<KanbanCard$1>;
1900
- /** Delete a card permanently. OPTIONAL — absent → no delete affordance. */
1901
- deleteCard?(cardId: string): Promise<void>;
1902
1824
  /**
1903
1825
  * Create an `ExecutionStreamController` for a card's run (the SAME controller
1904
1826
  * the chat module uses). Optional — when absent, the drawer falls back to the
@@ -1973,27 +1895,13 @@ interface KanbanColumnProps {
1973
1895
  * `canEdit` for `agentPicker` when the slot doesn't set its own.
1974
1896
  */
1975
1897
  canEditHandlers?: boolean;
1976
- /** Make this column's cards draggable sources. */
1977
- draggableCards?: boolean;
1978
- /** A drag is in progress somewhere on the board (drives the dimming of
1979
- * non-target lanes). */
1980
- dragActive?: boolean;
1981
- /** This lane is a VALID drop target for the card currently being dragged
1982
- * (`manualAllowed` from its lane) — highlight + accept the drop. */
1983
- dropAllowed?: boolean;
1984
- /** Fired when a card in this column starts being dragged. */
1985
- onCardDragStart?: (card: KanbanCard$1) => void;
1986
- /** Fired when a drag ends (drop or cancel). */
1987
- onCardDragEnd?: () => void;
1988
- /** Fired when a card is dropped onto this lane (only when `dropAllowed`). */
1989
- onLaneDrop?: (lane: KanbanLane) => void;
1990
1898
  /** Additional CSS class. */
1991
1899
  className?: string;
1992
1900
  }
1993
1901
  /**
1994
1902
  * Render a single lane column with its cards.
1995
1903
  */
1996
- declare function KanbanColumn({ lane, cards, onCardClick, selectedCardId, onCreateCard, showCreate, count, agentPicker, canEditHandlers, draggableCards, dragActive, dropAllowed, onCardDragStart, onCardDragEnd, onLaneDrop, className, }: KanbanColumnProps): react_jsx_runtime.JSX.Element;
1904
+ declare function KanbanColumn({ lane, cards, onCardClick, selectedCardId, onCreateCard, showCreate, count, agentPicker, canEditHandlers, className, }: KanbanColumnProps): react_jsx_runtime.JSX.Element;
1997
1905
 
1998
1906
  /**
1999
1907
  * A card's lane-relative schedule state (spec §3a), computed by the column from
@@ -2017,24 +1925,13 @@ interface KanbanCardProps {
2017
1925
  * (today's render).
2018
1926
  */
2019
1927
  dueState?: DueState;
2020
- /**
2021
- * Make this card an HTML5 drag SOURCE (work-shell v2 / MV4). OPTIONAL —
2022
- * absent → not draggable (today's render, M10). The board decides where a
2023
- * drop is allowed (only `manualAllowed` targets); the card just reports the
2024
- * drag start/end.
2025
- */
2026
- draggable?: boolean;
2027
- /** Fired on drag start (draggable cards only). */
2028
- onDragStart?: (card: KanbanCard$1) => void;
2029
- /** Fired on drag end (draggable cards only). */
2030
- onDragEnd?: () => void;
2031
1928
  /** Additional CSS class. */
2032
1929
  className?: string;
2033
1930
  }
2034
1931
  /**
2035
1932
  * Render a single kanban card tile.
2036
1933
  */
2037
- declare function KanbanCard({ card, onClick, selected, dueState, draggable, onDragStart, onDragEnd, className, }: KanbanCardProps): react_jsx_runtime.JSX.Element;
1934
+ declare function KanbanCard({ card, onClick, selected, dueState, className, }: KanbanCardProps): react_jsx_runtime.JSX.Element;
2038
1935
 
2039
1936
  interface CardDrawerProps {
2040
1937
  /** The card to display, or null when the drawer is closed. */
@@ -2221,8 +2118,6 @@ interface UseKanbanBoardResult {
2221
2118
  }) => Promise<KanbanCard$1 | null>;
2222
2119
  /** Manually transition a card; refetches the board afterwards. */
2223
2120
  transitionCard: (input: TransitionCardInput) => Promise<KanbanCard$1 | null>;
2224
- /** Delete a card permanently (optimistic + rollback). Returns success. */
2225
- deleteCard: (cardId: string) => Promise<boolean>;
2226
2121
  /**
2227
2122
  * Called by the drawer when the open card's run reaches a terminal state.
2228
2123
  * Refetches the board (Spec-1 propagation contract).
@@ -4867,4 +4762,4 @@ interface KanbanStorageAdapter {
4867
4762
  getStageRun(idemKey: string): Promise<StageRun | null>;
4868
4763
  }
4869
4764
 
4870
- export { type Actor, type AdapterCapabilities, AgentBoard, type AgentBoardCardSource, type AgentBoardProps, type ApplyTransitionInput, type BadgeVariant, BoardConfigClient, type BoardConfigClientOptions, type BoardConfigHttp, CadraLifecycleSource, CapMeter, type CapMeterProps, CardDrawer, type CardDrawerProps, type CardDrawerRenderContext, type CardList, type CreateCardInput, type CreateCardServerInput, type DefaultKanbanAdapterConfig, type DueRule, type DueState, type KanbanActorType, type KanbanAdapter, KanbanBoard, type KanbanBoard$1 as KanbanBoardData, type KanbanBoardProps, type KanbanCard$1 as KanbanCard, type KanbanCardProps, KanbanCard as KanbanCardTile, KanbanColumn, type KanbanColumnProps, type KanbanHandlerType, type KanbanLane, type KanbanLaneDispatch, type KanbanLaneHandler, type KanbanLaneTrigger, type KanbanRunStatus, type KanbanRunSummary, type KanbanStorageAdapter, type KanbanTransition, type KanbanWebhookBinding, type LaneAgentKind, type LaneAgentOption, LaneAgentPicker, type LaneAgentPickerProps, type LifecycleRef, type LifecycleSource, type LifecycleSourceKind, type ListCardsInput, type ResolveLifecycleRef, type ResolvedBoardConfig, type ResolvedLifecycle, ScheduleStatus, type ScheduleStatusProps, type Stage, type StageRun, type StageRunStatus, type Transition, type TransitionCardInput, type TransitionLogEntry, type UseCardRunOptions, type UseCardRunResult, type UseKanbanBoardOptions, type UseKanbanBoardResult, badgeVariantClass, cn, createDefaultKanbanAdapter, mapDefinitionToBoard, runStatusTone, toResolvedLifecycle, useCardRun, useKanbanBoard };
4765
+ export { type Actor, type AdapterCapabilities, AgentBoard, type AgentBoardCardSource, type AgentBoardProps, type ApplyTransitionInput, type BadgeVariant, BoardConfigClient, type BoardConfigClientOptions, type BoardConfigHttp, CadraLifecycleSource, CapMeter, type CapMeterProps, CardDrawer, type CardDrawerProps, type CardList, type CreateCardInput, type CreateCardServerInput, type DefaultKanbanAdapterConfig, type DueRule, type DueState, type KanbanActorType, type KanbanAdapter, KanbanBoard, type KanbanBoard$1 as KanbanBoardData, type KanbanBoardProps, type KanbanCard$1 as KanbanCard, type KanbanCardProps, KanbanCard as KanbanCardTile, KanbanColumn, type KanbanColumnProps, type KanbanHandlerType, type KanbanLane, type KanbanLaneDispatch, type KanbanLaneHandler, type KanbanLaneTrigger, type KanbanRunStatus, type KanbanRunSummary, type KanbanStorageAdapter, type KanbanTransition, type KanbanWebhookBinding, type LaneAgentKind, type LaneAgentOption, LaneAgentPicker, type LaneAgentPickerProps, type LifecycleRef, type LifecycleSource, type LifecycleSourceKind, type ListCardsInput, type ResolveLifecycleRef, type ResolvedBoardConfig, type ResolvedLifecycle, ScheduleStatus, type ScheduleStatusProps, type Stage, type StageRun, type StageRunStatus, type Transition, type TransitionCardInput, type TransitionLogEntry, type UseCardRunOptions, type UseCardRunResult, type UseKanbanBoardOptions, type UseKanbanBoardResult, badgeVariantClass, cn, createDefaultKanbanAdapter, mapDefinitionToBoard, runStatusTone, toResolvedLifecycle, useCardRun, useKanbanBoard };