funifier-mcp 0.2.23 → 0.2.25
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/datasource-funifier-docs/.search-index.json +5588 -4475
- package/datasource-funifier-docs/.skills-map.json +3 -1
- package/datasource-funifier-docs/knowledge/guides/trigger-examples.md +511 -0
- package/datasource-funifier-docs/knowledge/guides/triggers-guide.md +1 -1
- package/datasource-funifier-docs/knowledge/modules/action.md +96 -39
- package/datasource-funifier-docs/knowledge/modules/challenge.md +285 -48
- package/datasource-funifier-docs/knowledge/modules/leaderboard.md +173 -71
- package/datasource-funifier-docs/knowledge/modules/point.md +108 -37
- package/datasource-funifier-docs/knowledge/modules/trigger.md +1 -1
- package/dist/cli/init.d.ts +1 -1
- package/dist/cli/init.d.ts.map +1 -1
- package/dist/cli/init.js +11 -4
- package/dist/cli/init.js.map +1 -1
- package/dist/core/api-client.d.ts +9 -9
- package/dist/core/api-client.d.ts.map +1 -1
- package/dist/core/api-client.js +58 -52
- package/dist/core/api-client.js.map +1 -1
- package/dist/core/api-client.test.js +49 -0
- package/dist/core/api-client.test.js.map +1 -1
- package/dist/core/constants.d.ts +1 -0
- package/dist/core/constants.d.ts.map +1 -1
- package/dist/core/constants.js +1 -0
- package/dist/core/constants.js.map +1 -1
- package/dist/mcp/bundle.js +71 -70
- package/dist/mcp/index.js +2 -1
- package/dist/mcp/index.js.map +1 -1
- package/dist/mcp/tools/get.d.ts.map +1 -1
- package/dist/mcp/tools/get.js +22 -8
- package/dist/mcp/tools/get.js.map +1 -1
- package/dist/mcp/tools/list.d.ts.map +1 -1
- package/dist/mcp/tools/list.js +9 -2
- package/dist/mcp/tools/list.js.map +1 -1
- package/dist/mcp/tools/save.d.ts.map +1 -1
- package/dist/mcp/tools/save.js +93 -4
- package/dist/mcp/tools/save.js.map +1 -1
- package/dist/mcp/tools/save.test.js +42 -0
- package/dist/mcp/tools/save.test.js.map +1 -1
- package/package.json +3 -2
- package/skills/funifier-create-action/SKILL.md +58 -18
- package/skills/funifier-create-aggregate/SKILL.md +1 -0
- package/skills/funifier-create-challenge/SKILL.md +1 -0
- package/skills/funifier-create-custom-page/SKILL.md +1 -0
- package/skills/funifier-create-leaderboard/SKILL.md +90 -18
- package/skills/funifier-create-level/SKILL.md +1 -0
- package/skills/funifier-create-point/SKILL.md +60 -18
- package/skills/funifier-create-quiz/SKILL.md +1 -0
- package/skills/funifier-create-scheduler/SKILL.md +1 -0
- package/skills/funifier-create-trigger/SKILL.md +110 -19
- package/skills/funifier-create-virtual-good/SKILL.md +1 -0
- package/skills/funifier-debug/SKILL.md +2 -0
- package/skills/funifier-help/SKILL.md +1 -0
- package/skills/funifier-implement-frontend/SKILL.md +1 -0
- package/skills/funifier-index/SKILL.md +9 -1
|
@@ -86,6 +86,7 @@ Configure in `.mcp.json` — see `README.md`. Tools: `funifier_list` (always fil
|
|
|
86
86
|
|
|
87
87
|
## Rules
|
|
88
88
|
|
|
89
|
+
- **Before any `funifier_*` MCP tool call**, check the Skill Workflows table above — if a skill matches, read its `SKILL.md` first. Skills contain correct enum values, field references, and examples.
|
|
89
90
|
- Search docs with `funifier-mcp search` before loading any file.
|
|
90
91
|
- Groovy scripts in Funifier: no `import` statements, use `manager` object for all platform APIs.
|
|
91
92
|
- Rebuild skills after doc changes: `npm run build:skills`.
|
|
@@ -77,6 +77,7 @@ See `README.md` for MCP configuration.
|
|
|
77
77
|
|
|
78
78
|
### Key rules
|
|
79
79
|
|
|
80
|
+
- **Before any `funifier_*` MCP tool call**, check the Skill Workflows table above — if a skill matches, follow it. Skills contain correct enum values, field references, and examples that prevent common errors.
|
|
80
81
|
- Always search docs before reading them in full.
|
|
81
82
|
- Never assume patterns from existing live resources — use `datasource-funifier-docs/` as source of truth.
|
|
82
83
|
- Funifier server-side scripts run in **Groovy** (Java-compatible). No `import` statements — all classes are pre-loaded.
|
package/AGENTS.md
CHANGED
|
@@ -91,6 +91,7 @@ To get detailed workflow guidance for any skill, read the corresponding `skills/
|
|
|
91
91
|
|
|
92
92
|
## Key Rules
|
|
93
93
|
|
|
94
|
+
- **Before any `funifier_*` MCP tool call**, check the Skill Routing table above — if a skill matches, follow it. Skills contain correct enum values, field references, and examples that prevent common errors.
|
|
94
95
|
- **Search before reading**: always run `funifier-mcp search` first, then read only the top results.
|
|
95
96
|
- **Never list all MCP resources** without a `search` parameter — always filter.
|
|
96
97
|
- **Docs are authoritative for patterns**: never infer patterns from existing live resources.
|