@orbit-build/cli 0.2.3 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +74 -61
- package/dist/index.js +275 -106
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,90 +1,104 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
1
3
|
# @orbit-build/cli
|
|
2
4
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
**The terminal, browser, and editor runtime for Orbit.**
|
|
6
|
+
|
|
7
|
+
[](https://www.npmjs.com/package/@orbit-build/cli)
|
|
8
|
+
[](https://nodejs.org/)
|
|
9
|
+
|
|
10
|
+
</div>
|
|
7
11
|
|
|
8
|
-
|
|
12
|
+
Orbit is a local-first AI coding workspace optimized for DeepSeek V4, with
|
|
13
|
+
OpenAI-compatible, Anthropic, and local Ollama support. Its full-screen TUI and
|
|
14
|
+
authenticated local Web UI share the same project chats, model, task,
|
|
15
|
+
permissions, checkpoints, and cancellation state.
|
|
9
16
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
17
|
+
## Install
|
|
18
|
+
|
|
19
|
+
Requires Node.js 20 or newer on Windows, macOS, or Linux.
|
|
13
20
|
|
|
14
21
|
```bash
|
|
15
|
-
node --version
|
|
16
|
-
npm --version
|
|
17
22
|
npm install --global @orbit-build/cli
|
|
18
23
|
orbit login
|
|
19
24
|
cd path/to/project
|
|
20
25
|
orbit
|
|
21
26
|
```
|
|
22
27
|
|
|
23
|
-
|
|
24
|
-
|
|
28
|
+
Use natural language to start work or type `/` in the TUI or Web UI to open the
|
|
29
|
+
same localized command catalog:
|
|
30
|
+
|
|
31
|
+
```text
|
|
32
|
+
Review this codebase, fix the highest-impact problem, and verify it.
|
|
33
|
+
/model Switch model without losing the conversation
|
|
34
|
+
/goal ship this safely Set a durable objective
|
|
35
|
+
/plan Inspect the recoverable task plan
|
|
36
|
+
/webui Start the synchronized browser workspace
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
`/webui` does not open a browser automatically. It presents an authenticated,
|
|
40
|
+
clickable local URL beside the terminal's completed message.
|
|
41
|
+
|
|
42
|
+
## Other entry points
|
|
25
43
|
|
|
26
44
|
```bash
|
|
27
|
-
orbit "Fix the failing tests"
|
|
28
|
-
orbit exec "Review src" --jsonl
|
|
29
|
-
orbit doctor --probe --deepseek
|
|
30
|
-
orbit
|
|
45
|
+
orbit "Fix the failing tests" # immediate interactive task
|
|
46
|
+
orbit exec "Review src" --jsonl # automation-friendly JSONL
|
|
47
|
+
orbit doctor --probe --deepseek # configuration + live probe
|
|
48
|
+
orbit bench --model deepseek-v4-flash --thinking disabled
|
|
49
|
+
orbit update --check # check without installing
|
|
31
50
|
```
|
|
32
51
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
command catalog; use `/goal`, `/plan`, `/model`, `/compact`, `/timeline`,
|
|
38
|
-
`/rewind`, and `/rollback` for durable work.
|
|
52
|
+
Orbit exits automation with `0` for completion, `2` for task or verification
|
|
53
|
+
failure, `4` for provider startup failure, and `130` for abort.
|
|
54
|
+
|
|
55
|
+
## What is included
|
|
39
56
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
57
|
+
- Project-scoped chats with model-aware context compaction and conservative
|
|
58
|
+
crash recovery.
|
|
59
|
+
- Validated file, search, symbol, shell, test, Git, web, fetch, plan, and MCP
|
|
60
|
+
tools with bounded, redacted results.
|
|
61
|
+
- Workspace isolation, approval policy, checkpoints, timeline, rewind,
|
|
62
|
+
rollback, Changes review, verification contracts, and trace export.
|
|
63
|
+
- Browser image input, project switching, queued follow-ups, task and delegated
|
|
64
|
+
agent visibility, responsive layouts, and English/简体中文/繁體中文 controls.
|
|
65
|
+
- Guided Skills and workflows with templates, validation, invocation preview,
|
|
66
|
+
enable/disable controls, and portable catalog export.
|
|
67
|
+
- Secure provider profiles and authenticated model catalogs without storing
|
|
68
|
+
credentials in project sessions or support data.
|
|
44
69
|
|
|
45
|
-
|
|
70
|
+
Accepted prompts are persisted before provider work begins. After an unexpected
|
|
71
|
+
shutdown, Orbit repairs the conversation conservatively and never silently
|
|
72
|
+
replays an unfinished side-effecting tool.
|
|
46
73
|
|
|
47
|
-
|
|
48
|
-
base URL required by an OpenAI-compatible provider, including `/v1` when
|
|
49
|
-
applicable; Orbit does not guess suffixes. Authenticated catalogs and the local
|
|
50
|
-
Ollama API populate the model selector with models that are actually available.
|
|
74
|
+
## Providers
|
|
51
75
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
76
|
+
`orbit login` manages DeepSeek, TokenDance, OpenAI, Anthropic,
|
|
77
|
+
OpenAI-compatible, and Ollama profiles. Enter the provider's exact base URL,
|
|
78
|
+
including `/v1` when required; Orbit does not guess URL suffixes. Switching
|
|
79
|
+
providers or models preserves the current chat and recalculates its available
|
|
80
|
+
context.
|
|
56
81
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
bounded and redacted, and connected MCP tools retain their declared schemas.
|
|
82
|
+
Credentials use native OS protection when available and are redacted from
|
|
83
|
+
configuration, diagnostics, events, sessions, and exported traces.
|
|
60
84
|
|
|
61
|
-
##
|
|
85
|
+
## Maintain local data
|
|
62
86
|
|
|
63
87
|
```bash
|
|
64
|
-
orbit update --check
|
|
65
|
-
orbit update # confirm interactively
|
|
66
|
-
orbit update --yes # explicit non-interactive install
|
|
67
88
|
orbit backup create # chats, memory, commands, skills, and plans
|
|
68
|
-
orbit backup inspect <file> # validate version, paths, sizes, and
|
|
69
|
-
orbit backup restore <file> # refuses existing files
|
|
70
|
-
orbit clean --project # preview project-owned
|
|
71
|
-
orbit clean --user # preview user-owned
|
|
89
|
+
orbit backup inspect <file> # validate version, paths, sizes, and checksums
|
|
90
|
+
orbit backup restore <file> # refuses existing files without --force
|
|
91
|
+
orbit clean --project # preview project-owned cleanup
|
|
92
|
+
orbit clean --user # preview user-owned cleanup
|
|
72
93
|
npm uninstall --global @orbit-build/cli
|
|
73
94
|
```
|
|
74
95
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
Backups are portable, versioned project-data bundles. Credentials, generated
|
|
80
|
-
indexes, caches, evaluations, temporary state, and previous exports are always
|
|
81
|
-
excluded. Restore validates the complete bundle before writing anything.
|
|
82
|
-
|
|
83
|
-
After an update is installed and verified, restart `orbit` and reopen `/webui`.
|
|
84
|
-
The active TUI and browser server intentionally retain their true running
|
|
85
|
-
version until that restart instead of pretending to hot-update.
|
|
96
|
+
Cleanup never removes source files, `ORBIT.md`, or `orbit.config.yaml`.
|
|
97
|
+
Interactive deletion requires `DELETE`; automation requires `--yes`. Backups
|
|
98
|
+
exclude credentials, generated indexes, caches, evaluations, temporary state,
|
|
99
|
+
and prior exports.
|
|
86
100
|
|
|
87
|
-
##
|
|
101
|
+
## Learn more
|
|
88
102
|
|
|
89
103
|
- [Product overview](https://github.com/Hephaestus-DevKit/Orbit#readme)
|
|
90
104
|
- [Task-oriented user guide](https://github.com/Hephaestus-DevKit/Orbit/blob/main/docs/USER_GUIDE.md)
|
|
@@ -92,8 +106,7 @@ version until that restart instead of pretending to hot-update.
|
|
|
92
106
|
- [Changelog](https://github.com/Hephaestus-DevKit/Orbit/blob/main/CHANGELOG.md)
|
|
93
107
|
|
|
94
108
|
Use `orbit --help` or `orbit <command> --help` for the exact options installed
|
|
95
|
-
on your machine.
|
|
96
|
-
verification failure, `4` for provider startup failure, and `130` for abort.
|
|
109
|
+
on your machine.
|
|
97
110
|
|
|
98
|
-
License terms have not yet been finalized
|
|
111
|
+
License terms have not yet been finalized. Repository visibility alone does not
|
|
99
112
|
grant permission to use, modify, or redistribute the source.
|
package/dist/index.js
CHANGED
|
@@ -242492,12 +242492,71 @@ var WEB_UI_CLIENT_BINDINGS_SCRIPT = String.raw` elements.composer.addEventListe
|
|
|
242492
242492
|
button.setAttribute('aria-pressed', active ? 'true' : 'false');
|
|
242493
242493
|
});
|
|
242494
242494
|
elements.capabilityWorkflowFields.hidden = state.capabilityKind !== 'workflow';
|
|
242495
|
+
updateCapabilityPreview();
|
|
242495
242496
|
};
|
|
242497
|
+
const capabilityTemplates = {
|
|
242498
|
+
review: {
|
|
242499
|
+
kind: 'skill',
|
|
242500
|
+
name: 'code-review',
|
|
242501
|
+
description: language !== 'en'
|
|
242502
|
+
? chinese('基于证据审查代码质量、安全性、测试与可维护性。', '依據證據審查程式碼品質、安全性、測試與可維護性。')
|
|
242503
|
+
: 'Review code quality, security, tests, and maintainability with evidence.',
|
|
242504
|
+
instructions: language !== 'en'
|
|
242505
|
+
? chinese('先阅读相关代码和测试,按影响排序报告问题。每个问题给出文件位置、证据、风险和最小修复建议。不要修改文件,除非用户明确要求。', '先閱讀相關程式碼與測試,依影響排序回報問題。每個問題提供檔案位置、證據、風險與最小修正建議。除非使用者明確要求,否則不要修改檔案。')
|
|
242506
|
+
: 'Read the relevant code and tests first. Report findings by impact with file locations, evidence, risk, and the smallest safe fix. Do not modify files unless explicitly asked.',
|
|
242507
|
+
skills: '',
|
|
242508
|
+
},
|
|
242509
|
+
research: {
|
|
242510
|
+
kind: 'skill',
|
|
242511
|
+
name: 'research-brief',
|
|
242512
|
+
description: language !== 'en'
|
|
242513
|
+
? chinese('整理来源、核对事实并生成结构化研究简报。', '整理來源、核對事實並產生結構化研究簡報。')
|
|
242514
|
+
: 'Synthesize sources, verify claims, and produce a structured research brief.',
|
|
242515
|
+
instructions: language !== 'en'
|
|
242516
|
+
? chinese('明确研究问题和时效要求,优先使用一手来源,区分事实与推断,记录出处、冲突和不确定性,最后给出结论与下一步。', '明確研究問題與時效要求,優先使用第一手來源,區分事實與推論,記錄出處、衝突與不確定性,最後提供結論與下一步。')
|
|
242517
|
+
: 'Clarify the question and freshness requirements, prefer primary sources, separate facts from inference, record citations and uncertainty, then provide conclusions and next steps.',
|
|
242518
|
+
skills: '',
|
|
242519
|
+
},
|
|
242520
|
+
mcm: {
|
|
242521
|
+
kind: 'workflow',
|
|
242522
|
+
name: 'mcm-paper',
|
|
242523
|
+
description: language !== 'en'
|
|
242524
|
+
? chinese('从 PDF、CSV 与题目材料生成可复核的数模论文工作流。', '從 PDF、CSV 與題目材料產生可複核的數模論文工作流程。')
|
|
242525
|
+
: 'Turn PDFs, CSV data, and problem materials into a reproducible modeling paper workflow.',
|
|
242526
|
+
instructions: language !== 'en'
|
|
242527
|
+
? chinese('盘点输入材料,提取变量与约束,验证数据质量,提出并比较模型,完成求解、敏感性分析、图表、摘要与论文结构。明确记录假设、公式、代码产物和复现步骤。', '盤點輸入材料,擷取變數與限制,驗證資料品質,提出並比較模型,完成求解、敏感度分析、圖表、摘要與論文結構。明確記錄假設、公式、程式產物與重現步驟。')
|
|
242528
|
+
: 'Inventory the inputs, extract variables and constraints, validate data quality, compare candidate models, solve, run sensitivity analysis, create figures, and draft the paper. Record assumptions, equations, code artifacts, and reproduction steps.',
|
|
242529
|
+
skills: '',
|
|
242530
|
+
},
|
|
242531
|
+
};
|
|
242532
|
+
function updateCapabilityPreview() {
|
|
242533
|
+
const name = elements.capabilityName.value.trim().toLowerCase();
|
|
242534
|
+
elements.capabilityPreview.textContent = name
|
|
242535
|
+
? (state.capabilityKind === 'workflow' ? '/' : '$') + name + ' '
|
|
242536
|
+
: '—';
|
|
242537
|
+
}
|
|
242538
|
+
function applyCapabilityTemplate(template) {
|
|
242539
|
+
if (template === 'blank' || !capabilityTemplates[template]) {
|
|
242540
|
+
elements.capabilityName.value = '';
|
|
242541
|
+
elements.capabilityDescription.value = '';
|
|
242542
|
+
elements.capabilityInstructions.value = '';
|
|
242543
|
+
elements.capabilitySkills.value = '';
|
|
242544
|
+
setCapabilityKind('skill');
|
|
242545
|
+
return;
|
|
242546
|
+
}
|
|
242547
|
+
const value = capabilityTemplates[template];
|
|
242548
|
+
elements.capabilityName.value = value.name;
|
|
242549
|
+
elements.capabilityDescription.value = value.description;
|
|
242550
|
+
elements.capabilityInstructions.value = value.instructions;
|
|
242551
|
+
elements.capabilitySkills.value = value.skills;
|
|
242552
|
+
setCapabilityKind(value.kind);
|
|
242553
|
+
}
|
|
242496
242554
|
const closeCapabilityCreator = () => {
|
|
242497
242555
|
elements.capabilityCreator.hidden = true;
|
|
242498
242556
|
elements.addCapabilityButton.setAttribute('aria-expanded', 'false');
|
|
242499
242557
|
elements.capabilityCreator.reset();
|
|
242500
242558
|
setCapabilityKind('skill');
|
|
242559
|
+
updateCapabilityPreview();
|
|
242501
242560
|
};
|
|
242502
242561
|
elements.addCapabilityButton.addEventListener('click', () => {
|
|
242503
242562
|
const opening = elements.capabilityCreator.hidden;
|
|
@@ -242509,6 +242568,43 @@ var WEB_UI_CLIENT_BINDINGS_SCRIPT = String.raw` elements.composer.addEventListe
|
|
|
242509
242568
|
elements.capabilityKind.querySelectorAll('[data-capability-kind]').forEach((button) => {
|
|
242510
242569
|
button.addEventListener('click', () => setCapabilityKind(button.dataset.capabilityKind));
|
|
242511
242570
|
});
|
|
242571
|
+
elements.capabilityTemplate.addEventListener('change', () => {
|
|
242572
|
+
applyCapabilityTemplate(elements.capabilityTemplate.value);
|
|
242573
|
+
});
|
|
242574
|
+
elements.capabilityName.addEventListener('input', updateCapabilityPreview);
|
|
242575
|
+
elements.activityFilters.addEventListener('click', (event) => {
|
|
242576
|
+
const button = event.target.closest('[data-activity-filter]');
|
|
242577
|
+
if (!button) return;
|
|
242578
|
+
state.activityFilter = button.dataset.activityFilter || 'all';
|
|
242579
|
+
applyActivityFilter();
|
|
242580
|
+
});
|
|
242581
|
+
elements.changeFilter.addEventListener('input', () => {
|
|
242582
|
+
state.changeQuery = elements.changeFilter.value;
|
|
242583
|
+
if (state.changeReview) renderChangeReview(state.changeReview);
|
|
242584
|
+
});
|
|
242585
|
+
elements.exportCapabilityCatalog.addEventListener('click', () => {
|
|
242586
|
+
const data = state.skills || { skills: [], workflows: [], diagnostics: [] };
|
|
242587
|
+
const manifest = {
|
|
242588
|
+
format: 'orbit-capability-catalog',
|
|
242589
|
+
version: 1,
|
|
242590
|
+
exportedAt: new Date().toISOString(),
|
|
242591
|
+
skills: (data.skills || []).map(({ name, displayName, description, shortDescription, path, disabled }) => ({
|
|
242592
|
+
name, displayName, description, shortDescription, path, disabled: Boolean(disabled),
|
|
242593
|
+
})),
|
|
242594
|
+
workflows: (data.workflows || []).map(({ name, description, argumentHint, path }) => ({
|
|
242595
|
+
name, description, argumentHint, path,
|
|
242596
|
+
})),
|
|
242597
|
+
diagnostics: data.diagnostics || [],
|
|
242598
|
+
};
|
|
242599
|
+
const blob = new Blob([JSON.stringify(manifest, null, 2) + '\n'], { type: 'application/json' });
|
|
242600
|
+
const href = URL.createObjectURL(blob);
|
|
242601
|
+
const anchor = document.createElement('a');
|
|
242602
|
+
anchor.href = href;
|
|
242603
|
+
anchor.download = 'orbit-capabilities.json';
|
|
242604
|
+
anchor.click();
|
|
242605
|
+
URL.revokeObjectURL(href);
|
|
242606
|
+
showToast(copy.catalogExported, 'success');
|
|
242607
|
+
});
|
|
242512
242608
|
elements.capabilityCreator.addEventListener('submit', async (event) => {
|
|
242513
242609
|
event.preventDefault();
|
|
242514
242610
|
const name = elements.capabilityName.value.trim().toLowerCase();
|
|
@@ -243142,6 +243238,9 @@ var WEB_UI_CLIENT_FOUNDATION_SCRIPT = String.raw` const byId = (id) => document
|
|
|
243142
243238
|
focusComposer: '聚焦输入框',
|
|
243143
243239
|
useSkill: '使用技能',
|
|
243144
243240
|
useWorkflow: '使用工作流',
|
|
243241
|
+
copyDiff: '复制补丁',
|
|
243242
|
+
diffCopied: '补丁已复制',
|
|
243243
|
+
catalogExported: '能力清单已导出',
|
|
243145
243244
|
capabilityCreated: '能力已添加',
|
|
243146
243245
|
openActivity: '打开任务活动',
|
|
243147
243246
|
openChanges: '打开改动审阅',
|
|
@@ -243252,6 +243351,9 @@ var WEB_UI_CLIENT_FOUNDATION_SCRIPT = String.raw` const byId = (id) => document
|
|
|
243252
243351
|
focusComposer: 'Focus message composer',
|
|
243253
243352
|
useSkill: 'Use skill',
|
|
243254
243353
|
useWorkflow: 'Use workflow',
|
|
243354
|
+
copyDiff: 'Copy patch',
|
|
243355
|
+
diffCopied: 'Patch copied',
|
|
243356
|
+
catalogExported: 'Capability catalog exported',
|
|
243255
243357
|
capabilityCreated: 'Capability added',
|
|
243256
243358
|
openActivity: 'Open task activity',
|
|
243257
243359
|
openChanges: 'Open change review',
|
|
@@ -243339,6 +243441,9 @@ var WEB_UI_CLIENT_FOUNDATION_SCRIPT = String.raw` const byId = (id) => document
|
|
|
243339
243441
|
modePlan: '規劃',
|
|
243340
243442
|
recentSession: '最近工作階段',
|
|
243341
243443
|
useWorkflow: '使用工作流程',
|
|
243444
|
+
copyDiff: '複製補丁',
|
|
243445
|
+
diffCopied: '補丁已複製',
|
|
243446
|
+
catalogExported: '能力清單已匯出',
|
|
243342
243447
|
capabilityCreated: '能力已新增',
|
|
243343
243448
|
});
|
|
243344
243449
|
}
|
|
@@ -243474,11 +243579,13 @@ var WEB_UI_CLIENT_FOUNDATION_SCRIPT = String.raw` const byId = (id) => document
|
|
|
243474
243579
|
addCapabilityButton: byId('addCapabilityButton'),
|
|
243475
243580
|
capabilityCreator: byId('capabilityCreator'),
|
|
243476
243581
|
capabilityKind: byId('capabilityKind'),
|
|
243582
|
+
capabilityTemplate: byId('capabilityTemplate'),
|
|
243477
243583
|
capabilityName: byId('capabilityName'),
|
|
243478
243584
|
capabilityDescription: byId('capabilityDescription'),
|
|
243479
243585
|
capabilityInstructions: byId('capabilityInstructions'),
|
|
243480
243586
|
capabilityWorkflowFields: byId('capabilityWorkflowFields'),
|
|
243481
243587
|
capabilitySkills: byId('capabilitySkills'),
|
|
243588
|
+
capabilityPreview: byId('capabilityPreview'),
|
|
243482
243589
|
cancelCapabilityButton: byId('cancelCapabilityButton'),
|
|
243483
243590
|
createCapabilityButton: byId('createCapabilityButton'),
|
|
243484
243591
|
skillControls: byId('skillControls'),
|
|
@@ -243489,9 +243596,11 @@ var WEB_UI_CLIENT_FOUNDATION_SCRIPT = String.raw` const byId = (id) => document
|
|
|
243489
243596
|
skillList: byId('skillList'),
|
|
243490
243597
|
workflowList: byId('workflowList'),
|
|
243491
243598
|
workflowCount: byId('workflowCount'),
|
|
243599
|
+
exportCapabilityCatalog: byId('exportCapabilityCatalog'),
|
|
243492
243600
|
skillDiagnostics: byId('skillDiagnostics'),
|
|
243493
243601
|
events: byId('events'),
|
|
243494
243602
|
activityEmpty: byId('activityEmpty'),
|
|
243603
|
+
activityFilters: byId('activityFilters'),
|
|
243495
243604
|
runtime: byId('runtime'),
|
|
243496
243605
|
taskOverview: byId('taskOverview'),
|
|
243497
243606
|
buildPlanButton: byId('buildPlanButton'),
|
|
@@ -243509,6 +243618,7 @@ var WEB_UI_CLIENT_FOUNDATION_SCRIPT = String.raw` const byId = (id) => document
|
|
|
243509
243618
|
cacheSummary: byId('cacheSummary'),
|
|
243510
243619
|
runtimeUpdated: byId('runtimeUpdated'),
|
|
243511
243620
|
changeCount: byId('changeCount'),
|
|
243621
|
+
changeFilter: byId('changeFilter'),
|
|
243512
243622
|
changesList: byId('changesList'),
|
|
243513
243623
|
checkpointCount: byId('checkpointCount'),
|
|
243514
243624
|
checkpointList: byId('checkpointList'),
|
|
@@ -243562,6 +243672,9 @@ var WEB_UI_CLIENT_FOUNDATION_SCRIPT = String.raw` const byId = (id) => document
|
|
|
243562
243672
|
attachments: [],
|
|
243563
243673
|
lastRecoveryKey: '',
|
|
243564
243674
|
capabilityKind: 'skill',
|
|
243675
|
+
activityFilter: 'all',
|
|
243676
|
+
changeQuery: '',
|
|
243677
|
+
changeReview: null,
|
|
243565
243678
|
};
|
|
243566
243679
|
|
|
243567
243680
|
const mobileSidebarQuery = window.matchMedia('(max-width: 900px)');
|
|
@@ -245309,13 +245422,20 @@ var WEB_UI_CLIENT_SESSION_SCRIPT = String.raw` const controlCommands = ${WEB_UI
|
|
|
245309
245422
|
}
|
|
245310
245423
|
|
|
245311
245424
|
function renderChangeReview(review) {
|
|
245425
|
+
state.changeReview = review;
|
|
245312
245426
|
const rawChanges = Array.isArray(review.fileChanges) ? review.fileChanges : [];
|
|
245313
245427
|
const latestByPath = new Map();
|
|
245314
245428
|
for (const change of rawChanges) {
|
|
245315
245429
|
if (change && change.path && !latestByPath.has(change.path)) latestByPath.set(change.path, change);
|
|
245316
245430
|
}
|
|
245317
|
-
const
|
|
245318
|
-
|
|
245431
|
+
const allChanges = Array.from(latestByPath.values());
|
|
245432
|
+
const query = state.changeQuery.trim().toLowerCase();
|
|
245433
|
+
const changes = query
|
|
245434
|
+
? allChanges.filter((change) => String(change.path || '').toLowerCase().includes(query))
|
|
245435
|
+
: allChanges;
|
|
245436
|
+
elements.changeCount.textContent = query
|
|
245437
|
+
? String(changes.length) + '/' + String(allChanges.length)
|
|
245438
|
+
: String(allChanges.length);
|
|
245319
245439
|
elements.changesList.replaceChildren();
|
|
245320
245440
|
if (!changes.length) {
|
|
245321
245441
|
const empty = document.createElement('p');
|
|
@@ -245343,7 +245463,15 @@ var WEB_UI_CLIENT_SESSION_SCRIPT = String.raw` const controlCommands = ${WEB_UI
|
|
|
245343
245463
|
restore.className = 'secondary-button change-restore';
|
|
245344
245464
|
restore.dataset.rollbackFile = change.path;
|
|
245345
245465
|
restore.textContent = copy.restoreFile;
|
|
245346
|
-
|
|
245466
|
+
const copyDiff = document.createElement('button');
|
|
245467
|
+
copyDiff.type = 'button';
|
|
245468
|
+
copyDiff.className = 'secondary-button change-copy';
|
|
245469
|
+
copyDiff.textContent = copy.copyDiff;
|
|
245470
|
+
copyDiff.addEventListener('click', async () => {
|
|
245471
|
+
await navigator.clipboard.writeText(change.diff || '');
|
|
245472
|
+
showToast(copy.diffCopied, 'success');
|
|
245473
|
+
});
|
|
245474
|
+
actions.append(copyDiff, restore);
|
|
245347
245475
|
card.append(summary, diff, actions);
|
|
245348
245476
|
elements.changesList.append(card);
|
|
245349
245477
|
}
|
|
@@ -245940,11 +246068,14 @@ var WEB_UI_CLIENT_SESSION_SCRIPT = String.raw` const controlCommands = ${WEB_UI
|
|
|
245940
246068
|
if (existing) {
|
|
245941
246069
|
existing.querySelector('span').textContent = message;
|
|
245942
246070
|
existing.className = 'activity-row' + (kind ? ' is-' + kind : '');
|
|
246071
|
+
existing.dataset.activityKind = kind || 'running';
|
|
246072
|
+
applyActivityFilter();
|
|
245943
246073
|
return existing;
|
|
245944
246074
|
}
|
|
245945
246075
|
}
|
|
245946
246076
|
const row = document.createElement('div');
|
|
245947
246077
|
row.className = 'activity-row' + (kind ? ' is-' + kind : '');
|
|
246078
|
+
row.dataset.activityKind = kind || 'running';
|
|
245948
246079
|
const text = document.createElement('span');
|
|
245949
246080
|
text.textContent = message;
|
|
245950
246081
|
const time = document.createElement('time');
|
|
@@ -245965,9 +246096,24 @@ var WEB_UI_CLIENT_SESSION_SCRIPT = String.raw` const controlCommands = ${WEB_UI
|
|
|
245965
246096
|
first.remove();
|
|
245966
246097
|
state.activityRows -= 1;
|
|
245967
246098
|
}
|
|
246099
|
+
applyActivityFilter();
|
|
245968
246100
|
return row;
|
|
245969
246101
|
}
|
|
245970
246102
|
|
|
246103
|
+
function applyActivityFilter() {
|
|
246104
|
+
elements.activityFilters.querySelectorAll('[data-activity-filter]').forEach((button) => {
|
|
246105
|
+
button.setAttribute('aria-pressed', String(button.dataset.activityFilter === state.activityFilter));
|
|
246106
|
+
});
|
|
246107
|
+
elements.events.querySelectorAll('.activity-row').forEach((row) => {
|
|
246108
|
+
const kind = row.dataset.activityKind || 'running';
|
|
246109
|
+
row.hidden = state.activityFilter === 'issues'
|
|
246110
|
+
? !['error', 'warning'].includes(kind)
|
|
246111
|
+
: state.activityFilter === 'running'
|
|
246112
|
+
? ['success', 'error'].includes(kind)
|
|
246113
|
+
: false;
|
|
246114
|
+
});
|
|
246115
|
+
}
|
|
246116
|
+
|
|
245971
246117
|
function clearActivity() {
|
|
245972
246118
|
elements.events.querySelectorAll('.activity-row').forEach((row) => row.remove());
|
|
245973
246119
|
elements.activityEmpty.hidden = false;
|
|
@@ -247872,8 +248018,6 @@ var BASE_COPY = {
|
|
|
247872
248018
|
cancel: "Cancel",
|
|
247873
248019
|
delete: "Delete",
|
|
247874
248020
|
untitledTask: "Untitled task",
|
|
247875
|
-
localAgent: "Local agent",
|
|
247876
|
-
privateSession: "Private on this device",
|
|
247877
248021
|
localOnly: "Local session",
|
|
247878
248022
|
openNavigation: "Open navigation",
|
|
247879
248023
|
collapseNavigation: "Collapse navigation",
|
|
@@ -247953,6 +248097,10 @@ var BASE_COPY = {
|
|
|
247953
248097
|
noPlan: "No plan steps for this chat.",
|
|
247954
248098
|
noActivity: "Activity will appear here while Orbit works.",
|
|
247955
248099
|
clearActivity: "Clear",
|
|
248100
|
+
activityAll: "All",
|
|
248101
|
+
activityRunning: "Running",
|
|
248102
|
+
activityIssues: "Issues",
|
|
248103
|
+
filterChanges: "Filter changed files",
|
|
247956
248104
|
promptCache: "Prompt cache",
|
|
247957
248105
|
provider: "Provider",
|
|
247958
248106
|
model: "Model",
|
|
@@ -247984,6 +248132,13 @@ var BASE_COPY = {
|
|
|
247984
248132
|
capabilityInstructions: "What should Orbit do?",
|
|
247985
248133
|
capabilitySkills: "Compose Skills",
|
|
247986
248134
|
capabilitySkillsHint: "Optional, comma-separated Skill names",
|
|
248135
|
+
capabilityTemplate: "Start from a template",
|
|
248136
|
+
templateBlank: "Blank",
|
|
248137
|
+
templateReview: "Code review",
|
|
248138
|
+
templateResearch: "Research brief",
|
|
248139
|
+
templateMcm: "Modeling paper",
|
|
248140
|
+
capabilityPreview: "Invocation preview",
|
|
248141
|
+
exportCatalog: "Export catalog",
|
|
247987
248142
|
create: "Create",
|
|
247988
248143
|
theme: "Appearance",
|
|
247989
248144
|
system: "System",
|
|
@@ -248027,8 +248182,6 @@ var BASE_COPY = {
|
|
|
248027
248182
|
cancel: "\u53D6\u6D88",
|
|
248028
248183
|
delete: "\u5220\u9664",
|
|
248029
248184
|
untitledTask: "\u672A\u547D\u540D\u4EFB\u52A1",
|
|
248030
|
-
localAgent: "\u672C\u5730\u667A\u80FD\u4F53",
|
|
248031
|
-
privateSession: "\u4EC5\u5728\u672C\u673A\u8FD0\u884C",
|
|
248032
248185
|
localOnly: "\u672C\u5730\u4F1A\u8BDD",
|
|
248033
248186
|
openNavigation: "\u6253\u5F00\u5BFC\u822A",
|
|
248034
248187
|
collapseNavigation: "\u6536\u8D77\u5BFC\u822A",
|
|
@@ -248108,6 +248261,10 @@ var BASE_COPY = {
|
|
|
248108
248261
|
noPlan: "\u5F53\u524D\u5BF9\u8BDD\u6682\u65E0\u8BA1\u5212\u6B65\u9AA4\u3002",
|
|
248109
248262
|
noActivity: "Orbit \u5DE5\u4F5C\u65F6\uFF0C\u6B65\u9AA4\u548C\u5DE5\u5177\u72B6\u6001\u4F1A\u663E\u793A\u5728\u8FD9\u91CC\u3002",
|
|
248110
248263
|
clearActivity: "\u6E05\u7A7A",
|
|
248264
|
+
activityAll: "\u5168\u90E8",
|
|
248265
|
+
activityRunning: "\u8FDB\u884C\u4E2D",
|
|
248266
|
+
activityIssues: "\u5F02\u5E38",
|
|
248267
|
+
filterChanges: "\u7B5B\u9009\u6539\u52A8\u6587\u4EF6",
|
|
248111
248268
|
promptCache: "\u63D0\u793A\u8BCD\u7F13\u5B58",
|
|
248112
248269
|
provider: "\u670D\u52A1\u5546",
|
|
248113
248270
|
model: "\u6A21\u578B",
|
|
@@ -248139,6 +248296,13 @@ var BASE_COPY = {
|
|
|
248139
248296
|
capabilityInstructions: "Orbit \u5E94\u8BE5\u6267\u884C\u4EC0\u4E48\uFF1F",
|
|
248140
248297
|
capabilitySkills: "\u7EC4\u5408 Skills",
|
|
248141
248298
|
capabilitySkillsHint: "\u53EF\u9009\uFF0C\u7528\u82F1\u6587\u9017\u53F7\u5206\u9694 Skill \u540D\u79F0",
|
|
248299
|
+
capabilityTemplate: "\u4ECE\u6A21\u677F\u5F00\u59CB",
|
|
248300
|
+
templateBlank: "\u7A7A\u767D",
|
|
248301
|
+
templateReview: "\u4EE3\u7801\u5BA1\u67E5",
|
|
248302
|
+
templateResearch: "\u7814\u7A76\u7B80\u62A5",
|
|
248303
|
+
templateMcm: "\u6570\u6A21\u8BBA\u6587",
|
|
248304
|
+
capabilityPreview: "\u8C03\u7528\u9884\u89C8",
|
|
248305
|
+
exportCatalog: "\u5BFC\u51FA\u6E05\u5355",
|
|
248142
248306
|
create: "\u521B\u5EFA",
|
|
248143
248307
|
theme: "\u5916\u89C2",
|
|
248144
248308
|
system: "\u8DDF\u968F\u7CFB\u7EDF",
|
|
@@ -248183,8 +248347,6 @@ var COPY = {
|
|
|
248183
248347
|
deleteChatTitle: "\u522A\u9664\u9019\u500B\u5C0D\u8A71\uFF1F",
|
|
248184
248348
|
deleteChatBody: "\u6B64\u64CD\u4F5C\u6703\u6C38\u4E45\u522A\u9664\u8A72\u5C0D\u8A71\uFF0C\u4E14\u7121\u6CD5\u5FA9\u539F\u3002",
|
|
248185
248349
|
untitledTask: "\u672A\u547D\u540D\u4EFB\u52D9",
|
|
248186
|
-
localAgent: "\u672C\u6A5F",
|
|
248187
|
-
privateSession: "\u8CC7\u6599\u7559\u5728\u6B64\u88DD\u7F6E",
|
|
248188
248350
|
localOnly: "\u672C\u6A5F\u5DE5\u4F5C\u968E\u6BB5",
|
|
248189
248351
|
openNavigation: "\u958B\u555F\u5C0E\u89BD",
|
|
248190
248352
|
collapseNavigation: "\u6536\u5408\u5C0E\u89BD",
|
|
@@ -248238,6 +248400,10 @@ var COPY = {
|
|
|
248238
248400
|
taskPlan: "\u4EFB\u52D9\u8A08\u756B",
|
|
248239
248401
|
noActivity: "Orbit \u5DE5\u4F5C\u6642\uFF0C\u6B65\u9A5F\u548C\u5DE5\u5177\u72C0\u614B\u6703\u986F\u793A\u5728\u9019\u88E1\u3002",
|
|
248240
248402
|
clearActivity: "\u6E05\u9664",
|
|
248403
|
+
activityAll: "\u5168\u90E8",
|
|
248404
|
+
activityRunning: "\u9032\u884C\u4E2D",
|
|
248405
|
+
activityIssues: "\u7570\u5E38",
|
|
248406
|
+
filterChanges: "\u7BE9\u9078\u8B8A\u66F4\u6A94\u6848",
|
|
248241
248407
|
provider: "\u670D\u52D9\u4F9B\u61C9\u5546",
|
|
248242
248408
|
customModel: "\u81EA\u8A02\u6A21\u578B ID",
|
|
248243
248409
|
apply: "\u5957\u7528",
|
|
@@ -248266,6 +248432,13 @@ var COPY = {
|
|
|
248266
248432
|
capabilityInstructions: "Orbit \u61C9\u8A72\u57F7\u884C\u4EC0\u9EBC\uFF1F",
|
|
248267
248433
|
capabilitySkills: "\u7D44\u5408 Skills",
|
|
248268
248434
|
capabilitySkillsHint: "\u9078\u586B\uFF0C\u4EE5\u82F1\u6587\u9017\u865F\u5206\u9694 Skill \u540D\u7A31",
|
|
248435
|
+
capabilityTemplate: "\u5F9E\u7BC4\u672C\u958B\u59CB",
|
|
248436
|
+
templateBlank: "\u7A7A\u767D",
|
|
248437
|
+
templateReview: "\u7A0B\u5F0F\u78BC\u5BE9\u67E5",
|
|
248438
|
+
templateResearch: "\u7814\u7A76\u7C21\u5831",
|
|
248439
|
+
templateMcm: "\u6578\u6A21\u8AD6\u6587",
|
|
248440
|
+
capabilityPreview: "\u547C\u53EB\u9810\u89BD",
|
|
248441
|
+
exportCatalog: "\u532F\u51FA\u6E05\u55AE",
|
|
248269
248442
|
create: "\u5EFA\u7ACB",
|
|
248270
248443
|
theme: "\u5916\u89C0",
|
|
248271
248444
|
system: "\u8DDF\u96A8\u7CFB\u7D71",
|
|
@@ -248494,10 +248667,6 @@ function renderWebUiPage(language) {
|
|
|
248494
248667
|
</section>
|
|
248495
248668
|
|
|
248496
248669
|
<div class="sidebar-spacer"></div>
|
|
248497
|
-
<div class="sidebar-agent-pill">
|
|
248498
|
-
<span class="sidebar-agent-state"><i></i></span>
|
|
248499
|
-
<span><strong>${copy.localAgent}</strong><small>${copy.privateSession}</small></span>
|
|
248500
|
-
</div>
|
|
248501
248670
|
</aside>
|
|
248502
248671
|
|
|
248503
248672
|
<section class="workspace-view">
|
|
@@ -248638,6 +248807,11 @@ function renderWebUiPage(language) {
|
|
|
248638
248807
|
</section>
|
|
248639
248808
|
<section class="detail-section activity-section">
|
|
248640
248809
|
<div class="section-heading"><h3>${copy.activity}</h3><button class="text-button" id="clearActivity" type="button">${copy.clearActivity}</button></div>
|
|
248810
|
+
<div class="compact-filter-bar segmented" id="activityFilters" aria-label="${copy.activity}">
|
|
248811
|
+
<button type="button" data-activity-filter="all" aria-pressed="true">${copy.activityAll}</button>
|
|
248812
|
+
<button type="button" data-activity-filter="running" aria-pressed="false">${copy.activityRunning}</button>
|
|
248813
|
+
<button type="button" data-activity-filter="issues" aria-pressed="false">${copy.activityIssues}</button>
|
|
248814
|
+
</div>
|
|
248641
248815
|
<div class="activity-list" id="events">
|
|
248642
248816
|
<p class="activity-empty" id="activityEmpty">${copy.noActivity}</p>
|
|
248643
248817
|
</div>
|
|
@@ -248662,6 +248836,7 @@ function renderWebUiPage(language) {
|
|
|
248662
248836
|
</section>
|
|
248663
248837
|
<section class="detail-section changes-summary-section">
|
|
248664
248838
|
<div class="section-heading"><h3>${copy.changedFiles}</h3><span id="changeCount">0</span></div>
|
|
248839
|
+
<input class="field-control compact-filter-input" id="changeFilter" type="search" maxlength="200" autocomplete="off" placeholder="${copy.filterChanges}" aria-label="${copy.filterChanges}" />
|
|
248665
248840
|
<div class="changes-list" id="changesList" data-testid="changes-list"><p class="review-empty">${copy.noChanges}</p></div>
|
|
248666
248841
|
</section>
|
|
248667
248842
|
<section class="detail-section">
|
|
@@ -248745,6 +248920,13 @@ function renderWebUiPage(language) {
|
|
|
248745
248920
|
<button type="button" data-capability-kind="skill" aria-pressed="true">${copy.addSkill}</button>
|
|
248746
248921
|
<button type="button" data-capability-kind="workflow" aria-pressed="false">${copy.addWorkflow}</button>
|
|
248747
248922
|
</div>
|
|
248923
|
+
<label class="field-label" for="capabilityTemplate">${copy.capabilityTemplate}</label>
|
|
248924
|
+
<select class="field-control capability-template" id="capabilityTemplate">
|
|
248925
|
+
<option value="blank">${copy.templateBlank}</option>
|
|
248926
|
+
<option value="review">${copy.templateReview}</option>
|
|
248927
|
+
<option value="research">${copy.templateResearch}</option>
|
|
248928
|
+
<option value="mcm">${copy.templateMcm}</option>
|
|
248929
|
+
</select>
|
|
248748
248930
|
<label class="field-label" for="capabilityName">${copy.capabilityName}</label>
|
|
248749
248931
|
<input class="field-control" id="capabilityName" type="text" maxlength="48" pattern="[a-z0-9][a-z0-9-]*" placeholder="data-review" autocomplete="off" required />
|
|
248750
248932
|
<label class="field-label" for="capabilityDescription">${copy.capabilityDescription}</label>
|
|
@@ -248755,6 +248937,10 @@ function renderWebUiPage(language) {
|
|
|
248755
248937
|
<label class="field-label" for="capabilitySkills">${copy.capabilitySkills}</label>
|
|
248756
248938
|
<input class="field-control" id="capabilitySkills" type="text" maxlength="520" placeholder="${copy.capabilitySkillsHint}" autocomplete="off" />
|
|
248757
248939
|
</div>
|
|
248940
|
+
<div class="capability-preview">
|
|
248941
|
+
<span class="field-label">${copy.capabilityPreview}</span>
|
|
248942
|
+
<code id="capabilityPreview">\u2014</code>
|
|
248943
|
+
</div>
|
|
248758
248944
|
<div class="capability-creator-actions">
|
|
248759
248945
|
<button class="text-button" id="cancelCapabilityButton" type="button">${copy.cancel}</button>
|
|
248760
248946
|
<button class="secondary-button" id="createCapabilityButton" type="submit">${copy.create}</button>
|
|
@@ -248771,7 +248957,7 @@ function renderWebUiPage(language) {
|
|
|
248771
248957
|
</div>
|
|
248772
248958
|
<div class="skill-summary" id="skillSummary" role="status"></div>
|
|
248773
248959
|
<div class="skill-list" id="skillList"><p class="review-empty">${copy.noSkills}</p></div>
|
|
248774
|
-
<div class="capability-subheading"><strong>${copy.workflows}</strong><span id="workflowCount">0</span></div>
|
|
248960
|
+
<div class="capability-subheading"><strong>${copy.workflows}</strong><span><button class="text-button" id="exportCapabilityCatalog" type="button">${copy.exportCatalog}</button> \xB7 <b id="workflowCount">0</b></span></div>
|
|
248775
248961
|
<div class="workflow-list" id="workflowList"><p class="review-empty">${copy.noWorkflows}</p></div>
|
|
248776
248962
|
<div class="skill-diagnostics" id="skillDiagnostics"></div>
|
|
248777
248963
|
</div>
|
|
@@ -248849,6 +249035,8 @@ var WEB_UI_COMPOSER_STYLES = String.raw`
|
|
|
248849
249035
|
.composer-dock {
|
|
248850
249036
|
position: relative;
|
|
248851
249037
|
box-sizing: border-box;
|
|
249038
|
+
min-width: 0;
|
|
249039
|
+
max-width: 100%;
|
|
248852
249040
|
width: min(var(--composer-width), calc(100% - 32px));
|
|
248853
249041
|
margin: 0 auto;
|
|
248854
249042
|
padding: 0 16px calc(12px + env(safe-area-inset-bottom));
|
|
@@ -248928,7 +249116,7 @@ var WEB_UI_COMPOSER_STYLES = String.raw`
|
|
|
248928
249116
|
.composer:focus-within {
|
|
248929
249117
|
border-color: color-mix(in srgb, var(--accent) 58%, var(--border));
|
|
248930
249118
|
background: var(--surface-raised);
|
|
248931
|
-
box-shadow: 0
|
|
249119
|
+
box-shadow: 0 16px 42px rgba(25, 43, 39, 0.1), 0 0 0 2px color-mix(in srgb, var(--accent) 10%, transparent);
|
|
248932
249120
|
}
|
|
248933
249121
|
|
|
248934
249122
|
.slash-command-menu {
|
|
@@ -249070,7 +249258,7 @@ var WEB_UI_COMPOSER_STYLES = String.raw`
|
|
|
249070
249258
|
}
|
|
249071
249259
|
|
|
249072
249260
|
#prompt::placeholder {
|
|
249073
|
-
color: var(--
|
|
249261
|
+
color: color-mix(in srgb, var(--muted) 72%, transparent);
|
|
249074
249262
|
}
|
|
249075
249263
|
|
|
249076
249264
|
.composer-toolbar {
|
|
@@ -249305,8 +249493,8 @@ var WEB_UI_COMPOSER_STYLES = String.raw`
|
|
|
249305
249493
|
|
|
249306
249494
|
.composer-hint {
|
|
249307
249495
|
margin: 7px 4px 0 0;
|
|
249308
|
-
color: var(--
|
|
249309
|
-
font-size:
|
|
249496
|
+
color: color-mix(in srgb, var(--muted) 84%, transparent);
|
|
249497
|
+
font-size: 10px;
|
|
249310
249498
|
text-align: right;
|
|
249311
249499
|
}
|
|
249312
249500
|
|
|
@@ -249955,7 +250143,7 @@ var WEB_UI_CONVERSATION_STYLES = String.raw`
|
|
|
249955
250143
|
min-height: 100%;
|
|
249956
250144
|
display: flex;
|
|
249957
250145
|
flex-direction: column;
|
|
249958
|
-
gap:
|
|
250146
|
+
gap: 24px;
|
|
249959
250147
|
margin: 0 auto;
|
|
249960
250148
|
padding: 34px 0 40px;
|
|
249961
250149
|
}
|
|
@@ -250002,7 +250190,7 @@ var WEB_UI_CONVERSATION_STYLES = String.raw`
|
|
|
250002
250190
|
}
|
|
250003
250191
|
|
|
250004
250192
|
.message.assistant .message-content {
|
|
250005
|
-
max-width: min(100%,
|
|
250193
|
+
max-width: min(100%, 760px);
|
|
250006
250194
|
}
|
|
250007
250195
|
|
|
250008
250196
|
.message-role {
|
|
@@ -250010,15 +250198,15 @@ var WEB_UI_CONVERSATION_STYLES = String.raw`
|
|
|
250010
250198
|
align-items: center;
|
|
250011
250199
|
gap: 8px;
|
|
250012
250200
|
min-height: 24px;
|
|
250013
|
-
margin-bottom:
|
|
250201
|
+
margin-bottom: 6px;
|
|
250014
250202
|
color: var(--ink-strong);
|
|
250015
|
-
font-size:
|
|
250203
|
+
font-size: 12.5px;
|
|
250016
250204
|
font-weight: 700;
|
|
250017
250205
|
}
|
|
250018
250206
|
|
|
250019
250207
|
.message-time {
|
|
250020
250208
|
color: var(--faint);
|
|
250021
|
-
font-size:
|
|
250209
|
+
font-size: 10.5px;
|
|
250022
250210
|
font-weight: 450;
|
|
250023
250211
|
}
|
|
250024
250212
|
|
|
@@ -250031,7 +250219,7 @@ var WEB_UI_CONVERSATION_STYLES = String.raw`
|
|
|
250031
250219
|
background: color-mix(in srgb, var(--surface-raised) 78%, var(--accent-soft));
|
|
250032
250220
|
border: 1px solid color-mix(in srgb, var(--accent) 13%, var(--border));
|
|
250033
250221
|
border-radius: 7px;
|
|
250034
|
-
font-size:
|
|
250222
|
+
font-size: 10.5px;
|
|
250035
250223
|
font-weight: 650;
|
|
250036
250224
|
line-height: 1.15;
|
|
250037
250225
|
text-overflow: ellipsis;
|
|
@@ -250074,8 +250262,8 @@ var WEB_UI_CONVERSATION_STYLES = String.raw`
|
|
|
250074
250262
|
.rich-text {
|
|
250075
250263
|
min-width: 0;
|
|
250076
250264
|
color: var(--ink);
|
|
250077
|
-
font-size:
|
|
250078
|
-
line-height: 1.
|
|
250265
|
+
font-size: 15px;
|
|
250266
|
+
line-height: 1.68;
|
|
250079
250267
|
overflow-wrap: anywhere;
|
|
250080
250268
|
}
|
|
250081
250269
|
|
|
@@ -250420,14 +250608,20 @@ var WEB_UI_CONVERSATION_STYLES = String.raw`
|
|
|
250420
250608
|
}
|
|
250421
250609
|
|
|
250422
250610
|
.thinking-block {
|
|
250423
|
-
margin:
|
|
250611
|
+
margin: 7px 0 14px;
|
|
250424
250612
|
color: var(--muted);
|
|
250425
|
-
border-left: 2px solid var(--border-strong);
|
|
250426
250613
|
}
|
|
250427
250614
|
|
|
250428
250615
|
.thinking-block summary {
|
|
250429
|
-
|
|
250616
|
+
width: fit-content;
|
|
250617
|
+
min-height: 28px;
|
|
250618
|
+
display: inline-flex;
|
|
250619
|
+
align-items: center;
|
|
250620
|
+
padding: 4px 9px;
|
|
250430
250621
|
color: var(--muted);
|
|
250622
|
+
background: color-mix(in srgb, var(--surface-subtle) 72%, transparent);
|
|
250623
|
+
border: 1px solid var(--border);
|
|
250624
|
+
border-radius: 8px;
|
|
250431
250625
|
cursor: pointer;
|
|
250432
250626
|
font-size: 12px;
|
|
250433
250627
|
list-style: none;
|
|
@@ -250450,9 +250644,11 @@ var WEB_UI_CONVERSATION_STYLES = String.raw`
|
|
|
250450
250644
|
|
|
250451
250645
|
.thinking-body {
|
|
250452
250646
|
max-height: 260px;
|
|
250453
|
-
|
|
250647
|
+
margin-top: 7px;
|
|
250648
|
+
padding: 5px 12px 9px 15px;
|
|
250454
250649
|
overflow: auto;
|
|
250455
250650
|
color: var(--faint);
|
|
250651
|
+
border-left: 2px solid var(--border-strong);
|
|
250456
250652
|
font-size: 12px;
|
|
250457
250653
|
white-space: pre-wrap;
|
|
250458
250654
|
}
|
|
@@ -251687,6 +251883,28 @@ var WEB_UI_INSPECTOR_STYLES = String.raw`
|
|
|
251687
251883
|
margin-top: 3px;
|
|
251688
251884
|
}
|
|
251689
251885
|
|
|
251886
|
+
.capability-template {
|
|
251887
|
+
min-height: 34px;
|
|
251888
|
+
}
|
|
251889
|
+
|
|
251890
|
+
.capability-preview {
|
|
251891
|
+
display: grid;
|
|
251892
|
+
gap: 5px;
|
|
251893
|
+
}
|
|
251894
|
+
|
|
251895
|
+
.capability-preview code {
|
|
251896
|
+
min-height: 34px;
|
|
251897
|
+
padding: 8px 10px;
|
|
251898
|
+
overflow: hidden;
|
|
251899
|
+
color: var(--accent-strong);
|
|
251900
|
+
background: color-mix(in srgb, var(--accent-soft) 44%, var(--surface-subtle));
|
|
251901
|
+
border: 1px dashed color-mix(in srgb, var(--accent) 28%, var(--border));
|
|
251902
|
+
border-radius: 8px;
|
|
251903
|
+
font: 10px/1.5 var(--font-mono);
|
|
251904
|
+
text-overflow: ellipsis;
|
|
251905
|
+
white-space: nowrap;
|
|
251906
|
+
}
|
|
251907
|
+
|
|
251690
251908
|
.capability-subheading {
|
|
251691
251909
|
margin-top: 4px;
|
|
251692
251910
|
padding-top: 10px;
|
|
@@ -252216,6 +252434,17 @@ var WEB_UI_INSPECTOR_STYLES = String.raw`
|
|
|
252216
252434
|
gap: 5px;
|
|
252217
252435
|
}
|
|
252218
252436
|
|
|
252437
|
+
.compact-filter-bar {
|
|
252438
|
+
width: fit-content;
|
|
252439
|
+
margin-bottom: 5px;
|
|
252440
|
+
}
|
|
252441
|
+
|
|
252442
|
+
.compact-filter-bar button {
|
|
252443
|
+
min-height: 27px;
|
|
252444
|
+
padding-inline: 9px;
|
|
252445
|
+
font-size: 9px;
|
|
252446
|
+
}
|
|
252447
|
+
|
|
252219
252448
|
.activity-empty {
|
|
252220
252449
|
margin: 3px 0;
|
|
252221
252450
|
color: var(--faint);
|
|
@@ -252492,6 +252721,12 @@ var WEB_UI_INSPECTOR_STYLES = String.raw`
|
|
|
252492
252721
|
gap: 7px;
|
|
252493
252722
|
}
|
|
252494
252723
|
|
|
252724
|
+
.compact-filter-input {
|
|
252725
|
+
min-height: 34px;
|
|
252726
|
+
margin-bottom: 8px;
|
|
252727
|
+
font-size: 11px;
|
|
252728
|
+
}
|
|
252729
|
+
|
|
252495
252730
|
.tool-history-row {
|
|
252496
252731
|
display: grid;
|
|
252497
252732
|
grid-template-columns: 18px minmax(0, 1fr) auto;
|
|
@@ -252562,11 +252797,13 @@ var WEB_UI_INSPECTOR_STYLES = String.raw`
|
|
|
252562
252797
|
|
|
252563
252798
|
.change-actions {
|
|
252564
252799
|
display: flex;
|
|
252800
|
+
gap: 7px;
|
|
252565
252801
|
justify-content: flex-end;
|
|
252566
252802
|
padding: 7px;
|
|
252567
252803
|
}
|
|
252568
252804
|
|
|
252569
252805
|
.change-restore,
|
|
252806
|
+
.change-copy,
|
|
252570
252807
|
.checkpoint-rewind {
|
|
252571
252808
|
height: 29px;
|
|
252572
252809
|
font-size: 10px;
|
|
@@ -252995,9 +253232,6 @@ var WEB_UI_RESPONSIVE_STYLES = String.raw`
|
|
|
252995
253232
|
min-height: 60px;
|
|
252996
253233
|
}
|
|
252997
253234
|
|
|
252998
|
-
.sidebar-agent-pill {
|
|
252999
|
-
margin-bottom: max(4px, env(safe-area-inset-bottom));
|
|
253000
|
-
}
|
|
253001
253235
|
}
|
|
253002
253236
|
|
|
253003
253237
|
@media (min-width: 1680px) {
|
|
@@ -253317,16 +253551,6 @@ var WEB_UI_RESPONSIVE_STYLES = String.raw`
|
|
|
253317
253551
|
}
|
|
253318
253552
|
}
|
|
253319
253553
|
|
|
253320
|
-
@media (max-height: 620px) {
|
|
253321
|
-
.sidebar-agent-pill small {
|
|
253322
|
-
display: none;
|
|
253323
|
-
}
|
|
253324
|
-
|
|
253325
|
-
.sidebar-agent-pill {
|
|
253326
|
-
padding-block: 4px;
|
|
253327
|
-
}
|
|
253328
|
-
}
|
|
253329
|
-
|
|
253330
253554
|
@media (prefers-reduced-motion: reduce) {
|
|
253331
253555
|
*,
|
|
253332
253556
|
*::before,
|
|
@@ -253572,7 +253796,7 @@ var WEB_UI_SHELL_STYLES = String.raw`
|
|
|
253572
253796
|
display: flex;
|
|
253573
253797
|
flex-direction: column;
|
|
253574
253798
|
gap: 8px;
|
|
253575
|
-
padding: 12px
|
|
253799
|
+
padding: 12px;
|
|
253576
253800
|
color: var(--sidebar-ink);
|
|
253577
253801
|
background: transparent;
|
|
253578
253802
|
border-right: 0;
|
|
@@ -253658,7 +253882,7 @@ var WEB_UI_SHELL_STYLES = String.raw`
|
|
|
253658
253882
|
border: 1px solid var(--sidebar-border);
|
|
253659
253883
|
border-radius: 5px;
|
|
253660
253884
|
font-family: var(--font-mono);
|
|
253661
|
-
font-size:
|
|
253885
|
+
font-size: 9px;
|
|
253662
253886
|
}
|
|
253663
253887
|
|
|
253664
253888
|
.sidebar-collapse-button {
|
|
@@ -253740,7 +253964,7 @@ var WEB_UI_SHELL_STYLES = String.raw`
|
|
|
253740
253964
|
gap: 9px;
|
|
253741
253965
|
padding: 9px 10px 2px;
|
|
253742
253966
|
color: var(--sidebar-faint);
|
|
253743
|
-
font: 700
|
|
253967
|
+
font: 700 9.5px/1 var(--font-mono);
|
|
253744
253968
|
letter-spacing: 0.11em;
|
|
253745
253969
|
text-transform: uppercase;
|
|
253746
253970
|
}
|
|
@@ -253860,7 +254084,7 @@ var WEB_UI_SHELL_STYLES = String.raw`
|
|
|
253860
254084
|
.project-list-label {
|
|
253861
254085
|
padding: 0 6px 3px;
|
|
253862
254086
|
color: var(--sidebar-faint);
|
|
253863
|
-
font:
|
|
254087
|
+
font: 650 9.5px/1.4 var(--font-mono);
|
|
253864
254088
|
letter-spacing: 0.06em;
|
|
253865
254089
|
text-transform: uppercase;
|
|
253866
254090
|
}
|
|
@@ -254009,13 +254233,13 @@ var WEB_UI_SHELL_STYLES = String.raw`
|
|
|
254009
254233
|
}
|
|
254010
254234
|
|
|
254011
254235
|
.project-copy strong {
|
|
254012
|
-
font-size:
|
|
254236
|
+
font-size: 12.5px;
|
|
254013
254237
|
font-weight: 650;
|
|
254014
254238
|
}
|
|
254015
254239
|
|
|
254016
254240
|
.project-copy small {
|
|
254017
254241
|
color: var(--sidebar-faint);
|
|
254018
|
-
font:
|
|
254242
|
+
font: 10.5px/1.35 var(--font-mono);
|
|
254019
254243
|
}
|
|
254020
254244
|
|
|
254021
254245
|
.project-chat-count {
|
|
@@ -254384,61 +254608,6 @@ var WEB_UI_SHELL_STYLES = String.raw`
|
|
|
254384
254608
|
flex: 1 1 auto;
|
|
254385
254609
|
}
|
|
254386
254610
|
|
|
254387
|
-
.sidebar-agent-pill {
|
|
254388
|
-
width: fit-content;
|
|
254389
|
-
max-width: 100%;
|
|
254390
|
-
display: inline-flex;
|
|
254391
|
-
align-items: center;
|
|
254392
|
-
gap: 7px;
|
|
254393
|
-
margin: 0 4px 4px;
|
|
254394
|
-
padding: 5px 7px;
|
|
254395
|
-
color: var(--sidebar-muted);
|
|
254396
|
-
background: color-mix(in srgb, var(--sidebar-surface) 60%, transparent);
|
|
254397
|
-
border: 1px solid color-mix(in srgb, var(--sidebar-border) 72%, transparent);
|
|
254398
|
-
border-radius: 999px;
|
|
254399
|
-
}
|
|
254400
|
-
|
|
254401
|
-
.sidebar-agent-pill > span:last-child {
|
|
254402
|
-
min-width: 0;
|
|
254403
|
-
display: grid;
|
|
254404
|
-
gap: 2px;
|
|
254405
|
-
}
|
|
254406
|
-
|
|
254407
|
-
.sidebar-agent-pill strong {
|
|
254408
|
-
color: var(--sidebar-ink);
|
|
254409
|
-
font-size: 10px;
|
|
254410
|
-
font-weight: 620;
|
|
254411
|
-
}
|
|
254412
|
-
|
|
254413
|
-
.sidebar-agent-pill small {
|
|
254414
|
-
color: var(--sidebar-faint);
|
|
254415
|
-
font-size: 8px;
|
|
254416
|
-
}
|
|
254417
|
-
|
|
254418
|
-
.sidebar-agent-state {
|
|
254419
|
-
width: 14px;
|
|
254420
|
-
height: 14px;
|
|
254421
|
-
display: grid;
|
|
254422
|
-
place-items: center;
|
|
254423
|
-
flex: 0 0 auto;
|
|
254424
|
-
background: transparent;
|
|
254425
|
-
border: 0;
|
|
254426
|
-
border-radius: 50%;
|
|
254427
|
-
}
|
|
254428
|
-
|
|
254429
|
-
.sidebar-agent-state i {
|
|
254430
|
-
width: 6px;
|
|
254431
|
-
height: 6px;
|
|
254432
|
-
background: var(--success);
|
|
254433
|
-
border-radius: 50%;
|
|
254434
|
-
box-shadow: 0 0 0 3px rgba(140, 183, 146, 0.12);
|
|
254435
|
-
}
|
|
254436
|
-
|
|
254437
|
-
.app-shell.is-disconnected .sidebar-agent-state i {
|
|
254438
|
-
background: var(--danger);
|
|
254439
|
-
box-shadow: 0 0 0 3px rgba(226, 138, 133, 0.12);
|
|
254440
|
-
}
|
|
254441
|
-
|
|
254442
254611
|
.workspace-view {
|
|
254443
254612
|
min-width: 0;
|
|
254444
254613
|
min-height: 0;
|
|
@@ -254533,7 +254702,7 @@ var WEB_UI_SHELL_STYLES = String.raw`
|
|
|
254533
254702
|
|
|
254534
254703
|
.context-meter-copy small {
|
|
254535
254704
|
color: var(--faint);
|
|
254536
|
-
font-size:
|
|
254705
|
+
font-size: 8.5px;
|
|
254537
254706
|
font-weight: 650;
|
|
254538
254707
|
letter-spacing: 0.06em;
|
|
254539
254708
|
text-transform: uppercase;
|
|
@@ -254541,7 +254710,7 @@ var WEB_UI_SHELL_STYLES = String.raw`
|
|
|
254541
254710
|
|
|
254542
254711
|
.context-meter-copy strong {
|
|
254543
254712
|
color: inherit;
|
|
254544
|
-
font: 600
|
|
254713
|
+
font: 600 10px/1.2 var(--font-mono);
|
|
254545
254714
|
}
|
|
254546
254715
|
|
|
254547
254716
|
.workspace-heading {
|