@wirecat/amo-cli 0.7.0 → 0.8.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/CHANGELOG.md CHANGED
@@ -2,6 +2,15 @@
2
2
 
3
3
  Notable changes to `@wirecat/amo-cli`. One section per version, newest first.
4
4
 
5
+ ## 0.8.0 — 30.11.2026
6
+
7
+ ### Fixed
8
+
9
+ - **AI agents get shorter answers from amo over MCP.** `amo_tools_search` returns at most 5 matches, with full
10
+ arguments for the first 2 only; an exact name with `schema: true` gives a command's whole schema. Records an agent
11
+ reads leave out empty fields. The terminal, `--json` and `--full` answers stay the same. Built on
12
+ @wirecat/cli-core 3.2.0.
13
+
5
14
  ## 0.7.0 — 28.11.2026
6
15
 
7
16
  ### Added
package/dist/bin/amo.js CHANGED
@@ -9,7 +9,7 @@ if (
9
9
  (words[0] === "--version" || words[0] === "-V") &&
10
10
  !Object.keys(process.env).some((key) => key.endsWith("_TEST_ARGV_LOG"))
11
11
  ) {
12
- process.stdout.write("0.7.0\n")
12
+ process.stdout.write("0.8.0\n")
13
13
  } else {
14
14
  // Before the bundle compiles: the bundle's own call comes after its chunks.
15
15
  module.enableCompileCache()
@@ -26,7 +26,7 @@ if (
26
26
  : next(specifier, context),
27
27
  })
28
28
  }
29
- const chunks = ["../bundle/program-SQH3SPOW.js","../bundle/source-C65ZJUTW.js","../bundle/store-SJ2TOUGU.js","../bundle/writer-I7GBI3VE.js"]
29
+ const chunks = ["../bundle/program-RA6QICVH.js","../bundle/source-C65ZJUTW.js","../bundle/store-35UXUNVG.js","../bundle/writer-I7GBI3VE.js"]
30
30
  const preload = () =>
31
31
  Promise.allSettled([
32
32
  ...chunks.map((chunk) => import(chunk)),
@@ -3,7 +3,7 @@ import { createRequire as __bundleRequire } from "node:module";
3
3
  const require = __bundleRequire(import.meta.url);
4
4
  import {
5
5
  DESKTOP
6
- } from "./chunk-N2UB32VN.js";
6
+ } from "./chunk-SV4CS5TA.js";
7
7
  import "./chunk-AEWYRB6F.js";
8
8
 
9
9
  // dist/bin/amo.js
@@ -16,7 +16,7 @@ var wcat = await wcatStart(DESKTOP);
16
16
  if (wcat.code !== void 0) {
17
17
  process.exitCode = wcat.code;
18
18
  } else {
19
- const { run } = await import("./program-SQH3SPOW.js");
19
+ const { run } = await import("./program-RA6QICVH.js");
20
20
  process.exitCode = await run(process.argv.slice(2));
21
21
  }
22
22
  stopCatching();
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  IDENTITY
5
- } from "./chunk-N2UB32VN.js";
5
+ } from "./chunk-SV4CS5TA.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-AEWYRB6F.js";
@@ -32,7 +32,7 @@ var REASONS = defineReasons(OWN.filter(([reason]) => !CORE.has(reason)).map(([re
32
32
  var DETAILS = ["fields", "account", "profiles"];
33
33
 
34
34
  // dist/version.js
35
- var VERSION = "0.7.0";
35
+ var VERSION = "0.8.0";
36
36
 
37
37
  // dist/identity.js
38
38
  var PACKAGE = "@wirecat/amo-cli";
@@ -16,12 +16,12 @@ import {
16
16
  } from "./chunk-3HWD4BKU.js";
17
17
  import {
18
18
  PROVIDER
19
- } from "./chunk-GL7CRTHR.js";
19
+ } from "./chunk-6ZPPFFIH.js";
20
20
  import {
21
21
  IDENTITY,
22
22
  PACKAGE,
23
23
  SKILL
24
- } from "./chunk-N2UB32VN.js";
24
+ } from "./chunk-SV4CS5TA.js";
25
25
  import {
26
26
  __name
27
27
  } from "./chunk-AEWYRB6F.js";
@@ -1425,7 +1425,7 @@ var userOf = /* @__PURE__ */ __name(async (command, amo) => {
1425
1425
  var openProfile = /* @__PURE__ */ __name(async (command, { readOnly }) => {
1426
1426
  const { env, profile } = contextOf(command);
1427
1427
  const [{ openAmoStore, PROVIDER: PROVIDER3 }, { amoCrmSource: amoCrmSource2 }, { amoCrmWriter }] = await Promise.all([
1428
- import("./store-SJ2TOUGU.js"),
1428
+ import("./store-35UXUNVG.js"),
1429
1429
  import("./source-C65ZJUTW.js"),
1430
1430
  import("./writer-I7GBI3VE.js")
1431
1431
  ]);
@@ -3,8 +3,8 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PROVIDER,
5
5
  openAmoStore
6
- } from "./chunk-GL7CRTHR.js";
7
- import "./chunk-N2UB32VN.js";
6
+ } from "./chunk-6ZPPFFIH.js";
7
+ import "./chunk-SV4CS5TA.js";
8
8
  import "./chunk-AEWYRB6F.js";
9
9
  export {
10
10
  PROVIDER,
package/dist/version.js CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = "0.7.0";
1
+ export const VERSION = "0.8.0";
2
2
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wirecat/amo-cli",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "description": "Read and change an amoCRM or Kommo account's CRM — deals, contacts, companies — from the terminal, scripts and AI agents",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Viacheslav Ptsarev",
@@ -62,7 +62,7 @@
62
62
  },
63
63
  "dependencies": {
64
64
  "@wirecat/cli-base": "2.1.1",
65
- "@wirecat/cli-core": "3.0.0",
65
+ "@wirecat/cli-core": "3.2.0",
66
66
  "commander": "15.0.0",
67
67
  "valibot": "1.5.0"
68
68
  },