@dipertq/dsh-openviking-status 0.1.5 → 0.1.8
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 +25 -11
- package/lib/client.cjs +385 -367
- package/lib/client.cjs.map +1 -1
- package/lib/client.d.cts +156 -34
- package/lib/client.js +382 -367
- package/lib/client.js.map +1 -1
- package/package.json +11 -2
package/README.md
CHANGED
|
@@ -4,13 +4,29 @@
|
|
|
4
4
|
|
|
5
5
|
## Overview
|
|
6
6
|
|
|
7
|
-
This DSH UI plugin
|
|
7
|
+
This DSH UI plugin adds a chip to the composer stats row
|
|
8
|
+
(`conversation.composer.dock`), alongside `24 turns 645 steps`. It provides
|
|
9
|
+
at-a-glance transparency into OpenViking memory management:
|
|
8
10
|
|
|
9
11
|
- **Server Health**: Online / Offline indicator with live health checks.
|
|
10
12
|
- **Pending Tokens**: Real-time counter of session tokens accumulated before the auto-commit threshold (20,000 tokens).
|
|
11
|
-
- **
|
|
13
|
+
- **Recalled Memories**: Count and list of the `viking://` files injected into the current conversation.
|
|
12
14
|
- **Commit Trigger**: Instant "Commit To Memory Now" action button.
|
|
13
15
|
|
|
16
|
+
## API key
|
|
17
|
+
|
|
18
|
+
If the daemon runs with `auth_mode: api_key` — check with
|
|
19
|
+
`curl -s http://127.0.0.1:1933/health` — session counters are unreadable
|
|
20
|
+
without a key, and the chip says `no access` rather than showing zeros. The
|
|
21
|
+
browser cannot read `~/.openviking/ovcli.conf`, so supply the key once from the
|
|
22
|
+
DSH devtools console:
|
|
23
|
+
|
|
24
|
+
```js
|
|
25
|
+
localStorage.setItem("openviking_api_key", "<your key>");
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
The key from `ovcli.conf` works. Daemons without authentication need nothing.
|
|
29
|
+
|
|
14
30
|
## Architecture & Design
|
|
15
31
|
|
|
16
32
|
See [CONTEXT.md](./CONTEXT.md), [ADR 0001](./docs/adr/0001-client-ui-widget.md), and [ADR 0002](./docs/adr/0002-release-workflow.md).
|
|
@@ -33,7 +49,7 @@ Equivalent, and useful when the registry is unreachable. Use a
|
|
|
33
49
|
**version-pinned** URL:
|
|
34
50
|
|
|
35
51
|
```bash
|
|
36
|
-
dsh plugin add https://github.com/dipertq/dsh-openviking-status/releases/download/v0.1.
|
|
52
|
+
dsh plugin add https://github.com/dipertq/dsh-openviking-status/releases/download/v0.1.8/dipertq-dsh-openviking-status-0.1.8.tgz
|
|
37
53
|
```
|
|
38
54
|
|
|
39
55
|
Not `/releases/latest/download/…`: that URL keeps its name while its content
|
|
@@ -98,14 +114,12 @@ authenticates over OIDC with short-lived credentials, so there is no `NPM_TOKEN`
|
|
|
98
114
|
secret to store or rotate, and each release carries a provenance attestation
|
|
99
115
|
proving which commit and workflow built it.
|
|
100
116
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
`release.yml`, environment blank.
|
|
108
|
-
3. Cut releases as usual — the workflow publishes on its own.
|
|
117
|
+
This is already configured, so a release needs nothing beyond the usual
|
|
118
|
+
`pnpm run release:*`. The one-time setup was: publish the first version by hand
|
|
119
|
+
(trusted publishing is configured per package, so the package has to exist),
|
|
120
|
+
then register a GitHub Actions publisher on the package's
|
|
121
|
+
**Settings → Trusted Publisher** page — user `dipertq`, repository
|
|
122
|
+
`dsh-openviking-status`, workflow `release.yml`, environment blank.
|
|
109
123
|
|
|
110
124
|
## License
|
|
111
125
|
|