ai-blogger 0.2.0 → 0.4.0
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/dist/cli.js +1 -1
- package/package.json +11 -4
package/dist/cli.js
CHANGED
|
@@ -496,7 +496,7 @@ import { dirname as dirname4, join as join4 } from "path";
|
|
|
496
496
|
import { homedir as homedir2 } from "os";
|
|
497
497
|
var SETTINGS_PATH = join4(homedir2(), ".claude", "settings.json");
|
|
498
498
|
var HOOK_COMMAND = "npx ai-blogger process";
|
|
499
|
-
var MANAGED_EVENTS = ["
|
|
499
|
+
var MANAGED_EVENTS = ["SessionEnd"];
|
|
500
500
|
function loadSettings(path) {
|
|
501
501
|
try {
|
|
502
502
|
return JSON.parse(readFileSync5(path, "utf-8"));
|
package/package.json
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-blogger",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Auto-generate blog posts from Claude Code sessions to Notion",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"ai-blogger": "./dist/cli.js"
|
|
8
8
|
},
|
|
9
|
-
"files": [
|
|
9
|
+
"files": [
|
|
10
|
+
"dist"
|
|
11
|
+
],
|
|
10
12
|
"scripts": {
|
|
11
13
|
"build": "tsup",
|
|
12
14
|
"dev": "tsup --watch",
|
|
@@ -14,14 +16,19 @@
|
|
|
14
16
|
"test:watch": "vitest",
|
|
15
17
|
"prepublishOnly": "npm run build"
|
|
16
18
|
},
|
|
17
|
-
"keywords": [
|
|
19
|
+
"keywords": [
|
|
20
|
+
"claude-code",
|
|
21
|
+
"blog",
|
|
22
|
+
"notion",
|
|
23
|
+
"ai"
|
|
24
|
+
],
|
|
18
25
|
"license": "MIT",
|
|
19
26
|
"engines": {
|
|
20
27
|
"node": ">=18"
|
|
21
28
|
},
|
|
22
29
|
"dependencies": {
|
|
23
30
|
"@anthropic-ai/sdk": "^0.52.0",
|
|
24
|
-
"@notionhq/client": "^
|
|
31
|
+
"@notionhq/client": "^5.17.0",
|
|
25
32
|
"@tryfabric/martian": "^1.2.4"
|
|
26
33
|
},
|
|
27
34
|
"devDependencies": {
|