@workflow-code/cli 0.2.4-20260922001 → 0.2.4-20260928002
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/{chunk-BBQ4K7IP.js → chunk-24EFJMHA.js} +330 -78
- package/dist/{chunk-TD4BZWNE.js → chunk-QRUACHXS.js} +1 -1
- package/dist/{chunk-C7SXLSPA.js → chunk-VMFPUXPG.js} +9 -5
- package/dist/index.js +5 -5
- package/dist/{local-UWHFTRXA.js → local-TOJX75PL.js} +3 -3
- package/dist/{mcp-S6ZW7BDA.js → mcp-IBG7Q3WR.js} +2 -2
- package/dist/{workspace-66Z2Y5OB.js → workspace-W5CW24NG.js} +30 -29
- package/package.json +5 -5
|
@@ -2421,6 +2421,10 @@ var common = {
|
|
|
2421
2421
|
noArgumentsProvided: "No arguments provided",
|
|
2422
2422
|
submittedUserInput: "Submitted user input",
|
|
2423
2423
|
submittedAt: "Submitted {{time}}",
|
|
2424
|
+
questionStep: "Question {{current}} of {{total}}",
|
|
2425
|
+
previousQuestion: "Previous question",
|
|
2426
|
+
nextQuestion: "Next question",
|
|
2427
|
+
unansweredQuestions: "{{count}} still unanswered",
|
|
2424
2428
|
agree: "Agree",
|
|
2425
2429
|
disagree: "Disagree",
|
|
2426
2430
|
loadEarlierMessagesFailed: "Failed to load earlier messages. Please retry.",
|
|
@@ -2564,7 +2568,7 @@ var common = {
|
|
|
2564
2568
|
deleteConfigurationWarning: "This removes the saved parameter values for this configuration and cannot be undone.",
|
|
2565
2569
|
deleteConfiguration: "Delete configuration",
|
|
2566
2570
|
knowledgeLoadFailedFallback: "Failed to load knowledge base documents.",
|
|
2567
|
-
|
|
2571
|
+
knowledgeLoadPageFailed: "Failed to load that page of knowledge base documents.",
|
|
2568
2572
|
knowledgeSearchFailed: "Failed to search knowledge base documents.",
|
|
2569
2573
|
knowledgeSearchLoadMoreFailed: "Failed to load more search results.",
|
|
2570
2574
|
knowledgeOperationFailed: "Knowledge base operation failed.",
|
|
@@ -2575,6 +2579,8 @@ var common = {
|
|
|
2575
2579
|
loadingDocument: "Loading document",
|
|
2576
2580
|
selectOrNewDocument: "Select or create a document",
|
|
2577
2581
|
viewKnowledgeBaseInfo: "View knowledge base info",
|
|
2582
|
+
refreshKnowledgeBase: "Refresh knowledge base",
|
|
2583
|
+
refreshingKnowledgeBase: "Refreshing knowledge base",
|
|
2578
2584
|
edit: "Edit",
|
|
2579
2585
|
preview: "Preview",
|
|
2580
2586
|
newDocument: "New document",
|
|
@@ -2596,14 +2602,16 @@ var common = {
|
|
|
2596
2602
|
knowledgeBaseInfo: "Knowledge base info",
|
|
2597
2603
|
knowledgeBaseInfoDescription: "The current project's knowledge base documents are isolated from other projects.",
|
|
2598
2604
|
knowledgeDocumentList: "Knowledge base document list",
|
|
2605
|
+
knowledgeDocuments: "Knowledge documents",
|
|
2599
2606
|
loadingKnowledgeBase: "Loading knowledge base",
|
|
2600
2607
|
knowledgeLoadFailed: "Failed to load knowledge base documents",
|
|
2601
2608
|
noDocuments: "No documents yet",
|
|
2602
2609
|
noDocumentsDescription: "Your first Markdown document will appear here.",
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2610
|
+
knowledgeDocumentPagination: "Knowledge base document pages",
|
|
2611
|
+
knowledgeDocumentActions: "Document actions",
|
|
2612
|
+
previousPage: "Previous",
|
|
2613
|
+
nextPage: "Next",
|
|
2614
|
+
pageIndicator: "Page {{current}} of {{total}}",
|
|
2607
2615
|
searchResults: "Search results",
|
|
2608
2616
|
noSearchMatches: "No matches",
|
|
2609
2617
|
searchedDocumentsCount: "Searched {{count}} documents.",
|
|
@@ -3242,7 +3250,7 @@ var desktop = {
|
|
|
3242
3250
|
projectActionSaving: "Saving file",
|
|
3243
3251
|
projectActionRefreshing: "Refreshing files",
|
|
3244
3252
|
projectActionPublishing: "Publishing workflow",
|
|
3245
|
-
|
|
3253
|
+
projectActionRestoringVersion: "Restoring version",
|
|
3246
3254
|
serverNotBound: "No server bound",
|
|
3247
3255
|
serverConnected: "Server connected",
|
|
3248
3256
|
serverNotConnected: "Server not connected",
|
|
@@ -3292,7 +3300,7 @@ var desktop = {
|
|
|
3292
3300
|
homeProjectGraphZoomIn: "Zoom in",
|
|
3293
3301
|
homeProjectGraphZoomOut: "Zoom out",
|
|
3294
3302
|
homeProjectGraphFitView: "Fit graph to view",
|
|
3295
|
-
desktopCloudRunRecordsLabel: "
|
|
3303
|
+
desktopCloudRunRecordsLabel: "Cloud run records",
|
|
3296
3304
|
desktopStatus: "Desktop status",
|
|
3297
3305
|
archiveImportedAs: "{{archiveName}} imported as {{workflowName}}",
|
|
3298
3306
|
assistantTaskOwner: "Assistant \xB7 {{name}}",
|
|
@@ -3389,7 +3397,7 @@ var desktop = {
|
|
|
3389
3397
|
loginToCreateCloudApp: "Sign in to create a cloud app",
|
|
3390
3398
|
loginToViewCloudProjects: "Sign in to view cloud projects",
|
|
3391
3399
|
loginToViewCloudProjectsDescription: "Sign in to view the server projects accessible to your account.",
|
|
3392
|
-
loginToViewCloudRunRecords: "Sign in to view cloud
|
|
3400
|
+
loginToViewCloudRunRecords: "Sign in to view cloud run records.",
|
|
3393
3401
|
modeLocal: "Local",
|
|
3394
3402
|
modeRemote: "Remote",
|
|
3395
3403
|
modeWeb: "Web",
|
|
@@ -3400,7 +3408,7 @@ var desktop = {
|
|
|
3400
3408
|
nextPage: "Next page",
|
|
3401
3409
|
noCloudProjects: "No cloud projects yet",
|
|
3402
3410
|
noCloudProjectsDescription: "The current account has no accessible cloud projects yet.",
|
|
3403
|
-
noCloudRunRecords: "No cloud
|
|
3411
|
+
noCloudRunRecords: "No cloud run records yet.",
|
|
3404
3412
|
noLocalProjects: "No local projects yet",
|
|
3405
3413
|
noLocalProjectsDescription: "Create a new project or import a local folder.",
|
|
3406
3414
|
noLocalRunRecords: "No local run records yet. They will appear here after you run a workflow.",
|
|
@@ -3433,9 +3441,9 @@ var desktop = {
|
|
|
3433
3441
|
scheduleFailedCount: "{{count}} failed",
|
|
3434
3442
|
scheduleFailedCountDetail: "{{count}} failures in locally retained records",
|
|
3435
3443
|
operationFailed: "Operation failed",
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3444
|
+
restoreVersionConfirm: "Restore this version",
|
|
3445
|
+
restoreVersionConfirmDescription: "Restore the local project \u201C{{workflowName}}\u201D to server {{serverVersion}}?",
|
|
3446
|
+
restoreVersionConfirmTitle: "Restore to this version?",
|
|
3439
3447
|
overwriteSourceBackup: "Make sure you have saved or backed up any local changes you want to keep.",
|
|
3440
3448
|
overwriteSourceReplaced: "The local editable source will be fully replaced.",
|
|
3441
3449
|
packageUploaded: "Package uploaded",
|
|
@@ -3466,10 +3474,8 @@ var desktop = {
|
|
|
3466
3474
|
publishServerDraftAfterLogin: "Sign in to publish the server draft",
|
|
3467
3475
|
publishTitle: "Upload all local code and publish",
|
|
3468
3476
|
publishing: "Publishing",
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
pullCodeTitle: "Overwrite local code with the server version",
|
|
3472
|
-
pullingCode: "Pulling",
|
|
3477
|
+
restoreVersion: "Restore version",
|
|
3478
|
+
restoreVersionAction: "Restore version",
|
|
3473
3479
|
quickUpdateTo: "Quick update to {{version}}",
|
|
3474
3480
|
quickUpdateVersion: "Quick update to v{{version}}",
|
|
3475
3481
|
recentRecords: "Recent records",
|
|
@@ -3524,8 +3530,11 @@ var desktop = {
|
|
|
3524
3530
|
save: "Save",
|
|
3525
3531
|
saveLocalCodeTitle: "Save local code",
|
|
3526
3532
|
saving: "Saving",
|
|
3533
|
+
searchKnowledgeDocuments: "Search knowledge documents",
|
|
3527
3534
|
searchProject: "Search projects",
|
|
3528
3535
|
searchProjectPlaceholder: "Search project name or ID",
|
|
3536
|
+
searchRecentTasks: "Search recent tasks",
|
|
3537
|
+
searchRecentTasksPlaceholder: "Search task names or projects",
|
|
3529
3538
|
searchWorkspace: "Search workspaces",
|
|
3530
3539
|
searchWorkspacePlaceholder: "Search workspace name or path",
|
|
3531
3540
|
searchServerVersionPlaceholder: "Search server versions...",
|
|
@@ -3553,6 +3562,7 @@ var desktop = {
|
|
|
3553
3562
|
cloneProjectDescription: `Copies the source of "{{name}}" and lets you set the copy's name and an optional location.`,
|
|
3554
3563
|
cloningProject: "Cloning...",
|
|
3555
3564
|
close: "Close",
|
|
3565
|
+
closeRailSearch: "Close search",
|
|
3556
3566
|
cloudAppCreated: "Cloud app created",
|
|
3557
3567
|
cloudAppNotCreated: "No cloud app created yet",
|
|
3558
3568
|
cloudAppUploadsMetadataOnly: "Only the name, type and card info are uploaded, never the project source.",
|
|
@@ -3751,8 +3761,6 @@ var desktop = {
|
|
|
3751
3761
|
releaseExecutionTargetsDescription: "Choose Server execution and local execution on this device for the immutable version.",
|
|
3752
3762
|
serverCloudExecution: "Server cloud execution",
|
|
3753
3763
|
serverCloudExecutionDescription: "Prepare a Server runtime for runs, Webhook, and schedules.",
|
|
3754
|
-
webExecution: "Web execution",
|
|
3755
|
-
webExecutionDescription: "Mark this version as loadable from the Web entry point and launchable to the Web. Web runs are hosted by Desktop, which must be online.",
|
|
3756
3764
|
kanbanServerExecutionDisabled: "Kanban is statically hosted and does not use the Server executor.",
|
|
3757
3765
|
desktopTargetMacos: "macOS local execution",
|
|
3758
3766
|
desktopTargetWindows: "Windows local execution",
|
|
@@ -3871,6 +3879,7 @@ var desktop = {
|
|
|
3871
3879
|
hideConversationList: "Hide conversation list",
|
|
3872
3880
|
hideDiagnostic: "Hide {{label}}",
|
|
3873
3881
|
hideFileList: "Hide file list",
|
|
3882
|
+
hideKnowledgeRail: "Hide knowledge list",
|
|
3874
3883
|
hideTaskList: "Hide task list",
|
|
3875
3884
|
hideWorkflow: "Hide workflow",
|
|
3876
3885
|
historyRunResult: "History run result",
|
|
@@ -3962,6 +3971,7 @@ var desktop = {
|
|
|
3962
3971
|
selectProjectLoadFile: "Select a workspace and load files",
|
|
3963
3972
|
showConversationHistory: "Show conversation history",
|
|
3964
3973
|
showDiagnostic: "Show {{label}}",
|
|
3974
|
+
showKnowledgeRail: "Show knowledge list",
|
|
3965
3975
|
showRunHistory: "Show run history",
|
|
3966
3976
|
summaryColumn: "Summary",
|
|
3967
3977
|
terminal: "Terminal",
|
|
@@ -4163,7 +4173,7 @@ var desktop = {
|
|
|
4163
4173
|
desktopOnlyClonesLocal: "Desktop only clones local projects.",
|
|
4164
4174
|
backToReview: "Back to review",
|
|
4165
4175
|
bindCloudAppBeforePublish: "Create a cloud app and complete the UUID binding before publishing.",
|
|
4166
|
-
|
|
4176
|
+
builtinProjectCannotRestoreVersion: "Built-in projects cannot restore a remote version. Create a local copy before syncing.",
|
|
4167
4177
|
builtinProjectCannotPublish: "Built-in projects cannot be published directly. Create a local copy first, then publish.",
|
|
4168
4178
|
cannotConnectLocalWorkspace: "Cannot connect to the local workspace.",
|
|
4169
4179
|
cannotConnectServerCheckConfig: "Cannot connect to the server. Check the current Server configuration.",
|
|
@@ -4268,7 +4278,7 @@ var desktop = {
|
|
|
4268
4278
|
publishVersionMessage: "{{name}} was published as {{version}}.",
|
|
4269
4279
|
publishingVersionMessage: "The server draft is ready and the official version is being generated. Stopping only cancels waiting for the result.",
|
|
4270
4280
|
publishingVersionTitle: "Publishing version",
|
|
4271
|
-
|
|
4281
|
+
restoreVersionElectronOnly: "Restoring a version is only supported for Electron local projects.",
|
|
4272
4282
|
requestCancelled: "Request cancelled.",
|
|
4273
4283
|
runCancelled: "Run cancelled",
|
|
4274
4284
|
runCancelledBeforeUserInput: "Workflow run was cancelled before user input was submitted.",
|
|
@@ -4531,19 +4541,6 @@ var desktop = {
|
|
|
4531
4541
|
localProjectAccessRiskSchedules: "Local schedules keep firing in the background once configured.",
|
|
4532
4542
|
localProjectsDisabledScopeHint: "Local projects are turned off. Enable them in Settings to show them here.",
|
|
4533
4543
|
localProjectsGateRunRefused: 'Local project "{{projectName}}" cannot run while local projects are disabled in Settings.',
|
|
4534
|
-
runToWebTitle: "Run {{projectName}} on the Web",
|
|
4535
|
-
runToWebMenuItem: "Run on the Web",
|
|
4536
|
-
runToWebDescription: "Desktop hosts this run and serves the page. Keep Desktop running while the browser is using it.",
|
|
4537
|
-
runToWebStarting: "Preparing the Web session\u2026",
|
|
4538
|
-
runToWebPublicLinkHint: "Open this link in any browser. Anyone who has it can watch this run until the session ends.",
|
|
4539
|
-
runToWebRelayPending: "Desktop is not connected to the relay yet, so this link will not open for anyone else. It keeps trying in the background.",
|
|
4540
|
-
runToWebRelayIdentity: "Relay identity",
|
|
4541
|
-
runToWebLinkHint: "Open this link in a browser on this machine. It carries a single-use token and stops working once used.",
|
|
4542
|
-
runToWebOpen: "Open in browser",
|
|
4543
|
-
runToWebCopy: "Copy link",
|
|
4544
|
-
runToWebUnavailable: "The Desktop Web session could not be started.",
|
|
4545
|
-
runToWebLocalProjectsDisabled: "Local projects are turned off",
|
|
4546
|
-
runToWebLocalProjectsDisabledHint: "Turn local projects on in Settings before launching one to the Web.",
|
|
4547
4544
|
desktopUpdate: "Desktop update",
|
|
4548
4545
|
desktopVersionLine: "Workflow Code Desktop {{version}}",
|
|
4549
4546
|
availableVersionLabel: "Version {{version}}",
|
|
@@ -4834,12 +4831,144 @@ var serverWeb = {
|
|
|
4834
4831
|
accountThemeLightDescription: "Best for daytime browsing and bright-background workflows.",
|
|
4835
4832
|
accountThemeSystem: "Follow system",
|
|
4836
4833
|
accountThemeSystemDescription: "Automatically matches the system light or dark preference.",
|
|
4834
|
+
adminTabAiModels: "AI model attributes",
|
|
4837
4835
|
adminTabAudit: "Audit log",
|
|
4838
4836
|
adminTabRunner: "Runner",
|
|
4839
4837
|
adminTabRoles: "Role management",
|
|
4840
4838
|
adminTabSub2ApiSubscriptions: "Subscription config",
|
|
4841
4839
|
adminTabSub2ApiUserSubscriptions: "User subscriptions",
|
|
4842
4840
|
adminTabUsers: "User management",
|
|
4841
|
+
aiModelAddModel: "Add model manually",
|
|
4842
|
+
aiModelBindingAuto: "Auto match",
|
|
4843
|
+
aiModelBindingCatalog: "Manual binding",
|
|
4844
|
+
aiModelBindingCatalogValue: "{{providerId}} / {{modelId}}",
|
|
4845
|
+
aiModelBindingDescription: "Auto match looks the model id up in the catalogue; manual binding pins one catalogue entry; unbound ignores the catalogue entirely.",
|
|
4846
|
+
aiModelBindingLabel: "Catalogue binding",
|
|
4847
|
+
aiModelBindingPickerClear: "Clear binding",
|
|
4848
|
+
aiModelBindingPickerDescription: "Search the synced pi.dev catalogue and pick the entry this model should use.",
|
|
4849
|
+
aiModelBindingPickerEmptyDescription: "Try another keyword or provider, or sync the catalogue first.",
|
|
4850
|
+
aiModelBindingPickerEmptyTitle: "No matching catalogue entries",
|
|
4851
|
+
aiModelBindingPickerErrorTitle: "Failed to load the catalogue",
|
|
4852
|
+
aiModelBindingPickerLoading: "Loading catalogue entries",
|
|
4853
|
+
aiModelBindingPickerPaginationLabel: "Catalogue entry pagination",
|
|
4854
|
+
aiModelBindingPickerRetry: "Load again",
|
|
4855
|
+
aiModelBindingPickerSearch: "Search",
|
|
4856
|
+
aiModelBindingPickerSearchPlaceholder: "Search model id or name",
|
|
4857
|
+
aiModelBindingPickerSelected: "Selected",
|
|
4858
|
+
aiModelBindingPickerSet: "Select",
|
|
4859
|
+
aiModelBindingPickerTitle: "Pick a catalogue entry",
|
|
4860
|
+
aiModelBindingPickerTrigger: "Pick catalogue entry",
|
|
4861
|
+
aiModelBindingRequired: "Pick a catalogue entry, or switch the binding mode.",
|
|
4862
|
+
aiModelBindingUnbound: "Unbound",
|
|
4863
|
+
aiModelCapabilitiesDescription: "Each capability is inherit, yes or no. Inherit keeps looking further down the precedence order.",
|
|
4864
|
+
aiModelCapabilitiesLabel: "Capabilities",
|
|
4865
|
+
aiModelCapabilityUndeclared: "Not declared",
|
|
4866
|
+
aiModelCapabilityReasoning: "Reasoning",
|
|
4867
|
+
aiModelCapabilityToolCalling: "Tool calling",
|
|
4868
|
+
aiModelCapabilityVision: "Vision",
|
|
4869
|
+
aiModelCapabilityWebSearch: "Web search",
|
|
4870
|
+
aiModelCatalogMatchesWarning: "{{matches}} catalogue entries share this model id; an id-only match picks one deterministically.",
|
|
4871
|
+
aiModelCatalogMatchesShort: "\xD7{{matches}} names",
|
|
4872
|
+
aiModelClearFilters: "Clear filters",
|
|
4873
|
+
aiModelContextWindowLabel: "Context window",
|
|
4874
|
+
aiModelCostCacheRead: "Cache read",
|
|
4875
|
+
aiModelCostCacheWrite: "Cache write",
|
|
4876
|
+
aiModelCostDescription: "Per million tokens. Saved only when all four fields are filled; leaving them empty inherits.",
|
|
4877
|
+
aiModelCostIncomplete: "Fill all four prices, or none of them.",
|
|
4878
|
+
aiModelCostInput: "Input",
|
|
4879
|
+
aiModelCostLabel: "Price (per million tokens)",
|
|
4880
|
+
aiModelCostOutput: "Output",
|
|
4881
|
+
aiModelDescription: "Attributes resolve in the order manual override \u2192 catalogue entry (auto matched or manually bound) \u2192 Cherry Studio registry \u2192 nothing. Every field left empty keeps inheriting.",
|
|
4882
|
+
aiModelDialogCreateDescription: "Saving writes a new manual override.",
|
|
4883
|
+
aiModelDialogCreateTitle: "Add model attributes",
|
|
4884
|
+
aiModelDialogDescription: "Saving writes a manual override for {{modelId}}.",
|
|
4885
|
+
aiModelDialogEditTitle: "Edit model attributes",
|
|
4886
|
+
aiModelDialogLegendSr: "Edit the manual override of a model",
|
|
4887
|
+
aiModelDisplayNameDescription: "Leave empty to use the catalogue or registry name.",
|
|
4888
|
+
aiModelDisplayNameLabel: "Display name",
|
|
4889
|
+
aiModelDisplayNamePlaceholder: "e.g. GPT-5.6 Terra",
|
|
4890
|
+
aiModelEditLabel: "Edit {{id}}",
|
|
4891
|
+
aiModelEmptyDescription: "No model is in use yet. Add one manually to pre-configure a model nothing exposes yet.",
|
|
4892
|
+
aiModelEmptyErrorDescription: "Check the Server AI model catalogue config and try again.",
|
|
4893
|
+
aiModelEmptyErrorTitle: "Failed to fetch model attributes",
|
|
4894
|
+
aiModelEmptyRetry: "Fetch again",
|
|
4895
|
+
aiModelEmptyTitle: "No models yet",
|
|
4896
|
+
aiModelErrorTitle: "Unable to fetch AI model attributes",
|
|
4897
|
+
aiModelFooter: "{{overrides}} models carry a manual override. Everything else falls back to the catalogue or the Cherry Studio registry.",
|
|
4898
|
+
aiModelHeaderActions: "Actions",
|
|
4899
|
+
aiModelHeaderBinding: "Catalogue binding",
|
|
4900
|
+
aiModelHeaderCapabilities: "Capabilities",
|
|
4901
|
+
aiModelHeaderContextWindow: "Context window",
|
|
4902
|
+
aiModelHeaderMaxTokens: "Max output",
|
|
4903
|
+
aiModelHeaderModelId: "Model ID",
|
|
4904
|
+
aiModelHeaderName: "Name",
|
|
4905
|
+
aiModelHeaderProvider: "Provider",
|
|
4906
|
+
aiModelHeaderSource: "Source",
|
|
4907
|
+
aiModelHeaderUpdatedAt: "Updated",
|
|
4908
|
+
aiModelInputDescription: "Which modalities this model accepts. Leaving both unchecked inherits.",
|
|
4909
|
+
aiModelInputImage: "Image",
|
|
4910
|
+
aiModelInputLabel: "Input modalities",
|
|
4911
|
+
aiModelInputText: "Text",
|
|
4912
|
+
aiModelLegendSr: "Select the AI model attribute catalogue",
|
|
4913
|
+
aiModelMaxTokensLabel: "Max output tokens",
|
|
4914
|
+
aiModelModelIdDescription: "The model id upstream actually returns. It cannot change once the row exists.",
|
|
4915
|
+
aiModelModelIdLabel: "Model ID",
|
|
4916
|
+
aiModelModelIdRequired: "Enter a model ID.",
|
|
4917
|
+
aiModelNoMatchDescription: "Try another keyword or clear the source filter.",
|
|
4918
|
+
aiModelNoMatchTitle: "No matching models",
|
|
4919
|
+
aiModelPaginationLabel: "AI model attribute pagination",
|
|
4920
|
+
aiModelPanelAria: "AI model attribute catalogue",
|
|
4921
|
+
aiModelPrecedence: "Precedence: manual override \u2192 catalogue entry \u2192 Cherry Studio registry \u2192 nothing.",
|
|
4922
|
+
aiModelRawApply: "Apply JSON",
|
|
4923
|
+
aiModelRawDescription: "This textarea edits the same override object as the fields above. Applying validates the keys and types first.",
|
|
4924
|
+
aiModelRawParseError: "Invalid JSON: {{message}}",
|
|
4925
|
+
aiModelRawShapeError: "The override must be a JSON object.",
|
|
4926
|
+
aiModelRawToggle: "Raw JSON override",
|
|
4927
|
+
aiModelRawUnknownKey: "Unsupported attribute: {{key}}",
|
|
4928
|
+
aiModelRawValueInvalid: "Unsupported value for {{key}}.",
|
|
4929
|
+
aiModelResetAction: "Delete override (restore catalogue)",
|
|
4930
|
+
aiModelResetConfirmDescription: "Deleting the override makes {{modelId}} fall back to the catalogue or registry values.",
|
|
4931
|
+
aiModelResetConfirmLabel: "Delete override",
|
|
4932
|
+
aiModelResetConfirmTitle: "Delete model override",
|
|
4933
|
+
aiModelResetToast: "Override deleted",
|
|
4934
|
+
aiModelSavedToast: "Model attributes saved",
|
|
4935
|
+
aiModelSearchPlaceholder: "Search model id",
|
|
4936
|
+
aiModelSourceAll: "All sources",
|
|
4937
|
+
aiModelSourceCatalog: "Catalogue",
|
|
4938
|
+
aiModelSourceFilterAria: "Source filter",
|
|
4939
|
+
aiModelSourceNone: "Not found",
|
|
4940
|
+
aiModelSourceOverride: "Manual override",
|
|
4941
|
+
aiModelSourceRegistry: "Cherry Studio registry",
|
|
4942
|
+
aiModelSyncButton: "Sync from pi.dev",
|
|
4943
|
+
aiModelSyncEntryCount: "{{entries}} entries",
|
|
4944
|
+
aiModelSyncErrorTitle: "The last sync failed",
|
|
4945
|
+
aiModelSyncFailed: "Sync failed: {{message}}",
|
|
4946
|
+
aiModelSyncFetchedAt: "fetched {{date}}",
|
|
4947
|
+
aiModelSyncHeader: "pi.dev catalogue",
|
|
4948
|
+
aiModelSyncLastAttempt: "last attempt {{date}}",
|
|
4949
|
+
aiModelSyncLoadedAt: " \xB7 loaded {{date}}",
|
|
4950
|
+
aiModelSyncNever: "not recorded",
|
|
4951
|
+
aiModelSyncNotModified: "The catalogue is already up to date.",
|
|
4952
|
+
aiModelSyncOverrides: "{{overrides}} overrides",
|
|
4953
|
+
aiModelSyncRevision: "revision {{revision}}",
|
|
4954
|
+
aiModelSyncRevisionNone: "never synced",
|
|
4955
|
+
aiModelSyncSucceeded: "Catalogue updated to revision {{revision}}.",
|
|
4956
|
+
aiModelTableAria: "AI model attributes, horizontally scrollable",
|
|
4957
|
+
aiModelTableLoading: "Loading model attributes",
|
|
4958
|
+
aiModelThinkingCustomPlaceholder: "Upstream value",
|
|
4959
|
+
aiModelThinkingDescription: 'Map each thinking level to an upstream value. "Unsupported" writes null; "Inherit" writes nothing.',
|
|
4960
|
+
aiModelThinkingLabel: "Thinking level map",
|
|
4961
|
+
aiModelThinkingUnsupported: "Unsupported",
|
|
4962
|
+
aiModelTitle: "AI model attributes",
|
|
4963
|
+
aiModelTokenDescription: "Leave empty to inherit the catalogue or registry value.",
|
|
4964
|
+
aiModelTokenInheritPlaceholder: "Inherit",
|
|
4965
|
+
aiModelTokenInvalid: "Context window and max output must be positive integers.",
|
|
4966
|
+
aiModelTristateInherit: "Inherit",
|
|
4967
|
+
aiModelTristateNo: "No",
|
|
4968
|
+
aiModelTristateYes: "Yes",
|
|
4969
|
+
aiModelUpdatedUnknown: "Not recorded",
|
|
4970
|
+
aiModelValueUnknown: "Unknown",
|
|
4971
|
+
aiModelVisible: "Showing {{visible}} of {{total}}",
|
|
4843
4972
|
appBreadcrumbProjectDetail: "Project details",
|
|
4844
4973
|
appBreadcrumbSub2Api: "Sub2API",
|
|
4845
4974
|
appCheckingSession: "Checking sign-in status",
|
|
@@ -6427,7 +6556,6 @@ var serverWeb = {
|
|
|
6427
6556
|
versionsVersionStatusPreparing: "Preparing",
|
|
6428
6557
|
versionsTargetMacos: "macOS",
|
|
6429
6558
|
versionsTargetServer: "Server",
|
|
6430
|
-
versionsTargetWeb: "Web",
|
|
6431
6559
|
versionsTargetStaticWeb: "Static Web",
|
|
6432
6560
|
versionsTargetWindows: "Windows",
|
|
6433
6561
|
versionsTargetNone: "No executor",
|
|
@@ -7029,10 +7157,10 @@ var cli = {
|
|
|
7029
7157
|
" status",
|
|
7030
7158
|
" health",
|
|
7031
7159
|
" pack <workflow> [--path <workflow-dir>] [--output <file.tgz>] [--project-group] [--dependency <alias>=<path>]",
|
|
7032
|
-
" upload <workflow> [--path <workflow-dir>] [--file <archive>] [--release-log <text>] [--source-mode bundled|source] [--server-runtime|--no-server-runtime] [--
|
|
7160
|
+
" upload <workflow> [--path <workflow-dir>] [--file <archive>] [--release-log <text>] [--source-mode bundled|source] [--server-runtime|--no-server-runtime] [--desktop-platform macos|windows] [--no-wait] [--create] [--project-group] [--publish-group] [--dependency <alias>=<path>]",
|
|
7033
7161
|
" preparation <workflow-id> <job-id>",
|
|
7034
7162
|
" download <workflow> [--target draft|latest|version] [--path <dir>]",
|
|
7035
|
-
" publish <workflow> [--release-log <text>] [--source-mode bundled|source] [--server-runtime|--no-server-runtime] [--
|
|
7163
|
+
" publish <workflow> [--release-log <text>] [--source-mode bundled|source] [--server-runtime|--no-server-runtime] [--desktop-platform macos|windows] [--project-group] [--dependency <alias>=<path>]",
|
|
7036
7164
|
" publish --deployment <id>",
|
|
7037
7165
|
" run <workflow> [...args] [--target draft|latest|version] [--entrypoint <id>]",
|
|
7038
7166
|
" debug-node <workflow> <node> [...args] [--target draft|latest|version] [--entrypoint <id>]",
|
|
@@ -7045,7 +7173,6 @@ var cli = {
|
|
|
7045
7173
|
" --server <url> Defaults to WORKFLOW_SERVER_URL, saved CLI auth, or http://localhost:7125",
|
|
7046
7174
|
" --token <token> Optional manual override. Defaults to WORKFLOW_SERVER_ADMIN_KEY or saved CLI auth API key",
|
|
7047
7175
|
" --server-runtime / --no-server-runtime Enable or disable Server execution for this release",
|
|
7048
|
-
" --web-runtime / --no-web-runtime Mark this version loadable from the Web entry point and launchable to the Web; requires retained source",
|
|
7049
7176
|
" --desktop-platform <macos|windows> Add a downloadable Desktop target; may be repeated"
|
|
7050
7177
|
].join("\n"),
|
|
7051
7178
|
invalidLocale: 'Unsupported locale "{{value}}". Expected "zh-CN" or "en".',
|
|
@@ -7076,11 +7203,10 @@ var cli = {
|
|
|
7076
7203
|
unsupportedWorkflowEncoding: 'Unsupported encoding for workflow file "{{path}}".',
|
|
7077
7204
|
invalidBase64Content: 'Invalid base64 content for workflow file "{{path}}".',
|
|
7078
7205
|
versionOptionUnsupported: "--version is no longer supported. Publish versions are managed by the system.",
|
|
7206
|
+
webRuntimeOptionRemoved: "--web-runtime / --no-web-runtime are no longer supported. The Web version is now a hosted build of the Desktop renderer running on the Server, so a version no longer declares a Web target.",
|
|
7079
7207
|
invalidSourceMode: '--source-mode must be "bundled" or "source".',
|
|
7080
7208
|
workspaceDownloadPlatformUnsupported: "workspace download is only supported on macOS and Windows; current platform is {{platform}}.",
|
|
7081
7209
|
serverRuntimeOptionsConflict: "--server-runtime and --no-server-runtime cannot be combined.",
|
|
7082
|
-
webRuntimeOptionsConflict: "--web-runtime and --no-web-runtime cannot be combined.",
|
|
7083
|
-
webRuntimeRequiresSource: "--web-runtime cannot be combined with --source-mode bundled; Web releases require source mode.",
|
|
7084
7210
|
invalidDesktopPlatform: 'Unsupported --desktop-platform "{{platform}}". Expected macos or windows.',
|
|
7085
7211
|
executionTargetCommandUnsupported: "Execution target options are only supported by upload and publish.",
|
|
7086
7212
|
desktopPlatformRequiresSource: "--desktop-platform cannot be combined with --source-mode bundled; Desktop releases require source mode.",
|
|
@@ -7405,6 +7531,10 @@ var common2 = {
|
|
|
7405
7531
|
noArgumentsProvided: "\u672A\u63D0\u4F9B\u8C03\u7528\u53C2\u6570",
|
|
7406
7532
|
submittedUserInput: "\u5DF2\u63D0\u4EA4\u7684\u7528\u6237\u8F93\u5165",
|
|
7407
7533
|
submittedAt: "\u63D0\u4EA4\u4E8E {{time}}",
|
|
7534
|
+
questionStep: "\u7B2C {{current}} / {{total}} \u95EE",
|
|
7535
|
+
previousQuestion: "\u4E0A\u4E00\u95EE",
|
|
7536
|
+
nextQuestion: "\u4E0B\u4E00\u95EE",
|
|
7537
|
+
unansweredQuestions: "\u8FD8\u6709 {{count}} \u95EE\u672A\u7B54",
|
|
7408
7538
|
agree: "\u540C\u610F",
|
|
7409
7539
|
disagree: "\u4E0D\u540C\u610F",
|
|
7410
7540
|
loadEarlierMessagesFailed: "\u52A0\u8F7D\u66F4\u65E9\u6D88\u606F\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5\u3002",
|
|
@@ -7548,7 +7678,7 @@ var common2 = {
|
|
|
7548
7678
|
deleteConfigurationWarning: "\u6B64\u64CD\u4F5C\u4F1A\u79FB\u9664\u8BE5\u914D\u7F6E\u4FDD\u5B58\u7684\u53C2\u6570\u503C\uFF0C\u65E0\u6CD5\u64A4\u9500\u3002",
|
|
7549
7679
|
deleteConfiguration: "\u5220\u9664\u914D\u7F6E",
|
|
7550
7680
|
knowledgeLoadFailedFallback: "\u52A0\u8F7D\u77E5\u8BC6\u5E93\u6587\u6863\u5931\u8D25\u3002",
|
|
7551
|
-
|
|
7681
|
+
knowledgeLoadPageFailed: "\u52A0\u8F7D\u8BE5\u9875\u77E5\u8BC6\u5E93\u6587\u6863\u5931\u8D25\u3002",
|
|
7552
7682
|
knowledgeSearchFailed: "\u641C\u7D22\u77E5\u8BC6\u5E93\u6587\u6863\u5931\u8D25\u3002",
|
|
7553
7683
|
knowledgeSearchLoadMoreFailed: "\u52A0\u8F7D\u66F4\u591A\u641C\u7D22\u7ED3\u679C\u5931\u8D25\u3002",
|
|
7554
7684
|
knowledgeOperationFailed: "\u77E5\u8BC6\u5E93\u64CD\u4F5C\u5931\u8D25\u3002",
|
|
@@ -7559,6 +7689,8 @@ var common2 = {
|
|
|
7559
7689
|
loadingDocument: "\u6B63\u5728\u52A0\u8F7D\u6587\u6863",
|
|
7560
7690
|
selectOrNewDocument: "\u9009\u62E9\u6216\u65B0\u5EFA\u6587\u6863",
|
|
7561
7691
|
viewKnowledgeBaseInfo: "\u67E5\u770B\u77E5\u8BC6\u5E93\u4FE1\u606F",
|
|
7692
|
+
refreshKnowledgeBase: "\u5237\u65B0\u77E5\u8BC6\u5E93",
|
|
7693
|
+
refreshingKnowledgeBase: "\u6B63\u5728\u5237\u65B0\u77E5\u8BC6\u5E93",
|
|
7562
7694
|
edit: "\u7F16\u8F91",
|
|
7563
7695
|
preview: "\u9884\u89C8",
|
|
7564
7696
|
newDocument: "\u65B0\u5EFA\u6587\u6863",
|
|
@@ -7580,14 +7712,16 @@ var common2 = {
|
|
|
7580
7712
|
knowledgeBaseInfo: "\u77E5\u8BC6\u5E93\u4FE1\u606F",
|
|
7581
7713
|
knowledgeBaseInfoDescription: "\u5F53\u524D\u9879\u76EE\u7684\u77E5\u8BC6\u5E93\u6587\u6863\u4E0E\u5176\u5B83\u9879\u76EE\u76F8\u4E92\u9694\u79BB\u3002",
|
|
7582
7714
|
knowledgeDocumentList: "\u77E5\u8BC6\u5E93\u6587\u6863\u5217\u8868",
|
|
7715
|
+
knowledgeDocuments: "\u77E5\u8BC6\u5E93\u6587\u6863",
|
|
7583
7716
|
loadingKnowledgeBase: "\u6B63\u5728\u52A0\u8F7D\u77E5\u8BC6\u5E93",
|
|
7584
7717
|
knowledgeLoadFailed: "\u52A0\u8F7D\u77E5\u8BC6\u5E93\u6587\u6863\u5931\u8D25",
|
|
7585
7718
|
noDocuments: "\u6682\u65E0\u6587\u6863",
|
|
7586
7719
|
noDocumentsDescription: "\u65B0\u5EFA\u7B2C\u4E00\u7BC7 markdown \u6587\u6863\u540E\u4F1A\u663E\u793A\u5728\u8FD9\u91CC\u3002",
|
|
7587
|
-
|
|
7588
|
-
|
|
7589
|
-
|
|
7590
|
-
|
|
7720
|
+
knowledgeDocumentPagination: "\u77E5\u8BC6\u5E93\u6587\u6863\u5206\u9875",
|
|
7721
|
+
knowledgeDocumentActions: "\u6587\u6863\u64CD\u4F5C",
|
|
7722
|
+
previousPage: "\u4E0A\u4E00\u9875",
|
|
7723
|
+
nextPage: "\u4E0B\u4E00\u9875",
|
|
7724
|
+
pageIndicator: "\u7B2C {{current}} / {{total}} \u9875",
|
|
7591
7725
|
searchResults: "\u67E5\u627E\u7ED3\u679C",
|
|
7592
7726
|
noSearchMatches: "\u6CA1\u6709\u5339\u914D",
|
|
7593
7727
|
searchedDocumentsCount: "\u5DF2\u67E5\u627E {{count}} \u7BC7\u6587\u6863\u3002",
|
|
@@ -8226,7 +8360,7 @@ var desktop2 = {
|
|
|
8226
8360
|
projectActionSaving: "\u6B63\u5728\u4FDD\u5B58\u6587\u4EF6",
|
|
8227
8361
|
projectActionRefreshing: "\u6B63\u5728\u5237\u65B0\u6587\u4EF6",
|
|
8228
8362
|
projectActionPublishing: "\u6B63\u5728\u53D1\u5E03\u5DE5\u4F5C\u6D41",
|
|
8229
|
-
|
|
8363
|
+
projectActionRestoringVersion: "\u6B63\u5728\u6062\u590D\u7248\u672C",
|
|
8230
8364
|
serverNotBound: "\u672A\u7ED1\u5B9A\u670D\u52A1\u5668",
|
|
8231
8365
|
serverConnected: "\u670D\u52A1\u5668\u5DF2\u8FDE\u63A5",
|
|
8232
8366
|
serverNotConnected: "\u670D\u52A1\u5668\u672A\u8FDE\u63A5",
|
|
@@ -8276,7 +8410,7 @@ var desktop2 = {
|
|
|
8276
8410
|
homeProjectGraphZoomIn: "\u653E\u5927",
|
|
8277
8411
|
homeProjectGraphZoomOut: "\u7F29\u5C0F",
|
|
8278
8412
|
homeProjectGraphFitView: "\u9002\u5E94\u753B\u5E03",
|
|
8279
|
-
desktopCloudRunRecordsLabel: "
|
|
8413
|
+
desktopCloudRunRecordsLabel: "\u4E91\u7AEF\u8FD0\u884C\u8BB0\u5F55",
|
|
8280
8414
|
desktopStatus: "Desktop \u72B6\u6001",
|
|
8281
8415
|
archiveImportedAs: "{{archiveName}} \u5DF2\u5BFC\u5165\u4E3A {{workflowName}}",
|
|
8282
8416
|
assistantTaskOwner: "\u5C0F\u52A9\u624B \xB7 {{name}}",
|
|
@@ -8373,7 +8507,7 @@ var desktop2 = {
|
|
|
8373
8507
|
loginToCreateCloudApp: "\u767B\u5F55\u540E\u521B\u5EFA\u4E91\u7AEF\u5E94\u7528",
|
|
8374
8508
|
loginToViewCloudProjects: "\u767B\u5F55\u67E5\u770B\u4E91\u7AEF\u9879\u76EE",
|
|
8375
8509
|
loginToViewCloudProjectsDescription: "\u767B\u5F55\u540E\u67E5\u770B\u5F53\u524D\u8D26\u53F7\u53EF\u4EE5\u8BBF\u95EE\u7684\u670D\u52A1\u5668\u9879\u76EE\u3002",
|
|
8376
|
-
loginToViewCloudRunRecords: "\u767B\u5F55\u540E\u53EF\u67E5\u770B\
|
|
8510
|
+
loginToViewCloudRunRecords: "\u767B\u5F55\u540E\u53EF\u67E5\u770B\u4E91\u7AEF\u8FD0\u884C\u8BB0\u5F55\u3002",
|
|
8377
8511
|
modeLocal: "\u672C\u5730",
|
|
8378
8512
|
modeRemote: "\u8FDC\u7A0B",
|
|
8379
8513
|
modeWeb: "\u7F51\u9875",
|
|
@@ -8384,7 +8518,7 @@ var desktop2 = {
|
|
|
8384
8518
|
nextPage: "\u4E0B\u4E00\u9875",
|
|
8385
8519
|
noCloudProjects: "\u6682\u65E0\u4E91\u7AEF\u9879\u76EE",
|
|
8386
8520
|
noCloudProjectsDescription: "\u5F53\u524D\u8D26\u53F7\u8FD8\u6CA1\u6709\u53EF\u8BBF\u95EE\u7684\u4E91\u7AEF\u9879\u76EE\u3002",
|
|
8387
|
-
noCloudRunRecords: "\u8FD8\u6CA1\u6709\
|
|
8521
|
+
noCloudRunRecords: "\u8FD8\u6CA1\u6709\u4E91\u7AEF\u8FD0\u884C\u8BB0\u5F55\u3002",
|
|
8388
8522
|
noLocalProjects: "\u6682\u65E0\u672C\u5730\u9879\u76EE",
|
|
8389
8523
|
noLocalProjectsDescription: "\u65B0\u5EFA\u9879\u76EE\uFF0C\u6216\u5BFC\u5165\u672C\u5730\u6587\u4EF6\u5939\u3002",
|
|
8390
8524
|
noLocalRunRecords: "\u8FD8\u6CA1\u6709\u672C\u5730\u8FD0\u884C\u8BB0\u5F55\u3002\u8FD0\u884C workflow \u540E\u4F1A\u51FA\u73B0\u5728\u8FD9\u91CC\u3002",
|
|
@@ -8417,9 +8551,9 @@ var desktop2 = {
|
|
|
8417
8551
|
scheduleFailedCount: "\u5931\u8D25 {{count}} \u6B21",
|
|
8418
8552
|
scheduleFailedCountDetail: "\u672C\u5730\u4FDD\u7559\u8BB0\u5F55\u4E2D\u5931\u8D25 {{count}} \u6B21",
|
|
8419
8553
|
operationFailed: "\u64CD\u4F5C\u5931\u8D25",
|
|
8420
|
-
|
|
8421
|
-
|
|
8422
|
-
|
|
8554
|
+
restoreVersionConfirm: "\u6062\u590D\u6B64\u7248\u672C",
|
|
8555
|
+
restoreVersionConfirmDescription: "\u786E\u8BA4\u628A\u672C\u5730\u9879\u76EE\u300C{{workflowName}}\u300D\u6062\u590D\u4E3A\u670D\u52A1\u5668 {{serverVersion}} \u5417\uFF1F",
|
|
8556
|
+
restoreVersionConfirmTitle: "\u6062\u590D\u5230\u6B64\u7248\u672C\uFF1F",
|
|
8423
8557
|
overwriteSourceBackup: "\u8BF7\u786E\u8BA4\u5DF2\u7ECF\u4FDD\u5B58\u6216\u5907\u4EFD\u9700\u8981\u4FDD\u7559\u7684\u672C\u5730\u4FEE\u6539\u3002",
|
|
8424
8558
|
overwriteSourceReplaced: "\u672C\u5730\u53EF\u7F16\u8F91\u6E90\u7801\u4F1A\u88AB\u5B8C\u6574\u66FF\u6362\u3002",
|
|
8425
8559
|
packageUploaded: "\u5305\u5DF2\u4E0A\u4F20",
|
|
@@ -8450,10 +8584,8 @@ var desktop2 = {
|
|
|
8450
8584
|
publishServerDraftAfterLogin: "\u767B\u5F55\u8D26\u53F7\u540E\u53D1\u5E03\u670D\u52A1\u5668\u8349\u7A3F",
|
|
8451
8585
|
publishTitle: "\u4E0A\u4F20\u5168\u91CF\u672C\u5730\u4EE3\u7801\u5E76\u53D1\u5E03",
|
|
8452
8586
|
publishing: "\u53D1\u5E03\u4E2D",
|
|
8453
|
-
|
|
8454
|
-
|
|
8455
|
-
pullCodeTitle: "\u4ECE\u670D\u52A1\u5668\u7248\u672C\u8986\u76D6\u672C\u5730\u4EE3\u7801",
|
|
8456
|
-
pullingCode: "\u62C9\u53D6\u4E2D",
|
|
8587
|
+
restoreVersion: "\u7248\u672C\u6062\u590D",
|
|
8588
|
+
restoreVersionAction: "\u6062\u590D\u7248\u672C",
|
|
8457
8589
|
quickUpdateTo: "\u5FEB\u901F\u66F4\u65B0\u5230 {{version}}",
|
|
8458
8590
|
quickUpdateVersion: "\u5FEB\u901F\u66F4\u65B0 v{{version}}",
|
|
8459
8591
|
recentRecords: "\u6700\u8FD1\u8BB0\u5F55",
|
|
@@ -8508,8 +8640,11 @@ var desktop2 = {
|
|
|
8508
8640
|
save: "\u4FDD\u5B58",
|
|
8509
8641
|
saveLocalCodeTitle: "\u4FDD\u5B58\u672C\u5730\u4EE3\u7801",
|
|
8510
8642
|
saving: "\u6B63\u5728\u4FDD\u5B58...",
|
|
8643
|
+
searchKnowledgeDocuments: "\u641C\u7D22\u77E5\u8BC6\u5E93\u6587\u6863",
|
|
8511
8644
|
searchProject: "\u641C\u7D22\u9879\u76EE",
|
|
8512
8645
|
searchProjectPlaceholder: "\u641C\u7D22\u9879\u76EE\u540D\u79F0\u6216 ID",
|
|
8646
|
+
searchRecentTasks: "\u641C\u7D22\u6700\u8FD1\u4EFB\u52A1",
|
|
8647
|
+
searchRecentTasksPlaceholder: "\u641C\u7D22\u4EFB\u52A1\u540D\u79F0\u6216\u9879\u76EE",
|
|
8513
8648
|
searchWorkspace: "\u641C\u7D22\u5DE5\u4F5C\u533A",
|
|
8514
8649
|
searchWorkspacePlaceholder: "\u641C\u7D22\u5DE5\u4F5C\u533A\u540D\u79F0\u6216\u8DEF\u5F84",
|
|
8515
8650
|
searchServerVersionPlaceholder: "\u641C\u7D22\u670D\u52A1\u5668\u7248\u672C...",
|
|
@@ -8537,6 +8672,7 @@ var desktop2 = {
|
|
|
8537
8672
|
cloneProjectDescription: "\u590D\u5236\u201C{{name}}\u201D\u7684\u6E90\u7801\uFF0C\u5E76\u4E3A\u526F\u672C\u8BBE\u7F6E\u9879\u76EE\u540D\u79F0\u548C\u53EF\u9009\u5B58\u653E\u4F4D\u7F6E\u3002",
|
|
8538
8673
|
cloningProject: "\u6B63\u5728\u514B\u9686...",
|
|
8539
8674
|
close: "\u5173\u95ED",
|
|
8675
|
+
closeRailSearch: "\u5173\u95ED\u641C\u7D22",
|
|
8540
8676
|
cloudAppCreated: "\u5DF2\u521B\u5EFA\u4E91\u7AEF\u5E94\u7528",
|
|
8541
8677
|
cloudAppNotCreated: "\u5C1A\u672A\u521B\u5EFA\u4E91\u7AEF\u5E94\u7528",
|
|
8542
8678
|
cloudAppUploadsMetadataOnly: "\u53EA\u4E0A\u4F20\u540D\u79F0\u3001\u7C7B\u578B\u548C\u5361\u7247\u4FE1\u606F\uFF0C\u4E0D\u4E0A\u4F20\u9879\u76EE\u6E90\u7801\u3002",
|
|
@@ -8735,8 +8871,6 @@ var desktop2 = {
|
|
|
8735
8871
|
releaseExecutionTargetsDescription: "\u9009\u62E9\u6B64\u4E0D\u53EF\u53D8\u7248\u672C\u7684 Server \u6267\u884C\u4E0E\u5F53\u524D\u8BBE\u5907\u672C\u5730\u8FD0\u884C\u80FD\u529B\u3002",
|
|
8736
8872
|
serverCloudExecution: "Server \u4E91\u7AEF\u6267\u884C",
|
|
8737
8873
|
serverCloudExecutionDescription: "\u4E3A\u8FD0\u884C\u3001Webhook \u548C\u8BA1\u5212\u4EFB\u52A1\u51C6\u5907 Server runtime\u3002",
|
|
8738
|
-
webExecution: "Web \u6267\u884C",
|
|
8739
|
-
webExecutionDescription: "\u628A\u8BE5\u7248\u672C\u6807\u8BB0\u4E3A\u53EF\u7531 Web \u5165\u53E3\u52A0\u8F7D\u3001\u5E76\u53EF\u542F\u52A8\u5230 Web\uFF1BWeb \u8FD0\u884C\u7531 Desktop \u5BBF\u4E3B\u6267\u884C\uFF0C\u9700\u8981 Desktop \u5728\u7EBF\u3002",
|
|
8740
8874
|
kanbanServerExecutionDisabled: "Kanban \u4F7F\u7528\u9759\u6001\u6258\u7BA1\uFF0C\u4E0D\u8FDB\u5165 Server executor\u3002",
|
|
8741
8875
|
desktopTargetMacos: "macOS \u672C\u5730\u8FD0\u884C",
|
|
8742
8876
|
desktopTargetWindows: "Windows \u672C\u5730\u8FD0\u884C",
|
|
@@ -8855,6 +8989,7 @@ var desktop2 = {
|
|
|
8855
8989
|
hideConversationList: "\u9690\u85CF\u4F1A\u8BDD\u5217\u8868",
|
|
8856
8990
|
hideDiagnostic: "\u6536\u8D77{{label}}",
|
|
8857
8991
|
hideFileList: "\u9690\u85CF\u6587\u4EF6\u5217\u8868",
|
|
8992
|
+
hideKnowledgeRail: "\u9690\u85CF\u77E5\u8BC6\u5E93\u5217\u8868",
|
|
8858
8993
|
hideTaskList: "\u9690\u85CF\u4EFB\u52A1\u5217\u8868",
|
|
8859
8994
|
hideWorkflow: "\u9690\u85CF workflow",
|
|
8860
8995
|
historyRunResult: "\u5386\u53F2\u6267\u884C\u7ED3\u679C",
|
|
@@ -8946,6 +9081,7 @@ var desktop2 = {
|
|
|
8946
9081
|
selectProjectLoadFile: "\u9009\u62E9\u5DE5\u4F5C\u533A\u5E76\u52A0\u8F7D\u6587\u4EF6",
|
|
8947
9082
|
showConversationHistory: "\u663E\u793A\u5BF9\u8BDD\u5386\u53F2",
|
|
8948
9083
|
showDiagnostic: "\u663E\u793A{{label}}",
|
|
9084
|
+
showKnowledgeRail: "\u663E\u793A\u77E5\u8BC6\u5E93\u5217\u8868",
|
|
8949
9085
|
showRunHistory: "\u663E\u793A\u5386\u53F2\u6267\u884C",
|
|
8950
9086
|
summaryColumn: "\u6458\u8981",
|
|
8951
9087
|
terminal: "\u7EC8\u7AEF",
|
|
@@ -9147,7 +9283,7 @@ var desktop2 = {
|
|
|
9147
9283
|
desktopOnlyClonesLocal: "Desktop \u53EA\u514B\u9686\u672C\u5730\u9879\u76EE\u3002",
|
|
9148
9284
|
backToReview: "\u8FD4\u56DE\u68C0\u67E5",
|
|
9149
9285
|
bindCloudAppBeforePublish: "\u8BF7\u5148\u521B\u5EFA\u4E91\u7AEF\u5E94\u7528\u5E76\u5B8C\u6210 UUID \u7ED1\u5B9A\uFF0C\u518D\u53D1\u5E03\u9879\u76EE\u3002",
|
|
9150
|
-
|
|
9286
|
+
builtinProjectCannotRestoreVersion: "\u5185\u7F6E\u9879\u76EE\u4E0D\u80FD\u6062\u590D\u8FDC\u7A0B\u7248\u672C\u3002\u8BF7\u5148\u521B\u5EFA\u672C\u5730\u526F\u672C\u540E\u518D\u540C\u6B65\u3002",
|
|
9151
9287
|
builtinProjectCannotPublish: "\u5185\u7F6E\u9879\u76EE\u4E0D\u80FD\u76F4\u63A5\u53D1\u5E03\u3002\u8BF7\u5148\u521B\u5EFA\u672C\u5730\u526F\u672C\u540E\u518D\u53D1\u5E03\u3002",
|
|
9152
9288
|
cannotConnectLocalWorkspace: "\u65E0\u6CD5\u8FDE\u63A5\u672C\u5730\u5DE5\u4F5C\u533A\u3002",
|
|
9153
9289
|
cannotConnectServerCheckConfig: "\u65E0\u6CD5\u8FDE\u63A5\u670D\u52A1\u5668\uFF0C\u8BF7\u68C0\u67E5\u5F53\u524D Server \u914D\u7F6E\u3002",
|
|
@@ -9252,7 +9388,7 @@ var desktop2 = {
|
|
|
9252
9388
|
publishVersionMessage: "{{name}} \u5DF2\u53D1\u5E03\u4E3A {{version}}\u3002",
|
|
9253
9389
|
publishingVersionMessage: "\u670D\u52A1\u5668\u8349\u7A3F\u5DF2\u51C6\u5907\u5B8C\u6210\uFF0C\u6B63\u5728\u751F\u6210\u6B63\u5F0F\u7248\u672C\uFF1B\u505C\u6B62\u53EA\u4F1A\u7EC8\u6B62\u7B49\u5F85\u7ED3\u679C\u3002",
|
|
9254
9390
|
publishingVersionTitle: "\u6B63\u5728\u53D1\u5E03\u7248\u672C",
|
|
9255
|
-
|
|
9391
|
+
restoreVersionElectronOnly: "\u7248\u672C\u6062\u590D\u4EC5\u652F\u6301 Electron \u672C\u5730\u9879\u76EE\u3002",
|
|
9256
9392
|
requestCancelled: "\u8BF7\u6C42\u5DF2\u53D6\u6D88\u3002",
|
|
9257
9393
|
runCancelled: "\u8FD0\u884C\u5DF2\u53D6\u6D88",
|
|
9258
9394
|
runCancelledBeforeUserInput: "\u7528\u6237\u8F93\u5165\u63D0\u4EA4\u524D\u8FD0\u884C\u5DF2\u53D6\u6D88\u3002",
|
|
@@ -9515,19 +9651,6 @@ var desktop2 = {
|
|
|
9515
9651
|
localProjectAccessRiskSchedules: "\u672C\u5730\u5B9A\u65F6\u4EFB\u52A1\u914D\u7F6E\u540E\u4F1A\u6301\u7EED\u5728\u540E\u53F0\u89E6\u53D1\u3002",
|
|
9516
9652
|
localProjectsDisabledScopeHint: "\u672C\u5730\u9879\u76EE\u5DF2\u5173\u95ED\uFF1B\u8BF7\u5148\u5728\u8BBE\u7F6E\u4E2D\u5F00\u542F\uFF0C\u624D\u80FD\u5728\u6B64\u663E\u793A\u3002",
|
|
9517
9653
|
localProjectsGateRunRefused: "\u672C\u5730\u9879\u76EE\u201C{{projectName}}\u201D\u5728\u8BBE\u7F6E\u4E2D\u5F00\u542F\u672C\u5730\u9879\u76EE\u4E4B\u524D\u65E0\u6CD5\u8FD0\u884C\u3002",
|
|
9518
|
-
runToWebTitle: "\u5728 Web \u4E0A\u8FD0\u884C {{projectName}}",
|
|
9519
|
-
runToWebMenuItem: "\u542F\u52A8\u5230 Web",
|
|
9520
|
-
runToWebDescription: "\u8BE5\u8FD0\u884C\u7531 Desktop \u5BBF\u4E3B\u6267\u884C\u5E76\u63D0\u4F9B\u9875\u9762\uFF1B\u6D4F\u89C8\u5668\u4F7F\u7528\u671F\u95F4\u8BF7\u4FDD\u6301 Desktop \u8FD0\u884C\u3002",
|
|
9521
|
-
runToWebStarting: "\u6B63\u5728\u51C6\u5907 Web \u4F1A\u8BDD\u2026",
|
|
9522
|
-
runToWebPublicLinkHint: "\u53EF\u5728\u4EFB\u610F\u6D4F\u89C8\u5668\u4E2D\u6253\u5F00\u6B64\u94FE\u63A5\u3002\u62FF\u5230\u94FE\u63A5\u7684\u4EBA\u90FD\u53EF\u4EE5\u89C2\u770B\u8FD9\u6B21\u8FD0\u884C\uFF0C\u76F4\u5230\u4F1A\u8BDD\u7ED3\u675F\u3002",
|
|
9523
|
-
runToWebRelayPending: "Desktop \u5C1A\u672A\u8FDE\u63A5\u5230\u4E2D\u7EE7\uFF0C\u8FD9\u4E2A\u94FE\u63A5\u5728\u5176\u5B83\u8BBE\u5907\u4E0A\u8FD8\u6253\u4E0D\u5F00\u3002Desktop \u4F1A\u5728\u540E\u53F0\u7EE7\u7EED\u91CD\u8BD5\u3002",
|
|
9524
|
-
runToWebRelayIdentity: "\u4E2D\u7EE7\u8EAB\u4EFD",
|
|
9525
|
-
runToWebLinkHint: "\u8BF7\u5728\u672C\u673A\u6D4F\u89C8\u5668\u4E2D\u6253\u5F00\u6B64\u94FE\u63A5\u3002\u94FE\u63A5\u643A\u5E26\u4E00\u6B21\u6027\u4EE4\u724C\uFF0C\u4F7F\u7528\u540E\u5373\u5931\u6548\u3002",
|
|
9526
|
-
runToWebOpen: "\u5728\u6D4F\u89C8\u5668\u4E2D\u6253\u5F00",
|
|
9527
|
-
runToWebCopy: "\u590D\u5236\u94FE\u63A5",
|
|
9528
|
-
runToWebUnavailable: "\u65E0\u6CD5\u542F\u52A8 Desktop Web \u4F1A\u8BDD\u3002",
|
|
9529
|
-
runToWebLocalProjectsDisabled: "\u672C\u5730\u9879\u76EE\u5DF2\u5173\u95ED",
|
|
9530
|
-
runToWebLocalProjectsDisabledHint: "\u8BF7\u5148\u5728\u8BBE\u7F6E\u4E2D\u5F00\u542F\u672C\u5730\u9879\u76EE\uFF0C\u518D\u628A\u9879\u76EE\u542F\u52A8\u5230 Web\u3002",
|
|
9531
9654
|
desktopUpdate: "Desktop \u66F4\u65B0",
|
|
9532
9655
|
desktopVersionLine: "Workflow Code Desktop {{version}}",
|
|
9533
9656
|
availableVersionLabel: "\u7248\u672C {{version}}",
|
|
@@ -9818,12 +9941,144 @@ var serverWeb2 = {
|
|
|
9818
9941
|
accountThemeLightDescription: "\u9002\u5408\u65E5\u95F4\u6D4F\u89C8\u548C\u4EAE\u80CC\u666F\u5DE5\u4F5C\u6D41\u3002",
|
|
9819
9942
|
accountThemeSystem: "\u8DDF\u968F\u7CFB\u7EDF",
|
|
9820
9943
|
accountThemeSystemDescription: "\u81EA\u52A8\u5339\u914D\u7CFB\u7EDF\u6D45\u8272\u6216\u6DF1\u8272\u504F\u597D\u3002",
|
|
9944
|
+
adminTabAiModels: "AI \u6A21\u578B\u5C5E\u6027",
|
|
9821
9945
|
adminTabAudit: "\u5BA1\u8BA1\u65E5\u5FD7",
|
|
9822
9946
|
adminTabRunner: "Runner",
|
|
9823
9947
|
adminTabRoles: "\u89D2\u8272\u7BA1\u7406",
|
|
9824
9948
|
adminTabSub2ApiSubscriptions: "\u8BA2\u9605\u914D\u7F6E",
|
|
9825
9949
|
adminTabSub2ApiUserSubscriptions: "\u7528\u6237\u8BA2\u9605",
|
|
9826
9950
|
adminTabUsers: "\u7528\u6237\u7BA1\u7406",
|
|
9951
|
+
aiModelAddModel: "\u624B\u52A8\u6DFB\u52A0\u6A21\u578B",
|
|
9952
|
+
aiModelBindingAuto: "\u81EA\u52A8\u5339\u914D",
|
|
9953
|
+
aiModelBindingCatalog: "\u624B\u52A8\u7ED1\u5B9A",
|
|
9954
|
+
aiModelBindingCatalogValue: "{{providerId}} / {{modelId}}",
|
|
9955
|
+
aiModelBindingDescription: "\u81EA\u52A8\u5339\u914D\u6309\u6A21\u578B ID \u67E5\u627E\u76EE\u5F55\u6761\u76EE\uFF1B\u624B\u52A8\u7ED1\u5B9A\u56FA\u5B9A\u5230\u4E00\u4E2A\u76EE\u5F55\u6761\u76EE\uFF1B\u4E0D\u7ED1\u5B9A\u5219\u5B8C\u5168\u5FFD\u7565\u76EE\u5F55\u3002",
|
|
9956
|
+
aiModelBindingLabel: "\u76EE\u5F55\u7ED1\u5B9A",
|
|
9957
|
+
aiModelBindingPickerClear: "\u6E05\u9664\u7ED1\u5B9A",
|
|
9958
|
+
aiModelBindingPickerDescription: "\u5728\u5DF2\u540C\u6B65\u7684 pi.dev \u76EE\u5F55\u4E2D\u641C\u7D22\uFF0C\u5E76\u9009\u62E9\u8BE5\u6A21\u578B\u5E94\u4F7F\u7528\u7684\u6761\u76EE\u3002",
|
|
9959
|
+
aiModelBindingPickerEmptyDescription: "\u6362\u4E00\u4E2A\u5173\u952E\u8BCD\u6216\u63D0\u4F9B\u65B9\uFF0C\u6216\u5148\u540C\u6B65\u76EE\u5F55\u3002",
|
|
9960
|
+
aiModelBindingPickerEmptyTitle: "\u6CA1\u6709\u5339\u914D\u7684\u76EE\u5F55\u6761\u76EE",
|
|
9961
|
+
aiModelBindingPickerErrorTitle: "\u76EE\u5F55\u52A0\u8F7D\u5931\u8D25",
|
|
9962
|
+
aiModelBindingPickerLoading: "\u6B63\u5728\u52A0\u8F7D\u76EE\u5F55\u6761\u76EE",
|
|
9963
|
+
aiModelBindingPickerPaginationLabel: "\u76EE\u5F55\u6761\u76EE\u5206\u9875",
|
|
9964
|
+
aiModelBindingPickerRetry: "\u91CD\u65B0\u52A0\u8F7D",
|
|
9965
|
+
aiModelBindingPickerSearch: "\u641C\u7D22",
|
|
9966
|
+
aiModelBindingPickerSearchPlaceholder: "\u641C\u7D22\u6A21\u578B ID \u6216\u540D\u79F0",
|
|
9967
|
+
aiModelBindingPickerSelected: "\u5DF2\u9009\u62E9",
|
|
9968
|
+
aiModelBindingPickerSet: "\u9009\u62E9",
|
|
9969
|
+
aiModelBindingPickerTitle: "\u9009\u62E9\u76EE\u5F55\u6761\u76EE",
|
|
9970
|
+
aiModelBindingPickerTrigger: "\u9009\u62E9\u76EE\u5F55\u6761\u76EE",
|
|
9971
|
+
aiModelBindingRequired: "\u8BF7\u9009\u62E9\u76EE\u5F55\u6761\u76EE\uFF0C\u6216\u6539\u7528\u5176\u4ED6\u7ED1\u5B9A\u6A21\u5F0F\u3002",
|
|
9972
|
+
aiModelBindingUnbound: "\u4E0D\u7ED1\u5B9A",
|
|
9973
|
+
aiModelCapabilitiesDescription: "\u6BCF\u9879\u53EF\u9009\u7EE7\u627F\u3001\u662F\u6216\u5426\uFF1B\u7EE7\u627F\u8868\u793A\u7EE7\u7EED\u6CBF\u4F18\u5148\u7EA7\u5411\u4E0B\u67E5\u627E\u3002",
|
|
9974
|
+
aiModelCapabilitiesLabel: "\u80FD\u529B",
|
|
9975
|
+
aiModelCapabilityUndeclared: "\u672A\u58F0\u660E",
|
|
9976
|
+
aiModelCapabilityReasoning: "\u63A8\u7406",
|
|
9977
|
+
aiModelCapabilityToolCalling: "\u5DE5\u5177\u8C03\u7528",
|
|
9978
|
+
aiModelCapabilityVision: "\u89C6\u89C9",
|
|
9979
|
+
aiModelCapabilityWebSearch: "\u8054\u7F51\u68C0\u7D22",
|
|
9980
|
+
aiModelCatalogMatchesWarning: "\u6709 {{matches}} \u4E2A\u76EE\u5F55\u6761\u76EE\u5171\u7528\u8BE5\u6A21\u578B ID\uFF0C\u4EC5\u6309 ID \u5339\u914D\u65F6\u4F1A\u56FA\u5B9A\u9009\u4E2D\u5176\u4E2D\u4E00\u4E2A\u3002",
|
|
9981
|
+
aiModelCatalogMatchesShort: "\u540C\u540D \xD7{{matches}}",
|
|
9982
|
+
aiModelClearFilters: "\u6E05\u9664\u7B5B\u9009",
|
|
9983
|
+
aiModelContextWindowLabel: "\u4E0A\u4E0B\u6587\u7A97\u53E3",
|
|
9984
|
+
aiModelCostCacheRead: "\u7F13\u5B58\u8BFB\u53D6",
|
|
9985
|
+
aiModelCostCacheWrite: "\u7F13\u5B58\u5199\u5165",
|
|
9986
|
+
aiModelCostDescription: "\u5355\u4F4D\u4E3A\u6BCF\u767E\u4E07 token\u3002\u56DB\u9879\u5168\u90E8\u586B\u5199\u540E\u624D\u4F1A\u4FDD\u5B58\uFF0C\u5168\u90E8\u7559\u7A7A\u8868\u793A\u7EE7\u627F\u3002",
|
|
9987
|
+
aiModelCostIncomplete: "\u4EF7\u683C\u9700\u8981\u56DB\u9879\u5168\u90E8\u586B\u5199\uFF0C\u6216\u5168\u90E8\u7559\u7A7A\u3002",
|
|
9988
|
+
aiModelCostInput: "\u8F93\u5165",
|
|
9989
|
+
aiModelCostLabel: "\u4EF7\u683C\uFF08\u6BCF\u767E\u4E07 token\uFF09",
|
|
9990
|
+
aiModelCostOutput: "\u8F93\u51FA",
|
|
9991
|
+
aiModelDescription: "\u5C5E\u6027\u6309\u300C\u4EBA\u5DE5\u8986\u76D6 \u2192 \u76EE\u5F55\u6761\u76EE\uFF08\u81EA\u52A8\u5339\u914D\u6216\u624B\u52A8\u7ED1\u5B9A\uFF09\u2192 Cherry Studio \u6CE8\u518C\u8868 \u2192 \u7A7A\u300D\u7684\u987A\u5E8F\u89E3\u6790\uFF0C\u7559\u7A7A\u7684\u5B57\u6BB5\u4F1A\u7EE7\u7EED\u5411\u4E0B\u7EE7\u627F\u3002",
|
|
9992
|
+
aiModelDialogCreateDescription: "\u4FDD\u5B58\u540E\u4F1A\u5199\u5165\u4E00\u6761\u65B0\u7684\u4EBA\u5DE5\u8986\u76D6\u3002",
|
|
9993
|
+
aiModelDialogCreateTitle: "\u6DFB\u52A0\u6A21\u578B\u5C5E\u6027",
|
|
9994
|
+
aiModelDialogDescription: "\u4FDD\u5B58\u540E\u4F1A\u4E3A {{modelId}} \u5199\u5165\u4E00\u6761\u4EBA\u5DE5\u8986\u76D6\u3002",
|
|
9995
|
+
aiModelDialogEditTitle: "\u7F16\u8F91\u6A21\u578B\u5C5E\u6027",
|
|
9996
|
+
aiModelDialogLegendSr: "\u7F16\u8F91\u8BE5\u6A21\u578B\u7684\u4EBA\u5DE5\u8986\u76D6",
|
|
9997
|
+
aiModelDisplayNameDescription: "\u7559\u7A7A\u65F6\u4F7F\u7528\u76EE\u5F55\u6216\u6CE8\u518C\u8868\u4E2D\u7684\u540D\u79F0\u3002",
|
|
9998
|
+
aiModelDisplayNameLabel: "\u663E\u793A\u540D\u79F0",
|
|
9999
|
+
aiModelDisplayNamePlaceholder: "\u4F8B\u5982\uFF1AGPT-5.6 Terra",
|
|
10000
|
+
aiModelEditLabel: "\u7F16\u8F91 {{id}}",
|
|
10001
|
+
aiModelEmptyDescription: "\u5F53\u524D\u6CA1\u6709\u6B63\u5728\u4F7F\u7528\u7684\u6A21\u578B\u3002\u53EF\u4EE5\u624B\u52A8\u6DFB\u52A0\uFF0C\u63D0\u524D\u914D\u7F6E\u5C1A\u672A\u88AB\u4EFB\u4F55\u6765\u6E90\u66B4\u9732\u7684\u6A21\u578B\u3002",
|
|
10002
|
+
aiModelEmptyErrorDescription: "\u8BF7\u68C0\u67E5 Server \u7684 AI \u6A21\u578B\u76EE\u5F55\u914D\u7F6E\u540E\u91CD\u8BD5\u3002",
|
|
10003
|
+
aiModelEmptyErrorTitle: "\u65E0\u6CD5\u83B7\u53D6\u6A21\u578B\u5C5E\u6027",
|
|
10004
|
+
aiModelEmptyRetry: "\u91CD\u65B0\u83B7\u53D6",
|
|
10005
|
+
aiModelEmptyTitle: "\u6682\u65E0\u6A21\u578B",
|
|
10006
|
+
aiModelErrorTitle: "\u65E0\u6CD5\u83B7\u53D6 AI \u6A21\u578B\u5C5E\u6027",
|
|
10007
|
+
aiModelFooter: "{{overrides}} \u4E2A\u6A21\u578B\u5B58\u5728\u4EBA\u5DE5\u8986\u76D6\uFF0C\u5176\u4F59\u4ECD\u56DE\u843D\u5230\u76EE\u5F55\u6216 Cherry Studio \u6CE8\u518C\u8868\u3002",
|
|
10008
|
+
aiModelHeaderActions: "\u64CD\u4F5C",
|
|
10009
|
+
aiModelHeaderBinding: "\u76EE\u5F55\u7ED1\u5B9A",
|
|
10010
|
+
aiModelHeaderCapabilities: "\u6A21\u578B\u80FD\u529B",
|
|
10011
|
+
aiModelHeaderContextWindow: "\u4E0A\u4E0B\u6587\u7A97\u53E3",
|
|
10012
|
+
aiModelHeaderMaxTokens: "\u6700\u5927\u8F93\u51FA",
|
|
10013
|
+
aiModelHeaderModelId: "\u6A21\u578B ID",
|
|
10014
|
+
aiModelHeaderName: "\u540D\u79F0",
|
|
10015
|
+
aiModelHeaderProvider: "\u63D0\u4F9B\u65B9",
|
|
10016
|
+
aiModelHeaderSource: "\u6765\u6E90",
|
|
10017
|
+
aiModelHeaderUpdatedAt: "\u66F4\u65B0\u65F6\u95F4",
|
|
10018
|
+
aiModelInputDescription: "\u8BE5\u6A21\u578B\u63A5\u53D7\u7684\u6A21\u6001\uFF1B\u4E24\u9879\u90FD\u4E0D\u52FE\u9009\u8868\u793A\u7EE7\u627F\u3002",
|
|
10019
|
+
aiModelInputImage: "\u56FE\u7247",
|
|
10020
|
+
aiModelInputLabel: "\u8F93\u5165\u6A21\u6001",
|
|
10021
|
+
aiModelInputText: "\u6587\u672C",
|
|
10022
|
+
aiModelLegendSr: "\u9009\u62E9 AI \u6A21\u578B\u5C5E\u6027\u76EE\u5F55",
|
|
10023
|
+
aiModelMaxTokensLabel: "\u6700\u5927\u8F93\u51FA token",
|
|
10024
|
+
aiModelModelIdDescription: "\u4E0A\u6E38\u5B9E\u9645\u8FD4\u56DE\u7684\u6A21\u578B ID\uFF1B\u884C\u521B\u5EFA\u540E\u4E0D\u53EF\u4FEE\u6539\u3002",
|
|
10025
|
+
aiModelModelIdLabel: "\u6A21\u578B ID",
|
|
10026
|
+
aiModelModelIdRequired: "\u8BF7\u586B\u5199\u6A21\u578B ID\u3002",
|
|
10027
|
+
aiModelNoMatchDescription: "\u6362\u4E00\u4E2A\u5173\u952E\u8BCD\uFF0C\u6216\u6E05\u9664\u6765\u6E90\u7B5B\u9009\u3002",
|
|
10028
|
+
aiModelNoMatchTitle: "\u6CA1\u6709\u5339\u914D\u7684\u6A21\u578B",
|
|
10029
|
+
aiModelPaginationLabel: "AI \u6A21\u578B\u5C5E\u6027\u5206\u9875",
|
|
10030
|
+
aiModelPanelAria: "AI \u6A21\u578B\u5C5E\u6027\u76EE\u5F55",
|
|
10031
|
+
aiModelPrecedence: "\u4F18\u5148\u7EA7\uFF1A\u4EBA\u5DE5\u8986\u76D6 \u2192 \u76EE\u5F55\u6761\u76EE \u2192 Cherry Studio \u6CE8\u518C\u8868 \u2192 \u7A7A\u3002",
|
|
10032
|
+
aiModelRawApply: "\u5E94\u7528 JSON",
|
|
10033
|
+
aiModelRawDescription: "\u8BE5\u6587\u672C\u6846\u4E0E\u4E0A\u65B9\u5B57\u6BB5\u7F16\u8F91\u540C\u4E00\u4E2A\u8986\u76D6\u5BF9\u8C61\uFF1B\u5E94\u7528\u524D\u4F1A\u5148\u6821\u9A8C\u952E\u540D\u4E0E\u7C7B\u578B\u3002",
|
|
10034
|
+
aiModelRawParseError: "JSON \u89E3\u6790\u5931\u8D25\uFF1A{{message}}",
|
|
10035
|
+
aiModelRawShapeError: "\u8986\u76D6\u5185\u5BB9\u5FC5\u987B\u662F JSON \u5BF9\u8C61\u3002",
|
|
10036
|
+
aiModelRawToggle: "\u539F\u59CB JSON \u8986\u76D6",
|
|
10037
|
+
aiModelRawUnknownKey: "\u4E0D\u652F\u6301\u7684\u5C5E\u6027\uFF1A{{key}}",
|
|
10038
|
+
aiModelRawValueInvalid: "{{key}} \u7684\u53D6\u503C\u4E0D\u88AB\u652F\u6301\u3002",
|
|
10039
|
+
aiModelResetAction: "\u5220\u9664\u8986\u76D6\uFF08\u6062\u590D\u76EE\u5F55\u503C\uFF09",
|
|
10040
|
+
aiModelResetConfirmDescription: "\u5220\u9664\u8986\u76D6\u540E\uFF0C{{modelId}} \u5C06\u56DE\u843D\u5230\u76EE\u5F55\u6216\u6CE8\u518C\u8868\u7684\u503C\u3002",
|
|
10041
|
+
aiModelResetConfirmLabel: "\u5220\u9664\u8986\u76D6",
|
|
10042
|
+
aiModelResetConfirmTitle: "\u5220\u9664\u6A21\u578B\u8986\u76D6",
|
|
10043
|
+
aiModelResetToast: "\u5DF2\u5220\u9664\u8986\u76D6",
|
|
10044
|
+
aiModelSavedToast: "\u6A21\u578B\u5C5E\u6027\u5DF2\u4FDD\u5B58",
|
|
10045
|
+
aiModelSearchPlaceholder: "\u641C\u7D22\u6A21\u578B ID",
|
|
10046
|
+
aiModelSourceAll: "\u5168\u90E8\u6765\u6E90",
|
|
10047
|
+
aiModelSourceCatalog: "\u76EE\u5F55\u6761\u76EE",
|
|
10048
|
+
aiModelSourceFilterAria: "\u6765\u6E90\u7B5B\u9009",
|
|
10049
|
+
aiModelSourceNone: "\u672A\u6536\u5F55",
|
|
10050
|
+
aiModelSourceOverride: "\u4EBA\u5DE5\u8986\u76D6",
|
|
10051
|
+
aiModelSourceRegistry: "Cherry Studio \u6CE8\u518C\u8868",
|
|
10052
|
+
aiModelSyncButton: "\u4ECE pi.dev \u540C\u6B65",
|
|
10053
|
+
aiModelSyncEntryCount: "{{entries}} \u4E2A\u6761\u76EE",
|
|
10054
|
+
aiModelSyncErrorTitle: "\u6700\u8FD1\u4E00\u6B21\u540C\u6B65\u5931\u8D25",
|
|
10055
|
+
aiModelSyncFailed: "\u540C\u6B65\u5931\u8D25\uFF1A{{message}}",
|
|
10056
|
+
aiModelSyncFetchedAt: "\u62C9\u53D6\u4E8E {{date}}",
|
|
10057
|
+
aiModelSyncHeader: "pi.dev \u76EE\u5F55",
|
|
10058
|
+
aiModelSyncLastAttempt: "\u6700\u8FD1\u5C1D\u8BD5 {{date}}",
|
|
10059
|
+
aiModelSyncLoadedAt: " \xB7 \u8F7D\u5165\u4E8E {{date}}",
|
|
10060
|
+
aiModelSyncNever: "\u672A\u8BB0\u5F55",
|
|
10061
|
+
aiModelSyncNotModified: "\u76EE\u5F55\u5DF2\u662F\u6700\u65B0\u3002",
|
|
10062
|
+
aiModelSyncOverrides: "{{overrides}} \u6761\u8986\u76D6",
|
|
10063
|
+
aiModelSyncRevision: "\u7248\u672C {{revision}}",
|
|
10064
|
+
aiModelSyncRevisionNone: "\u5C1A\u672A\u540C\u6B65",
|
|
10065
|
+
aiModelSyncSucceeded: "\u76EE\u5F55\u5DF2\u66F4\u65B0\u5230\u7248\u672C {{revision}}\u3002",
|
|
10066
|
+
aiModelTableAria: "AI \u6A21\u578B\u5C5E\u6027\u8868\u683C\uFF0C\u53EF\u6A2A\u5411\u6EDA\u52A8",
|
|
10067
|
+
aiModelTableLoading: "\u6B63\u5728\u52A0\u8F7D\u6A21\u578B\u5C5E\u6027",
|
|
10068
|
+
aiModelThinkingCustomPlaceholder: "\u4E0A\u6E38\u53C2\u6570\u540D",
|
|
10069
|
+
aiModelThinkingDescription: "\u4E3A\u6BCF\u4E2A\u601D\u8003\u7B49\u7EA7\u6307\u5B9A\u4E0A\u6E38\u53D6\u503C\uFF1B\u300C\u4E0D\u652F\u6301\u300D\u5199\u5165 null\uFF0C\u300C\u7EE7\u627F\u300D\u4E0D\u5199\u5165\u3002",
|
|
10070
|
+
aiModelThinkingLabel: "\u601D\u8003\u7B49\u7EA7\u6620\u5C04",
|
|
10071
|
+
aiModelThinkingUnsupported: "\u4E0D\u652F\u6301",
|
|
10072
|
+
aiModelTitle: "AI \u6A21\u578B\u5C5E\u6027",
|
|
10073
|
+
aiModelTokenDescription: "\u7559\u7A7A\u8868\u793A\u7EE7\u627F\u76EE\u5F55\u6216\u6CE8\u518C\u8868\u7684\u6570\u503C\u3002",
|
|
10074
|
+
aiModelTokenInheritPlaceholder: "\u7EE7\u627F",
|
|
10075
|
+
aiModelTokenInvalid: "\u4E0A\u4E0B\u6587\u7A97\u53E3\u4E0E\u6700\u5927\u8F93\u51FA\u5FC5\u987B\u662F\u6B63\u6574\u6570\u3002",
|
|
10076
|
+
aiModelTristateInherit: "\u7EE7\u627F",
|
|
10077
|
+
aiModelTristateNo: "\u5426",
|
|
10078
|
+
aiModelTristateYes: "\u662F",
|
|
10079
|
+
aiModelUpdatedUnknown: "\u672A\u8BB0\u5F55",
|
|
10080
|
+
aiModelValueUnknown: "\u672A\u77E5",
|
|
10081
|
+
aiModelVisible: "\u663E\u793A {{visible}} / {{total}}",
|
|
9827
10082
|
appBreadcrumbProjectDetail: "\u9879\u76EE\u8BE6\u60C5",
|
|
9828
10083
|
appBreadcrumbSub2Api: "Sub2API",
|
|
9829
10084
|
appCheckingSession: "\u6B63\u5728\u68C0\u67E5\u767B\u5F55\u72B6\u6001",
|
|
@@ -11411,7 +11666,6 @@ var serverWeb2 = {
|
|
|
11411
11666
|
versionsVersionStatusPreparing: "\u51C6\u5907\u4E2D",
|
|
11412
11667
|
versionsTargetMacos: "macOS",
|
|
11413
11668
|
versionsTargetServer: "Server",
|
|
11414
|
-
versionsTargetWeb: "Web",
|
|
11415
11669
|
versionsTargetStaticWeb: "\u9759\u6001 Web",
|
|
11416
11670
|
versionsTargetWindows: "Windows",
|
|
11417
11671
|
versionsTargetNone: "\u65E0\u6267\u884C\u76EE\u6807",
|
|
@@ -12013,10 +12267,10 @@ var cli2 = {
|
|
|
12013
12267
|
" status",
|
|
12014
12268
|
" health",
|
|
12015
12269
|
" pack <workflow> [--path <workflow-dir>] [--output <file.tgz>] [--project-group] [--dependency <alias>=<path>]",
|
|
12016
|
-
" upload <workflow> [--path <workflow-dir>] [--file <archive>] [--release-log <text>] [--source-mode bundled|source] [--server-runtime|--no-server-runtime] [--
|
|
12270
|
+
" upload <workflow> [--path <workflow-dir>] [--file <archive>] [--release-log <text>] [--source-mode bundled|source] [--server-runtime|--no-server-runtime] [--desktop-platform macos|windows] [--no-wait] [--create] [--project-group] [--publish-group] [--dependency <alias>=<path>]",
|
|
12017
12271
|
" preparation <workflow-id> <job-id>",
|
|
12018
12272
|
" download <workflow> [--target draft|latest|version] [--path <dir>]",
|
|
12019
|
-
" publish <workflow> [--release-log <text>] [--source-mode bundled|source] [--server-runtime|--no-server-runtime] [--
|
|
12273
|
+
" publish <workflow> [--release-log <text>] [--source-mode bundled|source] [--server-runtime|--no-server-runtime] [--desktop-platform macos|windows] [--project-group] [--dependency <alias>=<path>]",
|
|
12020
12274
|
" publish --deployment <id>",
|
|
12021
12275
|
" run <workflow> [...args] [--target draft|latest|version] [--entrypoint <id>]",
|
|
12022
12276
|
" debug-node <workflow> <node> [...args] [--target draft|latest|version] [--entrypoint <id>]",
|
|
@@ -12029,7 +12283,6 @@ var cli2 = {
|
|
|
12029
12283
|
" --server <url> \u9ED8\u8BA4\u8BFB\u53D6 WORKFLOW_SERVER_URL\u3001\u5DF2\u4FDD\u5B58\u7684 CLI \u8BA4\u8BC1\u6216 http://localhost:7125",
|
|
12030
12284
|
" --token <token> \u53EF\u9009\u7684\u624B\u52A8\u8986\u76D6\u503C\uFF0C\u9ED8\u8BA4\u8BFB\u53D6 WORKFLOW_SERVER_ADMIN_KEY \u6216\u5DF2\u4FDD\u5B58\u7684 CLI API key",
|
|
12031
12285
|
" --server-runtime / --no-server-runtime \u4E3A\u672C\u6B21\u53D1\u884C\u542F\u7528\u6216\u5173\u95ED Server \u6267\u884C",
|
|
12032
|
-
" --web-runtime / --no-web-runtime \u58F0\u660E\u8BE5\u7248\u672C\u53EF\u7531 Web \u5165\u53E3\u52A0\u8F7D\u5E76\u542F\u52A8\u5230 Web\uFF0C\u9700\u8981\u4FDD\u7559\u6E90\u7801",
|
|
12033
12286
|
" --desktop-platform <macos|windows> \u589E\u52A0\u53EF\u4E0B\u8F7D\u7684 Desktop \u76EE\u6807\uFF0C\u53EF\u91CD\u590D\u6307\u5B9A"
|
|
12034
12287
|
].join("\n"),
|
|
12035
12288
|
invalidLocale: "\u4E0D\u652F\u6301\u8BED\u8A00 {{value}}\uFF0C\u53EA\u80FD\u4F7F\u7528 zh-CN \u6216 en\u3002",
|
|
@@ -12060,11 +12313,10 @@ var cli2 = {
|
|
|
12060
12313
|
unsupportedWorkflowEncoding: 'Workflow \u6587\u4EF6 "{{path}}" \u4F7F\u7528\u4E86\u4E0D\u652F\u6301\u7684\u7F16\u7801\u3002',
|
|
12061
12314
|
invalidBase64Content: 'Workflow \u6587\u4EF6 "{{path}}" \u7684 base64 \u5185\u5BB9\u65E0\u6548\u3002',
|
|
12062
12315
|
versionOptionUnsupported: "\u4E0D\u518D\u652F\u6301 --version\uFF0C\u53D1\u5E03\u7248\u672C\u7531\u7CFB\u7EDF\u7BA1\u7406\u3002",
|
|
12316
|
+
webRuntimeOptionRemoved: "\u4E0D\u518D\u652F\u6301 --web-runtime / --no-web-runtime\uFF1AWeb \u7248\u73B0\u5728\u662F Desktop \u6E32\u67D3\u5C42\u7684\u6258\u7BA1\u6784\u5EFA\uFF0C\u8FD0\u884C\u7531 Server \u6267\u884C\uFF0C\u7248\u672C\u4E0D\u518D\u9700\u8981\u5355\u72EC\u58F0\u660E Web \u53D1\u884C\u76EE\u6807\u3002",
|
|
12063
12317
|
invalidSourceMode: "--source-mode \u53EA\u80FD\u662F bundled \u6216 source\u3002",
|
|
12064
12318
|
workspaceDownloadPlatformUnsupported: "workspace download \u4EC5\u652F\u6301 macOS \u548C Windows\uFF0C\u5F53\u524D\u5E73\u53F0\u4E3A {{platform}}\u3002",
|
|
12065
12319
|
serverRuntimeOptionsConflict: "--server-runtime \u4E0E --no-server-runtime \u4E0D\u80FD\u540C\u65F6\u4F7F\u7528\u3002",
|
|
12066
|
-
webRuntimeOptionsConflict: "--web-runtime \u4E0E --no-web-runtime \u4E0D\u80FD\u540C\u65F6\u4F7F\u7528\u3002",
|
|
12067
|
-
webRuntimeRequiresSource: "--web-runtime \u4E0D\u80FD\u4E0E --source-mode bundled \u540C\u65F6\u4F7F\u7528\uFF1BWeb \u53D1\u884C\u5FC5\u987B\u4FDD\u7559\u6E90\u7801\u3002",
|
|
12068
12320
|
invalidDesktopPlatform: "\u4E0D\u652F\u6301 --desktop-platform {{platform}}\uFF0C\u53EA\u80FD\u4F7F\u7528 macos \u6216 windows\u3002",
|
|
12069
12321
|
executionTargetCommandUnsupported: "\u53D1\u884C\u76EE\u6807\u53C2\u6570\u4EC5\u652F\u6301 upload \u548C publish \u547D\u4EE4\u3002",
|
|
12070
12322
|
desktopPlatformRequiresSource: "--desktop-platform \u4E0D\u80FD\u4E0E --source-mode bundled \u540C\u65F6\u4F7F\u7528\uFF1BDesktop \u53D1\u884C\u5FC5\u987B\u4FDD\u7559\u6E90\u7801\u3002",
|
|
@@ -110,14 +110,18 @@ function createCliRelatedProjectRuntime(options) {
|
|
|
110
110
|
projectId: currentTarget.projectId,
|
|
111
111
|
source
|
|
112
112
|
});
|
|
113
|
-
const runner =
|
|
113
|
+
const runner = createLocalProjectRunner({
|
|
114
114
|
projectDir: currentTarget.projectDir,
|
|
115
|
-
//
|
|
116
|
-
//
|
|
115
|
+
// Where the target keeps its data decides which store its own run
|
|
116
|
+
// uses: a project that lives on the server runs against the server,
|
|
117
|
+
// exactly as it would if its author started it here.
|
|
118
|
+
location,
|
|
119
|
+
// The roots settled above, not the raw options: the relation and the
|
|
120
|
+
// target's own run have to land on the same store, defaults
|
|
117
121
|
// included, or one side writes what the other cannot see.
|
|
118
122
|
kvStoreDir: localKvStoreDir,
|
|
119
123
|
persistentValueStoreDir: localPersistentValueStoreDir
|
|
120
|
-
})
|
|
124
|
+
});
|
|
121
125
|
return {
|
|
122
126
|
projectId: currentTarget.projectId,
|
|
123
127
|
grant: access.grant,
|
|
@@ -155,7 +159,7 @@ function createLocalProjectRunner(options) {
|
|
|
155
159
|
workflowDir: projectDir,
|
|
156
160
|
entrypointId,
|
|
157
161
|
args: [...args],
|
|
158
|
-
storage: {
|
|
162
|
+
storage: options.location === "server" ? { host: "server" } : {
|
|
159
163
|
host: "local",
|
|
160
164
|
local: {
|
|
161
165
|
kvStoreDir: options.kvStoreDir,
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
prepareCliInvocation
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QRUACHXS.js";
|
|
5
5
|
import {
|
|
6
6
|
i18n,
|
|
7
7
|
translateWorkflowCodeError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-24EFJMHA.js";
|
|
9
9
|
import "./chunk-NSPRIPOP.js";
|
|
10
10
|
|
|
11
11
|
// src/index.ts
|
|
@@ -24,12 +24,12 @@ async function main(argv = process.argv.slice(2)) {
|
|
|
24
24
|
const prepared = prepareCliInvocation(argv);
|
|
25
25
|
argv = prepared.argv;
|
|
26
26
|
if (argv[0] === "workspace") {
|
|
27
|
-
const workspaceCli = await import("./workspace-
|
|
27
|
+
const workspaceCli = await import("./workspace-W5CW24NG.js");
|
|
28
28
|
await workspaceCli.main(argv.slice(1), { localeInitialized: true });
|
|
29
29
|
return typeof process.exitCode === "number" ? process.exitCode : 0;
|
|
30
30
|
}
|
|
31
31
|
if (argv[0] === "mcp") {
|
|
32
|
-
const mcpCli = await import("./mcp-
|
|
32
|
+
const mcpCli = await import("./mcp-IBG7Q3WR.js");
|
|
33
33
|
return mcpCli.main(argv.slice(1));
|
|
34
34
|
}
|
|
35
35
|
if (argv.length === 0 || argv[0] === "help" || argv[0] === "--help" || argv[0] === "-h") {
|
|
@@ -39,7 +39,7 @@ async function main(argv = process.argv.slice(2)) {
|
|
|
39
39
|
}
|
|
40
40
|
const { register } = await import("tsx/esm/api");
|
|
41
41
|
register();
|
|
42
|
-
const localCli = await import("./local-
|
|
42
|
+
const localCli = await import("./local-TOJX75PL.js");
|
|
43
43
|
return localCli.main(argv, { localeInitialized: true });
|
|
44
44
|
}
|
|
45
45
|
function formatHelp() {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
prepareCliInvocation
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QRUACHXS.js";
|
|
5
5
|
import {
|
|
6
6
|
createCliRelatedProjectRuntime,
|
|
7
7
|
parseCliRelatedProjectSpec
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VMFPUXPG.js";
|
|
9
9
|
import {
|
|
10
10
|
readWorkflowProjectInfo
|
|
11
11
|
} from "./chunk-PI54SAI5.js";
|
|
12
12
|
import {
|
|
13
13
|
i18n,
|
|
14
14
|
translateWorkflowCodeError
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-24EFJMHA.js";
|
|
16
16
|
import {
|
|
17
17
|
__commonJS,
|
|
18
18
|
__toESM
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
} from "./chunk-PGM3IPWA.js";
|
|
8
8
|
import {
|
|
9
9
|
parseCliRelatedProjectSpec
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VMFPUXPG.js";
|
|
11
11
|
import {
|
|
12
12
|
assertWorkflowUuid
|
|
13
13
|
} from "./chunk-PI54SAI5.js";
|
|
14
14
|
import {
|
|
15
15
|
i18n
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-24EFJMHA.js";
|
|
17
17
|
import {
|
|
18
18
|
__commonJS,
|
|
19
19
|
__export,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-PGM3IPWA.js";
|
|
9
9
|
import {
|
|
10
10
|
prepareCliInvocation
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QRUACHXS.js";
|
|
12
12
|
import {
|
|
13
13
|
isWorkflowUuid,
|
|
14
14
|
readWorkflowProjectInfo,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
getCurrentLocale,
|
|
19
19
|
i18n,
|
|
20
20
|
translateWorkflowCodeError
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-24EFJMHA.js";
|
|
22
22
|
import {
|
|
23
23
|
__commonJS,
|
|
24
24
|
__toESM
|
|
@@ -1058,7 +1058,7 @@ async function main(argv = process.argv.slice(2), options = {}) {
|
|
|
1058
1058
|
await commandLogout();
|
|
1059
1059
|
return;
|
|
1060
1060
|
case "status":
|
|
1061
|
-
await commandStatus();
|
|
1061
|
+
await commandStatus(parsed);
|
|
1062
1062
|
return;
|
|
1063
1063
|
case "pack":
|
|
1064
1064
|
await commandPack(parsed);
|
|
@@ -1161,7 +1161,7 @@ async function commandLogout() {
|
|
|
1161
1161
|
await clearCliAuthConfig();
|
|
1162
1162
|
printApiResponse({ errCode: 0, errMessage: "", data: { loggedIn: false } });
|
|
1163
1163
|
}
|
|
1164
|
-
async function commandStatus() {
|
|
1164
|
+
async function commandStatus(parsed) {
|
|
1165
1165
|
const authConfig = await readCliAuthConfig();
|
|
1166
1166
|
printApiResponse({
|
|
1167
1167
|
errCode: 0,
|
|
@@ -1172,7 +1172,8 @@ async function commandStatus() {
|
|
|
1172
1172
|
user: authConfig.user,
|
|
1173
1173
|
expiresAt: authConfig.expiresAt,
|
|
1174
1174
|
expiringSoon: isWorkflowAuthExpiringSoon(authConfig.expiresAt),
|
|
1175
|
-
source: authConfig.source ?? null
|
|
1175
|
+
source: authConfig.source ?? null,
|
|
1176
|
+
effective: parsed.effective
|
|
1176
1177
|
}
|
|
1177
1178
|
});
|
|
1178
1179
|
}
|
|
@@ -1970,7 +1971,6 @@ async function uploadProjectGroupPackage(options) {
|
|
|
1970
1971
|
const query = new URLSearchParams({ fileName: archiveName });
|
|
1971
1972
|
if (options.executionTargets !== void 0) {
|
|
1972
1973
|
query.set("serverRuntime", String(options.executionTargets.server));
|
|
1973
|
-
query.set("webRuntime", String(options.executionTargets.web));
|
|
1974
1974
|
for (const platform of options.executionTargets.desktop) {
|
|
1975
1975
|
query.append("desktopPlatform", platform);
|
|
1976
1976
|
}
|
|
@@ -2119,7 +2119,6 @@ async function uploadPackage(options) {
|
|
|
2119
2119
|
const query = new URLSearchParams({ fileName: archiveName });
|
|
2120
2120
|
if (options.executionTargets !== void 0) {
|
|
2121
2121
|
query.set("serverRuntime", String(options.executionTargets.server));
|
|
2122
|
-
query.set("webRuntime", String(options.executionTargets.web));
|
|
2123
2122
|
for (const platform of options.executionTargets.desktop) {
|
|
2124
2123
|
query.append("desktopPlatform", platform);
|
|
2125
2124
|
}
|
|
@@ -2326,12 +2325,19 @@ function parseArgs(argv) {
|
|
|
2326
2325
|
const [command = "", ...rest] = argv;
|
|
2327
2326
|
const positional = [];
|
|
2328
2327
|
const authConfig = readCliAuthConfigSync();
|
|
2328
|
+
const envServer = process.env.WORKFLOW_SERVER_URL;
|
|
2329
|
+
const envToken = process.env.WORKFLOW_SERVER_ADMIN_KEY;
|
|
2329
2330
|
const options = {
|
|
2330
|
-
server:
|
|
2331
|
-
token:
|
|
2331
|
+
server: envServer ?? authConfig.serverUrl ?? DEFAULT_SERVER_URL,
|
|
2332
|
+
token: envToken ?? authConfig.apiKey ?? "",
|
|
2332
2333
|
dependencies: [],
|
|
2333
2334
|
desktopPlatforms: []
|
|
2334
2335
|
};
|
|
2336
|
+
const effective = {
|
|
2337
|
+
serverUrl: options.server,
|
|
2338
|
+
serverSource: envServer !== void 0 ? "env" : authConfig.serverUrl.trim() !== "" ? "file" : "default",
|
|
2339
|
+
tokenSource: envToken !== void 0 ? "env" : authConfig.apiKey.trim() !== "" ? "file" : "none"
|
|
2340
|
+
};
|
|
2335
2341
|
for (let index = 0; index < rest.length; index += 1) {
|
|
2336
2342
|
const arg = rest[index];
|
|
2337
2343
|
if (arg === "--") {
|
|
@@ -2341,9 +2347,12 @@ function parseArgs(argv) {
|
|
|
2341
2347
|
switch (arg) {
|
|
2342
2348
|
case "--server":
|
|
2343
2349
|
options.server = requireValue(rest, index += 1, "--server");
|
|
2350
|
+
effective.serverUrl = options.server;
|
|
2351
|
+
effective.serverSource = "flag";
|
|
2344
2352
|
break;
|
|
2345
2353
|
case "--token":
|
|
2346
2354
|
options.token = requireValue(rest, index += 1, "--token");
|
|
2355
|
+
effective.tokenSource = "flag";
|
|
2347
2356
|
break;
|
|
2348
2357
|
case "--target":
|
|
2349
2358
|
options.target = requireValue(rest, index += 1, "--target");
|
|
@@ -2383,18 +2392,6 @@ function parseArgs(argv) {
|
|
|
2383
2392
|
}
|
|
2384
2393
|
options.serverRuntime = false;
|
|
2385
2394
|
break;
|
|
2386
|
-
case "--web-runtime":
|
|
2387
|
-
if (options.webRuntime === false) {
|
|
2388
|
-
throw new Error(i18n.t("webRuntimeOptionsConflict", { ns: "cli" }));
|
|
2389
|
-
}
|
|
2390
|
-
options.webRuntime = true;
|
|
2391
|
-
break;
|
|
2392
|
-
case "--no-web-runtime":
|
|
2393
|
-
if (options.webRuntime === true) {
|
|
2394
|
-
throw new Error(i18n.t("webRuntimeOptionsConflict", { ns: "cli" }));
|
|
2395
|
-
}
|
|
2396
|
-
options.webRuntime = false;
|
|
2397
|
-
break;
|
|
2398
2395
|
case "--desktop-platform": {
|
|
2399
2396
|
const value = requireValue(rest, index += 1, "--desktop-platform");
|
|
2400
2397
|
if (!isWorkflowDesktopExecutionPlatform(value)) {
|
|
@@ -2425,6 +2422,13 @@ function parseArgs(argv) {
|
|
|
2425
2422
|
options.sourceMode = value;
|
|
2426
2423
|
break;
|
|
2427
2424
|
}
|
|
2425
|
+
// Removed options are named rather than falling through to `positional`:
|
|
2426
|
+
// an unknown flag would otherwise be read as the workflow name, and a
|
|
2427
|
+
// script that still passes it would fail with "workflow not found"
|
|
2428
|
+
// instead of saying what changed.
|
|
2429
|
+
case "--web-runtime":
|
|
2430
|
+
case "--no-web-runtime":
|
|
2431
|
+
throw new Error(i18n.t("webRuntimeOptionRemoved", { ns: "cli" }));
|
|
2428
2432
|
default:
|
|
2429
2433
|
positional.push(arg);
|
|
2430
2434
|
break;
|
|
@@ -2451,37 +2455,34 @@ function parseArgs(argv) {
|
|
|
2451
2455
|
if (options.projectGroup === true && command !== "pack" && command !== "upload" && command !== "publish") {
|
|
2452
2456
|
throw new Error(i18n.t("projectGroupCommandUnsupported", { ns: "cli" }));
|
|
2453
2457
|
}
|
|
2454
|
-
const hasExecutionTargetOptions = options.serverRuntime !== void 0 || options.
|
|
2458
|
+
const hasExecutionTargetOptions = options.serverRuntime !== void 0 || options.desktopPlatforms.length > 0;
|
|
2455
2459
|
if (hasExecutionTargetOptions && command !== "upload" && command !== "publish") {
|
|
2456
2460
|
throw new Error(i18n.t("executionTargetCommandUnsupported", { ns: "cli" }));
|
|
2457
2461
|
}
|
|
2458
2462
|
if (options.sourceMode === "bundled" && options.desktopPlatforms.length > 0) {
|
|
2459
2463
|
throw new Error(i18n.t("desktopPlatformRequiresSource", { ns: "cli" }));
|
|
2460
2464
|
}
|
|
2461
|
-
if (options.sourceMode === "bundled" && options.webRuntime === true) {
|
|
2462
|
-
throw new Error(i18n.t("webRuntimeRequiresSource", { ns: "cli" }));
|
|
2463
|
-
}
|
|
2464
2465
|
if (options.deployment !== void 0 && (options.projectGroup === true || options.dependencies.length > 0 || options.path !== void 0 || options.file !== void 0 || options.output !== void 0 || options.create === true || options.releaseLog !== void 0 || options.sourceMode !== void 0 || hasExecutionTargetOptions)) {
|
|
2465
2466
|
throw new Error(i18n.t("deploymentOptionsConflict", { ns: "cli" }));
|
|
2466
2467
|
}
|
|
2467
2468
|
return {
|
|
2468
2469
|
command,
|
|
2469
2470
|
positional,
|
|
2470
|
-
options
|
|
2471
|
+
options,
|
|
2472
|
+
effective: { ...effective, serverUrl: options.server }
|
|
2471
2473
|
};
|
|
2472
2474
|
}
|
|
2473
2475
|
function resolveRequestedExecutionTargets(options, projectType) {
|
|
2474
|
-
if (options.serverRuntime === void 0 && options.
|
|
2476
|
+
if (options.serverRuntime === void 0 && options.desktopPlatforms.length === 0) {
|
|
2475
2477
|
return void 0;
|
|
2476
2478
|
}
|
|
2477
2479
|
return {
|
|
2478
2480
|
server: options.serverRuntime ?? projectType !== "kanban",
|
|
2479
|
-
web: options.webRuntime ?? false,
|
|
2480
2481
|
desktop: [...options.desktopPlatforms]
|
|
2481
2482
|
};
|
|
2482
2483
|
}
|
|
2483
2484
|
function resolveRequestedSourceMode(options, executionTargets) {
|
|
2484
|
-
return (executionTargets?.desktop.length ?? 0) > 0
|
|
2485
|
+
return (executionTargets?.desktop.length ?? 0) > 0 ? "source" : options.sourceMode;
|
|
2485
2486
|
}
|
|
2486
2487
|
function requireLogin(parsed) {
|
|
2487
2488
|
if (parsed.options.server.trim() === "" || parsed.options.token.trim() === "") {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workflow-code/cli",
|
|
3
|
-
"version": "0.2.4-
|
|
3
|
+
"version": "0.2.4-20260928002",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"workflow-code": "./dist/index.js"
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"zod": "4.4.3"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"workflow-code": "0.2.4-
|
|
23
|
+
"workflow-code": "0.2.4-20260928001"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@types/node": "^25.6.0",
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
"tsup": "^8.5.1",
|
|
30
30
|
"typescript": "^6.0.3",
|
|
31
31
|
"vitest": "^4.1.7",
|
|
32
|
-
"workflow-code": "0.2.4-
|
|
33
|
-
"@workflow-code/auth-config": "0.1.0",
|
|
32
|
+
"workflow-code": "0.2.4-20260928001",
|
|
34
33
|
"@workflow-code/execution-targets": "0.1.0",
|
|
34
|
+
"@workflow-code/auth-config": "0.1.0",
|
|
35
35
|
"@workflow-code/i18n": "0.1.0",
|
|
36
36
|
"@workflow-code/openai-responses": "0.1.0",
|
|
37
|
-
"@workflow-code/project-dependencies": "0.1.0",
|
|
38
37
|
"@workflow-code/project-info": "0.1.0",
|
|
38
|
+
"@workflow-code/project-dependencies": "0.1.0",
|
|
39
39
|
"@workflow-code/project-upload": "0.1.0",
|
|
40
40
|
"@workflow-code/workflow-ids": "0.1.0",
|
|
41
41
|
"@workflow-code/runtime-compatibility": "0.1.0",
|