@intentic/extension-ui 1.240.0 → 1.242.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 +4 -1
- package/dist/types/ui/src/components/AgentRunButton.vue.d.ts +1 -0
- package/dist/types/ui/src/components/Code.vue.d.ts +1 -1
- package/dist/types/ui/src/components/CodeField.vue.d.ts +1 -1
- package/dist/types/ui/src/components/DagGraph.vue.d.ts +5 -0
- package/dist/types/ui/src/components/SegmentedControl.vue.d.ts +1 -0
- package/dist/types/ui/src/components/row.d.ts +5 -0
- package/dist/types/ui/src/composables/useAgentRunPick.d.ts +4 -0
- package/dist/types/ui/src/icons/iconSets.d.ts +1 -1
- package/dist/types/ui/src/lib/ui.d.ts +2 -0
- package/package.json +1 -1
- package/src/index.ts +1 -1
- package/dist/types/ui/src/lib/shikiLangs.d.ts +0 -44
package/README.md
CHANGED
|
@@ -35,7 +35,10 @@ authors is a marketplace-phase task.
|
|
|
35
35
|
`AgentRunButton` and `useAgentRunPick` are re-exported because four extensions start an agent for the user:
|
|
36
36
|
pipelines, deployments, maintenance, acceptance: and each had reached its own answer about how you choose what
|
|
37
37
|
that costs. Press the primary half and the run opens on the sandbox's standing agent-run model; use the caret
|
|
38
|
-
and it opens on something else, for that run only.
|
|
38
|
+
and it opens on something else, for that run only. The choice covers the tier as well as the model
|
|
39
|
+
(`AgentRunChoice.effort`), so pass it on the turn you start beside `model`: the sandbox fills a pinned entry's
|
|
40
|
+
tier in only for a run that named no model, so dropping it runs the model you chose at the provider's default
|
|
41
|
+
effort.
|
|
39
42
|
|
|
40
43
|
`useAgentRunPick` takes `api.models` as an argument rather than importing it, which is what lets the control
|
|
41
44
|
live in a kit that knows nothing about the extension API. Pass the extension's own host handle:
|
|
@@ -13,6 +13,11 @@ declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_se
|
|
|
13
13
|
edgeShape?: `curve` | `elbow`;
|
|
14
14
|
rankSep?: number;
|
|
15
15
|
nodeSep?: number;
|
|
16
|
+
fitAlign?: `center` | `start`;
|
|
17
|
+
fitPadding?: number | {
|
|
18
|
+
readonly x: number;
|
|
19
|
+
readonly y: number;
|
|
20
|
+
};
|
|
16
21
|
} & {
|
|
17
22
|
modelValue?: string | undefined;
|
|
18
23
|
}) & {
|
|
@@ -49,5 +49,10 @@ export declare const ROW_BLOCK_PAD: {
|
|
|
49
49
|
readonly compact: "px-4 py-3.5";
|
|
50
50
|
readonly dense: "px-2.5 py-3";
|
|
51
51
|
};
|
|
52
|
+
export declare const ROW_DRAWER_PAD: {
|
|
53
|
+
readonly comfortable: "px-4.5 pt-2 pb-4";
|
|
54
|
+
readonly compact: "px-4 pt-1.5 pb-3.5";
|
|
55
|
+
readonly dense: "px-2.5 pt-1 pb-3";
|
|
56
|
+
};
|
|
52
57
|
export declare const provideRowDensity: (density: ComputedRef<RowDensity>) => void;
|
|
53
58
|
export declare const useRowDensity: (own: () => RowDensity | undefined) => ComputedRef<RowDensity>;
|
|
@@ -5,6 +5,8 @@ export interface AgentRunChoice {
|
|
|
5
5
|
readonly label: string;
|
|
6
6
|
readonly account?: string | undefined;
|
|
7
7
|
readonly harness?: string | undefined;
|
|
8
|
+
readonly effort?: string | undefined;
|
|
9
|
+
readonly effortLabel?: string | undefined;
|
|
8
10
|
}
|
|
9
11
|
export interface ModelPicking {
|
|
10
12
|
agentRun(): AgentRunChoice;
|
|
@@ -14,6 +16,8 @@ export interface ModelPicking {
|
|
|
14
16
|
readonly model: string;
|
|
15
17
|
readonly account?: string | undefined;
|
|
16
18
|
readonly harness?: string | undefined;
|
|
19
|
+
readonly effort?: string | undefined;
|
|
20
|
+
readonly chooseEffort?: boolean;
|
|
17
21
|
}): Promise<AgentRunChoice | undefined>;
|
|
18
22
|
}
|
|
19
23
|
export interface AgentRunPicker {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type IconName = "align-left" | "angle-right" | "arrow-circle-up" | "arrow-down-left" | "arrow-left" | "arrow-right" | "arrow-up-right" | "arrows-h" | "backward" | "bars" | "bolt" | "book" | "box" | "boxes" | "check" | "check-circle" | "check-square" | "chevron-down" | "chevron-right" | "chevron-up" | "circle" | "circle-fill" | "clock" | "clone" | "cloud" | "cloud-upload" | "code" | "cog" | "collapse-all" | "cpu" | "comments" | "compress" | "copy" | "credit-card" | "database" | "desktop" | "download" | "ellipsis" | "envelope" | "eraser" | "exclamation-circle" | "exclamation-triangle" | "expand" | "external-link" | "eye" | "eye-slash" | "file" | "file-edit" | "file-pdf" | "file-tree" | "filter" | "folder" | "folder-open" | "fork" | "forward" | "gift" | "github" | "gitlab" | "globe" | "google" | "hammer" | "history" | "image" | "info-circle" | "key" | "layout-left" | "link" | "link-broken" | "list-check" | "lock" | "microphone" | "moon" | "palette" | "paperclip" | "pause" | "pencil" | "picture-in-picture" | "play" | "plus" | "plus-circle" | "question-circle" | "refresh" | "repeat" | "robot" | "save" | "search" | "send" | "server" | "shield" | "sign-in" | "sign-out" | "sitemap" | "slack" | "sliders-h" | "sort-desc" | "sparkles" | "spinner" | "square" | "star" | "star-fill" | "stop" | "sun" | "sync" | "terminal" | "th-large" | "times" | "trash" | "undo" | "unlock" | "upload" | "user" | "users" | "volume-off" | "volume-up" | "wave-pulse" | "wifi" | "window-maximize" | "window-minimize" | "wrench";
|
|
1
|
+
export type IconName = "align-left" | "angle-right" | "arrow-circle-up" | "arrow-down-left" | "arrow-left" | "arrow-right" | "arrow-up-right" | "arrows-h" | "backward" | "bars" | "bolt" | "book" | "box" | "boxes" | "camera" | "check" | "check-circle" | "check-square" | "chevron-down" | "chevron-right" | "chevron-up" | "circle" | "circle-fill" | "clock" | "clone" | "cloud" | "cloud-upload" | "code" | "cog" | "collapse-all" | "cpu" | "comments" | "compress" | "copy" | "credit-card" | "database" | "desktop" | "download" | "ellipsis" | "envelope" | "eraser" | "exclamation-circle" | "exclamation-triangle" | "expand" | "external-link" | "eye" | "eye-slash" | "file" | "file-edit" | "file-pdf" | "file-tree" | "filter" | "folder" | "folder-open" | "fork" | "forward" | "gift" | "github" | "gitlab" | "globe" | "google" | "hammer" | "history" | "image" | "info-circle" | "key" | "layout-left" | "link" | "link-broken" | "list-check" | "lock" | "microphone" | "moon" | "palette" | "paperclip" | "pause" | "pencil" | "picture-in-picture" | "play" | "plus" | "plus-circle" | "question-circle" | "refresh" | "repeat" | "robot" | "save" | "search" | "send" | "server" | "shield" | "sign-in" | "sign-out" | "sitemap" | "slack" | "sliders-h" | "sort-desc" | "sparkles" | "split-columns" | "spinner" | "square" | "star" | "star-fill" | "stop" | "sun" | "sync" | "terminal" | "th-large" | "times" | "trash" | "undo" | "unlock" | "upload" | "user" | "users" | "volume-off" | "volume-up" | "wave-pulse" | "wifi" | "window-maximize" | "window-minimize" | "wrench";
|
|
2
2
|
export declare const ICONS: Record<IconName, string>;
|
|
3
3
|
export declare const isIconName: (name: string) => name is IconName;
|
|
@@ -3,6 +3,8 @@ export declare const ui: {
|
|
|
3
3
|
linkButton: (...twClasses: string[]) => string;
|
|
4
4
|
textAction: (...twClasses: string[]) => string;
|
|
5
5
|
input: (...twClasses: string[]) => string;
|
|
6
|
+
inputSm: (...twClasses: string[]) => string;
|
|
7
|
+
inputInline: (...twClasses: string[]) => string;
|
|
6
8
|
emptyState: (...twClasses: string[]) => string;
|
|
7
9
|
addTile: (...twClasses: string[]) => string;
|
|
8
10
|
overlayChip: (...twClasses: string[]) => string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intentic/extension-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.242.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,7 +43,7 @@ export {
|
|
|
43
43
|
vAction,
|
|
44
44
|
BarChart,
|
|
45
45
|
BottomSheet,
|
|
46
|
-
/* <BrandMark> ships because the
|
|
46
|
+
/* <BrandMark> ships because the approvals queue is the second surface to draw a platform as its brand (the
|
|
47
47
|
* capability cards were the first), and because its fallback is the part a hand-roll skips: a platform
|
|
48
48
|
* with no installed connector still has to render as SOMETHING, and the monogram is that something. */
|
|
49
49
|
BrandMark,
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
export declare const LANGS: {
|
|
2
|
-
bash: () => Promise<typeof import("@shikijs/langs/bash")>;
|
|
3
|
-
powershell: () => Promise<typeof import("@shikijs/langs/powershell")>;
|
|
4
|
-
typescript: () => Promise<typeof import("@shikijs/langs/typescript")>;
|
|
5
|
-
tsx: () => Promise<typeof import("@shikijs/langs/tsx")>;
|
|
6
|
-
javascript: () => Promise<typeof import("@shikijs/langs/javascript")>;
|
|
7
|
-
jsx: () => Promise<typeof import("@shikijs/langs/jsx")>;
|
|
8
|
-
json: () => Promise<typeof import("@shikijs/langs/json")>;
|
|
9
|
-
yaml: () => Promise<typeof import("@shikijs/langs/yaml")>;
|
|
10
|
-
css: () => Promise<typeof import("@shikijs/langs/css")>;
|
|
11
|
-
scss: () => Promise<typeof import("@shikijs/langs/scss")>;
|
|
12
|
-
less: () => Promise<typeof import("@shikijs/langs/less")>;
|
|
13
|
-
html: () => Promise<typeof import("@shikijs/langs/html")>;
|
|
14
|
-
python: () => Promise<typeof import("@shikijs/langs/python")>;
|
|
15
|
-
go: () => Promise<typeof import("@shikijs/langs/go")>;
|
|
16
|
-
rust: () => Promise<typeof import("@shikijs/langs/rust")>;
|
|
17
|
-
java: () => Promise<typeof import("@shikijs/langs/java")>;
|
|
18
|
-
c: () => Promise<typeof import("@shikijs/langs/c")>;
|
|
19
|
-
cpp: () => Promise<typeof import("@shikijs/langs/cpp")>;
|
|
20
|
-
csharp: () => Promise<typeof import("@shikijs/langs/csharp")>;
|
|
21
|
-
sql: () => Promise<typeof import("@shikijs/langs/sql")>;
|
|
22
|
-
toml: () => Promise<typeof import("@shikijs/langs/toml")>;
|
|
23
|
-
xml: () => Promise<typeof import("@shikijs/langs/xml")>;
|
|
24
|
-
ini: () => Promise<typeof import("@shikijs/langs/ini")>;
|
|
25
|
-
docker: () => Promise<typeof import("@shikijs/langs/docker")>;
|
|
26
|
-
dotenv: () => Promise<typeof import("@shikijs/langs/dotenv")>;
|
|
27
|
-
gitignore: () => Promise<typeof import("./gitignoreGrammar")>;
|
|
28
|
-
make: () => Promise<typeof import("@shikijs/langs/make")>;
|
|
29
|
-
prisma: () => Promise<typeof import("@shikijs/langs/prisma")>;
|
|
30
|
-
graphql: () => Promise<typeof import("@shikijs/langs/graphql")>;
|
|
31
|
-
vue: () => Promise<typeof import("@shikijs/langs/vue")>;
|
|
32
|
-
svelte: () => Promise<typeof import("@shikijs/langs/svelte")>;
|
|
33
|
-
astro: () => Promise<typeof import("@shikijs/langs/astro")>;
|
|
34
|
-
php: () => Promise<typeof import("@shikijs/langs/php")>;
|
|
35
|
-
ruby: () => Promise<typeof import("@shikijs/langs/ruby")>;
|
|
36
|
-
kotlin: () => Promise<typeof import("@shikijs/langs/kotlin")>;
|
|
37
|
-
swift: () => Promise<typeof import("@shikijs/langs/swift")>;
|
|
38
|
-
diff: () => Promise<typeof import("@shikijs/langs/diff")>;
|
|
39
|
-
markdown: () => Promise<typeof import("@shikijs/langs/markdown")>;
|
|
40
|
-
log: () => Promise<typeof import("@shikijs/langs/log")>;
|
|
41
|
-
};
|
|
42
|
-
export type ShikiLang = keyof typeof LANGS;
|
|
43
|
-
export declare const langLoader: (lang: string) => (() => Promise<unknown>) | undefined;
|
|
44
|
-
export declare const shikiLangDeps: string[];
|