@mcp-graph-workflow/agent-graph-flow 0.1.1 → 0.1.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.
package/dist/cli/index.js CHANGED
@@ -9107,7 +9107,7 @@ function runCommand() {
9107
9107
  init_esm_shims();
9108
9108
  function tuiCommand() {
9109
9109
  return new Command("tui").description("Abre a TUI interativa (dashboard do grafo + tokens)").option("-d, --dir <dir>", "Diret\xF3rio do projeto", process.cwd()).action(async (opts) => {
9110
- const store2 = openStoreOrFail(opts.dir, { requireExisting: true });
9110
+ const store2 = openStoreOrFail(opts.dir);
9111
9111
  try {
9112
9112
  const { launchTui: launchTui2 } = await Promise.resolve().then(() => (init_launch(), launch_exports));
9113
9113
  await launchTui2(store2);
@@ -12716,8 +12716,7 @@ program.addCommand(gcCommand());
12716
12716
  function shouldLaunchTui() {
12717
12717
  const noArgs = process.argv.length <= 2;
12718
12718
  const isTty = Boolean(process.stdin.isTTY) && Boolean(process.stdout.isTTY);
12719
- const hasProject = existsSync(join(process.cwd(), "workflow-graph", "graph.db"));
12720
- return noArgs && isTty && hasProject;
12719
+ return noArgs && isTty;
12721
12720
  }
12722
12721
  async function main() {
12723
12722
  if (shouldLaunchTui()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcp-graph-workflow/agent-graph-flow",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Agente SWE autônomo, local-first e token-frugal: PRD → grafo de execução persistente, TDD obrigatório, custo de token brutalmente baixo. AGPL v3.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",