funifier-mcp 0.3.19 → 0.3.21
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/.cursor/rules/funifier.mdc +1 -0
- package/.github/copilot-instructions.md +1 -0
- package/AGENTS.md +1 -0
- package/CHANGELOG.md +30 -0
- package/datasource-funifier-docs/.coverage.json +13 -5
- package/datasource-funifier-docs/knowledge/guides/server-utils.md +718 -0
- package/datasource-funifier-docs/knowledge/guides/trigger-examples.md +6 -6
- package/datasource-funifier-docs/knowledge/guides/triggers-guide.md +74 -11
- package/datasource-funifier-docs/knowledge/index.md +1 -0
- package/datasource-funifier-docs/knowledge/modules/trigger.md +29 -1
- package/dist/mcp/bundle.js +106 -106
- package/package.json +1 -1
- package/skills/funifier/SKILL.md +1 -0
- package/skills/funifier/references/create-trigger.md +28 -16
- package/skills/funifier/references/debug.md +0 -6
- package/skills/funifier/references/help.md +0 -6
- package/skills/funifier/references/server-utils.md +94 -0
|
@@ -62,6 +62,7 @@ Then read a result with `funifier_read_doc path=<path>`.
|
|
|
62
62
|
| `skills/funifier/references/upload-file.md` | Upload files to Funifier — images and documents for player avatars, challenge resources, and visual assets; use when adding media to the platform, not for CSV data import (use funifier-import-csv) or static frontend hosting (use funifier-implement-frontend) |
|
|
63
63
|
| `skills/funifier/references/manage-indexes.md` | Create, list, and drop MongoDB single-field indexes on Funifier collections via the REST API. Composite (multi-field) indexes are NOT supported by this endpoint — see Limitation section. |
|
|
64
64
|
| `skills/funifier/references/audit-permissions.md` | Cross-check a project's Funifier API calls against the live security document — scan code for usage, build an evidence-backed manifest, run the deterministic audit engine, and report missing scopes, excess tokens, and static danger findings; use when debugging 401s, auditing minimum privilege, or verifying permissions before deploying; audit is read-only and never changes any configuration |
|
|
65
|
+
| `skills/funifier/references/server-utils.md` | Use the server-side utility classes from com.funifier.engine.util in Groovy triggers, schedulers, and public endpoints — validates CPF, encrypts fields with AES/BCrypt/PGP, renders Mustache templates, evaluates inline expressions, computes object diffs/changelogs, converts JSON, generates Excel, makes HTTP calls, and handles files and pagination |
|
|
65
66
|
|
|
66
67
|
Full workflow files: `skills/funifier/references/`
|
|
67
68
|
|
|
@@ -55,6 +55,7 @@ Detailed guided workflows live in `skills/funifier/references/`:
|
|
|
55
55
|
| `skills/funifier/references/upload-file.md` | Upload files to Funifier — images and documents for player avatars, challenge resources, and visual assets; use when adding media to the platform, not for CSV data import (use funifier-import-csv) or static frontend hosting (use funifier-implement-frontend) |
|
|
56
56
|
| `skills/funifier/references/manage-indexes.md` | Create, list, and drop MongoDB single-field indexes on Funifier collections via the REST API. Composite (multi-field) indexes are NOT supported by this endpoint — see Limitation section. |
|
|
57
57
|
| `skills/funifier/references/audit-permissions.md` | Cross-check a project's Funifier API calls against the live security document — scan code for usage, build an evidence-backed manifest, run the deterministic audit engine, and report missing scopes, excess tokens, and static danger findings; use when debugging 401s, auditing minimum privilege, or verifying permissions before deploying; audit is read-only and never changes any configuration |
|
|
58
|
+
| `skills/funifier/references/server-utils.md` | Use the server-side utility classes from com.funifier.engine.util in Groovy triggers, schedulers, and public endpoints — validates CPF, encrypts fields with AES/BCrypt/PGP, renders Mustache templates, evaluates inline expressions, computes object diffs/changelogs, converts JSON, generates Excel, makes HTTP calls, and handles files and pagination |
|
|
58
59
|
|
|
59
60
|
### Funifier Modules
|
|
60
61
|
|
package/AGENTS.md
CHANGED
|
@@ -94,6 +94,7 @@ Before any `funifier_*` MCP tool call or Funifier task, find the matching row an
|
|
|
94
94
|
| `skills/funifier/references/upload-file.md` | Upload files to Funifier — images and documents for player avatars, challenge resources, and visual assets; use when adding media to the platform, not for CSV data import (use funifier-import-csv) or static frontend hosting (use funifier-implement-frontend) |
|
|
95
95
|
| `skills/funifier/references/manage-indexes.md` | Create, list, and drop MongoDB single-field indexes on Funifier collections via the REST API. Composite (multi-field) indexes are NOT supported by this endpoint — see Limitation section. |
|
|
96
96
|
| `skills/funifier/references/audit-permissions.md` | Cross-check a project's Funifier API calls against the live security document — scan code for usage, build an evidence-backed manifest, run the deterministic audit engine, and report missing scopes, excess tokens, and static danger findings; use when debugging 401s, auditing minimum privilege, or verifying permissions before deploying; audit is read-only and never changes any configuration |
|
|
97
|
+
| `skills/funifier/references/server-utils.md` | Use the server-side utility classes from com.funifier.engine.util in Groovy triggers, schedulers, and public endpoints — validates CPF, encrypts fields with AES/BCrypt/PGP, renders Mustache templates, evaluates inline expressions, computes object diffs/changelogs, converts JSON, generates Excel, makes HTTP calls, and handles files and pagination |
|
|
97
98
|
|
|
98
99
|
## Funifier Modules
|
|
99
100
|
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
3
3
|
All notable changes to `funifier-mcp` are documented here. Format loosely follows
|
|
4
4
|
[Keep a Changelog](https://keepachangelog.com/); versions follow semver.
|
|
5
5
|
|
|
6
|
+
## [0.3.21]
|
|
7
|
+
|
|
8
|
+
Documentation of the `com.funifier.engine.util` package as a new knowledge guide and Claude Code skill.
|
|
9
|
+
|
|
10
|
+
### Documentation
|
|
11
|
+
- **Add `guides/server-utils.md`.** Covers all 17 developer-facing classes in the Funifier server-side utilities package: `JsonUtil`, `StringUtil`, `CpfUtil`, `FormatterUtil`, `ParserUtil`, `ExpressionUtils`, `MustacheUtils`, `DiffUtil`, `AesCrypt`, `BCrypt`, `PgpCrypt`, `OtpAuthUtil`, `HttpUtil`, `UrlUtil`, `ExcelUtil`, `PaginationUtil`, and `FileUtil`. Each class has its FQN, real public signatures (verified against source), and ≥1 Groovy/Java server-side example. Security-sensitive classes (AesCrypt, BCrypt, PgpCrypt, OtpAuthUtil) include secret-management notes. `DateUtil` is cross-linked to `funifier-date-handling` instead of duplicated.
|
|
12
|
+
- **Register in `knowledge/index.md`.** New entry in the Java guides section so the knowledge router surfaces the guide.
|
|
13
|
+
|
|
14
|
+
### Skills
|
|
15
|
+
- **New skill `funifier-server-utils`** in `scripts/skills-config.ts` + regenerated reference. Triggers on requests like "validar CPF", "criptografar campo", "gerar TOTP", "renderizar template Mustache", "diff de objeto", "converter JSON", "gerar Excel" and similar.
|
|
16
|
+
|
|
17
|
+
## [0.3.20]
|
|
18
|
+
|
|
19
|
+
Documentation of trigger flow-interruption (strict mode) in the Funifier knowledge base.
|
|
20
|
+
|
|
21
|
+
### Documentation
|
|
22
|
+
- **Document `TriggerManager.executeStrict` (strict mode).** `DatabaseRest.insert/update/delete`
|
|
23
|
+
run `before_create`/`before_update`/`before_delete` triggers on database collections
|
|
24
|
+
(`/v3/database/{collection}`) in strict mode: an exception in the script aborts the
|
|
25
|
+
operation (document not written/removed; API responds **HTTP 500** with
|
|
26
|
+
`{ "message", "statusCode": 500 }`). Every other path (player/action/swap/quiz/bulk/`after_*`)
|
|
27
|
+
still uses plain `execute()`, which swallows exceptions and persists the document.
|
|
28
|
+
- **Mode A (strict `throw`) vs Mode B (`after_create` + delete).** Rewrote
|
|
29
|
+
`guides/triggers-guide.md` §8 and updated `guides/trigger-examples.md` and
|
|
30
|
+
`modules/trigger.md` (new §2.5.1 `execute` vs `executeStrict`) to distinguish the two
|
|
31
|
+
rejection patterns and when each applies.
|
|
32
|
+
- **Version-dependent feature + detection probe.** Strict mode was added in a recent Engine
|
|
33
|
+
update and is not on every instance; docs and the `funifier-create-trigger` skill now
|
|
34
|
+
include a disposable-trigger probe to detect support before relying on it.
|
|
35
|
+
|
|
6
36
|
## [0.3.19]
|
|
7
37
|
|
|
8
38
|
Implementation of the prioritized improvements from the MCP implementation review
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"generatedAt": "2026-06-
|
|
2
|
+
"generatedAt": "2026-06-22T15:32:00.000Z",
|
|
3
3
|
"docsRoot": "datasource-funifier-docs/",
|
|
4
4
|
"docs": {
|
|
5
5
|
"knowledge/guides/aggregates.md": {
|
|
@@ -39,7 +39,8 @@
|
|
|
39
39
|
"status": "grouped",
|
|
40
40
|
"skillIds": [
|
|
41
41
|
"funifier-create-trigger",
|
|
42
|
-
"funifier-create-scheduler"
|
|
42
|
+
"funifier-create-scheduler",
|
|
43
|
+
"funifier-server-utils"
|
|
43
44
|
]
|
|
44
45
|
},
|
|
45
46
|
"knowledge/guides/permission-audit.md": {
|
|
@@ -48,6 +49,12 @@
|
|
|
48
49
|
"funifier-audit-permissions"
|
|
49
50
|
]
|
|
50
51
|
},
|
|
52
|
+
"knowledge/guides/server-utils.md": {
|
|
53
|
+
"status": "covered",
|
|
54
|
+
"skillIds": [
|
|
55
|
+
"funifier-server-utils"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
51
58
|
"knowledge/guides/trigger-examples.md": {
|
|
52
59
|
"status": "grouped",
|
|
53
60
|
"skillIds": [
|
|
@@ -59,7 +66,8 @@
|
|
|
59
66
|
"status": "grouped",
|
|
60
67
|
"skillIds": [
|
|
61
68
|
"funifier-create-trigger",
|
|
62
|
-
"funifier-debug"
|
|
69
|
+
"funifier-debug",
|
|
70
|
+
"funifier-server-utils"
|
|
63
71
|
]
|
|
64
72
|
},
|
|
65
73
|
"knowledge/index.md": {
|
|
@@ -338,8 +346,8 @@
|
|
|
338
346
|
}
|
|
339
347
|
},
|
|
340
348
|
"summary": {
|
|
341
|
-
"total":
|
|
342
|
-
"covered":
|
|
349
|
+
"total": 53,
|
|
350
|
+
"covered": 33,
|
|
343
351
|
"grouped": 14,
|
|
344
352
|
"deferred": 6,
|
|
345
353
|
"uncovered": 0
|