@workflow-code/cli 0.2.4-20260913002 → 0.2.4-20260917001

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.
@@ -2287,6 +2287,9 @@ var common = {
2287
2287
  quickOptionsSummary: "Quick options: {{summary}}",
2288
2288
  resetQuickOptions: "Reset to defaults",
2289
2289
  backToQuickOptions: "Back to quick options: {{name}}",
2290
+ contextUsageTitle: "Context",
2291
+ compactContext: "Compact context",
2292
+ compactContextDescription: "Summarize the earlier conversation now to free up context space.",
2290
2293
  close: "Close",
2291
2294
  booleanYes: "Yes",
2292
2295
  booleanNo: "No",
@@ -2646,6 +2649,8 @@ var common = {
2646
2649
  closeDeleteConfirm: "Close delete confirmation",
2647
2650
  deleteRunHistoryConfirm: "Delete the local run history \u201C{{title}}\u201D?",
2648
2651
  searchDiagnostics: "Search diagnostics",
2652
+ searchContent: "Search content",
2653
+ searchConversationContent: "Search conversation",
2649
2654
  clearDiagnosticSearch: "Clear search",
2650
2655
  previousMatch: "Previous match",
2651
2656
  nextMatch: "Next match",
@@ -3309,6 +3314,9 @@ var desktop = {
3309
3314
  currentFile: "Current file",
3310
3315
  currentVersionDetail: "Current version {{version}}",
3311
3316
  deleteProject: "Delete project",
3317
+ deleteRecentTaskConfirm: 'Delete the run record "{{title}}"?',
3318
+ deleteRecentTaskDetails: "Only this run record is deleted; the project, its conversations and its schedules stay.",
3319
+ deleteRecentTaskFailedDescription: "This run record could not be deleted. Try again.",
3312
3320
  desktopProduct: "Desktop",
3313
3321
  desktopProductWithVersion: "Desktop {{version}}",
3314
3322
  downloadAndUpdateTo: "Download and update to {{version}}",
@@ -3468,6 +3476,8 @@ var desktop = {
3468
3476
  refreshing: "Refreshing",
3469
3477
  refreshingRecentTasks: "Refreshing recent tasks",
3470
3478
  relogin: "Sign in again",
3479
+ renameRecentTaskDescription: "Renames this Recent tasks row only; the conversation title and the schedule plan keep their names. Clearing it restores the derived name.",
3480
+ renameRecentTaskFailedDescription: "This row's name could not be saved. Try again.",
3471
3481
  reset: "Reset",
3472
3482
  resetFilter: "Reset filter",
3473
3483
  restartAndInstall: "Restart and install",
@@ -3538,7 +3548,11 @@ var desktop = {
3538
3548
  cloudAppUploadsMetadataOnly: "Only the name, type and card info are uploaded, never the project source.",
3539
3549
  cloudBindingPending: "Cloud binding pending",
3540
3550
  cloudProject: "Cloud project",
3551
+ cloudProjectMissingTitle: "Cloud app not created yet",
3552
+ cloudProjectMissingDescription: "This project declares server storage, but {{serverUrl}} does not host its UUID yet. Create the cloud app to read and write data on the Server.",
3541
3553
  cloudProjectReadonlyDescription: "Project info is managed by the Workflow Server; this workspace is view-only.",
3554
+ cloudProjectRunBlocked: "This project has no cloud app on {{serverUrl}} yet, so it cannot run on the Server. Create the cloud app and run again.",
3555
+ cloudProjectSignInRequired: "Sign in to {{serverUrl}} before creating the cloud app.",
3542
3556
  cloudUuidPendingBinding: "A cloud UUID has been generated; waiting to complete local binding at {{serverUrl}}.",
3543
3557
  colorAmber: "Amber",
3544
3558
  colorBlue: "Blue",
@@ -3721,7 +3735,9 @@ var desktop = {
3721
3735
  releaseExecutionTargets: "Release targets",
3722
3736
  releaseExecutionTargetsDescription: "Choose Server execution and local execution on this device for the immutable version.",
3723
3737
  serverCloudExecution: "Server cloud execution",
3724
- serverCloudExecutionDescription: "Prepare a Server runtime for runs, Embed, Webhook, and schedules.",
3738
+ serverCloudExecutionDescription: "Prepare a Server runtime for runs, Webhook, and schedules.",
3739
+ webExecution: "Web execution",
3740
+ 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.",
3725
3741
  kanbanServerExecutionDisabled: "Kanban is statically hosted and does not use the Server executor.",
3726
3742
  desktopTargetMacos: "macOS local execution",
3727
3743
  desktopTargetWindows: "Windows local execution",
@@ -3840,6 +3856,7 @@ var desktop = {
3840
3856
  hideConversationList: "Hide conversation list",
3841
3857
  hideDiagnostic: "Hide {{label}}",
3842
3858
  hideFileList: "Hide file list",
3859
+ hideTaskList: "Hide task list",
3843
3860
  hideWorkflow: "Hide workflow",
3844
3861
  historyRunResult: "History run result",
3845
3862
  keyColumn: "Key",
@@ -3848,7 +3865,14 @@ var desktop = {
3848
3865
  knowledgeUnavailableTitle: "Knowledge base is currently unavailable",
3849
3866
  kvData: "KV data",
3850
3867
  kvWorkspaceDescription: "View key-value data for the current project source.",
3868
+ kvDelete: "Delete",
3869
+ kvDeleteConfirmAction: "Delete",
3870
+ kvDeleteConfirmDescription: "Delete {{key}}? The entry is removed permanently from this project source's storage and cannot be restored.",
3871
+ kvDeleteConfirmTitle: "Delete KV data",
3872
+ kvDeleteFailed: "Failed to delete the KV entry.",
3873
+ kvDeleting: "Deleting",
3851
3874
  kvDetailTitle: "KV details",
3875
+ kvDetailValueLabel: "Value",
3852
3876
  kvEmptyDescription: "Data written by workflows will appear here.",
3853
3877
  kvLoadDataFailed: "Failed to load KV data.",
3854
3878
  kvLoadDataFailedTitle: "Failed to load KV data",
@@ -3856,6 +3880,11 @@ var desktop = {
3856
3880
  kvLoadingAriaLabel: "Loading KV data",
3857
3881
  kvLoadingFullValue: "Loading full value",
3858
3882
  kvMatchCount: "{{value}} matching records",
3883
+ kvMetaConversationId: "Conversation ID",
3884
+ kvMetaProjectId: "Project ID",
3885
+ kvMetaSize: "Size",
3886
+ kvMetaSourceRun: "Source run",
3887
+ kvMetaUnrecorded: "Not recorded",
3859
3888
  kvNoMatchTitle: "No matching KV data",
3860
3889
  kvScopeFilterAriaLabel: "Filter KV scope",
3861
3890
  kvSearchAriaLabel: "Search KV data",
@@ -4472,6 +4501,34 @@ var desktop = {
4472
4501
  loginItemDescription: "When enabled, Desktop starts in the background without opening the main window. Restore it from the system tray.",
4473
4502
  enabled: "Enabled",
4474
4503
  disabledByDefault: "Off by default",
4504
+ localProjectAccess: "Local projects",
4505
+ localProjectAccessDescription: "Local projects are created, imported, or installed on this device. They stay hidden here until you turn them on.",
4506
+ localProjectAccessAria: "Enable local projects on this device",
4507
+ localProjectAccessEnabled: "Local projects are enabled",
4508
+ localProjectAccessDisabled: "Local projects are disabled",
4509
+ localProjectAccessEnableDescription: "Enabling this lets Workflow Code run projects from this device again. Nothing changes until you confirm the risks.",
4510
+ localProjectAccessEnableConfirm: "Enable local projects",
4511
+ localProjectAccessSaveFailed: "Failed to update the local project setting.",
4512
+ localProjectAccessRiskExecute: "Local projects execute their own source on this machine, so an untrusted project can harm it.",
4513
+ localProjectAccessRiskFiles: "Local runs can read and write files on this machine and in the local application database.",
4514
+ localProjectAccessRiskUpload: "Publishing a project, or launching it to the Web, may upload its source to the server.",
4515
+ localProjectAccessRiskDependencies: "Runs fail outright when a project dependency is missing, outdated, or damaged.",
4516
+ localProjectAccessRiskSchedules: "Local schedules keep firing in the background once configured.",
4517
+ localProjectsDisabledScopeHint: "Local projects are turned off. Enable them in Settings to show them here.",
4518
+ localProjectsGateRunRefused: 'Local project "{{projectName}}" cannot run while local projects are disabled in Settings.',
4519
+ runToWebTitle: "Run {{projectName}} on the Web",
4520
+ runToWebMenuItem: "Run on the Web",
4521
+ runToWebDescription: "Desktop hosts this run and serves the page. Keep Desktop running while the browser is using it.",
4522
+ runToWebStarting: "Preparing the Web session\u2026",
4523
+ runToWebPublicLinkHint: "Open this link in any browser. Anyone who has it can watch this run until the session ends.",
4524
+ runToWebRelayPending: "Desktop is not connected to the relay yet, so this link will not open for anyone else. It keeps trying in the background.",
4525
+ runToWebRelayIdentity: "Relay identity",
4526
+ runToWebLinkHint: "Open this link in a browser on this machine. It carries a single-use token and stops working once used.",
4527
+ runToWebOpen: "Open in browser",
4528
+ runToWebCopy: "Copy link",
4529
+ runToWebUnavailable: "The Desktop Web session could not be started.",
4530
+ runToWebLocalProjectsDisabled: "Local projects are turned off",
4531
+ runToWebLocalProjectsDisabledHint: "Turn local projects on in Settings before launching one to the Web.",
4475
4532
  desktopUpdate: "Desktop update",
4476
4533
  desktopVersionLine: "Workflow Code Desktop {{version}}",
4477
4534
  availableVersionLabel: "Version {{version}}",
@@ -5043,6 +5100,13 @@ var serverWeb = {
5043
5100
  projectKvCopyKey: "Copy Key",
5044
5101
  projectKvCopySummary: "Copy summary",
5045
5102
  projectKvCopySummaryCopied: "Summary copied",
5103
+ projectKvDeleteAction: "Delete entry",
5104
+ projectKvDeleteConfirmConversation: "Conversation: ",
5105
+ projectKvDeleteConfirmDescription: "Delete {{key}}? The entry is removed permanently from project storage and cannot be restored.",
5106
+ projectKvDeleteConfirmKey: "Key: ",
5107
+ projectKvDeleteConfirmScope: "Scope: ",
5108
+ projectKvDeleteConfirmTitle: "Delete KV data",
5109
+ projectKvDeleteFailed: "Failed to delete the KV entry.",
5046
5110
  projectKvDetailLoadingAria: "Loading KV details",
5047
5111
  projectKvDetailLoadingText: "Loading the full value\u2026",
5048
5112
  projectKvDetailTitle: "KV details",
@@ -5133,6 +5197,10 @@ var serverWeb = {
5133
5197
  logsActorTypeWebhook: "Webhook",
5134
5198
  logsClose: "Close",
5135
5199
  logsCountUnknown: "Unknown",
5200
+ logsDeleteAction: "Delete",
5201
+ logsDeleteConfirm: 'Delete the run record "{{title}}"? This cannot be undone.',
5202
+ logsDeleteFailed: "The run record could not be deleted. Try again.",
5203
+ logsDeleteTitle: "Delete run record",
5136
5204
  logsDetailAction: "Detailed logs",
5137
5205
  logsDetailActorLabel: "Actor",
5138
5206
  logsDetailActorType: "Actor type: {{type}}",
@@ -5184,6 +5252,11 @@ var serverWeb = {
5184
5252
  logsHeaderStatus: "Status",
5185
5253
  logsHeaderTarget: "Version",
5186
5254
  logsNoConversation: "No conversation",
5255
+ logsRenameAction: "Rename",
5256
+ logsRenameDescription: "Renames this run record in the list only. Clearing it restores the derived name.",
5257
+ logsRenameFailed: "The run record could not be renamed. Try again.",
5258
+ logsRenameField: "Title",
5259
+ logsRenameTitle: "Rename run record",
5187
5260
  logsReplayAction: "Replay",
5188
5261
  logsReplayLoading: "Loading the replay. If it fails, the error appears in the page notices.",
5189
5262
  logsReplaySheetTitle: "Run replay",
@@ -6339,6 +6412,7 @@ var serverWeb = {
6339
6412
  versionsVersionStatusPreparing: "Preparing",
6340
6413
  versionsTargetMacos: "macOS",
6341
6414
  versionsTargetServer: "Server",
6415
+ versionsTargetWeb: "Web",
6342
6416
  versionsTargetStaticWeb: "Static Web",
6343
6417
  versionsTargetWindows: "Windows",
6344
6418
  versionsTargetNone: "No executor",
@@ -6701,6 +6775,9 @@ var server = {
6701
6775
  conversationEntrypointForbidden: "Conversation projects do not accept entrypointId.",
6702
6776
  targetBuildRequired: "Target is not built successfully.",
6703
6777
  runPreflightChanged: "Workflow run preflight no longer matches the requested target or entrypoint.",
6778
+ runChangeForbidden: "Only project managers or this run's initiator can rename or delete this run.",
6779
+ runDeleteActive: "A run that is still going cannot be deleted. Cancel it first.",
6780
+ runTitleTooLong: "The run title is too long.",
6704
6781
  webhookInputsUndeclared: "Webhook mapping contains inputs that are not declared by the selected entrypoint.",
6705
6782
  archiveInspectFailed: "Failed to inspect tar.gz package.",
6706
6783
  archiveEntryLimit: "Archive contains too many entries.",
@@ -6937,10 +7014,10 @@ var cli = {
6937
7014
  " status",
6938
7015
  " health",
6939
7016
  " pack <workflow> [--path <workflow-dir>] [--output <file.tgz>] [--project-group] [--dependency <alias>=<path>]",
6940
- " 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>]",
7017
+ " upload <workflow> [--path <workflow-dir>] [--file <archive>] [--release-log <text>] [--source-mode bundled|source] [--server-runtime|--no-server-runtime] [--web-runtime|--no-web-runtime] [--desktop-platform macos|windows] [--no-wait] [--create] [--project-group] [--publish-group] [--dependency <alias>=<path>]",
6941
7018
  " preparation <workflow-id> <job-id>",
6942
7019
  " download <workflow> [--target draft|latest|version] [--path <dir>]",
6943
- " publish <workflow> [--release-log <text>] [--source-mode bundled|source] [--server-runtime|--no-server-runtime] [--desktop-platform macos|windows] [--project-group] [--dependency <alias>=<path>]",
7020
+ " publish <workflow> [--release-log <text>] [--source-mode bundled|source] [--server-runtime|--no-server-runtime] [--web-runtime|--no-web-runtime] [--desktop-platform macos|windows] [--project-group] [--dependency <alias>=<path>]",
6944
7021
  " publish --deployment <id>",
6945
7022
  " run <workflow> [...args] [--target draft|latest|version] [--entrypoint <id>]",
6946
7023
  " debug-node <workflow> <node> [...args] [--target draft|latest|version] [--entrypoint <id>]",
@@ -6953,6 +7030,7 @@ var cli = {
6953
7030
  " --server <url> Defaults to WORKFLOW_SERVER_URL, saved CLI auth, or http://localhost:7125",
6954
7031
  " --token <token> Optional manual override. Defaults to WORKFLOW_SERVER_ADMIN_KEY or saved CLI auth API key",
6955
7032
  " --server-runtime / --no-server-runtime Enable or disable Server execution for this release",
7033
+ " --web-runtime / --no-web-runtime Mark this version loadable from the Web entry point and launchable to the Web; requires retained source",
6956
7034
  " --desktop-platform <macos|windows> Add a downloadable Desktop target; may be repeated"
6957
7035
  ].join("\n"),
6958
7036
  invalidLocale: 'Unsupported locale "{{value}}". Expected "zh-CN" or "en".',
@@ -6986,6 +7064,8 @@ var cli = {
6986
7064
  invalidSourceMode: '--source-mode must be "bundled" or "source".',
6987
7065
  workspaceDownloadPlatformUnsupported: "workspace download is only supported on macOS and Windows; current platform is {{platform}}.",
6988
7066
  serverRuntimeOptionsConflict: "--server-runtime and --no-server-runtime cannot be combined.",
7067
+ webRuntimeOptionsConflict: "--web-runtime and --no-web-runtime cannot be combined.",
7068
+ webRuntimeRequiresSource: "--web-runtime cannot be combined with --source-mode bundled; Web releases require source mode.",
6989
7069
  invalidDesktopPlatform: 'Unsupported --desktop-platform "{{platform}}". Expected macos or windows.',
6990
7070
  executionTargetCommandUnsupported: "Execution target options are only supported by upload and publish.",
6991
7071
  desktopPlatformRequiresSource: "--desktop-platform cannot be combined with --source-mode bundled; Desktop releases require source mode.",
@@ -7176,6 +7256,9 @@ var common2 = {
7176
7256
  quickOptionsSummary: "\u5FEB\u6377\u9009\u9879\uFF1A{{summary}}",
7177
7257
  resetQuickOptions: "\u91CD\u7F6E\u4E3A\u9ED8\u8BA4\u503C",
7178
7258
  backToQuickOptions: "\u8FD4\u56DE\u5FEB\u6377\u9009\u9879\uFF1A{{name}}",
7259
+ contextUsageTitle: "\u4E0A\u4E0B\u6587",
7260
+ compactContext: "\u538B\u7F29\u4E0A\u4E0B\u6587",
7261
+ compactContextDescription: "\u7ACB\u5373\u603B\u7ED3\u5F53\u524D\u4F1A\u8BDD\u8F83\u65E9\u7684\u5185\u5BB9\uFF0C\u91CA\u653E\u4E0A\u4E0B\u6587\u7A7A\u95F4\u3002",
7179
7262
  close: "\u5173\u95ED",
7180
7263
  booleanYes: "\u662F",
7181
7264
  booleanNo: "\u5426",
@@ -7535,6 +7618,8 @@ var common2 = {
7535
7618
  closeDeleteConfirm: "\u5173\u95ED\u5220\u9664\u786E\u8BA4",
7536
7619
  deleteRunHistoryConfirm: "\u5220\u9664\u201C{{title}}\u201D\u8FD9\u6761\u672C\u5730\u6267\u884C\u5386\u53F2\uFF1F",
7537
7620
  searchDiagnostics: "\u641C\u7D22\u8BCA\u65AD\u5185\u5BB9",
7621
+ searchContent: "\u641C\u7D22\u5185\u5BB9",
7622
+ searchConversationContent: "\u641C\u7D22\u5BF9\u8BDD\u5185\u5BB9",
7538
7623
  clearDiagnosticSearch: "\u6E05\u7A7A\u641C\u7D22",
7539
7624
  previousMatch: "\u4E0A\u4E00\u4E2A\u5339\u914D",
7540
7625
  nextMatch: "\u4E0B\u4E00\u4E2A\u5339\u914D",
@@ -8198,6 +8283,9 @@ var desktop2 = {
8198
8283
  currentFile: "\u5F53\u524D\u6587\u4EF6",
8199
8284
  currentVersionDetail: "\u5F53\u524D\u7248\u672C {{version}}",
8200
8285
  deleteProject: "\u5220\u9664\u9879\u76EE",
8286
+ deleteRecentTaskConfirm: "\u5220\u9664\u201C{{title}}\u201D\u8FD9\u6761\u8FD0\u884C\u8BB0\u5F55\uFF1F",
8287
+ deleteRecentTaskDetails: "\u53EA\u5220\u9664\u8FD9\u4E00\u6761\u8FD0\u884C\u8BB0\u5F55\uFF0C\u9879\u76EE\u3001\u4F1A\u8BDD\u548C\u5B9A\u65F6\u4EFB\u52A1\u90FD\u4E0D\u4F1A\u88AB\u5220\u9664\u3002",
8288
+ deleteRecentTaskFailedDescription: "\u672A\u80FD\u5220\u9664\u8FD9\u4E00\u6761\u8FD0\u884C\u8BB0\u5F55\uFF0C\u8BF7\u91CD\u8BD5\u3002",
8201
8289
  desktopProduct: "Desktop",
8202
8290
  desktopProductWithVersion: "Desktop {{version}}",
8203
8291
  downloadAndUpdateTo: "\u4E0B\u8F7D\u5E76\u66F4\u65B0\u5230 {{version}}",
@@ -8357,6 +8445,8 @@ var desktop2 = {
8357
8445
  refreshing: "\u5237\u65B0\u4E2D",
8358
8446
  refreshingRecentTasks: "\u6B63\u5728\u5237\u65B0\u6700\u8FD1\u4EFB\u52A1",
8359
8447
  relogin: "\u91CD\u65B0\u767B\u5F55",
8448
+ renameRecentTaskDescription: "\u53EA\u6539\u201C\u6700\u8FD1\u4EFB\u52A1\u201D\u8FD9\u4E00\u884C\u7684\u540D\u79F0\uFF0C\u4F1A\u8BDD\u6807\u9898\u548C\u5B9A\u65F6\u8BA1\u5212\u540D\u4FDD\u6301\u4E0D\u53D8\uFF1B\u7559\u7A7A\u5219\u6062\u590D\u9ED8\u8BA4\u540D\u79F0\u3002",
8449
+ renameRecentTaskFailedDescription: "\u672A\u80FD\u4FDD\u5B58\u8FD9\u4E00\u884C\u7684\u540D\u79F0\uFF0C\u8BF7\u91CD\u8BD5\u3002",
8360
8450
  reset: "\u91CD\u7F6E",
8361
8451
  resetFilter: "\u91CD\u7F6E\u7B5B\u9009",
8362
8452
  restartAndInstall: "\u91CD\u542F\u5E76\u5B89\u88C5",
@@ -8427,7 +8517,11 @@ var desktop2 = {
8427
8517
  cloudAppUploadsMetadataOnly: "\u53EA\u4E0A\u4F20\u540D\u79F0\u3001\u7C7B\u578B\u548C\u5361\u7247\u4FE1\u606F\uFF0C\u4E0D\u4E0A\u4F20\u9879\u76EE\u6E90\u7801\u3002",
8428
8518
  cloudBindingPending: "\u5F85\u5B8C\u6210\u4E91\u7AEF\u7ED1\u5B9A",
8429
8519
  cloudProject: "\u4E91\u7AEF\u9879\u76EE",
8520
+ cloudProjectMissingTitle: "\u4E91\u7AEF\u5E94\u7528\u5C1A\u672A\u521B\u5EFA",
8521
+ cloudProjectMissingDescription: "\u6B64\u9879\u76EE\u58F0\u660E\u628A\u6570\u636E\u5B58\u50A8\u5728 Workflow Server \u4E0A\uFF0C\u4F46 {{serverUrl}} \u4E0A\u8FD8\u6CA1\u6709\u5B83\u7684 UUID\u3002\u521B\u5EFA\u4E91\u7AEF\u5E94\u7528\u540E\u5373\u53EF\u5728\u670D\u52A1\u5668\u4E0A\u8BFB\u5199\u6570\u636E\u3002",
8430
8522
  cloudProjectReadonlyDescription: "\u9879\u76EE\u4FE1\u606F\u7531 Workflow Server \u7BA1\u7406\uFF0C\u5F53\u524D\u5DE5\u4F5C\u533A\u4EC5\u4F9B\u67E5\u770B\u3002",
8523
+ cloudProjectRunBlocked: "\u8BE5\u9879\u76EE\u8FD8\u6CA1\u6709\u5728 {{serverUrl}} \u4E0A\u521B\u5EFA\u4E91\u7AEF\u5E94\u7528\uFF0C\u65E0\u6CD5\u5728\u670D\u52A1\u5668\u8FD0\u884C\u3002\u8BF7\u5148\u521B\u5EFA\u4E91\u7AEF\u5E94\u7528\u540E\u91CD\u8BD5\u3002",
8524
+ cloudProjectSignInRequired: "\u8BF7\u5148\u767B\u5F55 {{serverUrl}}\uFF0C\u518D\u521B\u5EFA\u4E91\u7AEF\u5E94\u7528\u3002",
8431
8525
  cloudUuidPendingBinding: "\u4E91\u7AEF UUID \u5DF2\u751F\u6210\uFF0C\u7B49\u5F85\u5728 {{serverUrl}} \u5B8C\u6210\u672C\u5730\u7ED1\u5B9A\u3002",
8432
8526
  colorAmber: "\u660E\u9EC4",
8433
8527
  colorBlue: "\u84DD\u8272",
@@ -8610,7 +8704,9 @@ var desktop2 = {
8610
8704
  releaseExecutionTargets: "\u53D1\u884C\u76EE\u6807",
8611
8705
  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",
8612
8706
  serverCloudExecution: "Server \u4E91\u7AEF\u6267\u884C",
8613
- serverCloudExecutionDescription: "\u4E3A\u8FD0\u884C\u3001Embed\u3001Webhook \u548C\u8BA1\u5212\u4EFB\u52A1\u51C6\u5907 Server runtime\u3002",
8707
+ serverCloudExecutionDescription: "\u4E3A\u8FD0\u884C\u3001Webhook \u548C\u8BA1\u5212\u4EFB\u52A1\u51C6\u5907 Server runtime\u3002",
8708
+ webExecution: "Web \u6267\u884C",
8709
+ 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",
8614
8710
  kanbanServerExecutionDisabled: "Kanban \u4F7F\u7528\u9759\u6001\u6258\u7BA1\uFF0C\u4E0D\u8FDB\u5165 Server executor\u3002",
8615
8711
  desktopTargetMacos: "macOS \u672C\u5730\u8FD0\u884C",
8616
8712
  desktopTargetWindows: "Windows \u672C\u5730\u8FD0\u884C",
@@ -8729,6 +8825,7 @@ var desktop2 = {
8729
8825
  hideConversationList: "\u9690\u85CF\u4F1A\u8BDD\u5217\u8868",
8730
8826
  hideDiagnostic: "\u6536\u8D77{{label}}",
8731
8827
  hideFileList: "\u9690\u85CF\u6587\u4EF6\u5217\u8868",
8828
+ hideTaskList: "\u9690\u85CF\u4EFB\u52A1\u5217\u8868",
8732
8829
  hideWorkflow: "\u9690\u85CF workflow",
8733
8830
  historyRunResult: "\u5386\u53F2\u6267\u884C\u7ED3\u679C",
8734
8831
  keyColumn: "\u952E",
@@ -8737,7 +8834,14 @@ var desktop2 = {
8737
8834
  knowledgeUnavailableTitle: "\u77E5\u8BC6\u5E93\u6682\u4E0D\u53EF\u7528",
8738
8835
  kvData: "KV \u6570\u636E",
8739
8836
  kvWorkspaceDescription: "\u67E5\u770B\u5F53\u524D\u9879\u76EE\u6765\u6E90\u5BF9\u5E94\u7684\u952E\u503C\u6570\u636E\u3002",
8837
+ kvDelete: "\u5220\u9664",
8838
+ kvDeleteConfirmAction: "\u5220\u9664",
8839
+ kvDeleteConfirmDescription: "\u5220\u9664 {{key}}\uFF1F\u8BE5\u6761\u76EE\u4F1A\u4ECE\u8FD9\u4E2A\u9879\u76EE\u6765\u6E90\u7684\u5B58\u50A8\u4E2D\u6C38\u4E45\u79FB\u9664\uFF0C\u65E0\u6CD5\u6062\u590D\u3002",
8840
+ kvDeleteConfirmTitle: "\u5220\u9664 KV \u6570\u636E",
8841
+ kvDeleteFailed: "\u5220\u9664 KV \u6570\u636E\u5931\u8D25\u3002",
8842
+ kvDeleting: "\u6B63\u5728\u5220\u9664",
8740
8843
  kvDetailTitle: "KV \u8BE6\u60C5",
8844
+ kvDetailValueLabel: "\u503C",
8741
8845
  kvEmptyDescription: "\u5DE5\u4F5C\u6D41\u5199\u5165\u6570\u636E\u540E\u4F1A\u663E\u793A\u5728\u8FD9\u91CC\u3002",
8742
8846
  kvLoadDataFailed: "\u52A0\u8F7D KV \u6570\u636E\u5931\u8D25\u3002",
8743
8847
  kvLoadDataFailedTitle: "\u52A0\u8F7D KV \u6570\u636E\u5931\u8D25",
@@ -8745,6 +8849,11 @@ var desktop2 = {
8745
8849
  kvLoadingAriaLabel: "\u6B63\u5728\u52A0\u8F7D KV \u6570\u636E",
8746
8850
  kvLoadingFullValue: "\u6B63\u5728\u52A0\u8F7D\u5B8C\u6574\u503C",
8747
8851
  kvMatchCount: "{{value}} \u6761\u5339\u914D\u8BB0\u5F55",
8852
+ kvMetaConversationId: "\u4F1A\u8BDD ID",
8853
+ kvMetaProjectId: "\u9879\u76EE ID",
8854
+ kvMetaSize: "\u5927\u5C0F",
8855
+ kvMetaSourceRun: "\u6765\u6E90\u8FD0\u884C",
8856
+ kvMetaUnrecorded: "\u672A\u8BB0\u5F55",
8748
8857
  kvNoMatchTitle: "\u6682\u65E0\u5339\u914D\u7684 KV \u6570\u636E",
8749
8858
  kvScopeFilterAriaLabel: "\u7B5B\u9009 KV \u4F5C\u7528\u57DF",
8750
8859
  kvSearchAriaLabel: "\u641C\u7D22 KV \u6570\u636E",
@@ -9361,6 +9470,34 @@ var desktop2 = {
9361
9470
  loginItemDescription: "\u542F\u7528\u540E\u4EE5\u540E\u53F0\u6A21\u5F0F\u542F\u52A8\uFF0C\u4E0D\u81EA\u52A8\u6253\u5F00\u4E3B\u7A97\u53E3\uFF1B\u53EF\u4ECE\u7CFB\u7EDF\u6258\u76D8\u6062\u590D\u7A97\u53E3\u3002",
9362
9471
  enabled: "\u5DF2\u542F\u7528",
9363
9472
  disabledByDefault: "\u9ED8\u8BA4\u5173\u95ED",
9473
+ localProjectAccess: "\u672C\u5730\u9879\u76EE",
9474
+ localProjectAccessDescription: "\u672C\u5730\u9879\u76EE\u5728\u5F53\u524D\u8BBE\u5907\u4E2D\u521B\u5EFA\u3001\u5BFC\u5165\u6216\u5B89\u88C5\uFF1B\u5728\u4F60\u4E8E\u6B64\u5904\u5F00\u542F\u4E4B\u524D\u4E0D\u4F1A\u663E\u793A\u3002",
9475
+ localProjectAccessAria: "\u5728\u5F53\u524D\u8BBE\u5907\u542F\u7528\u672C\u5730\u9879\u76EE",
9476
+ localProjectAccessEnabled: "\u672C\u5730\u9879\u76EE\u5DF2\u542F\u7528",
9477
+ localProjectAccessDisabled: "\u672C\u5730\u9879\u76EE\u5DF2\u5173\u95ED",
9478
+ localProjectAccessEnableDescription: "\u5F00\u542F\u540E Workflow Code \u4F1A\u91CD\u65B0\u8FD0\u884C\u672C\u673A\u4E0A\u7684\u9879\u76EE\uFF1B\u9700\u8981\u5148\u786E\u8BA4\u98CE\u9669\u624D\u4F1A\u751F\u6548\u3002",
9479
+ localProjectAccessEnableConfirm: "\u542F\u7528\u672C\u5730\u9879\u76EE",
9480
+ localProjectAccessSaveFailed: "\u66F4\u65B0\u672C\u5730\u9879\u76EE\u8BBE\u7F6E\u5931\u8D25\u3002",
9481
+ localProjectAccessRiskExecute: "\u672C\u5730\u9879\u76EE\u4F1A\u5728\u672C\u673A\u76F4\u63A5\u6267\u884C\u81EA\u8EAB\u6E90\u7801\uFF0C\u6765\u6E90\u4E0D\u53EF\u4FE1\u7684\u9879\u76EE\u53EF\u80FD\u5371\u5BB3\u672C\u673A\u3002",
9482
+ localProjectAccessRiskFiles: "\u672C\u5730\u8FD0\u884C\u53EF\u4EE5\u8BFB\u5199\u672C\u673A\u6587\u4EF6\u4E0E\u672C\u5730\u5E94\u7528\u6570\u636E\u5E93\u3002",
9483
+ localProjectAccessRiskUpload: "\u53D1\u5E03\u9879\u76EE\u3001\u6216\u628A\u9879\u76EE\u542F\u52A8\u5230 Web \u65F6\uFF0C\u53EF\u80FD\u628A\u6E90\u7801\u4E0A\u4F20\u5230\u670D\u52A1\u5668\u3002",
9484
+ localProjectAccessRiskDependencies: "\u9879\u76EE\u4F9D\u8D56\u7F3A\u5931\u3001\u8FC7\u671F\u6216\u635F\u574F\u65F6\u4F1A\u76F4\u63A5\u8FD0\u884C\u5931\u8D25\u3002",
9485
+ localProjectAccessRiskSchedules: "\u672C\u5730\u5B9A\u65F6\u4EFB\u52A1\u914D\u7F6E\u540E\u4F1A\u6301\u7EED\u5728\u540E\u53F0\u89E6\u53D1\u3002",
9486
+ 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",
9487
+ 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",
9488
+ runToWebTitle: "\u5728 Web \u4E0A\u8FD0\u884C {{projectName}}",
9489
+ runToWebMenuItem: "\u542F\u52A8\u5230 Web",
9490
+ 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",
9491
+ runToWebStarting: "\u6B63\u5728\u51C6\u5907 Web \u4F1A\u8BDD\u2026",
9492
+ 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",
9493
+ 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",
9494
+ runToWebRelayIdentity: "\u4E2D\u7EE7\u8EAB\u4EFD",
9495
+ 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",
9496
+ runToWebOpen: "\u5728\u6D4F\u89C8\u5668\u4E2D\u6253\u5F00",
9497
+ runToWebCopy: "\u590D\u5236\u94FE\u63A5",
9498
+ runToWebUnavailable: "\u65E0\u6CD5\u542F\u52A8 Desktop Web \u4F1A\u8BDD\u3002",
9499
+ runToWebLocalProjectsDisabled: "\u672C\u5730\u9879\u76EE\u5DF2\u5173\u95ED",
9500
+ runToWebLocalProjectsDisabledHint: "\u8BF7\u5148\u5728\u8BBE\u7F6E\u4E2D\u5F00\u542F\u672C\u5730\u9879\u76EE\uFF0C\u518D\u628A\u9879\u76EE\u542F\u52A8\u5230 Web\u3002",
9364
9501
  desktopUpdate: "Desktop \u66F4\u65B0",
9365
9502
  desktopVersionLine: "Workflow Code Desktop {{version}}",
9366
9503
  availableVersionLabel: "\u7248\u672C {{version}}",
@@ -9932,6 +10069,13 @@ var serverWeb2 = {
9932
10069
  projectKvCopyKey: "\u590D\u5236 Key",
9933
10070
  projectKvCopySummary: "\u590D\u5236\u6458\u8981",
9934
10071
  projectKvCopySummaryCopied: "\u6458\u8981\u5DF2\u590D\u5236",
10072
+ projectKvDeleteAction: "\u5220\u9664\u6761\u76EE",
10073
+ projectKvDeleteConfirmConversation: "\u4F1A\u8BDD\uFF1A",
10074
+ projectKvDeleteConfirmDescription: "\u5220\u9664 {{key}}\uFF1F\u8BE5\u6761\u76EE\u4F1A\u4ECE\u9879\u76EE\u5B58\u50A8\u4E2D\u6C38\u4E45\u79FB\u9664\uFF0C\u65E0\u6CD5\u6062\u590D\u3002",
10075
+ projectKvDeleteConfirmKey: "\u952E\uFF1A",
10076
+ projectKvDeleteConfirmScope: "\u4F5C\u7528\u57DF\uFF1A",
10077
+ projectKvDeleteConfirmTitle: "\u5220\u9664 KV \u6570\u636E",
10078
+ projectKvDeleteFailed: "\u5220\u9664 KV \u6570\u636E\u5931\u8D25\u3002",
9935
10079
  projectKvDetailLoadingAria: "\u6B63\u5728\u52A0\u8F7D KV \u8BE6\u60C5",
9936
10080
  projectKvDetailLoadingText: "\u6B63\u5728\u52A0\u8F7D\u5B8C\u6574\u503C\u2026",
9937
10081
  projectKvDetailTitle: "KV \u8BE6\u60C5",
@@ -10022,6 +10166,10 @@ var serverWeb2 = {
10022
10166
  logsActorTypeWebhook: "Webhook",
10023
10167
  logsClose: "\u5173\u95ED",
10024
10168
  logsCountUnknown: "\u672A\u77E5",
10169
+ logsDeleteAction: "\u5220\u9664",
10170
+ logsDeleteConfirm: "\u5220\u9664\u201C{{title}}\u201D\u8FD9\u6761\u8FD0\u884C\u8BB0\u5F55\uFF1F\u5220\u9664\u540E\u65E0\u6CD5\u6062\u590D\u3002",
10171
+ logsDeleteFailed: "\u5220\u9664\u8FD0\u884C\u8BB0\u5F55\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5\u3002",
10172
+ logsDeleteTitle: "\u5220\u9664\u8FD0\u884C\u8BB0\u5F55",
10025
10173
  logsDetailAction: "\u8BE6\u7EC6\u65E5\u5FD7",
10026
10174
  logsDetailActorLabel: "\u6267\u884C\u7528\u6237",
10027
10175
  logsDetailActorType: "Actor \u7C7B\u578B\uFF1A{{type}}",
@@ -10073,6 +10221,11 @@ var serverWeb2 = {
10073
10221
  logsHeaderStatus: "\u72B6\u6001",
10074
10222
  logsHeaderTarget: "\u7248\u672C",
10075
10223
  logsNoConversation: "\u65E0\u4F1A\u8BDD",
10224
+ logsRenameAction: "\u91CD\u547D\u540D",
10225
+ logsRenameDescription: "\u53EA\u6539\u8FD9\u6761\u8FD0\u884C\u8BB0\u5F55\u5728\u5217\u8868\u91CC\u7684\u540D\u79F0\uFF0C\u7559\u7A7A\u5219\u6062\u590D\u9ED8\u8BA4\u540D\u79F0\u3002",
10226
+ logsRenameFailed: "\u91CD\u547D\u540D\u8FD0\u884C\u8BB0\u5F55\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5\u3002",
10227
+ logsRenameField: "\u6807\u9898",
10228
+ logsRenameTitle: "\u91CD\u547D\u540D\u8FD0\u884C\u8BB0\u5F55",
10076
10229
  logsReplayAction: "\u6267\u884C\u56DE\u653E",
10077
10230
  logsReplayLoading: "\u6B63\u5728\u8BFB\u53D6\u6267\u884C\u56DE\u653E\uFF0C\u5982\u679C\u52A0\u8F7D\u5931\u8D25\uFF0C\u9519\u8BEF\u4F1A\u663E\u793A\u5728\u9875\u9762\u63D0\u793A\u4E2D\u3002",
10078
10231
  logsReplaySheetTitle: "\u6267\u884C\u56DE\u653E",
@@ -11228,6 +11381,7 @@ var serverWeb2 = {
11228
11381
  versionsVersionStatusPreparing: "\u51C6\u5907\u4E2D",
11229
11382
  versionsTargetMacos: "macOS",
11230
11383
  versionsTargetServer: "Server",
11384
+ versionsTargetWeb: "Web",
11231
11385
  versionsTargetStaticWeb: "\u9759\u6001 Web",
11232
11386
  versionsTargetWindows: "Windows",
11233
11387
  versionsTargetNone: "\u65E0\u6267\u884C\u76EE\u6807",
@@ -11590,6 +11744,9 @@ var server2 = {
11590
11744
  conversationEntrypointForbidden: "Conversation \u9879\u76EE\u4E0D\u63A5\u53D7 entrypointId\u3002",
11591
11745
  targetBuildRequired: "\u76EE\u6807\u5C1A\u672A\u6210\u529F\u6784\u5EFA\u3002",
11592
11746
  runPreflightChanged: "Workflow \u8FD0\u884C\u9884\u68C0\u7ED3\u679C\u5DF2\u4E0E\u8BF7\u6C42\u7684\u76EE\u6807\u6216\u5165\u53E3\u4E0D\u4E00\u81F4\u3002",
11747
+ runChangeForbidden: "\u53EA\u6709\u9879\u76EE\u7BA1\u7406\u5458\u6216\u8FD9\u6B21\u8FD0\u884C\u7684\u53D1\u8D77\u8005\u53EF\u4EE5\u6539\u540D\u6216\u5220\u9664\u8FD9\u6761\u8FD0\u884C\u8BB0\u5F55\u3002",
11748
+ runDeleteActive: "\u8FD0\u884C\u4E2D\u7684\u8BB0\u5F55\u4E0D\u80FD\u5220\u9664\uFF0C\u8BF7\u5148\u53D6\u6D88\u8FD9\u6B21\u8FD0\u884C\u3002",
11749
+ runTitleTooLong: "\u8FD0\u884C\u6807\u9898\u8FC7\u957F\u3002",
11593
11750
  webhookInputsUndeclared: "Webhook \u6620\u5C04\u5305\u542B\u6240\u9009\u5165\u53E3\u672A\u58F0\u660E\u7684\u8F93\u5165\u3002",
11594
11751
  archiveInspectFailed: "\u68C0\u67E5 tar.gz \u5305\u5931\u8D25\u3002",
11595
11752
  archiveEntryLimit: "\u5F52\u6863\u5305\u542B\u7684\u6761\u76EE\u8FC7\u591A\u3002",
@@ -11826,10 +11983,10 @@ var cli2 = {
11826
11983
  " status",
11827
11984
  " health",
11828
11985
  " pack <workflow> [--path <workflow-dir>] [--output <file.tgz>] [--project-group] [--dependency <alias>=<path>]",
11829
- " 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>]",
11986
+ " upload <workflow> [--path <workflow-dir>] [--file <archive>] [--release-log <text>] [--source-mode bundled|source] [--server-runtime|--no-server-runtime] [--web-runtime|--no-web-runtime] [--desktop-platform macos|windows] [--no-wait] [--create] [--project-group] [--publish-group] [--dependency <alias>=<path>]",
11830
11987
  " preparation <workflow-id> <job-id>",
11831
11988
  " download <workflow> [--target draft|latest|version] [--path <dir>]",
11832
- " publish <workflow> [--release-log <text>] [--source-mode bundled|source] [--server-runtime|--no-server-runtime] [--desktop-platform macos|windows] [--project-group] [--dependency <alias>=<path>]",
11989
+ " publish <workflow> [--release-log <text>] [--source-mode bundled|source] [--server-runtime|--no-server-runtime] [--web-runtime|--no-web-runtime] [--desktop-platform macos|windows] [--project-group] [--dependency <alias>=<path>]",
11833
11990
  " publish --deployment <id>",
11834
11991
  " run <workflow> [...args] [--target draft|latest|version] [--entrypoint <id>]",
11835
11992
  " debug-node <workflow> <node> [...args] [--target draft|latest|version] [--entrypoint <id>]",
@@ -11842,6 +11999,7 @@ var cli2 = {
11842
11999
  " --server <url> \u9ED8\u8BA4\u8BFB\u53D6 WORKFLOW_SERVER_URL\u3001\u5DF2\u4FDD\u5B58\u7684 CLI \u8BA4\u8BC1\u6216 http://localhost:7125",
11843
12000
  " --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",
11844
12001
  " --server-runtime / --no-server-runtime \u4E3A\u672C\u6B21\u53D1\u884C\u542F\u7528\u6216\u5173\u95ED Server \u6267\u884C",
12002
+ " --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",
11845
12003
  " --desktop-platform <macos|windows> \u589E\u52A0\u53EF\u4E0B\u8F7D\u7684 Desktop \u76EE\u6807\uFF0C\u53EF\u91CD\u590D\u6307\u5B9A"
11846
12004
  ].join("\n"),
11847
12005
  invalidLocale: "\u4E0D\u652F\u6301\u8BED\u8A00 {{value}}\uFF0C\u53EA\u80FD\u4F7F\u7528 zh-CN \u6216 en\u3002",
@@ -11875,6 +12033,8 @@ var cli2 = {
11875
12033
  invalidSourceMode: "--source-mode \u53EA\u80FD\u662F bundled \u6216 source\u3002",
11876
12034
  workspaceDownloadPlatformUnsupported: "workspace download \u4EC5\u652F\u6301 macOS \u548C Windows\uFF0C\u5F53\u524D\u5E73\u53F0\u4E3A {{platform}}\u3002",
11877
12035
  serverRuntimeOptionsConflict: "--server-runtime \u4E0E --no-server-runtime \u4E0D\u80FD\u540C\u65F6\u4F7F\u7528\u3002",
12036
+ webRuntimeOptionsConflict: "--web-runtime \u4E0E --no-web-runtime \u4E0D\u80FD\u540C\u65F6\u4F7F\u7528\u3002",
12037
+ webRuntimeRequiresSource: "--web-runtime \u4E0D\u80FD\u4E0E --source-mode bundled \u540C\u65F6\u4F7F\u7528\uFF1BWeb \u53D1\u884C\u5FC5\u987B\u4FDD\u7559\u6E90\u7801\u3002",
11878
12038
  invalidDesktopPlatform: "\u4E0D\u652F\u6301 --desktop-platform {{platform}}\uFF0C\u53EA\u80FD\u4F7F\u7528 macos \u6216 windows\u3002",
11879
12039
  executionTargetCommandUnsupported: "\u53D1\u884C\u76EE\u6807\u53C2\u6570\u4EC5\u652F\u6301 upload \u548C publish \u547D\u4EE4\u3002",
11880
12040
  desktopPlatformRequiresSource: "--desktop-platform \u4E0D\u80FD\u4E0E --source-mode bundled \u540C\u65F6\u4F7F\u7528\uFF1BDesktop \u53D1\u884C\u5FC5\u987B\u4FDD\u7559\u6E90\u7801\u3002",
@@ -4,7 +4,7 @@ import {
4
4
  initI18n,
5
5
  isSupportedLocale,
6
6
  normalizeLocale
7
- } from "./chunk-VVM2HB7H.js";
7
+ } from "./chunk-2KI5OU7T.js";
8
8
 
9
9
  // src/locale.ts
10
10
  import { WORKFLOW_RUNTIME_LOCALE_ENV } from "workflow-code";
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  prepareCliInvocation
4
- } from "./chunk-JFKLYN5N.js";
4
+ } from "./chunk-KDLZJHJG.js";
5
5
  import {
6
6
  i18n,
7
7
  translateWorkflowCodeError
8
- } from "./chunk-VVM2HB7H.js";
8
+ } from "./chunk-2KI5OU7T.js";
9
9
  import "./chunk-NSPRIPOP.js";
10
10
 
11
11
  // src/index.ts
@@ -23,12 +23,12 @@ async function main(argv = process.argv.slice(2)) {
23
23
  const prepared = prepareCliInvocation(argv);
24
24
  argv = prepared.argv;
25
25
  if (argv[0] === "workspace") {
26
- const workspaceCli = await import("./workspace-TSJW4LXW.js");
26
+ const workspaceCli = await import("./workspace-27NUCQTO.js");
27
27
  await workspaceCli.main(argv.slice(1), { localeInitialized: true });
28
28
  return typeof process.exitCode === "number" ? process.exitCode : 0;
29
29
  }
30
30
  if (argv[0] === "mcp") {
31
- const mcpCli = await import("./mcp-2FQRHZMR.js");
31
+ const mcpCli = await import("./mcp-FPF56FBT.js");
32
32
  return mcpCli.main(argv.slice(1));
33
33
  }
34
34
  if (argv.length === 0 || argv[0] === "help" || argv[0] === "--help" || argv[0] === "-h") {
@@ -38,7 +38,7 @@ async function main(argv = process.argv.slice(2)) {
38
38
  }
39
39
  const { register } = await import("tsx/esm/api");
40
40
  register();
41
- const localCli = await import("./local-LLZVKUQW.js");
41
+ const localCli = await import("./local-F2QXHFIP.js");
42
42
  return localCli.main(argv, { localeInitialized: true });
43
43
  }
44
44
  function formatHelp() {
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  prepareCliInvocation
4
- } from "./chunk-JFKLYN5N.js";
4
+ } from "./chunk-KDLZJHJG.js";
5
5
  import {
6
6
  createCliRelatedProjectRuntime,
7
7
  parseCliRelatedProjectSpec
@@ -12,7 +12,7 @@ import {
12
12
  import {
13
13
  i18n,
14
14
  translateWorkflowCodeError
15
- } from "./chunk-VVM2HB7H.js";
15
+ } from "./chunk-2KI5OU7T.js";
16
16
  import {
17
17
  __commonJS,
18
18
  __toESM
@@ -13,7 +13,7 @@ import {
13
13
  } from "./chunk-27OW6OJ3.js";
14
14
  import {
15
15
  i18n
16
- } from "./chunk-VVM2HB7H.js";
16
+ } from "./chunk-2KI5OU7T.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-JFKLYN5N.js";
11
+ } from "./chunk-KDLZJHJG.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-VVM2HB7H.js";
21
+ } from "./chunk-2KI5OU7T.js";
22
22
  import {
23
23
  __commonJS,
24
24
  __toESM
@@ -1970,6 +1970,7 @@ async function uploadProjectGroupPackage(options) {
1970
1970
  const query = new URLSearchParams({ fileName: archiveName });
1971
1971
  if (options.executionTargets !== void 0) {
1972
1972
  query.set("serverRuntime", String(options.executionTargets.server));
1973
+ query.set("webRuntime", String(options.executionTargets.web));
1973
1974
  for (const platform of options.executionTargets.desktop) {
1974
1975
  query.append("desktopPlatform", platform);
1975
1976
  }
@@ -2118,6 +2119,7 @@ async function uploadPackage(options) {
2118
2119
  const query = new URLSearchParams({ fileName: archiveName });
2119
2120
  if (options.executionTargets !== void 0) {
2120
2121
  query.set("serverRuntime", String(options.executionTargets.server));
2122
+ query.set("webRuntime", String(options.executionTargets.web));
2121
2123
  for (const platform of options.executionTargets.desktop) {
2122
2124
  query.append("desktopPlatform", platform);
2123
2125
  }
@@ -2381,6 +2383,18 @@ function parseArgs(argv) {
2381
2383
  }
2382
2384
  options.serverRuntime = false;
2383
2385
  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;
2384
2398
  case "--desktop-platform": {
2385
2399
  const value = requireValue(rest, index += 1, "--desktop-platform");
2386
2400
  if (!isWorkflowDesktopExecutionPlatform(value)) {
@@ -2437,13 +2451,16 @@ function parseArgs(argv) {
2437
2451
  if (options.projectGroup === true && command !== "pack" && command !== "upload" && command !== "publish") {
2438
2452
  throw new Error(i18n.t("projectGroupCommandUnsupported", { ns: "cli" }));
2439
2453
  }
2440
- const hasExecutionTargetOptions = options.serverRuntime !== void 0 || options.desktopPlatforms.length > 0;
2454
+ const hasExecutionTargetOptions = options.serverRuntime !== void 0 || options.webRuntime !== void 0 || options.desktopPlatforms.length > 0;
2441
2455
  if (hasExecutionTargetOptions && command !== "upload" && command !== "publish") {
2442
2456
  throw new Error(i18n.t("executionTargetCommandUnsupported", { ns: "cli" }));
2443
2457
  }
2444
2458
  if (options.sourceMode === "bundled" && options.desktopPlatforms.length > 0) {
2445
2459
  throw new Error(i18n.t("desktopPlatformRequiresSource", { ns: "cli" }));
2446
2460
  }
2461
+ if (options.sourceMode === "bundled" && options.webRuntime === true) {
2462
+ throw new Error(i18n.t("webRuntimeRequiresSource", { ns: "cli" }));
2463
+ }
2447
2464
  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)) {
2448
2465
  throw new Error(i18n.t("deploymentOptionsConflict", { ns: "cli" }));
2449
2466
  }
@@ -2454,14 +2471,17 @@ function parseArgs(argv) {
2454
2471
  };
2455
2472
  }
2456
2473
  function resolveRequestedExecutionTargets(options, projectType) {
2457
- if (options.serverRuntime === void 0 && options.desktopPlatforms.length === 0) return void 0;
2474
+ if (options.serverRuntime === void 0 && options.webRuntime === void 0 && options.desktopPlatforms.length === 0) {
2475
+ return void 0;
2476
+ }
2458
2477
  return {
2459
2478
  server: options.serverRuntime ?? projectType !== "kanban",
2479
+ web: options.webRuntime ?? false,
2460
2480
  desktop: [...options.desktopPlatforms]
2461
2481
  };
2462
2482
  }
2463
2483
  function resolveRequestedSourceMode(options, executionTargets) {
2464
- return (executionTargets?.desktop.length ?? 0) > 0 ? "source" : options.sourceMode;
2484
+ return (executionTargets?.desktop.length ?? 0) > 0 || executionTargets?.web === true ? "source" : options.sourceMode;
2465
2485
  }
2466
2486
  function requireLogin(parsed) {
2467
2487
  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-20260913002",
3
+ "version": "0.2.4-20260917001",
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-20260913001"
23
+ "workflow-code": "0.2.4-20260917001"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@types/node": "^25.6.0",
@@ -29,17 +29,17 @@
29
29
  "tsup": "^8.5.1",
30
30
  "typescript": "^6.0.3",
31
31
  "vitest": "^4.1.7",
32
- "workflow-code": "0.2.4-20260913001",
32
+ "workflow-code": "0.2.4-20260917001",
33
33
  "@workflow-code/auth-config": "0.1.0",
34
- "@workflow-code/openai-responses": "0.1.0",
34
+ "@workflow-code/execution-targets": "0.1.0",
35
35
  "@workflow-code/i18n": "0.1.0",
36
+ "@workflow-code/openai-responses": "0.1.0",
36
37
  "@workflow-code/project-dependencies": "0.1.0",
37
- "@workflow-code/execution-targets": "0.1.0",
38
38
  "@workflow-code/project-info": "0.1.0",
39
39
  "@workflow-code/project-upload": "0.1.0",
40
40
  "@workflow-code/runtime-compatibility": "0.1.0",
41
- "@workflow-code/workflow-mcp": "0.1.0",
42
- "@workflow-code/workflow-ids": "0.1.0"
41
+ "@workflow-code/workflow-ids": "0.1.0",
42
+ "@workflow-code/workflow-mcp": "0.1.0"
43
43
  },
44
44
  "scripts": {
45
45
  "bootstrap": "node scripts/bootstrap.mjs",
@@ -50,7 +50,7 @@
50
50
  "typecheck": "tsc --noEmit",
51
51
  "test": "pnpm build && vitest run",
52
52
  "coverage": "pnpm build && vitest run --coverage",
53
- "test:scripts": "node --test scripts/__tests__/*.test.mjs",
53
+ "test:scripts": "node --test --test-reporter=spec scripts/__tests__/*.test.mjs",
54
54
  "release:prepare": "node scripts/prepare-release.mjs"
55
55
  }
56
56
  }