@intentic/extension-ui 1.222.0 → 1.223.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
|
@@ -78,6 +78,7 @@ export const freshness = m["freshness"];
|
|
|
78
78
|
export const isRenderableImage = m["isRenderableImage"];
|
|
79
79
|
export const noticeFrom = m["noticeFrom"];
|
|
80
80
|
export const noticeOf = m["noticeOf"];
|
|
81
|
+
export const openForwardedPort = m["openForwardedPort"];
|
|
81
82
|
export const seriesColor = m["seriesColor"];
|
|
82
83
|
export const sinceOf = m["sinceOf"];
|
|
83
84
|
export const timeAgo = m["timeAgo"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AgentRunButton, type AgentRunChoice, type AgentRunPicker, type ModelPicking, useAgentRunPick, AnchoredOverlay, Avatar, BarChart, BottomSheet, BrandMark, Card, clipboardOf, ChangeStatusMark, type ChangeStatus, ui, Code, CodeField, ConfirmDialog, ContextMenu, CopyButton, StatusTally, type TallyItem, DagEditor, DagGraph, type DagEdge, type DagNode, DiffStat, FilterBar, Icon, type IconName, ImageView, InfoDialog, InfoHint, InfoTable, isRenderableImage, Markdown, MarkdownFigure, Modal, type NavGroup, NavRail, NoteEditor, type NoteDraft, type NoteDraftOptions, useNoteDraft, 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, useTheme, } from "../../ui/src/index.js";
|
|
1
|
+
export { AgentRunButton, type AgentRunChoice, type AgentRunPicker, type ModelPicking, useAgentRunPick, AnchoredOverlay, Avatar, BarChart, BottomSheet, BrandMark, Card, clipboardOf, openForwardedPort, ChangeStatusMark, type ChangeStatus, ui, Code, CodeField, ConfirmDialog, ContextMenu, CopyButton, StatusTally, type TallyItem, DagEditor, DagGraph, type DagEdge, type DagNode, DiffStat, FilterBar, Icon, type IconName, ImageView, InfoDialog, InfoHint, InfoTable, isRenderableImage, Markdown, MarkdownFigure, Modal, type NavGroup, NavRail, NoteEditor, type NoteDraft, type NoteDraftOptions, useNoteDraft, 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, 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 Button } from "primevue/button";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { clipboardOf } from "./lib/clipboard.js";
|
|
2
|
+
export { openForwardedPort } from "./lib/portPreview.js";
|
|
2
3
|
export { ui } from "./lib/ui.js";
|
|
3
4
|
export { default as AgentRunButton } from "./components/AgentRunButton.vue";
|
|
4
5
|
export { type AgentRunChoice, type AgentRunPicker, type ModelPicking, useAgentRunPick } from "./composables/useAgentRunPick.js";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export type ProbeOutcome = "reachable" | "gaveUp" | "abandoned";
|
|
2
|
+
export interface ProbeOptions {
|
|
3
|
+
readonly onWaiting?: (elapsedMs: number, slow: boolean) => void;
|
|
4
|
+
readonly stillWanted?: () => boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare const probeUntilReachable: (url: string, options?: ProbeOptions) => Promise<ProbeOutcome>;
|
|
7
|
+
export interface ForwardedPortTab {
|
|
8
|
+
readonly port: number;
|
|
9
|
+
readonly path?: string;
|
|
10
|
+
readonly forward: (port: number) => Promise<string | undefined>;
|
|
11
|
+
readonly onError?: (message: string) => void;
|
|
12
|
+
}
|
|
13
|
+
export declare const openForwardedPort: ({ port, path, forward, onError }: ForwardedPortTab) => void;
|
|
14
|
+
export declare const parseLoopbackLink: (uri: string) => {
|
|
15
|
+
port: number;
|
|
16
|
+
path: string;
|
|
17
|
+
} | undefined;
|
package/names.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentic/extension-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.223.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
|
@@ -43,6 +43,11 @@ export {
|
|
|
43
43
|
* the module-global navigator belongs to the opener, whose document isn't focused, so the write rejects
|
|
44
44
|
* and every call site swallows it. */
|
|
45
45
|
clipboardOf,
|
|
46
|
+
/* `openForwardedPort` ships because the Ports view is the third surface to wait on a freshly-minted preview
|
|
47
|
+
* hostname and the second to open one in a tab — and the two that had solved it (the preview panel's iframe
|
|
48
|
+
* gate, the terminal's Ctrl+click) both sat in the web app where no extension could import them. The
|
|
49
|
+
* duplicate was word-for-word, down to the sentence a user reads while DNS propagates. */
|
|
50
|
+
openForwardedPort,
|
|
46
51
|
/* The two halves of a changed-file row ship together because they are always drawn together, and they ship
|
|
47
52
|
* at all for the reason <SplitView> did: the git-history extension is the seventh surface to draw one, and
|
|
48
53
|
* the six that had solved it all sat in the web app where no extension could import them. <ChangeStatusMark>
|