@oxcide-ui/mcp 0.0.3 → 0.0.4

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.
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @oxcide-ui/mcp — Model Context Protocol Service
3
+ *
4
+ * Provides structured component descriptions and API metadata
5
+ * to power AI-assisted coding workflows.
6
+ *
7
+ * Data source: components.json (auto-generated from Zod schemas)
8
+ */
9
+ interface ComponentMeta {
10
+ name: string;
11
+ description: string;
12
+ props: Record<string, {
13
+ type: string;
14
+ default?: unknown;
15
+ required?: boolean;
16
+ description?: string;
17
+ }>;
18
+ events: string[];
19
+ slots: string[];
20
+ }
21
+ declare function getComponentMeta(_name: string): ComponentMeta | undefined;
22
+ declare function listComponents(): string[];
23
+
24
+ export { type ComponentMeta, getComponentMeta, listComponents };
package/dist/index.js ADDED
@@ -0,0 +1,11 @@
1
+ // src/index.ts
2
+ function getComponentMeta(_name) {
3
+ return void 0;
4
+ }
5
+ function listComponents() {
6
+ return [];
7
+ }
8
+ export {
9
+ getComponentMeta,
10
+ listComponents
11
+ };
package/package.json CHANGED
@@ -1,15 +1,18 @@
1
1
  {
2
2
  "name": "@oxcide-ui/mcp",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
7
- "types": "./src/index.ts",
8
- "import": "./src/index.ts"
7
+ "types": "./dist/index.d.ts",
8
+ "import": "./dist/index.js"
9
9
  }
10
10
  },
11
- "main": "./src/index.ts",
12
- "types": "./src/index.ts",
11
+ "main": "./dist/index.js",
12
+ "types": "./dist/index.d.ts",
13
+ "files": [
14
+ "dist"
15
+ ],
13
16
  "devDependencies": {
14
17
  "@biomejs/biome": "^2.3.13",
15
18
  "typescript": "^5.8.2"
@@ -18,6 +21,7 @@
18
21
  "access": "public"
19
22
  },
20
23
  "scripts": {
24
+ "build": "tsup src/index.ts --format esm --dts --clean",
21
25
  "type-check": "tsc --noEmit",
22
26
  "lint": "biome check .",
23
27
  "lint:fix": "biome check --write ."
package/CHANGELOG.md DELETED
@@ -1,9 +0,0 @@
1
- # @oxcide-ui/mcp
2
-
3
- ## 0.0.3
4
-
5
- ## 0.0.2
6
-
7
- ### Patch Changes
8
-
9
- - 04c4ff6: feat: initial public release setup with automated CI/CD pipeline.
package/src/index.ts DELETED
@@ -1,33 +0,0 @@
1
- /**
2
- * @oxcide-ui/mcp — Model Context Protocol Service
3
- *
4
- * Provides structured component descriptions and API metadata
5
- * to power AI-assisted coding workflows.
6
- *
7
- * Data source: components.json (auto-generated from Zod schemas)
8
- */
9
-
10
- export interface ComponentMeta {
11
- name: string
12
- description: string
13
- props: Record<
14
- string,
15
- {
16
- type: string
17
- default?: unknown
18
- required?: boolean
19
- description?: string
20
- }
21
- >
22
- events: string[]
23
- slots: string[]
24
- }
25
-
26
- // TODO: Load and serve component metadata from generated components.json
27
- export function getComponentMeta(_name: string): ComponentMeta | undefined {
28
- return undefined
29
- }
30
-
31
- export function listComponents(): string[] {
32
- return []
33
- }
package/tsconfig.json DELETED
@@ -1,5 +0,0 @@
1
- {
2
- "extends": "../../tsconfig.json",
3
- "compilerOptions": { "baseUrl": "." },
4
- "include": ["src/**/*.ts"]
5
- }