funifier-mcp 0.2.28 → 0.3.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/.cursor/rules/funifier.mdc +7 -7
- package/.github/copilot-instructions.md +10 -8
- package/AGENTS.md +8 -4
- package/README.md +6 -12
- package/datasource-funifier-docs/.coverage.json +1 -1
- package/dist/cli/init.d.ts.map +1 -1
- package/dist/cli/init.js +13 -9
- package/dist/cli/init.js.map +1 -1
- package/dist/cli/init.test.js +28 -9
- package/dist/cli/init.test.js.map +1 -1
- package/dist/cli/prompts.d.ts +1 -0
- package/dist/cli/prompts.d.ts.map +1 -1
- package/dist/cli/prompts.js +8 -0
- package/dist/cli/prompts.js.map +1 -1
- package/dist/cli/search.js +3 -3
- package/dist/cli/search.js.map +1 -1
- package/dist/cli/search.test.js +9 -9
- package/dist/cli/search.test.js.map +1 -1
- package/dist/mcp/bundle.js +84 -84
- package/dist/mcp/resources/documentation.d.ts.map +1 -1
- package/dist/mcp/resources/documentation.js +2 -1
- package/dist/mcp/resources/documentation.js.map +1 -1
- package/dist/mcp/tools/docs-flow.test.d.ts +2 -0
- package/dist/mcp/tools/docs-flow.test.d.ts.map +1 -0
- package/dist/mcp/tools/docs-flow.test.js +91 -0
- package/dist/mcp/tools/docs-flow.test.js.map +1 -0
- package/dist/mcp/tools/index.d.ts.map +1 -1
- package/dist/mcp/tools/index.js +2 -0
- package/dist/mcp/tools/index.js.map +1 -1
- package/dist/mcp/tools/read-doc.d.ts +3 -0
- package/dist/mcp/tools/read-doc.d.ts.map +1 -0
- package/dist/mcp/tools/read-doc.js +97 -0
- package/dist/mcp/tools/read-doc.js.map +1 -0
- package/dist/mcp/tools/read-doc.test.d.ts +2 -0
- package/dist/mcp/tools/read-doc.test.d.ts.map +1 -0
- package/dist/mcp/tools/read-doc.test.js +92 -0
- package/dist/mcp/tools/read-doc.test.js.map +1 -0
- package/dist/mcp/tools/search-docs.js +3 -3
- package/dist/mcp/tools/search-docs.js.map +1 -1
- package/dist/mcp/tools/search-docs.test.d.ts +2 -0
- package/dist/mcp/tools/search-docs.test.d.ts.map +1 -0
- package/dist/mcp/tools/search-docs.test.js +100 -0
- package/dist/mcp/tools/search-docs.test.js.map +1 -0
- package/package.json +1 -1
- package/skills/funifier/SKILL.md +5 -3
- package/skills/funifier/references/configure-security.md +7 -7
- package/skills/funifier/references/create-action.md +7 -7
- package/skills/funifier/references/create-aggregate.md +8 -8
- package/skills/funifier/references/create-challenge.md +8 -8
- package/skills/funifier/references/create-competition.md +6 -6
- package/skills/funifier/references/create-crossword.md +1 -1
- package/skills/funifier/references/create-custom-object.md +7 -7
- package/skills/funifier/references/create-custom-page.md +8 -8
- package/skills/funifier/references/create-folder.md +6 -6
- package/skills/funifier/references/create-lastmile.md +1 -1
- package/skills/funifier/references/create-leaderboard.md +8 -8
- package/skills/funifier/references/create-level.md +7 -7
- package/skills/funifier/references/create-notification.md +7 -7
- package/skills/funifier/references/create-point.md +7 -7
- package/skills/funifier/references/create-quiz.md +7 -7
- package/skills/funifier/references/create-scheduler.md +10 -10
- package/skills/funifier/references/create-story.md +1 -1
- package/skills/funifier/references/create-swap.md +6 -6
- package/skills/funifier/references/create-trigger.md +14 -14
- package/skills/funifier/references/create-virtual-good.md +7 -7
- package/skills/funifier/references/create-webhook.md +7 -7
- package/skills/funifier/references/create-websocket.md +8 -8
- package/skills/funifier/references/create-widget.md +7 -7
- package/skills/funifier/references/debug.md +16 -16
- package/skills/funifier/references/help.md +8 -8
- package/skills/funifier/references/implement-frontend.md +15 -15
- package/skills/funifier/references/import-csv.md +7 -7
- package/skills/funifier/references/manage-player.md +6 -6
- package/skills/funifier/references/manage-team.md +6 -6
- package/skills/funifier/references/upload-file.md +6 -6
|
@@ -6,20 +6,20 @@ Create a Funifier action — define trackable player behaviors with attributes
|
|
|
6
6
|
|
|
7
7
|
## Before starting — find relevant docs
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Use the `funifier_search_docs` MCP tool to load only what you need:
|
|
10
10
|
|
|
11
|
-
```
|
|
12
|
-
|
|
11
|
+
```
|
|
12
|
+
funifier_search_docs "action track player behavior attributes log event"
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
Then read the most relevant results with `funifier_read_doc path=<path>`.
|
|
16
16
|
|
|
17
17
|
## Primary docs for this skill
|
|
18
18
|
|
|
19
|
-
If search returns insufficient results, read directly:
|
|
19
|
+
If search returns insufficient results, read these directly:
|
|
20
20
|
|
|
21
|
-
- `
|
|
22
|
-
- `
|
|
21
|
+
- `funifier_read_doc path=modules/action`
|
|
22
|
+
- `funifier_read_doc path=modules/action-log`
|
|
23
23
|
|
|
24
24
|
## Steps
|
|
25
25
|
|
|
@@ -45,21 +45,21 @@ Note que `aggregate` é uma **string** contendo JSON serializado (com `\n` e `\"
|
|
|
45
45
|
|
|
46
46
|
## Before starting — find relevant docs
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
Use the `funifier_search_docs` MCP tool to load only what you need:
|
|
49
49
|
|
|
50
|
-
```
|
|
51
|
-
|
|
50
|
+
```
|
|
51
|
+
funifier_search_docs "aggregate mongodb pipeline report dashboard query prepared"
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
Then read the most relevant results with `funifier_read_doc path=<path>`.
|
|
55
55
|
|
|
56
56
|
## Primary docs for this skill
|
|
57
57
|
|
|
58
|
-
If search returns insufficient results, read directly:
|
|
58
|
+
If search returns insufficient results, read these directly:
|
|
59
59
|
|
|
60
|
-
- `
|
|
61
|
-
- `
|
|
62
|
-
- `
|
|
60
|
+
- `funifier_read_doc path=guides/aggregates`
|
|
61
|
+
- `funifier_read_doc path=guides/database-access`
|
|
62
|
+
- `funifier_read_doc path=modules/database`
|
|
63
63
|
|
|
64
64
|
## Steps
|
|
65
65
|
|
|
@@ -6,21 +6,21 @@ Create a Funifier challenge — missions with action rules and point rewards
|
|
|
6
6
|
|
|
7
7
|
## Before starting — find relevant docs
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Use the `funifier_search_docs` MCP tool to load only what you need:
|
|
10
10
|
|
|
11
|
-
```
|
|
12
|
-
|
|
11
|
+
```
|
|
12
|
+
funifier_search_docs "challenge mission reward rules action points gamification"
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
Then read the most relevant results with `funifier_read_doc path=<path>`.
|
|
16
16
|
|
|
17
17
|
## Primary docs for this skill
|
|
18
18
|
|
|
19
|
-
If search returns insufficient results, read directly:
|
|
19
|
+
If search returns insufficient results, read these directly:
|
|
20
20
|
|
|
21
|
-
- `
|
|
22
|
-
- `
|
|
23
|
-
- `
|
|
21
|
+
- `funifier_read_doc path=modules/challenge`
|
|
22
|
+
- `funifier_read_doc path=modules/action`
|
|
23
|
+
- `funifier_read_doc path=modules/point`
|
|
24
24
|
|
|
25
25
|
## Steps
|
|
26
26
|
|
|
@@ -6,19 +6,19 @@ Create a Funifier competition — timed ranking contests with player enrollment,
|
|
|
6
6
|
|
|
7
7
|
## Before starting — find relevant docs
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Use the `funifier_search_docs` MCP tool to load only what you need:
|
|
10
10
|
|
|
11
|
-
```
|
|
12
|
-
|
|
11
|
+
```
|
|
12
|
+
funifier_search_docs "competition contest ranking tournament enrollment rewards position gt26"
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
Then read the most relevant results with `funifier_read_doc path=<path>`.
|
|
16
16
|
|
|
17
17
|
## Primary docs for this skill
|
|
18
18
|
|
|
19
|
-
If search returns insufficient results, read directly:
|
|
19
|
+
If search returns insufficient results, read these directly:
|
|
20
20
|
|
|
21
|
-
- `
|
|
21
|
+
- `funifier_read_doc path=modules/competition`
|
|
22
22
|
|
|
23
23
|
## Steps
|
|
24
24
|
|
|
@@ -6,20 +6,20 @@ Create and manage Funifier custom objects — domain-specific collections with t
|
|
|
6
6
|
|
|
7
7
|
## Before starting — find relevant docs
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Use the `funifier_search_docs` MCP tool to load only what you need:
|
|
10
10
|
|
|
11
|
-
```
|
|
12
|
-
|
|
11
|
+
```
|
|
12
|
+
funifier_search_docs "custom object collection database crud __c domain entity business"
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
Then read the most relevant results with `funifier_read_doc path=<path>`.
|
|
16
16
|
|
|
17
17
|
## Primary docs for this skill
|
|
18
18
|
|
|
19
|
-
If search returns insufficient results, read directly:
|
|
19
|
+
If search returns insufficient results, read these directly:
|
|
20
20
|
|
|
21
|
-
- `
|
|
22
|
-
- `
|
|
21
|
+
- `funifier_read_doc path=modules/custom-object`
|
|
22
|
+
- `funifier_read_doc path=modules/database`
|
|
23
23
|
|
|
24
24
|
## Steps
|
|
25
25
|
|
|
@@ -45,21 +45,21 @@ Note que `aggregate` é uma **string** contendo JSON serializado (com `\n` e `\"
|
|
|
45
45
|
|
|
46
46
|
## Before starting — find relevant docs
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
Use the `funifier_search_docs` MCP tool to load only what you need:
|
|
49
49
|
|
|
50
|
-
```
|
|
51
|
-
|
|
50
|
+
```
|
|
51
|
+
funifier_search_docs "custom page studio dashboard angularjs bootstrap admin crud kpi"
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
Then read the most relevant results with `funifier_read_doc path=<path>`.
|
|
55
55
|
|
|
56
56
|
## Primary docs for this skill
|
|
57
57
|
|
|
58
|
-
If search returns insufficient results, read directly:
|
|
58
|
+
If search returns insufficient results, read these directly:
|
|
59
59
|
|
|
60
|
-
- `
|
|
61
|
-
- `
|
|
62
|
-
- `
|
|
60
|
+
- `funifier_read_doc path=modules/studio-page`
|
|
61
|
+
- `funifier_read_doc path=guides/aggregates`
|
|
62
|
+
- `funifier_read_doc path=modules/auth`
|
|
63
63
|
|
|
64
64
|
## Steps
|
|
65
65
|
|
|
@@ -6,19 +6,19 @@ Create a Funifier learning trail (folder) — hierarchical courses with content
|
|
|
6
6
|
|
|
7
7
|
## Before starting — find relevant docs
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Use the `funifier_search_docs` MCP tool to load only what you need:
|
|
10
10
|
|
|
11
|
-
```
|
|
12
|
-
|
|
11
|
+
```
|
|
12
|
+
funifier_search_docs "folder trail course learning progress content hierarchy unlock training lms"
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
Then read the most relevant results with `funifier_read_doc path=<path>`.
|
|
16
16
|
|
|
17
17
|
## Primary docs for this skill
|
|
18
18
|
|
|
19
|
-
If search returns insufficient results, read directly:
|
|
19
|
+
If search returns insufficient results, read these directly:
|
|
20
20
|
|
|
21
|
-
- `
|
|
21
|
+
- `funifier_read_doc path=modules/folder`
|
|
22
22
|
|
|
23
23
|
## Steps
|
|
24
24
|
|
|
@@ -6,21 +6,21 @@ Create a Funifier leaderboard — rankings by points, actions, or attributes
|
|
|
6
6
|
|
|
7
7
|
## Before starting — find relevant docs
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Use the `funifier_search_docs` MCP tool to load only what you need:
|
|
10
10
|
|
|
11
|
-
```
|
|
12
|
-
|
|
11
|
+
```
|
|
12
|
+
funifier_search_docs "leaderboard ranking score top players classification board"
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
Then read the most relevant results with `funifier_read_doc path=<path>`.
|
|
16
16
|
|
|
17
17
|
## Primary docs for this skill
|
|
18
18
|
|
|
19
|
-
If search returns insufficient results, read directly:
|
|
19
|
+
If search returns insufficient results, read these directly:
|
|
20
20
|
|
|
21
|
-
- `
|
|
22
|
-
- `
|
|
23
|
-
- `
|
|
21
|
+
- `funifier_read_doc path=modules/leaderboard`
|
|
22
|
+
- `funifier_read_doc path=modules/point`
|
|
23
|
+
- `funifier_read_doc path=modules/action`
|
|
24
24
|
|
|
25
25
|
## Steps
|
|
26
26
|
|
|
@@ -6,20 +6,20 @@ Create Funifier levels — progression system based on accumulated points
|
|
|
6
6
|
|
|
7
7
|
## Before starting — find relevant docs
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Use the `funifier_search_docs` MCP tool to load only what you need:
|
|
10
10
|
|
|
11
|
-
```
|
|
12
|
-
|
|
11
|
+
```
|
|
12
|
+
funifier_search_docs "level progression rank tier xp points unlock"
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
Then read the most relevant results with `funifier_read_doc path=<path>`.
|
|
16
16
|
|
|
17
17
|
## Primary docs for this skill
|
|
18
18
|
|
|
19
|
-
If search returns insufficient results, read directly:
|
|
19
|
+
If search returns insufficient results, read these directly:
|
|
20
20
|
|
|
21
|
-
- `
|
|
22
|
-
- `
|
|
21
|
+
- `funifier_read_doc path=modules/level`
|
|
22
|
+
- `funifier_read_doc path=modules/point`
|
|
23
23
|
|
|
24
24
|
## Steps
|
|
25
25
|
|
|
@@ -6,19 +6,19 @@ Create a Funifier notification — standalone automated player feedback messages
|
|
|
6
6
|
|
|
7
7
|
## Before starting — find relevant docs
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Use the `funifier_search_docs` MCP tool to load only what you need:
|
|
10
10
|
|
|
11
|
-
```
|
|
12
|
-
|
|
11
|
+
```
|
|
12
|
+
funifier_search_docs "notification message push feedback alert player event"
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
Then read the most relevant results with `funifier_read_doc path=<path>`.
|
|
16
16
|
|
|
17
17
|
## Primary docs for this skill
|
|
18
18
|
|
|
19
|
-
If search returns insufficient results, read directly:
|
|
19
|
+
If search returns insufficient results, read these directly:
|
|
20
20
|
|
|
21
|
-
- `
|
|
21
|
+
- `funifier_read_doc path=modules/notification`
|
|
22
22
|
|
|
23
23
|
## Steps
|
|
24
24
|
|
|
@@ -44,7 +44,7 @@ funifier_list type=notification search=<descricao>
|
|
|
44
44
|
### 2. Ler a documentação do módulo
|
|
45
45
|
|
|
46
46
|
```
|
|
47
|
-
|
|
47
|
+
funifier_read_doc path=modules/notification
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
### 3. Criar a notificação
|
|
@@ -6,20 +6,20 @@ Create a Funifier point category — XP, coins, or custom metrics
|
|
|
6
6
|
|
|
7
7
|
## Before starting — find relevant docs
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Use the `funifier_search_docs` MCP tool to load only what you need:
|
|
10
10
|
|
|
11
|
-
```
|
|
12
|
-
|
|
11
|
+
```
|
|
12
|
+
funifier_search_docs "point xp coin currency score metric category"
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
Then read the most relevant results with `funifier_read_doc path=<path>`.
|
|
16
16
|
|
|
17
17
|
## Primary docs for this skill
|
|
18
18
|
|
|
19
|
-
If search returns insufficient results, read directly:
|
|
19
|
+
If search returns insufficient results, read these directly:
|
|
20
20
|
|
|
21
|
-
- `
|
|
22
|
-
- `
|
|
21
|
+
- `funifier_read_doc path=modules/point`
|
|
22
|
+
- `funifier_read_doc path=modules/achievement`
|
|
23
23
|
|
|
24
24
|
## Steps
|
|
25
25
|
|
|
@@ -6,20 +6,20 @@ Create a Funifier quiz — questionnaires with multiple-choice questions
|
|
|
6
6
|
|
|
7
7
|
## Before starting — find relevant docs
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Use the `funifier_search_docs` MCP tool to load only what you need:
|
|
10
10
|
|
|
11
|
-
```
|
|
12
|
-
|
|
11
|
+
```
|
|
12
|
+
funifier_search_docs "quiz question answer questionnaire multiple choice survey"
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
Then read the most relevant results with `funifier_read_doc path=<path>`.
|
|
16
16
|
|
|
17
17
|
## Primary docs for this skill
|
|
18
18
|
|
|
19
|
-
If search returns insufficient results, read directly:
|
|
19
|
+
If search returns insufficient results, read these directly:
|
|
20
20
|
|
|
21
|
-
- `
|
|
22
|
-
- `
|
|
21
|
+
- `funifier_read_doc path=modules/quiz`
|
|
22
|
+
- `funifier_read_doc path=modules/question`
|
|
23
23
|
|
|
24
24
|
## Steps
|
|
25
25
|
|
|
@@ -45,21 +45,21 @@ Note que `aggregate` é uma **string** contendo JSON serializado (com `\n` e `\"
|
|
|
45
45
|
|
|
46
46
|
## Before starting — find relevant docs
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
Use the `funifier_search_docs` MCP tool to load only what you need:
|
|
49
49
|
|
|
50
|
-
```
|
|
51
|
-
|
|
50
|
+
```
|
|
51
|
+
funifier_search_docs "scheduler cron groovy java scheduled job periodic"
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
Then read the most relevant results with `funifier_read_doc path=<path>`.
|
|
55
55
|
|
|
56
56
|
## Primary docs for this skill
|
|
57
57
|
|
|
58
|
-
If search returns insufficient results, read directly:
|
|
58
|
+
If search returns insufficient results, read these directly:
|
|
59
59
|
|
|
60
|
-
- `
|
|
61
|
-
- `
|
|
62
|
-
- `
|
|
60
|
+
- `funifier_read_doc path=modules/scheduler`
|
|
61
|
+
- `funifier_read_doc path=guides/java-managers`
|
|
62
|
+
- `funifier_read_doc path=guides/java-libraries`
|
|
63
63
|
|
|
64
64
|
## Steps
|
|
65
65
|
|
|
@@ -112,8 +112,8 @@ void execute() {
|
|
|
112
112
|
```
|
|
113
113
|
|
|
114
114
|
> Leituras obrigatórias para Groovy avançado:
|
|
115
|
-
> - `
|
|
116
|
-
> - `
|
|
115
|
+
> - `funifier_read_doc path=guides/java-managers`
|
|
116
|
+
> - `funifier_read_doc path=guides/java-libraries`
|
|
117
117
|
|
|
118
118
|
### 4. Montar e salvar o payload
|
|
119
119
|
|
|
@@ -6,19 +6,19 @@ Create a Funifier swap — player-to-player trade offers for items or points wit
|
|
|
6
6
|
|
|
7
7
|
## Before starting — find relevant docs
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Use the `funifier_search_docs` MCP tool to load only what you need:
|
|
10
10
|
|
|
11
|
-
```
|
|
12
|
-
|
|
11
|
+
```
|
|
12
|
+
funifier_search_docs "swap trade exchange offer counter-offer peer social marketplace"
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
Then read the most relevant results with `funifier_read_doc path=<path>`.
|
|
16
16
|
|
|
17
17
|
## Primary docs for this skill
|
|
18
18
|
|
|
19
|
-
If search returns insufficient results, read directly:
|
|
19
|
+
If search returns insufficient results, read these directly:
|
|
20
20
|
|
|
21
|
-
- `
|
|
21
|
+
- `funifier_read_doc path=modules/swap`
|
|
22
22
|
|
|
23
23
|
## Steps
|
|
24
24
|
|
|
@@ -45,23 +45,23 @@ Note que `aggregate` é uma **string** contendo JSON serializado (com `\n` e `\"
|
|
|
45
45
|
|
|
46
46
|
## Before starting — find relevant docs
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
Use the `funifier_search_docs` MCP tool to load only what you need:
|
|
49
49
|
|
|
50
|
-
```
|
|
51
|
-
|
|
50
|
+
```
|
|
51
|
+
funifier_search_docs "trigger event groovy java before_create after_win entity script achievement_type context_extra bulk csv after_bulk before_bulk"
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
Then read the most relevant results with `funifier_read_doc path=<path>`.
|
|
55
55
|
|
|
56
56
|
## Primary docs for this skill
|
|
57
57
|
|
|
58
|
-
If search returns insufficient results, read directly:
|
|
58
|
+
If search returns insufficient results, read these directly:
|
|
59
59
|
|
|
60
|
-
- `
|
|
61
|
-
- `
|
|
62
|
-
- `
|
|
63
|
-
- `
|
|
64
|
-
- `
|
|
60
|
+
- `funifier_read_doc path=modules/trigger`
|
|
61
|
+
- `funifier_read_doc path=guides/triggers-guide`
|
|
62
|
+
- `funifier_read_doc path=guides/java-entities`
|
|
63
|
+
- `funifier_read_doc path=guides/java-managers`
|
|
64
|
+
- `funifier_read_doc path=guides/trigger-examples`
|
|
65
65
|
|
|
66
66
|
## Steps
|
|
67
67
|
|
|
@@ -105,9 +105,9 @@ O Funifier **sempre salva o documento** antes de executar o trigger.
|
|
|
105
105
|
|
|
106
106
|
## Leituras obrigatórias (não condicionais — leia antes de escrever qualquer Groovy)
|
|
107
107
|
|
|
108
|
-
- `
|
|
109
|
-
- `
|
|
110
|
-
- `
|
|
108
|
+
- `funifier_read_doc path=guides/java-entities`
|
|
109
|
+
- `funifier_read_doc path=guides/java-managers`
|
|
110
|
+
- `funifier_read_doc path=guides/trigger-examples`
|
|
111
111
|
|
|
112
112
|
---
|
|
113
113
|
|
|
@@ -144,7 +144,7 @@ Se existir e estiver correto, parar — não recriar.
|
|
|
144
144
|
### 3. Ler documentação obrigatória
|
|
145
145
|
|
|
146
146
|
Leia os três arquivos listados acima antes de escrever qualquer código.
|
|
147
|
-
Use também `
|
|
147
|
+
Use também `funifier_read_doc path=guides/trigger-examples` para encontrar o padrão mais próximo do requisito.
|
|
148
148
|
|
|
149
149
|
### 4. Escrever o script Groovy
|
|
150
150
|
|
|
@@ -6,20 +6,20 @@ Create a Funifier virtual good — catalog items players can purchase with point
|
|
|
6
6
|
|
|
7
7
|
## Before starting — find relevant docs
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Use the `funifier_search_docs` MCP tool to load only what you need:
|
|
10
10
|
|
|
11
|
-
```
|
|
12
|
-
|
|
11
|
+
```
|
|
12
|
+
funifier_search_docs "virtual good item catalog store purchase marketplace shop"
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
Then read the most relevant results with `funifier_read_doc path=<path>`.
|
|
16
16
|
|
|
17
17
|
## Primary docs for this skill
|
|
18
18
|
|
|
19
|
-
If search returns insufficient results, read directly:
|
|
19
|
+
If search returns insufficient results, read these directly:
|
|
20
20
|
|
|
21
|
-
- `
|
|
22
|
-
- `
|
|
21
|
+
- `funifier_read_doc path=modules/virtual-good`
|
|
22
|
+
- `funifier_read_doc path=modules/point`
|
|
23
23
|
|
|
24
24
|
## Steps
|
|
25
25
|
|
|
@@ -6,19 +6,19 @@ Create a Funifier webhook — push real-time event payloads to external endpoint
|
|
|
6
6
|
|
|
7
7
|
## Before starting — find relevant docs
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Use the `funifier_search_docs` MCP tool to load only what you need:
|
|
10
10
|
|
|
11
|
-
```
|
|
12
|
-
|
|
11
|
+
```
|
|
12
|
+
funifier_search_docs "webhook integration external push event outbound realtime"
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
Then read the most relevant results with `funifier_read_doc path=<path>`.
|
|
16
16
|
|
|
17
17
|
## Primary docs for this skill
|
|
18
18
|
|
|
19
|
-
If search returns insufficient results, read directly:
|
|
19
|
+
If search returns insufficient results, read these directly:
|
|
20
20
|
|
|
21
|
-
- `
|
|
21
|
+
- `funifier_read_doc path=modules/webhook`
|
|
22
22
|
|
|
23
23
|
## Steps
|
|
24
24
|
|
|
@@ -43,7 +43,7 @@ funifier_list type=webhook search=<descricao>
|
|
|
43
43
|
### 2. Ler a documentação do módulo
|
|
44
44
|
|
|
45
45
|
```
|
|
46
|
-
|
|
46
|
+
funifier_read_doc path=modules/webhook
|
|
47
47
|
```
|
|
48
48
|
|
|
49
49
|
### 3. Criar o webhook
|
|
@@ -6,19 +6,19 @@ Create a Funifier websocket configuration — real-time bidirectional communicat
|
|
|
6
6
|
|
|
7
7
|
## Before starting — find relevant docs
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Use the `funifier_search_docs` MCP tool to load only what you need:
|
|
10
10
|
|
|
11
|
-
```
|
|
12
|
-
|
|
11
|
+
```
|
|
12
|
+
funifier_search_docs "websocket realtime live chat competition feedback socket bidirectional"
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
Then read the most relevant results with `funifier_read_doc path=<path>`.
|
|
16
16
|
|
|
17
17
|
## Primary docs for this skill
|
|
18
18
|
|
|
19
|
-
If search returns insufficient results, read directly:
|
|
19
|
+
If search returns insufficient results, read these directly:
|
|
20
20
|
|
|
21
|
-
- `
|
|
21
|
+
- `funifier_read_doc path=modules/websocket`
|
|
22
22
|
|
|
23
23
|
## Steps
|
|
24
24
|
|
|
@@ -39,7 +39,7 @@ funifier_list type=websocket
|
|
|
39
39
|
### 2. Ler a documentação do módulo
|
|
40
40
|
|
|
41
41
|
```
|
|
42
|
-
|
|
42
|
+
funifier_read_doc path=modules/websocket
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
### 3. Criar a configuração de WebSocket
|
|
@@ -60,7 +60,7 @@ funifier_save type=websocket payload=<json>
|
|
|
60
60
|
|
|
61
61
|
### 4. Integrar no frontend
|
|
62
62
|
|
|
63
|
-
Para consumir via JavaScript, use a URL de WebSocket do Funifier e autentique com o Bearer token do jogador. Consulte `
|
|
63
|
+
Para consumir via JavaScript, use a URL de WebSocket do Funifier e autentique com o Bearer token do jogador. Consulte `funifier_read_doc path=modules/websocket` para o protocolo de conexão específico da sua versão.
|
|
64
64
|
|
|
65
65
|
### 5. Validar
|
|
66
66
|
|