@wirecat/attio-cli 0.2.2 → 0.3.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 +36 -0
- package/README.md +13 -9
- package/contracts/wirecat.json +263 -1
- package/dist/bin/attio.js +2 -2
- package/dist/bundle/agent-HM6ST5HY.js +37 -0
- package/dist/bundle/{all-profiles-RAFO3NFW.js → all-profiles-7GUR2SM3.js} +10 -10
- package/dist/bundle/{anthropic-TNR6QJGA.js → anthropic-4CN3TJYB.js} +5 -5
- package/dist/bundle/{app-server-BXVGXUGQ.js → app-server-HSQEPWRY.js} +61 -61
- package/dist/bundle/attio.js +11 -11
- package/dist/bundle/{bun-3RTK5XYF.js → bun-DTF5MNDQ.js} +2 -2
- package/dist/bundle/{bun-sqlite-I5K5Z2ZK.js → bun-sqlite-NFVPKLZD.js} +6 -6
- package/dist/bundle/{chunk-EMZ4MGPD.js → chunk-2AVWKAHP.js} +22 -1
- package/dist/bundle/{chunk-CZP6C6MX.js → chunk-2KP5LRCK.js} +4 -4
- package/dist/bundle/{chunk-DKSO7UTS.js → chunk-2PDJCM3U.js} +134 -14
- package/dist/bundle/{chunk-SEDD6YZQ.js → chunk-2SM6G7CP.js} +4 -4
- package/dist/bundle/{chunk-ZI3IRII7.js → chunk-3HFUSESO.js} +3 -3
- package/dist/bundle/{chunk-HM6AMYHR.js → chunk-3JZNNESS.js} +2 -2
- package/dist/bundle/{chunk-CFQQTDSA.js → chunk-3L3ZRFKH.js} +1 -1
- package/dist/bundle/{chunk-WHDVRMB7.js → chunk-3PPTBPRU.js} +42 -38
- package/dist/bundle/{chunk-NWDO4DE3.js → chunk-4A5E32BA.js} +1185 -672
- package/dist/bundle/{chunk-2CS7VHUB.js → chunk-4BHD26FI.js} +34 -34
- package/dist/bundle/{chunk-TUOFAUBR.js → chunk-4GGTI6J2.js} +8 -8
- package/dist/bundle/{chunk-3LMW7U7F.js → chunk-4IASSY4K.js} +21 -8
- package/dist/bundle/{chunk-AV2ZJ4WX.js → chunk-55OZY4JK.js} +1 -1
- package/dist/bundle/{chunk-6ZBJCBXA.js → chunk-6GLKKI5B.js} +2 -2
- package/dist/bundle/{chunk-7QH5BZUG.js → chunk-6GVBDIY7.js} +3 -3
- package/dist/bundle/{chunk-CKG7GIHR.js → chunk-6MKREZYW.js} +3 -3
- package/dist/bundle/{chunk-O4SX6FXT.js → chunk-6UVYOUKX.js} +1 -1
- package/dist/bundle/{chunk-L7BMGR5W.js → chunk-73D7FXGY.js} +130 -32
- package/dist/bundle/{chunk-HVXOA4FO.js → chunk-77PCNTJY.js} +1 -1
- package/dist/bundle/{chunk-XSUU7PB7.js → chunk-AO6N3HLS.js} +16 -3
- package/dist/bundle/{chunk-V4JWUVNO.js → chunk-CEY7LGCR.js} +4 -4
- package/dist/bundle/{chunk-FPMWW2HK.js → chunk-CV65DYDO.js} +31 -27
- package/dist/bundle/{chunk-P76XVKVC.js → chunk-CWLNO3ZU.js} +1 -1
- package/dist/bundle/{chunk-UZYL4AMA.js → chunk-D3BQH24W.js} +72 -57
- package/dist/bundle/{chunk-RKKY3MSZ.js → chunk-EBVOFSWE.js} +1 -1
- package/dist/bundle/{chunk-XQIRF6PS.js → chunk-ECPUCPPX.js} +7 -7
- package/dist/bundle/{chunk-UTTNGFKW.js → chunk-FJUBFNIH.js} +12 -12
- package/dist/bundle/{chunk-7626I3P4.js → chunk-GFKYZJN4.js} +1 -1
- package/dist/bundle/{chunk-JFFCP52L.js → chunk-GJFFI6OA.js} +1 -1
- package/dist/bundle/{chunk-APNSAKSO.js → chunk-GMRYIIGP.js} +6 -6
- package/dist/bundle/{chunk-GT3HXSKW.js → chunk-GS3LY5S5.js} +14 -7
- package/dist/bundle/{chunk-LHKVAZ5T.js → chunk-H55WJPRM.js} +2 -2
- package/dist/bundle/{chunk-MG4U6AKG.js → chunk-HS7TLG6U.js} +3 -4
- package/dist/bundle/{chunk-2TLGP7BS.js → chunk-HVLKBGYN.js} +5 -5
- package/dist/bundle/{chunk-LG6Y4NAT.js → chunk-IFDR5RYE.js} +2 -2
- package/dist/bundle/{chunk-PRERT2BZ.js → chunk-IQSXBZA7.js} +1 -1
- package/dist/bundle/{chunk-LIIOT3AN.js → chunk-IWC3ECVF.js} +3 -3
- package/dist/bundle/{chunk-62FENOMX.js → chunk-J3KE3D3L.js} +6 -6
- package/dist/bundle/{chunk-6HYTDMOL.js → chunk-KP7U75NI.js} +6 -6
- package/dist/bundle/{chunk-QSUFJGTG.js → chunk-KRCE3EBI.js} +2 -2
- package/dist/bundle/{chunk-7WS4ONXZ.js → chunk-LC4KJJZ2.js} +3 -3
- package/dist/bundle/{chunk-HMYJLOXE.js → chunk-LX6IMPKX.js} +2291 -844
- package/dist/bundle/{chunk-MI6IH5UW.js → chunk-MCNZCQ6P.js} +61 -61
- package/dist/bundle/{chunk-JWRI6ZY6.js → chunk-N7EFLZNW.js} +186 -162
- package/dist/bundle/{chunk-4F3FQ5QX.js → chunk-NE65S7F6.js} +3 -3
- package/dist/bundle/{chunk-BDFNXTNK.js → chunk-NK32ZZRV.js} +7 -7
- package/dist/bundle/{chunk-7JVKQ6NM.js → chunk-NTW3Z4ZC.js} +4 -4
- package/dist/bundle/{chunk-2JB5XD5R.js → chunk-OOS57MMX.js} +7 -7
- package/dist/bundle/{chunk-AXGSAG53.js → chunk-PBUBZNIA.js} +25 -174
- package/dist/bundle/{chunk-JSAXTIRX.js → chunk-PCYDTU6N.js} +3 -2
- package/dist/bundle/{chunk-FRCORPOY.js → chunk-PTBGWRI4.js} +5 -5
- package/dist/bundle/{chunk-3BM6KBWP.js → chunk-PX5XI2UR.js} +19 -19
- package/dist/bundle/{chunk-MW2OS2GD.js → chunk-ROJF7524.js} +8 -8
- package/dist/bundle/{chunk-BFWERPF6.js → chunk-RPL3VL7F.js} +2 -2
- package/dist/bundle/{chunk-Q2U6DGSV.js → chunk-SDZJIDMF.js} +10 -10
- package/dist/bundle/{chunk-NQNFMKL2.js → chunk-SEZLN6OX.js} +1 -1
- package/dist/bundle/{chunk-AHPGTDO2.js → chunk-SIYP5IZG.js} +6 -6
- package/dist/bundle/{chunk-B7U5FLPP.js → chunk-SNUCQQQU.js} +8 -8
- package/dist/bundle/{chunk-VQSVE4RD.js → chunk-SRU4EQYO.js} +2 -2
- package/dist/bundle/{chunk-53BHLQRA.js → chunk-SVUQKDBZ.js} +13 -13
- package/dist/bundle/{chunk-WALQNDXO.js → chunk-SZ76WGXS.js} +8 -8
- package/dist/bundle/{chunk-YBJBYPS7.js → chunk-UN63OIS5.js} +3 -3
- package/dist/bundle/{chunk-OHCYBSCA.js → chunk-UNI5OO3J.js} +13 -13
- package/dist/bundle/{chunk-2PSAS4TT.js → chunk-UXT4532H.js} +7 -7
- package/dist/bundle/{chunk-T6DV3ED2.js → chunk-V6RIJ22V.js} +14 -14
- package/dist/bundle/{chunk-NQJ7QMEF.js → chunk-WAOJEEGU.js} +3 -3
- package/dist/bundle/{chunk-3JRLPNPO.js → chunk-WE6UGOBO.js} +1 -1
- package/dist/bundle/{chunk-SYBAMYFY.js → chunk-WYPHP2AM.js} +3 -3
- package/dist/bundle/{chunk-Z3HZD24R.js → chunk-Y6QUAEEJ.js} +17 -17
- package/dist/bundle/{chunk-AMRELFBT.js → chunk-YERPSSUC.js} +2 -2
- package/dist/bundle/{chunk-MHMHZ6GY.js → chunk-ZAZUNEZB.js} +1 -1
- package/dist/bundle/{chunk-OC35ZLPE.js → chunk-ZSO3T2W4.js} +4 -4
- package/dist/bundle/command-contract-XZKDRLEC.js +37 -0
- package/dist/bundle/{command-server-entry-ZKWL26Q5.js → command-server-entry-VTYSKZSD.js} +25 -25
- package/dist/bundle/{decode-TG45PUJW.js → decode-EJCGQVLX.js} +5 -5
- package/dist/bundle/{dispatch-JQBAZWCL.js → dispatch-YGAG263C.js} +8 -8
- package/dist/bundle/{echarts-AWICNZBO.js → echarts-LHBWIDKI.js} +2 -2
- package/dist/bundle/{embed-TN6HQUK2.js → embed-QKVPSZLS.js} +6 -6
- package/dist/bundle/{embedder-T3KJA3I4.js → embedder-NYO6EOFU.js} +9 -9
- package/dist/bundle/{failure-I6AAF5R5.js → failure-SE7VJEXI.js} +2 -2
- package/dist/bundle/{first-run-BZUITKMF.js → first-run-P5QA7RNU.js} +12 -12
- package/dist/bundle/first-screen-EUIV6PVE.js +37 -0
- package/dist/bundle/{instructions-FRJHLLZX.js → instructions-T6LGIEPV.js} +1 -1
- package/dist/bundle/{mcp-YGOAUNC3.js → mcp-PVQZS6IH.js} +2 -2
- package/dist/bundle/meeting-combined-GOBZBEX2.js +24 -0
- package/dist/bundle/{meeting-model-TENJU3OG.js → meeting-model-7UBHXIVW.js} +11 -11
- package/dist/bundle/{meeting-semantic-ZKOG2XMU.js → meeting-semantic-RXCWAIZZ.js} +6 -6
- package/dist/bundle/{node-3ZISJOEM.js → node-UBG6VKKA.js} +2 -2
- package/dist/bundle/{node-sqlite-KA35X4F4.js → node-sqlite-PYNAIHR6.js} +7 -7
- package/dist/bundle/{oauth-C74B6XHN.js → oauth-BLOW6XVT.js} +7 -7
- package/dist/bundle/{open-CJESRWUG.js → open-VWILPEZ2.js} +5 -5
- package/dist/bundle/{openai-WLXOXSTV.js → openai-N37NPTEE.js} +15 -15
- package/dist/bundle/{process-JV3KVGJY.js → process-DMYM7PNQ.js} +1 -1
- package/dist/bundle/{program-HSVLSH7A.js → program-5QZLUWS4.js} +4115 -4148
- package/dist/bundle/{prompt-EEBVB3XG.js → prompt-EJHIAH4K.js} +5 -5
- package/dist/bundle/{recognize-ZFITQZ4W.js → recognize-67LER7ZN.js} +4 -4
- package/dist/bundle/{remote-RZXSYHOJ.js → remote-BONPKWRO.js} +9 -9
- package/dist/bundle/{rerank-2BHYAEO3.js → rerank-FK2AFC3Y.js} +7 -7
- package/dist/bundle/{schemas-6GTYA2NR.js → schemas-4E76I6ME.js} +1 -1
- package/dist/bundle/{serve-G3M5H5JM.js → serve-ZIXWKUE3.js} +9 -9
- package/dist/bundle/{server-44WJ5K2W.js → server-4RX3LBCA.js} +53 -53
- package/dist/bundle/server-RL6NIURH.js +79 -0
- package/dist/bundle/{sqlite-runtime-TRISCWIG.js → sqlite-runtime-WDXPYP7C.js} +6 -6
- package/dist/bundle/{state-BF6IMDP2.js → state-NE7WPOBK.js} +6 -6
- package/dist/bundle/{store-VSKYLTLH.js → store-2LX2ZQY5.js} +18 -18
- package/dist/bundle/{store-LZPZC72J.js → store-PUAKYH6Z.js} +24 -20
- package/dist/bundle/store-maintenance-command-CSYN4LXT.js +66 -0
- package/dist/bundle/surface-HJIDG2KX.js +65 -0
- package/dist/commands/crm.d.ts +3 -0
- package/dist/commands/crm.d.ts.map +1 -1
- package/dist/commands/crm.js +33 -8
- package/dist/commands/crm.js.map +1 -1
- package/dist/commands/schedule.d.ts +3 -0
- package/dist/commands/schedule.d.ts.map +1 -0
- package/dist/commands/schedule.js +9 -0
- package/dist/commands/schedule.js.map +1 -0
- package/dist/commands/session.d.ts +2 -1
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +5 -1
- package/dist/commands/session.js.map +1 -1
- package/dist/config.d.ts +0 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +22 -5
- package/dist/config.js.map +1 -1
- package/dist/generated/wirecat-config.d.ts.map +1 -1
- package/dist/generated/wirecat-config.js +175 -0
- package/dist/generated/wirecat-config.js.map +1 -1
- package/dist/hooks.d.ts.map +1 -1
- package/dist/hooks.js +10 -2
- package/dist/hooks.js.map +1 -1
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +4 -2
- package/dist/identity.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +11 -1
- package/dist/program.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +5 -4
- package/skills/attio-cli/SKILL.md +18 -3
- package/dist/bundle/agent-3FYEIRN4.js +0 -37
- package/dist/bundle/command-contract-N5X3UOTT.js +0 -37
- package/dist/bundle/first-screen-I23NJLFH.js +0 -37
- package/dist/bundle/meeting-combined-7ZNV4MZ2.js +0 -24
- package/dist/bundle/server-3ZL5TECF.js +0 -79
- package/dist/bundle/store-maintenance-command-IDAYDJLQ.js +0 -66
- package/dist/bundle/surface-OHYA3YS6.js +0 -65
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,42 @@
|
|
|
2
2
|
|
|
3
3
|
Notable changes to `@wirecat/attio-cli`. One section per version, newest first.
|
|
4
4
|
|
|
5
|
+
## 0.3.0 — 23.11.2026
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- **Deals and people are written to Attio, each change asking you first.** `deals create`, `update`, `move`, `close`
|
|
10
|
+
and `delete`, and `people create` and `update`, send the change to Attio and store its answer, as the other WireCat
|
|
11
|
+
CRM CLIs do. Each key asks at a terminal, and so does every `api` write. Without a terminal a write waits for
|
|
12
|
+
`--yes`. Over MCP it goes ahead, so your MCP client is what asks. A write also checks the `api` key of the operation
|
|
13
|
+
it sends, so `permissions.api readonly` stops it. `--email` and `--phone` replace the whole list. A deal's currency
|
|
14
|
+
is the workspace's, and another one is refused. A new deal with no `--owner` is yours, as Attio needs an owner on
|
|
15
|
+
every deal. Companies are not written here: an Attio company has no e-mail or phone attribute. Example:
|
|
16
|
+
`attio work deals move deal:1 --stage "In Progress"`.
|
|
17
|
+
- **`account remove`.** It signs a profile out and, with `--delete-data`, removes its local copy, which it refuses
|
|
18
|
+
while another profile here still reads that workspace. A second profile's `session start` to a workspace another
|
|
19
|
+
profile holds is refused (`session.duplicate`).
|
|
20
|
+
- **`schedule`, as in the other WireCat CRM tools.** `attio work schedule command crm --every 1h -- sync` syncs every
|
|
21
|
+
hour, and `schedule command crm-digest --at 08:00 -- changes list --format report` sends the morning CRM digest.
|
|
22
|
+
|
|
23
|
+
### Changed — may break callers
|
|
24
|
+
|
|
25
|
+
- **A CRM command on a profile that is not signed in answers `session.missing`**, as every other WireCat tool does. It
|
|
26
|
+
answered `auth.missing`, which no other tool uses. A profile this computer does not know at all now answers
|
|
27
|
+
`profile.unknown` (`not_found`), as cli-core turns a `session.missing` into for an unknown profile, and names the
|
|
28
|
+
profiles there. The message still says how to sign in.
|
|
29
|
+
|
|
30
|
+
### Fixed
|
|
31
|
+
|
|
32
|
+
- `deals close <deal> won` finds the won stage by its name too, in a workspace where the stage's celebration is
|
|
33
|
+
turned off.
|
|
34
|
+
- **The MCP server tells the agent about every kind of outside text it can see**: names of deals, pipelines, stages
|
|
35
|
+
and workspace members, e-mail addresses, phone numbers and links, the notes, e-mails, comments and transcripts the
|
|
36
|
+
`api` commands read, and what `search all` finds. It named only record names, attribute values and member names.
|
|
37
|
+
- **The skill says how signing in works**: only the owner signs in, never with the token as an argument, and which
|
|
38
|
+
scopes the token needs.
|
|
39
|
+
- **The package description names deals** beside people and companies.
|
|
40
|
+
|
|
5
41
|
## 0.2.2 — 19.11.2026
|
|
6
42
|
|
|
7
43
|
### Fixed
|
package/README.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="https://raw.githubusercontent.com/WireCatLabs/attio-cli/main/docs/images/social-preview.png" alt="Attio CRM CLI for AI agents" width="100%">
|
|
3
|
+
</p>
|
|
4
|
+
|
|
1
5
|
# attio: Attio CRM CLI and MCP server for AI agents
|
|
2
6
|
|
|
3
7
|
<p align="center">
|
|
@@ -6,8 +10,8 @@
|
|
|
6
10
|
</p>
|
|
7
11
|
|
|
8
12
|
<p align="center">
|
|
9
|
-
<a href="https://
|
|
10
|
-
<a href="https://
|
|
13
|
+
<a href="https://wirecat.dev/en/docs/attio">Docs</a> ·
|
|
14
|
+
<a href="https://wirecat.dev/en/docs/attio/installation">Install</a> ·
|
|
11
15
|
<a href="https://github.com/WireCatLabs/attio-cli/blob/main/docs/usage.md">Usage</a> ·
|
|
12
16
|
<a href="https://discord.gg/DebENqbRrJ">Discord</a>
|
|
13
17
|
</p>
|
|
@@ -21,8 +25,8 @@
|
|
|
21
25
|
Codex, Claude Desktop or any app that speaks MCP.
|
|
22
26
|
- **Your pipeline, offline.** Deals, stages and what changed since yesterday are read from your computer, with no
|
|
23
27
|
request to Attio.
|
|
24
|
-
- **Safe to hand to an agent.**
|
|
25
|
-
from an agent.
|
|
28
|
+
- **Safe to hand to an agent.** Every change to Attio asks you first in a terminal. Over MCP nobody is there to
|
|
29
|
+
answer, so a change runs without asking, and one line keeps every write away from an agent.
|
|
26
30
|
|
|
27
31
|
## What you get
|
|
28
32
|
|
|
@@ -61,8 +65,8 @@ Agent: (runs attio work changes list change:won "at>=7d")
|
|
|
61
65
|
|
|
62
66
|
## Quick start
|
|
63
67
|
|
|
64
|
-
In [WireCat Desktop](https://wirecat.dev), add Attio from the tool list and paste the access token when
|
|
65
|
-
a terminal:
|
|
68
|
+
In [WireCat Desktop](https://wirecat.dev/en/download), add Attio from the tool list and paste the access token when
|
|
69
|
+
it asks. Or in a terminal:
|
|
66
70
|
|
|
67
71
|
```sh
|
|
68
72
|
npm install -g @wirecat/attio-cli
|
|
@@ -98,13 +102,13 @@ Ask in plain words. The agent picks the commands.
|
|
|
98
102
|
- **ChatGPT or Claude in the browser** reach it through your own tunnel, after a login with a one-time code.
|
|
99
103
|
|
|
100
104
|
```sh
|
|
101
|
-
attio work config set permissions.api readonly # no writes
|
|
105
|
+
attio work config set permissions.api readonly # no writes to Attio on this profile
|
|
102
106
|
attio work mcp add claude-code --allow-writes # or: codex
|
|
103
107
|
attio work mcp config # the entry for Claude Desktop, Cursor and others
|
|
104
108
|
```
|
|
105
109
|
|
|
106
|
-
Over MCP nobody is at a terminal to answer a question, so a write set to `ask` goes ahead.
|
|
107
|
-
every write away from the agent.
|
|
110
|
+
Over MCP nobody is at a terminal to answer a question, so a write set to `ask` goes ahead. Your MCP client, such as
|
|
111
|
+
Claude Desktop, can ask you before each tool call. The first line above keeps every write away from the agent.
|
|
108
112
|
|
|
109
113
|
More: [agents and MCP](https://github.com/WireCatLabs/attio-cli/blob/main/docs/mcp.md) ·
|
|
110
114
|
[permissions](https://github.com/WireCatLabs/attio-cli/blob/main/docs/permissions.md)
|
package/contracts/wirecat.json
CHANGED
|
@@ -1614,6 +1614,71 @@
|
|
|
1614
1614
|
"permission": "deals.show",
|
|
1615
1615
|
"entity": "deal"
|
|
1616
1616
|
},
|
|
1617
|
+
{
|
|
1618
|
+
"path": [
|
|
1619
|
+
"deals",
|
|
1620
|
+
"create"
|
|
1621
|
+
],
|
|
1622
|
+
"summary": "make a deal in the CRM, then store the CRM's copy of it",
|
|
1623
|
+
"effects": {
|
|
1624
|
+
"remote": "write",
|
|
1625
|
+
"local": "write"
|
|
1626
|
+
},
|
|
1627
|
+
"permission": "deals.create",
|
|
1628
|
+
"entity": "crm_write"
|
|
1629
|
+
},
|
|
1630
|
+
{
|
|
1631
|
+
"path": [
|
|
1632
|
+
"deals",
|
|
1633
|
+
"update"
|
|
1634
|
+
],
|
|
1635
|
+
"summary": "change a deal in the CRM; what is left out keeps its value; the CRM's copy…",
|
|
1636
|
+
"effects": {
|
|
1637
|
+
"remote": "write",
|
|
1638
|
+
"local": "write"
|
|
1639
|
+
},
|
|
1640
|
+
"permission": "deals.update",
|
|
1641
|
+
"entity": "crm_write"
|
|
1642
|
+
},
|
|
1643
|
+
{
|
|
1644
|
+
"path": [
|
|
1645
|
+
"deals",
|
|
1646
|
+
"move"
|
|
1647
|
+
],
|
|
1648
|
+
"summary": "move a deal to another stage of its pipeline; a won or lost stage checks the…",
|
|
1649
|
+
"effects": {
|
|
1650
|
+
"remote": "write",
|
|
1651
|
+
"local": "write"
|
|
1652
|
+
},
|
|
1653
|
+
"permission": "deals.move",
|
|
1654
|
+
"entity": "crm_write"
|
|
1655
|
+
},
|
|
1656
|
+
{
|
|
1657
|
+
"path": [
|
|
1658
|
+
"deals",
|
|
1659
|
+
"close"
|
|
1660
|
+
],
|
|
1661
|
+
"summary": "mark a deal won or lost, the CRM's own way",
|
|
1662
|
+
"effects": {
|
|
1663
|
+
"remote": "write",
|
|
1664
|
+
"local": "write"
|
|
1665
|
+
},
|
|
1666
|
+
"permission": "deals.close",
|
|
1667
|
+
"entity": "crm_write"
|
|
1668
|
+
},
|
|
1669
|
+
{
|
|
1670
|
+
"path": [
|
|
1671
|
+
"deals",
|
|
1672
|
+
"delete"
|
|
1673
|
+
],
|
|
1674
|
+
"summary": "delete a deal in the CRM; asks first unless allowed",
|
|
1675
|
+
"effects": {
|
|
1676
|
+
"remote": "write",
|
|
1677
|
+
"local": "write"
|
|
1678
|
+
},
|
|
1679
|
+
"permission": "deals.delete",
|
|
1680
|
+
"entity": "crm_removal"
|
|
1681
|
+
},
|
|
1617
1682
|
{
|
|
1618
1683
|
"path": [
|
|
1619
1684
|
"pipelines",
|
|
@@ -1679,6 +1744,32 @@
|
|
|
1679
1744
|
"permission": "people.show",
|
|
1680
1745
|
"entity": "crm_person"
|
|
1681
1746
|
},
|
|
1747
|
+
{
|
|
1748
|
+
"path": [
|
|
1749
|
+
"people",
|
|
1750
|
+
"create"
|
|
1751
|
+
],
|
|
1752
|
+
"summary": "make a person in the CRM, then store the CRM's copy of it",
|
|
1753
|
+
"effects": {
|
|
1754
|
+
"remote": "write",
|
|
1755
|
+
"local": "write"
|
|
1756
|
+
},
|
|
1757
|
+
"permission": "people.create",
|
|
1758
|
+
"entity": "crm_record_write"
|
|
1759
|
+
},
|
|
1760
|
+
{
|
|
1761
|
+
"path": [
|
|
1762
|
+
"people",
|
|
1763
|
+
"update"
|
|
1764
|
+
],
|
|
1765
|
+
"summary": "change a person in the CRM; what is left out keeps its value; the CRM's copy…",
|
|
1766
|
+
"effects": {
|
|
1767
|
+
"remote": "write",
|
|
1768
|
+
"local": "write"
|
|
1769
|
+
},
|
|
1770
|
+
"permission": "people.update",
|
|
1771
|
+
"entity": "crm_record_write"
|
|
1772
|
+
},
|
|
1682
1773
|
{
|
|
1683
1774
|
"path": [
|
|
1684
1775
|
"organizations",
|
|
@@ -1770,6 +1861,130 @@
|
|
|
1770
1861
|
"permission": "search.all",
|
|
1771
1862
|
"entity": "hit"
|
|
1772
1863
|
},
|
|
1864
|
+
{
|
|
1865
|
+
"path": [
|
|
1866
|
+
"account",
|
|
1867
|
+
"remove"
|
|
1868
|
+
],
|
|
1869
|
+
"summary": "sign this profile out and forget it, keeping or deleting its data",
|
|
1870
|
+
"effects": {
|
|
1871
|
+
"remote": "none",
|
|
1872
|
+
"local": "write"
|
|
1873
|
+
},
|
|
1874
|
+
"permission": "account.remove",
|
|
1875
|
+
"entity": "account_removal"
|
|
1876
|
+
},
|
|
1877
|
+
{
|
|
1878
|
+
"path": [
|
|
1879
|
+
"schedule",
|
|
1880
|
+
"command"
|
|
1881
|
+
],
|
|
1882
|
+
"summary": "run attio <args…> on a timer — reads save what they read, so this is how the…",
|
|
1883
|
+
"effects": {
|
|
1884
|
+
"remote": "none",
|
|
1885
|
+
"local": "write"
|
|
1886
|
+
},
|
|
1887
|
+
"permission": "schedule.command"
|
|
1888
|
+
},
|
|
1889
|
+
{
|
|
1890
|
+
"path": [
|
|
1891
|
+
"schedule",
|
|
1892
|
+
"agent"
|
|
1893
|
+
],
|
|
1894
|
+
"summary": "start an agent (claude, codex, gemini, cursor, opencode, openclaw, hermes,…",
|
|
1895
|
+
"effects": {
|
|
1896
|
+
"remote": "none",
|
|
1897
|
+
"local": "write"
|
|
1898
|
+
},
|
|
1899
|
+
"permission": "schedule.agent"
|
|
1900
|
+
},
|
|
1901
|
+
{
|
|
1902
|
+
"path": [
|
|
1903
|
+
"schedule",
|
|
1904
|
+
"list"
|
|
1905
|
+
],
|
|
1906
|
+
"summary": "the schedules, when they run and how their last run went",
|
|
1907
|
+
"effects": {
|
|
1908
|
+
"remote": "none",
|
|
1909
|
+
"local": "read"
|
|
1910
|
+
},
|
|
1911
|
+
"permission": "schedule.list",
|
|
1912
|
+
"entity": "scheduled_job"
|
|
1913
|
+
},
|
|
1914
|
+
{
|
|
1915
|
+
"path": [
|
|
1916
|
+
"schedule",
|
|
1917
|
+
"agents",
|
|
1918
|
+
"list"
|
|
1919
|
+
],
|
|
1920
|
+
"summary": "the agents a schedule may start, and which are on PATH here",
|
|
1921
|
+
"effects": {
|
|
1922
|
+
"remote": "none",
|
|
1923
|
+
"local": "read"
|
|
1924
|
+
},
|
|
1925
|
+
"permission": "schedule.agents.list",
|
|
1926
|
+
"entity": "schedule_harness"
|
|
1927
|
+
},
|
|
1928
|
+
{
|
|
1929
|
+
"path": [
|
|
1930
|
+
"schedule",
|
|
1931
|
+
"run"
|
|
1932
|
+
],
|
|
1933
|
+
"summary": "run a schedule now, as its timer would, and wait for it; a paused one runs too",
|
|
1934
|
+
"effects": {
|
|
1935
|
+
"remote": "write",
|
|
1936
|
+
"local": "write"
|
|
1937
|
+
},
|
|
1938
|
+
"permission": "schedule.run"
|
|
1939
|
+
},
|
|
1940
|
+
{
|
|
1941
|
+
"path": [
|
|
1942
|
+
"schedule",
|
|
1943
|
+
"remove"
|
|
1944
|
+
],
|
|
1945
|
+
"summary": "stop a schedule and remove its timer; its past output stays",
|
|
1946
|
+
"effects": {
|
|
1947
|
+
"remote": "none",
|
|
1948
|
+
"local": "write"
|
|
1949
|
+
},
|
|
1950
|
+
"permission": "schedule.remove"
|
|
1951
|
+
},
|
|
1952
|
+
{
|
|
1953
|
+
"path": [
|
|
1954
|
+
"schedule",
|
|
1955
|
+
"pause"
|
|
1956
|
+
],
|
|
1957
|
+
"summary": "take a schedule off its timer and keep it; run runs it, resume puts it back",
|
|
1958
|
+
"effects": {
|
|
1959
|
+
"remote": "none",
|
|
1960
|
+
"local": "write"
|
|
1961
|
+
},
|
|
1962
|
+
"permission": "schedule.pause"
|
|
1963
|
+
},
|
|
1964
|
+
{
|
|
1965
|
+
"path": [
|
|
1966
|
+
"schedule",
|
|
1967
|
+
"resume"
|
|
1968
|
+
],
|
|
1969
|
+
"summary": "put a paused schedule back on its timer",
|
|
1970
|
+
"effects": {
|
|
1971
|
+
"remote": "none",
|
|
1972
|
+
"local": "write"
|
|
1973
|
+
},
|
|
1974
|
+
"permission": "schedule.resume"
|
|
1975
|
+
},
|
|
1976
|
+
{
|
|
1977
|
+
"path": [
|
|
1978
|
+
"schedule",
|
|
1979
|
+
"exec"
|
|
1980
|
+
],
|
|
1981
|
+
"summary": "what a timer runs, given the schedule's file; to run one by hand, use run",
|
|
1982
|
+
"effects": {
|
|
1983
|
+
"remote": "write",
|
|
1984
|
+
"local": "write"
|
|
1985
|
+
},
|
|
1986
|
+
"permission": "schedule.exec"
|
|
1987
|
+
},
|
|
1773
1988
|
{
|
|
1774
1989
|
"path": [
|
|
1775
1990
|
"doctor"
|
|
@@ -2097,6 +2312,33 @@
|
|
|
2097
2312
|
"untrusted"
|
|
2098
2313
|
]
|
|
2099
2314
|
},
|
|
2315
|
+
"scheduled_job": {
|
|
2316
|
+
"fields": [
|
|
2317
|
+
"name",
|
|
2318
|
+
"kind",
|
|
2319
|
+
"when",
|
|
2320
|
+
"notify",
|
|
2321
|
+
"deliver_to",
|
|
2322
|
+
"harness",
|
|
2323
|
+
"reports_cost",
|
|
2324
|
+
"spent_today_usd",
|
|
2325
|
+
"max_cost_usd",
|
|
2326
|
+
"max_cost_per_day_usd"
|
|
2327
|
+
]
|
|
2328
|
+
},
|
|
2329
|
+
"schedule_harness": {
|
|
2330
|
+
"fields": [
|
|
2331
|
+
"id",
|
|
2332
|
+
"name",
|
|
2333
|
+
"programs",
|
|
2334
|
+
"reports_cost",
|
|
2335
|
+
"restricted",
|
|
2336
|
+
"restricted_reason",
|
|
2337
|
+
"allowed_with_ack",
|
|
2338
|
+
"installed",
|
|
2339
|
+
"path"
|
|
2340
|
+
]
|
|
2341
|
+
},
|
|
2100
2342
|
"run": {
|
|
2101
2343
|
"fields": [
|
|
2102
2344
|
"run_id",
|
|
@@ -2310,7 +2552,27 @@
|
|
|
2310
2552
|
"--record",
|
|
2311
2553
|
"--json"
|
|
2312
2554
|
],
|
|
2313
|
-
"remove":
|
|
2555
|
+
"remove": {
|
|
2556
|
+
"minVersion": "0.0.0",
|
|
2557
|
+
"keepData": [
|
|
2558
|
+
"{profile}",
|
|
2559
|
+
"account",
|
|
2560
|
+
"remove",
|
|
2561
|
+
"--keep-data",
|
|
2562
|
+
"--record",
|
|
2563
|
+
"--json"
|
|
2564
|
+
],
|
|
2565
|
+
"deleteData": [
|
|
2566
|
+
"{profile}",
|
|
2567
|
+
"account",
|
|
2568
|
+
"remove",
|
|
2569
|
+
"--delete-data",
|
|
2570
|
+
"--record",
|
|
2571
|
+
"--json"
|
|
2572
|
+
],
|
|
2573
|
+
"dryRun": "--dry-run",
|
|
2574
|
+
"confirm": "--yes"
|
|
2575
|
+
},
|
|
2314
2576
|
"removes": [
|
|
2315
2577
|
"signIn"
|
|
2316
2578
|
],
|
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.3.0\n")
|
|
13
13
|
} else {
|
|
14
14
|
// Before the bundle compiles: the bundle's own call comes after its chunks.
|
|
15
15
|
module.enableCompileCache()
|
|
@@ -28,7 +28,7 @@ if (
|
|
|
28
28
|
: next(specifier, context),
|
|
29
29
|
})
|
|
30
30
|
}
|
|
31
|
-
const chunks = ["../bundle/agent-
|
|
31
|
+
const chunks = ["../bundle/agent-HM6ST5HY.js","../bundle/all-profiles-7GUR2SM3.js","../bundle/anthropic-4CN3TJYB.js","../bundle/app-server-HSQEPWRY.js","../bundle/bun-DTF5MNDQ.js","../bundle/bun-sqlite-NFVPKLZD.js","../bundle/decode-EJCGQVLX.js","../bundle/definitions-FODOIPM2.js","../bundle/dispatch-YGAG263C.js","../bundle/dist-EM7KLEG4.js","../bundle/dist-PAKDDIBT.js","../bundle/echarts-LHBWIDKI.js","../bundle/embed-QKVPSZLS.js","../bundle/embedder-NYO6EOFU.js","../bundle/failure-SE7VJEXI.js","../bundle/first-screen-EUIV6PVE.js","../bundle/instructions-T6LGIEPV.js","../bundle/mcp-PVQZS6IH.js","../bundle/node-KM3CUABH.js","../bundle/node-TLZSIHIJ.js","../bundle/node-UBG6VKKA.js","../bundle/node-sqlite-PYNAIHR6.js","../bundle/oauth-BLOW6XVT.js","../bundle/open-VWILPEZ2.js","../bundle/openai-N37NPTEE.js","../bundle/process-DMYM7PNQ.js","../bundle/program-5QZLUWS4.js","../bundle/prompt-EJHIAH4K.js","../bundle/recognize-67LER7ZN.js","../bundle/remote-BONPKWRO.js","../bundle/rerank-FK2AFC3Y.js","../bundle/schemas-4E76I6ME.js","../bundle/serve-ZIXWKUE3.js","../bundle/server-4RX3LBCA.js","../bundle/server-RL6NIURH.js","../bundle/sqlite-runtime-WDXPYP7C.js","../bundle/state-NE7WPOBK.js","../bundle/store-2LX2ZQY5.js","../bundle/store-PUAKYH6Z.js","../bundle/store-maintenance-command-CSYN4LXT.js","../bundle/surface-HJIDG2KX.js"]
|
|
32
32
|
if (((words) => words
|
|
33
33
|
.filter((word) => !word.startsWith("-"))
|
|
34
34
|
.slice(0, 2)
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
runCommandForAgent,
|
|
5
|
+
toolsFromCommands
|
|
6
|
+
} from "./chunk-73D7FXGY.js";
|
|
7
|
+
import "./chunk-6MKREZYW.js";
|
|
8
|
+
import "./chunk-HVLKBGYN.js";
|
|
9
|
+
import "./chunk-YERPSSUC.js";
|
|
10
|
+
import "./chunk-UNI5OO3J.js";
|
|
11
|
+
import "./chunk-PL5P7UKW.js";
|
|
12
|
+
import "./chunk-N7EFLZNW.js";
|
|
13
|
+
import "./chunk-OOS57MMX.js";
|
|
14
|
+
import "./chunk-NE65S7F6.js";
|
|
15
|
+
import "./chunk-PTBGWRI4.js";
|
|
16
|
+
import "./chunk-CWLNO3ZU.js";
|
|
17
|
+
import "./chunk-LC4KJJZ2.js";
|
|
18
|
+
import "./chunk-WYPHP2AM.js";
|
|
19
|
+
import "./chunk-3PPTBPRU.js";
|
|
20
|
+
import "./chunk-IWC3ECVF.js";
|
|
21
|
+
import "./chunk-KRCE3EBI.js";
|
|
22
|
+
import "./chunk-MCNZCQ6P.js";
|
|
23
|
+
import "./chunk-55OZY4JK.js";
|
|
24
|
+
import "./chunk-ECPUCPPX.js";
|
|
25
|
+
import "./chunk-UXT4532H.js";
|
|
26
|
+
import "./chunk-2SM6G7CP.js";
|
|
27
|
+
import "./chunk-SRU4EQYO.js";
|
|
28
|
+
import "./chunk-PX5XI2UR.js";
|
|
29
|
+
import "./chunk-4IASSY4K.js";
|
|
30
|
+
import "./chunk-S4UUN6LD.js";
|
|
31
|
+
import "./chunk-Y5E2WNWB.js";
|
|
32
|
+
import "./chunk-3JZNNESS.js";
|
|
33
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
34
|
+
export {
|
|
35
|
+
runCommandForAgent,
|
|
36
|
+
toolsFromCommands
|
|
37
|
+
};
|
|
@@ -4,34 +4,34 @@ import {
|
|
|
4
4
|
StdioServerTransport,
|
|
5
5
|
answeredWire,
|
|
6
6
|
serveStdio
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GFKYZJN4.js";
|
|
8
8
|
import {
|
|
9
9
|
CALLER_META_KEY,
|
|
10
10
|
PROXY_CLIENT_NAME,
|
|
11
11
|
callerOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YERPSSUC.js";
|
|
13
13
|
import {
|
|
14
14
|
InMemoryTransport,
|
|
15
15
|
McpServer
|
|
16
16
|
} from "./chunk-PL5P7UKW.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-OOS57MMX.js";
|
|
18
|
+
import "./chunk-IWC3ECVF.js";
|
|
19
|
+
import "./chunk-55OZY4JK.js";
|
|
20
|
+
import "./chunk-PX5XI2UR.js";
|
|
21
21
|
import {
|
|
22
22
|
errorObjectOf,
|
|
23
23
|
mcpErrorResult
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-4IASSY4K.js";
|
|
25
25
|
import "./chunk-S4UUN6LD.js";
|
|
26
26
|
import "./chunk-Y5E2WNWB.js";
|
|
27
27
|
import {
|
|
28
28
|
CliError
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-3JZNNESS.js";
|
|
30
30
|
import {
|
|
31
31
|
__name
|
|
32
32
|
} from "./chunk-ZVVMGPBJ.js";
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
|
|
35
35
|
import { spawn } from "node:child_process";
|
|
36
36
|
import { randomUUID } from "node:crypto";
|
|
37
37
|
var PROTOCOL = "2025-06-18";
|
|
@@ -290,7 +290,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
|
|
|
290
290
|
}, "serveAllProfilesOverStdio");
|
|
291
291
|
var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
292
292
|
const { build, close } = allProfilesServer(options);
|
|
293
|
-
const { serveOverHttp } = await import("./serve-
|
|
293
|
+
const { serveOverHttp } = await import("./serve-ZIXWKUE3.js");
|
|
294
294
|
const listening = await serveOverHttp(build, {
|
|
295
295
|
...http,
|
|
296
296
|
appName: options.command,
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
checkedOptions,
|
|
6
6
|
messagesFor,
|
|
7
7
|
systemFor
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3HFUSESO.js";
|
|
9
9
|
import {
|
|
10
10
|
Anthropic
|
|
11
11
|
} from "./chunk-XQUUANA2.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-PX5XI2UR.js";
|
|
13
|
+
import "./chunk-4IASSY4K.js";
|
|
14
14
|
import {
|
|
15
15
|
array,
|
|
16
16
|
literal,
|
|
@@ -22,12 +22,12 @@ import {
|
|
|
22
22
|
unknown
|
|
23
23
|
} from "./chunk-S4UUN6LD.js";
|
|
24
24
|
import "./chunk-Y5E2WNWB.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-3JZNNESS.js";
|
|
26
26
|
import {
|
|
27
27
|
__name
|
|
28
28
|
} from "./chunk-ZVVMGPBJ.js";
|
|
29
29
|
|
|
30
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.726.0_@wirecat+cli-base@0.129.0_commander@15.0.0_esbuild@0.28.2_typ_3f4b9568bff5aeba8fd797c766b422a4/node_modules/@wirecat/cli-core/dist/models/anthropic.js
|
|
31
31
|
var options = strictObject({
|
|
32
32
|
stop_sequences: optional(array(string())),
|
|
33
33
|
thinking: optional(strictObject({ type: picklist(["disabled", "adaptive"]) })),
|