@tmdc-solutions/mcp-beta 0.1.1 → 0.1.3

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/stdio.cjs CHANGED
@@ -113,7 +113,7 @@ The schema includes:
113
113
  - Provide curated data experiences for specific use cases
114
114
  - Can be entity-first (customer_360) or metrics-first (monthly_revenue)
115
115
 
116
- Keywords: schema, metadata, data structure, dimensions, measures, segments, views, model structure`,mr=_zod.z.string({description:"Name of the lens (semantic model slug). Alphanumeric with hyphen(-)s allowed. Make sure slug string contains workspace notation. example: public.customer-360"}),be=({server:y,apiKey:f,fqdn:e,slug:s})=>{y.tool("query-lens-schema",dr,s?{}:{slug:mr},async({slug:o})=>_chunkC6OYMNC3cjs.a.call(void 0, {slug:s||o,payload:{},apiKey:f,fqdn:e}))};var Se=({server:y,apiKey:f,fqdn:e,slug:s})=>{s?y.resource("sematic-models",`sematic-models://lenses/${s}`,async o=>ve({slug:s.toString(),href:o.href,apiKey:f,fqdn:e,payload:{}})):y.resource("sematic-models",new (0, _mcpjs.ResourceTemplate)("sematic-models://lenses/{slug}",{list:void 0}),async(o,{slug:l})=>ve({slug:l.toString(),href:o.href,apiKey:f,fqdn:e,payload:{}}))};async function ve({slug:y,apiKey:f,fqdn:e,href:s}){let o=await _chunkC6OYMNC3cjs.a.call(void 0, {slug:y.toString(),payload:{},apiKey:f,fqdn:e});return{isError:o.isError,contents:o.content.map(({text:l})=>({uri:s,text:l}))}}var we={name:"@tmdc-solutions/mcp-beta",version:"0.1.0",description:"for dataOS related tasks in local",type:"module",sideEffects:!1,main:"dist/stdio.cjs",types:"dist/stdio.d.ts",scripts:{build:"tsc","build:stdio":"tsup --clean","build:modules":"tsup --clean",http:"node dist/src/streamable-http.js -L",compile:"npm run build && npm run build:css && node dist/src/streamable-http.js -L",watch:'nodemon --watch src,views -e ts,pug,json,css --exec "npm run compile"',"build:css":"npx @tailwindcss/cli -i app.css -o public/output.css",test:'echo "Error: no test specified" && exit 1'},files:["dist/studio.cjs","dist/studio.cjs.map"],bin:{mcp:"./dist/stdio.js"},keywords:[],author:"",license:"ISC",packageManager:"pnpm@10.12.4",dependencies:{"@faker-js/faker":"^9.8.0","@modelcontextprotocol/sdk":"^1.12.0","date-fns":"^4.1.0",dotenv:"^16.5.0",express:"^5.1.0",keyv:"^5.3.4",pug:"^3.0.3","trino-client":"^0.2.9",yaml:"^2.8.0",zod:"^3.25.67","zod-to-json-schema":"^3.24.5"},devDependencies:{"@tailwindcss/cli":"^4.1.8","@total-typescript/tsconfig":"^1.0.4","@types/express":"^5.0.2","@types/node":"^22.15.21",daisyui:"^5.0.40",nodemon:"^3.1.10",tailwindcss:"^4.1.8",tsup:"^8.5.0",typescript:"^5.8.3"}};var wr=`Bundle in DataOS is a Resource that serves as a declarative and standardized mechanism for deploying a collection of Resources, Data Products, or applications in a single operation.
116
+ Keywords: schema, metadata, data structure, dimensions, measures, segments, views, model structure`,mr=_zod.z.string({description:"Name of the lens (semantic model slug). Alphanumeric with hyphen(-)s allowed. Make sure slug string contains workspace notation. example: public.customer-360"}),be=({server:y,apiKey:f,fqdn:e,slug:s})=>{y.tool("query-lens-schema",dr,s?{}:{slug:mr},async({slug:o})=>_chunkC6OYMNC3cjs.a.call(void 0, {slug:s||o,payload:{},apiKey:f,fqdn:e}))};var Se=({server:y,apiKey:f,fqdn:e,slug:s})=>{s?y.resource("sematic-models",`sematic-models://lenses/${s}`,async o=>ve({slug:s.toString(),href:o.href,apiKey:f,fqdn:e,payload:{}})):y.resource("sematic-models",new (0, _mcpjs.ResourceTemplate)("sematic-models://lenses/{slug}",{list:void 0}),async(o,{slug:l})=>ve({slug:l.toString(),href:o.href,apiKey:f,fqdn:e,payload:{}}))};async function ve({slug:y,apiKey:f,fqdn:e,href:s}){let o=await _chunkC6OYMNC3cjs.a.call(void 0, {slug:y.toString(),payload:{},apiKey:f,fqdn:e});return{isError:o.isError,contents:o.content.map(({text:l})=>({uri:s,text:l}))}}var we={name:"@tmdc-solutions/mcp-beta",version:"0.1.2",description:"for dataOS related tasks in local",type:"module",sideEffects:!1,main:"dist/stdio.cjs",types:"dist/stdio.d.ts",scripts:{build:"tsc","build:stdio":"tsup --clean","build:modules":"tsup --clean",http:"node dist/src/streamable-http.js -L",compile:"npm run build && npm run build:css && node dist/src/streamable-http.js -L",watch:'nodemon --watch src,views -e ts,pug,json,css --exec "npm run compile"',"build:css":"npx @tailwindcss/cli -i app.css -o public/output.css",test:'echo "Error: no test specified" && exit 1'},files:["dist"],bin:{mcp:"./dist/stdio.js"},keywords:[],author:"",license:"ISC",packageManager:"pnpm@10.12.4",dependencies:{"@faker-js/faker":"^9.8.0","@modelcontextprotocol/sdk":"^1.12.0","date-fns":"^4.1.0",dotenv:"^16.5.0",express:"^5.1.0",keyv:"^5.3.4",pug:"^3.0.3","trino-client":"^0.2.9",yaml:"^2.8.0",zod:"^3.25.67","zod-to-json-schema":"^3.24.5"},devDependencies:{"@tailwindcss/cli":"^4.1.8","@total-typescript/tsconfig":"^1.0.4","@types/express":"^5.0.2","@types/node":"^22.15.21",daisyui:"^5.0.40",nodemon:"^3.1.10",tailwindcss:"^4.1.8",tsup:"^8.5.0",typescript:"^5.8.3"}};var wr=`Bundle in DataOS is a Resource that serves as a declarative and standardized mechanism for deploying a collection of Resources, Data Products, or applications in a single operation.
117
117
  It empowers data developers with the capability to programmatically orchestrate the deployment, scheduling, creation, and dismantling of code and infrastructure resources linked to these Data Products and applications in a unified manner.
118
118
 
119
119
  A Bundle aggregates various DataOS Resources into a flattened directed acyclic graph (DAG), where each node represents a distinct DataOS Resource, interconnected through dependency relationships.
package/dist/stdio.js CHANGED
@@ -113,7 +113,7 @@ The schema includes:
113
113
  - Provide curated data experiences for specific use cases
114
114
  - Can be entity-first (customer_360) or metrics-first (monthly_revenue)
115
115
 
116
- Keywords: schema, metadata, data structure, dimensions, measures, segments, views, model structure`,mr=ur.string({description:"Name of the lens (semantic model slug). Alphanumeric with hyphen(-)s allowed. Make sure slug string contains workspace notation. example: public.customer-360"}),be=({server:y,apiKey:f,fqdn:e,slug:s})=>{y.tool("query-lens-schema",dr,s?{}:{slug:mr},async({slug:o})=>J({slug:s||o,payload:{},apiKey:f,fqdn:e}))};import{ResourceTemplate as fr}from"@modelcontextprotocol/sdk/server/mcp.js";var Se=({server:y,apiKey:f,fqdn:e,slug:s})=>{s?y.resource("sematic-models",`sematic-models://lenses/${s}`,async o=>ve({slug:s.toString(),href:o.href,apiKey:f,fqdn:e,payload:{}})):y.resource("sematic-models",new fr("sematic-models://lenses/{slug}",{list:void 0}),async(o,{slug:l})=>ve({slug:l.toString(),href:o.href,apiKey:f,fqdn:e,payload:{}}))};async function ve({slug:y,apiKey:f,fqdn:e,href:s}){let o=await J({slug:y.toString(),payload:{},apiKey:f,fqdn:e});return{isError:o.isError,contents:o.content.map(({text:l})=>({uri:s,text:l}))}}var we={name:"@tmdc-solutions/mcp-beta",version:"0.1.0",description:"for dataOS related tasks in local",type:"module",sideEffects:!1,main:"dist/stdio.cjs",types:"dist/stdio.d.ts",scripts:{build:"tsc","build:stdio":"tsup --clean","build:modules":"tsup --clean",http:"node dist/src/streamable-http.js -L",compile:"npm run build && npm run build:css && node dist/src/streamable-http.js -L",watch:'nodemon --watch src,views -e ts,pug,json,css --exec "npm run compile"',"build:css":"npx @tailwindcss/cli -i app.css -o public/output.css",test:'echo "Error: no test specified" && exit 1'},files:["dist/studio.cjs","dist/studio.cjs.map"],bin:{mcp:"./dist/stdio.js"},keywords:[],author:"",license:"ISC",packageManager:"pnpm@10.12.4",dependencies:{"@faker-js/faker":"^9.8.0","@modelcontextprotocol/sdk":"^1.12.0","date-fns":"^4.1.0",dotenv:"^16.5.0",express:"^5.1.0",keyv:"^5.3.4",pug:"^3.0.3","trino-client":"^0.2.9",yaml:"^2.8.0",zod:"^3.25.67","zod-to-json-schema":"^3.24.5"},devDependencies:{"@tailwindcss/cli":"^4.1.8","@total-typescript/tsconfig":"^1.0.4","@types/express":"^5.0.2","@types/node":"^22.15.21",daisyui:"^5.0.40",nodemon:"^3.1.10",tailwindcss:"^4.1.8",tsup:"^8.5.0",typescript:"^5.8.3"}};import{z as q}from"zod";import{stringify as hr}from"yaml";import{existsSync as yr,mkdirSync as br,writeFileSync as vr}from"fs";import Sr from"path";var wr=`Bundle in DataOS is a Resource that serves as a declarative and standardized mechanism for deploying a collection of Resources, Data Products, or applications in a single operation.
116
+ Keywords: schema, metadata, data structure, dimensions, measures, segments, views, model structure`,mr=ur.string({description:"Name of the lens (semantic model slug). Alphanumeric with hyphen(-)s allowed. Make sure slug string contains workspace notation. example: public.customer-360"}),be=({server:y,apiKey:f,fqdn:e,slug:s})=>{y.tool("query-lens-schema",dr,s?{}:{slug:mr},async({slug:o})=>J({slug:s||o,payload:{},apiKey:f,fqdn:e}))};import{ResourceTemplate as fr}from"@modelcontextprotocol/sdk/server/mcp.js";var Se=({server:y,apiKey:f,fqdn:e,slug:s})=>{s?y.resource("sematic-models",`sematic-models://lenses/${s}`,async o=>ve({slug:s.toString(),href:o.href,apiKey:f,fqdn:e,payload:{}})):y.resource("sematic-models",new fr("sematic-models://lenses/{slug}",{list:void 0}),async(o,{slug:l})=>ve({slug:l.toString(),href:o.href,apiKey:f,fqdn:e,payload:{}}))};async function ve({slug:y,apiKey:f,fqdn:e,href:s}){let o=await J({slug:y.toString(),payload:{},apiKey:f,fqdn:e});return{isError:o.isError,contents:o.content.map(({text:l})=>({uri:s,text:l}))}}var we={name:"@tmdc-solutions/mcp-beta",version:"0.1.2",description:"for dataOS related tasks in local",type:"module",sideEffects:!1,main:"dist/stdio.cjs",types:"dist/stdio.d.ts",scripts:{build:"tsc","build:stdio":"tsup --clean","build:modules":"tsup --clean",http:"node dist/src/streamable-http.js -L",compile:"npm run build && npm run build:css && node dist/src/streamable-http.js -L",watch:'nodemon --watch src,views -e ts,pug,json,css --exec "npm run compile"',"build:css":"npx @tailwindcss/cli -i app.css -o public/output.css",test:'echo "Error: no test specified" && exit 1'},files:["dist"],bin:{mcp:"./dist/stdio.js"},keywords:[],author:"",license:"ISC",packageManager:"pnpm@10.12.4",dependencies:{"@faker-js/faker":"^9.8.0","@modelcontextprotocol/sdk":"^1.12.0","date-fns":"^4.1.0",dotenv:"^16.5.0",express:"^5.1.0",keyv:"^5.3.4",pug:"^3.0.3","trino-client":"^0.2.9",yaml:"^2.8.0",zod:"^3.25.67","zod-to-json-schema":"^3.24.5"},devDependencies:{"@tailwindcss/cli":"^4.1.8","@total-typescript/tsconfig":"^1.0.4","@types/express":"^5.0.2","@types/node":"^22.15.21",daisyui:"^5.0.40",nodemon:"^3.1.10",tailwindcss:"^4.1.8",tsup:"^8.5.0",typescript:"^5.8.3"}};import{z as q}from"zod";import{stringify as hr}from"yaml";import{existsSync as yr,mkdirSync as br,writeFileSync as vr}from"fs";import Sr from"path";var wr=`Bundle in DataOS is a Resource that serves as a declarative and standardized mechanism for deploying a collection of Resources, Data Products, or applications in a single operation.
117
117
  It empowers data developers with the capability to programmatically orchestrate the deployment, scheduling, creation, and dismantling of code and infrastructure resources linked to these Data Products and applications in a unified manner.
118
118
 
119
119
  A Bundle aggregates various DataOS Resources into a flattened directed acyclic graph (DAG), where each node represents a distinct DataOS Resource, interconnected through dependency relationships.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmdc-solutions/mcp-beta",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "for dataOS related tasks in local",
5
5
  "type": "module",
6
6
  "sideEffects": false,