@bytesbrains/pi-docker-logs 1.0.0 → 1.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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2026 nandal
3
+ Copyright (c) 2026 BytesBrains Pte Ltd
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -7,7 +7,7 @@ For label-filtered structured logs (by agent/service), use [pi-loki-gate](../lok
7
7
  ## Install
8
8
 
9
9
  ```bash
10
- pi install npm:pi-docker-logs
10
+ pi install npm:@bytesbrains/pi-docker-logs
11
11
  ```
12
12
 
13
13
  ## Configuration
@@ -69,3 +69,8 @@ docker_container_logs(container="ai-factory-gitea", tail=100, since="1h")
69
69
  ## License
70
70
 
71
71
  MIT
72
+
73
+ ---
74
+
75
+ Built and maintained by [BytesBrains](https://bytesbrains.com) — AI automation & agents, engineered to production standards.
76
+ *The model proposes, code guarantees.*
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytesbrains/pi-docker-logs",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Docker log gateway for pi agents — tail logs from Docker containers in the wrok.in AI Factory via the docker CLI.",
5
5
  "keywords": [
6
6
  "pi-package",
@@ -10,15 +10,14 @@
10
10
  "logging",
11
11
  "ai-factory"
12
12
  ],
13
- "author": "nandal <nandal@users.noreply.github.com>",
13
+ "author": "BytesBrains Pte Ltd (https://bytesbrains.com)",
14
14
  "repository": {
15
15
  "type": "git",
16
- "url": "git+https://github.com/nandal/pi-ext.git",
17
- "directory": "docker-logs"
16
+ "url": "git+https://github.com/bytesbrains/pi-docker-logs.git"
18
17
  },
19
- "homepage": "https://github.com/nandal/pi-ext/tree/main/docker-logs",
18
+ "homepage": "https://github.com/bytesbrains/pi-docker-logs#readme",
20
19
  "bugs": {
21
- "url": "https://github.com/nandal/pi-ext/issues"
20
+ "url": "https://github.com/bytesbrains/pi-docker-logs/issues"
22
21
  },
23
22
  "license": "MIT",
24
23
  "main": "./src/index.ts",
package/src/config.ts CHANGED
@@ -20,7 +20,9 @@ export function loadConfig(cwd: string): DockerLogsConfig {
20
20
  }
21
21
  }
22
22
  return {
23
- tail: parseInt(result["tail"] as string) || DEFAULT_CONFIG.tail,
23
+ const tail = parseInt(result["tail"] as string);
24
+ return {
25
+ tail: isNaN(tail) ? DEFAULT_CONFIG.tail : tail,
24
26
  };
25
27
  } catch {
26
28
  return { ...DEFAULT_CONFIG };