@intentic/extension-ui 1.250.0 → 1.252.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/dist/index.js CHANGED
@@ -70,6 +70,7 @@ export const appLink = m["appLink"];
70
70
  export const browserOwnsClick = m["browserOwnsClick"];
71
71
  export const clipboardOf = m["clipboardOf"];
72
72
  export const errorMessage = m["errorMessage"];
73
+ export const fixStanceLook = m["fixStanceLook"];
73
74
  export const formatBytes = m["formatBytes"];
74
75
  export const formatDate = m["formatDate"];
75
76
  export const formatDateTime = m["formatDateTime"];
@@ -1,4 +1,4 @@
1
- export { AgentRunButton, type AgentRunChoice, type AgentRunPicker, type ModelPicking, useAgentRunPick, AnchoredOverlay, Avatar, Button, vAction, BarChart, BottomSheet, BrandMark, Card, clipboardOf, browserOwnsClick, appLink, openForwardedPort, ChangeStatusMark, type ChangeStatus, ui, Code, CodeField, ConfirmDialog, ContextMenu, CopyButton, StatusTally, type TallyItem, DagEditor, DagGraph, type DagEdge, type DagNode, DiffStat, DisclosureRow, FilterBar, Icon, type IconName, ImageView, InfoDialog, InfoHint, InfoTable, isRenderableImage, Markdown, MarkdownDocument, MarkdownFigure, Modal, type NavGroup, NavRail, NoteEditor, type NoteDraft, type NoteDraftOptions, useNoteDraft, useKeyedDraft, type NoticeModel, type NoticeTone, type NoticeAction, Notice, NoticeStack, Page, PageAction, PageHeader, ScrollFrame, PersonaFace, type PersonaLike, Picker, type PickerGroup, type PickerOption, type PickerOptions, ProgressRing, RepoRail, type RepoRailAll, type RepoRailGroup, type RepoRailRow, ProseField, ResizeSeam, ResponsiveOverlay, Row, RowGroup, SearchBar, SegmentedControl, seriesColor, sinceOf, useLoadingReveal, SkeletonRows, SplitView, StatStrip, StatusBadge, type StatusVariant, StepSection, TIME_WINDOWS, type TimeWindow, timeWindowWords, useCompact, useDevice, useListNavigation, useNow, errorMessage, noticeFrom, noticeOf, useAsyncAction, useNarrow, useRailMemory, useScrollReset, type StickyTop, useStickyTop, useTheme, } from "../../ui/src/index.js";
1
+ export { AgentRunButton, type AgentRunAttempt, type AgentRunChoice, type AgentRunPicker, type ModelPicking, useAgentRunPick, type FixStanceLook, fixStanceLook, AnchoredOverlay, Avatar, Button, vAction, BarChart, BottomSheet, BrandMark, Card, clipboardOf, browserOwnsClick, appLink, openForwardedPort, ChangeStatusMark, type ChangeStatus, ui, Code, CodeField, ConfirmDialog, ContextMenu, CopyButton, StatusTally, type TallyItem, DagEditor, DagGraph, type DagEdge, type DagNode, DiffStat, DisclosureRow, FilterBar, Icon, type IconName, ImageView, InfoDialog, InfoHint, InfoTable, isRenderableImage, Markdown, MarkdownDocument, MarkdownFigure, Modal, type NavGroup, NavRail, NoteEditor, type NoteDraft, type NoteDraftOptions, useNoteDraft, useKeyedDraft, type NoticeModel, type NoticeTone, type NoticeAction, Notice, NoticeStack, Page, PageAction, PageHeader, ScrollFrame, PersonaFace, type PersonaLike, Picker, type PickerGroup, type PickerOption, type PickerOptions, ProgressRing, RepoRail, type RepoRailAll, type RepoRailGroup, type RepoRailRow, ProseField, ResizeSeam, ResponsiveOverlay, Row, RowGroup, SearchBar, SegmentedControl, seriesColor, sinceOf, useLoadingReveal, SkeletonRows, SplitView, StatStrip, StatusBadge, type StatusVariant, StepSection, TIME_WINDOWS, type TimeWindow, timeWindowWords, useCompact, useDevice, useListNavigation, useNow, errorMessage, noticeFrom, noticeOf, useAsyncAction, useNarrow, useRailMemory, useScrollReset, type StickyTop, useStickyTop, useTheme, } from "../../ui/src/index.js";
2
2
  export { formatBytes, formatDate, formatDateTime, formatDayMonth, formatTime, formatTimestamp, formatTokens, formatWeekdayTime, freshness, timeAgo, } from "./format.js";
3
3
  export type { BarsFigure, BarsFigureItem, DagFigure, DagFigureEdge, DagFigureNode, Figure, FigureAccent, MermaidFigure, StatsFigure, StatsFigureItem, } from "../../ui/src/markdown/index.js";
4
4
  export { default as Checkbox } from "primevue/checkbox";
@@ -0,0 +1,8 @@
1
+ import type { IconName } from "../icons/iconSets.js";
2
+ export interface FixStanceLook {
3
+ readonly icon: IconName;
4
+ readonly spin: boolean;
5
+ readonly ink: string;
6
+ readonly chip: string;
7
+ }
8
+ export declare const fixStanceLook: (kind: string) => FixStanceLook;
@@ -9,6 +9,11 @@ export interface AgentRunChoice {
9
9
  readonly effortLabel?: string | undefined;
10
10
  readonly thinking?: boolean | undefined;
11
11
  readonly fast?: boolean | undefined;
12
+ readonly resume?: "continue" | "start-over" | undefined;
13
+ }
14
+ export interface AgentRunAttempt {
15
+ readonly summary: string;
16
+ readonly continuable: boolean;
12
17
  }
13
18
  export interface ModelPicking {
14
19
  agentRun(role: string): AgentRunChoice;
@@ -23,12 +28,14 @@ export interface ModelPicking {
23
28
  readonly fast?: boolean | undefined;
24
29
  readonly action?: string | undefined;
25
30
  readonly chooseRun?: boolean;
31
+ readonly attempt?: AgentRunAttempt | undefined;
26
32
  }): Promise<AgentRunChoice | undefined>;
27
33
  }
28
34
  export interface AgentRunPicker {
29
35
  readonly model: ComputedRef<AgentRunChoice>;
30
36
  readonly overridden: ComputedRef<boolean>;
31
37
  readonly choose: (anchor: HTMLElement, action: string) => Promise<boolean>;
38
+ readonly resume: ComputedRef<"continue" | "start-over" | undefined>;
32
39
  readonly clear: () => void;
33
40
  }
34
- export declare function useAgentRunPick(models: () => ModelPicking, role: string): AgentRunPicker;
41
+ export declare function useAgentRunPick(models: () => ModelPicking, role: string, attempt?: () => AgentRunAttempt | undefined): AgentRunPicker;
@@ -317,6 +317,7 @@ export declare const ICONS: {
317
317
  };
318
318
  server: {
319
319
  outline: string;
320
+ solid: string;
320
321
  };
321
322
  shield: {
322
323
  outline: string;
@@ -3,7 +3,8 @@ export { appLink, browserOwnsClick } from "./lib/link.js";
3
3
  export { openForwardedPort } from "./lib/portPreview.js";
4
4
  export { ui } from "./lib/ui.js";
5
5
  export { default as AgentRunButton } from "./components/sandbox/AgentRunButton.vue";
6
- export { type AgentRunChoice, type AgentRunPicker, type ModelPicking, useAgentRunPick } from "./composables/useAgentRunPick.js";
6
+ export { type AgentRunAttempt, type AgentRunChoice, type AgentRunPicker, type ModelPicking, useAgentRunPick } from "./composables/useAgentRunPick.js";
7
+ export { type FixStanceLook, fixStanceLook } from "./composables/fixStanceLook.js";
7
8
  export { default as AnchoredOverlay } from "./components/overlays/AnchoredOverlay.vue";
8
9
  export { default as Avatar } from "./components/brand/Avatar.vue";
9
10
  export { default as BarChart } from "./components/charts/BarChart.vue";
package/names.mjs CHANGED
@@ -27,6 +27,7 @@ export const extensionUiNames = [
27
27
  "DisclosureRow",
28
28
  "errorMessage",
29
29
  "FilterBar",
30
+ "fixStanceLook",
30
31
  "formatBytes",
31
32
  "formatDate",
32
33
  "formatDateTime",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intentic/extension-ui",
3
- "version": "1.250.0",
3
+ "version": "1.252.0",
4
4
  "description": "The UI kit intentic extensions render with, host-provided at runtime (the app's own components via the import map), so extension UI is always native to the shell",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/src/index.ts CHANGED
@@ -7,10 +7,15 @@
7
7
  export {
8
8
  // `useAgentRunPick` takes `api.models` as an argument, so the kit itself stays free of the extension API.
9
9
  AgentRunButton,
10
+ type AgentRunAttempt,
10
11
  type AgentRunChoice,
11
12
  type AgentRunPicker,
12
13
  type ModelPicking,
13
14
  useAgentRunPick,
15
+ // How a fix stance (the contract's `fixStance`) is drawn, so a chip beside a red row wears the same icon and tint
16
+ // as the same state on the shell's own surfaces.
17
+ type FixStanceLook,
18
+ fixStanceLook,
14
19
  // Use over PrimeVue's Popover in a popped-out panel: Popover measures against the opener's window and can open
15
20
  // off-screen, unclosable.
16
21
  AnchoredOverlay,