|
| 1 | +{ |
| 2 | + "name": "t3-code", |
| 3 | + "displayName": "T3 Code", |
| 4 | + "version": "0.0.40", |
| 5 | + "private": true, |
| 6 | + "description": "A dedicated VS Code chat client for synchronized T3 Code threads.", |
| 7 | + "categories": [ |
| 8 | + "AI", |
| 9 | + "Chat", |
| 10 | + "Other" |
| 11 | + ], |
| 12 | + "publisher": "patroza", |
| 13 | + "type": "module", |
| 14 | + "main": "./dist/extension.cjs", |
| 15 | + "scripts": { |
| 16 | + "build": "esbuild src/extension.ts --bundle --platform=node --format=cjs --target=node20 --external:vscode --outfile=dist/extension.cjs && esbuild src/webview.ts --bundle --platform=browser --format=iife --target=es2022 --outfile=dist/webview.js", |
| 17 | + "typecheck": "tsgo --noEmit", |
| 18 | + "test": "vp test run" |
| 19 | + }, |
| 20 | + "dependencies": { |
| 21 | + "@t3tools/client-runtime": "workspace:*", |
| 22 | + "@t3tools/contracts": "workspace:*", |
| 23 | + "@t3tools/shared": "workspace:*", |
| 24 | + "dompurify": "^3.2.6", |
| 25 | + "effect": "catalog:", |
| 26 | + "marked": "^15.0.12" |
| 27 | + }, |
| 28 | + "devDependencies": { |
| 29 | + "@types/vscode": "1.95.0", |
| 30 | + "esbuild": "^0.28.0", |
| 31 | + "vite-plus": "catalog:" |
| 32 | + }, |
| 33 | + "contributes": { |
| 34 | + "viewsContainers": { |
| 35 | + "activitybar": [ |
| 36 | + { |
| 37 | + "id": "t3CodeViewContainer", |
| 38 | + "title": "T3 Code", |
| 39 | + "icon": "media/t3-code.svg", |
| 40 | + "when": "t3Code.useActivityBar" |
| 41 | + } |
| 42 | + ], |
| 43 | + "secondarySidebar": [ |
| 44 | + { |
| 45 | + "id": "t3CodeSecondaryViewContainer", |
| 46 | + "title": "T3 Code", |
| 47 | + "icon": "media/t3-code.svg", |
| 48 | + "when": "!t3Code.useActivityBar" |
| 49 | + } |
| 50 | + ] |
| 51 | + }, |
| 52 | + "views": { |
| 53 | + "t3CodeViewContainer": [ |
| 54 | + { |
| 55 | + "id": "t3Code.chatView", |
| 56 | + "type": "webview", |
| 57 | + "name": "T3 Code", |
| 58 | + "when": "t3Code.useActivityBar" |
| 59 | + } |
| 60 | + ], |
| 61 | + "t3CodeSecondaryViewContainer": [ |
| 62 | + { |
| 63 | + "id": "t3Code.chatViewSecondary", |
| 64 | + "type": "webview", |
| 65 | + "name": "T3 Code", |
| 66 | + "when": "!t3Code.useActivityBar" |
| 67 | + } |
| 68 | + ] |
| 69 | + }, |
| 70 | + "chatParticipants": [ |
| 71 | + { |
| 72 | + "id": "t3-code.chat", |
| 73 | + "name": "t3", |
| 74 | + "fullName": "T3 Code", |
| 75 | + "description": "Work with synchronized Codex, Claude, Cursor, Grok, and OpenCode threads.", |
| 76 | + "isSticky": true, |
| 77 | + "commands": [ |
| 78 | + { |
| 79 | + "name": "new", |
| 80 | + "description": "Create a thread for this worktree" |
| 81 | + }, |
| 82 | + { |
| 83 | + "name": "threads", |
| 84 | + "description": "Choose a thread for this worktree" |
| 85 | + }, |
| 86 | + { |
| 87 | + "name": "history", |
| 88 | + "description": "Show the synchronized thread history" |
| 89 | + }, |
| 90 | + { |
| 91 | + "name": "context", |
| 92 | + "description": "Toggle automatic editor context" |
| 93 | + }, |
| 94 | + { |
| 95 | + "name": "stop", |
| 96 | + "description": "Interrupt the active turn" |
| 97 | + }, |
| 98 | + { |
| 99 | + "name": "status", |
| 100 | + "description": "Show connection and thread status" |
| 101 | + } |
| 102 | + ] |
| 103 | + } |
| 104 | + ], |
| 105 | + "commands": [ |
| 106 | + { |
| 107 | + "command": "t3Code.newThread", |
| 108 | + "title": "T3 Code: New Thread for Worktree", |
| 109 | + "category": "T3 Code" |
| 110 | + }, |
| 111 | + { |
| 112 | + "command": "t3Code.selectThread", |
| 113 | + "title": "T3 Code: Select Worktree Thread", |
| 114 | + "category": "T3 Code" |
| 115 | + }, |
| 116 | + { |
| 117 | + "command": "t3Code.askSelection", |
| 118 | + "title": "T3 Code: Ask About Selection", |
| 119 | + "category": "T3 Code", |
| 120 | + "icon": "$(comment-discussion)" |
| 121 | + }, |
| 122 | + { |
| 123 | + "command": "t3Code.toggleEditorContext", |
| 124 | + "title": "T3 Code: Toggle Automatic Editor Context", |
| 125 | + "category": "T3 Code" |
| 126 | + }, |
| 127 | + { |
| 128 | + "command": "t3Code.showDiagnostics", |
| 129 | + "title": "T3 Code: Show Diagnostics", |
| 130 | + "category": "T3 Code" |
| 131 | + }, |
| 132 | + { |
| 133 | + "command": "t3Code.setBearerToken", |
| 134 | + "title": "T3 Code: Set Server Bearer Token", |
| 135 | + "category": "T3 Code" |
| 136 | + }, |
| 137 | + { |
| 138 | + "command": "t3Code.clearBearerToken", |
| 139 | + "title": "T3 Code: Clear Server Bearer Token", |
| 140 | + "category": "T3 Code" |
| 141 | + }, |
| 142 | + { |
| 143 | + "command": "t3Code.openChat", |
| 144 | + "title": "T3 Code: Open Chat", |
| 145 | + "category": "T3 Code" |
| 146 | + }, |
| 147 | + { |
| 148 | + "command": "t3Code.openInT3", |
| 149 | + "title": "T3 Code: Open in T3", |
| 150 | + "category": "T3 Code", |
| 151 | + "icon": "$(link-external)" |
| 152 | + } |
| 153 | + ], |
| 154 | + "menus": { |
| 155 | + "editor/context": [ |
| 156 | + { |
| 157 | + "command": "t3Code.askSelection", |
| 158 | + "group": "navigation@90", |
| 159 | + "when": "editorHasSelection" |
| 160 | + } |
| 161 | + ] |
| 162 | + }, |
| 163 | + "configuration": { |
| 164 | + "title": "T3 Code", |
| 165 | + "properties": { |
| 166 | + "t3Code.serverUrl": { |
| 167 | + "type": "string", |
| 168 | + "scope": "machine", |
| 169 | + "default": "http://127.0.0.1:3773", |
| 170 | + "description": "Fallback T3 Code server HTTP URL when no local T3 Desktop runtime is advertised. WebSocket and environment endpoints are derived from it." |
| 171 | + }, |
| 172 | + "t3Code.defaultRuntimeMode": { |
| 173 | + "type": "string", |
| 174 | + "enum": [ |
| 175 | + "approval-required", |
| 176 | + "auto-accept-edits", |
| 177 | + "full-access" |
| 178 | + ], |
| 179 | + "default": "full-access", |
| 180 | + "description": "Runtime mode for new T3 Code threads." |
| 181 | + }, |
| 182 | + "t3Code.desktopClientSettingsPath": { |
| 183 | + "type": "string", |
| 184 | + "default": "", |
| 185 | + "description": "Optional path to T3 Desktop's client-settings.json for sharing provider and model favorites. The default auto-detects ~/.t3/userdata or ~/.t3/dev." |
| 186 | + } |
| 187 | + } |
| 188 | + } |
| 189 | + }, |
| 190 | + "activationEvents": [ |
| 191 | + "onChatParticipant:t3-code.chat", |
| 192 | + "onCommand:t3Code.askSelection", |
| 193 | + "onCommand:t3Code.clearBearerToken", |
| 194 | + "onCommand:t3Code.newThread", |
| 195 | + "onCommand:t3Code.openChat", |
| 196 | + "onCommand:t3Code.openInT3", |
| 197 | + "onCommand:t3Code.selectThread", |
| 198 | + "onCommand:t3Code.setBearerToken", |
| 199 | + "onCommand:t3Code.showDiagnostics", |
| 200 | + "onCommand:t3Code.toggleEditorContext", |
| 201 | + "onView:t3Code.chatView", |
| 202 | + "onView:t3Code.chatViewSecondary" |
| 203 | + ], |
| 204 | + "extensionKind": [ |
| 205 | + "workspace" |
| 206 | + ], |
| 207 | + "engines": { |
| 208 | + "vscode": "^1.95.0" |
| 209 | + } |
| 210 | +} |
0 commit comments