@adecore/agents-react 0.66.10 → 0.67.1

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.
@@ -71,7 +71,7 @@ export const ACCOUNT_TONE_CLASSES = {
71
71
  * folder: it has no login of its own to report, so being there is all a ready one says.
72
72
  */
73
73
  export function accountStatusLine(status, canLogIn) {
74
- const words = (key, values) => i18next.t(`agent-providers:status.${key}`, values);
74
+ const words = (key, values) => i18next.t(`agent-providers:status.${key}`, values ?? {});
75
75
  switch (status?.state ?? 'checking') {
76
76
  case 'checking':
77
77
  return {
@@ -3,7 +3,7 @@ import { accountFor, readChatPreferences, rememberChatAccount } from '../chat/pr
3
3
  import { providerAccountsOf, useProviderAccountsStore } from '../state/provider-accounts.js';
4
4
  import { errorMessage } from '../transport.js';
5
5
  function words(key, values) {
6
- return i18next.t(`agent-providers:${key}`, values);
6
+ return i18next.t(`agent-providers:${key}`, values ?? {});
7
7
  }
8
8
  function linkTo(scope) {
9
9
  if (scope.transport.status !== 'open') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adecore/agents-react",
3
- "version": "0.66.10",
3
+ "version": "0.67.1",
4
4
  "description": "React agent chat threads, composers, approvals, provider accounts and usage views.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -72,12 +72,12 @@
72
72
  "test:visuals": "bun --config=integration.bunfig.toml --conditions=source test ./src/chat/visual-viewport.integration.test.ts"
73
73
  },
74
74
  "dependencies": {
75
- "@adecore/agent-contracts": "0.66.10",
76
- "@adecore/editor": "0.66.10",
77
- "@adecore/editor-react": "0.66.10",
78
- "@adecore/intelligent-ui": "0.66.10",
79
- "@adecore/merge": "0.66.10",
80
- "@adecore/utils": "0.66.10",
75
+ "@adecore/agent-contracts": "0.67.1",
76
+ "@adecore/editor": "0.67.1",
77
+ "@adecore/editor-react": "0.67.1",
78
+ "@adecore/intelligent-ui": "0.67.1",
79
+ "@adecore/merge": "0.67.1",
80
+ "@adecore/utils": "0.67.1",
81
81
  "@codemirror/commands": "^6.11.1",
82
82
  "@codemirror/language": "^6.13.1",
83
83
  "@codemirror/state": "^6.7.6",
@@ -85,38 +85,38 @@
85
85
  "@lezer/common": "^1.5.5",
86
86
  "@lezer/highlight": "^1.2.5",
87
87
  "@lezer/markdown": "^1.8.1",
88
- "@pierre/diffs": "^1.6.2",
89
- "@tanstack/react-virtual": "^3.14.24",
88
+ "@pierre/diffs": "^1.6.4",
89
+ "@tanstack/react-virtual": "^3.14.26",
90
90
  "clsx": "^2.1.1",
91
91
  "heic-to": "1.6.7",
92
- "lucide-react": "^1.65.0",
92
+ "lucide-react": "^1.73.0",
93
93
  "maplibre-gl": "^6.16.0",
94
94
  "pele": "1.13.0",
95
95
  "react-markdown": "^10.1.0",
96
96
  "remark-breaks": "^4.0.0",
97
97
  "remark-gfm": "^4.0.1",
98
- "shiki": "^4.5.0",
99
- "simple-icons": "^16.36.0",
98
+ "shiki": "^4.6.0",
99
+ "simple-icons": "^16.38.0",
100
100
  "zod": "^4.6.7",
101
- "zustand": "^5.0.16"
101
+ "zustand": "^5.1.0"
102
102
  },
103
103
  "peerDependencies": {
104
- "@adecore/ui": "^0.66.10",
105
- "i18next": "^26.4.2",
104
+ "@adecore/ui": "^0.67.1",
105
+ "i18next": "^26.4.2 || ^27.0.0",
106
106
  "react": "^19.3.0",
107
107
  "react-dom": "^19.3.0",
108
- "react-i18next": "^17.0.15"
108
+ "react-i18next": "^17.0.15 || ^18.0.0"
109
109
  },
110
110
  "devDependencies": {
111
- "@adecore/ui": "0.66.10",
111
+ "@adecore/ui": "0.67.1",
112
112
  "@types/bun": "^1.4.4",
113
113
  "@types/react": "^19.3.0",
114
114
  "@types/react-dom": "^19.3.0",
115
- "i18next": "^26.5.12",
116
- "linkedom": "^0.18.14",
115
+ "i18next": "^27.1.3",
116
+ "linkedom": "^0.18.15",
117
117
  "react": "^19.3.1",
118
118
  "react-dom": "^19.3.1",
119
- "react-i18next": "^17.1.9",
119
+ "react-i18next": "^18.0.2",
120
120
  "typescript": "^7.0.2"
121
121
  },
122
122
  "license": "FSL-1.1-MIT",
@@ -103,7 +103,7 @@ export const ACCOUNT_TONE_CLASSES: Record<AccountTone, string> = {
103
103
  * folder: it has no login of its own to report, so being there is all a ready one says.
104
104
  */
105
105
  export function accountStatusLine(status: ProviderAccountStatus | null, canLogIn: boolean): { text: string; tone: AccountTone } {
106
- const words = (key: string, values?: Record<string, string>): string => i18next.t(`agent-providers:status.${key}`, values);
106
+ const words = (key: string, values?: Record<string, string>): string => i18next.t(`agent-providers:status.${key}`, values ?? {});
107
107
 
108
108
  switch (status?.state ?? 'checking') {
109
109
  case 'checking':
@@ -7,7 +7,7 @@ import { providerAccountsOf, useProviderAccountsStore } from '../state/provider-
7
7
  import { errorMessage, type ChatTransport } from '../transport';
8
8
 
9
9
  function words(key: string, values?: Record<string, string>): string {
10
- return i18next.t(`agent-providers:${key}`, values);
10
+ return i18next.t(`agent-providers:${key}`, values ?? {});
11
11
  }
12
12
 
13
13
  function linkTo(scope: ChatScope): ChatTransport {