@workflow-code/cli 0.1.4-20260818001 → 0.1.4-20260824001

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.
@@ -2363,6 +2363,9 @@ var common = {
2363
2363
  workflow: "Workflow",
2364
2364
  runTarget: "Run target",
2365
2365
  projectType: "Project type",
2366
+ projectTypeWorkflow: "Workflow",
2367
+ projectTypeConversation: "Conversation",
2368
+ projectTypeKanban: "Kanban",
2366
2369
  iconSource: "Icon source",
2367
2370
  themeColor: "Theme color",
2368
2371
  notLoggedIn: "Not signed in",
@@ -2960,8 +2963,8 @@ var common = {
2960
2963
  create: "New schedule",
2961
2964
  unavailableTitle: "Schedules are unavailable",
2962
2965
  partialUnavailableTitle: "Some schedule information is unavailable",
2963
- noOnlineVersionTitle: "No schedulable online version",
2964
- noOnlineVersionDescription: "Server schedules must target an exact online published version; latest and draft are not accepted.",
2966
+ noOnlineVersionTitle: "No schedulable Server version",
2967
+ noOnlineVersionDescription: "Server schedules must target an exact online version released for Server execution; latest, draft, and Desktop-only versions are not accepted.",
2965
2968
  presetsTitle: "Suggested schedules",
2966
2969
  desktopPresetsDescription: "Suggestions are not enabled automatically. A schedule is created only after you confirm its parameters.",
2967
2970
  serverPresetsDescription: "Presets are not enabled automatically. A schedule is created only after you confirm the version, entrypoint, and parameters.",
@@ -3223,7 +3226,7 @@ var desktop = {
3223
3226
  settings: "Settings",
3224
3227
  dirtyFilesCount: "{{count}} unsaved files",
3225
3228
  changesSaved: "Changes saved",
3226
- loadingProjectFiles: "Loading project files",
3229
+ loadingProjectFiles: "Loading workspace files",
3227
3230
  loadingProject: "Loading project",
3228
3231
  loginRequired: "Remote features require signing in to an account.",
3229
3232
  serverConnectionFailed: "Cannot connect to the Workflow Server. Check the server URL.",
@@ -3306,13 +3309,20 @@ var desktop = {
3306
3309
  filesLoadedIntoEditor: "{{count}} files loaded into the editor",
3307
3310
  filesWrittenBack: "{{count}} files written back to {{name}}",
3308
3311
  filterByProjectType: "Filter by project type",
3312
+ filterByWorkspaceType: "Filter by workspace type",
3309
3313
  filterProjectsPlaceholder: "Filter projects...",
3314
+ filterWorkspacesPlaceholder: "Filter workspaces...",
3315
+ folderActions: "Folder actions",
3316
+ folderActionsWithName: "{{name}} folder actions",
3317
+ folderOpeningDetail: "Loading folder files and workspace state.",
3318
+ folderOpeningTitle: "Opening folder",
3319
+ folderWorkspaceType: "Folder",
3310
3320
  hideExplorer: "Hide explorer",
3311
3321
  hideHomeSidebar: "Hide home sidebar",
3312
- homeProjectMode: "Home project mode",
3322
+ homeProjectMode: "Home workspace mode",
3313
3323
  homeSidebar: "Home sidebar",
3314
3324
  importLocal: "Import local",
3315
- importLocalFolder: "Import local folder",
3325
+ importLocalFolder: "Open folder",
3316
3326
  importLocalFolderUploadTitle: "Select a local workflow folder and upload it as a server draft",
3317
3327
  importWorkflowFolderToStart: "Import a local workflow folder to start editing",
3318
3328
  inspector: "Inspector",
@@ -3329,6 +3339,7 @@ var desktop = {
3329
3339
  localMode: "Local mode",
3330
3340
  localProjectCountWithMode: "{{count}} local projects \xB7 {{mode}}",
3331
3341
  localRunCount: "{{count}} local runs",
3342
+ localWorkspaces: "Local workspaces",
3332
3343
  localRunRecordsLabel: "Local run records",
3333
3344
  localSaved: "Saved locally",
3334
3345
  localizationNoPermission: "{{action}} (no permission)",
@@ -3356,6 +3367,8 @@ var desktop = {
3356
3367
  noLocalRunRecords: "No local run records yet. They will appear here after you run a workflow.",
3357
3368
  noMatchingProjects: "No matching projects",
3358
3369
  noMatchingProjectsDescription: "Adjust the search term or project type, or use \u201CReset\u201D above to restore all projects.",
3370
+ noMatchingWorkspaces: "No matching workspaces",
3371
+ noMatchingWorkspacesDescription: "Adjust the search term or workspace type, or use \u201CReset\u201D above to restore all workspaces.",
3359
3372
  noMatchingServerVersion: "No matching server versions",
3360
3373
  noOutput: "No output yet",
3361
3374
  noOutputDescription: "Results will appear here after saving, publishing, or running",
@@ -3403,6 +3416,11 @@ var desktop = {
3403
3416
  projectToolbar: "Project toolbar",
3404
3417
  projects: "Projects",
3405
3418
  projectsTitleWithCount: "Projects \xB7 {{count}}",
3419
+ workspaceCount: "{{count}} workspaces",
3420
+ workspaceCountWithTotal: "{{count}} / {{total}} workspaces",
3421
+ workspaceFilterSort: "Workspace filter and sort",
3422
+ workspaceSortAriaLabel: "Workspace sort order",
3423
+ workspaceToolbar: "Workspace toolbar",
3406
3424
  publish: "Publish",
3407
3425
  publishComplete: "Publish complete",
3408
3426
  publishServerDraft: "Publish server draft",
@@ -3453,6 +3471,8 @@ var desktop = {
3453
3471
  saving: "Saving",
3454
3472
  searchProject: "Search projects",
3455
3473
  searchProjectPlaceholder: "Search project name or ID",
3474
+ searchWorkspace: "Search workspaces",
3475
+ searchWorkspacePlaceholder: "Search workspace name or path",
3456
3476
  searchServerVersionPlaceholder: "Search server versions...",
3457
3477
  selectLocalWorkflowToStartEditing: "Select a local workflow to start editing.",
3458
3478
  serverBuildUpdated: "Server build updated",
@@ -3512,8 +3532,29 @@ var desktop = {
3512
3532
  defaultExample: "Default example: ",
3513
3533
  defaultProjectDirectory: "Documents/workflow-projects (default)",
3514
3534
  directoryName: "Directory name",
3535
+ defaultProjectName: "Default name",
3536
+ defaultProjectNamePlaceholder: "Enter the default project name",
3537
+ defaultProjectNameRequired: "Enter a default project name.",
3515
3538
  displayName: "Display name",
3516
3539
  displayNamePlaceholder: "Enter a display name",
3540
+ localizedProjectNames: "Localized names",
3541
+ projectNameZhCN: "Chinese (Simplified)",
3542
+ projectNameEn: "English",
3543
+ optionalProjectNamePlaceholder: "Optional name",
3544
+ projectDeclarations: "Project declarations",
3545
+ projectDeclarationMultilingual: "Multilingual",
3546
+ projectDeclarationMultiplatform: "Multiplatform",
3547
+ extendedProjectDeclarations: "Extended project declarations",
3548
+ projectPlatformSupport: "Display platforms",
3549
+ projectPlatformMode: "Project platform mode",
3550
+ projectPlatformAgnostic: "Platform agnostic",
3551
+ projectPlatformSpecific: "Specific platforms",
3552
+ projectPlatformMacos: "macOS",
3553
+ projectPlatformWindows: "Windows",
3554
+ projectPlatformWeb: "Web",
3555
+ extendedProjectPlatforms: "Extended project platforms",
3556
+ selectAtLeastOneProjectPlatform: "Select at least one project platform.",
3557
+ notSet: "Not set",
3517
3558
  done: "Done",
3518
3559
  downloadProjectDescription: "Keeps the project UUID and server binding while creating an editable local copy.",
3519
3560
  downloadingSource: "Downloading source...",
@@ -3549,9 +3590,11 @@ var desktop = {
3549
3590
  localUuid: "Local UUID",
3550
3591
  localizeWritesSourceOnly: "Only writes a source snapshot; dependencies are not installed.",
3551
3592
  loginRequiredToCreateCloudApp: "Please sign in to an account before creating a cloud app.",
3552
- minifySource: "Minify source",
3553
- minifySourceOffDescription: "The version keeps an original source snapshot.",
3554
- minifySourceOnDescription: "The version does not keep the original TS/JS source.",
3593
+ projectInfoBoundServerLoginRequired: "Connect and sign in to {{serverUrl}} before saving information for this bound project.",
3594
+ desktopPlatformDownloadUnsupported: "This operating system does not have a compatible Desktop download target.",
3595
+ retainOriginalSource: "Retain original source",
3596
+ retainOriginalSourceOffDescription: "The version keeps only the Server runtime and does not provide an original-source download.",
3597
+ retainOriginalSourceOnDescription: "The version also retains an original TS/JS source snapshot.",
3555
3598
  newProjectDescription: "Choose a project type and example; optionally specify a local save location.",
3556
3599
  newProjectNamePlaceholder: "My Workflow",
3557
3600
  noWorkflowSelected: "No workflow selected",
@@ -3582,10 +3625,43 @@ var desktop = {
3582
3625
  projectNamePlaceholder: "Project name",
3583
3626
  projectType: "Project type",
3584
3627
  projectUuid: "Project UUID",
3628
+ assistantLinkedProjects: "Developer assistant links",
3629
+ manageAssistantLinks: "Manage links",
3630
+ assistantLinksDialogTitle: "Linked workspaces",
3631
+ assistantLinksDialogDescription: "Manage local projects and folders that the developer assistant can update together.",
3632
+ assistantLinksDirectCount: "{{count}} direct",
3633
+ assistantLinksRecursiveCount: "{{count}} recursively accessible",
3634
+ assistantLinksWarningCount: "{{count}} unavailable",
3635
+ assistantAutomaticLinks: "Automatic links",
3636
+ assistantManualLinks: "Manual links",
3637
+ assistantLinkSearchPlaceholder: "Search local projects and folders",
3638
+ assistantNoAutomaticLinks: "No automatically linked projects",
3639
+ assistantNoManualCandidates: "No local projects or folders available to link",
3640
+ assistantLinkUnavailable: "Unavailable",
3641
+ assistantLinkAutomatic: "Automatic",
3642
+ assistantLinksLoading: "Loading linked projects...",
3643
+ assistantLinkWarningNotImported: "{{project}} is not imported",
3644
+ assistantLinkWarningPathUnavailable: "{{project}} has an unavailable directory",
3645
+ assistantLinkWarningNotEditable: "{{project}} is not editable",
3646
+ assistantLinkWarningManifestInvalid: "{{project}} has an invalid automatic link declaration",
3647
+ assistantLinkWarningFolderNotRegistered: "{{folder}} is not registered or is unavailable",
3585
3648
  publishNewVersion: "Publish new version",
3649
+ releaseExecutionTargets: "Release targets",
3650
+ releaseExecutionTargetsDescription: "Choose Server execution and local execution on this device for the immutable version.",
3651
+ serverCloudExecution: "Server cloud execution",
3652
+ serverCloudExecutionDescription: "Prepare a Server runtime for runs, Embed, Webhook, and schedules.",
3653
+ kanbanServerExecutionDisabled: "Kanban is statically hosted and does not use the Server executor.",
3654
+ desktopTargetMacos: "macOS local execution",
3655
+ desktopTargetWindows: "Windows local execution",
3656
+ desktopTargetCurrentDeviceDescription: "Allow this version to be downloaded to the current {{platform}} Desktop and run locally.",
3657
+ desktopTargetUnavailableOnCurrentDevice: "Publish this target from the {{platform}} Desktop.",
3658
+ publishDesktopTargetMismatch: "Desktop can publish only the local execution target for its current operating system.",
3659
+ selectAtLeastOneExecutionTarget: "Enable Server execution or local execution on this device.",
3660
+ desktopTargetsRequireSourceDescription: "Local execution requires original source, so this release retains it. Removing the local target restores the previous source choice.",
3586
3661
  readingVersionPublishSettings: "Reading publish settings for {{version}}",
3587
3662
  checkingPreviousPublishSettings: "Checking previous publish settings",
3588
3663
  loadedVersionPublishSettings: "Loaded publish settings from {{version}}",
3664
+ previousDesktopTargetsNotInherited: "Desktop targets for other operating systems were not inherited. Publish those targets on their matching operating systems.",
3589
3665
  projectGroupSourceSnapshotDescription: "The project group retains source snapshots for the root Kanban and included Workflows. Users with source download access can retrieve them.",
3590
3666
  kanbanSourceSnapshotDescription: "Kanban versions always retain source and static artifacts. Users with source download access can retrieve them.",
3591
3667
  referencedProjects: "Referenced projects",
@@ -3733,19 +3809,21 @@ var desktop = {
3733
3809
  localData: "Local data",
3734
3810
  localKVData: "Local KV data",
3735
3811
  localKnowledgeBase: "Local knowledge base",
3736
- localProjectOnlyTerminal: "Only local projects can open a terminal.",
3812
+ localProjectOnlyTerminal: "Only local workspaces can open a terminal.",
3737
3813
  newConversation: "New conversation",
3738
3814
  newWorkflow: "New workflow",
3739
3815
  noArgs: "No arguments",
3740
- noAvailableProject: "No available project",
3816
+ noAvailableProject: "No available workspace",
3741
3817
  noAvailableTerminal: "No available terminal",
3742
- noFilesElectronDescription: "Select a project or import a local folder to view the source code.",
3818
+ noFilesElectronDescription: "Select a project or open a folder to view its files.",
3743
3819
  noFilesTitle: "No files",
3744
3820
  noFilesWebDescription: "After importing a local workflow, it is uploaded as a server draft and the source is available here as a read-only preview.",
3745
3821
  noMatchingFilesDescription: "Try a different file name.",
3746
3822
  noMatchingFilesTitle: "No matching files",
3747
3823
  noRunHistoryTitle: "No run history",
3748
- noTerminalLocation: "The current project has no terminal location to open.",
3824
+ noTerminalLocation: "The current workspace has no terminal location to open.",
3825
+ noLocalWorkspaces: "No local workspaces",
3826
+ noLocalWorkspacesDescription: "Create a Workflow project or open any folder to start working.",
3749
3827
  notEditable: "{{label}}, not editable",
3750
3828
  openingServerTerminal: "Opening server terminal: {{id}}",
3751
3829
  openingTerminal: "Opening terminal: {{path}}",
@@ -3753,10 +3831,10 @@ var desktop = {
3753
3831
  pageNumber: "Page {{page}}",
3754
3832
  pixelsCount: "{{value}} pixels",
3755
3833
  adjustTerminalHeight: "Adjust terminal height",
3756
- projectFiles: "Project files",
3834
+ projectFiles: "Workspace files",
3757
3835
  projectKVAriaLabel: "Project KV data",
3758
3836
  projectKnowledgeAriaLabel: "Project knowledge base",
3759
- projectTerminal: "Project terminal",
3837
+ projectTerminal: "Workspace terminal",
3760
3838
  readOnlyPreview: "Read-only preview",
3761
3839
  refreshKVData: "Refresh KV data",
3762
3840
  remoteTerminalClosed: "The remote terminal connection has been closed.",
@@ -3773,10 +3851,10 @@ var desktop = {
3773
3851
  runRecordWithEntrypointAndTime: "Run record \xB7 {{entrypoint}} \xB7 {{time}}",
3774
3852
  scopeColumn: "Scope",
3775
3853
  searchFilesPlaceholder: "Search files...",
3776
- searchProjectFiles: "Search project files",
3854
+ searchProjectFiles: "Search workspace files",
3777
3855
  selectAvailableDataSource: "Select an available project data source and try again.",
3778
3856
  selectFileFromLeft: "Select a file from the left",
3779
- selectProjectLoadFile: "Select a project and load files",
3857
+ selectProjectLoadFile: "Select a workspace and load files",
3780
3858
  showConversationHistory: "Show conversation history",
3781
3859
  showDiagnostic: "Show {{label}}",
3782
3860
  showRunHistory: "Show run history",
@@ -3900,7 +3978,7 @@ var desktop = {
3900
3978
  activityRunLabel: "Run",
3901
3979
  activitySchedulesDescription: "Manage background scheduled runs for Workflow entrypoints",
3902
3980
  activitySchedulesLabel: "Schedules",
3903
- activityTerminalDescription: "Open the project terminal",
3981
+ activityTerminalDescription: "Open the workspace terminal",
3904
3982
  activityTerminalLabel: "Terminal",
3905
3983
  desktopNoLongerClonesToServer: "Desktop no longer clones to the server. Use Publish to host the current local project.",
3906
3984
  desktopOnlyClonesLocal: "Desktop only clones local projects.",
@@ -4025,8 +4103,8 @@ var desktop = {
4025
4103
  serverPreparationFailed: "Server preparation failed",
4026
4104
  serverPreparingProject: "Server is preparing the project",
4027
4105
  serverProjectAccessDenied: "Your account cannot access this cloud project.",
4028
- unrecognizedProjectDescription: "The selected folder is not a valid Workflow Code project. Make sure the project root contains a valid package.json and an index.ts or index.html matching the project type.",
4029
- unrecognizedProjectTitle: "Unrecognized project",
4106
+ unrecognizedProjectDescription: "The selected directory could not be opened as a local workspace. If it declares a Workflow Code project, check that package.json and the matching entry file are complete, and confirm that the directory still exists and is accessible.",
4107
+ unrecognizedProjectTitle: "Unable to open folder",
4030
4108
  unsavedChangesBeforeRefresh: "There are unsaved changes. Save or discard them before refreshing.",
4031
4109
  unsavedChangesDescription: "{{count}} files are not saved yet. Save them before {{action}}?",
4032
4110
  unsavedChangesDetail: "Choose 'Save and continue' to save current content first, or 'Cancel' to stay on the current content.",
@@ -4313,28 +4391,28 @@ var desktop = {
4313
4391
  activityItemAriaLabel: "{{label}}: {{description}}",
4314
4392
  assistantBusyAria: "Developer assistant: preparing",
4315
4393
  assistantConversationUnavailable: "The developer assistant does not provide a usable conversation workspace.",
4316
- assistantDesktopOnly: "The developer assistant only supports local projects in Desktop.",
4317
- assistantHideAria: "Developer assistant: hide the project development conversation",
4394
+ assistantDesktopOnly: "The developer assistant only supports local workspaces in Desktop.",
4395
+ assistantHideAria: "Developer assistant: hide the workspace development conversation",
4318
4396
  assistantHideTitle: "Hide the developer assistant",
4319
4397
  assistantInstallFailed: "Failed to install the developer assistant. Please retry.",
4320
- assistantLocalOnly: "The developer assistant only supports local regular projects.",
4321
- assistantOpenAria: "Developer assistant: open the project development conversation",
4398
+ assistantLocalOnly: "The developer assistant only supports local editable projects and folders.",
4399
+ assistantOpenAria: "Developer assistant: open the workspace development conversation",
4322
4400
  assistantOpenTitle: "Open the developer assistant",
4323
4401
  assistantPreparingDetail: "Checking built-in dependencies and loading the conversation workspace.",
4324
4402
  assistantPreparingTitle: "Preparing the developer assistant",
4325
- assistantRegistrationPending: "The developer assistant was installed, but its local project registration is not ready yet. Please retry.",
4403
+ assistantRegistrationPending: "The developer assistant was installed, but its local workspace registration is not ready yet. Please retry.",
4326
4404
  assistantStructureReadFailed: "Unable to read the developer assistant conversation structure.",
4327
- assistantTargetOpenFailed: "Unable to open the local project corresponding to the developer assistant.",
4405
+ assistantTargetOpenFailed: "Unable to open the local workspace corresponding to the developer assistant.",
4328
4406
  builtinDownloadingAssistant: "Downloading developer assistant resources{{progress}}.",
4329
4407
  builtinDownloadingOpenCode: "Downloading OpenCode dependencies{{progress}}.",
4330
4408
  builtinInstallingAssistant: "Installing and registering the developer assistant{{progress}}.",
4331
4409
  builtinInstallingOpenCode: "Installing OpenCode dependencies{{progress}}.",
4332
4410
  builtinProgress: " {{percent}}%",
4333
4411
  connectingServer: "Connecting to Workflow Server...",
4334
- conversationNotFoundRecovered: "The corresponding conversation was not found. The project is open; trying to locate the run record.",
4335
- developerAssistantDescription: "Based on OpenCode, create or maintain the current Workflow Code project. It only modifies the current project directory and can remember stable preferences and project decisions on demand.",
4412
+ conversationNotFoundRecovered: "The corresponding conversation was not found. The workspace is open; trying to locate the run record.",
4413
+ developerAssistantDescription: "Based on OpenCode, create or maintain code and documents across the current workspace root and authorized linked roots, and remember stable preferences and workspace decisions on demand.",
4336
4414
  developerAssistantLabel: "Developer assistant",
4337
- developerAssistantSubtitle: "Project-level development assistant",
4415
+ developerAssistantSubtitle: "Workspace development assistant",
4338
4416
  diagramDiagnosticLabel: "Flowchart diagnostics",
4339
4417
  discardKnowledgeConfirm: "Discard and continue",
4340
4418
  discardKnowledgeDescription: "The current knowledge base document has unsaved changes. These changes will be discarded after {{action}}.",
@@ -4347,16 +4425,27 @@ var desktop = {
4347
4425
  knowledgeBaseLabel: "Knowledge base",
4348
4426
  kvDataLabel: "KV data",
4349
4427
  leaveWorkspaceConfirm: "Confirm leave",
4350
- leaveWorkspaceDescription: "The current project has unsaved local files. After leaving, return to the project to continue saving, or discard the changes manually.",
4428
+ leaveWorkspaceDescription: "The current workspace has unsaved local files. After leaving, return to the workspace to continue saving, or discard the changes manually.",
4351
4429
  leaveWorkspaceTitle: "Leave the current workspace?",
4352
4430
  loadingLabelFallback: "Loading {{label}}",
4353
4431
  openDesktopSettings: "Open Desktop settings",
4354
- projectInfoLocalDescription: "Edit the project display name, type, and card icon. Saving writes back to the local package.json.",
4432
+ openFolder: "Open folder",
4433
+ openFolderActionsMenuWithName: "Open {{name}} folder actions",
4434
+ openFolderWithName: "Open folder {{name}}",
4435
+ projectInfoLocalDescription: "Edit project information and preview the README. Saving writes back to the local package.json and syncs a bound cloud app.",
4355
4436
  projectInfoTitle: "Project info",
4437
+ projectReadmeMissing: "No README.md was found in the project root.",
4438
+ projectReadmeTitle: "README preview",
4356
4439
  projectOpeningDetail: "Loading project files and workspace state.",
4357
4440
  projectOpeningTitle: "Opening project",
4358
- projectWorkspaceAria: "Project workspace",
4441
+ projectWorkspaceAria: "Workspace",
4442
+ removeFolderDescription: "Remove {{name}} from Desktop? Files on disk will not be deleted, and linked references can recover when the folder is opened again.",
4443
+ removeFolderRegistration: "Remove folder",
4444
+ removeFolderTitle: "Remove folder?",
4359
4445
  runLogsLabel: "Run logs",
4446
+ selectWorkspaceToStartEditing: "Select a workspace to start editing",
4447
+ showFolderInFileManager: "Show in file manager",
4448
+ workspaceActions: "Workspace actions",
4360
4449
  selectProjectToEditInfo: "Select a project to edit its info.",
4361
4450
  settingsAria: "Settings: open Desktop settings",
4362
4451
  workspaceRailAria: "Workspace views",
@@ -5150,6 +5239,17 @@ var serverWeb = {
5150
5239
  projectListUploaderFallback: "Uploader not recorded",
5151
5240
  projectListViewLogs: "View logs",
5152
5241
  projectListVisible: "Showing {{visible}} / {{total}}",
5242
+ projectDeclarationMultilingual: "Multilingual",
5243
+ projectDeclarationMultiplatform: "Multiplatform",
5244
+ projectExecutionDesktopOnly: "Desktop only",
5245
+ projectExecutionPreparing: "Not published",
5246
+ projectExecutionServerRunnable: "Server runnable",
5247
+ projectExecutionStaticWeb: "Static Web",
5248
+ projectExecutionTargetUnavailable: "No compatible online release is available for this Server entry.",
5249
+ projectPlatformAgnostic: "Platform agnostic",
5250
+ projectPlatformMacos: "macOS",
5251
+ projectPlatformWeb: "Web",
5252
+ projectPlatformWindows: "Windows",
5153
5253
  projectSettingsAcceptNewRuns: "Accept new runs",
5154
5254
  projectSettingsAcceptNewRunsDescription: "Disabling pauses new run entries but does not delete history.",
5155
5255
  projectSettingsAccessPolicy: "Access policy",
@@ -5161,6 +5261,17 @@ var serverWeb = {
5161
5261
  projectSettingsBaselineNoLatest: "None",
5162
5262
  projectSettingsBaselineUpdatedAt: "Updated",
5163
5263
  projectSettingsBaselineWorkflowId: "Workflow ID",
5264
+ projectSettingsDeclarations: "Declarations",
5265
+ projectSettingsDefaultName: "Default name",
5266
+ projectSettingsDisplayPlatforms: "Display platforms",
5267
+ projectSettingsEnglishName: "English name",
5268
+ projectSettingsExecutionAvailability: "Release availability",
5269
+ projectSettingsLocalizedNames: "Localized names",
5270
+ projectSettingsNoDeclarations: "No declarations",
5271
+ projectSettingsProjectInfo: "Project information",
5272
+ projectSettingsProjectInfoDescription: "Names, declarations and display platforms come from package.json and do not verify the implementation.",
5273
+ projectSettingsUnspecifiedName: "Not specified",
5274
+ projectSettingsChineseName: "Chinese name",
5164
5275
  projectSettingsConcurrency: "Concurrency limit",
5165
5276
  projectSettingsConcurrencyControlDescription: "Use the stepper buttons to save concurrency capacity instantly and avoid flooding the run queue with large batches.",
5166
5277
  projectSettingsConcurrencyHint: "{{total}} running now",
@@ -5740,6 +5851,7 @@ var serverWeb = {
5740
5851
  versionsHeaderPublishedAt: "Published",
5741
5852
  versionsHeaderReleaseLog: "Release log",
5742
5853
  versionsHeaderStatus: "Status",
5854
+ versionsHeaderTargets: "Release targets",
5743
5855
  versionsHeaderUploader: "Uploader",
5744
5856
  versionsHeaderVersion: "Version",
5745
5857
  versionsHealthLabelHighRisk: "High risk",
@@ -5870,6 +5982,11 @@ var serverWeb = {
5870
5982
  versionsVersionStatusManualOnline: "Manually online",
5871
5983
  versionsVersionStatusOnline: "Online",
5872
5984
  versionsVersionStatusPreparing: "Preparing",
5985
+ versionsTargetMacos: "macOS",
5986
+ versionsTargetServer: "Server",
5987
+ versionsTargetStaticWeb: "Static Web",
5988
+ versionsTargetWindows: "Windows",
5989
+ versionsTargetNone: "No executor",
5873
5990
  versionsViewStatsTitle: "View run stats for version {{version}}",
5874
5991
  webhookAddMapping: "Add mapping",
5875
5992
  webhookBodyFilter: "Body filter",
@@ -6240,7 +6357,13 @@ var server = {
6240
6357
  entrypointResumeLocked: "entrypointId cannot be changed when resuming a waiting run.",
6241
6358
  archiveUnsupportedType: 'Archive entry "{{path}}" uses unsupported type "{{type}}". Only regular files and directories are allowed.',
6242
6359
  kanbanDataSourceUnauthorized: 'Kanban data source "{{sourceId}}" is not authorized for sharing.',
6243
- workflowOwnedByAnotherAccount: 'Workflow "{{workflowId}}" already exists and is owned by another account.'
6360
+ workflowOwnedByAnotherAccount: 'Workflow "{{workflowId}}" already exists and is owned by another account.',
6361
+ workflowVersionServerDisabled: 'Workflow "{{workflowId}}" version "{{version}}" is not enabled for Server execution. Download it on a supported Desktop platform instead.',
6362
+ workflowDraftServerDisabled: 'Workflow "{{workflowId}}" draft is not enabled for Server execution.',
6363
+ workflowServerLatestUnavailable: 'Workflow "{{workflowId}}" has no online version available for Server execution.',
6364
+ workflowDesktopLatestUnavailable: 'Workflow "{{workflowId}}" has no online version available for {{platform}} Desktop download.',
6365
+ workflowDesktopVersionUnsupported: 'Workflow "{{workflowId}}" version "{{version}}" is not released for {{platform}} Desktop.',
6366
+ workflowRuntimeArtifactUnavailable: 'Workflow "{{workflowId}}" version "{{version}}" does not have a Server runtime artifact.'
6244
6367
  };
6245
6368
 
6246
6369
  // .shared/i18n/resources/en/cli.ts
@@ -6293,10 +6416,10 @@ var cli = {
6293
6416
  " status",
6294
6417
  " health",
6295
6418
  " pack <workflow> [--path <workflow-dir>] [--output <file.tgz>] [--project-group] [--dependency <alias>=<path>]",
6296
- " upload <workflow> [--path <workflow-dir>] [--file <archive>] [--release-log <text>] [--source-mode bundled|source] [--no-wait] [--create] [--project-group] [--publish-group] [--dependency <alias>=<path>] [--grant-data-access <alias>]",
6419
+ " 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>] [--grant-data-access <alias>]",
6297
6420
  " preparation <workflow-id> <job-id>",
6298
6421
  " download <workflow> [--target draft|latest|version] [--path <dir>]",
6299
- " publish <workflow> [--release-log <text>] [--source-mode bundled|source] [--project-group] [--dependency <alias>=<path>] [--grant-data-access <alias>]",
6422
+ " publish <workflow> [--release-log <text>] [--source-mode bundled|source] [--server-runtime|--no-server-runtime] [--desktop-platform macos|windows] [--project-group] [--dependency <alias>=<path>] [--grant-data-access <alias>]",
6300
6423
  " publish --deployment <id>",
6301
6424
  " run <workflow> [...args] [--target draft|latest|version] [--entrypoint <id>]",
6302
6425
  " debug-node <workflow> <node> [...args] [--target draft|latest|version] [--entrypoint <id>]",
@@ -6307,7 +6430,9 @@ var cli = {
6307
6430
  "",
6308
6431
  "Options:",
6309
6432
  " --server <url> Defaults to WORKFLOW_SERVER_URL, saved CLI auth, or http://localhost:7125",
6310
- " --token <token> Optional manual override. Defaults to WORKFLOW_SERVER_ADMIN_KEY or saved CLI auth API key"
6433
+ " --token <token> Optional manual override. Defaults to WORKFLOW_SERVER_ADMIN_KEY or saved CLI auth API key",
6434
+ " --server-runtime / --no-server-runtime Enable or disable Server execution for this release",
6435
+ " --desktop-platform <macos|windows> Add a downloadable Desktop target; may be repeated"
6311
6436
  ].join("\n"),
6312
6437
  invalidLocale: 'Unsupported locale "{{value}}". Expected "zh-CN" or "en".',
6313
6438
  duplicateLocale: "--locale may only be specified once.",
@@ -6335,6 +6460,11 @@ var cli = {
6335
6460
  invalidBase64Content: 'Invalid base64 content for workflow file "{{path}}".',
6336
6461
  versionOptionUnsupported: "--version is no longer supported. Publish versions are managed by the system.",
6337
6462
  invalidSourceMode: '--source-mode must be "bundled" or "source".',
6463
+ workspaceDownloadPlatformUnsupported: "workspace download is only supported on macOS and Windows; current platform is {{platform}}.",
6464
+ serverRuntimeOptionsConflict: "--server-runtime and --no-server-runtime cannot be combined.",
6465
+ invalidDesktopPlatform: 'Unsupported --desktop-platform "{{platform}}". Expected macos or windows.',
6466
+ executionTargetCommandUnsupported: "Execution target options are only supported by upload and publish.",
6467
+ desktopPlatformRequiresSource: "--desktop-platform cannot be combined with --source-mode bundled; Desktop releases require source mode.",
6338
6468
  noWaitReleaseLogConflict: "--no-wait cannot be combined with --release-log because publishing requires a prepared draft.",
6339
6469
  notLoggedIn: "Not logged in. Run: workspace login --server <url> or pass --token / WORKFLOW_SERVER_ADMIN_KEY.",
6340
6470
  missingPositional: "Missing {{name}}.",
@@ -6559,7 +6689,7 @@ var common2 = {
6559
6689
  defaultConversation: "\u9ED8\u8BA4\u8BDD\u9898",
6560
6690
  messageCount: "{{count}} \u6761\u6D88\u606F",
6561
6691
  notProvided: "\u672A\u63D0\u4F9B",
6562
- projectKind: "{{type}} \u9879\u76EE",
6692
+ projectKind: "{{type}}\u9879\u76EE",
6563
6693
  customImage: "\u81EA\u5B9A\u4E49\u56FE\u7247",
6564
6694
  lucideIcon: "Lucide: {{name}}",
6565
6695
  defaultWorkflowIcon: "\u9ED8\u8BA4 Workflow \u56FE\u6807",
@@ -6577,6 +6707,9 @@ var common2 = {
6577
6707
  workflow: "\u5DE5\u4F5C\u6D41",
6578
6708
  runTarget: "\u8FD0\u884C\u76EE\u6807",
6579
6709
  projectType: "\u9879\u76EE\u7C7B\u578B",
6710
+ projectTypeWorkflow: "\u5DE5\u4F5C\u6D41",
6711
+ projectTypeConversation: "\u5BF9\u8BDD",
6712
+ projectTypeKanban: "\u770B\u677F",
6580
6713
  iconSource: "\u56FE\u6807\u6765\u6E90",
6581
6714
  themeColor: "\u4E3B\u9898\u8272",
6582
6715
  notLoggedIn: "\u672A\u767B\u5F55",
@@ -7174,8 +7307,8 @@ var common2 = {
7174
7307
  create: "\u65B0\u5EFA\u8BA1\u5212",
7175
7308
  unavailableTitle: "\u5B9A\u65F6\u4EFB\u52A1\u6682\u4E0D\u53EF\u7528",
7176
7309
  partialUnavailableTitle: "\u90E8\u5206\u5B9A\u65F6\u4EFB\u52A1\u4FE1\u606F\u6682\u4E0D\u53EF\u7528",
7177
- noOnlineVersionTitle: "\u6CA1\u6709\u53EF\u8C03\u5EA6\u7684\u5728\u7EBF\u7248\u672C",
7178
- noOnlineVersionDescription: "Server \u8BA1\u5212\u53EA\u80FD\u56FA\u5B9A\u5230\u7CBE\u786E\u5728\u7EBF\u53D1\u5E03\u7248\u672C\uFF0C\u4E0D\u63A5\u53D7 latest \u6216 draft\u3002",
7310
+ noOnlineVersionTitle: "\u6CA1\u6709\u53EF\u8C03\u5EA6\u7684 Server \u7248\u672C",
7311
+ noOnlineVersionDescription: "Server \u8BA1\u5212\u53EA\u80FD\u56FA\u5B9A\u5230\u5DF2\u4E0A\u7EBF\u4E14\u652F\u6301 Server \u6267\u884C\u7684\u7CBE\u786E\u7248\u672C\uFF0C\u4E0D\u63A5\u53D7 latest\u3001draft \u6216\u4EC5\u672C\u5730\u7248\u672C\u3002",
7179
7312
  presetsTitle: "\u9879\u76EE\u5EFA\u8BAE\u8BA1\u5212",
7180
7313
  desktopPresetsDescription: "\u5EFA\u8BAE\u4E0D\u4F1A\u81EA\u52A8\u542F\u7528\uFF0C\u786E\u8BA4\u53C2\u6570\u540E\u624D\u4F1A\u521B\u5EFA\u3002",
7181
7314
  serverPresetsDescription: "\u9884\u8BBE\u4E0D\u4F1A\u81EA\u52A8\u542F\u7528\uFF0C\u786E\u8BA4\u7248\u672C\u3001\u5165\u53E3\u548C\u53C2\u6570\u540E\u624D\u4F1A\u521B\u5EFA\u3002",
@@ -7437,7 +7570,7 @@ var desktop2 = {
7437
7570
  settings: "\u8BBE\u7F6E",
7438
7571
  dirtyFilesCount: "{{count}} \u4E2A\u6587\u4EF6\u672A\u4FDD\u5B58",
7439
7572
  changesSaved: "\u66F4\u6539\u5DF2\u4FDD\u5B58",
7440
- loadingProjectFiles: "\u6B63\u5728\u52A0\u8F7D\u9879\u76EE\u6587\u4EF6",
7573
+ loadingProjectFiles: "\u6B63\u5728\u52A0\u8F7D\u5DE5\u4F5C\u533A\u6587\u4EF6",
7441
7574
  loadingProject: "\u6B63\u5728\u52A0\u8F7D\u9879\u76EE",
7442
7575
  loginRequired: "\u8FDC\u7A0B\u529F\u80FD\u9700\u8981\u767B\u5F55\u8D26\u53F7\u540E\u624D\u80FD\u4F7F\u7528\u3002",
7443
7576
  serverConnectionFailed: "\u65E0\u6CD5\u8FDE\u63A5 Workflow Server\uFF0C\u8BF7\u68C0\u67E5\u670D\u52A1\u5668 URL\u3002",
@@ -7520,13 +7653,20 @@ var desktop2 = {
7520
7653
  filesLoadedIntoEditor: "{{count}} \u4E2A\u6587\u4EF6\u5DF2\u8F7D\u5165\u7F16\u8F91\u5668",
7521
7654
  filesWrittenBack: "{{count}} \u4E2A\u6587\u4EF6\u5DF2\u5199\u56DE {{name}}",
7522
7655
  filterByProjectType: "\u6309\u9879\u76EE\u7C7B\u578B\u7B5B\u9009",
7656
+ filterByWorkspaceType: "\u6309\u5DE5\u4F5C\u533A\u7C7B\u578B\u7B5B\u9009",
7523
7657
  filterProjectsPlaceholder: "\u8FC7\u6EE4\u9879\u76EE...",
7658
+ filterWorkspacesPlaceholder: "\u8FC7\u6EE4\u5DE5\u4F5C\u533A...",
7659
+ folderActions: "\u6587\u4EF6\u5939\u64CD\u4F5C",
7660
+ folderActionsWithName: "{{name}} \u6587\u4EF6\u5939\u64CD\u4F5C",
7661
+ folderOpeningDetail: "\u6B63\u5728\u52A0\u8F7D\u6587\u4EF6\u5939\u5185\u5BB9\u548C\u5DE5\u4F5C\u533A\u72B6\u6001\u3002",
7662
+ folderOpeningTitle: "\u6B63\u5728\u6253\u5F00\u6587\u4EF6\u5939",
7663
+ folderWorkspaceType: "\u666E\u901A\u6587\u4EF6\u5939",
7524
7664
  hideExplorer: "\u9690\u85CF\u8D44\u6E90\u7BA1\u7406\u5668",
7525
7665
  hideHomeSidebar: "\u9690\u85CF\u9996\u9875\u4FA7\u8FB9\u680F",
7526
- homeProjectMode: "\u9996\u9875\u9879\u76EE\u6A21\u5F0F",
7666
+ homeProjectMode: "\u9996\u9875\u5DE5\u4F5C\u533A\u6A21\u5F0F",
7527
7667
  homeSidebar: "\u9996\u9875\u4FA7\u8FB9\u680F",
7528
7668
  importLocal: "\u5BFC\u5165\u672C\u5730",
7529
- importLocalFolder: "\u5BFC\u5165\u672C\u5730\u6587\u4EF6\u5939",
7669
+ importLocalFolder: "\u6253\u5F00\u6587\u4EF6\u5939",
7530
7670
  importLocalFolderUploadTitle: "\u9009\u62E9\u672C\u5730 workflow \u6587\u4EF6\u5939\u5E76\u4E0A\u4F20\u4E3A\u670D\u52A1\u5668\u8349\u7A3F",
7531
7671
  importWorkflowFolderToStart: "\u5BFC\u5165\u672C\u5730\u5DE5\u4F5C\u6D41\u6587\u4EF6\u5939\u5F00\u59CB\u7F16\u8F91",
7532
7672
  inspector: "\u68C0\u67E5\u5668",
@@ -7543,6 +7683,7 @@ var desktop2 = {
7543
7683
  localMode: "\u672C\u5730\u6A21\u5F0F",
7544
7684
  localProjectCountWithMode: "{{count}} \u4E2A\u672C\u5730\u9879\u76EE \xB7 {{mode}}",
7545
7685
  localRunCount: "{{count}} \u6761\u672C\u5730\u8BB0\u5F55",
7686
+ localWorkspaces: "\u672C\u5730\u5DE5\u4F5C\u533A",
7546
7687
  localRunRecordsLabel: "\u672C\u5730\u8FD0\u884C\u8BB0\u5F55",
7547
7688
  localSaved: "\u672C\u5730\u5DF2\u4FDD\u5B58",
7548
7689
  localizationNoPermission: "{{action}}\uFF08\u65E0\u6743\u9650\uFF09",
@@ -7570,6 +7711,8 @@ var desktop2 = {
7570
7711
  noLocalRunRecords: "\u8FD8\u6CA1\u6709\u672C\u5730\u8FD0\u884C\u8BB0\u5F55\u3002\u8FD0\u884C workflow \u540E\u4F1A\u51FA\u73B0\u5728\u8FD9\u91CC\u3002",
7571
7712
  noMatchingProjects: "\u65E0\u5339\u914D\u9879\u76EE",
7572
7713
  noMatchingProjectsDescription: "\u8C03\u6574\u641C\u7D22\u8BCD\u6216\u9879\u76EE\u7C7B\u578B\uFF0C\u6216\u4F7F\u7528\u4E0A\u65B9\u201C\u91CD\u7F6E\u201D\u6062\u590D\u5168\u90E8\u9879\u76EE\u3002",
7714
+ noMatchingWorkspaces: "\u65E0\u5339\u914D\u5DE5\u4F5C\u533A",
7715
+ noMatchingWorkspacesDescription: "\u8C03\u6574\u641C\u7D22\u8BCD\u6216\u5DE5\u4F5C\u533A\u7C7B\u578B\uFF0C\u6216\u4F7F\u7528\u4E0A\u65B9\u201C\u91CD\u7F6E\u201D\u6062\u590D\u5168\u90E8\u5DE5\u4F5C\u533A\u3002",
7573
7716
  noMatchingServerVersion: "\u6CA1\u6709\u5339\u914D\u7684\u670D\u52A1\u5668\u7248\u672C",
7574
7717
  noOutput: "\u6682\u65E0\u8F93\u51FA",
7575
7718
  noOutputDescription: "\u4FDD\u5B58\u3001\u53D1\u5E03\u6216\u8FD0\u884C\u540E\uFF0C\u8FD9\u91CC\u5C55\u793A\u7ED3\u679C",
@@ -7617,6 +7760,11 @@ var desktop2 = {
7617
7760
  projectToolbar: "\u9879\u76EE\u5DE5\u5177\u680F",
7618
7761
  projects: "\u9879\u76EE",
7619
7762
  projectsTitleWithCount: "\u9879\u76EE \xB7 {{count}}",
7763
+ workspaceCount: "{{count}} \u4E2A\u5DE5\u4F5C\u533A",
7764
+ workspaceCountWithTotal: "{{count}} / {{total}} \u4E2A\u5DE5\u4F5C\u533A",
7765
+ workspaceFilterSort: "\u5DE5\u4F5C\u533A\u7B5B\u9009\u4E0E\u6392\u5E8F",
7766
+ workspaceSortAriaLabel: "\u5DE5\u4F5C\u533A\u6392\u5E8F\u65B9\u5F0F",
7767
+ workspaceToolbar: "\u5DE5\u4F5C\u533A\u5DE5\u5177\u680F",
7620
7768
  publish: "\u53D1\u5E03",
7621
7769
  publishComplete: "\u53D1\u5E03\u5B8C\u6210",
7622
7770
  publishServerDraft: "\u53D1\u5E03\u670D\u52A1\u5668\u8349\u7A3F",
@@ -7667,6 +7815,8 @@ var desktop2 = {
7667
7815
  saving: "\u6B63\u5728\u4FDD\u5B58...",
7668
7816
  searchProject: "\u641C\u7D22\u9879\u76EE",
7669
7817
  searchProjectPlaceholder: "\u641C\u7D22\u9879\u76EE\u540D\u79F0\u6216 ID",
7818
+ searchWorkspace: "\u641C\u7D22\u5DE5\u4F5C\u533A",
7819
+ searchWorkspacePlaceholder: "\u641C\u7D22\u5DE5\u4F5C\u533A\u540D\u79F0\u6216\u8DEF\u5F84",
7670
7820
  searchServerVersionPlaceholder: "\u641C\u7D22\u670D\u52A1\u5668\u7248\u672C...",
7671
7821
  selectLocalWorkflowToStartEditing: "\u9009\u62E9\u4E00\u4E2A\u672C\u5730 workflow \u5F00\u59CB\u7F16\u8F91\u3002",
7672
7822
  serverBuildUpdated: "\u670D\u52A1\u5668\u6784\u5EFA\u5DF2\u66F4\u65B0",
@@ -7726,8 +7876,29 @@ var desktop2 = {
7726
7876
  defaultExample: "\u9ED8\u8BA4\u793A\u4F8B\uFF1A",
7727
7877
  defaultProjectDirectory: "\u6587\u7A3F/workflow-projects\uFF08\u9ED8\u8BA4\uFF09",
7728
7878
  directoryName: "\u76EE\u5F55\u540D\u79F0",
7879
+ defaultProjectName: "\u9ED8\u8BA4\u540D\u79F0",
7880
+ defaultProjectNamePlaceholder: "\u8BF7\u8F93\u5165\u9879\u76EE\u9ED8\u8BA4\u540D\u79F0",
7881
+ defaultProjectNameRequired: "\u8BF7\u8F93\u5165\u9879\u76EE\u9ED8\u8BA4\u540D\u79F0\u3002",
7729
7882
  displayName: "\u663E\u793A\u540D\u79F0",
7730
7883
  displayNamePlaceholder: "\u8BF7\u8F93\u5165\u663E\u793A\u540D",
7884
+ localizedProjectNames: "\u672C\u5730\u5316\u540D\u79F0",
7885
+ projectNameZhCN: "\u7B80\u4F53\u4E2D\u6587",
7886
+ projectNameEn: "\u82F1\u6587",
7887
+ optionalProjectNamePlaceholder: "\u9009\u586B\u540D\u79F0",
7888
+ projectDeclarations: "\u9879\u76EE\u58F0\u660E",
7889
+ projectDeclarationMultilingual: "\u652F\u6301\u591A\u8BED\u8A00",
7890
+ projectDeclarationMultiplatform: "\u652F\u6301\u591A\u5E73\u53F0",
7891
+ extendedProjectDeclarations: "\u6269\u5C55\u9879\u76EE\u58F0\u660E",
7892
+ projectPlatformSupport: "\u5C55\u793A\u5E73\u53F0",
7893
+ projectPlatformMode: "\u9879\u76EE\u5E73\u53F0\u6A21\u5F0F",
7894
+ projectPlatformAgnostic: "\u5E73\u53F0\u65E0\u5173",
7895
+ projectPlatformSpecific: "\u6307\u5B9A\u5E73\u53F0",
7896
+ projectPlatformMacos: "macOS",
7897
+ projectPlatformWindows: "Windows",
7898
+ projectPlatformWeb: "Web",
7899
+ extendedProjectPlatforms: "\u6269\u5C55\u9879\u76EE\u5E73\u53F0",
7900
+ selectAtLeastOneProjectPlatform: "\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u9879\u76EE\u5E73\u53F0\u3002",
7901
+ notSet: "\u672A\u8BBE\u7F6E",
7731
7902
  done: "\u5B8C\u6210",
7732
7903
  downloadProjectDescription: "\u4FDD\u7559\u9879\u76EE UUID \u548C\u670D\u52A1\u5668\u5173\u8054\uFF0C\u5728\u672C\u673A\u521B\u5EFA\u53EF\u7F16\u8F91\u526F\u672C\u3002",
7733
7904
  downloadingSource: "\u6B63\u5728\u4E0B\u8F7D\u6E90\u7801...",
@@ -7763,9 +7934,11 @@ var desktop2 = {
7763
7934
  localUuid: "\u672C\u5730 UUID",
7764
7935
  localizeWritesSourceOnly: "\u53EA\u5199\u5165\u6E90\u7801\u5FEB\u7167\uFF0C\u4E0D\u4F1A\u5B89\u88C5\u4F9D\u8D56\u3002",
7765
7936
  loginRequiredToCreateCloudApp: "\u8BF7\u5148\u767B\u5F55\u8D26\u53F7\uFF0C\u518D\u521B\u5EFA\u4E91\u7AEF\u5E94\u7528\u3002",
7766
- minifySource: "\u538B\u7F29\u6E90\u7801",
7767
- minifySourceOffDescription: "\u7248\u672C\u4FDD\u7559\u539F\u59CB\u6E90\u7801\u5FEB\u7167\u3002",
7768
- minifySourceOnDescription: "\u7248\u672C\u4E0D\u4FDD\u7559\u539F\u59CB TS/JS \u6E90\u7801\u3002",
7937
+ projectInfoBoundServerLoginRequired: "\u8BF7\u8FDE\u63A5\u5E76\u767B\u5F55 {{serverUrl}}\uFF0C\u518D\u4FDD\u5B58\u5DF2\u7ED1\u5B9A\u9879\u76EE\u7684\u4FE1\u606F\u3002",
7938
+ desktopPlatformDownloadUnsupported: "\u5F53\u524D\u64CD\u4F5C\u7CFB\u7EDF\u6CA1\u6709\u517C\u5BB9\u7684 Desktop \u4E0B\u8F7D\u76EE\u6807\u3002",
7939
+ retainOriginalSource: "\u4FDD\u7559\u539F\u59CB\u6E90\u7801",
7940
+ retainOriginalSourceOffDescription: "\u7248\u672C\u53EA\u4FDD\u7559 Server runtime\uFF0C\u4E0D\u63D0\u4F9B\u539F\u59CB\u6E90\u7801\u4E0B\u8F7D\u3002",
7941
+ retainOriginalSourceOnDescription: "\u7248\u672C\u540C\u65F6\u4FDD\u7559\u539F\u59CB TS/JS \u6E90\u7801\u5FEB\u7167\u3002",
7769
7942
  newProjectDescription: "\u9009\u62E9\u9879\u76EE\u7C7B\u578B\u548C\u793A\u4F8B\uFF0C\u53EF\u6309\u9700\u6307\u5B9A\u672C\u673A\u5B58\u653E\u4F4D\u7F6E\u3002",
7770
7943
  newProjectNamePlaceholder: "My Workflow",
7771
7944
  noWorkflowSelected: "\u672A\u9009\u62E9 workflow",
@@ -7791,15 +7964,48 @@ var desktop2 = {
7791
7964
  projectEnvVariables: "\u9879\u76EE\u73AF\u5883\u53D8\u91CF",
7792
7965
  projectIcon: "\u9879\u76EE\u56FE\u6807",
7793
7966
  projectId: "\u9879\u76EE ID",
7794
- projectKind: "{{type}} \u9879\u76EE",
7967
+ projectKind: "{{type}}\u9879\u76EE",
7795
7968
  projectName: "\u9879\u76EE\u540D",
7796
7969
  projectNamePlaceholder: "\u9879\u76EE\u540D\u79F0",
7797
7970
  projectType: "\u9879\u76EE\u7C7B\u578B",
7798
7971
  projectUuid: "\u9879\u76EE UUID",
7972
+ assistantLinkedProjects: "\u5C0F\u52A9\u624B\u5173\u8054\u9879\u76EE",
7973
+ manageAssistantLinks: "\u7BA1\u7406\u5173\u8054",
7974
+ assistantLinksDialogTitle: "\u5173\u8054\u5DE5\u4F5C\u533A",
7975
+ assistantLinksDialogDescription: "\u7BA1\u7406\u5C0F\u52A9\u624B\u53EF\u4EE5\u8054\u52A8\u4FEE\u6539\u7684\u672C\u5730\u9879\u76EE\u548C\u666E\u901A\u6587\u4EF6\u5939\u3002",
7976
+ assistantLinksDirectCount: "{{count}} \u4E2A\u76F4\u63A5\u5173\u8054",
7977
+ assistantLinksRecursiveCount: "{{count}} \u4E2A\u9012\u5F52\u53EF\u8BBF\u95EE",
7978
+ assistantLinksWarningCount: "{{count}} \u4E2A\u5931\u6548\u9879",
7979
+ assistantAutomaticLinks: "\u81EA\u52A8\u5173\u8054",
7980
+ assistantManualLinks: "\u624B\u52A8\u5173\u8054",
7981
+ assistantLinkSearchPlaceholder: "\u641C\u7D22\u672C\u5730\u9879\u76EE\u548C\u666E\u901A\u6587\u4EF6\u5939",
7982
+ assistantNoAutomaticLinks: "\u6CA1\u6709\u81EA\u52A8\u5173\u8054\u9879\u76EE",
7983
+ assistantNoManualCandidates: "\u6CA1\u6709\u53EF\u5173\u8054\u7684\u672C\u5730\u9879\u76EE\u6216\u666E\u901A\u6587\u4EF6\u5939",
7984
+ assistantLinkUnavailable: "\u4E0D\u53EF\u7528",
7985
+ assistantLinkAutomatic: "\u81EA\u52A8",
7986
+ assistantLinksLoading: "\u6B63\u5728\u8BFB\u53D6\u5173\u8054\u9879\u76EE...",
7987
+ assistantLinkWarningNotImported: "{{project}} \u672A\u5BFC\u5165",
7988
+ assistantLinkWarningPathUnavailable: "{{project}} \u7684\u76EE\u5F55\u4E0D\u53EF\u7528",
7989
+ assistantLinkWarningNotEditable: "{{project}} \u4E0D\u53EF\u7F16\u8F91",
7990
+ assistantLinkWarningManifestInvalid: "{{project}} \u7684\u81EA\u52A8\u5173\u8054\u58F0\u660E\u65E0\u6548",
7991
+ assistantLinkWarningFolderNotRegistered: "{{folder}} \u672A\u6CE8\u518C\u6216\u5F53\u524D\u4E0D\u53EF\u7528",
7799
7992
  publishNewVersion: "\u53D1\u5E03\u65B0\u7248\u672C",
7993
+ releaseExecutionTargets: "\u53D1\u884C\u76EE\u6807",
7994
+ 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",
7995
+ serverCloudExecution: "Server \u4E91\u7AEF\u6267\u884C",
7996
+ serverCloudExecutionDescription: "\u4E3A\u8FD0\u884C\u3001Embed\u3001Webhook \u548C\u8BA1\u5212\u4EFB\u52A1\u51C6\u5907 Server runtime\u3002",
7997
+ kanbanServerExecutionDisabled: "Kanban \u4F7F\u7528\u9759\u6001\u6258\u7BA1\uFF0C\u4E0D\u8FDB\u5165 Server executor\u3002",
7998
+ desktopTargetMacos: "macOS \u672C\u5730\u8FD0\u884C",
7999
+ desktopTargetWindows: "Windows \u672C\u5730\u8FD0\u884C",
8000
+ desktopTargetCurrentDeviceDescription: "\u5141\u8BB8\u6B64\u7248\u672C\u4E0B\u8F7D\u5230\u5F53\u524D {{platform}} Desktop \u5E76\u5728\u672C\u5730\u8FD0\u884C\u3002",
8001
+ desktopTargetUnavailableOnCurrentDevice: "\u9700\u8981\u5728 {{platform}} Desktop \u4E0A\u53D1\u5E03\u3002",
8002
+ publishDesktopTargetMismatch: "Desktop \u53EA\u80FD\u53D1\u5E03\u5F53\u524D\u64CD\u4F5C\u7CFB\u7EDF\u5BF9\u5E94\u7684\u672C\u5730\u8FD0\u884C\u76EE\u6807\u3002",
8003
+ selectAtLeastOneExecutionTarget: "\u8BF7\u542F\u7528 Server \u6267\u884C\u6216\u5F53\u524D\u8BBE\u5907\u672C\u5730\u8FD0\u884C\u3002",
8004
+ desktopTargetsRequireSourceDescription: "\u672C\u5730\u8FD0\u884C\u9700\u8981\u539F\u59CB\u6E90\u7801\uFF0C\u672C\u6B21\u53D1\u5E03\u56FA\u5B9A\u4FDD\u7559\uFF1B\u53D6\u6D88\u672C\u5730\u76EE\u6807\u540E\u6062\u590D\u4E4B\u524D\u7684\u6E90\u7801\u9009\u62E9\u3002",
7800
8005
  readingVersionPublishSettings: "\u6B63\u5728\u8BFB\u53D6 {{version}} \u7684\u53D1\u5E03\u8BBE\u7F6E",
7801
8006
  checkingPreviousPublishSettings: "\u6B63\u5728\u68C0\u67E5\u4E0A\u6B21\u53D1\u5E03\u8BBE\u7F6E",
7802
8007
  loadedVersionPublishSettings: "\u5DF2\u8BFB\u53D6 {{version}} \u7684\u53D1\u5E03\u8BBE\u7F6E",
8008
+ previousDesktopTargetsNotInherited: "\u4E0A\u4E2A\u7248\u672C\u7684\u5F02\u5E73\u53F0 Desktop \u76EE\u6807\u672A\u7EE7\u627F\uFF1B\u8BF7\u5728\u5BF9\u5E94\u64CD\u4F5C\u7CFB\u7EDF\u53D1\u5E03\u8BE5\u76EE\u6807\u3002",
7803
8009
  projectGroupSourceSnapshotDescription: "\u9879\u76EE\u7EC4\u4F1A\u4FDD\u7559\u6839 Kanban \u4E0E included Workflow \u7684\u6E90\u7801\u5FEB\u7167\uFF0C\u6709\u6E90\u7801\u4E0B\u8F7D\u6743\u9650\u7684\u7528\u6237\u53EF\u83B7\u53D6\u3002",
7804
8010
  kanbanSourceSnapshotDescription: "Kanban \u7248\u672C\u56FA\u5B9A\u4FDD\u7559\u6E90\u7801\u4E0E\u9759\u6001\u4EA7\u7269\uFF0C\u6709\u6E90\u7801\u4E0B\u8F7D\u6743\u9650\u7684\u7528\u6237\u53EF\u83B7\u53D6\u3002",
7805
8011
  referencedProjects: "\u5F15\u7528\u9879\u76EE",
@@ -7947,19 +8153,21 @@ var desktop2 = {
7947
8153
  localData: "\u672C\u5730\u6570\u636E",
7948
8154
  localKVData: "\u672C\u5730 KV \u6570\u636E",
7949
8155
  localKnowledgeBase: "\u672C\u5730\u77E5\u8BC6\u5E93",
7950
- localProjectOnlyTerminal: "\u4EC5\u672C\u5730\u9879\u76EE\u53EF\u4EE5\u6253\u5F00\u7EC8\u7AEF\u3002",
8156
+ localProjectOnlyTerminal: "\u4EC5\u672C\u5730\u5DE5\u4F5C\u533A\u53EF\u4EE5\u6253\u5F00\u7EC8\u7AEF\u3002",
7951
8157
  newConversation: "\u65B0\u5BF9\u8BDD",
7952
8158
  newWorkflow: "\u65B0 workflow",
7953
8159
  noArgs: "\u65E0\u53C2\u6570",
7954
- noAvailableProject: "\u65E0\u53EF\u7528\u9879\u76EE",
8160
+ noAvailableProject: "\u65E0\u53EF\u7528\u5DE5\u4F5C\u533A",
7955
8161
  noAvailableTerminal: "\u65E0\u53EF\u7528\u7EC8\u7AEF",
7956
- noFilesElectronDescription: "\u9009\u62E9\u9879\u76EE\u6216\u5BFC\u5165\u672C\u5730\u6587\u4EF6\u5939\u540E\u67E5\u770B\u6E90\u7801\u3002",
8162
+ noFilesElectronDescription: "\u9009\u62E9\u9879\u76EE\u6216\u6253\u5F00\u6587\u4EF6\u5939\u540E\u67E5\u770B\u5176\u4E2D\u7684\u6587\u4EF6\u3002",
7957
8163
  noFilesTitle: "\u6682\u65E0\u6587\u4EF6",
7958
8164
  noFilesWebDescription: "\u5BFC\u5165\u672C\u5730 workflow \u540E\u4F1A\u4E0A\u4F20\u4E3A\u670D\u52A1\u5668\u8349\u7A3F\uFF0C\u5E76\u5728\u8FD9\u91CC\u53EA\u8BFB\u9884\u89C8\u6E90\u7801\u3002",
7959
8165
  noMatchingFilesDescription: "\u6362\u4E00\u4E2A\u6587\u4EF6\u540D\u8BD5\u8BD5\u3002",
7960
8166
  noMatchingFilesTitle: "\u6CA1\u6709\u5339\u914D\u6587\u4EF6",
7961
8167
  noRunHistoryTitle: "\u6682\u65E0\u8FD0\u884C\u5386\u53F2",
7962
- noTerminalLocation: "\u5F53\u524D\u9879\u76EE\u6CA1\u6709\u53EF\u6253\u5F00\u7684\u7EC8\u7AEF\u4F4D\u7F6E\u3002",
8168
+ noTerminalLocation: "\u5F53\u524D\u5DE5\u4F5C\u533A\u6CA1\u6709\u53EF\u6253\u5F00\u7684\u7EC8\u7AEF\u4F4D\u7F6E\u3002",
8169
+ noLocalWorkspaces: "\u6682\u65E0\u672C\u5730\u5DE5\u4F5C\u533A",
8170
+ noLocalWorkspacesDescription: "\u65B0\u5EFA Workflow \u9879\u76EE\u6216\u6253\u5F00\u4EFB\u610F\u6587\u4EF6\u5939\u5373\u53EF\u5F00\u59CB\u5DE5\u4F5C\u3002",
7963
8171
  notEditable: "{{label}}\uFF0C\u4E0D\u53EF\u7F16\u8F91",
7964
8172
  openingServerTerminal: "\u6253\u5F00\u670D\u52A1\u5668\u7EC8\u7AEF: {{id}}",
7965
8173
  openingTerminal: "\u6253\u5F00\u7EC8\u7AEF: {{path}}",
@@ -7967,10 +8175,10 @@ var desktop2 = {
7967
8175
  pageNumber: "\u7B2C {{page}} \u9875",
7968
8176
  pixelsCount: "{{value}} \u50CF\u7D20",
7969
8177
  adjustTerminalHeight: "\u8C03\u6574\u7EC8\u7AEF\u9AD8\u5EA6",
7970
- projectFiles: "\u9879\u76EE\u6587\u4EF6",
8178
+ projectFiles: "\u5DE5\u4F5C\u533A\u6587\u4EF6",
7971
8179
  projectKVAriaLabel: "\u9879\u76EE KV \u6570\u636E",
7972
8180
  projectKnowledgeAriaLabel: "\u9879\u76EE\u77E5\u8BC6\u5E93",
7973
- projectTerminal: "\u9879\u76EE\u7EC8\u7AEF",
8181
+ projectTerminal: "\u5DE5\u4F5C\u533A\u7EC8\u7AEF",
7974
8182
  readOnlyPreview: "\u53EA\u8BFB\u9884\u89C8",
7975
8183
  refreshKVData: "\u5237\u65B0 KV \u6570\u636E",
7976
8184
  remoteTerminalClosed: "\u8FDC\u7A0B\u7EC8\u7AEF\u8FDE\u63A5\u5DF2\u5173\u95ED\u3002",
@@ -7987,10 +8195,10 @@ var desktop2 = {
7987
8195
  runRecordWithEntrypointAndTime: "\u8FD0\u884C\u8BB0\u5F55 \xB7 {{entrypoint}} \xB7 {{time}}",
7988
8196
  scopeColumn: "\u4F5C\u7528\u57DF",
7989
8197
  searchFilesPlaceholder: "\u67E5\u627E\u6587\u4EF6...",
7990
- searchProjectFiles: "\u67E5\u627E\u9879\u76EE\u6587\u4EF6",
8198
+ searchProjectFiles: "\u67E5\u627E\u5DE5\u4F5C\u533A\u6587\u4EF6",
7991
8199
  selectAvailableDataSource: "\u8BF7\u9009\u62E9\u53EF\u7528\u7684\u9879\u76EE\u6570\u636E\u6E90\u540E\u91CD\u8BD5\u3002",
7992
8200
  selectFileFromLeft: "\u4ECE\u5DE6\u4FA7\u9009\u62E9\u6587\u4EF6",
7993
- selectProjectLoadFile: "\u9009\u62E9\u9879\u76EE\u5E76\u52A0\u8F7D\u6587\u4EF6",
8201
+ selectProjectLoadFile: "\u9009\u62E9\u5DE5\u4F5C\u533A\u5E76\u52A0\u8F7D\u6587\u4EF6",
7994
8202
  showConversationHistory: "\u663E\u793A\u5BF9\u8BDD\u5386\u53F2",
7995
8203
  showDiagnostic: "\u663E\u793A{{label}}",
7996
8204
  showRunHistory: "\u663E\u793A\u5386\u53F2\u6267\u884C",
@@ -8114,7 +8322,7 @@ var desktop2 = {
8114
8322
  activityRunLabel: "\u8FD0\u884C",
8115
8323
  activitySchedulesDescription: "\u7BA1\u7406 Workflow entrypoint \u7684\u540E\u53F0\u5B9A\u65F6\u8FD0\u884C",
8116
8324
  activitySchedulesLabel: "\u5B9A\u65F6",
8117
- activityTerminalDescription: "\u6253\u5F00\u9879\u76EE\u7EC8\u7AEF",
8325
+ activityTerminalDescription: "\u6253\u5F00\u5DE5\u4F5C\u533A\u7EC8\u7AEF",
8118
8326
  activityTerminalLabel: "\u7EC8\u7AEF",
8119
8327
  desktopNoLongerClonesToServer: "Desktop \u4E0D\u518D\u514B\u9686\u5230\u670D\u52A1\u5668\uFF0C\u8BF7\u4F7F\u7528 Publish \u6258\u7BA1\u5F53\u524D\u672C\u5730\u9879\u76EE\u3002",
8120
8328
  desktopOnlyClonesLocal: "Desktop \u53EA\u514B\u9686\u672C\u5730\u9879\u76EE\u3002",
@@ -8239,8 +8447,8 @@ var desktop2 = {
8239
8447
  serverPreparationFailed: "\u670D\u52A1\u5668\u51C6\u5907\u5931\u8D25",
8240
8448
  serverPreparingProject: "\u670D\u52A1\u5668\u6B63\u5728\u51C6\u5907\u9879\u76EE",
8241
8449
  serverProjectAccessDenied: "\u5F53\u524D\u8D26\u53F7\u65E0\u6CD5\u8BBF\u95EE\u8BE5\u4E91\u7AEF\u9879\u76EE\u3002",
8242
- unrecognizedProjectDescription: "\u6240\u9009\u6587\u4EF6\u5939\u4E0D\u662F\u6709\u6548\u7684 Workflow Code \u9879\u76EE\u3002\u8BF7\u786E\u8BA4\u9879\u76EE\u6839\u76EE\u5F55\u5305\u542B\u6709\u6548\u7684 package.json\uFF0C\u4EE5\u53CA\u4E0E\u9879\u76EE\u7C7B\u578B\u5339\u914D\u7684 index.ts \u6216 index.html\u3002",
8243
- unrecognizedProjectTitle: "\u65E0\u6CD5\u8BC6\u522B\u9879\u76EE",
8450
+ unrecognizedProjectDescription: "\u6240\u9009\u76EE\u5F55\u65E0\u6CD5\u4F5C\u4E3A\u672C\u5730\u5DE5\u4F5C\u533A\u6253\u5F00\u3002\u5982\u679C\u76EE\u5F55\u58F0\u660E\u4E3A Workflow Code \u9879\u76EE\uFF0C\u8BF7\u68C0\u67E5 package.json \u548C\u5BF9\u5E94\u5165\u53E3\u6587\u4EF6\u662F\u5426\u5B8C\u6574\uFF0C\u5E76\u786E\u8BA4\u76EE\u5F55\u4ECD\u7136\u5B58\u5728\u4E14\u53EF\u8BBF\u95EE\u3002",
8451
+ unrecognizedProjectTitle: "\u65E0\u6CD5\u6253\u5F00\u6587\u4EF6\u5939",
8244
8452
  unsavedChangesBeforeRefresh: "\u5F53\u524D\u6709\u672A\u4FDD\u5B58\u7684\u66F4\u6539\uFF0C\u8BF7\u5148\u4FDD\u5B58\u6216\u653E\u5F03\u66F4\u6539\u540E\u518D\u5237\u65B0\u3002",
8245
8453
  unsavedChangesDescription: "\u5F53\u524D\u6709 {{count}} \u4E2A\u6587\u4EF6\u5C1A\u672A\u4FDD\u5B58\u3002\u662F\u5426\u5148\u4FDD\u5B58\u518D{{action}}\uFF1F",
8246
8454
  unsavedChangesDetail: "\u9009\u62E9\u201C\u4FDD\u5B58\u5E76\u7EE7\u7EED\u201D\u4F1A\u5148\u4FDD\u5B58\u5F53\u524D\u5185\u5BB9\uFF0C\u9009\u62E9\u201C\u53D6\u6D88\u201D\u4F1A\u505C\u7559\u5728\u5F53\u524D\u5185\u5BB9\u3002",
@@ -8527,28 +8735,28 @@ var desktop2 = {
8527
8735
  activityItemAriaLabel: "{{label}}\uFF1A{{description}}",
8528
8736
  assistantBusyAria: "\u5C0F\u52A9\u624B\uFF1A\u6B63\u5728\u51C6\u5907",
8529
8737
  assistantConversationUnavailable: "\u5C0F\u52A9\u624B\u6CA1\u6709\u63D0\u4F9B\u53EF\u7528\u7684 conversation \u5DE5\u4F5C\u533A\u3002",
8530
- assistantDesktopOnly: "\u5C0F\u52A9\u624B\u4EC5\u652F\u6301 Desktop \u7684\u672C\u5730\u9879\u76EE\u3002",
8531
- assistantHideAria: "\u5C0F\u52A9\u624B\uFF1A\u9690\u85CF\u9879\u76EE\u5F00\u53D1\u5BF9\u8BDD",
8738
+ assistantDesktopOnly: "\u5C0F\u52A9\u624B\u4EC5\u652F\u6301 Desktop \u7684\u672C\u5730\u5DE5\u4F5C\u533A\u3002",
8739
+ assistantHideAria: "\u5C0F\u52A9\u624B\uFF1A\u9690\u85CF\u5DE5\u4F5C\u533A\u5F00\u53D1\u5BF9\u8BDD",
8532
8740
  assistantHideTitle: "\u9690\u85CF\u5C0F\u52A9\u624B",
8533
8741
  assistantInstallFailed: "\u5C0F\u52A9\u624B\u5B89\u88C5\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5\u3002",
8534
- assistantLocalOnly: "\u5C0F\u52A9\u624B\u4EC5\u652F\u6301\u672C\u5730\u666E\u901A\u9879\u76EE\u3002",
8535
- assistantOpenAria: "\u5C0F\u52A9\u624B\uFF1A\u6253\u5F00\u9879\u76EE\u5F00\u53D1\u5BF9\u8BDD",
8742
+ assistantLocalOnly: "\u5C0F\u52A9\u624B\u4EC5\u652F\u6301\u672C\u5730\u53EF\u7F16\u8F91\u9879\u76EE\u548C\u666E\u901A\u6587\u4EF6\u5939\u3002",
8743
+ assistantOpenAria: "\u5C0F\u52A9\u624B\uFF1A\u6253\u5F00\u5DE5\u4F5C\u533A\u5F00\u53D1\u5BF9\u8BDD",
8536
8744
  assistantOpenTitle: "\u6253\u5F00\u5C0F\u52A9\u624B",
8537
8745
  assistantPreparingDetail: "\u6B63\u5728\u68C0\u67E5\u5185\u7F6E\u4F9D\u8D56\u5E76\u52A0\u8F7D\u5BF9\u8BDD\u5DE5\u4F5C\u533A\u3002",
8538
8746
  assistantPreparingTitle: "\u6B63\u5728\u51C6\u5907\u5C0F\u52A9\u624B",
8539
- assistantRegistrationPending: "\u5C0F\u52A9\u624B\u5B89\u88C5\u5B8C\u6210\uFF0C\u4F46\u672C\u5730\u9879\u76EE\u6CE8\u518C\u5C1A\u672A\u5C31\u7EEA\uFF0C\u8BF7\u91CD\u8BD5\u3002",
8747
+ assistantRegistrationPending: "\u5C0F\u52A9\u624B\u5B89\u88C5\u5B8C\u6210\uFF0C\u4F46\u672C\u5730\u5DE5\u4F5C\u533A\u6CE8\u518C\u5C1A\u672A\u5C31\u7EEA\uFF0C\u8BF7\u91CD\u8BD5\u3002",
8540
8748
  assistantStructureReadFailed: "\u65E0\u6CD5\u8BFB\u53D6\u5C0F\u52A9\u624B\u5BF9\u8BDD\u7ED3\u6784\u3002",
8541
- assistantTargetOpenFailed: "\u65E0\u6CD5\u6253\u5F00\u5C0F\u52A9\u624B\u5BF9\u5E94\u7684\u672C\u5730\u9879\u76EE\u3002",
8749
+ assistantTargetOpenFailed: "\u65E0\u6CD5\u6253\u5F00\u5C0F\u52A9\u624B\u5BF9\u5E94\u7684\u672C\u5730\u5DE5\u4F5C\u533A\u3002",
8542
8750
  builtinDownloadingAssistant: "\u6B63\u5728\u4E0B\u8F7D\u5C0F\u52A9\u624B\u8D44\u6E90{{progress}}\u3002",
8543
8751
  builtinDownloadingOpenCode: "\u6B63\u5728\u4E0B\u8F7D OpenCode \u4F9D\u8D56{{progress}}\u3002",
8544
8752
  builtinInstallingAssistant: "\u6B63\u5728\u5B89\u88C5\u5E76\u6CE8\u518C\u5C0F\u52A9\u624B{{progress}}\u3002",
8545
8753
  builtinInstallingOpenCode: "\u6B63\u5728\u5B89\u88C5 OpenCode \u4F9D\u8D56{{progress}}\u3002",
8546
8754
  builtinProgress: "\uFF0C{{percent}}%",
8547
8755
  connectingServer: "\u6B63\u5728\u8FDE\u63A5 Workflow Server...",
8548
- conversationNotFoundRecovered: "\u672A\u627E\u5230\u5BF9\u5E94\u4F1A\u8BDD\uFF0C\u5DF2\u6253\u5F00\u9879\u76EE\u5E76\u5C1D\u8BD5\u5B9A\u4F4D\u8FD0\u884C\u8BB0\u5F55\u3002",
8549
- developerAssistantDescription: "\u57FA\u4E8E OpenCode \u521B\u5EFA\u6216\u7EF4\u62A4\u5F53\u524D Workflow Code \u9879\u76EE\uFF0C\u53EA\u4FEE\u6539\u5F53\u524D\u9879\u76EE\u76EE\u5F55\uFF0C\u5E76\u53EF\u6309\u9700\u8BB0\u4F4F\u7A33\u5B9A\u7684\u504F\u597D\u4E0E\u9879\u76EE\u51B3\u7B56\u3002",
8756
+ conversationNotFoundRecovered: "\u672A\u627E\u5230\u5BF9\u5E94\u4F1A\u8BDD\uFF0C\u5DF2\u6253\u5F00\u5DE5\u4F5C\u533A\u5E76\u5C1D\u8BD5\u5B9A\u4F4D\u8FD0\u884C\u8BB0\u5F55\u3002",
8757
+ developerAssistantDescription: "\u57FA\u4E8E OpenCode \u5728\u5F53\u524D\u5DE5\u4F5C\u533A\u6839\u76EE\u5F55\u53CA\u5DF2\u6388\u6743\u5173\u8054\u6839\u76EE\u5F55\u4E2D\u7EF4\u62A4\u4EE3\u7801\u548C\u6587\u6863\uFF0C\u5E76\u6309\u9700\u8BB0\u4F4F\u7A33\u5B9A\u504F\u597D\u4E0E\u5DE5\u4F5C\u533A\u51B3\u7B56\u3002",
8550
8758
  developerAssistantLabel: "\u5C0F\u52A9\u624B",
8551
- developerAssistantSubtitle: "\u9879\u76EE\u7EA7\u5F00\u53D1\u52A9\u624B",
8759
+ developerAssistantSubtitle: "\u5DE5\u4F5C\u533A\u5F00\u53D1\u52A9\u624B",
8552
8760
  diagramDiagnosticLabel: "\u6D41\u7A0B\u56FE\u8BCA\u65AD",
8553
8761
  discardKnowledgeConfirm: "\u653E\u5F03\u5E76\u7EE7\u7EED",
8554
8762
  discardKnowledgeDescription: "\u5F53\u524D\u77E5\u8BC6\u5E93\u6587\u6863\u6709\u672A\u4FDD\u5B58\u7684\u4FEE\u6539\u3002{{action}}\u540E\u8FD9\u4E9B\u4FEE\u6539\u5C06\u88AB\u4E22\u5F03\u3002",
@@ -8561,16 +8769,27 @@ var desktop2 = {
8561
8769
  knowledgeBaseLabel: "\u77E5\u8BC6\u5E93",
8562
8770
  kvDataLabel: "KV \u6570\u636E",
8563
8771
  leaveWorkspaceConfirm: "\u786E\u8BA4\u79BB\u5F00",
8564
- leaveWorkspaceDescription: "\u5F53\u524D\u9879\u76EE\u6709\u672A\u4FDD\u5B58\u7684\u672C\u5730\u6587\u4EF6\u3002\u79BB\u5F00\u540E\u8BF7\u8FD4\u56DE\u9879\u76EE\u7EE7\u7EED\u4FDD\u5B58\u6216\u624B\u52A8\u653E\u5F03\u66F4\u6539\u3002",
8772
+ leaveWorkspaceDescription: "\u5F53\u524D\u5DE5\u4F5C\u533A\u6709\u672A\u4FDD\u5B58\u7684\u672C\u5730\u6587\u4EF6\u3002\u79BB\u5F00\u540E\u8BF7\u8FD4\u56DE\u5DE5\u4F5C\u533A\u7EE7\u7EED\u4FDD\u5B58\u6216\u624B\u52A8\u653E\u5F03\u66F4\u6539\u3002",
8565
8773
  leaveWorkspaceTitle: "\u79BB\u5F00\u5F53\u524D\u5DE5\u4F5C\u533A\uFF1F",
8566
8774
  loadingLabelFallback: "\u6B63\u5728\u52A0\u8F7D{{label}}",
8567
8775
  openDesktopSettings: "\u6253\u5F00 Desktop \u8BBE\u7F6E",
8568
- projectInfoLocalDescription: "\u7F16\u8F91\u9879\u76EE\u663E\u793A\u540D\u3001\u7C7B\u578B\u548C\u5361\u7247\u56FE\u6807\uFF0C\u4FDD\u5B58\u540E\u4F1A\u5199\u56DE\u672C\u5730 package.json\u3002",
8776
+ openFolder: "\u6253\u5F00\u6587\u4EF6\u5939",
8777
+ openFolderActionsMenuWithName: "\u6253\u5F00 {{name}} \u6587\u4EF6\u5939\u64CD\u4F5C\u83DC\u5355",
8778
+ openFolderWithName: "\u6253\u5F00\u6587\u4EF6\u5939 {{name}}",
8779
+ projectInfoLocalDescription: "\u7F16\u8F91\u9879\u76EE\u4FE1\u606F\u5E76\u9884\u89C8 README\uFF1B\u4FDD\u5B58\u540E\u5199\u56DE\u672C\u5730 package.json\uFF0C\u5E76\u540C\u6B65\u5DF2\u7ED1\u5B9A\u7684\u4E91\u7AEF\u5E94\u7528\u3002",
8569
8780
  projectInfoTitle: "\u9879\u76EE\u4FE1\u606F",
8781
+ projectReadmeMissing: "\u9879\u76EE\u6839\u76EE\u5F55\u4E2D\u6CA1\u6709 README.md\u3002",
8782
+ projectReadmeTitle: "README \u9884\u89C8",
8570
8783
  projectOpeningDetail: "\u6B63\u5728\u52A0\u8F7D\u9879\u76EE\u6587\u4EF6\u548C\u5DE5\u4F5C\u533A\u72B6\u6001\u3002",
8571
8784
  projectOpeningTitle: "\u6B63\u5728\u6253\u5F00\u9879\u76EE",
8572
- projectWorkspaceAria: "\u9879\u76EE\u5DE5\u4F5C\u533A",
8785
+ projectWorkspaceAria: "\u5DE5\u4F5C\u533A",
8786
+ removeFolderDescription: "\u4ECE Desktop \u4E2D\u79FB\u9664 {{name}}\uFF1F\u78C1\u76D8\u6587\u4EF6\u4E0D\u4F1A\u88AB\u5220\u9664\uFF0C\u91CD\u65B0\u6253\u5F00\u8BE5\u6587\u4EF6\u5939\u540E\u53EF\u6062\u590D\u539F\u6709\u5173\u8054\u3002",
8787
+ removeFolderRegistration: "\u79FB\u9664\u6587\u4EF6\u5939",
8788
+ removeFolderTitle: "\u79FB\u9664\u6587\u4EF6\u5939\uFF1F",
8573
8789
  runLogsLabel: "\u8FD0\u884C\u65E5\u5FD7",
8790
+ selectWorkspaceToStartEditing: "\u9009\u62E9\u5DE5\u4F5C\u533A\u5F00\u59CB\u7F16\u8F91",
8791
+ showFolderInFileManager: "\u5728\u6587\u4EF6\u7BA1\u7406\u5668\u4E2D\u663E\u793A",
8792
+ workspaceActions: "\u5DE5\u4F5C\u533A\u64CD\u4F5C",
8574
8793
  selectProjectToEditInfo: "\u8BF7\u9009\u62E9\u4E00\u4E2A\u9879\u76EE\u540E\u7F16\u8F91\u4FE1\u606F\u3002",
8575
8794
  settingsAria: "\u8BBE\u7F6E\uFF1A\u6253\u5F00 Desktop \u8BBE\u7F6E",
8576
8795
  workspaceRailAria: "\u5DE5\u4F5C\u533A\u89C6\u56FE",
@@ -9364,6 +9583,17 @@ var serverWeb2 = {
9364
9583
  projectListUploaderFallback: "\u672A\u8BB0\u5F55\u4E0A\u4F20\u7528\u6237",
9365
9584
  projectListViewLogs: "\u67E5\u770B\u65E5\u5FD7",
9366
9585
  projectListVisible: "\u663E\u793A {{visible}} / {{total}}",
9586
+ projectDeclarationMultilingual: "\u652F\u6301\u591A\u8BED\u8A00",
9587
+ projectDeclarationMultiplatform: "\u652F\u6301\u591A\u5E73\u53F0",
9588
+ projectExecutionDesktopOnly: "\u4EC5\u672C\u5730\u8FD0\u884C",
9589
+ projectExecutionPreparing: "\u5C1A\u672A\u53D1\u5E03",
9590
+ projectExecutionServerRunnable: "Server \u53EF\u8FD0\u884C",
9591
+ projectExecutionStaticWeb: "\u9759\u6001 Web",
9592
+ projectExecutionTargetUnavailable: "\u5F53\u524D\u6CA1\u6709\u53EF\u4F9B\u8BE5 Server \u5165\u53E3\u4F7F\u7528\u7684\u517C\u5BB9\u5728\u7EBF\u7248\u672C\u3002",
9593
+ projectPlatformAgnostic: "\u5E73\u53F0\u65E0\u5173",
9594
+ projectPlatformMacos: "macOS",
9595
+ projectPlatformWeb: "Web",
9596
+ projectPlatformWindows: "Windows",
9367
9597
  projectSettingsAcceptNewRuns: "\u63A5\u6536\u65B0\u4EFB\u52A1",
9368
9598
  projectSettingsAcceptNewRunsDescription: "\u5173\u95ED\u540E\u4F1A\u6682\u505C\u65B0\u7684\u8FD0\u884C\u5165\u53E3\uFF0C\u4F46\u4E0D\u4F1A\u5220\u9664\u5386\u53F2\u8BB0\u5F55\u3002",
9369
9599
  projectSettingsAccessPolicy: "\u8BBF\u95EE\u7B56\u7565",
@@ -9375,6 +9605,17 @@ var serverWeb2 = {
9375
9605
  projectSettingsBaselineNoLatest: "\u6682\u65E0",
9376
9606
  projectSettingsBaselineUpdatedAt: "\u66F4\u65B0\u65F6\u95F4",
9377
9607
  projectSettingsBaselineWorkflowId: "Workflow ID",
9608
+ projectSettingsDeclarations: "\u9879\u76EE\u58F0\u660E",
9609
+ projectSettingsDefaultName: "\u9ED8\u8BA4\u540D\u79F0",
9610
+ projectSettingsDisplayPlatforms: "\u5C55\u793A\u5E73\u53F0",
9611
+ projectSettingsEnglishName: "\u82F1\u6587\u540D\u79F0",
9612
+ projectSettingsExecutionAvailability: "\u53D1\u884C\u53EF\u7528\u6027",
9613
+ projectSettingsLocalizedNames: "\u672C\u5730\u5316\u540D\u79F0",
9614
+ projectSettingsNoDeclarations: "\u65E0\u58F0\u660E",
9615
+ projectSettingsProjectInfo: "\u9879\u76EE\u4FE1\u606F",
9616
+ projectSettingsProjectInfoDescription: "\u540D\u79F0\u3001\u58F0\u660E\u548C\u5C55\u793A\u5E73\u53F0\u6765\u81EA package.json\uFF0C\u4EC5\u7528\u4E8E\u5C55\u793A\uFF0C\u4E0D\u6821\u9A8C\u5B9E\u9645\u5B9E\u73B0\u3002",
9617
+ projectSettingsUnspecifiedName: "\u672A\u586B\u5199",
9618
+ projectSettingsChineseName: "\u4E2D\u6587\u540D\u79F0",
9378
9619
  projectSettingsConcurrency: "\u5E76\u53D1\u4E0A\u9650",
9379
9620
  projectSettingsConcurrencyControlDescription: "\u4F7F\u7528\u6B65\u8FDB\u6309\u94AE\u5373\u65F6\u4FDD\u5B58\u5E76\u53D1\u5BB9\u91CF\uFF0C\u907F\u514D\u5927\u6279\u91CF\u8BF7\u6C42\u538B\u6EE1\u8FD0\u884C\u961F\u5217\u3002",
9380
9621
  projectSettingsConcurrencyHint: "\u5F53\u524D {{total}} \u4E2A\u8FD0\u884C\u4E2D",
@@ -9954,6 +10195,7 @@ var serverWeb2 = {
9954
10195
  versionsHeaderPublishedAt: "\u53D1\u5E03\u65F6\u95F4",
9955
10196
  versionsHeaderReleaseLog: "\u53D1\u5E03\u65E5\u5FD7",
9956
10197
  versionsHeaderStatus: "\u72B6\u6001",
10198
+ versionsHeaderTargets: "\u53D1\u884C\u76EE\u6807",
9957
10199
  versionsHeaderUploader: "\u4E0A\u4F20\u7528\u6237",
9958
10200
  versionsHeaderVersion: "\u7248\u672C",
9959
10201
  versionsHealthLabelHighRisk: "\u9AD8\u98CE\u9669",
@@ -10084,6 +10326,11 @@ var serverWeb2 = {
10084
10326
  versionsVersionStatusManualOnline: "\u624B\u52A8\u4E0A\u7EBF",
10085
10327
  versionsVersionStatusOnline: "\u5728\u7EBF",
10086
10328
  versionsVersionStatusPreparing: "\u51C6\u5907\u4E2D",
10329
+ versionsTargetMacos: "macOS",
10330
+ versionsTargetServer: "Server",
10331
+ versionsTargetStaticWeb: "\u9759\u6001 Web",
10332
+ versionsTargetWindows: "Windows",
10333
+ versionsTargetNone: "\u65E0\u6267\u884C\u76EE\u6807",
10087
10334
  versionsViewStatsTitle: "\u67E5\u770B\u7248\u672C {{version}} \u7684\u8FD0\u884C\u7EDF\u8BA1",
10088
10335
  webhookAddMapping: "\u6DFB\u52A0\u6620\u5C04",
10089
10336
  webhookBodyFilter: "Body \u8FC7\u6EE4",
@@ -10454,7 +10701,13 @@ var server2 = {
10454
10701
  entrypointResumeLocked: "\u6062\u590D\u7B49\u5F85\u4E2D\u7684 Run \u65F6\u4E0D\u80FD\u66F4\u6539\u5165\u53E3\u3002",
10455
10702
  archiveUnsupportedType: "\u5F52\u6863\u6761\u76EE\u201C{{path}}\u201D\u4F7F\u7528\u4E86\u4E0D\u652F\u6301\u7684\u7C7B\u578B\u201C{{type}}\u201D\uFF0C\u53EA\u5141\u8BB8\u666E\u901A\u6587\u4EF6\u548C\u76EE\u5F55\u3002",
10456
10703
  kanbanDataSourceUnauthorized: "Kanban \u6570\u636E\u6E90\u201C{{sourceId}}\u201D\u672A\u83B7\u5171\u4EAB\u6388\u6743\u3002",
10457
- workflowOwnedByAnotherAccount: "Workflow\u201C{{workflowId}}\u201D\u5DF2\u5B58\u5728\u4E14\u5F52\u5176\u5B83\u8D26\u53F7\u6240\u6709\u3002"
10704
+ workflowOwnedByAnotherAccount: "Workflow\u201C{{workflowId}}\u201D\u5DF2\u5B58\u5728\u4E14\u5F52\u5176\u5B83\u8D26\u53F7\u6240\u6709\u3002",
10705
+ workflowVersionServerDisabled: "Workflow\u201C{{workflowId}}\u201D\u7248\u672C\u201C{{version}}\u201D\u4E0D\u652F\u6301 Server \u6267\u884C\uFF0C\u8BF7\u5728\u53D7\u652F\u6301\u7684 Desktop \u5E73\u53F0\u4E0B\u8F7D\u540E\u8FD0\u884C\u3002",
10706
+ workflowDraftServerDisabled: "Workflow\u201C{{workflowId}}\u201D\u8349\u7A3F\u672A\u542F\u7528 Server \u6267\u884C\u3002",
10707
+ workflowServerLatestUnavailable: "Workflow\u201C{{workflowId}}\u201D\u6CA1\u6709\u53EF\u5728 Server \u6267\u884C\u7684\u5728\u7EBF\u7248\u672C\u3002",
10708
+ workflowDesktopLatestUnavailable: "Workflow\u201C{{workflowId}}\u201D\u6CA1\u6709\u53EF\u4F9B {{platform}} Desktop \u4E0B\u8F7D\u7684\u5728\u7EBF\u7248\u672C\u3002",
10709
+ workflowDesktopVersionUnsupported: "Workflow\u201C{{workflowId}}\u201D\u7248\u672C\u201C{{version}}\u201D\u672A\u53D1\u884C\u5230 {{platform}} Desktop\u3002",
10710
+ workflowRuntimeArtifactUnavailable: "Workflow\u201C{{workflowId}}\u201D\u7248\u672C\u201C{{version}}\u201D\u7F3A\u5C11 Server runtime \u4EA7\u7269\u3002"
10458
10711
  };
10459
10712
 
10460
10713
  // .shared/i18n/resources/zh/cli.ts
@@ -10507,10 +10760,10 @@ var cli2 = {
10507
10760
  " status",
10508
10761
  " health",
10509
10762
  " pack <workflow> [--path <workflow-dir>] [--output <file.tgz>] [--project-group] [--dependency <alias>=<path>]",
10510
- " upload <workflow> [--path <workflow-dir>] [--file <archive>] [--release-log <text>] [--source-mode bundled|source] [--no-wait] [--create] [--project-group] [--publish-group] [--dependency <alias>=<path>] [--grant-data-access <alias>]",
10763
+ " 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>] [--grant-data-access <alias>]",
10511
10764
  " preparation <workflow-id> <job-id>",
10512
10765
  " download <workflow> [--target draft|latest|version] [--path <dir>]",
10513
- " publish <workflow> [--release-log <text>] [--source-mode bundled|source] [--project-group] [--dependency <alias>=<path>] [--grant-data-access <alias>]",
10766
+ " publish <workflow> [--release-log <text>] [--source-mode bundled|source] [--server-runtime|--no-server-runtime] [--desktop-platform macos|windows] [--project-group] [--dependency <alias>=<path>] [--grant-data-access <alias>]",
10514
10767
  " publish --deployment <id>",
10515
10768
  " run <workflow> [...args] [--target draft|latest|version] [--entrypoint <id>]",
10516
10769
  " debug-node <workflow> <node> [...args] [--target draft|latest|version] [--entrypoint <id>]",
@@ -10521,7 +10774,9 @@ var cli2 = {
10521
10774
  "",
10522
10775
  "\u9009\u9879\uFF1A",
10523
10776
  " --server <url> \u9ED8\u8BA4\u8BFB\u53D6 WORKFLOW_SERVER_URL\u3001\u5DF2\u4FDD\u5B58\u7684 CLI \u8BA4\u8BC1\u6216 http://localhost:7125",
10524
- " --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"
10777
+ " --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",
10778
+ " --server-runtime / --no-server-runtime \u4E3A\u672C\u6B21\u53D1\u884C\u542F\u7528\u6216\u5173\u95ED Server \u6267\u884C",
10779
+ " --desktop-platform <macos|windows> \u589E\u52A0\u53EF\u4E0B\u8F7D\u7684 Desktop \u76EE\u6807\uFF0C\u53EF\u91CD\u590D\u6307\u5B9A"
10525
10780
  ].join("\n"),
10526
10781
  invalidLocale: "\u4E0D\u652F\u6301\u8BED\u8A00 {{value}}\uFF0C\u53EA\u80FD\u4F7F\u7528 zh-CN \u6216 en\u3002",
10527
10782
  duplicateLocale: "--locale \u53EA\u80FD\u6307\u5B9A\u4E00\u6B21\u3002",
@@ -10549,6 +10804,11 @@ var cli2 = {
10549
10804
  invalidBase64Content: 'Workflow \u6587\u4EF6 "{{path}}" \u7684 base64 \u5185\u5BB9\u65E0\u6548\u3002',
10550
10805
  versionOptionUnsupported: "\u4E0D\u518D\u652F\u6301 --version\uFF0C\u53D1\u5E03\u7248\u672C\u7531\u7CFB\u7EDF\u7BA1\u7406\u3002",
10551
10806
  invalidSourceMode: "--source-mode \u53EA\u80FD\u662F bundled \u6216 source\u3002",
10807
+ workspaceDownloadPlatformUnsupported: "workspace download \u4EC5\u652F\u6301 macOS \u548C Windows\uFF0C\u5F53\u524D\u5E73\u53F0\u4E3A {{platform}}\u3002",
10808
+ serverRuntimeOptionsConflict: "--server-runtime \u4E0E --no-server-runtime \u4E0D\u80FD\u540C\u65F6\u4F7F\u7528\u3002",
10809
+ invalidDesktopPlatform: "\u4E0D\u652F\u6301 --desktop-platform {{platform}}\uFF0C\u53EA\u80FD\u4F7F\u7528 macos \u6216 windows\u3002",
10810
+ executionTargetCommandUnsupported: "\u53D1\u884C\u76EE\u6807\u53C2\u6570\u4EC5\u652F\u6301 upload \u548C publish \u547D\u4EE4\u3002",
10811
+ desktopPlatformRequiresSource: "--desktop-platform \u4E0D\u80FD\u4E0E --source-mode bundled \u540C\u65F6\u4F7F\u7528\uFF1BDesktop \u53D1\u884C\u5FC5\u987B\u4FDD\u7559\u6E90\u7801\u3002",
10552
10812
  noWaitReleaseLogConflict: "--no-wait \u4E0D\u80FD\u4E0E --release-log \u540C\u65F6\u4F7F\u7528\uFF0C\u56E0\u4E3A\u53D1\u5E03\u524D\u5FC5\u987B\u5B8C\u6210\u8349\u7A3F\u51C6\u5907\u3002",
10553
10813
  notLoggedIn: "\u5C1A\u672A\u767B\u5F55\u3002\u8BF7\u8FD0\u884C workspace login --server <url>\uFF0C\u6216\u4F20\u5165 --token / WORKFLOW_SERVER_ADMIN_KEY\u3002",
10554
10814
  missingPositional: "\u7F3A\u5C11 {{name}}\u3002",
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  i18n,
4
4
  prepareCliInvocation,
5
5
  translateWorkflowCodeError
6
- } from "./chunk-24UGBDSY.js";
6
+ } from "./chunk-2KD6CDRU.js";
7
7
 
8
8
  // src/index.ts
9
9
  import path from "path";
@@ -12,7 +12,7 @@ async function main(argv = process.argv.slice(2)) {
12
12
  const prepared = prepareCliInvocation(argv);
13
13
  argv = prepared.argv;
14
14
  if (argv[0] === "workspace") {
15
- const workspaceCli = await import("./workspace-CLAXSOP6.js");
15
+ const workspaceCli = await import("./workspace-LJM3BJSD.js");
16
16
  await workspaceCli.main(argv.slice(1), { localeInitialized: true });
17
17
  return typeof process.exitCode === "number" ? process.exitCode : 0;
18
18
  }
@@ -23,7 +23,7 @@ async function main(argv = process.argv.slice(2)) {
23
23
  }
24
24
  const { register } = await import("tsx/esm/api");
25
25
  register();
26
- const localCli = await import("./local-KAPVEJIL.js");
26
+ const localCli = await import("./local-IBRGKF3N.js");
27
27
  return localCli.main(argv, { localeInitialized: true });
28
28
  }
29
29
  function formatHelp() {
@@ -3,7 +3,7 @@ import {
3
3
  i18n,
4
4
  prepareCliInvocation,
5
5
  translateWorkflowCodeError
6
- } from "./chunk-24UGBDSY.js";
6
+ } from "./chunk-2KD6CDRU.js";
7
7
 
8
8
  // src/local.ts
9
9
  import path from "path";
@@ -6,7 +6,7 @@ import {
6
6
  i18n,
7
7
  prepareCliInvocation,
8
8
  translateWorkflowCodeError
9
- } from "./chunk-24UGBDSY.js";
9
+ } from "./chunk-2KD6CDRU.js";
10
10
 
11
11
  // node_modules/.pnpm/ignore@7.0.6/node_modules/ignore/index.js
12
12
  var require_ignore = __commonJS({
@@ -587,6 +587,50 @@ function isWorkflowUuid(value) {
587
587
  return WORKFLOW_UUID_PATTERN.test(value.trim());
588
588
  }
589
589
 
590
+ // .shared/project-types/index.ts
591
+ var WORKFLOW_PROJECT_TYPE_DEFINITIONS = [
592
+ {
593
+ id: "workflow",
594
+ label: "Workflow",
595
+ labelKey: "projectTypeWorkflow",
596
+ defaultIcon: "workflow",
597
+ defaultIconBackgroundColor: "#2563eb",
598
+ hasExecutor: true
599
+ },
600
+ {
601
+ id: "conversation",
602
+ label: "Conversation",
603
+ labelKey: "projectTypeConversation",
604
+ defaultIcon: "message-circle",
605
+ defaultIconBackgroundColor: "#0f766e",
606
+ hasExecutor: true
607
+ },
608
+ {
609
+ id: "kanban",
610
+ label: "Kanban",
611
+ labelKey: "projectTypeKanban",
612
+ defaultIcon: "boxes",
613
+ defaultIconBackgroundColor: "#b45309",
614
+ hasExecutor: false
615
+ }
616
+ ];
617
+ var WORKFLOW_PROJECT_TYPES = WORKFLOW_PROJECT_TYPE_DEFINITIONS.map((definition) => definition.id);
618
+ var WORKFLOW_EXECUTOR_PROJECT_TYPES = WORKFLOW_PROJECT_TYPE_DEFINITIONS.filter((definition) => definition.hasExecutor).map((definition) => definition.id);
619
+ var WORKFLOW_PROJECT_TYPE_DEFINITIONS_BY_ID = Object.fromEntries(
620
+ WORKFLOW_PROJECT_TYPE_DEFINITIONS.map((definition) => [definition.id, definition])
621
+ );
622
+
623
+ // .shared/execution-targets/index.ts
624
+ var WORKFLOW_DESKTOP_EXECUTION_PLATFORMS = ["macos", "windows"];
625
+ function isWorkflowDesktopExecutionPlatform(value) {
626
+ return typeof value === "string" && WORKFLOW_DESKTOP_EXECUTION_PLATFORMS.includes(value);
627
+ }
628
+ function mapNodePlatformToWorkflowDesktopPlatform(platform) {
629
+ if (platform === "darwin") return "macos";
630
+ if (platform === "win32") return "windows";
631
+ return void 0;
632
+ }
633
+
590
634
  // .shared/project-upload/node.ts
591
635
  import { copyFile, lstat, mkdir, readFile, readdir } from "fs/promises";
592
636
  import path2 from "path";
@@ -1167,11 +1211,13 @@ async function commandUpload(parsed) {
1167
1211
  throw new Error(i18n.t("workflowIdRequired", { ns: "cli" }));
1168
1212
  }
1169
1213
  const archivePath = parsed.options.file ? path4.resolve(parsed.options.file) : await packWorkflow(workflowArg, parsed.options.output, parsed.options.path);
1214
+ const executionTargets = resolveRequestedExecutionTargets(parsed.options, packageContext.projectType);
1170
1215
  const uploadResult = await uploadPackage({
1171
1216
  workflowId,
1172
1217
  archivePath,
1173
1218
  server: parsed.options.server,
1174
- token: parsed.options.token
1219
+ token: parsed.options.token,
1220
+ executionTargets
1175
1221
  });
1176
1222
  if (uploadResult.errCode !== 0 || uploadResult.data === void 0) {
1177
1223
  printApiResponse(uploadResult);
@@ -1201,7 +1247,8 @@ async function commandUpload(parsed) {
1201
1247
  method: "POST",
1202
1248
  body: {
1203
1249
  releaseLog: parsed.options.releaseLog,
1204
- sourceMode: parsed.options.sourceMode ?? "bundled"
1250
+ sourceMode: resolveRequestedSourceMode(parsed.options, executionTargets),
1251
+ executionTargets
1205
1252
  }
1206
1253
  });
1207
1254
  printApiResponse(publishResult);
@@ -1265,7 +1312,8 @@ async function commandProjectGroupUpload(parsed, workflowArg, forcePublish = fal
1265
1312
  deploymentId: planned.data.id,
1266
1313
  archivePath: packed.archivePath,
1267
1314
  server: parsed.options.server,
1268
- token: parsed.options.token
1315
+ token: parsed.options.token,
1316
+ executionTargets: resolveRequestedExecutionTargets(parsed.options, rootContext.projectType)
1269
1317
  });
1270
1318
  if (prepared.errCode !== 0 || prepared.data === void 0) {
1271
1319
  printApiResponse(prepared);
@@ -1369,11 +1417,18 @@ async function commandDownload(parsed) {
1369
1417
  const workflowArg = requirePositional(parsed, 0, "workflow");
1370
1418
  const workflowId = await resolveRemoteWorkflowId(parsed);
1371
1419
  const target = parsed.options.target ?? "latest";
1420
+ const platform = mapNodePlatformToWorkflowDesktopPlatform(process.platform);
1421
+ if (platform === void 0) {
1422
+ throw new Error(i18n.t("workspaceDownloadPlatformUnsupported", {
1423
+ ns: "cli",
1424
+ platform: process.platform
1425
+ }));
1426
+ }
1372
1427
  if (target !== "draft") {
1373
1428
  const result2 = await fetchApi({
1374
1429
  server: parsed.options.server,
1375
1430
  token: parsed.options.token,
1376
- path: `/api/workflows/${encodeURIComponent(workflowId)}/project-group-download?target=${encodeURIComponent(target)}`
1431
+ path: `/api/workflows/${encodeURIComponent(workflowId)}/project-group-download?target=${encodeURIComponent(target)}&platform=${platform}`
1377
1432
  });
1378
1433
  assertApiOk(result2);
1379
1434
  if (result2.errCode !== 0 || result2.data === void 0) {
@@ -1438,6 +1493,12 @@ async function commandPublish(parsed) {
1438
1493
  return;
1439
1494
  }
1440
1495
  const workflowId = await resolveRemoteWorkflowId(parsed);
1496
+ const projectType = parsed.options.serverRuntime === void 0 && parsed.options.desktopPlatforms.length > 0 ? await readRemoteWorkflowProjectType({
1497
+ workflowId,
1498
+ server: parsed.options.server,
1499
+ token: parsed.options.token
1500
+ }) : void 0;
1501
+ const executionTargets = resolveRequestedExecutionTargets(parsed.options, projectType);
1441
1502
  const publishResult = await fetchApi({
1442
1503
  server: parsed.options.server,
1443
1504
  token: parsed.options.token,
@@ -1445,12 +1506,22 @@ async function commandPublish(parsed) {
1445
1506
  method: "POST",
1446
1507
  body: {
1447
1508
  releaseLog: parsed.options.releaseLog,
1448
- sourceMode: parsed.options.sourceMode ?? "bundled"
1509
+ sourceMode: resolveRequestedSourceMode(parsed.options, executionTargets),
1510
+ executionTargets
1449
1511
  }
1450
1512
  });
1451
1513
  printApiResponse(publishResult);
1452
1514
  assertApiOk(publishResult);
1453
1515
  }
1516
+ async function readRemoteWorkflowProjectType(options) {
1517
+ const response = await fetchApi({
1518
+ server: options.server,
1519
+ token: options.token,
1520
+ path: "/api/workflows"
1521
+ });
1522
+ assertApiOk(response);
1523
+ return response.data?.find((workflow) => workflow.id === options.workflowId)?.projectType;
1524
+ }
1454
1525
  async function materializeProjectGroupDownload(download, rootTargetDir) {
1455
1526
  if (!isWorkflowUuid(download.rootProjectId)) {
1456
1527
  throw new Error(i18n.t("projectGroupDownloadInvalidRootId", { ns: "cli" }));
@@ -1895,8 +1966,15 @@ async function packProjectGroup(options) {
1895
1966
  async function uploadProjectGroupPackage(options) {
1896
1967
  const archiveBuffer = await readFile3(options.archivePath);
1897
1968
  const archiveName = path4.basename(options.archivePath);
1969
+ const query = new URLSearchParams({ fileName: archiveName });
1970
+ if (options.executionTargets !== void 0) {
1971
+ query.set("serverRuntime", String(options.executionTargets.server));
1972
+ for (const platform of options.executionTargets.desktop) {
1973
+ query.append("desktopPlatform", platform);
1974
+ }
1975
+ }
1898
1976
  const response = await fetch(
1899
- `${trimTrailingSlash(options.server)}/api/deployments/${encodeURIComponent(options.deploymentId)}/package?fileName=${encodeURIComponent(archiveName)}`,
1977
+ `${trimTrailingSlash(options.server)}/api/deployments/${encodeURIComponent(options.deploymentId)}/package?${query.toString()}`,
1900
1978
  {
1901
1979
  method: "POST",
1902
1980
  headers: {
@@ -1998,8 +2076,15 @@ async function writeWorkflowPackageId(packageJsonPath, workflowId) {
1998
2076
  async function uploadPackage(options) {
1999
2077
  const archiveBuffer = await readFile3(options.archivePath);
2000
2078
  const archiveName = path4.basename(options.archivePath);
2079
+ const query = new URLSearchParams({ fileName: archiveName });
2080
+ if (options.executionTargets !== void 0) {
2081
+ query.set("serverRuntime", String(options.executionTargets.server));
2082
+ for (const platform of options.executionTargets.desktop) {
2083
+ query.append("desktopPlatform", platform);
2084
+ }
2085
+ }
2001
2086
  const response = await fetch(
2002
- `${trimTrailingSlash(options.server)}/api/workflows/${encodeURIComponent(options.workflowId)}/package?fileName=${encodeURIComponent(archiveName)}`,
2087
+ `${trimTrailingSlash(options.server)}/api/workflows/${encodeURIComponent(options.workflowId)}/package?${query.toString()}`,
2003
2088
  {
2004
2089
  method: "POST",
2005
2090
  headers: {
@@ -2204,7 +2289,8 @@ function parseArgs(argv) {
2204
2289
  server: process.env.WORKFLOW_SERVER_URL ?? authConfig.serverUrl ?? DEFAULT_SERVER_URL,
2205
2290
  token: process.env.WORKFLOW_SERVER_ADMIN_KEY ?? authConfig.apiKey ?? "",
2206
2291
  dependencies: [],
2207
- dataGrants: []
2292
+ dataGrants: [],
2293
+ desktopPlatforms: []
2208
2294
  };
2209
2295
  for (let index = 0; index < rest.length; index += 1) {
2210
2296
  const arg = rest[index];
@@ -2245,6 +2331,26 @@ function parseArgs(argv) {
2245
2331
  case "--no-wait":
2246
2332
  options.noWait = true;
2247
2333
  break;
2334
+ case "--server-runtime":
2335
+ if (options.serverRuntime === false) {
2336
+ throw new Error(i18n.t("serverRuntimeOptionsConflict", { ns: "cli" }));
2337
+ }
2338
+ options.serverRuntime = true;
2339
+ break;
2340
+ case "--no-server-runtime":
2341
+ if (options.serverRuntime === true) {
2342
+ throw new Error(i18n.t("serverRuntimeOptionsConflict", { ns: "cli" }));
2343
+ }
2344
+ options.serverRuntime = false;
2345
+ break;
2346
+ case "--desktop-platform": {
2347
+ const value = requireValue(rest, index += 1, "--desktop-platform");
2348
+ if (!isWorkflowDesktopExecutionPlatform(value)) {
2349
+ throw new Error(i18n.t("invalidDesktopPlatform", { ns: "cli", platform: value }));
2350
+ }
2351
+ if (!options.desktopPlatforms.includes(value)) options.desktopPlatforms.push(value);
2352
+ break;
2353
+ }
2248
2354
  case "--dependency":
2249
2355
  options.dependencies.push(requireValue(rest, index += 1, "--dependency"));
2250
2356
  break;
@@ -2297,7 +2403,14 @@ function parseArgs(argv) {
2297
2403
  if (options.projectGroup === true && command !== "pack" && command !== "upload" && command !== "publish") {
2298
2404
  throw new Error(i18n.t("projectGroupCommandUnsupported", { ns: "cli" }));
2299
2405
  }
2300
- if (options.deployment !== void 0 && (options.projectGroup === true || options.dependencies.length > 0 || options.dataGrants.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)) {
2406
+ const hasExecutionTargetOptions = options.serverRuntime !== void 0 || options.desktopPlatforms.length > 0;
2407
+ if (hasExecutionTargetOptions && command !== "upload" && command !== "publish") {
2408
+ throw new Error(i18n.t("executionTargetCommandUnsupported", { ns: "cli" }));
2409
+ }
2410
+ if (options.sourceMode === "bundled" && options.desktopPlatforms.length > 0) {
2411
+ throw new Error(i18n.t("desktopPlatformRequiresSource", { ns: "cli" }));
2412
+ }
2413
+ if (options.deployment !== void 0 && (options.projectGroup === true || options.dependencies.length > 0 || options.dataGrants.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)) {
2301
2414
  throw new Error(i18n.t("deploymentOptionsConflict", { ns: "cli" }));
2302
2415
  }
2303
2416
  return {
@@ -2306,6 +2419,16 @@ function parseArgs(argv) {
2306
2419
  options
2307
2420
  };
2308
2421
  }
2422
+ function resolveRequestedExecutionTargets(options, projectType) {
2423
+ if (options.serverRuntime === void 0 && options.desktopPlatforms.length === 0) return void 0;
2424
+ return {
2425
+ server: options.serverRuntime ?? projectType !== "kanban",
2426
+ desktop: [...options.desktopPlatforms]
2427
+ };
2428
+ }
2429
+ function resolveRequestedSourceMode(options, executionTargets) {
2430
+ return (executionTargets?.desktop.length ?? 0) > 0 ? "source" : options.sourceMode;
2431
+ }
2309
2432
  function requireLogin(parsed) {
2310
2433
  if (parsed.options.server.trim() === "" || parsed.options.token.trim() === "") {
2311
2434
  throw new Error(i18n.t("notLoggedIn", { ns: "cli" }));
@@ -2477,6 +2600,7 @@ export {
2477
2600
  resolveExplicitDataGrants,
2478
2601
  resolveRemoteWorkflowId,
2479
2602
  resolveRepoRoot,
2603
+ resolveRequestedExecutionTargets,
2480
2604
  shouldUseProjectGroupUpload,
2481
2605
  stageWorkflowWithLocalDependencies,
2482
2606
  waitForDeviceToken,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workflow-code/cli",
3
- "version": "0.1.4-20260818001",
3
+ "version": "0.1.4-20260824001",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "workflow-code": "./dist/index.js"
@@ -18,7 +18,7 @@
18
18
  "tsx": "^4.21.0"
19
19
  },
20
20
  "peerDependencies": {
21
- "workflow-code": "0.1.4-20260818001"
21
+ "workflow-code": "0.1.4-20260824001"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@types/node": "^25.6.0",
@@ -27,11 +27,12 @@
27
27
  "tsup": "^8.5.1",
28
28
  "typescript": "^6.0.3",
29
29
  "vitest": "^4.1.7",
30
- "workflow-code": "0.1.4-20260818001",
31
- "@workflow-code/i18n": "0.1.0",
30
+ "workflow-code": "0.1.4-20260824001",
32
31
  "@workflow-code/auth-config": "0.1.0",
33
32
  "@workflow-code/project-upload": "0.1.0",
34
- "@workflow-code/workflow-ids": "0.1.0"
33
+ "@workflow-code/workflow-ids": "0.1.0",
34
+ "@workflow-code/i18n": "0.1.0",
35
+ "@workflow-code/execution-targets": "0.1.0"
35
36
  },
36
37
  "scripts": {
37
38
  "bootstrap": "node scripts/bootstrap.mjs",