@wirecat/attio-cli 0.2.2 → 0.3.1

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.
Files changed (158) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/README.md +13 -9
  3. package/contracts/wirecat.json +263 -1
  4. package/dist/bin/attio.js +2 -2
  5. package/dist/bundle/agent-63P427ER.js +37 -0
  6. package/dist/bundle/{all-profiles-RAFO3NFW.js → all-profiles-KCZGH7JK.js} +10 -10
  7. package/dist/bundle/{anthropic-TNR6QJGA.js → anthropic-4HCGQIHA.js} +5 -5
  8. package/dist/bundle/{app-server-BXVGXUGQ.js → app-server-VSYG36ER.js} +61 -61
  9. package/dist/bundle/attio.js +11 -11
  10. package/dist/bundle/{bun-3RTK5XYF.js → bun-CZK3ZADI.js} +2 -2
  11. package/dist/bundle/{bun-sqlite-I5K5Z2ZK.js → bun-sqlite-CM5FSNH3.js} +6 -6
  12. package/dist/bundle/{chunk-XSUU7PB7.js → chunk-23POG3B3.js} +16 -3
  13. package/dist/bundle/{chunk-WALQNDXO.js → chunk-2ILCSLXY.js} +8 -8
  14. package/dist/bundle/{chunk-53BHLQRA.js → chunk-2SVDLRLQ.js} +13 -13
  15. package/dist/bundle/{chunk-7WS4ONXZ.js → chunk-32BIODCI.js} +3 -3
  16. package/dist/bundle/{chunk-BFWERPF6.js → chunk-4BQDHDZA.js} +2 -2
  17. package/dist/bundle/{chunk-LHKVAZ5T.js → chunk-4E4IGABE.js} +2 -2
  18. package/dist/bundle/{chunk-MG4U6AKG.js → chunk-4LEB7SUS.js} +3 -4
  19. package/dist/bundle/{chunk-BDFNXTNK.js → chunk-52GTOWNB.js} +7 -7
  20. package/dist/bundle/{chunk-UZYL4AMA.js → chunk-55CDR7VJ.js} +72 -57
  21. package/dist/bundle/{chunk-P76XVKVC.js → chunk-5R255HLF.js} +1 -1
  22. package/dist/bundle/{chunk-2JB5XD5R.js → chunk-5WZBGDPL.js} +7 -7
  23. package/dist/bundle/{chunk-NQNFMKL2.js → chunk-5ZNVTVDU.js} +1 -1
  24. package/dist/bundle/{chunk-2PSAS4TT.js → chunk-6WVUBU7T.js} +7 -7
  25. package/dist/bundle/{chunk-SYBAMYFY.js → chunk-7XSJ6LTE.js} +3 -3
  26. package/dist/bundle/{chunk-JWRI6ZY6.js → chunk-A3Y5GPG3.js} +203 -162
  27. package/dist/bundle/{chunk-CKG7GIHR.js → chunk-AJT4BERP.js} +3 -3
  28. package/dist/bundle/{chunk-7626I3P4.js → chunk-AV7762PN.js} +1 -1
  29. package/dist/bundle/{chunk-CFQQTDSA.js → chunk-BFESDJPU.js} +1 -1
  30. package/dist/bundle/{chunk-GT3HXSKW.js → chunk-C4DJ4OTP.js} +14 -7
  31. package/dist/bundle/{chunk-T6DV3ED2.js → chunk-CSKKZTWI.js} +14 -14
  32. package/dist/bundle/{chunk-V4JWUVNO.js → chunk-CYAWDFBI.js} +4 -4
  33. package/dist/bundle/{chunk-JFFCP52L.js → chunk-CYF6ECG7.js} +1 -1
  34. package/dist/bundle/{chunk-3LMW7U7F.js → chunk-DDFQEOLX.js} +21 -8
  35. package/dist/bundle/{chunk-AXGSAG53.js → chunk-DJCGJRAD.js} +25 -174
  36. package/dist/bundle/{chunk-NWDO4DE3.js → chunk-EAWMBNAO.js} +1740 -802
  37. package/dist/bundle/{chunk-VQSVE4RD.js → chunk-EGZ6N56Z.js} +2 -2
  38. package/dist/bundle/{chunk-LIIOT3AN.js → chunk-EO3X3QWY.js} +3 -3
  39. package/dist/bundle/{chunk-Z3HZD24R.js → chunk-FNIYIYDK.js} +17 -17
  40. package/dist/bundle/{chunk-MI6IH5UW.js → chunk-HTQ5HUXV.js} +61 -61
  41. package/dist/bundle/{chunk-7QH5BZUG.js → chunk-INCLKCAJ.js} +3 -3
  42. package/dist/bundle/{chunk-NQJ7QMEF.js → chunk-ISNUT525.js} +3 -3
  43. package/dist/bundle/{chunk-LG6Y4NAT.js → chunk-JAUTKJYJ.js} +2 -2
  44. package/dist/bundle/{chunk-2TLGP7BS.js → chunk-JLFXUXSQ.js} +5 -5
  45. package/dist/bundle/{chunk-HVXOA4FO.js → chunk-K34B37AP.js} +1 -1
  46. package/dist/bundle/{chunk-L7BMGR5W.js → chunk-KK3IESFZ.js} +162 -36
  47. package/dist/bundle/{chunk-FRCORPOY.js → chunk-KYAJ5AVG.js} +5 -5
  48. package/dist/bundle/{chunk-7JVKQ6NM.js → chunk-LJLUYRPY.js} +4 -4
  49. package/dist/bundle/{chunk-MHMHZ6GY.js → chunk-LTGWE5L6.js} +1 -1
  50. package/dist/bundle/{chunk-RKKY3MSZ.js → chunk-MOUF6JHB.js} +1 -1
  51. package/dist/bundle/{chunk-SEDD6YZQ.js → chunk-MSASR6MQ.js} +4 -4
  52. package/dist/bundle/{chunk-O4SX6FXT.js → chunk-MWFJX3K6.js} +1 -1
  53. package/dist/bundle/{chunk-XQIRF6PS.js → chunk-N64IK3XS.js} +7 -7
  54. package/dist/bundle/{chunk-HMYJLOXE.js → chunk-NIV4S25C.js} +2546 -855
  55. package/dist/bundle/{chunk-APNSAKSO.js → chunk-NMKAEONQ.js} +6 -6
  56. package/dist/bundle/{chunk-OHCYBSCA.js → chunk-OKK2CBVW.js} +13 -13
  57. package/dist/bundle/{chunk-AMRELFBT.js → chunk-PO6DVZUY.js} +2 -2
  58. package/dist/bundle/{chunk-FPMWW2HK.js → chunk-PTTSHIYR.js} +32 -27
  59. package/dist/bundle/{chunk-UTTNGFKW.js → chunk-RGFBK5DJ.js} +12 -12
  60. package/dist/bundle/{chunk-YBJBYPS7.js → chunk-RMOSNURU.js} +3 -3
  61. package/dist/bundle/{chunk-3BM6KBWP.js → chunk-SCBLAAZU.js} +19 -19
  62. package/dist/bundle/{chunk-OC35ZLPE.js → chunk-SQMN3CME.js} +4 -4
  63. package/dist/bundle/{chunk-HM6AMYHR.js → chunk-TSHMRHL6.js} +2 -2
  64. package/dist/bundle/{chunk-QSUFJGTG.js → chunk-TSL3PZAZ.js} +2 -2
  65. package/dist/bundle/{chunk-3JRLPNPO.js → chunk-TU4U3YEM.js} +1 -1
  66. package/dist/bundle/{chunk-ZI3IRII7.js → chunk-U3Y2AC2K.js} +3 -3
  67. package/dist/bundle/{chunk-6HYTDMOL.js → chunk-UMJ7OKJD.js} +6 -6
  68. package/dist/bundle/{chunk-WHDVRMB7.js → chunk-UZW73WTM.js} +67 -46
  69. package/dist/bundle/{chunk-AV2ZJ4WX.js → chunk-VHPNTMJJ.js} +1 -1
  70. package/dist/bundle/{chunk-TUOFAUBR.js → chunk-WF7TKMZ7.js} +8 -8
  71. package/dist/bundle/{chunk-DKSO7UTS.js → chunk-WHA23FJC.js} +152 -14
  72. package/dist/bundle/{chunk-Q2U6DGSV.js → chunk-WPOOZGQ7.js} +10 -10
  73. package/dist/bundle/{chunk-CZP6C6MX.js → chunk-X3PQFXYL.js} +4 -4
  74. package/dist/bundle/{chunk-62FENOMX.js → chunk-XSHMRXOW.js} +6 -6
  75. package/dist/bundle/{chunk-B7U5FLPP.js → chunk-Y4AOEDGO.js} +8 -8
  76. package/dist/bundle/{chunk-4F3FQ5QX.js → chunk-YBCGG6JY.js} +3 -3
  77. package/dist/bundle/{chunk-6ZBJCBXA.js → chunk-YC3F3RCL.js} +2 -2
  78. package/dist/bundle/{chunk-MW2OS2GD.js → chunk-YFAATLLR.js} +8 -8
  79. package/dist/bundle/{chunk-AHPGTDO2.js → chunk-YGPZCVBI.js} +6 -6
  80. package/dist/bundle/{chunk-PRERT2BZ.js → chunk-YJKP6UZC.js} +1 -1
  81. package/dist/bundle/{chunk-JSAXTIRX.js → chunk-YN5K2P7M.js} +3 -2
  82. package/dist/bundle/{chunk-2CS7VHUB.js → chunk-ZGFRTWSW.js} +34 -34
  83. package/dist/bundle/{chunk-EMZ4MGPD.js → chunk-ZOVX5VVZ.js} +22 -1
  84. package/dist/bundle/command-contract-JZGX4E3W.js +37 -0
  85. package/dist/bundle/{command-server-entry-ZKWL26Q5.js → command-server-entry-FOFPJGYW.js} +25 -25
  86. package/dist/bundle/{decode-TG45PUJW.js → decode-2W6JJN3B.js} +5 -5
  87. package/dist/bundle/{dispatch-JQBAZWCL.js → dispatch-ZRVKJENQ.js} +8 -8
  88. package/dist/bundle/{echarts-AWICNZBO.js → echarts-R4BLGOSP.js} +2 -2
  89. package/dist/bundle/{embed-TN6HQUK2.js → embed-DIFO7RH4.js} +6 -6
  90. package/dist/bundle/{embedder-T3KJA3I4.js → embedder-S5FKW4XZ.js} +9 -9
  91. package/dist/bundle/{failure-I6AAF5R5.js → failure-C2B7PYPJ.js} +2 -2
  92. package/dist/bundle/{first-run-BZUITKMF.js → first-run-RNGP4IWU.js} +12 -12
  93. package/dist/bundle/first-screen-K6YMX3G5.js +37 -0
  94. package/dist/bundle/{instructions-FRJHLLZX.js → instructions-F22KNH4O.js} +1 -1
  95. package/dist/bundle/{mcp-YGOAUNC3.js → mcp-VNOYBWW2.js} +2 -2
  96. package/dist/bundle/meeting-combined-HX3LC5FD.js +24 -0
  97. package/dist/bundle/{meeting-model-TENJU3OG.js → meeting-model-P34GVZRK.js} +11 -11
  98. package/dist/bundle/{meeting-semantic-ZKOG2XMU.js → meeting-semantic-RC25X3UB.js} +6 -6
  99. package/dist/bundle/{node-3ZISJOEM.js → node-SF2NI2UT.js} +2 -2
  100. package/dist/bundle/{node-sqlite-KA35X4F4.js → node-sqlite-WH3MF6PF.js} +7 -7
  101. package/dist/bundle/{oauth-C74B6XHN.js → oauth-EWHT3YJ4.js} +7 -7
  102. package/dist/bundle/{open-CJESRWUG.js → open-LHEJSQCI.js} +5 -5
  103. package/dist/bundle/{openai-WLXOXSTV.js → openai-DDXBF7KV.js} +15 -15
  104. package/dist/bundle/{process-JV3KVGJY.js → process-TEQQZ3C5.js} +1 -1
  105. package/dist/bundle/{program-HSVLSH7A.js → program-IW3E56C2.js} +4349 -4232
  106. package/dist/bundle/{prompt-EEBVB3XG.js → prompt-6OEYPNAI.js} +5 -5
  107. package/dist/bundle/{recognize-ZFITQZ4W.js → recognize-5CRXQMAQ.js} +4 -4
  108. package/dist/bundle/{remote-RZXSYHOJ.js → remote-UZUYKGYQ.js} +9 -9
  109. package/dist/bundle/{rerank-2BHYAEO3.js → rerank-IQ6GPSJ6.js} +7 -7
  110. package/dist/bundle/{schemas-6GTYA2NR.js → schemas-7JX36UC7.js} +1 -1
  111. package/dist/bundle/{serve-G3M5H5JM.js → serve-63YMTENV.js} +9 -9
  112. package/dist/bundle/server-LKXXSTXK.js +79 -0
  113. package/dist/bundle/{server-44WJ5K2W.js → server-WQUM4JX4.js} +53 -53
  114. package/dist/bundle/{sqlite-runtime-TRISCWIG.js → sqlite-runtime-UO32UZHC.js} +6 -6
  115. package/dist/bundle/{state-BF6IMDP2.js → state-XSRJFYSU.js} +6 -6
  116. package/dist/bundle/{store-VSKYLTLH.js → store-A2J7I2NU.js} +18 -18
  117. package/dist/bundle/{store-LZPZC72J.js → store-QB5FEGT4.js} +24 -20
  118. package/dist/bundle/store-maintenance-command-TOLBEUMR.js +66 -0
  119. package/dist/bundle/surface-NURI2TAG.js +65 -0
  120. package/dist/commands/crm.d.ts +3 -0
  121. package/dist/commands/crm.d.ts.map +1 -1
  122. package/dist/commands/crm.js +33 -8
  123. package/dist/commands/crm.js.map +1 -1
  124. package/dist/commands/schedule.d.ts +3 -0
  125. package/dist/commands/schedule.d.ts.map +1 -0
  126. package/dist/commands/schedule.js +9 -0
  127. package/dist/commands/schedule.js.map +1 -0
  128. package/dist/commands/session.d.ts +2 -1
  129. package/dist/commands/session.d.ts.map +1 -1
  130. package/dist/commands/session.js +5 -1
  131. package/dist/commands/session.js.map +1 -1
  132. package/dist/config.d.ts +0 -1
  133. package/dist/config.d.ts.map +1 -1
  134. package/dist/config.js +22 -5
  135. package/dist/config.js.map +1 -1
  136. package/dist/generated/wirecat-config.d.ts.map +1 -1
  137. package/dist/generated/wirecat-config.js +175 -0
  138. package/dist/generated/wirecat-config.js.map +1 -1
  139. package/dist/hooks.d.ts.map +1 -1
  140. package/dist/hooks.js +20 -2
  141. package/dist/hooks.js.map +1 -1
  142. package/dist/identity.d.ts.map +1 -1
  143. package/dist/identity.js +4 -2
  144. package/dist/identity.js.map +1 -1
  145. package/dist/program.d.ts.map +1 -1
  146. package/dist/program.js +11 -1
  147. package/dist/program.js.map +1 -1
  148. package/dist/version.d.ts +1 -1
  149. package/dist/version.js +1 -1
  150. package/package.json +5 -4
  151. package/skills/attio-cli/SKILL.md +18 -3
  152. package/dist/bundle/agent-3FYEIRN4.js +0 -37
  153. package/dist/bundle/command-contract-N5X3UOTT.js +0 -37
  154. package/dist/bundle/first-screen-I23NJLFH.js +0 -37
  155. package/dist/bundle/meeting-combined-7ZNV4MZ2.js +0 -24
  156. package/dist/bundle/server-3ZL5TECF.js +0 -79
  157. package/dist/bundle/store-maintenance-command-IDAYDJLQ.js +0 -66
  158. package/dist/bundle/surface-OHYA3YS6.js +0 -65
package/CHANGELOG.md CHANGED
@@ -2,6 +2,51 @@
2
2
 
3
3
  Notable changes to `@wirecat/attio-cli`. One section per version, newest first.
4
4
 
5
+ ## 0.3.1 — 23.11.2026
6
+
7
+ ### Fixed
8
+
9
+ - `organizations show` and `people show` give the record's Attio description among its fields, so an agent asked
10
+ what a client does finds it.
11
+ - `people show` and `organizations show` take the `person:<id>` and `organization:<id>` a deal gives, from cli-core
12
+ 0.736.0. They answered `not_found` before.
13
+
14
+ ## 0.3.0 — 23.11.2026
15
+
16
+ ### Added
17
+
18
+ - **Deals and people are written to Attio, each change asking you first.** `deals create`, `update`, `move`, `close`
19
+ and `delete`, and `people create` and `update`, send the change to Attio and store its answer, as the other WireCat
20
+ CRM CLIs do. Each key asks at a terminal, and so does every `api` write. Without a terminal a write waits for
21
+ `--yes`. Over MCP it goes ahead, so your MCP client is what asks. A write also checks the `api` key of the operation
22
+ it sends, so `permissions.api readonly` stops it. `--email` and `--phone` replace the whole list. A deal's currency
23
+ is the workspace's, and another one is refused. A new deal with no `--owner` is yours, as Attio needs an owner on
24
+ every deal. Companies are not written here: an Attio company has no e-mail or phone attribute. Example:
25
+ `attio work deals move deal:1 --stage "In Progress"`.
26
+ - **`account remove`.** It signs a profile out and, with `--delete-data`, removes its local copy, which it refuses
27
+ while another profile here still reads that workspace. A second profile's `session start` to a workspace another
28
+ profile holds is refused (`session.duplicate`).
29
+ - **`schedule`, as in the other WireCat CRM tools.** `attio work schedule command crm --every 1h -- sync` syncs every
30
+ hour, and `schedule command crm-digest --at 08:00 -- changes list --format report` sends the morning CRM digest.
31
+
32
+ ### Changed — may break callers
33
+
34
+ - **A CRM command on a profile that is not signed in answers `session.missing`**, as every other WireCat tool does. It
35
+ answered `auth.missing`, which no other tool uses. A profile this computer does not know at all now answers
36
+ `profile.unknown` (`not_found`), as cli-core turns a `session.missing` into for an unknown profile, and names the
37
+ profiles there. The message still says how to sign in.
38
+
39
+ ### Fixed
40
+
41
+ - `deals close <deal> won` finds the won stage by its name too, in a workspace where the stage's celebration is
42
+ turned off.
43
+ - **The MCP server tells the agent about every kind of outside text it can see**: names of deals, pipelines, stages
44
+ and workspace members, e-mail addresses, phone numbers and links, the notes, e-mails, comments and transcripts the
45
+ `api` commands read, and what `search all` finds. It named only record names, attribute values and member names.
46
+ - **The skill says how signing in works**: only the owner signs in, never with the token as an argument, and which
47
+ scopes the token needs.
48
+ - **The package description names deals** beside people and companies.
49
+
5
50
  ## 0.2.2 — 19.11.2026
6
51
 
7
52
  ### 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://github.com/WireCatLabs/attio-cli/blob/main/docs/index.md">Docs</a> ·
10
- <a href="https://github.com/WireCatLabs/attio-cli/blob/main/docs/installation.md">Install</a> ·
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.** The deal commands only read, and one line keeps every write in the Attio API away
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 it asks. Or in
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 through the Attio API on this profile
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. The first line above keeps
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)
@@ -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": null,
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.2.2\n")
12
+ process.stdout.write("0.3.1\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-3FYEIRN4.js","../bundle/all-profiles-RAFO3NFW.js","../bundle/anthropic-TNR6QJGA.js","../bundle/app-server-BXVGXUGQ.js","../bundle/bun-3RTK5XYF.js","../bundle/bun-sqlite-I5K5Z2ZK.js","../bundle/decode-TG45PUJW.js","../bundle/definitions-FODOIPM2.js","../bundle/dispatch-JQBAZWCL.js","../bundle/dist-EM7KLEG4.js","../bundle/dist-PAKDDIBT.js","../bundle/echarts-AWICNZBO.js","../bundle/embed-TN6HQUK2.js","../bundle/embedder-T3KJA3I4.js","../bundle/failure-I6AAF5R5.js","../bundle/first-screen-I23NJLFH.js","../bundle/instructions-FRJHLLZX.js","../bundle/mcp-YGOAUNC3.js","../bundle/node-3ZISJOEM.js","../bundle/node-KM3CUABH.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-KA35X4F4.js","../bundle/oauth-C74B6XHN.js","../bundle/open-CJESRWUG.js","../bundle/openai-WLXOXSTV.js","../bundle/process-JV3KVGJY.js","../bundle/program-HSVLSH7A.js","../bundle/prompt-EEBVB3XG.js","../bundle/recognize-ZFITQZ4W.js","../bundle/remote-RZXSYHOJ.js","../bundle/rerank-2BHYAEO3.js","../bundle/schemas-6GTYA2NR.js","../bundle/serve-G3M5H5JM.js","../bundle/server-3ZL5TECF.js","../bundle/server-44WJ5K2W.js","../bundle/sqlite-runtime-TRISCWIG.js","../bundle/state-BF6IMDP2.js","../bundle/store-LZPZC72J.js","../bundle/store-VSKYLTLH.js","../bundle/store-maintenance-command-IDAYDJLQ.js","../bundle/surface-OHYA3YS6.js"]
31
+ const chunks = ["../bundle/agent-63P427ER.js","../bundle/all-profiles-KCZGH7JK.js","../bundle/anthropic-4HCGQIHA.js","../bundle/app-server-VSYG36ER.js","../bundle/bun-CZK3ZADI.js","../bundle/bun-sqlite-CM5FSNH3.js","../bundle/decode-2W6JJN3B.js","../bundle/definitions-FODOIPM2.js","../bundle/dispatch-ZRVKJENQ.js","../bundle/dist-EM7KLEG4.js","../bundle/dist-PAKDDIBT.js","../bundle/echarts-R4BLGOSP.js","../bundle/embed-DIFO7RH4.js","../bundle/embedder-S5FKW4XZ.js","../bundle/failure-C2B7PYPJ.js","../bundle/first-screen-K6YMX3G5.js","../bundle/instructions-F22KNH4O.js","../bundle/mcp-VNOYBWW2.js","../bundle/node-KM3CUABH.js","../bundle/node-SF2NI2UT.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-WH3MF6PF.js","../bundle/oauth-EWHT3YJ4.js","../bundle/open-LHEJSQCI.js","../bundle/openai-DDXBF7KV.js","../bundle/process-TEQQZ3C5.js","../bundle/program-IW3E56C2.js","../bundle/prompt-6OEYPNAI.js","../bundle/recognize-5CRXQMAQ.js","../bundle/remote-UZUYKGYQ.js","../bundle/rerank-IQ6GPSJ6.js","../bundle/schemas-7JX36UC7.js","../bundle/serve-63YMTENV.js","../bundle/server-LKXXSTXK.js","../bundle/server-WQUM4JX4.js","../bundle/sqlite-runtime-UO32UZHC.js","../bundle/state-XSRJFYSU.js","../bundle/store-A2J7I2NU.js","../bundle/store-QB5FEGT4.js","../bundle/store-maintenance-command-TOLBEUMR.js","../bundle/surface-NURI2TAG.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-KK3IESFZ.js";
7
+ import "./chunk-AJT4BERP.js";
8
+ import "./chunk-JLFXUXSQ.js";
9
+ import "./chunk-PO6DVZUY.js";
10
+ import "./chunk-OKK2CBVW.js";
11
+ import "./chunk-PL5P7UKW.js";
12
+ import "./chunk-A3Y5GPG3.js";
13
+ import "./chunk-5WZBGDPL.js";
14
+ import "./chunk-YBCGG6JY.js";
15
+ import "./chunk-KYAJ5AVG.js";
16
+ import "./chunk-5R255HLF.js";
17
+ import "./chunk-32BIODCI.js";
18
+ import "./chunk-7XSJ6LTE.js";
19
+ import "./chunk-UZW73WTM.js";
20
+ import "./chunk-EO3X3QWY.js";
21
+ import "./chunk-TSL3PZAZ.js";
22
+ import "./chunk-HTQ5HUXV.js";
23
+ import "./chunk-VHPNTMJJ.js";
24
+ import "./chunk-N64IK3XS.js";
25
+ import "./chunk-6WVUBU7T.js";
26
+ import "./chunk-MSASR6MQ.js";
27
+ import "./chunk-EGZ6N56Z.js";
28
+ import "./chunk-SCBLAAZU.js";
29
+ import "./chunk-DDFQEOLX.js";
30
+ import "./chunk-S4UUN6LD.js";
31
+ import "./chunk-Y5E2WNWB.js";
32
+ import "./chunk-TSHMRHL6.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-7626I3P4.js";
7
+ } from "./chunk-AV7762PN.js";
8
8
  import {
9
9
  CALLER_META_KEY,
10
10
  PROXY_CLIENT_NAME,
11
11
  callerOf
12
- } from "./chunk-AMRELFBT.js";
12
+ } from "./chunk-PO6DVZUY.js";
13
13
  import {
14
14
  InMemoryTransport,
15
15
  McpServer
16
16
  } from "./chunk-PL5P7UKW.js";
17
- import "./chunk-2JB5XD5R.js";
18
- import "./chunk-LIIOT3AN.js";
19
- import "./chunk-AV2ZJ4WX.js";
20
- import "./chunk-3BM6KBWP.js";
17
+ import "./chunk-5WZBGDPL.js";
18
+ import "./chunk-EO3X3QWY.js";
19
+ import "./chunk-VHPNTMJJ.js";
20
+ import "./chunk-SCBLAAZU.js";
21
21
  import {
22
22
  errorObjectOf,
23
23
  mcpErrorResult
24
- } from "./chunk-3LMW7U7F.js";
24
+ } from "./chunk-DDFQEOLX.js";
25
25
  import "./chunk-S4UUN6LD.js";
26
26
  import "./chunk-Y5E2WNWB.js";
27
27
  import {
28
28
  CliError
29
- } from "./chunk-HM6AMYHR.js";
29
+ } from "./chunk-TSHMRHL6.js";
30
30
  import {
31
31
  __name
32
32
  } from "./chunk-ZVVMGPBJ.js";
33
33
 
34
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
34
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/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-G3M5H5JM.js");
293
+ const { serveOverHttp } = await import("./serve-63YMTENV.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-ZI3IRII7.js";
8
+ } from "./chunk-U3Y2AC2K.js";
9
9
  import {
10
10
  Anthropic
11
11
  } from "./chunk-XQUUANA2.js";
12
- import "./chunk-3BM6KBWP.js";
13
- import "./chunk-3LMW7U7F.js";
12
+ import "./chunk-SCBLAAZU.js";
13
+ import "./chunk-DDFQEOLX.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-HM6AMYHR.js";
25
+ import "./chunk-TSHMRHL6.js";
26
26
  import {
27
27
  __name
28
28
  } from "./chunk-ZVVMGPBJ.js";
29
29
 
30
- // node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/models/anthropic.js
30
+ // node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/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"]) })),