opencode-codetime 0.6.6 → 0.6.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -341,9 +341,9 @@ export const plugin = async (ctx) => {
341
341
  : projectName;
342
342
  if (totalMins !== null) {
343
343
  const totalFormatted = formatMinutes(totalMins);
344
- return `Today's coding time for ${displayName}: ${projectFormatted} (Total across all projects: ${totalFormatted})`;
344
+ return `Today's coding time for ${displayName}:\n\`\`\`\n ${projectFormatted} (Total across all projects: ${totalFormatted})\n\`\`\``;
345
345
  }
346
- return `Today's coding time for ${displayName}: ${projectFormatted}`;
346
+ return `Today's coding time for ${displayName}:\n\`\`\`\n ${projectFormatted}\n\`\`\``;
347
347
  }
348
348
  // Default: total coding time (original behavior)
349
349
  const minutes = await getTodayMinutes(_token);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-codetime",
3
- "version": "0.6.6",
3
+ "version": "0.6.7",
4
4
  "description": "CodeTime plugin for OpenCode - Track AI coding activity and time spent with codetime.dev",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",