opencode-studio-server 1.3.1 → 1.3.2

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/index.js +2 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1231,6 +1231,8 @@ app.get('/api/usage', async (req, res) => {
1231
1231
  if (range === '24h') min = now - 86400000;
1232
1232
  else if (range === '7d') min = now - 604800000;
1233
1233
  else if (range === '30d') min = now - 2592000000;
1234
+ else if (range === '3m') min = now - 7776000000;
1235
+ else if (range === '6m') min = now - 15552000000;
1234
1236
  else if (range === '1y') min = now - 31536000000;
1235
1237
 
1236
1238
  const sessionDirs = await fs.promises.readdir(md);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-studio-server",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Backend server for OpenCode Studio - manages opencode configurations",
5
5
  "main": "index.js",
6
6
  "bin": {