ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
> Specification change gate: Do not update this document for row rendering, styling, actions, picker flows, or bug fixes. Update it only when placement precedence, state ownership, or a cross-surface list contract changes.
The Sessions list is the primary navigation surface in the Agents Window. It aggregates provider-neutral sessions into a grouped, filterable tree and owns user presentation state such as pins, custom groups, ordering, and collapsed sections.
This specification defines stable placement and state-ownership rules. Row styling, labels, icons, action placement, animation, picker workflows, and implementation algorithms belong in code and focused tests.
| Concern | Owner | |---------|-------| | Session catalog and lifecycle | ISessionsManagementService | | Pin and per-sort ordering state | ISessionsListModelService | | Custom groups and membership | ISessionGroupsService | | Top-level group/workspace order | ISessionSectionOrderService | | Tree composition and presentation | SessionsView and SessionsList |
List-owned state is local presentation state. It is not synchronized back to a provider and must not mutate provider timestamps or metadata.
The list consumes sessions from ISessionsManagementService. Providers decide whether a model represents a workspace session, quick chat, automation, or archived session through provider-neutral fields.
Automation runs are excluded from the primary Sessions list. Surfaces that need session-row presentation without sectioning use SessionsFlatList.
A session appears in exactly one primary section. Higher-precedence states win:
Archived
> Pinned
> Custom group
> Quick chat
> Workspace or date groupimmediately after its creator. While it has neither custom-group membership nor an explicit ungrouped preference, it inherits the creator's custom group when one becomes available. Subsequent user grouping, ungrouping, and reordering are ordinary persisted list state.
The active session remains visible even when a filter would otherwise exclude it.
User-created groups and workspace sections share a user-managed order below the fixed sections. Workspace capping may initially hide inactive workspaces; search and explicit user promotion reveal them.
User-created groups remain a contiguous user-managed block. Ungrouped sessions follow in fixed date sections.
Quick chats are identified through ISession.isQuickChat, not by checking for an absent workspace. They remain session rows; the list never exposes IChat objects as top-level rows.
Archiving removes custom-group membership. Restoring a session does not restore its former membership. User-facing archive terminology may vary, but the underlying archived state and placement rule do not.
Pin, group, and ordering state survives temporary provider-catalog removal. Providers may transiently publish incomplete catalogs while reconnecting or hydrating, so onDidChangeSessions.removed is not proof of deletion.
List-owned state is removed only when:
Stale entries that match no current session are inert and may be compacted by their owning service.
The list supports created-time and updated-time sorting. Manual ordering stores list-owned sort keys for each mode without changing provider timestamps.
Filters compose across session type, status, archive/read state, and provider. The agent host filter scopes to every provider the selected host entry covers, which is more than one when that entry groups several hosts and none while such a group is empty. The find widget matches session and section labels and bypasses presentation capping while a search is active.
Drag and drop changes only list-owned presentation state or opens sessions through the appropriate service:
ISessionsService.Archived and fixed sections are not reorder targets. Multi-selection preserves relative order.
Rows derive title, status, workspace, changes, capabilities, and quick-chat identity from session observables. Renderers must support tree virtualization: reusing a row template for another session must not retain stale state, animations, hovers, or disposables.
Row renderers use tree-supported row classes and APIs rather than traversing tree-owned DOM structure.
List presentation state is profile-scoped user state. This includes grouping, sorting, filtering, section collapse, pins, custom groups, manual sort keys, and section order. Storage keys are private implementation details; other components change list state through the owning service API.
Update this specification only when placement precedence, state ownership, or a cross-surface list invariant changes. Express concrete row behavior, menu enablement, picker flows, and regressions in focused tests instead.