@widgetic/creator 0.4.33 → 0.4.35

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.
@@ -482,35 +482,14 @@ export declare const CREATOR_CATALOGS: {
482
482
  readonly 'creator.details.resizePanel': "Resize panel";
483
483
  readonly 'creator.details.resizeWidth': "Resize width";
484
484
  readonly 'creator.details.resizeHeight': "Resize height";
485
- readonly 'creator.brandKit.addFont': "+ Font";
486
- readonly 'creator.brandKit.fontLabel': "Font";
487
- readonly 'creator.brandKit.brandKit': "Brand kit";
488
485
  readonly 'creator.brandKit.languageIsFixedAfterThe': "Language is fixed after the first generation";
489
486
  readonly 'creator.brandKit.selectLanguage': "Select language";
490
487
  readonly 'creator.brandKit.libraries': "Libraries";
491
488
  readonly 'creator.brandKit.addLibrary': "Add Library";
492
489
  readonly 'creator.brandKit.uploadLibrary': "Upload library";
493
490
  readonly 'creator.brandKit.removeLibrary': "Remove library";
494
- readonly 'creator.brandKit.replacesTheWidgeticPaletteFor': "Replaces the Widgetic palette for this generation.";
495
- readonly 'creator.brandKit.colorPalette': "Color palette";
496
- readonly 'creator.brandKit.primary': "Primary";
497
- readonly 'creator.brandKit.secondary': "Secondary";
498
- readonly 'creator.brandKit.title': "Title";
499
- readonly 'creator.brandKit.sub': "Sub";
500
- readonly 'creator.brandKit.fonts': "Fonts";
501
- readonly 'creator.brandKit.font': "Font {number}";
502
- readonly 'creator.brandKit.removeFont': "Remove font";
503
- readonly 'creator.brandKit.uploadFonts': "Upload Fonts";
504
- readonly 'creator.brandKit.uploadAFontFileOr': "Upload a font file or an archive.";
505
- readonly 'creator.brandKit.urlArchiveWoff2TtfOtf': "URL (archive, .woff2, .ttf, .otf)";
506
- readonly 'creator.brandKit.removeUploadedFont': "Remove uploaded font";
507
- readonly 'creator.brandKit.icons': "Icons";
508
- readonly 'creator.brandKit.addIconLibrary': "Add icon library";
509
- readonly 'creator.brandKit.removeIconLibrary': "Remove icon library";
510
491
  readonly 'creator.brandKit.uploadCustomLibraryTooltip': "Upload your custom library.";
511
- readonly 'creator.brandKit.uploadIconLibraryTooltip': "Upload your icon library.";
512
492
  readonly 'creator.brandKit.urlLibraries': "URL (git, archive, .js, .ts, {extension})";
513
- readonly 'creator.brandKit.urlIcons': "URL (git, archive, .svg, {extension})";
514
493
  readonly 'creator.livePreviews.dragWidget': "Drag widget";
515
494
  readonly 'creator.livePreviews.primaryWidget': "Primary widget";
516
495
  readonly 'creator.livePreviews.setPrimary': "Set primary";
@@ -553,148 +532,8 @@ export declare const CREATOR_CATALOGS: {
553
532
  readonly 'creator.elementSelector.esc': "Esc";
554
533
  readonly 'creator.elementSelector.done': "done";
555
534
  };
556
- readonly editor: Readonly<Record<string, string>>;
557
- readonly chat: {
558
- readonly 'chat.contextType.frame': "frame";
559
- readonly 'chat.contextType.text': "text";
560
- readonly 'chat.contextType.image': "image";
561
- readonly 'chat.contextType.document': "document";
562
- readonly 'chat.contextType.canvas': "canvas";
563
- readonly 'chat.header.typeChat': "{type} chat";
564
- readonly 'chat.header.switchConversation': "Switch conversation";
565
- readonly 'chat.header.conversations': "Conversations";
566
- readonly 'chat.header.new': "New";
567
- readonly 'chat.header.untitled': "Untitled";
568
- readonly 'chat.header.newConversationTitle': "New conversation";
569
- readonly 'chat.header.newConversation': "Start new conversation";
570
- readonly 'chat.header.close': "Close chat";
571
- readonly 'chat.contextPreview.expand': "Expand {name} chat context";
572
- readonly 'chat.conversation.defaultTitle': "Chat about {name}";
573
- readonly 'chat.messages.startTitle': "Start a conversation";
574
- readonly 'chat.messages.startHint': "Ask a question about your {type} to get started.";
575
- readonly 'chat.messages.loadingHistory': "Loading chat history...";
576
- readonly 'chat.messages.thinking': "Assistant is thinking";
577
- readonly 'chat.messages.viewing': "You are here";
578
- readonly 'chat.messages.viewingTitle': "This is the version you are looking at";
579
- readonly 'chat.messages.attachmentMissingTitle': "Attachment not available";
580
- readonly 'chat.messages.attachmentMissingLabel': "Missing file attachment";
581
- readonly 'chat.messages.attachmentMissingCaption': "Attachment not saved. Re-attach with Upload, then Retry.";
582
- readonly 'chat.messages.retry': "Retry";
583
- readonly 'chat.messages.retryPromptTitle': "Run this prompt again as its own message. The sketch stays with the model, not on the bubble.";
584
- readonly 'chat.messages.retryLastTitle': "Retry the last user prompt (same generation request)";
585
- readonly 'chat.messages.upgrade': "Upgrade";
586
- readonly 'chat.messages.upgradeTitle': "Open plans and billing";
587
- readonly 'chat.messages.commitId': "(commit id: {id})";
588
- readonly 'chat.messages.restore': "Restore Checkpoint";
589
- readonly 'chat.messages.restoreTitle': "Restore widget code to this prompt's commit";
590
- readonly 'chat.messages.alreadyHead': "This checkpoint is already HEAD";
591
- readonly 'chat.messages.showSuggestions': "Show suggestions";
592
- readonly 'chat.messages.version': "Version {number}";
593
- readonly 'chat.messages.restoredFrom': "Restored from {label}";
594
- readonly 'chat.messages.previousVersion': "a previous version";
595
- readonly 'chat.suggestions.title.frame': "Suggested actions for this widget";
596
- readonly 'chat.suggestions.title.text': "Suggested text improvements";
597
- readonly 'chat.suggestions.title.image': "Suggested image analysis";
598
- readonly 'chat.suggestions.title.document': "Suggested document actions";
599
- readonly 'chat.suggestions.title.other': "Suggested questions";
600
- readonly 'chat.suggestions.hide': "Hide suggestions";
601
- readonly 'chat.suggestions.frame.generateCode': "Generate code from this design";
602
- readonly 'chat.suggestions.frame.improveLayout': "Improve this layout";
603
- readonly 'chat.suggestions.frame.addInteractivity': "Add interactive functionality";
604
- readonly 'chat.suggestions.frame.makeResponsive': "Make this responsive for mobile";
605
- readonly 'chat.suggestions.frame.addAnimations': "Add animations and transitions";
606
- readonly 'chat.suggestions.text.improveWriting': "Help improve this writing";
607
- readonly 'chat.suggestions.text.checkGrammar': "Check grammar and style";
608
- readonly 'chat.suggestions.text.alternativePhrasing': "Suggest alternative phrasing";
609
- readonly 'chat.suggestions.text.summarize': "Summarize this content";
610
- readonly 'chat.suggestions.text.expand': "Expand on this topic";
611
- readonly 'chat.suggestions.image.describe': "Describe what you see in this image";
612
- readonly 'chat.suggestions.image.altText': "Generate alt text for accessibility";
613
- readonly 'chat.suggestions.image.improveDesign': "Suggest design improvements";
614
- readonly 'chat.suggestions.image.toCode': "Convert image to code";
615
- readonly 'chat.suggestions.image.extractText': "Extract text from this image";
616
- readonly 'chat.suggestions.document.summarize': "Summarize this document";
617
- readonly 'chat.suggestions.document.keyPoints': "Extract key points";
618
- readonly 'chat.suggestions.document.checkErrors': "Check for errors or inconsistencies";
619
- readonly 'chat.suggestions.document.improve': "Suggest improvements";
620
- readonly 'chat.suggestions.document.outline': "Create an outline";
621
- readonly 'chat.suggestions.other.ask': "Ask a question about this content";
622
- readonly 'chat.suggestions.other.improve': "Get suggestions for improvement";
623
- readonly 'chat.suggestions.other.explain': "Explain what you see here";
624
- readonly 'chat.suggestions.other.understand': "Help me understand this better";
625
- readonly 'chat.suggestions.other.options': "What can I do with this?";
626
- readonly 'chat.input.placeholder': "Type your message...";
627
- readonly 'chat.input.stop': "Stop generation";
628
- readonly 'chat.input.sending': "Sending message...";
629
- readonly 'chat.input.send': "Send message";
630
- readonly 'chat.actions.screenshot': "Screenshot";
631
- readonly 'chat.actions.screenshotTitle': "Take Screenshot";
632
- readonly 'chat.actions.screenshotLabel': "Take screenshot of current content";
633
- readonly 'chat.actions.record': "Record";
634
- readonly 'chat.actions.stop': "Stop";
635
- readonly 'chat.actions.startRecordingTitle': "Start Recording";
636
- readonly 'chat.actions.stopRecordingTitle': "Stop Recording";
637
- readonly 'chat.actions.startRecordingLabel': "Start recording";
638
- readonly 'chat.actions.stopRecordingLabel': "Stop recording";
639
- readonly 'chat.actions.upload': "Upload";
640
- readonly 'chat.actions.uploadTitle': "Upload File";
641
- readonly 'chat.actions.uploadLabel': "Upload file";
642
- readonly 'chat.actions.selector': "Selector";
643
- readonly 'chat.actions.selectorTitle': "Select a specific part of the widget to reference in chat";
644
- readonly 'chat.actions.selectorActiveTitle': "Disable widget element selector";
645
- readonly 'chat.actions.selectorLabel': "Toggle widget element selector";
646
- readonly 'chat.selector.removeElement': "Remove selected element";
647
- readonly 'chat.selector.clearAll': "Clear all";
648
- readonly 'chat.actions.complete': "Complete";
649
- readonly 'chat.actions.completed': "Completed";
650
- readonly 'chat.actions.markCompleteTitle': "Mark this chat as done. You can still send messages and iterate on the widget.";
651
- readonly 'chat.actions.markActiveTitle': "Mark as Active \u2014 you can keep iterating either way";
652
- readonly 'chat.actions.markCompleteLabel': "Mark conversation as complete";
653
- readonly 'chat.actions.markActiveLabel': "Mark conversation as active";
654
- readonly 'chat.resize.label': "Resize messages area";
655
- readonly 'chat.resize.title': "Drag to resize messages area";
656
- readonly 'chat.attachment.alt': "Attachment";
657
- readonly 'chat.attachment.untitled': "Untitled";
658
- readonly 'chat.attachment.fileFallback': "File";
659
- readonly 'chat.attachment.namelessAlt': "attachment";
660
- readonly 'chat.attachment.previewAlt': "Attachment preview";
661
- readonly 'chat.attachment.pdfTitle': "PDF Document";
662
- readonly 'chat.attachment.noVideo': "Your browser does not support video playback.";
663
- readonly 'chat.attachment.view': "Click to view {name}";
664
- readonly 'chat.attachment.viewFile': "Click to view file";
665
- readonly 'chat.attachment.more': "{count, plural, one {+# more file} other {+# more files}}";
666
- readonly 'chat.attachment.remove': "Remove attachment";
667
- readonly 'chat.attachment.close': "Close";
668
- readonly 'chat.size.bytes': "{size} B";
669
- readonly 'chat.size.kb': "{size} KB";
670
- readonly 'chat.size.mb': "{size} MB";
671
- readonly 'chat.size.gb': "{size} GB";
672
- readonly 'chat.code.copy': "Copy";
673
- readonly 'chat.code.copyTitle': "Copy code";
674
- readonly 'chat.code.copied': "Copied!";
675
- readonly 'chat.status.active': "Active";
676
- readonly 'chat.status.completed': "Completed";
677
- readonly 'chat.status.processing': "Processing...";
678
- readonly 'chat.status.error': "Error";
679
- readonly 'chat.status.messageCount': "{count, plural, one {(# message)} other {(# messages)}}";
680
- readonly 'chat.error.dismiss': "Dismiss";
681
- readonly 'chat.error.retryLoad': "Retry load history";
682
- readonly 'chat.error.loadHistory': "Could not load chat history.";
683
- readonly 'chat.error.initialize': "Failed to initialize chat. Please try again.";
684
- readonly 'chat.error.loadConversations': "Failed to load conversations.";
685
- readonly 'chat.error.loadConversation': "Failed to load conversation.";
686
- readonly 'chat.error.sendMessage': "Failed to send message. Please try again.";
687
- readonly 'chat.error.sendSuggestion': "Failed to send the selected suggestion. Please try again.";
688
- readonly 'chat.error.screenshotUnavailable': "Screenshot capture failed \u2014 no preview available.";
689
- readonly 'chat.error.screenshotFailed': "Failed to capture screenshot";
690
- readonly 'chat.error.screenshotActionFailed': "Screenshot action failed. Please try again.";
691
- readonly 'chat.error.recordingStartFailed': "Failed to start recording";
692
- readonly 'chat.error.recordingStopFailed': "Failed to stop recording";
693
- readonly 'chat.error.recordingActionFailed': "Recording action failed. Please try again.";
694
- readonly 'chat.error.actionFailed': "The action failed. Please try again.";
695
- readonly 'chat.error.statusUpdateFailed': "Failed to update conversation status";
696
- readonly 'chat.error.restoreFailed': "Failed to restore checkpoint. Please try again.";
697
- };
535
+ readonly editor: any;
536
+ readonly chat: any;
698
537
  readonly canvas: {
699
538
  readonly 'canvas.state.loading': "Loading canvas\u2026";
700
539
  readonly 'canvas.state.initFailed': "Canvas failed to initialize.";
@@ -959,4 +798,4 @@ export declare const useCreatorLanguage: () => import("@widgetic/design-system/i
959
798
  * The English `t` of the creator, for code that has no component around it. The screens of the creator get their words, in
960
799
  * the page's language, from `useCreatorLanguage`.
961
800
  */
962
- export declare const translateEnglish: import("@widgetic/design-system/i18n").Translate<"creator.common.close" | "creator.common.new" | "creator.common.doubleClickToRename" | "creator.common.thisAppNeedsARefresh" | "creator.common.reload" | "creator.common.publish" | "creator.common.switchVersion" | "creator.common.live" | "creator.common.buildThisDraftVersionAnd" | "creator.common.setLive" | "creator.common.retry" | "creator.common.delete" | "creator.common.draft" | "creator.common.loading" | "creator.general.unknownError" | "creator.general.couldNotLoadUploadedImage" | "creator.general.tryUploadingTheImageAgain" | "creator.general.uploadFailed" | "creator.general.couldNotUpdateConversationStatus" | "creator.general.changeUndone" | "creator.general.failedToLoadEditorSettings" | "creator.general.setTo" | "creator.general.failedToUpdate" | "creator.general.failedToSaveDimensions" | "creator.general.nothingToSave" | "creator.general.serviceTemporarilyUnavailable" | "creator.general.retryingWhenTheApiIs" | "creator.general.invalidFileType" | "creator.general.pleaseSelectAnImageFile" | "creator.general.imageTooLarge" | "creator.general.maximumImageSizeIsMb" | "creator.general.tooManyImages" | "creator.general.maximumImagesAllowedRemoveAn" | "creator.general.failedToProcessImage" | "creator.general.couldNotReadTheImage" | "creator.general.imagePasted" | "creator.general.screenshotCaptureFailed" | "creator.general.missingOperationId" | "creator.general.switchToThatPanelTo" | "creator.general.limitReached" | "creator.general.rateLimited" | "creator.general.theApiRateLimitWas" | "creator.general.liveV" | "creator.general.anUnexpectedErrorOccurredPlease" | "creator.general.latestCommitIsAlreadyLive" | "creator.general.theServerRefusedTheRename" | "creator.general.checkYourConnectionAndTry" | "creator.general.unableToReachTheApi" | "creator.general.pleaseWaitForTheCurrent" | "creator.general.created" | "creator.general.saveBlocked" | "creator.general.keptALocalCopyCheck" | "creator.general.apiClientUnavailable" | "creator.general.screenshotCouldNotBeCaptured" | "creator.general.fixTheSelectionZoomOut" | "creator.general.checkConsoleForDetails" | "creator.general.retryLoad" | "creator.general.dismiss" | "creator.general.saving" | "creator.general.saved" | "creator.general.saveError" | "creator.general.loadingHistory" | "creator.general.upgrade" | "creator.general.fixInCreate" | "creator.general.save" | "creator.general.cancel" | "creator.general.noEditableSettingsAvailableYet" | "creator.general.dimensions" | "creator.general.w" | "creator.general.h" | "creator.general.px" | "creator.general.copy" | "creator.general.testPage" | "creator.general.zoomedReference" | "creator.general.keepInDatabase" | "creator.general.deleteFromDatabase" | "creator.general.checkingWhatWillBeDeleted" | "creator.general.describeWhatYouWant" | "creator.session.endedStartAgain" | "creator.session.canvasCannotOpen" | "creator.session.sessionEnded" | "creator.session.sessionExpiredSignInAgain" | "creator.session.sessionExpired" | "creator.session.authenticationExpired" | "creator.session.pleaseLoginAgainToContinue" | "creator.session.signInAgainToPublish" | "creator.session.loginRequiredToDuplicateWidget" | "creator.session.pleaseLoginFirst" | "creator.session.authenticationRequired" | "creator.session.pleaseLoginBeforeCreatingA" | "creator.session.thisWidgetReferencesARepository" | "creator.session.signInAgainThenRetry" | "creator.widget.notFound" | "creator.widget.fallbackName" | "creator.widget.noWidgetSelected" | "creator.widget.shapeRemoved" | "creator.widget.widgetKeptInDatabase" | "creator.widget.widgetDeletedFromDatabase" | "creator.widget.widgetWasAlreadyDeleted" | "creator.widget.failedToDeleteWidgetFrom" | "creator.widget.selectAWidgetFirst" | "creator.widget.duplicateFromTheHeaderCopies" | "creator.widget.failedToLoadWidgets" | "creator.widget.couldNotRestoreShapesYet" | "creator.widget.widgetRenamedTo" | "creator.widget.failedToRenameWidget" | "creator.widget.capturingWidgetScreenshot" | "creator.widget.widgetsApiClientIsNot" | "creator.widget.unlinkedWidgetShape" | "creator.widget.duplicatingWidget" | "creator.widget.failedToDuplicateWidget" | "creator.widget.widgetDuplicated" | "creator.widget.widgetKeptInDatabase2" | "creator.widget.youCanKeepEditingWidgets" | "creator.widget.widgetDraftCreated" | "creator.widget.failedToPrepareWidgetDraft" | "creator.widget.failedToCreateWidgetFrom" | "creator.widget.widgetCreatedButNoId" | "creator.widget.widgetCreated" | "creator.widget.failedToFinalizeWidgetConversion" | "creator.widget.repoIdToDeleteUse" | "creator.widget.restoreShapes" | "creator.widget.directWidgetUrl" | "creator.widget.deleteWidgetShape" | "creator.widget.theseWidgetsBelongToMore" | "creator.canvas.appearsEmptyButWidgets" | "creator.canvas.restoredShapes" | "creator.canvas.removedTheLeftoverShapeFrom" | "creator.canvas.clickAWidgetOnThe" | "creator.canvas.canvasIsNotReadyYet" | "creator.canvas.failedToLoadCanvases" | "creator.canvas.couldNotDeleteThisCanvas" | "creator.canvas.noCanvasIdCannotLoad" | "creator.canvas.canvasMayStillBeLoading" | "creator.canvas.widgetPreviewUpdatedOnCanvas" | "creator.canvas.widgetCanvasAndRepositoryAre" | "creator.canvas.canvasIsRequiredBeforePublishing" | "creator.canvas.thisShapePointsToA" | "creator.canvas.shapeRemovedFromCanvas" | "creator.canvas.canvasIsTakingLongerThan" | "creator.canvas.canvasShapesFailedToRender" | "creator.canvas.failedToLoadCanvasFrom" | "creator.canvas.canvasLoadFailedCheckSupabase" | "creator.canvas.apiMayBeThrottledOr" | "creator.canvas.canvasSnapshotLookedEmptyRefresh" | "creator.canvas.canvasSaved" | "creator.canvas.sketchRestored" | "creator.canvas.canvasSaveFailed" | "creator.canvas.canvasSavedLocally" | "creator.canvas.noCanvasIdYet" | "creator.canvas.canvasUnavailable" | "creator.canvas.canvasShapesFailedToLoad" | "creator.canvas.shapeDataMayBeMissing" | "creator.canvas.deleteCanvas" | "creator.composition.compositionCreated" | "creator.composition.failedToCreateComposition" | "creator.composition.compositionSaved" | "creator.composition.compositionRenamed" | "creator.composition.failedToRenameComposition" | "creator.composition.compositionDeleted" | "creator.composition.failedToDeleteComposition" | "creator.composition.fixTheSyntaxErrorIn" | "creator.composition.compositions" | "creator.composition.selectComposition" | "creator.composition.deleteThisComposition" | "creator.composition.webComponentFormatRequiresA" | "creator.composition.compositionUrl" | "creator.codegen.referenceImages" | "creator.codegen.referenceNumber" | "creator.codegen.missingReferenceImage" | "creator.codegen.unreadableAttachmentsTitle" | "creator.codegen.unreadableAttachments" | "creator.codegen.missingImageError" | "creator.codegen.visionModelNote" | "creator.codegen.noImageTitle" | "creator.codegen.repositoryCreated" | "creator.codegen.failedToCreateRepository" | "creator.codegen.noVisionNote" | "creator.codegen.codeRevertedToCommitRefreshing" | "creator.codegen.widgetCodeAtCommitRefreshing" | "creator.codegen.gitRollbackMayNotHave" | "creator.codegen.codeGenerationCompleted" | "creator.codegen.generationInProgress" | "creator.codegen.reconnectedToAnActiveCode" | "creator.codegen.generationStopped" | "creator.codegen.codeGenerationWasCancelledYou" | "creator.codegen.couldNotStopGeneration" | "creator.codegen.generationMayStillBeRunning" | "creator.codegen.imageAddedToYourPrompt" | "creator.codegen.generateCodeFirstToCapture" | "creator.codegen.previewIsMissingTheCapture" | "creator.codegen.promptTooShort" | "creator.codegen.pleaseProvideAPromptWith" | "creator.codegen.mockCodeGenerated" | "creator.codegen.thisIsASimulationNo" | "creator.codegen.missingRepository" | "creator.codegen.coderVision" | "creator.codegen.answeredWithoutGenerating" | "creator.codegen.noGenerationStarted" | "creator.codegen.cannotTrackCodeGenerationProgress" | "creator.codegen.aiGeneratedInvalidSvelteSyntax" | "creator.codegen.codeSavedRebuildingPreview" | "creator.codegen.codeWasNotSaved" | "creator.codegen.codeWasNotSavedToTheRepository" | "creator.codegen.retrySavesItAndRecordsAVersion" | "creator.codegen.generationCompleted" | "creator.codegen.codeSavedPreviewIsLoading" | "creator.codegen.generationAlreadyInProgress" | "creator.codegen.anotherCodeGenerationIsAlready" | "creator.codegen.teammateIsGeneratingSince" | "creator.codegen.generationRunningInTheWidget" | "creator.codegen.yourGenerationRunsElsewhere" | "creator.codegen.newerCodeWasSaved" | "creator.codegen.chosenVersionIsOutOfDate" | "creator.codegen.codeGenerationError" | "creator.codegen.imagePastedToPrompt" | "creator.codegen.codeGenerationInProgressWait" | "creator.codegen.repositoryMissingUseRebuildCode" | "creator.codegen.buildFailedCheckLogsFor" | "creator.codegen.createdWithExistingCode" | "creator.codegen.editTheSketchFreelySending" | "creator.codegen.isReadyGenerationStarted" | "creator.codegen.repositoryIsNowLinkedTo" | "creator.codegen.repositoryExists" | "creator.codegen.repositoryOwnedByAnotherAccount" | "creator.codegen.repositoryFound" | "creator.codegen.linkedToRepository" | "creator.codegen.repositoryReferenceInvalid" | "creator.codegen.supabaseDoesNotHaveThis" | "creator.codegen.unableToVerifyRepositoryStatus" | "creator.codegen.repositoryVerificationFailed" | "creator.codegen.repositoryCreationFailed" | "creator.codegen.couldNotDetermineRepositoryId" | "creator.codegen.repositoryCreatedButNotPersisted" | "creator.codegen.repositoryExistsButFailedTo" | "creator.codegen.repositoryReadyForUse" | "creator.codegen.previewBuilderIsUnavailable" | "creator.codegen.theWidgetCodeWasSaved" | "creator.codegen.rebuildInCreate" | "creator.codegen.codeDoesNotCompile" | "creator.codegen.latestCodeDoesNotCompile" | "creator.codegen.generateCodeFirstToCustomize" | "creator.codegen.noWidgetCodeYet" | "creator.codegen.goToStep1Create" | "creator.codegen.confirmCodeGeneration" | "creator.codegen.reviewThePromptAndReference" | "creator.codegen.describeTheWidgetYouWant" | "creator.codegen.prompt" | "creator.codegen.editPromptFirst" | "creator.codegen.generateNow" | "creator.preview.newerThanLive" | "creator.preview.mayShowLive" | "creator.preview.rebuilt" | "creator.preview.versionHasCodeError" | "creator.preview.versionCouldNotLoad" | "creator.preview.versionHourlyLimit" | "creator.preview.recompiledIn" | "creator.preview.commitRefreshed" | "creator.preview.noValidPreviewAvailable" | "creator.preview.theWidgetDidNotRespond" | "creator.preview.captureErrorRefreshThePreview" | "creator.preview.imageWaitsForGeneration" | "creator.preview.savingImage" | "creator.preview.imageSaved" | "creator.preview.couldNotSaveImage" | "creator.preview.imageNotReturned" | "creator.version.checkpointRestored" | "creator.version.restoreCompletedWithWarnings" | "creator.version.failedToRestoreCheckpoint" | "creator.version.restoreRefusedWhileGenerating" | "creator.version.restoreRefusedNewerCode" | "creator.version.restoreRefusedLatestCodeUnknown" | "creator.version.versionIsNowLive" | "creator.version.version" | "creator.version.theSelectedDraftVersionWas" | "creator.version.thisIsADraftVersion" | "creator.version.thisVersionIsNowWhat" | "creator.version.versionRenamed" | "creator.version.versionTitleCleared" | "creator.version.couldNotRenameTheVersion" | "creator.version.closeVersionHistory" | "creator.publish.cannotPublish" | "creator.publish.noEditableSettingsFoundGenerate" | "creator.publish.publishingViaWidgetBuilder" | "creator.publish.widgetPublished" | "creator.publish.publishedAutomaticallyAfterCodeGeneration" | "creator.publish.publishFailed" | "creator.publish.publishing" | "creator.publish.publishingInProgress" | "creator.publish.anotherWidgetIsPublishingWait" | "creator.publish.publishIsRunningInAnother" | "creator.publish.thisVersionIsAlreadyPublished" | "creator.publish.thisDraftHasNoRecorded" | "creator.publish.generateWidgetCodeBeforePublishing" | "creator.publish.publishWidget" | "creator.publish.publishChanges" | "creator.publish.noNewVersionToPublish" | "creator.publish.publishNewV" | "creator.publish.generateOrRebuildSoWe" | "creator.publish.cannotPublishYet" | "creator.publish.publishedVSuccessfully" | "creator.publish.published" | "creator.publish.widgetPublishFailed" | "creator.publish.failedToLoadPublishHistory" | "creator.publish.pressPublishToMakeThe" | "creator.publish.failedToSetLiveVersion" | "creator.publish.publishTheLatestGeneratedCode" | "creator.publish.liveGenerateNewCodeTo" | "creator.publish.publishThisVersionSoVisitors" | "creator.publish.noHistoryRecordsYetGenerate" | "creator.publish.retryPublish" | "creator.publish.notPublishedYet" | "creator.publish.generateOnCreatePreviewThe" | "creator.publish.widgetNotPublishedYet" | "creator.publish.publishYourWidgetFromThe" | "creator.publish.publishYourWidgetFromTheCreate" | "creator.embed.codeTitle" | "creator.embed.formatIframe" | "creator.embed.formatWebComponent" | "creator.embed.copied" | "creator.embed.versionIsLiveAndReady" | "creator.embed.embedYourWidget" | "creator.embed.setDimensionsAndCopyThe" | "creator.embed.embedWidth" | "creator.embed.embedHeight" | "creator.embed.copyEmbedCode" | "creator.embed.embedFormat" | "creator.dialog.removeShape" | "creator.dialog.alsoDeleteWidget" | "creator.dialog.deleteCanvas" | "creator.dialog.alsoDeleteWidgets" | "creator.status.label" | "creator.status.preparingCodeGeneration" | "creator.status.ready" | "creator.status.completedPreviewReady" | "creator.status.generationCompletePreviewReady" | "creator.status.completedAutoSaving" | "creator.status.completedSaved" | "creator.status.completedChangesSaved" | "creator.status.failed" | "creator.status.stoppedByUser" | "creator.status.fixingCompilationErrors" | "creator.status.generatingMockCode" | "creator.status.mockCodeComplete" | "creator.status.processingQueuedRequest" | "creator.status.sessionExpired" | "creator.status.repositoryRequired" | "creator.status.runningQueued" | "creator.status.repositoryReady" | "creator.status.answeredFromDetails" | "creator.status.needMoreDetail" | "creator.status.noGenerationNeeded" | "creator.status.authenticationExpired" | "creator.status.noOperationId" | "creator.status.processingQueued" | "creator.status.inProgress" | "creator.status.generating" | "creator.status.generatingProgress" | "creator.status.savedBuildingPreview" | "creator.status.savedLoadingPreview" | "creator.status.savedPreviewRebuilt" | "creator.status.alreadySavedCompilingPreview" | "creator.status.alreadySavedShaCompilingPreview" | "creator.status.alreadySavedPreviewFailed" | "creator.status.alreadySavedShaPreviewFailed" | "creator.status.previewReady" | "creator.status.alreadyRunning" | "creator.status.needsRefresh" | "creator.status.limitReached" | "creator.status.rateLimited" | "creator.status.failedWithReason" | "creator.status.reconnected" | "creator.conversation.version" | "creator.conversation.previousVersion" | "creator.conversation.restoredFromCommit" | "creator.conversation.completedCommitPreviewLoading" | "creator.conversation.completedCommitPreviewReady" | "creator.conversation.completedPreviewLoading" | "creator.conversation.codeSavedShaBuilding" | "creator.conversation.codeSavedShaLoading" | "creator.conversation.codeSavedShaRebuilt" | "creator.conversation.codeSavedCommitPreviewFailed" | "creator.conversation.stoppedRetryPrompt" | "creator.conversation.previewRecompiled" | "creator.conversation.previewRecompiledCommitPart" | "creator.conversation.previewRecompiledDurationPart" | "creator.conversation.alreadyDoneWithCommit" | "creator.conversation.alreadyDone" | "creator.conversation.alreadyDoneFilesSuffix" | "creator.conversation.convert" | "creator.conversation.widgetConversion" | "creator.error.generationFailedWhileYouWere" | "creator.error.generationTrackingLost" | "creator.error.unableToResolveRepositoryFor" | "creator.error.authenticationExpiredPleaseLoginAgain" | "creator.error.cannotTrackCodeGenerationProgress" | "creator.error.usageLimitExceeded" | "creator.error.tooManyRequestsPleaseTry" | "creator.error.codeGenerationFailed" | "creator.error.widgetBuilderIsNotReachable" | "creator.error.buildRequestFailed" | "creator.error.notAuthenticated" | "creator.error.apiClientIsNotConfigured" | "creator.error.publishedVersionIsNotAvailable" | "creator.error.failedToCompileWidgetCode" | "creator.error.previewNotReadyYetClick" | "creator.error.previewNotReadyYetClickRebuild" | "creator.error.previewLoadedButTheWidget" | "creator.error.previewTimedOutTheDev" | "creator.error.couldNotOpenPreviewUrl" | "creator.error.couldNotFetchThePreview" | "creator.error.widgetPreviewRuntimeErrorHttp" | "creator.error.previewBuildFailed" | "creator.error.savedCodeCouldNotBeCompiled" | "creator.error.couldNotReachThePreview" | "creator.error.previewRebuildIsUnavailableIn" | "creator.error.previewBuilderIsUnavailableThe" | "creator.error.previewBuilderReturnedAnUnexpected" | "creator.error.anUnknownErrorOccurred" | "creator.error.couldNotReachTheServer" | "creator.error.buildFailed" | "creator.details.fixThePromptOrAttachments" | "creator.details.codeGenerationWillStartShortly" | "creator.details.saveWillExecuteShortly" | "creator.details.codeGenerationQueued" | "creator.details.saveQueued" | "creator.details.closeWidgetDetails" | "creator.details.widgetDraft" | "creator.details.createWidgetCode" | "creator.details.create" | "creator.details.editComposition" | "creator.details.publishTheWidgetToEdit" | "creator.details.edit" | "creator.details.embedThePublishedWidget" | "creator.details.publishTheWidgetToGet" | "creator.details.embed" | "creator.details.openLivePreview" | "creator.details.closeLivePreview" | "creator.details.showLivePreview" | "creator.details.preview" | "creator.details.dragToResizeChatPreview" | "creator.details.livePreview" | "creator.details.recompileWidgetCodeForPreview" | "creator.details.rebuilding" | "creator.details.rebuild" | "creator.details.clickToFocusThisWidget" | "creator.details.livePreviewBelow" | "creator.details.generatingCode" | "creator.details.loadingPreview" | "creator.details.sketchDraft" | "creator.details.yourSketchIsStillOn" | "creator.details.sendThePromptInChat" | "creator.details.preparingWidget" | "creator.details.settingUpRepository" | "creator.details.widgetHasNoRepository" | "creator.details.repositoryCreationFailedPreviouslyClick" | "creator.details.createRepository" | "creator.details.noCodeYet" | "creator.details.writeAPromptAndGenerate" | "creator.details.generateNow" | "creator.details.previewUnavailable" | "creator.details.rebuildCode" | "creator.details.fixCompileError" | "creator.details.retryBuild" | "creator.details.retry" | "creator.details.buildingPreview" | "creator.details.compilingWidgetCode" | "creator.details.previewWillAppearAfterCode" | "creator.details.resizePanel" | "creator.details.resizeWidth" | "creator.details.resizeHeight" | "creator.brandKit.addFont" | "creator.brandKit.fontLabel" | "creator.brandKit.brandKit" | "creator.brandKit.languageIsFixedAfterThe" | "creator.brandKit.selectLanguage" | "creator.brandKit.libraries" | "creator.brandKit.addLibrary" | "creator.brandKit.uploadLibrary" | "creator.brandKit.removeLibrary" | "creator.brandKit.replacesTheWidgeticPaletteFor" | "creator.brandKit.colorPalette" | "creator.brandKit.primary" | "creator.brandKit.secondary" | "creator.brandKit.title" | "creator.brandKit.sub" | "creator.brandKit.fonts" | "creator.brandKit.font" | "creator.brandKit.removeFont" | "creator.brandKit.uploadFonts" | "creator.brandKit.uploadAFontFileOr" | "creator.brandKit.urlArchiveWoff2TtfOtf" | "creator.brandKit.removeUploadedFont" | "creator.brandKit.icons" | "creator.brandKit.addIconLibrary" | "creator.brandKit.removeIconLibrary" | "creator.brandKit.uploadCustomLibraryTooltip" | "creator.brandKit.uploadIconLibraryTooltip" | "creator.brandKit.urlLibraries" | "creator.brandKit.urlIcons" | "creator.livePreviews.dragWidget" | "creator.livePreviews.primaryWidget" | "creator.livePreviews.setPrimary" | "creator.livePreviews.publishLatest" | "creator.livePreviews.currentlyLive" | "creator.livePreviews.makeThisVersionLive" | "creator.livePreviews.publishThisDraft" | "creator.livePreviews.noCommitToPublish" | "creator.livePreviews.currentVersion" | "creator.livePreviews.editMode" | "creator.livePreviews.refreshPreview" | "creator.livePreviews.refresh" | "creator.livePreviews.openChat" | "creator.livePreviews.chat" | "creator.livePreviews.liveWidgetPreview" | "creator.livePreviews.building" | "creator.versions.addTitle" | "creator.versions.renameVersion" | "creator.versions.addVersionTitle" | "creator.versions.addATitleForThis" | "creator.versions.notPublishedPreviewOnly" | "creator.versions.live" | "creator.selector.select" | "creator.selector.doubleClickToRename" | "creator.selector.toggleList" | "creator.selector.noItemsFound" | "creator.name.unnamed" | "creator.name.saveName" | "creator.name.renameWidget" | "creator.designEdit.shownAsAppliedTheseControls" | "creator.designEdit.notAvailableInThisWidget" | "creator.fileSource.uploadFile" | "creator.fileSource.url" | "creator.elementSelector.removeSelectedElement" | "creator.elementSelector.clickPartToReference" | "creator.elementSelector.parentChild" | "creator.elementSelector.hold" | "creator.elementSelector.cmdCtrl" | "creator.elementSelector.toInteract" | "creator.elementSelector.esc" | "creator.elementSelector.done">;
801
+ export declare const translateEnglish: import("@widgetic/design-system/i18n").Translate<"creator.common.close" | "creator.common.new" | "creator.common.doubleClickToRename" | "creator.common.thisAppNeedsARefresh" | "creator.common.reload" | "creator.common.publish" | "creator.common.switchVersion" | "creator.common.live" | "creator.common.buildThisDraftVersionAnd" | "creator.common.setLive" | "creator.common.retry" | "creator.common.delete" | "creator.common.draft" | "creator.common.loading" | "creator.general.unknownError" | "creator.general.couldNotLoadUploadedImage" | "creator.general.tryUploadingTheImageAgain" | "creator.general.uploadFailed" | "creator.general.couldNotUpdateConversationStatus" | "creator.general.changeUndone" | "creator.general.failedToLoadEditorSettings" | "creator.general.setTo" | "creator.general.failedToUpdate" | "creator.general.failedToSaveDimensions" | "creator.general.nothingToSave" | "creator.general.serviceTemporarilyUnavailable" | "creator.general.retryingWhenTheApiIs" | "creator.general.invalidFileType" | "creator.general.pleaseSelectAnImageFile" | "creator.general.imageTooLarge" | "creator.general.maximumImageSizeIsMb" | "creator.general.tooManyImages" | "creator.general.maximumImagesAllowedRemoveAn" | "creator.general.failedToProcessImage" | "creator.general.couldNotReadTheImage" | "creator.general.imagePasted" | "creator.general.screenshotCaptureFailed" | "creator.general.missingOperationId" | "creator.general.switchToThatPanelTo" | "creator.general.limitReached" | "creator.general.rateLimited" | "creator.general.theApiRateLimitWas" | "creator.general.liveV" | "creator.general.anUnexpectedErrorOccurredPlease" | "creator.general.latestCommitIsAlreadyLive" | "creator.general.theServerRefusedTheRename" | "creator.general.checkYourConnectionAndTry" | "creator.general.unableToReachTheApi" | "creator.general.pleaseWaitForTheCurrent" | "creator.general.created" | "creator.general.saveBlocked" | "creator.general.keptALocalCopyCheck" | "creator.general.apiClientUnavailable" | "creator.general.screenshotCouldNotBeCaptured" | "creator.general.fixTheSelectionZoomOut" | "creator.general.checkConsoleForDetails" | "creator.general.retryLoad" | "creator.general.dismiss" | "creator.general.saving" | "creator.general.saved" | "creator.general.saveError" | "creator.general.loadingHistory" | "creator.general.upgrade" | "creator.general.fixInCreate" | "creator.general.save" | "creator.general.cancel" | "creator.general.noEditableSettingsAvailableYet" | "creator.general.dimensions" | "creator.general.w" | "creator.general.h" | "creator.general.px" | "creator.general.copy" | "creator.general.testPage" | "creator.general.zoomedReference" | "creator.general.keepInDatabase" | "creator.general.deleteFromDatabase" | "creator.general.checkingWhatWillBeDeleted" | "creator.general.describeWhatYouWant" | "creator.session.endedStartAgain" | "creator.session.canvasCannotOpen" | "creator.session.sessionEnded" | "creator.session.sessionExpiredSignInAgain" | "creator.session.sessionExpired" | "creator.session.authenticationExpired" | "creator.session.pleaseLoginAgainToContinue" | "creator.session.signInAgainToPublish" | "creator.session.loginRequiredToDuplicateWidget" | "creator.session.pleaseLoginFirst" | "creator.session.authenticationRequired" | "creator.session.pleaseLoginBeforeCreatingA" | "creator.session.thisWidgetReferencesARepository" | "creator.session.signInAgainThenRetry" | "creator.widget.notFound" | "creator.widget.fallbackName" | "creator.widget.noWidgetSelected" | "creator.widget.shapeRemoved" | "creator.widget.widgetKeptInDatabase" | "creator.widget.widgetDeletedFromDatabase" | "creator.widget.widgetWasAlreadyDeleted" | "creator.widget.failedToDeleteWidgetFrom" | "creator.widget.selectAWidgetFirst" | "creator.widget.duplicateFromTheHeaderCopies" | "creator.widget.failedToLoadWidgets" | "creator.widget.couldNotRestoreShapesYet" | "creator.widget.widgetRenamedTo" | "creator.widget.failedToRenameWidget" | "creator.widget.capturingWidgetScreenshot" | "creator.widget.widgetsApiClientIsNot" | "creator.widget.unlinkedWidgetShape" | "creator.widget.duplicatingWidget" | "creator.widget.failedToDuplicateWidget" | "creator.widget.widgetDuplicated" | "creator.widget.widgetKeptInDatabase2" | "creator.widget.youCanKeepEditingWidgets" | "creator.widget.widgetDraftCreated" | "creator.widget.failedToPrepareWidgetDraft" | "creator.widget.failedToCreateWidgetFrom" | "creator.widget.widgetCreatedButNoId" | "creator.widget.widgetCreated" | "creator.widget.failedToFinalizeWidgetConversion" | "creator.widget.repoIdToDeleteUse" | "creator.widget.restoreShapes" | "creator.widget.directWidgetUrl" | "creator.widget.deleteWidgetShape" | "creator.widget.theseWidgetsBelongToMore" | "creator.canvas.appearsEmptyButWidgets" | "creator.canvas.restoredShapes" | "creator.canvas.removedTheLeftoverShapeFrom" | "creator.canvas.clickAWidgetOnThe" | "creator.canvas.canvasIsNotReadyYet" | "creator.canvas.failedToLoadCanvases" | "creator.canvas.couldNotDeleteThisCanvas" | "creator.canvas.noCanvasIdCannotLoad" | "creator.canvas.canvasMayStillBeLoading" | "creator.canvas.widgetPreviewUpdatedOnCanvas" | "creator.canvas.widgetCanvasAndRepositoryAre" | "creator.canvas.canvasIsRequiredBeforePublishing" | "creator.canvas.thisShapePointsToA" | "creator.canvas.shapeRemovedFromCanvas" | "creator.canvas.canvasIsTakingLongerThan" | "creator.canvas.canvasShapesFailedToRender" | "creator.canvas.failedToLoadCanvasFrom" | "creator.canvas.canvasLoadFailedCheckSupabase" | "creator.canvas.apiMayBeThrottledOr" | "creator.canvas.canvasSnapshotLookedEmptyRefresh" | "creator.canvas.canvasSaved" | "creator.canvas.sketchRestored" | "creator.canvas.canvasSaveFailed" | "creator.canvas.canvasSavedLocally" | "creator.canvas.noCanvasIdYet" | "creator.canvas.canvasUnavailable" | "creator.canvas.canvasShapesFailedToLoad" | "creator.canvas.shapeDataMayBeMissing" | "creator.canvas.deleteCanvas" | "creator.composition.compositionCreated" | "creator.composition.failedToCreateComposition" | "creator.composition.compositionSaved" | "creator.composition.compositionRenamed" | "creator.composition.failedToRenameComposition" | "creator.composition.compositionDeleted" | "creator.composition.failedToDeleteComposition" | "creator.composition.fixTheSyntaxErrorIn" | "creator.composition.compositions" | "creator.composition.selectComposition" | "creator.composition.deleteThisComposition" | "creator.composition.webComponentFormatRequiresA" | "creator.composition.compositionUrl" | "creator.codegen.referenceImages" | "creator.codegen.referenceNumber" | "creator.codegen.missingReferenceImage" | "creator.codegen.unreadableAttachmentsTitle" | "creator.codegen.unreadableAttachments" | "creator.codegen.missingImageError" | "creator.codegen.visionModelNote" | "creator.codegen.noImageTitle" | "creator.codegen.repositoryCreated" | "creator.codegen.failedToCreateRepository" | "creator.codegen.noVisionNote" | "creator.codegen.codeRevertedToCommitRefreshing" | "creator.codegen.widgetCodeAtCommitRefreshing" | "creator.codegen.gitRollbackMayNotHave" | "creator.codegen.codeGenerationCompleted" | "creator.codegen.generationInProgress" | "creator.codegen.reconnectedToAnActiveCode" | "creator.codegen.generationStopped" | "creator.codegen.codeGenerationWasCancelledYou" | "creator.codegen.couldNotStopGeneration" | "creator.codegen.generationMayStillBeRunning" | "creator.codegen.imageAddedToYourPrompt" | "creator.codegen.generateCodeFirstToCapture" | "creator.codegen.previewIsMissingTheCapture" | "creator.codegen.promptTooShort" | "creator.codegen.pleaseProvideAPromptWith" | "creator.codegen.mockCodeGenerated" | "creator.codegen.thisIsASimulationNo" | "creator.codegen.missingRepository" | "creator.codegen.coderVision" | "creator.codegen.answeredWithoutGenerating" | "creator.codegen.noGenerationStarted" | "creator.codegen.cannotTrackCodeGenerationProgress" | "creator.codegen.aiGeneratedInvalidSvelteSyntax" | "creator.codegen.codeSavedRebuildingPreview" | "creator.codegen.codeWasNotSaved" | "creator.codegen.codeWasNotSavedToTheRepository" | "creator.codegen.retrySavesItAndRecordsAVersion" | "creator.codegen.generationCompleted" | "creator.codegen.codeSavedPreviewIsLoading" | "creator.codegen.generationAlreadyInProgress" | "creator.codegen.anotherCodeGenerationIsAlready" | "creator.codegen.teammateIsGeneratingSince" | "creator.codegen.generationRunningInTheWidget" | "creator.codegen.yourGenerationRunsElsewhere" | "creator.codegen.newerCodeWasSaved" | "creator.codegen.chosenVersionIsOutOfDate" | "creator.codegen.codeGenerationError" | "creator.codegen.imagePastedToPrompt" | "creator.codegen.codeGenerationInProgressWait" | "creator.codegen.repositoryMissingUseRebuildCode" | "creator.codegen.buildFailedCheckLogsFor" | "creator.codegen.createdWithExistingCode" | "creator.codegen.editTheSketchFreelySending" | "creator.codegen.isReadyGenerationStarted" | "creator.codegen.repositoryIsNowLinkedTo" | "creator.codegen.repositoryExists" | "creator.codegen.repositoryOwnedByAnotherAccount" | "creator.codegen.repositoryFound" | "creator.codegen.linkedToRepository" | "creator.codegen.repositoryReferenceInvalid" | "creator.codegen.supabaseDoesNotHaveThis" | "creator.codegen.unableToVerifyRepositoryStatus" | "creator.codegen.repositoryVerificationFailed" | "creator.codegen.repositoryCreationFailed" | "creator.codegen.couldNotDetermineRepositoryId" | "creator.codegen.repositoryCreatedButNotPersisted" | "creator.codegen.repositoryExistsButFailedTo" | "creator.codegen.repositoryReadyForUse" | "creator.codegen.previewBuilderIsUnavailable" | "creator.codegen.theWidgetCodeWasSaved" | "creator.codegen.rebuildInCreate" | "creator.codegen.codeDoesNotCompile" | "creator.codegen.latestCodeDoesNotCompile" | "creator.codegen.generateCodeFirstToCustomize" | "creator.codegen.noWidgetCodeYet" | "creator.codegen.goToStep1Create" | "creator.codegen.confirmCodeGeneration" | "creator.codegen.reviewThePromptAndReference" | "creator.codegen.describeTheWidgetYouWant" | "creator.codegen.prompt" | "creator.codegen.editPromptFirst" | "creator.codegen.generateNow" | "creator.preview.newerThanLive" | "creator.preview.mayShowLive" | "creator.preview.rebuilt" | "creator.preview.versionHasCodeError" | "creator.preview.versionCouldNotLoad" | "creator.preview.versionHourlyLimit" | "creator.preview.recompiledIn" | "creator.preview.commitRefreshed" | "creator.preview.noValidPreviewAvailable" | "creator.preview.theWidgetDidNotRespond" | "creator.preview.captureErrorRefreshThePreview" | "creator.preview.imageWaitsForGeneration" | "creator.preview.savingImage" | "creator.preview.imageSaved" | "creator.preview.couldNotSaveImage" | "creator.preview.imageNotReturned" | "creator.version.checkpointRestored" | "creator.version.restoreCompletedWithWarnings" | "creator.version.failedToRestoreCheckpoint" | "creator.version.restoreRefusedWhileGenerating" | "creator.version.restoreRefusedNewerCode" | "creator.version.restoreRefusedLatestCodeUnknown" | "creator.version.versionIsNowLive" | "creator.version.version" | "creator.version.theSelectedDraftVersionWas" | "creator.version.thisIsADraftVersion" | "creator.version.thisVersionIsNowWhat" | "creator.version.versionRenamed" | "creator.version.versionTitleCleared" | "creator.version.couldNotRenameTheVersion" | "creator.version.closeVersionHistory" | "creator.publish.cannotPublish" | "creator.publish.noEditableSettingsFoundGenerate" | "creator.publish.publishingViaWidgetBuilder" | "creator.publish.widgetPublished" | "creator.publish.publishedAutomaticallyAfterCodeGeneration" | "creator.publish.publishFailed" | "creator.publish.publishing" | "creator.publish.publishingInProgress" | "creator.publish.anotherWidgetIsPublishingWait" | "creator.publish.publishIsRunningInAnother" | "creator.publish.thisVersionIsAlreadyPublished" | "creator.publish.thisDraftHasNoRecorded" | "creator.publish.generateWidgetCodeBeforePublishing" | "creator.publish.publishWidget" | "creator.publish.publishChanges" | "creator.publish.noNewVersionToPublish" | "creator.publish.publishNewV" | "creator.publish.generateOrRebuildSoWe" | "creator.publish.cannotPublishYet" | "creator.publish.publishedVSuccessfully" | "creator.publish.published" | "creator.publish.widgetPublishFailed" | "creator.publish.failedToLoadPublishHistory" | "creator.publish.pressPublishToMakeThe" | "creator.publish.failedToSetLiveVersion" | "creator.publish.publishTheLatestGeneratedCode" | "creator.publish.liveGenerateNewCodeTo" | "creator.publish.publishThisVersionSoVisitors" | "creator.publish.noHistoryRecordsYetGenerate" | "creator.publish.retryPublish" | "creator.publish.notPublishedYet" | "creator.publish.generateOnCreatePreviewThe" | "creator.publish.widgetNotPublishedYet" | "creator.publish.publishYourWidgetFromThe" | "creator.publish.publishYourWidgetFromTheCreate" | "creator.embed.codeTitle" | "creator.embed.formatIframe" | "creator.embed.formatWebComponent" | "creator.embed.copied" | "creator.embed.versionIsLiveAndReady" | "creator.embed.embedYourWidget" | "creator.embed.setDimensionsAndCopyThe" | "creator.embed.embedWidth" | "creator.embed.embedHeight" | "creator.embed.copyEmbedCode" | "creator.embed.embedFormat" | "creator.dialog.removeShape" | "creator.dialog.alsoDeleteWidget" | "creator.dialog.deleteCanvas" | "creator.dialog.alsoDeleteWidgets" | "creator.status.label" | "creator.status.preparingCodeGeneration" | "creator.status.ready" | "creator.status.completedPreviewReady" | "creator.status.generationCompletePreviewReady" | "creator.status.completedAutoSaving" | "creator.status.completedSaved" | "creator.status.completedChangesSaved" | "creator.status.failed" | "creator.status.stoppedByUser" | "creator.status.fixingCompilationErrors" | "creator.status.generatingMockCode" | "creator.status.mockCodeComplete" | "creator.status.processingQueuedRequest" | "creator.status.sessionExpired" | "creator.status.repositoryRequired" | "creator.status.runningQueued" | "creator.status.repositoryReady" | "creator.status.answeredFromDetails" | "creator.status.needMoreDetail" | "creator.status.noGenerationNeeded" | "creator.status.authenticationExpired" | "creator.status.noOperationId" | "creator.status.processingQueued" | "creator.status.inProgress" | "creator.status.generating" | "creator.status.generatingProgress" | "creator.status.savedBuildingPreview" | "creator.status.savedLoadingPreview" | "creator.status.savedPreviewRebuilt" | "creator.status.alreadySavedCompilingPreview" | "creator.status.alreadySavedShaCompilingPreview" | "creator.status.alreadySavedPreviewFailed" | "creator.status.alreadySavedShaPreviewFailed" | "creator.status.previewReady" | "creator.status.alreadyRunning" | "creator.status.needsRefresh" | "creator.status.limitReached" | "creator.status.rateLimited" | "creator.status.failedWithReason" | "creator.status.reconnected" | "creator.conversation.version" | "creator.conversation.previousVersion" | "creator.conversation.restoredFromCommit" | "creator.conversation.completedCommitPreviewLoading" | "creator.conversation.completedCommitPreviewReady" | "creator.conversation.completedPreviewLoading" | "creator.conversation.codeSavedShaBuilding" | "creator.conversation.codeSavedShaLoading" | "creator.conversation.codeSavedShaRebuilt" | "creator.conversation.codeSavedCommitPreviewFailed" | "creator.conversation.stoppedRetryPrompt" | "creator.conversation.previewRecompiled" | "creator.conversation.previewRecompiledCommitPart" | "creator.conversation.previewRecompiledDurationPart" | "creator.conversation.alreadyDoneWithCommit" | "creator.conversation.alreadyDone" | "creator.conversation.alreadyDoneFilesSuffix" | "creator.conversation.convert" | "creator.conversation.widgetConversion" | "creator.error.generationFailedWhileYouWere" | "creator.error.generationTrackingLost" | "creator.error.unableToResolveRepositoryFor" | "creator.error.authenticationExpiredPleaseLoginAgain" | "creator.error.cannotTrackCodeGenerationProgress" | "creator.error.usageLimitExceeded" | "creator.error.tooManyRequestsPleaseTry" | "creator.error.codeGenerationFailed" | "creator.error.widgetBuilderIsNotReachable" | "creator.error.buildRequestFailed" | "creator.error.notAuthenticated" | "creator.error.apiClientIsNotConfigured" | "creator.error.publishedVersionIsNotAvailable" | "creator.error.failedToCompileWidgetCode" | "creator.error.previewNotReadyYetClick" | "creator.error.previewNotReadyYetClickRebuild" | "creator.error.previewLoadedButTheWidget" | "creator.error.previewTimedOutTheDev" | "creator.error.couldNotOpenPreviewUrl" | "creator.error.couldNotFetchThePreview" | "creator.error.widgetPreviewRuntimeErrorHttp" | "creator.error.previewBuildFailed" | "creator.error.savedCodeCouldNotBeCompiled" | "creator.error.couldNotReachThePreview" | "creator.error.previewRebuildIsUnavailableIn" | "creator.error.previewBuilderIsUnavailableThe" | "creator.error.previewBuilderReturnedAnUnexpected" | "creator.error.anUnknownErrorOccurred" | "creator.error.couldNotReachTheServer" | "creator.error.buildFailed" | "creator.details.fixThePromptOrAttachments" | "creator.details.codeGenerationWillStartShortly" | "creator.details.saveWillExecuteShortly" | "creator.details.codeGenerationQueued" | "creator.details.saveQueued" | "creator.details.closeWidgetDetails" | "creator.details.widgetDraft" | "creator.details.createWidgetCode" | "creator.details.create" | "creator.details.editComposition" | "creator.details.publishTheWidgetToEdit" | "creator.details.edit" | "creator.details.embedThePublishedWidget" | "creator.details.publishTheWidgetToGet" | "creator.details.embed" | "creator.details.openLivePreview" | "creator.details.closeLivePreview" | "creator.details.showLivePreview" | "creator.details.preview" | "creator.details.dragToResizeChatPreview" | "creator.details.livePreview" | "creator.details.recompileWidgetCodeForPreview" | "creator.details.rebuilding" | "creator.details.rebuild" | "creator.details.clickToFocusThisWidget" | "creator.details.livePreviewBelow" | "creator.details.generatingCode" | "creator.details.loadingPreview" | "creator.details.sketchDraft" | "creator.details.yourSketchIsStillOn" | "creator.details.sendThePromptInChat" | "creator.details.preparingWidget" | "creator.details.settingUpRepository" | "creator.details.widgetHasNoRepository" | "creator.details.repositoryCreationFailedPreviouslyClick" | "creator.details.createRepository" | "creator.details.noCodeYet" | "creator.details.writeAPromptAndGenerate" | "creator.details.generateNow" | "creator.details.previewUnavailable" | "creator.details.rebuildCode" | "creator.details.fixCompileError" | "creator.details.retryBuild" | "creator.details.retry" | "creator.details.buildingPreview" | "creator.details.compilingWidgetCode" | "creator.details.previewWillAppearAfterCode" | "creator.details.resizePanel" | "creator.details.resizeWidth" | "creator.details.resizeHeight" | "creator.brandKit.languageIsFixedAfterThe" | "creator.brandKit.selectLanguage" | "creator.brandKit.libraries" | "creator.brandKit.addLibrary" | "creator.brandKit.uploadLibrary" | "creator.brandKit.removeLibrary" | "creator.brandKit.uploadCustomLibraryTooltip" | "creator.brandKit.urlLibraries" | "creator.livePreviews.dragWidget" | "creator.livePreviews.primaryWidget" | "creator.livePreviews.setPrimary" | "creator.livePreviews.publishLatest" | "creator.livePreviews.currentlyLive" | "creator.livePreviews.makeThisVersionLive" | "creator.livePreviews.publishThisDraft" | "creator.livePreviews.noCommitToPublish" | "creator.livePreviews.currentVersion" | "creator.livePreviews.editMode" | "creator.livePreviews.refreshPreview" | "creator.livePreviews.refresh" | "creator.livePreviews.openChat" | "creator.livePreviews.chat" | "creator.livePreviews.liveWidgetPreview" | "creator.livePreviews.building" | "creator.versions.addTitle" | "creator.versions.renameVersion" | "creator.versions.addVersionTitle" | "creator.versions.addATitleForThis" | "creator.versions.notPublishedPreviewOnly" | "creator.versions.live" | "creator.selector.select" | "creator.selector.doubleClickToRename" | "creator.selector.toggleList" | "creator.selector.noItemsFound" | "creator.name.unnamed" | "creator.name.saveName" | "creator.name.renameWidget" | "creator.designEdit.shownAsAppliedTheseControls" | "creator.designEdit.notAvailableInThisWidget" | "creator.fileSource.uploadFile" | "creator.fileSource.url" | "creator.elementSelector.removeSelectedElement" | "creator.elementSelector.clickPartToReference" | "creator.elementSelector.parentChild" | "creator.elementSelector.hold" | "creator.elementSelector.cmdCtrl" | "creator.elementSelector.toInteract" | "creator.elementSelector.esc" | "creator.elementSelector.done">;
@@ -479,35 +479,14 @@ export declare const CREATOR_MESSAGES: {
479
479
  readonly 'creator.details.resizePanel': "Resize panel";
480
480
  readonly 'creator.details.resizeWidth': "Resize width";
481
481
  readonly 'creator.details.resizeHeight': "Resize height";
482
- readonly 'creator.brandKit.addFont': "+ Font";
483
- readonly 'creator.brandKit.fontLabel': "Font";
484
- readonly 'creator.brandKit.brandKit': "Brand kit";
485
482
  readonly 'creator.brandKit.languageIsFixedAfterThe': "Language is fixed after the first generation";
486
483
  readonly 'creator.brandKit.selectLanguage': "Select language";
487
484
  readonly 'creator.brandKit.libraries': "Libraries";
488
485
  readonly 'creator.brandKit.addLibrary': "Add Library";
489
486
  readonly 'creator.brandKit.uploadLibrary': "Upload library";
490
487
  readonly 'creator.brandKit.removeLibrary': "Remove library";
491
- readonly 'creator.brandKit.replacesTheWidgeticPaletteFor': "Replaces the Widgetic palette for this generation.";
492
- readonly 'creator.brandKit.colorPalette': "Color palette";
493
- readonly 'creator.brandKit.primary': "Primary";
494
- readonly 'creator.brandKit.secondary': "Secondary";
495
- readonly 'creator.brandKit.title': "Title";
496
- readonly 'creator.brandKit.sub': "Sub";
497
- readonly 'creator.brandKit.fonts': "Fonts";
498
- readonly 'creator.brandKit.font': "Font {number}";
499
- readonly 'creator.brandKit.removeFont': "Remove font";
500
- readonly 'creator.brandKit.uploadFonts': "Upload Fonts";
501
- readonly 'creator.brandKit.uploadAFontFileOr': "Upload a font file or an archive.";
502
- readonly 'creator.brandKit.urlArchiveWoff2TtfOtf': "URL (archive, .woff2, .ttf, .otf)";
503
- readonly 'creator.brandKit.removeUploadedFont': "Remove uploaded font";
504
- readonly 'creator.brandKit.icons': "Icons";
505
- readonly 'creator.brandKit.addIconLibrary': "Add icon library";
506
- readonly 'creator.brandKit.removeIconLibrary': "Remove icon library";
507
488
  readonly 'creator.brandKit.uploadCustomLibraryTooltip': "Upload your custom library.";
508
- readonly 'creator.brandKit.uploadIconLibraryTooltip': "Upload your icon library.";
509
489
  readonly 'creator.brandKit.urlLibraries': "URL (git, archive, .js, .ts, {extension})";
510
- readonly 'creator.brandKit.urlIcons': "URL (git, archive, .svg, {extension})";
511
490
  readonly 'creator.livePreviews.dragWidget': "Drag widget";
512
491
  readonly 'creator.livePreviews.primaryWidget': "Primary widget";
513
492
  readonly 'creator.livePreviews.setPrimary': "Set primary";
@@ -497,36 +497,15 @@ export const CREATOR_MESSAGES = {
497
497
  'creator.details.resizePanel': 'Resize panel',
498
498
  'creator.details.resizeWidth': 'Resize width',
499
499
  'creator.details.resizeHeight': 'Resize height',
500
- // The brand kit panel: language, libraries, palette, fonts and icons.
501
- 'creator.brandKit.addFont': '+ Font',
502
- 'creator.brandKit.fontLabel': 'Font',
503
- 'creator.brandKit.brandKit': 'Brand kit',
500
+ // Generation options in chat: language (debug) and custom libraries (debug).
504
501
  'creator.brandKit.languageIsFixedAfterThe': 'Language is fixed after the first generation',
505
502
  'creator.brandKit.selectLanguage': 'Select language',
506
503
  'creator.brandKit.libraries': 'Libraries',
507
504
  'creator.brandKit.addLibrary': 'Add Library',
508
505
  'creator.brandKit.uploadLibrary': 'Upload library',
509
506
  'creator.brandKit.removeLibrary': 'Remove library',
510
- 'creator.brandKit.replacesTheWidgeticPaletteFor': 'Replaces the Widgetic palette for this generation.',
511
- 'creator.brandKit.colorPalette': 'Color palette',
512
- 'creator.brandKit.primary': 'Primary',
513
- 'creator.brandKit.secondary': 'Secondary',
514
- 'creator.brandKit.title': 'Title',
515
- 'creator.brandKit.sub': 'Sub',
516
- 'creator.brandKit.fonts': 'Fonts',
517
- 'creator.brandKit.font': 'Font {number}',
518
- 'creator.brandKit.removeFont': 'Remove font',
519
- 'creator.brandKit.uploadFonts': 'Upload Fonts',
520
- 'creator.brandKit.uploadAFontFileOr': 'Upload a font file or an archive.',
521
- 'creator.brandKit.urlArchiveWoff2TtfOtf': 'URL (archive, .woff2, .ttf, .otf)',
522
- 'creator.brandKit.removeUploadedFont': 'Remove uploaded font',
523
- 'creator.brandKit.icons': 'Icons',
524
- 'creator.brandKit.addIconLibrary': 'Add icon library',
525
- 'creator.brandKit.removeIconLibrary': 'Remove icon library',
526
507
  'creator.brandKit.uploadCustomLibraryTooltip': 'Upload your custom library.',
527
- 'creator.brandKit.uploadIconLibraryTooltip': 'Upload your icon library.',
528
508
  'creator.brandKit.urlLibraries': 'URL (git, archive, .js, .ts, {extension})',
529
- 'creator.brandKit.urlIcons': 'URL (git, archive, .svg, {extension})',
530
509
  // The live previews on the canvas shapes.
531
510
  'creator.livePreviews.dragWidget': 'Drag widget',
532
511
  'creator.livePreviews.primaryWidget': 'Primary widget',
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * The three fields of a generation request (`POST /agent/code/generate`) that a request carries only when there is something
3
- * to say, and that an editor session (a partner's customer) may not carry at all.
3
+ * to say.
4
4
  *
5
5
  * - `baseCommitSha`: the older version the person chose to build on, when it is not the head of the code.
6
6
  * - `expectedHeadSha`: the head they chose that version on, so the API can refuse the request, before it charges anything,
@@ -10,21 +10,20 @@
10
10
  * Two things about how they travel, which the generated API client made visible when it was regenerated (1.0.46):
11
11
  *
12
12
  * 1. A field that is there with `null` is a field. The client writes `baseCommitSha: null` into the body when it is given
13
- * `null`, and the gateway's door for an editor session refuses a body with a field it does not list, whatever the value. So
14
- * a field with nothing to say is left out, not sent empty.
15
- * 2. The gateway's list of what an editor session may send in a generation does not have these three (the list is what the
16
- * generation reads for a visitor: the request is refused whole, `403 EDITOR_SESSION_FIELD_NOT_ALLOWED`, and the visitor
17
- * cannot generate at all). The client of the modules until now (1.0.29) did not know the three fields and dropped them
18
- * without a word, so with a session's token the AI has always built on the latest code from the message alone. It still
19
- * does; the creator now says so by leaving them out (`mayNameVersionOrDocumentsInGeneration(token)` of
20
- * `host/creatorHost.ts` is the question; a Shopify store's token is not a session's, has no such door, and so names them).
13
+ * `null`, so a field with nothing to say is left out, not sent empty. (The gateway's door for an editor session judges the
14
+ * names of the body's keys and not their values, so a `null` would be a field there too; and the request stays as small as
15
+ * it was for the clients that did not know the field.)
16
+ * 2. Every kind of token sends them: a person's login, a Shopify store's session and, since 0.4.34, the token of an editor
17
+ * session (a partner's customer). Until then the gateway's list of what an editor session may send in a generation did not
18
+ * have the three, the whole request was refused (`403 EDITOR_SESSION_FIELD_NOT_ALLOWED`), and the creator left them out
19
+ * for a session's token, so a partner's customer built on the latest code from the message alone. The list has them now
20
+ * (`CREATOR_FIELDS.codeGenerate` of the gateway's `editorSessionSurfaces.ts`), which is why this creator needs a gateway
21
+ * that has them, and why the gateway is released before it.
21
22
  *
22
23
  * It is plain TypeScript with no Svelte in it, so a test can hold it to both.
23
24
  */
24
25
  /** What the creator knows when it builds a generation request. */
25
26
  export interface GenerationVersionAndDocumentInput<TextDocument> {
26
- /** `mayNameVersionOrDocumentsInGeneration(token)`: false for the token of an editor session. */
27
- mayNameVersionOrDocuments: boolean;
28
27
  /** The version the person chose to build on, when it is not the head; null or undefined when they build on the head. */
29
28
  baseCommitSha: string | null | undefined;
30
29
  /** The head they chose that version on; null or undefined when the creator knows no head it could name. */
@@ -39,7 +38,7 @@ export interface GenerationVersionAndDocumentFields<TextDocument> {
39
38
  textDocuments?: TextDocument[];
40
39
  }
41
40
  /**
42
- * The fields to add to a generation request: none for an editor session, and for any other token only the ones that have
43
- * something to say. The head to compare with goes only with a chosen version (it is the head that version was chosen on).
41
+ * The fields to add to a generation request: only the ones that have something to say. The head to compare with goes only
42
+ * with a chosen version (it is the head that version was chosen on).
44
43
  */
45
44
  export declare function generationVersionAndDocumentFields<TextDocument>(input: GenerationVersionAndDocumentInput<TextDocument>): GenerationVersionAndDocumentFields<TextDocument>;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * The three fields of a generation request (`POST /agent/code/generate`) that a request carries only when there is something
3
- * to say, and that an editor session (a partner's customer) may not carry at all.
3
+ * to say.
4
4
  *
5
5
  * - `baseCommitSha`: the older version the person chose to build on, when it is not the head of the code.
6
6
  * - `expectedHeadSha`: the head they chose that version on, so the API can refuse the request, before it charges anything,
@@ -10,25 +10,24 @@
10
10
  * Two things about how they travel, which the generated API client made visible when it was regenerated (1.0.46):
11
11
  *
12
12
  * 1. A field that is there with `null` is a field. The client writes `baseCommitSha: null` into the body when it is given
13
- * `null`, and the gateway's door for an editor session refuses a body with a field it does not list, whatever the value. So
14
- * a field with nothing to say is left out, not sent empty.
15
- * 2. The gateway's list of what an editor session may send in a generation does not have these three (the list is what the
16
- * generation reads for a visitor: the request is refused whole, `403 EDITOR_SESSION_FIELD_NOT_ALLOWED`, and the visitor
17
- * cannot generate at all). The client of the modules until now (1.0.29) did not know the three fields and dropped them
18
- * without a word, so with a session's token the AI has always built on the latest code from the message alone. It still
19
- * does; the creator now says so by leaving them out (`mayNameVersionOrDocumentsInGeneration(token)` of
20
- * `host/creatorHost.ts` is the question; a Shopify store's token is not a session's, has no such door, and so names them).
13
+ * `null`, so a field with nothing to say is left out, not sent empty. (The gateway's door for an editor session judges the
14
+ * names of the body's keys and not their values, so a `null` would be a field there too; and the request stays as small as
15
+ * it was for the clients that did not know the field.)
16
+ * 2. Every kind of token sends them: a person's login, a Shopify store's session and, since 0.4.34, the token of an editor
17
+ * session (a partner's customer). Until then the gateway's list of what an editor session may send in a generation did not
18
+ * have the three, the whole request was refused (`403 EDITOR_SESSION_FIELD_NOT_ALLOWED`), and the creator left them out
19
+ * for a session's token, so a partner's customer built on the latest code from the message alone. The list has them now
20
+ * (`CREATOR_FIELDS.codeGenerate` of the gateway's `editorSessionSurfaces.ts`), which is why this creator needs a gateway
21
+ * that has them, and why the gateway is released before it.
21
22
  *
22
23
  * It is plain TypeScript with no Svelte in it, so a test can hold it to both.
23
24
  */
24
25
  /**
25
- * The fields to add to a generation request: none for an editor session, and for any other token only the ones that have
26
- * something to say. The head to compare with goes only with a chosen version (it is the head that version was chosen on).
26
+ * The fields to add to a generation request: only the ones that have something to say. The head to compare with goes only
27
+ * with a chosen version (it is the head that version was chosen on).
27
28
  */
28
29
  export function generationVersionAndDocumentFields(input) {
29
30
  const fields = {};
30
- if (!input.mayNameVersionOrDocuments)
31
- return fields;
32
31
  if (input.baseCommitSha) {
33
32
  fields.baseCommitSha = input.baseCommitSha;
34
33
  if (input.expectedHeadSha)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@widgetic/creator",
3
- "version": "0.4.33",
3
+ "version": "0.4.35",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "type": "module",
6
6
  "peerDependencies": {