@eeshaai/code 1.0.3 → 1.0.5
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 +27 -8
- package/dist/server.js +350 -330
- package/dist/web/page.css +1 -1
- package/dist/web/page.js +121 -121
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -220,6 +220,21 @@ Connectors let the agent read Azure DevOps and GitHub, and change them where you
|
|
|
220
220
|
6. **Kept lists.** Lists of projects, repos, pipelines and the like are kept for a while in `cache/connectors.json`, so the `>` menu fills at once. When a kept list was used, the last row says how old it is and fetches it again when picked. The kept lists for a connector go after any change it makes, after a sign-in, and on Disconnect.
|
|
221
221
|
7. **Disconnect** forgets the choices. The `az` or `gh` program stays signed in.
|
|
222
222
|
|
|
223
|
+
#### Memory
|
|
224
|
+
|
|
225
|
+
Memory is a connector too, with nothing to sign in to. It keeps short facts between sessions: a preference of yours, a decision and its reason, a fact about some code. It is Eesha Code's own, so Kiro, Claude and Copilot sessions all get the same memories.
|
|
226
|
+
|
|
227
|
+
1. **Three levels.** A global memory goes to every session. A workspace memory goes only to sessions of that workspace. A folder memory goes to any session that has that folder. A folder is known by its path on disk.
|
|
228
|
+
2. **What a session gets.** Every new session is told the titles of the memories it can use, and gets tools to list, search and read them, and to save, change and delete them. A session reaches only global, its own workspace and its own folders. A session with no folder reaches only global.
|
|
229
|
+
3. **Settings › Connectors › Memory** has three choices:
|
|
230
|
+
1. What the agent may do: Off, Read, or Read and write. It starts on Read and write. Used from the next session start.
|
|
231
|
+
2. Ask me before the agent saves, changes or deletes a memory. Off to start with: the agent does it and the session shows a short notice. On: a window with Deny and Allow, every time, and the change is refused when no tab shows the session.
|
|
232
|
+
3. Claude's own memory is off in Eesha Code's sessions. Claude Code keeps a memory of its own, and two memories would not agree. While Eesha Code's memory is on, a Claude session starts only when this is on. The first message to Claude asks you, once. It is turned off only for sessions Eesha Code starts; Claude Code in your terminal is not changed. Set Eesha Code's memory to Off and Claude's own is left as it is.
|
|
233
|
+
4. **Settings › Memory** lists every memory in groups: Global, each workspace, each folder. Add a memory, Edit its text or move it to another level, or Delete it. A memory shows who wrote it: you, or an agent. "Folder moved…" on a folder group gives its memories to the folder it is now, after a move or a rename.
|
|
234
|
+
5. **`>memory` in the message box** puts one memory into a message: `>memory>global>12`, `>memory>workspace>7`, `>memory>folder>3`. The number is the memory's id.
|
|
235
|
+
6. **Where it is kept.** One database file, `memory.db`. Nothing is written into your folders, so git never sees a memory.
|
|
236
|
+
7. **Phases of a spec** get the memory tools, but are not told the titles: a phase runs with the spec's own instructions only.
|
|
237
|
+
|
|
223
238
|
### 3.7 Instructions for the agent and tools turned off
|
|
224
239
|
|
|
225
240
|
1. Put text in `.eesha/system.md` in a session's folder and every runtime gets it as extra instructions. `.eesha/kiro.md` beside it goes to Kiro runtimes only. With several folders, every folder's files are used. The text is read when a session starts or reopens.
|
|
@@ -229,23 +244,24 @@ Connectors let the agent read Azure DevOps and GitHub, and change them where you
|
|
|
229
244
|
|
|
230
245
|
### 3.8 Settings
|
|
231
246
|
|
|
232
|
-
**Settings**, the gear in the header, opens the settings page. It has a menu on its left; each item is its own address (`/settings/general`, `/settings/connectors`, `/settings/runtimes`, `/settings/features`, `/settings/storage`), and `/settings` opens General. Each change is written to `settings.json` at once:
|
|
247
|
+
**Settings**, the gear in the header, opens the settings page. It has a menu on its left; each item is its own address (`/settings/general`, `/settings/connectors`, `/settings/memory`, `/settings/runtimes`, `/settings/features`, `/settings/storage`), and `/settings` opens General. Each change is written to `settings.json` at once:
|
|
233
248
|
|
|
234
249
|
1. General:
|
|
235
250
|
- **Look** - Dark, Light, or Follow the system. Every open tab changes at once, with no restart.
|
|
236
251
|
- **Text size** - A- and A+ make the text and icons on every page one px smaller or bigger, from 11 px to 24 px (13 px to start with). The page changes at once; the size is written to `settings.json` when you stop pressing. Reset puts it back to 13 px. Every open tab changes too.
|
|
237
252
|
- **Port** - used from the next start. The link changes with it. "Pick a free port" puts a port nothing uses now in the box; Save keeps it.
|
|
238
253
|
- **settings.json** - the whole file as text, for everything else (MCP servers, your own ACP agents, env rules, settings per runtime). It is checked before it is saved; a file with a mistake is not saved, and the page says what is wrong. Revert and Save stay at the bottom of the window while the page scrolls.
|
|
239
|
-
2. Connectors - Azure DevOps and GitHub for the agent to read (and write, if you choose).
|
|
240
|
-
3.
|
|
254
|
+
2. Connectors - Azure DevOps and GitHub for the agent to read (and write, if you choose), and what the agent may do with the memory (see 3.6).
|
|
255
|
+
3. Memory - every saved memory, to add, edit, move and delete (see 3.6). The memories are not in `settings.json`.
|
|
256
|
+
4. Runtimes - one card per runtime, with everything set for it:
|
|
241
257
|
- Whether its program was found (the same check as `eesha doctor`): a green dot and the path shortened (hover to see all of it), or a grey dot and "Not found on this machine". Runtimes not found are listed last, faded.
|
|
242
258
|
- **Set as default** - the runtime a new session starts on (written as `ai."ai@1".provider`); a session already started stays on its own runtime. The default runtime's card has a green "Default" tag and a green left edge.
|
|
243
259
|
- **Show in picker** - runtimes switched on show in the runtime picker. Until you change one, only the runtimes found are on. At least one stays on, and the default cannot be switched off - set another one as default first.
|
|
244
260
|
- **Denied tools** - the runtime's own tools to take away, by name, separated by commas, for example `fs_write,fs_read` (`eesha.runtimes.<id>.toolsOff`). Copy a name from the log: each tool call's line shows it in brackets after the title. Used from the next session start or reopen. A runtime not found has the box only when tools are already denied for it.
|
|
245
261
|
- **Add a runtime** takes an id, a command and its arguments. Before it is saved, the program is started once and sent ACP's first message; it is added only if it answers as an ACP agent within 20 seconds. It is stopped right after, and no session is opened. It is saved in `ai.acpAgents`. Environment values go in the settings.json text box.
|
|
246
262
|
- Runtimes you added are tagged "Yours" and can be removed. Built-in ones cannot.
|
|
247
|
-
|
|
248
|
-
|
|
263
|
+
5. Features - a table of the feature flags that matter on this page, with what each one does: `Feature-SDD` (the SDD module, off by default), `handover`, `steering`, `toolResults`, `liveToolOutput`, `sessionCost` and `hideCopilotPremiumRequests`.
|
|
264
|
+
6. Storage - how many files are in `trash/`, with Empty trash, and how many scratch folders belong to deleted sessions, with Remove. Each asks first. Neither can be taken back.
|
|
249
265
|
|
|
250
266
|
A session on screen picks a change up at once; a turn already running keeps what it started with.
|
|
251
267
|
|
|
@@ -295,7 +311,8 @@ Everything is in `~/.eesha/`. Settings are read only from here, never from a fol
|
|
|
295
311
|
"connectors": {
|
|
296
312
|
"ado": { "reach": [{ "org": "contoso", "project": "Web" }], "sources": { "workitems": "write", "builds": "read" } },
|
|
297
313
|
"github": { "reach": ["octocat", "contoso/api"], "sources": { "pulls": "read", "repos": "read" } }
|
|
298
|
-
}
|
|
314
|
+
},
|
|
315
|
+
"memory": { "access": "write", "askOnSave": false, "claudeMemoryOff": true }
|
|
299
316
|
}
|
|
300
317
|
}
|
|
301
318
|
```
|
|
@@ -306,6 +323,7 @@ Everything is in `~/.eesha/`. Settings are read only from here, never from a fol
|
|
|
306
323
|
4. `workingFolders` - full paths of the folders where you keep your code (Settings › General › Working folders). The folder browser shows them beside the drives. It also lists, under "Git repos", each working folder that is a git repo and each folder right inside one that is, the most recent git activity first. A repo you used before shows only under "Used before". The workspace window's folder list shows these repos after the folders used before.
|
|
307
324
|
5. `runtimes.<id>.toolsOff` - the runtime's own tools to take away (Settings › Runtimes › Denied tools).
|
|
308
325
|
6. `connectors` - what each connector may reach and do (Settings › Connectors). A connector with no entry is not connected. Sign-in is never kept here; it stays in `az` and `gh`.
|
|
326
|
+
7. `memory` - the three memory choices (Settings › Connectors › Memory, see 3.6): `access` is `"off"`, `"read"` or `"write"`; `askOnSave` and `claudeMemoryOff` are `true` or `false`. With no entry, memory is on with `"write"` and both others are `false`.
|
|
309
327
|
2. `key` - the secret in the link. Delete it and restart to make a new one; old links and bookmarks then stop working.
|
|
310
328
|
3. `server.json` - the running server's process id and port. It goes when the server stops.
|
|
311
329
|
4. `permissions.json` - the answers you saved from permission cards ("this session", "this folder", "always").
|
|
@@ -313,8 +331,9 @@ Everything is in `~/.eesha/`. Settings are read only from here, never from a fol
|
|
|
313
331
|
6. `usage.json` - the last Claude account and plan limits seen, so a new session shows them at once.
|
|
314
332
|
7. `upgrade.json` - written just before an update restarts the server, read and deleted by the new server to show what happened.
|
|
315
333
|
8. `cache/connectors.json` - connector lists kept between restarts (see 3.6). No token is in it.
|
|
316
|
-
9. `
|
|
317
|
-
10. `
|
|
334
|
+
9. `memory.db` - the memories (see 3.6), one SQLite database. Made the first time a session starts with memory on, or the Memory page is opened.
|
|
335
|
+
10. `plugins/` - your own plugins. Plugins are read only from here, never from a session's folder.
|
|
336
|
+
11. `sessions/`, `events/`, `state.json`, `models/`, `commands/`, `scratch/`, `trash/` - each session's folders, the chat history, saved picks (runtime, tools, names, pins, aliases, workspaces, SDD's saved values, permission levels), model lists, each runtime's slash commands, uploaded files and scratch work, and files an Undo or a Git discard removed.
|
|
318
337
|
|
|
319
338
|
## 5. Safety
|
|
320
339
|
|