xedoc-cli 0.1.11 → 0.1.12
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 +11 -5
- package/build/client/assets/api.workspaces.directories-B0tllRDq.js +0 -0
- package/build/client/assets/app-layout-Bl4qOwh7.js +1 -0
- package/build/client/assets/app-shell-D4VZoy6V.js +2 -0
- package/build/client/assets/chat-5ZSZb1GN.js +1 -0
- package/build/client/assets/{connect-C_Nz7Dlc.js → connect-xfBRZuAz.js} +1 -1
- package/build/client/assets/document-title-bwEcQkgI.js +1 -0
- package/build/client/assets/{entry.client-BQZeV9JD.js → entry.client-Bt-W9tr6.js} +1 -1
- package/build/client/assets/{ghostty-web-CgkkAFeT.js → ghostty-web-BBN5ya0J.js} +1 -1
- package/build/client/assets/home-D-i6W4Ao.js +1 -0
- package/build/client/assets/{jsx-runtime-Cal6WBdn.js → jsx-runtime-BUWBtJLv.js} +1 -1
- package/build/client/assets/{label-3ZcIm6vU.js → label-BLnKkf67.js} +1 -1
- package/build/client/assets/manifest-9317aaeb.js +1 -0
- package/build/client/assets/{react-dom-D4MOkHq2.js → react-dom-Bppadr6u.js} +1 -1
- package/build/client/assets/root-B6reKqFo.js +1 -0
- package/build/client/assets/root-BDyfnfyW.css +2 -0
- package/build/client/assets/{session-provider-LuURNNCq.js → session-provider-BFqptX_P.js} +1 -1
- package/build/server/index.js +1 -1
- package/package.json +1 -1
- package/prisma/schema.prisma +22 -0
- package/server/sqlite-setup.mjs +63 -0
- package/build/client/assets/app-layout-VeZzc2bX.js +0 -1
- package/build/client/assets/app-shell-iKMZyGQn.js +0 -2
- package/build/client/assets/chat-lT5RuwNC.js +0 -1
- package/build/client/assets/document-title-C2ykzN2o.js +0 -1
- package/build/client/assets/home-BynJN9xe.js +0 -1
- package/build/client/assets/manifest-a5a0eaab.js +0 -1
- package/build/client/assets/root-B6ikjQMc.js +0 -1
- package/build/client/assets/root-KOlmIkbz.css +0 -2
- /package/build/client/assets/{__vite-browser-external-2447137e-Bb2UaVfr.js → __vite-browser-external-2447137e-DSxSsOOp.js} +0 -0
- /package/build/client/assets/{api.accounts._accountId.authenticate-Bp51NHGy.js → api.accounts._accountId.authenticate-CLzgv3py.js} +0 -0
- /package/build/client/assets/{api.accounts._accountId.authenticate.callback-DLgNMRyd.js → api.accounts._accountId.authenticate.callback-Bqhz8sDl.js} +0 -0
- /package/build/client/assets/{api.accounts._accountId.models-DGbCmT_9.js → api.accounts._accountId.models-VIVpVZrj.js} +0 -0
- /package/build/client/assets/{api.accounts._accountId.rate-limits-DZh4HPLO.js → api.accounts._accountId.personalization-z2pU64qI.js} +0 -0
- /package/build/client/assets/{api.chats-DZ_6Q7rY.js → api.accounts._accountId.rate-limits-C9iUvNFt.js} +0 -0
- /package/build/client/assets/{api.chats._chatId-BEX87qHo.js → api.chats-C6-gVaXw.js} +0 -0
- /package/build/client/assets/{api.chats._chatId.context-v4G0lNKq.js → api.chats._chatId-DaXHa-ln.js} +0 -0
- /package/build/client/assets/{api.chats._chatId.files-BrN7O-wM.js → api.chats._chatId.context-DlBgjpCD.js} +0 -0
- /package/build/client/assets/{api.chats._chatId.git._operation-CiUW8Knm.js → api.chats._chatId.files-DVZKcoNV.js} +0 -0
- /package/build/client/assets/{api.chats._chatId.interrupt-2DlVPDlX.js → api.chats._chatId.git._operation-8Xtyz4hF.js} +0 -0
- /package/build/client/assets/{api.chats._chatId.messages-cDawTuvN.js → api.chats._chatId.interrupt-B71lrxkc.js} +0 -0
- /package/build/client/assets/{api.chats._chatId.server-requests._requestId.respond-CTlCffOk.js → api.chats._chatId.messages-iVzJcgvw.js} +0 -0
- /package/build/client/assets/{api.workspaces.directories-nVoleT74.js → api.chats._chatId.server-requests._requestId.respond-BLhOUK8A.js} +0 -0
package/README.md
CHANGED
|
@@ -4,11 +4,11 @@ xedoc is a single React Router Framework Mode app, built with Vite, for managing
|
|
|
4
4
|
|
|
5
5
|
## What It Does
|
|
6
6
|
|
|
7
|
-
- Stores shared Codex accounts
|
|
7
|
+
- Stores shared Codex accounts and per-thread preferences in xedoc SQLite; chat history stays in the root Codex store.
|
|
8
8
|
- Starts browser or device-code Codex account authentication through the local `codex app-server` JSON-RPC flow.
|
|
9
9
|
- Isolates each Codex account with a separate `CODEX_HOME` while sharing Codex chat sessions through the system Codex chat store.
|
|
10
10
|
- Stores a working directory on each chat so different chats can target different local projects.
|
|
11
|
-
- Executes chat prompts against the selected Codex account and reads settled transcripts
|
|
11
|
+
- Executes chat prompts against the selected Codex account and reads settled chat lists/transcripts from the root Codex store.
|
|
12
12
|
- Serves the ChatGPT-style web UI and `/api/*` resource routes from one same-origin app.
|
|
13
13
|
- Streams live chat updates through authenticated Socket.IO rooms on `/socket.io`.
|
|
14
14
|
|
|
@@ -70,19 +70,25 @@ npmjs.com with this GitHub repository and the workflow file
|
|
|
70
70
|
|
|
71
71
|
## Codex Account Isolation
|
|
72
72
|
|
|
73
|
-
Each Codex account runs as its own local `codex app-server` process. The server sets `CODEX_HOME` per account so auth files, config, cache, and other
|
|
73
|
+
Each Codex account runs as its own local `codex app-server` process. The server sets `CODEX_HOME` per account so auth files, config, cache, and other non-chat account state stay under:
|
|
74
74
|
|
|
75
75
|
```text
|
|
76
76
|
~/.xedoc/accounts/<accountId>
|
|
77
77
|
```
|
|
78
78
|
|
|
79
|
-
Codex chat data
|
|
79
|
+
Codex chat data and personalization are centralized separately. By default,
|
|
80
|
+
each account home gets symlinks for `sessions/`, `session_index.jsonl`, Codex
|
|
81
|
+
`state_*.sqlite` chat state files, and `AGENTS.md` pointing at the system Codex
|
|
82
|
+
chat store:
|
|
80
83
|
|
|
81
84
|
```text
|
|
82
85
|
~/.codex
|
|
83
86
|
```
|
|
84
87
|
|
|
85
|
-
Set `CODEX_SHARED_CHAT_HOME` to change the shared chat store. Existing
|
|
88
|
+
Set `CODEX_SHARED_CHAT_HOME` to change the shared chat store. Existing
|
|
89
|
+
per-account chat storage and non-empty personalization files are copied or
|
|
90
|
+
merged into the shared store when safe, then kept as timestamped
|
|
91
|
+
`.pre-shared-*` backups before the symlinks are created.
|
|
86
92
|
|
|
87
93
|
For existing installations, saved account homes are prepared when the app lists
|
|
88
94
|
accounts after upgrade. This migrates old per-account chat storage into the
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{M as r,t as s}from"./jsx-runtime-BUWBtJLv.js";import{t}from"./app-shell-D4VZoy6V.js";var a=s(),o=r(function(){return(0,a.jsx)(t,{})});export{o as default};
|