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