@rubytech/taskmaster 1.25.1 → 1.26.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.
@@ -6,7 +6,7 @@
6
6
  <title>Taskmaster Control</title>
7
7
  <meta name="color-scheme" content="dark light" />
8
8
  <link rel="icon" type="image/png" href="./favicon.png" />
9
- <script type="module" crossorigin src="./assets/index-B1bLQjxV.js"></script>
9
+ <script type="module" crossorigin src="./assets/index-C1r0QazL.js"></script>
10
10
  <link rel="stylesheet" crossorigin href="./assets/index-C7ieCeTV.css">
11
11
  </head>
12
12
  <body>
@@ -2,8 +2,8 @@ import { Type } from "@sinclair/typebox";
2
2
  import { NonEmptyString } from "./primitives.js";
3
3
  export const LogsTailParamsSchema = Type.Object({
4
4
  cursor: Type.Optional(Type.Integer({ minimum: 0 })),
5
- limit: Type.Optional(Type.Integer({ minimum: 1, maximum: 5000 })),
6
- maxBytes: Type.Optional(Type.Integer({ minimum: 1, maximum: 1_000_000 })),
5
+ limit: Type.Optional(Type.Integer({ minimum: 1, maximum: 50_000 })),
6
+ maxBytes: Type.Optional(Type.Integer({ minimum: 1, maximum: 10_000_000 })),
7
7
  minLevel: Type.Optional(Type.Union([
8
8
  Type.Literal("fatal"),
9
9
  Type.Literal("error"),
@@ -7,10 +7,10 @@ import { parseLogLine } from "../../logging/parse-log-line.js";
7
7
  import { ErrorCodes, errorShape, formatValidationErrors, validateLogsTailParams, } from "../protocol/index.js";
8
8
  import { isMasterSession } from "./access.js";
9
9
  const CONTROL_UI_CLIENT_ID = "taskmaster-control-ui";
10
- const DEFAULT_LIMIT = 500;
11
- const DEFAULT_MAX_BYTES = 250_000;
12
- const MAX_LIMIT = 5000;
13
- const MAX_BYTES = 1_000_000;
10
+ const DEFAULT_LIMIT = 5000;
11
+ const DEFAULT_MAX_BYTES = 2_000_000;
12
+ const MAX_LIMIT = 50_000;
13
+ const MAX_BYTES = 10_000_000;
14
14
  const ROLLING_LOG_RE = /^taskmaster-\d{4}-\d{2}-\d{2}\.log$/;
15
15
  function clamp(value, min, max) {
16
16
  return Math.max(min, Math.min(max, value));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rubytech/taskmaster",
3
- "version": "1.25.1",
3
+ "version": "1.26.1",
4
4
  "description": "AI-powered business assistant for small businesses",
5
5
  "publishConfig": {
6
6
  "access": "public"