@useavalon/caelence-agent 0.2.3-canary.0 → 0.2.3-canary.2
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 +7 -0
- package/desktop/src/App.tsx +9 -2919
- package/desktop/src/BubbleClip.tsx +1 -1
- package/desktop/src/ComposerAttach.tsx +2 -2
- package/desktop/src/DeskBoot.tsx +28 -0
- package/desktop/src/DeskChrome.tsx +360 -0
- package/desktop/src/DeskComposer.tsx +311 -0
- package/desktop/src/DeskSidebar.tsx +191 -0
- package/desktop/src/FilesPanel.tsx +104 -36
- package/desktop/src/FloatNotice.test.ts +12 -0
- package/desktop/src/FloatNotice.tsx +5 -2
- package/desktop/src/IntegrationsPanel.tsx +273 -0
- package/desktop/src/McpPanel.tsx +8 -8
- package/desktop/src/MemoryPanel.tsx +138 -0
- package/desktop/src/QueuePanel.tsx +123 -0
- package/desktop/src/SessionsPanel.tsx +174 -0
- package/desktop/src/SettingsPanel.tsx +181 -0
- package/desktop/src/SkillsPanel.tsx +28 -12
- package/desktop/src/TranscriptViews.tsx +637 -0
- package/desktop/src/api.ts +36 -0
- package/desktop/src/app.css +159 -11
- package/desktop/src/composer-files.ts +2 -2
- package/desktop/src/desk-keys.ts +45 -0
- package/desktop/src/desk-prefs.ts +29 -0
- package/desktop/src/desk-types.ts +92 -0
- package/desktop/src/desktop-turn.ts +271 -0
- package/desktop/src/preview-render.ts +322 -36
- package/desktop/src/queue.ts +1 -1
- package/desktop/src/session-search.test.ts +20 -0
- package/desktop/src/session-search.ts +13 -0
- package/desktop/src/session-select.test.ts +23 -0
- package/desktop/src/session-select.ts +32 -0
- package/desktop/src/useDeskDictation.ts +123 -0
- package/desktop/src/useDeskFiles.ts +180 -0
- package/desktop/src/useDeskNotice.ts +20 -0
- package/desktop/src/useDeskPicker.ts +189 -0
- package/desktop/src/useDeskPrefs.ts +30 -0
- package/desktop/src/useDeskRuntime.ts +109 -0
- package/desktop/src/useDeskSessions.ts +195 -0
- package/desktop/src/useDeskSlash.ts +31 -0
- package/desktop/src/useDeskTurns.ts +264 -0
- package/desktop/src/useDesktopApp.ts +286 -0
- package/desktop/src/user-display.ts +2 -2
- package/package.json +2 -2
- package/src/cli/openrouter-live.ts +30 -21
- package/src/cli/slash-dispatch.test.ts +25 -0
- package/src/cli/slash-dispatch.ts +41 -0
- package/src/cli/slash.ts +1 -0
- package/src/config.ts +10 -1
- package/src/core/run-turn.test.ts +3 -0
- package/src/core/run-turn.ts +74 -41
- package/src/desktop/bridge.test.ts +43 -0
- package/src/desktop/bridge.ts +91 -19
- package/src/desktop/uploads.test.ts +6 -0
- package/src/desktop/uploads.ts +178 -66
- package/src/index.ts +13 -0
- package/src/integrations/remote-mcp.ts +51 -21
- package/src/memory/extract.test.ts +81 -0
- package/src/memory/extract.ts +88 -0
- package/src/memory/prefs.test.ts +53 -0
- package/src/memory/prefs.ts +47 -0
- package/src/memory/prompt.ts +24 -0
- package/src/memory/store.test.ts +191 -0
- package/src/memory/store.ts +382 -0
- package/src/runtime.test.ts +37 -0
- package/src/runtime.ts +29 -1
- package/src/tools/local.ts +86 -39
package/README.md
CHANGED
|
@@ -66,6 +66,8 @@ export default {
|
|
|
66
66
|
| `AGENTS.md` | Project instructions |
|
|
67
67
|
| `~/.harness/AGENTS.md` | User instructions for every project |
|
|
68
68
|
| `.harness/sessions/` | Session logs |
|
|
69
|
+
| `~/.harness/memory/` | User memory facts, if enabled |
|
|
70
|
+
| `.harness/memory/` | Project memory facts, if enabled |
|
|
69
71
|
| `~/.harness/integrations.json` | Connected hosted MCP servers |
|
|
70
72
|
|
|
71
73
|
The desktop stores the OpenRouter key in `~/.harness`. The terminal UI reads `OPENROUTER_API_KEY`, and optionally `OPENROUTER_MODEL` and `OPENROUTER_BASE_URL`.
|
|
@@ -112,6 +114,7 @@ In the desktop and the terminal UI, `/` opens slash commands, and Tab completes
|
|
|
112
114
|
/model pick a model
|
|
113
115
|
/mode ask, plan, or agent
|
|
114
116
|
/compact summarize earlier turns
|
|
117
|
+
/memory remember across chats
|
|
115
118
|
/image [prompt] generate an image
|
|
116
119
|
/video [prompt] generate a clip
|
|
117
120
|
/transcribe speech to text model
|
|
@@ -164,6 +167,10 @@ Each connection is stored in `~/.harness/integrations.json`, and disconnecting r
|
|
|
164
167
|
|
|
165
168
|
Start in `ask`, `plan`, or `agent` with `/mode`, which changes which tools are available. `exec` and `git_commit` prompt for approval by default (`prompt`), and `auto` still refuses destructive commands. Local exec is the host machine rather than a sandbox.
|
|
166
169
|
|
|
170
|
+
## Memory
|
|
171
|
+
|
|
172
|
+
Turn it on from the Memory tab or `/memory on` if you want later chats to keep prefs and project decisions. After a turn the model adds a few of those to `~/.harness/memory` and `.harness/memory`, and the next session only sees the ones that fit what you asked. `/memory` lists them, `/memory delete 1` removes a line, and `/memory pin 1` copies it into `AGENTS.md`.
|
|
173
|
+
|
|
167
174
|
## Library
|
|
168
175
|
|
|
169
176
|
The desktop, the terminal UI, and `caelence chat -m` all call `createHarness`, so you can drive the same runtime from a bot, a script, or another host UI.
|