@intentic/extension-ui 1.369.0 → 1.371.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.
@@ -1,4 +1,4 @@
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, type IconButtonVariants, type TextButtonVariants, type InputVariants, type ChipVariants, type SectionLabelVariants, type ButtonTier, type ButtonTone, Code, CodeField, ConfirmDialog, ContextMenu, OverflowActions, ActionSheet, type ActionItem, CopyButton, AddressField, StatusTally, type TallyItem, DagEditor, DagGraph, type DagEdge, type DagNode, DiffStat, DisclosureRow, FilterBar, Icon, type IconName, ImageView, InfoDialog, InfoHint, InfoTable, InlineRename, type FileFormat, formatOf, 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, ProjectChip, type PickerGroup, type PickerOption, type PickerOptions, ProgressRing, RepoPicker, type RepoPickerAll, RepoRail, type RepoRailAll, type RepoRailGroup, type RepoRailRow, ProseField, ResizeSeam, ResponsiveOverlay, Row, RowGroup, RowNote, Section, SectionHeader, SearchBar, SegmentedControl, DatePicker, TimeField, seriesColor, sinceOf, useLoadingReveal, SkeletonRows, Await, SkeletonSnapshot, vSkeletonSource, SplitView, StatStrip, StatusBadge, type StatusVariant, StepSection, timeWindows, type TimeWindow, timeWindowWords, useCompact, useDevice, useListNavigation, useNow, useLatest, messageOr, messageOr as errorMessage, noticeFrom, noticeOf, useAsyncAction, useNarrow, useRailMemory, useScrollReset, type StickyTop, useStickyTop, useTheme, } from "../../ui/src/index.js";
1
+ export { AgentRunButton, type AgentRunAllowance, type AgentRunAttempt, type AgentRunBooking, 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, type IconButtonVariants, type TextButtonVariants, type InputVariants, type ChipVariants, type SectionLabelVariants, type ButtonTier, type ButtonTone, Code, CodeField, ConfirmDialog, ContextMenu, OverflowActions, ActionSheet, type ActionItem, CopyButton, AddressField, StatusTally, type TallyItem, DagEditor, DagGraph, type DagEdge, type DagNode, DiffStat, DisclosureRow, FilterBar, Icon, type IconName, ImageView, InfoDialog, InfoHint, InfoTable, InlineRename, type FileFormat, formatOf, 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, ProjectChip, type PickerGroup, type PickerOption, type PickerOptions, ProgressRing, RepoPicker, type RepoPickerAll, RepoRail, type RepoRailAll, type RepoRailGroup, type RepoRailRow, ProseField, ResizeSeam, ResponsiveOverlay, Row, RowGroup, RowNote, Section, SectionHeader, SearchBar, SegmentedControl, DatePicker, TimeField, seriesColor, sinceOf, useLoadingReveal, SkeletonRows, Await, SkeletonSnapshot, vSkeletonSource, SplitView, StatStrip, StatusBadge, type StatusVariant, StepSection, timeWindows, type TimeWindow, timeWindowWords, useCompact, useDevice, useListNavigation, useNow, useLatest, messageOr, messageOr as errorMessage, noticeFrom, noticeOf, useAsyncAction, useNarrow, useRailMemory, useScrollReset, type StickyTop, useStickyTop, useTheme, } from "../../ui/src/index.js";
2
2
  export { formatBytes, formatClock, formatCompact, formatCount, formatDate, formatDateLong, formatDateTime, formatDayMonth, formatDayMonthTime, formatDuration, formatElapsed, formatMoney, formatPercent, formatTime, formatTimestamp, formatTokens, formatWeekdayTime, formatWhen, freshness, timeAgo, } from "./format.js";
3
3
  export { type DiffMark, diffMark, type Signal, type TintWeight, type Tone, toneDot, toneFill, toneHover, toneInk, tonePlate, toneRim, toneTint, toneWash, } from "./tone.js";
4
4
  export { diffSequence, pairEdits, similarity, wordDiff } from "./diff.js";
@@ -15,8 +15,23 @@ export interface AgentRunAttempt {
15
15
  readonly summary: string;
16
16
  readonly continuable: boolean;
17
17
  }
18
+ export interface AgentRunAllowance {
19
+ readonly reopensAt: number;
20
+ readonly short: string;
21
+ readonly when: string;
22
+ }
23
+ export interface AgentRunBooking {
24
+ readonly sendAt: number;
25
+ readonly sendAtReopen: true;
26
+ }
18
27
  export interface ModelPicking {
19
28
  agentRun(role: string): AgentRunChoice;
29
+ allowance(choice: {
30
+ readonly provider: string;
31
+ readonly model: string;
32
+ readonly account?: string | undefined;
33
+ readonly harness?: string | undefined;
34
+ }, now: number): AgentRunAllowance | undefined;
20
35
  pick(options: {
21
36
  readonly anchor: HTMLElement;
22
37
  readonly provider: string;
@@ -29,6 +44,7 @@ export interface ModelPicking {
29
44
  readonly action?: string | undefined;
30
45
  readonly chooseRun?: boolean;
31
46
  readonly attempt?: AgentRunAttempt | undefined;
47
+ readonly schedules?: boolean | undefined;
32
48
  }): Promise<AgentRunChoice | undefined>;
33
49
  }
34
50
  export interface AgentRunPicker {
@@ -36,6 +52,8 @@ export interface AgentRunPicker {
36
52
  readonly overridden: ComputedRef<boolean>;
37
53
  readonly choose: (anchor: HTMLElement, action: string) => Promise<boolean>;
38
54
  readonly resume: ComputedRef<"continue" | "start-over" | undefined>;
55
+ readonly spent: ComputedRef<AgentRunAllowance | undefined>;
56
+ readonly booking: ComputedRef<AgentRunBooking | undefined>;
39
57
  readonly clear: () => void;
40
58
  }
41
59
  export declare function useAgentRunPick(models: () => ModelPicking, role: string, attempt?: () => AgentRunAttempt | undefined): AgentRunPicker;
@@ -219,6 +219,9 @@ export declare const ICONS: {
219
219
  gift: {
220
220
  outline: string;
221
221
  };
222
+ "git-branch": {
223
+ outline: string;
224
+ };
222
225
  github: {
223
226
  outline: string;
224
227
  solid: string;
@@ -3,7 +3,7 @@ export { appLink, browserOwnsClick } from "./lib/link.js";
3
3
  export { openForwardedPort } from "./lib/portPreview.js";
4
4
  export { type ChipVariants, type IconButtonVariants, type InputVariants, type SectionLabelVariants, type TextButtonVariants, ui } from "./lib/ui.js";
5
5
  export { default as AgentRunButton } from "./components/sandbox/AgentRunButton.vue";
6
- export { type AgentRunAttempt, type AgentRunChoice, type AgentRunPicker, type ModelPicking, useAgentRunPick } from "./composables/useAgentRunPick.js";
6
+ export { type AgentRunAllowance, type AgentRunAttempt, type AgentRunBooking, type AgentRunChoice, type AgentRunPicker, type ModelPicking, useAgentRunPick } from "./composables/useAgentRunPick.js";
7
7
  export { type FixStanceLook, fixStanceLook } from "./composables/fixStanceLook.js";
8
8
  export { default as AnchoredOverlay } from "./components/overlays/AnchoredOverlay.vue";
9
9
  export { default as Avatar } from "./components/brand/Avatar.vue";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intentic/extension-ui",
3
- "version": "1.369.0",
3
+ "version": "1.371.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,7 +7,9 @@
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 AgentRunAllowance,
10
11
  type AgentRunAttempt,
12
+ type AgentRunBooking,
11
13
  type AgentRunChoice,
12
14
  type AgentRunPicker,
13
15
  type ModelPicking,