@vielzeug/codex 26.11.12 → 26.11.13
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/data/catalog.json +181 -61
- package/data/llms-full.txt +1546 -918
- package/data/llms.txt +4 -1
- package/data/manifest.json +2 -6
- package/data/packages/archive.json +1 -1
- package/data/packages/arsenal.json +4 -2
- package/data/packages/clockwork.json +3 -3
- package/data/packages/codex.json +20 -11
- package/data/packages/coins.json +22 -24
- package/data/packages/courier.json +12 -11
- package/data/packages/flux.json +2 -2
- package/data/packages/forge.json +3 -3
- package/data/packages/herald.json +2 -2
- package/data/packages/lingua.json +37 -42
- package/data/packages/patchwork.json +45 -0
- package/data/packages/postmaster.json +8 -8
- package/data/packages/refine.json +2 -2
- package/data/packages/scribe.json +57 -0
- package/data/packages/sentinel.json +1 -1
- package/data/packages/sourcerer.json +2 -2
- package/data/packages/tabula.json +40 -0
- package/data/packages/tavern.json +20 -18
- package/data/packages/tempo.json +48 -63
- package/data/packages/vault.json +29 -31
- package/data/packages/wayfinder.json +3 -6
- package/data/refine.json +76 -0
- package/dist/catalog.d.ts +13 -1
- package/dist/catalog.js +80 -53
- package/dist/catalog.js.map +1 -1
- package/dist/cli.js +5 -5
- package/dist/cli.js.map +1 -1
- package/dist/errors.js +0 -1
- package/dist/errors.js.map +1 -1
- package/dist/http.d.ts +0 -1
- package/dist/http.js +0 -5
- package/dist/http.js.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/port.js +2 -2
- package/dist/port.js.map +1 -1
- package/dist/server.d.ts +5 -3
- package/dist/server.js +10 -6
- package/dist/server.js.map +1 -1
- package/dist/snapshot.d.ts +11 -8
- package/dist/snapshot.js +24 -128
- package/dist/snapshot.js.map +1 -1
- package/dist/tools/index.d.ts +0 -2
- package/dist/tools/index.js +0 -2
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/refine.d.ts +2 -2
- package/dist/tools/refine.js.map +1 -1
- package/dist/types.d.ts +2 -30
- package/dist/types.js +1 -1
- package/package.json +2 -13
- package/skills/vielzeug/SKILL.md +3 -0
- package/data/search.json +0 -1688
- package/dist/refine-catalog.d.ts +0 -15
- package/dist/refine-catalog.js +0 -27
- package/dist/refine-catalog.js.map +0 -1
- package/dist/refine.d.ts +0 -7
- package/dist/refine.js +0 -9
- package/dist/refine.js.map +0 -1
package/dist/refine-catalog.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { type Catalog, SnapshotCatalog } from './catalog.js';
|
|
2
|
-
import type { LoadedSnapshot } from './snapshot.js';
|
|
3
|
-
import type { CemDeclaration } from './types.js';
|
|
4
|
-
export interface RefineCatalog extends Catalog {
|
|
5
|
-
getComponent(tagName: string): CemDeclaration;
|
|
6
|
-
listComponents(): readonly CemDeclaration[];
|
|
7
|
-
}
|
|
8
|
-
export declare class SnapshotRefineCatalog extends SnapshotCatalog implements RefineCatalog {
|
|
9
|
-
private readonly components;
|
|
10
|
-
private readonly componentsByTag;
|
|
11
|
-
constructor(snapshot: LoadedSnapshot);
|
|
12
|
-
private assertComponentsAvailable;
|
|
13
|
-
listComponents(): readonly CemDeclaration[];
|
|
14
|
-
getComponent(tagName: string): CemDeclaration;
|
|
15
|
-
}
|
package/dist/refine-catalog.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { CatalogError, SnapshotCatalog } from './catalog.js';
|
|
2
|
-
export class SnapshotRefineCatalog extends SnapshotCatalog {
|
|
3
|
-
components;
|
|
4
|
-
componentsByTag;
|
|
5
|
-
constructor(snapshot) {
|
|
6
|
-
super(snapshot);
|
|
7
|
-
this.components = snapshot.refineComponents;
|
|
8
|
-
this.componentsByTag = new Map(this.components.flatMap((component) => (component.tagName ? [[component.tagName, component]] : [])));
|
|
9
|
-
}
|
|
10
|
-
assertComponentsAvailable() {
|
|
11
|
-
if (this.components.length === 0) {
|
|
12
|
-
throw new CatalogError('UNAVAILABLE', 'Refine component metadata is unavailable in this snapshot.');
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
listComponents() {
|
|
16
|
-
this.assertComponentsAvailable();
|
|
17
|
-
return this.components.map((component) => structuredClone(component));
|
|
18
|
-
}
|
|
19
|
-
getComponent(tagName) {
|
|
20
|
-
this.assertComponentsAvailable();
|
|
21
|
-
const component = this.componentsByTag.get(tagName);
|
|
22
|
-
if (!component)
|
|
23
|
-
throw new CatalogError('NOT_FOUND', `Component "${tagName}" not found.`);
|
|
24
|
-
return structuredClone(component);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
//# sourceMappingURL=refine-catalog.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"refine-catalog.js","sourceRoot":"","sources":["../src/refine-catalog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAS3E,MAAM,OAAO,qBAAsB,SAAQ,eAAe;IACvC,UAAU,CAA4B;IACtC,eAAe,CAA8B;IAE9D,YAAY,QAAwB;QAClC,KAAK,CAAC,QAAQ,CAAC,CAAC;QAChB,IAAI,CAAC,UAAU,GAAG,QAAQ,CAAC,gBAAgB,CAAC;QAC5C,IAAI,CAAC,eAAe,GAAG,IAAI,GAAG,CAC5B,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,OAAO,EAAE,SAAS,CAAU,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAC7G,CAAC;IACJ,CAAC;IAEO,yBAAyB;QAC/B,IAAI,IAAI,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACjC,MAAM,IAAI,YAAY,CAAC,aAAa,EAAE,4DAA4D,CAAC,CAAC;QACtG,CAAC;IACH,CAAC;IAED,cAAc;QACZ,IAAI,CAAC,yBAAyB,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,eAAe,CAAC,SAAS,CAAC,CAAC,CAAC;IACxE,CAAC;IAED,YAAY,CAAC,OAAe;QAC1B,IAAI,CAAC,yBAAyB,EAAE,CAAC;QACjC,MAAM,SAAS,GAAG,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QAEpD,IAAI,CAAC,SAAS;YAAE,MAAM,IAAI,YAAY,CAAC,WAAW,EAAE,cAAc,OAAO,cAAc,CAAC,CAAC;QACzF,OAAO,eAAe,CAAC,SAAS,CAAC,CAAC;IACpC,CAAC;CACF"}
|
package/dist/refine.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Server } from '@modelcontextprotocol/server';
|
|
2
|
-
import type { RefineCatalog } from './refine-catalog.js';
|
|
3
|
-
import { type McpServerOptions } from './server.js';
|
|
4
|
-
/** Creates an MCP server with both package and Refine component tools. */
|
|
5
|
-
export declare function createMcpServerWithRefine(catalog: RefineCatalog, options: McpServerOptions): Server;
|
|
6
|
-
export { type RefineCatalog, SnapshotRefineCatalog } from './refine-catalog.js';
|
|
7
|
-
export type { CemAttribute, CemCssPart, CemCssProperty, CemDeclaration, CemEvent, CemMember, CemSlot, } from './types.js';
|
package/dist/refine.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { createMcpServerWithTools } from './server.js';
|
|
2
|
-
import { packageTools } from './tools/index.js';
|
|
3
|
-
import { refineTools } from './tools/refine.js';
|
|
4
|
-
/** Creates an MCP server with both package and Refine component tools. */
|
|
5
|
-
export function createMcpServerWithRefine(catalog, options) {
|
|
6
|
-
return createMcpServerWithTools(catalog, options, [...packageTools, ...refineTools]);
|
|
7
|
-
}
|
|
8
|
-
export { SnapshotRefineCatalog } from './refine-catalog.js';
|
|
9
|
-
//# sourceMappingURL=refine.js.map
|
package/dist/refine.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"refine.js","sourceRoot":"","sources":["../src/refine.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAyB,MAAM,aAAa,CAAC;AAC9E,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,0EAA0E;AAC1E,MAAM,UAAU,yBAAyB,CAAC,OAAsB,EAAE,OAAyB;IACzF,OAAO,wBAAwB,CAAC,OAAO,EAAE,OAAO,EAAE,CAAC,GAAG,YAAY,EAAE,GAAG,WAAW,CAAC,CAAC,CAAC;AACvF,CAAC;AAED,OAAO,EAAsB,qBAAqB,EAAE,MAAM,qBAAqB,CAAC"}
|