codesesh 1.0.0 → 1.0.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 +27 -4
- package/dist/{chunk-BEF6LLRG.js → chunk-JHX5OLL4.js} +4010 -2248
- package/dist/chunk-JHX5OLL4.js.map +1 -0
- package/dist/{chunk-TIHF4T3K.js → chunk-OFTTM3UD.js} +80 -16
- package/dist/chunk-OFTTM3UD.js.map +1 -0
- package/dist/{dist-3F467V44.js → dist-N2PQATP2.js} +40 -4
- package/dist/index.js +1818 -454
- package/dist/index.js.map +1 -1
- package/dist/scan-refresh-worker.js +274 -95
- package/dist/scan-refresh-worker.js.map +1 -1
- package/dist/search-index-worker.js +112 -50
- package/dist/search-index-worker.js.map +1 -1
- package/dist/smart-tag-worker.js +5 -3
- package/dist/smart-tag-worker.js.map +1 -1
- package/dist/web/assets/ErrorBoundary-D11tWzfn.js +1 -0
- package/dist/web/assets/OverviewScreen-DriPmCam.js +1 -0
- package/dist/web/assets/Projects-BPDIcUBK.js +1 -0
- package/dist/web/assets/SearchFilterBar-Bx73B5e9.js +1 -0
- package/dist/web/assets/SearchResultsPanel-A6_3TPhW.js +1 -0
- package/dist/web/assets/SessionDetail-lQz99ARH.js +54 -0
- package/dist/web/assets/agents-BkRP_ww3.js +1 -0
- package/dist/web/assets/contract-V6QuD0UY.js +1 -0
- package/dist/web/assets/index-B2RqUgZ5.css +1 -0
- package/dist/web/assets/index-BgWoUD_4.js +1410 -0
- package/dist/web/assets/panel-C-gc79Gz.js +1 -0
- package/dist/web/assets/session-indexes-0oT5HSS5.js +4 -0
- package/dist/web/assets/utils-DgUgu15E.js +1 -0
- package/dist/web/index.html +10 -32
- package/dist/web/theme-bootstrap.js +19 -0
- package/package.json +10 -10
- package/dist/chunk-BEF6LLRG.js.map +0 -1
- package/dist/chunk-TIHF4T3K.js.map +0 -1
- package/dist/web/assets/ErrorBoundary-BY-N1QzJ.js +0 -1
- package/dist/web/assets/OverviewScreen-_ZaVjhxN.js +0 -1
- package/dist/web/assets/Projects-q6cEm2dc.js +0 -1
- package/dist/web/assets/SearchFilterBar-CrVBpo40.js +0 -1
- package/dist/web/assets/SearchResultsPanel-Cg5V8Ia6.js +0 -1
- package/dist/web/assets/SessionDetail-BSSuddsZ.js +0 -54
- package/dist/web/assets/chunk-62JRHF6Z-BWRsEBnL.js +0 -4
- package/dist/web/assets/index-C3KgxGwE.js +0 -1410
- package/dist/web/assets/index-DQX42cFQ.css +0 -1
- package/dist/web/assets/panel-B7kuE60V.js +0 -1
- package/dist/web/assets/session-indexes-DmnjZ_JL.js +0 -1
- package/dist/web/assets/utils-t2u9IbNT.js +0 -1
- /package/dist/{dist-3F467V44.js.map → dist-N2PQATP2.js.map} +0 -0
package/README.md
CHANGED
|
@@ -87,7 +87,10 @@ npx codesesh --trace
|
|
|
87
87
|
| ----------- | ----- | ------- | ----------------------------------------------------------- |
|
|
88
88
|
| `--port` | `-p` | `4521` | HTTP server starting port; falls back to the next available port if busy |
|
|
89
89
|
| `--host` | — | `127.0.0.1` | HTTP server bind address; non-loopback values require `--remote-access` |
|
|
90
|
-
| `--remote-access` | — | `false` | Enable token-protected access
|
|
90
|
+
| `--remote-access` | — | `false` | Enable token-protected access for any remotely exposed transport |
|
|
91
|
+
| `--tls-cert` | — | — | Path to a TLS certificate; serves remote access over HTTPS |
|
|
92
|
+
| `--tls-key` | — | — | Path to the private key matching `--tls-cert` |
|
|
93
|
+
| `--trust-proxy` | — | `false` | A reverse proxy in front of CodeSesh terminates TLS |
|
|
91
94
|
| `--days` | `-d` | `7` | Only include sessions active in the last N days (`0` = all time) |
|
|
92
95
|
| `--cwd` | — | — | Filter to sessions from a project directory |
|
|
93
96
|
| `--agent` | `-a` | all | Filter to specific agent(s), comma-separated |
|
|
@@ -101,14 +104,34 @@ npx codesesh --trace
|
|
|
101
104
|
| `--clear-cache` | — | `false` | Clear scan cache before starting |
|
|
102
105
|
| `-v` | — | — | Print version number |
|
|
103
106
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
+
Non-loopback binding and `--trust-proxy` both require `--remote-access`. This includes the common
|
|
108
|
+
setup where CodeSesh listens on `127.0.0.1` and a same-machine reverse proxy exposes it publicly.
|
|
109
|
+
CodeSesh prints a startup URL containing a fresh access token. Anyone with that URL can read the
|
|
110
|
+
indexed AI session history, so treat it as a password and do not share or persist it.
|
|
111
|
+
|
|
112
|
+
A token authenticates the requester but does not encrypt traffic. Without TLS, the token and full
|
|
113
|
+
session content travel over the network in plaintext, and URL tokens may be recorded in proxy logs.
|
|
114
|
+
Use one of these protected transports:
|
|
115
|
+
|
|
116
|
+
```bash
|
|
117
|
+
# CodeSesh terminates TLS
|
|
118
|
+
npx codesesh --host 0.0.0.0 --remote-access --tls-cert ./cert.pem --tls-key ./key.pem
|
|
119
|
+
|
|
120
|
+
# A reverse proxy terminates TLS; CodeSesh stays bound to loopback
|
|
121
|
+
npx codesesh --host 127.0.0.1 --remote-access --trust-proxy
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
`--trust-proxy` requires `X-Forwarded-Proto: https` on every API request. The listener must remain
|
|
125
|
+
unreachable except through that trusted proxy.
|
|
107
126
|
|
|
108
127
|
## Requirements
|
|
109
128
|
|
|
129
|
+
<!-- repo-fact:node-version:start -->
|
|
130
|
+
|
|
110
131
|
- Node.js 22+
|
|
111
132
|
|
|
133
|
+
<!-- repo-fact:node-version:end -->
|
|
134
|
+
|
|
112
135
|
## Links
|
|
113
136
|
|
|
114
137
|
- [GitHub](https://github.com/xingkaixin/codesesh)
|