Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*//* Dialog */.monaco-dialog-box.automation-dialog.dialog-message-container>.dialog-message-detail{display: none;}/*
* The dialog's built-in title (rendered into `.dialog-message-text`)
* stays in the DOM so `aria-labelledby="monaco-dialog-message-text"`
* still binds for screen readers, but is visually hidden. Our own
* `.automation-titlebar` provides the visible chrome. Visually-hidden
* pattern (not `display: none`) because some AT/screen-reader combos
* skip aria-labelledby targets when `display: none` is in effect.
* Same treatment for the unused dialog icon slot.
*/.monaco-dialog-box.automation-dialog.dialog-message-container>.dialog-message{margin:0;padding:0;}.monaco-dialog-box.automation-dialog.dialog-message-container>.dialog-message.dialog-message-text{position: absolute;
hidden
nowrap
none
relative
none
absolute
auto
flex
column
auto
sticky
left
auto
none
flex
column
flex
column
auto
auto
stretch
none
none
normal
inherit
inherit
none
flex
column
row
center
solid
row
flex-end
wrap
flex
column
flex
default
pointer
flex
auto
inherit
solid
border-box
vertical
solid
inline-flex
center
auto
inline-flex
inline-flex
center
none
manipulation
pointer
solid
default
hidden
ellipsis
nowrap
inline-flex
center
none
default
italic
/*
* Lock the dialog box to a stable width. Without this rule the dialog
* inherits `width: min-content` from `dialog.css` and re-flows as the
* embedded chat input's chips change size (e.g. when the model picker
* resolves a shorter label). Use min(640px, 92vw) so the dialog still
* shrinks gracefully on narrow viewports.
*
* Padding is stripped (vs. the base 8px) so our `.automation-titlebar`
* stripe can paint edge-to-edge inside the dialog body. The form pane
* re-adds its own padding.
*
* Note: `extraClasses` on Dialog adds the class to `.monaco-dialog-box`
* itself (not an ancestor), so we attach the rule directly here.
*/
.monaco-dialog-box.automation-dialog
{
width
:
min
(
640
px
,
92
vw
)
;
min-width
:
min
(
520
px
,
92
vw
)
;
max-width
:
92
vw
;
padding
:
0
;
background-color
:
var
(
--vscode-editorWidget-background
)
;
color
:
var
(
--vscode-editorWidget-foreground
)
;
/* Anchor for the absolutely-positioned close-X (see below). */
/*
* Float the close-X over the titlebar so the title text sits flush
* with the top edge of the modal (QuickInput-style). Without this,
* `.dialog-toolbar-row` reserves ~24px of dead space above the title.
* `z-index` keeps the X above the sticky titlebar.
*/
/*
* Strip the base dialog padding on the message row and container so
* our titlebar can full-bleed. The form pane below re-adds horizontal
* padding so the form fields don't crash into the dialog edge.
*
* Container still owns the scrolling (per base/.../dialog.css), so
* the titlebar uses `position: sticky; top: 0` to stay visible as the
* form scrolls underneath it.
*/
/*
* The base dialog leaves the message container at content size
* (`align-self: stretch` only stretches height in a horizontal flex
* row). Our form fields are `width: 100%` of this container, so they
* track the container's intrinsic min-content width. It shrinks
* over the first second as the embedded chat input's chip labels
* (model name, mode name, etc.) resolve and the toolbar's
* min-content drops. Forcing the container to fill the row width
* keeps every field at the dialog's locked width from first paint
* onwards. `min-width: 0` lets the container shrink inside the row
* (which has `overflow: hidden`) instead of being pushed by long
* chip labels.
*/
flex
:
1
1
;
min-width
:
0
;
}
/*
* Titlebar background matches the dialog body so the header reads as
* part of the modal, with no contrasting stripe. Both are anchored to
* `editorWidget.background`, the dialog widget's own native background
* (see defaultDialogStyles), so the header and body are always the same
* color in every theme. Set explicitly (not transparent) because the
* titlebar is sticky. A transparent background would let scrolled form
* content show through. No `border-bottom`. Sticky so the title stays
* in view as the form scrolls (the dialog's message-container is the
* scroll host).
*/
.automation-titlebar
{
position
:
;
top
:
0
;
z-index
:
1
;
/* Right padding reserves room for the floating close-X chip. */
padding
:
8
px
36
px
8
px
14
px
;
text-align
:
;
font-weight
:
var
(
--vscode-fontWeight-semiBold
)
;
font-size
:
var
(
--vscode-fontSize-heading2
)
;
color
:
var
(
--vscode-editorWidget-foreground
)
;
background-color
:
var
(
--vscode-editorWidget-background
)
;
}
.automation-description
{
padding
:
8
px
14
px
;
font-size
:
var
(
--vscode-fontSize-body2
,
12
px
)
;
color
:
var
(
--vscode-descriptionForeground
)
;
line-height
:
1.4
;
}
.automation-form-pane
{
flex
:
1
1
;
min-width
:
0
;
min-height
:
0
;
padding
:
4
px
14
px
6
px
;
}
/*
* Theme the native overflow scrollbar on the dialog body so it matches
* the rest of VS Code. .dialog-message-container is the scroll host
* (see base/browser/ui/dialog/dialog.css). Without this the dialog
* shows the platform's default scrollbar which clashes visually with
* the chat input embedded above.
*/
/*
* Z-index bridge for popups while the automation dialog is open.
* The dialog modal block is z-index 2575 (see base/.../dialog.css)
* and shares that value with .context-view (set inline in
* contextview.ts as `2575 + layer`). DOM order means the dialog
* shows on top, hiding any popup the chat input chips, the quick
* input, or a context menu try to open. We can't change the inline
* z-index from outside, so use `!important` while the dialog service
* marks the active container as automation-dialog-open.
*/
/*
* Host for the embedded ChatInputPart. The composer brings its own
* background, border, and rounded corners (see chat.css
* `.interactive-input-part`), so we just give it room to breathe and let
* it fill the dialog's column width. `min-height` is sized for ~5 lines
* of body text + the toolbar row so the editor doesn't feel cramped on
* first open; the editor itself grows as the user types.
*/
.automation-form-prompt-host
{
display
:
;
flex-direction
:
;
min-height
:
140
px
;
/*
* The host carries the `.interactive-session` class so the shared
* chat input CSS (chip colors, focus borders, etc.) matches what
* users see in a real chat session. That class also sets
* `max-width: 950px; margin: auto; height: 100%` (chat.css), which
* is meant for the full chat panel. In our flex column it makes
* the host take its content's min-content width and center,
* collapsing the chat input to ~chip-bar width. Re-assert
* full-width sizing so the host fills the dialog's form column.
*/
/*
* `.interactive-input-part` in chat.css has `margin: 0 12px`, which
* (combined with the default `width: auto`) is designed to inset the
* composer inside a wider chat panel. In our dialog the prompt host
* is already the form column, so the margin pushes the composer 12px
* past the host on each side. Its right border ends up sitting
* outside the dialog. Zero out the margin so the composer aligns
* with the other form fields.
*/
margin
:
0
;
/* chat.css sets `padding: 4px 0` — zero both ends so the container
* sits flush with the label above and the Enabled separator below. */
padding-top
:
0
;
padding-bottom
:
0
;
/* Don't let long custom-mode names or model identifiers push the
* modal wider than its declared max-width. */
max-width
:
100
%
;
min-width
:
0
;
}
.automation-form-prompt-host.chat-input-container
{
/* chat.css sets `padding: 0 6px 6px` — the 6px bottom gap between the
* picker chips and the container border looks excessive in the compact
* dialog. Tighten it to 2px. */
/* Allow the input column to shrink below its content's preferred
* width so flex children (chips, custom-mode names) don't push the
* modal wider than its declared max-width. */
min-width
:
0
;
}
/*
* Hide chips from the embedded chat input's primary toolbar that don't fit
* the automation dialog's reduced surface:
* - "Configure Tools" (`workbench.action.chat.configureTools`,
* `.codicon-settings-compact`) — tool selection is not relevant for a
* scheduled prompt.
* - "Add Context" (`workbench.action.chat.attachContext`,
* `.codicon-add-compact`, the `+`) — the dialog doesn't support
* attachments; the prompt is the only payload sent at run time.
* - "List MCP Servers" (`workbench.mcp.listServer`, `.codicon-server`) —
* MCP server management belongs in the live chat surface, not a one-off
* prompt definition.
*
* We hide the `.action-label` (which carries the codicon class) rather than
* the parent `.action-item`. Targeting the `.action-item` would require a
* `:has()` selector, whose invalidation bookkeeping is paid across every
* `.action-item` in the workbench (see microsoft/vscode#324985). Since
* `.action-item` has no intrinsic padding/margin (actionbar.css), hiding the
* label collapses the slot to zero width, so there is no visual gap.
*
* Known limitation: the hidden chips remain in the toolbar's arrow-key focus
* rotation (the action bar skips only disabled/separator items, not
* `display:none` ones). This is an accepted temporary trade-off — the dialog
* will migrate to `newChatInput.ts`, which builds its own toolbars and never
* renders these `MenuId.ChatInput` chips at all.
*/
/*
* Suppress every inter-chip divider drawn by chat.css inside the dialog,
* in both the primary (`.chat-input-toolbar`) and secondary
* (`.chat-secondary-input-toolbar`) toolbars. CSS `+` matches by DOM
* order regardless of `display:none`, so the divider would otherwise
* appear as an orphan vertical line on whichever visible chip follows
* our hidden `+`/settings items. For example the bar drawn to the left
* of the Folder/Worktree isolation chip because it follows the Copilot
* CLI chip in the secondary toolbar (microsoft/vscode-internalbacklog#8304). The remaining visible
* chips (Agent, model, mode, isolation) already have enough intrinsic
* padding to read as separate without the divider. Dropping dividers
* entirely is simpler and more resilient than per-pair suppression rules
* that depend on DOM order.
*/
/*
* Cancel the dialog's `<ul>` indent for the chat input toolbars.
*
* `dialog.css:120` applies `padding-inline-start: 20px` to every `<ul>`
* inside `.dialog-message-container` (meant to reduce the excessive
* default indent on bulleted lists in dialog body text). The
* `monaco-action-bar`'s `.actions-container` is rendered as a `<ul>`, so
* the chat input's primary and secondary toolbars inherit that 20px
* left indent. This pushes the Agent / Copilot CLI chips ~20px right of
* the chat input's bottom-left corner.
*
* `actionbar.css` sets `.actions-container { padding: 0 }`, but the
* dialog rule uses a logical property (`padding-inline-start`), which
* cascades-after the physical shorthand and wins regardless of selector
* specificity. Override the logical property explicitly here.
*
* Scoped to `.automation-form-prompt-host` so the regular chat panel
* (which isn't inside a dialog) is unaffected. Any `<ul>`
* elements in the dialog's actual message body text retain the
* intended 20px indent.
*/
/*
* Sessions-layer workspace picker visual override.
*
* Two cascading sources need to be defeated to match Mode/Model:
*
* 1. `.sessions-chat-picker-slot.sessions-chat-workspace-picker
* .action-label` (sessions-layer `chatWidget.css:244-269`) sets a
* welcome-flow visual: label 18px, inner span 18px, icons 16px,
* chevron, generous padding, `color: var(--vscode-foreground)`.
*
* 2. `.monaco-action-bar .action-label` (actionbar.css:48) sets the
* base toolbar font-size to **11px**. This is what Mode/Model
* inherit. They don't set font-size themselves. The action bar
* base rule wins for their `.action-label`. The workspace picker's
* own sessions-layer rule (source 1) overrides that base, so we
* need to put the 11px back explicitly. `font-size: inherit`
* does NOT work because none of `.sessions-chat-picker-slot`'s
* ancestors carry an 11px font-size. The 11px lives on sibling
* `.action-label` elements via `.monaco-action-bar .action-label`,
* not on an ancestor we can inherit from.
*
* Result: match the 11px base, neutralize the welcome-flow oversizing,
* keep the Mode/Model color (`var(--vscode-icon-foreground)`), match
* the chip metrics from `.chat-secondary-toolbar .chat-input-picker-item
* .action-label` (chat.css:1728), and hide the chevron (the neighboring
* secondary-toolbar pickers don't render one).
*
* Scoped to `.automation-form-prompt-host` so the welcome view's
* standalone workspace picker keeps its larger sizing.
*/
/*
* The neighboring secondary-toolbar pickers don't render a dropdown
* chevron. They are recognized as chips by their padding + hover. Hide
* the chevron that `_renderTriggerLabel` always appends so the
* workspace chip reads the same way.
*/
/*
* Lay the Schedule / Time / Day controls along a single horizontal axis.
* Each control lives in its own `.automation-form-schedule-group`
* (label-above-control flex column). Time and Day join the row only
* when the interval is daily or weekly; flex-wrap keeps the layout
* stable if a translation pushes the row past the dialog width.
*/
.automation-form-row.automation-form-schedule-row
{
flex-direction
:
;
align-items
:
;
flex-wrap
:
;
gap
:
12
px
;
}
.automation-form-schedule-group
{
display
:
;
flex-direction
:
;
gap
:
4
px
;
/*
* Each visible group splits the schedule row equally. Hidden
* groups (`display: none` from `applyIntervalVisibility`) drop out
* of flex distribution, so:
* - manual / hourly → Schedule fills 100% of the row
* - daily → Schedule + Time split 50/50
* - weekly → Schedule + Time + Day split 33/33/33
* `min-width: 0` lets the contained SelectBox shrink past its
* intrinsic content width when the row is narrow, before the
* row's `flex-wrap: wrap` kicks in as a final safety net.
*/
flex
:
1
1
0
;
min-width
:
0
;
}
/* SelectBox container sizing. Give Schedule / Time / Day the full
* width of their parent group (which itself flex-shares the row).
*
* `.monaco-select-box` ships with no intrinsic padding or height (the
* only baked-in metrics live in the `.monaco-action-bar .action-item`
* selector, which we're not inside of). Mirror the standalone-form
* pattern used by the settings editor (`settingsEditor2.css:689-694`).
* It uses `height: 26px` and `padding: 2px 6px`. This makes the dropdowns match the
* Name InputBox above them instead of reading as toolbar widgets
* crammed into a form. */
/*
* Form-row labels read as section titles ("Name", "Schedule", "Time",
* "Day of week", "Prompt"). Mirror the established agents
* design-system section-label pattern (see `.overview-section
* .section-label` at line ~734: label1 / fontWeight-medium /
* foreground) so the labels carry visual weight as section headings
* and clearly out-rank their controls.
*
* `margin-bottom` adds breathing room between the title text and
* its control so each form row reads as a discrete section.
*/
.automation-form-label
{
font-size
:
var
(
--vscode-fontSize-label1
)
;
font-weight
:
var
(
--vscode-fontWeight-semiBold
)
;
color
:
var
(
--vscode-foreground
)
;
line-height
:
1.4
;
margin-bottom
:
2
px
;
cursor
:
;
}
.automation-form-hint
{
font-size
:
var
(
--vscode-fontSize-body2
,
11
px
)
;
color
:
var
(
--vscode-descriptionForeground
)
;
line-height
:
1.4
;
min-height
:
1
em
;
}
.automation-form-checkbox-label
{
font-size
:
var
(
--vscode-fontSize-body1
,
13
px
)
;
color
:
var
(
--vscode-foreground
)
;
cursor
:
;
}
/*
* Host for the native `InputBox` widget. The widget owns its own
* `<input>` and styling (border, padding, focus ring); the host just
* lets it grow to the row width.
*/
/*
* Folder picker. This uses the shared `WorkspacePicker` from the sessions
* layer (see `sessionWorkspacePicker.ts`). The picker renders an
* `<a.action-label>` chip trigger inside
* `.sessions-chat-picker-slot.sessions-chat-workspace-picker`. We restyle
* it to fit the dialog's compact, 13px form scale. The upstream styling
* lives in `sessions/contrib/chat/browser/media/chatWidget.css` and is
* sized for the new-session "hero" UI (18px font, larger chip) which is
* too large for our modal.
*
* The dropdown content itself renders through `IActionWidgetService`,
* which has its own global CSS. No overrides needed here.
*/
/*
* Isolation + branch group: parented into the chat input's
* `.chat-secondary-toolbar` so it sits at the bottom-right of the chat
* input, sharing a row with `Copilot CLI | Default Permissions`.
* `margin-left: auto` pushes the group to the right edge within that
* flex row.
*
* Visual styling mirrors the new-session view's
* `.new-chat-bottom-container` chip vocabulary (see
* `sessions/contrib/chat/browser/media/chatWidget.css` lines 178-209):
* compact label text and codicons, icon-foreground color, no border.
*/
/* Missing-branch state (no folder / no git repo / detached / empty): use
* description-foreground + italic so it visually reads as "informational
* placeholder, not a real ref name". */