@dickpy/dsh-imagegen 1.5.0 → 1.5.1
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/lib/client.js +321 -318
- package/lib/client.js.map +1 -1
- package/lib/index.js +29 -5
- package/package.json +23 -17
- package/src/client/ImageGenPanel.tsx +2 -1
- package/src/client/SettingsCard.tsx +1 -1
- package/src/client/channels-form.ts +1 -1
- package/src/client/conversation-sync.ts +1 -1
- package/src/client/image-toolview.tsx +16 -10
- package/src/client/index.ts +5 -4
- package/src/client/mount.tsx +1 -1
- package/src/client/settings-form.ts +2 -1
- package/src/client/settings-scope.ts +9 -5
- package/src/index.ts +3 -3
- package/src/protocol.ts +1 -1
- package/src/routes.ts +4 -2
- package/src/settings-compat.ts +60 -0
package/lib/client.js
CHANGED
|
@@ -9,7 +9,7 @@ window.__ModuleLoader__.load({
|
|
|
9
9
|
let react_dom = require("react-dom");
|
|
10
10
|
let _deepseek_ai_dsh_client_ui_primitives = require("@deepseek-ai/dsh-client-ui-primitives");
|
|
11
11
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
12
|
-
let
|
|
12
|
+
let _deepseek_ai_dsh_client_store = require("@deepseek-ai/dsh-client-store");
|
|
13
13
|
//#region src/protocol.ts
|
|
14
14
|
/** Same-origin route family (loopback-only, mirroring the dsh-ssh fence). */
|
|
15
15
|
const SETTINGS_API = {
|
|
@@ -1061,47 +1061,47 @@ window.__ModuleLoader__.load({
|
|
|
1061
1061
|
document.head.appendChild(tag);
|
|
1062
1062
|
}
|
|
1063
1063
|
var templates_module_css_default = {
|
|
1064
|
-
"
|
|
1064
|
+
"categoryRow": "o0mAxG_categoryRow",
|
|
1065
1065
|
"headerActions": "o0mAxG_headerActions",
|
|
1066
|
-
"
|
|
1067
|
-
"detailPrompt": "o0mAxG_detailPrompt",
|
|
1068
|
-
"close": "o0mAxG_close",
|
|
1066
|
+
"state": "o0mAxG_state",
|
|
1069
1067
|
"detailLink": "o0mAxG_detailLink",
|
|
1070
|
-
"
|
|
1068
|
+
"toolbar": "o0mAxG_toolbar",
|
|
1069
|
+
"card": "o0mAxG_card",
|
|
1070
|
+
"cardCategory": "o0mAxG_cardCategory",
|
|
1071
1071
|
"categoryPill": "o0mAxG_categoryPill",
|
|
1072
|
-
"notice": "o0mAxG_notice",
|
|
1073
|
-
"title": "o0mAxG_title",
|
|
1074
|
-
"grid": "o0mAxG_grid",
|
|
1075
|
-
"cardSource": "o0mAxG_cardSource",
|
|
1076
|
-
"heading": "o0mAxG_heading",
|
|
1077
|
-
"thumbWrap": "o0mAxG_thumbWrap",
|
|
1078
|
-
"detail": "o0mAxG_detail",
|
|
1079
1072
|
"thumbPlaceholder": "o0mAxG_thumbPlaceholder",
|
|
1080
|
-
"
|
|
1081
|
-
"
|
|
1082
|
-
"thumb": "o0mAxG_thumb",
|
|
1083
|
-
"footer": "o0mAxG_footer",
|
|
1084
|
-
"attribution": "o0mAxG_attribution",
|
|
1085
|
-
"cardCategory": "o0mAxG_cardCategory",
|
|
1073
|
+
"spinner": "o0mAxG_spinner",
|
|
1074
|
+
"thumbWrap": "o0mAxG_thumbWrap",
|
|
1086
1075
|
"sourceLink": "o0mAxG_sourceLink",
|
|
1087
|
-
"
|
|
1088
|
-
"
|
|
1089
|
-
"detailActions": "o0mAxG_detailActions",
|
|
1090
|
-
"cardTitle": "o0mAxG_cardTitle",
|
|
1076
|
+
"featuredBadge": "o0mAxG_featuredBadge",
|
|
1077
|
+
"footer": "o0mAxG_footer",
|
|
1091
1078
|
"search": "o0mAxG_search",
|
|
1092
|
-
"spinner": "o0mAxG_spinner",
|
|
1093
1079
|
"cardBody": "o0mAxG_cardBody",
|
|
1094
|
-
"
|
|
1080
|
+
"cardSource": "o0mAxG_cardSource",
|
|
1081
|
+
"detailOverlay": "o0mAxG_detailOverlay",
|
|
1082
|
+
"detailInfo": "o0mAxG_detailInfo",
|
|
1083
|
+
"detailTitle": "o0mAxG_detailTitle",
|
|
1084
|
+
"detailActions": "o0mAxG_detailActions",
|
|
1095
1085
|
"body": "o0mAxG_body",
|
|
1096
|
-
"
|
|
1086
|
+
"attribution": "o0mAxG_attribution",
|
|
1087
|
+
"cardMeta": "o0mAxG_cardMeta",
|
|
1088
|
+
"heading": "o0mAxG_heading",
|
|
1089
|
+
"thumb": "o0mAxG_thumb",
|
|
1090
|
+
"detailPrompt": "o0mAxG_detailPrompt",
|
|
1091
|
+
"grid": "o0mAxG_grid",
|
|
1092
|
+
"shell": "o0mAxG_shell",
|
|
1093
|
+
"overlay": "o0mAxG_overlay",
|
|
1097
1094
|
"header": "o0mAxG_header",
|
|
1098
|
-
"
|
|
1095
|
+
"meta": "o0mAxG_meta",
|
|
1096
|
+
"close": "o0mAxG_close",
|
|
1097
|
+
"cardTitle": "o0mAxG_cardTitle",
|
|
1098
|
+
"notice": "o0mAxG_notice",
|
|
1099
1099
|
"detailImage": "o0mAxG_detailImage",
|
|
1100
|
-
"
|
|
1101
|
-
"
|
|
1102
|
-
"
|
|
1103
|
-
"
|
|
1104
|
-
"
|
|
1100
|
+
"title": "o0mAxG_title",
|
|
1101
|
+
"dsh-imagegen-templates-spin": "o0mAxG_dsh-imagegen-templates-spin",
|
|
1102
|
+
"detailMedia": "o0mAxG_detailMedia",
|
|
1103
|
+
"detail": "o0mAxG_detail",
|
|
1104
|
+
"detailMeta": "o0mAxG_detailMeta"
|
|
1105
1105
|
};
|
|
1106
1106
|
//#endregion
|
|
1107
1107
|
//#region src/client/TemplateLibrary.tsx
|
|
@@ -1634,7 +1634,7 @@ window.__ModuleLoader__.load({
|
|
|
1634
1634
|
constructor(api, spec) {
|
|
1635
1635
|
this.api = api;
|
|
1636
1636
|
this.spec = spec;
|
|
1637
|
-
this.store = (0,
|
|
1637
|
+
this.store = (0, _deepseek_ai_dsh_client_store.createSnapshotStore)({
|
|
1638
1638
|
status: "loading",
|
|
1639
1639
|
value: void 0,
|
|
1640
1640
|
base: void 0,
|
|
@@ -1643,8 +1643,8 @@ window.__ModuleLoader__.load({
|
|
|
1643
1643
|
writable: false,
|
|
1644
1644
|
mode: "host"
|
|
1645
1645
|
});
|
|
1646
|
-
this.keySet = (0,
|
|
1647
|
-
this.secretSets = (0,
|
|
1646
|
+
this.keySet = (0, _deepseek_ai_dsh_client_store.createSnapshotStore)(false);
|
|
1647
|
+
this.secretSets = (0, _deepseek_ai_dsh_client_store.createSnapshotStore)({});
|
|
1648
1648
|
}
|
|
1649
1649
|
getSnapshot() {
|
|
1650
1650
|
return this.store.getSnapshot();
|
|
@@ -1685,6 +1685,9 @@ window.__ModuleLoader__.load({
|
|
|
1685
1685
|
path: [field]
|
|
1686
1686
|
}]));
|
|
1687
1687
|
}
|
|
1688
|
+
mutate(ops, expectedRevision) {
|
|
1689
|
+
return this.enqueue(() => this.writeOps([...ops], expectedRevision));
|
|
1690
|
+
}
|
|
1688
1691
|
/** Apply several path ops in one revision-fenced mutate call (atomic save).
|
|
1689
1692
|
* Path ops may address plain-object fields (e.g. `channelSecrets.<id>`),
|
|
1690
1693
|
* but never navigate *inside* arrays — write array fields wholesale. */
|
|
@@ -1733,8 +1736,8 @@ window.__ModuleLoader__.load({
|
|
|
1733
1736
|
}
|
|
1734
1737
|
this.accept(view, writable);
|
|
1735
1738
|
}
|
|
1736
|
-
async writeOps(ops) {
|
|
1737
|
-
const revision = this.getSnapshot().revision;
|
|
1739
|
+
async writeOps(ops, expectedRevision) {
|
|
1740
|
+
const revision = expectedRevision ?? this.getSnapshot().revision;
|
|
1738
1741
|
let response;
|
|
1739
1742
|
try {
|
|
1740
1743
|
response = await this.api.mutate({
|
|
@@ -1950,226 +1953,226 @@ window.__ModuleLoader__.load({
|
|
|
1950
1953
|
document.head.appendChild(tag);
|
|
1951
1954
|
}
|
|
1952
1955
|
var panel_module_css_default = {
|
|
1953
|
-
"
|
|
1954
|
-
"galleryFilterNote": "Yvqh9W_galleryFilterNote",
|
|
1955
|
-
"ecommerceAsset": "Yvqh9W_ecommerceAsset",
|
|
1956
|
-
"ecommerceFooterHint": "Yvqh9W_ecommerceFooterHint",
|
|
1957
|
-
"lightboxClose": "Yvqh9W_lightboxClose",
|
|
1958
|
-
"imageCaption": "Yvqh9W_imageCaption",
|
|
1959
|
-
"taskTrayCount": "Yvqh9W_taskTrayCount",
|
|
1960
|
-
"lightboxActions": "Yvqh9W_lightboxActions",
|
|
1961
|
-
"ecommerceRefRow": "Yvqh9W_ecommerceRefRow",
|
|
1962
|
-
"historyHeader": "Yvqh9W_historyHeader",
|
|
1963
|
-
"paramGroup": "Yvqh9W_paramGroup",
|
|
1964
|
-
"gallerySelectMode": "Yvqh9W_gallerySelectMode",
|
|
1965
|
-
"lightboxCaptionRow": "Yvqh9W_lightboxCaptionRow",
|
|
1966
|
-
"entryLabel": "Yvqh9W_entryLabel",
|
|
1967
|
-
"configToggle": "Yvqh9W_configToggle",
|
|
1968
|
-
"sessionTab": "Yvqh9W_sessionTab",
|
|
1969
|
-
"galleryBadge": "Yvqh9W_galleryBadge",
|
|
1970
|
-
"historyTitle": "Yvqh9W_historyTitle",
|
|
1971
|
-
"topNavDivider": "Yvqh9W_topNavDivider",
|
|
1972
|
-
"configResizer": "Yvqh9W_configResizer",
|
|
1973
|
-
"taskTrayChevron": "Yvqh9W_taskTrayChevron",
|
|
1974
|
-
"generateInner": "Yvqh9W_generateInner",
|
|
1975
|
-
"historyActions": "Yvqh9W_historyActions",
|
|
1976
|
-
"zoomHint": "Yvqh9W_zoomHint",
|
|
1977
|
-
"modelSelect": "Yvqh9W_modelSelect",
|
|
1978
|
-
"enhanceButton": "Yvqh9W_enhanceButton",
|
|
1979
|
-
"sidebarHistoryHost": "Yvqh9W_sidebarHistoryHost",
|
|
1980
|
-
"lightboxImage": "Yvqh9W_lightboxImage",
|
|
1981
|
-
"conversationToast": "Yvqh9W_conversationToast",
|
|
1982
|
-
"lightboxEdit": "Yvqh9W_lightboxEdit",
|
|
1983
|
-
"canvasStateTitle": "Yvqh9W_canvasStateTitle",
|
|
1984
|
-
"galleryHeading": "Yvqh9W_galleryHeading",
|
|
1985
|
-
"ecommerceResults": "Yvqh9W_ecommerceResults",
|
|
1986
|
-
"galleryTags": "Yvqh9W_galleryTags",
|
|
1987
|
-
"spinner": "Yvqh9W_spinner",
|
|
1988
|
-
"taskTray": "Yvqh9W_taskTray",
|
|
1989
|
-
"modeRow": "Yvqh9W_modeRow",
|
|
1990
|
-
"historyThumbPlaceholder": "Yvqh9W_historyThumbPlaceholder",
|
|
1991
|
-
"historyEmpty": "Yvqh9W_historyEmpty",
|
|
1992
|
-
"ecommercePlanBack": "Yvqh9W_ecommercePlanBack",
|
|
1993
|
-
"conversationAdd": "Yvqh9W_conversationAdd",
|
|
1994
|
-
"ecommerceSlotCount": "Yvqh9W_ecommerceSlotCount",
|
|
1995
|
-
"ecommerceGroups": "Yvqh9W_ecommerceGroups",
|
|
1996
|
-
"bigSpinner": "Yvqh9W_bigSpinner",
|
|
1997
|
-
"taskRows": "Yvqh9W_taskRows",
|
|
1998
|
-
"configScroll": "Yvqh9W_configScroll",
|
|
1999
|
-
"galleryToast": "Yvqh9W_galleryToast",
|
|
2000
|
-
"lightboxNav": "Yvqh9W_lightboxNav",
|
|
2001
|
-
"ecommerceAssets": "Yvqh9W_ecommerceAssets",
|
|
2002
|
-
"panelHeading": "Yvqh9W_panelHeading",
|
|
2003
|
-
"galleryTagFilter": "Yvqh9W_galleryTagFilter",
|
|
2004
|
-
"comparisonFullscreen": "Yvqh9W_comparisonFullscreen",
|
|
2005
|
-
"lightboxTools": "Yvqh9W_lightboxTools",
|
|
2006
|
-
"optionGrid": "Yvqh9W_optionGrid",
|
|
2007
|
-
"galleryCount": "Yvqh9W_galleryCount",
|
|
2008
|
-
"modelMenu": "Yvqh9W_modelMenu",
|
|
2009
|
-
"paramHint": "Yvqh9W_paramHint",
|
|
2010
|
-
"ecommerceParamGrid": "Yvqh9W_ecommerceParamGrid",
|
|
2011
|
-
"lightboxCopy": "Yvqh9W_lightboxCopy",
|
|
2012
|
-
"templatesButton": "Yvqh9W_templatesButton",
|
|
2013
|
-
"canvasState": "Yvqh9W_canvasState",
|
|
2014
|
-
"ecommerceWorkspace": "Yvqh9W_ecommerceWorkspace",
|
|
2015
|
-
"promptFooter": "Yvqh9W_promptFooter",
|
|
2016
|
-
"galleryFilterDivider": "Yvqh9W_galleryFilterDivider",
|
|
2017
|
-
"lightboxCaption": "Yvqh9W_lightboxCaption",
|
|
2018
|
-
"entry": "Yvqh9W_entry",
|
|
2019
|
-
"canvas": "Yvqh9W_canvas",
|
|
2020
|
-
"configHeader": "Yvqh9W_configHeader",
|
|
2021
|
-
"chatResizer": "Yvqh9W_chatResizer",
|
|
1956
|
+
"galleryAdd": "Yvqh9W_galleryAdd",
|
|
2022
1957
|
"ecommerceResultsHeader": "Yvqh9W_ecommerceResultsHeader",
|
|
2023
|
-
"
|
|
2024
|
-
"
|
|
2025
|
-
"galleryClear": "Yvqh9W_galleryClear",
|
|
2026
|
-
"compareModelChoices": "Yvqh9W_compareModelChoices",
|
|
2027
|
-
"referenceActions": "Yvqh9W_referenceActions",
|
|
2028
|
-
"comparisonBoard": "Yvqh9W_comparisonBoard",
|
|
2029
|
-
"galleryCardInfo": "Yvqh9W_galleryCardInfo",
|
|
2030
|
-
"galleryBulkButton": "Yvqh9W_galleryBulkButton",
|
|
2031
|
-
"ecommercePlanList": "Yvqh9W_ecommercePlanList",
|
|
2032
|
-
"entryIcon": "Yvqh9W_entryIcon",
|
|
2033
|
-
"ecommerceResultBadge": "Yvqh9W_ecommerceResultBadge",
|
|
1958
|
+
"lightboxCopy": "Yvqh9W_lightboxCopy",
|
|
1959
|
+
"galleryToolbar": "Yvqh9W_galleryToolbar",
|
|
2034
1960
|
"ecommerceAdvancedChevron": "Yvqh9W_ecommerceAdvancedChevron",
|
|
2035
|
-
"
|
|
1961
|
+
"bigSpinner": "Yvqh9W_bigSpinner",
|
|
2036
1962
|
"lightboxScaleFrame": "Yvqh9W_lightboxScaleFrame",
|
|
2037
|
-
"
|
|
2038
|
-
"
|
|
2039
|
-
"
|
|
2040
|
-
"
|
|
2041
|
-
"
|
|
2042
|
-
"
|
|
2043
|
-
"
|
|
2044
|
-
"
|
|
2045
|
-
"generateButton": "Yvqh9W_generateButton",
|
|
1963
|
+
"galleryViewToggle": "Yvqh9W_galleryViewToggle",
|
|
1964
|
+
"compareControl": "Yvqh9W_compareControl",
|
|
1965
|
+
"galleryCardInfo": "Yvqh9W_galleryCardInfo",
|
|
1966
|
+
"studio": "Yvqh9W_studio",
|
|
1967
|
+
"ecommerceFooterHint": "Yvqh9W_ecommerceFooterHint",
|
|
1968
|
+
"download": "Yvqh9W_download",
|
|
1969
|
+
"galleryFilterHeading": "Yvqh9W_galleryFilterHeading",
|
|
1970
|
+
"dshImageGenSpin": "Yvqh9W_dshImageGenSpin",
|
|
2046
1971
|
"galleryRatioList": "Yvqh9W_galleryRatioList",
|
|
2047
|
-
"
|
|
2048
|
-
"
|
|
1972
|
+
"configHeader": "Yvqh9W_configHeader",
|
|
1973
|
+
"configGuideBody": "Yvqh9W_configGuideBody",
|
|
1974
|
+
"view": "Yvqh9W_view",
|
|
2049
1975
|
"historyPrompt": "Yvqh9W_historyPrompt",
|
|
2050
|
-
"
|
|
2051
|
-
"
|
|
2052
|
-
"
|
|
2053
|
-
"lightboxMeta": "Yvqh9W_lightboxMeta",
|
|
2054
|
-
"modelLabel": "Yvqh9W_modelLabel",
|
|
2055
|
-
"gallerySelectionBar": "Yvqh9W_gallerySelectionBar",
|
|
2056
|
-
"galleryCardActions": "Yvqh9W_galleryCardActions",
|
|
2057
|
-
"galleryAvatar": "Yvqh9W_galleryAvatar",
|
|
2058
|
-
"githubLink": "Yvqh9W_githubLink",
|
|
2059
|
-
"galleryToolbar": "Yvqh9W_galleryToolbar",
|
|
2060
|
-
"galleryCardFooter": "Yvqh9W_galleryCardFooter",
|
|
2061
|
-
"compareToggle": "Yvqh9W_compareToggle",
|
|
2062
|
-
"historySearch": "Yvqh9W_historySearch",
|
|
2063
|
-
"lightboxFigure": "Yvqh9W_lightboxFigure",
|
|
2064
|
-
"uploadBox": "Yvqh9W_uploadBox",
|
|
2065
|
-
"galleryFilter": "Yvqh9W_galleryFilter",
|
|
2066
|
-
"galleryTagEditor": "Yvqh9W_galleryTagEditor",
|
|
2067
|
-
"download": "Yvqh9W_download",
|
|
2068
|
-
"galleryToolbarActions": "Yvqh9W_galleryToolbarActions",
|
|
2069
|
-
"imageCard": "Yvqh9W_imageCard",
|
|
2070
|
-
"comparisonFullscreenGrid": "Yvqh9W_comparisonFullscreenGrid",
|
|
2071
|
-
"gallerySelect": "Yvqh9W_gallerySelect",
|
|
2072
|
-
"taskTrayHeader": "Yvqh9W_taskTrayHeader",
|
|
2073
|
-
"ecommerceResultsActions": "Yvqh9W_ecommerceResultsActions",
|
|
1976
|
+
"ecommerceGroups": "Yvqh9W_ecommerceGroups",
|
|
1977
|
+
"galleryTags": "Yvqh9W_galleryTags",
|
|
1978
|
+
"modelMenuList": "Yvqh9W_modelMenuList",
|
|
2074
1979
|
"topNav": "Yvqh9W_topNav",
|
|
2075
|
-
"
|
|
2076
|
-
"
|
|
2077
|
-
"
|
|
2078
|
-
"ecommerceGroup": "Yvqh9W_ecommerceGroup",
|
|
2079
|
-
"canvasEmptyIcon": "Yvqh9W_canvasEmptyIcon",
|
|
2080
|
-
"sessionTabIcon": "Yvqh9W_sessionTabIcon",
|
|
2081
|
-
"historyAction": "Yvqh9W_historyAction",
|
|
1980
|
+
"galleryWorkspace": "Yvqh9W_galleryWorkspace",
|
|
1981
|
+
"gallerySelectMode": "Yvqh9W_gallerySelectMode",
|
|
1982
|
+
"referenceImage": "Yvqh9W_referenceImage",
|
|
2082
1983
|
"ecommerceSlotCard": "Yvqh9W_ecommerceSlotCard",
|
|
2083
|
-
"
|
|
2084
|
-
"
|
|
2085
|
-
"
|
|
2086
|
-
"
|
|
2087
|
-
"
|
|
1984
|
+
"configScroll": "Yvqh9W_configScroll",
|
|
1985
|
+
"galleryTagInput": "Yvqh9W_galleryTagInput",
|
|
1986
|
+
"ecommercePlanBack": "Yvqh9W_ecommercePlanBack",
|
|
1987
|
+
"modelMenu": "Yvqh9W_modelMenu",
|
|
1988
|
+
"ecommerceTaskCard": "Yvqh9W_ecommerceTaskCard",
|
|
1989
|
+
"chatResizer": "Yvqh9W_chatResizer",
|
|
2088
1990
|
"canvasMeta": "Yvqh9W_canvasMeta",
|
|
1991
|
+
"card": "Yvqh9W_card",
|
|
1992
|
+
"ecommerceAdvancedToggle": "Yvqh9W_ecommerceAdvancedToggle",
|
|
1993
|
+
"optionPill": "Yvqh9W_optionPill",
|
|
1994
|
+
"lightbox": "Yvqh9W_lightbox",
|
|
1995
|
+
"galleryFilter": "Yvqh9W_galleryFilter",
|
|
1996
|
+
"spinner": "Yvqh9W_spinner",
|
|
1997
|
+
"historyMeta": "Yvqh9W_historyMeta",
|
|
1998
|
+
"canvasError": "Yvqh9W_canvasError",
|
|
1999
|
+
"ecommerceUploadHero": "Yvqh9W_ecommerceUploadHero",
|
|
2089
2000
|
"canvasHistoryTag": "Yvqh9W_canvasHistoryTag",
|
|
2090
|
-
"
|
|
2091
|
-
"
|
|
2092
|
-
"
|
|
2093
|
-
"
|
|
2094
|
-
"promptCount": "Yvqh9W_promptCount",
|
|
2095
|
-
"grid": "Yvqh9W_grid",
|
|
2096
|
-
"historyHeaderActions": "Yvqh9W_historyHeaderActions",
|
|
2097
|
-
"view": "Yvqh9W_view",
|
|
2001
|
+
"lightboxClose": "Yvqh9W_lightboxClose",
|
|
2002
|
+
"galleryFilterDivider": "Yvqh9W_galleryFilterDivider",
|
|
2003
|
+
"galleryHeading": "Yvqh9W_galleryHeading",
|
|
2004
|
+
"galleryAvatar": "Yvqh9W_galleryAvatar",
|
|
2098
2005
|
"taskStatus": "Yvqh9W_taskStatus",
|
|
2099
|
-
"
|
|
2100
|
-
"
|
|
2006
|
+
"taskTrayToggle": "Yvqh9W_taskTrayToggle",
|
|
2007
|
+
"taskRows": "Yvqh9W_taskRows",
|
|
2008
|
+
"panelHeaderActions": "Yvqh9W_panelHeaderActions",
|
|
2009
|
+
"sessionTabLabel": "Yvqh9W_sessionTabLabel",
|
|
2010
|
+
"ecommerceFooterBody": "Yvqh9W_ecommerceFooterBody",
|
|
2011
|
+
"panelHeading": "Yvqh9W_panelHeading",
|
|
2012
|
+
"entryIcon": "Yvqh9W_entryIcon",
|
|
2013
|
+
"configToggle": "Yvqh9W_configToggle",
|
|
2014
|
+
"historyEmpty": "Yvqh9W_historyEmpty",
|
|
2015
|
+
"ecommercePlanWarn": "Yvqh9W_ecommercePlanWarn",
|
|
2016
|
+
"ecommerceResultBadge": "Yvqh9W_ecommerceResultBadge",
|
|
2017
|
+
"chatToggle": "Yvqh9W_chatToggle",
|
|
2018
|
+
"promptFooter": "Yvqh9W_promptFooter",
|
|
2019
|
+
"ecommerceFieldLabel": "Yvqh9W_ecommerceFieldLabel",
|
|
2020
|
+
"enhanceButton": "Yvqh9W_enhanceButton",
|
|
2101
2021
|
"footer": "Yvqh9W_footer",
|
|
2102
|
-
"
|
|
2103
|
-
"
|
|
2104
|
-
"
|
|
2022
|
+
"taskTrayChevron": "Yvqh9W_taskTrayChevron",
|
|
2023
|
+
"lightboxCaptionRow": "Yvqh9W_lightboxCaptionRow",
|
|
2024
|
+
"lightboxCaption": "Yvqh9W_lightboxCaption",
|
|
2025
|
+
"taskTrayClose": "Yvqh9W_taskTrayClose",
|
|
2105
2026
|
"lightboxDownload": "Yvqh9W_lightboxDownload",
|
|
2106
|
-
"
|
|
2107
|
-
"
|
|
2108
|
-
"
|
|
2027
|
+
"reference": "Yvqh9W_reference",
|
|
2028
|
+
"taskTray": "Yvqh9W_taskTray",
|
|
2029
|
+
"ecommerceGroup": "Yvqh9W_ecommerceGroup",
|
|
2030
|
+
"ecommerceAssets": "Yvqh9W_ecommerceAssets",
|
|
2031
|
+
"lightboxEdit": "Yvqh9W_lightboxEdit",
|
|
2032
|
+
"ecommerceAssetAdd": "Yvqh9W_ecommerceAssetAdd",
|
|
2033
|
+
"historyHeader": "Yvqh9W_historyHeader",
|
|
2109
2034
|
"ecommerceResultsEmpty": "Yvqh9W_ecommerceResultsEmpty",
|
|
2110
|
-
"
|
|
2111
|
-
"
|
|
2112
|
-
"
|
|
2113
|
-
"
|
|
2114
|
-
"
|
|
2115
|
-
"
|
|
2116
|
-
"
|
|
2035
|
+
"sessionTab": "Yvqh9W_sessionTab",
|
|
2036
|
+
"generateInner": "Yvqh9W_generateInner",
|
|
2037
|
+
"dshImageGenToastIn": "Yvqh9W_dshImageGenToastIn",
|
|
2038
|
+
"galleryTagFilterList": "Yvqh9W_galleryTagFilterList",
|
|
2039
|
+
"generateButton": "Yvqh9W_generateButton",
|
|
2040
|
+
"imageCaption": "Yvqh9W_imageCaption",
|
|
2041
|
+
"ecommerceAdvancedBody": "Yvqh9W_ecommerceAdvancedBody",
|
|
2042
|
+
"ecommerceWorkspace": "Yvqh9W_ecommerceWorkspace",
|
|
2117
2043
|
"ecommerceTaskActions": "Yvqh9W_ecommerceTaskActions",
|
|
2118
|
-
"
|
|
2119
|
-
"
|
|
2044
|
+
"gallerySelect": "Yvqh9W_gallerySelect",
|
|
2045
|
+
"galleryTagEdit": "Yvqh9W_galleryTagEdit",
|
|
2046
|
+
"ecommerceGroupGrid": "Yvqh9W_ecommerceGroupGrid",
|
|
2047
|
+
"historyClear": "Yvqh9W_historyClear",
|
|
2048
|
+
"galleryTagEditor": "Yvqh9W_galleryTagEditor",
|
|
2049
|
+
"uploadHint": "Yvqh9W_uploadHint",
|
|
2050
|
+
"referenceActions": "Yvqh9W_referenceActions",
|
|
2120
2051
|
"gallerySort": "Yvqh9W_gallerySort",
|
|
2121
|
-
"
|
|
2122
|
-
"
|
|
2123
|
-
"
|
|
2124
|
-
"
|
|
2052
|
+
"compareToggle": "Yvqh9W_compareToggle",
|
|
2053
|
+
"sidebarHistoryHost": "Yvqh9W_sidebarHistoryHost",
|
|
2054
|
+
"ecommercePlanList": "Yvqh9W_ecommercePlanList",
|
|
2055
|
+
"ecommercePrimaryAction": "Yvqh9W_ecommercePrimaryAction",
|
|
2056
|
+
"updateActions": "Yvqh9W_updateActions",
|
|
2057
|
+
"configGuide": "Yvqh9W_configGuide",
|
|
2058
|
+
"galleryFilterCount": "Yvqh9W_galleryFilterCount",
|
|
2059
|
+
"ecommerceField": "Yvqh9W_ecommerceField",
|
|
2060
|
+
"lightboxFigure": "Yvqh9W_lightboxFigure",
|
|
2061
|
+
"gallerySelectionClear": "Yvqh9W_gallerySelectionClear",
|
|
2062
|
+
"modeRow": "Yvqh9W_modeRow",
|
|
2063
|
+
"galleryCardFooter": "Yvqh9W_galleryCardFooter",
|
|
2064
|
+
"topNavDivider": "Yvqh9W_topNavDivider",
|
|
2065
|
+
"comparisonFullscreen": "Yvqh9W_comparisonFullscreen",
|
|
2066
|
+
"galleryRatio": "Yvqh9W_galleryRatio",
|
|
2067
|
+
"ecommercePlanMini": "Yvqh9W_ecommercePlanMini",
|
|
2068
|
+
"ecommerceResults": "Yvqh9W_ecommerceResults",
|
|
2069
|
+
"paramLabel": "Yvqh9W_paramLabel",
|
|
2070
|
+
"lightboxMeta": "Yvqh9W_lightboxMeta",
|
|
2071
|
+
"comparisonImageButton": "Yvqh9W_comparisonImageButton",
|
|
2072
|
+
"taskPrompt": "Yvqh9W_taskPrompt",
|
|
2073
|
+
"gallerySearch": "Yvqh9W_gallerySearch",
|
|
2074
|
+
"ecommerceActionChip": "Yvqh9W_ecommerceActionChip",
|
|
2075
|
+
"historyFilters": "Yvqh9W_historyFilters",
|
|
2076
|
+
"canvasBody": "Yvqh9W_canvasBody",
|
|
2077
|
+
"lightboxNav": "Yvqh9W_lightboxNav",
|
|
2078
|
+
"historyNew": "Yvqh9W_historyNew",
|
|
2079
|
+
"imageCard": "Yvqh9W_imageCard",
|
|
2080
|
+
"updateBanner": "Yvqh9W_updateBanner",
|
|
2125
2081
|
"updateText": "Yvqh9W_updateText",
|
|
2126
|
-
"
|
|
2127
|
-
"
|
|
2128
|
-
"
|
|
2129
|
-
"
|
|
2082
|
+
"ecommerceParamGrid": "Yvqh9W_ecommerceParamGrid",
|
|
2083
|
+
"historyThumbPlaceholder": "Yvqh9W_historyThumbPlaceholder",
|
|
2084
|
+
"modelMenuItem": "Yvqh9W_modelMenuItem",
|
|
2085
|
+
"connectionDot": "Yvqh9W_connectionDot",
|
|
2086
|
+
"lightboxImage": "Yvqh9W_lightboxImage",
|
|
2087
|
+
"galleryClear": "Yvqh9W_galleryClear",
|
|
2088
|
+
"updateRelease": "Yvqh9W_updateRelease",
|
|
2089
|
+
"historyItem": "Yvqh9W_historyItem",
|
|
2090
|
+
"uploadIcon": "Yvqh9W_uploadIcon",
|
|
2130
2091
|
"modelWrap": "Yvqh9W_modelWrap",
|
|
2092
|
+
"galleryToast": "Yvqh9W_galleryToast",
|
|
2093
|
+
"grid": "Yvqh9W_grid",
|
|
2131
2094
|
"lightboxStage": "Yvqh9W_lightboxStage",
|
|
2132
|
-
"
|
|
2133
|
-
"
|
|
2134
|
-
"
|
|
2095
|
+
"galleryImageButton": "Yvqh9W_galleryImageButton",
|
|
2096
|
+
"galleryRemove": "Yvqh9W_galleryRemove",
|
|
2097
|
+
"galleryBadge": "Yvqh9W_galleryBadge",
|
|
2098
|
+
"optionRow": "Yvqh9W_optionRow",
|
|
2099
|
+
"modePill": "Yvqh9W_modePill",
|
|
2100
|
+
"historySearch": "Yvqh9W_historySearch",
|
|
2101
|
+
"compareModelChoices": "Yvqh9W_compareModelChoices",
|
|
2102
|
+
"topNavItem": "Yvqh9W_topNavItem",
|
|
2103
|
+
"sessionTabIcon": "Yvqh9W_sessionTabIcon",
|
|
2104
|
+
"ecommercePlanNote": "Yvqh9W_ecommercePlanNote",
|
|
2105
|
+
"galleryCardAction": "Yvqh9W_galleryCardAction",
|
|
2106
|
+
"prompt": "Yvqh9W_prompt",
|
|
2107
|
+
"ecommerceSection": "Yvqh9W_ecommerceSection",
|
|
2108
|
+
"historyMain": "Yvqh9W_historyMain",
|
|
2109
|
+
"optionGrid": "Yvqh9W_optionGrid",
|
|
2110
|
+
"conversationToast": "Yvqh9W_conversationToast",
|
|
2111
|
+
"galleryCard": "Yvqh9W_galleryCard",
|
|
2112
|
+
"conversationAdd": "Yvqh9W_conversationAdd",
|
|
2113
|
+
"ecommerceSectionHint": "Yvqh9W_ecommerceSectionHint",
|
|
2114
|
+
"entryLabel": "Yvqh9W_entryLabel",
|
|
2115
|
+
"taskTrayCount": "Yvqh9W_taskTrayCount",
|
|
2116
|
+
"connectionStatus": "Yvqh9W_connectionStatus",
|
|
2117
|
+
"historyThumb": "Yvqh9W_historyThumb",
|
|
2118
|
+
"ecommerceRefRow": "Yvqh9W_ecommerceRefRow",
|
|
2119
|
+
"lightboxTool": "Yvqh9W_lightboxTool",
|
|
2120
|
+
"galleryToolbarActions": "Yvqh9W_galleryToolbarActions",
|
|
2135
2121
|
"comparisonGrid": "Yvqh9W_comparisonGrid",
|
|
2136
|
-
"
|
|
2137
|
-
"
|
|
2138
|
-
"ecommercePrimaryAction": "Yvqh9W_ecommercePrimaryAction",
|
|
2122
|
+
"hiddenFile": "Yvqh9W_hiddenFile",
|
|
2123
|
+
"canvasState": "Yvqh9W_canvasState",
|
|
2139
2124
|
"previewBadge": "Yvqh9W_previewBadge",
|
|
2140
|
-
"
|
|
2141
|
-
"
|
|
2142
|
-
"
|
|
2143
|
-
"
|
|
2144
|
-
"
|
|
2145
|
-
"
|
|
2146
|
-
"
|
|
2125
|
+
"ecommerceTaskState": "Yvqh9W_ecommerceTaskState",
|
|
2126
|
+
"canvasStateTitle": "Yvqh9W_canvasStateTitle",
|
|
2127
|
+
"canvasStateHint": "Yvqh9W_canvasStateHint",
|
|
2128
|
+
"githubLink": "Yvqh9W_githubLink",
|
|
2129
|
+
"lightboxTools": "Yvqh9W_lightboxTools",
|
|
2130
|
+
"galleryTagFilter": "Yvqh9W_galleryTagFilter",
|
|
2131
|
+
"galleryFilterNote": "Yvqh9W_galleryFilterNote",
|
|
2132
|
+
"galleryImage": "Yvqh9W_galleryImage",
|
|
2133
|
+
"taskTrayHeader": "Yvqh9W_taskTrayHeader",
|
|
2134
|
+
"galleryCount": "Yvqh9W_galleryCount",
|
|
2135
|
+
"galleryCardActions": "Yvqh9W_galleryCardActions",
|
|
2136
|
+
"historyActions": "Yvqh9W_historyActions",
|
|
2147
2137
|
"sessionTabs": "Yvqh9W_sessionTabs",
|
|
2138
|
+
"entry": "Yvqh9W_entry",
|
|
2139
|
+
"lightboxIndex": "Yvqh9W_lightboxIndex",
|
|
2140
|
+
"lightboxActions": "Yvqh9W_lightboxActions",
|
|
2141
|
+
"history": "Yvqh9W_history",
|
|
2142
|
+
"comparisonBoard": "Yvqh9W_comparisonBoard",
|
|
2143
|
+
"galleryBulkButton": "Yvqh9W_galleryBulkButton",
|
|
2144
|
+
"historyList": "Yvqh9W_historyList",
|
|
2145
|
+
"config": "Yvqh9W_config",
|
|
2148
2146
|
"ecommerceStructureGrid": "Yvqh9W_ecommerceStructureGrid",
|
|
2149
|
-
"
|
|
2150
|
-
"
|
|
2151
|
-
"ecommerceUploadHero": "Yvqh9W_ecommerceUploadHero",
|
|
2152
|
-
"referenceImage": "Yvqh9W_referenceImage",
|
|
2153
|
-
"galleryTagEdit": "Yvqh9W_galleryTagEdit",
|
|
2154
|
-
"ecommerceTaskCard": "Yvqh9W_ecommerceTaskCard",
|
|
2155
|
-
"ecommercePlanNote": "Yvqh9W_ecommercePlanNote",
|
|
2156
|
-
"ecommerceActionChip": "Yvqh9W_ecommerceActionChip",
|
|
2157
|
-
"canvasError": "Yvqh9W_canvasError",
|
|
2158
|
-
"galleryFilterHeading": "Yvqh9W_galleryFilterHeading",
|
|
2159
|
-
"taskTrayClose": "Yvqh9W_taskTrayClose",
|
|
2160
|
-
"uploadHint": "Yvqh9W_uploadHint",
|
|
2161
|
-
"optionPill": "Yvqh9W_optionPill",
|
|
2162
|
-
"gallerySelectionClear": "Yvqh9W_gallerySelectionClear",
|
|
2163
|
-
"updateRelease": "Yvqh9W_updateRelease",
|
|
2164
|
-
"historyNew": "Yvqh9W_historyNew",
|
|
2165
|
-
"canvasBody": "Yvqh9W_canvasBody",
|
|
2166
|
-
"panel": "Yvqh9W_panel",
|
|
2147
|
+
"ecommerceSlotCount": "Yvqh9W_ecommerceSlotCount",
|
|
2148
|
+
"ecommerceAsset": "Yvqh9W_ecommerceAsset",
|
|
2167
2149
|
"historyInfo": "Yvqh9W_historyInfo",
|
|
2168
|
-
"
|
|
2150
|
+
"promptCount": "Yvqh9W_promptCount",
|
|
2151
|
+
"templatesButton": "Yvqh9W_templatesButton",
|
|
2152
|
+
"paramHint": "Yvqh9W_paramHint",
|
|
2153
|
+
"configResizer": "Yvqh9W_configResizer",
|
|
2154
|
+
"paramGroup": "Yvqh9W_paramGroup",
|
|
2155
|
+
"modelLabel": "Yvqh9W_modelLabel",
|
|
2156
|
+
"canvasEmptyIcon": "Yvqh9W_canvasEmptyIcon",
|
|
2157
|
+
"lightboxZoomLevel": "Yvqh9W_lightboxZoomLevel",
|
|
2158
|
+
"comparisonFullscreenGrid": "Yvqh9W_comparisonFullscreenGrid",
|
|
2159
|
+
"gallerySelectionBar": "Yvqh9W_gallerySelectionBar",
|
|
2160
|
+
"canvas": "Yvqh9W_canvas",
|
|
2161
|
+
"galleryMasonry": "Yvqh9W_galleryMasonry",
|
|
2162
|
+
"taskRow": "Yvqh9W_taskRow",
|
|
2163
|
+
"image": "Yvqh9W_image",
|
|
2164
|
+
"uploadBox": "Yvqh9W_uploadBox",
|
|
2165
|
+
"panelHeader": "Yvqh9W_panelHeader",
|
|
2169
2166
|
"panelTitle": "Yvqh9W_panelTitle",
|
|
2167
|
+
"historyAction": "Yvqh9W_historyAction",
|
|
2168
|
+
"zoomHint": "Yvqh9W_zoomHint",
|
|
2170
2169
|
"galleryFilters": "Yvqh9W_galleryFilters",
|
|
2171
|
-
"
|
|
2172
|
-
"
|
|
2170
|
+
"generation": "Yvqh9W_generation",
|
|
2171
|
+
"panel": "Yvqh9W_panel",
|
|
2172
|
+
"historyTitle": "Yvqh9W_historyTitle",
|
|
2173
|
+
"historyHeaderActions": "Yvqh9W_historyHeaderActions",
|
|
2174
|
+
"ecommerceResultsActions": "Yvqh9W_ecommerceResultsActions",
|
|
2175
|
+
"modelSelect": "Yvqh9W_modelSelect"
|
|
2173
2176
|
};
|
|
2174
2177
|
//#endregion
|
|
2175
2178
|
//#region src/client/ImageGenPanel.tsx
|
|
@@ -6247,7 +6250,7 @@ window.__ModuleLoader__.load({
|
|
|
6247
6250
|
}
|
|
6248
6251
|
/** Publish a projection of this form, rebuilt whenever the scope or a draft changes. */
|
|
6249
6252
|
bind(project) {
|
|
6250
|
-
const store = (0,
|
|
6253
|
+
const store = (0, _deepseek_ai_dsh_client_store.createSnapshotStore)(project());
|
|
6251
6254
|
this.listeners.add(() => {
|
|
6252
6255
|
store.set(project());
|
|
6253
6256
|
});
|
|
@@ -6463,7 +6466,7 @@ window.__ModuleLoader__.load({
|
|
|
6463
6466
|
}
|
|
6464
6467
|
/** Publish a projection of this form, rebuilt on every scope or draft change. */
|
|
6465
6468
|
bind(project) {
|
|
6466
|
-
const store = (0,
|
|
6469
|
+
const store = (0, _deepseek_ai_dsh_client_store.createSnapshotStore)(project());
|
|
6467
6470
|
this.listeners.add(() => {
|
|
6468
6471
|
store.set(project());
|
|
6469
6472
|
});
|
|
@@ -6650,97 +6653,97 @@ window.__ModuleLoader__.load({
|
|
|
6650
6653
|
document.head.appendChild(tag);
|
|
6651
6654
|
}
|
|
6652
6655
|
var settings_card_module_css_default = {
|
|
6653
|
-
"
|
|
6654
|
-
"
|
|
6655
|
-
"
|
|
6656
|
+
"textareaInvalid": "i1cc5G_textareaInvalid",
|
|
6657
|
+
"readOnly": "i1cc5G_readOnly",
|
|
6658
|
+
"badge": "i1cc5G_badge",
|
|
6656
6659
|
"channelName": "i1cc5G_channelName",
|
|
6657
|
-
"
|
|
6658
|
-
"modelRows": "i1cc5G_modelRows",
|
|
6660
|
+
"channelAdd": "i1cc5G_channelAdd",
|
|
6659
6661
|
"save": "i1cc5G_save",
|
|
6660
|
-
"
|
|
6661
|
-
"optionalContent": "i1cc5G_optionalContent",
|
|
6662
|
-
"modelSection": "i1cc5G_modelSection",
|
|
6663
|
-
"chevron": "i1cc5G_chevron",
|
|
6664
|
-
"presetList": "i1cc5G_presetList",
|
|
6665
|
-
"channelAddRow": "i1cc5G_channelAddRow",
|
|
6666
|
-
"channelRow": "i1cc5G_channelRow",
|
|
6667
|
-
"badge": "i1cc5G_badge",
|
|
6668
|
-
"select": "i1cc5G_select",
|
|
6669
|
-
"modelRowRemove": "i1cc5G_modelRowRemove",
|
|
6670
|
-
"presetMeta": "i1cc5G_presetMeta",
|
|
6671
|
-
"textareaInvalid": "i1cc5G_textareaInvalid",
|
|
6672
|
-
"failed": "i1cc5G_failed",
|
|
6673
|
-
"editorPanel": "i1cc5G_editorPanel",
|
|
6674
|
-
"presetHint": "i1cc5G_presetHint",
|
|
6675
|
-
"modelChip": "i1cc5G_modelChip",
|
|
6676
|
-
"modelChoices": "i1cc5G_modelChoices",
|
|
6677
|
-
"reset": "i1cc5G_reset",
|
|
6662
|
+
"channelBadge": "i1cc5G_channelBadge",
|
|
6678
6663
|
"detectOk": "i1cc5G_detectOk",
|
|
6679
|
-
"
|
|
6680
|
-
"
|
|
6681
|
-
"
|
|
6664
|
+
"modelRowBadges": "i1cc5G_modelRowBadges",
|
|
6665
|
+
"modelBadge": "i1cc5G_modelBadge",
|
|
6666
|
+
"label": "i1cc5G_label",
|
|
6667
|
+
"inputInvalid": "i1cc5G_inputInvalid",
|
|
6668
|
+
"channelDotWarn": "i1cc5G_channelDotWarn",
|
|
6682
6669
|
"presetName": "i1cc5G_presetName",
|
|
6683
|
-
"
|
|
6684
|
-
"
|
|
6685
|
-
"
|
|
6686
|
-
"
|
|
6687
|
-
"
|
|
6670
|
+
"presetHint": "i1cc5G_presetHint",
|
|
6671
|
+
"modelRow": "i1cc5G_modelRow",
|
|
6672
|
+
"select": "i1cc5G_select",
|
|
6673
|
+
"input": "i1cc5G_input",
|
|
6674
|
+
"badges": "i1cc5G_badges",
|
|
6688
6675
|
"channelList": "i1cc5G_channelList",
|
|
6676
|
+
"editorTools": "i1cc5G_editorTools",
|
|
6677
|
+
"channelMeta": "i1cc5G_channelMeta",
|
|
6678
|
+
"modelRowRemove": "i1cc5G_modelRowRemove",
|
|
6679
|
+
"channelHost": "i1cc5G_channelHost",
|
|
6680
|
+
"chevronOpen": "i1cc5G_chevronOpen",
|
|
6681
|
+
"sectionTitle": "i1cc5G_sectionTitle",
|
|
6682
|
+
"sectionHeader": "i1cc5G_sectionHeader",
|
|
6683
|
+
"editorField": "i1cc5G_editorField",
|
|
6689
6684
|
"editorSectionHeader": "i1cc5G_editorSectionHeader",
|
|
6690
|
-
"
|
|
6691
|
-
"presetRow": "i1cc5G_presetRow",
|
|
6692
|
-
"invalid": "i1cc5G_invalid",
|
|
6693
|
-
"presetInlineHeader": "i1cc5G_presetInlineHeader",
|
|
6694
|
-
"sectionHint": "i1cc5G_sectionHint",
|
|
6695
|
-
"modelFetch": "i1cc5G_modelFetch",
|
|
6696
|
-
"addModel": "i1cc5G_addModel",
|
|
6697
|
-
"modelArrow": "i1cc5G_modelArrow",
|
|
6685
|
+
"editorHeader": "i1cc5G_editorHeader",
|
|
6698
6686
|
"editorClose": "i1cc5G_editorClose",
|
|
6699
|
-
"
|
|
6700
|
-
"
|
|
6701
|
-
"
|
|
6702
|
-
"
|
|
6703
|
-
"modelCandidateLabel": "i1cc5G_modelCandidateLabel",
|
|
6704
|
-
"inlineDisclosure": "i1cc5G_inlineDisclosure",
|
|
6705
|
-
"versionLabel": "i1cc5G_versionLabel",
|
|
6706
|
-
"channelEmpty": "i1cc5G_channelEmpty",
|
|
6707
|
-
"channelMain": "i1cc5G_channelMain",
|
|
6708
|
-
"deleteConfirmText": "i1cc5G_deleteConfirmText",
|
|
6709
|
-
"versionRow": "i1cc5G_versionRow",
|
|
6687
|
+
"modelFetchRow": "i1cc5G_modelFetchRow",
|
|
6688
|
+
"failed": "i1cc5G_failed",
|
|
6689
|
+
"editorDivider": "i1cc5G_editorDivider",
|
|
6690
|
+
"discard": "i1cc5G_discard",
|
|
6710
6691
|
"name": "i1cc5G_name",
|
|
6711
|
-
"
|
|
6712
|
-
"editorFooter": "i1cc5G_editorFooter",
|
|
6713
|
-
"channelDotReady": "i1cc5G_channelDotReady",
|
|
6692
|
+
"channelAddRow": "i1cc5G_channelAddRow",
|
|
6714
6693
|
"editorBackdrop": "i1cc5G_editorBackdrop",
|
|
6715
|
-
"
|
|
6716
|
-
"
|
|
6717
|
-
"head": "i1cc5G_head",
|
|
6694
|
+
"channelDotReady": "i1cc5G_channelDotReady",
|
|
6695
|
+
"headText": "i1cc5G_headText",
|
|
6718
6696
|
"versionValue": "i1cc5G_versionValue",
|
|
6719
|
-
"
|
|
6720
|
-
"
|
|
6721
|
-
"
|
|
6722
|
-
"
|
|
6723
|
-
"
|
|
6697
|
+
"editorPanel": "i1cc5G_editorPanel",
|
|
6698
|
+
"presetList": "i1cc5G_presetList",
|
|
6699
|
+
"modelCandidate": "i1cc5G_modelCandidate",
|
|
6700
|
+
"optionalContent": "i1cc5G_optionalContent",
|
|
6701
|
+
"modelRows": "i1cc5G_modelRows",
|
|
6702
|
+
"modelRowInputs": "i1cc5G_modelRowInputs",
|
|
6703
|
+
"addModel": "i1cc5G_addModel",
|
|
6704
|
+
"channelSection": "i1cc5G_channelSection",
|
|
6705
|
+
"presetRow": "i1cc5G_presetRow",
|
|
6706
|
+
"modelCandidateLabel": "i1cc5G_modelCandidateLabel",
|
|
6724
6707
|
"channelDanger": "i1cc5G_channelDanger",
|
|
6708
|
+
"presetMeta": "i1cc5G_presetMeta",
|
|
6725
6709
|
"field": "i1cc5G_field",
|
|
6710
|
+
"hint": "i1cc5G_hint",
|
|
6711
|
+
"versionLabel": "i1cc5G_versionLabel",
|
|
6712
|
+
"body": "i1cc5G_body",
|
|
6713
|
+
"manualModelRow": "i1cc5G_manualModelRow",
|
|
6714
|
+
"pending": "i1cc5G_pending",
|
|
6715
|
+
"notExposed": "i1cc5G_notExposed",
|
|
6716
|
+
"modelCandidateList": "i1cc5G_modelCandidateList",
|
|
6717
|
+
"modelArrow": "i1cc5G_modelArrow",
|
|
6718
|
+
"chevron": "i1cc5G_chevron",
|
|
6719
|
+
"modelChoices": "i1cc5G_modelChoices",
|
|
6720
|
+
"head": "i1cc5G_head",
|
|
6721
|
+
"inlineDisclosure": "i1cc5G_inlineDisclosure",
|
|
6722
|
+
"disclosure": "i1cc5G_disclosure",
|
|
6723
|
+
"channelRow": "i1cc5G_channelRow",
|
|
6724
|
+
"card": "i1cc5G_card",
|
|
6726
6725
|
"description": "i1cc5G_description",
|
|
6727
|
-
"
|
|
6728
|
-
"
|
|
6726
|
+
"modelFetch": "i1cc5G_modelFetch",
|
|
6727
|
+
"channelMain": "i1cc5G_channelMain",
|
|
6728
|
+
"header": "i1cc5G_header",
|
|
6729
|
+
"modelSummary": "i1cc5G_modelSummary",
|
|
6730
|
+
"versionRow": "i1cc5G_versionRow",
|
|
6731
|
+
"channelAction": "i1cc5G_channelAction",
|
|
6732
|
+
"sectionDivider": "i1cc5G_sectionDivider",
|
|
6729
6733
|
"channelControls": "i1cc5G_channelControls",
|
|
6730
|
-
"
|
|
6731
|
-
"card": "i1cc5G_card",
|
|
6732
|
-
"editorField": "i1cc5G_editorField",
|
|
6734
|
+
"presetInlineHeader": "i1cc5G_presetInlineHeader",
|
|
6733
6735
|
"presetInline": "i1cc5G_presetInline",
|
|
6734
|
-
"
|
|
6735
|
-
"
|
|
6736
|
-
"
|
|
6737
|
-
"
|
|
6738
|
-
"
|
|
6739
|
-
"
|
|
6740
|
-
"
|
|
6741
|
-
"
|
|
6742
|
-
"
|
|
6743
|
-
"
|
|
6736
|
+
"deleteConfirmText": "i1cc5G_deleteConfirmText",
|
|
6737
|
+
"textarea": "i1cc5G_textarea",
|
|
6738
|
+
"modelChip": "i1cc5G_modelChip",
|
|
6739
|
+
"spacer": "i1cc5G_spacer",
|
|
6740
|
+
"editorFooter": "i1cc5G_editorFooter",
|
|
6741
|
+
"reset": "i1cc5G_reset",
|
|
6742
|
+
"channelEmpty": "i1cc5G_channelEmpty",
|
|
6743
|
+
"invalid": "i1cc5G_invalid",
|
|
6744
|
+
"modelSection": "i1cc5G_modelSection",
|
|
6745
|
+
"footer": "i1cc5G_footer",
|
|
6746
|
+
"sectionHint": "i1cc5G_sectionHint"
|
|
6744
6747
|
};
|
|
6745
6748
|
//#endregion
|
|
6746
6749
|
//#region src/client/SettingsCard.tsx
|
|
@@ -8003,15 +8006,15 @@ window.__ModuleLoader__.load({
|
|
|
8003
8006
|
document.head.appendChild(tag);
|
|
8004
8007
|
}
|
|
8005
8008
|
var image_toolview_module_css_default = {
|
|
8006
|
-
"loading": "_3eGrYG_loading",
|
|
8007
|
-
"icon": "_3eGrYG_icon",
|
|
8008
8009
|
"imageLink": "_3eGrYG_imageLink",
|
|
8010
|
+
"error": "_3eGrYG_error",
|
|
8011
|
+
"root": "_3eGrYG_root",
|
|
8012
|
+
"loading": "_3eGrYG_loading",
|
|
8009
8013
|
"images": "_3eGrYG_images",
|
|
8010
|
-
"status": "_3eGrYG_status",
|
|
8011
8014
|
"header": "_3eGrYG_header",
|
|
8012
|
-
"root": "_3eGrYG_root",
|
|
8013
8015
|
"image": "_3eGrYG_image",
|
|
8014
|
-
"
|
|
8016
|
+
"status": "_3eGrYG_status",
|
|
8017
|
+
"icon": "_3eGrYG_icon",
|
|
8015
8018
|
"message": "_3eGrYG_message"
|
|
8016
8019
|
};
|
|
8017
8020
|
//#endregion
|
|
@@ -8021,8 +8024,7 @@ window.__ModuleLoader__.load({
|
|
|
8021
8024
|
}
|
|
8022
8025
|
function imageRefsOf(block) {
|
|
8023
8026
|
if (!isSettled(block)) return [];
|
|
8024
|
-
|
|
8025
|
-
return [...block.content, ...resultContent].flatMap((content) => content.type === "image" ? [content.attachment] : []);
|
|
8027
|
+
return block.content.flatMap((content) => content.type === "image" ? [content.attachment] : []);
|
|
8026
8028
|
}
|
|
8027
8029
|
function textOf(block) {
|
|
8028
8030
|
if (!isSettled(block)) return "";
|
|
@@ -8178,7 +8180,8 @@ window.__ModuleLoader__.load({
|
|
|
8178
8180
|
"get_image_generation_task"
|
|
8179
8181
|
]) yield ctx.slots.register({
|
|
8180
8182
|
name: "tool.call.toolview",
|
|
8181
|
-
key
|
|
8183
|
+
key,
|
|
8184
|
+
inject: (sessionId) => ({ sessionId })
|
|
8182
8185
|
}, ImageToolView);
|
|
8183
8186
|
});
|
|
8184
8187
|
}
|