opencode-codetime 0.5.0 → 0.5.1
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.
- package/dist/index.js +6 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -257,15 +257,12 @@ export const plugin = async (ctx) => {
|
|
|
257
257
|
cfg.command = cfg.command || {};
|
|
258
258
|
cfg.command["codetime"] = {
|
|
259
259
|
description: "Show today's coding time from CodeTime",
|
|
260
|
-
template: "Retrieve
|
|
261
|
-
"
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
template: "Retrieve CodeTime coding time stats broken down by project.\n\n" +
|
|
267
|
-
'Immediately call `codetime` with `breakdown: true` and return its output verbatim.\n' +
|
|
268
|
-
"Do not call other tools.",
|
|
260
|
+
template: "Retrieve CodeTime coding time stats.\n\n" +
|
|
261
|
+
"Based on the arguments provided: `$ARGUMENTS`\n\n" +
|
|
262
|
+
'- If no arguments (empty/blank), call `codetime` with `project: "current"` to show current project time.\n' +
|
|
263
|
+
"- If the argument is `breakdown`, call `codetime` with `breakdown: true` to show all projects.\n" +
|
|
264
|
+
"- Otherwise, call `codetime` with `project` set to the argument value to show that specific project's time.\n\n" +
|
|
265
|
+
"Return the output verbatim. Do not call other tools.",
|
|
269
266
|
};
|
|
270
267
|
},
|
|
271
268
|
tool: {
|