You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
f"\n{_DIM}No active project — use /start for inline onboarding, /chat for managed backend chat, or /project init, "
2426
+
f"\n{_DIM}No active project — use /chat for inline onboarding, /managed-chat for a managed backend child session, or /project init, "
2427
2427
f"/project convert, /project create <path>, or /project use <path>.{_RST}"
2428
2428
)
2429
2429
@@ -2440,7 +2440,7 @@ def show_help(self):
2440
2440
)
2441
2441
2442
2442
_cprint(
2443
-
f"\n{_DIM}Tip: Start with /start for inline onboarding or /chat for managed backend chat if you want orientation first. Use /project when you're ready to work in a Lean repo, "
2443
+
f"\n{_DIM}Tip: Start with /chat for inline onboarding if you want orientation first. Use /managed-chat if you want the configured managed backend child session. Use /project when you're ready to work in a Lean repo, "
f"{prefix} Use /project init, /project convert, /project create <path>, or /project use <path> first.",
3412
3413
)
3413
3414
self._print_surface_notice(
3414
-
"[dim]If you only want orientation first, run `/start` for inline onboarding chat or `/chat` for the configured managed backend chat session.[/]",
3415
-
"If you only want orientation first, run /start for inline onboarding chat or /chat for the configured managed backend chat session.",
3415
+
"[dim]If you only want orientation first, run `/chat` for inline onboarding chat or `/managed-chat` for the configured managed backend child session.[/]",
3416
+
"If you only want orientation first, run /chat for inline onboarding chat or /managed-chat for the configured managed backend child session.",
f"[dim]`/chat` is {state_label}. When it is on, plain text goes to the main interactive provider in the current Gauss session. "
3524
+
"Use `/chat off` to return to top-level command mode, or `/managed-chat` if you want the configured managed backend child session.[/]",
3525
+
f"`/chat` is {state_label}. When it is on, plain text goes to the main interactive provider in the current Gauss session. "
3526
+
"Use /chat off to return to top-level command mode, or /managed-chat if you want the configured managed backend child session.",
3527
+
)
3528
+
return
3529
+
3530
+
ifloweredin {"off", "disable", "stop"}:
3531
+
self._chat_mode_enabled=False
3532
+
self._print_surface_notice(
3533
+
"[dim]`/chat` is off. Plain text stays at the top-level Open Gauss prompt until you run `/chat` again.[/]",
3534
+
"`/chat` is off. Plain text stays at the top-level Open Gauss prompt until you run /chat again.",
3535
+
)
3536
+
return
3537
+
3538
+
ifloweredin {"on", "enable", "start"}:
3539
+
payload=""
3540
+
3541
+
self._chat_mode_enabled=True
3542
+
self._print_surface_notice(
3543
+
"[bold green]`/chat` is on.[/] "
3544
+
"[dim]Plain text now goes to the main interactive provider even without an active Gauss project.[/]",
3545
+
"`/chat` is on. Plain text now goes to the main interactive provider even without an active Gauss project.",
3546
+
)
3547
+
self._print_surface_notice(
3548
+
"[dim]Next: use `/project use <path>` for an existing Lean repo, `/project init` in the current repo, "
3549
+
"`/project create <path> --template-source <template-or-git-url>` for a new one, or `/managed-chat` if you want the configured managed backend child session instead.[/]",
3550
+
"Next: use /project use <path> for an existing Lean repo, /project init in the current repo, /project create <path> --template-source <template-or-git-url> for a new one, or /managed-chat if you want the configured managed backend child session instead.",
3551
+
)
3552
+
self._print_surface_notice(
3553
+
"[dim]When the project is ready, run `/prove`, `/review`, `/draft`, `/autoprove`, or `/swarm`.[/]",
3554
+
"When the project is ready, run /prove, /review, /draft, /autoprove, or /swarm.",
3555
+
)
3556
+
ifpayload:
3557
+
self._print_surface_notice(
3558
+
"[dim]`/chat` is sending your message to the main interactive provider.[/]",
3559
+
"`/chat` is sending your message to the main interactive provider.",
"""Handle `/start` with a short first-step guide and chat-mode enablement."""
3564
-
parts=cmd.strip().split(maxsplit=1)
3565
-
payload=parts[1].strip() iflen(parts) >1else""
3566
-
3567
-
self._chat_mode_enabled=True
3568
-
self._print_surface_notice(
3569
-
"[bold green]`/start` is on.[/] "
3570
-
"[dim]Plain text now goes to the main interactive provider even without an active Gauss project.[/]",
3571
-
"`/start` is on. Plain text now goes to the main interactive provider even without an active Gauss project.",
3572
-
)
3573
-
self._print_surface_notice(
3574
-
"[dim]Next: use `/chat` if you want the configured managed backend chat session, `/project use <path>` for an existing Lean repo, "
3575
-
"`/project init` in the current repo, or `/project create <path> --template-source <template-or-git-url>` for a new one.[/]",
3576
-
"Next: use /chat if you want the configured managed backend chat session, /project use <path> for an existing Lean repo, /project init in the current repo, or /project create <path> --template-source <template-or-git-url> for a new one.",
3577
-
)
3578
-
self._print_surface_notice(
3579
-
"[dim]When the project is ready, run `/prove`, `/review`, `/draft`, `/autoprove`, or `/swarm`.[/]",
3580
-
"When the project is ready, run /prove, /review, /draft, /autoprove, or /swarm.",
3581
-
)
3582
-
ifpayload:
3583
-
self._print_surface_notice(
3584
-
"[dim]`/start` is sending your message to the main interactive provider.[/]",
3585
-
"`/start` is sending your message to the main interactive provider.",
_welcome_text=_welcome_skin.get_branding("welcome", "Welcome to Gauss! Type /start for inline onboarding, /chat for managed backend chat, or /help for commands.")
6436
+
_welcome_text=_welcome_skin.get_branding("welcome", "Welcome to Gauss! Type /chat for inline onboarding, /project for project setup, or /help for commands.")
0 commit comments