{ "name": "opik", "displayName": "Opik - Save and share your chat history", "description": "Export your chat history from Cursor to Opik.", "repository": "https://github.com/comet-ml/opik", "publisher": "opik", "version": "0.3.4", "preview": false, "engines": { "vscode": "^1.90.0" }, "categories": [ "Other" ], "activationEvents": [ "onStartupFinished" ], "main": "./out/extension.js", "icon": "icon.png", "contributes": { "commands": [ { "command": "opik.resetState", "title": "Reset Extension State", "category": "Opik" } ], "configuration": [ { "title": "Opik Configuration", "properties": { "opik.apiKey": { "type": "string", "default": "", "markdownDescription": "Opik API Key for authentication. Get your key at [Comet Settings](https://www.comet.com/api/my/settings/). \n\nAlternatively, you can set this in `~/.opik.config` file.", "order": 0 }, "opik.apiUrl": { "type": "string", "default": "https://www.comet.com/opik/api", "markdownDescription": "API URL for Opik backend. Change this only if you're using a self-hosted instance.", "order": 1 }, "opik.workspace": { "type": "string", "default": "default", "markdownDescription": "Workspace name where your traces will be stored.", "order": 2 }, "opik.projectName": { "type": "string", "default": "cursor", "markdownDescription": "Project name for organizing Cursor chat sessions within your workspace.", "order": 3 } } }, { "title": "MCP Server", "properties": { "opik.mcp.enabled": { "type": "boolean", "default": true, "markdownDescription": "Enable automatic registration of the Opik MCP server with Cursor to provide enhanced context in your chats." } } }, { "title": "Advanced", "properties": { "opik.enableDebugLogs": { "type": "boolean", "default": false, "markdownDescription": "Enable detailed debug logging for troubleshooting. Logs will appear in the Output panel under 'Opik Debug'." } } } ] }, "scripts": { "vscode:prepublish": "npm run esbuild-base -- --minify", "build": "vsce pack", "compile": "tsc -p ./", "esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --external:fsevents --format=cjs --platform=node", "esbuild": "npm run esbuild-base -- --sourcemap", "esbuild-watch": "npm run esbuild-base -- --sourcemap --watch", "deploy": "vsce publish", "watch": "tsc -watch -p ./", "pretest": "npm run compile && npm run lint", "lint": "eslint src", "test": "vscode-test" }, "devDependencies": { "@types/mocha": "^10.0.10", "@types/node": "20.x", "@types/uuid": "^10.0.0", "@types/vscode": "^1.90.0", "@typescript-eslint/eslint-plugin": "^8.28.0", "@typescript-eslint/parser": "^8.28.0", "@vscode/test-cli": "^0.0.10", "@vscode/test-electron": "^2.4.1", "@vscode/vsce": "^3.7.1", "esbuild": "^0.24.2", "eslint": "^9.23.0", "typescript": "^5.8.2" }, "dependencies": { "@sentry/node": "^10.38.0", "glob": "^11.1.0", "node-fetch": "^3.3.2", "opik": "^1.10.9", "uuid": "^11.0.3" } }