@casoon/opengrid-mcp 0.14.0 → 0.16.0
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 -1
- package/dist/view.html +46 -43
- package/package.json +6 -6
- package/src/config.mjs +10 -1
- package/src/sessions.mjs +15 -2
- package/src/tools.mjs +57 -4
package/README.md
CHANGED
|
@@ -86,7 +86,7 @@ reached by URL and token:
|
|
|
86
86
|
|
|
87
87
|
| Key | |
|
|
88
88
|
|---|---|
|
|
89
|
-
| `server.url` | the server; only the operator names it, never the model |
|
|
89
|
+
| `server.url` | the server; only the operator names it, never the model. `https://…`; `http://` only for `localhost`, `127.0.0.1` and `[::1]`, because the token travels with every request |
|
|
90
90
|
| `server.source` | the source's name there; absent, the name it has here |
|
|
91
91
|
| `server.tokenEnv` / `server.token` | the bearer token — preferably from an environment variable, so it is not in the file |
|
|
92
92
|
|
|
@@ -129,6 +129,12 @@ inlined into one HTML file. The engine runs in the server, in Node.
|
|
|
129
129
|
The grid only — no pivot, no tree. No editing: a surface through which a model
|
|
130
130
|
could change data needs its own approval path.
|
|
131
131
|
|
|
132
|
+
The rows the grid asks for come in windows of at most 500 (`limit` is cut to
|
|
133
|
+
that): a host that shows the grid's app-only query tool to the model still does
|
|
134
|
+
not hand it a source in one piece. The server keeps at most 100 sessions; past
|
|
135
|
+
that, the least recently used goes, and a call naming it answers
|
|
136
|
+
`unknown_session` — open the grid again.
|
|
137
|
+
|
|
132
138
|
## Licence
|
|
133
139
|
|
|
134
140
|
MIT OR Apache-2.0, like opengrid.
|