JSON · 3875 bytes Raw Blame History
1 {
2 "name": "dlm-vsc",
3 "displayName": "DLM — Document Language Model",
4 "description": "First-class .dlm authoring: syntax highlighting, completions, diagnostics, and a side panel for quick section insertion, source directory management, and base model browsing.",
5 "version": "0.1.0",
6 "publisher": "tenseleyFlow",
7 "license": "MIT",
8 "repository": {
9 "type": "git",
10 "url": "https://github.com/tenseleyFlow/dlm-vsc"
11 },
12 "engines": {
13 "vscode": "^1.85.0"
14 },
15 "categories": [
16 "Programming Languages",
17 "Machine Learning"
18 ],
19 "activationEvents": [
20 "onLanguage:dlm"
21 ],
22 "main": "./out/extension.js",
23 "contributes": {
24 "languages": [
25 {
26 "id": "dlm",
27 "aliases": [
28 "DLM",
29 "Document Language Model"
30 ],
31 "extensions": [
32 ".dlm"
33 ],
34 "configuration": "./language-configuration.json"
35 }
36 ],
37 "grammars": [
38 {
39 "language": "dlm",
40 "scopeName": "text.dlm",
41 "path": "./syntaxes/dlm.tmLanguage.json"
42 }
43 ],
44 "viewsContainers": {
45 "activitybar": [
46 {
47 "id": "dlm-panel",
48 "title": "DLM",
49 "icon": "./icons/dlm-icon.svg"
50 }
51 ]
52 },
53 "views": {
54 "dlm-panel": [
55 {
56 "type": "webview",
57 "id": "dlm.sidePanel",
58 "name": "DLM Authoring"
59 }
60 ]
61 },
62 "commands": [
63 {
64 "command": "dlm.train",
65 "title": "DLM: Train Current Document"
66 },
67 {
68 "command": "dlm.export",
69 "title": "DLM: Export"
70 },
71 {
72 "command": "dlm.synth",
73 "title": "DLM: Synth Instructions"
74 },
75 {
76 "command": "dlm.showHistory",
77 "title": "DLM: Show Run History"
78 },
79 {
80 "command": "dlm.openStore",
81 "title": "DLM: Open Store Directory"
82 },
83 {
84 "command": "dlm.insertInstruction",
85 "title": "DLM: Insert Instruction Section"
86 },
87 {
88 "command": "dlm.insertPreference",
89 "title": "DLM: Insert Preference Section"
90 }
91 ],
92 "configuration": {
93 "title": "DLM",
94 "properties": {
95 "dlm.command": {
96 "type": "string",
97 "default": "uv run dlm",
98 "description": "Command to invoke dlm CLI (e.g. 'dlm', 'uv run dlm', 'python -m dlm')"
99 },
100 "dlm.home": {
101 "type": "string",
102 "default": "",
103 "description": "Override ~/.dlm store root"
104 },
105 "dlm.defaultBase": {
106 "type": "string",
107 "default": "",
108 "description": "Default base_model for new documents"
109 },
110 "dlm.watchOnSave": {
111 "type": "boolean",
112 "default": false,
113 "description": "Auto-retrain on save"
114 },
115 "dlm.lspPath": {
116 "type": "string",
117 "default": "dlm-lsp",
118 "description": "Path to dlm-lsp binary"
119 }
120 }
121 }
122 },
123 "scripts": {
124 "build": "esbuild src/extension.ts --bundle --outdir=out --platform=node --external:vscode --format=cjs && esbuild src/panel/webview/index.ts --bundle --platform=browser --format=iife --outfile=out/panel.js",
125 "watch": "npm run build -- --watch",
126 "lint": "eslint src/",
127 "pretest": "tsc -p test/tsconfig.json",
128 "test": "node out-test/runTest.js",
129 "package": "vsce package"
130 },
131 "devDependencies": {
132 "@types/glob": "^8.1.0",
133 "@types/mocha": "^10.0.10",
134 "@types/node": "^20.0.0",
135 "@types/vscode": "^1.85.0",
136 "@typescript-eslint/eslint-plugin": "^7.0.0",
137 "@typescript-eslint/parser": "^7.0.0",
138 "@vscode/test-electron": "^2.5.2",
139 "esbuild": "^0.20.0",
140 "eslint": "^8.0.0",
141 "glob": "^13.0.6",
142 "mocha": "^11.7.5",
143 "typescript": "^5.4.0"
144 },
145 "dependencies": {
146 "vscode-languageclient": "^9.0.0"
147 }
148 }