@hasna/recordings 0.1.34 → 0.1.36
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 +17 -0
- package/dist/cli/index.js +328 -95
- package/dist/db/storage-config.d.ts +2 -1
- package/dist/db/storage-config.d.ts.map +1 -1
- package/dist/db/storage-sync.d.ts.map +1 -1
- package/dist/index.js +79 -57
- package/dist/lib/config.d.ts.map +1 -1
- package/dist/mcp/index.js +85 -61
- package/dist/storage.js +79 -57
- package/dist/version.d.ts +1 -1
- package/package.json +5 -3
- package/scripts/install_macos_app.sh +2 -2
- package/scripts/release-guard.ts +129 -0
- package/src/native/Recordings/RecordingsTests/CLIRunnerTests.swift +1 -1
package/README.md
CHANGED
|
@@ -49,6 +49,21 @@ This package has native local/remote sync. Local data stays in SQLite under
|
|
|
49
49
|
`HASNA_RECORDINGS_DATABASE_URL` is set or `~/.hasna/recordings/storage/config.json` is
|
|
50
50
|
configured.
|
|
51
51
|
|
|
52
|
+
The optional config file uses a `postgres` object:
|
|
53
|
+
|
|
54
|
+
```json
|
|
55
|
+
{
|
|
56
|
+
"mode": "remote",
|
|
57
|
+
"postgres": {
|
|
58
|
+
"host": "db.example",
|
|
59
|
+
"port": 5432,
|
|
60
|
+
"username": "recordings",
|
|
61
|
+
"password_env": "RECORDINGS_DATABASE_PASSWORD",
|
|
62
|
+
"ssl": true
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
```
|
|
66
|
+
|
|
52
67
|
```bash
|
|
53
68
|
recordings storage status
|
|
54
69
|
recordings storage migrate
|
|
@@ -57,6 +72,8 @@ recordings storage pull
|
|
|
57
72
|
```
|
|
58
73
|
|
|
59
74
|
`RECORDINGS_DATABASE_URL` is accepted as the non-Hasna fallback database URL.
|
|
75
|
+
`HASNA_RECORDINGS_STORAGE_CONFIG` can point automation at a non-default storage
|
|
76
|
+
config file.
|
|
60
77
|
|
|
61
78
|
## Data Directory
|
|
62
79
|
|