@moxxy/cli 0.0.9 → 0.0.10

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.
@@ -0,0 +1,8 @@
1
+ import {
2
+ createProgram
3
+ } from "./chunk-TMZWETMH.mjs";
4
+ import "./chunk-GSNMMI3H.mjs";
5
+ import "./chunk-6DZX6EAA.mjs";
6
+ export {
7
+ createProgram
8
+ };
@@ -0,0 +1,8 @@
1
+ import {
2
+ createProgram
3
+ } from "./chunk-RVAPILHA.mjs";
4
+ import "./chunk-GSNMMI3H.mjs";
5
+ import "./chunk-6DZX6EAA.mjs";
6
+ export {
7
+ createProgram
8
+ };
@@ -0,0 +1,8 @@
1
+ import {
2
+ createProgram
3
+ } from "./chunk-USC6R2ON.mjs";
4
+ import "./chunk-GSNMMI3H.mjs";
5
+ import "./chunk-6DZX6EAA.mjs";
6
+ export {
7
+ createProgram
8
+ };
package/dist/index.js CHANGED
@@ -1402,12 +1402,15 @@ var init_process_manager = __esm({
1402
1402
  );
1403
1403
  }
1404
1404
  const args = this.buildArgs(options);
1405
- const stdinMode = options.message ? "ignore" : "pipe";
1406
1405
  const proc = (0, import_node_child_process.spawn)(this.config.cliPath, args, {
1407
1406
  cwd: options.workingDirectory || this.config.workingDirectory || process.cwd(),
1408
1407
  env: process.env,
1409
- stdio: [stdinMode, "pipe", "pipe"]
1408
+ stdio: ["pipe", "pipe", "pipe"]
1410
1409
  });
1410
+ if (options.message) {
1411
+ proc.stdin.write(options.message);
1412
+ }
1413
+ proc.stdin.end();
1411
1414
  const claudeProc = {
1412
1415
  sessionKey: options.sessionKey,
1413
1416
  process: proc,
@@ -1448,9 +1451,6 @@ var init_process_manager = __esm({
1448
1451
  if (workingDir) {
1449
1452
  args.push("--add-dir", workingDir);
1450
1453
  }
1451
- if (options.message) {
1452
- args.push(options.message);
1453
- }
1454
1454
  return args;
1455
1455
  }
1456
1456
  /**
@@ -25426,7 +25426,7 @@ __export(cli_exports, {
25426
25426
  });
25427
25427
  function createProgram() {
25428
25428
  const program = new import_commander.Command();
25429
- program.name("moxxy").description("Moxxy - Agent orchestration platform").version("0.0.9");
25429
+ program.name("moxxy").description("Moxxy - Agent orchestration platform").version("0.0.10");
25430
25430
  registerStartCommand(program);
25431
25431
  registerRepoCommand(program);
25432
25432
  registerConfigCommand(program);
package/dist/index.mjs CHANGED
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  ConfigManager,
3
3
  createProgram
4
- } from "./chunk-SOFST2PV.mjs";
4
+ } from "./chunk-USC6R2ON.mjs";
5
5
  import "./chunk-GSNMMI3H.mjs";
6
6
  import "./chunk-6DZX6EAA.mjs";
7
7
 
8
8
  // src/index.ts
9
9
  async function run() {
10
- const { createProgram: createProgram2 } = await import("./cli-XXOW4VXJ.mjs");
10
+ const { createProgram: createProgram2 } = await import("./cli-TBX76KQX.mjs");
11
11
  const program = createProgram2();
12
12
  await program.parseAsync(process.argv);
13
13
  }