{ "name": "dumbpilot", "displayName": "dumbpilot", "description": "Simple code prediction using llama.cpp server api", "publisher": "Alessandro Mauri", "version": "0.0.1", "engines": { "vscode": "^1.84.0" }, "categories": [ "Other" ], "activationEvents": [ "onLanguage:ada", "onLanguage:agda", "onLanguage:alloy", "onLanguage:antlr", "onLanguage:applescript", "onLanguage:assembly", "onLanguage:augeas", "onLanguage:awk", "onLanguage:batchfile", "onLanguage:bluespec", "onLanguage:c-sharp", "onLanguage:c", "onLanguage:clojure", "onLanguage:cmake", "onLanguage:coffeescript", "onLanguage:common-lisp", "onLanguage:cpp", "onLanguage:css", "onLanguage:cuda", "onLanguage:dart", "onLanguage:dockerfile", "onLanguage:elixir", "onLanguage:elm", "onLanguage:emacs-lisp", "onLanguage:erlang", "onLanguage:f-sharp", "onLanguage:fortran", "onLanguage:glsl", "onLanguage:go", "onLanguage:groovy", "onLanguage:haskell", "onLanguage:html", "onLanguage:idris", "onLanguage:isabelle", "onLanguage:java-server-pages", "onLanguage:java", "onLanguage:javascript", "onLanguage:json", "onLanguage:julia", "onLanguage:jupyter-notebook", "onLanguage:kotlin", "onLanguage:lean", "onLanguage:literate-agda", "onLanguage:literate-coffeescript", "onLanguage:literate-haskell", "onLanguage:lua", "onLanguage:makefile", "onLanguage:maple", "onLanguage:markdown", "onLanguage:mathematica", "onLanguage:matlab", "onLanguage:ocaml", "onLanguage:pascal", "onLanguage:perl", "onLanguage:php", "onLanguage:powershell", "onLanguage:prolog", "onLanguage:protocol-buffer", "onLanguage:python", "onLanguage:r", "onLanguage:racket", "onLanguage:restructuredtext", "onLanguage:rmarkdown", "onLanguage:ruby", "onLanguage:rust", "onLanguage:sas", "onLanguage:scala", "onLanguage:scheme", "onLanguage:shell", "onLanguage:smalltalk", "onLanguage:solidity", "onLanguage:sparql", "onLanguage:sql", "onLanguage:stan", "onLanguage:standard-ml", "onLanguage:stata", "onLanguage:systemverilog", "onLanguage:tcl", "onLanguage:tcsh", "onLanguage:tex", "onLanguage:thrift", "onLanguage:typescript", "onLanguage:verilog", "onLanguage:vhdl", "onLanguage:visual-basic", "onLanguage:xslt", "onLanguage:yacc", "onLanguage:yaml", "onLanguage:zig" ], "main": "./out/extension.js", "contributes": { "commands": [ { "command": "dumbpilot.disableCompletion", "title": "Disable predictive code completion", "category": "dumbpilot" }, { "command": "dumbpilot.enableCompletion", "title": "Enable predictive code completion", "category": "dumbpilot" } ], "keybindings": [ { "key": "ctrl+shift+l", "mac": "cmd+shift+l", "when": "editorTextFocus", "command": "editor.action.inlineSuggest.trigger" } ], "configuration": { "title": "dumbpilot", "properties": { "dumbpilot.completionEnabled": { "type": "boolean", "default": true, "description": "Enable predictive code completion" }, "dumbpilot.fimEnabled": { "type": "boolean", "default": false, "description": "Enable Fill in Middle mode, defaults to Up-to cursor context" }, "dumbpilot.llamaHost": { "type": "string", "default": "http://0.0.0.0:8080", "description": "llama.cpp server address" }, "dumbpilot.llamaCtxsize": {"type": "number", "default": 2048}, "dumbpilot.llamaMaxtokens": {"type": "number", "default": -1}, "dumbpilot.llamaMirostat": {"type": "number", "default": 0}, "dumbpilot.llamaRepeatPenalty": {"type": "number", "default": 1.11}, "dumbpilot.llamaFrequencyPenalty": {"type": "number", "default": 0.0}, "dumbpilot.llamaPresencePenalty": {"type": "number", "default": 0.0}, "dumbpilot.llamaRepeatCtx": {"type": "number", "default": 256}, "dumbpilot.llamaTemperature": {"type": "number", "default": 0.25}, "dumbpilot.llamaTop_p": {"type": "number", "default": 0.95}, "dumbpilot.llamaTop_k": {"type": "number", "default": 40}, "dumbpilot.llamaTypical_p": {"type": "number", "default": 0.95}, "dumbpilot.llamaTailfree_z": {"type": "number", "default": 0.5}, "dumbpilot.llamaSeed": {"type": "number", "default": -1} } } }, "scripts": { "vscode:prepublish": "npm run compile", "compile": "tsc -p ./", "watch": "tsc -watch -p ./", "pretest": "npm run compile && npm run lint", "lint": "eslint src --ext ts", "test": "node ./out/test/runTest.js" }, "devDependencies": { "@types/vscode": "^1.84.0", "@types/mocha": "^10.0.3", "@types/node": "18.x", "@typescript-eslint/eslint-plugin": "^6.9.0", "@typescript-eslint/parser": "^6.9.0", "eslint": "^8.52.0", "glob": "^10.3.10", "mocha": "^10.2.0", "typescript": "^5.2.2", "@vscode/test-electron": "^2.3.6" } }