agent-tail-core 0.3.7 → 0.3.9

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.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { n as cmd_run, r as cmd_wrap, t as cmd_init } from "./commands-B0zBKBEa.mjs";
2
+ import { n as cmd_run, r as cmd_wrap, t as cmd_init } from "./commands-Bw4eTFz0.mjs";
3
3
  import { parseArgs } from "node:util";
4
4
 
5
5
  //#region src/cli.ts
@@ -126,7 +126,7 @@ const DEFAULT_OPTIONS = {
126
126
  logDir: "tmp/logs",
127
127
  logFileName: "browser.log",
128
128
  maxLogSessions: 10,
129
- endpoint: "/__browser-logs",
129
+ endpoint: "/api/browser-logs",
130
130
  flushInterval: 500,
131
131
  maxBatchSize: 50,
132
132
  maxSerializeLength: 2e3,
package/dist/index.d.mts CHANGED
@@ -6,7 +6,7 @@ interface BrowserLogsOptions {
6
6
  logFileName?: string;
7
7
  /** Maximum number of log session directories to retain. Default: 10 */
8
8
  maxLogSessions?: number;
9
- /** Server endpoint path for receiving log batches. Default: "/__browser-logs" */
9
+ /** Server endpoint path for receiving log batches. Default: "/api/browser-logs" */
10
10
  endpoint?: string;
11
11
  /** Client-side flush interval in milliseconds. Default: 500 */
12
12
  flushInterval?: number;
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { a as resolve_session_dir, c as LogManager, i as parse_service_configs, l as SESSION_ENV_VAR, n as cmd_run, o as DEFAULT_OPTIONS, r as cmd_wrap, s as resolve_options, t as cmd_init, u as should_exclude } from "./commands-B0zBKBEa.mjs";
1
+ import { a as resolve_session_dir, c as LogManager, i as parse_service_configs, l as SESSION_ENV_VAR, n as cmd_run, o as DEFAULT_OPTIONS, r as cmd_wrap, s as resolve_options, t as cmd_init, u as should_exclude } from "./commands-Bw4eTFz0.mjs";
2
2
 
3
3
  //#region src/formatter.ts
4
4
  function format_log_line(entry) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "agent-tail-core",
3
3
  "type": "module",
4
- "version": "0.3.7",
4
+ "version": "0.3.9",
5
5
  "description": "Core utilities for agent-tail log capture plugins.",
6
6
  "license": "MIT",
7
7
  "repository": {