@wirecat/amo-cli 0.3.0 → 0.5.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 +52 -0
- package/README.md +8 -4
- package/contracts/wirecat.json +15 -14
- package/dist/amo/allow-list.d.ts +1 -1
- package/dist/amo/allow-list.d.ts.map +1 -1
- package/dist/amo/operation.d.ts +1 -1
- package/dist/amo/operation.d.ts.map +1 -1
- package/dist/bin/amo.js +2 -2
- package/dist/bundle/agent-EFMUK732.js +41 -0
- package/dist/bundle/{all-profiles-PPUN52SP.js → all-profiles-PIWUQWBA.js} +11 -11
- package/dist/bundle/amo.js +28 -28
- package/dist/bundle/{anthropic-RDNDT6ZP.js → anthropic-47CMXBPQ.js} +5 -5
- package/dist/bundle/{app-server-MMALJDBP.js → app-server-QRBQODF2.js} +70 -69
- package/dist/bundle/areas-QVHVU57Z.js +63 -0
- package/dist/bundle/{bun-Y4FRPURU.js → bun-OPDGMZZQ.js} +2 -2
- package/dist/bundle/{bun-sqlite-7NXJGZCO.js → bun-sqlite-7I4X7CZW.js} +6 -6
- package/dist/bundle/{chunk-OMH3WP7F.js → chunk-2JHVQMVC.js} +1 -1
- package/dist/bundle/{chunk-MPXKBF37.js → chunk-2XBDILVW.js} +1 -1
- package/dist/bundle/{chunk-XI75EKLG.js → chunk-3DEQUYEG.js} +9 -9
- package/dist/bundle/{chunk-TWZF7VO6.js → chunk-3GX6KM2E.js} +1666 -163
- package/dist/bundle/{chunk-E2DLRLJ5.js → chunk-3HC5F3P7.js} +1 -1
- package/dist/bundle/{chunk-D6UPCAPD.js → chunk-3PYE55JY.js} +1 -1
- package/dist/bundle/{chunk-UM6SDFB6.js → chunk-3YM4B2GT.js} +1 -1
- package/dist/bundle/{chunk-JTFAG3BX.js → chunk-43OW5NTG.js} +6 -6
- package/dist/bundle/{chunk-ZIFEIJRK.js → chunk-43PMSR33.js} +13 -9
- package/dist/bundle/{chunk-5DPMNYQT.js → chunk-4N7PP76S.js} +1 -1
- package/dist/bundle/{chunk-XM2G62YF.js → chunk-4VN7RI4I.js} +5 -7
- package/dist/bundle/{chunk-5POLHHDZ.js → chunk-57HFPNMF.js} +8 -8
- package/dist/bundle/{chunk-CQ472K6W.js → chunk-5UTB3ADZ.js} +11 -11
- package/dist/bundle/{chunk-3NDMVXGS.js → chunk-633NQY2R.js} +3 -3
- package/dist/bundle/{chunk-VPBSZ4HQ.js → chunk-63N46DJU.js} +220 -234
- package/dist/bundle/{chunk-SJZ52MZE.js → chunk-6D4VWSJD.js} +6 -6
- package/dist/bundle/{chunk-Q2YVY7IR.js → chunk-6JTHXWPE.js} +3 -3
- package/dist/bundle/{chunk-QQT7WUR4.js → chunk-6QGUK3H7.js} +4 -4
- package/dist/bundle/{chunk-AYR6FIXN.js → chunk-6WS6GJ4V.js} +2 -2
- package/dist/bundle/{chunk-N4A6E2LL.js → chunk-7IR2G5XY.js} +16 -16
- package/dist/bundle/{chunk-7Z6NYSAN.js → chunk-7IWIFVXH.js} +4 -4
- package/dist/bundle/{chunk-LOSOWTAZ.js → chunk-ABX7BBS4.js} +6 -6
- package/dist/bundle/{chunk-3YOZTGZ6.js → chunk-ADTI5RUO.js} +6 -6
- package/dist/bundle/{chunk-QHA33ZS6.js → chunk-AKRIUNYP.js} +7 -7
- package/dist/bundle/{chunk-KZDBO2FT.js → chunk-BIKOE2IW.js} +7 -7
- package/dist/bundle/{chunk-VY27K2SH.js → chunk-BVVMIAQ6.js} +769 -692
- package/dist/bundle/{chunk-SBQ5MFHM.js → chunk-CGW5R4UD.js} +7 -7
- package/dist/bundle/{chunk-UZLT6VSP.js → chunk-D4NE7EON.js} +3 -3
- package/dist/bundle/{chunk-L2ZQDTDU.js → chunk-DNCLQPOM.js} +1 -1
- package/dist/bundle/{chunk-VFU25P57.js → chunk-DPV53EZC.js} +4 -4
- package/dist/bundle/{chunk-KEOKH2OZ.js → chunk-DQ6S5TFZ.js} +185 -114
- package/dist/bundle/{chunk-5RXH35ZA.js → chunk-DSJ6EAOA.js} +61 -61
- package/dist/bundle/{chunk-HQH4YPO5.js → chunk-DVZ75WZJ.js} +157 -35
- package/dist/bundle/{chunk-VEGNZPQU.js → chunk-EHK73OSW.js} +38 -24
- package/dist/bundle/{chunk-IEAPNTHT.js → chunk-FNV5HLHX.js} +17 -17
- package/dist/bundle/{chunk-FPDTIQOK.js → chunk-FV4GQNIK.js} +2 -2
- package/dist/bundle/{chunk-7USADF2W.js → chunk-G2TU5RYY.js} +6 -6
- package/dist/bundle/{chunk-IDQ7BNCZ.js → chunk-GDK7ETSB.js} +12 -12
- package/dist/bundle/{chunk-B4ITT55D.js → chunk-GGMAIIVE.js} +1 -1
- package/dist/bundle/{chunk-NJ2LJKNH.js → chunk-GLYWZQY4.js} +3 -3
- package/dist/bundle/{chunk-XDT74W5P.js → chunk-H4AFNENN.js} +34 -29
- package/dist/bundle/{chunk-2YEDK2XV.js → chunk-HOF7GQWW.js} +4 -4
- package/dist/bundle/{chunk-H34RBRS3.js → chunk-HSPEU6S7.js} +8 -8
- package/dist/bundle/{chunk-VJHOBOJR.js → chunk-IA7LLLEI.js} +3 -3
- package/dist/bundle/{chunk-YSOGGUK3.js → chunk-IB55P46L.js} +6 -6
- package/dist/bundle/{chunk-PFZ7WG2B.js → chunk-IG2TJQJ7.js} +3 -3
- package/dist/bundle/{chunk-CUZISGWH.js → chunk-JG6LCSEX.js} +13 -13
- package/dist/bundle/{chunk-MMOEAH5G.js → chunk-JLXXUEAM.js} +2 -2
- package/dist/bundle/{chunk-3RP57VDS.js → chunk-JXT6GY4V.js} +174 -62
- package/dist/bundle/{chunk-7SBAHYZW.js → chunk-K7YY6SXR.js} +19 -15
- package/dist/bundle/{chunk-TCDER3G7.js → chunk-KEKXERBE.js} +14883 -11912
- package/dist/bundle/{chunk-JZ2AITOE.js → chunk-KZ2FIDI3.js} +3 -3
- package/dist/bundle/{chunk-ILUREFWJ.js → chunk-KZN2BG3P.js} +8 -8
- package/dist/bundle/{chunk-L3JDQNBC.js → chunk-LKH3UKLO.js} +4 -4
- package/dist/bundle/{chunk-UA7C57IB.js → chunk-LZPKBN3C.js} +2 -2
- package/dist/bundle/{chunk-FI2TP6TY.js → chunk-M6VZXAJC.js} +3 -3
- package/dist/bundle/{chunk-7VSYOMEH.js → chunk-MDEPJZYJ.js} +2 -2
- package/dist/bundle/{chunk-WBWVBEHH.js → chunk-NB7EOAUZ.js} +8 -1
- package/dist/bundle/{chunk-LYRICHEK.js → chunk-NISH4UXM.js} +2 -2
- package/dist/bundle/{chunk-VD7HD25M.js → chunk-NSKMNIY6.js} +9 -9
- package/dist/bundle/chunk-PPSAWFJD.js +1293 -0
- package/dist/bundle/{chunk-7E6QSIRQ.js → chunk-Q7ICVP25.js} +1 -1
- package/dist/bundle/{chunk-BKTLAXUK.js → chunk-QFOP3KUP.js} +8 -8
- package/dist/bundle/{chunk-ORFLQGWH.js → chunk-R53XXHEI.js} +4 -4
- package/dist/bundle/{chunk-UOPP6ORQ.js → chunk-RIMPFMZE.js} +28 -179
- package/dist/bundle/{chunk-MYMBPQPQ.js → chunk-RN6RT5CB.js} +4 -4
- package/dist/bundle/{chunk-BYVDMPLX.js → chunk-RRTMPSQR.js} +2 -2
- package/dist/bundle/{chunk-R23DRW2T.js → chunk-S4ZHQMNM.js} +5 -5
- package/dist/bundle/{chunk-GCUFGDKE.js → chunk-S6JG4YUH.js} +2 -2
- package/dist/bundle/{chunk-W4KY5JF5.js → chunk-TAVI73RW.js} +2 -2
- package/dist/bundle/{chunk-KTLCQ7GC.js → chunk-TLG6ECZ2.js} +2 -2
- package/dist/bundle/{chunk-V3ZWYMXT.js → chunk-TXDR6YSF.js} +1 -1
- package/dist/bundle/{chunk-KKXF6TSS.js → chunk-TY7NDMFY.js} +1 -1
- package/dist/bundle/{chunk-YVO2YGML.js → chunk-U5RJJ2EC.js} +8 -8
- package/dist/bundle/{chunk-I4QCJZW7.js → chunk-UDSL3MUU.js} +8 -8
- package/dist/bundle/{chunk-SJYVKR54.js → chunk-V2CNGXWX.js} +37 -37
- package/dist/bundle/{chunk-L72UALL5.js → chunk-VB7FZOYX.js} +1 -1
- package/dist/bundle/{chunk-T6D34X5S.js → chunk-VZ5PPYDG.js} +1 -1
- package/dist/bundle/{chunk-FPIUFSWK.js → chunk-W5JRXIG6.js} +826 -1619
- package/dist/bundle/{chunk-ELJGALVX.js → chunk-WIHN3ELW.js} +19 -19
- package/dist/bundle/chunk-WOPVBRPV.js +29 -0
- package/dist/bundle/{chunk-4MVTSMWP.js → chunk-WUFX4TKA.js} +2 -2
- package/dist/bundle/{chunk-GKP7CKW2.js → chunk-WXJYMMEL.js} +6 -6
- package/dist/bundle/{chunk-UT3ODJMI.js → chunk-XCCU2E3Z.js} +4 -4
- package/dist/bundle/{chunk-EHULZEXQ.js → chunk-XEQQJBBO.js} +1 -1
- package/dist/bundle/{chunk-EKNP326Q.js → chunk-XUT7DSM5.js} +2 -2
- package/dist/bundle/{chunk-4EYPFFTN.js → chunk-YWDFYQOU.js} +2 -2
- package/dist/bundle/{chunk-IYUWVMGP.js → chunk-ZLUIRFJX.js} +37 -18
- package/dist/bundle/{cli-GAO7LDDA.js → cli-3NXOSENF.js} +104 -105
- package/dist/bundle/command-contract-LNSAV5LA.js +39 -0
- package/dist/bundle/{command-server-entry-BCDJP7XE.js → command-server-entry-4ZQPNUL4.js} +28 -28
- package/dist/bundle/{decode-OY2GR442.js → decode-K7U7X5EL.js} +5 -5
- package/dist/bundle/{dispatch-JWEJCBTF.js → dispatch-56FECRCU.js} +8 -8
- package/dist/bundle/{echarts-AHEPEA5P.js → echarts-O3TNDAXJ.js} +2 -2
- package/dist/bundle/{embed-RVSUV54Z.js → embed-SWLVG73O.js} +6 -6
- package/dist/bundle/{embedder-GRZXZUXR.js → embedder-EJN75BPV.js} +9 -9
- package/dist/bundle/{failure-DDCSR54L.js → failure-WDSX6H3B.js} +2 -2
- package/dist/bundle/{first-run-G3WI4DH4.js → first-run-WPGUUC4Z.js} +12 -12
- package/dist/bundle/first-screen-JMNEUQ46.js +40 -0
- package/dist/bundle/{instructions-NWQC5IP4.js → instructions-AMH5RWVJ.js} +1 -1
- package/dist/bundle/{mcp-KGWT6TGO.js → mcp-5HFPWC3W.js} +2 -2
- package/dist/bundle/meeting-combined-5TKG2RYD.js +24 -0
- package/dist/bundle/{meeting-model-I6T5HIZ5.js → meeting-model-YXXNETKC.js} +11 -11
- package/dist/bundle/{meeting-semantic-47UA5JBF.js → meeting-semantic-U7EUB3ET.js} +6 -6
- package/dist/bundle/{node-7VXN7F4B.js → node-EGMCBAO7.js} +2 -2
- package/dist/bundle/{node-sqlite-BSEON57L.js → node-sqlite-YVOGMDSP.js} +7 -7
- package/dist/bundle/{oauth-V6UAT4YD.js → oauth-2SNRBIJM.js} +7 -7
- package/dist/bundle/{open-7LVAY7ZU.js → open-ABCPY5IH.js} +5 -5
- package/dist/bundle/{openai-OIEH342H.js → openai-4D6PXJR7.js} +15 -15
- package/dist/bundle/{process-PTUCNLZ7.js → process-SGHEN6MQ.js} +1 -1
- package/dist/bundle/{program-S5WY5IZP.js → program-CBDQBZZ3.js} +1319 -1079
- package/dist/bundle/{prompt-7XWTEQ62.js → prompt-2QUK5QST.js} +5 -5
- package/dist/bundle/{recognize-HGIAJXDR.js → recognize-QMQSJRIH.js} +4 -4
- package/dist/bundle/{remote-X4SVEMHS.js → remote-U7TC2BLZ.js} +9 -9
- package/dist/bundle/{rerank-QWM3DQMU.js → rerank-5UPVXGVV.js} +7 -7
- package/dist/bundle/{serve-VVG3TXYT.js → serve-VX6GUM6J.js} +9 -9
- package/dist/bundle/{server-EHYK62BJ.js → server-FOPC6DJ3.js} +62 -61
- package/dist/bundle/server-OIVNOMVK.js +87 -0
- package/dist/bundle/source-HWS5SJIV.js +46 -0
- package/dist/bundle/{sqlite-runtime-MCKXDNYC.js → sqlite-runtime-77NKDEXN.js} +6 -6
- package/dist/bundle/{state-MYNYQJCT.js → state-X2HU6GB2.js} +6 -6
- package/dist/bundle/{store-B7O3F3QB.js → store-2U4U6KL4.js} +22 -22
- package/dist/bundle/{store-FPIU2546.js → store-3CHPHFP7.js} +30 -24
- package/dist/bundle/store-Z3747L5F.js +34 -0
- package/dist/bundle/store-maintenance-command-UOSZJTVP.js +74 -0
- package/dist/bundle/surface-MUT72QON.js +73 -0
- package/dist/bundle/writer-RBKQ64ZM.js +48 -0
- package/dist/commands/account.d.ts +3 -2
- package/dist/commands/account.d.ts.map +1 -1
- package/dist/commands/account.js +38 -77
- package/dist/commands/account.js.map +1 -1
- package/dist/commands/crm-shared.d.ts.map +1 -1
- package/dist/commands/crm-shared.js +3 -1
- package/dist/commands/crm-shared.js.map +1 -1
- package/dist/commands/session.d.ts +0 -6
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +9 -34
- package/dist/commands/session.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 +4 -4
- package/skills/amo-cli/SKILL.md +6 -0
- package/dist/bundle/agent-FDNP27SW.js +0 -40
- package/dist/bundle/chunk-77FP6AWC.js +0 -1266
- package/dist/bundle/command-contract-RLIBGIDT.js +0 -39
- package/dist/bundle/first-screen-6MLCMW2U.js +0 -39
- package/dist/bundle/meeting-combined-SVTFVZNJ.js +0 -24
- package/dist/bundle/server-WRPTBVNW.js +0 -86
- package/dist/bundle/source-YISMYLBQ.js +0 -44
- package/dist/bundle/store-A7R2SZVD.js +0 -34
- package/dist/bundle/store-maintenance-command-D55FRTIK.js +0 -73
- package/dist/bundle/surface-3EX6IGHW.js +0 -72
- package/dist/bundle/writer-XDHZ54JD.js +0 -46
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,58 @@
|
|
|
2
2
|
|
|
3
3
|
Notable changes to `@wirecat/amo-cli`. One section per version, newest first.
|
|
4
4
|
|
|
5
|
+
## 0.5.0 — 25.11.2026
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- **`search all` finds deals and leads by the meaning of their notes, calls and tasks**, in other words or another
|
|
10
|
+
language, with the note's excerpt in the hit. `amo work sync --embed` builds the index with a model already
|
|
11
|
+
downloaded (`amo models download embeddinggemma`); until then `search all` says it searched by words only
|
|
12
|
+
(`@wirecat/cli-core` 0.751.0).
|
|
13
|
+
- **`people show` and `organizations show` take the `person:<id>` and `organization:<id>` a deal gives.**
|
|
14
|
+
- **`sync --embed` and `search all` by meaning** (cli-core 0.751.0). With the `activities` setting on, `sync --embed`
|
|
15
|
+
indexes the copied comments and tasks with a model already downloaded, and `search all` then finds deals by what
|
|
16
|
+
they mean, in Russian or any language, not only by their words. The skill tells an agent to ask by meaning before
|
|
17
|
+
it reads every note.
|
|
18
|
+
|
|
19
|
+
### Changed — may break callers
|
|
20
|
+
|
|
21
|
+
- **`synced[].saved` in the `sync` answer counts only rows that changed** (new, different, deleted or back again), so
|
|
22
|
+
a sync with nothing new answers 0.
|
|
23
|
+
- **amo is built on cli-core 1.0 and cli-base 1.0.** After its first run the store is at version 74, and only tools
|
|
24
|
+
on cli-core 1.0 open it: upgrade every WireCat CLI on this computer together. The migration keeps a rollback copy,
|
|
25
|
+
and refuses to run when it cannot write one (`store migrate --no-backup` migrates anyway).
|
|
26
|
+
- **`sync --rescan` no longer lets a sync mark most of a kind deleted.** It only lists everything again. When the
|
|
27
|
+
guard holds a pass, `sync --allow-deletions <count>` lets it mark at most that many records deleted. The flag is
|
|
28
|
+
for the owner in a terminal; the MCP server does not offer it.
|
|
29
|
+
- **An MCP call that names a refused folder answers `permission_error`**, not `validation_error`.
|
|
30
|
+
|
|
31
|
+
### Fixed
|
|
32
|
+
|
|
33
|
+
- **A deal moved in the same second its stage-task rules were set opens its task.**
|
|
34
|
+
- `search all` lists a name one letter off the one that matched after it, and finds a Latin name typed in Cyrillic
|
|
35
|
+
letters and a Russian name typed in Latin letters, each marked `match: corrected`.
|
|
36
|
+
- `people show` and `organizations show` take the `person:<id>` and `organization:<id>` a deal gives.
|
|
37
|
+
|
|
38
|
+
## 0.4.0 — 24.11.2026
|
|
39
|
+
|
|
40
|
+
### Changed — may break callers
|
|
41
|
+
|
|
42
|
+
- **`account remove` and the check against a second sign-in are cli-core's shared CRM ones** (`@wirecat/cli-core`
|
|
43
|
+
0.722.0). The reasons stay `account-remove.account-shared` and `session.duplicate`, with the same details, and a
|
|
44
|
+
dry run still warns. The refusal now says `amoCRM account <host>`.
|
|
45
|
+
- **`account remove --delete-data` refuses when amo cannot tell which account another profile holds**
|
|
46
|
+
(`account-remove.account-unknown`, detail `profile`): a profile whose saved sign-in is unreadable and that
|
|
47
|
+
`session start` never remembered. `--keep-data` still removes.
|
|
48
|
+
- **`session start` refuses a profile named `files` or `foreign-contacts`** (`profile.reserved`): every account
|
|
49
|
+
shares those folders in the state folder.
|
|
50
|
+
|
|
51
|
+
### Fixed
|
|
52
|
+
|
|
53
|
+
- **The install guide quotes amoCRM's refusal for a user who is not an administrator.** The one-click sign-in shows
|
|
54
|
+
that user's account too, and amoCRM refuses under «Разрешить»: «Первичная установка интеграции доступна только
|
|
55
|
+
администраторам аккаунта». The guide said the sign-in listed only the accounts where one is an administrator.
|
|
56
|
+
|
|
5
57
|
## 0.3.0 — 23.11.2026
|
|
6
58
|
|
|
7
59
|
### Added
|
package/README.md
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
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/amo">Docs</a> ·
|
|
14
|
+
<a href="https://wirecat.dev/en/docs/amo/installation">Install</a> ·
|
|
15
15
|
<a href="https://github.com/WireCatLabs/amo-cli/blob/main/docs/usage.md">Usage</a> ·
|
|
16
16
|
<a href="https://t.me/wirecatdev">Telegram</a>
|
|
17
17
|
</p>
|
|
@@ -74,6 +74,9 @@ and write notes by itself. In `amo` that takes `api call`, which you run yoursel
|
|
|
74
74
|
|
|
75
75
|
## Quick start
|
|
76
76
|
|
|
77
|
+
In [WireCat Desktop](https://wirecat.dev/en/download), add amoCRM from the tool list and give it the account's address
|
|
78
|
+
and a long-lived token when it asks. Or in a terminal:
|
|
79
|
+
|
|
77
80
|
```sh
|
|
78
81
|
npm install -g @wirecat/amo-cli
|
|
79
82
|
amo skill install # the agent skill, for Claude Code, Codex, Gemini CLI and OpenClaw
|
|
@@ -197,8 +200,9 @@ More: [command reference](https://github.com/WireCatLabs/amo-cli/blob/main/docs/
|
|
|
197
200
|
## Settings and permissions
|
|
198
201
|
|
|
199
202
|
Each profile has a permission level for every command and every API operation: `allow`, `ask`, `readonly` or `deny`.
|
|
200
|
-
Creating and changing deals, contacts and companies is allowed. Deletes and most other writes ask first
|
|
201
|
-
clients, Salesbots, webhooks, writing tasks and giving a
|
|
203
|
+
Creating and changing deals, contacts and companies is allowed. Deletes and most other writes ask first in a
|
|
204
|
+
terminal, and run without asking over MCP. Messages to clients, Salesbots, webhooks, writing tasks and giving a
|
|
205
|
+
record to another user are denied until you allow them.
|
|
202
206
|
|
|
203
207
|
```sh
|
|
204
208
|
amo work config set permissions.deals.close deny # this profile closes no deal
|
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,19 @@
|
|
|
591
578
|
"permission": "search.all",
|
|
592
579
|
"entity": "hit"
|
|
593
580
|
},
|
|
581
|
+
{
|
|
582
|
+
"path": [
|
|
583
|
+
"account",
|
|
584
|
+
"remove"
|
|
585
|
+
],
|
|
586
|
+
"summary": "sign this profile out and forget it, keeping or deleting its data",
|
|
587
|
+
"effects": {
|
|
588
|
+
"remote": "none",
|
|
589
|
+
"local": "write"
|
|
590
|
+
},
|
|
591
|
+
"permission": "account.remove",
|
|
592
|
+
"entity": "account_removal"
|
|
593
|
+
},
|
|
594
594
|
{
|
|
595
595
|
"path": [
|
|
596
596
|
"api",
|
|
@@ -1259,7 +1259,8 @@
|
|
|
1259
1259
|
],
|
|
1260
1260
|
"signIn": {
|
|
1261
1261
|
"gives": "Lets your agent read and change the account's CRM with the rights of the administrator who made the token, or of the user who signed in through your own integration.",
|
|
1262
|
-
"asks": "The account's address and a long-lived token from a private integration's Keys and scopes tab, or that integration's ID and secret key."
|
|
1262
|
+
"asks": "The account's address and a long-lived token from a private integration's Keys and scopes tab, or that integration's ID and secret key.",
|
|
1263
|
+
"setupFrom": "0.0.0"
|
|
1263
1264
|
},
|
|
1264
1265
|
"skill": {
|
|
1265
1266
|
"status": [
|
package/dist/amo/allow-list.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SchemaNode } from "@wirecat/cli-base/codegen";
|
|
1
|
+
import type { SchemaNode } from "@wirecat/cli-base/codegen/runtime";
|
|
2
2
|
import type { SpecOperation } from "./operation.js";
|
|
3
3
|
/** The record types `{entity_type}` and `{entity}` take where the spec gives no enum. */
|
|
4
4
|
export declare const ENTITY_TYPES: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allow-list.d.ts","sourceRoot":"","sources":["../../src/amo/allow-list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"allow-list.d.ts","sourceRoot":"","sources":["../../src/amo/allow-list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAA;AACnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAA;AASnD,yFAAyF;AACzF,eAAO,MAAM,YAAY;aACvB,MAAM,YAAG,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,WAAW;aACtD,OAAO,sFAEL,qEAAqE,EACrE,gEAAgE,EAChE,wEAAwE;CAElE,CAAA;AAEV,kDAAkD;AAClD,eAAO,MAAM,gBAAgB,EAAE,SAAS,aAAa,EAWpD,CAAA;AAED,oHAAoH;AACpH,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE;IAAE,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,CAmC/F,CAAA;AAED,4GAA4G;AAC5G,eAAO,MAAM,MAAM;aACjB,OAAO,EAAE,GAAG;aACZ,MAAM,EAA+B,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;aACrE,OAAO,YACL,iEAAiE,EACjE,wEAAwE;CAElE,CAAA;AAIV;;;;;GAKG;AACH,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE;IAAE,MAAM,EAAE,UAAU,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,CA2BxF,CAAA"}
|
package/dist/amo/operation.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operation.d.ts","sourceRoot":"","sources":["../../src/amo/operation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"operation.d.ts","sourceRoot":"","sources":["../../src/amo/operation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAA;AAI/D,MAAM,MAAM,QAAQ,GAAG,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAA;AAElE,MAAM,MAAM,SAAS,GAAG;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,IAAI,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;CAAE,CAAA;AAE1F,sGAAsG;AACtG,MAAM,WAAW,aAAa;IAC5B,sFAAsF;IACtF,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,CAAA;IACf,wCAAwC;IACxC,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,CAAA;IACzC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAA;IACxB,IAAI,EAAE,OAAO,CAAA;CACd;AAED,MAAM,WAAW,SAAU,SAAQ,aAAa;IAC9C,6EAA6E;IAC7E,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,QAAQ,CAAA;IAChB,0FAA0F;IAC1F,QAAQ,EAAE,MAAM,CAAA;IAChB,qEAAqE;IACrE,MAAM,EAAE,MAAM,CAAA;CACf;AAoDD,eAAO,MAAM,UAAU,EAAE,SAAS,SAAS,EAAY,CAAA;AAyBvD,MAAM,WAAW,OAAO;IACtB,SAAS,EAAE,SAAS,CAAA;IACpB,iHAAiH;IACjH,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAC5B;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,QAAS,MAAM,KAAG,OAoC5C,CAAA;AAED,mHAAmH;AACnH,eAAO,MAAM,WAAW,YAAa,OAAO,KAAG,OAU9C,CAAA;AAED,oEAAoE;AACpE,eAAO,MAAM,MAAM,uBAAwB,OAAO,KAAG,MAC+C,CAAA"}
|
package/dist/bin/amo.js
CHANGED
|
@@ -9,7 +9,7 @@ if (
|
|
|
9
9
|
(words[0] === "--version" || words[0] === "-V") &&
|
|
10
10
|
!Object.keys(process.env).some((key) => key.endsWith("_TEST_ARGV_LOG"))
|
|
11
11
|
) {
|
|
12
|
-
process.stdout.write("0.
|
|
12
|
+
process.stdout.write("0.5.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-EFMUK732.js","../bundle/all-profiles-PIWUQWBA.js","../bundle/anthropic-47CMXBPQ.js","../bundle/app-server-QRBQODF2.js","../bundle/areas-QVHVU57Z.js","../bundle/bun-OPDGMZZQ.js","../bundle/bun-sqlite-7I4X7CZW.js","../bundle/cli-3NXOSENF.js","../bundle/command-contract-LNSAV5LA.js","../bundle/command-server-entry-4ZQPNUL4.js","../bundle/decode-K7U7X5EL.js","../bundle/dispatch-56FECRCU.js","../bundle/dist-PAKDDIBT.js","../bundle/dist-T54K3FJV.js","../bundle/echarts-O3TNDAXJ.js","../bundle/embed-SWLVG73O.js","../bundle/embedder-EJN75BPV.js","../bundle/failure-WDSX6H3B.js","../bundle/first-run-WPGUUC4Z.js","../bundle/first-screen-JMNEUQ46.js","../bundle/instructions-AMH5RWVJ.js","../bundle/mcp-5HFPWC3W.js","../bundle/node-EGMCBAO7.js","../bundle/node-P4E63KXA.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-YVOGMDSP.js","../bundle/oauth-2SNRBIJM.js","../bundle/open-ABCPY5IH.js","../bundle/openai-4D6PXJR7.js","../bundle/process-SGHEN6MQ.js","../bundle/program-CBDQBZZ3.js","../bundle/prompt-2QUK5QST.js","../bundle/recognize-QMQSJRIH.js","../bundle/remote-U7TC2BLZ.js","../bundle/rerank-5UPVXGVV.js","../bundle/serve-VX6GUM6J.js","../bundle/server-FOPC6DJ3.js","../bundle/server-OIVNOMVK.js","../bundle/source-HWS5SJIV.js","../bundle/sqlite-runtime-77NKDEXN.js","../bundle/state-X2HU6GB2.js","../bundle/store-2U4U6KL4.js","../bundle/store-3CHPHFP7.js","../bundle/store-Z3747L5F.js","../bundle/store-maintenance-command-UOSZJTVP.js","../bundle/surface-MUT72QON.js","../bundle/writer-RBKQ64ZM.js"]
|
|
32
32
|
if (((words) => words
|
|
33
33
|
.filter((word) => !word.startsWith("-"))
|
|
34
34
|
.slice(0, 2)
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
runCommandForAgent,
|
|
5
|
+
toolsFromCommands
|
|
6
|
+
} from "./chunk-DVZ75WZJ.js";
|
|
7
|
+
import "./chunk-7IWIFVXH.js";
|
|
8
|
+
import "./chunk-43OW5NTG.js";
|
|
9
|
+
import "./chunk-XUT7DSM5.js";
|
|
10
|
+
import "./chunk-6WS6GJ4V.js";
|
|
11
|
+
import "./chunk-K7YY6SXR.js";
|
|
12
|
+
import "./chunk-WOPVBRPV.js";
|
|
13
|
+
import "./chunk-PL5P7UKW.js";
|
|
14
|
+
import "./chunk-63N46DJU.js";
|
|
15
|
+
import "./chunk-CGW5R4UD.js";
|
|
16
|
+
import "./chunk-RN6RT5CB.js";
|
|
17
|
+
import "./chunk-IB55P46L.js";
|
|
18
|
+
import "./chunk-3YM4B2GT.js";
|
|
19
|
+
import "./chunk-6JTHXWPE.js";
|
|
20
|
+
import "./chunk-633NQY2R.js";
|
|
21
|
+
import "./chunk-PPSAWFJD.js";
|
|
22
|
+
import "./chunk-JLXXUEAM.js";
|
|
23
|
+
import "./chunk-G2TU5RYY.js";
|
|
24
|
+
import "./chunk-XCCU2E3Z.js";
|
|
25
|
+
import "./chunk-BIKOE2IW.js";
|
|
26
|
+
import "./chunk-ZLUIRFJX.js";
|
|
27
|
+
import "./chunk-XEQQJBBO.js";
|
|
28
|
+
import "./chunk-RRTMPSQR.js";
|
|
29
|
+
import "./chunk-DSJ6EAOA.js";
|
|
30
|
+
import "./chunk-DNCLQPOM.js";
|
|
31
|
+
import "./chunk-AKRIUNYP.js";
|
|
32
|
+
import "./chunk-TLG6ECZ2.js";
|
|
33
|
+
import "./chunk-WIHN3ELW.js";
|
|
34
|
+
import "./chunk-QFOP3KUP.js";
|
|
35
|
+
import "./chunk-Y5E2WNWB.js";
|
|
36
|
+
import "./chunk-S6JG4YUH.js";
|
|
37
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
38
|
+
export {
|
|
39
|
+
runCommandForAgent,
|
|
40
|
+
toolsFromCommands
|
|
41
|
+
};
|
|
@@ -4,34 +4,34 @@ import {
|
|
|
4
4
|
StdioServerTransport,
|
|
5
5
|
answeredWire,
|
|
6
6
|
serveStdio
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VB7FZOYX.js";
|
|
8
8
|
import {
|
|
9
9
|
CALLER_META_KEY,
|
|
10
10
|
PROXY_CLIENT_NAME,
|
|
11
11
|
callerOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-XUT7DSM5.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-CGW5R4UD.js";
|
|
18
|
+
import "./chunk-JLXXUEAM.js";
|
|
19
|
+
import "./chunk-XEQQJBBO.js";
|
|
20
|
+
import "./chunk-DNCLQPOM.js";
|
|
21
|
+
import "./chunk-WIHN3ELW.js";
|
|
22
22
|
import {
|
|
23
23
|
errorObjectOf,
|
|
24
24
|
mcpErrorResult
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-QFOP3KUP.js";
|
|
26
26
|
import "./chunk-Y5E2WNWB.js";
|
|
27
27
|
import {
|
|
28
28
|
CliError
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-S6JG4YUH.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@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/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-VX6GUM6J.js");
|
|
294
294
|
const listening = await serveOverHttp(build, {
|
|
295
295
|
...http,
|
|
296
296
|
appName: options.command,
|
package/dist/bundle/amo.js
CHANGED
|
@@ -3,25 +3,25 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
3
3
|
const require = __bundleRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
DESKTOP
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-4VN7RI4I.js";
|
|
7
|
+
import "./chunk-FV4GQNIK.js";
|
|
8
|
+
import "./chunk-LZPKBN3C.js";
|
|
9
9
|
import "./chunk-EH6ZEJGT.js";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-JXT6GY4V.js";
|
|
11
|
+
import "./chunk-NSKMNIY6.js";
|
|
12
12
|
import {
|
|
13
13
|
installerOf
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-TXDR6YSF.js";
|
|
15
|
+
import "./chunk-BIKOE2IW.js";
|
|
16
|
+
import "./chunk-EHK73OSW.js";
|
|
17
|
+
import "./chunk-IG2TJQJ7.js";
|
|
18
|
+
import "./chunk-2JHVQMVC.js";
|
|
19
|
+
import "./chunk-ZLUIRFJX.js";
|
|
20
|
+
import "./chunk-XEQQJBBO.js";
|
|
21
|
+
import "./chunk-RRTMPSQR.js";
|
|
22
|
+
import "./chunk-DSJ6EAOA.js";
|
|
23
|
+
import "./chunk-DNCLQPOM.js";
|
|
24
|
+
import "./chunk-AKRIUNYP.js";
|
|
25
25
|
import {
|
|
26
26
|
DESCRIBE_FLAG,
|
|
27
27
|
DISPATCH_FLAG,
|
|
@@ -32,16 +32,16 @@ import {
|
|
|
32
32
|
fileState,
|
|
33
33
|
shimFiles,
|
|
34
34
|
writeShim
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
35
|
+
} from "./chunk-DPV53EZC.js";
|
|
36
|
+
import "./chunk-IA7LLLEI.js";
|
|
37
|
+
import "./chunk-YWDFYQOU.js";
|
|
38
|
+
import "./chunk-TLG6ECZ2.js";
|
|
39
|
+
import "./chunk-WIHN3ELW.js";
|
|
40
40
|
import {
|
|
41
41
|
catchCrashes
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-QFOP3KUP.js";
|
|
43
43
|
import "./chunk-Y5E2WNWB.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-S6JG4YUH.js";
|
|
45
45
|
import {
|
|
46
46
|
__name
|
|
47
47
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -49,13 +49,13 @@ import {
|
|
|
49
49
|
// dist/bin/amo.js
|
|
50
50
|
import { enableCompileCache } from "node:module";
|
|
51
51
|
|
|
52
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
52
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/start.js
|
|
53
53
|
import { createHash } from "node:crypto";
|
|
54
54
|
import { existsSync, readFileSync as readFileSync2, realpathSync } from "node:fs";
|
|
55
55
|
import { dirname as dirname2, join as join2 } from "node:path";
|
|
56
56
|
import { fileURLToPath } from "node:url";
|
|
57
57
|
|
|
58
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
58
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/launcher.js
|
|
59
59
|
import { readFileSync } from "node:fs";
|
|
60
60
|
import { basename, dirname, join, resolve } from "node:path";
|
|
61
61
|
var posix = /* @__PURE__ */ __name((path) => path.replaceAll("\\", "/"), "posix");
|
|
@@ -141,7 +141,7 @@ var ensureLauncher = /* @__PURE__ */ __name(({ dir, program, platform }) => {
|
|
|
141
141
|
}
|
|
142
142
|
}, "ensureLauncher");
|
|
143
143
|
|
|
144
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
144
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/start.js
|
|
145
145
|
var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
|
|
146
146
|
const argv = io.argv ?? process.argv;
|
|
147
147
|
const env = io.env ?? process.env;
|
|
@@ -154,7 +154,7 @@ var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
|
|
|
154
154
|
return { code: 0 };
|
|
155
155
|
}
|
|
156
156
|
if (first === DISPATCH_FLAG) {
|
|
157
|
-
const { runWcat } = await import("./dispatch-
|
|
157
|
+
const { runWcat } = await import("./dispatch-56FECRCU.js");
|
|
158
158
|
const code = await runWcat(rest, { env, platform, stdout, stderr: io.stderr ?? process.stderr, self: tool });
|
|
159
159
|
return { code };
|
|
160
160
|
}
|
|
@@ -194,7 +194,7 @@ var wcat = await wcatStart(DESKTOP);
|
|
|
194
194
|
if (wcat.code !== void 0) {
|
|
195
195
|
process.exitCode = wcat.code;
|
|
196
196
|
} else {
|
|
197
|
-
const { run } = await import("./program-
|
|
197
|
+
const { run } = await import("./program-CBDQBZZ3.js");
|
|
198
198
|
process.exitCode = await run(process.argv.slice(2));
|
|
199
199
|
}
|
|
200
200
|
stopCatching();
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
checkedOptions,
|
|
6
6
|
messagesFor,
|
|
7
7
|
systemFor
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-R53XXHEI.js";
|
|
9
9
|
import {
|
|
10
10
|
Anthropic
|
|
11
11
|
} from "./chunk-ADLS6FVG.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-WIHN3ELW.js";
|
|
13
13
|
import {
|
|
14
14
|
array,
|
|
15
15
|
literal,
|
|
@@ -19,14 +19,14 @@ import {
|
|
|
19
19
|
strictObject,
|
|
20
20
|
string,
|
|
21
21
|
unknown
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-QFOP3KUP.js";
|
|
23
23
|
import "./chunk-Y5E2WNWB.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-S6JG4YUH.js";
|
|
25
25
|
import {
|
|
26
26
|
__name
|
|
27
27
|
} from "./chunk-ZVVMGPBJ.js";
|
|
28
28
|
|
|
29
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/models/anthropic.js
|
|
30
30
|
var options = strictObject({
|
|
31
31
|
stop_sequences: optional(array(string())),
|
|
32
32
|
thinking: optional(strictObject({ type: picklist(["disabled", "adaptive"]) })),
|
|
@@ -3,59 +3,60 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PER_RUN,
|
|
5
5
|
envelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-V2CNGXWX.js";
|
|
7
7
|
import {
|
|
8
8
|
mcpUrlOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-H4AFNENN.js";
|
|
10
10
|
import {
|
|
11
11
|
skillResources
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ABX7BBS4.js";
|
|
13
13
|
import {
|
|
14
14
|
StdioServerTransport,
|
|
15
15
|
answeredWire,
|
|
16
16
|
serveStdio
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-VB7FZOYX.js";
|
|
18
|
+
import "./chunk-Q7ICVP25.js";
|
|
19
|
+
import "./chunk-RIMPFMZE.js";
|
|
20
|
+
import "./chunk-U5RJJ2EC.js";
|
|
21
21
|
import {
|
|
22
22
|
runCommandForAgent,
|
|
23
23
|
toolsFromCommands
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-DVZ75WZJ.js";
|
|
25
|
+
import "./chunk-7IWIFVXH.js";
|
|
26
|
+
import "./chunk-43OW5NTG.js";
|
|
27
27
|
import {
|
|
28
28
|
appInstructions
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-2XBDILVW.js";
|
|
30
30
|
import {
|
|
31
31
|
answered,
|
|
32
32
|
failed,
|
|
33
33
|
registerCommands
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-7IR2G5XY.js";
|
|
35
35
|
import {
|
|
36
36
|
agentJson
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
37
|
+
} from "./chunk-HSPEU6S7.js";
|
|
38
|
+
import "./chunk-BVVMIAQ6.js";
|
|
39
|
+
import "./chunk-JG6LCSEX.js";
|
|
40
|
+
import "./chunk-3GX6KM2E.js";
|
|
41
|
+
import "./chunk-NB7EOAUZ.js";
|
|
42
|
+
import "./chunk-HOF7GQWW.js";
|
|
43
|
+
import "./chunk-TY7NDMFY.js";
|
|
44
|
+
import "./chunk-XUT7DSM5.js";
|
|
45
|
+
import "./chunk-6WS6GJ4V.js";
|
|
46
|
+
import "./chunk-K7YY6SXR.js";
|
|
47
|
+
import "./chunk-WOPVBRPV.js";
|
|
47
48
|
import {
|
|
48
49
|
McpServer
|
|
49
50
|
} from "./chunk-PL5P7UKW.js";
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-R53XXHEI.js";
|
|
52
|
+
import "./chunk-6D4VWSJD.js";
|
|
53
|
+
import "./chunk-5UTB3ADZ.js";
|
|
54
|
+
import "./chunk-D4NE7EON.js";
|
|
54
55
|
import {
|
|
55
56
|
mcpHttpMarker
|
|
56
|
-
} from "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
57
|
+
} from "./chunk-6QGUK3H7.js";
|
|
58
|
+
import "./chunk-GLYWZQY4.js";
|
|
59
|
+
import "./chunk-S4ZHQMNM.js";
|
|
59
60
|
import {
|
|
60
61
|
DEFAULT_OUTPUT_BYTES,
|
|
61
62
|
changesAuthorityAt,
|
|
@@ -66,55 +67,55 @@ import {
|
|
|
66
67
|
readOnlyLockOf,
|
|
67
68
|
readsOverMcpAt,
|
|
68
69
|
rootOf2 as rootOf
|
|
69
|
-
} from "./chunk-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
81
|
-
import "./chunk-
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
85
|
-
import "./chunk-
|
|
86
|
-
import "./chunk-
|
|
87
|
-
import "./chunk-
|
|
88
|
-
import "./chunk-
|
|
89
|
-
import "./chunk-
|
|
90
|
-
import "./chunk-
|
|
91
|
-
import "./chunk-
|
|
92
|
-
import "./chunk-
|
|
93
|
-
import "./chunk-
|
|
94
|
-
import "./chunk-
|
|
95
|
-
import "./chunk-
|
|
96
|
-
import "./chunk-
|
|
97
|
-
import "./chunk-
|
|
98
|
-
import "./chunk-
|
|
70
|
+
} from "./chunk-63N46DJU.js";
|
|
71
|
+
import "./chunk-CGW5R4UD.js";
|
|
72
|
+
import "./chunk-RN6RT5CB.js";
|
|
73
|
+
import "./chunk-IB55P46L.js";
|
|
74
|
+
import "./chunk-3YM4B2GT.js";
|
|
75
|
+
import "./chunk-FNV5HLHX.js";
|
|
76
|
+
import "./chunk-6JTHXWPE.js";
|
|
77
|
+
import "./chunk-KEKXERBE.js";
|
|
78
|
+
import "./chunk-UDSL3MUU.js";
|
|
79
|
+
import "./chunk-633NQY2R.js";
|
|
80
|
+
import "./chunk-KZN2BG3P.js";
|
|
81
|
+
import "./chunk-PPSAWFJD.js";
|
|
82
|
+
import "./chunk-JLXXUEAM.js";
|
|
83
|
+
import "./chunk-3DEQUYEG.js";
|
|
84
|
+
import "./chunk-G2TU5RYY.js";
|
|
85
|
+
import "./chunk-ADTI5RUO.js";
|
|
86
|
+
import "./chunk-XCCU2E3Z.js";
|
|
87
|
+
import "./chunk-JXT6GY4V.js";
|
|
88
|
+
import "./chunk-NSKMNIY6.js";
|
|
89
|
+
import "./chunk-TXDR6YSF.js";
|
|
90
|
+
import "./chunk-BIKOE2IW.js";
|
|
91
|
+
import "./chunk-EHK73OSW.js";
|
|
92
|
+
import "./chunk-IG2TJQJ7.js";
|
|
93
|
+
import "./chunk-2JHVQMVC.js";
|
|
94
|
+
import "./chunk-ZLUIRFJX.js";
|
|
95
|
+
import "./chunk-XEQQJBBO.js";
|
|
96
|
+
import "./chunk-RRTMPSQR.js";
|
|
97
|
+
import "./chunk-DSJ6EAOA.js";
|
|
98
|
+
import "./chunk-DNCLQPOM.js";
|
|
99
|
+
import "./chunk-AKRIUNYP.js";
|
|
99
100
|
import "./chunk-D72URWJE.js";
|
|
100
|
-
import "./chunk-
|
|
101
|
-
import "./chunk-
|
|
102
|
-
import "./chunk-
|
|
103
|
-
import "./chunk-
|
|
104
|
-
import "./chunk-
|
|
101
|
+
import "./chunk-YWDFYQOU.js";
|
|
102
|
+
import "./chunk-TLG6ECZ2.js";
|
|
103
|
+
import "./chunk-WXJYMMEL.js";
|
|
104
|
+
import "./chunk-GGMAIIVE.js";
|
|
105
|
+
import "./chunk-WIHN3ELW.js";
|
|
105
106
|
import {
|
|
106
107
|
mcpErrorResult
|
|
107
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-QFOP3KUP.js";
|
|
108
109
|
import "./chunk-Y5E2WNWB.js";
|
|
109
110
|
import {
|
|
110
111
|
CliError
|
|
111
|
-
} from "./chunk-
|
|
112
|
-
import "./chunk-
|
|
112
|
+
} from "./chunk-S6JG4YUH.js";
|
|
113
|
+
import "./chunk-4N7PP76S.js";
|
|
113
114
|
import {
|
|
114
115
|
__name
|
|
115
116
|
} from "./chunk-ZVVMGPBJ.js";
|
|
116
117
|
|
|
117
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
118
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
|
|
118
119
|
var EXCLUDED = [["mcp"]];
|
|
119
120
|
var aliasesOf = /* @__PURE__ */ __name((root, path) => {
|
|
120
121
|
let at = root;
|
|
@@ -230,7 +231,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
|
|
|
230
231
|
var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
|
|
231
232
|
const { app } = options;
|
|
232
233
|
const { build } = createAppServer(command, context, options);
|
|
233
|
-
const { serveOverHttp } = await import("./serve-
|
|
234
|
+
const { serveOverHttp } = await import("./serve-VX6GUM6J.js");
|
|
234
235
|
const listening = await serveOverHttp(build, {
|
|
235
236
|
...http,
|
|
236
237
|
appName: app.command,
|