@wirecat/attio-cli 0.10.0 → 0.11.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 +11 -0
- package/dist/bin/attio.js +2 -2
- package/dist/bundle/attio.js +2 -2
- package/dist/bundle/{chunk-OGWKDPR5.js → chunk-OFEXB726.js} +1 -1
- package/dist/bundle/{program-NSBWZ25F.js → program-4R7RYWV3.js} +11 -2
- package/dist/commands/crm.js +12 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Notable changes to `@wirecat/attio-cli`. One section per version, newest first.
|
|
4
4
|
|
|
5
|
+
## 0.11.0 — 29.11.2026
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- **AI agents get shorter answers from attio over MCP.** `attio_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
|
+
- **An agent that asks to add a note to a deal or a person finds `activities create`.** Attio keeps a comment as a
|
|
14
|
+
note, and the command's help now says so in an example.
|
|
15
|
+
|
|
5
16
|
## 0.10.0 — 28.11.2026
|
|
6
17
|
|
|
7
18
|
### Added
|
package/dist/bin/attio.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.
|
|
12
|
+
process.stdout.write("0.11.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/definitions-J73IBAHT.js","../bundle/program-
|
|
29
|
+
const chunks = ["../bundle/definitions-J73IBAHT.js","../bundle/program-4R7RYWV3.js","../bundle/schemas-G3HFAS45.js"]
|
|
30
30
|
const preload = () =>
|
|
31
31
|
Promise.allSettled([
|
|
32
32
|
...chunks.map((chunk) => import(chunk)),
|
package/dist/bundle/attio.js
CHANGED
|
@@ -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-
|
|
6
|
+
} from "./chunk-OFEXB726.js";
|
|
7
7
|
import "./chunk-TQAECZFO.js";
|
|
8
8
|
|
|
9
9
|
// dist/bin/attio.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-
|
|
19
|
+
const { run } = await import("./program-4R7RYWV3.js");
|
|
20
20
|
process.exitCode = await run(process.argv.slice(2));
|
|
21
21
|
}
|
|
22
22
|
stopCatching();
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
IDENTITY,
|
|
6
6
|
PACKAGE,
|
|
7
7
|
SKILL
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-OFEXB726.js";
|
|
9
9
|
import {
|
|
10
10
|
__export,
|
|
11
11
|
__name
|
|
@@ -6035,8 +6035,9 @@ var apiCommand = /* @__PURE__ */ __name(() => serviceApiCommand({
|
|
|
6035
6035
|
|
|
6036
6036
|
// dist/commands/crm.js
|
|
6037
6037
|
import { CliError as CliError3 } from "@wirecat/cli-base";
|
|
6038
|
+
import { annotate, metaOf } from "@wirecat/cli-base/commands";
|
|
6038
6039
|
import { retrying as retrying2 } from "@wirecat/cli-base/http";
|
|
6039
|
-
import { addCrmCommands, crmManifestWriteCapabilities, crmManifestWrites, crmSourceFromManifest, openAppStore, openCrmStore, outputFor, Pacer as Pacer2, pacePathFor as pacePathFor2, recalledAccount, serviceApiCall } from "@wirecat/cli-core";
|
|
6040
|
+
import { addCrmCommands, crmManifestWriteCapabilities, crmManifestWrites, crmSourceFromManifest, openAppStore, openCrmStore, outputFor, overrideSharedContract, Pacer as Pacer2, pacePathFor as pacePathFor2, recalledAccount, serviceApiCall } from "@wirecat/cli-core";
|
|
6040
6041
|
import { Command } from "commander";
|
|
6041
6042
|
var accountOf = /* @__PURE__ */ __name((command) => {
|
|
6042
6043
|
const { env, profile } = contextOf(command);
|
|
@@ -6114,6 +6115,14 @@ var crmCommands = /* @__PURE__ */ __name(() => {
|
|
|
6114
6115
|
writes: crmManifestWriteCapabilities(SOURCE, API.manifest, ACTIVITIES),
|
|
6115
6116
|
account: CRM_ACCOUNT
|
|
6116
6117
|
});
|
|
6118
|
+
const create = holder.commands.find((one) => one.name() === "activities")?.commands.find((one) => one.name() === "create");
|
|
6119
|
+
if (create)
|
|
6120
|
+
overrideSharedContract(create, "Attio keeps a comment as a note: an agent asks for a note.", (one) => annotate(one, {
|
|
6121
|
+
examples: [
|
|
6122
|
+
...metaOf(one).examples ?? [],
|
|
6123
|
+
`${IDENTITY.command} work activities create comment --subject person:7 --text "Example: a note on the call"`
|
|
6124
|
+
]
|
|
6125
|
+
}));
|
|
6117
6126
|
return [...holder.commands];
|
|
6118
6127
|
}, "crmCommands");
|
|
6119
6128
|
|
package/dist/commands/crm.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CliError } from "@wirecat/cli-base";
|
|
2
|
+
import { annotate, metaOf } from "@wirecat/cli-base/commands";
|
|
2
3
|
import { retrying } from "@wirecat/cli-base/http";
|
|
3
|
-
import { addCrmCommands, crmManifestWriteCapabilities, crmManifestWrites, crmSourceFromManifest, openAppStore, openCrmStore, outputFor, Pacer, pacePathFor, recalledAccount, serviceApiCall, } from "@wirecat/cli-core";
|
|
4
|
+
import { addCrmCommands, crmManifestWriteCapabilities, crmManifestWrites, crmSourceFromManifest, openAppStore, openCrmStore, outputFor, overrideSharedContract, Pacer, pacePathFor, recalledAccount, serviceApiCall, } from "@wirecat/cli-core";
|
|
4
5
|
import { Command } from "commander";
|
|
5
6
|
import { ACTIVITIES } from "../activities.js";
|
|
6
7
|
import { API, configuration, permissions } from "../config.js";
|
|
@@ -88,6 +89,16 @@ export const crmCommands = () => {
|
|
|
88
89
|
writes: crmManifestWriteCapabilities(SOURCE, API.manifest, ACTIVITIES),
|
|
89
90
|
account: CRM_ACCOUNT,
|
|
90
91
|
});
|
|
92
|
+
const create = holder.commands
|
|
93
|
+
.find((one) => one.name() === "activities")
|
|
94
|
+
?.commands.find((one) => one.name() === "create");
|
|
95
|
+
if (create)
|
|
96
|
+
overrideSharedContract(create, "Attio keeps a comment as a note: an agent asks for a note.", (one) => annotate(one, {
|
|
97
|
+
examples: [
|
|
98
|
+
...(metaOf(one).examples ?? []),
|
|
99
|
+
`${IDENTITY.command} work activities create comment --subject person:7 --text "Example: a note on the call"`,
|
|
100
|
+
],
|
|
101
|
+
}));
|
|
91
102
|
return [...holder.commands];
|
|
92
103
|
};
|
|
93
104
|
//# sourceMappingURL=crm.js.map
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = "0.
|
|
1
|
+
export const VERSION = "0.11.0";
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wirecat/attio-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "Attio CRM: deals, people and companies for you and your AI agent",
|
|
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.0",
|
|
65
|
-
"@wirecat/cli-core": "3.
|
|
65
|
+
"@wirecat/cli-core": "3.2.0",
|
|
66
66
|
"commander": "15.0.0",
|
|
67
67
|
"valibot": "1.5.0"
|
|
68
68
|
},
|