@snelusha/noto 1.0.5 → 1.0.6
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 +1 -1
- package/dist/index.js +14 -3
- package/package.json +8 -7
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<h1 align="center">noto ✨</h1>
|
|
2
2
|
<p align="center"><sup>(/nōto/, <em>notebook</em> in Japanese)</sup></p>
|
|
3
|
-
<img src="https://github.com/snelusha/static/blob/main/noto/banner.png?raw=true" align="center"></img>
|
|
3
|
+
<img src="https://github.com/snelusha/static/blob/main/noto/banner-sharp.png?raw=true" align="center"></img>
|
|
4
4
|
|
|
5
5
|
## Features
|
|
6
6
|
|
package/dist/index.js
CHANGED
|
@@ -64,7 +64,8 @@ var AvailableModelsSchema = z.enum([
|
|
|
64
64
|
"gemini-1.5-pro-latest",
|
|
65
65
|
"gemini-2.0-flash-lite-preview-02-05",
|
|
66
66
|
"gemini-2.0-flash-exp",
|
|
67
|
-
"gemini-2.0-pro-exp-02-05"
|
|
67
|
+
"gemini-2.0-pro-exp-02-05",
|
|
68
|
+
"gemini-2.5-pro-exp-03-25"
|
|
68
69
|
]);
|
|
69
70
|
|
|
70
71
|
// src/utils/storage.ts
|
|
@@ -250,7 +251,8 @@ var models = {
|
|
|
250
251
|
"gemini-2.0-flash-lite-preview-02-05"
|
|
251
252
|
),
|
|
252
253
|
"gemini-2.0-flash-exp": google("gemini-2.0-flash-exp"),
|
|
253
|
-
"gemini-2.0-pro-exp-02-05": google("gemini-2.0-pro-exp-02-05")
|
|
254
|
+
"gemini-2.0-pro-exp-02-05": google("gemini-2.0-pro-exp-02-05"),
|
|
255
|
+
"gemini-2.5-pro-exp-03-25": google("gemini-2.5-pro-exp-03-25")
|
|
254
256
|
};
|
|
255
257
|
var availableModels = Object.keys(models);
|
|
256
258
|
var getModel = async () => {
|
|
@@ -574,6 +576,15 @@ var model = {
|
|
|
574
576
|
p5.log.error(color5.red("nothing changed!"));
|
|
575
577
|
return await exit(1);
|
|
576
578
|
}
|
|
579
|
+
if (model2 === "gemini-2.5-pro-exp-03-25") {
|
|
580
|
+
const confirm2 = await p5.confirm({
|
|
581
|
+
message: "this model has a rate limit of 5 RPM (requests per minute) 50 requests per day, do you want to continue?"
|
|
582
|
+
});
|
|
583
|
+
if (p5.isCancel(confirm2) || !confirm2) {
|
|
584
|
+
p5.log.error(color5.red("nothing changed!"));
|
|
585
|
+
return await exit(1);
|
|
586
|
+
}
|
|
587
|
+
}
|
|
577
588
|
await StorageManager.update((current) => ({
|
|
578
589
|
...current,
|
|
579
590
|
llm: {
|
|
@@ -674,7 +685,7 @@ var listCommand = () => {
|
|
|
674
685
|
};
|
|
675
686
|
|
|
676
687
|
// package.json
|
|
677
|
-
var version = "1.0.
|
|
688
|
+
var version = "1.0.6";
|
|
678
689
|
|
|
679
690
|
// src/index.ts
|
|
680
691
|
var globalSpec = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@snelusha/noto",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "Generate clean commit messages in a snap! ✨",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -9,10 +9,11 @@
|
|
|
9
9
|
"email": "hello@snelusha.dev",
|
|
10
10
|
"url": "https://snelusha.dev"
|
|
11
11
|
},
|
|
12
|
-
"homepage": "https://
|
|
12
|
+
"homepage": "https://noto.snelusha.dev",
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
15
|
-
"url": "git+https://github.com/snelusha/noto.git"
|
|
15
|
+
"url": "git+https://github.com/snelusha/noto.git",
|
|
16
|
+
"directory": "packages/cli"
|
|
16
17
|
},
|
|
17
18
|
"bugs": {
|
|
18
19
|
"url": "https://github.com/snelusha/noto/issues"
|
|
@@ -41,21 +42,21 @@
|
|
|
41
42
|
"cli"
|
|
42
43
|
],
|
|
43
44
|
"devDependencies": {
|
|
44
|
-
"@types/node": "^22.13.
|
|
45
|
+
"@types/node": "^22.13.13",
|
|
45
46
|
"tsup": "^8.4.0",
|
|
46
47
|
"typescript": "^5.8.2"
|
|
47
48
|
},
|
|
48
49
|
"dependencies": {
|
|
49
|
-
"@ai-sdk/google": "^1.
|
|
50
|
+
"@ai-sdk/google": "^1.2.3",
|
|
50
51
|
"@clack/prompts": "^0.10.0",
|
|
51
|
-
"ai": "^4.
|
|
52
|
+
"ai": "^4.2.5",
|
|
52
53
|
"arg": "^5.0.2",
|
|
53
54
|
"clipboardy": "^4.0.0",
|
|
54
55
|
"dedent": "^1.5.3",
|
|
55
56
|
"picocolors": "^1.1.1",
|
|
56
57
|
"simple-git": "^3.27.0",
|
|
57
58
|
"tinyexec": "^0.3.2",
|
|
58
|
-
"vitest": "^3.0.
|
|
59
|
+
"vitest": "^3.0.9",
|
|
59
60
|
"zod": "^3.24.2"
|
|
60
61
|
}
|
|
61
62
|
}
|