@startsimpli/ui 0.4.44 → 0.4.47

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": "@startsimpli/ui",
3
- "version": "0.4.44",
3
+ "version": "0.4.47",
4
4
  "description": "Shared UI components package for StartSimpli applications",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
@@ -21,6 +21,8 @@
21
21
  "./workflows": "./src/components/workflows/index.ts",
22
22
  "./workflows/styles": "./src/components/workflows/workflows.css",
23
23
  "./terminal/styles": "./src/components/terminal/xterm.css",
24
+ "./session": "./src/components/session/index.ts",
25
+ "./session-console": "./src/components/session/AgentSessionConsole.tsx",
24
26
  "./tailwind": "./tailwind.preset.js"
25
27
  },
26
28
  "files": [
@@ -32,12 +34,13 @@
32
34
  "access": "public"
33
35
  },
34
36
  "peerDependencies": {
37
+ "@startsimpli/realtime": "*",
35
38
  "@tanstack/react-query": ">=5.0.0",
36
39
  "next": "^14.0.0 || ^15.0.0 || ^16.0.0",
37
40
  "react": "^18.0.0 || ^19.0.0",
38
41
  "react-dom": "^18.0.0 || ^19.0.0",
39
42
  "@startsimpli/auth": "0.4.29",
40
- "@startsimpli/api": "0.5.42"
43
+ "@startsimpli/api": "0.5.44"
41
44
  },
42
45
  "peerDependenciesMeta": {
43
46
  "@startsimpli/api": {
@@ -46,6 +49,9 @@
46
49
  "@startsimpli/auth": {
47
50
  "optional": true
48
51
  },
52
+ "@startsimpli/realtime": {
53
+ "optional": true
54
+ },
49
55
  "@tanstack/react-query": {
50
56
  "optional": true
51
57
  }
@@ -82,8 +88,7 @@
82
88
  "remark-gfm": "^4.0.1",
83
89
  "tailwind-merge": "^2.6.1",
84
90
  "tailwindcss-animate": "^1.0.7",
85
- "xlsx": "^0.18.5",
86
- "@startsimpli/realtime": "0.0.1"
91
+ "xlsx": "^0.18.5"
87
92
  },
88
93
  "devDependencies": {
89
94
  "@swc/core": "^1.15.30",
@@ -105,7 +110,8 @@
105
110
  "jest-environment-jsdom": "^30.3.0",
106
111
  "tailwindcss": "^3.4.19",
107
112
  "tsup": "^8.5.1",
108
- "typescript": "^6.0.3"
113
+ "typescript": "^6.0.3",
114
+ "@startsimpli/realtime": "0.0.1"
109
115
  },
110
116
  "keywords": [
111
117
  "ui",
@@ -162,6 +162,6 @@ export const UI_CATALOG: CatalogEntry[] = [
162
162
  'The full live session surface: a terminal + a steer-the-agent conversation timeline + a diff tab, driven by @startsimpli/realtime over a websocket. Use for the session-detail page of an agent/coding workspace.',
163
163
  dataNeeds: 'A realtime agent-session websocket URL (not schema data).',
164
164
  heavy: true,
165
- source: { export: 'AgentSessionConsole', from: '@startsimpli/ui' },
165
+ source: { export: 'AgentSessionConsole', from: '@startsimpli/ui/session-console' },
166
166
  },
167
167
  ];
@@ -68,9 +68,11 @@ export * from './terminal'
68
68
  export * from './diff'
69
69
 
70
70
  // Agent-session surfaces (startsim-768w.16.7.E): SessionCard/List/StatusBadge,
71
- // ConversationTimeline, and the live AgentSessionConsole (driven by
72
- // @startsimpli/realtime/react). All generic — decoupled from any app model.
73
- export * from './session'
71
+ // ConversationTimeline, AgentSessionConsole. NOT re-exported from the main entry —
72
+ // the console is driven by @startsimpli/realtime/react, an OPTIONAL peer, so pulling
73
+ // it through the main barrel forces every consumer to install @startsimpli/realtime
74
+ // (uninstallable when private/unpublished — startsim-b850). Import from the
75
+ // '@startsimpli/ui/session' subpath instead (apps that use it provide realtime).
74
76
 
75
77
  // Slide-deck viewer (Google-Slides-style canvas + filmstrip)
76
78
  export * from './slide-deck'
@@ -10,8 +10,11 @@ export type { SessionListProps } from './SessionList'
10
10
  export { ConversationTimeline } from './ConversationTimeline'
11
11
  export type { ConversationTimelineProps } from './ConversationTimeline'
12
12
 
13
- export { AgentSessionConsole, lifecycleToMessage } from './AgentSessionConsole'
14
- export type { AgentSessionConsoleProps } from './AgentSessionConsole'
13
+ // AgentSessionConsole imports @startsimpli/realtime, which is not on npm (the org
14
+ // won't create the new name yet). To keep @startsimpli/ui installable WITHOUT
15
+ // realtime, the Console is NOT in this main barrel — it ships via the
16
+ // `@startsimpli/ui/session-console` subpath, which live-console consumers import
17
+ // (and add @startsimpli/realtime themselves). See package.json exports.
15
18
 
16
19
  export {
17
20
  resolveSessionStatus,