intelligent-system-design-language 0.3.21 → 0.3.23

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 (116) hide show
  1. package/.claude/agents/langium-language-designer.md +38 -38
  2. package/.claude/agents/typescript-vscode-expert.md +29 -29
  3. package/.claude/agents/ui-ux-designer.md +36 -36
  4. package/.claude/settings.local.json +33 -33
  5. package/.idea/inspectionProfiles/Project_Default.xml +6 -6
  6. package/.idea/isdl.iml +13 -13
  7. package/.idea/modules.xml +8 -8
  8. package/.idea/vcs.xml +6 -6
  9. package/.idea/watcherTasks.xml +3 -3
  10. package/.vscodeignore +18 -18
  11. package/LICENSE +673 -673
  12. package/README.md +86 -86
  13. package/bin/cli.js +4 -4
  14. package/bin/lsp.js +8 -8
  15. package/out/_backgrounds.scss +91 -91
  16. package/out/_handlebars.scss +497 -497
  17. package/out/_isdlStyles.scss +1444 -1381
  18. package/out/_vuetifyOverrides.scss +425 -425
  19. package/out/_vuetifyStyles.scss +31957 -31957
  20. package/out/cli/components/_backgrounds.scss +91 -91
  21. package/out/cli/components/_handlebars.scss +497 -497
  22. package/out/cli/components/_isdlStyles.scss +1444 -1381
  23. package/out/cli/components/_vuetifyOverrides.scss +425 -425
  24. package/out/cli/components/_vuetifyStyles.scss +31957 -31957
  25. package/out/cli/components/active-effect-sheet-generator.js +453 -453
  26. package/out/cli/components/chat-card-generator.js +654 -651
  27. package/out/cli/components/chat-card-generator.js.map +1 -1
  28. package/out/cli/components/css-generator.js +4 -4
  29. package/out/cli/components/damage-roll-generator.js +160 -160
  30. package/out/cli/components/datamodel-generator.js +264 -257
  31. package/out/cli/components/datamodel-generator.js.map +1 -1
  32. package/out/cli/components/derived-data-generator.js +923 -923
  33. package/out/cli/components/hotbar-drop-hook-generator.js +82 -82
  34. package/out/cli/components/init-hook-generator.js +495 -495
  35. package/out/cli/components/language-generator.js +1 -1
  36. package/out/cli/components/language-generator.js.map +1 -1
  37. package/out/cli/components/measured-template-preview.js +221 -221
  38. package/out/cli/components/method-generator.js +979 -887
  39. package/out/cli/components/method-generator.js.map +1 -1
  40. package/out/cli/components/ready-hook-generator.js +404 -404
  41. package/out/cli/components/token-generator.js +116 -116
  42. package/out/cli/components/vue/base-components/vue-attribute.js +138 -138
  43. package/out/cli/components/vue/base-components/vue-boolean.js +64 -64
  44. package/out/cli/components/vue/base-components/vue-calculator.js +93 -93
  45. package/out/cli/components/vue/base-components/vue-damage-application.js +356 -356
  46. package/out/cli/components/vue/base-components/vue-damage-bonuses.js +165 -165
  47. package/out/cli/components/vue/base-components/vue-damage-resistances.js +196 -196
  48. package/out/cli/components/vue/base-components/vue-damage-track.js +121 -121
  49. package/out/cli/components/vue/base-components/vue-date-time.js +42 -42
  50. package/out/cli/components/vue/base-components/vue-dice.js +98 -98
  51. package/out/cli/components/vue/base-components/vue-die.js +73 -73
  52. package/out/cli/components/vue/base-components/vue-document-choice.js +149 -149
  53. package/out/cli/components/vue/base-components/vue-document-choices.js +179 -179
  54. package/out/cli/components/vue/base-components/vue-document-link.js +60 -60
  55. package/out/cli/components/vue/base-components/vue-extended-choice.js +88 -88
  56. package/out/cli/components/vue/base-components/vue-inventory.js +519 -519
  57. package/out/cli/components/vue/base-components/vue-macro-choice.js +138 -138
  58. package/out/cli/components/vue/base-components/vue-measured-template.js +530 -530
  59. package/out/cli/components/vue/base-components/vue-money.js +483 -483
  60. package/out/cli/components/vue/base-components/vue-number.js +174 -174
  61. package/out/cli/components/vue/base-components/vue-paperdoll.js +43 -43
  62. package/out/cli/components/vue/base-components/vue-parent-property-reference.js +76 -76
  63. package/out/cli/components/vue/base-components/vue-prosemirror.js +18 -18
  64. package/out/cli/components/vue/base-components/vue-resource.js +136 -136
  65. package/out/cli/components/vue/base-components/vue-roll-visualizer.js +286 -109
  66. package/out/cli/components/vue/base-components/vue-roll-visualizer.js.map +1 -1
  67. package/out/cli/components/vue/base-components/vue-self-property-reference.js +62 -62
  68. package/out/cli/components/vue/base-components/vue-string-choice.js +98 -98
  69. package/out/cli/components/vue/base-components/vue-string-choices.js +203 -203
  70. package/out/cli/components/vue/base-components/vue-string.js +60 -60
  71. package/out/cli/components/vue/base-components/vue-text-field.js +53 -53
  72. package/out/cli/components/vue/base-components/vue-tracker.js +431 -431
  73. package/out/cli/components/vue/vue-action-component-generator.js +64 -64
  74. package/out/cli/components/vue/vue-active-effect-sheet-generator.js +856 -856
  75. package/out/cli/components/vue/vue-datatable-sheet-class-generator.js +292 -292
  76. package/out/cli/components/vue/vue-datatable2-component-generator.js +824 -824
  77. package/out/cli/components/vue/vue-document-creation-app.js +121 -121
  78. package/out/cli/components/vue/vue-document-creation-sheet.js +94 -94
  79. package/out/cli/components/vue/vue-generator.js +40 -40
  80. package/out/cli/components/vue/vue-mixin.js +296 -296
  81. package/out/cli/components/vue/vue-pinned-datatable-component-generator.js +260 -260
  82. package/out/cli/components/vue/vue-prompt-generator.js +91 -76
  83. package/out/cli/components/vue/vue-prompt-generator.js.map +1 -1
  84. package/out/cli/components/vue/vue-prompt-sheet-class-generator.js +317 -317
  85. package/out/cli/components/vue/vue-sheet-application-generator.js +1177 -1167
  86. package/out/cli/components/vue/vue-sheet-application-generator.js.map +1 -1
  87. package/out/cli/components/vue/vue-sheet-class-generator.js +510 -510
  88. package/out/cli/generator.js +438 -433
  89. package/out/cli/generator.js.map +1 -1
  90. package/out/extension/github/githubAuthProvider.js +71 -29
  91. package/out/extension/github/githubAuthProvider.js.map +1 -1
  92. package/out/extension/github/githubGistManager.js +4 -3
  93. package/out/extension/github/githubGistManager.js.map +1 -1
  94. package/out/extension/github/githubManager.js +40 -38
  95. package/out/extension/github/githubManager.js.map +1 -1
  96. package/out/extension/github/githubQuickActions.js +120 -120
  97. package/out/extension/github/system-workflow.yml +47 -47
  98. package/out/extension/main.cjs +909 -532
  99. package/out/extension/main.cjs.map +3 -3
  100. package/out/extension/package.json +419 -419
  101. package/out/language/generated/ast.js +51 -2
  102. package/out/language/generated/ast.js.map +1 -1
  103. package/out/language/generated/grammar.js +14240 -13991
  104. package/out/language/generated/grammar.js.map +1 -1
  105. package/out/language/intelligent-system-design-language-validator.js +32 -2
  106. package/out/language/intelligent-system-design-language-validator.js.map +1 -1
  107. package/out/language/isdl-scope-provider.js +14 -1
  108. package/out/language/isdl-scope-provider.js.map +1 -1
  109. package/out/language/main.cjs +913 -569
  110. package/out/language/main.cjs.map +3 -3
  111. package/out/package.json +419 -419
  112. package/out/progressbar.min.js +6 -6
  113. package/out/styles.scss +762 -747
  114. package/out/test/validating/diagnostics.test.js +40 -0
  115. package/out/test/validating/diagnostics.test.js.map +1 -1
  116. package/package.json +419 -419
package/package.json CHANGED
@@ -1,419 +1,419 @@
1
- {
2
- "name": "intelligent-system-design-language",
3
- "displayName": "ISDL - Intelligent System Design Language",
4
- "description": "Intelligent System Design Language support for Visual Studio Code",
5
- "publisher": "IronMooseDevelopment",
6
- "version": "0.3.21",
7
- "author": "Iron Moose Development",
8
- "repository": {
9
- "type": "git",
10
- "url": "https://github.com/cswendrowski/intelligent-system-design-language"
11
- },
12
- "homepage": "https://github.com/cswendrowski/intelligent-system-design-language#readme",
13
- "bugs": {
14
- "url": "https://github.com/cswendrowski/intelligent-system-design-language/issues"
15
- },
16
- "keywords": [
17
- "isdl",
18
- "foundry-vtt",
19
- "tabletop-rpg",
20
- "dsl",
21
- "game-system",
22
- "character-sheet"
23
- ],
24
- "preview": true,
25
- "license": "GPL-3.0",
26
- "type": "module",
27
- "icon": "isdl.png",
28
- "scripts": {
29
- "build": "tsc -b tsconfig.src.json && node esbuild.mjs",
30
- "watch": "concurrently -n tsc,esbuild -c blue,yellow \"tsc -b tsconfig.src.json --watch\" \"node esbuild.mjs --watch\"",
31
- "lint": "eslint src --ext ts",
32
- "langium:generate": "langium generate",
33
- "langium:watch": "langium generate --watch",
34
- "vscode:prepublish": "",
35
- "test": "vitest run",
36
- "isdl:generate": "node ./bin/cli.js"
37
- },
38
- "dependencies": {
39
- "@mdi/font": "^7.4.47",
40
- "@octokit/auth-app": "^6.0.0",
41
- "@octokit/rest": "^19.0.13",
42
- "@vitejs/plugin-vue": "^5.0.0",
43
- "chalk": "~5.3.0",
44
- "commander": "~11.0.0",
45
- "inflection": "^3.0.0",
46
- "langium": "~3.0.0",
47
- "rpg-awesome": "^0.2.0",
48
- "sass": "^1.77.4",
49
- "vite": "^5.0.0",
50
- "vite-plugin-vuetify": "^2.1.0",
51
- "vscode-languageclient": "~9.0.1",
52
- "vscode-languageserver": "~9.0.1",
53
- "vue": "^3.4.0",
54
- "vuetify": "^3.7.14"
55
- },
56
- "devDependencies": {
57
- "@fortawesome/fontawesome-free": "^6.7.2",
58
- "@types/node": "^18.19.34",
59
- "@types/vscode": "~1.67.0",
60
- "@typescript-eslint/eslint-plugin": "~6.4.1",
61
- "@typescript-eslint/parser": "~6.4.1",
62
- "concurrently": "~8.2.1",
63
- "esbuild": "^0.19.12",
64
- "eslint": "~8.47.0",
65
- "langium-cli": "~3.0.0",
66
- "typescript": "~5.1.6",
67
- "vite-plugin-vue-devtools": "^7.7.2",
68
- "vitest": "~1.4.0"
69
- },
70
- "engines": {
71
- "vscode": "^1.67.0",
72
- "node": ">=18.0.0"
73
- },
74
- "categories": [
75
- "Programming Languages"
76
- ],
77
- "contributes": {
78
- "languages": [
79
- {
80
- "id": "intelligent-system-design-language",
81
- "aliases": [
82
- "Intelligent System Design Language",
83
- "intelligent-system-design-language"
84
- ],
85
- "extensions": [
86
- ".isdl"
87
- ],
88
- "configuration": "./language-configuration.json"
89
- }
90
- ],
91
- "configurationDefaults": {
92
- "[intelligent-system-design-language]": {
93
- "editor.formatOnSave": true
94
- }
95
- },
96
- "grammars": [
97
- {
98
- "language": "intelligent-system-design-language",
99
- "scopeName": "source.intelligent-system-design-language",
100
- "path": "syntaxes/intelligent-system-design-language.tmLanguage.json"
101
- }
102
- ],
103
- "snippets": [
104
- {
105
- "language": "intelligent-system-design-language",
106
- "path": "snippets/isdl.json"
107
- }
108
- ],
109
- "commands": [
110
- {
111
- "command": "isdl.generate",
112
- "title": "Generate",
113
- "category": "ISDL"
114
- },
115
- {
116
- "command": "isdl.regenerate",
117
- "title": "Regenerate",
118
- "category": "ISDL"
119
- },
120
- {
121
- "command": "isdl.github.authenticate",
122
- "title": "Connect to GitHub",
123
- "category": "ISDL - GitHub",
124
- "icon": "$(github)"
125
- },
126
- {
127
- "command": "isdl.github.signOut",
128
- "title": "Sign Out from GitHub",
129
- "category": "ISDL - GitHub",
130
- "icon": "$(sign-out)"
131
- },
132
- {
133
- "command": "isdl.github.selectRepository",
134
- "title": "Select Repository",
135
- "category": "ISDL - GitHub",
136
- "icon": "$(repo)"
137
- },
138
- {
139
- "command": "isdl.github.createRepository",
140
- "title": "Create Repository",
141
- "category": "ISDL - GitHub",
142
- "icon": "$(repo-create)"
143
- },
144
- {
145
- "command": "isdl.github.publish",
146
- "title": "Publish System",
147
- "category": "ISDL - GitHub",
148
- "icon": "$(rocket)"
149
- },
150
- {
151
- "command": "isdl.github.update",
152
- "title": "Update Files",
153
- "category": "ISDL - GitHub",
154
- "icon": "$(cloud-upload)"
155
- },
156
- {
157
- "command": "isdl.github.refresh",
158
- "title": "Refresh",
159
- "category": "ISDL - GitHub",
160
- "icon": "$(refresh)"
161
- },
162
- {
163
- "command": "isdl.github.selectGist",
164
- "title": "Select Gist",
165
- "category": "ISDL - GitHub",
166
- "icon": "$(gist)"
167
- },
168
- {
169
- "command": "isdl.github.createGist",
170
- "title": "Create Gist",
171
- "category": "ISDL - GitHub",
172
- "icon": "$(gist-new)"
173
- },
174
- {
175
- "command": "isdl.github.syncToGist",
176
- "title": "Sync to Gist",
177
- "category": "ISDL - GitHub",
178
- "icon": "$(cloud-upload)"
179
- },
180
- {
181
- "command": "isdl.github.downloadFromGist",
182
- "title": "Download from Gist",
183
- "category": "ISDL - GitHub",
184
- "icon": "$(cloud-download)"
185
- },
186
- {
187
- "command": "isdl.github.disconnectGist",
188
- "title": "Disconnect Gist",
189
- "category": "ISDL - GitHub",
190
- "icon": "$(diff-removed)"
191
- }
192
- ],
193
- "views": {
194
- "isdl-explorer": [
195
- {
196
- "id": "isdl.github",
197
- "name": "GitHub Publishing",
198
- "icon": "$(github)",
199
- "visibility": "collapsed"
200
- }
201
- ]
202
- },
203
- "viewsContainers": {
204
- "activitybar": [
205
- {
206
- "id": "isdl-explorer",
207
- "title": "Intelligent System Design Language",
208
- "icon": "$(lightbulb-sparkle)"
209
- }
210
- ]
211
- },
212
- "menus": {
213
- "view/title": [
214
- {
215
- "command": "isdl.github.refresh",
216
- "when": "view == isdl.github",
217
- "group": "navigation@1"
218
- },
219
- {
220
- "command": "isdl.github.authenticate",
221
- "when": "view == isdl.github && !isdl.github.authenticated",
222
- "group": "navigation@2"
223
- }
224
- ],
225
- "view/item/context": [
226
- {
227
- "command": "isdl.github.signOut",
228
- "when": "view == isdl.github && viewItem == authenticated",
229
- "group": "inline@1"
230
- }
231
- ],
232
- "commandPalette": [
233
- {
234
- "command": "isdl.github.authenticate",
235
- "when": "isdl.workspaceHasIsdlFiles"
236
- },
237
- {
238
- "command": "isdl.github.publish",
239
- "when": "isdl.workspaceHasIsdlFiles && isdl.github.authenticated"
240
- },
241
- {
242
- "command": "isdl.github.update",
243
- "when": "isdl.workspaceHasIsdlFiles && isdl.github.authenticated"
244
- },
245
- {
246
- "command": "isdl.github.createRepository",
247
- "when": "isdl.workspaceHasIsdlFiles && isdl.github.authenticated"
248
- },
249
- {
250
- "command": "isdl.github.selectRepository",
251
- "when": "isdl.workspaceHasIsdlFiles && isdl.github.authenticated"
252
- },
253
- {
254
- "command": "isdl.github.selectGist",
255
- "when": "isdl.workspaceHasIsdlFiles && isdl.github.authenticated"
256
- },
257
- {
258
- "command": "isdl.github.createGist",
259
- "when": "isdl.workspaceHasIsdlFiles && isdl.github.authenticated"
260
- },
261
- {
262
- "command": "isdl.github.syncToGist",
263
- "when": "isdl.workspaceHasIsdlFiles && isdl.github.authenticated"
264
- },
265
- {
266
- "command": "isdl.github.downloadFromGist",
267
- "when": "isdl.workspaceHasIsdlFiles && isdl.github.authenticated"
268
- }
269
- ],
270
- "editor/title": [
271
- {
272
- "command": "isdl.github.publish",
273
- "when": "resourceExtname == .isdl && isdl.github.authenticated",
274
- "group": "navigation@1"
275
- },
276
- {
277
- "command": "isdl.github.update",
278
- "when": "resourceExtname == .isdl && isdl.github.authenticated",
279
- "group": "navigation@2"
280
- },
281
- {
282
- "command": "isdl.github.syncToGist",
283
- "when": "resourceExtname == .isdl && isdl.github.authenticated",
284
- "group": "navigation@3"
285
- }
286
- ],
287
- "explorer/context": [
288
- {
289
- "command": "isdl.github.publish",
290
- "when": "resourceExtname == .isdl && isdl.github.authenticated",
291
- "group": "isdl@1"
292
- },
293
- {
294
- "command": "isdl.github.update",
295
- "when": "resourceExtname == .isdl && isdl.github.authenticated",
296
- "group": "isdl@2"
297
- },
298
- {
299
- "command": "isdl.github.syncToGist",
300
- "when": "resourceExtname == .isdl && isdl.github.authenticated",
301
- "group": "isdl@3"
302
- },
303
- {
304
- "command": "isdl.github.createGist",
305
- "when": "resourceExtname == .isdl && isdl.github.authenticated",
306
- "group": "isdl@4"
307
- },
308
- {
309
- "command": "isdl.github.createRepository",
310
- "when": "explorerResourceIsFolder && isdl.workspaceHasIsdlFiles && isdl.github.authenticated",
311
- "group": "isdl@5"
312
- }
313
- ]
314
- }
315
- },
316
- "configuration": {
317
- "type": "object",
318
- "title": "Intelligent System Design Language Configuration",
319
- "properties": {
320
- "isdl.lastSelectedFolder": {
321
- "type": "string",
322
- "default": "",
323
- "description": "The last selected folder path"
324
- },
325
- "isdl.lastSelectedFile": {
326
- "type": "string",
327
- "default": "",
328
- "description": "The last selected file"
329
- },
330
- "isdl.github.defaultBranch": {
331
- "type": "string",
332
- "default": "main",
333
- "description": "Default branch name for new repositories",
334
- "enum": [
335
- "main",
336
- "master",
337
- "develop"
338
- ],
339
- "enumDescriptions": [
340
- "Use 'main' as the default branch (recommended)",
341
- "Use 'master' as the default branch",
342
- "Use 'develop' as the default branch"
343
- ]
344
- },
345
- "isdl.github.includeDocumentation": {
346
- "type": "boolean",
347
- "default": true,
348
- "description": "Automatically generate README and documentation files when publishing"
349
- },
350
- "isdl.github.includeBuildScripts": {
351
- "type": "boolean",
352
- "default": true,
353
- "description": "Include GitHub Actions workflows and build configuration"
354
- },
355
- "isdl.github.templateRepository": {
356
- "type": "string",
357
- "description": "GitHub repository to use as a template (format: owner/repo)",
358
- "pattern": "^[a-zA-Z0-9._-]+/[a-zA-Z0-9._-]+$"
359
- },
360
- "isdl.github.commitMessage": {
361
- "type": "string",
362
- "default": "Update system files",
363
- "description": "Default commit message for automated updates"
364
- },
365
- "isdl.github.tagReleases": {
366
- "type": "boolean",
367
- "default": true,
368
- "description": "Automatically create Git tags when publishing releases"
369
- },
370
- "isdl.github.generateChangelog": {
371
- "type": "boolean",
372
- "default": true,
373
- "description": "Generate CHANGELOG.md from commit history"
374
- },
375
- "isdl.github.autoPublish": {
376
- "type": "boolean",
377
- "default": false,
378
- "description": "Automatically publish to GitHub when system files are generated"
379
- },
380
- "isdl.github.repositoryVisibility": {
381
- "type": "string",
382
- "default": "public",
383
- "enum": [
384
- "public",
385
- "private"
386
- ],
387
- "enumDescriptions": [
388
- "Create public repositories (visible to everyone, required for people to be able to install the system)",
389
- "Create private repositories (visible only to you and collaborators)"
390
- ],
391
- "description": "Default visibility for new repositories"
392
- },
393
- "isdl.github.licenseTemplate": {
394
- "type": "string",
395
- "description": "License template to include in new repositories. See https://choosealicense.com/licenses/ for more details",
396
- "enum": [
397
- "unlicense",
398
- "mit",
399
- "lgpl-3.0"
400
- ],
401
- "enumDescriptions": [
402
- "The Unlicense - Public domain dedication, anyone can do what they want",
403
- "MIT License - Permissive license with basic protections and attribution",
404
- "GNU LGPL v3.0 - Copyleft license that prevents someone from making your system closed source but allows modules to do what they want"
405
- ]
406
- }
407
- }
408
- },
409
- "activationEvents": [
410
- "onLanguage:intelligent-system-design-language",
411
- "onView:isdl.github"
412
- ],
413
- "main": "./out/extension/main.cjs",
414
- "bin": {
415
- "isdl": "./bin/cli.js",
416
- "isdl-lsp": "./bin/lsp.js",
417
- "intelligent-system-design-language-cli": "./bin/cli.js"
418
- }
419
- }
1
+ {
2
+ "name": "intelligent-system-design-language",
3
+ "displayName": "ISDL - Intelligent System Design Language",
4
+ "description": "Intelligent System Design Language support for Visual Studio Code",
5
+ "publisher": "IronMooseDevelopment",
6
+ "version": "0.3.23",
7
+ "author": "Iron Moose Development",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/cswendrowski/intelligent-system-design-language"
11
+ },
12
+ "homepage": "https://github.com/cswendrowski/intelligent-system-design-language#readme",
13
+ "bugs": {
14
+ "url": "https://github.com/cswendrowski/intelligent-system-design-language/issues"
15
+ },
16
+ "keywords": [
17
+ "isdl",
18
+ "foundry-vtt",
19
+ "tabletop-rpg",
20
+ "dsl",
21
+ "game-system",
22
+ "character-sheet"
23
+ ],
24
+ "preview": true,
25
+ "license": "GPL-3.0",
26
+ "type": "module",
27
+ "icon": "isdl.png",
28
+ "scripts": {
29
+ "build": "tsc -b tsconfig.src.json && node esbuild.mjs",
30
+ "watch": "concurrently -n tsc,esbuild -c blue,yellow \"tsc -b tsconfig.src.json --watch\" \"node esbuild.mjs --watch\"",
31
+ "lint": "eslint src --ext ts",
32
+ "langium:generate": "langium generate",
33
+ "langium:watch": "langium generate --watch",
34
+ "vscode:prepublish": "",
35
+ "test": "vitest run",
36
+ "isdl:generate": "node ./bin/cli.js"
37
+ },
38
+ "dependencies": {
39
+ "@mdi/font": "^7.4.47",
40
+ "@octokit/auth-app": "^6.0.0",
41
+ "@octokit/rest": "^19.0.13",
42
+ "@vitejs/plugin-vue": "^5.0.0",
43
+ "chalk": "~5.3.0",
44
+ "commander": "~11.0.0",
45
+ "inflection": "^3.0.0",
46
+ "langium": "~3.0.0",
47
+ "rpg-awesome": "^0.2.0",
48
+ "sass": "^1.77.4",
49
+ "vite": "^5.0.0",
50
+ "vite-plugin-vuetify": "^2.1.0",
51
+ "vscode-languageclient": "~9.0.1",
52
+ "vscode-languageserver": "~9.0.1",
53
+ "vue": "^3.4.0",
54
+ "vuetify": "^3.7.14"
55
+ },
56
+ "devDependencies": {
57
+ "@fortawesome/fontawesome-free": "^6.7.2",
58
+ "@types/node": "^18.19.34",
59
+ "@types/vscode": "~1.67.0",
60
+ "@typescript-eslint/eslint-plugin": "~6.4.1",
61
+ "@typescript-eslint/parser": "~6.4.1",
62
+ "concurrently": "~8.2.1",
63
+ "esbuild": "^0.19.12",
64
+ "eslint": "~8.47.0",
65
+ "langium-cli": "~3.0.0",
66
+ "typescript": "~5.1.6",
67
+ "vite-plugin-vue-devtools": "^7.7.2",
68
+ "vitest": "~1.4.0"
69
+ },
70
+ "engines": {
71
+ "vscode": "^1.67.0",
72
+ "node": ">=18.0.0"
73
+ },
74
+ "categories": [
75
+ "Programming Languages"
76
+ ],
77
+ "contributes": {
78
+ "languages": [
79
+ {
80
+ "id": "intelligent-system-design-language",
81
+ "aliases": [
82
+ "Intelligent System Design Language",
83
+ "intelligent-system-design-language"
84
+ ],
85
+ "extensions": [
86
+ ".isdl"
87
+ ],
88
+ "configuration": "./language-configuration.json"
89
+ }
90
+ ],
91
+ "configurationDefaults": {
92
+ "[intelligent-system-design-language]": {
93
+ "editor.formatOnSave": true
94
+ }
95
+ },
96
+ "grammars": [
97
+ {
98
+ "language": "intelligent-system-design-language",
99
+ "scopeName": "source.intelligent-system-design-language",
100
+ "path": "syntaxes/intelligent-system-design-language.tmLanguage.json"
101
+ }
102
+ ],
103
+ "snippets": [
104
+ {
105
+ "language": "intelligent-system-design-language",
106
+ "path": "snippets/isdl.json"
107
+ }
108
+ ],
109
+ "commands": [
110
+ {
111
+ "command": "isdl.generate",
112
+ "title": "Generate",
113
+ "category": "ISDL"
114
+ },
115
+ {
116
+ "command": "isdl.regenerate",
117
+ "title": "Regenerate",
118
+ "category": "ISDL"
119
+ },
120
+ {
121
+ "command": "isdl.github.authenticate",
122
+ "title": "Connect to GitHub",
123
+ "category": "ISDL - GitHub",
124
+ "icon": "$(github)"
125
+ },
126
+ {
127
+ "command": "isdl.github.signOut",
128
+ "title": "Sign Out from GitHub",
129
+ "category": "ISDL - GitHub",
130
+ "icon": "$(sign-out)"
131
+ },
132
+ {
133
+ "command": "isdl.github.selectRepository",
134
+ "title": "Select Repository",
135
+ "category": "ISDL - GitHub",
136
+ "icon": "$(repo)"
137
+ },
138
+ {
139
+ "command": "isdl.github.createRepository",
140
+ "title": "Create Repository",
141
+ "category": "ISDL - GitHub",
142
+ "icon": "$(repo-create)"
143
+ },
144
+ {
145
+ "command": "isdl.github.publish",
146
+ "title": "Publish System",
147
+ "category": "ISDL - GitHub",
148
+ "icon": "$(rocket)"
149
+ },
150
+ {
151
+ "command": "isdl.github.update",
152
+ "title": "Update Files",
153
+ "category": "ISDL - GitHub",
154
+ "icon": "$(cloud-upload)"
155
+ },
156
+ {
157
+ "command": "isdl.github.refresh",
158
+ "title": "Refresh",
159
+ "category": "ISDL - GitHub",
160
+ "icon": "$(refresh)"
161
+ },
162
+ {
163
+ "command": "isdl.github.selectGist",
164
+ "title": "Select Gist",
165
+ "category": "ISDL - GitHub",
166
+ "icon": "$(gist)"
167
+ },
168
+ {
169
+ "command": "isdl.github.createGist",
170
+ "title": "Create Gist",
171
+ "category": "ISDL - GitHub",
172
+ "icon": "$(gist-new)"
173
+ },
174
+ {
175
+ "command": "isdl.github.syncToGist",
176
+ "title": "Sync to Gist",
177
+ "category": "ISDL - GitHub",
178
+ "icon": "$(cloud-upload)"
179
+ },
180
+ {
181
+ "command": "isdl.github.downloadFromGist",
182
+ "title": "Download from Gist",
183
+ "category": "ISDL - GitHub",
184
+ "icon": "$(cloud-download)"
185
+ },
186
+ {
187
+ "command": "isdl.github.disconnectGist",
188
+ "title": "Disconnect Gist",
189
+ "category": "ISDL - GitHub",
190
+ "icon": "$(diff-removed)"
191
+ }
192
+ ],
193
+ "views": {
194
+ "isdl-explorer": [
195
+ {
196
+ "id": "isdl.github",
197
+ "name": "GitHub Publishing",
198
+ "icon": "$(github)",
199
+ "visibility": "collapsed"
200
+ }
201
+ ]
202
+ },
203
+ "viewsContainers": {
204
+ "activitybar": [
205
+ {
206
+ "id": "isdl-explorer",
207
+ "title": "Intelligent System Design Language",
208
+ "icon": "$(lightbulb-sparkle)"
209
+ }
210
+ ]
211
+ },
212
+ "menus": {
213
+ "view/title": [
214
+ {
215
+ "command": "isdl.github.refresh",
216
+ "when": "view == isdl.github",
217
+ "group": "navigation@1"
218
+ },
219
+ {
220
+ "command": "isdl.github.authenticate",
221
+ "when": "view == isdl.github && !isdl.github.authenticated",
222
+ "group": "navigation@2"
223
+ }
224
+ ],
225
+ "view/item/context": [
226
+ {
227
+ "command": "isdl.github.signOut",
228
+ "when": "view == isdl.github && viewItem == authenticated",
229
+ "group": "inline@1"
230
+ }
231
+ ],
232
+ "commandPalette": [
233
+ {
234
+ "command": "isdl.github.authenticate",
235
+ "when": "isdl.workspaceHasIsdlFiles"
236
+ },
237
+ {
238
+ "command": "isdl.github.publish",
239
+ "when": "isdl.workspaceHasIsdlFiles && isdl.github.authenticated"
240
+ },
241
+ {
242
+ "command": "isdl.github.update",
243
+ "when": "isdl.workspaceHasIsdlFiles && isdl.github.authenticated"
244
+ },
245
+ {
246
+ "command": "isdl.github.createRepository",
247
+ "when": "isdl.workspaceHasIsdlFiles && isdl.github.authenticated"
248
+ },
249
+ {
250
+ "command": "isdl.github.selectRepository",
251
+ "when": "isdl.workspaceHasIsdlFiles && isdl.github.authenticated"
252
+ },
253
+ {
254
+ "command": "isdl.github.selectGist",
255
+ "when": "isdl.workspaceHasIsdlFiles && isdl.github.authenticated"
256
+ },
257
+ {
258
+ "command": "isdl.github.createGist",
259
+ "when": "isdl.workspaceHasIsdlFiles && isdl.github.authenticated"
260
+ },
261
+ {
262
+ "command": "isdl.github.syncToGist",
263
+ "when": "isdl.workspaceHasIsdlFiles && isdl.github.authenticated"
264
+ },
265
+ {
266
+ "command": "isdl.github.downloadFromGist",
267
+ "when": "isdl.workspaceHasIsdlFiles && isdl.github.authenticated"
268
+ }
269
+ ],
270
+ "editor/title": [
271
+ {
272
+ "command": "isdl.github.publish",
273
+ "when": "resourceExtname == .isdl && isdl.github.authenticated",
274
+ "group": "navigation@1"
275
+ },
276
+ {
277
+ "command": "isdl.github.update",
278
+ "when": "resourceExtname == .isdl && isdl.github.authenticated",
279
+ "group": "navigation@2"
280
+ },
281
+ {
282
+ "command": "isdl.github.syncToGist",
283
+ "when": "resourceExtname == .isdl && isdl.github.authenticated",
284
+ "group": "navigation@3"
285
+ }
286
+ ],
287
+ "explorer/context": [
288
+ {
289
+ "command": "isdl.github.publish",
290
+ "when": "resourceExtname == .isdl && isdl.github.authenticated",
291
+ "group": "isdl@1"
292
+ },
293
+ {
294
+ "command": "isdl.github.update",
295
+ "when": "resourceExtname == .isdl && isdl.github.authenticated",
296
+ "group": "isdl@2"
297
+ },
298
+ {
299
+ "command": "isdl.github.syncToGist",
300
+ "when": "resourceExtname == .isdl && isdl.github.authenticated",
301
+ "group": "isdl@3"
302
+ },
303
+ {
304
+ "command": "isdl.github.createGist",
305
+ "when": "resourceExtname == .isdl && isdl.github.authenticated",
306
+ "group": "isdl@4"
307
+ },
308
+ {
309
+ "command": "isdl.github.createRepository",
310
+ "when": "explorerResourceIsFolder && isdl.workspaceHasIsdlFiles && isdl.github.authenticated",
311
+ "group": "isdl@5"
312
+ }
313
+ ]
314
+ }
315
+ },
316
+ "configuration": {
317
+ "type": "object",
318
+ "title": "Intelligent System Design Language Configuration",
319
+ "properties": {
320
+ "isdl.lastSelectedFolder": {
321
+ "type": "string",
322
+ "default": "",
323
+ "description": "The last selected folder path"
324
+ },
325
+ "isdl.lastSelectedFile": {
326
+ "type": "string",
327
+ "default": "",
328
+ "description": "The last selected file"
329
+ },
330
+ "isdl.github.defaultBranch": {
331
+ "type": "string",
332
+ "default": "main",
333
+ "description": "Default branch name for new repositories",
334
+ "enum": [
335
+ "main",
336
+ "master",
337
+ "develop"
338
+ ],
339
+ "enumDescriptions": [
340
+ "Use 'main' as the default branch (recommended)",
341
+ "Use 'master' as the default branch",
342
+ "Use 'develop' as the default branch"
343
+ ]
344
+ },
345
+ "isdl.github.includeDocumentation": {
346
+ "type": "boolean",
347
+ "default": true,
348
+ "description": "Automatically generate README and documentation files when publishing"
349
+ },
350
+ "isdl.github.includeBuildScripts": {
351
+ "type": "boolean",
352
+ "default": true,
353
+ "description": "Include GitHub Actions workflows and build configuration"
354
+ },
355
+ "isdl.github.templateRepository": {
356
+ "type": "string",
357
+ "description": "GitHub repository to use as a template (format: owner/repo)",
358
+ "pattern": "^[a-zA-Z0-9._-]+/[a-zA-Z0-9._-]+$"
359
+ },
360
+ "isdl.github.commitMessage": {
361
+ "type": "string",
362
+ "default": "Update system files",
363
+ "description": "Default commit message for automated updates"
364
+ },
365
+ "isdl.github.tagReleases": {
366
+ "type": "boolean",
367
+ "default": true,
368
+ "description": "Automatically create Git tags when publishing releases"
369
+ },
370
+ "isdl.github.generateChangelog": {
371
+ "type": "boolean",
372
+ "default": true,
373
+ "description": "Generate CHANGELOG.md from commit history"
374
+ },
375
+ "isdl.github.autoPublish": {
376
+ "type": "boolean",
377
+ "default": false,
378
+ "description": "Automatically publish to GitHub when system files are generated"
379
+ },
380
+ "isdl.github.repositoryVisibility": {
381
+ "type": "string",
382
+ "default": "public",
383
+ "enum": [
384
+ "public",
385
+ "private"
386
+ ],
387
+ "enumDescriptions": [
388
+ "Create public repositories (visible to everyone, required for people to be able to install the system)",
389
+ "Create private repositories (visible only to you and collaborators)"
390
+ ],
391
+ "description": "Default visibility for new repositories"
392
+ },
393
+ "isdl.github.licenseTemplate": {
394
+ "type": "string",
395
+ "description": "License template to include in new repositories. See https://choosealicense.com/licenses/ for more details",
396
+ "enum": [
397
+ "unlicense",
398
+ "mit",
399
+ "lgpl-3.0"
400
+ ],
401
+ "enumDescriptions": [
402
+ "The Unlicense - Public domain dedication, anyone can do what they want",
403
+ "MIT License - Permissive license with basic protections and attribution",
404
+ "GNU LGPL v3.0 - Copyleft license that prevents someone from making your system closed source but allows modules to do what they want"
405
+ ]
406
+ }
407
+ }
408
+ },
409
+ "activationEvents": [
410
+ "onLanguage:intelligent-system-design-language",
411
+ "onView:isdl.github"
412
+ ],
413
+ "main": "./out/extension/main.cjs",
414
+ "bin": {
415
+ "isdl": "./bin/cli.js",
416
+ "isdl-lsp": "./bin/lsp.js",
417
+ "intelligent-system-design-language-cli": "./bin/cli.js"
418
+ }
419
+ }