@topolo/sdk 0.4.10 → 0.6.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/README.md CHANGED
@@ -96,7 +96,7 @@ services and actions become usable without an SDK, CLI, or MCP release.
96
96
 
97
97
  `APPLICATIONS` describes every Topolo platform application discovered from the
98
98
  PlatformApplications metadata, including Worker apps that do not expose a
99
- callable service. `DEFAULT_SERVICE_URLS` is the bundled callable API service
99
+ callable app API. `DEFAULT_APP_URLS` is the bundled callable API service
100
100
  snapshot generated from `topolo.cloudcontrol.json`.
101
101
 
102
102
  For agent-scale fleets, the bundle is packaging metadata, not an authorization
@@ -104,7 +104,7 @@ source. `TopoloClient.listServices()` always calls the live TopoloAuth catalog
104
104
  with the current credential and returns only services that credential can use in
105
105
  its organization, including the granted permissions. `TopoloClient.request()`
106
106
  uses that credential-scoped catalog before routing any non-Auth service, so a
107
- bundled service ID is only a convenient alias after Auth confirms access.
107
+ bundled app ID is only a convenient alias after Auth confirms access.
108
108
 
109
109
  `listBundledServices()` is available for packaging/audit tooling that needs the
110
110
  generated snapshot. Do not use it to decide what an end user or agent may call.
@@ -142,8 +142,8 @@ their own `GET /api/widget` endpoint. The SDK owns the shared payload contract:
142
142
  import { createTopoloWidgetResponse } from '@topolo/sdk';
143
143
 
144
144
  return Response.json(createTopoloWidgetResponse({
145
- serviceId: '<runtime-service-id>',
146
- serviceName: 'Example',
145
+ appId: '<runtime-app-id>',
146
+ appName: 'Example',
147
147
  widgets: [
148
148
  {
149
149
  type: 'stats',