@tai42/studio-sdk 30.0.1 → 31.0.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 +98 -10
- package/dist/components/agent-picker.d.ts +1 -1
- package/dist/components/agent-picker.d.ts.map +1 -1
- package/dist/components/agent-picker.js +1 -0
- package/dist/components/agent-picker.js.map +1 -1
- package/dist/components/channel-picker.d.ts +1 -1
- package/dist/components/channel-picker.d.ts.map +1 -1
- package/dist/components/channel-picker.js +1 -0
- package/dist/components/channel-picker.js.map +1 -1
- package/dist/components/components.css +53 -0
- package/dist/components/explorer-body.d.ts +1 -0
- package/dist/components/explorer-body.d.ts.map +1 -1
- package/dist/components/explorer-body.js +6 -4
- package/dist/components/explorer-body.js.map +1 -1
- package/dist/components/explorer-view.d.ts +16 -7
- package/dist/components/explorer-view.d.ts.map +1 -1
- package/dist/components/explorer-view.js +27 -13
- package/dist/components/explorer-view.js.map +1 -1
- package/dist/components/extension-config-editor.js.map +1 -1
- package/dist/components/field.d.ts +6 -0
- package/dist/components/field.d.ts.map +1 -1
- package/dist/components/field.js +15 -2
- package/dist/components/field.js.map +1 -1
- package/dist/components/folder-actions.d.ts +51 -0
- package/dist/components/folder-actions.d.ts.map +1 -0
- package/dist/components/folder-actions.js +173 -0
- package/dist/components/folder-actions.js.map +1 -0
- package/dist/components/folder-filing.d.ts +32 -0
- package/dist/components/folder-filing.d.ts.map +1 -0
- package/dist/components/folder-filing.js +51 -0
- package/dist/components/folder-filing.js.map +1 -0
- package/dist/components/folder-nav.d.ts +9 -4
- package/dist/components/folder-nav.d.ts.map +1 -1
- package/dist/components/folder-nav.js +18 -22
- package/dist/components/folder-nav.js.map +1 -1
- package/dist/components/folder-occupancy.d.ts +27 -0
- package/dist/components/folder-occupancy.d.ts.map +1 -0
- package/dist/components/folder-occupancy.js +54 -0
- package/dist/components/folder-occupancy.js.map +1 -0
- package/dist/components/named-list-picker.d.ts +5 -3
- package/dist/components/named-list-picker.d.ts.map +1 -1
- package/dist/components/named-list-picker.js +7 -7
- package/dist/components/named-list-picker.js.map +1 -1
- package/dist/components/primitives.d.ts +2 -1
- package/dist/components/primitives.d.ts.map +1 -1
- package/dist/components/primitives.js +2 -1
- package/dist/components/primitives.js.map +1 -1
- package/dist/components/searchable-select-model.d.ts +40 -0
- package/dist/components/searchable-select-model.d.ts.map +1 -0
- package/dist/components/searchable-select-model.js +69 -0
- package/dist/components/searchable-select-model.js.map +1 -0
- package/dist/components/searchable-select.d.ts +38 -0
- package/dist/components/searchable-select.d.ts.map +1 -0
- package/dist/components/searchable-select.js +200 -0
- package/dist/components/searchable-select.js.map +1 -0
- package/dist/components/subject-section.d.ts.map +1 -1
- package/dist/components/subject-section.js +2 -2
- package/dist/components/subject-section.js.map +1 -1
- package/dist/components/table.d.ts +7 -1
- package/dist/components/table.d.ts.map +1 -1
- package/dist/components/table.js +2 -2
- package/dist/components/table.js.map +1 -1
- package/dist/components/tool-meta-access.d.ts +28 -0
- package/dist/components/tool-meta-access.d.ts.map +1 -0
- package/dist/components/tool-meta-access.js +65 -0
- package/dist/components/tool-meta-access.js.map +1 -0
- package/dist/components/tool-name-entry.d.ts +26 -0
- package/dist/components/tool-name-entry.d.ts.map +1 -0
- package/dist/components/tool-name-entry.js +43 -0
- package/dist/components/tool-name-entry.js.map +1 -0
- package/dist/components/tool-picker.d.ts +23 -18
- package/dist/components/tool-picker.d.ts.map +1 -1
- package/dist/components/tool-picker.js +51 -33
- package/dist/components/tool-picker.js.map +1 -1
- package/dist/components/tool-select.d.ts +6 -5
- package/dist/components/tool-select.d.ts.map +1 -1
- package/dist/components/tool-select.js +31 -14
- package/dist/components/tool-select.js.map +1 -1
- package/dist/hooks/useApi.d.ts +1 -0
- package/dist/hooks/useApi.d.ts.map +1 -1
- package/dist/hooks/useSystemKinds.d.ts +27 -12
- package/dist/hooks/useSystemKinds.d.ts.map +1 -1
- package/dist/hooks/useSystemKinds.js +56 -16
- package/dist/hooks/useSystemKinds.js.map +1 -1
- package/dist/index.d.ts +51 -49
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +34 -26
- package/dist/index.js.map +1 -1
- package/dist/marketplace-install/use-mount-install.d.ts +6 -6
- package/dist/plugin/version.d.ts +1 -1
- package/dist/plugin/version.js +1 -1
- package/dist/schema-editor/SchemaEditor.d.ts +7 -2
- package/dist/schema-editor/SchemaEditor.d.ts.map +1 -1
- package/dist/schema-editor/SchemaEditor.js +1 -1
- package/dist/schema-editor/SchemaEditor.js.map +1 -1
- package/dist/schema-editor/index.d.ts +2 -2
- package/dist/schema-editor/index.d.ts.map +1 -1
- package/dist/schema-form/array-field.d.ts.map +1 -1
- package/dist/schema-form/array-field.js +6 -2
- package/dist/schema-form/array-field.js.map +1 -1
- package/dist/schema-form/classify.d.ts +4 -1
- package/dist/schema-form/classify.d.ts.map +1 -1
- package/dist/schema-form/classify.js +36 -15
- package/dist/schema-form/classify.js.map +1 -1
- package/dist/schema-form/collapsed-object-field.d.ts +20 -0
- package/dist/schema-form/collapsed-object-field.d.ts.map +1 -0
- package/dist/schema-form/collapsed-object-field.js +14 -0
- package/dist/schema-form/collapsed-object-field.js.map +1 -0
- package/dist/schema-form/context.d.ts +27 -1
- package/dist/schema-form/context.d.ts.map +1 -1
- package/dist/schema-form/context.js +14 -0
- package/dist/schema-form/context.js.map +1 -1
- package/dist/schema-form/default-value.d.ts +21 -6
- package/dist/schema-form/default-value.d.ts.map +1 -1
- package/dist/schema-form/default-value.js +74 -15
- package/dist/schema-form/default-value.js.map +1 -1
- package/dist/schema-form/expression-field.d.ts +48 -0
- package/dist/schema-form/expression-field.d.ts.map +1 -0
- package/dist/schema-form/expression-field.js +88 -0
- package/dist/schema-form/expression-field.js.map +1 -0
- package/dist/schema-form/field-model.d.ts +23 -4
- package/dist/schema-form/field-model.d.ts.map +1 -1
- package/dist/schema-form/field-node.d.ts.map +1 -1
- package/dist/schema-form/field-node.js +16 -3
- package/dist/schema-form/field-node.js.map +1 -1
- package/dist/schema-form/index.d.ts +3 -3
- package/dist/schema-form/index.d.ts.map +1 -1
- package/dist/schema-form/index.js +2 -2
- package/dist/schema-form/index.js.map +1 -1
- package/dist/schema-form/object-fields.d.ts +6 -3
- package/dist/schema-form/object-fields.d.ts.map +1 -1
- package/dist/schema-form/object-fields.js +14 -3
- package/dist/schema-form/object-fields.js.map +1 -1
- package/dist/schema-form/record-field.d.ts.map +1 -1
- package/dist/schema-form/record-field.js +6 -2
- package/dist/schema-form/record-field.js.map +1 -1
- package/dist/schema-form/seeding-action.d.ts +15 -0
- package/dist/schema-form/seeding-action.d.ts.map +1 -0
- package/dist/schema-form/seeding-action.js +35 -0
- package/dist/schema-form/seeding-action.js.map +1 -0
- package/dist/schema-form/string-annotations.d.ts +22 -8
- package/dist/schema-form/string-annotations.d.ts.map +1 -1
- package/dist/schema-form/string-annotations.js +39 -14
- package/dist/schema-form/string-annotations.js.map +1 -1
- package/dist/schema-form/string-field.js +2 -84
- package/dist/schema-form/string-field.js.map +1 -1
- package/dist/schema-form/templated-field.d.ts +13 -0
- package/dist/schema-form/templated-field.d.ts.map +1 -0
- package/dist/schema-form/templated-field.js +43 -0
- package/dist/schema-form/templated-field.js.map +1 -0
- package/dist/schema-form/union-field.d.ts.map +1 -1
- package/dist/schema-form/union-field.js +6 -2
- package/dist/schema-form/union-field.js.map +1 -1
- package/dist/schema-form/union.d.ts +4 -4
- package/dist/schema-form/union.d.ts.map +1 -1
- package/dist/schema-form/union.js +8 -1
- package/dist/schema-form/union.js.map +1 -1
- package/dist/schema-form/validate.d.ts.map +1 -1
- package/dist/schema-form/validate.js +28 -0
- package/dist/schema-form/validate.js.map +1 -1
- package/dist/search-match.d.ts +29 -0
- package/dist/search-match.d.ts.map +1 -0
- package/dist/search-match.js +38 -0
- package/dist/search-match.js.map +1 -0
- package/dist/tool-organization.d.ts +15 -0
- package/dist/tool-organization.d.ts.map +1 -0
- package/dist/tool-organization.js +6 -0
- package/dist/tool-organization.js.map +1 -0
- package/package.json +3 -2
- package/src/components/agent-picker.tsx +2 -1
- package/src/components/channel-picker.tsx +2 -1
- package/src/components/components.css +53 -0
- package/src/components/explorer-body.tsx +29 -5
- package/src/components/explorer-view.tsx +48 -17
- package/src/components/extension-config-editor.tsx +3 -3
- package/src/components/field.tsx +18 -2
- package/src/components/folder-actions.tsx +341 -0
- package/src/components/folder-filing.tsx +109 -0
- package/src/components/folder-nav.tsx +26 -10
- package/src/components/folder-occupancy.ts +83 -0
- package/src/components/named-list-picker.tsx +11 -7
- package/src/components/primitives.tsx +2 -1
- package/src/components/searchable-select-model.ts +105 -0
- package/src/components/searchable-select.tsx +432 -0
- package/src/components/subject-section.tsx +3 -2
- package/src/components/table.tsx +12 -2
- package/src/components/tool-meta-access.tsx +101 -0
- package/src/components/tool-name-entry.tsx +77 -0
- package/src/components/tool-picker.tsx +83 -50
- package/src/components/tool-select.tsx +49 -38
- package/src/hooks/useSystemKinds.tsx +77 -17
- package/src/index.ts +98 -94
- package/src/plugin/version.ts +1 -1
- package/src/schema-editor/SchemaEditor.tsx +9 -3
- package/src/schema-editor/index.ts +2 -2
- package/src/schema-form/array-field.tsx +10 -2
- package/src/schema-form/classify.ts +41 -15
- package/src/schema-form/collapsed-object-field.tsx +56 -0
- package/src/schema-form/context.ts +33 -1
- package/src/schema-form/default-value.ts +89 -15
- package/src/schema-form/expression-field.tsx +162 -0
- package/src/schema-form/field-model.ts +27 -4
- package/src/schema-form/field-node.tsx +41 -2
- package/src/schema-form/index.ts +3 -2
- package/src/schema-form/object-fields.tsx +11 -4
- package/src/schema-form/record-field.tsx +10 -2
- package/src/schema-form/seeding-action.ts +44 -0
- package/src/schema-form/string-annotations.ts +40 -14
- package/src/schema-form/string-field.tsx +2 -147
- package/src/schema-form/templated-field.tsx +124 -0
- package/src/schema-form/union-field.tsx +11 -2
- package/src/schema-form/union.ts +12 -5
- package/src/schema-form/validate.ts +28 -0
- package/src/search-match.ts +41 -0
- package/src/tool-organization.ts +34 -0
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* `ToolPicker`'s tool `
|
|
3
|
-
* grouping helpers it renders from.
|
|
2
|
+
* `ToolPicker`'s tool select: a `SearchableSelect`, grouped by tag or flat, with the
|
|
3
|
+
* option-label and grouping helpers it renders from. Its search matches the option
|
|
4
|
+
* label, which carries both the display name and the raw name (`toolDisplayLabel`).
|
|
4
5
|
*/
|
|
5
|
-
import type
|
|
6
|
-
import {
|
|
6
|
+
import { type ReactNode } from 'react';
|
|
7
|
+
import type { SelectOption } from './select';
|
|
7
8
|
interface ToolSelectProps {
|
|
8
9
|
readonly tagsByTool: Readonly<Record<string, readonly string[]>> | undefined;
|
|
9
10
|
readonly filtered: readonly string[];
|
|
@@ -19,7 +20,7 @@ interface ToolSelectProps {
|
|
|
19
20
|
readonly ariaDescribedBy: string | undefined;
|
|
20
21
|
}
|
|
21
22
|
/** The tool select: grouped by tag when `tagsByTool` is present, else a flat list.
|
|
22
|
-
* Either branch is a `
|
|
23
|
+
* Either branch is a `SearchableSelect`, which claims the enclosing `Field`'s control id. */
|
|
23
24
|
export declare function ToolSelect({ tagsByTool, filtered, value, onChange, placeholder, ariaLabel, disabled, displayNames, agentToolNames, leading, ariaDescribedBy, }: ToolSelectProps): ReactNode;
|
|
24
25
|
export {};
|
|
25
26
|
//# sourceMappingURL=tool-select.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-select.d.ts","sourceRoot":"","sources":["../../src/components/tool-select.tsx"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"tool-select.d.ts","sourceRoot":"","sources":["../../src/components/tool-select.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,KAAK,SAAS,EAAW,MAAM,OAAO,CAAC;AAIhD,OAAO,KAAK,EAAe,YAAY,EAAE,MAAM,UAAU,CAAC;AAsD1D,UAAU,eAAe;IACvB,QAAQ,CAAC,UAAU,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CAAC,GAAG,SAAS,CAAC;IAC7E,QAAQ,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;IACrC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,QAAQ,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,QAAQ,CAAC,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAC;IACvC,QAAQ,CAAC,YAAY,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,SAAS,CAAC;IACpE,QAAQ,CAAC,cAAc,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACzD,wFAAwF;IACxF,QAAQ,CAAC,OAAO,EAAE,YAAY,GAAG,SAAS,CAAC;IAC3C,QAAQ,CAAC,eAAe,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9C;AAyBD;8FAC8F;AAC9F,wBAAgB,UAAU,CAAC,EACzB,UAAU,EACV,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,WAAW,EACX,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,cAAc,EACd,OAAO,EACP,eAAe,GAChB,EAAE,eAAe,GAAG,SAAS,CAoB7B"}
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* `ToolPicker`'s tool select: a `SearchableSelect`, grouped by tag or flat, with the
|
|
4
|
+
* option-label and grouping helpers it renders from. Its search matches the option
|
|
5
|
+
* label, which carries both the display name and the raw name (`toolDisplayLabel`).
|
|
6
|
+
*/
|
|
7
|
+
import { useMemo } from 'react';
|
|
2
8
|
import { toolDisplayLabel } from '../hooks/useToolDisplayNames';
|
|
3
|
-
import {
|
|
9
|
+
import { SearchableSelect } from './searchable-select';
|
|
4
10
|
const NO_DISPLAY_NAMES = {};
|
|
5
11
|
const UNTAGGED = 'Untagged';
|
|
12
|
+
const SEARCH_LABEL = 'Search tools';
|
|
6
13
|
/** The group a tool sorts into: its alphabetically-first tag, else "Untagged". */
|
|
7
14
|
function groupFor(name, tagsByTool) {
|
|
8
15
|
const tags = [...(tagsByTool[name] ?? [])].sort((a, b) => a.localeCompare(b));
|
|
@@ -41,25 +48,35 @@ function buildGroups(names, tagsByTool, displayNames, agentToolNames) {
|
|
|
41
48
|
})),
|
|
42
49
|
}));
|
|
43
50
|
}
|
|
44
|
-
/** The
|
|
45
|
-
*
|
|
46
|
-
|
|
51
|
+
/** The select's options: tag groups when `tagsByTool` is present, else one flat run,
|
|
52
|
+
* with `leading` ahead of either. */
|
|
53
|
+
function toolListing(filtered, tagsByTool, displayNames, agentToolNames, leading) {
|
|
47
54
|
if (tagsByTool !== undefined) {
|
|
48
55
|
const groups = buildGroups(filtered, tagsByTool, displayNames, agentToolNames);
|
|
49
|
-
return
|
|
56
|
+
return {
|
|
57
|
+
groups: leading === undefined ? groups : [{ label: leading.label, options: [leading] }, ...groups],
|
|
58
|
+
};
|
|
50
59
|
}
|
|
51
60
|
const options = filtered.map((name) => ({
|
|
52
61
|
value: name,
|
|
53
62
|
label: optionLabel(name, displayNames, agentToolNames),
|
|
54
63
|
}));
|
|
55
|
-
return
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
+
return { options: leading === undefined ? options : [leading, ...options] };
|
|
65
|
+
}
|
|
66
|
+
/** The tool select: grouped by tag when `tagsByTool` is present, else a flat list.
|
|
67
|
+
* Either branch is a `SearchableSelect`, which claims the enclosing `Field`'s control id. */
|
|
68
|
+
export function ToolSelect({ tagsByTool, filtered, value, onChange, placeholder, ariaLabel, disabled, displayNames, agentToolNames, leading, ariaDescribedBy, }) {
|
|
69
|
+
// Memoised so a host re-render keeps the indexed options of an open list.
|
|
70
|
+
const listing = useMemo(() => toolListing(filtered, tagsByTool, displayNames, agentToolNames, leading), [filtered, tagsByTool, displayNames, agentToolNames, leading]);
|
|
71
|
+
const shared = {
|
|
72
|
+
value: value ?? '',
|
|
73
|
+
onValueChange: onChange,
|
|
74
|
+
placeholder,
|
|
75
|
+
'aria-label': ariaLabel,
|
|
76
|
+
'aria-describedby': ariaDescribedBy,
|
|
77
|
+
disabled,
|
|
78
|
+
searchLabel: SEARCH_LABEL,
|
|
79
|
+
};
|
|
80
|
+
return 'groups' in listing ? (_jsx(SearchableSelect, { ...shared, groups: listing.groups })) : (_jsx(SearchableSelect, { ...shared, options: listing.options }));
|
|
64
81
|
}
|
|
65
82
|
//# sourceMappingURL=tool-select.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-select.js","sourceRoot":"","sources":["../../src/components/tool-select.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"tool-select.js","sourceRoot":"","sources":["../../src/components/tool-select.tsx"],"names":[],"mappings":";AAAA;;;;GAIG;AACH,OAAO,EAAkB,OAAO,EAAE,MAAM,OAAO,CAAC;AAEhD,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAGvD,MAAM,gBAAgB,GAAqC,EAAE,CAAC;AAC9D,MAAM,QAAQ,GAAG,UAAU,CAAC;AAC5B,MAAM,YAAY,GAAG,cAAc,CAAC;AAEpC,kFAAkF;AAClF,SAAS,QAAQ,CAAC,IAAY,EAAE,UAAuD;IACrF,MAAM,IAAI,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC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AO,EACP,eAAe,GACC;IAChB,0EAA0E;IAC1E,MAAM,OAAO,GAAG,OAAO,CACrB,GAAG,EAAE,CAAC,WAAW,CAAC,QAAQ,EAAE,UAAU,EAAE,YAAY,EAAE,cAAc,EAAE,OAAO,CAAC,EAC9E,CAAC,QAAQ,EAAE,UAAU,EAAE,YAAY,EAAE,cAAc,EAAE,OAAO,CAAC,CAC9D,CAAC;IACF,MAAM,MAAM,GAAG;QACb,KAAK,EAAE,KAAK,IAAI,EAAE;QAClB,aAAa,EAAE,QAAQ;QACvB,WAAW;QACX,YAAY,EAAE,SAAS;QACvB,kBAAkB,EAAE,eAAe;QACnC,QAAQ;QACR,WAAW,EAAE,YAAY;KAC1B,CAAC;IACF,OAAO,QAAQ,IAAI,OAAO,CAAC,CAAC,CAAC,CAC3B,KAAC,gBAAgB,OAAK,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,MAAM,GAAI,CACzD,CAAC,CAAC,CAAC,CACF,KAAC,gBAAgB,OAAK,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,OAAO,GAAI,CAC3D,CAAC;AACJ,CAAC"}
|
package/dist/hooks/useApi.d.ts
CHANGED
|
@@ -655,6 +655,7 @@ export declare const ApiProvider: import("react").Provider<{
|
|
|
655
655
|
user_id: string;
|
|
656
656
|
}>;
|
|
657
657
|
readonly logout: () => Promise<{
|
|
658
|
+
end_session_url: string | null;
|
|
658
659
|
revoked: boolean;
|
|
659
660
|
}>;
|
|
660
661
|
readonly getAuthCapabilities: (signal?: AbortSignal) => Promise<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useApi.d.ts","sourceRoot":"","sources":["../../src/hooks/useApi.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAKnD,eAAO,MAAM,WAAW;wCAWwc,CAAC,0BAA0B,CAAC;+BAAsG,CAAC;oCAAuE,CAAC;;;;;;sCAA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C,CAAC;sBAA4C,CAAC;;;uBAA2I,CAAC;kBAAwC,CAAC;sBAA4C,CAAC;;;;;;;mCAAmQ,CAAC;8BAAoD,CAAC;kCAAwD,CAAC;;;;;+BAAuN,CAAC;0BAAgD,CAAC;8BAAoD,CAAC;;;;+BAA2K,CAAC;0BAAgD,CAAC;8BAAoD,CAAC;;;;;mCAA4M,CAAC;8BAAoD,CAAC;kCAAwD,CAAC;;;mCAA0I,CAAC;8BAAoD,CAAC;kCAAwD,CAAC;;;mCAA6I,CAAC;8BAAoD,CAAC;kCAAwD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6GAA4hE,CAAC;;;;;;;;;;;;;;;;;;;+BAAyoB,CAAC;iDAAsF,CAAC;;;;;uCAAuM,CAAC;;;;;4EAAyP,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wFAAk+E,CAAC;;;+CAA2G,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAq5F,CAAC;;;;;;;kCAAmQ,CAAC;;;;;;;;;;;;;+HAA22B,CAAC;;;SAX7goL,CAAC;AAE/C,wBAAgB,MAAM,IAAI,SAAS,CAMlC;AAED,YAAY,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -7,8 +7,9 @@
|
|
|
7
7
|
* for it; the kind-status table then reports that kind's `state` as `off` (rather
|
|
8
8
|
* than `active` / `default`). A write affordance for an OFF feature reads this and
|
|
9
9
|
* hides itself BEFORE the user acts, instead of learning OFF only from a write's 501
|
|
10
|
-
* refusal
|
|
11
|
-
*
|
|
10
|
+
* refusal. A write's 501 refusal is the backstop for a stale table: the surface that
|
|
11
|
+
* saw it reports it through `useReportFeatureOff`, and the provider then reads that
|
|
12
|
+
* kind as OFF for every surface in the app, with the refusal's own message.
|
|
12
13
|
*
|
|
13
14
|
* A PLAIN fetch state machine (`loading` / `ready` / `failed`), NOT TanStack Query:
|
|
14
15
|
* the SDK is the shared leaf across the plugin boundary and holds no query context,
|
|
@@ -27,6 +28,12 @@ export type SystemKindsState = {
|
|
|
27
28
|
readonly status: 'failed';
|
|
28
29
|
readonly error: unknown;
|
|
29
30
|
};
|
|
31
|
+
interface SystemKindsContextValue {
|
|
32
|
+
readonly state: SystemKindsState;
|
|
33
|
+
/** Kinds a write refusal revealed OFF, each with the refusal's message. */
|
|
34
|
+
readonly refusedOff: ReadonlyMap<string, string>;
|
|
35
|
+
readonly reportOff: (kind: string, message: string) => void;
|
|
36
|
+
}
|
|
30
37
|
/**
|
|
31
38
|
* Fetch the kind-status table once the caller is authenticated and hold it as SDK
|
|
32
39
|
* state. Gated on `isAuthenticated` (the table is an authed read), so the login
|
|
@@ -36,7 +43,7 @@ export type SystemKindsState = {
|
|
|
36
43
|
*/
|
|
37
44
|
export declare function SystemKindsProvider({ children }: {
|
|
38
45
|
children: ReactNode;
|
|
39
|
-
}): import("react").FunctionComponentElement<import("react").ProviderProps<
|
|
46
|
+
}): import("react").FunctionComponentElement<import("react").ProviderProps<SystemKindsContextValue | null>>;
|
|
40
47
|
/**
|
|
41
48
|
* The live kind-status state. Falls back to `loading` when no provider is mounted, so
|
|
42
49
|
* a consumer rendered outside the shell reads every kind as not-off rather than
|
|
@@ -44,20 +51,28 @@ export declare function SystemKindsProvider({ children }: {
|
|
|
44
51
|
*/
|
|
45
52
|
export declare function useSystemKinds(): SystemKindsState;
|
|
46
53
|
/**
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
|
|
52
|
-
|
|
54
|
+
* Record that a write refusal revealed `kind` OFF, with the refusal's own `message`,
|
|
55
|
+
* so every surface's `useFeatureOff(kind)` reads OFF from then on. Calling the
|
|
56
|
+
* returned function with no `SystemKindsProvider` mounted throws: the refusal would
|
|
57
|
+
* otherwise reach no other surface.
|
|
58
|
+
*/
|
|
59
|
+
export declare function useReportFeatureOff(): (kind: string, message: string) => void;
|
|
60
|
+
/**
|
|
61
|
+
* Whether `kind` is OFF — the single predicate a write affordance folds in to hide
|
|
62
|
+
* itself before a doomed write. It is `true` once the table is `ready` AND that kind's
|
|
63
|
+
* row carries `state: 'off'`, or once a write refusal revealed the kind OFF
|
|
64
|
+
* ({@link useReportFeatureOff}). Otherwise — the table loading/failed, no provider
|
|
65
|
+
* mounted, the kind unknown — it is `false` (not-off until known: under-hiding is
|
|
66
|
+
* safe, a write's 501 refusal still reveals a genuinely-off feature).
|
|
53
67
|
*/
|
|
54
68
|
export declare function useFeatureOff(kind: string): boolean;
|
|
55
69
|
/**
|
|
56
70
|
* The OFF row's server `detail` for `kind` — the proactive counterpart to a write
|
|
57
71
|
* refusal's message, so a proactively-hidden surface shows the SERVER's own
|
|
58
|
-
* remediation line rather than a client-composed env-var string
|
|
59
|
-
*
|
|
60
|
-
*
|
|
72
|
+
* remediation line rather than a client-composed env-var string; for a kind only a
|
|
73
|
+
* write refusal revealed OFF, that refusal's message. `null` whenever the kind is not
|
|
74
|
+
* OFF, mirroring `useFeatureOff`'s not-off-until-known default.
|
|
61
75
|
*/
|
|
62
76
|
export declare function useFeatureOffMessage(kind: string): string | null;
|
|
77
|
+
export {};
|
|
63
78
|
//# sourceMappingURL=useSystemKinds.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSystemKinds.d.ts","sourceRoot":"","sources":["../../src/hooks/useSystemKinds.tsx"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"useSystemKinds.d.ts","sourceRoot":"","sources":["../../src/hooks/useSystemKinds.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAGL,KAAK,SAAS,EAMf,MAAM,OAAO,CAAC;AAKf,MAAM,MAAM,gBAAgB,GACxB;IAAE,QAAQ,CAAC,MAAM,EAAE,SAAS,CAAA;CAAE,GAC9B;IAAE,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,SAAS,UAAU,EAAE,CAAA;CAAE,GACnE;IAAE,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAA;CAAE,CAAC;AAE3D,UAAU,uBAAuB;IAC/B,QAAQ,CAAC,KAAK,EAAE,gBAAgB,CAAC;IACjC,2EAA2E;IAC3E,QAAQ,CAAC,UAAU,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjD,QAAQ,CAAC,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CAC7D;AAID;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,2GA6CxE;AAID;;;;GAIG;AACH,wBAAgB,cAAc,IAAI,gBAAgB,CAEjD;AAOD;;;;;GAKG;AACH,wBAAgB,mBAAmB,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAa7E;AAED;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAMnD;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAQhE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createContext, createElement, useContext, useEffect, useState, } from 'react';
|
|
1
|
+
import { createContext, createElement, useCallback, useContext, useEffect, useMemo, useState, } from 'react';
|
|
2
2
|
import { useApi } from './useApi';
|
|
3
3
|
import { useAuth } from './useAuth';
|
|
4
4
|
const SystemKindsContext = createContext(null);
|
|
@@ -13,7 +13,11 @@ export function SystemKindsProvider({ children }) {
|
|
|
13
13
|
const { isAuthenticated } = useAuth();
|
|
14
14
|
const api = useApi();
|
|
15
15
|
const [state, setState] = useState({ status: 'loading' });
|
|
16
|
+
const [refusedOff, setRefusedOff] = useState(() => new Map());
|
|
16
17
|
useEffect(() => {
|
|
18
|
+
// A sign-in, a sign-out or a new API client starts from the table alone: what
|
|
19
|
+
// refusals revealed for an earlier session or another client is not carried over.
|
|
20
|
+
setRefusedOff(new Map());
|
|
17
21
|
if (!isAuthenticated) {
|
|
18
22
|
// No credential → nothing to read. Reset to the neutral `loading` state so the
|
|
19
23
|
// next sign-in re-fetches cleanly; every kind reads not-off meanwhile.
|
|
@@ -33,26 +37,59 @@ export function SystemKindsProvider({ children }) {
|
|
|
33
37
|
controller.abort();
|
|
34
38
|
};
|
|
35
39
|
}, [api, isAuthenticated]);
|
|
36
|
-
|
|
40
|
+
const reportOff = useCallback((kind, message) => {
|
|
41
|
+
setRefusedOff((current) => {
|
|
42
|
+
if (current.get(kind) === message)
|
|
43
|
+
return current;
|
|
44
|
+
const next = new Map(current);
|
|
45
|
+
next.set(kind, message);
|
|
46
|
+
return next;
|
|
47
|
+
});
|
|
48
|
+
}, []);
|
|
49
|
+
const value = useMemo(() => ({ state, refusedOff, reportOff }), [state, refusedOff, reportOff]);
|
|
50
|
+
return createElement(SystemKindsContext.Provider, { value }, children);
|
|
37
51
|
}
|
|
52
|
+
const NO_REFUSALS = new Map();
|
|
38
53
|
/**
|
|
39
54
|
* The live kind-status state. Falls back to `loading` when no provider is mounted, so
|
|
40
55
|
* a consumer rendered outside the shell reads every kind as not-off rather than
|
|
41
56
|
* throwing — the fail-open default this proactive-hiding idiom relies on.
|
|
42
57
|
*/
|
|
43
58
|
export function useSystemKinds() {
|
|
44
|
-
return useContext(SystemKindsContext) ?? { status: 'loading' };
|
|
59
|
+
return useContext(SystemKindsContext)?.state ?? { status: 'loading' };
|
|
60
|
+
}
|
|
61
|
+
/** The kinds a write refusal revealed OFF in this session (none without a provider). */
|
|
62
|
+
function useRefusedOff() {
|
|
63
|
+
return useContext(SystemKindsContext)?.refusedOff ?? NO_REFUSALS;
|
|
45
64
|
}
|
|
46
65
|
/**
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
|
|
52
|
-
|
|
66
|
+
* Record that a write refusal revealed `kind` OFF, with the refusal's own `message`,
|
|
67
|
+
* so every surface's `useFeatureOff(kind)` reads OFF from then on. Calling the
|
|
68
|
+
* returned function with no `SystemKindsProvider` mounted throws: the refusal would
|
|
69
|
+
* otherwise reach no other surface.
|
|
70
|
+
*/
|
|
71
|
+
export function useReportFeatureOff() {
|
|
72
|
+
const context = useContext(SystemKindsContext);
|
|
73
|
+
return useCallback((kind, message) => {
|
|
74
|
+
if (context === null) {
|
|
75
|
+
throw new Error(`A ${kind} refusal was reported with no <SystemKindsProvider> mounted to hold it.`);
|
|
76
|
+
}
|
|
77
|
+
context.reportOff(kind, message);
|
|
78
|
+
}, [context]);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Whether `kind` is OFF — the single predicate a write affordance folds in to hide
|
|
82
|
+
* itself before a doomed write. It is `true` once the table is `ready` AND that kind's
|
|
83
|
+
* row carries `state: 'off'`, or once a write refusal revealed the kind OFF
|
|
84
|
+
* ({@link useReportFeatureOff}). Otherwise — the table loading/failed, no provider
|
|
85
|
+
* mounted, the kind unknown — it is `false` (not-off until known: under-hiding is
|
|
86
|
+
* safe, a write's 501 refusal still reveals a genuinely-off feature).
|
|
53
87
|
*/
|
|
54
88
|
export function useFeatureOff(kind) {
|
|
55
89
|
const state = useSystemKinds();
|
|
90
|
+
const refused = useRefusedOff().has(kind);
|
|
91
|
+
if (refused)
|
|
92
|
+
return true;
|
|
56
93
|
if (state.status !== 'ready')
|
|
57
94
|
return false;
|
|
58
95
|
return state.kinds.some((row) => row.kind === kind && row.state === 'off');
|
|
@@ -60,15 +97,18 @@ export function useFeatureOff(kind) {
|
|
|
60
97
|
/**
|
|
61
98
|
* The OFF row's server `detail` for `kind` — the proactive counterpart to a write
|
|
62
99
|
* refusal's message, so a proactively-hidden surface shows the SERVER's own
|
|
63
|
-
* remediation line rather than a client-composed env-var string
|
|
64
|
-
*
|
|
65
|
-
*
|
|
100
|
+
* remediation line rather than a client-composed env-var string; for a kind only a
|
|
101
|
+
* write refusal revealed OFF, that refusal's message. `null` whenever the kind is not
|
|
102
|
+
* OFF, mirroring `useFeatureOff`'s not-off-until-known default.
|
|
66
103
|
*/
|
|
67
104
|
export function useFeatureOffMessage(kind) {
|
|
68
105
|
const state = useSystemKinds();
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
106
|
+
const refused = useRefusedOff().get(kind);
|
|
107
|
+
if (state.status === 'ready') {
|
|
108
|
+
const row = state.kinds.find((entry) => entry.kind === kind && entry.state === 'off');
|
|
109
|
+
if (row)
|
|
110
|
+
return row.detail;
|
|
111
|
+
}
|
|
112
|
+
return refused ?? null;
|
|
73
113
|
}
|
|
74
114
|
//# sourceMappingURL=useSystemKinds.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSystemKinds.js","sourceRoot":"","sources":["../../src/hooks/useSystemKinds.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useSystemKinds.js","sourceRoot":"","sources":["../../src/hooks/useSystemKinds.tsx"],"names":[],"mappings":"AAoBA,OAAO,EACL,aAAa,EACb,aAAa,EAEb,WAAW,EACX,UAAU,EACV,SAAS,EACT,OAAO,EACP,QAAQ,GACT,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAcpC,MAAM,kBAAkB,GAAG,aAAa,CAAiC,IAAI,CAAC,CAAC;AAE/E;;;;;;GAM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ryKey, insta
|
|
|
65
65
|
export { comboElementNames, extensionElementName } from './extension-combos';
|
|
66
66
|
export { effectiveHidden, hiddenToolNames } from './tool-visibility';
|
|
67
67
|
export { mergeToolBadges, toolBadgesByName } from './tool-badges';
|
|
68
|
+
export { isBlankSearch, matchesSearch } from './search-match';
|
|
68
69
|
export type { ActionMenuItem, ActionMenuProps } from './components/action-menu';
|
|
69
70
|
export { ActionMenu } from './components/action-menu';
|
|
71
|
+
export type { AgentListQuery, AgentPickerProps } from './components/agent-picker';
|
|
72
|
+
export { AgentPicker } from './components/agent-picker';
|
|
70
73
|
export type { BadgeProps } from './components/badge';
|
|
71
74
|
export { Badge } from './components/badge';
|
|
75
|
+
export type { ChannelListQuery, ChannelPickerProps } from './components/channel-picker';
|
|
76
|
+
export { channelIdentityHint, ChannelPicker } from './components/channel-picker';
|
|
72
77
|
export type { CheckboxProps } from './components/checkbox';
|
|
73
78
|
export { Checkbox } from './components/checkbox';
|
|
74
79
|
export type { ChipGroupProps, ChipOption } from './components/chip-group';
|
|
75
80
|
export { ChipGroup } from './components/chip-group';
|
|
81
|
+
export type { CodeBlockProps } from './components/code-block';
|
|
82
|
+
export { CodeBlock } from './components/code-block';
|
|
76
83
|
export type { ConfirmDialogProps } from './components/confirm-dialog';
|
|
77
84
|
export { ConfirmDialog } from './components/confirm-dialog';
|
|
85
|
+
export type { CopyFieldProps } from './components/copy-field';
|
|
86
|
+
export { CopyField } from './components/copy-field';
|
|
87
|
+
export type { DateRangePickerProps, DateRangePreset, DateRangeValue, } from './components/date-range-picker';
|
|
88
|
+
export { DateRangePicker, DEFAULT_DATE_RANGE_PRESETS, formatRangeLabel, normalizeCustomRange, } from './components/date-range-picker';
|
|
78
89
|
export type { DialogProps } from './components/dialog';
|
|
79
90
|
export { Dialog } from './components/dialog';
|
|
80
91
|
export { DirtyGuardBoundary, GuardedTabs, useRegisterDirty } from './components/dirty-guard';
|
|
@@ -84,18 +95,36 @@ export type { EntityCardGridProps } from './components/entity-card-grid';
|
|
|
84
95
|
export { EntityCardGrid } from './components/entity-card-grid';
|
|
85
96
|
export type { ErrorBoundaryProps } from './components/error-boundary';
|
|
86
97
|
export { ErrorBoundary } from './components/error-boundary';
|
|
98
|
+
export type { ExecutionKeyPickerProps, ExecutionKeyQuery } from './components/execution-key-picker';
|
|
99
|
+
export { canHoldExecutionKey, ExecutionKeyPicker, isExecutionKeyListEmpty, } from './components/execution-key-picker';
|
|
87
100
|
export type { ExplorerColumn, ExplorerEmptyState, ExplorerEmptyStates, ExplorerSearch, ExplorerTags, ExplorerViewProps, TagVocabularyEntry, } from './components/explorer-view';
|
|
88
101
|
export { buildTagVocabulary, ExplorerView, matchesSelectedTags, UNTAGGED_TOKEN, } from './components/explorer-view';
|
|
102
|
+
export type { ExtensionComboBuilderProps } from './components/extension-combo-builder';
|
|
103
|
+
export { ExtensionComboBuilder } from './components/extension-combo-builder';
|
|
104
|
+
export type { ExtensionKindGroup } from './components/extension-grouping';
|
|
105
|
+
export { groupByKind } from './components/extension-grouping';
|
|
106
|
+
export type { ExtensionPickerProps } from './components/extension-picker';
|
|
107
|
+
export { ExtensionPicker } from './components/extension-picker';
|
|
108
|
+
export type { ExternalLinkButtonProps } from './components/external-link';
|
|
109
|
+
export { ExternalLinkButton, isSafeHttpUrl } from './components/external-link';
|
|
89
110
|
export type { FieldControlProps, FieldProps } from './components/field';
|
|
90
111
|
export { Field, useFieldControl } from './components/field';
|
|
112
|
+
export type { FleetReportProps } from './components/fleet-report';
|
|
113
|
+
export { FleetReport } from './components/fleet-report';
|
|
91
114
|
export type { FormDialogProps } from './components/form-dialog';
|
|
92
115
|
export { FormDialog } from './components/form-dialog';
|
|
116
|
+
export type { HolderHref, HolderListProps, HolderPreviewProps, HolderPreviewState, } from './components/holder-list';
|
|
117
|
+
export { HolderList, HolderPreview, previewHolders, useHolderHref } from './components/holder-list';
|
|
93
118
|
export type { NumberInputProps, TextareaProps, TextInputProps } from './components/inputs';
|
|
94
119
|
export { NumberInput, Textarea, TextInput } from './components/inputs';
|
|
95
120
|
export type { JsonDiffProps, JsonDiffRow } from './components/json-diff';
|
|
96
121
|
export { diffJson, JsonDiff } from './components/json-diff';
|
|
97
122
|
export type { JsonTreeProps } from './components/json-tree';
|
|
98
123
|
export { JsonTree } from './components/json-tree';
|
|
124
|
+
export type { HeadingLevel, MarkdownBlock, MarkdownProps } from './components/markdown';
|
|
125
|
+
export { Markdown, parseMarkdown } from './components/markdown';
|
|
126
|
+
export type { OpenTargetOptions, OpenTargetProps } from './components/open-target';
|
|
127
|
+
export { openTargetProps } from './components/open-target';
|
|
99
128
|
export type { OverlayDetails, OverlayDetailsFieldsProps, } from './components/overlay-details-fields';
|
|
100
129
|
export { OverlayDetailsFields, overlayDetailsPatch } from './components/overlay-details-fields';
|
|
101
130
|
export { PageFillProvider, useFillViewport, usePageFillActive } from './components/page-fill';
|
|
@@ -103,12 +132,25 @@ export type { PageHeaderProps, PageLayoutProps, StackProps } from './components/
|
|
|
103
132
|
export { Page, PageHeader, Stack } from './components/page-header';
|
|
104
133
|
export type { ButtonProps, ButtonVariant, CardProps, EmptyStateProps, ErrorStateProps, LinkButtonProps, SkeletonProps, SpinnerProps, } from './components/primitives';
|
|
105
134
|
export { Button, Card, EmptyState, ErrorState, Skeleton, Spinner } from './components/primitives';
|
|
135
|
+
export { safeHttpUrl } from './components/primitives';
|
|
106
136
|
export type { RadioGroupProps, RadioOption } from './components/radio-group';
|
|
107
137
|
export { RadioGroup } from './components/radio-group';
|
|
138
|
+
export type { RecycleRollSectionProps } from './components/recycle-roll';
|
|
139
|
+
export { RecycleRollSection } from './components/recycle-roll';
|
|
140
|
+
export type { RevealInputProps } from './components/reveal-input';
|
|
141
|
+
export { RevealInput } from './components/reveal-input';
|
|
108
142
|
export type { OverflowAxis, OverflowRegionAttributes, ProseScrollLabels, ScrollRegionProps, } from './components/scroll-region';
|
|
109
143
|
export { ScrollRegion, useOverflowRegion, useProseScrollRegions } from './components/scroll-region';
|
|
144
|
+
export type { SearchableSelectGroupsProps, SearchableSelectProps, } from './components/searchable-select';
|
|
145
|
+
export { SearchableSelect } from './components/searchable-select';
|
|
110
146
|
export type { SelectGroup, SelectGroupsProps, SelectOption, SelectProps, } from './components/select';
|
|
111
147
|
export { Select } from './components/select';
|
|
148
|
+
export type { MediaDocumentProps, MediaImageProps, MediaPlayerProps, ServedMediaGrammar, } from './components/served-media';
|
|
149
|
+
export { isRenderableMediaSrc, isServedMediaUrl, MediaDocument, MediaImage, MediaPlayer, resolveMediaSrc, } from './components/served-media';
|
|
150
|
+
export type { StepperProps, StepperStatus, StepperStep } from './components/stepper';
|
|
151
|
+
export { Stepper } from './components/stepper';
|
|
152
|
+
export type { SubjectSectionProps, SubjectTargetOption } from './components/subject-section';
|
|
153
|
+
export { buildSubject, SUBJECT_INCOMPLETE_MESSAGE, SubjectSection, toSubjectTargetOptions, useSubjectFields, } from './components/subject-section';
|
|
112
154
|
export type { NumericColumnProps, TableProps, TableRowProps, TableSectionProps, TDProps, THProps, } from './components/table';
|
|
113
155
|
export { Table, TBody, TD, TH, THead, TR } from './components/table';
|
|
114
156
|
export type { TabItem, TabsProps } from './components/tabs';
|
|
@@ -117,63 +159,23 @@ export type { TagChipsProps, TagsInputProps } from './components/tags';
|
|
|
117
159
|
export { TagChips, TagsInput } from './components/tags';
|
|
118
160
|
export type { TemplatedTextFieldProps, TemplatedTextInlineProps, TemplatedTextTemplateOption, } from './components/templated-text-field';
|
|
119
161
|
export { TemplatedTextField, templatedTextSummary } from './components/templated-text-field';
|
|
120
|
-
export type { TooltipProps } from './components/tooltip';
|
|
121
|
-
export { Tooltip } from './components/tooltip';
|
|
122
|
-
export type { ViewMode, ViewToggleProps } from './components/view-toggle';
|
|
123
|
-
export { useViewMode, ViewToggle } from './components/view-toggle';
|
|
124
|
-
export type { CodeBlockProps } from './components/code-block';
|
|
125
|
-
export { CodeBlock } from './components/code-block';
|
|
126
|
-
export type { DateRangePickerProps, DateRangePreset, DateRangeValue, } from './components/date-range-picker';
|
|
127
|
-
export { DateRangePicker, DEFAULT_DATE_RANGE_PRESETS, formatRangeLabel, normalizeCustomRange, } from './components/date-range-picker';
|
|
128
|
-
export { ExternalLinkButton, isSafeHttpUrl } from './components/external-link';
|
|
129
|
-
export type { FleetReportProps } from './components/fleet-report';
|
|
130
|
-
export { FleetReport } from './components/fleet-report';
|
|
131
|
-
export type { Folder, FolderBreadcrumbProps, FolderPickerProps, FolderRowProps, } from './components/folder-nav';
|
|
132
|
-
export { childFolders, FolderBreadcrumb, folderPathTo, FolderPicker, FolderRow, } from './components/folder-nav';
|
|
133
|
-
export type { HolderHref, HolderListProps, HolderPreviewProps, HolderPreviewState, } from './components/holder-list';
|
|
134
|
-
export { HolderList, HolderPreview, previewHolders, useHolderHref } from './components/holder-list';
|
|
135
|
-
export type { HeadingLevel, MarkdownBlock, MarkdownProps } from './components/markdown';
|
|
136
|
-
export { Markdown, parseMarkdown } from './components/markdown';
|
|
137
|
-
export type { OpenTargetOptions, OpenTargetProps } from './components/open-target';
|
|
138
|
-
export { openTargetProps } from './components/open-target';
|
|
139
|
-
export type { RecycleRollSectionProps } from './components/recycle-roll';
|
|
140
|
-
export { RecycleRollSection } from './components/recycle-roll';
|
|
141
|
-
export type { MediaDocumentProps, MediaImageProps, MediaPlayerProps, ServedMediaGrammar, } from './components/served-media';
|
|
142
|
-
export { isRenderableMediaSrc, isServedMediaUrl, MediaDocument, MediaImage, MediaPlayer, resolveMediaSrc, } from './components/served-media';
|
|
143
|
-
export type { StepperProps, StepperStatus, StepperStep } from './components/stepper';
|
|
144
|
-
export { Stepper } from './components/stepper';
|
|
145
|
-
export * from './marketplace-install';
|
|
146
|
-
export type { AgentListQuery, AgentPickerProps } from './components/agent-picker';
|
|
147
|
-
export { AgentPicker } from './components/agent-picker';
|
|
148
|
-
export type { ChannelListQuery, ChannelPickerProps } from './components/channel-picker';
|
|
149
|
-
export { channelIdentityHint, ChannelPicker } from './components/channel-picker';
|
|
150
|
-
export type { CopyFieldProps } from './components/copy-field';
|
|
151
|
-
export { CopyField } from './components/copy-field';
|
|
152
|
-
export type { ExecutionKeyPickerProps, ExecutionKeyQuery } from './components/execution-key-picker';
|
|
153
|
-
export { canHoldExecutionKey, ExecutionKeyPicker, isExecutionKeyListEmpty, } from './components/execution-key-picker';
|
|
154
|
-
export type { ExtensionComboBuilderProps } from './components/extension-combo-builder';
|
|
155
|
-
export { ExtensionComboBuilder } from './components/extension-combo-builder';
|
|
156
|
-
export type { ExtensionKindGroup } from './components/extension-grouping';
|
|
157
|
-
export { groupByKind } from './components/extension-grouping';
|
|
158
|
-
export type { ExtensionPickerProps } from './components/extension-picker';
|
|
159
|
-
export { ExtensionPicker } from './components/extension-picker';
|
|
160
|
-
export type { ExternalLinkButtonProps } from './components/external-link';
|
|
161
|
-
export { safeHttpUrl } from './components/primitives';
|
|
162
|
-
export type { RevealInputProps } from './components/reveal-input';
|
|
163
|
-
export { RevealInput } from './components/reveal-input';
|
|
164
|
-
export type { SubjectSectionProps, SubjectTargetOption } from './components/subject-section';
|
|
165
|
-
export { buildSubject, SUBJECT_INCOMPLETE_MESSAGE, SubjectSection, toSubjectTargetOptions, useSubjectFields, } from './components/subject-section';
|
|
166
162
|
export type { TokenName } from './components/tokens';
|
|
167
163
|
export { TOKEN_NAMES } from './components/tokens';
|
|
168
164
|
export type { ToolListQuery, ToolPickerProps } from './components/tool-picker';
|
|
169
165
|
export { BADGES_NOTE, ToolPicker } from './components/tool-picker';
|
|
166
|
+
export type { TooltipProps } from './components/tooltip';
|
|
167
|
+
export { Tooltip } from './components/tooltip';
|
|
170
168
|
export type { VersionHistoryEntry, VersionHistoryPanelProps, } from './components/version-history-panel';
|
|
171
169
|
export { VersionHistoryPanel } from './components/version-history-panel';
|
|
170
|
+
export type { ViewMode, ViewToggleProps } from './components/view-toggle';
|
|
171
|
+
export { useViewMode, ViewToggle } from './components/view-toggle';
|
|
172
|
+
export * from './marketplace-install';
|
|
173
|
+
export * from './tool-organization';
|
|
172
174
|
export type { IconComponent, IconProps } from './components/icons';
|
|
173
175
|
export { AgentsIcon, AlertTriangleIcon, ArrowDownIcon, ArrowLeftIcon, ArrowUpIcon, CheckCircleIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, CloseIcon, ConnectorsIcon, ConversationsIcon, CopyIcon, DashboardIcon, DatabaseIcon, EditIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FilterIcon, FolderIcon, GridIcon, HooksIcon, InteractionsIcon, ManifestIcon, MarketplaceIcon, MembersIcon, MenuIcon, MinusIcon, MonitorIcon, MoonIcon, NAV_ICONS, NotificationsIcon, PendingIcon, PluginIcon, PlusIcon, PresetsIcon, SchedulingIcon, SearchIcon, ServedEndpointsIcon, SettingsIcon, SignOutIcon, SortAscIcon, SortDescIcon, StorageIcon, SunIcon, SystemIcon, ToolsIcon, UnplugIcon, XCircleIcon, } from './components/icons';
|
|
174
|
-
export type { CompletionProvider, DateRangePair, Discriminator, ExpressionFieldComponent, ExpressionFieldProps, ExpressionInputKey, ExpressionInputShape, FieldWords, FormControl, FormInputMode, JsonSchema, JsonSchemaType, RecordEntryContext, RecordEntryRenderer, SchemaFormErrors, SchemaFormProps, SecretRef, SecretRefFieldProps, } from './schema-form';
|
|
175
|
-
export { dateRangePairs, defaultValueForSchema, ExpressionFieldContext, fieldDrawingOrder, isFieldVisible, RecordEntryRendererContext, resolveRef, SchemaForm, SecretRefField, validateAgainstSchema, } from './schema-form';
|
|
176
|
-
export type { SchemaEditorChange, SchemaEditorProps, SchemaLintResult } from './schema-editor';
|
|
176
|
+
export type { CompletionProvider, DateRangePair, Discriminator, ExpressionFieldComponent, ExpressionFieldProps, ExpressionInputKey, ExpressionInputShape, FieldWords, FormControl, FormInputMode, JsonSchema, JsonSchemaType, RecordEntryContext, RecordEntryRenderer, SchemaFormErrors, SchemaFormProps, SecretRef, SecretRefFieldProps, UseTemplatedTextCatalog, } from './schema-form';
|
|
177
|
+
export { dateRangePairs, defaultValueForSchema, ExpressionFieldContext, fieldDrawingOrder, isFieldVisible, NoFiniteValueError, RecordEntryRendererContext, resolveRef, SchemaForm, SecretRefField, TemplatedTextCatalogContext, validateAgainstSchema, } from './schema-form';
|
|
178
|
+
export type { SchemaEditorChange, SchemaEditorDraft, SchemaEditorProps, SchemaLintResult, } from './schema-editor';
|
|
177
179
|
export { lintSchemaText, SchemaEditor } from './schema-editor';
|
|
178
180
|
export type { AdapterCompileResult, AdapterMappingProps, BindingJqFieldProps, BindingSourceSchemas, BindingStateOption, BindingTemplatedJqFieldProps, BindingTemplateJqOption, BindingTemplateOption, FieldRoot, FieldSource, InheritedSubject, InjectionListProps, JqSource, LiteralSource, MappingRow, MappingSource, ResolvedTemplateJq, SchemaFieldPath, StateAttachRowProps, StateBindingEditorProps, StateBindingSectionProps, StoragePresenceQueryLike, SubjectScopeFieldsProps, TemplatedText, TemplatedTextCatalog, TemplateJqSuggestion, TemplateNamesQueryLike, UpdateListProps, } from './state-binding';
|
|
179
181
|
export { AdapterMapping, appendTjq, BindingJqField, BindingTemplatedJqField, compileAdapter, defaultRowsForInput, encodeTemplateSegment, fieldPathsFromSchema, fieldPathToJq, findByRef, generateTemplateCall, InjectionList, jqKey, parseAdapter, parseFieldPath, parseTemplateCall, resolveCallName, resolveTemplateJq, rowValueJq, StateAttachRow, StateBindingEditor, StateBindingSection, statesCatalogFromList, SubjectScopeFields, templatedTextCatalog, templatesCatalogFromList, UpdateList, } from './state-binding';
|