@net-protocol/cli 0.1.35 → 0.1.37

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,5 +1,6 @@
1
1
  import chalk12 from 'chalk';
2
2
  import { FeedRegistryClient, FeedClient, AgentRegistryClient } from '@net-protocol/feeds';
3
+ import '@net-protocol/chats';
3
4
  import { NULL_ADDRESS, getBaseDataSuffix, getChainRpcUrls, NetClient } from '@net-protocol/core';
4
5
  import '@net-protocol/storage';
5
6
  import * as fs from 'fs';
@@ -480,7 +481,7 @@ async function executeFeedRead(feed, options) {
480
481
  }
481
482
  }
482
483
  function registerFeedReadCommand(parent) {
483
- parent.command("read <feed>").description("Read posts from a feed").option(
484
+ parent.command("read <feed>").description("Read posts from a feed (for group chats, use 'chat read' instead)").option(
484
485
  "--limit <n>",
485
486
  "Maximum number of posts to display",
486
487
  (value) => parseInt(value, 10)
@@ -627,7 +628,7 @@ ${options.body}` : message;
627
628
  }
628
629
  }
629
630
  function registerFeedPostCommand(parent) {
630
- parent.command("post <feed> <message>").description("Post a message to a feed").option(
631
+ parent.command("post <feed> <message>").description("Post a message to a feed (for group chats, use 'chat send' instead)").option(
631
632
  "--chain-id <id>",
632
633
  "Chain ID (default: 8453 for Base)",
633
634
  (value) => parseInt(value, 10)