[PR #3754] [MERGED] Support use AI API to create terminal command #3947

Closed
opened 2026-02-27 01:54:22 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/electerm/electerm/pull/3754
Author: @zxdong262
Created: 1/7/2025
Status: Merged
Merged: 1/10/2025
Merged by: @zxdong262

Base: masterHead: ai


📝 Commits (10+)

📊 Changes

25 files changed (+2264 additions, -110 deletions)

View changed files

📝 package-lock.json (+1413 -25)
📝 package.json (+2 -0)
📝 src/app/common/default-setting.js (+12 -1)
src/app/lib/ai.js (+50 -0)
📝 src/app/lib/ipc.js (+2 -0)
📝 src/client/common/constants.js (+1 -0)
📝 src/client/common/default-setting.js (+12 -1)
src/client/components/ai/ai-chat-history-item.jsx (+69 -0)
src/client/components/ai/ai-chat-history.jsx (+31 -0)
src/client/components/ai/ai-chat.jsx (+164 -0)
src/client/components/ai/ai-config.jsx (+133 -0)
src/client/components/ai/ai-output.jsx (+123 -0)
src/client/components/ai/ai.styl (+69 -0)
src/client/components/ai/providers.js (+14 -0)
📝 src/client/components/footer/batch-input.jsx (+13 -67)
📝 src/client/components/footer/footer-entry.jsx (+19 -3)
📝 src/client/components/footer/footer.styl (+4 -0)
📝 src/client/components/footer/tab-select.jsx (+9 -3)
📝 src/client/components/layout/layout.jsx (+5 -4)
📝 src/client/components/main/main.jsx (+13 -1)

...and 5 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/electerm/electerm/pull/3754 **Author:** [@zxdong262](https://github.com/zxdong262) **Created:** 1/7/2025 **Status:** ✅ Merged **Merged:** 1/10/2025 **Merged by:** [@zxdong262](https://github.com/zxdong262) **Base:** `master` ← **Head:** `ai` --- ### 📝 Commits (10+) - [`5e22223`](https://github.com/electerm/electerm/commit/5e22223f928cf0db6fe15ff5587271467d328324) save - [`4ccda36`](https://github.com/electerm/electerm/commit/4ccda364736f048ed7531c6853645355e8076a38) Version bump - [`168786b`](https://github.com/electerm/electerm/commit/168786b5dcc301f432d2f24e1d953b28fa4f4e68) Merge remote-tracking branch 'origin' into ai - [`d4de93b`](https://github.com/electerm/electerm/commit/d4de93b63a1e9d4ef95368d4adce5a30ffd1a061) save - [`65c59c9`](https://github.com/electerm/electerm/commit/65c59c97872349cd4d6ebf6201f94a2dff522515) ce - [`36fb6d5`](https://github.com/electerm/electerm/commit/36fb6d5b14f139dc2fa8b207eb3e0ffeb0cd06fd) save - [`a389e82`](https://github.com/electerm/electerm/commit/a389e820f8170bf149aefb9c9036f6d06afabf59) save - [`ac9bbd5`](https://github.com/electerm/electerm/commit/ac9bbd524183f95ee3dd5b463420511ba170d74e) Merge remote-tracking branch 'origin' into ai - [`ae30e84`](https://github.com/electerm/electerm/commit/ae30e84e3fd50f95457db8f7721c1196b7313890) Merge remote-tracking branch 'origin' into ai - [`86fa311`](https://github.com/electerm/electerm/commit/86fa3111f18e858b1627bb4f8e805eab9081b0a4) save ### 📊 Changes **25 files changed** (+2264 additions, -110 deletions) <details> <summary>View changed files</summary> 📝 `package-lock.json` (+1413 -25) 📝 `package.json` (+2 -0) 📝 `src/app/common/default-setting.js` (+12 -1) ➕ `src/app/lib/ai.js` (+50 -0) 📝 `src/app/lib/ipc.js` (+2 -0) 📝 `src/client/common/constants.js` (+1 -0) 📝 `src/client/common/default-setting.js` (+12 -1) ➕ `src/client/components/ai/ai-chat-history-item.jsx` (+69 -0) ➕ `src/client/components/ai/ai-chat-history.jsx` (+31 -0) ➕ `src/client/components/ai/ai-chat.jsx` (+164 -0) ➕ `src/client/components/ai/ai-config.jsx` (+133 -0) ➕ `src/client/components/ai/ai-output.jsx` (+123 -0) ➕ `src/client/components/ai/ai.styl` (+69 -0) ➕ `src/client/components/ai/providers.js` (+14 -0) 📝 `src/client/components/footer/batch-input.jsx` (+13 -67) 📝 `src/client/components/footer/footer-entry.jsx` (+19 -3) 📝 `src/client/components/footer/footer.styl` (+4 -0) 📝 `src/client/components/footer/tab-select.jsx` (+9 -3) 📝 `src/client/components/layout/layout.jsx` (+5 -4) 📝 `src/client/components/main/main.jsx` (+13 -1) _...and 5 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 01:54:22 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#3947
No description provided.