@allbluecn/web-app 0.23.2 → 0.23.4

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.
Files changed (57) hide show
  1. package/package.json +1 -1
  2. package/src/components/ai/global-harness-sidebar/__tests__/global-ai-prompts.test.ts +2 -0
  3. package/src/components/desktop/__tests__/desktop-state-listener.test.tsx +183 -0
  4. package/src/components/desktop/__tests__/sync-indicator.test.tsx +130 -0
  5. package/src/components/desktop/cloud-login.tsx +108 -6
  6. package/src/components/desktop/desktop-state-listener.tsx +76 -0
  7. package/src/components/desktop/shell-widgets.tsx +12 -5
  8. package/src/components/desktop/sync-indicator.tsx +62 -13
  9. package/src/components/desktop-agent/__tests__/agent-chat.test.tsx +194 -0
  10. package/src/components/desktop-agent/__tests__/agent-tool-card.test.tsx +138 -0
  11. package/src/components/desktop-agent/__tests__/agent-workspace-card.test.tsx +189 -0
  12. package/src/components/desktop-agent/agent-chat.tsx +221 -0
  13. package/src/components/desktop-agent/agent-tool-card.tsx +185 -0
  14. package/src/components/desktop-agent/agent-workspace-card.tsx +176 -0
  15. package/src/components/layout/sidebar-03/__tests__/user-menu-anonymous.test.tsx +4 -0
  16. package/src/components/layout/sidebar-03/app-sidebar.tsx +9 -2
  17. package/src/components/layout/sidebar-03/user-menu.tsx +63 -0
  18. package/src/config/sidebar-routes.tsx +14 -1
  19. package/src/lib/__tests__/session.test.ts +95 -0
  20. package/src/lib/auth/auth.config.ts +13 -0
  21. package/src/lib/changelog/sdk-versions.ts +1 -1
  22. package/src/lib/desktop-agent/__tests__/connection.test.ts +223 -0
  23. package/src/lib/desktop-agent/__tests__/errors.test.ts +43 -0
  24. package/src/lib/desktop-agent/__tests__/tool-result.test.ts +163 -0
  25. package/src/lib/desktop-agent/__tests__/use-desktop-agent-presence.test.tsx +181 -0
  26. package/src/lib/desktop-agent/availability.ts +39 -0
  27. package/src/lib/desktop-agent/connection.ts +72 -0
  28. package/src/lib/desktop-agent/errors.ts +21 -0
  29. package/src/lib/desktop-agent/tool-result.ts +170 -0
  30. package/src/lib/desktop-agent/use-desktop-agent-presence.ts +64 -0
  31. package/src/lib/desktop-bridge-types.ts +58 -1
  32. package/src/lib/hotkeys/__tests__/registry.test.ts +11 -4
  33. package/src/lib/hotkeys/registry.ts +9 -1
  34. package/src/lib/queries/README.md +1 -0
  35. package/src/lib/queries/__tests__/desktop-agent-queries.test.ts +80 -0
  36. package/src/lib/queries/desktop-agent.ts +25 -0
  37. package/src/lib/session.ts +15 -1
  38. package/src/paraglide/messages/_index.js +820 -0
  39. package/src/paraglide/messages/en.js +260 -0
  40. package/src/paraglide/messages/zh.js +260 -0
  41. package/src/routeTree.gen.ts +23 -0
  42. package/src/routes/-tests/agent-gate.test.ts +45 -0
  43. package/src/routes/_nav/agent/route.lazy.tsx +63 -0
  44. package/src/routes/_nav/agent/route.tsx +21 -0
  45. package/src/routes/api/sync/account-status.ts +5 -21
  46. package/src/server/__tests__/exchange-remote-token.test.ts +113 -0
  47. package/src/server/__tests__/remote-auth.test.ts +131 -1
  48. package/src/server/desktop-bootstrap.ts +19 -3
  49. package/src/server/desktop-session-merge.ts +51 -0
  50. package/src/server/remote-auth.ts +61 -3
  51. package/src/server/serverFns/auth/session.ts +28 -28
  52. package/src/server/serverFns/sync/transfer.ts +168 -0
  53. package/src/server/serverfn-public-allowlist.ts +4 -0
  54. package/src/server/sync/__tests__/ownership-transfer.test.ts +896 -0
  55. package/src/server/sync/account-status.ts +36 -0
  56. package/src/server/sync/ownership-transfer.ts +291 -0
  57. package/src/server/sync/saas-profile.ts +70 -0
@@ -13,6 +13,46 @@
13
13
  /** @typedef {{}} Agent_Createfailed1Inputs */
14
14
  /** @typedef {{}} Agent_Deleteconv1Inputs */
15
15
  /** @typedef {{}} Agent_Deleteconvfailed2Inputs */
16
+ /** @typedef {{ path: NonNullable<unknown> }} Agent_Desktop_Chatcwd1Inputs */
17
+ /** @typedef {{}} Agent_Desktop_Chatemptyhint2Inputs */
18
+ /** @typedef {{}} Agent_Desktop_Chatemptytitle2Inputs */
19
+ /** @typedef {{}} Agent_Desktop_Chatindependenthint2Inputs */
20
+ /** @typedef {{}} Agent_Desktop_Chatnoworkspace2Inputs */
21
+ /** @typedef {{}} Agent_Desktop_Chatplaceholder1Inputs */
22
+ /** @typedef {{}} Agent_Desktop_Chatsend1Inputs */
23
+ /** @typedef {{}} Agent_Desktop_Chatstop1Inputs */
24
+ /** @typedef {{}} Agent_Desktop_Chatthinking1Inputs */
25
+ /** @typedef {{}} Agent_Desktop_Errorconnection1Inputs */
26
+ /** @typedef {{}} Agent_Desktop_Errorforbidden1Inputs */
27
+ /** @typedef {{ message: NonNullable<unknown> }} Agent_Desktop_Errorgeneric1Inputs */
28
+ /** @typedef {{}} Agent_Desktop_Errorunauthorized1Inputs */
29
+ /** @typedef {{}} Agent_Desktop_Errorunavailable1Inputs */
30
+ /** @typedef {{}} Agent_Desktop_Pagedescription1Inputs */
31
+ /** @typedef {{}} Agent_Desktop_TitleInputs */
32
+ /** @typedef {{ count: NonNullable<unknown> }} Agent_Desktop_Toolcountfiles2Inputs */
33
+ /** @typedef {{ count: NonNullable<unknown> }} Agent_Desktop_Toolcounthits2Inputs */
34
+ /** @typedef {{ count: NonNullable<unknown> }} Agent_Desktop_Toolcountlines2Inputs */
35
+ /** @typedef {{}} Agent_Desktop_Toolemptydir2Inputs */
36
+ /** @typedef {{}} Agent_Desktop_Toolerror1Inputs */
37
+ /** @typedef {{ target: NonNullable<unknown> }} Agent_Desktop_Toolfind1Inputs */
38
+ /** @typedef {{ target: NonNullable<unknown> }} Agent_Desktop_Toolgrep1Inputs */
39
+ /** @typedef {{ target: NonNullable<unknown> }} Agent_Desktop_Toolls1Inputs */
40
+ /** @typedef {{ count: NonNullable<unknown> }} Agent_Desktop_Toolmore1Inputs */
41
+ /** @typedef {{}} Agent_Desktop_Toolnomatches2Inputs */
42
+ /** @typedef {{ name: NonNullable<unknown> }} Agent_Desktop_Toolother1Inputs */
43
+ /** @typedef {{ target: NonNullable<unknown> }} Agent_Desktop_Toolread1Inputs */
44
+ /** @typedef {{}} Agent_Desktop_Toolrunning1Inputs */
45
+ /** @typedef {{}} Agent_Desktop_Tooltruncated1Inputs */
46
+ /** @typedef {{}} Agent_Desktop_Workspaceadd1Inputs */
47
+ /** @typedef {{}} Agent_Desktop_Workspaceaddfailed2Inputs */
48
+ /** @typedef {{}} Agent_Desktop_Workspacedescription1Inputs */
49
+ /** @typedef {{}} Agent_Desktop_Workspaceempty1Inputs */
50
+ /** @typedef {{}} Agent_Desktop_Workspaceemptyhint2Inputs */
51
+ /** @typedef {{}} Agent_Desktop_Workspaceloadfailed2Inputs */
52
+ /** @typedef {{}} Agent_Desktop_Workspaceremove1Inputs */
53
+ /** @typedef {{}} Agent_Desktop_Workspaceremovefailed2Inputs */
54
+ /** @typedef {{}} Agent_Desktop_Workspacetitle1Inputs */
55
+ /** @typedef {{}} Agent_Desktop_Workspaceunsupported1Inputs */
16
56
  /** @typedef {{}} Agent_Emptyexample1Inputs */
17
57
  /** @typedef {{}} Agent_Emptyhint1Inputs */
18
58
  /** @typedef {{}} Agent_Generatefailed1Inputs */
@@ -1799,6 +1839,7 @@
1799
1839
  /** @typedef {{}} Common_Hotkey_Cat_EditInputs */
1800
1840
  /** @typedef {{}} Common_Hotkey_Cat_NavigationInputs */
1801
1841
  /** @typedef {{}} Common_Hotkey_Cat_ViewInputs */
1842
+ /** @typedef {{}} Common_Hotkey_Desc_Agentabort1Inputs */
1802
1843
  /** @typedef {{}} Common_Hotkey_Desc_Chatnext1Inputs */
1803
1844
  /** @typedef {{}} Common_Hotkey_Desc_Chatprev1Inputs */
1804
1845
  /** @typedef {{}} Common_Hotkey_Desc_Closepanel1Inputs */
@@ -1977,6 +2018,7 @@
1977
2018
  /** @typedef {{}} Dashboard_Stats_Completedtoday1Inputs */
1978
2019
  /** @typedef {{}} Dashboard_Stats_Prdtotal1Inputs */
1979
2020
  /** @typedef {{}} Dashboard_Stats_Unreadcomments1Inputs */
2021
+ /** @typedef {{}} Desktop_Cloud_Exchange_FailedInputs */
1980
2022
  /** @typedef {{}} Desktop_Connection_CancelInputs */
1981
2023
  /** @typedef {{}} Desktop_Connection_ConfirmInputs */
1982
2024
  /** @typedef {{}} Desktop_Connection_DescriptionInputs */
@@ -2014,6 +2056,9 @@
2014
2056
  /** @typedef {{}} Desktop_Onboarding_Selfhosted_Urllabel2Inputs */
2015
2057
  /** @typedef {{}} Desktop_Onboarding_SubtitleInputs */
2016
2058
  /** @typedef {{}} Desktop_Onboarding_TitleInputs */
2059
+ /** @typedef {{}} Desktop_State_CloudInputs */
2060
+ /** @typedef {{}} Desktop_State_GuestInputs */
2061
+ /** @typedef {{}} Desktop_State_TransferringInputs */
2017
2062
  /** @typedef {{}} Detail_Contentplaceholder1Inputs */
2018
2063
  /** @typedef {{}} Detail_Deletedescription1Inputs */
2019
2064
  /** @typedef {{}} Detail_Deletetitle1Inputs */
@@ -4907,6 +4952,13 @@
4907
4952
  /** @typedef {{}} Stylefield_Selectcolor2Inputs */
4908
4953
  /** @typedef {{}} Stylefield_Width1Inputs */
4909
4954
  /** @typedef {{}} Summary_MonthsInputs */
4955
+ /** @typedef {{}} Sync_Bind_FailedInputs */
4956
+ /** @typedef {{}} Sync_Bind_In_ProgressInputs */
4957
+ /** @typedef {{}} Sync_Bind_NonemptyInputs */
4958
+ /** @typedef {{}} Sync_Bind_Probe_UnreachableInputs */
4959
+ /** @typedef {{}} Sync_Bind_Shell_UnsupportedInputs */
4960
+ /** @typedef {{}} Sync_Logout_FailedInputs */
4961
+ /** @typedef {{}} Sync_Logout_In_ProgressInputs */
4910
4962
  /** @typedef {{}} Taginput_Add1Inputs */
4911
4963
  /** @typedef {{}} Taginput_Placeholder1Inputs */
4912
4964
  /** @typedef {{}} Taginput_Remove1Inputs */
@@ -5713,6 +5765,166 @@ export const agent_deleteconvfailed2 = /** @type {(inputs: Agent_Deleteconvfaile
5713
5765
  return /** @type {LocalizedString} */ (`Failed to delete conversation`)
5714
5766
  };
5715
5767
 
5768
+ export const agent_desktop_chatcwd1 = /** @type {(inputs: Agent_Desktop_Chatcwd1Inputs) => LocalizedString} */ (i) => {
5769
+ return /** @type {LocalizedString} */ (`Folder: ${i?.path}`)
5770
+ };
5771
+
5772
+ export const agent_desktop_chatemptyhint2 = /** @type {(inputs: Agent_Desktop_Chatemptyhint2Inputs) => LocalizedString} */ () => {
5773
+ return /** @type {LocalizedString} */ (`For example: summarize this project's structure, or find all TODOs`)
5774
+ };
5775
+
5776
+ export const agent_desktop_chatemptytitle2 = /** @type {(inputs: Agent_Desktop_Chatemptytitle2Inputs) => LocalizedString} */ () => {
5777
+ return /** @type {LocalizedString} */ (`Ask about your local files`)
5778
+ };
5779
+
5780
+ export const agent_desktop_chatindependenthint2 = /** @type {(inputs: Agent_Desktop_Chatindependenthint2Inputs) => LocalizedString} */ () => {
5781
+ return /** @type {LocalizedString} */ (`Each question runs independently; earlier turns are not remembered`)
5782
+ };
5783
+
5784
+ export const agent_desktop_chatnoworkspace2 = /** @type {(inputs: Agent_Desktop_Chatnoworkspace2Inputs) => LocalizedString} */ () => {
5785
+ return /** @type {LocalizedString} */ (`Add and select an authorized folder first`)
5786
+ };
5787
+
5788
+ export const agent_desktop_chatplaceholder1 = /** @type {(inputs: Agent_Desktop_Chatplaceholder1Inputs) => LocalizedString} */ () => {
5789
+ return /** @type {LocalizedString} */ (`Ask about files in this folder. Enter to send, Shift+Enter for a new line`)
5790
+ };
5791
+
5792
+ export const agent_desktop_chatsend1 = /** @type {(inputs: Agent_Desktop_Chatsend1Inputs) => LocalizedString} */ () => {
5793
+ return /** @type {LocalizedString} */ (`Send`)
5794
+ };
5795
+
5796
+ export const agent_desktop_chatstop1 = /** @type {(inputs: Agent_Desktop_Chatstop1Inputs) => LocalizedString} */ () => {
5797
+ return /** @type {LocalizedString} */ (`Stop`)
5798
+ };
5799
+
5800
+ export const agent_desktop_chatthinking1 = /** @type {(inputs: Agent_Desktop_Chatthinking1Inputs) => LocalizedString} */ () => {
5801
+ return /** @type {LocalizedString} */ (`Searching and thinking...`)
5802
+ };
5803
+
5804
+ export const agent_desktop_errorconnection1 = /** @type {(inputs: Agent_Desktop_Errorconnection1Inputs) => LocalizedString} */ () => {
5805
+ return /** @type {LocalizedString} */ (`Cannot connect to the local agent service`)
5806
+ };
5807
+
5808
+ export const agent_desktop_errorforbidden1 = /** @type {(inputs: Agent_Desktop_Errorforbidden1Inputs) => LocalizedString} */ () => {
5809
+ return /** @type {LocalizedString} */ (`Folder not authorized or request origin not allowed`)
5810
+ };
5811
+
5812
+ export const agent_desktop_errorgeneric1 = /** @type {(inputs: Agent_Desktop_Errorgeneric1Inputs) => LocalizedString} */ (i) => {
5813
+ return /** @type {LocalizedString} */ (`Run failed: ${i?.message}`)
5814
+ };
5815
+
5816
+ export const agent_desktop_errorunauthorized1 = /** @type {(inputs: Agent_Desktop_Errorunauthorized1Inputs) => LocalizedString} */ () => {
5817
+ return /** @type {LocalizedString} */ (`Agent access token expired (the service may have restarted). Please retry`)
5818
+ };
5819
+
5820
+ export const agent_desktop_errorunavailable1 = /** @type {(inputs: Agent_Desktop_Errorunavailable1Inputs) => LocalizedString} */ () => {
5821
+ return /** @type {LocalizedString} */ (`Local agent service is not ready. Try again later or restart the app`)
5822
+ };
5823
+
5824
+ export const agent_desktop_pagedescription1 = /** @type {(inputs: Agent_Desktop_Pagedescription1Inputs) => LocalizedString} */ () => {
5825
+ return /** @type {LocalizedString} */ (`Authorize a local folder and let AI search, read, and summarize its files (read-only)`)
5826
+ };
5827
+
5828
+ export const agent_desktop_title = /** @type {(inputs: Agent_Desktop_TitleInputs) => LocalizedString} */ () => {
5829
+ return /** @type {LocalizedString} */ (`Local File Assistant`)
5830
+ };
5831
+
5832
+ export const agent_desktop_toolcountfiles2 = /** @type {(inputs: Agent_Desktop_Toolcountfiles2Inputs) => LocalizedString} */ (i) => {
5833
+ return /** @type {LocalizedString} */ (`${i?.count} items`)
5834
+ };
5835
+
5836
+ export const agent_desktop_toolcounthits2 = /** @type {(inputs: Agent_Desktop_Toolcounthits2Inputs) => LocalizedString} */ (i) => {
5837
+ return /** @type {LocalizedString} */ (`${i?.count} matches`)
5838
+ };
5839
+
5840
+ export const agent_desktop_toolcountlines2 = /** @type {(inputs: Agent_Desktop_Toolcountlines2Inputs) => LocalizedString} */ (i) => {
5841
+ return /** @type {LocalizedString} */ (`${i?.count} lines`)
5842
+ };
5843
+
5844
+ export const agent_desktop_toolemptydir2 = /** @type {(inputs: Agent_Desktop_Toolemptydir2Inputs) => LocalizedString} */ () => {
5845
+ return /** @type {LocalizedString} */ (`Empty folder`)
5846
+ };
5847
+
5848
+ export const agent_desktop_toolerror1 = /** @type {(inputs: Agent_Desktop_Toolerror1Inputs) => LocalizedString} */ () => {
5849
+ return /** @type {LocalizedString} */ (`Failed`)
5850
+ };
5851
+
5852
+ export const agent_desktop_toolfind1 = /** @type {(inputs: Agent_Desktop_Toolfind1Inputs) => LocalizedString} */ (i) => {
5853
+ return /** @type {LocalizedString} */ (`Find ${i?.target}`)
5854
+ };
5855
+
5856
+ export const agent_desktop_toolgrep1 = /** @type {(inputs: Agent_Desktop_Toolgrep1Inputs) => LocalizedString} */ (i) => {
5857
+ return /** @type {LocalizedString} */ (`Search ${i?.target}`)
5858
+ };
5859
+
5860
+ export const agent_desktop_toolls1 = /** @type {(inputs: Agent_Desktop_Toolls1Inputs) => LocalizedString} */ (i) => {
5861
+ return /** @type {LocalizedString} */ (`List ${i?.target}`)
5862
+ };
5863
+
5864
+ export const agent_desktop_toolmore1 = /** @type {(inputs: Agent_Desktop_Toolmore1Inputs) => LocalizedString} */ (i) => {
5865
+ return /** @type {LocalizedString} */ (`${i?.count} more not shown`)
5866
+ };
5867
+
5868
+ export const agent_desktop_toolnomatches2 = /** @type {(inputs: Agent_Desktop_Toolnomatches2Inputs) => LocalizedString} */ () => {
5869
+ return /** @type {LocalizedString} */ (`No matches`)
5870
+ };
5871
+
5872
+ export const agent_desktop_toolother1 = /** @type {(inputs: Agent_Desktop_Toolother1Inputs) => LocalizedString} */ (i) => {
5873
+ return /** @type {LocalizedString} */ (`Call ${i?.name}`)
5874
+ };
5875
+
5876
+ export const agent_desktop_toolread1 = /** @type {(inputs: Agent_Desktop_Toolread1Inputs) => LocalizedString} */ (i) => {
5877
+ return /** @type {LocalizedString} */ (`Read ${i?.target}`)
5878
+ };
5879
+
5880
+ export const agent_desktop_toolrunning1 = /** @type {(inputs: Agent_Desktop_Toolrunning1Inputs) => LocalizedString} */ () => {
5881
+ return /** @type {LocalizedString} */ (`Running`)
5882
+ };
5883
+
5884
+ export const agent_desktop_tooltruncated1 = /** @type {(inputs: Agent_Desktop_Tooltruncated1Inputs) => LocalizedString} */ () => {
5885
+ return /** @type {LocalizedString} */ (`Truncated`)
5886
+ };
5887
+
5888
+ export const agent_desktop_workspaceadd1 = /** @type {(inputs: Agent_Desktop_Workspaceadd1Inputs) => LocalizedString} */ () => {
5889
+ return /** @type {LocalizedString} */ (`Add Folder`)
5890
+ };
5891
+
5892
+ export const agent_desktop_workspaceaddfailed2 = /** @type {(inputs: Agent_Desktop_Workspaceaddfailed2Inputs) => LocalizedString} */ () => {
5893
+ return /** @type {LocalizedString} */ (`Failed to add folder`)
5894
+ };
5895
+
5896
+ export const agent_desktop_workspacedescription1 = /** @type {(inputs: Agent_Desktop_Workspacedescription1Inputs) => LocalizedString} */ () => {
5897
+ return /** @type {LocalizedString} */ (`The assistant can only read files inside authorized folders`)
5898
+ };
5899
+
5900
+ export const agent_desktop_workspaceempty1 = /** @type {(inputs: Agent_Desktop_Workspaceempty1Inputs) => LocalizedString} */ () => {
5901
+ return /** @type {LocalizedString} */ (`No folders authorized yet`)
5902
+ };
5903
+
5904
+ export const agent_desktop_workspaceemptyhint2 = /** @type {(inputs: Agent_Desktop_Workspaceemptyhint2Inputs) => LocalizedString} */ () => {
5905
+ return /** @type {LocalizedString} */ (`Add a folder to start asking questions`)
5906
+ };
5907
+
5908
+ export const agent_desktop_workspaceloadfailed2 = /** @type {(inputs: Agent_Desktop_Workspaceloadfailed2Inputs) => LocalizedString} */ () => {
5909
+ return /** @type {LocalizedString} */ (`Failed to load authorized folders`)
5910
+ };
5911
+
5912
+ export const agent_desktop_workspaceremove1 = /** @type {(inputs: Agent_Desktop_Workspaceremove1Inputs) => LocalizedString} */ () => {
5913
+ return /** @type {LocalizedString} */ (`Revoke access`)
5914
+ };
5915
+
5916
+ export const agent_desktop_workspaceremovefailed2 = /** @type {(inputs: Agent_Desktop_Workspaceremovefailed2Inputs) => LocalizedString} */ () => {
5917
+ return /** @type {LocalizedString} */ (`Failed to revoke access`)
5918
+ };
5919
+
5920
+ export const agent_desktop_workspacetitle1 = /** @type {(inputs: Agent_Desktop_Workspacetitle1Inputs) => LocalizedString} */ () => {
5921
+ return /** @type {LocalizedString} */ (`Authorized Folders`)
5922
+ };
5923
+
5924
+ export const agent_desktop_workspaceunsupported1 = /** @type {(inputs: Agent_Desktop_Workspaceunsupported1Inputs) => LocalizedString} */ () => {
5925
+ return /** @type {LocalizedString} */ (`This desktop version doesn't support folder authorization. Please update the app`)
5926
+ };
5927
+
5716
5928
  export const agent_emptyexample1 = /** @type {(inputs: Agent_Emptyexample1Inputs) => LocalizedString} */ () => {
5717
5929
  return /** @type {LocalizedString} */ (`No examples`)
5718
5930
  };
@@ -12865,6 +13077,10 @@ export const common_hotkey_cat_view = /** @type {(inputs: Common_Hotkey_Cat_View
12865
13077
  return /** @type {LocalizedString} */ (`View`)
12866
13078
  };
12867
13079
 
13080
+ export const common_hotkey_desc_agentabort1 = /** @type {(inputs: Common_Hotkey_Desc_Agentabort1Inputs) => LocalizedString} */ () => {
13081
+ return /** @type {LocalizedString} */ (`Stop the local file assistant`)
13082
+ };
13083
+
12868
13084
  export const common_hotkey_desc_chatnext1 = /** @type {(inputs: Common_Hotkey_Desc_Chatnext1Inputs) => LocalizedString} */ () => {
12869
13085
  return /** @type {LocalizedString} */ (`Next conversation`)
12870
13086
  };
@@ -13577,6 +13793,10 @@ export const dashboard_stats_unreadcomments1 = /** @type {(inputs: Dashboard_Sta
13577
13793
  return /** @type {LocalizedString} */ (`Unread Comments`)
13578
13794
  };
13579
13795
 
13796
+ export const desktop_cloud_exchange_failed = /** @type {(inputs: Desktop_Cloud_Exchange_FailedInputs) => LocalizedString} */ () => {
13797
+ return /** @type {LocalizedString} */ (`Cloud identity activation failed. Please retry.`)
13798
+ };
13799
+
13580
13800
  export const desktop_connection_cancel = /** @type {(inputs: Desktop_Connection_CancelInputs) => LocalizedString} */ () => {
13581
13801
  return /** @type {LocalizedString} */ (`Cancel`)
13582
13802
  };
@@ -13725,6 +13945,18 @@ export const desktop_onboarding_title = /** @type {(inputs: Desktop_Onboarding_T
13725
13945
  return /** @type {LocalizedString} */ (`Welcome to AllBlue Desktop`)
13726
13946
  };
13727
13947
 
13948
+ export const desktop_state_cloud = /** @type {(inputs: Desktop_State_CloudInputs) => LocalizedString} */ () => {
13949
+ return /** @type {LocalizedString} */ (`Cloud synced`)
13950
+ };
13951
+
13952
+ export const desktop_state_guest = /** @type {(inputs: Desktop_State_GuestInputs) => LocalizedString} */ () => {
13953
+ return /** @type {LocalizedString} */ (`Local mode`)
13954
+ };
13955
+
13956
+ export const desktop_state_transferring = /** @type {(inputs: Desktop_State_TransferringInputs) => LocalizedString} */ () => {
13957
+ return /** @type {LocalizedString} */ (`Transferring data…`)
13958
+ };
13959
+
13728
13960
  export const detail_contentplaceholder1 = /** @type {(inputs: Detail_Contentplaceholder1Inputs) => LocalizedString} */ () => {
13729
13961
  return /** @type {LocalizedString} */ (`Start writing content...`)
13730
13962
  };
@@ -25306,6 +25538,34 @@ export const summary_months = /** @type {(inputs: Summary_MonthsInputs) => Local
25306
25538
  return /** @type {LocalizedString} */ (`["January","February","March","April","May","June","July","August","September","October","November","December"]`)
25307
25539
  };
25308
25540
 
25541
+ export const sync_bind_failed = /** @type {(inputs: Sync_Bind_FailedInputs) => LocalizedString} */ () => {
25542
+ return /** @type {LocalizedString} */ (`Local data transfer failed. Local guest state restored and cloud sign-out applied. Please retry.`)
25543
+ };
25544
+
25545
+ export const sync_bind_in_progress = /** @type {(inputs: Sync_Bind_In_ProgressInputs) => LocalizedString} */ () => {
25546
+ return /** @type {LocalizedString} */ (`Transferring local data to your cloud account…`)
25547
+ };
25548
+
25549
+ export const sync_bind_nonempty = /** @type {(inputs: Sync_Bind_NonemptyInputs) => LocalizedString} */ () => {
25550
+ return /** @type {LocalizedString} */ (`This cloud account already has data. Binding transfer is not supported yet (empty accounts only in phase one).`)
25551
+ };
25552
+
25553
+ export const sync_bind_probe_unreachable = /** @type {(inputs: Sync_Bind_Probe_UnreachableInputs) => LocalizedString} */ () => {
25554
+ return /** @type {LocalizedString} */ (`Could not verify the cloud account status (network error). Local data was not transferred this time.`)
25555
+ };
25556
+
25557
+ export const sync_bind_shell_unsupported = /** @type {(inputs: Sync_Bind_Shell_UnsupportedInputs) => LocalizedString} */ () => {
25558
+ return /** @type {LocalizedString} */ (`This desktop shell version does not support binding transfer. Please upgrade the app.`)
25559
+ };
25560
+
25561
+ export const sync_logout_failed = /** @type {(inputs: Sync_Logout_FailedInputs) => LocalizedString} */ () => {
25562
+ return /** @type {LocalizedString} */ (`Sign-out failed: cloud data transfer back to this device did not complete. Local data is untouched. Please retry.`)
25563
+ };
25564
+
25565
+ export const sync_logout_in_progress = /** @type {(inputs: Sync_Logout_In_ProgressInputs) => LocalizedString} */ () => {
25566
+ return /** @type {LocalizedString} */ (`Transferring cloud data back to this device…`)
25567
+ };
25568
+
25309
25569
  export const taginput_add1 = /** @type {(inputs: Taginput_Add1Inputs) => LocalizedString} */ () => {
25310
25570
  return /** @type {LocalizedString} */ (`Add Tag`)
25311
25571
  };
@@ -13,6 +13,46 @@
13
13
  /** @typedef {{}} Agent_Createfailed1Inputs */
14
14
  /** @typedef {{}} Agent_Deleteconv1Inputs */
15
15
  /** @typedef {{}} Agent_Deleteconvfailed2Inputs */
16
+ /** @typedef {{ path: NonNullable<unknown> }} Agent_Desktop_Chatcwd1Inputs */
17
+ /** @typedef {{}} Agent_Desktop_Chatemptyhint2Inputs */
18
+ /** @typedef {{}} Agent_Desktop_Chatemptytitle2Inputs */
19
+ /** @typedef {{}} Agent_Desktop_Chatindependenthint2Inputs */
20
+ /** @typedef {{}} Agent_Desktop_Chatnoworkspace2Inputs */
21
+ /** @typedef {{}} Agent_Desktop_Chatplaceholder1Inputs */
22
+ /** @typedef {{}} Agent_Desktop_Chatsend1Inputs */
23
+ /** @typedef {{}} Agent_Desktop_Chatstop1Inputs */
24
+ /** @typedef {{}} Agent_Desktop_Chatthinking1Inputs */
25
+ /** @typedef {{}} Agent_Desktop_Errorconnection1Inputs */
26
+ /** @typedef {{}} Agent_Desktop_Errorforbidden1Inputs */
27
+ /** @typedef {{ message: NonNullable<unknown> }} Agent_Desktop_Errorgeneric1Inputs */
28
+ /** @typedef {{}} Agent_Desktop_Errorunauthorized1Inputs */
29
+ /** @typedef {{}} Agent_Desktop_Errorunavailable1Inputs */
30
+ /** @typedef {{}} Agent_Desktop_Pagedescription1Inputs */
31
+ /** @typedef {{}} Agent_Desktop_TitleInputs */
32
+ /** @typedef {{ count: NonNullable<unknown> }} Agent_Desktop_Toolcountfiles2Inputs */
33
+ /** @typedef {{ count: NonNullable<unknown> }} Agent_Desktop_Toolcounthits2Inputs */
34
+ /** @typedef {{ count: NonNullable<unknown> }} Agent_Desktop_Toolcountlines2Inputs */
35
+ /** @typedef {{}} Agent_Desktop_Toolemptydir2Inputs */
36
+ /** @typedef {{}} Agent_Desktop_Toolerror1Inputs */
37
+ /** @typedef {{ target: NonNullable<unknown> }} Agent_Desktop_Toolfind1Inputs */
38
+ /** @typedef {{ target: NonNullable<unknown> }} Agent_Desktop_Toolgrep1Inputs */
39
+ /** @typedef {{ target: NonNullable<unknown> }} Agent_Desktop_Toolls1Inputs */
40
+ /** @typedef {{ count: NonNullable<unknown> }} Agent_Desktop_Toolmore1Inputs */
41
+ /** @typedef {{}} Agent_Desktop_Toolnomatches2Inputs */
42
+ /** @typedef {{ name: NonNullable<unknown> }} Agent_Desktop_Toolother1Inputs */
43
+ /** @typedef {{ target: NonNullable<unknown> }} Agent_Desktop_Toolread1Inputs */
44
+ /** @typedef {{}} Agent_Desktop_Toolrunning1Inputs */
45
+ /** @typedef {{}} Agent_Desktop_Tooltruncated1Inputs */
46
+ /** @typedef {{}} Agent_Desktop_Workspaceadd1Inputs */
47
+ /** @typedef {{}} Agent_Desktop_Workspaceaddfailed2Inputs */
48
+ /** @typedef {{}} Agent_Desktop_Workspacedescription1Inputs */
49
+ /** @typedef {{}} Agent_Desktop_Workspaceempty1Inputs */
50
+ /** @typedef {{}} Agent_Desktop_Workspaceemptyhint2Inputs */
51
+ /** @typedef {{}} Agent_Desktop_Workspaceloadfailed2Inputs */
52
+ /** @typedef {{}} Agent_Desktop_Workspaceremove1Inputs */
53
+ /** @typedef {{}} Agent_Desktop_Workspaceremovefailed2Inputs */
54
+ /** @typedef {{}} Agent_Desktop_Workspacetitle1Inputs */
55
+ /** @typedef {{}} Agent_Desktop_Workspaceunsupported1Inputs */
16
56
  /** @typedef {{}} Agent_Emptyexample1Inputs */
17
57
  /** @typedef {{}} Agent_Emptyhint1Inputs */
18
58
  /** @typedef {{}} Agent_Generatefailed1Inputs */
@@ -1799,6 +1839,7 @@
1799
1839
  /** @typedef {{}} Common_Hotkey_Cat_EditInputs */
1800
1840
  /** @typedef {{}} Common_Hotkey_Cat_NavigationInputs */
1801
1841
  /** @typedef {{}} Common_Hotkey_Cat_ViewInputs */
1842
+ /** @typedef {{}} Common_Hotkey_Desc_Agentabort1Inputs */
1802
1843
  /** @typedef {{}} Common_Hotkey_Desc_Chatnext1Inputs */
1803
1844
  /** @typedef {{}} Common_Hotkey_Desc_Chatprev1Inputs */
1804
1845
  /** @typedef {{}} Common_Hotkey_Desc_Closepanel1Inputs */
@@ -1977,6 +2018,7 @@
1977
2018
  /** @typedef {{}} Dashboard_Stats_Completedtoday1Inputs */
1978
2019
  /** @typedef {{}} Dashboard_Stats_Prdtotal1Inputs */
1979
2020
  /** @typedef {{}} Dashboard_Stats_Unreadcomments1Inputs */
2021
+ /** @typedef {{}} Desktop_Cloud_Exchange_FailedInputs */
1980
2022
  /** @typedef {{}} Desktop_Connection_CancelInputs */
1981
2023
  /** @typedef {{}} Desktop_Connection_ConfirmInputs */
1982
2024
  /** @typedef {{}} Desktop_Connection_DescriptionInputs */
@@ -2014,6 +2056,9 @@
2014
2056
  /** @typedef {{}} Desktop_Onboarding_Selfhosted_Urllabel2Inputs */
2015
2057
  /** @typedef {{}} Desktop_Onboarding_SubtitleInputs */
2016
2058
  /** @typedef {{}} Desktop_Onboarding_TitleInputs */
2059
+ /** @typedef {{}} Desktop_State_CloudInputs */
2060
+ /** @typedef {{}} Desktop_State_GuestInputs */
2061
+ /** @typedef {{}} Desktop_State_TransferringInputs */
2017
2062
  /** @typedef {{}} Detail_Contentplaceholder1Inputs */
2018
2063
  /** @typedef {{}} Detail_Deletedescription1Inputs */
2019
2064
  /** @typedef {{}} Detail_Deletetitle1Inputs */
@@ -4907,6 +4952,13 @@
4907
4952
  /** @typedef {{}} Stylefield_Selectcolor2Inputs */
4908
4953
  /** @typedef {{}} Stylefield_Width1Inputs */
4909
4954
  /** @typedef {{}} Summary_MonthsInputs */
4955
+ /** @typedef {{}} Sync_Bind_FailedInputs */
4956
+ /** @typedef {{}} Sync_Bind_In_ProgressInputs */
4957
+ /** @typedef {{}} Sync_Bind_NonemptyInputs */
4958
+ /** @typedef {{}} Sync_Bind_Probe_UnreachableInputs */
4959
+ /** @typedef {{}} Sync_Bind_Shell_UnsupportedInputs */
4960
+ /** @typedef {{}} Sync_Logout_FailedInputs */
4961
+ /** @typedef {{}} Sync_Logout_In_ProgressInputs */
4910
4962
  /** @typedef {{}} Taginput_Add1Inputs */
4911
4963
  /** @typedef {{}} Taginput_Placeholder1Inputs */
4912
4964
  /** @typedef {{}} Taginput_Remove1Inputs */
@@ -5713,6 +5765,166 @@ export const agent_deleteconvfailed2 = /** @type {(inputs: Agent_Deleteconvfaile
5713
5765
  return /** @type {LocalizedString} */ (`删除会话失败`)
5714
5766
  };
5715
5767
 
5768
+ export const agent_desktop_chatcwd1 = /** @type {(inputs: Agent_Desktop_Chatcwd1Inputs) => LocalizedString} */ (i) => {
5769
+ return /** @type {LocalizedString} */ (`当前目录:${i?.path}`)
5770
+ };
5771
+
5772
+ export const agent_desktop_chatemptyhint2 = /** @type {(inputs: Agent_Desktop_Chatemptyhint2Inputs) => LocalizedString} */ () => {
5773
+ return /** @type {LocalizedString} */ (`例如:总结这个项目的结构,或找出所有 TODO`)
5774
+ };
5775
+
5776
+ export const agent_desktop_chatemptytitle2 = /** @type {(inputs: Agent_Desktop_Chatemptytitle2Inputs) => LocalizedString} */ () => {
5777
+ return /** @type {LocalizedString} */ (`向本地文件提问`)
5778
+ };
5779
+
5780
+ export const agent_desktop_chatindependenthint2 = /** @type {(inputs: Agent_Desktop_Chatindependenthint2Inputs) => LocalizedString} */ () => {
5781
+ return /** @type {LocalizedString} */ (`每次提问独立执行,不保留多轮上下文`)
5782
+ };
5783
+
5784
+ export const agent_desktop_chatnoworkspace2 = /** @type {(inputs: Agent_Desktop_Chatnoworkspace2Inputs) => LocalizedString} */ () => {
5785
+ return /** @type {LocalizedString} */ (`请先添加并选择一个授权目录`)
5786
+ };
5787
+
5788
+ export const agent_desktop_chatplaceholder1 = /** @type {(inputs: Agent_Desktop_Chatplaceholder1Inputs) => LocalizedString} */ () => {
5789
+ return /** @type {LocalizedString} */ (`询问该目录中的文件,Enter 发送,Shift+Enter 换行`)
5790
+ };
5791
+
5792
+ export const agent_desktop_chatsend1 = /** @type {(inputs: Agent_Desktop_Chatsend1Inputs) => LocalizedString} */ () => {
5793
+ return /** @type {LocalizedString} */ (`发送`)
5794
+ };
5795
+
5796
+ export const agent_desktop_chatstop1 = /** @type {(inputs: Agent_Desktop_Chatstop1Inputs) => LocalizedString} */ () => {
5797
+ return /** @type {LocalizedString} */ (`中止`)
5798
+ };
5799
+
5800
+ export const agent_desktop_chatthinking1 = /** @type {(inputs: Agent_Desktop_Chatthinking1Inputs) => LocalizedString} */ () => {
5801
+ return /** @type {LocalizedString} */ (`正在检索与思考...`)
5802
+ };
5803
+
5804
+ export const agent_desktop_errorconnection1 = /** @type {(inputs: Agent_Desktop_Errorconnection1Inputs) => LocalizedString} */ () => {
5805
+ return /** @type {LocalizedString} */ (`无法连接本地 agent 服务`)
5806
+ };
5807
+
5808
+ export const agent_desktop_errorforbidden1 = /** @type {(inputs: Agent_Desktop_Errorforbidden1Inputs) => LocalizedString} */ () => {
5809
+ return /** @type {LocalizedString} */ (`目录未授权或请求来源不被允许`)
5810
+ };
5811
+
5812
+ export const agent_desktop_errorgeneric1 = /** @type {(inputs: Agent_Desktop_Errorgeneric1Inputs) => LocalizedString} */ (i) => {
5813
+ return /** @type {LocalizedString} */ (`运行失败:${i?.message}`)
5814
+ };
5815
+
5816
+ export const agent_desktop_errorunauthorized1 = /** @type {(inputs: Agent_Desktop_Errorunauthorized1Inputs) => LocalizedString} */ () => {
5817
+ return /** @type {LocalizedString} */ (`agent 访问令牌已失效(服务可能已重启),请重试`)
5818
+ };
5819
+
5820
+ export const agent_desktop_errorunavailable1 = /** @type {(inputs: Agent_Desktop_Errorunavailable1Inputs) => LocalizedString} */ () => {
5821
+ return /** @type {LocalizedString} */ (`本地 agent 服务未就绪,请稍后重试或重启客户端`)
5822
+ };
5823
+
5824
+ export const agent_desktop_pagedescription1 = /** @type {(inputs: Agent_Desktop_Pagedescription1Inputs) => LocalizedString} */ () => {
5825
+ return /** @type {LocalizedString} */ (`授权本机目录后,AI 可只读检索、阅读并总结其中的文件`)
5826
+ };
5827
+
5828
+ export const agent_desktop_title = /** @type {(inputs: Agent_Desktop_TitleInputs) => LocalizedString} */ () => {
5829
+ return /** @type {LocalizedString} */ (`本地文件助手`)
5830
+ };
5831
+
5832
+ export const agent_desktop_toolcountfiles2 = /** @type {(inputs: Agent_Desktop_Toolcountfiles2Inputs) => LocalizedString} */ (i) => {
5833
+ return /** @type {LocalizedString} */ (`${i?.count} 项`)
5834
+ };
5835
+
5836
+ export const agent_desktop_toolcounthits2 = /** @type {(inputs: Agent_Desktop_Toolcounthits2Inputs) => LocalizedString} */ (i) => {
5837
+ return /** @type {LocalizedString} */ (`${i?.count} 处命中`)
5838
+ };
5839
+
5840
+ export const agent_desktop_toolcountlines2 = /** @type {(inputs: Agent_Desktop_Toolcountlines2Inputs) => LocalizedString} */ (i) => {
5841
+ return /** @type {LocalizedString} */ (`${i?.count} 行`)
5842
+ };
5843
+
5844
+ export const agent_desktop_toolemptydir2 = /** @type {(inputs: Agent_Desktop_Toolemptydir2Inputs) => LocalizedString} */ () => {
5845
+ return /** @type {LocalizedString} */ (`空目录`)
5846
+ };
5847
+
5848
+ export const agent_desktop_toolerror1 = /** @type {(inputs: Agent_Desktop_Toolerror1Inputs) => LocalizedString} */ () => {
5849
+ return /** @type {LocalizedString} */ (`执行失败`)
5850
+ };
5851
+
5852
+ export const agent_desktop_toolfind1 = /** @type {(inputs: Agent_Desktop_Toolfind1Inputs) => LocalizedString} */ (i) => {
5853
+ return /** @type {LocalizedString} */ (`查找 ${i?.target}`)
5854
+ };
5855
+
5856
+ export const agent_desktop_toolgrep1 = /** @type {(inputs: Agent_Desktop_Toolgrep1Inputs) => LocalizedString} */ (i) => {
5857
+ return /** @type {LocalizedString} */ (`搜索 ${i?.target}`)
5858
+ };
5859
+
5860
+ export const agent_desktop_toolls1 = /** @type {(inputs: Agent_Desktop_Toolls1Inputs) => LocalizedString} */ (i) => {
5861
+ return /** @type {LocalizedString} */ (`列出 ${i?.target}`)
5862
+ };
5863
+
5864
+ export const agent_desktop_toolmore1 = /** @type {(inputs: Agent_Desktop_Toolmore1Inputs) => LocalizedString} */ (i) => {
5865
+ return /** @type {LocalizedString} */ (`还有 ${i?.count} 项未显示`)
5866
+ };
5867
+
5868
+ export const agent_desktop_toolnomatches2 = /** @type {(inputs: Agent_Desktop_Toolnomatches2Inputs) => LocalizedString} */ () => {
5869
+ return /** @type {LocalizedString} */ (`无匹配结果`)
5870
+ };
5871
+
5872
+ export const agent_desktop_toolother1 = /** @type {(inputs: Agent_Desktop_Toolother1Inputs) => LocalizedString} */ (i) => {
5873
+ return /** @type {LocalizedString} */ (`调用 ${i?.name}`)
5874
+ };
5875
+
5876
+ export const agent_desktop_toolread1 = /** @type {(inputs: Agent_Desktop_Toolread1Inputs) => LocalizedString} */ (i) => {
5877
+ return /** @type {LocalizedString} */ (`读取 ${i?.target}`)
5878
+ };
5879
+
5880
+ export const agent_desktop_toolrunning1 = /** @type {(inputs: Agent_Desktop_Toolrunning1Inputs) => LocalizedString} */ () => {
5881
+ return /** @type {LocalizedString} */ (`执行中`)
5882
+ };
5883
+
5884
+ export const agent_desktop_tooltruncated1 = /** @type {(inputs: Agent_Desktop_Tooltruncated1Inputs) => LocalizedString} */ () => {
5885
+ return /** @type {LocalizedString} */ (`已截断`)
5886
+ };
5887
+
5888
+ export const agent_desktop_workspaceadd1 = /** @type {(inputs: Agent_Desktop_Workspaceadd1Inputs) => LocalizedString} */ () => {
5889
+ return /** @type {LocalizedString} */ (`添加目录`)
5890
+ };
5891
+
5892
+ export const agent_desktop_workspaceaddfailed2 = /** @type {(inputs: Agent_Desktop_Workspaceaddfailed2Inputs) => LocalizedString} */ () => {
5893
+ return /** @type {LocalizedString} */ (`添加目录失败`)
5894
+ };
5895
+
5896
+ export const agent_desktop_workspacedescription1 = /** @type {(inputs: Agent_Desktop_Workspacedescription1Inputs) => LocalizedString} */ () => {
5897
+ return /** @type {LocalizedString} */ (`助手只能读取已授权目录内的文件`)
5898
+ };
5899
+
5900
+ export const agent_desktop_workspaceempty1 = /** @type {(inputs: Agent_Desktop_Workspaceempty1Inputs) => LocalizedString} */ () => {
5901
+ return /** @type {LocalizedString} */ (`尚未授权任何目录`)
5902
+ };
5903
+
5904
+ export const agent_desktop_workspaceemptyhint2 = /** @type {(inputs: Agent_Desktop_Workspaceemptyhint2Inputs) => LocalizedString} */ () => {
5905
+ return /** @type {LocalizedString} */ (`添加一个目录后即可开始提问`)
5906
+ };
5907
+
5908
+ export const agent_desktop_workspaceloadfailed2 = /** @type {(inputs: Agent_Desktop_Workspaceloadfailed2Inputs) => LocalizedString} */ () => {
5909
+ return /** @type {LocalizedString} */ (`读取授权目录失败`)
5910
+ };
5911
+
5912
+ export const agent_desktop_workspaceremove1 = /** @type {(inputs: Agent_Desktop_Workspaceremove1Inputs) => LocalizedString} */ () => {
5913
+ return /** @type {LocalizedString} */ (`撤销授权`)
5914
+ };
5915
+
5916
+ export const agent_desktop_workspaceremovefailed2 = /** @type {(inputs: Agent_Desktop_Workspaceremovefailed2Inputs) => LocalizedString} */ () => {
5917
+ return /** @type {LocalizedString} */ (`撤销授权失败`)
5918
+ };
5919
+
5920
+ export const agent_desktop_workspacetitle1 = /** @type {(inputs: Agent_Desktop_Workspacetitle1Inputs) => LocalizedString} */ () => {
5921
+ return /** @type {LocalizedString} */ (`授权目录`)
5922
+ };
5923
+
5924
+ export const agent_desktop_workspaceunsupported1 = /** @type {(inputs: Agent_Desktop_Workspaceunsupported1Inputs) => LocalizedString} */ () => {
5925
+ return /** @type {LocalizedString} */ (`当前桌面版本不支持目录授权,请升级客户端`)
5926
+ };
5927
+
5716
5928
  export const agent_emptyexample1 = /** @type {(inputs: Agent_Emptyexample1Inputs) => LocalizedString} */ () => {
5717
5929
  return /** @type {LocalizedString} */ (`暂无示例`)
5718
5930
  };
@@ -12865,6 +13077,10 @@ export const common_hotkey_cat_view = /** @type {(inputs: Common_Hotkey_Cat_View
12865
13077
  return /** @type {LocalizedString} */ (`视图`)
12866
13078
  };
12867
13079
 
13080
+ export const common_hotkey_desc_agentabort1 = /** @type {(inputs: Common_Hotkey_Desc_Agentabort1Inputs) => LocalizedString} */ () => {
13081
+ return /** @type {LocalizedString} */ (`中止本地文件助手运行`)
13082
+ };
13083
+
12868
13084
  export const common_hotkey_desc_chatnext1 = /** @type {(inputs: Common_Hotkey_Desc_Chatnext1Inputs) => LocalizedString} */ () => {
12869
13085
  return /** @type {LocalizedString} */ (`切换到下一条对话`)
12870
13086
  };
@@ -13577,6 +13793,10 @@ export const dashboard_stats_unreadcomments1 = /** @type {(inputs: Dashboard_Sta
13577
13793
  return /** @type {LocalizedString} */ (`未读评论`)
13578
13794
  };
13579
13795
 
13796
+ export const desktop_cloud_exchange_failed = /** @type {(inputs: Desktop_Cloud_Exchange_FailedInputs) => LocalizedString} */ () => {
13797
+ return /** @type {LocalizedString} */ (`云端身份激活失败,请重试`)
13798
+ };
13799
+
13580
13800
  export const desktop_connection_cancel = /** @type {(inputs: Desktop_Connection_CancelInputs) => LocalizedString} */ () => {
13581
13801
  return /** @type {LocalizedString} */ (`取消`)
13582
13802
  };
@@ -13725,6 +13945,18 @@ export const desktop_onboarding_title = /** @type {(inputs: Desktop_Onboarding_T
13725
13945
  return /** @type {LocalizedString} */ (`欢迎使用 AllBlue 桌面端`)
13726
13946
  };
13727
13947
 
13948
+ export const desktop_state_cloud = /** @type {(inputs: Desktop_State_CloudInputs) => LocalizedString} */ () => {
13949
+ return /** @type {LocalizedString} */ (`云端已绑定`)
13950
+ };
13951
+
13952
+ export const desktop_state_guest = /** @type {(inputs: Desktop_State_GuestInputs) => LocalizedString} */ () => {
13953
+ return /** @type {LocalizedString} */ (`本地模式`)
13954
+ };
13955
+
13956
+ export const desktop_state_transferring = /** @type {(inputs: Desktop_State_TransferringInputs) => LocalizedString} */ () => {
13957
+ return /** @type {LocalizedString} */ (`归属转移中…`)
13958
+ };
13959
+
13728
13960
  export const detail_contentplaceholder1 = /** @type {(inputs: Detail_Contentplaceholder1Inputs) => LocalizedString} */ () => {
13729
13961
  return /** @type {LocalizedString} */ (`开始编写内容...`)
13730
13962
  };
@@ -25304,6 +25536,34 @@ export const summary_months = /** @type {(inputs: Summary_MonthsInputs) => Local
25304
25536
  return /** @type {LocalizedString} */ (`["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]`)
25305
25537
  };
25306
25538
 
25539
+ export const sync_bind_failed = /** @type {(inputs: Sync_Bind_FailedInputs) => LocalizedString} */ () => {
25540
+ return /** @type {LocalizedString} */ (`本地数据转移失败,已恢复本地 guest 状态并退出云登录,请重试`)
25541
+ };
25542
+
25543
+ export const sync_bind_in_progress = /** @type {(inputs: Sync_Bind_In_ProgressInputs) => LocalizedString} */ () => {
25544
+ return /** @type {LocalizedString} */ (`正在转移本地数据到云端账号…`)
25545
+ };
25546
+
25547
+ export const sync_bind_nonempty = /** @type {(inputs: Sync_Bind_NonemptyInputs) => LocalizedString} */ () => {
25548
+ return /** @type {LocalizedString} */ (`该云账号已有数据,暂不支持绑定转移(一期仅支持空账号)`)
25549
+ };
25550
+
25551
+ export const sync_bind_probe_unreachable = /** @type {(inputs: Sync_Bind_Probe_UnreachableInputs) => LocalizedString} */ () => {
25552
+ return /** @type {LocalizedString} */ (`暂时无法确认云账号状态(网络异常),本次未转移本地数据`)
25553
+ };
25554
+
25555
+ export const sync_bind_shell_unsupported = /** @type {(inputs: Sync_Bind_Shell_UnsupportedInputs) => LocalizedString} */ () => {
25556
+ return /** @type {LocalizedString} */ (`当前桌面壳版本不支持绑定转移,请升级桌面应用`)
25557
+ };
25558
+
25559
+ export const sync_logout_failed = /** @type {(inputs: Sync_Logout_FailedInputs) => LocalizedString} */ () => {
25560
+ return /** @type {LocalizedString} */ (`登出失败:云端数据转回本机未完成,本机数据未受影响,请重试`)
25561
+ };
25562
+
25563
+ export const sync_logout_in_progress = /** @type {(inputs: Sync_Logout_In_ProgressInputs) => LocalizedString} */ () => {
25564
+ return /** @type {LocalizedString} */ (`正在把云端数据转回本机…`)
25565
+ };
25566
+
25307
25567
  export const taginput_add1 = /** @type {(inputs: Taginput_Add1Inputs) => LocalizedString} */ () => {
25308
25568
  return /** @type {LocalizedString} */ (`添加标签`)
25309
25569
  };