@townco/ui 0.1.112 → 0.1.113

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.
@@ -57,7 +57,9 @@ export function SessionHistory({ client, currentSessionId, onSessionSelect, onRe
57
57
  setIsLoading(true);
58
58
  try {
59
59
  const sessionList = await client.listSessions();
60
- setSessions(sessionList);
60
+ // Filter out sub-agent sessions from the session history
61
+ const filteredSessions = sessionList.filter((session) => !session.isSubagentSession);
62
+ setSessions(filteredSessions);
61
63
  }
62
64
  catch (error) {
63
65
  logger.error("Failed to fetch sessions", { error });
@@ -77,6 +77,8 @@ export interface SessionSummary {
77
77
  updatedAt: string;
78
78
  messageCount: number;
79
79
  firstUserMessage?: string;
80
+ parentSessionId?: string;
81
+ isSubagentSession?: boolean;
80
82
  }
81
83
  /**
82
84
  * Transport interface for different communication methods
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@townco/ui",
3
- "version": "0.1.112",
3
+ "version": "0.1.113",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -49,7 +49,7 @@
49
49
  "@radix-ui/react-slot": "^1.2.4",
50
50
  "@radix-ui/react-tabs": "^1.1.13",
51
51
  "@radix-ui/react-tooltip": "^1.2.8",
52
- "@townco/core": "0.0.90",
52
+ "@townco/core": "0.0.91",
53
53
  "@types/mdast": "^4.0.4",
54
54
  "@uiw/react-json-view": "^2.0.0-alpha.39",
55
55
  "class-variance-authority": "^0.7.1",
@@ -67,7 +67,7 @@
67
67
  "zustand": "^5.0.8"
68
68
  },
69
69
  "devDependencies": {
70
- "@townco/tsconfig": "0.1.109",
70
+ "@townco/tsconfig": "0.1.110",
71
71
  "@types/node": "^24.10.0",
72
72
  "@types/react": "^19.2.2",
73
73
  "@types/unist": "^3.0.3",