toc-ocra 0.2.34 → 0.2.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +129 -121
- package/assets/icon.svg +1 -1
- package/dist/cli/cli.mjs +747 -395
- package/dist/plugin/renderer.css.map +1 -1
- package/dist/plugin/renderer.js.map +1 -1
- package/dist/service/agent.mjs +734 -383
- package/dist/src/exec/script-runner.js +9 -5
- package/dist/src/exec/script-runner.js.map +1 -1
- package/dist/src/health/server.js +8 -8
- package/dist/src/index.js +6 -2
- package/dist/src/index.js.map +1 -1
- package/dist/src/platform/common.d.ts +20 -0
- package/dist/src/platform/common.js +40 -0
- package/dist/src/platform/common.js.map +1 -0
- package/dist/src/platform/index.d.ts +10 -0
- package/dist/src/platform/index.js +20 -0
- package/dist/src/platform/index.js.map +1 -0
- package/dist/src/platform/posix.d.ts +2 -0
- package/dist/src/platform/posix.js +210 -0
- package/dist/src/platform/posix.js.map +1 -0
- package/dist/src/platform/types.d.ts +61 -0
- package/dist/src/platform/types.js +2 -0
- package/dist/src/platform/types.js.map +1 -0
- package/dist/src/platform/win32.d.ts +4 -0
- package/dist/src/platform/win32.js +162 -0
- package/dist/src/platform/win32.js.map +1 -0
- package/dist/src/providers/cli/claude.js +3 -2
- package/dist/src/providers/cli/claude.js.map +1 -1
- package/dist/src/providers/cli/codex.js +3 -2
- package/dist/src/providers/cli/codex.js.map +1 -1
- package/dist/src/providers/cli/gemini.js +2 -2
- package/dist/src/providers/cli/gemini.js.map +1 -1
- package/dist/src/providers/cli/grok.js +2 -2
- package/dist/src/providers/cli/grok.js.map +1 -1
- package/dist/src/providers/cli/kiro-session-log.d.ts +53 -0
- package/dist/src/providers/cli/kiro-session-log.js +155 -0
- package/dist/src/providers/cli/kiro-session-log.js.map +1 -0
- package/dist/src/providers/cli/kiro.d.ts +8 -2
- package/dist/src/providers/cli/kiro.js +100 -13
- package/dist/src/providers/cli/kiro.js.map +1 -1
- package/dist/src/providers/cli/opencode.js +2 -2
- package/dist/src/providers/cli/opencode.js.map +1 -1
- package/dist/src/providers/codex-quota.js +3 -2
- package/dist/src/providers/codex-quota.js.map +1 -1
- package/dist/src/providers/detection.js +3 -1
- package/dist/src/providers/detection.js.map +1 -1
- package/dist/src/providers/kiro-models.js +3 -2
- package/dist/src/providers/kiro-models.js.map +1 -1
- package/dist/src/providers/model-catalog.js +3 -1
- package/dist/src/providers/model-catalog.js.map +1 -1
- package/dist/src/providers/provider.d.ts +55 -4
- package/dist/src/providers/provider.js +51 -15
- package/dist/src/providers/provider.js.map +1 -1
- package/dist/src/runs/orphan-registry.js +2 -8
- package/dist/src/runs/orphan-registry.js.map +1 -1
- package/dist/src/runs/process-tree.d.ts +5 -14
- package/dist/src/runs/process-tree.js +7 -83
- package/dist/src/runs/process-tree.js.map +1 -1
- package/dist/src/runs/run-supervisor.d.ts +2 -0
- package/dist/src/runs/run-supervisor.js +56 -10
- package/dist/src/runs/run-supervisor.js.map +1 -1
- package/dist/src/runtime/cli/hydrate-shell-path.d.ts +9 -22
- package/dist/src/runtime/cli/hydrate-shell-path.js +17 -148
- package/dist/src/runtime/cli/hydrate-shell-path.js.map +1 -1
- package/dist/src/shared/node-cli-command-resolution.d.ts +5 -0
- package/dist/src/shared/node-cli-command-resolution.js +28 -81
- package/dist/src/shared/node-cli-command-resolution.js.map +1 -1
- package/locales/en.json +202 -202
- package/locales/zh-CN.json +202 -202
- package/package.json +100 -100
- package/scripts/installation.cjs +239 -239
- package/scripts/postinstall.cjs +22 -22
- package/scripts/service.mjs +253 -253
package/locales/en.json
CHANGED
|
@@ -1,202 +1,202 @@
|
|
|
1
|
-
{
|
|
2
|
-
"nav": {
|
|
3
|
-
"title": "Device agent"
|
|
4
|
-
},
|
|
5
|
-
"page": {
|
|
6
|
-
"title": "Device agent",
|
|
7
|
-
"subtitle": "Let computers take tasks from task chains: enable this one with one click, connect others with one command."
|
|
8
|
-
},
|
|
9
|
-
"common": {
|
|
10
|
-
"copy": "Copy",
|
|
11
|
-
"copied": "Copied",
|
|
12
|
-
"checking": "Checking the local service…"
|
|
13
|
-
},
|
|
14
|
-
"error": {
|
|
15
|
-
"offline": "Can't reach the local service. Make sure toc-ocra is running."
|
|
16
|
-
},
|
|
17
|
-
"health": {
|
|
18
|
-
"online": "Online: {{name}}",
|
|
19
|
-
"disconnected": "Bound, but the server is not reachable right now",
|
|
20
|
-
"unpaired": "Local service running, not bound to a server yet",
|
|
21
|
-
"offline": "Local service not running",
|
|
22
|
-
"disabled": "The local device agent is off"
|
|
23
|
-
},
|
|
24
|
-
"offline": {
|
|
25
|
-
"title": "Local service not running",
|
|
26
|
-
"body": "The plugin talks to the local toc-ocra service at {{url}}. This desktop app version cannot start it for you, so start it in a terminal; after updating the app you can switch it on here.",
|
|
27
|
-
"once": "Run once (stops when the terminal closes)",
|
|
28
|
-
"service": "For everyday use: install it as a background service that starts at login",
|
|
29
|
-
"node": "Requires Node.js 20 or newer. This page refreshes on its own once the service is up."
|
|
30
|
-
},
|
|
31
|
-
"pair": {
|
|
32
|
-
"title": "Connect to the local service",
|
|
33
|
-
"body": "The local service shows a 6-digit connection code when it starts. You can also print it with this command.",
|
|
34
|
-
"placeholder": "6-digit code",
|
|
35
|
-
"submit": "Connect",
|
|
36
|
-
"wrong": "Wrong code. Check it again (a code changes after it is used).",
|
|
37
|
-
"locked": "Too many wrong codes. Try again with the new code in 30 seconds."
|
|
38
|
-
},
|
|
39
|
-
"status": {
|
|
40
|
-
"title": "This computer",
|
|
41
|
-
"service": "Local service",
|
|
42
|
-
"binding": "Binding",
|
|
43
|
-
"device": "Device",
|
|
44
|
-
"server": "Server",
|
|
45
|
-
"runs": "Running tasks",
|
|
46
|
-
"lastError": "Last error: {{error}}",
|
|
47
|
-
"tokenFromEnv": "The device token comes from the TOC_OCRA_TOKEN environment variable, so binding can't be changed here.",
|
|
48
|
-
"unpair": "Unbind"
|
|
49
|
-
},
|
|
50
|
-
"binding": {
|
|
51
|
-
"unpaired": "Not bound",
|
|
52
|
-
"revoked": "Credentials revoked",
|
|
53
|
-
"online": "Online",
|
|
54
|
-
"connecting": "Connecting"
|
|
55
|
-
},
|
|
56
|
-
"bind": {
|
|
57
|
-
"title": "Bind to the current server",
|
|
58
|
-
"rebindTitle": "Bind again",
|
|
59
|
-
"revoked": "The server no longer accepts this computer's credentials (it may have been unpaired on the Devices page). Bind it again.",
|
|
60
|
-
"elsewhere": "This computer is bound to {{bound}}, but you are using {{current}}. Binding again switches it to the current server.",
|
|
61
|
-
"body": "Once bound, tasks sent to this device in \"{{workspace}}\" run on this computer (server: {{server}}).",
|
|
62
|
-
"server": "Server address",
|
|
63
|
-
"device": "Device",
|
|
64
|
-
"newDevice": "Find this computer automatically",
|
|
65
|
-
"replaces": "replaces its current binding",
|
|
66
|
-
"name": "Name for first registration",
|
|
67
|
-
"identityRequired": "Update the device agent or select an existing device to bind.",
|
|
68
|
-
"submit": "Bind",
|
|
69
|
-
"working": "Binding…",
|
|
70
|
-
"noWorkspace": "Select a workspace first.",
|
|
71
|
-
"noServer": "The server address is missing.",
|
|
72
|
-
"done": "This computer is now bound to {{server}}"
|
|
73
|
-
},
|
|
74
|
-
"auto": {
|
|
75
|
-
"done": "Switched to {{server}} automatically (device: {{device}})",
|
|
76
|
-
"deferred": "Tasks are running; this computer switches to {{server}} when they finish"
|
|
77
|
-
},
|
|
78
|
-
"cli": {
|
|
79
|
-
"title": "CLIs on this computer",
|
|
80
|
-
"runnable": "Runnable",
|
|
81
|
-
"detectOnly": "Detected only",
|
|
82
|
-
"none": "No usable CLI detected.",
|
|
83
|
-
"redetect": "Detect again"
|
|
84
|
-
},
|
|
85
|
-
"tabs": {
|
|
86
|
-
"local": "This computer",
|
|
87
|
-
"remote": "Other computers",
|
|
88
|
-
"providers": "TB Switch"
|
|
89
|
-
},
|
|
90
|
-
"provider": {
|
|
91
|
-
"chooseDevice": "Manage device",
|
|
92
|
-
"selectDevice": "Select a device",
|
|
93
|
-
"myDevice": "My device",
|
|
94
|
-
"owner": "{{owner}}'s device",
|
|
95
|
-
"thisDevice": "This computer",
|
|
96
|
-
"refreshDevices": "Refresh devices",
|
|
97
|
-
"loadingDevices": "Loading workspace devices…",
|
|
98
|
-
"loading": "Loading…",
|
|
99
|
-
"retry": "Retry",
|
|
100
|
-
"noWorkspace": "Select a workspace first.",
|
|
101
|
-
"noDevices": "No devices are available in this workspace.",
|
|
102
|
-
"noDevicesDescription": "Devices available in the workspace will appear here.",
|
|
103
|
-
"status": {
|
|
104
|
-
"notPaired": "Not paired",
|
|
105
|
-
"online": "Online",
|
|
106
|
-
"offline": "Offline",
|
|
107
|
-
"paused": "Paused"
|
|
108
|
-
},
|
|
109
|
-
"title": "TB Switch settings",
|
|
110
|
-
"description": "View and switch configured providers and the default route on {{name}}.",
|
|
111
|
-
"cli": "CLI",
|
|
112
|
-
"refresh": "Refresh settings",
|
|
113
|
-
"notPaired": "This device is not paired with the device agent, so TB Switch settings cannot be read.",
|
|
114
|
-
"paused": "The device agent is paused. Resume it to read and change settings.",
|
|
115
|
-
"offline": "The device agent is offline. Settings will be available when it comes back online.",
|
|
116
|
-
"loadingState": "Loading {{app}} settings…",
|
|
117
|
-
"selectHint": "Choose a CLI to read its existing settings on the selected device.",
|
|
118
|
-
"readOnly": "You can view settings, but only the device owner or a workspace admin can change them.",
|
|
119
|
-
"ownerOnly": "Only the device owner or a workspace admin can change settings on this device.",
|
|
120
|
-
"refreshed": "Settings refreshed.",
|
|
121
|
-
"updated": "Device settings updated.",
|
|
122
|
-
"warnings": "Switching notes",
|
|
123
|
-
"mode": "Provider mode",
|
|
124
|
-
"single": "Single provider",
|
|
125
|
-
"multi": "Multi-provider routing",
|
|
126
|
-
"singleDescription": "Use one current provider for the entire CLI.",
|
|
127
|
-
"multiDescription": "Use configured providers based on model routes.",
|
|
128
|
-
"multiUnsupported": "This CLI does not support multi-provider routing.",
|
|
129
|
-
"noRoutes": "No routes are available. Configure them in the desktop TB Switch plugin first.",
|
|
130
|
-
"defaultRoute": "Default model route",
|
|
131
|
-
"proxyRunning": "Proxy running",
|
|
132
|
-
"providerRemoved": "Provider removed",
|
|
133
|
-
"configuredProviders": "Configured providers",
|
|
134
|
-
"noProviders": "No providers are configured. Configure them in the desktop TB Switch plugin first.",
|
|
135
|
-
"official": "Official login",
|
|
136
|
-
"custom": "Custom provider",
|
|
137
|
-
"current": "Current",
|
|
138
|
-
"currentProvider": "Current provider: {{name}}. Open CLI sessions may need to restart to use the new settings.",
|
|
139
|
-
"confirmModeTitle": "Change provider mode?",
|
|
140
|
-
"confirmMulti": "Configured providers will be selected by model route.",
|
|
141
|
-
"confirmSingle": "The CLI will use one current provider. Configured model routes will be kept.",
|
|
142
|
-
"confirmModeHelp": "This changes existing settings on the selected device. It does not add or edit providers or routes.",
|
|
143
|
-
"cancel": "Cancel",
|
|
144
|
-
"confirm": "Confirm"
|
|
145
|
-
},
|
|
146
|
-
"service": {
|
|
147
|
-
"title": "Local device agent",
|
|
148
|
-
"onBody": "On: this computer takes tasks from task chains and runs CLIs such as Codex and Claude locally.",
|
|
149
|
-
"offBody": "Turn it on and the desktop app starts the device agent on this computer and binds it to the current server. No terminal needed.",
|
|
150
|
-
"followsApp": "The agent follows the desktop app: it starts with the app and stops when the app quits (it shows offline about 90 seconds later).",
|
|
151
|
-
"starting": "Starting the local device agent…",
|
|
152
|
-
"onExternalBody": "Enabled: the device agent on this computer is already running (a background service or toc-ocra started in a terminal). It receives task-chain work and runs Codex, Claude and other CLIs here.",
|
|
153
|
-
"external": "Connected to the agent already running on this computer instead of starting another. It does not stop when the desktop app quits; to turn it off run toc-ocra service:uninstall in a terminal (or stop the toc-ocra you started).",
|
|
154
|
-
"portTaken": "The local service port is used by another program, so the desktop app cannot start the device agent.",
|
|
155
|
-
"crashed": "The device agent stopped unexpectedly: {{error}}"
|
|
156
|
-
},
|
|
157
|
-
"remote": {
|
|
158
|
-
"title": "Install on another computer",
|
|
159
|
-
"body": "A Linux server, another Mac or a Windows PC: generate one command and run it in that computer's terminal. It installs, pairs and sets up the background service, and this page shows the match when it is done.",
|
|
160
|
-
"server": "Server address that computer uses",
|
|
161
|
-
"serverInvalid": "The server address is invalid. Use an address starting with http:// or https://.",
|
|
162
|
-
"loopback": "127.0.0.1 / localhost only works on this computer. Other computers cannot reach it; use this server's LAN or public address.",
|
|
163
|
-
"add": "Add a computer",
|
|
164
|
-
"platformLabel": "System",
|
|
165
|
-
"platform": {
|
|
166
|
-
"linux": "Linux server",
|
|
167
|
-
"mac": "macOS",
|
|
168
|
-
"win": "Windows"
|
|
169
|
-
},
|
|
170
|
-
"name": "Device name",
|
|
171
|
-
"namePlaceholder": "e.g. Test server",
|
|
172
|
-
"generate": "Generate install command",
|
|
173
|
-
"working": "Generating…",
|
|
174
|
-
"cancel": "Cancel",
|
|
175
|
-
"pendingTitle": "Run on \"{{name}}\"",
|
|
176
|
-
"pendingBody": "Copy this command and run it in that computer's terminal:",
|
|
177
|
-
"hintNode": "Requires Node.js 20 or newer.",
|
|
178
|
-
"hintLinux": "If npm reports a permission error, prefix npm install with sudo (or use Node from nvm). To stay online after logging out, run loginctl enable-linger \"$USER\" once.",
|
|
179
|
-
"hintWindows": "Run it in PowerShell.",
|
|
180
|
-
"expires": "The pairing code expires in {{minutes}}:{{seconds}} and works once.",
|
|
181
|
-
"expired": "The pairing code expired. Generate a new one.",
|
|
182
|
-
"waiting": "Waiting for that computer to run the command… This updates on its own.",
|
|
183
|
-
"regenerate": "Generate again",
|
|
184
|
-
"matched": "Matched",
|
|
185
|
-
"matchedBody": "\"{{name}}\" is online and ready to use in workstations.",
|
|
186
|
-
"matchedNotice": "\"{{name}}\" is online",
|
|
187
|
-
"done": "Done",
|
|
188
|
-
"listTitle": "My other computers",
|
|
189
|
-
"empty": "No other computers yet.",
|
|
190
|
-
"install": "Generate install command",
|
|
191
|
-
"repair": "Pair again",
|
|
192
|
-
"enabled": "Take tasks",
|
|
193
|
-
"disableHint": "Turning off \"Take tasks\" disables the device: the pairing is kept, no tasks are sent, and turning it back on restores it right away without touching that computer.",
|
|
194
|
-
"uninstall": "To uninstall completely, run on that computer",
|
|
195
|
-
"status": {
|
|
196
|
-
"online": "Online",
|
|
197
|
-
"offline": "Offline",
|
|
198
|
-
"disabled": "Disabled",
|
|
199
|
-
"notConnected": "Not paired"
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"nav": {
|
|
3
|
+
"title": "Device agent"
|
|
4
|
+
},
|
|
5
|
+
"page": {
|
|
6
|
+
"title": "Device agent",
|
|
7
|
+
"subtitle": "Let computers take tasks from task chains: enable this one with one click, connect others with one command."
|
|
8
|
+
},
|
|
9
|
+
"common": {
|
|
10
|
+
"copy": "Copy",
|
|
11
|
+
"copied": "Copied",
|
|
12
|
+
"checking": "Checking the local service…"
|
|
13
|
+
},
|
|
14
|
+
"error": {
|
|
15
|
+
"offline": "Can't reach the local service. Make sure toc-ocra is running."
|
|
16
|
+
},
|
|
17
|
+
"health": {
|
|
18
|
+
"online": "Online: {{name}}",
|
|
19
|
+
"disconnected": "Bound, but the server is not reachable right now",
|
|
20
|
+
"unpaired": "Local service running, not bound to a server yet",
|
|
21
|
+
"offline": "Local service not running",
|
|
22
|
+
"disabled": "The local device agent is off"
|
|
23
|
+
},
|
|
24
|
+
"offline": {
|
|
25
|
+
"title": "Local service not running",
|
|
26
|
+
"body": "The plugin talks to the local toc-ocra service at {{url}}. This desktop app version cannot start it for you, so start it in a terminal; after updating the app you can switch it on here.",
|
|
27
|
+
"once": "Run once (stops when the terminal closes)",
|
|
28
|
+
"service": "For everyday use: install it as a background service that starts at login",
|
|
29
|
+
"node": "Requires Node.js 20 or newer. This page refreshes on its own once the service is up."
|
|
30
|
+
},
|
|
31
|
+
"pair": {
|
|
32
|
+
"title": "Connect to the local service",
|
|
33
|
+
"body": "The local service shows a 6-digit connection code when it starts. You can also print it with this command.",
|
|
34
|
+
"placeholder": "6-digit code",
|
|
35
|
+
"submit": "Connect",
|
|
36
|
+
"wrong": "Wrong code. Check it again (a code changes after it is used).",
|
|
37
|
+
"locked": "Too many wrong codes. Try again with the new code in 30 seconds."
|
|
38
|
+
},
|
|
39
|
+
"status": {
|
|
40
|
+
"title": "This computer",
|
|
41
|
+
"service": "Local service",
|
|
42
|
+
"binding": "Binding",
|
|
43
|
+
"device": "Device",
|
|
44
|
+
"server": "Server",
|
|
45
|
+
"runs": "Running tasks",
|
|
46
|
+
"lastError": "Last error: {{error}}",
|
|
47
|
+
"tokenFromEnv": "The device token comes from the TOC_OCRA_TOKEN environment variable, so binding can't be changed here.",
|
|
48
|
+
"unpair": "Unbind"
|
|
49
|
+
},
|
|
50
|
+
"binding": {
|
|
51
|
+
"unpaired": "Not bound",
|
|
52
|
+
"revoked": "Credentials revoked",
|
|
53
|
+
"online": "Online",
|
|
54
|
+
"connecting": "Connecting"
|
|
55
|
+
},
|
|
56
|
+
"bind": {
|
|
57
|
+
"title": "Bind to the current server",
|
|
58
|
+
"rebindTitle": "Bind again",
|
|
59
|
+
"revoked": "The server no longer accepts this computer's credentials (it may have been unpaired on the Devices page). Bind it again.",
|
|
60
|
+
"elsewhere": "This computer is bound to {{bound}}, but you are using {{current}}. Binding again switches it to the current server.",
|
|
61
|
+
"body": "Once bound, tasks sent to this device in \"{{workspace}}\" run on this computer (server: {{server}}).",
|
|
62
|
+
"server": "Server address",
|
|
63
|
+
"device": "Device",
|
|
64
|
+
"newDevice": "Find this computer automatically",
|
|
65
|
+
"replaces": "replaces its current binding",
|
|
66
|
+
"name": "Name for first registration",
|
|
67
|
+
"identityRequired": "Update the device agent or select an existing device to bind.",
|
|
68
|
+
"submit": "Bind",
|
|
69
|
+
"working": "Binding…",
|
|
70
|
+
"noWorkspace": "Select a workspace first.",
|
|
71
|
+
"noServer": "The server address is missing.",
|
|
72
|
+
"done": "This computer is now bound to {{server}}"
|
|
73
|
+
},
|
|
74
|
+
"auto": {
|
|
75
|
+
"done": "Switched to {{server}} automatically (device: {{device}})",
|
|
76
|
+
"deferred": "Tasks are running; this computer switches to {{server}} when they finish"
|
|
77
|
+
},
|
|
78
|
+
"cli": {
|
|
79
|
+
"title": "CLIs on this computer",
|
|
80
|
+
"runnable": "Runnable",
|
|
81
|
+
"detectOnly": "Detected only",
|
|
82
|
+
"none": "No usable CLI detected.",
|
|
83
|
+
"redetect": "Detect again"
|
|
84
|
+
},
|
|
85
|
+
"tabs": {
|
|
86
|
+
"local": "This computer",
|
|
87
|
+
"remote": "Other computers",
|
|
88
|
+
"providers": "TB Switch"
|
|
89
|
+
},
|
|
90
|
+
"provider": {
|
|
91
|
+
"chooseDevice": "Manage device",
|
|
92
|
+
"selectDevice": "Select a device",
|
|
93
|
+
"myDevice": "My device",
|
|
94
|
+
"owner": "{{owner}}'s device",
|
|
95
|
+
"thisDevice": "This computer",
|
|
96
|
+
"refreshDevices": "Refresh devices",
|
|
97
|
+
"loadingDevices": "Loading workspace devices…",
|
|
98
|
+
"loading": "Loading…",
|
|
99
|
+
"retry": "Retry",
|
|
100
|
+
"noWorkspace": "Select a workspace first.",
|
|
101
|
+
"noDevices": "No devices are available in this workspace.",
|
|
102
|
+
"noDevicesDescription": "Devices available in the workspace will appear here.",
|
|
103
|
+
"status": {
|
|
104
|
+
"notPaired": "Not paired",
|
|
105
|
+
"online": "Online",
|
|
106
|
+
"offline": "Offline",
|
|
107
|
+
"paused": "Paused"
|
|
108
|
+
},
|
|
109
|
+
"title": "TB Switch settings",
|
|
110
|
+
"description": "View and switch configured providers and the default route on {{name}}.",
|
|
111
|
+
"cli": "CLI",
|
|
112
|
+
"refresh": "Refresh settings",
|
|
113
|
+
"notPaired": "This device is not paired with the device agent, so TB Switch settings cannot be read.",
|
|
114
|
+
"paused": "The device agent is paused. Resume it to read and change settings.",
|
|
115
|
+
"offline": "The device agent is offline. Settings will be available when it comes back online.",
|
|
116
|
+
"loadingState": "Loading {{app}} settings…",
|
|
117
|
+
"selectHint": "Choose a CLI to read its existing settings on the selected device.",
|
|
118
|
+
"readOnly": "You can view settings, but only the device owner or a workspace admin can change them.",
|
|
119
|
+
"ownerOnly": "Only the device owner or a workspace admin can change settings on this device.",
|
|
120
|
+
"refreshed": "Settings refreshed.",
|
|
121
|
+
"updated": "Device settings updated.",
|
|
122
|
+
"warnings": "Switching notes",
|
|
123
|
+
"mode": "Provider mode",
|
|
124
|
+
"single": "Single provider",
|
|
125
|
+
"multi": "Multi-provider routing",
|
|
126
|
+
"singleDescription": "Use one current provider for the entire CLI.",
|
|
127
|
+
"multiDescription": "Use configured providers based on model routes.",
|
|
128
|
+
"multiUnsupported": "This CLI does not support multi-provider routing.",
|
|
129
|
+
"noRoutes": "No routes are available. Configure them in the desktop TB Switch plugin first.",
|
|
130
|
+
"defaultRoute": "Default model route",
|
|
131
|
+
"proxyRunning": "Proxy running",
|
|
132
|
+
"providerRemoved": "Provider removed",
|
|
133
|
+
"configuredProviders": "Configured providers",
|
|
134
|
+
"noProviders": "No providers are configured. Configure them in the desktop TB Switch plugin first.",
|
|
135
|
+
"official": "Official login",
|
|
136
|
+
"custom": "Custom provider",
|
|
137
|
+
"current": "Current",
|
|
138
|
+
"currentProvider": "Current provider: {{name}}. Open CLI sessions may need to restart to use the new settings.",
|
|
139
|
+
"confirmModeTitle": "Change provider mode?",
|
|
140
|
+
"confirmMulti": "Configured providers will be selected by model route.",
|
|
141
|
+
"confirmSingle": "The CLI will use one current provider. Configured model routes will be kept.",
|
|
142
|
+
"confirmModeHelp": "This changes existing settings on the selected device. It does not add or edit providers or routes.",
|
|
143
|
+
"cancel": "Cancel",
|
|
144
|
+
"confirm": "Confirm"
|
|
145
|
+
},
|
|
146
|
+
"service": {
|
|
147
|
+
"title": "Local device agent",
|
|
148
|
+
"onBody": "On: this computer takes tasks from task chains and runs CLIs such as Codex and Claude locally.",
|
|
149
|
+
"offBody": "Turn it on and the desktop app starts the device agent on this computer and binds it to the current server. No terminal needed.",
|
|
150
|
+
"followsApp": "The agent follows the desktop app: it starts with the app and stops when the app quits (it shows offline about 90 seconds later).",
|
|
151
|
+
"starting": "Starting the local device agent…",
|
|
152
|
+
"onExternalBody": "Enabled: the device agent on this computer is already running (a background service or toc-ocra started in a terminal). It receives task-chain work and runs Codex, Claude and other CLIs here.",
|
|
153
|
+
"external": "Connected to the agent already running on this computer instead of starting another. It does not stop when the desktop app quits; to turn it off run toc-ocra service:uninstall in a terminal (or stop the toc-ocra you started).",
|
|
154
|
+
"portTaken": "The local service port is used by another program, so the desktop app cannot start the device agent.",
|
|
155
|
+
"crashed": "The device agent stopped unexpectedly: {{error}}"
|
|
156
|
+
},
|
|
157
|
+
"remote": {
|
|
158
|
+
"title": "Install on another computer",
|
|
159
|
+
"body": "A Linux server, another Mac or a Windows PC: generate one command and run it in that computer's terminal. It installs, pairs and sets up the background service, and this page shows the match when it is done.",
|
|
160
|
+
"server": "Server address that computer uses",
|
|
161
|
+
"serverInvalid": "The server address is invalid. Use an address starting with http:// or https://.",
|
|
162
|
+
"loopback": "127.0.0.1 / localhost only works on this computer. Other computers cannot reach it; use this server's LAN or public address.",
|
|
163
|
+
"add": "Add a computer",
|
|
164
|
+
"platformLabel": "System",
|
|
165
|
+
"platform": {
|
|
166
|
+
"linux": "Linux server",
|
|
167
|
+
"mac": "macOS",
|
|
168
|
+
"win": "Windows"
|
|
169
|
+
},
|
|
170
|
+
"name": "Device name",
|
|
171
|
+
"namePlaceholder": "e.g. Test server",
|
|
172
|
+
"generate": "Generate install command",
|
|
173
|
+
"working": "Generating…",
|
|
174
|
+
"cancel": "Cancel",
|
|
175
|
+
"pendingTitle": "Run on \"{{name}}\"",
|
|
176
|
+
"pendingBody": "Copy this command and run it in that computer's terminal:",
|
|
177
|
+
"hintNode": "Requires Node.js 20 or newer.",
|
|
178
|
+
"hintLinux": "If npm reports a permission error, prefix npm install with sudo (or use Node from nvm). To stay online after logging out, run loginctl enable-linger \"$USER\" once.",
|
|
179
|
+
"hintWindows": "Run it in PowerShell.",
|
|
180
|
+
"expires": "The pairing code expires in {{minutes}}:{{seconds}} and works once.",
|
|
181
|
+
"expired": "The pairing code expired. Generate a new one.",
|
|
182
|
+
"waiting": "Waiting for that computer to run the command… This updates on its own.",
|
|
183
|
+
"regenerate": "Generate again",
|
|
184
|
+
"matched": "Matched",
|
|
185
|
+
"matchedBody": "\"{{name}}\" is online and ready to use in workstations.",
|
|
186
|
+
"matchedNotice": "\"{{name}}\" is online",
|
|
187
|
+
"done": "Done",
|
|
188
|
+
"listTitle": "My other computers",
|
|
189
|
+
"empty": "No other computers yet.",
|
|
190
|
+
"install": "Generate install command",
|
|
191
|
+
"repair": "Pair again",
|
|
192
|
+
"enabled": "Take tasks",
|
|
193
|
+
"disableHint": "Turning off \"Take tasks\" disables the device: the pairing is kept, no tasks are sent, and turning it back on restores it right away without touching that computer.",
|
|
194
|
+
"uninstall": "To uninstall completely, run on that computer",
|
|
195
|
+
"status": {
|
|
196
|
+
"online": "Online",
|
|
197
|
+
"offline": "Offline",
|
|
198
|
+
"disabled": "Disabled",
|
|
199
|
+
"notConnected": "Not paired"
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|