@intentic/extension-ui 1.248.0 → 1.250.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/README.md +14 -9
- package/dist/index.js +1 -0
- package/dist/types/extension-ui/src/format.d.ts +1 -1
- package/dist/types/extension-ui/src/index.d.ts +1 -1
- package/dist/types/ui/src/components/{MarkdownFigure.vue.d.ts → charts/MarkdownFigure.vue.d.ts} +1 -1
- package/dist/types/ui/src/components/{StatStrip.vue.d.ts → charts/StatStrip.vue.d.ts} +1 -1
- package/dist/types/ui/src/components/{StatusTally.vue.d.ts → charts/StatusTally.vue.d.ts} +1 -1
- package/dist/types/ui/src/components/{barChart.d.ts → charts/barChart.d.ts} +1 -1
- package/dist/types/ui/src/components/{seriesAccent.d.ts → charts/seriesAccent.d.ts} +1 -1
- package/dist/types/ui/src/components/{Notice.vue.d.ts → feedback/Notice.vue.d.ts} +1 -1
- package/dist/types/ui/src/components/{SkeletonRows.vue.d.ts → feedback/SkeletonRows.vue.d.ts} +1 -1
- package/dist/types/ui/src/components/{notice.d.ts → feedback/notice.d.ts} +1 -1
- package/dist/types/ui/src/components/{NoteEditor.vue.d.ts → forms/NoteEditor.vue.d.ts} +2 -3
- package/dist/types/ui/src/components/{Picker.vue.d.ts → forms/Picker.vue.d.ts} +1 -0
- package/dist/types/ui/src/components/{SegmentedControl.vue.d.ts → forms/SegmentedControl.vue.d.ts} +1 -1
- package/dist/types/ui/src/components/{picker.d.ts → forms/picker.d.ts} +2 -2
- package/dist/types/ui/src/components/{PageAction.vue.d.ts → layout/PageAction.vue.d.ts} +1 -1
- package/dist/types/ui/src/components/{ResizeSeam.vue.d.ts → layout/ResizeSeam.vue.d.ts} +1 -0
- package/dist/types/ui/src/components/{StepSection.vue.d.ts → layout/StepSection.vue.d.ts} +1 -1
- package/dist/types/ui/src/components/{navRail.d.ts → layout/navRail.d.ts} +1 -1
- package/dist/types/ui/src/components/{repoRail.d.ts → layout/repoRail.d.ts} +1 -1
- package/dist/types/ui/src/components/{Markdown.vue.d.ts → markdown/Markdown.vue.d.ts} +1 -1
- package/dist/types/ui/src/components/markdown/MarkdownDocument.vue.d.ts +47 -0
- package/dist/types/ui/src/components/markdown/markdownDocument.d.ts +18 -0
- package/dist/types/ui/src/components/{AnchoredOverlay.vue.d.ts → overlays/AnchoredOverlay.vue.d.ts} +1 -1
- package/dist/types/ui/src/components/{ConfirmDialog.vue.d.ts → overlays/ConfirmDialog.vue.d.ts} +1 -1
- package/dist/types/ui/src/components/{ResponsiveOverlay.vue.d.ts → overlays/ResponsiveOverlay.vue.d.ts} +1 -1
- package/dist/types/ui/src/components/{Icon.vue.d.ts → primitives/Icon.vue.d.ts} +1 -1
- package/dist/types/ui/src/components/{DisclosureRow.vue.d.ts → rows/DisclosureRow.vue.d.ts} +3 -1
- package/dist/types/ui/src/components/{Row.vue.d.ts → rows/Row.vue.d.ts} +3 -1
- package/dist/types/ui/src/components/{row.d.ts → rows/row.d.ts} +4 -4
- package/dist/types/ui/src/components/{AgentRunButton.vue.d.ts → sandbox/AgentRunButton.vue.d.ts} +3 -6
- package/dist/types/ui/src/composables/useAgentRunPick.d.ts +7 -2
- package/dist/types/ui/src/composables/useAsyncAction.d.ts +1 -1
- package/dist/types/ui/src/icons/iconSets.d.ts +555 -2
- package/dist/types/ui/src/index.d.ts +63 -62
- package/dist/types/ui/src/lib/format.d.ts +15 -0
- package/dist/types/ui/src/markdown/edits.d.ts +15 -0
- package/dist/types/ui/src/markdown/history.d.ts +12 -0
- package/dist/types/ui/src/markdown/index.d.ts +3 -0
- package/dist/types/ui/src/markdown/sourceDom.d.ts +7 -0
- package/names.mjs +1 -0
- package/package.json +2 -2
- package/src/format.ts +4 -12
- package/src/index.ts +50 -159
- /package/dist/types/ui/src/components/{Avatar.vue.d.ts → brand/Avatar.vue.d.ts} +0 -0
- /package/dist/types/ui/src/components/{BrandMark.vue.d.ts → brand/BrandMark.vue.d.ts} +0 -0
- /package/dist/types/ui/src/components/{PersonaFace.vue.d.ts → brand/PersonaFace.vue.d.ts} +0 -0
- /package/dist/types/ui/src/components/{personaFace.d.ts → brand/personaFace.d.ts} +0 -0
- /package/dist/types/ui/src/components/{BarChart.vue.d.ts → charts/BarChart.vue.d.ts} +0 -0
- /package/dist/types/ui/src/components/{DagEditor.vue.d.ts → charts/DagEditor.vue.d.ts} +0 -0
- /package/dist/types/ui/src/components/{DagGraph.vue.d.ts → charts/DagGraph.vue.d.ts} +0 -0
- /package/dist/types/ui/src/components/{DiffStat.vue.d.ts → charts/DiffStat.vue.d.ts} +0 -0
- /package/dist/types/ui/src/components/{ProgressRing.vue.d.ts → charts/ProgressRing.vue.d.ts} +0 -0
- /package/dist/types/ui/src/components/{dagLayout.d.ts → charts/dagLayout.d.ts} +0 -0
- /package/dist/types/ui/src/components/{ChangeStatusMark.vue.d.ts → feedback/ChangeStatusMark.vue.d.ts} +0 -0
- /package/dist/types/ui/src/components/{InfoHint.vue.d.ts → feedback/InfoHint.vue.d.ts} +0 -0
- /package/dist/types/ui/src/components/{InfoTable.vue.d.ts → feedback/InfoTable.vue.d.ts} +0 -0
- /package/dist/types/ui/src/components/{NoticeStack.vue.d.ts → feedback/NoticeStack.vue.d.ts} +0 -0
- /package/dist/types/ui/src/components/{StatusBadge.vue.d.ts → feedback/StatusBadge.vue.d.ts} +0 -0
- /package/dist/types/ui/src/components/{changeStatus.d.ts → feedback/changeStatus.d.ts} +0 -0
- /package/dist/types/ui/src/components/{CodeField.vue.d.ts → forms/CodeField.vue.d.ts} +0 -0
- /package/dist/types/ui/src/components/{FilterBar.vue.d.ts → forms/FilterBar.vue.d.ts} +0 -0
- /package/dist/types/ui/src/components/{ProseField.vue.d.ts → forms/ProseField.vue.d.ts} +0 -0
- /package/dist/types/ui/src/components/{SearchBar.vue.d.ts → forms/SearchBar.vue.d.ts} +0 -0
- /package/dist/types/ui/src/components/{BottomSheet.vue.d.ts → layout/BottomSheet.vue.d.ts} +0 -0
- /package/dist/types/ui/src/components/{Card.vue.d.ts → layout/Card.vue.d.ts} +0 -0
- /package/dist/types/ui/src/components/{NavRail.vue.d.ts → layout/NavRail.vue.d.ts} +0 -0
- /package/dist/types/ui/src/components/{Page.vue.d.ts → layout/Page.vue.d.ts} +0 -0
- /package/dist/types/ui/src/components/{PageHeader.vue.d.ts → layout/PageHeader.vue.d.ts} +0 -0
- /package/dist/types/ui/src/components/{RepoRail.vue.d.ts → layout/RepoRail.vue.d.ts} +0 -0
- /package/dist/types/ui/src/components/{ScrollFrame.vue.d.ts → layout/ScrollFrame.vue.d.ts} +0 -0
- /package/dist/types/ui/src/components/{SplitView.vue.d.ts → layout/SplitView.vue.d.ts} +0 -0
- /package/dist/types/ui/src/components/{splitView.d.ts → layout/splitView.d.ts} +0 -0
- /package/dist/types/ui/src/components/{ContextMenu.vue.d.ts → overlays/ContextMenu.vue.d.ts} +0 -0
- /package/dist/types/ui/src/components/{InfoDialog.vue.d.ts → overlays/InfoDialog.vue.d.ts} +0 -0
- /package/dist/types/ui/src/components/{Modal.vue.d.ts → overlays/Modal.vue.d.ts} +0 -0
- /package/dist/types/ui/src/components/{Button.vue.d.ts → primitives/Button.vue.d.ts} +0 -0
- /package/dist/types/ui/src/components/{Code.vue.d.ts → primitives/Code.vue.d.ts} +0 -0
- /package/dist/types/ui/src/components/{CopyButton.vue.d.ts → primitives/CopyButton.vue.d.ts} +0 -0
- /package/dist/types/ui/src/components/{ImageView.vue.d.ts → primitives/ImageView.vue.d.ts} +0 -0
- /package/dist/types/ui/src/components/{imageView.d.ts → primitives/imageView.d.ts} +0 -0
- /package/dist/types/ui/src/components/{RowGroup.vue.d.ts → rows/RowGroup.vue.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
The UI kit an extension renders with, so its views look like the app rather than like a website.
|
|
4
4
|
|
|
5
|
-
A curated slice of the app design system ([`@intentic/ui`](
|
|
5
|
+
A curated slice of the app design system ([`@intentic/ui`](../../_editor/ui)) plus the PrimeVue primitives extension views
|
|
6
6
|
actually use. One of the two packages an extension may depend on (with
|
|
7
|
-
[`@intentic/extension-api`](../../
|
|
7
|
+
[`@intentic/extension-api`](../../_shared/extension-api)).
|
|
8
8
|
|
|
9
9
|
## Host-provided at runtime
|
|
10
10
|
|
|
@@ -32,13 +32,18 @@ authors is a marketplace-phase task.
|
|
|
32
32
|
|
|
33
33
|
## The one control worth calling out
|
|
34
34
|
|
|
35
|
-
`AgentRunButton` and `useAgentRunPick` are re-exported because
|
|
36
|
-
pipelines, deployments, maintenance, acceptance: and each had reached its own answer about how
|
|
37
|
-
that costs. Press the primary half and the run opens on the sandbox's standing model for the job
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
35
|
+
`AgentRunButton` and `useAgentRunPick` are re-exported because five extensions start an agent for the user:
|
|
36
|
+
pipelines, deployments, maintenance, documentation, acceptance: and each had reached its own answer about how
|
|
37
|
+
you choose what that costs. Press the primary half and the run opens on the sandbox's standing model for the job
|
|
38
|
+
the caller named; use the caret and a panel opens on that run, ending in a bar that carries the button's own
|
|
39
|
+
label. Both halves emit the same `run`, because both are the same act: the press that finishes configuring the
|
|
40
|
+
run is the press that starts it.
|
|
41
|
+
|
|
42
|
+
The choice covers more than the model — the account, the harness, the tier, extended thinking and speed
|
|
43
|
+
(`AgentRunChoice`) — and every one of them is a different price. Send them on the turn you start beside `model`:
|
|
44
|
+
the sandbox fills a pinned entry's knobs in only for a run that named no model, so dropping them runs the model
|
|
45
|
+
you chose on the provider's defaults for everything else. `runPickOf(choice)` (from `@intentic/sandbox-contract`)
|
|
46
|
+
translates the whole thing into the turn's own field names in one call.
|
|
42
47
|
|
|
43
48
|
`useAgentRunPick` takes `api.models` as an argument rather than importing it, which is what lets the control
|
|
44
49
|
live in a kit that knows nothing about the extension API. Pass the extension's own host handle:
|
package/dist/index.js
CHANGED
|
@@ -35,6 +35,7 @@ export const InfoDialog = m["InfoDialog"];
|
|
|
35
35
|
export const InfoHint = m["InfoHint"];
|
|
36
36
|
export const InfoTable = m["InfoTable"];
|
|
37
37
|
export const Markdown = m["Markdown"];
|
|
38
|
+
export const MarkdownDocument = m["MarkdownDocument"];
|
|
38
39
|
export const MarkdownFigure = m["MarkdownFigure"];
|
|
39
40
|
export const Modal = m["Modal"];
|
|
40
41
|
export const NavRail = m["NavRail"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { formatBytes, formatDate, formatDateTime, formatDayMonth, formatTime, formatTimestamp, formatTokens, formatWeekdayTime, freshness, timeAgo, } from "../../ui/src/format
|
|
1
|
+
export { formatBytes, formatDate, formatDateTime, formatDayMonth, formatTime, formatTimestamp, formatTokens, formatWeekdayTime, freshness, timeAgo, } from "../../ui/src/lib/format.js";
|
|
@@ -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, 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 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";
|
|
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";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { FigureAccent } from "
|
|
1
|
+
import type { FigureAccent } from "../../markdown/figures.js";
|
|
2
2
|
export declare const seriesColor: (accent: FigureAccent | undefined) => string;
|
|
@@ -2,7 +2,6 @@ type __VLS_Props = {
|
|
|
2
2
|
title: string;
|
|
3
3
|
raw: string;
|
|
4
4
|
editing: boolean;
|
|
5
|
-
showSource?: boolean;
|
|
6
5
|
loading?: boolean;
|
|
7
6
|
saving?: boolean;
|
|
8
7
|
removing?: boolean;
|
|
@@ -10,7 +9,7 @@ type __VLS_Props = {
|
|
|
10
9
|
verb?: string;
|
|
11
10
|
paged?: boolean;
|
|
12
11
|
};
|
|
13
|
-
declare var __VLS_9: {}, __VLS_12: {}, __VLS_20: {}, __VLS_23: {}, __VLS_47: {}, __VLS_65: {}, __VLS_67: {},
|
|
12
|
+
declare var __VLS_9: {}, __VLS_12: {}, __VLS_20: {}, __VLS_23: {}, __VLS_47: {}, __VLS_65: {}, __VLS_67: {}, __VLS_88: {};
|
|
14
13
|
type __VLS_Slots = {} & {
|
|
15
14
|
lead?: (props: typeof __VLS_9) => any;
|
|
16
15
|
} & {
|
|
@@ -26,7 +25,7 @@ type __VLS_Slots = {} & {
|
|
|
26
25
|
} & {
|
|
27
26
|
confirm?: (props: typeof __VLS_67) => any;
|
|
28
27
|
} & {
|
|
29
|
-
default?: (props: typeof
|
|
28
|
+
default?: (props: typeof __VLS_88) => any;
|
|
30
29
|
};
|
|
31
30
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
32
31
|
save: () => any;
|
package/dist/types/ui/src/components/{SegmentedControl.vue.d.ts → forms/SegmentedControl.vue.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IconName } from "
|
|
1
|
+
import type { IconName } from "../../icons/iconSets.js";
|
|
2
2
|
declare const __VLS_export: <T extends string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
3
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<({
|
|
4
4
|
options: readonly {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IconName } from "
|
|
2
|
-
import type { PersonaLike } from "
|
|
1
|
+
import type { IconName } from "../../icons/iconSets.js";
|
|
2
|
+
import type { PersonaLike } from "../brand/personaFace.js";
|
|
3
3
|
export interface PickerOption<T extends string = string> {
|
|
4
4
|
readonly value: T;
|
|
5
5
|
readonly label: string;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { MarkdownDecorator } from "../../markdown/render.js";
|
|
2
|
+
import { type SavePolicy } from "./markdownDocument.js";
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
editable?: boolean;
|
|
5
|
+
save?: SavePolicy;
|
|
6
|
+
saving?: boolean;
|
|
7
|
+
stored?: string;
|
|
8
|
+
maxChars?: number;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
label?: string;
|
|
11
|
+
readOnlyReason?: string;
|
|
12
|
+
decorate?: MarkdownDecorator;
|
|
13
|
+
caretAt?: number;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_ModelProps = {
|
|
16
|
+
modelValue: string;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
19
|
+
declare var __VLS_25: {}, __VLS_27: {};
|
|
20
|
+
type __VLS_Slots = {} & {
|
|
21
|
+
note?: (props: typeof __VLS_25) => any;
|
|
22
|
+
} & {
|
|
23
|
+
actions?: (props: typeof __VLS_27) => any;
|
|
24
|
+
};
|
|
25
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
26
|
+
text: () => string;
|
|
27
|
+
commit: () => void;
|
|
28
|
+
focus: () => void;
|
|
29
|
+
dirty: import("vue").ComputedRef<boolean>;
|
|
30
|
+
status: import("vue").ComputedRef<string>;
|
|
31
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
32
|
+
save: (value: string) => any;
|
|
33
|
+
change: (value: string) => any;
|
|
34
|
+
"update:modelValue": (value: string) => any;
|
|
35
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
36
|
+
onSave?: ((value: string) => any) | undefined;
|
|
37
|
+
onChange?: ((value: string) => any) | undefined;
|
|
38
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
39
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
40
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
41
|
+
declare const _default: typeof __VLS_export;
|
|
42
|
+
export default _default;
|
|
43
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
44
|
+
new (): {
|
|
45
|
+
$slots: S;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type ComputedRef } from "vue";
|
|
2
|
+
export type SavePolicy = "auto" | "explicit" | "none";
|
|
3
|
+
export interface SaveDraftInput {
|
|
4
|
+
policy: () => SavePolicy;
|
|
5
|
+
text: () => string;
|
|
6
|
+
stored: () => string | undefined;
|
|
7
|
+
saving: () => boolean;
|
|
8
|
+
write: (text: string) => void;
|
|
9
|
+
}
|
|
10
|
+
export interface SaveDraft {
|
|
11
|
+
dirty: ComputedRef<boolean>;
|
|
12
|
+
status: ComputedRef<string>;
|
|
13
|
+
touched: () => void;
|
|
14
|
+
commit: () => void;
|
|
15
|
+
leave: () => void;
|
|
16
|
+
}
|
|
17
|
+
export declare const SAVE_AFTER_MS = 700;
|
|
18
|
+
export declare const useSaveDraft: (input: SaveDraftInput) => SaveDraft;
|
package/dist/types/ui/src/components/{ConfirmDialog.vue.d.ts → overlays/ConfirmDialog.vue.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IconName } from "
|
|
1
|
+
import type { IconName } from "../../icons/iconSets.js";
|
|
2
2
|
declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
3
|
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
4
4
|
open: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IconName } from "
|
|
1
|
+
import type { IconName } from "../../icons/iconSets.js";
|
|
2
2
|
import { type RowDensity, type RowTone } from "./row.js";
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
open?: boolean;
|
|
@@ -14,8 +14,10 @@ type __VLS_Props = {
|
|
|
14
14
|
};
|
|
15
15
|
declare var __VLS_1: {}, __VLS_26: {
|
|
16
16
|
mark: 22 | 18 | 28;
|
|
17
|
+
iconClass: "text-xl" | "text-lg" | "text-base";
|
|
17
18
|
}, __VLS_29: {}, __VLS_32: {}, __VLS_35: {}, __VLS_38: {}, __VLS_46: {
|
|
18
19
|
mark: 22 | 18 | 28;
|
|
20
|
+
iconClass: "text-xl" | "text-lg" | "text-base";
|
|
19
21
|
}, __VLS_48: {}, __VLS_50: {};
|
|
20
22
|
type __VLS_Slots = {} & {
|
|
21
23
|
before?: (props: typeof __VLS_1) => any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IconName } from "
|
|
1
|
+
import type { IconName } from "../../icons/iconSets.js";
|
|
2
2
|
import { type RowDensity, type RowTone } from "./row.js";
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
icon?: IconName;
|
|
@@ -23,8 +23,10 @@ type __VLS_Props = {
|
|
|
23
23
|
};
|
|
24
24
|
declare var __VLS_8: {}, __VLS_18: {
|
|
25
25
|
mark: 22 | 18 | 28;
|
|
26
|
+
iconClass: "text-xl" | "text-lg" | "text-base";
|
|
26
27
|
}, __VLS_31: {}, __VLS_33: {}, __VLS_35: {}, __VLS_37: {}, __VLS_44: {}, __VLS_46: {
|
|
27
28
|
mark: 22 | 18 | 28;
|
|
29
|
+
iconClass: "text-xl" | "text-lg" | "text-base";
|
|
28
30
|
}, __VLS_53: {}, __VLS_55: {};
|
|
29
31
|
type __VLS_Slots = {} & {
|
|
30
32
|
before?: (props: typeof __VLS_8) => any;
|
|
@@ -5,7 +5,7 @@ export declare const ROW_TIERS: {
|
|
|
5
5
|
readonly comfortable: {
|
|
6
6
|
readonly pad: "px-4.5 py-3.5";
|
|
7
7
|
readonly gap: "gap-3";
|
|
8
|
-
readonly icon: "text-
|
|
8
|
+
readonly icon: "text-xl";
|
|
9
9
|
readonly title: "font-semibold leading-tight";
|
|
10
10
|
readonly description: "text-xs";
|
|
11
11
|
readonly mark: 28;
|
|
@@ -13,7 +13,7 @@ export declare const ROW_TIERS: {
|
|
|
13
13
|
readonly compact: {
|
|
14
14
|
readonly pad: "px-4 py-2.5";
|
|
15
15
|
readonly gap: "gap-3";
|
|
16
|
-
readonly icon: "text-
|
|
16
|
+
readonly icon: "text-lg";
|
|
17
17
|
readonly title: "text-sm font-medium leading-tight";
|
|
18
18
|
readonly description: "text-2xs";
|
|
19
19
|
readonly mark: 22;
|
|
@@ -21,14 +21,14 @@ export declare const ROW_TIERS: {
|
|
|
21
21
|
readonly dense: {
|
|
22
22
|
readonly pad: "px-2.5 py-2";
|
|
23
23
|
readonly gap: "gap-2.5";
|
|
24
|
-
readonly icon: "text-
|
|
24
|
+
readonly icon: "text-base";
|
|
25
25
|
readonly title: "text-xs font-medium leading-tight";
|
|
26
26
|
readonly description: "text-2xs";
|
|
27
27
|
readonly mark: 18;
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
30
|
export declare const ROW_TONES: {
|
|
31
|
-
readonly default: "text-
|
|
31
|
+
readonly default: "text-muted";
|
|
32
32
|
readonly danger: "text-danger";
|
|
33
33
|
readonly warning: "text-warning";
|
|
34
34
|
readonly success: "text-success";
|
package/dist/types/ui/src/components/{AgentRunButton.vue.d.ts → sandbox/AgentRunButton.vue.d.ts}
RENAMED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { AgentRunPicker } from "../../composables/useAgentRunPick.js";
|
|
2
|
+
import type { IconName } from "../../icons/iconSets.js";
|
|
2
3
|
type __VLS_Props = {
|
|
3
4
|
label: string;
|
|
4
|
-
|
|
5
|
-
effortLabel?: string | undefined;
|
|
6
|
-
overridden?: boolean;
|
|
5
|
+
picker: AgentRunPicker;
|
|
7
6
|
severity?: string | undefined;
|
|
8
7
|
size?: string;
|
|
9
8
|
text?: boolean;
|
|
@@ -14,10 +13,8 @@ type __VLS_Props = {
|
|
|
14
13
|
};
|
|
15
14
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
15
|
run: () => any;
|
|
17
|
-
pick: (args_0: HTMLElement) => any;
|
|
18
16
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
17
|
onRun?: (() => any) | undefined;
|
|
20
|
-
onPick?: ((args_0: HTMLElement) => any) | undefined;
|
|
21
18
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
19
|
declare const _default: typeof __VLS_export;
|
|
23
20
|
export default _default;
|
|
@@ -7,6 +7,8 @@ export interface AgentRunChoice {
|
|
|
7
7
|
readonly harness?: string | undefined;
|
|
8
8
|
readonly effort?: string | undefined;
|
|
9
9
|
readonly effortLabel?: string | undefined;
|
|
10
|
+
readonly thinking?: boolean | undefined;
|
|
11
|
+
readonly fast?: boolean | undefined;
|
|
10
12
|
}
|
|
11
13
|
export interface ModelPicking {
|
|
12
14
|
agentRun(role: string): AgentRunChoice;
|
|
@@ -17,13 +19,16 @@ export interface ModelPicking {
|
|
|
17
19
|
readonly account?: string | undefined;
|
|
18
20
|
readonly harness?: string | undefined;
|
|
19
21
|
readonly effort?: string | undefined;
|
|
20
|
-
readonly
|
|
22
|
+
readonly thinking?: boolean | undefined;
|
|
23
|
+
readonly fast?: boolean | undefined;
|
|
24
|
+
readonly action?: string | undefined;
|
|
25
|
+
readonly chooseRun?: boolean;
|
|
21
26
|
}): Promise<AgentRunChoice | undefined>;
|
|
22
27
|
}
|
|
23
28
|
export interface AgentRunPicker {
|
|
24
29
|
readonly model: ComputedRef<AgentRunChoice>;
|
|
25
30
|
readonly overridden: ComputedRef<boolean>;
|
|
26
|
-
readonly choose: (anchor: HTMLElement) => Promise<
|
|
31
|
+
readonly choose: (anchor: HTMLElement, action: string) => Promise<boolean>;
|
|
27
32
|
readonly clear: () => void;
|
|
28
33
|
}
|
|
29
34
|
export declare function useAgentRunPick(models: () => ModelPicking, role: string): AgentRunPicker;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { NoticeModel, NoticeTone } from "../components/notice.js";
|
|
1
|
+
import type { NoticeModel, NoticeTone } from "../components/feedback/notice.js";
|
|
2
2
|
export declare const errorMessage: (error: unknown, fallback: string) => string;
|
|
3
3
|
interface NoticeOptions {
|
|
4
4
|
readonly tone?: NoticeTone;
|