@wirecat/hubspot-cli 0.5.0 → 0.6.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 +28 -0
- package/README.md +73 -52
- package/contracts/wirecat.json +39 -13
- package/dist/bin/hubspot.js +2 -2
- package/dist/bundle/agent-XB35QVOK.js +40 -0
- package/dist/bundle/{all-profiles-PGFXLOKN.js → all-profiles-HFVXPMF6.js} +11 -11
- package/dist/bundle/{anthropic-LPOJ3TYF.js → anthropic-VE6WR6IN.js} +5 -5
- package/dist/bundle/{app-server-EYWGCSRY.js → app-server-GZ4DCQK7.js} +68 -68
- package/dist/bundle/{bun-ZJOOKIIW.js → bun-2DHMKD34.js} +2 -2
- package/dist/bundle/{bun-sqlite-Y6KKH2OW.js → bun-sqlite-T5XTYL7L.js} +6 -6
- package/dist/bundle/{chunk-WQZENAPE.js → chunk-24HPBWKZ.js} +63 -4
- package/dist/bundle/{chunk-STTHRJBX.js → chunk-2I2KBCS6.js} +5 -5
- package/dist/bundle/{chunk-AIQT2GGK.js → chunk-2K5BAY32.js} +19 -19
- package/dist/bundle/{chunk-WEM4FZPM.js → chunk-2VUIJ5XB.js} +2 -2
- package/dist/bundle/{chunk-KRTXJMCD.js → chunk-3HS7JTPI.js} +27 -177
- package/dist/bundle/{chunk-BCW7DAVV.js → chunk-3TLNO3VM.js} +2 -2
- package/dist/bundle/{chunk-AVBKXCEY.js → chunk-3W5R3XAH.js} +8 -8
- package/dist/bundle/{chunk-QDNYJOWJ.js → chunk-3WG4MTQI.js} +1 -1
- package/dist/bundle/{chunk-HPRGUUHY.js → chunk-3YTTWJKL.js} +1 -1
- package/dist/bundle/{chunk-ZKPM53YG.js → chunk-4UEYVM46.js} +4 -4
- package/dist/bundle/{chunk-NKIKMG33.js → chunk-5ILCAAY4.js} +35 -35
- package/dist/bundle/{chunk-34HDRZIL.js → chunk-5IPB5WLB.js} +12 -12
- package/dist/bundle/{chunk-QPTHEZZ5.js → chunk-5NIIXJV3.js} +2 -2
- package/dist/bundle/{chunk-MPNMEWHA.js → chunk-5O5WYSSO.js} +1900 -650
- package/dist/bundle/{chunk-MPQ4SPZG.js → chunk-5VTKBGPW.js} +74 -31
- package/dist/bundle/{chunk-QIHJKE4K.js → chunk-5WDNG4QE.js} +7 -7
- package/dist/bundle/{chunk-OFOA6VJ2.js → chunk-67YPTVGP.js} +3 -3
- package/dist/bundle/{chunk-DEUCWBBH.js → chunk-6DABKZYH.js} +70 -11
- package/dist/bundle/{chunk-VIJV474N.js → chunk-745FMNI5.js} +1 -1
- package/dist/bundle/{chunk-KXWRVLSU.js → chunk-AKSWXRIU.js} +1 -1
- package/dist/bundle/{chunk-PMGAU6AP.js → chunk-AP3CWDRK.js} +2 -2
- package/dist/bundle/{chunk-5UPNDUAA.js → chunk-BM5F2ZNI.js} +2 -2
- package/dist/bundle/{chunk-EPBHJMF6.js → chunk-BU5CEMUH.js} +13 -13
- package/dist/bundle/{chunk-6PWRJGX4.js → chunk-CTN4DW2F.js} +4 -4
- package/dist/bundle/{chunk-CWCJEAHZ.js → chunk-CU76ZACK.js} +3 -3
- package/dist/bundle/{chunk-4RZ4DUQT.js → chunk-DIKUPU3T.js} +3 -3
- package/dist/bundle/{chunk-POTS24SH.js → chunk-E27NRLJZ.js} +18 -18
- package/dist/bundle/{chunk-BH5FEFZB.js → chunk-EB53G4HO.js} +2 -2
- package/dist/bundle/{chunk-DJUUQG6Y.js → chunk-EJZIEBAR.js} +8 -8
- package/dist/bundle/{chunk-BW7NPFVC.js → chunk-G6LDK6DJ.js} +7 -7
- package/dist/bundle/{chunk-V5VMAHDQ.js → chunk-GEJI27GN.js} +6 -6
- package/dist/bundle/{chunk-YQBGPBYN.js → chunk-GHXTNKX2.js} +2 -2
- package/dist/bundle/{chunk-5HGS65I3.js → chunk-GR4HZBWO.js} +2 -2
- package/dist/bundle/{chunk-I334AT2H.js → chunk-GWXTVO43.js} +7 -7
- package/dist/bundle/{chunk-Z7FC6VVM.js → chunk-H4W2OO35.js} +1 -1
- package/dist/bundle/{chunk-KAW5VEER.js → chunk-H5HBZCEJ.js} +8 -8
- package/dist/bundle/{chunk-VCYUYFIV.js → chunk-HX2BE7DO.js} +1 -1
- package/dist/bundle/{chunk-3CHJYWA2.js → chunk-HYDXA624.js} +6 -6
- package/dist/bundle/{chunk-DDMBPYHP.js → chunk-HZIGGAC7.js} +2 -2
- package/dist/bundle/{chunk-RJBKDZGV.js → chunk-I75ON7VM.js} +8 -8
- package/dist/bundle/{chunk-ODRF47VS.js → chunk-ID4GJFE7.js} +8 -8
- package/dist/bundle/{chunk-LWS5AO3H.js → chunk-J2SCELII.js} +16 -16
- package/dist/bundle/{chunk-R7ZOCDNG.js → chunk-J4FXBF44.js} +1 -1
- package/dist/bundle/{chunk-QCHW7R7L.js → chunk-J76CMNWQ.js} +1 -1
- package/dist/bundle/{chunk-AHZQMSXW.js → chunk-JDCFHZNU.js} +8 -8
- package/dist/bundle/{chunk-K3WCBNH4.js → chunk-JFLKTYH5.js} +6 -6
- package/dist/bundle/{chunk-5WADRBQG.js → chunk-K4Y2ZWOO.js} +3 -3
- package/dist/bundle/{chunk-PPQRWFJZ.js → chunk-KDW7B7AR.js} +5 -5
- package/dist/bundle/{chunk-YZ5MULJM.js → chunk-KKMOKSS5.js} +3 -3
- package/dist/bundle/{chunk-MFWECOO3.js → chunk-LHY5XGIR.js} +59 -59
- package/dist/bundle/{chunk-MW4ROXQ6.js → chunk-LTU4BQ4S.js} +3 -3
- package/dist/bundle/{chunk-A5UTNGI4.js → chunk-M3LRSN6J.js} +13 -13
- package/dist/bundle/{chunk-RZS7N3OZ.js → chunk-MJ24YFXZ.js} +7 -7
- package/dist/bundle/{chunk-HBFSGL5E.js → chunk-MSQGZHKM.js} +32 -28
- package/dist/bundle/{chunk-OCISQFMW.js → chunk-NQOQG7L3.js} +1 -1
- package/dist/bundle/{chunk-QLFD3MOL.js → chunk-PDVMYIBP.js} +1492 -733
- package/dist/bundle/{chunk-NEDV6RCQ.js → chunk-PR7ZDMGF.js} +3 -3
- package/dist/bundle/{chunk-L6WSFVTD.js → chunk-PZ3QJDTD.js} +5 -5
- package/dist/bundle/{chunk-LXLXF2OE.js → chunk-Q6AC7WLD.js} +3 -3
- package/dist/bundle/{chunk-WXEN6AXQ.js → chunk-QH47G73D.js} +3 -3
- package/dist/bundle/{chunk-23CLSKY7.js → chunk-QK5HQUHB.js} +3 -3
- package/dist/bundle/{chunk-KC4ILAKO.js → chunk-R26OEZOL.js} +1 -1
- package/dist/bundle/{chunk-NLPGUYCG.js → chunk-RLK2EGQD.js} +21 -15
- package/dist/bundle/{chunk-SBNZYRVZ.js → chunk-RLNPTES2.js} +4 -4
- package/dist/bundle/{chunk-K5S7MKBB.js → chunk-T4MZJMEJ.js} +17 -17
- package/dist/bundle/{chunk-MGMLSPIY.js → chunk-TAPQZYXY.js} +1 -1
- package/dist/bundle/{chunk-HPSESLOZ.js → chunk-TCSVW7BA.js} +1 -1
- package/dist/bundle/{chunk-7Q64D56R.js → chunk-THGAVPRA.js} +11 -11
- package/dist/bundle/{chunk-BVK4GUUI.js → chunk-TRLV5NWZ.js} +1706 -1820
- package/dist/bundle/{chunk-WDR77HPO.js → chunk-TT75CEYZ.js} +8 -1
- package/dist/bundle/{chunk-L4SVHQ7H.js → chunk-TXO4CJW3.js} +7 -7
- package/dist/bundle/{chunk-MKBQFD37.js → chunk-UCGZRZJA.js} +1 -1
- package/dist/bundle/{chunk-5ENY4POG.js → chunk-UVGJL753.js} +61 -61
- package/dist/bundle/{chunk-GZJP3KQQ.js → chunk-UZ2CL435.js} +1 -1
- package/dist/bundle/{chunk-YJLJZMEA.js → chunk-V7N2K5OT.js} +33 -30
- package/dist/bundle/{chunk-MENMD5Y5.js → chunk-VR2CJFVL.js} +8 -8
- package/dist/bundle/{chunk-EGR3YUWD.js → chunk-WASBOYI2.js} +4 -4
- package/dist/bundle/{chunk-NEP67GLY.js → chunk-WE4JSHIG.js} +6 -6
- package/dist/bundle/{chunk-ABPZOI3C.js → chunk-X2QRCFGJ.js} +4 -4
- package/dist/bundle/{chunk-ZLWQPUPB.js → chunk-XRFYVVFU.js} +2 -2
- package/dist/bundle/{chunk-6S422S22.js → chunk-YDG5FIQB.js} +7 -9
- package/dist/bundle/{chunk-ZMHD76RE.js → chunk-YIH2A2PQ.js} +2 -2
- package/dist/bundle/{chunk-7RIE3DAW.js → chunk-ZERQSELP.js} +189 -158
- package/dist/bundle/{chunk-BGUGTMTS.js → chunk-ZKTYTOF4.js} +8 -8
- package/dist/bundle/command-contract-5FXCYQUS.js +40 -0
- package/dist/bundle/{command-server-entry-B7S5AUE6.js → command-server-entry-H6IAJNOF.js} +28 -28
- package/dist/bundle/{decode-7L33C5UJ.js → decode-TR2EC46M.js} +5 -5
- package/dist/bundle/{dispatch-BIGHHSXV.js → dispatch-B2EP6DDT.js} +8 -8
- package/dist/bundle/{echarts-CWR3QH55.js → echarts-7OP7I5B2.js} +2 -2
- package/dist/bundle/{embed-GXQ3HOQ6.js → embed-FLGS4LN7.js} +6 -6
- package/dist/bundle/{embedder-47OYXGLS.js → embedder-JIXQXCP3.js} +9 -9
- package/dist/bundle/{failure-VMZOU5GZ.js → failure-AOACEURF.js} +2 -2
- package/dist/bundle/{first-run-YVQQOUQG.js → first-run-XJ2NWIK2.js} +12 -12
- package/dist/bundle/first-screen-U73G5CMM.js +40 -0
- package/dist/bundle/hubspot.js +27 -27
- package/dist/bundle/{instructions-QFS2MPK3.js → instructions-PYCYV6QE.js} +1 -1
- package/dist/bundle/{mcp-Z2KZNCXB.js → mcp-ZNULRPZ4.js} +2 -2
- package/dist/bundle/meeting-combined-IHTM5H5B.js +25 -0
- package/dist/bundle/{meeting-model-GLF2HVJG.js → meeting-model-2PA5WJY5.js} +11 -11
- package/dist/bundle/{meeting-semantic-RG56F4YX.js → meeting-semantic-5IH63QFV.js} +6 -6
- package/dist/bundle/{node-3TSWTXGI.js → node-6GTNIVBM.js} +2 -2
- package/dist/bundle/{node-sqlite-UPQCG7DJ.js → node-sqlite-FBCEHPNT.js} +7 -7
- package/dist/bundle/{oauth-MCVEENW3.js → oauth-BFP4SCL5.js} +7 -7
- package/dist/bundle/{open-JMUTKUYJ.js → open-MLU4MHGO.js} +5 -5
- package/dist/bundle/{openai-HT7YDOK7.js → openai-R7WJI6SO.js} +15 -15
- package/dist/bundle/{process-7RC6DAGM.js → process-NMNQLJHZ.js} +1 -1
- package/dist/bundle/{program-3DLBMOEJ.js → program-Z735HPFG.js} +474 -320
- package/dist/bundle/{prompt-7EROPXPF.js → prompt-A6RM55Q4.js} +5 -5
- package/dist/bundle/{recognize-B232GXD2.js → recognize-ORRDV45M.js} +4 -4
- package/dist/bundle/{remote-HGV64VRC.js → remote-UF3WSC4X.js} +9 -9
- package/dist/bundle/{rerank-5S6TDXHD.js → rerank-ZSJORUGH.js} +7 -7
- package/dist/bundle/{schemas-SB42IXEX.js → schemas-EXBNVPMI.js} +1 -1
- package/dist/bundle/{serve-D2WFCV6Z.js → serve-4KBJ6SIA.js} +9 -9
- package/dist/bundle/{server-4AXPTJPV.js → server-IFK4S6LJ.js} +60 -60
- package/dist/bundle/server-MNUAZWTN.js +86 -0
- package/dist/bundle/source-PBCQAG4C.js +426 -0
- package/dist/bundle/{sqlite-runtime-DAFMZNLI.js → sqlite-runtime-XPDUWOPG.js} +6 -6
- package/dist/bundle/{state-7OEBDXVV.js → state-4M26H7NL.js} +6 -6
- package/dist/bundle/{store-2ZWSWF76.js → store-3W4ZOOIB.js} +28 -24
- package/dist/bundle/store-CDY2PW6J.js +34 -0
- package/dist/bundle/{store-KC6US326.js → store-ICTY3RIF.js} +22 -22
- package/dist/bundle/store-maintenance-command-Y7TC3I43.js +73 -0
- package/dist/bundle/surface-4LNDJZD2.js +72 -0
- package/dist/bundle/writer-WGHWQTC2.js +86 -0
- package/dist/commands/account.d.ts +3 -2
- package/dist/commands/account.d.ts.map +1 -1
- package/dist/commands/account.js +31 -78
- package/dist/commands/account.js.map +1 -1
- package/dist/commands/crm-shared.d.ts.map +1 -1
- package/dist/commands/crm-shared.js +2 -0
- package/dist/commands/crm-shared.js.map +1 -1
- package/dist/commands/session.d.ts +0 -3
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +4 -31
- package/dist/commands/session.js.map +1 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +16 -10
- package/dist/config.js.map +1 -1
- package/dist/crm/activities.d.ts +6 -1
- package/dist/crm/activities.d.ts.map +1 -1
- package/dist/crm/activities.js +36 -0
- package/dist/crm/activities.js.map +1 -1
- package/dist/crm/writer.d.ts +1 -1
- package/dist/crm/writer.d.ts.map +1 -1
- package/dist/crm/writer.js +69 -1
- package/dist/crm/writer.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +0 -2
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +0 -2
- package/dist/reasons.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/hubspot-cli/SKILL.md +10 -5
- package/skills/hubspot-cli/references/api/api-basic.md +2 -2
- package/skills/hubspot-cli/references/api/api-batch.md +2 -2
- package/dist/bundle/agent-RBQMA24N.js +0 -40
- package/dist/bundle/command-contract-O2UKYHLD.js +0 -40
- package/dist/bundle/first-screen-TU3KE2B5.js +0 -40
- package/dist/bundle/meeting-combined-WBEOLQMP.js +0 -25
- package/dist/bundle/server-FFHVNABP.js +0 -86
- package/dist/bundle/source-DF63EC2B.js +0 -945
- package/dist/bundle/store-Q3ZKD4FJ.js +0 -34
- package/dist/bundle/store-maintenance-command-24A4GBRP.js +0 -73
- package/dist/bundle/surface-SPTM57EP.js +0 -72
- package/dist/bundle/writer-EQQ55HOS.js +0 -86
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,34 @@
|
|
|
2
2
|
|
|
3
3
|
Notable changes to `@wirecat/hubspot-cli`. One section per version, newest first.
|
|
4
4
|
|
|
5
|
+
## 0.6.0 — 23.11.2026
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- `activities create comment|task` adds a note or a task to a deal, a contact or a company, and `activities close`
|
|
10
|
+
marks a task done, through cli-core's CRM activity writes. A note's and a task's text keeps its lines.
|
|
11
|
+
|
|
12
|
+
### Changed — may break callers
|
|
13
|
+
|
|
14
|
+
- **`account remove` and the check against a second sign-in are cli-core's shared CRM ones** (`@wirecat/cli-core`
|
|
15
|
+
0.722.0). The reasons stay `account-remove.account-shared` and `session.duplicate`, with the same details, and a
|
|
16
|
+
dry run still warns. The refusal now says `HubSpot account <id>`. `account remove` also forgets an
|
|
17
|
+
`oauth:hubspot:<profile>` keyring entry, which hubspot never writes today.
|
|
18
|
+
- **`account remove --delete-data` refuses when hubspot cannot tell which account another profile holds**
|
|
19
|
+
(`account-remove.account-unknown`, detail `profile`): a profile whose saved sign-in is unreadable and that
|
|
20
|
+
`session start` never remembered. `--keep-data` still removes.
|
|
21
|
+
- **`session start` refuses a profile named `files` or `foreign-contacts`** (`profile.reserved`): every account
|
|
22
|
+
shares those folders in the state folder.
|
|
23
|
+
|
|
24
|
+
### Fixed
|
|
25
|
+
|
|
26
|
+
- **`account remove` and `account rename` of a profile that does not exist fail the same way, with
|
|
27
|
+
`profile.unknown`.** They answered with two different reasons for one failure (cli-core 0.721.0).
|
|
28
|
+
- `api notes-create`, `api tasks-create` and their batch creates also check `activities.create`, so denying it stops a
|
|
29
|
+
note or a task on every path.
|
|
30
|
+
- The skill named a group `api-<object>` that does not exist; it names the four real groups and the ids a note on a
|
|
31
|
+
deal takes.
|
|
32
|
+
|
|
5
33
|
## 0.5.0 — 21.11.2026
|
|
6
34
|
|
|
7
35
|
### Changed — may break callers
|
package/README.md
CHANGED
|
@@ -10,13 +10,14 @@
|
|
|
10
10
|
</p>
|
|
11
11
|
|
|
12
12
|
<p align="center">
|
|
13
|
-
<a href="https://
|
|
14
|
-
<a href="https://
|
|
13
|
+
<a href="https://wirecat.dev/en/docs/hubspot">Docs</a> ·
|
|
14
|
+
<a href="https://wirecat.dev/en/docs/hubspot/installation">Install</a> ·
|
|
15
15
|
<a href="https://github.com/WireCatLabs/hubspot-cli/blob/main/docs/usage.md">Usage</a> ·
|
|
16
16
|
<a href="https://discord.gg/DebENqbRrJ">Discord</a>
|
|
17
17
|
</p>
|
|
18
18
|
|
|
19
19
|
<p align="center">
|
|
20
|
+
<a href="https://www.npmjs.com/package/@wirecat/hubspot-cli"><img src="https://img.shields.io/npm/v/@wirecat/hubspot-cli" alt="npm"></a>
|
|
20
21
|
<a href="https://github.com/WireCatLabs/hubspot-cli/actions/workflows/ci.yml"><img src="https://github.com/WireCatLabs/hubspot-cli/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
|
|
21
22
|
<a href="https://github.com/WireCatLabs/hubspot-cli/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-Apache--2.0-blue" alt="License: Apache 2.0"></a>
|
|
22
23
|
</p>
|
|
@@ -26,7 +27,8 @@
|
|
|
26
27
|
- **The morning starts with what changed.** `changes list` shows what each sync saw change, and a schedule sends it to
|
|
27
28
|
you.
|
|
28
29
|
- **Writes when you want them.** Create and update deals, contacts and companies, move a deal or close it. The key
|
|
29
|
-
stays read only until you give it the write scopes, and a delete asks first.
|
|
30
|
+
stays read only until you give it the write scopes, and a delete asks first in a terminal. Over MCP it runs without
|
|
31
|
+
asking.
|
|
30
32
|
|
|
31
33
|
```text
|
|
32
34
|
You: What changed in the CRM since yesterday?
|
|
@@ -40,6 +42,47 @@ Agent: (runs hubspot work deals show deal:12)
|
|
|
40
42
|
|
|
41
43
|
*Invented deals, illustrative output.*
|
|
42
44
|
|
|
45
|
+
## What you get
|
|
46
|
+
|
|
47
|
+
- **Know the pipeline.** Open deals with their stage, amount and owner, the board of each pipeline and how many deals
|
|
48
|
+
stand in each stage.
|
|
49
|
+
- **See what changed.** Deals made, moved, won and lost, given another owner, and new activities, since any time you
|
|
50
|
+
name.
|
|
51
|
+
- **Find a client.** Any contact or company in the account, read live, with its phones and e-mails.
|
|
52
|
+
- **Follow the work on a deal.** Notes, calls, e-mails, meetings and tasks, copied with the deals.
|
|
53
|
+
- **Change a deal from the chat.** Create a deal, rename it, move it to the next stage, close it won or lost, or add
|
|
54
|
+
a contact or a company, and the copy takes the change at once.
|
|
55
|
+
- **Reach past the copy.** Every operation of HubSpot's CRM API is a command of its own: notes, tasks, tickets,
|
|
56
|
+
associations and merges included.
|
|
57
|
+
- **Search across your work.** A deal turns up next to the chat where you agreed on it and the meeting where you
|
|
58
|
+
discussed it, if you use the other WireCat tools.
|
|
59
|
+
|
|
60
|
+
```text
|
|
61
|
+
You: Which deals are waiting in Contract sent?
|
|
62
|
+
Agent: (runs hubspot work deals list stage:"Contract sent")
|
|
63
|
+
· "Example LLC kitchen", 15 000 EUR, owner Anna Example
|
|
64
|
+
· "Sample Inc renewal", 4 200 EUR, owner Bob Sample
|
|
65
|
+
You: What changed since yesterday?
|
|
66
|
+
Agent: (runs hubspot work changes list "at>=1d")
|
|
67
|
+
"Example Corp fit-out" moved to Closed won, and one new deal came in.
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
*Invented deals, illustrative output.*
|
|
71
|
+
|
|
72
|
+
## Why hubspot
|
|
73
|
+
|
|
74
|
+
- **A copy of your CRM on your computer.** `sync` copies your deals with their contacts and companies, and the next
|
|
75
|
+
sync takes only the changes. Lists, the pipeline and search then answer with no request to HubSpot, also offline.
|
|
76
|
+
- **The key stays in the system keyring.** It never appears in output, errors or run records, and no command takes it
|
|
77
|
+
as an argument.
|
|
78
|
+
- **A permission on every command.** Each command and each operation of HubSpot's API has its own level, so you
|
|
79
|
+
decide what an agent may read and change.
|
|
80
|
+
- **Your CRM beside your other context.** Deals sit in the same local store as your messages, notes and meetings from
|
|
81
|
+
the other WireCat tools, and `search all` finds them together.
|
|
82
|
+
- **As many accounts as you need.** Each HubSpot account is a profile you name in the command, and none is ever picked
|
|
83
|
+
for you.
|
|
84
|
+
- **Free and open source.** Apache 2.0.
|
|
85
|
+
|
|
43
86
|
## Quick start
|
|
44
87
|
|
|
45
88
|
A super admin of the HubSpot account makes one key first: a **service key** (Development → Keys → Service keys) or
|
|
@@ -57,6 +100,9 @@ To let `hubspot` change records too, add `crm.objects.contacts.write`, `crm.obje
|
|
|
57
100
|
Add `crm.objects.leads.read` on Sales Hub Professional or Enterprise to read leads, and `tickets` to read tickets
|
|
58
101
|
through `api`. A scope you leave out fails only the commands that need it.
|
|
59
102
|
|
|
103
|
+
Then, in [WireCat Desktop](https://wirecat.dev/en/download), add HubSpot from the tool list and paste the key when
|
|
104
|
+
it asks. Or in a terminal:
|
|
105
|
+
|
|
60
106
|
```sh
|
|
61
107
|
npm install -g @wirecat/hubspot-cli
|
|
62
108
|
hubspot skill install # the agent skill, for Claude Code, Codex and Gemini CLI
|
|
@@ -69,24 +115,9 @@ hubspot work deals list status:open
|
|
|
69
115
|
account. You need Node.js 22.16 or a later 22.x, or Node.js 24 or later. `hubspot doctor` shows what is set up and
|
|
70
116
|
needs no network.
|
|
71
117
|
|
|
72
|
-
More: [install and connect](docs/installation.md)
|
|
73
|
-
|
|
74
|
-
## What you can do
|
|
118
|
+
More: [install and connect](https://github.com/WireCatLabs/hubspot-cli/blob/main/docs/installation.md)
|
|
75
119
|
|
|
76
|
-
|
|
77
|
-
stand in each stage.
|
|
78
|
-
- **See what changed.** Deals made, moved, won and lost, given another owner, and new activities, since any time you
|
|
79
|
-
name.
|
|
80
|
-
- **Find a client.** Any contact or company in the account, read live, with its phones and e-mails.
|
|
81
|
-
- **Follow the work on a deal.** Notes, calls, e-mails, meetings and tasks, copied with the deals.
|
|
82
|
-
- **Change a deal from the chat.** Create a deal, rename it, move it to the next stage, close it won or lost, or add
|
|
83
|
-
a contact or a company, and the copy takes the change at once.
|
|
84
|
-
- **Reach past the copy.** Every operation of HubSpot's CRM API is a command of its own: notes, tasks, tickets,
|
|
85
|
-
associations and merges included.
|
|
86
|
-
- **Search across your work.** A deal turns up next to the chat where you agreed on it and the meeting where you
|
|
87
|
-
discussed it, if you use the other WireCat tools.
|
|
88
|
-
|
|
89
|
-
## For AI agents
|
|
120
|
+
## Use it with your agent
|
|
90
121
|
|
|
91
122
|
Ask in plain words. The agent picks the commands.
|
|
92
123
|
|
|
@@ -107,23 +138,9 @@ computer, and the writes to HubSpot, which only a key with write scopes can make
|
|
|
107
138
|
agent marked as untrusted, so the agent reads it as data, never as instructions. The sign-in commands are not offered
|
|
108
139
|
over MCP.
|
|
109
140
|
|
|
110
|
-
More: [agents and MCP](docs/mcp.md)
|
|
111
|
-
|
|
112
|
-
## Why hubspot
|
|
113
|
-
|
|
114
|
-
- **A copy of your CRM on your computer.** `sync` copies your deals with their contacts and companies, and the next
|
|
115
|
-
sync takes only the changes. Lists, the pipeline and search then answer with no request to HubSpot, also offline.
|
|
116
|
-
- **The key stays in the system keyring.** It never appears in output, errors or run records, and no command takes it
|
|
117
|
-
as an argument.
|
|
118
|
-
- **A permission on every command.** Each command and each operation of HubSpot's API has its own level, so you
|
|
119
|
-
decide what an agent may read and change.
|
|
120
|
-
- **Your CRM beside your other context.** Deals sit in the same local store as your messages, notes and meetings from
|
|
121
|
-
the other WireCat tools, and `search all` finds them together.
|
|
122
|
-
- **As many accounts as you need.** Each HubSpot account is a profile you name in the command, and none is ever picked
|
|
123
|
-
for you.
|
|
124
|
-
- **Free and open source.** Apache 2.0.
|
|
141
|
+
More: [agents and MCP](https://github.com/WireCatLabs/hubspot-cli/blob/main/docs/mcp.md)
|
|
125
142
|
|
|
126
|
-
##
|
|
143
|
+
## What it can do
|
|
127
144
|
|
|
128
145
|
### Deals and the pipeline
|
|
129
146
|
|
|
@@ -151,21 +168,25 @@ hubspot work organizations update 4021 --phone "+34 600 000 000"
|
|
|
151
168
|
|
|
152
169
|
```sh
|
|
153
170
|
hubspot work activities list # notes, calls, e-mails, meetings and tasks
|
|
171
|
+
hubspot work activities create comment --subject deal:12 --text "Agreed on the price"
|
|
172
|
+
hubspot work activities create task --subject deal:12 --title "Send the contract" --due 2026-12-01
|
|
173
|
+
hubspot work activities close tasks:4021 # the task is done
|
|
154
174
|
hubspot work changes list "at>=1d" # what changed in the last day
|
|
155
175
|
```
|
|
156
176
|
|
|
157
|
-
Activities are copied once you turn on the activities setting. `activities list` names the setting.
|
|
177
|
+
Activities are copied once you turn on the activities setting. `activities list` names the setting. A note or a
|
|
178
|
+
task is written either way.
|
|
158
179
|
|
|
159
180
|
### Any operation of the API
|
|
160
181
|
|
|
161
182
|
```sh
|
|
162
183
|
hubspot work api list # every operation, without calling HubSpot
|
|
163
184
|
hubspot work api deals-list --limit 5 # one of them
|
|
164
|
-
hubspot work api
|
|
185
|
+
hubspot work api tickets-create --body-file ticket.json # a ticket: a write, which asks first
|
|
165
186
|
```
|
|
166
187
|
|
|
167
188
|
`api` offers every operation of HubSpot's CRM API version 2026-03, from its 15 specs, each with its own permission:
|
|
168
|
-
reads, writes and deletes.
|
|
189
|
+
reads, writes and deletes. Tickets and leads are written here.
|
|
169
190
|
|
|
170
191
|
### With your other sources
|
|
171
192
|
|
|
@@ -173,9 +194,9 @@ reads, writes and deletes. Notes, tasks and tickets are written here.
|
|
|
173
194
|
hubspot work search all "Example LLC" # the deal beside your other WireCat data
|
|
174
195
|
```
|
|
175
196
|
|
|
176
|
-
More: [use it](docs/usage.md) · [command reference](docs/commands.md)
|
|
197
|
+
More: [use it](https://github.com/WireCatLabs/hubspot-cli/blob/main/docs/usage.md) · [command reference](https://github.com/WireCatLabs/hubspot-cli/blob/main/docs/commands.md)
|
|
177
198
|
|
|
178
|
-
|
|
199
|
+
## How it works
|
|
179
200
|
|
|
180
201
|
- **A key, not a user.** A service key or a private app token belongs to the account, not to a person. `hubspot`
|
|
181
202
|
copies the whole account, and `owner:me` names nobody: filter by `owner:<owner id>` from `users list`.
|
|
@@ -197,7 +218,7 @@ deleting its copy of the CRM.
|
|
|
197
218
|
|
|
198
219
|
A second profile that signs in to the same HubSpot account is refused, so one copy is never synced twice.
|
|
199
220
|
|
|
200
|
-
More: [sign in](docs/installation.md#sign-in) · [profiles](docs/usage.md#the-profile-comes-first)
|
|
221
|
+
More: [sign in](https://github.com/WireCatLabs/hubspot-cli/blob/main/docs/installation.md#sign-in) · [profiles](https://github.com/WireCatLabs/hubspot-cli/blob/main/docs/usage.md#the-profile-comes-first)
|
|
201
222
|
|
|
202
223
|
## Settings and permissions
|
|
203
224
|
|
|
@@ -205,7 +226,7 @@ Each profile has a permission level for every command and every API operation: `
|
|
|
205
226
|
A command's key is its name, such as `deals.list`. An API operation's key is `api.<command>`, such as
|
|
206
227
|
`api.deals-search`, and `api` covers them all.
|
|
207
228
|
|
|
208
|
-
Changing a deal, contact or company with its command goes ahead
|
|
229
|
+
Changing a deal, contact or company with its command goes ahead, and deleting one asks. An `api` call on deals, contacts
|
|
209
230
|
or companies checks the key of the command that does the same, so `deals.update deny` or `people deny` holds on both
|
|
210
231
|
paths, as in amoCRM and b24. Another `api` write also checks its group's `.write`, such as `notes.write`, and every
|
|
211
232
|
delete its `<group>.delete`: both ask. A key belongs to the account, not to a person, so giving a record an owner checks
|
|
@@ -220,14 +241,14 @@ Over MCP nobody is there to answer, so `ask` lets the command run. Set a key to
|
|
|
220
241
|
agent. `hubspot work mcp serve --permission people.list=deny` makes a key stricter for one server only, never looser.
|
|
221
242
|
`WCHUBSPOT_READ_ONLY=1` refuses every write.
|
|
222
243
|
|
|
223
|
-
More: [settings and permissions](docs/permissions.md)
|
|
244
|
+
More: [settings and permissions](https://github.com/WireCatLabs/hubspot-cli/blob/main/docs/permissions.md)
|
|
224
245
|
|
|
225
246
|
## Limits
|
|
226
247
|
|
|
227
248
|
- `hubspot` is tested against a fake account built from HubSpot's API reference, and each release is checked against
|
|
228
249
|
a HubSpot test account.
|
|
229
250
|
- A contact keeps one e-mail and two numbers (phone and mobile), and a company one number and no e-mail: a longer
|
|
230
|
-
list is refused. Leads,
|
|
251
|
+
list is refused. Leads, tickets and a deal's contacts and company are written through `api`.
|
|
231
252
|
- HubSpot takes no idempotency key: a write that ended in `outcome_unknown` may have happened. Check before repeating.
|
|
232
253
|
- Tickets are read and written only through `api`, not copied.
|
|
233
254
|
- Leads need Sales Hub Professional or Enterprise.
|
|
@@ -239,7 +260,7 @@ More: [settings and permissions](docs/permissions.md)
|
|
|
239
260
|
The key works like a password: anyone who has it can read what its scopes allow. `hubspot` keeps it in the system
|
|
240
261
|
keyring and never prints it. `hubspot` cannot revoke a key, so after a leak delete or rotate it in HubSpot.
|
|
241
262
|
|
|
242
|
-
More: [security](docs/security.md) · Report a vulnerability: [SECURITY.md](SECURITY.md)
|
|
263
|
+
More: [security](https://github.com/WireCatLabs/hubspot-cli/blob/main/docs/security.md) · Report a vulnerability: [SECURITY.md](https://github.com/WireCatLabs/hubspot-cli/blob/main/SECURITY.md)
|
|
243
264
|
|
|
244
265
|
## When something goes wrong
|
|
245
266
|
|
|
@@ -248,14 +269,14 @@ hubspot doctor # what is set up, without connecting
|
|
|
248
269
|
hubspot work session status --check # whether the key works, and for which account
|
|
249
270
|
```
|
|
250
271
|
|
|
251
|
-
More: [troubleshooting](docs/troubleshooting.md) · Ask on [Discord](https://discord.gg/DebENqbRrJ) · Bugs go to this
|
|
272
|
+
More: [troubleshooting](https://github.com/WireCatLabs/hubspot-cli/blob/main/docs/troubleshooting.md) · Ask on [Discord](https://discord.gg/DebENqbRrJ) · Bugs go to this
|
|
252
273
|
repository's [issues](https://github.com/WireCatLabs/hubspot-cli/issues).
|
|
253
274
|
|
|
254
275
|
## Documentation
|
|
255
276
|
|
|
256
|
-
Every page is in [docs/](docs/index.md): [install](docs/installation.md), [use it](docs/usage.md),
|
|
257
|
-
[commands](docs/commands.md), [settings](docs/configuration.md), [troubleshooting](docs/troubleshooting.md) and
|
|
258
|
-
[security](docs/security.md).
|
|
277
|
+
Every page is in [docs/](https://github.com/WireCatLabs/hubspot-cli/blob/main/docs/index.md): [install](https://github.com/WireCatLabs/hubspot-cli/blob/main/docs/installation.md), [use it](https://github.com/WireCatLabs/hubspot-cli/blob/main/docs/usage.md),
|
|
278
|
+
[commands](https://github.com/WireCatLabs/hubspot-cli/blob/main/docs/commands.md), [settings](https://github.com/WireCatLabs/hubspot-cli/blob/main/docs/configuration.md), [troubleshooting](https://github.com/WireCatLabs/hubspot-cli/blob/main/docs/troubleshooting.md) and
|
|
279
|
+
[security](https://github.com/WireCatLabs/hubspot-cli/blob/main/docs/security.md).
|
|
259
280
|
|
|
260
281
|
## Development
|
|
261
282
|
|
|
@@ -268,7 +289,7 @@ pnpm test
|
|
|
268
289
|
Tests run against a fake account built from HubSpot's API reference, with invented records and an injected keyring.
|
|
269
290
|
Nothing reaches a real account. `pnpm release:check` runs every check a release needs.
|
|
270
291
|
|
|
271
|
-
More: [testing](docs/dev/TESTING.md) · [design](docs/dev/DESIGN.md)
|
|
292
|
+
More: [testing](https://github.com/WireCatLabs/hubspot-cli/blob/main/docs/dev/TESTING.md) · [design](https://github.com/WireCatLabs/hubspot-cli/blob/main/docs/dev/DESIGN.md)
|
|
272
293
|
|
|
273
294
|
Pull requests, bug reports and ideas go to [issues](https://github.com/WireCatLabs/hubspot-cli/issues).
|
|
274
295
|
|
|
@@ -279,4 +300,4 @@ agents your context from messengers, mail, calendars, documents and CRMs. Each o
|
|
|
279
300
|
|
|
280
301
|
## License
|
|
281
302
|
|
|
282
|
-
[Apache 2.0](LICENSE)
|
|
303
|
+
[Apache 2.0](https://github.com/WireCatLabs/hubspot-cli/blob/main/LICENSE)
|
package/contracts/wirecat.json
CHANGED
|
@@ -71,19 +71,6 @@
|
|
|
71
71
|
"local": "read"
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
|
-
{
|
|
75
|
-
"path": [
|
|
76
|
-
"account",
|
|
77
|
-
"remove"
|
|
78
|
-
],
|
|
79
|
-
"summary": "sign this profile out and forget it, keeping or deleting its data",
|
|
80
|
-
"effects": {
|
|
81
|
-
"remote": "none",
|
|
82
|
-
"local": "write"
|
|
83
|
-
},
|
|
84
|
-
"permission": "account.remove",
|
|
85
|
-
"entity": "account_removal"
|
|
86
|
-
},
|
|
87
74
|
{
|
|
88
75
|
"path": [
|
|
89
76
|
"sync"
|
|
@@ -591,6 +578,32 @@
|
|
|
591
578
|
"permission": "activities.list",
|
|
592
579
|
"entity": "crm_activity"
|
|
593
580
|
},
|
|
581
|
+
{
|
|
582
|
+
"path": [
|
|
583
|
+
"activities",
|
|
584
|
+
"create"
|
|
585
|
+
],
|
|
586
|
+
"summary": "add a comment or task to records of the CRM, then store the CRM's copy of it…",
|
|
587
|
+
"effects": {
|
|
588
|
+
"remote": "write",
|
|
589
|
+
"local": "write"
|
|
590
|
+
},
|
|
591
|
+
"permission": "activities.create",
|
|
592
|
+
"entity": "crm_activity_write"
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
"path": [
|
|
596
|
+
"activities",
|
|
597
|
+
"close"
|
|
598
|
+
],
|
|
599
|
+
"summary": "mark a task done in the CRM, then store the CRM's copy of it when the…",
|
|
600
|
+
"effects": {
|
|
601
|
+
"remote": "write",
|
|
602
|
+
"local": "write"
|
|
603
|
+
},
|
|
604
|
+
"permission": "activities.close",
|
|
605
|
+
"entity": "crm_activity_write"
|
|
606
|
+
},
|
|
594
607
|
{
|
|
595
608
|
"path": [
|
|
596
609
|
"changes",
|
|
@@ -630,6 +643,19 @@
|
|
|
630
643
|
"permission": "search.all",
|
|
631
644
|
"entity": "hit"
|
|
632
645
|
},
|
|
646
|
+
{
|
|
647
|
+
"path": [
|
|
648
|
+
"account",
|
|
649
|
+
"remove"
|
|
650
|
+
],
|
|
651
|
+
"summary": "sign this profile out and forget it, keeping or deleting its data",
|
|
652
|
+
"effects": {
|
|
653
|
+
"remote": "none",
|
|
654
|
+
"local": "write"
|
|
655
|
+
},
|
|
656
|
+
"permission": "account.remove",
|
|
657
|
+
"entity": "account_removal"
|
|
658
|
+
},
|
|
633
659
|
{
|
|
634
660
|
"path": [
|
|
635
661
|
"api",
|
package/dist/bin/hubspot.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.6.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-XB35QVOK.js","../bundle/all-profiles-HFVXPMF6.js","../bundle/anthropic-VE6WR6IN.js","../bundle/app-server-GZ4DCQK7.js","../bundle/bun-2DHMKD34.js","../bundle/bun-sqlite-T5XTYL7L.js","../bundle/decode-TR2EC46M.js","../bundle/definitions-MVPICAWV.js","../bundle/dispatch-B2EP6DDT.js","../bundle/dist-7TGU56B2.js","../bundle/dist-PAKDDIBT.js","../bundle/echarts-7OP7I5B2.js","../bundle/embed-FLGS4LN7.js","../bundle/embedder-JIXQXCP3.js","../bundle/failure-AOACEURF.js","../bundle/first-screen-U73G5CMM.js","../bundle/instructions-PYCYV6QE.js","../bundle/mcp-ZNULRPZ4.js","../bundle/node-6GTNIVBM.js","../bundle/node-P4E63KXA.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-FBCEHPNT.js","../bundle/oauth-BFP4SCL5.js","../bundle/open-MLU4MHGO.js","../bundle/openai-R7WJI6SO.js","../bundle/process-NMNQLJHZ.js","../bundle/program-Z735HPFG.js","../bundle/prompt-A6RM55Q4.js","../bundle/recognize-ORRDV45M.js","../bundle/remote-UF3WSC4X.js","../bundle/rerank-ZSJORUGH.js","../bundle/schemas-EXBNVPMI.js","../bundle/serve-4KBJ6SIA.js","../bundle/server-IFK4S6LJ.js","../bundle/server-MNUAZWTN.js","../bundle/source-PBCQAG4C.js","../bundle/sqlite-runtime-XPDUWOPG.js","../bundle/state-4M26H7NL.js","../bundle/store-3W4ZOOIB.js","../bundle/store-CDY2PW6J.js","../bundle/store-ICTY3RIF.js","../bundle/store-maintenance-command-Y7TC3I43.js","../bundle/surface-4LNDJZD2.js","../bundle/writer-WGHWQTC2.js"]
|
|
32
32
|
if (((words) => words
|
|
33
33
|
.filter((word) => !word.startsWith("-"))
|
|
34
34
|
.slice(0, 2)
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
runCommandForAgent,
|
|
5
|
+
toolsFromCommands
|
|
6
|
+
} from "./chunk-5VTKBGPW.js";
|
|
7
|
+
import "./chunk-X2QRCFGJ.js";
|
|
8
|
+
import "./chunk-KDW7B7AR.js";
|
|
9
|
+
import "./chunk-5NIIXJV3.js";
|
|
10
|
+
import "./chunk-BU5CEMUH.js";
|
|
11
|
+
import "./chunk-PL5P7UKW.js";
|
|
12
|
+
import "./chunk-ZERQSELP.js";
|
|
13
|
+
import "./chunk-I75ON7VM.js";
|
|
14
|
+
import "./chunk-67YPTVGP.js";
|
|
15
|
+
import "./chunk-PZ3QJDTD.js";
|
|
16
|
+
import "./chunk-J4FXBF44.js";
|
|
17
|
+
import "./chunk-KKMOKSS5.js";
|
|
18
|
+
import "./chunk-CU76ZACK.js";
|
|
19
|
+
import "./chunk-V7N2K5OT.js";
|
|
20
|
+
import "./chunk-HZIGGAC7.js";
|
|
21
|
+
import "./chunk-5WDNG4QE.js";
|
|
22
|
+
import "./chunk-CTN4DW2F.js";
|
|
23
|
+
import "./chunk-G6LDK6DJ.js";
|
|
24
|
+
import "./chunk-RLK2EGQD.js";
|
|
25
|
+
import "./chunk-R26OEZOL.js";
|
|
26
|
+
import "./chunk-YIH2A2PQ.js";
|
|
27
|
+
import "./chunk-UVGJL753.js";
|
|
28
|
+
import "./chunk-TCSVW7BA.js";
|
|
29
|
+
import "./chunk-MJ24YFXZ.js";
|
|
30
|
+
import "./chunk-2VUIJ5XB.js";
|
|
31
|
+
import "./chunk-2K5BAY32.js";
|
|
32
|
+
import "./chunk-H5HBZCEJ.js";
|
|
33
|
+
import "./chunk-S4UUN6LD.js";
|
|
34
|
+
import "./chunk-Y5E2WNWB.js";
|
|
35
|
+
import "./chunk-AP3CWDRK.js";
|
|
36
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
37
|
+
export {
|
|
38
|
+
runCommandForAgent,
|
|
39
|
+
toolsFromCommands
|
|
40
|
+
};
|
|
@@ -4,35 +4,35 @@ import {
|
|
|
4
4
|
StdioServerTransport,
|
|
5
5
|
answeredWire,
|
|
6
6
|
serveStdio
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NQOQG7L3.js";
|
|
8
8
|
import {
|
|
9
9
|
CALLER_META_KEY,
|
|
10
10
|
PROXY_CLIENT_NAME,
|
|
11
11
|
callerOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5NIIXJV3.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-
|
|
21
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-I75ON7VM.js";
|
|
18
|
+
import "./chunk-HZIGGAC7.js";
|
|
19
|
+
import "./chunk-R26OEZOL.js";
|
|
20
|
+
import "./chunk-TCSVW7BA.js";
|
|
21
|
+
import "./chunk-2K5BAY32.js";
|
|
22
22
|
import {
|
|
23
23
|
errorObjectOf,
|
|
24
24
|
mcpErrorResult
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-H5HBZCEJ.js";
|
|
26
26
|
import "./chunk-S4UUN6LD.js";
|
|
27
27
|
import "./chunk-Y5E2WNWB.js";
|
|
28
28
|
import {
|
|
29
29
|
CliError
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-AP3CWDRK.js";
|
|
31
31
|
import {
|
|
32
32
|
__name
|
|
33
33
|
} from "./chunk-ZVVMGPBJ.js";
|
|
34
34
|
|
|
35
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
35
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
|
|
36
36
|
import { spawn } from "node:child_process";
|
|
37
37
|
import { randomUUID } from "node:crypto";
|
|
38
38
|
var PROTOCOL = "2025-06-18";
|
|
@@ -291,7 +291,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
|
|
|
291
291
|
}, "serveAllProfilesOverStdio");
|
|
292
292
|
var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
293
293
|
const { build, close } = allProfilesServer(options);
|
|
294
|
-
const { serveOverHttp } = await import("./serve-
|
|
294
|
+
const { serveOverHttp } = await import("./serve-4KBJ6SIA.js");
|
|
295
295
|
const listening = await serveOverHttp(build, {
|
|
296
296
|
...http,
|
|
297
297
|
appName: options.command,
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
checkedOptions,
|
|
6
6
|
messagesFor,
|
|
7
7
|
systemFor
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QK5HQUHB.js";
|
|
9
9
|
import {
|
|
10
10
|
Anthropic
|
|
11
11
|
} from "./chunk-ADLS6FVG.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-2K5BAY32.js";
|
|
13
|
+
import "./chunk-H5HBZCEJ.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-AP3CWDRK.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.734.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_2c8b9986a0059051c16d1a97d78c2d87/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"]) })),
|