agent-yes 1.50.0 → 1.51.0

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.js CHANGED
@@ -4505,7 +4505,7 @@ const Yargs = YargsFactory(esm_default);
4505
4505
  //#endregion
4506
4506
  //#region package.json
4507
4507
  var name = "agent-yes";
4508
- var version = "1.50.0";
4508
+ var version = "1.51.0";
4509
4509
 
4510
4510
  //#endregion
4511
4511
  //#region ts/parseCliArgs.ts
@@ -4580,6 +4580,21 @@ function parseCliArgs(argv) {
4580
4580
  type: "boolean",
4581
4581
  description: "Use the Rust implementation instead of TypeScript",
4582
4582
  default: false
4583
+ }).option("experimental-swarm", {
4584
+ type: "boolean",
4585
+ description: "Enable experimental swarm mode for multi-agent P2P networking (requires --rust)",
4586
+ default: false
4587
+ }).option("swarm-topic", {
4588
+ type: "string",
4589
+ description: "Topic for swarm communication",
4590
+ default: "agent-yes-swarm"
4591
+ }).option("swarm-listen", {
4592
+ type: "string",
4593
+ description: "Listen address for swarm (e.g., /ip4/0.0.0.0/tcp/4001)"
4594
+ }).option("swarm-bootstrap", {
4595
+ type: "array",
4596
+ description: "Bootstrap peer addresses for swarm",
4597
+ default: []
4583
4598
  }).positional("cli", {
4584
4599
  describe: "The AI CLI to run, e.g., claude, codex, copilot, cursor, gemini",
4585
4600
  type: "string",
@@ -4649,7 +4664,11 @@ function parseCliArgs(argv) {
4649
4664
  useStdinAppend: Boolean(parsedArgv.stdpush || parsedArgv.ipc || parsedArgv.fifo),
4650
4665
  showVersion: parsedArgv.version,
4651
4666
  autoYes: parsedArgv.auto !== "no",
4652
- useRust: parsedArgv.rust
4667
+ useRust: parsedArgv.rust,
4668
+ experimentalSwarm: parsedArgv.experimentalSwarm,
4669
+ swarmTopic: parsedArgv.swarmTopic,
4670
+ swarmListen: parsedArgv.swarmListen,
4671
+ swarmBootstrap: parsedArgv.swarmBootstrap
4653
4672
  };
4654
4673
  }
4655
4674
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-yes",
3
- "version": "1.50.0",
3
+ "version": "1.51.0",
4
4
  "description": "A wrapper tool that automates interactions with various AI CLI tools by automatically handling common prompts and responses.",
5
5
  "keywords": [
6
6
  "ai",
@@ -120,6 +120,25 @@ export function parseCliArgs(argv: string[]) {
120
120
  description: "Use the Rust implementation instead of TypeScript",
121
121
  default: false,
122
122
  })
123
+ .option("experimental-swarm", {
124
+ type: "boolean",
125
+ description: "Enable experimental swarm mode for multi-agent P2P networking (requires --rust)",
126
+ default: false,
127
+ })
128
+ .option("swarm-topic", {
129
+ type: "string",
130
+ description: "Topic for swarm communication",
131
+ default: "agent-yes-swarm",
132
+ })
133
+ .option("swarm-listen", {
134
+ type: "string",
135
+ description: "Listen address for swarm (e.g., /ip4/0.0.0.0/tcp/4001)",
136
+ })
137
+ .option("swarm-bootstrap", {
138
+ type: "array",
139
+ description: "Bootstrap peer addresses for swarm",
140
+ default: [] as string[],
141
+ })
123
142
  .positional("cli", {
124
143
  describe: "The AI CLI to run, e.g., claude, codex, copilot, cursor, gemini",
125
144
  type: "string",
@@ -231,5 +250,9 @@ export function parseCliArgs(argv: string[]) {
231
250
  showVersion: parsedArgv.version,
232
251
  autoYes: parsedArgv.auto !== "no", // auto-yes enabled by default, disabled with --auto=no
233
252
  useRust: parsedArgv.rust,
253
+ experimentalSwarm: parsedArgv.experimentalSwarm,
254
+ swarmTopic: parsedArgv.swarmTopic,
255
+ swarmListen: parsedArgv.swarmListen,
256
+ swarmBootstrap: parsedArgv.swarmBootstrap as string[],
234
257
  };
235
258
  }