talon-agent 4.6.0 → 4.6.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "talon-agent",
3
- "version": "4.6.0",
3
+ "version": "4.6.1",
4
4
  "description": "Multi-frontend AI agent with full tool access, streaming, cron jobs, and plugin system",
5
5
  "author": "Dylan Neve",
6
6
  "license": "MIT",
@@ -80,7 +80,7 @@
80
80
  "test:watch": "vitest",
81
81
  "test:coverage": "vitest run --coverage",
82
82
  "typecheck": "tsc --noEmit",
83
- "lint": "oxlint src/",
83
+ "lint": "oxlint --max-warnings 0 src/",
84
84
  "depcruise": "node scripts/check-architecture.mjs",
85
85
  "ratchets": "node scripts/check-ratchets.mjs",
86
86
  "function-size": "node scripts/check-function-size.mjs",
@@ -33,7 +33,6 @@ import {
33
33
  accountFailedTurn,
34
34
  nameSessionFromFirstMessage,
35
35
  finishCallbackTurn,
36
- type StreamState,
37
36
  } from "../shared/index.js";
38
37
  import type { RemoteAgentClient } from "./client.js";
39
38
  import type { RemoteServerBindings } from "./server-bindings.js";
@@ -59,7 +59,8 @@ function rowToGoal(row: Row): Goal {
59
59
  }
60
60
 
61
61
  /**
62
- * Expand the `(/* statuses *​/)` placeholder list in a statement to
62
+ * Expand the `statuses` placeholder — a block comment naming it inside
63
+ * the parenthesised IN list of a statement — to
63
64
  * one `?` per status. The status values themselves stay bound
64
65
  * parameters — only the placeholder count is interpolated, never
65
66
  * caller data.
@@ -8,7 +8,7 @@ export async function mapConcurrent<T, R>(
8
8
  limit: number,
9
9
  fn: (item: T, index: number) => Promise<R>,
10
10
  ): Promise<R[]> {
11
- const results: R[] = new Array(items.length);
11
+ const results: R[] = Array.from({ length: items.length });
12
12
  const errors: unknown[] = [];
13
13
  let next = 0;
14
14
  const worker = async (): Promise<void> => {