@tiey/synth 0.0.1

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 ADDED
@@ -0,0 +1,75 @@
1
+ # Synth
2
+
3
+ Synth is a TypeScript CLI for collecting AI coding sessions from local tools, summarizing them with an LLM, and generating scheduled daily reports on Windows.
4
+
5
+ ## Features
6
+
7
+ - Collect sessions from Claude Code, Codex, and Qoder.
8
+ - Summarize sessions through OpenAI-compatible or Anthropic models.
9
+ - Generate Markdown and HTML reports under `~/.synth/reports/`.
10
+ - Run manually with `synth run` or as a Windows service with cron scheduling.
11
+
12
+ ## Install
13
+
14
+ ```bash
15
+ npm install
16
+ npm run build
17
+ ```
18
+
19
+ For global CLI testing:
20
+
21
+ ```bash
22
+ npm link
23
+ synth config --init
24
+ ```
25
+
26
+ Published package name:
27
+
28
+ ```bash
29
+ npm install -g @tiey/synth
30
+ ```
31
+
32
+ ## Configuration
33
+
34
+ Synth reads configuration from `~/.synth/config.yaml`.
35
+
36
+ Minimal example:
37
+
38
+ ```yaml
39
+ llm:
40
+ provider: "openai-compatible"
41
+ baseUrl: "https://api.openai.com/v1"
42
+ apiKey: "your-api-key"
43
+ model: "gpt-4o"
44
+ ```
45
+
46
+ ## Common Commands
47
+
48
+ ```bash
49
+ synth run
50
+ synth run --since 2026-04-01
51
+ synth run --date 2026-04-05
52
+ synth status
53
+ synth install
54
+ ```
55
+
56
+ ## Development
57
+
58
+ ```bash
59
+ npm run typecheck
60
+ npm run build
61
+ npm run pack:check
62
+ npx tsx test-collect.ts
63
+ npx tsx test-summarize.ts
64
+ ```
65
+
66
+ ## Release
67
+
68
+ See `docs/NPM_PUBLISH.md` for npm release steps and `scripts/publish-npm.ps1` for the local release helper.
69
+
70
+ ## Distribution Notes
71
+
72
+ - npm packaging is ready through `dist/` plus `README.md`.
73
+ - Windows service support depends on `node-windows`.
74
+ - This version does not support notification delivery channels.
75
+ - SEA packaging is not wired yet. The current build still relies on external runtime assumptions such as `better-sqlite3` and `node-windows`, so SEA should be treated as a follow-up task rather than a release path today.