@xano/developer-mcp 1.0.56 → 1.0.57
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/README.md +42 -10
- package/dist/cli_docs/index.d.ts +10 -0
- package/dist/cli_docs/index.js +10 -0
- package/dist/index.js +2 -18
- package/dist/lib.d.ts +2 -2
- package/dist/lib.js +1 -1
- package/dist/meta_api_docs/index.d.ts +10 -0
- package/dist/meta_api_docs/index.js +10 -0
- package/dist/tools/cli_docs.js +1 -0
- package/dist/tools/index.d.ts +138 -2
- package/dist/tools/index.js +60 -8
- package/dist/tools/index.test.d.ts +1 -0
- package/dist/tools/index.test.js +179 -0
- package/dist/tools/mcp_version.d.ts +10 -0
- package/dist/tools/mcp_version.js +13 -1
- package/dist/tools/meta_api_docs.js +1 -0
- package/dist/tools/types.d.ts +15 -6
- package/dist/tools/types.js +10 -4
- package/dist/tools/validate_xanoscript.d.ts +14 -0
- package/dist/tools/validate_xanoscript.js +22 -5
- package/dist/tools/xanoscript_docs.d.ts +32 -1
- package/dist/tools/xanoscript_docs.js +66 -2
- package/dist/tools/xanoscript_docs.test.d.ts +1 -0
- package/dist/tools/xanoscript_docs.test.js +197 -0
- package/dist/xanoscript.d.ts +17 -1
- package/dist/xanoscript.js +99 -189
- package/dist/xanoscript.test.js +75 -1
- package/dist/xanoscript_docs/docs_index.json +131 -60
- package/package.json +1 -1
|
@@ -3,154 +3,225 @@
|
|
|
3
3
|
"description": "Machine-readable index for XanoScript documentation",
|
|
4
4
|
|
|
5
5
|
"topics": {
|
|
6
|
+
"readme": {
|
|
7
|
+
"file": "README.md",
|
|
8
|
+
"description": "XanoScript overview, workspace structure, and quick reference",
|
|
9
|
+
"applyTo": [],
|
|
10
|
+
"aliases": ["overview", "intro", "index"]
|
|
11
|
+
},
|
|
6
12
|
"essentials": {
|
|
7
13
|
"file": "essentials.md",
|
|
8
|
-
"
|
|
14
|
+
"description": "Common patterns, quick reference, and common mistakes to avoid",
|
|
15
|
+
"applyTo": ["**/*.xs"],
|
|
9
16
|
"priority": 1,
|
|
10
17
|
"aliases": ["quick", "common", "basics", "start", "cheatsheet", "quickstart", "patterns", "mistakes"]
|
|
11
18
|
},
|
|
12
19
|
"syntax": {
|
|
13
20
|
"file": "syntax.md",
|
|
14
|
-
"
|
|
21
|
+
"description": "Expressions, operators, and filters for all XanoScript code",
|
|
22
|
+
"applyTo": ["**/*.xs"],
|
|
15
23
|
"priority": 2,
|
|
16
24
|
"aliases": ["filters", "operators", "expressions"]
|
|
17
25
|
},
|
|
18
26
|
"syntax/string-filters": {
|
|
19
27
|
"file": "syntax/string-filters.md",
|
|
20
|
-
"
|
|
28
|
+
"description": "String filters, regex, encoding, security filters, text functions",
|
|
29
|
+
"applyTo": [],
|
|
21
30
|
"aliases": ["string", "regex", "encoding", "security-filters"]
|
|
22
31
|
},
|
|
23
32
|
"syntax/array-filters": {
|
|
24
33
|
"file": "syntax/array-filters.md",
|
|
25
|
-
"
|
|
34
|
+
"description": "Array filters, functional operations, and array functions",
|
|
35
|
+
"applyTo": [],
|
|
26
36
|
"aliases": ["array", "map", "filter", "reduce", "sort"]
|
|
27
37
|
},
|
|
28
38
|
"syntax/functions": {
|
|
29
39
|
"file": "syntax/functions.md",
|
|
30
|
-
"
|
|
40
|
+
"description": "Math filters/functions, object functions, bitwise operations",
|
|
41
|
+
"applyTo": [],
|
|
31
42
|
"aliases": ["math", "object", "bitwise"]
|
|
32
43
|
},
|
|
33
44
|
"types": {
|
|
34
45
|
"file": "types.md",
|
|
35
|
-
"
|
|
46
|
+
"description": "Data types, input blocks, and validation",
|
|
47
|
+
"applyTo": ["functions/**/*.xs", "apis/**/*.xs", "tools/**/*.xs", "agents/**/*.xs"],
|
|
36
48
|
"priority": 4,
|
|
37
49
|
"aliases": ["validation", "input", "data-types"]
|
|
38
50
|
},
|
|
39
|
-
"database": {
|
|
40
|
-
"file": "database.md",
|
|
41
|
-
"purpose": "All db.* operations",
|
|
42
|
-
"priority": 5,
|
|
43
|
-
"aliases": ["db", "crud", "query", "sql"]
|
|
44
|
-
},
|
|
45
51
|
"tables": {
|
|
46
52
|
"file": "tables.md",
|
|
47
|
-
"
|
|
53
|
+
"description": "Database schema definitions with indexes and relationships",
|
|
54
|
+
"applyTo": ["tables/*.xs"],
|
|
48
55
|
"aliases": ["schema", "fields", "indexes"]
|
|
49
56
|
},
|
|
57
|
+
"functions": {
|
|
58
|
+
"file": "functions.md",
|
|
59
|
+
"description": "Reusable function stacks with inputs and responses",
|
|
60
|
+
"applyTo": ["functions/**/*.xs"],
|
|
61
|
+
"aliases": ["fn", "reusable", "stack"]
|
|
62
|
+
},
|
|
50
63
|
"apis": {
|
|
51
64
|
"file": "apis.md",
|
|
52
|
-
"
|
|
65
|
+
"description": "HTTP endpoint definitions with authentication and CRUD patterns",
|
|
66
|
+
"applyTo": ["apis/**/*.xs"],
|
|
53
67
|
"aliases": ["endpoints", "http", "rest", "query"]
|
|
54
68
|
},
|
|
55
|
-
"
|
|
56
|
-
"file": "
|
|
57
|
-
"
|
|
58
|
-
"
|
|
69
|
+
"tasks": {
|
|
70
|
+
"file": "tasks.md",
|
|
71
|
+
"description": "Scheduled and cron jobs",
|
|
72
|
+
"applyTo": ["tasks/*.xs"],
|
|
73
|
+
"aliases": ["scheduled", "jobs", "cron"]
|
|
59
74
|
},
|
|
60
75
|
"triggers": {
|
|
61
76
|
"file": "triggers.md",
|
|
62
|
-
"
|
|
77
|
+
"description": "Event-driven handlers (table, realtime, workspace, agent, MCP)",
|
|
78
|
+
"applyTo": ["triggers/**/*.xs"],
|
|
63
79
|
"aliases": ["events", "hooks", "handlers"]
|
|
64
80
|
},
|
|
81
|
+
"database": {
|
|
82
|
+
"file": "database.md",
|
|
83
|
+
"description": "All db.* operations: query, get, add, edit, patch, delete",
|
|
84
|
+
"applyTo": ["functions/**/*.xs", "apis/**/*.xs", "tasks/*.xs", "tools/**/*.xs"],
|
|
85
|
+
"priority": 5,
|
|
86
|
+
"aliases": ["db", "crud", "query", "sql"]
|
|
87
|
+
},
|
|
65
88
|
"agents": {
|
|
66
89
|
"file": "agents.md",
|
|
67
|
-
"
|
|
90
|
+
"description": "AI agent configuration with LLM providers and tools",
|
|
91
|
+
"applyTo": ["agents/**/*.xs"],
|
|
68
92
|
"aliases": ["ai", "llm", "chatbot"]
|
|
69
93
|
},
|
|
70
94
|
"tools": {
|
|
71
95
|
"file": "tools.md",
|
|
72
|
-
"
|
|
96
|
+
"description": "AI tools for agents and MCP servers",
|
|
97
|
+
"applyTo": ["tools/**/*.xs"],
|
|
73
98
|
"aliases": ["ai-tools", "agent-tools"]
|
|
74
99
|
},
|
|
100
|
+
"mcp-servers": {
|
|
101
|
+
"file": "mcp-servers.md",
|
|
102
|
+
"description": "MCP server definitions exposing tools",
|
|
103
|
+
"applyTo": ["mcp_servers/**/*.xs"],
|
|
104
|
+
"aliases": ["mcp", "model-context-protocol"]
|
|
105
|
+
},
|
|
106
|
+
"unit-testing": {
|
|
107
|
+
"file": "unit-testing.md",
|
|
108
|
+
"description": "Unit tests, mocks, and assertions within functions, APIs, and middleware",
|
|
109
|
+
"applyTo": ["functions/**/*.xs", "apis/**/*.xs", "middleware/**/*.xs"],
|
|
110
|
+
"aliases": ["tests", "unit-tests", "mocks", "assertions"]
|
|
111
|
+
},
|
|
112
|
+
"workflow-tests": {
|
|
113
|
+
"file": "workflow-tests.md",
|
|
114
|
+
"description": "End-to-end workflow tests with data source selection and tags",
|
|
115
|
+
"applyTo": ["workflow_test/**/*.xs"],
|
|
116
|
+
"aliases": ["e2e", "workflow", "integration-tests"]
|
|
117
|
+
},
|
|
75
118
|
"integrations": {
|
|
76
119
|
"file": "integrations.md",
|
|
77
|
-
"
|
|
120
|
+
"description": "External service integrations index - see sub-topics for details",
|
|
121
|
+
"applyTo": [],
|
|
78
122
|
"aliases": ["external", "services", "cloud"]
|
|
79
123
|
},
|
|
80
124
|
"integrations/cloud-storage": {
|
|
81
125
|
"file": "integrations/cloud-storage.md",
|
|
82
|
-
"
|
|
126
|
+
"description": "AWS S3, Azure Blob, and GCP Storage operations",
|
|
127
|
+
"applyTo": [],
|
|
83
128
|
"aliases": ["s3", "azure", "gcp", "files", "upload"]
|
|
84
129
|
},
|
|
85
130
|
"integrations/search": {
|
|
86
131
|
"file": "integrations/search.md",
|
|
87
|
-
"
|
|
132
|
+
"description": "Elasticsearch, OpenSearch, and Algolia search operations",
|
|
133
|
+
"applyTo": [],
|
|
88
134
|
"aliases": ["elasticsearch", "algolia", "full-text"]
|
|
89
135
|
},
|
|
90
136
|
"integrations/redis": {
|
|
91
137
|
"file": "integrations/redis.md",
|
|
92
|
-
"
|
|
138
|
+
"description": "Redis caching, rate limiting, and queue operations",
|
|
139
|
+
"applyTo": [],
|
|
93
140
|
"aliases": ["cache", "rate-limit", "queue"]
|
|
94
141
|
},
|
|
95
142
|
"integrations/external-apis": {
|
|
96
143
|
"file": "integrations/external-apis.md",
|
|
97
|
-
"
|
|
144
|
+
"description": "HTTP requests with api.request patterns",
|
|
145
|
+
"applyTo": [],
|
|
98
146
|
"aliases": ["http", "api", "request", "fetch"]
|
|
99
147
|
},
|
|
100
148
|
"integrations/utilities": {
|
|
101
149
|
"file": "integrations/utilities.md",
|
|
102
|
-
"
|
|
150
|
+
"description": "Local storage, email, zip, and Lambda utilities",
|
|
151
|
+
"applyTo": [],
|
|
103
152
|
"aliases": ["email", "zip", "lambda", "archive"]
|
|
104
153
|
},
|
|
105
|
-
"
|
|
106
|
-
"file": "
|
|
107
|
-
"
|
|
108
|
-
"
|
|
154
|
+
"frontend": {
|
|
155
|
+
"file": "frontend.md",
|
|
156
|
+
"description": "Static frontend development and deployment",
|
|
157
|
+
"applyTo": ["static/**/*"],
|
|
158
|
+
"aliases": ["static", "html", "css", "web"]
|
|
159
|
+
},
|
|
160
|
+
"run": {
|
|
161
|
+
"file": "run.md",
|
|
162
|
+
"description": "Run job and service configurations for the Xano Job Runner",
|
|
163
|
+
"applyTo": ["run/**/*.xs"],
|
|
164
|
+
"aliases": ["jobs", "runner", "services"]
|
|
165
|
+
},
|
|
166
|
+
"addons": {
|
|
167
|
+
"file": "addons.md",
|
|
168
|
+
"description": "Reusable subqueries for fetching related data",
|
|
169
|
+
"applyTo": ["addons/*.xs"],
|
|
170
|
+
"aliases": ["subqueries", "relations"]
|
|
171
|
+
},
|
|
172
|
+
"debugging": {
|
|
173
|
+
"file": "debugging.md",
|
|
174
|
+
"description": "Logging, inspecting, and debugging XanoScript execution",
|
|
175
|
+
"applyTo": ["**/*.xs"],
|
|
176
|
+
"aliases": ["logs", "debug", "trace"]
|
|
109
177
|
},
|
|
110
178
|
"performance": {
|
|
111
179
|
"file": "performance.md",
|
|
112
|
-
"
|
|
180
|
+
"description": "Performance optimization best practices",
|
|
181
|
+
"applyTo": ["functions/**/*.xs", "apis/**/*.xs"],
|
|
113
182
|
"aliases": ["optimization", "speed", "caching"]
|
|
114
183
|
},
|
|
115
|
-
"
|
|
116
|
-
"file": "
|
|
117
|
-
"
|
|
118
|
-
"
|
|
184
|
+
"realtime": {
|
|
185
|
+
"file": "realtime.md",
|
|
186
|
+
"description": "Real-time channels and events for push updates",
|
|
187
|
+
"applyTo": ["triggers/**/*.xs"],
|
|
188
|
+
"aliases": ["websocket", "channels", "pubsub"]
|
|
119
189
|
},
|
|
120
|
-
"
|
|
121
|
-
"file": "
|
|
122
|
-
"
|
|
123
|
-
"
|
|
190
|
+
"schema": {
|
|
191
|
+
"file": "schema.md",
|
|
192
|
+
"description": "Runtime schema parsing and validation",
|
|
193
|
+
"applyTo": [],
|
|
194
|
+
"aliases": ["runtime-schema", "parsing"]
|
|
195
|
+
},
|
|
196
|
+
"security": {
|
|
197
|
+
"file": "security.md",
|
|
198
|
+
"description": "Security best practices for authentication and authorization",
|
|
199
|
+
"applyTo": ["functions/**/*.xs", "apis/**/*.xs"],
|
|
200
|
+
"aliases": ["auth", "authorization", "permissions"]
|
|
124
201
|
},
|
|
125
202
|
"streaming": {
|
|
126
203
|
"file": "streaming.md",
|
|
127
|
-
"
|
|
204
|
+
"description": "Streaming data from files, requests, and responses",
|
|
205
|
+
"applyTo": [],
|
|
128
206
|
"aliases": ["stream", "large-files"]
|
|
129
207
|
},
|
|
130
|
-
"realtime": {
|
|
131
|
-
"file": "realtime.md",
|
|
132
|
-
"purpose": "Real-time channel configuration",
|
|
133
|
-
"aliases": ["websocket", "channels", "pubsub"]
|
|
134
|
-
},
|
|
135
208
|
"middleware": {
|
|
136
209
|
"file": "middleware.md",
|
|
137
|
-
"
|
|
210
|
+
"description": "Request/response interceptors for functions, queries, tasks, and tools",
|
|
211
|
+
"applyTo": ["middleware/**/*.xs"],
|
|
138
212
|
"aliases": ["interceptors", "hooks"]
|
|
139
213
|
},
|
|
140
|
-
"
|
|
141
|
-
"file": "
|
|
142
|
-
"
|
|
143
|
-
"
|
|
144
|
-
|
|
145
|
-
"workflow-tests": {
|
|
146
|
-
"file": "workflow-tests.md",
|
|
147
|
-
"purpose": "End-to-end workflow tests",
|
|
148
|
-
"aliases": ["e2e", "workflow", "integration-tests"]
|
|
214
|
+
"branch": {
|
|
215
|
+
"file": "branch.md",
|
|
216
|
+
"description": "Branch-level settings: middleware, history retention, visual styling",
|
|
217
|
+
"applyTo": ["branch.xs"],
|
|
218
|
+
"aliases": ["settings", "config"]
|
|
149
219
|
},
|
|
150
|
-
"
|
|
151
|
-
"file": "
|
|
152
|
-
"
|
|
153
|
-
"
|
|
220
|
+
"workspace": {
|
|
221
|
+
"file": "workspace.md",
|
|
222
|
+
"description": "Workspace-level settings: environment variables, preferences, realtime",
|
|
223
|
+
"applyTo": ["workspace/**/*.xs"],
|
|
224
|
+
"aliases": ["env", "environment", "preferences"]
|
|
154
225
|
}
|
|
155
226
|
},
|
|
156
227
|
|
package/package.json
CHANGED