File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " opencode-codetime" ,
3- "version" : " 0.6.0 " ,
3+ "version" : " 0.6.1 " ,
44 "description" : " CodeTime plugin for OpenCode - Track AI coding activity and time spent with codetime.dev" ,
55 "type" : " module" ,
66 "main" : " dist/index.js" ,
Original file line number Diff line number Diff line change @@ -267,15 +267,6 @@ export const plugin: Plugin = async (ctx) => {
267267 "CODETIME_TOKEN not set. CodeTime tracking disabled. " +
268268 "Get your token from https://codetime.dev/dashboard/settings" ,
269269 ) . catch ( ( ) => { } ) ;
270- try {
271- await ( client as any ) . tui . showToast ( {
272- body : {
273- title : "CodeTime" ,
274- message : "CODETIME_TOKEN not set. Tracking disabled." ,
275- variant : "error" ,
276- } ,
277- } ) ;
278- } catch { }
279270 return { } ;
280271 }
281272
@@ -285,15 +276,6 @@ export const plugin: Plugin = async (ctx) => {
285276 await error (
286277 "Invalid CODETIME_TOKEN. Please check your token at https://codetime.dev/dashboard/settings" ,
287278 ) . catch ( ( ) => { } ) ;
288- try {
289- await ( client as any ) . tui . showToast ( {
290- body : {
291- title : "CodeTime" ,
292- message : "Invalid token. Check https://codetime.dev/dashboard/settings" ,
293- variant : "error" ,
294- } ,
295- } ) ;
296- } catch { }
297279 _token = null ;
298280 return { } ;
299281 }
You can’t perform that action at this time.
0 commit comments