@agimon-ai/po-template-advanced 0.0.0-alpha.95 → 0.0.0-alpha.97

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.
@@ -1188,44 +1188,34 @@ function SessionCard({ session, onOpen, onMenu, onSetupMenu, hostLabel, stale =
1188
1188
  children: [
1189
1189
  /* @__PURE__ */ jsxs(View, {
1190
1190
  style: styles.cardHead,
1191
- children: [
1192
- session.profile ? /* @__PURE__ */ jsxs(View, {
1193
- style: styles.avatar,
1194
- accessibilityLabel: session.profile.label,
1195
- children: [/* @__PURE__ */ jsx(Text, {
1196
- style: styles.initials,
1197
- children: session.profile.initials
1198
- }), /* @__PURE__ */ jsx(CountBadge, {
1199
- count: waiting,
1200
- style: styles.avatarBadge
1201
- })]
1202
- }) : null,
1203
- /* @__PURE__ */ jsxs(View, {
1204
- style: styles.cardText,
1191
+ children: [/* @__PURE__ */ jsxs(View, {
1192
+ style: styles.cardText,
1193
+ children: [/* @__PURE__ */ jsxs(View, {
1194
+ style: styles.nameRow,
1195
+ children: [
1196
+ session.nested && session.provenance === "workflow-session" ? /* @__PURE__ */ jsx(ActivityIcon, {
1197
+ size: 13,
1198
+ color: markColor,
1199
+ accessibilityLabel: "workflow session"
1200
+ }) : session.nested && session.provenance ? /* @__PURE__ */ jsx(ForkIcon, {
1201
+ size: 13,
1202
+ color: markColor,
1203
+ accessibilityLabel: session.provenance === "worktree" ? "automatic per-conversation worktree" : session.provenance
1204
+ }) : null,
1205
+ /* @__PURE__ */ jsx(Text, {
1206
+ style: styles.name,
1207
+ numberOfLines: 2,
1208
+ children: name
1209
+ }),
1210
+ /* @__PURE__ */ jsx(CountBadge, {
1211
+ count: waiting,
1212
+ style: styles.nameBadge
1213
+ }),
1214
+ age === void 0 ? null : /* @__PURE__ */ jsx(SessionAge, { since: age })
1215
+ ]
1216
+ }), /* @__PURE__ */ jsxs(View, {
1217
+ style: styles.detailRow,
1205
1218
  children: [/* @__PURE__ */ jsxs(View, {
1206
- style: styles.nameRow,
1207
- children: [
1208
- session.nested && session.provenance === "workflow-session" ? /* @__PURE__ */ jsx(ActivityIcon, {
1209
- size: 13,
1210
- color: markColor,
1211
- accessibilityLabel: "workflow session"
1212
- }) : session.nested && session.provenance ? /* @__PURE__ */ jsx(ForkIcon, {
1213
- size: 13,
1214
- color: markColor,
1215
- accessibilityLabel: session.provenance === "worktree" ? "automatic per-conversation worktree" : session.provenance
1216
- }) : null,
1217
- /* @__PURE__ */ jsx(Text, {
1218
- style: styles.name,
1219
- numberOfLines: 2,
1220
- children: name
1221
- }),
1222
- session.profile ? null : /* @__PURE__ */ jsx(CountBadge, {
1223
- count: waiting,
1224
- style: styles.nameBadge
1225
- }),
1226
- age === void 0 ? null : /* @__PURE__ */ jsx(SessionAge, { since: age })
1227
- ]
1228
- }), /* @__PURE__ */ jsxs(View, {
1229
1219
  style: styles.statusRow,
1230
1220
  children: [
1231
1221
  stale ? null : session.restarting ? /* @__PURE__ */ jsx(Spinner, {
@@ -1271,21 +1261,27 @@ function SessionCard({ session, onOpen, onMenu, onSetupMenu, hostLabel, stale =
1271
1261
  ] }) : null]
1272
1262
  }) : null
1273
1263
  ]
1274
- })]
1275
- }),
1276
- !stale ? /* @__PURE__ */ jsx(IconButton, {
1277
- label: `${name} actions`,
1278
- onPress: () => onMenu(session),
1279
- children: /* @__PURE__ */ jsx(KebabIcon, {
1280
- size: 16,
1281
- color: "dim"
1282
- })
1283
- }) : null
1284
- ]
1264
+ }), session.profile ? /* @__PURE__ */ jsx(View, {
1265
+ style: styles.avatar,
1266
+ accessibilityLabel: session.profile.label,
1267
+ children: /* @__PURE__ */ jsx(Text, {
1268
+ style: styles.initials,
1269
+ children: session.profile.initials
1270
+ })
1271
+ }) : null]
1272
+ })]
1273
+ }), !stale ? /* @__PURE__ */ jsx(IconButton, {
1274
+ label: `${name} actions`,
1275
+ onPress: () => onMenu(session),
1276
+ children: /* @__PURE__ */ jsx(KebabIcon, {
1277
+ size: 16,
1278
+ color: "dim"
1279
+ })
1280
+ }) : null]
1285
1281
  }),
1286
1282
  hostLabel ? /* @__PURE__ */ jsx(HostTag, { label: hostLabel }) : null,
1287
1283
  session.groups !== void 0 && session.groups.length > 0 ? /* @__PURE__ */ jsxs(View, {
1288
- style: [styles.groupsRow, session.profile && styles.underAvatar],
1284
+ style: styles.groupsRow,
1289
1285
  accessibilityLabel: "groups",
1290
1286
  children: [/* @__PURE__ */ jsx(UsersIcon, {
1291
1287
  size: 13,
@@ -2084,9 +2080,9 @@ const styles = StyleSheet.create((theme) => {
2084
2080
  uni__dependencies: [0]
2085
2081
  },
2086
2082
  avatar: {
2087
- width: 32,
2088
- height: 32,
2089
- borderRadius: 16,
2083
+ width: 24,
2084
+ height: 24,
2085
+ borderRadius: 12,
2090
2086
  alignItems: "center",
2091
2087
  justifyContent: "center",
2092
2088
  backgroundColor: theme.colors["tint-green"],
@@ -2097,13 +2093,6 @@ const styles = StyleSheet.create((theme) => {
2097
2093
  fontWeight: theme.fontWeight.semibold,
2098
2094
  uni__dependencies: [0]
2099
2095
  },
2100
- avatarBadge: {
2101
- position: "absolute",
2102
- top: -4,
2103
- right: -6,
2104
- borderColor: theme.colors.bg,
2105
- uni__dependencies: [0]
2106
- },
2107
2096
  nameBadge: {
2108
2097
  borderColor: theme.colors.bg,
2109
2098
  uni__dependencies: [0]
@@ -2126,7 +2115,15 @@ const styles = StyleSheet.create((theme) => {
2126
2115
  flexShrink: 1,
2127
2116
  uni__dependencies: [0]
2128
2117
  },
2118
+ detailRow: {
2119
+ flexDirection: "row",
2120
+ alignItems: "center",
2121
+ gap: theme.spacing(2),
2122
+ uni__dependencies: [0]
2123
+ },
2129
2124
  statusRow: {
2125
+ flex: 1,
2126
+ minWidth: 0,
2130
2127
  flexDirection: "row",
2131
2128
  flexWrap: "wrap",
2132
2129
  alignItems: "center",
@@ -2139,10 +2136,6 @@ const styles = StyleSheet.create((theme) => {
2139
2136
  flexShrink: 1,
2140
2137
  uni__dependencies: [0]
2141
2138
  }),
2142
- underAvatar: {
2143
- paddingLeft: 32 + theme.spacing(2.5),
2144
- uni__dependencies: [0]
2145
- },
2146
2139
  branchRow: {
2147
2140
  flexDirection: "row",
2148
2141
  alignItems: "center",