tmux-team 3.2.1 → 3.2.3

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,25 +1,12 @@
1
1
  {
2
2
  "name": "tmux-team",
3
- "version": "3.2.1",
3
+ "version": "3.2.3",
4
4
  "description": "CLI tool for AI agent collaboration in tmux - manage cross-pane communication",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "tmux-team": "./bin/tmux-team",
8
8
  "tmt": "./bin/tmux-team"
9
9
  },
10
- "scripts": {
11
- "dev": "tsx src/cli.ts",
12
- "tmt": "./bin/tmux-team",
13
- "test": "npm run test:run",
14
- "test:watch": "vitest",
15
- "test:run": "vitest run --coverage && node scripts/check-coverage.mjs --threshold 95",
16
- "lint": "oxlint src/",
17
- "lint:fix": "oxlint src/ --fix",
18
- "format": "prettier --write src/",
19
- "format:check": "prettier --check src/",
20
- "type:check": "tsc --noEmit",
21
- "check": "npm run type:check && npm run lint && npm run format:check"
22
- },
23
10
  "keywords": [
24
11
  "tmux",
25
12
  "cli",
@@ -56,5 +43,18 @@
56
43
  "prettier": "^3.7.4",
57
44
  "typescript": "^5.3.0",
58
45
  "vitest": "^1.2.0"
46
+ },
47
+ "scripts": {
48
+ "dev": "tsx src/cli.ts",
49
+ "tmt": "./bin/tmux-team",
50
+ "test": "pnpm test:run",
51
+ "test:watch": "vitest",
52
+ "test:run": "vitest run --coverage && node scripts/check-coverage.mjs --threshold 95",
53
+ "lint": "oxlint src/",
54
+ "lint:fix": "oxlint src/ --fix",
55
+ "format": "prettier --write src/",
56
+ "format:check": "prettier --check src/",
57
+ "type:check": "tsc --noEmit",
58
+ "check": "pnpm type:check && pnpm lint && pnpm format:check"
59
59
  }
60
- }
60
+ }
package/src/cli.test.ts CHANGED
@@ -16,7 +16,7 @@ function makeStubContext(): Context {
16
16
  config: {
17
17
  mode: 'polling',
18
18
  preambleMode: 'always',
19
- defaults: { timeout: 180, pollInterval: 1, captureLines: 100, preambleEvery: 3 },
19
+ defaults: { timeout: 180, pollInterval: 1, captureLines: 100, maxCaptureLines: 2000, preambleEvery: 3 },
20
20
  agents: {},
21
21
  paneRegistry: {},
22
22
  },
@@ -53,7 +53,7 @@ function createCtx(
53
53
  const baseConfig: ResolvedConfig = {
54
54
  mode: 'polling',
55
55
  preambleMode: 'always',
56
- defaults: { timeout: 180, pollInterval: 1, captureLines: 100, preambleEvery: 3 },
56
+ defaults: { timeout: 180, pollInterval: 1, captureLines: 100, maxCaptureLines: 2000, preambleEvery: 3 },
57
57
  agents: {},
58
58
  paneRegistry: {},
59
59
  ...overrides?.config,
@@ -34,7 +34,7 @@ function createCtx(
34
34
  const config: ResolvedConfig = {
35
35
  mode: 'polling',
36
36
  preambleMode: 'always',
37
- defaults: { timeout: 180, pollInterval: 1, captureLines: 100, preambleEvery: 3 },
37
+ defaults: { timeout: 180, pollInterval: 1, captureLines: 100, maxCaptureLines: 2000, preambleEvery: 3 },
38
38
  agents: {},
39
39
  paneRegistry: {},
40
40
  ...configOverrides,
@@ -155,6 +155,7 @@ function setConfig(ctx: Context, key: string, value: string, global: boolean): v
155
155
  timeout: 180,
156
156
  pollInterval: 1,
157
157
  captureLines: 100,
158
+ maxCaptureLines: 2000,
158
159
  preambleEvery: parseInt(value, 10),
159
160
  };
160
161
  } else {
@@ -26,7 +26,7 @@ function createCtx(testDir: string, overrides?: Partial<{ flags: Partial<Flags>
26
26
  const config: ResolvedConfig = {
27
27
  mode: 'polling',
28
28
  preambleMode: 'always',
29
- defaults: { timeout: 180, pollInterval: 1, captureLines: 100, preambleEvery: 3 },
29
+ defaults: { timeout: 180, pollInterval: 1, captureLines: 100, maxCaptureLines: 2000, preambleEvery: 3 },
30
30
  agents: {},
31
31
  paneRegistry: {},
32
32
  };
@@ -26,7 +26,7 @@ function createCtx(testDir: string, tmux: Tmux, flags?: Partial<Flags>): Context
26
26
  const config: ResolvedConfig = {
27
27
  mode: 'polling',
28
28
  preambleMode: 'always',
29
- defaults: { timeout: 180, pollInterval: 1, captureLines: 100, preambleEvery: 3 },
29
+ defaults: { timeout: 180, pollInterval: 1, captureLines: 100, maxCaptureLines: 2000, preambleEvery: 3 },
30
30
  agents: {},
31
31
  paneRegistry: {},
32
32
  };