aegisone 1.0.49 → 1.0.51
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 +1 -1
- package/package.json +1 -1
- package/src/doctor.js +1 -1
- package/vendor/cli/README.md +52 -23
- package/vendor/cli/package.json +1 -1
- package/vendor/cli/src/commands.js +1 -1
- package/vendor/cli/vendor/client/naming.js +1 -1
- package/vendor/cli/vendor/client/session-store.js +1 -1
- package/vendor/cli/vendor/desktop/lib/local/integrity.js +1 -1
- package/vendor/cli/vendor/desktop/main.js +123 -2
- package/vendor/desktop/lib/local/integrity.js +1 -1
- package/vendor/desktop/main.js +123 -2
- package/vendor/desktop/package.json +1 -1
- package/vendor/desktop/renderer/app.js +3 -3
- package/vendor/desktop/renderer/index.html +22 -3
- package/vendor/desktop/renderer/library.js +1 -1
- package/vendor/desktop/renderer/style.css +48 -0
- package/vendor/desktop/vendor/faces/cli/README.md +52 -23
- package/vendor/desktop/vendor/faces/cli/package.json +1 -1
- package/vendor/desktop/vendor/faces/cli/src/commands.js +1 -1
- package/vendor/desktop/vendor/faces/cli/vendor/client/naming.js +1 -1
- package/vendor/desktop/vendor/faces/cli/vendor/client/session-store.js +1 -1
- package/vendor/desktop/vendor/faces/cli/vendor/desktop/lib/local/integrity.js +1 -1
- package/vendor/desktop/vendor/faces/cli/vendor/desktop/main.js +2 -2
- package/vendor/desktop/vendor/naming.js +1 -1
- package/vendor/desktop/vendor/session-store.js +1 -1
|
@@ -600,9 +600,28 @@
|
|
|
600
600
|
<div id="settings-view" hidden>
|
|
601
601
|
<div class="settings-view-header">
|
|
602
602
|
<button type="button" class="settings-back" id="settings-back">← Back to conversations</button>
|
|
603
|
+
<!-- Fast links across a page that is now seven cards tall. Every one
|
|
604
|
+
of these is a real jump on the existing reveal path
|
|
605
|
+
(scrollToSetting in app.js), not a label: the page is one plain
|
|
606
|
+
scroll column, so reaching Tool approvals meant scrolling past
|
|
607
|
+
Status, the whole provider catalog and the custom endpoint.
|
|
608
|
+
|
|
609
|
+
Buttons, not anchors: this app has no URL router, and a #hash
|
|
610
|
+
would have to be specially meaningful for the header click to
|
|
611
|
+
not fight it. `data-jump` names a card id, resolved at click
|
|
612
|
+
time so a card that is hidden (companion-card, Today) or absent
|
|
613
|
+
simply does nothing rather than throwing. -->
|
|
614
|
+
<nav class="settings-jump" id="settings-jump" aria-label="Jump to a settings section">
|
|
615
|
+
<button type="button" class="settings-jump-link" data-jump="status-card">Status</button>
|
|
616
|
+
<button type="button" class="settings-jump-link" data-jump="provider-paths-card">Model & provider</button>
|
|
617
|
+
<button type="button" class="settings-jump-link" data-jump="quick-launcher-card">Quick Launcher</button>
|
|
618
|
+
<button type="button" class="settings-jump-link" data-jump="approvals-card">Tool approvals</button>
|
|
619
|
+
<button type="button" class="settings-jump-link" data-jump="appearance-card">Appearance</button>
|
|
620
|
+
<button type="button" class="settings-jump-link" data-jump="persona-card">Companion</button>
|
|
621
|
+
</nav>
|
|
603
622
|
</div>
|
|
604
623
|
|
|
605
|
-
<section class="card">
|
|
624
|
+
<section class="card" id="status-card">
|
|
606
625
|
<h2>Status</h2>
|
|
607
626
|
<dl>
|
|
608
627
|
<dt>app</dt><dd id="st-app">–</dd>
|
|
@@ -876,7 +895,7 @@
|
|
|
876
895
|
</div>
|
|
877
896
|
</section>
|
|
878
897
|
|
|
879
|
-
<section class="card">
|
|
898
|
+
<section class="card" id="quick-launcher-card">
|
|
880
899
|
<h2>Quick Launcher</h2>
|
|
881
900
|
<label
|
|
882
901
|
class="flow-toggle"
|
|
@@ -905,7 +924,7 @@
|
|
|
905
924
|
<p class="hint" id="quick-launcher-hint"></p>
|
|
906
925
|
</section>
|
|
907
926
|
|
|
908
|
-
<section class="card">
|
|
927
|
+
<section class="card" id="approvals-card">
|
|
909
928
|
<h2>Tool approvals</h2>
|
|
910
929
|
<label
|
|
911
930
|
class="flow-toggle"
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
2
2
|
// Copyright (C) 2026 Niklas Borneklint — AEGIS Code (aegiscode) / Aegiscloud.
|
|
3
|
-
"use strict";!function(e,t){const n=function(){const e=6e4,t=60*e,n=24*t;function r(e){const t=new Date(e);return t.setHours(0,0,0,0),t.getTime()}function s(e){const t=e&&Number(e.updatedAt);return Number.isFinite(t)&&t>0?t:0}const o=["January","February","March","April","May","June","July","August","September","October","November","December"];function i(e,t){if(!e)return{key:"undated",label:"Undated",rank:1e9};const s=r(t),i=r(e);if(i>=s)return{key:"today",label:"Today",rank:0};if(i>=s-n)return{key:"yesterday",label:"Yesterday",rank:1};if(i>s-7*n)return{key:"week",label:"Previous 7 days",rank:2};if(i>s-30*n)return{key:"month",label:"Previous 30 days",rank:3};const u=new Date(e),a=`${o[u.getMonth()]} ${u.getFullYear()}`,l=new Date(t),c=12*(l.getFullYear()-u.getFullYear())+(l.getMonth()-u.getMonth());return{key:`m${u.getFullYear()}-${u.getMonth()}`,label:a,rank:4+Math.max(0,c)}}function u(e){const t=Array.isArray(e&&e.messages)?e.messages:[];for(const e of t)if(e&&"user"===e.role&&"string"==typeof e.content&&e.content.trim())return e.content.trim();return""}function a(e,t){const n=String(e).replace(/\s+/g," ").trim();return n.length>t?`${n.slice(0,t-1)}…`:n}function l(e){const t=String(e&&e.cwd||e&&e.dir||"");if(!t)return"";const n=t.split(/[\\/]/).filter(Boolean);return n.length?n[n.length-1]:""}function c(e){const t=Array.isArray(e&&e.messages)?e.messages:null;if(t)return t.length;const n=Number(e&&e.messages);return Number.isFinite(n)&&n>=0?n:0}function f(s,i){const u=Number.isFinite(i)?i:Date.now();if(!s)return"";const a=u-s;if(a<0)return"just now";if(a<e)return"just now";if(a<t)return`${Math.floor(a/e)}m ago`;if(a<n)return`${Math.floor(a/t)}h ago`;const l=Math.round((r(u)-r(s))/n);if(l<=1)return"yesterday";if(l<7)return`${l}d ago`;const c=new Date(s),f=c.getFullYear()===new Date(u).getFullYear(),g=o[c.getMonth()].slice(0,3);return f?`${c.getDate()} ${g}`:`${c.getDate()} ${g} ${c.getFullYear()}`}return{IDS:{list:"sessions-list",filter:"sessions-filter",count:"sessions-count",hint:"sessions-hint"},groupSessions:function(e,t){const n=Number.isFinite(t)?t:Date.now(),r=Array.isArray(e)?e.filter(Boolean):[],o=new Map;for(const e of r){const t=i(s(e),n);let r=o.get(t.key);r||(r={key:t.key,label:t.label,rank:t.rank,sessions:[]},o.set(t.key,r)),r.sessions.push(e)}return[...o.values()].sort(((e,t)=>e.rank-t.rank))},bucketOf:i,sessionTitle:function(e){const t=String(e&&e.title||"").trim();if(t)return a(t,80);const n=u(e);if(n)return a(n,80);const r=String(e&&e.id||"").trim();return r?`untitled · ${r.slice(0,8)}`:"untitled"},sessionMeta:function(e,t){const n=[],r=c(e);r&&n.push(`${r} msg${1===r?"":"s"}`);const o=f(s(e),t);o&&n.push(o);const i=l(e);return i&&n.push(i),e&&!0===e.pending&&n.push("unsynced"),n.join(" · ")},projectOf:l,messageCount:c,firstPrompt:u,filterSessions:function(e,t){const n=String(null==e?"":e).trim().toLowerCase(),r=Array.isArray(t)?t.filter(Boolean):[];return n?r.filter((e=>[String(e&&e.title||""),u(e),String(e&&e.cwd||e&&e.dir||""),String(e&&e.id||"")].join("\n").toLowerCase().includes(n))):r},countLabel:function(e,t){const n=Number(t)||0,r=Number(e)||0;return n?r===n?`${n} conversation${1===n?"":"s"}`:`${r} of ${n}`:""},relTime:f,collapse:a,startOfDay:r}}();"undefined"!=typeof module&&module.exports&&(module.exports=n),e&&(e.aegisLibrary=n)}("undefined"!=typeof window?window:null);
|
|
3
|
+
"use strict";!function(e,t){const n=function(){const e=6e4,t=60*e,n=24*t;function r(e){const t=new Date(e);return t.setHours(0,0,0,0),t.getTime()}function s(e){const t=e&&Number(e.updatedAt);return Number.isFinite(t)&&t>0?t:0}const o=["January","February","March","April","May","June","July","August","September","October","November","December"];function i(e,t){if(!e)return{key:"undated",label:"Undated",rank:1e9};const s=r(t),i=r(e);if(i>=s)return{key:"today",label:"Today",rank:0};if(i>=s-n)return{key:"yesterday",label:"Yesterday",rank:1};if(i>s-7*n)return{key:"week",label:"Previous 7 days",rank:2};if(i>s-30*n)return{key:"month",label:"Previous 30 days",rank:3};const u=new Date(e),a=`${o[u.getMonth()]} ${u.getFullYear()}`,l=new Date(t),c=12*(l.getFullYear()-u.getFullYear())+(l.getMonth()-u.getMonth());return{key:`m${u.getFullYear()}-${u.getMonth()}`,label:a,rank:4+Math.max(0,c)}}function u(e){const t=Array.isArray(e&&e.messages)?e.messages:[];for(const e of t)if(e&&"user"===e.role&&"string"==typeof e.content&&e.content.trim())return e.content.trim();return e&&"string"==typeof e.firstPrompt?e.firstPrompt.trim():""}function a(e,t){const n=String(e).replace(/\s+/g," ").trim();return n.length>t?`${n.slice(0,t-1)}…`:n}function l(e){const t=String(e&&e.cwd||e&&e.dir||"");if(!t)return"";const n=t.split(/[\\/]/).filter(Boolean);return n.length?n[n.length-1]:""}function c(e){const t=Array.isArray(e&&e.messages)?e.messages:null;if(t)return t.length;const n=Number(e&&e.messages);return Number.isFinite(n)&&n>=0?n:0}function f(s,i){const u=Number.isFinite(i)?i:Date.now();if(!s)return"";const a=u-s;if(a<0)return"just now";if(a<e)return"just now";if(a<t)return`${Math.floor(a/e)}m ago`;if(a<n)return`${Math.floor(a/t)}h ago`;const l=Math.round((r(u)-r(s))/n);if(l<=1)return"yesterday";if(l<7)return`${l}d ago`;const c=new Date(s),f=c.getFullYear()===new Date(u).getFullYear(),g=o[c.getMonth()].slice(0,3);return f?`${c.getDate()} ${g}`:`${c.getDate()} ${g} ${c.getFullYear()}`}return{IDS:{list:"sessions-list",filter:"sessions-filter",count:"sessions-count",hint:"sessions-hint"},groupSessions:function(e,t){const n=Number.isFinite(t)?t:Date.now(),r=Array.isArray(e)?e.filter(Boolean):[],o=new Map;for(const e of r){const t=i(s(e),n);let r=o.get(t.key);r||(r={key:t.key,label:t.label,rank:t.rank,sessions:[]},o.set(t.key,r)),r.sessions.push(e)}return[...o.values()].sort(((e,t)=>e.rank-t.rank))},bucketOf:i,sessionTitle:function(e){const t=String(e&&e.title||"").trim();if(t)return a(t,80);const n=u(e);if(n)return a(n,80);const r=String(e&&e.id||"").trim();return r?`untitled · ${r.slice(0,8)}`:"untitled"},sessionMeta:function(e,t){const n=[],r=c(e);r&&n.push(`${r} msg${1===r?"":"s"}`);const o=f(s(e),t);o&&n.push(o);const i=l(e);return i&&n.push(i),e&&!0===e.pending&&n.push("unsynced"),n.join(" · ")},projectOf:l,messageCount:c,firstPrompt:u,filterSessions:function(e,t){const n=String(null==e?"":e).trim().toLowerCase(),r=Array.isArray(t)?t.filter(Boolean):[];return n?r.filter((e=>[String(e&&e.title||""),u(e),String(e&&e.cwd||e&&e.dir||""),String(e&&e.id||"")].join("\n").toLowerCase().includes(n))):r},countLabel:function(e,t){const n=Number(t)||0,r=Number(e)||0;return n?r===n?`${n} conversation${1===n?"":"s"}`:`${r} of ${n}`:""},relTime:f,collapse:a,startOfDay:r}}();"undefined"!=typeof module&&module.exports&&(module.exports=n),e&&(e.aegisLibrary=n)}("undefined"!=typeof window?window:null);
|
|
@@ -675,11 +675,59 @@ main {
|
|
|
675
675
|
|
|
676
676
|
.settings-view-header {
|
|
677
677
|
display: flex;
|
|
678
|
+
align-items: baseline;
|
|
679
|
+
justify-content: space-between;
|
|
680
|
+
gap: 12px 20px;
|
|
681
|
+
flex-wrap: wrap;
|
|
678
682
|
/* Page-header weight: this sits at the top of a full canvas page now, not
|
|
679
683
|
floating above a column at 256px, so it earns the same hairline the
|
|
680
684
|
topbar and the chat column get. */
|
|
681
685
|
padding-bottom: 12px;
|
|
682
686
|
border-bottom: 1px solid var(--border);
|
|
687
|
+
/* Pinned: the page is seven cards tall, so the fast links below are only
|
|
688
|
+
useful if they are reachable at the bottom of it too. `top: 0` is the
|
|
689
|
+
scrollport edge, which is inside the page's 24px padding — hence the
|
|
690
|
+
negative margin and matching padding, which extend the painted box up over
|
|
691
|
+
that gap so cards do not scroll visibly through it. The two cancel, so the
|
|
692
|
+
header occupies exactly the height it did before. */
|
|
693
|
+
position: sticky;
|
|
694
|
+
top: 0;
|
|
695
|
+
z-index: 3;
|
|
696
|
+
margin-top: -24px;
|
|
697
|
+
padding-top: 24px;
|
|
698
|
+
background: var(--bg);
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
/* Fast links across the settings page (index.html #settings-jump). Text, not
|
|
702
|
+
chips: the rail above already establishes that nav in this app is unboxed
|
|
703
|
+
rows, and six boxes here would read as six buttons that do something rather
|
|
704
|
+
than as six places to go. */
|
|
705
|
+
.settings-jump {
|
|
706
|
+
display: flex;
|
|
707
|
+
flex-wrap: wrap;
|
|
708
|
+
gap: 2px 14px;
|
|
709
|
+
margin: 0;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
.settings-jump-link {
|
|
713
|
+
background: none;
|
|
714
|
+
border: 0;
|
|
715
|
+
padding: 4px 0;
|
|
716
|
+
font-family: inherit;
|
|
717
|
+
font-size: var(--fs-small);
|
|
718
|
+
color: var(--text2);
|
|
719
|
+
cursor: pointer;
|
|
720
|
+
border-bottom: 1px solid transparent;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
.settings-jump-link:hover {
|
|
724
|
+
color: var(--teal);
|
|
725
|
+
border-bottom-color: color-mix(in srgb, var(--teal) 40%, transparent);
|
|
726
|
+
}
|
|
727
|
+
.settings-jump-link:focus-visible {
|
|
728
|
+
outline: 2px solid var(--teal);
|
|
729
|
+
outline-offset: 2px;
|
|
730
|
+
border-radius: 3px;
|
|
683
731
|
}
|
|
684
732
|
|
|
685
733
|
.settings-back {
|
|
@@ -1,29 +1,40 @@
|
|
|
1
|
-
# aegiscode — the terminal
|
|
1
|
+
# aegiscode — the assistant in your terminal
|
|
2
2
|
|
|
3
|
-
`aegiscode`
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
`aegiscode` is the command-line version of AEGIS One. You type what you want in
|
|
4
|
+
plain English — *"why does the build fail?"*, *"rename this function
|
|
5
|
+
throughout"*, *"summarise what changed this week"* — and it reads your files,
|
|
6
|
+
runs commands, edits code and answers. It is the same assistant, in a terminal
|
|
7
|
+
window instead of a window with buttons.
|
|
6
8
|
|
|
7
|
-
|
|
8
|
-
|---|---|
|
|
9
|
-
| `client/aegis.js` | The thin transport. Holds the API key, speaks HTTP/SSE. No brain logic. |
|
|
10
|
-
| `mcp/tools.js` | The tool registry — names, JSON schemas, result formatting. |
|
|
11
|
-
| `desktop/renderer/usage.js` | The token-usage → number mapping, shared with the GUI so the two can never disagree. |
|
|
12
|
-
| `desktop/lib/local/` | The agent-loop engine — persistent-shell exec, read/write/edit/glob/grep, Task subagents. The CLI runs the same loop the GUI does, scoped to the AEGIS class. |
|
|
9
|
+
There is nothing to configure before you start and no project to set up.
|
|
13
10
|
|
|
14
|
-
|
|
11
|
+
**You need two things:**
|
|
12
|
+
|
|
13
|
+
1. **[Node.js 22 or newer](https://nodejs.org/en/download)** — the runtime that
|
|
14
|
+
runs the app. On macOS or Windows the installer is a double-click; on Linux
|
|
15
|
+
use your package manager. Check yours with `node -v`.
|
|
16
|
+
2. **A free AEGIS key** from <https://aegiscloud.org> — this is what lets it
|
|
17
|
+
think. You paste it once, in step 2 below.
|
|
18
|
+
|
|
19
|
+
If you have never used a terminal before: it is the plain window where you type
|
|
20
|
+
commands and press Enter. On macOS it is called **Terminal**; on Windows,
|
|
21
|
+
**PowerShell**. Open it and type the grey boxes below exactly as written.
|
|
15
22
|
|
|
16
23
|
## Quick start
|
|
17
24
|
|
|
18
25
|
Four steps, in order. Everything past this section is the fuller reference for
|
|
19
26
|
each one.
|
|
20
27
|
|
|
21
|
-
**1. Install** —
|
|
28
|
+
**1. Install** — needs Node 22+ (see above if you are not sure).
|
|
22
29
|
|
|
23
30
|
```bash
|
|
24
31
|
npm install -g aegiscode
|
|
25
32
|
```
|
|
26
33
|
|
|
34
|
+
`npm` comes with Node.js. `-g` means *"install this so I can run it from any
|
|
35
|
+
folder"*. This one line downloads the app and puts the `aegiscode` command on
|
|
36
|
+
your machine.
|
|
37
|
+
|
|
27
38
|
**2. Log in** — get a key at <https://aegiscloud.org> if you don't have one.
|
|
28
39
|
|
|
29
40
|
```bash
|
|
@@ -56,7 +67,7 @@ product, so they are one name now:
|
|
|
56
67
|
|
|
57
68
|
| Name | Status |
|
|
58
69
|
|---|---|
|
|
59
|
-
| `aegiscode` | **this host
|
|
70
|
+
| `aegiscode` | **this host**. Installs a single command, `aegiscode`. Run `aegiscode version` for the version you have. |
|
|
60
71
|
| `aegis-terminal` | deprecated — the 0.1.x spelling of this package, folded into `aegiscode`. |
|
|
61
72
|
| `aegiscode-cli` | 4.0.3, an earlier name of this CLI's predecessor line. Untouched. |
|
|
62
73
|
| `aegis-cli` | 0.4.8 (unrelated). |
|
|
@@ -249,22 +260,28 @@ launch, and an explicit flag (`-m`, `--light`) always outranks the stored value.
|
|
|
249
260
|
|
|
250
261
|
In a session, plain text is a prompt. `/help` lists commands, grouped by
|
|
251
262
|
category, the way the reference does. The registry is that client's, ported
|
|
252
|
-
command for command —
|
|
263
|
+
command for command — 96 entries across eight categories:
|
|
253
264
|
|
|
254
265
|
| Category | Commands |
|
|
255
266
|
|---|---|
|
|
256
|
-
| Session & context | `/schedule` `/clear` `/compact` `/context` `/todos` `/config` `/exit` `/recap` `/resume` `/rewind` `/agents` `/status` `/teleport` `/version` `/new` `/skills` `/multiyolo` `/multi` `/research` `/debate` |
|
|
257
|
-
| Workspace | `/run` `/build` `/cd` `/init` `/clone` |
|
|
258
|
-
| Model & behavior | `/ping` `/effort` `/model` `/
|
|
259
|
-
| Data | `/copy` `/cost` `/export` `/tokens` `/sync` |
|
|
260
|
-
| Auth | `/login` `/logout` `/key` `/byok` `/byok-set` `/byok-rm` `/byok-key` `/byok-rm-key` |
|
|
261
|
-
| Support | `/help` `/doctor` `/upgrade` `/troubleshooting` `/feedback` `/bug` `/issue` `/onboarding` `/shell-completion` `/terminal-setup` `/pr-comments` `/prs` `/review` `/benchmark` `/billing` `/topup` `/cloud` `/gmail` `/release-notes` |
|
|
267
|
+
| Session & context | `/schedule` `/clear` `/undo` `/compact` `/context` `/todos` `/config` `/exit` `/recap` `/resume` `/rewind` `/agents` `/status` `/teleport` `/version` `/new` `/skills` `/multiyolo` `/multi` `/research` `/debate` |
|
|
268
|
+
| Workspace | `/run` `/build` `/cd` `/sandbox` `/init` `/clone` |
|
|
269
|
+
| Model & behavior | `/ping` `/effort` `/model` `/theme` `/terminal` `/vim` `/permissions` `/hooks` `/credentials` `/install-github-app` `/thinking` `/mcp` `/memory` `/memory-deep` `/confirm` `/automode` *(alias `/yolo`)* `/router` `/class` `/models` `/model-add` `/model-discover` `/model-rm` |
|
|
270
|
+
| Data | `/copy` `/cost` `/export` `/tokens` `/sync` `/drive` |
|
|
271
|
+
| Auth | `/login` `/logout` `/key` `/byok` `/byok-set` `/byok-rm` `/byok-list` `/byok-key` `/byok-rm-key` |
|
|
272
|
+
| Support | `/help` `/license` `/credits` `/doctor` `/upgrade` `/troubleshooting` `/feedback` `/bug` `/issue` `/onboarding` `/shell-completion` `/terminal-setup` `/pr-comments` `/prs` `/review` `/benchmark` `/billing` `/topup` `/cloud` `/gmail` `/release-notes` |
|
|
262
273
|
| Fun | `/radio` `/waifu` |
|
|
263
274
|
| Aegis plugin | `/aegis-status` `/aegis-ask` `/aegis-recall` `/aegis-remember` `/aegis-council` `/aegis-print` `/aegis-multi` `/tool` `/aegis-import` |
|
|
264
275
|
|
|
276
|
+
There are 96 commands in eight categories; the ninth category in the registry,
|
|
277
|
+
`Custom`, holds none by default. `/yolo` is an **alias** of `/automode`, not a
|
|
278
|
+
command of its own — it never appears as its own row.
|
|
279
|
+
|
|
265
280
|
The table above is generated from `cli/src/commands.js` (`COMMANDS` +
|
|
266
|
-
`CATEGORIES`), which is the only authority on what exists
|
|
267
|
-
|
|
281
|
+
`CATEGORIES`), which is the only authority on what exists, and
|
|
282
|
+
`test/readme-claims.test.mjs` asserts that every name here matches the registry
|
|
283
|
+
exactly. A hand-kept copy is how it came to claim 75 entries while the code held
|
|
284
|
+
84 before this port.
|
|
268
285
|
|
|
269
286
|
`/help` shows the live list with hints; aliases are searchable in the `/`
|
|
270
287
|
palette exactly as they are there (`/ask` → `/aegis-ask`, `?` → `/help`,
|
|
@@ -647,7 +664,7 @@ alternate-screen frame of header rule, transcript viewport, spinner/effort line,
|
|
|
647
664
|
input line and status line, driven by a raw key stream.
|
|
648
665
|
|
|
649
666
|
```
|
|
650
|
-
|
|
667
|
+
╭────────────────────────── AEGIS Code v<version> ────────────────────────────╮
|
|
651
668
|
❯ summarise what changed in the token accounting
|
|
652
669
|
● Three things changed, and one of them was costing you money:
|
|
653
670
|
|
|
@@ -717,6 +734,18 @@ node cli/scripts/demo.mjs # from a source checkout
|
|
|
717
734
|
|
|
718
735
|
## Design notes
|
|
719
736
|
|
|
737
|
+
**Four shared pieces, and no others.** The CLI is not a second implementation;
|
|
738
|
+
it is the same parts the other faces use:
|
|
739
|
+
|
|
740
|
+
| Shared piece | What it is |
|
|
741
|
+
|---|---|
|
|
742
|
+
| `client/aegis.js` | The thin transport. Holds the API key, speaks HTTP/SSE. No brain logic. |
|
|
743
|
+
| `mcp/tools.js` | The tool registry — names, JSON schemas, result formatting. |
|
|
744
|
+
| `desktop/renderer/usage.js` | The token-usage → number mapping, shared with the GUI so the two can never disagree. |
|
|
745
|
+
| `desktop/lib/local/` | The agent-loop engine — persistent-shell exec, read/write/edit/glob/grep, Task subagents. The CLI runs the same loop the GUI does, scoped to the AEGIS class. |
|
|
746
|
+
|
|
747
|
+
Routing, model tiers, memory and billing all stay behind aegiscloud.org.
|
|
748
|
+
|
|
720
749
|
**It looks like the reference on purpose.** The gold/coral/lavender palette,
|
|
721
750
|
the `✦`-studded welcome mark (mascot, crescent moon and diving whale), the `❯`
|
|
722
751
|
prompt, the `⎿` hook rows and the `✻` spinner line are the reference's
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aegiscode",
|
|
3
3
|
"productName": "AEGIS Code",
|
|
4
|
-
"version": "7.0.
|
|
4
|
+
"version": "7.0.43",
|
|
5
5
|
"description": "aegiscode — the command-line version of AEGIS One. The shared tool surface in your shell, over the same thin transport and tool registry as the MCP plugin and the desktop app. Ships transport + UI only; no brain.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "AEGIS Code",
|