anbaric 1.80.0 → 1.81.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/docs/README.md CHANGED
@@ -30,6 +30,7 @@ What the framework gives you, one capability at a time.
30
30
  - [Entitlements](features/entitlements.md) — what a user has been granted, checked per request
31
31
  - [Public apps](features/public-apps.md) — apps anyone can open without signing in
32
32
  - [Skills](features/skills.md) — guidance your builders write for the agents working on your tenant
33
+ - [Traffic](features/traffic.md) — pageviews and visitors per app per hour, in the console
33
34
  - [Prompts](features/prompts.md) — versioned model instructions and schemas, saved at startup
34
35
  - [Serving a web UI](features/serving-a-web-ui.md) — putting your data on a page
35
36
  - [The admin console and widgets](features/admin-console-and-widgets.md) — dashboards and plugins
@@ -71,6 +71,11 @@ builder writes guidance - when to use it and what to do - that the Anbaric MCP
71
71
  offers to every agent working on the tenant as a tool of its own. See
72
72
  [Skills](skills.md).
73
73
 
74
+ ## Traffic
75
+
76
+ The **Traffic** page shows each app's pageviews and visitors per hour, counted
77
+ without cookies and kept for 30 days. See [Traffic](traffic.md).
78
+
74
79
  ## Turning plugins on
75
80
 
76
81
  `ANBARIC_PLUGINS` is a comma-separated list of plugin modules. Setting it
@@ -0,0 +1,34 @@
1
+ # Traffic
2
+
3
+ The console's **Traffic** page shows, for each of your apps, how many pages it
4
+ served and to how many different visitors, hour by hour, over the last 24
5
+ hours, 48 hours, 7 days or 30 days. It is there for builders; there is nothing
6
+ to install or switch on, and nothing in your app's code changes.
7
+
8
+ ## What counts
9
+
10
+ - **A pageview** is a page of HTML your app served successfully in answer to a
11
+ `GET`. Scripts, styles, images, API calls, errors and pages a browser only
12
+ prefetched are not counted.
13
+ - **A visitor** is a person seen on that app that day. A signed-in member is
14
+ known by who they are; anyone else, such as a visitor to a
15
+ [public app](public-apps.md), is known by their connection and browser. The
16
+ visitors for an hour are the different people seen in that hour.
17
+
18
+ ## Privacy
19
+
20
+ Visitors are counted **without cookies**, so the count needs no consent banner
21
+ of yours. The platform does not keep an address, a browser or a user id: it
22
+ mixes them with the app and the day under a key only the platform holds and
23
+ keeps the digest alone. The same person is a new visitor the next day and on
24
+ every other app, and no figure can be traced back to anyone.
25
+
26
+ ## How accurate it is
27
+
28
+ The figures are estimates. A visitor who changes network during a day counts
29
+ twice; people sharing one connection and browser count once; the distinct
30
+ counts are approximations. They are good for seeing which apps are used, when
31
+ and how much, not for billing anyone.
32
+
33
+ Traffic is kept for **30 days** and is then gone. It appears within a few
34
+ minutes of the visit.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anbaric",
3
- "version": "1.80.0",
3
+ "version": "1.81.0",
4
4
  "description": "Everything needed to write an Anbaric app: state machines, jobs, document and secret stores, local in-memory implementations and the Anbaric Cloud clients",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -24,9 +24,9 @@
24
24
  "prepublishOnly": "npm run build"
25
25
  },
26
26
  "dependencies": {
27
- "anbaric-impl-cloud": "^1.80.0",
28
- "anbaric-data-store": "^1.80.0",
29
- "anbaric-state-machine": "^1.80.0",
30
- "anbaric-tsapi": "^1.80.0"
27
+ "anbaric-impl-cloud": "^1.81.0",
28
+ "anbaric-data-store": "^1.81.0",
29
+ "anbaric-state-machine": "^1.81.0",
30
+ "anbaric-tsapi": "^1.81.0"
31
31
  }
32
32
  }