Skip to content

Commit 72c814f

Browse files
Merge pull request #59 from aws-samples/copy-custom-agent
デフォルトのエージェントを複製すると削除できない問題を修正
2 parents ced3dd4 + be80bc4 commit 72c814f

File tree

7 files changed

+11
-9
lines changed

7 files changed

+11
-9
lines changed

README-ja.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Bedrock Engineer はネイティブアプリです。アプリをダウンロー
1919

2020
MacOS:
2121

22-
[<img src="https://img.shields.io/badge/Download_FOR_MAC-Latest%20Release-blue?style=for-the-badge&logo=apple" alt="Download Latest Release" height="40">](https://github.com/aws-samples/bedrock-engineer/releases/latest/download/bedrock-engineer-1.8.0.dmg)
22+
[<img src="https://img.shields.io/badge/Download_FOR_MAC-Latest%20Release-blue?style=for-the-badge&logo=apple" alt="Download Latest Release" height="40">](https://github.com/aws-samples/bedrock-engineer/releases/latest/download/bedrock-engineer-1.8.1.dmg)
2323

2424
MacOS に最適化されていますが、Windows, Linux OS でもビルドして使用できます。不具合があるばあい、issue に起票ください。
2525

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Bedrock Engineer is a native app, you can download the app or build the source c
1919

2020
MacOS:
2121

22-
[<img src="https://img.shields.io/badge/Download_FOR_MAC-Latest%20Release-blue?style=for-the-badge&logo=apple" alt="Download Latest Release" height="40">](https://github.com/aws-samples/bedrock-engineer/releases/latest/download/bedrock-engineer-1.8.0.dmg)
22+
[<img src="https://img.shields.io/badge/Download_FOR_MAC-Latest%20Release-blue?style=for-the-badge&logo=apple" alt="Download Latest Release" height="40">](https://github.com/aws-samples/bedrock-engineer/releases/latest/download/bedrock-engineer-1.8.1.dmg)
2323

2424
It is optimized for MacOS, but can also be built and used on Windows and Linux OS. If you have any problems, please report an issue.
2525

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bedrock-engineer",
3-
"version": "1.8.0",
3+
"version": "1.8.1",
44
"description": "Autonomous software development agent apps using Amazon Bedrock, capable of customize to create/edit files, execute commands, search the web, use knowledge base, use multi-agents, generative images and more.",
55
"main": "./out/main/index.js",
66
"homepage": "https://github.com/daisuke-awaji/bedrock-engineer",

src/renderer/src/i18n/locales/settings/tokenAnalytics.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ export const tokenAnalyticsSettings = {
3333
'Average Cost per Message': 'Average Cost per Message',
3434
'Token Usage Efficiency': 'Token Usage Efficiency',
3535
'Cache Efficiency': 'Cache Efficiency',
36-
'Saved approximately {{amount}} by using prompt cache': 'Saved approximately {{amount}} by using prompt cache'
36+
'Saved approximately {{amount}} by using prompt cache':
37+
'Saved approximately {{amount}} by using prompt cache'
3738
},
3839
ja: {
3940
'Token Usage Analytics': 'トークン使用量分析',
@@ -69,6 +70,7 @@ export const tokenAnalyticsSettings = {
6970
'Average Cost per Message': 'メッセージあたりの平均コスト',
7071
'Token Usage Efficiency': 'トークン使用効率',
7172
'Cache Efficiency': 'キャッシュ効率',
72-
'Saved approximately {{amount}} by using prompt cache': 'プロンプトキャッシュを利用したことで約 {{amount}} 削減しました'
73+
'Saved approximately {{amount}} by using prompt cache':
74+
'プロンプトキャッシュを利用したことで約 {{amount}} 削減しました'
7375
}
7476
}

src/renderer/src/pages/ChatPage/modals/useAgentSettingsModal.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ const AgentSettingsModal = React.memo(
8686
const newAgent = {
8787
...agent,
8888
id: crypto.randomUUID(),
89-
name: `${agent.name} (${t('copy')})`
89+
name: `${agent.name} (${t('copy')})`,
90+
isCustom: true // 明示的にtrueに設定して削除・編集可能にする
9091
}
9192
saveCustomAgents([...customAgents, newAgent])
9293
}

src/renderer/src/pages/ChatPage/modals/useTokenAnalyticsModal.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,6 @@ export const TokenAnalyticsModal: React.FC<TokenAnalyticsModalProps> = ({
449449
<h2 className="text-xl font-bold">{t('Token Usage Analytics')}</h2>
450450
</Modal.Header>
451451
<Modal.Body className="max-h-[80vh] overflow-y-auto">
452-
453452
{/* セッション全体の統計 */}
454453
<div className="mb-6 p-4 bg-gray-100 dark:bg-gray-700 rounded-lg">
455454
<h3 className="text-lg font-semibold mb-2 dark:text-white">{t('Session Summary')}</h3>

0 commit comments

Comments
 (0)