Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src-node/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 15 additions & 17 deletions src/nls/root/strings.js
Original file line number Diff line number Diff line change
Expand Up @@ -2760,29 +2760,27 @@ define({
"AI_CHAT_STOP_TITLE": "Stop generation (Esc)",
"AI_NOTIFY_CLI_DONE_TITLE": "{0} is done",
"AI_NOTIFY_VIEW_CHAT": "View chat",
"AI_CHAT_CLI_CONNECTING": "Connecting to Phoenix…",
"AI_CHAT_CLI_CONNECTED": "Connected to Phoenix",
"AI_CHAT_CLI_CONNECTION_TITLE": "Phoenix connection",
"AI_CHAT_CLI_CONNECTING": "Connecting to {APP_NAME}…",
"AI_CHAT_CLI_CONNECTED": "Connected to {APP_NAME}",
"AI_CHAT_CLI_CONNECTION_TITLE": "{APP_NAME} connection",
"AI_CHAT_CLI_CONTEXT_TITLE": "See your editor context",
"AI_CHAT_CLI_CONTEXT_DESC": "Open files, selections and Live Preview.",
"AI_CHAT_CLI_TOOLS_TITLE": "Use Phoenix tools",
"AI_CHAT_CLI_TOOLS_TITLE": "Use {APP_NAME} tools",
"AI_CHAT_CLI_TOOLS_DESC": "Edit files, inspect the page and interact with Live Preview.",
"AI_CHAT_CLI_DISCONNECT": "Disconnect Phoenix",
"AI_CHAT_CLI_RECONNECT": "Reconnect Phoenix",
"AI_CHAT_CLI_DISCONNECTED": "Disconnected from Phoenix",
"AI_CHAT_CLI_DISCONNECT": "Disconnect {APP_NAME}",
"AI_CHAT_CLI_RECONNECT": "Reconnect {APP_NAME}",
"AI_CHAT_CLI_DISCONNECTED": "Disconnected from {APP_NAME}",
"AI_CHAT_CLI_KEEP_RUNNING": "Your CLI session will keep running.",
"AI_CHAT_CLI_CONNECT_RESTART": "Start a new CLI session to connect again.",
"AI_CHAT_CLI_TOGGLE_FAILED": "Could not change the connection. Please try again.",
"AI_CHAT_CLI_EDITOR_UNAVAILABLE": "Waiting for the Phoenix editor to reconnect.",
"AI_CHAT_CLI_CONNECTED_TOOLTIP": "{0} is connected to Phoenix: it sees the open file, unsaved changes and the live preview, and can use the editor's tools.",
"AI_CHAT_CLI_CONNECTED_NO_HOOKS_TOOLTIP": "{0} can use Phoenix's editor tools, but does not yet receive the editor state with each prompt.",
"AI_CHAT_CLI_EDITOR_UNAVAILABLE": "Waiting for {APP_NAME} to reconnect.",
"AI_CHAT_CLI_PAUSED": "Paused",
"AI_CHAT_CLI_PAUSED_TOOLTIP": "A different project is open, so {0} cannot use the editor. Switch the session to this project to reconnect it.",
"AI_CHAT_CLI_NOT_CONNECTED": "Not connected to Phoenix",
"AI_CHAT_CLI_CONNECT_ERROR": "{0} could not connect to Phoenix and is running without it: {1}",
"AI_SETTINGS_CLI_CONNECT_LABEL": "Connect {0} to Phoenix",
"AI_CHAT_CLI_NOT_CONNECTED": "Not connected to {APP_NAME}",
"AI_CHAT_CLI_CONNECT_ERROR": "{0} could not connect to {APP_NAME} and is running without it: {1}",
"AI_SETTINGS_CLI_CONNECT_LABEL": "Connect {0} to {APP_NAME}",
"AI_SETTINGS_CLI_CONNECT_DESC": "When launched from the AI panel, the CLI sees your open files, unsaved changes and live preview, and can use the editor's tools. Takes effect the next time it starts.",
"AI_CHAT_CLI_HOOK_REVIEW": "{0} may ask you to review Phoenix's hooks. After reviewing them, select “Trust all and continue” to keep editor context and open files in sync. Without these hooks, you can still use the Phoenix tools.",
"AI_CHAT_CLI_HOOK_REVIEW": "{0} may ask you to review {APP_NAME}'s hooks. After reviewing them, select “Trust all and continue” to keep editor context and open files in sync. Without these hooks, you can still use the {APP_NAME} tools.",
"AI_CHAT_CLI_NOT_FOUND": "Claude Code Not Installed",
"AI_CHAT_CLI_INSTALL_MSG": "Claude Code CLI must be installed on your system to use AI features in {APP_NAME}.",
"AI_CHAT_CLI_INSTALL_BTN": "Install Claude Code",
Expand Down Expand Up @@ -2893,8 +2891,8 @@ define({
"AI_CHAT_USAGE_TURNS_CALLS": "Turns \u00b7 API calls",
"AI_CHAT_USAGE_API_TIME": "Time in API",
"AI_CHAT_USAGE_COST": "Cost at list price",
"AI_CHAT_USAGE_NOTE": "You won’t be charged this amount by Phoenix Pro.",
"AI_CHAT_USAGE_SPEND_INCLUDED": "If you’re using a Claude or ChatGPT subscription, you won’t be charged this amount separately by your AI provider.",
"AI_CHAT_USAGE_NOTE": "Your Claude or ChatGPT subscription covers this usage.",
"AI_CHAT_USAGE_SPEND_INCLUDED": "This estimates what your AI usage would cost at standard API prices, helping you see the value included in your subscription.\n\nIf you have a Claude or ChatGPT subscription, you won’t be charged this amount by your AI provider.",
"AI_CHAT_USAGE_SPEND_NO_PRO_CHARGE": "You won’t be charged this amount by Phoenix Pro.",
"AI_CHAT_USAGE_OPTION_TURNS": "Show usage after every turn",
"AI_CHAT_USAGE_OPTION_DOLLARS": "Show $ cost",
Expand Down Expand Up @@ -3190,7 +3188,7 @@ define({
"LIVE_DEV_AI_CHAT_TRANSFER_KEYS": "Transfer the draft, then submit in the CLI",
"LIVE_DEV_AI_CHAT_CLI_NOT_READY": "Open a running CLI session, then try again. Your draft is kept here.",
"LIVE_DEV_AI_CHAT_CLI_TRANSFERRED": "Draft added. Review and press Enter to send.",
"LIVE_DEV_AI_CHAT_CLI_CONNECTION_REQUIRED": "Connect Phoenix using the connection button in the CLI header, then try again. If this session started without a connection, start a connected session. Your draft is kept here.",
"LIVE_DEV_AI_CHAT_CLI_CONNECTION_REQUIRED": "Connect {APP_NAME} using the connection button in the CLI header, then try again. If this session started without a connection, start a connected session. Your draft is kept here.",
"LIVE_DEV_AI_CHAT_CLI_CONTEXT_SUMMARY": "Attached from Phoenix: {0}.",
"LIVE_DEV_AI_CHAT_CLI_SCREENSHOT": "1 screenshot",
"LIVE_DEV_AI_CHAT_CLI_SCREENSHOTS": "{0} screenshots",
Expand Down
7 changes: 6 additions & 1 deletion src/styles/Extn-AIChatPanel.less
Original file line number Diff line number Diff line change
Expand Up @@ -4947,6 +4947,7 @@
border-radius: 8px;
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
color: @project-panel-text-1;
white-space: pre-line;
line-height: 1.45;
z-index: 1;
pointer-events: none;
Expand Down Expand Up @@ -7222,14 +7223,18 @@
}
}

// Leave enough room for the no-charge sentence; wrap longer copy on narrow windows.
// Wrap the value explanation on narrow windows and preserve its paragraph breaks.
.ai-usage-tip-note,
.ai-usage-tip-foot {
max-width: ~"min(280px, calc(100vw - 42px))";
white-space: normal;
line-height: 1.45;
}

.ai-usage-tip-note {
white-space: pre-line;
}

.ai-usage-tip-foot {
margin-top: 8px;
padding-top: 7px;
Expand Down
2 changes: 1 addition & 1 deletion tracking-repos.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"phoenixPro": {
"commitID": "69e7fa766936e0f35dda949f7a603a1f9afadd7a"
"commitID": "d786c9f2f66d7a9836727672d72b37170c5747e9"
}
}
Loading