@fleox-agent-crm/agentcrm 0.3.0 → 0.3.2

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 (73) hide show
  1. package/README.md +16 -16
  2. package/changelog.json +30 -0
  3. package/dist/admin/admin-files.json +8 -8
  4. package/dist/admin/assets/{chartsImpl-CE2akJat.js → chartsImpl-qlHW3VOv.js} +30 -30
  5. package/dist/admin/assets/firebase-U38f5kc9.js +2 -0
  6. package/dist/admin/assets/{gitJson-BulGh2KV.js → gitJson-wy2Tytfd.js} +1 -1
  7. package/dist/admin/assets/{index-DidVVK7L.js → index-BpaxrJx9.js} +265 -265
  8. package/dist/admin/assets/{index-hMXwHSvN.css → index-TcjySLVg.css} +1 -1
  9. package/dist/admin/assets/{lucide-react.min-DEDlHCPj.js → lucide-react.min-Djrg16BH.js} +1 -1
  10. package/dist/admin/assets/{sdk-CnrLnlRo.js → sdk-mu08RFtk.js} +1 -1
  11. package/dist/admin/index.html +2 -2
  12. package/dist/agent/agentcrm.mjs +334 -151
  13. package/dist/agent/chunks/{api-B6OqNVWp.mjs → api-Cz0Ubj-B.mjs} +4 -3
  14. package/dist/agent/chunks/api-Dwb4xz1k.mjs +27 -0
  15. package/dist/agent/chunks/{appearance-BaShelzt.mjs → appearance-BloHbiLA.mjs} +1 -1
  16. package/dist/agent/chunks/{automations-BWrvLqP6.mjs → automations-DwWruxmu.mjs} +3 -3
  17. package/dist/agent/chunks/{backup-ClSmxmFZ.mjs → backup-W3CjgkAJ.mjs} +16 -3
  18. package/dist/agent/chunks/{compact-CsFPaAAq.mjs → compact-BGHI92tm.mjs} +2 -2
  19. package/dist/agent/chunks/{exportCsv-B5hRvkNm.mjs → exportCsv-C6e6XEmB.mjs} +38 -3
  20. package/dist/agent/chunks/{extCheck--7lmVvl7.mjs → extCheck-GgHG1dYB.mjs} +16 -9
  21. package/dist/agent/chunks/{extPackage-BGl5Oqs8.mjs → extPackage-DuZ6GZhp.mjs} +2 -2
  22. package/dist/agent/chunks/{extScaffold-DqxI7R1e.mjs → extScaffold-Aqyjf1nr.mjs} +3 -3
  23. package/dist/agent/chunks/{extensions-BP1k60md.mjs → extensions-Bp72uZ9a.mjs} +19 -6
  24. package/dist/agent/chunks/{featureRegistry-C9nbVShp.mjs → featureRegistry-DSsZbhrh.mjs} +3 -3
  25. package/dist/agent/chunks/{files-q8Xu5bft.mjs → files-D1daDgY0.mjs} +1 -1
  26. package/dist/agent/chunks/{firebase-DxGVQV9E.mjs → firebase-BciZWdc6.mjs} +41 -17
  27. package/dist/agent/chunks/{forms-BKU5F9WF.mjs → forms-BfuWaQjA.mjs} +1 -1
  28. package/dist/agent/chunks/{hosting-Bme7LxPc.mjs → hosting-Dnn1k3cV.mjs} +1 -1
  29. package/dist/agent/chunks/{importCsv-DmE_sBch.mjs → importCsv-LVmMTaWU.mjs} +2 -2
  30. package/dist/agent/chunks/{index-DUSdTBkz.mjs → index-CNXq2Yk_.mjs} +1 -24
  31. package/dist/agent/chunks/index-Dio0aBWA.mjs +6920 -0
  32. package/dist/agent/chunks/{index-CRkw3_iF.mjs → index-rut-KC39.mjs} +1 -1
  33. package/dist/agent/chunks/{install-CpHoUFtL.mjs → install-BBTA4nMm.mjs} +16 -7
  34. package/dist/agent/chunks/{loader-C9nm3iwx.mjs → loader-MPD9iAvh.mjs} +20 -20
  35. package/dist/agent/chunks/{modules-CqdVQVJb.mjs → modules-clWdE-K2.mjs} +27 -2
  36. package/dist/agent/chunks/{nodeImport-BPCt5uMu.mjs → nodeImport-ylfRDvqt.mjs} +2 -2
  37. package/dist/agent/chunks/{package-DWbn3t2R.mjs → package-B7mI6HGi.mjs} +1 -1
  38. package/dist/agent/chunks/{papaparse-DjBYnQM2.mjs → papaparse-Df7i1dHr.mjs} +31 -7
  39. package/dist/agent/chunks/{pipelines-DCdRBNBV.mjs → pipelines-BAKpPk1w.mjs} +1 -1
  40. package/dist/agent/chunks/{plan-C0TBrU92.mjs → plan-BmTat6-T.mjs} +1 -1
  41. package/dist/agent/chunks/{records-DoqiT9xR.mjs → records-DcHFelq5.mjs} +5 -1
  42. package/dist/agent/chunks/{registry-Ceexawxl.mjs → registry-COfJrSmg.mjs} +18 -18
  43. package/dist/agent/chunks/{reports-BB59N6ke.mjs → reports-BACHGccj.mjs} +3 -3
  44. package/dist/agent/chunks/{runtime-DHo7ZEEO.mjs → runtime-C0Xf0Axi.mjs} +53 -32
  45. package/dist/agent/chunks/{schema-DlHt2PxI.mjs → schema-C4lSslXv.mjs} +10 -4
  46. package/dist/agent/chunks/{schema-7-4-qtSS.mjs → schema-DnLj8dUO.mjs} +10 -0
  47. package/dist/agent/chunks/{sdk-whvfg786.mjs → sdk-CYgNyuoK.mjs} +132 -7005
  48. package/dist/agent/chunks/{seed-CugPGYZL.mjs → seed-6MRmQQBR.mjs} +26 -8
  49. package/dist/agent/chunks/{server-ISwlDRCN.mjs → server-DC3t8r30.mjs} +5 -5
  50. package/dist/agent/chunks/{settings-BtvR_jdm.mjs → settings-Di8nzNEL.mjs} +35 -0
  51. package/dist/agent/chunks/{stats-CfeJssSS.mjs → stats-BfuLWhVV.mjs} +2 -2
  52. package/dist/agent/chunks/{tools-Bew8lxKx.mjs → tools-iSH-yMpl.mjs} +59 -19
  53. package/dist/agent/chunks/{views-fO_BM5U_.mjs → views-DH1n9Lrt.mjs} +1 -1
  54. package/dist/version.json +1 -1
  55. package/package.json +1 -1
  56. package/plugin/.claude-plugin/plugin.json +1 -1
  57. package/plugin/skills/agentcrm-admin/SKILL.md +67 -67
  58. package/plugin/skills/agentcrm-admin/references/appearance.md +1 -1
  59. package/plugin/skills/agentcrm-admin/references/records.md +5 -5
  60. package/plugin/skills/agentcrm-admin/references/schema.md +20 -20
  61. package/plugin/skills/agentcrm-extensions/SKILL.md +9 -9
  62. package/plugin/skills/agentcrm-extensions/references/module-recipes.md +2 -2
  63. package/plugin/skills/agentcrm-extensions/references/testing.md +16 -14
  64. package/plugin/skills/agentcrm-extensions/references/theme-recipes.md +3 -3
  65. package/plugin/skills/agentcrm-install/SKILL.md +13 -13
  66. package/plugin/skills/agentcrm-install/references/firebase.md +1 -1
  67. package/plugin/skills/agentcrm-install/references/github.md +1 -1
  68. package/plugin/skills/agentcrm-install/references/mcp.md +3 -3
  69. package/plugin/skills/agentcrm-install/references/plans.md +1 -1
  70. package/plugin/skills/agentcrm-install/references/s3.md +1 -1
  71. package/plugin/skills/agentcrm-manage/SKILL.md +15 -15
  72. package/plugin/skills/agentcrm-sales/SKILL.md +18 -18
  73. package/dist/admin/assets/firebase-BHSUggRo.js +0 -2
package/README.md CHANGED
@@ -52,14 +52,14 @@ The `agentcrm-install` skill asks where the data lives, then where the admin is
52
52
  ### By hand
53
53
 
54
54
  ```bash
55
- npx -y @fleox-agent-crm/agentcrm@0.3.0 options # backends, locations, hostings, plan format
56
- npx -y @fleox-agent-crm/agentcrm@0.3.0 credentials set s3:main # hidden prompt
57
- npx -y @fleox-agent-crm/agentcrm@0.3.0 install --plan plan.json --dry-run
58
- npx -y @fleox-agent-crm/agentcrm@0.3.0 install --plan plan.json
59
- npx -y @fleox-agent-crm/agentcrm@0.3.0 doctor --site acme
55
+ npx -y @fleox-agent-crm/agentcrm@0.3.2 options # backends, locations, hostings, plan format
56
+ npx -y @fleox-agent-crm/agentcrm@0.3.2 credentials set s3:main # hidden prompt
57
+ npx -y @fleox-agent-crm/agentcrm@0.3.2 install --plan plan.json --dry-run
58
+ npx -y @fleox-agent-crm/agentcrm@0.3.2 install --plan plan.json
59
+ npx -y @fleox-agent-crm/agentcrm@0.3.2 doctor --site acme
60
60
  ```
61
61
 
62
- Or try it without any account: `npx -y @fleox-agent-crm/agentcrm@0.3.0 serve` opens the setup wizard; pick **This browser** (optionally with demo data).
62
+ Or try it without any account: `npx -y @fleox-agent-crm/agentcrm@0.3.2 serve` opens the setup wizard; pick **This browser** (optionally with demo data).
63
63
 
64
64
  ## Features
65
65
 
@@ -85,8 +85,8 @@ Everything you can customise in the admin, an AI agent can do too (CLI, MCP tool
85
85
  Settings → **Modules** switches built-in features off for the whole workspace: dashboard, deals & pipelines, reports, lead forms, tasks, automations, email & calendar, AI assistant. Disabling hides pages, navigation, widgets and owned objects; it never deletes data. Dependencies are checked (cascade on request). [docs/modules.md](docs/modules.md)
86
86
 
87
87
  ```bash
88
- npx -y @fleox-agent-crm/agentcrm@0.3.0 modules list --site acme
89
- npx -y @fleox-agent-crm/agentcrm@0.3.0 modules disable forms --site acme --yes
88
+ npx -y @fleox-agent-crm/agentcrm@0.3.2 modules list --site acme
89
+ npx -y @fleox-agent-crm/agentcrm@0.3.2 modules disable forms --site acme --yes
90
90
  ```
91
91
 
92
92
  ### Appearance — make it yours
@@ -94,9 +94,9 @@ npx -y @fleox-agent-crm/agentcrm@0.3.0 modules disable forms --site acme --yes
94
94
  Settings → **Appearance**: one accent color generates the whole palette; neutral grays, radius, density, font (system or Google fonts), sidebar style, accent or neutral buttons, high contrast, default light / dark mode, logo, favicon, custom CSS, seven presets (default, ocean, forest, sunset, graphite, rose, high-contrast) and theme extensions. [docs/appearance.md](docs/appearance.md)
95
95
 
96
96
  ```bash
97
- npx -y @fleox-agent-crm/agentcrm@0.3.0 appearance set --accent "#0f766e" --neutral stone --buttons accent --site acme --yes
98
- npx -y @fleox-agent-crm/agentcrm@0.3.0 appearance logo ./logo.svg --site acme --yes
99
- npx -y @fleox-agent-crm/agentcrm@0.3.0 appearance preset ocean --site acme --yes
97
+ npx -y @fleox-agent-crm/agentcrm@0.3.2 appearance set --accent "#0f766e" --neutral stone --buttons accent --site acme --yes
98
+ npx -y @fleox-agent-crm/agentcrm@0.3.2 appearance logo ./logo.svg --site acme --yes
99
+ npx -y @fleox-agent-crm/agentcrm@0.3.2 appearance preset ocean --site acme --yes
100
100
  ```
101
101
 
102
102
  ### Extensions — add features without rebuilding
@@ -104,10 +104,10 @@ npx -y @fleox-agent-crm/agentcrm@0.3.0 appearance preset ocean --site acme --yes
104
104
  Modules (pages, record tabs, dashboard widgets, settings pages, AI tools, automation actions, hooks) and themes are ZIPs installed from Settings → Modules → **Installed extensions** or the CLI, stored in the CRM's own data and loaded at runtime by every admin — and by the CLI / MCP server, so their AI tools and automation actions work there too. Installing runs code with admin rights: the admin and the CLI always show who made it and what it adds first; safe mode (`?safe=1`, or `--safe`) starts without extensions. [docs/extensions.md](docs/extensions.md)
105
105
 
106
106
  ```bash
107
- npx -y @fleox-agent-crm/agentcrm@0.3.0 ext new module acme-projects # scaffold (Vite + typings + en/fr)
107
+ npx -y @fleox-agent-crm/agentcrm@0.3.2 ext new module acme-projects # scaffold (Vite + typings + en/fr)
108
108
  cd acme-projects && npm install && npm run build
109
- npx -y @fleox-agent-crm/agentcrm@0.3.0 ext check . # validate + load it like the admin
110
- npx -y @fleox-agent-crm/agentcrm@0.3.0 ext install . --site acme --yes # install (plan without --yes)
109
+ npx -y @fleox-agent-crm/agentcrm@0.3.2 ext check . # validate + load it like the admin
110
+ npx -y @fleox-agent-crm/agentcrm@0.3.2 ext install . --site acme --yes # install (plan without --yes)
111
111
  ```
112
112
 
113
113
  Guides: [creating a module](docs/creating-a-module.md), [creating a theme](docs/creating-a-theme.md), [runtime API reference](docs/runtime-api-reference.md). Examples: [`external/`](external).
@@ -157,7 +157,7 @@ S3 / R2 / OVH / Scaleway buckets (HTTPS), GitHub Pages, GitLab Pages, Cloudflare
157
157
 
158
158
  ## CLI
159
159
 
160
- `agentcrm` runs on Node.js 20+ (`npx -y @fleox-agent-crm/agentcrm@0.3.0 <command>`). Every command accepts `--json` and prints exactly one `{ ok, data }` / `{ ok: false, error: { code, message, hint } }` object; destructive commands print a plan unless `--yes`.
160
+ `agentcrm` runs on Node.js 20+ (`npx -y @fleox-agent-crm/agentcrm@0.3.2 <command>`). Every command accepts `--json` and prints exactly one `{ ok, data }` / `{ ok: false, error: { code, message, hint } }` object; destructive commands print a plan unless `--yes`.
161
161
 
162
162
  | Area | Commands |
163
163
  |---|---|
@@ -176,7 +176,7 @@ Full reference: [docs/cli.md](docs/cli.md).
176
176
  ## MCP server
177
177
 
178
178
  ```bash
179
- claude mcp add agentcrm -- npx -y @fleox-agent-crm/agentcrm@0.3.0 mcp --site acme
179
+ claude mcp add agentcrm -- npx -y @fleox-agent-crm/agentcrm@0.3.2 mcp --site acme
180
180
  ```
181
181
 
182
182
  Tools = the shared AI catalog (search, list, get, create, update, delete, merge records, notes, activities, tasks, deal stages, reports, CSV import, automations…), resources = schema, pipelines, modules and appearance, plus the tools of the site's enabled extension modules; prompts = pipeline review, follow-up email, lead qualification. `--read-only` hides every tool that writes. Claude Desktop / Cursor config: [docs/mcp.md](docs/mcp.md).
package/changelog.json CHANGED
@@ -1,5 +1,35 @@
1
1
  {
2
2
  "versions": [
3
+ {
4
+ "version": "0.3.2",
5
+ "date": "2026-11-04",
6
+ "breaking": false,
7
+ "changes": [
8
+ "CLI / MCP on a Firebase CRM: the stored firebase:<name> login now signs in. Up to 0.3.1 the CLI read and wrote Firestore unauthenticated, so the rules refused every write (install, doctor --repair, records…) and reads came back empty.",
9
+ "Firebase sessions are kept between CLI runs (~/.agentcrm/sessions/, mode 0600) instead of a password sign-in per command, which Firebase rate-limits; `credentials set` / `remove` forget the session of that login.",
10
+ "install --dry-run on Firebase really checks access: it signs in, refuses an unverified address and reads through the rules (it used to report ok without checking anything)."
11
+ ],
12
+ "actions": []
13
+ },
14
+ {
15
+ "version": "0.3.1",
16
+ "date": "2026-11-03",
17
+ "breaking": false,
18
+ "changes": [
19
+ "Package published on npm as @fleox-agent-crm/agentcrm; releases are published from GitHub Actions with provenance (trusted publishing).",
20
+ "Security: SVG logos / favicons containing scripts or event handlers are refused; module config refuses common secret keys (apiKey, token, secret…); ext install trial-loads the bundle first and refuses one that does not load (--force to skip), warns on downgrades and same-version re-installs.",
21
+ "AI tools / MCP: inputs are validated against each tool JSON schema (clear errors instead of crashes); extension console output no longer pollutes --json or the MCP stream; MCP re-syncs extensions after a mutating tool so disabled modules drop their tools.",
22
+ "Records: an unknown field in an explicit filter or sort is now an error listing the valid fields (it used to return every record).",
23
+ "CLI: admin hosted in a local folder without a public URL is detected (install, doctor, status, deploy-admin); --out creates missing folders; import zip validates the archive in the plan and warns before overwriting another CRM; settings refuse unknown keys and invalid locale / time zone; objects get returns the object; global flags accepted before the command (agentcrm --safe …); clearer hints for usage, validation and module dependency conflicts.",
24
+ "Admin: button icons back to 16 px; settings pages no longer scroll the whole shell; bulk Update field works for select fields; numbers follow the UI language without reload; fields added to a custom object appear in its table; report amounts rounded; legend on the lead sources chart; translation fixes in setup and tables.",
25
+ "Demo data: company country and phone prefix match their city.",
26
+ "Docs and skills: image / files field types, full MCP tool and resource list, links to github.com/fleox/agentcrm/blob/master."
27
+ ],
28
+ "actions": [
29
+ "Redeploy the admin (agentcrm deploy-admin) to get the UI fixes.",
30
+ "Update the agent skills (Claude Code: /plugin marketplace update agentcrm)."
31
+ ]
32
+ },
3
33
  {
4
34
  "version": "0.3.0",
5
35
  "date": "2026-11-03",
@@ -1,18 +1,18 @@
1
1
  {
2
- "version": "0.3.0",
2
+ "version": "0.3.2",
3
3
  "dataSchema": 1,
4
4
  "files": [
5
- "assets/chartsImpl-CE2akJat.js",
6
- "assets/firebase-BHSUggRo.js",
7
- "assets/gitJson-BulGh2KV.js",
8
- "assets/index-DidVVK7L.js",
9
- "assets/index-hMXwHSvN.css",
5
+ "assets/chartsImpl-qlHW3VOv.js",
6
+ "assets/firebase-U38f5kc9.js",
7
+ "assets/gitJson-wy2Tytfd.js",
8
+ "assets/index-BpaxrJx9.js",
9
+ "assets/index-TcjySLVg.css",
10
10
  "assets/index.esm-BFc7vwnl.js",
11
11
  "assets/index.esm-CtEQZRb1.js",
12
12
  "assets/index.esm-Dum0J07z.js",
13
13
  "assets/index.esm2017-EOzKbpUS.js",
14
- "assets/lucide-react.min-DEDlHCPj.js",
15
- "assets/sdk-CnrLnlRo.js",
14
+ "assets/lucide-react.min-Djrg16BH.js",
15
+ "assets/sdk-mu08RFtk.js",
16
16
  "favicon.svg",
17
17
  "index.html",
18
18
  "runtime/agentcrm-runtime.js",