agentlang 0.0.2

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.
Files changed (240) hide show
  1. package/LICENSE +83 -0
  2. package/README.md +120 -0
  3. package/bin/cli.js +4 -0
  4. package/out/api/http.d.ts +3 -0
  5. package/out/api/http.d.ts.map +1 -0
  6. package/out/api/http.js +290 -0
  7. package/out/api/http.js.map +1 -0
  8. package/out/cli/cli-util.d.ts +7 -0
  9. package/out/cli/cli-util.d.ts.map +1 -0
  10. package/out/cli/cli-util.js +9 -0
  11. package/out/cli/cli-util.js.map +1 -0
  12. package/out/cli/docs.d.ts +2 -0
  13. package/out/cli/docs.d.ts.map +1 -0
  14. package/out/cli/docs.js +236 -0
  15. package/out/cli/docs.js.map +1 -0
  16. package/out/cli/main.d.ts +288 -0
  17. package/out/cli/main.d.ts.map +1 -0
  18. package/out/cli/main.js +119 -0
  19. package/out/cli/main.js.map +1 -0
  20. package/out/cli/openapi-docs.yml +695 -0
  21. package/out/extension/main.cjs +18093 -0
  22. package/out/extension/main.cjs.map +7 -0
  23. package/out/extension/main.d.ts +4 -0
  24. package/out/extension/main.d.ts.map +1 -0
  25. package/out/extension/main.js +42 -0
  26. package/out/extension/main.js.map +1 -0
  27. package/out/language/agentlang-module.d.ts +42 -0
  28. package/out/language/agentlang-module.d.ts.map +1 -0
  29. package/out/language/agentlang-module.js +42 -0
  30. package/out/language/agentlang-module.js.map +1 -0
  31. package/out/language/agentlang-validator.d.ts +15 -0
  32. package/out/language/agentlang-validator.d.ts.map +1 -0
  33. package/out/language/agentlang-validator.js +50 -0
  34. package/out/language/agentlang-validator.js.map +1 -0
  35. package/out/language/generated/ast.d.ts +491 -0
  36. package/out/language/generated/ast.d.ts.map +1 -0
  37. package/out/language/generated/ast.js +934 -0
  38. package/out/language/generated/ast.js.map +1 -0
  39. package/out/language/generated/grammar.d.ts +7 -0
  40. package/out/language/generated/grammar.d.ts.map +1 -0
  41. package/out/language/generated/grammar.js +4475 -0
  42. package/out/language/generated/grammar.js.map +1 -0
  43. package/out/language/generated/module.d.ts +14 -0
  44. package/out/language/generated/module.d.ts.map +1 -0
  45. package/out/language/generated/module.js +21 -0
  46. package/out/language/generated/module.js.map +1 -0
  47. package/out/language/main-browser.d.ts +2 -0
  48. package/out/language/main-browser.d.ts.map +1 -0
  49. package/out/language/main-browser.js +10 -0
  50. package/out/language/main-browser.js.map +1 -0
  51. package/out/language/main.cjs +36229 -0
  52. package/out/language/main.cjs.map +7 -0
  53. package/out/language/main.d.ts +2 -0
  54. package/out/language/main.d.ts.map +1 -0
  55. package/out/language/main.js +11 -0
  56. package/out/language/main.js.map +1 -0
  57. package/out/language/parser.d.ts +9 -0
  58. package/out/language/parser.d.ts.map +1 -0
  59. package/out/language/parser.js +273 -0
  60. package/out/language/parser.js.map +1 -0
  61. package/out/language/syntax.d.ts +155 -0
  62. package/out/language/syntax.d.ts.map +1 -0
  63. package/out/language/syntax.js +527 -0
  64. package/out/language/syntax.js.map +1 -0
  65. package/out/runtime/agents/common.d.ts +2 -0
  66. package/out/runtime/agents/common.d.ts.map +1 -0
  67. package/out/runtime/agents/common.js +178 -0
  68. package/out/runtime/agents/common.js.map +1 -0
  69. package/out/runtime/agents/impl/openai.d.ts +8 -0
  70. package/out/runtime/agents/impl/openai.d.ts.map +1 -0
  71. package/out/runtime/agents/impl/openai.js +15 -0
  72. package/out/runtime/agents/impl/openai.js.map +1 -0
  73. package/out/runtime/agents/provider.d.ts +21 -0
  74. package/out/runtime/agents/provider.d.ts.map +1 -0
  75. package/out/runtime/agents/provider.js +32 -0
  76. package/out/runtime/agents/provider.js.map +1 -0
  77. package/out/runtime/agents/registry.d.ts +2 -0
  78. package/out/runtime/agents/registry.d.ts.map +1 -0
  79. package/out/runtime/agents/registry.js +10 -0
  80. package/out/runtime/agents/registry.js.map +1 -0
  81. package/out/runtime/auth/cognito.d.ts +16 -0
  82. package/out/runtime/auth/cognito.d.ts.map +1 -0
  83. package/out/runtime/auth/cognito.js +186 -0
  84. package/out/runtime/auth/cognito.js.map +1 -0
  85. package/out/runtime/auth/defs.d.ts +11 -0
  86. package/out/runtime/auth/defs.d.ts.map +1 -0
  87. package/out/runtime/auth/defs.js +24 -0
  88. package/out/runtime/auth/defs.js.map +1 -0
  89. package/out/runtime/auth/interface.d.ts +22 -0
  90. package/out/runtime/auth/interface.d.ts.map +1 -0
  91. package/out/runtime/auth/interface.js +2 -0
  92. package/out/runtime/auth/interface.js.map +1 -0
  93. package/out/runtime/defs.js +24 -0
  94. package/out/runtime/defs.js.map +1 -0
  95. package/out/runtime/interpreter.d.ts +69 -0
  96. package/out/runtime/interpreter.d.ts.map +1 -0
  97. package/out/runtime/interpreter.js +1163 -0
  98. package/out/runtime/interpreter.js.map +1 -0
  99. package/out/runtime/loader.d.ts +25 -0
  100. package/out/runtime/loader.d.ts.map +1 -0
  101. package/out/runtime/loader.js +346 -0
  102. package/out/runtime/loader.js.map +1 -0
  103. package/out/runtime/logger.d.ts +2 -0
  104. package/out/runtime/logger.d.ts.map +1 -0
  105. package/out/runtime/logger.js +44 -0
  106. package/out/runtime/logger.js.map +1 -0
  107. package/out/runtime/module.d.ts +273 -0
  108. package/out/runtime/module.d.ts.map +1 -0
  109. package/out/runtime/module.js +1786 -0
  110. package/out/runtime/module.js.map +1 -0
  111. package/out/runtime/modules/ai.d.ts +26 -0
  112. package/out/runtime/modules/ai.d.ts.map +1 -0
  113. package/out/runtime/modules/ai.js +211 -0
  114. package/out/runtime/modules/ai.js.map +1 -0
  115. package/out/runtime/modules/auth.d.ts +39 -0
  116. package/out/runtime/modules/auth.d.ts.map +1 -0
  117. package/out/runtime/modules/auth.js +359 -0
  118. package/out/runtime/modules/auth.js.map +1 -0
  119. package/out/runtime/modules/core.d.ts +2 -0
  120. package/out/runtime/modules/core.d.ts.map +1 -0
  121. package/out/runtime/modules/core.js +67 -0
  122. package/out/runtime/modules/core.js.map +1 -0
  123. package/out/runtime/relgraph.d.ts +21 -0
  124. package/out/runtime/relgraph.d.ts.map +1 -0
  125. package/out/runtime/relgraph.js +156 -0
  126. package/out/runtime/relgraph.js.map +1 -0
  127. package/out/runtime/resolvers/interface.d.ts +59 -0
  128. package/out/runtime/resolvers/interface.d.ts.map +1 -0
  129. package/out/runtime/resolvers/interface.js +111 -0
  130. package/out/runtime/resolvers/interface.js.map +1 -0
  131. package/out/runtime/resolvers/registry.d.ts +8 -0
  132. package/out/runtime/resolvers/registry.d.ts.map +1 -0
  133. package/out/runtime/resolvers/registry.js +26 -0
  134. package/out/runtime/resolvers/registry.js.map +1 -0
  135. package/out/runtime/resolvers/sqldb/database.d.ts +50 -0
  136. package/out/runtime/resolvers/sqldb/database.d.ts.map +1 -0
  137. package/out/runtime/resolvers/sqldb/database.js +618 -0
  138. package/out/runtime/resolvers/sqldb/database.js.map +1 -0
  139. package/out/runtime/resolvers/sqldb/dbutil.d.ts +18 -0
  140. package/out/runtime/resolvers/sqldb/dbutil.d.ts.map +1 -0
  141. package/out/runtime/resolvers/sqldb/dbutil.js +221 -0
  142. package/out/runtime/resolvers/sqldb/dbutil.js.map +1 -0
  143. package/out/runtime/resolvers/sqldb/impl.d.ts +26 -0
  144. package/out/runtime/resolvers/sqldb/impl.d.ts.map +1 -0
  145. package/out/runtime/resolvers/sqldb/impl.js +300 -0
  146. package/out/runtime/resolvers/sqldb/impl.js.map +1 -0
  147. package/out/runtime/state.js +83 -0
  148. package/out/runtime/state.js.map +1 -0
  149. package/out/runtime/util.d.ts +43 -0
  150. package/out/runtime/util.d.ts.map +1 -0
  151. package/out/runtime/util.js +447 -0
  152. package/out/runtime/util.js.map +1 -0
  153. package/out/setupClassic.d.ts +98 -0
  154. package/out/setupClassic.d.ts.map +1 -0
  155. package/out/setupClassic.js +38 -0
  156. package/out/setupClassic.js.map +1 -0
  157. package/out/setupCommon.d.ts +2 -0
  158. package/out/setupCommon.d.ts.map +1 -0
  159. package/out/setupCommon.js +33 -0
  160. package/out/setupCommon.js.map +1 -0
  161. package/out/setupExtended.d.ts +40 -0
  162. package/out/setupExtended.d.ts.map +1 -0
  163. package/out/setupExtended.js +67 -0
  164. package/out/setupExtended.js.map +1 -0
  165. package/out/syntaxes/agentlang.monarch.d.ts +77 -0
  166. package/out/syntaxes/agentlang.monarch.d.ts.map +1 -0
  167. package/out/syntaxes/agentlang.monarch.js +31 -0
  168. package/out/syntaxes/agentlang.monarch.js.map +1 -0
  169. package/out/utils/fs/index.d.ts +14 -0
  170. package/out/utils/fs/index.d.ts.map +1 -0
  171. package/out/utils/fs/index.js +26 -0
  172. package/out/utils/fs/index.js.map +1 -0
  173. package/out/utils/fs/interfaces.d.ts +105 -0
  174. package/out/utils/fs/interfaces.d.ts.map +1 -0
  175. package/out/utils/fs/interfaces.js +5 -0
  176. package/out/utils/fs/interfaces.js.map +1 -0
  177. package/out/utils/fs/lightning-fs.d.ts +116 -0
  178. package/out/utils/fs/lightning-fs.d.ts.map +1 -0
  179. package/out/utils/fs/lightning-fs.js +243 -0
  180. package/out/utils/fs/lightning-fs.js.map +1 -0
  181. package/out/utils/fs/node-fs.d.ts +93 -0
  182. package/out/utils/fs/node-fs.d.ts.map +1 -0
  183. package/out/utils/fs/node-fs.js +169 -0
  184. package/out/utils/fs/node-fs.js.map +1 -0
  185. package/out/utils/fs-utils.d.ts +153 -0
  186. package/out/utils/fs-utils.d.ts.map +1 -0
  187. package/out/utils/fs-utils.js +271 -0
  188. package/out/utils/fs-utils.js.map +1 -0
  189. package/out/utils/runtime.d.ts +36 -0
  190. package/out/utils/runtime.d.ts.map +1 -0
  191. package/out/utils/runtime.js +39 -0
  192. package/out/utils/runtime.js.map +1 -0
  193. package/package.json +155 -0
  194. package/src/api/http.ts +361 -0
  195. package/src/cli/cli-util.ts +18 -0
  196. package/src/cli/main.ts +146 -0
  197. package/src/extension/main.ts +51 -0
  198. package/src/language/agentlang-module.ts +75 -0
  199. package/src/language/agentlang-validator.ts +60 -0
  200. package/src/language/agentlang.langium +178 -0
  201. package/src/language/generated/ast.ts +1698 -0
  202. package/src/language/generated/grammar.ts +4477 -0
  203. package/src/language/generated/module.ts +25 -0
  204. package/src/language/main-browser.ts +19 -0
  205. package/src/language/main.ts +13 -0
  206. package/src/language/parser.ts +329 -0
  207. package/src/language/syntax.ts +646 -0
  208. package/src/runtime/agents/common.ts +177 -0
  209. package/src/runtime/agents/impl/openai.ts +19 -0
  210. package/src/runtime/agents/provider.ts +58 -0
  211. package/src/runtime/agents/registry.ts +9 -0
  212. package/src/runtime/auth/cognito.ts +225 -0
  213. package/src/runtime/auth/defs.ts +33 -0
  214. package/src/runtime/auth/interface.ts +31 -0
  215. package/src/runtime/defs.ts +33 -0
  216. package/src/runtime/interpreter.ts +1352 -0
  217. package/src/runtime/loader.ts +450 -0
  218. package/src/runtime/logger.ts +51 -0
  219. package/src/runtime/module.ts +2188 -0
  220. package/src/runtime/modules/ai.ts +257 -0
  221. package/src/runtime/modules/auth.ts +489 -0
  222. package/src/runtime/modules/core.ts +95 -0
  223. package/src/runtime/relgraph.ts +195 -0
  224. package/src/runtime/resolvers/interface.ts +160 -0
  225. package/src/runtime/resolvers/registry.ts +30 -0
  226. package/src/runtime/resolvers/sqldb/database.ts +823 -0
  227. package/src/runtime/resolvers/sqldb/dbutil.ts +257 -0
  228. package/src/runtime/resolvers/sqldb/impl.ts +471 -0
  229. package/src/runtime/state.ts +87 -0
  230. package/src/runtime/util.ts +513 -0
  231. package/src/setupClassic.ts +43 -0
  232. package/src/setupCommon.ts +33 -0
  233. package/src/setupExtended.ts +79 -0
  234. package/src/syntaxes/agentlang.monarch.ts +31 -0
  235. package/src/utils/fs/index.ts +28 -0
  236. package/src/utils/fs/interfaces.ts +118 -0
  237. package/src/utils/fs/lightning-fs.ts +284 -0
  238. package/src/utils/fs/node-fs.ts +185 -0
  239. package/src/utils/fs-utils.ts +304 -0
  240. package/src/utils/runtime.ts +43 -0
@@ -0,0 +1,98 @@
1
+ export declare const setupConfigClassic: () => {
2
+ $type: string;
3
+ editorAppConfig: {
4
+ codeResources: {
5
+ modified: {
6
+ uri: string;
7
+ text: string;
8
+ };
9
+ };
10
+ useDiffEditor: boolean;
11
+ languageDef: {
12
+ languageExtensionConfig: {
13
+ id: string;
14
+ };
15
+ monarchLanguage: {
16
+ keywords: string[];
17
+ operators: string[];
18
+ symbols: RegExp;
19
+ tokenizer: {
20
+ initial: ({
21
+ regex: RegExp;
22
+ action: {
23
+ cases: {
24
+ '@keywords': {
25
+ token: string;
26
+ };
27
+ '@default': {
28
+ token: string;
29
+ };
30
+ '@operators'?: undefined;
31
+ };
32
+ token?: undefined;
33
+ };
34
+ include?: undefined;
35
+ } | {
36
+ regex: RegExp;
37
+ action: {
38
+ token: string;
39
+ cases?: undefined;
40
+ };
41
+ include?: undefined;
42
+ } | {
43
+ include: string;
44
+ regex?: undefined;
45
+ action?: undefined;
46
+ } | {
47
+ regex: RegExp;
48
+ action: {
49
+ cases: {
50
+ '@operators': {
51
+ token: string;
52
+ };
53
+ '@default': {
54
+ token: string;
55
+ };
56
+ '@keywords'?: undefined;
57
+ };
58
+ token?: undefined;
59
+ };
60
+ include?: undefined;
61
+ })[];
62
+ whitespace: ({
63
+ regex: RegExp;
64
+ action: {
65
+ token: string;
66
+ next?: undefined;
67
+ };
68
+ } | {
69
+ regex: RegExp;
70
+ action: {
71
+ token: string;
72
+ next: string;
73
+ };
74
+ })[];
75
+ comment: ({
76
+ regex: RegExp;
77
+ action: {
78
+ token: string;
79
+ next?: undefined;
80
+ };
81
+ } | {
82
+ regex: RegExp;
83
+ action: {
84
+ token: string;
85
+ next: string;
86
+ };
87
+ })[];
88
+ };
89
+ };
90
+ };
91
+ editorOptions: {
92
+ 'semanticHighlighting.enabled': boolean;
93
+ theme: string;
94
+ };
95
+ };
96
+ };
97
+ export declare const executeClassic: (htmlElement: HTMLElement) => Promise<void>;
98
+ //# sourceMappingURL=setupClassic.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setupClassic.d.ts","sourceRoot":"","sources":["../src/setupClassic.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqB9B,CAAC;AAEF,eAAO,MAAM,cAAc,GAAU,aAAa,WAAW,kBAgB5D,CAAC"}
@@ -0,0 +1,38 @@
1
+ import { MonacoEditorLanguageClientWrapper } from 'monaco-editor-wrapper';
2
+ import monarchSyntax from './syntaxes/agentlang.monarch.js';
3
+ export const setupConfigClassic = () => {
4
+ return {
5
+ $type: 'classic',
6
+ editorAppConfig: {
7
+ codeResources: {
8
+ modified: {
9
+ uri: '/workspace/example.al',
10
+ text: `// Agentlang is running in the web!`,
11
+ },
12
+ },
13
+ useDiffEditor: false,
14
+ languageDef: {
15
+ languageExtensionConfig: { id: 'agentlang' },
16
+ monarchLanguage: monarchSyntax,
17
+ },
18
+ editorOptions: {
19
+ 'semanticHighlighting.enabled': true,
20
+ theme: 'vs-dark',
21
+ },
22
+ },
23
+ };
24
+ };
25
+ export const executeClassic = async (htmlElement) => {
26
+ try {
27
+ const config = setupConfigClassic();
28
+ const wrapper = new MonacoEditorLanguageClientWrapper();
29
+ // Add the HTML container to the config
30
+ const wrapperConfig = Object.assign(Object.assign({}, config), { htmlContainer: htmlElement });
31
+ // Initialize and start the wrapper
32
+ await wrapper.initAndStart(wrapperConfig);
33
+ }
34
+ catch (error) {
35
+ console.error('Error initializing monaco editor:', error);
36
+ }
37
+ };
38
+ //# sourceMappingURL=setupClassic.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setupClassic.js","sourceRoot":"","sources":["../src/setupClassic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iCAAiC,EAAsB,MAAM,uBAAuB,CAAC;AAC9F,OAAO,aAAa,MAAM,iCAAiC,CAAC;AAE5D,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,EAAE;IACrC,OAAO;QACL,KAAK,EAAE,SAAS;QAChB,eAAe,EAAE;YACf,aAAa,EAAE;gBACb,QAAQ,EAAE;oBACR,GAAG,EAAE,uBAAuB;oBAC5B,IAAI,EAAE,qCAAqC;iBAC5C;aACF;YACD,aAAa,EAAE,KAAK;YACpB,WAAW,EAAE;gBACX,uBAAuB,EAAE,EAAE,EAAE,EAAE,WAAW,EAAE;gBAC5C,eAAe,EAAE,aAAa;aAC/B;YACD,aAAa,EAAE;gBACb,8BAA8B,EAAE,IAAI;gBACpC,KAAK,EAAE,SAAS;aACjB;SACF;KACF,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,KAAK,EAAE,WAAwB,EAAE,EAAE;IAC/D,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,kBAAkB,EAAE,CAAC;QACpC,MAAM,OAAO,GAAG,IAAI,iCAAiC,EAAE,CAAC;QAExD,uCAAuC;QACvC,MAAM,aAAa,GAAG,gCACjB,MAAM,KACT,aAAa,EAAE,WAAW,GACV,CAAC;QAEnB,mCAAmC;QACnC,MAAM,OAAO,CAAC,YAAY,CAAC,aAAa,CAAC,CAAC;IAC5C,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,CAAC,KAAK,CAAC,mCAAmC,EAAE,KAAK,CAAC,CAAC;IAC5D,CAAC;AACH,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=setupCommon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setupCommon.d.ts","sourceRoot":"","sources":["../src/setupCommon.ts"],"names":[],"mappings":""}
@@ -0,0 +1,33 @@
1
+ // This file is kept for reference but is not used directly anymore
2
+ // The monaco-editor-wrapper API has changed significantly in v6+
3
+ export {};
4
+ // These functions are kept for reference but not used directly anymore
5
+ /*
6
+ export const defineUserServices = () => {
7
+ return {
8
+ userServices: {
9
+ // This API has changed in the latest version
10
+ },
11
+ debugLogging: true,
12
+ };
13
+ };
14
+
15
+ export const configureMonacoWorkers = () => {
16
+ // This function is kept for compatibility, but implementation has changed
17
+ // Use configureDefaultWorkerFactory from monaco-editor-wrapper/workers/workerLoaders in newer code
18
+ };
19
+
20
+ export const configureWorker = () => {
21
+ // vite does not extract the worker properly if it is URL is a variable
22
+ const lsWorker = new Worker(new URL('./language/main-browser', import.meta.url), {
23
+ type: 'module',
24
+ name: 'Agentlang Language Server',
25
+ });
26
+
27
+ return {
28
+ type: 'WorkerDirect',
29
+ worker: lsWorker,
30
+ };
31
+ };
32
+ */
33
+ //# sourceMappingURL=setupCommon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setupCommon.js","sourceRoot":"","sources":["../src/setupCommon.ts"],"names":[],"mappings":"AAAA,mEAAmE;AACnE,iEAAiE;;AAEjE,uEAAuE;AAEvE;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2BE"}
@@ -0,0 +1,40 @@
1
+ export declare const setupConfigExtended: () => {
2
+ $type: string;
3
+ editorAppConfig: {
4
+ codeResources: {
5
+ modified: {
6
+ uri: string;
7
+ text: string;
8
+ };
9
+ };
10
+ useDiffEditor: boolean;
11
+ extensions: {
12
+ config: {
13
+ name: string;
14
+ publisher: string;
15
+ version: string;
16
+ engines: {
17
+ vscode: string;
18
+ };
19
+ contributes: {
20
+ languages: {
21
+ id: string;
22
+ extensions: string[];
23
+ configuration: string;
24
+ }[];
25
+ grammars: {
26
+ language: string;
27
+ scopeName: string;
28
+ path: string;
29
+ }[];
30
+ };
31
+ };
32
+ filesOrContents: Map<any, any>;
33
+ }[];
34
+ userConfiguration: {
35
+ json: string;
36
+ };
37
+ };
38
+ };
39
+ export declare const executeExtended: (htmlElement: HTMLElement) => Promise<void>;
40
+ //# sourceMappingURL=setupExtended.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setupExtended.d.ts","sourceRoot":"","sources":["../src/setupExtended.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0D/B,CAAC;AAEF,eAAO,MAAM,eAAe,GAAU,aAAa,WAAW,kBAgB7D,CAAC"}
@@ -0,0 +1,67 @@
1
+ import { MonacoEditorLanguageClientWrapper } from 'monaco-editor-wrapper';
2
+ export const setupConfigExtended = () => {
3
+ const extensionFilesOrContents = new Map();
4
+ extensionFilesOrContents.set('/language-configuration.json', new URL('../language-configuration.json', import.meta.url));
5
+ extensionFilesOrContents.set('/agentlang-grammar.json', new URL('../syntaxes/agentlang.tmLanguage.json', import.meta.url));
6
+ return {
7
+ $type: 'extended',
8
+ editorAppConfig: {
9
+ codeResources: {
10
+ modified: {
11
+ uri: '/workspace/example.al',
12
+ text: `// Agentlang is running in the web!`,
13
+ },
14
+ },
15
+ useDiffEditor: false,
16
+ extensions: [
17
+ {
18
+ config: {
19
+ name: 'agentlang-web',
20
+ publisher: 'generator-langium',
21
+ version: '1.0.0',
22
+ engines: {
23
+ vscode: '*',
24
+ },
25
+ contributes: {
26
+ languages: [
27
+ {
28
+ id: 'agentlang',
29
+ extensions: ['.agentlang'],
30
+ configuration: './language-configuration.json',
31
+ },
32
+ ],
33
+ grammars: [
34
+ {
35
+ language: 'agentlang',
36
+ scopeName: 'source.agentlang',
37
+ path: './agentlang-grammar.json',
38
+ },
39
+ ],
40
+ },
41
+ },
42
+ filesOrContents: extensionFilesOrContents,
43
+ },
44
+ ],
45
+ userConfiguration: {
46
+ json: JSON.stringify({
47
+ 'workbench.colorTheme': 'Default Dark Modern',
48
+ 'editor.semanticHighlighting.enabled': true,
49
+ }),
50
+ },
51
+ },
52
+ };
53
+ };
54
+ export const executeExtended = async (htmlElement) => {
55
+ try {
56
+ const config = setupConfigExtended();
57
+ const wrapper = new MonacoEditorLanguageClientWrapper();
58
+ // Add the HTML container to the config
59
+ const wrapperConfig = Object.assign(Object.assign({}, config), { htmlContainer: htmlElement });
60
+ // Initialize and start the wrapper
61
+ await wrapper.initAndStart(wrapperConfig);
62
+ }
63
+ catch (error) {
64
+ console.error('Error initializing monaco editor:', error);
65
+ }
66
+ };
67
+ //# sourceMappingURL=setupExtended.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setupExtended.js","sourceRoot":"","sources":["../src/setupExtended.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iCAAiC,EAAsB,MAAM,uBAAuB,CAAC;AAE9F,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,EAAE;IACtC,MAAM,wBAAwB,GAAG,IAAI,GAAG,EAAE,CAAC;IAC3C,wBAAwB,CAAC,GAAG,CAC1B,8BAA8B,EAC9B,IAAI,GAAG,CAAC,gCAAgC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAC3D,CAAC;IACF,wBAAwB,CAAC,GAAG,CAC1B,yBAAyB,EACzB,IAAI,GAAG,CAAC,uCAAuC,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAClE,CAAC;IAEF,OAAO;QACL,KAAK,EAAE,UAAU;QACjB,eAAe,EAAE;YACf,aAAa,EAAE;gBACb,QAAQ,EAAE;oBACR,GAAG,EAAE,uBAAuB;oBAC5B,IAAI,EAAE,qCAAqC;iBAC5C;aACF;YACD,aAAa,EAAE,KAAK;YACpB,UAAU,EAAE;gBACV;oBACE,MAAM,EAAE;wBACN,IAAI,EAAE,eAAe;wBACrB,SAAS,EAAE,mBAAmB;wBAC9B,OAAO,EAAE,OAAO;wBAChB,OAAO,EAAE;4BACP,MAAM,EAAE,GAAG;yBACZ;wBACD,WAAW,EAAE;4BACX,SAAS,EAAE;gCACT;oCACE,EAAE,EAAE,WAAW;oCACf,UAAU,EAAE,CAAC,YAAY,CAAC;oCAC1B,aAAa,EAAE,+BAA+B;iCAC/C;6BACF;4BACD,QAAQ,EAAE;gCACR;oCACE,QAAQ,EAAE,WAAW;oCACrB,SAAS,EAAE,kBAAkB;oCAC7B,IAAI,EAAE,0BAA0B;iCACjC;6BACF;yBACF;qBACF;oBACD,eAAe,EAAE,wBAAwB;iBAC1C;aACF;YACD,iBAAiB,EAAE;gBACjB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC;oBACnB,sBAAsB,EAAE,qBAAqB;oBAC7C,qCAAqC,EAAE,IAAI;iBAC5C,CAAC;aACH;SACF;KACF,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,KAAK,EAAE,WAAwB,EAAE,EAAE;IAChE,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,mBAAmB,EAAE,CAAC;QACrC,MAAM,OAAO,GAAG,IAAI,iCAAiC,EAAE,CAAC;QAExD,uCAAuC;QACvC,MAAM,aAAa,GAAG,gCACjB,MAAM,KACT,aAAa,EAAE,WAAW,GACV,CAAC;QAEnB,mCAAmC;QACnC,MAAM,OAAO,CAAC,YAAY,CAAC,aAAa,CAAC,CAAC;IAC5C,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,CAAC,KAAK,CAAC,mCAAmC,EAAE,KAAK,CAAC,CAAC;IAC5D,CAAC;AACH,CAAC,CAAC"}
@@ -0,0 +1,77 @@
1
+ declare const _default: {
2
+ keywords: string[];
3
+ operators: string[];
4
+ symbols: RegExp;
5
+ tokenizer: {
6
+ initial: ({
7
+ regex: RegExp;
8
+ action: {
9
+ cases: {
10
+ '@keywords': {
11
+ token: string;
12
+ };
13
+ '@default': {
14
+ token: string;
15
+ };
16
+ '@operators'?: undefined;
17
+ };
18
+ token?: undefined;
19
+ };
20
+ include?: undefined;
21
+ } | {
22
+ regex: RegExp;
23
+ action: {
24
+ token: string;
25
+ cases?: undefined;
26
+ };
27
+ include?: undefined;
28
+ } | {
29
+ include: string;
30
+ regex?: undefined;
31
+ action?: undefined;
32
+ } | {
33
+ regex: RegExp;
34
+ action: {
35
+ cases: {
36
+ '@operators': {
37
+ token: string;
38
+ };
39
+ '@default': {
40
+ token: string;
41
+ };
42
+ '@keywords'?: undefined;
43
+ };
44
+ token?: undefined;
45
+ };
46
+ include?: undefined;
47
+ })[];
48
+ whitespace: ({
49
+ regex: RegExp;
50
+ action: {
51
+ token: string;
52
+ next?: undefined;
53
+ };
54
+ } | {
55
+ regex: RegExp;
56
+ action: {
57
+ token: string;
58
+ next: string;
59
+ };
60
+ })[];
61
+ comment: ({
62
+ regex: RegExp;
63
+ action: {
64
+ token: string;
65
+ next?: undefined;
66
+ };
67
+ } | {
68
+ regex: RegExp;
69
+ action: {
70
+ token: string;
71
+ next: string;
72
+ };
73
+ })[];
74
+ };
75
+ };
76
+ export default _default;
77
+ //# sourceMappingURL=agentlang.monarch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agentlang.monarch.d.ts","sourceRoot":"","sources":["../../src/syntaxes/agentlang.monarch.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,wBA6BE"}
@@ -0,0 +1,31 @@
1
+ // Monarch syntax highlighting for the agentlang language.
2
+ export default {
3
+ keywords: [
4
+ '@after', '@async', '@before', '@enum', '@expr', '@meta', '@oneof', '@rbac', '@ref', '@with_unique', 'allow', 'and', 'as', 'await', 'between', 'catch', 'contains', 'create', 'delete', 'else', 'entity', 'error', 'event', 'extends', 'false', 'for', 'if', 'import', 'in', 'into', 'like', 'module', 'not', 'not_found', 'or', 'purge', 'read', 'record', 'relationship', 'roles', 'true', 'update', 'upsert', 'where', 'workflow'
5
+ ],
6
+ operators: [
7
+ '*', '+', ',', '-', '.', '/', ':', ';', '<', '<=', '<>', '=', '>', '>=', '?', '@'
8
+ ],
9
+ symbols: /\(|\)|\*|\+|,|-|\.|\/|:|;|<|<=|<>|=|>|>=|\?|@|\[|\]|\{|\}/,
10
+ tokenizer: {
11
+ initial: [
12
+ { regex: /(([_a-zA-Z][\w_]*)(\/([_a-zA-Z][\w_]*))?)/, action: { cases: { '@keywords': { "token": "keyword" }, '@default': { "token": "string" } } } },
13
+ { regex: /[_a-zA-Z][\w_]*/, action: { cases: { '@keywords': { "token": "keyword" }, '@default': { "token": "string" } } } },
14
+ { regex: /(["'])((\\{2})*|(.*?[^\\](\\{2})*))\1/, action: { "token": "string" } },
15
+ { regex: /-?[0-9]+/, action: { "token": "number" } },
16
+ { include: '@whitespace' },
17
+ { regex: /@symbols/, action: { cases: { '@operators': { "token": "operator" }, '@default': { "token": "" } } } },
18
+ ],
19
+ whitespace: [
20
+ { regex: /\s+/, action: { "token": "white" } },
21
+ { regex: /\/\*/, action: { "token": "comment", "next": "@comment" } },
22
+ { regex: /\/\/[^\n\r]*/, action: { "token": "comment" } },
23
+ ],
24
+ comment: [
25
+ { regex: /[^/\*]+/, action: { "token": "comment" } },
26
+ { regex: /\*\//, action: { "token": "comment", "next": "@pop" } },
27
+ { regex: /[/\*]/, action: { "token": "comment" } },
28
+ ],
29
+ }
30
+ };
31
+ //# sourceMappingURL=agentlang.monarch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agentlang.monarch.js","sourceRoot":"","sources":["../../src/syntaxes/agentlang.monarch.ts"],"names":[],"mappings":"AAAA,0DAA0D;AAC1D,eAAe;IACX,QAAQ,EAAE;QACN,QAAQ,EAAC,QAAQ,EAAC,SAAS,EAAC,OAAO,EAAC,OAAO,EAAC,OAAO,EAAC,QAAQ,EAAC,OAAO,EAAC,MAAM,EAAC,cAAc,EAAC,OAAO,EAAC,KAAK,EAAC,IAAI,EAAC,OAAO,EAAC,SAAS,EAAC,OAAO,EAAC,UAAU,EAAC,QAAQ,EAAC,QAAQ,EAAC,MAAM,EAAC,QAAQ,EAAC,OAAO,EAAC,OAAO,EAAC,SAAS,EAAC,OAAO,EAAC,KAAK,EAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,MAAM,EAAC,MAAM,EAAC,QAAQ,EAAC,KAAK,EAAC,WAAW,EAAC,IAAI,EAAC,OAAO,EAAC,MAAM,EAAC,QAAQ,EAAC,cAAc,EAAC,OAAO,EAAC,MAAM,EAAC,QAAQ,EAAC,QAAQ,EAAC,OAAO,EAAC,UAAU;KAC3X;IACD,SAAS,EAAE;QACP,GAAG,EAAC,GAAG,EAAC,GAAG,EAAC,GAAG,EAAC,GAAG,EAAC,GAAG,EAAC,GAAG,EAAC,GAAG,EAAC,GAAG,EAAC,IAAI,EAAC,IAAI,EAAC,GAAG,EAAC,GAAG,EAAC,IAAI,EAAC,GAAG,EAAC,GAAG;KACrE;IACD,OAAO,EAAE,2DAA2D;IAEpE,SAAS,EAAE;QACP,OAAO,EAAE;YACL,EAAE,KAAK,EAAE,2CAA2C,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,EAAE,WAAW,EAAE,EAAC,OAAO,EAAC,SAAS,EAAC,EAAE,UAAU,EAAE,EAAC,OAAO,EAAC,QAAQ,EAAC,EAAE,EAAC,EAAE;YAC9I,EAAE,KAAK,EAAE,iBAAiB,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,EAAE,WAAW,EAAE,EAAC,OAAO,EAAC,SAAS,EAAC,EAAE,UAAU,EAAE,EAAC,OAAO,EAAC,QAAQ,EAAC,EAAE,EAAC,EAAE;YACpH,EAAE,KAAK,EAAE,uCAAuC,EAAE,MAAM,EAAE,EAAC,OAAO,EAAC,QAAQ,EAAC,EAAE;YAC9E,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,EAAC,OAAO,EAAC,QAAQ,EAAC,EAAE;YACjD,EAAE,OAAO,EAAE,aAAa,EAAE;YAC1B,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,EAAE,YAAY,EAAE,EAAC,OAAO,EAAC,UAAU,EAAC,EAAE,UAAU,EAAE,EAAC,OAAO,EAAC,EAAE,EAAC,EAAE,EAAC,EAAE;SAC5G;QACD,UAAU,EAAE;YACR,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,EAAC,OAAO,EAAC,OAAO,EAAC,EAAE;YAC3C,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,EAAC,OAAO,EAAC,SAAS,EAAC,MAAM,EAAC,UAAU,EAAC,EAAE;YAChE,EAAE,KAAK,EAAE,cAAc,EAAE,MAAM,EAAE,EAAC,OAAO,EAAC,SAAS,EAAC,EAAE;SACzD;QACD,OAAO,EAAE;YACL,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,EAAC,OAAO,EAAC,SAAS,EAAC,EAAE;YACjD,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,EAAC,OAAO,EAAC,SAAS,EAAC,MAAM,EAAC,MAAM,EAAC,EAAE;YAC5D,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,EAAC,OAAO,EAAC,SAAS,EAAC,EAAE;SAClD;KACJ;CACJ,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Filesystem module exports
3
+ */
4
+ export * from './interfaces.js';
5
+ import { ExtendedFileSystem } from './interfaces.js';
6
+ /**
7
+ * Create the appropriate filesystem implementation based on environment
8
+ * @returns Promise resolving to appropriate filesystem implementation
9
+ */
10
+ export declare function createFS(options?: any): Promise<ExtendedFileSystem>;
11
+ export { createNodeFS } from './node-fs.js';
12
+ export { createLightningFS } from './lightning-fs.js';
13
+ export * from './interfaces.js';
14
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/fs/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAIrD;;;GAGG;AACH,wBAAsB,QAAQ,CAAC,OAAO,CAAC,EAAE,GAAG,GAAG,OAAO,CAAC,kBAAkB,CAAC,CASzE;AAGD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Filesystem module exports
3
+ */
4
+ export * from './interfaces.js';
5
+ import { createNodeFS } from './node-fs.js';
6
+ import { createLightningFS } from './lightning-fs.js';
7
+ /**
8
+ * Create the appropriate filesystem implementation based on environment
9
+ * @returns Promise resolving to appropriate filesystem implementation
10
+ */
11
+ export async function createFS(options) {
12
+ // Check if we're in a browser or Node environment
13
+ if (typeof window === 'undefined') {
14
+ // Node.js environment
15
+ return createNodeFS();
16
+ }
17
+ else {
18
+ // Browser environment - use Lightning FS
19
+ return createLightningFS(options);
20
+ }
21
+ }
22
+ // Export the specific filesystem implementations
23
+ export { createNodeFS } from './node-fs.js';
24
+ export { createLightningFS } from './lightning-fs.js';
25
+ export * from './interfaces.js';
26
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/utils/fs/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,iBAAiB,CAAC;AAEhC,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAEtD;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,QAAQ,CAAC,OAAa;IAC1C,kDAAkD;IAClD,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,CAAC;QAClC,sBAAsB;QACtB,OAAO,YAAY,EAAE,CAAC;IACxB,CAAC;SAAM,CAAC;QACN,yCAAyC;QACzC,OAAO,iBAAiB,CAAC,OAAO,CAAC,CAAC;IACpC,CAAC;AACH,CAAC;AAED,iDAAiD;AACjD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,105 @@
1
+ /**
2
+ * Interfaces for filesystem operations
3
+ */
4
+ /**
5
+ * Basic filesystem interface that abstracts common operations
6
+ */
7
+ export interface FileSystem {
8
+ /**
9
+ * Read a file as text
10
+ * @param path Path to the file
11
+ * @returns Promise resolving to file content as string
12
+ */
13
+ readFile(path: string): Promise<string>;
14
+ /**
15
+ * Read a file as binary
16
+ * @param path Path to the file
17
+ * @returns Promise resolving to file content as Buffer
18
+ */
19
+ readFileBuffer(path: string): Promise<Buffer>;
20
+ /**
21
+ * Write content to a file
22
+ * @param path Path to the file
23
+ * @param data Content to write (string or Buffer)
24
+ * @returns Promise that resolves when write is complete
25
+ */
26
+ writeFile(path: string, data: string | Buffer): Promise<void>;
27
+ /**
28
+ * Check if a file or directory exists
29
+ * @param path Path to check
30
+ * @returns Promise resolving to boolean which indicates existence
31
+ */
32
+ exists(path: string): Promise<boolean>;
33
+ /**
34
+ * Create a directory
35
+ * @param path Directory path to create
36
+ * @returns Promise that resolves when directory is created
37
+ */
38
+ mkdir(path: string): Promise<void>;
39
+ /**
40
+ * List files in a directory
41
+ * @param path Directory path
42
+ * @returns Promise resolving to array of file names
43
+ */
44
+ readdir(path: string): Promise<string[]>;
45
+ /**
46
+ * Get stats for a file or directory
47
+ * @param path Path to check
48
+ * @returns Promise resolving to stats object
49
+ */
50
+ stat(path: string): Promise<FileStat>;
51
+ /**
52
+ * Remove a file
53
+ * @param path Path to the file
54
+ * @returns Promise that resolves when file is removed
55
+ */
56
+ unlink(path: string): Promise<void>;
57
+ /**
58
+ * Remove a directory
59
+ * @param path Path to the directory
60
+ * @returns Promise that resolves when directory is removed
61
+ */
62
+ rmdir(path: string): Promise<void>;
63
+ }
64
+ /**
65
+ * File stats interface
66
+ */
67
+ export interface FileStat {
68
+ isFile: () => boolean;
69
+ isDirectory: () => boolean;
70
+ isSymbolicLink: () => boolean;
71
+ size: number;
72
+ mtime: Date;
73
+ }
74
+ /**
75
+ * Extended filesystem interface with additional operations
76
+ */
77
+ export interface ExtendedFileSystem extends FileSystem {
78
+ /**
79
+ * Copy a file
80
+ * @param src Source path
81
+ * @param dest Destination path
82
+ * @returns Promise that resolves when copy is complete
83
+ */
84
+ copyFile(src: string, dest: string): Promise<void>;
85
+ /**
86
+ * Move a file
87
+ * @param src Source path
88
+ * @param dest Destination path
89
+ * @returns Promise that resolves when move is complete
90
+ */
91
+ moveFile(src: string, dest: string): Promise<void>;
92
+ /**
93
+ * Ensure a directory exists, creating it and any parent directories if needed
94
+ * @param path Directory path
95
+ * @returns Promise that resolves when directory exists
96
+ */
97
+ ensureDir(path: string): Promise<void>;
98
+ /**
99
+ * Remove a directory and all its contents recursively
100
+ * @param path Directory path
101
+ * @returns Promise that resolves when directory is removed
102
+ */
103
+ removeDir(path: string): Promise<void>;
104
+ }
105
+ //# sourceMappingURL=interfaces.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../src/utils/fs/interfaces.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB;;;;OAIG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAExC;;;;OAIG;IACH,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAE9C;;;;;OAKG;IACH,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE9D;;;;OAIG;IACH,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAEvC;;;;OAIG;IACH,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEnC;;;;OAIG;IACH,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;IAEzC;;;;OAIG;IACH,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;IAEtC;;;;OAIG;IACH,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEpC;;;;OAIG;IACH,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACpC;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,MAAM,EAAE,MAAM,OAAO,CAAC;IACtB,WAAW,EAAE,MAAM,OAAO,CAAC;IAC3B,cAAc,EAAE,MAAM,OAAO,CAAC;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,IAAI,CAAC;CACb;AAED;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,UAAU;IACpD;;;;;OAKG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEnD;;;;;OAKG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEnD;;;;OAIG;IACH,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEvC;;;;OAIG;IACH,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACxC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Interfaces for filesystem operations
3
+ */
4
+ export {};
5
+ //# sourceMappingURL=interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/utils/fs/interfaces.ts"],"names":[],"mappings":"AAAA;;GAEG"}