@neuronection/assistant-ui 0.58.0 → 0.60.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/CHANGELOG.md +18 -0
- package/dist/{chunk-FPX3AI3Z.js → chunk-GR6CSKQY.js} +3 -3
- package/dist/{chunk-FPX3AI3Z.js.map → chunk-GR6CSKQY.js.map} +1 -1
- package/dist/{chunk-3YIVKKT6.js → chunk-GUFHUKUA.js} +3 -3
- package/dist/{chunk-3YIVKKT6.js.map → chunk-GUFHUKUA.js.map} +1 -1
- package/dist/chunk-K54EWKQC.js +71 -0
- package/dist/chunk-K54EWKQC.js.map +1 -0
- package/dist/chunk-MVJCUNCD.js +40 -0
- package/dist/chunk-MVJCUNCD.js.map +1 -0
- package/dist/chunk-X6L5T65Q.js +81 -0
- package/dist/chunk-X6L5T65Q.js.map +1 -0
- package/dist/index.d.ts +61 -3
- package/dist/index.js +9 -7
- package/dist/model-picker.d.ts +16 -2
- package/dist/model-picker.js +1 -1
- package/dist/model-registry.js +1 -1
- package/dist/setup-assignments.d.ts +27 -0
- package/dist/setup-assignments.js +3 -0
- package/dist/setup-assignments.js.map +1 -0
- package/dist/setup-steps.d.ts +23 -0
- package/dist/setup-steps.js +3 -0
- package/dist/setup-steps.js.map +1 -0
- package/dist/styles.css +1 -1
- package/dist/task-assignment-picker.js +1 -1
- package/package.json +9 -1
- package/dist/chunk-CCFVDJHU.js +0 -65
- package/dist/chunk-CCFVDJHU.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/setup-assignments/SetupAssignments.tsx"],"names":["SetupAssignments"],"mappings":";;;;;AA6BO,IAAM,gBAAA,GAAyB,KAAA,CAAA,UAAA;AAAA,EACpC,SAASA,iBAAAA,CACP,EAAE,KAAA,EAAO,IAAA,EAAM,MAAM,SAAA,EAAW,GAAG,KAAA,EAAM,EACzC,GAAA,EACA;AACA,IAAA,uBACE,IAAA;AAAA,MAAC,SAAA;AAAA,MAAA;AAAA,QACC,GAAA;AAAA,QACA,SAAA,EAAQ,mBAAA;AAAA,QACR,SAAA,EAAW,EAAA,CAAG,4BAAA,EAA8B,SAAS,CAAA;AAAA,QACpD,GAAG,KAAA;AAAA,QAEJ,QAAA,EAAA;AAAA,0BAAA,IAAA,CAAC,KAAA,EAAA,EACC,QAAA,EAAA;AAAA,4BAAA,GAAA,CAAC,IAAA,EAAA,EAAG,SAAA,EAAU,2CAAA,EAA6C,QAAA,EAAA,KAAA,EAAM,CAAA;AAAA,YAChE,uBACC,GAAA,CAAC,GAAA,EAAA,EAAE,SAAA,EAAU,0CAAA,EAA4C,gBAAK,CAAA,GAC5D;AAAA,WAAA,EACN,CAAA;AAAA,UACC,IAAA,CAAK,MAAA,GAAS,CAAA,mBACb,GAAA,CAAC,KAAA,EAAA,EAAI,WAAU,gGAAA,EACZ,QAAA,EAAA,IAAA,CAAK,GAAA,CAAI,CAAC,GAAA,qBACT,GAAA;AAAA,YAAC,SAAA;AAAA,YAAA;AAAA,cAEC,OAAO,GAAA,CAAI,KAAA;AAAA,cACX,cAAc,GAAA,CAAI,IAAA;AAAA,cAClB,SAAS,GAAA,CAAI,OAAA;AAAA,cACb,UAAU,GAAA,CAAI,QAAA;AAAA,cACd,iBAAiB,GAAA,CAAI,eAAA;AAAA,cACrB,SAAA,EAAU;AAAA,aAAA;AAAA,YANL,GAAA,CAAI;AAAA,WAQZ,GACH,CAAA,GACE;AAAA;AAAA;AAAA,KACN;AAAA,EAEJ;AACF","file":"chunk-MVJCUNCD.js","sourcesContent":["import * as React from 'react'\nimport { cn } from '../../lib/utils'\nimport { SwitchRow } from '../switch-row/SwitchRow'\n\nexport interface SetupAssignmentRow {\n /** Stable row id (also the React key). */\n id: string\n /** The task the row assigns (e.g. \"Chat default\"). */\n label: string\n /** Muted sub-line under the label — the row's live context, e.g.\n * \"now: unset · fills: gpt-5.6-terra\". */\n hint?: React.ReactNode\n checked: boolean\n disabled?: boolean\n onCheckedChange: (checked: boolean) => void\n}\n\nexport interface SetupAssignmentsProps\n extends Omit<React.ComponentProps<'section'>, 'children'> {\n title: string\n /** One-line explanation under the title (what the switches do). */\n hint?: string\n rows: SetupAssignmentRow[]\n}\n\n/** The \"Default assignments\" section of the guided setup review: a titled,\n * hinted list of per-task switches in one bordered container. Each switch\n * fills that task's empty default — gap-fill semantics live app-side, the\n * rows only carry the choice. */\nexport const SetupAssignments = React.forwardRef<HTMLElement, SetupAssignmentsProps>(\n function SetupAssignments(\n { title, hint, rows, className, ...props },\n ref,\n ) {\n return (\n <section\n ref={ref}\n data-as=\"setup-assignments\"\n className={cn('flex w-full flex-col gap-2', className)}\n {...props}\n >\n <div>\n <h3 className=\"text-sm font-semibold text-[var(--as-fg)]\">{title}</h3>\n {hint ? (\n <p className=\"mt-0.5 text-xs text-[var(--as-muted-fg)]\">{hint}</p>\n ) : null}\n </div>\n {rows.length > 0 ? (\n <div className=\"divide-y divide-[var(--as-border)] rounded-[var(--as-radius)] border border-[var(--as-border)]\">\n {rows.map((row) => (\n <SwitchRow\n key={row.id}\n label={row.label}\n currentValue={row.hint}\n checked={row.checked}\n disabled={row.disabled}\n onCheckedChange={row.onCheckedChange}\n className=\"border-0 bg-transparent px-3\"\n />\n ))}\n </div>\n ) : null}\n </section>\n )\n },\n)\n"]}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { Combobox } from './chunk-SVRCZUNQ.js';
|
|
2
|
+
import { cn } from './chunk-RVVXVTH3.js';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { jsx } from 'react/jsx-runtime';
|
|
5
|
+
|
|
6
|
+
var ModelPicker = React.forwardRef(
|
|
7
|
+
function ModelPicker2(props, ref) {
|
|
8
|
+
const {
|
|
9
|
+
providers,
|
|
10
|
+
value,
|
|
11
|
+
onChange,
|
|
12
|
+
nullOption,
|
|
13
|
+
placeholder = "Select a model\u2026",
|
|
14
|
+
searchPlaceholder = "Search models\u2026",
|
|
15
|
+
searchLabel,
|
|
16
|
+
emptyLabel,
|
|
17
|
+
loading = false,
|
|
18
|
+
disabled = false,
|
|
19
|
+
clearable = false,
|
|
20
|
+
clearLabel,
|
|
21
|
+
label,
|
|
22
|
+
hideLabel = false,
|
|
23
|
+
error,
|
|
24
|
+
id,
|
|
25
|
+
className,
|
|
26
|
+
panelClassName
|
|
27
|
+
} = props;
|
|
28
|
+
const nullSentinel = React.useId();
|
|
29
|
+
const options = React.useMemo(
|
|
30
|
+
() => {
|
|
31
|
+
const modelOptions = providers.flatMap(
|
|
32
|
+
(provider) => provider.models.map((model) => ({
|
|
33
|
+
value: model.id,
|
|
34
|
+
label: model.name,
|
|
35
|
+
group: provider.name,
|
|
36
|
+
badge: model.capability
|
|
37
|
+
}))
|
|
38
|
+
);
|
|
39
|
+
return nullOption ? [{ value: nullSentinel, label: nullOption.label }, ...modelOptions] : modelOptions;
|
|
40
|
+
},
|
|
41
|
+
[providers, nullOption, nullSentinel]
|
|
42
|
+
);
|
|
43
|
+
const emitChange = (modelId) => {
|
|
44
|
+
if (modelId === null) {
|
|
45
|
+
if (nullOption) {
|
|
46
|
+
onChange(null);
|
|
47
|
+
}
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
onChange(modelId);
|
|
51
|
+
};
|
|
52
|
+
const selectedValue = value ? value : nullOption ? nullSentinel : value;
|
|
53
|
+
return /* @__PURE__ */ jsx(
|
|
54
|
+
Combobox,
|
|
55
|
+
{
|
|
56
|
+
ref,
|
|
57
|
+
options,
|
|
58
|
+
value: selectedValue,
|
|
59
|
+
onChange: (next) => emitChange(next === nullSentinel ? null : next),
|
|
60
|
+
placeholder,
|
|
61
|
+
searchPlaceholder,
|
|
62
|
+
searchLabel,
|
|
63
|
+
emptyLabel,
|
|
64
|
+
loading,
|
|
65
|
+
disabled,
|
|
66
|
+
clearable,
|
|
67
|
+
clearLabel,
|
|
68
|
+
label,
|
|
69
|
+
hideLabel,
|
|
70
|
+
error,
|
|
71
|
+
id,
|
|
72
|
+
className: cn("w-full", className),
|
|
73
|
+
panelClassName
|
|
74
|
+
}
|
|
75
|
+
);
|
|
76
|
+
}
|
|
77
|
+
);
|
|
78
|
+
|
|
79
|
+
export { ModelPicker };
|
|
80
|
+
//# sourceMappingURL=chunk-X6L5T65Q.js.map
|
|
81
|
+
//# sourceMappingURL=chunk-X6L5T65Q.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/components/model-picker/ModelPicker.tsx"],"names":["ModelPicker"],"mappings":";;;;;AA0DO,IAAM,WAAA,GAAoB,KAAA,CAAA,UAAA;AAAA,EAC/B,SAASA,YAAAA,CAAY,KAAA,EAAO,GAAA,EAAK;AAC/B,IAAA,MAAM;AAAA,MACJ,SAAA;AAAA,MACA,KAAA;AAAA,MACA,QAAA;AAAA,MACA,UAAA;AAAA,MACA,WAAA,GAAc,sBAAA;AAAA,MACd,iBAAA,GAAoB,qBAAA;AAAA,MACpB,WAAA;AAAA,MACA,UAAA;AAAA,MACA,OAAA,GAAU,KAAA;AAAA,MACV,QAAA,GAAW,KAAA;AAAA,MACX,SAAA,GAAY,KAAA;AAAA,MACZ,UAAA;AAAA,MACA,KAAA;AAAA,MACA,SAAA,GAAY,KAAA;AAAA,MACZ,KAAA;AAAA,MACA,EAAA;AAAA,MACA,SAAA;AAAA,MACA;AAAA,KACF,GAAI,KAAA;AAKJ,IAAA,MAAM,eAAqB,KAAA,CAAA,KAAA,EAAM;AAEjC,IAAA,MAAM,OAAA,GAAkC,KAAA,CAAA,OAAA;AAAA,MACtC,MAAM;AACJ,QAAA,MAAM,eAAe,SAAA,CAAU,OAAA;AAAA,UAAQ,CAAC,QAAA,KACtC,QAAA,CAAS,MAAA,CAAO,GAAA,CAAI,CAAC,KAAA,MAAW;AAAA,YAC9B,OAAO,KAAA,CAAM,EAAA;AAAA,YACb,OAAO,KAAA,CAAM,IAAA;AAAA,YACb,OAAO,QAAA,CAAS,IAAA;AAAA,YAChB,OAAO,KAAA,CAAM;AAAA,WACf,CAAE;AAAA,SACJ;AAGA,QAAA,OAAO,UAAA,GACH,CAAC,EAAE,KAAA,EAAO,YAAA,EAAc,KAAA,EAAO,UAAA,CAAW,KAAA,EAAM,EAAG,GAAG,YAAY,CAAA,GAClE,YAAA;AAAA,MACN,CAAA;AAAA,MACA,CAAC,SAAA,EAAW,UAAA,EAAY,YAAY;AAAA,KACtC;AAEA,IAAA,MAAM,UAAA,GAAa,CAAC,OAAA,KAAiC;AACnD,MAAA,IAAI,YAAY,IAAA,EAAM;AACpB,QAAA,IAAI,UAAA,EAAY;AAGd,UAAC,SAA8C,IAAI,CAAA;AAAA,QACrD;AACA,QAAA;AAAA,MACF;AACA,MAAA,QAAA,CAAS,OAAO,CAAA;AAAA,IAClB,CAAA;AAIA,IAAA,MAAM,aAAA,GAAgB,KAAA,GAAQ,KAAA,GAAQ,UAAA,GAAa,YAAA,GAAe,KAAA;AAElE,IAAA,uBACE,GAAA;AAAA,MAAC,QAAA;AAAA,MAAA;AAAA,QACC,GAAA;AAAA,QACA,OAAA;AAAA,QACA,KAAA,EAAO,aAAA;AAAA,QACP,UAAU,CAAC,IAAA,KAAS,WAAW,IAAA,KAAS,YAAA,GAAe,OAAO,IAAI,CAAA;AAAA,QAClE,WAAA;AAAA,QACA,iBAAA;AAAA,QACA,WAAA;AAAA,QACA,UAAA;AAAA,QACA,OAAA;AAAA,QACA,QAAA;AAAA,QACA,SAAA;AAAA,QACA,UAAA;AAAA,QACA,KAAA;AAAA,QACA,SAAA;AAAA,QACA,KAAA;AAAA,QACA,EAAA;AAAA,QACA,SAAA,EAAW,EAAA,CAAG,QAAA,EAAU,SAAS,CAAA;AAAA,QACjC;AAAA;AAAA,KACF;AAAA,EAEJ;AACF","file":"chunk-X6L5T65Q.js","sourcesContent":["import * as React from 'react'\nimport { cn } from '../../lib/utils'\nimport {\n Combobox,\n type ComboboxOption,\n} from '../combobox'\n\nexport interface ModelPickerModel {\n id: string\n name: string\n /** Short capability chip, e.g. `vision` or `tools`. */\n capability?: string\n /** Full capability set, matched by TaskAssignmentPicker `requires`. */\n capabilities?: string[]\n}\n\nexport interface ModelPickerProvider {\n id: string\n name: string\n models: ModelPickerModel[]\n}\n\ninterface ModelPickerBaseProps {\n providers: ModelPickerProvider[]\n value?: string\n placeholder?: string\n searchPlaceholder?: string\n searchLabel?: string\n emptyLabel?: string\n loading?: boolean\n disabled?: boolean\n clearable?: boolean\n clearLabel?: string\n label?: string\n /** Keep the accessible name from `label` but do not render it visibly. */\n hideLabel?: boolean\n error?: string\n id?: string\n className?: string\n panelClassName?: string\n}\n\n/**\n * Discriminated on `nullOption` (plan 29 / ADR-0036): with the labeled\n * null option set, the option list leads with it and `onChange` receives\n * `null` when it is chosen (the inherit state). Without it the contract\n * is unchanged — `onChange` only ever receives model ids.\n */\nexport type ModelPickerProps = ModelPickerBaseProps &\n (\n | { nullOption?: undefined; onChange: (modelId: string) => void }\n | { nullOption: { label: string }; onChange: (modelId: string | null) => void }\n )\n\n/**\n * Grouped, searchable provider → model picker. Presentational: the model\n * list comes in via props, selection goes out via `onChange`.\n */\nexport const ModelPicker = React.forwardRef<HTMLButtonElement, ModelPickerProps>(\n function ModelPicker(props, ref) {\n const {\n providers,\n value,\n onChange,\n nullOption,\n placeholder = 'Select a model…',\n searchPlaceholder = 'Search models…',\n searchLabel,\n emptyLabel,\n loading = false,\n disabled = false,\n clearable = false,\n clearLabel,\n label,\n hideLabel = false,\n error,\n id,\n className,\n panelClassName,\n } = props\n\n // Per-instance sentinel value for the labeled null entry — cannot\n // collide with a real model id. Internal only: it never reaches the\n // DOM or `onChange`.\n const nullSentinel = React.useId()\n\n const options: ComboboxOption[] = React.useMemo(\n () => {\n const modelOptions = providers.flatMap((provider) =>\n provider.models.map((model) => ({\n value: model.id,\n label: model.name,\n group: provider.name,\n badge: model.capability,\n })),\n )\n // The inherit state leads the list (ADR-0036 §4): no group of its\n // own, so it renders above every provider group.\n return nullOption\n ? [{ value: nullSentinel, label: nullOption.label }, ...modelOptions]\n : modelOptions\n },\n [providers, nullOption, nullSentinel],\n )\n\n const emitChange = (modelId: string | null): void => {\n if (modelId === null) {\n if (nullOption) {\n // The props union types `onChange` as null-capable exactly when\n // `nullOption` is set; destructuring loses that correlation.\n (onChange as (modelId: string | null) => void)(null)\n }\n return\n }\n onChange(modelId)\n }\n\n // Empty value + null option = the inherit entry is the selection, so\n // the trigger names it. Without `nullOption` this is `value` verbatim.\n const selectedValue = value ? value : nullOption ? nullSentinel : value\n\n return (\n <Combobox\n ref={ref}\n options={options}\n value={selectedValue}\n onChange={(next) => emitChange(next === nullSentinel ? null : next)}\n placeholder={placeholder}\n searchPlaceholder={searchPlaceholder}\n searchLabel={searchLabel}\n emptyLabel={emptyLabel}\n loading={loading}\n disabled={disabled}\n clearable={clearable}\n clearLabel={clearLabel}\n label={label}\n hideLabel={hideLabel}\n error={error}\n id={id}\n className={cn('w-full', className)}\n panelClassName={panelClassName}\n />\n )\n },\n)\n"]}
|
package/dist/index.d.ts
CHANGED
|
@@ -880,6 +880,50 @@ interface SetupFirstRunCardProps extends Omit<React.ComponentProps<'section'>, '
|
|
|
880
880
|
* empty states deep-link to the settings surface that renders this card. */
|
|
881
881
|
declare const SetupFirstRunCard: React.ForwardRefExoticComponent<Omit<SetupFirstRunCardProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
882
882
|
|
|
883
|
+
interface SetupStep {
|
|
884
|
+
/** Stable step id (also the React key). */
|
|
885
|
+
id: string;
|
|
886
|
+
label: string;
|
|
887
|
+
}
|
|
888
|
+
interface SetupStepsProps extends Omit<React.ComponentProps<'ol'>, 'children'> {
|
|
889
|
+
steps: SetupStep[];
|
|
890
|
+
/** Zero-based index of the active step. An index past the last step
|
|
891
|
+
* marks every step done (the wizard's completion state); a negative
|
|
892
|
+
* index marks every step upcoming. */
|
|
893
|
+
current: number;
|
|
894
|
+
/** Accessible name for the progress list. */
|
|
895
|
+
label?: string;
|
|
896
|
+
}
|
|
897
|
+
/** Two-plus-step wizard progress ("Connect" → "Choose defaults"): numbered
|
|
898
|
+
* badges, a done check, the current step highlighted, hairline connectors.
|
|
899
|
+
* The tiles and the key form are one mental unit (step 1); the review is
|
|
900
|
+
* step 2 — the header makes that split visible before the user commits. */
|
|
901
|
+
declare const SetupSteps: React.ForwardRefExoticComponent<Omit<SetupStepsProps, "ref"> & React.RefAttributes<HTMLOListElement>>;
|
|
902
|
+
|
|
903
|
+
interface SetupAssignmentRow {
|
|
904
|
+
/** Stable row id (also the React key). */
|
|
905
|
+
id: string;
|
|
906
|
+
/** The task the row assigns (e.g. "Chat default"). */
|
|
907
|
+
label: string;
|
|
908
|
+
/** Muted sub-line under the label — the row's live context, e.g.
|
|
909
|
+
* "now: unset · fills: gpt-5.6-terra". */
|
|
910
|
+
hint?: React.ReactNode;
|
|
911
|
+
checked: boolean;
|
|
912
|
+
disabled?: boolean;
|
|
913
|
+
onCheckedChange: (checked: boolean) => void;
|
|
914
|
+
}
|
|
915
|
+
interface SetupAssignmentsProps extends Omit<React.ComponentProps<'section'>, 'children'> {
|
|
916
|
+
title: string;
|
|
917
|
+
/** One-line explanation under the title (what the switches do). */
|
|
918
|
+
hint?: string;
|
|
919
|
+
rows: SetupAssignmentRow[];
|
|
920
|
+
}
|
|
921
|
+
/** The "Default assignments" section of the guided setup review: a titled,
|
|
922
|
+
* hinted list of per-task switches in one bordered container. Each switch
|
|
923
|
+
* fills that task's empty default — gap-fill semantics live app-side, the
|
|
924
|
+
* rows only carry the choice. */
|
|
925
|
+
declare const SetupAssignments: React.ForwardRefExoticComponent<Omit<SetupAssignmentsProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
926
|
+
|
|
883
927
|
interface SwitchRowProps extends Omit<React.ComponentProps<'button'>, 'onChange'> {
|
|
884
928
|
/** Visible row label — doubles as the switch's accessible name. */
|
|
885
929
|
label: React.ReactNode;
|
|
@@ -1610,10 +1654,9 @@ interface ModelPickerProvider {
|
|
|
1610
1654
|
name: string;
|
|
1611
1655
|
models: ModelPickerModel[];
|
|
1612
1656
|
}
|
|
1613
|
-
interface
|
|
1657
|
+
interface ModelPickerBaseProps {
|
|
1614
1658
|
providers: ModelPickerProvider[];
|
|
1615
1659
|
value?: string;
|
|
1616
|
-
onChange: (modelId: string) => void;
|
|
1617
1660
|
placeholder?: string;
|
|
1618
1661
|
searchPlaceholder?: string;
|
|
1619
1662
|
searchLabel?: string;
|
|
@@ -1630,6 +1673,21 @@ interface ModelPickerProps {
|
|
|
1630
1673
|
className?: string;
|
|
1631
1674
|
panelClassName?: string;
|
|
1632
1675
|
}
|
|
1676
|
+
/**
|
|
1677
|
+
* Discriminated on `nullOption` (plan 29 / ADR-0036): with the labeled
|
|
1678
|
+
* null option set, the option list leads with it and `onChange` receives
|
|
1679
|
+
* `null` when it is chosen (the inherit state). Without it the contract
|
|
1680
|
+
* is unchanged — `onChange` only ever receives model ids.
|
|
1681
|
+
*/
|
|
1682
|
+
type ModelPickerProps = ModelPickerBaseProps & ({
|
|
1683
|
+
nullOption?: undefined;
|
|
1684
|
+
onChange: (modelId: string) => void;
|
|
1685
|
+
} | {
|
|
1686
|
+
nullOption: {
|
|
1687
|
+
label: string;
|
|
1688
|
+
};
|
|
1689
|
+
onChange: (modelId: string | null) => void;
|
|
1690
|
+
});
|
|
1633
1691
|
/**
|
|
1634
1692
|
* Grouped, searchable provider → model picker. Presentational: the model
|
|
1635
1693
|
* list comes in via props, selection goes out via `onChange`.
|
|
@@ -3826,4 +3884,4 @@ interface ChatLauncherProps {
|
|
|
3826
3884
|
*/
|
|
3827
3885
|
declare const ChatLauncher: React.ForwardRefExoticComponent<ChatLauncherProps & React.RefAttributes<HTMLButtonElement>>;
|
|
3828
3886
|
|
|
3829
|
-
export { AboutCard, type AboutCardProps, type AboutCreator, AboutFooterLine, type AboutFooterLineProps, type AboutLicense, type AboutLinkItem, AboutLinkList, type AboutLinkListProps, AboutNote, type AboutNoteContent, type AboutNoteProps, AboutPanel, type AboutPanelProps, type AboutSponsorContent, ActionMenu, type ActionMenuItem, type ActionMenuProps, type AdminUser, type AdminUserPatch, AdminUserTable, type AdminUserTableIcons, type AdminUserTableLabels, type AdminUserTableProps, type AiAction, AiActionsDropdown, type AiActionsDropdownProps, AiButton, type AiButtonProps, AiMagicFill, type AiMagicFillProps, type AiTextTransformEventHandlers, type AiTextTransformStatus, type AiTextTransformTransport, AuthGate, type AuthGateLabels, type AuthGateProps, type AuthGateStatus, Badge, type BadgeProps, type BranchNode, type BranchNodeInput, type BranchTree, type BreadcrumbItem, type BreadcrumbLinkProps, Breadcrumbs, type BreadcrumbsProps, Button, type ButtonProps, CUSTOM_PRESET_KEY, CapabilityChips, type CapabilityChipsProps, type CapabilityDescriptor, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CareerMark, type ChatAttachmentView, ChatBranchTree, type ChatBranchTreeIcons, type ChatBranchTreeLabels, type ChatBranchTreeNode, type ChatBranchTreeProps, ChatComposer, type ChatComposerIcons, type ChatComposerLabels, type ChatComposerProps, ChatDrawer, type ChatDrawerProps, type ChatError, type ChatExportMessage, type ChatExportOptions, ChatHistoryButton, type ChatHistoryButtonLabels, type ChatHistoryButtonProps, ChatLauncher, type ChatLauncherProps, ChatMessage, type ChatMessageAction, type ChatMessageActions, ChatMessageEditor, type ChatMessageEditorLabels, type ChatMessageEditorProps, type ChatMessageLabels, type ChatMessageProps, type ChatMessageStatus, type ChatMessageVariants, type ChatMessageView, ChatPanel, type ChatPanelProps, type ChatPanelVariant, ChatPending, type ChatPendingProps, ChatReasoning, type ChatReasoningLabels, type ChatReasoningProps, type ChatRole, ChatSearchField, type ChatSearchFieldLabels, type ChatSearchFieldProps, ChatSessionList, type ChatSessionListIcons, type ChatSessionListLabels, type ChatSessionListProps, type ChatSessionView, type ChatStreamEvent, type ChatStreamTransport, ChatSuggestionCard, type ChatSuggestionCardProps, ChatToolCard, type ChatToolCardLabels, type ChatToolCardProps, type ChatToolCatalogArgument, type ChatToolCatalogEntry, ChatToolsCatalog, type ChatToolsCatalogLabels, type ChatToolsCatalogProps, ChatTraceMeta, type ChatTraceMetaProps, ChatTraceTimeline, type ChatTraceTimelineEntry, type ChatTraceTimelineLabels, type ChatTraceTimelineProps, type ChatTraceTimelineTrace, ChatTranscript, type ChatTranscriptLabels, type ChatTranscriptProps, ChatTurnStatus, type ChatTurnStatusLabels, type ChatTurnStatusProps, ChatWelcome, type ChatWelcomeProps, CheckIndicator, type CheckIndicatorProps, ChipInput, type ChipInputProps, ChipList, type ChipListProps, type ChipVariant, Combobox, ComboboxMulti, type ComboboxMultiProps, type ComboboxOption, type ComboboxProps, ConfirmationModal, type ConfirmationModalProps, ConnectionTestRow, type ConnectionTestRowProps, type ConnectionTestStatus, ContextMenu, type ContextMenuItem, type ContextMenuProps, CopyButton, type CopyButtonProps, DEFAULT_SETUP_ERROR_COPY, DatePicker, type DatePickerProps, DesktopMark, DictationButton, type DictationButtonProps, type DictationError, type DictationResult, type DictationStatus, DictationStrip, type DictationStripLabels, type DictationStripProps, type DiffCell, type DiffRow, type DiffSegment, EmptyState, type EmptyStateProps, ErrorBanner, type ErrorBannerProps, ExpandableSearch, type ExpandableSearchProps, type FamilyApp, FamilyBadge, type FamilyBadgeProps, type FamilyCreator, type FamilyMember, FieldDiff, type FieldDiffLabels, type FieldDiffProps, type FieldDiffValue, FieldLabel, type FieldLabelProps, FieldSummary, type FieldSummaryProps, FileCard, type FileCardProps, type FileCardStatus, FileQueue, type FileQueueItem, type FileQueueProps, type FlowError, FlowStatusCard, type FlowStatusCardProps, type FlowStep, type FlowStepInfo, type FlowStepStatus, FlowTelemetryStrip, type FlowTelemetryStripProps, type FlowTrace, type FlowTraceCall, FlowTraceCard, type FlowTraceCardLabels, type FlowTraceCardProps, type FlowTraceStage, type FlowTraceToolOp, FormModal, type FormModalProps, HealthMark, type HitlProposalAction, HitlProposalCard, type HitlProposalCardLabels, type HitlProposalCardProps, type HitlProposalStatus, HoverCard, HoverCardContent, HoverCardPortal, type HoverCardProps, HoverCardTrigger, InfoButton, type InfoButtonProps, InfoTooltip, type InfoTooltipProps, Input, type InputProps, type InstanceAuthMode, InstanceModeControl, type InstanceModeControlIcons, type InstanceModeControlLabels, type InstanceModeControlProps, type LineDiffOptions, type LineDiffResult, type LiveNodeState, type LiveToolCall, type LiveTurnAction, type LiveTurnState, type LiveTurnStatus, LoginForm, type LoginFormFieldOverrides, type LoginFormFields, type LoginFormIcons, type LoginFormLabels, type LoginFormProps, type LogoProps, type LogoTheme, MarkdownCodeBlock, type MarkdownCodeBlockLabels, type MarkdownCodeBlockProps, type MarkdownComponents, MarkdownDiffView, type MarkdownDiffViewLabels, type MarkdownDiffViewProps, MarkdownSurface, type MarkdownSurfaceProps, MarqueeBand, type MarqueePhase, type MarqueeSelection, MarqueeSurface, type MarqueeSurfaceProps, Menu, MenuCheckboxItem, type MenuCheckboxItemProps, MenuContent, MenuGroup, MenuItem, type MenuItemProps, MenuLabel, MenuSeparator, MenuSub, MenuSubContent, MenuSubTrigger, MenuTrigger, MermaidDiagram, type MermaidDiagramProps, MessageVariantSwitcher, type MessageVariantSwitcherLabels, type MessageVariantSwitcherProps, Modal, ModalBody, ModalClose, ModalContent, type ModalContentProps, ModalDescription, ModalFooter, ModalHeader, ModalTitle, ModalTrigger, ModelPicker, type ModelPickerModel, type ModelPickerProps, type ModelPickerProvider, ModelRegistry, type ModelRegistryDraft, type ModelRegistryModel, type ModelRegistryPatch, type ModelRegistryProps, type ModelRegistryProvider, type ModelRegistryRemoteModel, type ModelRegistryRemoteState, type NavChild, type NavItem, NeuronectionMark, NeuronectionWordmark, type NeuronectionWordmarkProps, PanelModal, type PanelModalProps, Popover, PopoverAnchor, PopoverButton, type PopoverButtonProps, PopoverClose, PopoverContent, PopoverTrigger, Portal, type PortalProps, type ProfileItem, ProfileSwitcher, type ProfileSwitcherIcons, type ProfileSwitcherLabels, type ProfileSwitcherProps, ProviderForm, type ProviderFormProps, ProviderLogo, type ProviderLogoProps, type ProviderPresetOption, ProviderSetupForm, type ProviderSetupFormError, type ProviderSetupFormPreset, type ProviderSetupFormProps, type ProviderSetupFormValue, ProviderSetupManualTile, type ProviderSetupTileChip, type ProviderSetupTileData, ProviderSetupTiles, type ProviderSetupTilesProps, RangeBar, type RangeBarProps, type Rect, RegisterForm, type RegisterFormFieldOverrides, type RegisterFormFields, type RegisterFormIcons, type RegisterFormLabels, type RegisterFormProps, RichTextEditor, type RichTextEditorIcons, type RichTextEditorLabels, type RichTextEditorProps, type RichTextToolbarGroup, SETUP_ERROR_CODES, ScaleSlider, type ScaleSliderProps, SearchInput, type SearchInputProps, SegmentedTabs, type SegmentedTabsItem, type SegmentedTabsProps, SelectionBar, type SelectionBarProps, type SettingsNavItem, SettingsShell, type SettingsShellProps, type SetupErrorCode, SetupFirstRunCard, type SetupFirstRunCardProps, SetupReview, type SetupReviewModel, type SetupReviewOptions, type SetupReviewOptionsKey, type SetupReviewProps, type SetupReviewSlot, SidebarNav, type SidebarNavLabels, type SidebarNavProps, Skeleton, type SkeletonProps, SkeletonText, type SkeletonTextProps, Spinner, type SpinnerProps, SponsorCard, type SponsorCardProps, type SponsorChannel, Stepper, type StepperProps, type StepperStep, StudyMark, SwitchRow, type SwitchRowProps, Table, type TableProps, TaskAssignmentPicker, type TaskAssignmentPickerProps, type TaskAssignmentSection, type TaskAssignmentTask, TechChips, type TechChipsProps, TextDiffView, type TextDiffViewLabels, type TextDiffViewProps, ThemeScope, type ThemeScopeProps, ThemeTokens, TimeList, type TimeListProps, TimePicker, TimePickerContent, type TimePickerContentProps, type TimePickerProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UndoNotice, type UndoNoticeProps, type UnitDiffOptions, UploadDropzone, type UploadDropzoneProps, type UseAiTextTransformOptions, type UseChatStreamOptions, type UseChatStreamResult, type UseDictationOptions, type UseMarqueeOptions, UserMenu, type UserMenuIcons, type UserMenuItem, type UserMenuLanguage, type UserMenuProps, type UserMenuStatus, type UserMenuStatusTone, type UserMenuTheme, type UserMenuUser, ViewToggle, type ViewToggleProps, type ViewToggleView, type WebSearchProbeStatus, type WebSearchProviderCatalog, type WebSearchProviderCatalogEntry, type WebSearchProviderCatalogField, type WebSearchProviderProbeView, type WebSearchProviderSaveInput, type WebSearchProviderView, WebSearchProvidersPanel, type WebSearchProvidersPanelLabels, type WebSearchProvidersPanelProps, Wizard, type WizardContext, type WizardProps, type WizardStep, activePathSet, badgeVariants, buildBranchTree, buildChatMarkdown, buttonVariants, chatExportFileName, cn, computeLineDiff, computeUnitDiff, describeAdminUserError, describeInstanceModeError, downloadChatMarkdown, formatBytes, formatFlowLatency, hitTestIds, initialLiveTurnState, linearTree, liveTurnReducer, marqueeRect, modalContentVariants, rectsIntersect, scaleColorForValue, splitMarkdownBlocks, useAiTextTransform, useChatStream, useDictation, useLogoId, useMarquee, variantInfo, walkActivePath, wordSegments };
|
|
3887
|
+
export { AboutCard, type AboutCardProps, type AboutCreator, AboutFooterLine, type AboutFooterLineProps, type AboutLicense, type AboutLinkItem, AboutLinkList, type AboutLinkListProps, AboutNote, type AboutNoteContent, type AboutNoteProps, AboutPanel, type AboutPanelProps, type AboutSponsorContent, ActionMenu, type ActionMenuItem, type ActionMenuProps, type AdminUser, type AdminUserPatch, AdminUserTable, type AdminUserTableIcons, type AdminUserTableLabels, type AdminUserTableProps, type AiAction, AiActionsDropdown, type AiActionsDropdownProps, AiButton, type AiButtonProps, AiMagicFill, type AiMagicFillProps, type AiTextTransformEventHandlers, type AiTextTransformStatus, type AiTextTransformTransport, AuthGate, type AuthGateLabels, type AuthGateProps, type AuthGateStatus, Badge, type BadgeProps, type BranchNode, type BranchNodeInput, type BranchTree, type BreadcrumbItem, type BreadcrumbLinkProps, Breadcrumbs, type BreadcrumbsProps, Button, type ButtonProps, CUSTOM_PRESET_KEY, CapabilityChips, type CapabilityChipsProps, type CapabilityDescriptor, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CareerMark, type ChatAttachmentView, ChatBranchTree, type ChatBranchTreeIcons, type ChatBranchTreeLabels, type ChatBranchTreeNode, type ChatBranchTreeProps, ChatComposer, type ChatComposerIcons, type ChatComposerLabels, type ChatComposerProps, ChatDrawer, type ChatDrawerProps, type ChatError, type ChatExportMessage, type ChatExportOptions, ChatHistoryButton, type ChatHistoryButtonLabels, type ChatHistoryButtonProps, ChatLauncher, type ChatLauncherProps, ChatMessage, type ChatMessageAction, type ChatMessageActions, ChatMessageEditor, type ChatMessageEditorLabels, type ChatMessageEditorProps, type ChatMessageLabels, type ChatMessageProps, type ChatMessageStatus, type ChatMessageVariants, type ChatMessageView, ChatPanel, type ChatPanelProps, type ChatPanelVariant, ChatPending, type ChatPendingProps, ChatReasoning, type ChatReasoningLabels, type ChatReasoningProps, type ChatRole, ChatSearchField, type ChatSearchFieldLabels, type ChatSearchFieldProps, ChatSessionList, type ChatSessionListIcons, type ChatSessionListLabels, type ChatSessionListProps, type ChatSessionView, type ChatStreamEvent, type ChatStreamTransport, ChatSuggestionCard, type ChatSuggestionCardProps, ChatToolCard, type ChatToolCardLabels, type ChatToolCardProps, type ChatToolCatalogArgument, type ChatToolCatalogEntry, ChatToolsCatalog, type ChatToolsCatalogLabels, type ChatToolsCatalogProps, ChatTraceMeta, type ChatTraceMetaProps, ChatTraceTimeline, type ChatTraceTimelineEntry, type ChatTraceTimelineLabels, type ChatTraceTimelineProps, type ChatTraceTimelineTrace, ChatTranscript, type ChatTranscriptLabels, type ChatTranscriptProps, ChatTurnStatus, type ChatTurnStatusLabels, type ChatTurnStatusProps, ChatWelcome, type ChatWelcomeProps, CheckIndicator, type CheckIndicatorProps, ChipInput, type ChipInputProps, ChipList, type ChipListProps, type ChipVariant, Combobox, ComboboxMulti, type ComboboxMultiProps, type ComboboxOption, type ComboboxProps, ConfirmationModal, type ConfirmationModalProps, ConnectionTestRow, type ConnectionTestRowProps, type ConnectionTestStatus, ContextMenu, type ContextMenuItem, type ContextMenuProps, CopyButton, type CopyButtonProps, DEFAULT_SETUP_ERROR_COPY, DatePicker, type DatePickerProps, DesktopMark, DictationButton, type DictationButtonProps, type DictationError, type DictationResult, type DictationStatus, DictationStrip, type DictationStripLabels, type DictationStripProps, type DiffCell, type DiffRow, type DiffSegment, EmptyState, type EmptyStateProps, ErrorBanner, type ErrorBannerProps, ExpandableSearch, type ExpandableSearchProps, type FamilyApp, FamilyBadge, type FamilyBadgeProps, type FamilyCreator, type FamilyMember, FieldDiff, type FieldDiffLabels, type FieldDiffProps, type FieldDiffValue, FieldLabel, type FieldLabelProps, FieldSummary, type FieldSummaryProps, FileCard, type FileCardProps, type FileCardStatus, FileQueue, type FileQueueItem, type FileQueueProps, type FlowError, FlowStatusCard, type FlowStatusCardProps, type FlowStep, type FlowStepInfo, type FlowStepStatus, FlowTelemetryStrip, type FlowTelemetryStripProps, type FlowTrace, type FlowTraceCall, FlowTraceCard, type FlowTraceCardLabels, type FlowTraceCardProps, type FlowTraceStage, type FlowTraceToolOp, FormModal, type FormModalProps, HealthMark, type HitlProposalAction, HitlProposalCard, type HitlProposalCardLabels, type HitlProposalCardProps, type HitlProposalStatus, HoverCard, HoverCardContent, HoverCardPortal, type HoverCardProps, HoverCardTrigger, InfoButton, type InfoButtonProps, InfoTooltip, type InfoTooltipProps, Input, type InputProps, type InstanceAuthMode, InstanceModeControl, type InstanceModeControlIcons, type InstanceModeControlLabels, type InstanceModeControlProps, type LineDiffOptions, type LineDiffResult, type LiveNodeState, type LiveToolCall, type LiveTurnAction, type LiveTurnState, type LiveTurnStatus, LoginForm, type LoginFormFieldOverrides, type LoginFormFields, type LoginFormIcons, type LoginFormLabels, type LoginFormProps, type LogoProps, type LogoTheme, MarkdownCodeBlock, type MarkdownCodeBlockLabels, type MarkdownCodeBlockProps, type MarkdownComponents, MarkdownDiffView, type MarkdownDiffViewLabels, type MarkdownDiffViewProps, MarkdownSurface, type MarkdownSurfaceProps, MarqueeBand, type MarqueePhase, type MarqueeSelection, MarqueeSurface, type MarqueeSurfaceProps, Menu, MenuCheckboxItem, type MenuCheckboxItemProps, MenuContent, MenuGroup, MenuItem, type MenuItemProps, MenuLabel, MenuSeparator, MenuSub, MenuSubContent, MenuSubTrigger, MenuTrigger, MermaidDiagram, type MermaidDiagramProps, MessageVariantSwitcher, type MessageVariantSwitcherLabels, type MessageVariantSwitcherProps, Modal, ModalBody, ModalClose, ModalContent, type ModalContentProps, ModalDescription, ModalFooter, ModalHeader, ModalTitle, ModalTrigger, ModelPicker, type ModelPickerModel, type ModelPickerProps, type ModelPickerProvider, ModelRegistry, type ModelRegistryDraft, type ModelRegistryModel, type ModelRegistryPatch, type ModelRegistryProps, type ModelRegistryProvider, type ModelRegistryRemoteModel, type ModelRegistryRemoteState, type NavChild, type NavItem, NeuronectionMark, NeuronectionWordmark, type NeuronectionWordmarkProps, PanelModal, type PanelModalProps, Popover, PopoverAnchor, PopoverButton, type PopoverButtonProps, PopoverClose, PopoverContent, PopoverTrigger, Portal, type PortalProps, type ProfileItem, ProfileSwitcher, type ProfileSwitcherIcons, type ProfileSwitcherLabels, type ProfileSwitcherProps, ProviderForm, type ProviderFormProps, ProviderLogo, type ProviderLogoProps, type ProviderPresetOption, ProviderSetupForm, type ProviderSetupFormError, type ProviderSetupFormPreset, type ProviderSetupFormProps, type ProviderSetupFormValue, ProviderSetupManualTile, type ProviderSetupTileChip, type ProviderSetupTileData, ProviderSetupTiles, type ProviderSetupTilesProps, RangeBar, type RangeBarProps, type Rect, RegisterForm, type RegisterFormFieldOverrides, type RegisterFormFields, type RegisterFormIcons, type RegisterFormLabels, type RegisterFormProps, RichTextEditor, type RichTextEditorIcons, type RichTextEditorLabels, type RichTextEditorProps, type RichTextToolbarGroup, SETUP_ERROR_CODES, ScaleSlider, type ScaleSliderProps, SearchInput, type SearchInputProps, SegmentedTabs, type SegmentedTabsItem, type SegmentedTabsProps, SelectionBar, type SelectionBarProps, type SettingsNavItem, SettingsShell, type SettingsShellProps, type SetupAssignmentRow, SetupAssignments, type SetupAssignmentsProps, type SetupErrorCode, SetupFirstRunCard, type SetupFirstRunCardProps, SetupReview, type SetupReviewModel, type SetupReviewOptions, type SetupReviewOptionsKey, type SetupReviewProps, type SetupReviewSlot, type SetupStep, SetupSteps, type SetupStepsProps, SidebarNav, type SidebarNavLabels, type SidebarNavProps, Skeleton, type SkeletonProps, SkeletonText, type SkeletonTextProps, Spinner, type SpinnerProps, SponsorCard, type SponsorCardProps, type SponsorChannel, Stepper, type StepperProps, type StepperStep, StudyMark, SwitchRow, type SwitchRowProps, Table, type TableProps, TaskAssignmentPicker, type TaskAssignmentPickerProps, type TaskAssignmentSection, type TaskAssignmentTask, TechChips, type TechChipsProps, TextDiffView, type TextDiffViewLabels, type TextDiffViewProps, ThemeScope, type ThemeScopeProps, ThemeTokens, TimeList, type TimeListProps, TimePicker, TimePickerContent, type TimePickerContentProps, type TimePickerProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UndoNotice, type UndoNoticeProps, type UnitDiffOptions, UploadDropzone, type UploadDropzoneProps, type UseAiTextTransformOptions, type UseChatStreamOptions, type UseChatStreamResult, type UseDictationOptions, type UseMarqueeOptions, UserMenu, type UserMenuIcons, type UserMenuItem, type UserMenuLanguage, type UserMenuProps, type UserMenuStatus, type UserMenuStatusTone, type UserMenuTheme, type UserMenuUser, ViewToggle, type ViewToggleProps, type ViewToggleView, type WebSearchProbeStatus, type WebSearchProviderCatalog, type WebSearchProviderCatalogEntry, type WebSearchProviderCatalogField, type WebSearchProviderProbeView, type WebSearchProviderSaveInput, type WebSearchProviderView, WebSearchProvidersPanel, type WebSearchProvidersPanelLabels, type WebSearchProvidersPanelProps, Wizard, type WizardContext, type WizardProps, type WizardStep, activePathSet, badgeVariants, buildBranchTree, buildChatMarkdown, buttonVariants, chatExportFileName, cn, computeLineDiff, computeUnitDiff, describeAdminUserError, describeInstanceModeError, downloadChatMarkdown, formatBytes, formatFlowLatency, hitTestIds, initialLiveTurnState, linearTree, liveTurnReducer, marqueeRect, modalContentVariants, rectsIntersect, scaleColorForValue, splitMarkdownBlocks, useAiTextTransform, useChatStream, useDictation, useLogoId, useMarquee, variantInfo, walkActivePath, wordSegments };
|
package/dist/index.js
CHANGED
|
@@ -1,23 +1,25 @@
|
|
|
1
|
+
export { InfoTooltip, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from './chunk-NDZ22QGX.js';
|
|
2
|
+
export { UndoNotice } from './chunk-AT32ANZW.js';
|
|
1
3
|
export { ViewToggle } from './chunk-XZIJIGEB.js';
|
|
2
4
|
export { Stepper, Wizard } from './chunk-ZNVWHGKM.js';
|
|
5
|
+
export { Table } from './chunk-53JFRZAO.js';
|
|
6
|
+
export { TaskAssignmentPicker } from './chunk-GUFHUKUA.js';
|
|
3
7
|
export { SettingsShell } from './chunk-YPDIA54W.js';
|
|
4
8
|
export { SidebarNav } from './chunk-VAUB5TDF.js';
|
|
5
9
|
export { UserMenu } from './chunk-CYK3ZLAB.js';
|
|
6
10
|
export { ThemeScope } from './chunk-TGU3PKNM.js';
|
|
7
11
|
export { TimeList } from './chunk-67W2OLOQ.js';
|
|
8
12
|
export { TimePicker, TimePickerContent } from './chunk-WQ5MPOYG.js';
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export { ModelRegistry } from './chunk-FPX3AI3Z.js';
|
|
13
|
+
export { SearchInput } from './chunk-UUIMMMSJ.js';
|
|
14
|
+
export { ModelRegistry } from './chunk-GR6CSKQY.js';
|
|
12
15
|
export { SegmentedTabs } from './chunk-5IEBIDXQ.js';
|
|
13
16
|
export { SelectionBar } from './chunk-LXKRUJIS.js';
|
|
14
17
|
export { Skeleton, SkeletonText } from './chunk-4OJXAFGA.js';
|
|
15
18
|
export { HoverCard, HoverCardContent, HoverCardPortal, HoverCardTrigger } from './chunk-PNYJ5VX2.js';
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
19
|
+
export { SetupSteps } from './chunk-K54EWKQC.js';
|
|
20
|
+
export { SetupAssignments } from './chunk-MVJCUNCD.js';
|
|
18
21
|
export { RangeBar } from './chunk-3UDWLHLD.js';
|
|
19
22
|
export { ScaleSlider, scaleColorForValue } from './chunk-NLHODVBI.js';
|
|
20
|
-
export { SearchInput } from './chunk-UUIMMMSJ.js';
|
|
21
23
|
export { ProfileSwitcher } from './chunk-6ANLDUGL.js';
|
|
22
24
|
export { CUSTOM_PRESET_KEY, ProviderForm } from './chunk-UMI4M4MF.js';
|
|
23
25
|
export { DEFAULT_SETUP_ERROR_COPY, ProviderSetupForm, SETUP_ERROR_CODES } from './chunk-6G7H6YP6.js';
|
|
@@ -29,7 +31,7 @@ export { SetupReview } from './chunk-FY3NCPFO.js';
|
|
|
29
31
|
export { SwitchRow } from './chunk-FQXVZVA5.js';
|
|
30
32
|
export { MarqueeBand, MarqueeSurface, hitTestIds, marqueeRect, rectsIntersect, useMarquee } from './chunk-RU3DEF2O.js';
|
|
31
33
|
export { MarkdownDiffView, splitMarkdownBlocks } from './chunk-TLFEVL42.js';
|
|
32
|
-
export { ModelPicker } from './chunk-
|
|
34
|
+
export { ModelPicker } from './chunk-X6L5T65Q.js';
|
|
33
35
|
export { PanelModal } from './chunk-6O4LOWZG.js';
|
|
34
36
|
export { LoginForm } from './chunk-3V5EBB4N.js';
|
|
35
37
|
export { RegisterForm } from './chunk-A3XTCQ7C.js';
|
package/dist/model-picker.d.ts
CHANGED
|
@@ -13,10 +13,9 @@ interface ModelPickerProvider {
|
|
|
13
13
|
name: string;
|
|
14
14
|
models: ModelPickerModel[];
|
|
15
15
|
}
|
|
16
|
-
interface
|
|
16
|
+
interface ModelPickerBaseProps {
|
|
17
17
|
providers: ModelPickerProvider[];
|
|
18
18
|
value?: string;
|
|
19
|
-
onChange: (modelId: string) => void;
|
|
20
19
|
placeholder?: string;
|
|
21
20
|
searchPlaceholder?: string;
|
|
22
21
|
searchLabel?: string;
|
|
@@ -33,6 +32,21 @@ interface ModelPickerProps {
|
|
|
33
32
|
className?: string;
|
|
34
33
|
panelClassName?: string;
|
|
35
34
|
}
|
|
35
|
+
/**
|
|
36
|
+
* Discriminated on `nullOption` (plan 29 / ADR-0036): with the labeled
|
|
37
|
+
* null option set, the option list leads with it and `onChange` receives
|
|
38
|
+
* `null` when it is chosen (the inherit state). Without it the contract
|
|
39
|
+
* is unchanged — `onChange` only ever receives model ids.
|
|
40
|
+
*/
|
|
41
|
+
type ModelPickerProps = ModelPickerBaseProps & ({
|
|
42
|
+
nullOption?: undefined;
|
|
43
|
+
onChange: (modelId: string) => void;
|
|
44
|
+
} | {
|
|
45
|
+
nullOption: {
|
|
46
|
+
label: string;
|
|
47
|
+
};
|
|
48
|
+
onChange: (modelId: string | null) => void;
|
|
49
|
+
});
|
|
36
50
|
/**
|
|
37
51
|
* Grouped, searchable provider → model picker. Presentational: the model
|
|
38
52
|
* list comes in via props, selection goes out via `onChange`.
|
package/dist/model-picker.js
CHANGED
package/dist/model-registry.js
CHANGED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface SetupAssignmentRow {
|
|
4
|
+
/** Stable row id (also the React key). */
|
|
5
|
+
id: string;
|
|
6
|
+
/** The task the row assigns (e.g. "Chat default"). */
|
|
7
|
+
label: string;
|
|
8
|
+
/** Muted sub-line under the label — the row's live context, e.g.
|
|
9
|
+
* "now: unset · fills: gpt-5.6-terra". */
|
|
10
|
+
hint?: React.ReactNode;
|
|
11
|
+
checked: boolean;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
onCheckedChange: (checked: boolean) => void;
|
|
14
|
+
}
|
|
15
|
+
interface SetupAssignmentsProps extends Omit<React.ComponentProps<'section'>, 'children'> {
|
|
16
|
+
title: string;
|
|
17
|
+
/** One-line explanation under the title (what the switches do). */
|
|
18
|
+
hint?: string;
|
|
19
|
+
rows: SetupAssignmentRow[];
|
|
20
|
+
}
|
|
21
|
+
/** The "Default assignments" section of the guided setup review: a titled,
|
|
22
|
+
* hinted list of per-task switches in one bordered container. Each switch
|
|
23
|
+
* fills that task's empty default — gap-fill semantics live app-side, the
|
|
24
|
+
* rows only carry the choice. */
|
|
25
|
+
declare const SetupAssignments: React.ForwardRefExoticComponent<Omit<SetupAssignmentsProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
26
|
+
|
|
27
|
+
export { type SetupAssignmentRow, SetupAssignments, type SetupAssignmentsProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"setup-assignments.js"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface SetupStep {
|
|
4
|
+
/** Stable step id (also the React key). */
|
|
5
|
+
id: string;
|
|
6
|
+
label: string;
|
|
7
|
+
}
|
|
8
|
+
interface SetupStepsProps extends Omit<React.ComponentProps<'ol'>, 'children'> {
|
|
9
|
+
steps: SetupStep[];
|
|
10
|
+
/** Zero-based index of the active step. An index past the last step
|
|
11
|
+
* marks every step done (the wizard's completion state); a negative
|
|
12
|
+
* index marks every step upcoming. */
|
|
13
|
+
current: number;
|
|
14
|
+
/** Accessible name for the progress list. */
|
|
15
|
+
label?: string;
|
|
16
|
+
}
|
|
17
|
+
/** Two-plus-step wizard progress ("Connect" → "Choose defaults"): numbered
|
|
18
|
+
* badges, a done check, the current step highlighted, hairline connectors.
|
|
19
|
+
* The tiles and the key form are one mental unit (step 1); the review is
|
|
20
|
+
* step 2 — the header makes that split visible before the user commits. */
|
|
21
|
+
declare const SetupSteps: React.ForwardRefExoticComponent<Omit<SetupStepsProps, "ref"> & React.RefAttributes<HTMLOListElement>>;
|
|
22
|
+
|
|
23
|
+
export { type SetupStep, SetupSteps, type SetupStepsProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"setup-steps.js"}
|