@adminide-stack/form-builder-core 5.1.4-alpha.235 → 5.1.4-alpha.241

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,17 @@
1
+ export type AuthMethod = 'oauth' | 'mcp';
2
+ export interface MCPProviderConfig {
3
+ id: string;
4
+ title: string;
5
+ description: string;
6
+ scopes: string[];
7
+ mcpUrl: string;
8
+ icon: {
9
+ name: string;
10
+ style?: {
11
+ fontSize?: string;
12
+ };
13
+ };
14
+ color?: string;
15
+ }
16
+ export declare const mcpProvidersConfig: MCPProviderConfig[];
17
+ //# sourceMappingURL=mcpConnectorConfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mcpConnectorConfig.d.ts","sourceRoot":"","sources":["../../src/config/mcpConnectorConfig.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,KAAK,CAAC;AAEzC,MAAM,WAAW,iBAAiB;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE;QACF,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,CAAC,EAAE;YAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC;KACjC,CAAC;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,kBAAkB,EAAE,iBAAiB,EA2FjD,CAAC"}
@@ -0,0 +1,110 @@
1
+ const mcpProvidersConfig = [{
2
+ id: 'linear',
3
+ title: 'Linear',
4
+ description: 'Project management and issue tracking',
5
+ scopes: ['read', 'write'],
6
+ mcpUrl: 'https://mcp.linear.app',
7
+ // Base URL for OAuth discovery
8
+ icon: {
9
+ name: 'AiOutlineProject'
10
+ },
11
+ color: '#5E6AD2'
12
+ }, {
13
+ id: 'notion',
14
+ title: 'Notion',
15
+ description: 'All-in-one workspace for notes and docs',
16
+ mcpUrl: 'https://mcp.notion.com',
17
+ // Base URL for OAuth discovery
18
+ scopes: ['read:consent'],
19
+ icon: {
20
+ name: 'AiOutlineFileText'
21
+ },
22
+ color: '#000000'
23
+ }, {
24
+ id: 'github',
25
+ title: 'GitHub',
26
+ description: 'Code hosting and collaboration',
27
+ scopes: ['repo', 'read:org', 'read:user'],
28
+ mcpUrl: '',
29
+ // GitHub MCP requires self-hosted setup or Cloudflare Workers deployment
30
+ icon: {
31
+ name: 'AiOutlineGithub'
32
+ },
33
+ color: '#24292E'
34
+ }, {
35
+ id: 'slack',
36
+ title: 'Slack',
37
+ description: 'Team communication and messaging',
38
+ scopes: ['channels:read', 'chat:write', 'users:read'],
39
+ mcpUrl: '',
40
+ // Slack MCP requires self-hosted setup with bot token
41
+ icon: {
42
+ name: 'AiOutlineSlack'
43
+ },
44
+ color: '#4A154B'
45
+ }, {
46
+ id: 'jira',
47
+ title: 'Jira',
48
+ description: 'Issue and project tracking',
49
+ scopes: ['read:jira-work', 'write:jira-work'],
50
+ mcpUrl: 'https://mcp.atlassian.com/v1',
51
+ icon: {
52
+ name: 'AiOutlineBug'
53
+ },
54
+ color: '#0052CC'
55
+ }, {
56
+ id: 'hugging-face',
57
+ title: 'Hugging Face',
58
+ description: 'AI models and machine learning platform',
59
+ scopes: ['read'],
60
+ mcpUrl: 'https://huggingface.co',
61
+ // Hugging Face MCP configured via settings page (https://huggingface.co/settings/mcp)
62
+ icon: {
63
+ name: 'AiOutlineApi'
64
+ },
65
+ color: '#FFD21E'
66
+ }, {
67
+ id: 'airtable',
68
+ title: 'AirTable',
69
+ description: 'Spreadsheet-database hybrid',
70
+ scopes: ['data.records:read', 'data.records:write', 'schema.bases:read'],
71
+ mcpUrl: '',
72
+ // Airtable MCP requires self-hosted setup (runs on localhost:8000)
73
+ icon: {
74
+ name: 'AiOutlineFileText'
75
+ },
76
+ color: '#7B68EE'
77
+ }, {
78
+ id: 'posthog',
79
+ title: 'PostHog',
80
+ description: 'Product analytics and feature flags',
81
+ scopes: ['read', 'write'],
82
+ mcpUrl: 'https://mcp.posthog.com',
83
+ // Base URL for OAuth discovery (US region)
84
+ icon: {
85
+ name: 'AiOutlineSearch'
86
+ },
87
+ color: '#F9BD2B'
88
+ }, {
89
+ id: 'todoist',
90
+ title: 'Todoist',
91
+ description: 'Task management and to-do lists',
92
+ scopes: ['task:add', 'data:read', 'data:read_write'],
93
+ mcpUrl: 'https://ai.todoist.net',
94
+ // Base URL for OAuth discovery
95
+ icon: {
96
+ name: 'AiOutlineCheckSquare'
97
+ },
98
+ color: '#E44332'
99
+ }, {
100
+ id: 'monday',
101
+ title: 'Monday',
102
+ description: 'Work management and collaboration',
103
+ scopes: ['read', 'write'],
104
+ mcpUrl: 'https://mcp.monday.com',
105
+ // Base URL for OAuth discovery
106
+ icon: {
107
+ name: 'AiOutlineCalendar'
108
+ },
109
+ color: '#FF3D57'
110
+ }];export{mcpProvidersConfig};//# sourceMappingURL=mcpConnectorConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mcpConnectorConfig.js","sources":["../../src/config/mcpConnectorConfig.ts"],"sourcesContent":[null],"names":[],"mappings":"AAAY,MAAA,kBAAa,GAAO,CAAG;AAEnC,EAAA,EAAA,EAAM;OACA,UAAS;sDACG;QACd,EAAA,CAAA,MAAa,SAAO,CAAA;QACpB,EAAM,wBAAW;;AAEjB,EAAA,IAAA,EAAI;QACA,EAAA;AACA,GAAA;;;MACF,QAAA;OACF,EAAK,QAAG;AACX,EAAA,WAAA,EAAA,yCAAA;AAED,EAAA,MAAA,EAAA,wBAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/lib/index.d.ts CHANGED
@@ -1,8 +1,9 @@
1
1
  export * from './config/connectorsConfig';
2
- export * from './inngest/interfaces/types';
2
+ export * from './config/mcpConnectorConfig';
3
3
  export * from './inngest/generateFunctionCode';
4
- export { generateFromExtractedFunctions, extractFunctionBody } from './inngest/stepGenerator';
4
+ export * from './inngest/interfaces/types';
5
5
  export * from './inngest/monacoAutocompleteIntegration';
6
- export * from './utils/json';
6
+ export { extractFunctionBody, generateFromExtractedFunctions } from './inngest/stepGenerator';
7
7
  export * from './utils/deepMergeFormSteps';
8
+ export * from './utils/json';
8
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,OAAO,EAAE,8BAA8B,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9F,cAAc,yCAAyC,CAAC;AACxD,cAAc,cAAc,CAAC;AAC7B,cAAc,4BAA4B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yCAAyC,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,8BAA8B,EAAE,MAAM,yBAAyB,CAAC;AAC9F,cAAc,4BAA4B,CAAC;AAC3C,cAAc,cAAc,CAAC"}
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- export{connectorsConfig}from'./config/connectorsConfig.js';export{generateFunctionCode,generateHandlerBody,generateHandlerBodyWithReturn,generateStepFromFunction,generateStepFunctionsFromDB,wrapStepsInInngestFunction}from'./inngest/generateFunctionCode.js';export{cleanStepCode,extractFunctionBody,extractStepVarName,generateFromExtractedFunctions}from'./inngest/stepGenerator.js';export{getAvailableDefinitions,installLibraryForAutocomplete,setupMonacoAutocomplete,setupStepAutocomplete,updateAutocompleteConfig}from'./inngest/monacoAutocompleteIntegration.js';export{flatten,unflatten}from'./utils/json.js';export{deepMergeElements,deepMergeFormSteps}from'./utils/deepMergeFormSteps.js';//# sourceMappingURL=index.js.map
1
+ export{connectorsConfig}from'./config/connectorsConfig.js';export{mcpProvidersConfig}from'./config/mcpConnectorConfig.js';export{generateFunctionCode,generateHandlerBody,generateHandlerBodyWithReturn,generateStepFromFunction,generateStepFunctionsFromDB,wrapStepsInInngestFunction}from'./inngest/generateFunctionCode.js';export{getAvailableDefinitions,installLibraryForAutocomplete,setupMonacoAutocomplete,setupStepAutocomplete,updateAutocompleteConfig}from'./inngest/monacoAutocompleteIntegration.js';export{cleanStepCode,extractFunctionBody,extractStepVarName,generateFromExtractedFunctions}from'./inngest/stepGenerator.js';export{deepMergeElements,deepMergeFormSteps}from'./utils/deepMergeFormSteps.js';export{flatten,unflatten}from'./utils/json.js';//# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminide-stack/form-builder-core",
3
- "version": "5.1.4-alpha.235",
3
+ "version": "5.1.4-alpha.241",
4
4
  "sideEffects": false,
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -24,5 +24,5 @@
24
24
  "publishConfig": {
25
25
  "access": "public"
26
26
  },
27
- "gitHead": "e2a3a96c70d681dd476916c80edcf6fa1244e686"
27
+ "gitHead": "64616a5d820d6d7e44b1766d3f1988766f9f6c35"
28
28
  }