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