@tmdc-solutions/mcp-beta 0.1.6 → 0.1.7

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
@@ -168,7 +168,7 @@ The schema includes:
168
168
  - Provide curated data experiences for specific use cases
169
169
  - Can be entity-first (customer_360) or metrics-first (monthly_revenue)
170
170
 
171
- Keywords: schema, metadata, data structure, dimensions, measures, segments, views, model structure`,Dr=_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"}),De=({server:s,apiKey:l,fqdn:e,slug:a})=>{s.tool("query-lens-schema",qr,a?{}:{slug:Dr},async({slug:c})=>X({slug:a||c,payload:{},apiKey:l,fqdn:e}))};var je=({server:s,apiKey:l,fqdn:e,slug:a})=>{a?s.resource("sematic-models",`sematic-models://lenses/${a}`,async c=>Re({slug:a.toString(),href:c.href,apiKey:l,fqdn:e,payload:{}})):s.resource("sematic-models",new (0, _mcpjs.ResourceTemplate)("sematic-models://lenses/{slug}",{list:void 0}),async(c,{slug:r})=>Re({slug:r.toString(),href:c.href,apiKey:l,fqdn:e,payload:{}}))};async function Re({slug:s,apiKey:l,fqdn:e,href:a}){let c=await X({slug:s.toString(),payload:{},apiKey:l,fqdn:e});return{isError:c.isError,contents:c.content.map(({text:r})=>({uri:a,text:r}))}}var Ie={name:"@tmdc-solutions/mcp-beta",version:"0.1.6",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",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 Mr=`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.
171
+ Keywords: schema, metadata, data structure, dimensions, measures, segments, views, model structure`,Dr=_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"}),De=({server:s,apiKey:l,fqdn:e,slug:a})=>{s.tool("query-lens-schema",qr,a?{}:{slug:Dr},async({slug:c})=>X({slug:a||c,payload:{},apiKey:l,fqdn:e}))};var je=({server:s,apiKey:l,fqdn:e,slug:a})=>{a?s.resource("sematic-models",`sematic-models://lenses/${a}`,async c=>Re({slug:a.toString(),href:c.href,apiKey:l,fqdn:e,payload:{}})):s.resource("sematic-models",new (0, _mcpjs.ResourceTemplate)("sematic-models://lenses/{slug}",{list:void 0}),async(c,{slug:r})=>Re({slug:r.toString(),href:c.href,apiKey:l,fqdn:e,payload:{}}))};async function Re({slug:s,apiKey:l,fqdn:e,href:a}){let c=await X({slug:s.toString(),payload:{},apiKey:l,fqdn:e});return{isError:c.isError,contents:c.content.map(({text:r})=>({uri:a,text:r}))}}var Ie={name:"@tmdc-solutions/mcp-beta",version:"0.1.7",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",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 Mr=`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.
172
172
  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.
173
173
 
174
174
  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
@@ -168,7 +168,7 @@ The schema includes:
168
168
  - Provide curated data experiences for specific use cases
169
169
  - Can be entity-first (customer_360) or metrics-first (monthly_revenue)
170
170
 
171
- Keywords: schema, metadata, data structure, dimensions, measures, segments, views, model structure`,Dr=Cr.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"}),De=({server:s,apiKey:l,fqdn:e,slug:a})=>{s.tool("query-lens-schema",qr,a?{}:{slug:Dr},async({slug:c})=>X({slug:a||c,payload:{},apiKey:l,fqdn:e}))};import{ResourceTemplate as Rr}from"@modelcontextprotocol/sdk/server/mcp.js";var je=({server:s,apiKey:l,fqdn:e,slug:a})=>{a?s.resource("sematic-models",`sematic-models://lenses/${a}`,async c=>Re({slug:a.toString(),href:c.href,apiKey:l,fqdn:e,payload:{}})):s.resource("sematic-models",new Rr("sematic-models://lenses/{slug}",{list:void 0}),async(c,{slug:r})=>Re({slug:r.toString(),href:c.href,apiKey:l,fqdn:e,payload:{}}))};async function Re({slug:s,apiKey:l,fqdn:e,href:a}){let c=await X({slug:s.toString(),payload:{},apiKey:l,fqdn:e});return{isError:c.isError,contents:c.content.map(({text:r})=>({uri:a,text:r}))}}var Ie={name:"@tmdc-solutions/mcp-beta",version:"0.1.6",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",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 R}from"zod";import{stringify as Ir}from"yaml";import{existsSync as Nr,mkdirSync as $r,writeFileSync as Pr}from"fs";import Or from"path";var Mr=`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.
171
+ Keywords: schema, metadata, data structure, dimensions, measures, segments, views, model structure`,Dr=Cr.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"}),De=({server:s,apiKey:l,fqdn:e,slug:a})=>{s.tool("query-lens-schema",qr,a?{}:{slug:Dr},async({slug:c})=>X({slug:a||c,payload:{},apiKey:l,fqdn:e}))};import{ResourceTemplate as Rr}from"@modelcontextprotocol/sdk/server/mcp.js";var je=({server:s,apiKey:l,fqdn:e,slug:a})=>{a?s.resource("sematic-models",`sematic-models://lenses/${a}`,async c=>Re({slug:a.toString(),href:c.href,apiKey:l,fqdn:e,payload:{}})):s.resource("sematic-models",new Rr("sematic-models://lenses/{slug}",{list:void 0}),async(c,{slug:r})=>Re({slug:r.toString(),href:c.href,apiKey:l,fqdn:e,payload:{}}))};async function Re({slug:s,apiKey:l,fqdn:e,href:a}){let c=await X({slug:s.toString(),payload:{},apiKey:l,fqdn:e});return{isError:c.isError,contents:c.content.map(({text:r})=>({uri:a,text:r}))}}var Ie={name:"@tmdc-solutions/mcp-beta",version:"0.1.7",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",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 R}from"zod";import{stringify as Ir}from"yaml";import{existsSync as Nr,mkdirSync as $r,writeFileSync as Pr}from"fs";import Or from"path";var Mr=`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.
172
172
  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.
173
173
 
174
174
  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.6",
3
+ "version": "0.1.7",
4
4
  "description": "for dataOS related tasks in local",
5
5
  "type": "module",
6
6
  "sideEffects": false,