@loomweaver/mcp 0.9.1 → 0.9.2
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/main.mjs +17 -8
- package/package.json +1 -1
package/dist/main.mjs
CHANGED
|
@@ -31055,7 +31055,10 @@ function describeAmendment(amendment) {
|
|
|
31055
31055
|
] : [],
|
|
31056
31056
|
...amendment.inlineCritical === void 0 ? [] : [
|
|
31057
31057
|
`set optimization.styles.inlineCritical to ${amendment.inlineCritical} in the production configuration (the generated content-security policy blocks the inline handler Angular's critical-CSS pass attaches, so a release build renders unstyled)`
|
|
31058
|
-
]
|
|
31058
|
+
],
|
|
31059
|
+
...amendment.initialBudget ? [
|
|
31060
|
+
`raise the initial bundle budget to ${amendment.initialBudget.warning} warning and ${amendment.initialBudget.error} error in the production configuration (a fresh workspace carries one sized for an empty application, and the workbench alone spends almost all of it, so a release build fails)`
|
|
31061
|
+
] : []
|
|
31059
31062
|
].map((step, index) => `${index + 1}. ${step}`).join(" ");
|
|
31060
31063
|
}
|
|
31061
31064
|
|
|
@@ -31447,7 +31450,7 @@ function pause(): Promise<void> {
|
|
|
31447
31450
|
}
|
|
31448
31451
|
|
|
31449
31452
|
// ../devkit/src/recipes/angular-weaver/agent-files.ts
|
|
31450
|
-
var AG_UI_ADAPTER_VERSION = "0.9.
|
|
31453
|
+
var AG_UI_ADAPTER_VERSION = "0.9.2";
|
|
31451
31454
|
var AG_UI_PROTOCOL_VERSION = "0.0.x";
|
|
31452
31455
|
function connectionFile(w) {
|
|
31453
31456
|
return `import { signal } from '@angular/core';
|
|
@@ -32430,9 +32433,13 @@ var framePlugin = {
|
|
|
32430
32433
|
};
|
|
32431
32434
|
|
|
32432
32435
|
// ../devkit/src/recipes/platform-version.ts
|
|
32433
|
-
var PLATFORM_VERSION = "0.9.
|
|
32436
|
+
var PLATFORM_VERSION = "0.9.2";
|
|
32434
32437
|
|
|
32435
32438
|
// ../devkit/src/recipes/angular-distribution/amendments.ts
|
|
32439
|
+
var DISTRIBUTION_INITIAL_BUDGET = {
|
|
32440
|
+
warning: "1.5MB",
|
|
32441
|
+
error: "2MB"
|
|
32442
|
+
};
|
|
32436
32443
|
function distributionAmendments(d) {
|
|
32437
32444
|
return [
|
|
32438
32445
|
{
|
|
@@ -32466,7 +32473,8 @@ function distributionAmendments(d) {
|
|
|
32466
32473
|
}
|
|
32467
32474
|
],
|
|
32468
32475
|
serviceWorker: "ngsw-config.json",
|
|
32469
|
-
inlineCritical: false
|
|
32476
|
+
inlineCritical: false,
|
|
32477
|
+
initialBudget: DISTRIBUTION_INITIAL_BUDGET
|
|
32470
32478
|
}
|
|
32471
32479
|
];
|
|
32472
32480
|
}
|
|
@@ -32661,9 +32669,10 @@ function readme2(d) {
|
|
|
32661
32669
|
"the stylesheet with an **inline** `onload` handler that the policy blocks \u2014 the app then renders",
|
|
32662
32670
|
"completely unstyled, and only in production builds.",
|
|
32663
32671
|
"",
|
|
32664
|
-
"
|
|
32665
|
-
"
|
|
32666
|
-
"
|
|
32672
|
+
"The initial-bundle budget in your build target was raised for the same reason: the shell is a",
|
|
32673
|
+
"whole application chrome and spends most of Angular's default before your own code arrives, so",
|
|
32674
|
+
"a production build would have failed on a number meant for an empty app. It is still a budget,",
|
|
32675
|
+
"and it is yours to move.",
|
|
32667
32676
|
"",
|
|
32668
32677
|
"## Ship less than the whole workbench",
|
|
32669
32678
|
"",
|
|
@@ -34386,7 +34395,7 @@ function inputSchema(descriptor) {
|
|
|
34386
34395
|
function createMcpServer() {
|
|
34387
34396
|
const server = new McpServer({
|
|
34388
34397
|
name: "loomweaver-devkit",
|
|
34389
|
-
version: "0.9.
|
|
34398
|
+
version: "0.9.2"
|
|
34390
34399
|
});
|
|
34391
34400
|
server.registerTool(
|
|
34392
34401
|
"list_generators",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loomweaver/mcp",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.2",
|
|
4
4
|
"description": "LoomWeaver: open-source plugin platform for Angular workbenches. The MCP server: scaffolding and validation as tools, so an AI assistant in any product repo can build weavers without a checkout.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"loomweaver",
|