@tutti-os/agent-gui 0.0.93 → 0.0.94

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 (64) hide show
  1. package/dist/agent-conversation/index.d.ts +4 -4
  2. package/dist/agent-conversation/index.js +6 -6
  3. package/dist/agent-env/index.d.ts +4 -2
  4. package/dist/agent-env/index.js +1 -1
  5. package/dist/agent-message-center/index.d.ts +5 -3
  6. package/dist/agent-message-center/index.js +122 -105
  7. package/dist/agent-message-center/index.js.map +1 -1
  8. package/dist/{agentConversationVM-CfXN_TQ2.d.ts → agentConversationVM-Cl4G0Lln.d.ts} +1 -1
  9. package/dist/{agentGuiNodeTypes-rGaDqxVR.d.ts → agentGuiNodeTypes-CAioPXK9.d.ts} +8 -3
  10. package/dist/app/renderer/agentactivity.css +312 -2
  11. package/dist/app/renderer/assets/icons/agent-vinyl-player-chassis.png +0 -0
  12. package/dist/app/renderer/assets/icons/agent-vinyl-tonearm.png +0 -0
  13. package/dist/app/renderer/assets/icons/agent-vinyls/claude-vinyl.png +0 -0
  14. package/dist/app/renderer/assets/icons/agent-vinyls/codex-vinyl.png +0 -0
  15. package/dist/app/renderer/assets/icons/agent-vinyls/cursor-vinyl.png +0 -0
  16. package/dist/app/renderer/assets/icons/agent-vinyls/hermes-vinyl.png +0 -0
  17. package/dist/app/renderer/assets/icons/agent-vinyls/openclaw-vinyl.png +0 -0
  18. package/dist/app/renderer/assets/icons/agent-vinyls/opencode-vinyl.png +0 -0
  19. package/dist/app/renderer/assets/icons/agent-vinyls/tutti-vinyl.png +0 -0
  20. package/dist/{chunk-AOVPGJBC.js → chunk-554VG7ZW.js} +2 -2
  21. package/dist/{chunk-U7D7G3UU.js → chunk-5FE7M42A.js} +2 -2
  22. package/dist/{chunk-XQUUELKF.js → chunk-7BUYFVRI.js} +2 -2
  23. package/dist/{chunk-M2LWH54R.js → chunk-AWAIUYG4.js} +45 -15
  24. package/dist/{chunk-M2LWH54R.js.map → chunk-AWAIUYG4.js.map} +1 -1
  25. package/dist/{chunk-KQE5KV2V.js → chunk-BXVPOGYK.js} +2 -2
  26. package/dist/{chunk-3HARXLAZ.js → chunk-E5FOXRUM.js} +2 -2
  27. package/dist/{chunk-4SQNOOJ3.js → chunk-IGY4ASUF.js} +4 -4
  28. package/dist/{chunk-SXDLSEHO.js → chunk-MATIJPGF.js} +3 -3
  29. package/dist/{chunk-7QHBFRG5.js → chunk-P72YLKC6.js} +25 -13
  30. package/dist/chunk-P72YLKC6.js.map +1 -0
  31. package/dist/{chunk-PSLAWU25.js → chunk-R2EWECUP.js} +7 -1
  32. package/dist/chunk-R2EWECUP.js.map +1 -0
  33. package/dist/{chunk-HOSX5C5V.js → chunk-SCLLP5DO.js} +2 -2
  34. package/dist/{chunk-VWXFFSIM.js → chunk-UBDPV34P.js} +7 -1
  35. package/dist/chunk-UBDPV34P.js.map +1 -0
  36. package/dist/{chunk-UNO7CEAF.js → chunk-ZUW4B5AT.js} +2 -2
  37. package/dist/context-mention-palette/index.js +6 -6
  38. package/dist/i18n/index.d.ts +6 -0
  39. package/dist/i18n/index.js +2 -2
  40. package/dist/index.d.ts +4 -4
  41. package/dist/index.js +1064 -788
  42. package/dist/index.js.map +1 -1
  43. package/dist/plan-decision-ops.d.ts +2 -2
  44. package/dist/queued-prompt-runtime.d.ts +3 -3
  45. package/dist/workbench/contribution.js +1 -1
  46. package/dist/workbench/index.d.ts +4 -1
  47. package/dist/workbench/index.js +4 -4
  48. package/dist/workbench/sessionTitle.js +3 -3
  49. package/dist/workspace-agent-generated-files.d.ts +1 -1
  50. package/dist/workspace-agent-generated-files.js +3 -3
  51. package/dist/{workspaceAgentActivityListViewModel-TXH1VXrk.d.ts → workspaceAgentActivityListViewModel-BzV-cf0D.d.ts} +1 -0
  52. package/package.json +14 -14
  53. package/dist/chunk-7QHBFRG5.js.map +0 -1
  54. package/dist/chunk-PSLAWU25.js.map +0 -1
  55. package/dist/chunk-VWXFFSIM.js.map +0 -1
  56. /package/dist/{chunk-AOVPGJBC.js.map → chunk-554VG7ZW.js.map} +0 -0
  57. /package/dist/{chunk-U7D7G3UU.js.map → chunk-5FE7M42A.js.map} +0 -0
  58. /package/dist/{chunk-XQUUELKF.js.map → chunk-7BUYFVRI.js.map} +0 -0
  59. /package/dist/{chunk-KQE5KV2V.js.map → chunk-BXVPOGYK.js.map} +0 -0
  60. /package/dist/{chunk-3HARXLAZ.js.map → chunk-E5FOXRUM.js.map} +0 -0
  61. /package/dist/{chunk-4SQNOOJ3.js.map → chunk-IGY4ASUF.js.map} +0 -0
  62. /package/dist/{chunk-SXDLSEHO.js.map → chunk-MATIJPGF.js.map} +0 -0
  63. /package/dist/{chunk-HOSX5C5V.js.map → chunk-SCLLP5DO.js.map} +0 -0
  64. /package/dist/{chunk-UNO7CEAF.js.map → chunk-ZUW4B5AT.js.map} +0 -0
@@ -7,14 +7,14 @@ import {
7
7
  AgentGUIConversation_styles_default,
8
8
  MessageSquareMoreIcon,
9
9
  extractAgentMcpToolTarget
10
- } from "./chunk-XQUUELKF.js";
10
+ } from "./chunk-7BUYFVRI.js";
11
11
  import {
12
12
  getOptionalAgentHostApi,
13
13
  useOptionalAgentHostApi
14
14
  } from "./chunk-LR4FA5X6.js";
15
15
  import {
16
16
  translate
17
- } from "./chunk-U7D7G3UU.js";
17
+ } from "./chunk-5FE7M42A.js";
18
18
 
19
19
  // shared/agentConversation/approvalOptionPresentation.ts
20
20
  function approvalOptionDisplayLabel(option, intent = {}) {
@@ -1172,4 +1172,4 @@ export {
1172
1172
  isPromptRequestIdTitle,
1173
1173
  AgentInteractivePromptSurface
1174
1174
  };
1175
- //# sourceMappingURL=chunk-SXDLSEHO.js.map
1175
+ //# sourceMappingURL=chunk-MATIJPGF.js.map
@@ -15,12 +15,12 @@ import {
15
15
  resolveWorkspaceFilePathCandidate,
16
16
  resolveWorkspaceLinkAction,
17
17
  useAgentTargetPresentations
18
- } from "./chunk-XQUUELKF.js";
18
+ } from "./chunk-7BUYFVRI.js";
19
19
  import {
20
20
  classifyFailedAgentMessage,
21
21
  openAgentEnvPanel,
22
22
  resolveAgentErrorPresentation
23
- } from "./chunk-PSLAWU25.js";
23
+ } from "./chunk-R2EWECUP.js";
24
24
  import {
25
25
  AGENT_RICH_TEXT_CARET_ANCHOR,
26
26
  attrsToMentionItem,
@@ -28,7 +28,7 @@ import {
28
28
  formatAgentMentionMarkdown,
29
29
  mentionItemToAttrs,
30
30
  parseAgentMentionMarkdown
31
- } from "./chunk-KQE5KV2V.js";
31
+ } from "./chunk-BXVPOGYK.js";
32
32
  import {
33
33
  fileChangeCountFromChanges,
34
34
  fileChangeEntriesFromChanges,
@@ -45,7 +45,7 @@ import {
45
45
  import {
46
46
  getActiveUiLanguage,
47
47
  translate
48
- } from "./chunk-U7D7G3UU.js";
48
+ } from "./chunk-5FE7M42A.js";
49
49
 
50
50
  // agent-gui/agentGuiNode/model/agentGuiNodeTypes.ts
51
51
  var AGENT_PASTED_TEXT_BLOCK_KIND = "pasted-text";
@@ -8001,13 +8001,15 @@ function AgentMessageBlock({
8001
8001
  AgentVisibleErrorMessage,
8002
8002
  {
8003
8003
  message,
8004
- onAuthLogin
8004
+ onAuthLogin,
8005
+ onExternalLink: handleLinkClick
8005
8006
  }
8006
8007
  ) : recoveredError ? /* @__PURE__ */ jsx12(
8007
8008
  AgentVisibleErrorMessage,
8008
8009
  {
8009
8010
  message: recoveredError,
8010
- onAuthLogin
8011
+ onAuthLogin,
8012
+ onExternalLink: handleLinkClick
8011
8013
  }
8012
8014
  ) : message.systemNotice ? /* @__PURE__ */ jsx12(AgentSystemNoticeMessage, { message }) : message.contentKind === "plan" ? /* @__PURE__ */ jsx12(
8013
8015
  AgentPlanCardMessage,
@@ -8480,7 +8482,8 @@ function recoverVisibleErrorFromFailedMessage(message, provider) {
8480
8482
  };
8481
8483
  }
8482
8484
  function AgentVisibleErrorMessage({
8483
- message
8485
+ message,
8486
+ onExternalLink
8484
8487
  }) {
8485
8488
  "use memo";
8486
8489
  const error = message.visibleError;
@@ -8492,6 +8495,7 @@ function AgentVisibleErrorMessage({
8492
8495
  const headline = presentation?.messageKey ? translate(presentation.messageKey, { provider: providerLabel }) : visibleErrorTitle(message);
8493
8496
  const focus = presentation?.focus ?? null;
8494
8497
  const actionKey = presentation?.actionKey ?? null;
8498
+ const externalUrl = presentation?.externalUrl ?? null;
8495
8499
  const hint = visibleErrorHint(message);
8496
8500
  return /* @__PURE__ */ jsx12(
8497
8501
  "section",
@@ -8511,17 +8515,25 @@ function AgentVisibleErrorMessage({
8511
8515
  }
8512
8516
  ) : null
8513
8517
  ] }),
8514
- focus && actionKey ? /* @__PURE__ */ jsx12(
8518
+ actionKey && (focus || externalUrl && onExternalLink) ? /* @__PURE__ */ jsx12(
8515
8519
  Button,
8516
8520
  {
8517
8521
  type: "button",
8518
8522
  variant: "ghost",
8519
8523
  size: "sm",
8520
8524
  className: "mt-0.5 shrink-0",
8521
- onClick: () => openAgentEnvPanel({
8522
- provider: error?.provider ?? "codex",
8523
- focus
8524
- }),
8525
+ onClick: () => {
8526
+ if (externalUrl) {
8527
+ onExternalLink?.(externalUrl);
8528
+ return;
8529
+ }
8530
+ if (focus) {
8531
+ openAgentEnvPanel({
8532
+ provider: error?.provider ?? "codex",
8533
+ focus
8534
+ });
8535
+ }
8536
+ },
8525
8537
  children: translate(actionKey)
8526
8538
  }
8527
8539
  ) : null
@@ -15505,4 +15517,4 @@ export {
15505
15517
  AgentConversationFlow,
15506
15518
  useProjectedAgentConversation
15507
15519
  };
15508
- //# sourceMappingURL=chunk-7QHBFRG5.js.map
15520
+ //# sourceMappingURL=chunk-P72YLKC6.js.map