release(sdk): cut alpha.13

Closed
HA
1mo ago
+3-3

Bumps @superset_sh/sdk from 0.0.1-alpha.12 to 0.0.1-alpha.13. Stacked on #8184: merge that first, and GitHub moves this PR's base to main.

Changes since alpha.12

alpha.12 was cut in #5063 (2 June). Everything below has been on main without being published.

Breaking

  • Cloud-only SDK (#7564).
    • Workspaces are now cloud workspaces (cloudWorkspace API).
    • terminals and agents.create go through the sandbox gate.
    • Removed: hosts, projects, automations, agents.list, and the relay option.

Added

  • chat and events.subscribe, routed to a host through the relay or to a cloud workspace (#8184).
  • hosts.list, hosts.projects.list, and hosts.workspaces.* (#8184). Host workspaces are back, under hosts. The cloud workspaces API is unchanged.
  • terminals.list / send / read / close (#5256).
  • Per-launch model for agents (#6805).
  • Per-launch effort (#5994).
  • sdk_method_called usage telemetry and client identity headers (#7135). Opt out with SUPERSET_TELEMETRY=0.

Fixed / chores

  • Relay resolved through the API (#6724). Later superseded by #7564, then re-added for chat in #8184.
  • Dead mcpScope removed (#6486).
  • Package metadata (#5918).

Publish (after merge)

cd packages/sdk && bun run build && cd dist && npm publish --access public

This needs npm publish rights on @superset_sh. I am not logged in to npm here, so I did not publish.

Checks

  • bun run build stamps 0.0.1-alpha.13 into src/version.ts and dist/package.json.
  • bun test in packages/sdk: 10 pass.

Summary by cubic

Bumps @superset/sdk from 0.0.1-alpha.12 to 0.0.1-alpha.13, publishing everything merged to main since alpha.12 was cut in June. Stacked on #8184: merge that first so GitHub moves this PR's base to main.

Breaking changes

  • Workspaces are now cloudWorkspace objects; terminals and agents.create route through the sandbox gate; hosts, projects, automations, agents.list, and the relay option are removed.

Added and fixed

  • Added chat and events.subscribe, terminals.list/send/read/close, per-launch model and effort for agents, and sdk_method_called usage telemetry (opt out with SUPERSET_TELEMETRY=0).
  • Fixed relay resolution through the API and removed dead mcpScope.

After merging, publish from packages/sdk with bun run build && cd dist && npm publish --access public; needs npm publish rights on @superset/sdk. bun test passes 8 tests.