pingcode-cli-unofficial 2.0.0 → 2.1.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.
@@ -3425,7 +3425,7 @@ var VERSION;
3425
3425
  var init_version = __esm({
3426
3426
  "src/version.ts"() {
3427
3427
  "use strict";
3428
- VERSION = "2.0.0";
3428
+ VERSION = "2.1.0";
3429
3429
  }
3430
3430
  });
3431
3431
 
@@ -21271,9 +21271,10 @@ function defaultTargetPromptIO(targets) {
21271
21271
  return {
21272
21272
  canPrompt: () => Boolean(process.stdout.isTTY) && !isSet2(process.env["CI"]),
21273
21273
  select: async (labels, defaults) => {
21274
- const { isCancel: isCancel2, multiselect: multiselect2 } = await Promise.resolve().then(() => (init_dist4(), dist_exports));
21275
- const result = await multiselect2({
21276
- message: "Select target agent(s):",
21274
+ const { isCancel: isCancel2, autocompleteMultiselect: autocompleteMultiselect2 } = await Promise.resolve().then(() => (init_dist4(), dist_exports));
21275
+ const result = await autocompleteMultiselect2({
21276
+ message: "Search and select target agent(s):",
21277
+ placeholder: "Type to search...",
21277
21278
  options: targets.map((target, index) => ({
21278
21279
  value: target.name,
21279
21280
  // `Name (id)`, not `Name (global)`: the id is what the user has to type