@tutti-os/agent-gui 0.0.7 → 0.0.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/dist/index.js CHANGED
@@ -38,7 +38,7 @@ import {
38
38
  useOptionalAgentHostApi,
39
39
  user_avatar_placeholder_default,
40
40
  workspaceAgentActivityStatusLabel
41
- } from "./chunk-VBNWIBNV.js";
41
+ } from "./chunk-3D3TO2MH.js";
42
42
  import {
43
43
  resolveWorkspaceAgentSessionSortTimeUnixMs,
44
44
  workspaceAgentProviderLabel
@@ -25542,6 +25542,7 @@ function AgentProjectDropdown({
25542
25542
  }
25543
25543
  ),
25544
25544
  selectedProjectPath: composerSettings.selectedProjectPath,
25545
+ service: agentHostApi.userProjects?.service ?? null,
25545
25546
  showCreateProjectAction: true,
25546
25547
  onProjectMissingChange,
25547
25548
  onProjectPathChange
@@ -31308,6 +31309,9 @@ function conversationHasActiveWork2(conversation) {
31308
31309
  return false;
31309
31310
  }) ?? false;
31310
31311
  }
31312
+ function isSettledConversationStatus2(status) {
31313
+ return status === "completed" || status === "failed" || status === "canceled";
31314
+ }
31311
31315
  function resolveActiveConversationBusyStatus(input) {
31312
31316
  if (input.conversationStatus === "waiting" || input.detailStatus === "waiting") {
31313
31317
  return "waiting";
@@ -31315,6 +31319,9 @@ function resolveActiveConversationBusyStatus(input) {
31315
31319
  if (input.conversationStatus === "working" || input.detailStatus === "working") {
31316
31320
  return "working";
31317
31321
  }
31322
+ if (isSettledConversationStatus2(input.conversationStatus) || isSettledConversationStatus2(input.detailStatus)) {
31323
+ return null;
31324
+ }
31318
31325
  if (conversationHasActiveWork2(input.conversation)) {
31319
31326
  return "working";
31320
31327
  }
@@ -33132,6 +33139,7 @@ function AgentGUIProjectRailHeader({
33132
33139
  }
33133
33140
  ),
33134
33141
  selectedProjectPath: null,
33142
+ service: agentHostApi.userProjects?.service ?? null,
33135
33143
  shouldApplyPreparedSelection: false,
33136
33144
  showCreateProjectAction: true,
33137
33145
  showKnownProjectOptions: false,