wardx 0.1.5 → 0.1.7
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 +2 -35
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,45 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
`wardx` is the Node.js SDK for Wardx.
|
|
4
4
|
|
|
5
|
+
This SDK talks to that server. See [Wardx](https://github.com/clasen/Wardx). Architecture: [docs/ARCHITECTURE.md](../../docs/ARCHITECTURE.md).
|
|
6
|
+
|
|
5
7
|
The SDK records logs, events, and metrics. The SDK also gets Remote Config and assigns experiment variants.
|
|
6
8
|
|
|
7
9
|
A measure call changes local memory only. The SDK sends frames on a timer. The SDK uses HTTP `POST /v1/sync` with JSON and gzip.
|
|
8
10
|
|
|
9
|
-
```text
|
|
10
|
-
AGENT
|
|
11
|
-
arisa.sh / Codex / Claude
|
|
12
|
-
│
|
|
13
|
-
MCP stdio
|
|
14
|
-
tools + wardx://project/{name}
|
|
15
|
-
▼
|
|
16
|
-
┌───────────────────────────────────────────────────┐
|
|
17
|
-
│ wardx-server (one process) │
|
|
18
|
-
│ N isolated projects │
|
|
19
|
-
│ │
|
|
20
|
-
│ MCP ──► ControlService │
|
|
21
|
-
│ ├── Remote Config snapshot │
|
|
22
|
-
│ ├── Experiment definitions │
|
|
23
|
-
│ ├── Aggregates │
|
|
24
|
-
│ ├── Recent logs │
|
|
25
|
-
│ └── Catalog │
|
|
26
|
-
│ │
|
|
27
|
-
│ HTTP POST /v1/sync │
|
|
28
|
-
│ ├── envelope store (config.sink) │
|
|
29
|
-
│ │ null | memory | ndjson │
|
|
30
|
-
│ └── per-project ingest │
|
|
31
|
-
│ aggregator, recent logs, clients │
|
|
32
|
-
│ config reply filtered by client.role │
|
|
33
|
-
└─────────────────────────▲─────────────────────────┘
|
|
34
|
-
│
|
|
35
|
-
frames up / that role's config down
|
|
36
|
-
┌───────────────┴───────────────┐
|
|
37
|
-
▼ ▼
|
|
38
|
-
Node SDK C# / Unity SDK
|
|
39
|
-
wardx / @wardx/core clients/csharp
|
|
40
|
-
role: game-server role: mobile
|
|
41
|
-
metrics / config.get same /v1/sync
|
|
42
|
-
```
|
|
43
|
-
|
|
44
11
|
## Install
|
|
45
12
|
|
|
46
13
|
```bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wardx",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"description": "Node.js SDK for Wardx telemetry, Remote Config, and experiments.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"wardx",
|
|
@@ -37,6 +37,6 @@
|
|
|
37
37
|
"src"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@wardx/core": "0.1.
|
|
40
|
+
"@wardx/core": "0.1.7"
|
|
41
41
|
}
|
|
42
42
|
}
|