Showing the changes to apps/server/src/cli (3 of 12 files). Show all
Unified · Split
| @@ -695,7 +695,7 @@ export const connectCommand = Command.make("connect", { · 694 unmodified lines | ||
| 695 | 695 | const background = yield* recoverServiceOnboardingOffer(offerServiceDuringOnboarding); |
| 696 | 696 | if (background) { |
| 697 | 697 | yield* Console.log( |
| 698 | − "\n✓ Background service ready\n\nT3 Code will stay reachable after you log out.", | |
| 698 | + "\n✓ Background service ready\n\nT3 Code will start automatically and stay reachable in the background.", | |
| 699 | 699 | ); |
| 700 | 700 | return; |
| 701 | 701 | } |
| @@ -16,7 +16,7 @@ it("reports the installed service version and host paths", () => { · 15 unmodified lines | ||
| 16 | 16 | [ |
| 17 | 17 | "T3 Code service", |
| 18 | 18 | " Status: installed · t3@0.0.29", |
| 19 | − " Unit: /home/me/.config/systemd/user/t3code.service", | |
| 19 | + " Definition: /home/me/.config/systemd/user/t3code.service", | |
| 20 | 20 | " Logs: /home/me/.t3/userdata/logs/boot-service.log", |
| 21 | 21 | ].join("\n"), |
| 22 | 22 | ); |
| @@ -29,9 +29,9 @@ it("gives a direct repair command for a stale service", () => { · 6 unmodified lines | ||
| 29 | 29 | ); |
| 30 | 30 | }); |
| 31 | 31 | |
| 32 | −it("explains service availability without systemd", () => { | |
| 32 | +it("explains service availability on unsupported platforms", () => { | |
| 33 | 33 | assert.include( |
| 34 | 34 | formatServiceStatus({ ...status, supported: false, installed: false }, "0.0.29"), |
| 35 | − "Supported on: Linux with systemd", | |
| 35 | + "Supported on: macOS with launchd or Linux with systemd", | |
| 36 | 36 | ); |
| 37 | 37 | }); |
| @@ -48,7 +48,7 @@ export function formatServiceStatus( · 47 unmodified lines | ||
| 48 | 48 | cliVersion: string, |
| 49 | 49 | ): string { |
| 50 | 50 | if (!status.supported) { |
| 51 | − return "T3 Code service\n Status: unavailable on this machine\n Supported on: Linux with systemd"; | |
| 51 | + return "T3 Code service\n Status: unavailable on this machine\n Supported on: macOS with launchd or Linux with systemd"; | |
| 52 | 52 | } |
| 53 | 53 | if (!status.installed) { |
| 54 | 54 | return "T3 Code service\n Status: not installed\n Next: Run `t3 service install`."; |
| @@ -56,7 +56,7 @@ export function formatServiceStatus( · 1 unmodified line | ||
| 56 | 56 | return [ |
| 57 | 57 | "T3 Code service", |
| 58 | 58 | ` Status: ${status.current ? `installed · t3@${cliVersion}` : "needs an update or repair"}`, |
| 59 | − ` Unit: ${status.unitPath}`, | |
| 59 | + ` Definition: ${status.unitPath}`, | |
| 60 | 60 | ` Logs: ${status.logPath}`, |
| 61 | 61 | ...(status.current ? [] : [" Next: Run `npx t3@latest service update`."]), |
| 62 | 62 | ].join("\n"); |
| @@ -156,8 +156,7 @@ export const offerServiceDuringOnboarding = Effect.gen(function* () { · 93 unmodified lines | ||
| 156 | 156 | Prompt.confirm({ |
| 157 | 157 | message: installed |
| 158 | 158 | ? "The installed T3 Code service needs an update or repair. Update it now?" |
| 159 | − : "Run T3 Code in the background whenever this machine boots? " + | |
| 160 | − "It stays reachable through T3 Connect even after you log out.", | |
| 159 | + : "Start T3 Code automatically and keep this machine reachable in the background?", | |
| 161 | 160 | initial: true, |
| 162 | 161 | }), |
| 163 | 162 | ); |