@mindstudio-ai/agent 0.1.105 → 0.1.106
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/dist/cli.js +30 -9
- package/dist/index.d.ts +15 -0
- package/dist/index.js +22 -1
- package/dist/index.js.map +1 -1
- package/dist/postinstall.js +30 -9
- package/llms.txt +1 -1
- package/package.json +1 -1
package/llms.txt
CHANGED
|
@@ -1926,7 +1926,7 @@ Everything in `SearchOptions` — `mode`, `filter`, `rerank`, `hybrid`, `maxPerD
|
|
|
1926
1926
|
|
|
1927
1927
|
#### `analytics` — read the app's own traffic + event analytics
|
|
1928
1928
|
|
|
1929
|
-
The platform auto-tracks pageviews (and custom events via the frontend's `analytics.track()`); the backend `analytics` namespace is the read side, so app code can correlate real traffic with its own data — lifetime views next to each blog post, "N people reading now", conversions beside the records that produced them. Backend only (hook token); reads the LIVE app's real traffic even from a dev sandbox. Rate limited per app (
|
|
1929
|
+
The platform auto-tracks pageviews (and custom events via the frontend's `analytics.track()`); the backend `analytics` namespace is the read side, so app code can correlate real traffic with its own data — lifetime views next to each blog post, "N people reading now", conversions beside the records that produced them. Backend only (hook token); reads the LIVE app's real traffic even from a dev sandbox. Rate limited per app (600 reads/min; the SDK auto-retries one 429). For pages composed of several reads, use `analytics.batch([spec, ...])` — up to 10 queries in one round trip, one rate token each, results in request order — instead of a parallel burst of `query()` calls competing with each other. NEVER swallow `rate_limited` errors into empty data: a page silently rendering zeros is worse than surfacing a retry state.
|
|
1930
1930
|
|
|
1931
1931
|
One general read, `query()`, shaped like the Plausible/GA4 query APIs:
|
|
1932
1932
|
|