@syntrologie/runtime-sdk 2.8.0-canary.157 → 2.8.0-canary.159

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/CAPABILITIES.md CHANGED
@@ -74,7 +74,7 @@ The SDK includes the following adaptive packages, each providing specific capabi
74
74
  - [@syntrologie/adapt-mcp](#syntrologieadapt-mcp)
75
75
  - [@syntrologie/adapt-nav](#syntrologieadapt-nav)
76
76
  - [@syntrologie/adapt-overlays](#syntrologieadapt-overlays)
77
- - [adaptive-viz](#adaptive-viz)
77
+ - [@syntrologie/adapt-viz](#syntrologieadapt-viz)
78
78
 
79
79
  ---
80
80
 
@@ -1196,7 +1196,9 @@ Renders a fullscreen Canvas 2D celebration effect. One action kind with a plugga
1196
1196
 
1197
1197
  ---
1198
1198
 
1199
- # adaptive-viz Capabilities
1199
+ # @syntrologie/adapt-viz
1200
+
1201
+ Charts and tables for visualizing data — bar, line, and tabular layouts.
1200
1202
 
1201
1203
  ## Identity
1202
1204
 
package/dist/index.js CHANGED
@@ -8190,7 +8190,7 @@ function error(prefix, message, data) {
8190
8190
  }
8191
8191
 
8192
8192
  // src/version.ts
8193
- var SDK_VERSION = "2.8.0-canary.157";
8193
+ var SDK_VERSION = "2.8.0-canary.159";
8194
8194
 
8195
8195
  // src/types.ts
8196
8196
  var SDK_SCHEMA_VERSION = "2.0";
@@ -12433,6 +12433,18 @@ function collectBrowserMetadata() {
12433
12433
  attrs.surface_type = "web";
12434
12434
  attrs.surface_host = "web";
12435
12435
  }
12436
+ try {
12437
+ const surfaceType = attrs.surface_type;
12438
+ if (surfaceType === "telegram" || surfaceType === "mcp-app") {
12439
+ attrs.surface = "personal_agent";
12440
+ } else if (attrs.device_type === "mobile") {
12441
+ attrs.surface = "mobile";
12442
+ } else {
12443
+ attrs.surface = "desktop";
12444
+ }
12445
+ } catch {
12446
+ attrs.surface = "desktop";
12447
+ }
12436
12448
  return attrs;
12437
12449
  }
12438
12450
  var GEO_CACHE_KEY = "syntro_geo";