@automagik/genie 4.260331.13 → 4.260331.14

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.
@@ -10,7 +10,7 @@
10
10
  "plugins": [
11
11
  {
12
12
  "name": "genie",
13
- "version": "4.260331.13",
13
+ "version": "4.260331.14",
14
14
  "source": "./plugins/genie",
15
15
  "description": "Human-AI partnership for Claude Code. Share a terminal, orchestrate workers, evolve together. Brainstorm ideas, wish them into plans, make with parallel agents, ship as one team. A coding genie that grows with your project."
16
16
  }
@@ -2,7 +2,7 @@
2
2
  "id": "genie",
3
3
  "name": "Genie",
4
4
  "description": "Skills, agents, and hooks for the Genie CLI terminal orchestration toolkit",
5
- "version": "4.260331.13",
5
+ "version": "4.260331.14",
6
6
  "configSchema": {
7
7
  "type": "object",
8
8
  "additionalProperties": false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automagik/genie",
3
- "version": "4.260331.13",
3
+ "version": "4.260331.14",
4
4
  "description": "Collaborative terminal toolkit for human + AI workflows",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "genie",
3
- "version": "4.260331.13",
3
+ "version": "4.260331.14",
4
4
  "description": "Human-AI partnership for Claude Code. Share a terminal, orchestrate workers, evolve together. Brainstorm ideas, turn them into wishes, execute with /work, validate with /review, and ship as one team.",
5
5
  "author": {
6
6
  "name": "Namastex Labs"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "genie-plugin",
3
- "version": "4.260331.13",
3
+ "version": "4.260331.14",
4
4
  "private": true,
5
5
  "description": "Runtime dependencies for genie bundled CLIs",
6
6
  "type": "module",
@@ -61,6 +61,9 @@ async function isRecipientLeader(recipient: string, teamName: string): Promise<b
61
61
  }
62
62
 
63
63
  export async function autoSpawn(payload: HookPayload): Promise<HandlerResult> {
64
+ // Skip in test environment — PG/tmux queries cause timeouts under full suite load
65
+ if (process.env.NODE_ENV === 'test' || process.env.BUN_ENV === 'test') return;
66
+
64
67
  const input = payload.tool_input;
65
68
  if (!input || input.type !== 'message') return;
66
69
 
@@ -20,6 +20,8 @@ const getTeam = () => process.env.GENIE_TEAM;
20
20
  type SubjectEventInput = Omit<RuntimeEventInput, 'repoPath' | 'subject'>;
21
21
 
22
22
  async function emit(subject: string, event: SubjectEventInput): Promise<void> {
23
+ // Skip event emission in test environment — PG connection attempts cause 16s timeouts
24
+ if (process.env.NODE_ENV === 'test' || process.env.BUN_ENV === 'test') return;
23
25
  try {
24
26
  const { publishSubjectEvent } = await import('../../lib/runtime-events.js');
25
27
  await publishSubjectEvent(process.cwd(), subject, event);
@@ -6,8 +6,9 @@ describe('otel-receiver', () => {
6
6
 
7
7
  beforeEach(() => {
8
8
  origPort = process.env.GENIE_OTEL_PORT;
9
- // Use a random high port to avoid conflicts with running pgserve
10
- process.env.GENIE_OTEL_PORT = String(49152 + Math.floor(Math.random() * 16383));
9
+ // Use a random high port to avoid conflicts with running pgserve or parallel tests
10
+ // Range 57000-63999 avoids typical pgserve ports (19643-19700) and ephemeral ports
11
+ process.env.GENIE_OTEL_PORT = String(57000 + Math.floor(Math.random() * 7000));
11
12
  });
12
13
 
13
14
  afterEach(() => {