yuangs 1.3.39 → 1.3.45
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.
- package/README.md +44 -0
- package/dist/ai/client.d.ts +9 -0
- package/dist/ai/client.js +118 -0
- package/dist/ai/client.js.map +1 -0
- package/dist/ai/prompt.d.ts +3 -0
- package/dist/ai/prompt.js +56 -0
- package/dist/ai/prompt.js.map +1 -0
- package/dist/ai/types.d.ts +5 -0
- package/dist/ai/types.js +3 -0
- package/dist/ai/types.js.map +1 -0
- package/dist/cli.d.ts +2 -0
- package/dist/cli.js +142 -0
- package/dist/cli.js.map +1 -0
- package/dist/commands/handleAIChat.d.ts +1 -0
- package/dist/commands/handleAIChat.js +111 -0
- package/dist/commands/handleAIChat.js.map +1 -0
- package/dist/commands/handleAICommand.d.ts +4 -0
- package/dist/commands/handleAICommand.js +97 -0
- package/dist/commands/handleAICommand.js.map +1 -0
- package/dist/commands/handleConfig.d.ts +1 -0
- package/dist/commands/handleConfig.js +73 -0
- package/dist/commands/handleConfig.js.map +1 -0
- package/dist/core/apps.d.ts +7 -0
- package/dist/core/apps.js +64 -0
- package/dist/core/apps.js.map +1 -0
- package/dist/core/autofix.d.ts +3 -0
- package/dist/core/autofix.js +24 -0
- package/dist/core/autofix.js.map +1 -0
- package/dist/core/executor.d.ts +6 -0
- package/dist/core/executor.js +28 -0
- package/dist/core/executor.js.map +1 -0
- package/dist/core/macros.d.ts +9 -0
- package/dist/core/macros.js +51 -0
- package/dist/core/macros.js.map +1 -0
- package/dist/core/os.d.ts +7 -0
- package/dist/core/os.js +36 -0
- package/dist/core/os.js.map +1 -0
- package/dist/core/risk.d.ts +1 -0
- package/dist/core/risk.js +11 -0
- package/dist/core/risk.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -0
- package/dist/utils/confirm.d.ts +1 -0
- package/dist/utils/confirm.js +55 -0
- package/dist/utils/confirm.js.map +1 -0
- package/dist/utils/history.d.ts +10 -0
- package/dist/utils/history.js +31 -0
- package/dist/utils/history.js.map +1 -0
- package/package.json +24 -8
- package/cli.js +0 -597
- package/index.js +0 -361
- package/test/index.test.js +0 -78
- package/test/macros.test.js +0 -91
- package/test_interactive_history.js +0 -66
- package/test_interactive_history_multi.js +0 -67
- package/yuangs.config.example.json +0 -11
- package/yuangs.config.example.yaml +0 -23
- package/yuangs.config.json +0 -9
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# Example configuration file for yuangs CLI
|
|
2
|
-
# Add your custom applications here
|
|
3
|
-
|
|
4
|
-
shici: "https://wealth.want.biz/shici/index.html"
|
|
5
|
-
dict: "https://wealth.want.biz/pages/dict.html"
|
|
6
|
-
pong: "https://wealth.want.biz/pages/pong.html"
|
|
7
|
-
github: "https://github.com"
|
|
8
|
-
calendar: "https://calendar.google.com"
|
|
9
|
-
mail: "https://mail.google.com"
|
|
10
|
-
|
|
11
|
-
# AI Configuration
|
|
12
|
-
aiProxyUrl: "https://aiproxy.want.biz/v1/chat/completions"
|
|
13
|
-
defaultModel: "Assistant"
|
|
14
|
-
accountType: "free"
|
|
15
|
-
|
|
16
|
-
# You can also use the apps property if you prefer to group them
|
|
17
|
-
# apps:
|
|
18
|
-
# shici: "https://wealth.want.biz/shici/index.html"
|
|
19
|
-
# dict: "https://wealth.want.biz/pages/dict.html"
|
|
20
|
-
# pong: "https://wealth.want.biz/pages/pong.html"
|
|
21
|
-
# github: "https://github.com"
|
|
22
|
-
# calendar: "https://calendar.google.com"
|
|
23
|
-
# mail: "https://mail.google.com"
|
package/yuangs.config.json
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"shici": "https://wealth.want.biz/shici/index.html",
|
|
3
|
-
"dict": "https://wealth.want.biz/pages/dict.html",
|
|
4
|
-
"pong": "https://wealth.want.biz/pages/pong.html",
|
|
5
|
-
"mail": "https://mail.google.com",
|
|
6
|
-
"github": "https://github.com",
|
|
7
|
-
"calendar": "https://calendar.google.com",
|
|
8
|
-
"homepage": "https://i.want.biz"
|
|
9
|
-
}
|