@tutti-os/agent-gui 0.0.172 → 0.0.174

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.
Files changed (32) hide show
  1. package/dist/agent-conversation/index.js +3 -3
  2. package/dist/agent-gui.d.ts +1 -0
  3. package/dist/agent-gui.js +8 -8
  4. package/dist/agent-message-center/index.js +3 -3
  5. package/dist/{chunk-ADZL6MLR.js → chunk-5VUHTRRS.js} +3 -3
  6. package/dist/{chunk-P5OTILPN.js → chunk-I27O33CO.js} +3 -3
  7. package/dist/{chunk-7VPICMI3.js → chunk-LL5MITN6.js} +57 -10
  8. package/dist/chunk-LL5MITN6.js.map +1 -0
  9. package/dist/{chunk-ARJ63FKZ.js → chunk-NNBJT5DD.js} +2 -2
  10. package/dist/{chunk-3QPFTVLN.js → chunk-QZSSUKCK.js} +9 -9
  11. package/dist/{chunk-3QPFTVLN.js.map → chunk-QZSSUKCK.js.map} +1 -1
  12. package/dist/{chunk-P44BIVG6.js → chunk-UXSYGLY3.js} +2 -2
  13. package/dist/{chunk-7E2JZRSI.js → chunk-V7V7PU7Z.js} +1 -1
  14. package/dist/chunk-V7V7PU7Z.js.map +1 -0
  15. package/dist/{chunk-EJM3JYAD.js → chunk-ZPZD5XTH.js} +2 -2
  16. package/dist/context-mention-palette/index.js +3 -3
  17. package/dist/{contribution-DfA5SxBL.d.ts → contribution-C0MnLVKF.d.ts} +2 -0
  18. package/dist/index.d.ts +1 -0
  19. package/dist/index.js +8 -8
  20. package/dist/mention-search.js +2 -2
  21. package/dist/workbench/contribution.d.ts +1 -1
  22. package/dist/workbench/contribution.js +1 -1
  23. package/dist/workbench/index.d.ts +2 -2
  24. package/dist/workbench/index.js +1 -1
  25. package/package.json +15 -15
  26. package/dist/chunk-7E2JZRSI.js.map +0 -1
  27. package/dist/chunk-7VPICMI3.js.map +0 -1
  28. /package/dist/{chunk-ADZL6MLR.js.map → chunk-5VUHTRRS.js.map} +0 -0
  29. /package/dist/{chunk-P5OTILPN.js.map → chunk-I27O33CO.js.map} +0 -0
  30. /package/dist/{chunk-ARJ63FKZ.js.map → chunk-NNBJT5DD.js.map} +0 -0
  31. /package/dist/{chunk-P44BIVG6.js.map → chunk-UXSYGLY3.js.map} +0 -0
  32. /package/dist/{chunk-EJM3JYAD.js.map → chunk-ZPZD5XTH.js.map} +0 -0
@@ -20,7 +20,7 @@ import {
20
20
  import {
21
21
  getOptionalAgentHostApi,
22
22
  workspaceAgentProviderLabel
23
- } from "./chunk-7E2JZRSI.js";
23
+ } from "./chunk-V7V7PU7Z.js";
24
24
  import {
25
25
  translate,
26
26
  translateInUiLanguage
@@ -3052,4 +3052,4 @@ export {
3052
3052
  AgentMentionSearchController,
3053
3053
  preloadAgentMentionBrowse
3054
3054
  };
3055
- //# sourceMappingURL=chunk-ARJ63FKZ.js.map
3055
+ //# sourceMappingURL=chunk-NNBJT5DD.js.map
@@ -911,6 +911,7 @@ function dispatchAgentGuiWorkbenchSessionAction(detail) {
911
911
  // workbench/contributionDock.tsx
912
912
  import { createElement as createElement2 } from "react";
913
913
  import {
914
+ createMultiInstanceDockEntryOptions,
914
915
  getWorkbenchLayoutFrame
915
916
  } from "@tutti-os/workbench-surface";
916
917
  var agentGuiWorkbenchDefaultNodeFrame = {
@@ -952,6 +953,7 @@ function buildAgentGuiDockEntries(input) {
952
953
  return [
953
954
  createAgentGuiWorkbenchDockEntry({
954
955
  agentDirectory: input.agentDirectory,
956
+ dockEntryId: input.dockEntryId ?? agentGuiWorkbenchUnifiedDockEntryId(),
955
957
  icon: input.unifiedDockIconUrl ? createAgentGuiWorkbenchUnifiedDockIcon({
956
958
  iconUrl: input.unifiedDockIconUrl
957
959
  }) : createAgentGuiWorkbenchLaunchpadStyleDockIcon({
@@ -959,7 +961,7 @@ function buildAgentGuiDockEntries(input) {
959
961
  }),
960
962
  label: input.label ?? agentGuiWorkbenchDefaultCopy.nodeTitle,
961
963
  launchPayload,
962
- order: 0,
964
+ order: input.order ?? 0,
963
965
  provider,
964
966
  renderPreview: input.renderPreview,
965
967
  resolveDockPopupIdentity: input.resolveDockPopupIdentity,
@@ -1010,17 +1012,15 @@ function resolveAgentGuiWorkbenchContributionCopy(copy) {
1010
1012
  };
1011
1013
  }
1012
1014
  function createAgentGuiWorkbenchDockEntry(input) {
1015
+ const launchPayload = input.launchPayload ?? { provider: input.provider };
1013
1016
  return {
1017
+ ...createMultiInstanceDockEntryOptions(launchPayload, {
1018
+ allowNewWindowInDockPopup: false
1019
+ }),
1014
1020
  icon: input.icon,
1015
1021
  iconSize: "large",
1016
- id: agentGuiWorkbenchUnifiedDockEntryId(),
1022
+ id: input.dockEntryId,
1017
1023
  label: input.label,
1018
- launchBehavior: "enabled",
1019
- launchPayload: input.launchPayload ?? { provider: input.provider },
1020
- newWindowLaunchPayload: {
1021
- ...input.launchPayload ?? { provider: input.provider },
1022
- openInNewWindow: true
1023
- },
1024
1024
  order: input.order,
1025
1025
  providePopupItemPreview: (item) => input.renderPreview ? createAgentGuiWorkbenchPreviewContent({
1026
1026
  agentDirectory: input.agentDirectory,
@@ -1665,4 +1665,4 @@ export {
1665
1665
  AGENT_GUI_WORKBENCH_OPEN_EXTERNAL_IMPORT_EVENT,
1666
1666
  createAgentGuiWorkbenchContribution
1667
1667
  };
1668
- //# sourceMappingURL=chunk-3QPFTVLN.js.map
1668
+ //# sourceMappingURL=chunk-QZSSUKCK.js.map