@hasna/logs 0.3.10 → 0.3.12
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/index.js +4 -4
- package/dist/index-2sbhn1ye.js +1241 -0
- package/dist/index-t97ttm0a.js +543 -0
- package/dist/index-ww5ggfv3.js +90 -0
- package/dist/mcp/index.js +16 -9
- package/dist/query-7jwj05er.js +15 -0
- package/dist/server/index.js +3 -3
- package/package.json +1 -1
- package/src/lib/ingest.ts +5 -1
- package/src/lib/query.ts +23 -3
- package/src/mcp/index.ts +14 -6
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-2sbhn1ye.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-t97ttm0a.js";
|
|
16
16
|
import {
|
|
17
17
|
createJob,
|
|
18
18
|
listJobs
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
searchLogs,
|
|
22
22
|
tailLogs
|
|
23
|
-
} from "../index-
|
|
23
|
+
} from "../index-ww5ggfv3.js";
|
|
24
24
|
import"../index-997bkzr2.js";
|
|
25
25
|
import {
|
|
26
26
|
__commonJS,
|
|
@@ -2323,7 +2323,7 @@ ${C.bold}Perf Regressions:${C.reset}`);
|
|
|
2323
2323
|
});
|
|
2324
2324
|
program2.command("watch").description("Stream new logs in real time with color coding").option("--project <name|id>", "Filter by project name or ID").option("--level <levels>", "Comma-separated levels (debug,info,warn,error,fatal)").option("--service <name>", "Filter by service name").option("--interval <ms>", "Poll interval in milliseconds (default: 500)", "500").option("--since <time>", "Start from this time (default: now)").action(async (opts) => {
|
|
2325
2325
|
const db = getDb();
|
|
2326
|
-
const { searchLogs: searchLogs2 } = await import("../query-
|
|
2326
|
+
const { searchLogs: searchLogs2 } = await import("../query-7jwj05er.js");
|
|
2327
2327
|
let projectId = opts.project;
|
|
2328
2328
|
if (projectId) {
|
|
2329
2329
|
const proj = db.query("SELECT id FROM projects WHERE id = ? OR name = ?").get(projectId, projectId);
|