@hasna/logs 0.3.16 → 0.3.17
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 +57 -0
- package/bun.lock +2 -2
- package/dist/cli/index.js +2 -2
- package/dist/index-4ba0sabv.js +1241 -0
- package/dist/index-vmr85wa1.js +9579 -0
- package/dist/mcp/index.js +2 -2
- package/dist/server/index.js +2 -2
- package/package.json +2 -2
package/README.md
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# @hasna/logs
|
|
2
|
+
|
|
3
|
+
Log aggregation + browser script + headless page scanner + performance monitoring for AI agents
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/@hasna/logs)
|
|
6
|
+
[](LICENSE)
|
|
7
|
+
|
|
8
|
+
## Install
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm install -g @hasna/logs
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## CLI Usage
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
logs --help
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
- `logs list`
|
|
21
|
+
- `logs tail`
|
|
22
|
+
- `logs summary`
|
|
23
|
+
- `logs push`
|
|
24
|
+
- `logs scan`
|
|
25
|
+
- `logs diagnose`
|
|
26
|
+
|
|
27
|
+
## MCP Server
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
logs-mcp
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
6 tools available.
|
|
34
|
+
|
|
35
|
+
## REST API
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
logs-serve
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Cloud Sync
|
|
42
|
+
|
|
43
|
+
This package supports cloud sync via `@hasna/cloud`:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
cloud setup
|
|
47
|
+
cloud sync push --service logs
|
|
48
|
+
cloud sync pull --service logs
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Data Directory
|
|
52
|
+
|
|
53
|
+
Data is stored in `~/.hasna/logs/`.
|
|
54
|
+
|
|
55
|
+
## License
|
|
56
|
+
|
|
57
|
+
Apache-2.0 -- see [LICENSE](LICENSE)
|
package/bun.lock
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"": {
|
|
6
6
|
"name": "open-logs",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@hasna/cloud": "
|
|
8
|
+
"@hasna/cloud": "0.1.5",
|
|
9
9
|
"@modelcontextprotocol/sdk": "^1.12.1",
|
|
10
10
|
"commander": "^14.0.0",
|
|
11
11
|
"hono": "^4.7.11",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
|
|
45
45
|
"@biomejs/cli-win32-x64": ["@biomejs/cli-win32-x64@1.9.4", "", { "os": "win32", "cpu": "x64" }, "sha512-8Y5wMhVIPaWe6jw2H+KlEm4wP/f7EW3810ZLmDlrEEy5KvBsb9ECEfu/kMWD484ijfQ8+nIi0giMgu9g1UAuuA=="],
|
|
46
46
|
|
|
47
|
-
"@hasna/cloud": ["@hasna/cloud@0.1.
|
|
47
|
+
"@hasna/cloud": ["@hasna/cloud@0.1.5", "", { "dependencies": { "@modelcontextprotocol/sdk": "^1.12.1", "commander": "^13.1.0", "pg": "^8.13.3", "zod": "^3.24.2" }, "bin": { "cloud": "dist/cli/index.js", "cloud-mcp": "dist/mcp/index.js" } }, "sha512-B82jy53QC7xphchffDVZc7gw9OLkcX2rMnmytTQ6FZEeHgG/ySgfM3Om07OOl72dc8ZUkqOpcK+2OYBUYkFR/A=="],
|
|
48
48
|
|
|
49
49
|
"@hono/node-server": ["@hono/node-server@1.19.11", "", { "peerDependencies": { "hono": "^4" } }, "sha512-dr8/3zEaB+p0D2n/IUrlPF1HZm586qgJNXK1a9fhg/PzdtkK7Ksd5l312tJX2yBuALqDYBlG20QEbayqPyxn+g=="],
|
|
50
50
|
|
package/dist/cli/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @bun
|
|
3
3
|
import {
|
|
4
4
|
runJob
|
|
5
|
-
} from "../index-
|
|
5
|
+
} from "../index-4ba0sabv.js";
|
|
6
6
|
import {
|
|
7
7
|
createPage,
|
|
8
8
|
createProject,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
listProjects,
|
|
13
13
|
resolveProjectId,
|
|
14
14
|
summarizeLogs
|
|
15
|
-
} from "../index-
|
|
15
|
+
} from "../index-vmr85wa1.js";
|
|
16
16
|
import {
|
|
17
17
|
createJob,
|
|
18
18
|
listJobs
|