@rslsp1/fa-app-tools 2.0.48 → 2.0.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -4
- package/dist/index.mjs +7 -4
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -641,6 +641,6 @@ declare function findTips(dag: Dag): number[];
|
|
|
641
641
|
declare function findForks(dag: Dag): DagFork[];
|
|
642
642
|
declare function topoSort(events: HFEvent[]): HFEvent[];
|
|
643
643
|
|
|
644
|
-
declare const LIB_VERSION = "2.0.
|
|
644
|
+
declare const LIB_VERSION = "2.0.54";
|
|
645
645
|
|
|
646
646
|
export { AvatarArchitectApp, type AvatarArchitectAppProps, CollapsibleCard, CompactDropdown, type DagFork, type ExtractedCharacter, FaApp, type FaAppProps, FaToolsBadge, type FlowSdk, GLOBAL_STYLES, type Generation, type HFEvent, type HFEventVersion, type HFFileInfo$1 as HFFileInfo, type HFMetadataEntry, type HFStateMeta, type HFStateResult, type HFStateSnapshot, HistoryPanel, type ImageAddedPayload, InspectPanel, LIB_VERSION, LabBlend, LabCompare, type LabFrame, LabFrameExtractor, type LabFrameExtractorProps, LabImagePicker, type LabItem, LabLoop, LabRemix, type LabServices, LabsTab, ListView, type MediaItem, MediaLibrary, type MetadataUpdatedPayload, PillButton, type ProjectMeta, type ProjectSettings, ProjectSyncTab, PromptTab, SectionLabel, type SelectedLabImage, type SelectedTag, ServerTab, SetupPanel, type SyncDiff, TagManagerPanel, type TagOption, type TagUpsertedPayload, type WorkspaceTags, applyEvent, applyEvents, autoLabel, buildBlendInstruction, buildCompareInstruction, buildDag, buildFallbackPrompt, buildGenerationPrompt, buildImageGenerationOptions, buildLoopInstruction, buildPromptTabPayload, buildReferenceImageMediaIds, buildRemixInstruction, buildScanInstruction, cleanAiResponse, createFlowServices, exportProjectToZip, findForks, findTips, formatTreeToMarkdown, frameToGeneration, getFormattedTimestamp, getHFToken, getSessionClientId, groupGenerationsToLabItems, hfBatchArchive, hfBootstrapFromLegacy, hfDeleteProject, hfDownloadProject, hfListDir, hfListProjects, hfLoadImageAsBase64, hfUploadImage, hfUploadProjectForm, hfUploadSmallFile, importProjectFromZip, injectXMPMetadata, interpretSdkError, loadHFState, loadPendingEvents, parsePromptFile, parsePromptResponse, setHFToken, topoSort, tsFromEventPath, useHFState, useKeyboardNavigation, useOnClickOutside, writeHFEvent };
|
package/dist/index.d.ts
CHANGED
|
@@ -641,6 +641,6 @@ declare function findTips(dag: Dag): number[];
|
|
|
641
641
|
declare function findForks(dag: Dag): DagFork[];
|
|
642
642
|
declare function topoSort(events: HFEvent[]): HFEvent[];
|
|
643
643
|
|
|
644
|
-
declare const LIB_VERSION = "2.0.
|
|
644
|
+
declare const LIB_VERSION = "2.0.54";
|
|
645
645
|
|
|
646
646
|
export { AvatarArchitectApp, type AvatarArchitectAppProps, CollapsibleCard, CompactDropdown, type DagFork, type ExtractedCharacter, FaApp, type FaAppProps, FaToolsBadge, type FlowSdk, GLOBAL_STYLES, type Generation, type HFEvent, type HFEventVersion, type HFFileInfo$1 as HFFileInfo, type HFMetadataEntry, type HFStateMeta, type HFStateResult, type HFStateSnapshot, HistoryPanel, type ImageAddedPayload, InspectPanel, LIB_VERSION, LabBlend, LabCompare, type LabFrame, LabFrameExtractor, type LabFrameExtractorProps, LabImagePicker, type LabItem, LabLoop, LabRemix, type LabServices, LabsTab, ListView, type MediaItem, MediaLibrary, type MetadataUpdatedPayload, PillButton, type ProjectMeta, type ProjectSettings, ProjectSyncTab, PromptTab, SectionLabel, type SelectedLabImage, type SelectedTag, ServerTab, SetupPanel, type SyncDiff, TagManagerPanel, type TagOption, type TagUpsertedPayload, type WorkspaceTags, applyEvent, applyEvents, autoLabel, buildBlendInstruction, buildCompareInstruction, buildDag, buildFallbackPrompt, buildGenerationPrompt, buildImageGenerationOptions, buildLoopInstruction, buildPromptTabPayload, buildReferenceImageMediaIds, buildRemixInstruction, buildScanInstruction, cleanAiResponse, createFlowServices, exportProjectToZip, findForks, findTips, formatTreeToMarkdown, frameToGeneration, getFormattedTimestamp, getHFToken, getSessionClientId, groupGenerationsToLabItems, hfBatchArchive, hfBootstrapFromLegacy, hfDeleteProject, hfDownloadProject, hfListDir, hfListProjects, hfLoadImageAsBase64, hfUploadImage, hfUploadProjectForm, hfUploadSmallFile, importProjectFromZip, injectXMPMetadata, interpretSdkError, loadHFState, loadPendingEvents, parsePromptFile, parsePromptResponse, setHFToken, topoSort, tsFromEventPath, useHFState, useKeyboardNavigation, useOnClickOutside, writeHFEvent };
|
package/dist/index.js
CHANGED
|
@@ -4955,12 +4955,15 @@ function AvatarArchitectApp({ onGenerateImage, onGeneratePrompt, onDownload, onS
|
|
|
4955
4955
|
const [hfTokenInput, setHfTokenInput] = (0, import_react27.useState)(initialHfToken || "");
|
|
4956
4956
|
const [isLoadingFromHF, setIsLoadingFromHF] = (0, import_react27.useState)(false);
|
|
4957
4957
|
const [hfNamespaceLocal, setHfNamespaceLocal] = (0, import_react27.useState)(() => {
|
|
4958
|
+
const KNOWN = ["app.art-by-rolands.de/", "dev-app.art-by-rolands.de/"];
|
|
4959
|
+
const DEFAULT = "app.art-by-rolands.de/";
|
|
4958
4960
|
try {
|
|
4959
4961
|
const stored = localStorage.getItem("aa-hf-namespace");
|
|
4960
|
-
if (stored
|
|
4961
|
-
|
|
4962
|
+
if (stored && KNOWN.includes(stored)) return stored;
|
|
4963
|
+
localStorage.setItem("aa-hf-namespace", DEFAULT);
|
|
4964
|
+
return DEFAULT;
|
|
4962
4965
|
} catch {
|
|
4963
|
-
return
|
|
4966
|
+
return DEFAULT;
|
|
4964
4967
|
}
|
|
4965
4968
|
});
|
|
4966
4969
|
const [hfNamespaceFromServer, setHfNamespaceFromServer] = (0, import_react27.useState)(null);
|
|
@@ -6709,7 +6712,7 @@ function FaApp({
|
|
|
6709
6712
|
// src/index.ts
|
|
6710
6713
|
init_hfStateService();
|
|
6711
6714
|
init_hfStateService();
|
|
6712
|
-
var LIB_VERSION = "2.0.
|
|
6715
|
+
var LIB_VERSION = "2.0.54";
|
|
6713
6716
|
// Annotate the CommonJS export names for ESM import in node:
|
|
6714
6717
|
0 && (module.exports = {
|
|
6715
6718
|
AvatarArchitectApp,
|
package/dist/index.mjs
CHANGED
|
@@ -4271,12 +4271,15 @@ function AvatarArchitectApp({ onGenerateImage, onGeneratePrompt, onDownload, onS
|
|
|
4271
4271
|
const [hfTokenInput, setHfTokenInput] = useState20(initialHfToken || "");
|
|
4272
4272
|
const [isLoadingFromHF, setIsLoadingFromHF] = useState20(false);
|
|
4273
4273
|
const [hfNamespaceLocal, setHfNamespaceLocal] = useState20(() => {
|
|
4274
|
+
const KNOWN = ["app.art-by-rolands.de/", "dev-app.art-by-rolands.de/"];
|
|
4275
|
+
const DEFAULT = "app.art-by-rolands.de/";
|
|
4274
4276
|
try {
|
|
4275
4277
|
const stored = localStorage.getItem("aa-hf-namespace");
|
|
4276
|
-
if (stored
|
|
4277
|
-
|
|
4278
|
+
if (stored && KNOWN.includes(stored)) return stored;
|
|
4279
|
+
localStorage.setItem("aa-hf-namespace", DEFAULT);
|
|
4280
|
+
return DEFAULT;
|
|
4278
4281
|
} catch {
|
|
4279
|
-
return
|
|
4282
|
+
return DEFAULT;
|
|
4280
4283
|
}
|
|
4281
4284
|
});
|
|
4282
4285
|
const [hfNamespaceFromServer, setHfNamespaceFromServer] = useState20(null);
|
|
@@ -6023,7 +6026,7 @@ function FaApp({
|
|
|
6023
6026
|
}
|
|
6024
6027
|
|
|
6025
6028
|
// src/index.ts
|
|
6026
|
-
var LIB_VERSION = "2.0.
|
|
6029
|
+
var LIB_VERSION = "2.0.54";
|
|
6027
6030
|
export {
|
|
6028
6031
|
AvatarArchitectApp,
|
|
6029
6032
|
CollapsibleCard,
|