Add refinements to the AI onboarding flow (#33738)

This includes making sure that both the agent panel and Zed's edit
prediction have a consistent narrative when it comes to onboarding users
into the AI features, considering the possible different plans and
conditions (such as being signed in/out, account age, etc.)

Release Notes:

- N/A

---------

Co-authored-by: Bennet Bo Fenner <53836821+bennetbo@users.noreply.github.com>
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
This commit is contained in:
Danilo Leal 2025-07-18 13:25:36 -03:00 committed by GitHub
parent 9a20843ba2
commit 4476860664
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 1465 additions and 1215 deletions

22
Cargo.lock generated
View file

@ -195,6 +195,7 @@ dependencies = [
"agent_servers",
"agent_settings",
"agentic-coding-protocol",
"ai_onboarding",
"anyhow",
"assistant_context",
"assistant_slash_command",
@ -329,6 +330,22 @@ dependencies = [
"memchr",
]
[[package]]
name = "ai_onboarding"
version = "0.1.0"
dependencies = [
"client",
"component",
"gpui",
"language_model",
"proto",
"serde",
"smallvec",
"ui",
"workspace-hack",
"zed_actions",
]
[[package]]
name = "alacritty_terminal"
version = "0.25.1-dev"
@ -9066,6 +9083,7 @@ dependencies = [
name = "language_models"
version = "0.1.0"
dependencies = [
"ai_onboarding",
"anthropic",
"anyhow",
"aws-config",
@ -20510,6 +20528,7 @@ dependencies = [
name = "zeta"
version = "0.1.0"
dependencies = [
"ai_onboarding",
"anyhow",
"arrayvec",
"call",
@ -20517,6 +20536,7 @@ dependencies = [
"clock",
"collections",
"command_palette_hooks",
"copilot",
"ctor",
"db",
"editor",
@ -20531,8 +20551,6 @@ dependencies = [
"language_model",
"log",
"menu",
"migrator",
"paths",
"postage",
"project",
"proto",