@oxgeneral/orch 0.2.1 → 0.2.2

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.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { DEFAULT_CONFIG } from './chunk-ED47GL3F.js';
3
3
  import { GOAL_STATUS_ORDER } from './chunk-HXYAZGLP.js';
4
- import { formatDuration, formatDurationSince } from './chunk-2VSAM7RH.js';
4
+ import { formatDuration, formatDurationSince } from './chunk-I5WEMARW.js';
5
5
  import React5, { useState, useEffect, useMemo, useRef, useCallback } from 'react';
6
6
  import { Box, Text, useApp, useStdout, useInput } from 'ink';
7
7
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { agentToEditorContent, openInEditor, agentFromEditorContent } from './chunk-P6ATSXGL.js';
3
- import { printSuccess, agentName, dim, statusIcon, printTable, formatTokens, printKeyValue } from './chunk-2VSAM7RH.js';
3
+ import { printSuccess, agentName, dim, statusIcon, printTable, formatTokens, printKeyValue } from './chunk-I5WEMARW.js';
4
4
 
5
5
  // src/cli/commands/agent.ts
6
6
  function registerAgentCommand(program, container) {
@@ -163,4 +163,4 @@ function stripAnsi(str) {
163
163
  return str.replace(/\x1b\[[0-9;]*m/g, "");
164
164
  }
165
165
 
166
- export { agentName, amber, dim, filePath, formatDuration, formatDurationSince, formatTokens, getIcon, icons, printError, printKeyValue, printSuccess, printTable, printWarning, priorityLabel, setAsciiMode, setNoColor, statusIcon };
166
+ export { agentName, amber, dim, filePath, formatDuration, formatDurationSince, formatTokens, getIcon, printError, printKeyValue, printSuccess, printTable, printWarning, priorityLabel, setAsciiMode, setNoColor, statusIcon };
package/dist/cli.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
+ import { setAsciiMode, setNoColor, printError } from './chunk-I5WEMARW.js';
2
3
  import { findProjectRoot } from './chunk-VTA74YWX.js';
3
4
  import { OrchestryError, NotInitializedError } from './chunk-O5AO5QIR.js';
4
- import { setAsciiMode, setNoColor, printError } from './chunk-2VSAM7RH.js';
5
5
  import { Command } from 'commander';
6
6
 
7
7
  // src/cli/context.ts
@@ -20,58 +20,58 @@ function createContext(opts) {
20
20
  // src/bin/cli.ts
21
21
  var LIGHT_COMMANDS = {
22
22
  task: async (p, c) => {
23
- const m = await import('./task-NUCRHYW7.js');
23
+ const m = await import('./task-5OJTXW27.js');
24
24
  m.registerTaskCommand(p, c);
25
25
  },
26
26
  agent: async (p, c) => {
27
- const m = await import('./agent-J62U7ABO.js');
27
+ const m = await import('./agent-V5M2C3OC.js');
28
28
  m.registerAgentCommand(p, c);
29
29
  },
30
30
  status: async (p, c) => {
31
- const m = await import('./status-KIISF542.js');
31
+ const m = await import('./status-DTF7D3DV.js');
32
32
  m.registerStatusCommand(p, c);
33
33
  },
34
34
  logs: async (p, c) => {
35
- const m = await import('./logs-PYEKMQE2.js');
35
+ const m = await import('./logs-IAUAS5TX.js');
36
36
  m.registerLogsCommand(p, c);
37
37
  },
38
38
  config: async (p, c) => {
39
- const m = await import('./config-VN4MYHSY.js');
39
+ const m = await import('./config-LJFM55LN.js');
40
40
  m.registerConfigCommand(p, c);
41
41
  },
42
42
  context: async (p, c) => {
43
- const m = await import('./context-EPHCF34F.js');
43
+ const m = await import('./context-EPSDCJTU.js');
44
44
  m.registerContextCommand(p, c);
45
45
  },
46
46
  msg: async (p, c) => {
47
- const m = await import('./msg-BBIPCGDO.js');
47
+ const m = await import('./msg-SQWQLJP6.js');
48
48
  m.registerMsgCommand(p, c);
49
49
  },
50
50
  goal: async (p, c) => {
51
- const m = await import('./goal-KGAIM3ZK.js');
51
+ const m = await import('./goal-I56QP7HS.js');
52
52
  m.registerGoalCommand(p, c);
53
53
  },
54
54
  team: async (p, c) => {
55
- const m = await import('./team-IBUP5XV4.js');
55
+ const m = await import('./team-AISPLEJB.js');
56
56
  m.registerTeamCommand(p, c);
57
57
  }
58
58
  };
59
59
  var FULL_COMMANDS = {
60
60
  run: async (p, c) => {
61
- const m = await import('./run-4GSZFGQZ.js');
61
+ const m = await import('./run-PSZURVVL.js');
62
62
  m.registerRunCommand(p, c);
63
63
  },
64
64
  doctor: async (p, c) => {
65
- const m = await import('./doctor-BK46WCQ5.js');
65
+ const m = await import('./doctor-IO4PV4D6.js');
66
66
  m.registerDoctorCommand(p, c);
67
67
  },
68
68
  tui: async (p, c) => {
69
- const m = await import('./tui-WWZA73IO.js');
69
+ const m = await import('./tui-AAEAU4HT.js');
70
70
  m.registerTuiCommand(p, c);
71
71
  }
72
72
  };
73
73
  var program = new Command();
74
- program.name("orchestry").description("Agents Organizations \u2014 CLI orchestrator for AI agents").version("0.2.1").option("--json", "Output as JSON").option("--quiet", "Minimal output (IDs only)").option("--no-color", "Disable colors").option("--ascii", "ASCII-only output (no Unicode)").hook("preAction", async (thisCommand) => {
74
+ program.name("orchestry").description("Agents Organizations \u2014 CLI orchestrator for AI agents").version("0.2.2").option("--json", "Output as JSON").option("--quiet", "Minimal output (IDs only)").option("--no-color", "Disable colors").option("--ascii", "ASCII-only output (no Unicode)").hook("preAction", async (thisCommand) => {
75
75
  const opts = thisCommand.opts();
76
76
  if (opts.ascii) setAsciiMode(true);
77
77
  if (opts.color === false) setNoColor(true);
@@ -113,16 +113,16 @@ async function main() {
113
113
  return;
114
114
  }
115
115
  if (sub === "init") {
116
- const { registerInitCommand } = await import('./init-QBWCEDCI.js');
116
+ const { registerInitCommand } = await import('./init-UCVRVBVI.js');
117
117
  registerInitCommand(program);
118
118
  } else if (sub === "update") {
119
- const { registerUpdateCommand } = await import('./update-RJ4IYACQ.js');
119
+ const { registerUpdateCommand } = await import('./update-72GZMF65.js');
120
120
  registerUpdateCommand(program);
121
121
  }
122
122
  const needsFull = !sub || sub in FULL_COMMANDS;
123
123
  try {
124
124
  if (needsFull) {
125
- const { buildFullContainer } = await import('./container-74P43KDY.js');
125
+ const { buildFullContainer } = await import('./container-JV7TAUP5.js');
126
126
  const container = await buildFullContainer(context);
127
127
  const fullLoader = sub ? FULL_COMMANDS[sub] : void 0;
128
128
  if (fullLoader) {
@@ -137,7 +137,7 @@ async function main() {
137
137
  await lightLoader(program, container);
138
138
  }
139
139
  } else {
140
- const { buildLightContainer } = await import('./container-74P43KDY.js');
140
+ const { buildLightContainer } = await import('./container-JV7TAUP5.js');
141
141
  const container = await buildLightContainer(context);
142
142
  const lightLoader = LIGHT_COMMANDS[sub];
143
143
  if (lightLoader) {
@@ -151,19 +151,17 @@ async function main() {
151
151
  } catch (err) {
152
152
  if (err instanceof NotInitializedError) {
153
153
  if (sub === "doctor") {
154
- const { registerDoctorCommand } = await import('./doctor-BK46WCQ5.js');
154
+ const { registerDoctorCommand } = await import('./doctor-IO4PV4D6.js');
155
155
  registerDoctorCommand(program);
156
156
  }
157
157
  if (process.argv.length <= 2) {
158
- const { dim } = await import('./output-5VQVCJ2K.js');
159
- console.log();
160
- console.log(` ${dim("orchestry")} \u2014 CLI orchestrator for AI agents`);
161
- console.log();
162
- console.log(` Get started:`);
163
- console.log(` $ orch init`);
164
- console.log();
165
- console.log(` ${dim("This will create .orchestry/ in the current directory.")}`);
166
- console.log();
158
+ const { runInit } = await import('./init-UCVRVBVI.js');
159
+ await runInit();
160
+ const { buildFullContainer } = await import('./container-JV7TAUP5.js');
161
+ const freshContainer = await buildFullContainer(context);
162
+ await FULL_COMMANDS["tui"](program, freshContainer);
163
+ process.argv.push("tui");
164
+ await program.parseAsync(process.argv);
167
165
  return;
168
166
  }
169
167
  if (sub === "init" || sub === "doctor" || sub === "update") {
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { dim, printSuccess, printError } from './chunk-2VSAM7RH.js';
2
+ import { dim, printSuccess, printError } from './chunk-I5WEMARW.js';
3
3
  import { spawn } from 'child_process';
4
4
 
5
5
  var VALID_FILTER_PRESETS = ["all", "text", "tools", "errors", "events"];
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { printSuccess, printError, dim, formatDurationSince, printTable } from './chunk-2VSAM7RH.js';
2
+ import { printSuccess, printError, dim, formatDurationSince, printTable } from './chunk-I5WEMARW.js';
3
3
 
4
4
  // src/cli/commands/context.ts
5
5
  function registerContextCommand(program, container) {
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import { DoctorService } from './chunk-XI4TU6VU.js';
3
- import { Paths } from './chunk-VTA74YWX.js';
4
- import './chunk-O5AO5QIR.js';
5
- import { amber, getIcon, dim } from './chunk-2VSAM7RH.js';
3
+ import { amber, getIcon, dim } from './chunk-I5WEMARW.js';
6
4
  import { AdapterRegistry } from './chunk-45K2XID7.js';
7
5
  import { ClaudeAdapter } from './chunk-IRN2U2NE.js';
8
6
  import './chunk-TX7WOFCW.js';
9
7
  import { ShellAdapter } from './chunk-CIIE6LNG.js';
10
8
  import { ProcessManager } from './chunk-CHIP7O6V.js';
9
+ import { Paths } from './chunk-VTA74YWX.js';
10
+ import './chunk-O5AO5QIR.js';
11
11
  import chalk from 'chalk';
12
12
 
13
13
  function registerDoctorCommand(program, container) {
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { GOAL_STATUSES } from './chunk-HXYAZGLP.js';
3
- import { printSuccess, dim, printTable, printKeyValue, printError } from './chunk-2VSAM7RH.js';
3
+ import { printSuccess, dim, printTable, printKeyValue, printError } from './chunk-I5WEMARW.js';
4
4
 
5
5
  // src/cli/commands/goal.ts
6
6
  var STATUS_ICON = {
@@ -2,9 +2,9 @@
2
2
  import { DEFAULT_PROMPT_TEMPLATE } from './chunk-HNKJ4IF7.js';
3
3
  import { DEFAULT_CONFIG } from './chunk-ED47GL3F.js';
4
4
  import './chunk-PNE6LQRF.js';
5
+ import { printWarning, printSuccess, dim } from './chunk-I5WEMARW.js';
5
6
  import { Paths, pathExists, ensureDir, writeYaml, atomicWrite } from './chunk-VTA74YWX.js';
6
7
  import './chunk-O5AO5QIR.js';
7
- import { printWarning, printSuccess, dim } from './chunk-2VSAM7RH.js';
8
8
  import path from 'path';
9
9
 
10
10
  // src/domain/default-agents.ts
@@ -75,78 +75,83 @@ function getDefaultAgents() {
75
75
  }
76
76
 
77
77
  // src/cli/commands/init.ts
78
+ async function runInit(opts = {}) {
79
+ const projectRoot = process.cwd();
80
+ const paths = new Paths(projectRoot);
81
+ if (await pathExists(paths.root)) {
82
+ printWarning("Already initialized");
83
+ return;
84
+ }
85
+ await ensureDir(paths.tasksDir);
86
+ await ensureDir(paths.agentsDir);
87
+ await ensureDir(paths.goalsDir);
88
+ await ensureDir(paths.runsDir);
89
+ await ensureDir(paths.templatesDir);
90
+ await ensureDir(paths.logsDir);
91
+ const config = { ...DEFAULT_CONFIG };
92
+ if (opts.name) {
93
+ config.project.name = opts.name;
94
+ } else {
95
+ config.project.name = path.basename(projectRoot);
96
+ }
97
+ await writeYaml(paths.configPath, config);
98
+ await atomicWrite(
99
+ paths.gitignorePath,
100
+ [
101
+ "# Runtime state",
102
+ "state.json",
103
+ "*.lock",
104
+ "",
105
+ "# Logs and runs",
106
+ "runs/",
107
+ "logs/",
108
+ "",
109
+ "# Agent workspaces",
110
+ "workspaces/"
111
+ ].join("\n") + "\n"
112
+ );
113
+ await atomicWrite(
114
+ paths.workspaceExcludePath,
115
+ [
116
+ ".orchestry",
117
+ "node_modules",
118
+ ".env",
119
+ ".env.*",
120
+ "dist",
121
+ "build",
122
+ ".next",
123
+ "__pycache__",
124
+ "*.pyc",
125
+ ".venv"
126
+ ].join("\n") + "\n"
127
+ );
128
+ await atomicWrite(paths.defaultTemplatePath(), DEFAULT_PROMPT_TEMPLATE);
129
+ const defaultAgents = getDefaultAgents();
130
+ await Promise.all(
131
+ defaultAgents.map((agent) => writeYaml(paths.agentPath(agent.id), agent))
132
+ );
133
+ console.log();
134
+ printSuccess("initialized");
135
+ console.log();
136
+ console.log(` Created ${dim(".orchestry/")}`);
137
+ console.log(` ${dim("\u251C\u2500\u2500")} config.yml`);
138
+ console.log(` ${dim("\u251C\u2500\u2500")} tasks/`);
139
+ console.log(` ${dim("\u251C\u2500\u2500")} agents/`);
140
+ for (const agent of defaultAgents) {
141
+ console.log(` ${dim("\u2502 \u2514\u2500\u2500")} ${agent.id}.yml ${dim(`(${agent.name})`)}`);
142
+ }
143
+ console.log(` ${dim("\u251C\u2500\u2500")} templates/default.md`);
144
+ console.log(` ${dim("\u2514\u2500\u2500")} .gitignore`);
145
+ console.log();
146
+ }
78
147
  function registerInitCommand(program) {
79
148
  program.command("init").description("Initialize .orchestry/ in the current directory").option("--name <name>", "Project name").action(async (opts) => {
80
- const projectRoot = process.cwd();
81
- const paths = new Paths(projectRoot);
82
- if (await pathExists(paths.root)) {
83
- printWarning("Already initialized");
84
- return;
85
- }
86
- await ensureDir(paths.tasksDir);
87
- await ensureDir(paths.agentsDir);
88
- await ensureDir(paths.goalsDir);
89
- await ensureDir(paths.runsDir);
90
- await ensureDir(paths.templatesDir);
91
- await ensureDir(paths.logsDir);
92
- const config = { ...DEFAULT_CONFIG };
93
- if (opts.name) {
94
- config.project.name = opts.name;
95
- } else {
96
- config.project.name = path.basename(projectRoot);
97
- }
98
- await writeYaml(paths.configPath, config);
99
- await atomicWrite(
100
- paths.gitignorePath,
101
- [
102
- "# Runtime state",
103
- "state.json",
104
- "*.lock",
105
- "",
106
- "# Logs and runs",
107
- "runs/",
108
- "logs/",
109
- "",
110
- "# Agent workspaces",
111
- "workspaces/"
112
- ].join("\n") + "\n"
113
- );
114
- await atomicWrite(
115
- paths.workspaceExcludePath,
116
- [
117
- ".orchestry",
118
- "node_modules",
119
- ".env",
120
- ".env.*",
121
- "dist",
122
- "build",
123
- ".next",
124
- "__pycache__",
125
- "*.pyc",
126
- ".venv"
127
- ].join("\n") + "\n"
128
- );
129
- await atomicWrite(paths.defaultTemplatePath(), DEFAULT_PROMPT_TEMPLATE);
130
- const defaultAgents = getDefaultAgents();
131
- await Promise.all(
132
- defaultAgents.map((agent) => writeYaml(paths.agentPath(agent.id), agent))
133
- );
134
- console.log();
135
- printSuccess("initialized");
136
- console.log();
137
- console.log(` Created ${dim(".orchestry/")}`);
138
- console.log(` ${dim("\u251C\u2500\u2500")} config.yml`);
139
- console.log(` ${dim("\u251C\u2500\u2500")} tasks/`);
140
- console.log(` ${dim("\u251C\u2500\u2500")} agents/`);
141
- for (const agent of defaultAgents) {
142
- console.log(` ${dim("\u2502 \u2514\u2500\u2500")} ${agent.id}.yml ${dim(`(${agent.name})`)}`);
149
+ await runInit(opts);
150
+ if (!program.parent) {
151
+ console.log(` Next: ${dim('orch task add "Create backend agent" --assignee agt_creator')}`);
152
+ console.log();
143
153
  }
144
- console.log(` ${dim("\u251C\u2500\u2500")} templates/default.md`);
145
- console.log(` ${dim("\u2514\u2500\u2500")} .gitignore`);
146
- console.log();
147
- console.log(` Next: ${dim('orch task add "Create backend agent" --assignee agt_creator')}`);
148
- console.log();
149
154
  });
150
155
  }
151
156
 
152
- export { registerInitCommand };
157
+ export { registerInitCommand, runInit };
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
+ import { printError, dim, getIcon } from './chunk-I5WEMARW.js';
2
3
  import { InvalidArgumentsError } from './chunk-O5AO5QIR.js';
3
- import { printError, dim, getIcon } from './chunk-2VSAM7RH.js';
4
4
 
5
5
  // src/cli/commands/logs.ts
6
6
  function registerLogsCommand(program, container) {
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { printSuccess, dim, formatDurationSince, printTable } from './chunk-2VSAM7RH.js';
2
+ import { printSuccess, dim, formatDurationSince, printTable } from './chunk-I5WEMARW.js';
3
3
 
4
4
  // src/cli/commands/msg.ts
5
5
  function registerMsgCommand(program, container) {
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { printError, amber, printSuccess, dim, getIcon } from './chunk-2VSAM7RH.js';
2
+ import { printError, amber, printSuccess, dim, getIcon } from './chunk-I5WEMARW.js';
3
3
 
4
4
  // src/cli/commands/run.ts
5
5
  function registerRunCommand(program, container) {
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { formatDurationSince, amber, dim, statusIcon, agentName, priorityLabel, formatTokens } from './chunk-2VSAM7RH.js';
2
+ import { formatDurationSince, amber, dim, statusIcon, agentName, priorityLabel, formatTokens } from './chunk-I5WEMARW.js';
3
3
 
4
4
  // src/cli/commands/status.ts
5
5
  function registerStatusCommand(program, container) {
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { openInEditor, toEditorContent, fromEditorContent } from './chunk-P6ATSXGL.js';
3
- import { printSuccess, dim, formatDurationSince, statusIcon, priorityLabel, agentName, printTable, filePath, printKeyValue } from './chunk-2VSAM7RH.js';
3
+ import { printSuccess, dim, formatDurationSince, statusIcon, priorityLabel, agentName, printTable, filePath, printKeyValue } from './chunk-I5WEMARW.js';
4
4
 
5
5
  // src/cli/commands/task.ts
6
6
  function registerTaskCommand(program, container) {
@@ -181,7 +181,7 @@ function registerTaskCommand(program, container) {
181
181
  await container.paths.requireInit();
182
182
  const task2 = await container.taskService.get(id);
183
183
  if (task2.status === "in_progress") {
184
- const { buildFullContainer } = await import('./container-74P43KDY.js');
184
+ const { buildFullContainer } = await import('./container-JV7TAUP5.js');
185
185
  const full = await buildFullContainer(container.context);
186
186
  await full.orchestrator.cancelTask(id);
187
187
  } else {
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { printSuccess, dim, printTable, printKeyValue } from './chunk-2VSAM7RH.js';
2
+ import { printSuccess, dim, printTable, printKeyValue } from './chunk-I5WEMARW.js';
3
3
 
4
4
  // src/cli/commands/team.ts
5
5
  function registerTeamCommand(program, container) {
@@ -8,7 +8,7 @@ function registerTuiCommand(program, container) {
8
8
  const state = await container.stateStore.read();
9
9
  const { render } = await import('ink');
10
10
  const { createElement } = await import('react');
11
- const { App } = await import('./App-CPQPQTZU.js');
11
+ const { App } = await import('./App-NHSVGERJ.js');
12
12
  const onRunTask = async (taskId) => {
13
13
  await container.orchestrator.runTask(taskId);
14
14
  };
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { checkForUpdateNow } from './chunk-6GFVB6EK.js';
3
- import { amber, dim } from './chunk-2VSAM7RH.js';
3
+ import { amber, dim } from './chunk-I5WEMARW.js';
4
4
  import { execFile } from 'child_process';
5
5
  import chalk from 'chalk';
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxgeneral/orch",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Agents Organizations — CLI orchestrator for AI agents",
5
5
  "type": "module",
6
6
  "engines": {
@@ -8,6 +8,7 @@
8
8
  // Skip in CI or non-interactive environments
9
9
  if (process.env.CI || !process.stderr.isTTY) process.exit(0);
10
10
 
11
+ // Color values synced with src/cli/output.ts colors map
11
12
  const dim = (s) => `\x1b[38;5;240m${s}\x1b[0m`;
12
13
  const bold = (s) => `\x1b[1m${s}\x1b[0m`;
13
14
  const green = (s) => `\x1b[38;5;72m${s}\x1b[0m`;
@@ -16,7 +17,6 @@ process.stderr.write(`
16
17
  ${green('✓')} ${bold('orchestry')} installed
17
18
 
18
19
  Get started:
19
- $ ${bold('orch init')} ${dim('— initialize project')}
20
- $ ${bold('orch')} ${dim('— open dashboard')}
20
+ $ ${bold('orch')}
21
21
 
22
22
  `);
@@ -1,2 +0,0 @@
1
- #!/usr/bin/env node
2
- export { agentName, amber, dim, filePath, formatDuration, formatDurationSince, formatTokens, getIcon, icons, printError, printKeyValue, printSuccess, printTable, printWarning, priorityLabel, setAsciiMode, setNoColor, statusIcon } from './chunk-2VSAM7RH.js';
@@ -3,9 +3,9 @@ import { DEFAULT_CONFIG } from './chunk-ED47GL3F.js';
3
3
  import { isGoalTerminal, GOAL_STATUS_ORDER } from './chunk-HXYAZGLP.js';
4
4
  import { canTransition, isTerminal } from './chunk-33QNTNR6.js';
5
5
  import { AUTONOMOUS_LABEL } from './chunk-PNE6LQRF.js';
6
+ import { readLines } from './chunk-CHIP7O6V.js';
6
7
  import { Paths, readYaml, writeYaml, ensureDir, listFiles, writeJson, readJson, appendJsonl, readJsonl, readJsonlTail, pathExists } from './chunk-VTA74YWX.js';
7
8
  import { InvalidArgumentsError, TeamNotFoundError, GoalNotFoundError, AgentNotFoundError, TaskNotFoundError, InvalidTransitionError } from './chunk-O5AO5QIR.js';
8
- import { readLines } from './chunk-CHIP7O6V.js';
9
9
  import fs, { mkdir } from 'fs/promises';
10
10
  import { createReadStream } from 'fs';
11
11
  import path from 'path';