@stackable-labs/mcp-app-extension 1.7.0 → 1.8.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/dist/index.js CHANGED
@@ -2271,7 +2271,7 @@ Every domain your extension calls must be listed in \`allowedDomains\`:
2271
2271
  - The framework will reject requests to unlisted domains
2272
2272
  - Add each subdomain separately when listing exact hosts (e.g., \`api.example.com\` and \`cdn.example.com\`)
2273
2273
 
2274
- ### Wildcards
2274
+ #### Wildcard Domains
2275
2275
 
2276
2276
  **Prefer exact hostnames where possible.** Use \`*.example.com\` only when you
2277
2277
  need to match any subdomain \u2014 for example, tenant-per-subdomain platforms
@@ -4115,7 +4115,7 @@ var SKILLS = [
4115
4115
  },
4116
4116
  {
4117
4117
  id: "capabilities",
4118
- description: "Extension capabilities: data.query, data.fetch, context.read, actions.toast, actions.invoke. Use when wiring up host-mediated APIs or direct HTTP requests.",
4118
+ description: "Extension capabilities: data.query, data.fetch, context.read, actions.toast, actions.invoke. Use when wiring up platform-mediated APIs or direct HTTP requests.",
4119
4119
  type: "knowledge",
4120
4120
  content: () => generateCapabilities()
4121
4121
  },
@@ -4166,7 +4166,7 @@ var SKILLS = [
4166
4166
  },
4167
4167
  {
4168
4168
  id: "external-apis",
4169
- description: "Direct HTTP requests via data.fetch, allowedDomains configuration, and API wrapper patterns. Use when connecting an extension to external APIs.",
4169
+ description: "Direct HTTP requests via data.fetch \u2014 allowed domains (including wildcard subdomains like *.myshopify.com), allowedDomains configuration, API wrapper patterns, and data.fetch vs data.query. Use when connecting an extension to external APIs or configuring allowedDomains.",
4170
4170
  type: "knowledge",
4171
4171
  content: () => generateExternalApis()
4172
4172
  },
@@ -4178,7 +4178,7 @@ var SKILLS = [
4178
4178
  },
4179
4179
  {
4180
4180
  id: "styling-and-theming",
4181
- description: "Host theme inheritance, className usage, layout components, and CSS constraints. Use when styling extension UI or working with the host theme.",
4181
+ description: "Extension theming and styling - tailwind className usage, layout components, and CSS constraints. Use when styling extension UI or working with the host theme.",
4182
4182
  type: "knowledge",
4183
4183
  content: () => generateStylingAndTheming()
4184
4184
  },
@@ -4268,7 +4268,7 @@ var SKILLS = [
4268
4268
  },
4269
4269
  {
4270
4270
  id: "add-capability",
4271
- description: "Wire up a new capability (data.fetch, data.query, context.read, actions.toast, actions.invoke) in this extension. Use when adding a new host-mediated API.",
4271
+ description: "Wire up a new capability (data.fetch, data.query, context.read, actions.toast, actions.invoke) in this extension. Use when adding a new platform-mediated API.",
4272
4272
  type: "action",
4273
4273
  content: () => generateAddCapabilityCommand()
4274
4274
  },
package/dist/server.js CHANGED
@@ -2264,7 +2264,7 @@ Every domain your extension calls must be listed in \`allowedDomains\`:
2264
2264
  - The framework will reject requests to unlisted domains
2265
2265
  - Add each subdomain separately when listing exact hosts (e.g., \`api.example.com\` and \`cdn.example.com\`)
2266
2266
 
2267
- ### Wildcards
2267
+ #### Wildcard Domains
2268
2268
 
2269
2269
  **Prefer exact hostnames where possible.** Use \`*.example.com\` only when you
2270
2270
  need to match any subdomain \u2014 for example, tenant-per-subdomain platforms
@@ -4108,7 +4108,7 @@ var SKILLS = [
4108
4108
  },
4109
4109
  {
4110
4110
  id: "capabilities",
4111
- description: "Extension capabilities: data.query, data.fetch, context.read, actions.toast, actions.invoke. Use when wiring up host-mediated APIs or direct HTTP requests.",
4111
+ description: "Extension capabilities: data.query, data.fetch, context.read, actions.toast, actions.invoke. Use when wiring up platform-mediated APIs or direct HTTP requests.",
4112
4112
  type: "knowledge",
4113
4113
  content: () => generateCapabilities()
4114
4114
  },
@@ -4159,7 +4159,7 @@ var SKILLS = [
4159
4159
  },
4160
4160
  {
4161
4161
  id: "external-apis",
4162
- description: "Direct HTTP requests via data.fetch, allowedDomains configuration, and API wrapper patterns. Use when connecting an extension to external APIs.",
4162
+ description: "Direct HTTP requests via data.fetch \u2014 allowed domains (including wildcard subdomains like *.myshopify.com), allowedDomains configuration, API wrapper patterns, and data.fetch vs data.query. Use when connecting an extension to external APIs or configuring allowedDomains.",
4163
4163
  type: "knowledge",
4164
4164
  content: () => generateExternalApis()
4165
4165
  },
@@ -4171,7 +4171,7 @@ var SKILLS = [
4171
4171
  },
4172
4172
  {
4173
4173
  id: "styling-and-theming",
4174
- description: "Host theme inheritance, className usage, layout components, and CSS constraints. Use when styling extension UI or working with the host theme.",
4174
+ description: "Extension theming and styling - tailwind className usage, layout components, and CSS constraints. Use when styling extension UI or working with the host theme.",
4175
4175
  type: "knowledge",
4176
4176
  content: () => generateStylingAndTheming()
4177
4177
  },
@@ -4261,7 +4261,7 @@ var SKILLS = [
4261
4261
  },
4262
4262
  {
4263
4263
  id: "add-capability",
4264
- description: "Wire up a new capability (data.fetch, data.query, context.read, actions.toast, actions.invoke) in this extension. Use when adding a new host-mediated API.",
4264
+ description: "Wire up a new capability (data.fetch, data.query, context.read, actions.toast, actions.invoke) in this extension. Use when adding a new platform-mediated API.",
4265
4265
  type: "action",
4266
4266
  content: () => generateAddCapabilityCommand()
4267
4267
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackable-labs/mcp-app-extension",
3
- "version": "1.7.0",
3
+ "version": "1.8.0",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "mcp-app-extension": "./dist/index.js"