@steerable/agent-shell-web 0.12.7 → 0.12.8

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": "@steerable/agent-shell-web",
3
- "version": "0.12.7",
3
+ "version": "0.12.8",
4
4
  "type": "module",
5
5
  "description": "Steerable framework — product-neutral renderer SPA source for @steerable/agent-shell (React + Vite). Consumed by product web entry points via the `@/` alias (anchored at this package's src/) and the createProductViteConfig factory. Published as a source package (src/), plus the compiled vite.base config factory (vite.base.js + .d.ts) for Node-side config loading.",
6
6
  "license": "Apache-2.0",
@@ -45,8 +45,8 @@
45
45
  "react-router-dom": "^6.30.0",
46
46
  "rehype-raw": "^7.0.0",
47
47
  "remark-gfm": "^4.0.1",
48
- "@steerable/agent-protocol": "0.12.7",
49
- "@steerable/agent-ui": "0.12.7"
48
+ "@steerable/agent-protocol": "0.12.8",
49
+ "@steerable/agent-ui": "0.12.8"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@tailwindcss/vite": "^4.3.0",
@@ -59,7 +59,7 @@
59
59
  "typescript": "^5.8.3",
60
60
  "vite": "^5.4.21",
61
61
  "vitest": "^3.2.4",
62
- "@steerable/pack-sdk": "0.12.7"
62
+ "@steerable/pack-sdk": "0.12.8"
63
63
  },
64
64
  "scripts": {
65
65
  "gen": "echo agent-shell-web",
@@ -52,6 +52,21 @@ export function AppUpdateSettingsPanel() {
52
52
  </button>
53
53
  ) : null}
54
54
  </div>
55
+ {release.releaseNotes ? (
56
+ <div
57
+ className="rounded-agent-md border border-agent-border bg-agent-card p-2.5 text-xs"
58
+ data-testid="settings-app-release-notes"
59
+ >
60
+ <p className="font-medium text-agent-foreground">
61
+ {release.availableVersion
62
+ ? t('Release notes · v{version}', { version: release.availableVersion })
63
+ : t('Release notes')}
64
+ </p>
65
+ <div className="mt-1.5 whitespace-pre-line leading-relaxed text-agent-muted-foreground">
66
+ {release.releaseNotes}
67
+ </div>
68
+ </div>
69
+ ) : null}
55
70
  </section>
56
71
  );
57
72
  }
@@ -3,6 +3,8 @@ import type { AppReleasePhase, AppReleaseSnapshot } from './host-bridge';
3
3
 
4
4
  export interface AppReleaseView {
5
5
  version: string | null;
6
+ availableVersion?: string;
7
+ releaseNotes?: string;
6
8
  actionLabel: string | null;
7
9
  actionTitle?: string;
8
10
  clickable: boolean;
@@ -61,8 +63,11 @@ export function sidebarReleaseView(
61
63
  if (!snap?.version) {
62
64
  return { version: null, actionLabel: null, clickable: false, emphasize: false };
63
65
  }
66
+ const notes = snap.enabled ? snap.releaseNotes?.trim() : undefined;
64
67
  return {
65
68
  version: snap.version,
69
+ ...(snap.enabled && snap.availableVersion ? { availableVersion: snap.availableVersion } : {}),
70
+ ...(notes ? { releaseNotes: notes } : {}),
66
71
  actionLabel: sidebarUpdateLabel(snap, confirmedCurrent),
67
72
  actionTitle: sidebarUpdateTitle(snap),
68
73
  clickable: snap.enabled && sidebarUpdateClickable(snap.phase),
@@ -132,6 +132,7 @@ export interface AppReleaseSnapshot {
132
132
  availableVersion?: string;
133
133
  percent?: number;
134
134
  message?: string;
135
+ releaseNotes?: string;
135
136
  }
136
137
 
137
138
  export type PythonRunnerPhase =