@topolo/sdk 0.4.10 → 0.5.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topolo/sdk",
3
- "version": "0.4.10",
3
+ "version": "0.5.0",
4
4
  "description": "Typed client SDK for the Topolo platform. Used by TopoloCli, TopoloMCP, and third-party agents.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -281,12 +281,12 @@ export function applicationRequirementScopes(
281
281
  // the generated kind union to "worker" (no "pages" literal remains).
282
282
  application.deployTargets.some((target) => String(target.kind) === 'pages');
283
283
  // An API surface means an agent-callable service — keyed on a resolved
284
- // serviceId, NOT a bare apiUrl. After the Pages->Worker migration every
284
+ // appId, NOT a bare apiUrl. After the Pages->Worker migration every
285
285
  // frontend shell carries an apiUrl (its own serving domain), so apiUrl is no
286
- // longer a signal for "exposes a callable API"; serviceId is.
286
+ // longer a signal for "exposes a callable API"; appId is.
287
287
  const hasApiSurface =
288
288
  application.services.length > 0 ||
289
- application.deployTargets.some((target) => Boolean(target.serviceId));
289
+ application.deployTargets.some((target) => Boolean(target.appId));
290
290
 
291
291
  if (hasBrowserSurface) scopes.add('browser');
292
292
  if (hasApiSurface) scopes.add('api');