@tutti-os/agent-gui 0.0.68 → 0.0.70

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 (67) hide show
  1. package/README.md +4 -5
  2. package/dist/agent-conversation/index.d.ts +2 -2
  3. package/dist/agent-conversation/index.js +6 -6
  4. package/dist/agent-message-center/index.js +8 -8
  5. package/dist/{agentGuiNodeTypes-BTHu_g4m.d.ts → agentGuiNodeTypes-CmLUy5Jt.d.ts} +8 -6
  6. package/dist/app/renderer/agentactivity.css +209 -4
  7. package/dist/app/renderer/assets/icons/agents/opencode-flat-filled.svg +4 -0
  8. package/dist/{chunk-3QPN2Y7R.js → chunk-DGNKXT3Q.js} +23 -129
  9. package/dist/chunk-DGNKXT3Q.js.map +1 -0
  10. package/dist/{chunk-GXHZNIWT.js → chunk-DXENDZEF.js} +2 -2
  11. package/dist/{chunk-GOEL3BO7.js → chunk-FTSEVC6O.js} +2 -2
  12. package/dist/{chunk-J335PQ5H.js → chunk-ISQCYEUJ.js} +12 -27
  13. package/dist/chunk-ISQCYEUJ.js.map +1 -0
  14. package/dist/{chunk-C2M2ELXF.js → chunk-IZX2YQXY.js} +3 -3
  15. package/dist/{chunk-ZZBLWZJR.js → chunk-KS35VKHM.js} +1 -2
  16. package/dist/chunk-KS35VKHM.js.map +1 -0
  17. package/dist/{chunk-LQRD4X6R.js → chunk-KTIHLBCN.js} +2 -2
  18. package/dist/{chunk-A2KZVRUO.js → chunk-MVPSFOJZ.js} +2 -2
  19. package/dist/{chunk-YE5JSME7.js → chunk-N37A62BK.js} +17 -1
  20. package/dist/chunk-N37A62BK.js.map +1 -0
  21. package/dist/{chunk-VRV6GBF5.js → chunk-NROZAN34.js} +8 -1
  22. package/dist/chunk-NROZAN34.js.map +1 -0
  23. package/dist/{chunk-QGKK6FHC.js → chunk-QDWV5VTD.js} +5 -5
  24. package/dist/{chunk-DYX6466P.js → chunk-QJ42HQ24.js} +4 -4
  25. package/dist/{chunk-AIR6A4NP.js → chunk-SC3PS7AT.js} +2 -2
  26. package/dist/{chunk-D22A3KGQ.js → chunk-SG6A35BU.js} +2 -2
  27. package/dist/{chunk-KJLSZETD.js → chunk-WWY6MYMU.js} +3 -3
  28. package/dist/{chunk-TB7PKP6F.js → chunk-Y3C5EHSW.js} +61 -17
  29. package/dist/chunk-Y3C5EHSW.js.map +1 -0
  30. package/dist/context-mention-palette/index.js +7 -7
  31. package/dist/i18n/index.d.ts +22 -128
  32. package/dist/i18n/index.js +2 -2
  33. package/dist/index.d.ts +114 -109
  34. package/dist/index.js +599 -213
  35. package/dist/index.js.map +1 -1
  36. package/dist/opencode-flat-filled-CYAJPX45.svg +4 -0
  37. package/dist/queued-prompt-runtime.d.ts +2 -2
  38. package/dist/{types-BwDrG654.d.ts → types-DZ79b8Zn.d.ts} +6 -1
  39. package/dist/workbench/contribution.d.ts +9 -1
  40. package/dist/workbench/contribution.js +4 -4
  41. package/dist/workbench/index.d.ts +5 -2
  42. package/dist/workbench/index.js +7 -7
  43. package/dist/workbench/launch.d.ts +1 -1
  44. package/dist/workbench/providerCatalog.d.ts +1 -1
  45. package/dist/workbench/sessionTitle.d.ts +1 -1
  46. package/dist/workbench/sessionTitle.js +3 -3
  47. package/dist/workbench/state.d.ts +1 -1
  48. package/dist/workbench/state.js +2 -2
  49. package/dist/workbench/types.d.ts +1 -1
  50. package/dist/workspace-agent-generated-files.js +3 -3
  51. package/package.json +12 -12
  52. package/dist/chunk-3QPN2Y7R.js.map +0 -1
  53. package/dist/chunk-J335PQ5H.js.map +0 -1
  54. package/dist/chunk-TB7PKP6F.js.map +0 -1
  55. package/dist/chunk-VRV6GBF5.js.map +0 -1
  56. package/dist/chunk-YE5JSME7.js.map +0 -1
  57. package/dist/chunk-ZZBLWZJR.js.map +0 -1
  58. /package/dist/{chunk-GXHZNIWT.js.map → chunk-DXENDZEF.js.map} +0 -0
  59. /package/dist/{chunk-GOEL3BO7.js.map → chunk-FTSEVC6O.js.map} +0 -0
  60. /package/dist/{chunk-C2M2ELXF.js.map → chunk-IZX2YQXY.js.map} +0 -0
  61. /package/dist/{chunk-LQRD4X6R.js.map → chunk-KTIHLBCN.js.map} +0 -0
  62. /package/dist/{chunk-A2KZVRUO.js.map → chunk-MVPSFOJZ.js.map} +0 -0
  63. /package/dist/{chunk-QGKK6FHC.js.map → chunk-QDWV5VTD.js.map} +0 -0
  64. /package/dist/{chunk-DYX6466P.js.map → chunk-QJ42HQ24.js.map} +0 -0
  65. /package/dist/{chunk-AIR6A4NP.js.map → chunk-SC3PS7AT.js.map} +0 -0
  66. /package/dist/{chunk-D22A3KGQ.js.map → chunk-SG6A35BU.js.map} +0 -0
  67. /package/dist/{chunk-KJLSZETD.js.map → chunk-WWY6MYMU.js.map} +0 -0
@@ -12,7 +12,7 @@ import {
12
12
  import {
13
13
  translate,
14
14
  translateInUiLanguage
15
- } from "./chunk-AIR6A4NP.js";
15
+ } from "./chunk-SC3PS7AT.js";
16
16
  import {
17
17
  normalizeAgentTitleText
18
18
  } from "./chunk-GCBDIQDX.js";
@@ -845,4 +845,4 @@ export {
845
845
  resolveWorkspaceAgentActivityStatus,
846
846
  resolveWorkspaceAgentActivityTitle
847
847
  };
848
- //# sourceMappingURL=chunk-GXHZNIWT.js.map
848
+ //# sourceMappingURL=chunk-DXENDZEF.js.map
@@ -4,7 +4,7 @@ import {
4
4
  formatAgentSessionMentionText,
5
5
  normalizeAgentGUIProviderIdentity,
6
6
  resolveAgentGUIExplicitConversationTitle
7
- } from "./chunk-D22A3KGQ.js";
7
+ } from "./chunk-SG6A35BU.js";
8
8
 
9
9
  // workbench/sessionTitle.ts
10
10
  function formatAgentGuiSessionPlainTitle(title, options = {}) {
@@ -96,4 +96,4 @@ export {
96
96
  formatAgentGuiConversationPlainTitle,
97
97
  resolveAgentGuiWorkbenchSessionTitle
98
98
  };
99
- //# sourceMappingURL=chunk-GOEL3BO7.js.map
99
+ //# sourceMappingURL=chunk-FTSEVC6O.js.map
@@ -15,7 +15,7 @@ import {
15
15
  resolveWorkspaceFilePathCandidate,
16
16
  resolveWorkspaceLinkAction,
17
17
  useAgentTargetPresentations
18
- } from "./chunk-KJLSZETD.js";
18
+ } from "./chunk-WWY6MYMU.js";
19
19
  import {
20
20
  classifyFailedAgentMessage,
21
21
  openAgentEnvPanel,
@@ -28,7 +28,7 @@ import {
28
28
  formatAgentMentionMarkdown,
29
29
  mentionItemToAttrs,
30
30
  parseAgentMentionMarkdown
31
- } from "./chunk-C2M2ELXF.js";
31
+ } from "./chunk-IZX2YQXY.js";
32
32
  import {
33
33
  fileChangeCountFromChanges,
34
34
  fileChangeEntriesFromChanges,
@@ -38,14 +38,14 @@ import {
38
38
  import {
39
39
  getOptionalAgentActivityRuntime,
40
40
  useOptionalAgentHostApi
41
- } from "./chunk-ZZBLWZJR.js";
41
+ } from "./chunk-KS35VKHM.js";
42
42
  import {
43
43
  workspaceAgentProviderLabel
44
44
  } from "./chunk-4US2YHBY.js";
45
45
  import {
46
46
  getActiveUiLanguage,
47
47
  translate
48
- } from "./chunk-AIR6A4NP.js";
48
+ } from "./chunk-SC3PS7AT.js";
49
49
 
50
50
  // shared/workspaceAgentTimelineCanonical.ts
51
51
  import { isLiveTurnLifecyclePhase } from "@tutti-os/agent-activity-core";
@@ -14170,10 +14170,7 @@ var AGENT_MESSAGE_LOCATOR_PANEL_FADE_MS = 160;
14170
14170
  var AGENT_MESSAGE_LOCATOR_ITEM_SPACING_PX = 30;
14171
14171
  var AGENT_MESSAGE_LOCATOR_HIT_SIZE_PX = 36;
14172
14172
  var AGENT_MESSAGE_LOCATOR_BOTTOM_SAFE_INSET_MAX_PX = 48;
14173
- var AGENT_MESSAGE_LOCATOR_NATIVE_SMOOTH_MAX_DISTANCE_PX = 720;
14174
- var AGENT_MESSAGE_LOCATOR_FAST_SCROLL_SPEED_PX_PER_MS = 8;
14175
- var AGENT_MESSAGE_LOCATOR_FAST_SCROLL_MIN_DURATION_MS = 120;
14176
- var AGENT_MESSAGE_LOCATOR_FAST_SCROLL_MAX_DURATION_MS = 320;
14173
+ var AGENT_MESSAGE_LOCATOR_SCROLL_DURATION_MS = 160;
14177
14174
  var agentMessageLocatorScrollAnimations = /* @__PURE__ */ new WeakMap();
14178
14175
  function transcriptLabelsEqual(previous, next) {
14179
14176
  return previous === next || previous.thinkingLabel === next.thinkingLabel && previous.processing === next.processing && previous.turnSummary === next.turnSummary && previous.rawTimelineJson === next.rawTimelineJson && previous.userMessageLocator === next.userMessageLocator && previous.toolCallsLabel === next.toolCallsLabel;
@@ -14782,15 +14779,7 @@ function scrollTranscriptRowIntoView(row, scrollParent) {
14782
14779
  return;
14783
14780
  }
14784
14781
  const targetScrollTop = targetScrollTopForTranscriptRow(row, scrollParent);
14785
- const distance = Math.abs(targetScrollTop - scrollParent.scrollTop);
14786
- if (distance <= AGENT_MESSAGE_LOCATOR_NATIVE_SMOOTH_MAX_DISTANCE_PX) {
14787
- row.scrollIntoView({
14788
- block: "center",
14789
- behavior: "smooth"
14790
- });
14791
- return;
14792
- }
14793
- animateMessageLocatorScroll(scrollParent, targetScrollTop, distance);
14782
+ animateMessageLocatorScroll(scrollParent, targetScrollTop);
14794
14783
  }
14795
14784
  function targetScrollTopForTranscriptRow(row, scrollParent) {
14796
14785
  const rowRect = row.getBoundingClientRect();
@@ -14804,23 +14793,19 @@ function targetScrollTopForTranscriptRow(row, scrollParent) {
14804
14793
  const targetScrollTop = rowCenter - visibleFrame.topOffsetPx - visibleFrame.heightPx / 2;
14805
14794
  return Math.min(maxScrollTop, Math.max(0, targetScrollTop));
14806
14795
  }
14807
- function animateMessageLocatorScroll(scrollParent, targetScrollTop, distance) {
14796
+ function animateMessageLocatorScroll(scrollParent, targetScrollTop) {
14808
14797
  const previousAnimation = agentMessageLocatorScrollAnimations.get(scrollParent);
14809
14798
  if (previousAnimation !== void 0) {
14810
14799
  window.cancelAnimationFrame(previousAnimation);
14811
14800
  }
14812
14801
  const startScrollTop = scrollParent.scrollTop;
14813
14802
  const delta = targetScrollTop - startScrollTop;
14814
- const durationMs = Math.max(
14815
- AGENT_MESSAGE_LOCATOR_FAST_SCROLL_MIN_DURATION_MS,
14816
- Math.min(
14817
- AGENT_MESSAGE_LOCATOR_FAST_SCROLL_MAX_DURATION_MS,
14818
- distance / AGENT_MESSAGE_LOCATOR_FAST_SCROLL_SPEED_PX_PER_MS
14819
- )
14820
- );
14821
14803
  const startedAt = performance.now();
14822
14804
  const step = (now) => {
14823
- const progress = Math.min(1, (now - startedAt) / durationMs);
14805
+ const progress = Math.min(
14806
+ 1,
14807
+ (now - startedAt) / AGENT_MESSAGE_LOCATOR_SCROLL_DURATION_MS
14808
+ );
14824
14809
  scrollParent.scrollTop = startScrollTop + delta * progress;
14825
14810
  if (progress >= 1) {
14826
14811
  scrollParent.scrollTop = targetScrollTop;
@@ -15111,4 +15096,4 @@ export {
15111
15096
  AgentConversationFlow,
15112
15097
  useProjectedAgentConversation
15113
15098
  };
15114
- //# sourceMappingURL=chunk-J335PQ5H.js.map
15099
+ //# sourceMappingURL=chunk-ISQCYEUJ.js.map