claude-home 1.4.2 → 1.4.4

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/package.json +1 -1
  2. package/public/index.html +17 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-home",
3
- "version": "1.4.2",
3
+ "version": "1.4.4",
4
4
  "description": "Web dashboard for Claude Code — browse sessions, manage skills, hooks, commands, and agents",
5
5
  "main": "server.js",
6
6
  "bin": {
package/public/index.html CHANGED
@@ -4011,15 +4011,27 @@
4011
4011
  async init() {
4012
4012
  const savedView = localStorage.getItem('cs:view');
4013
4013
  const savedProject = localStorage.getItem('cs:project');
4014
- if (savedView) this.view = savedView;
4015
- if (savedProject) this.filterProject = savedProject;
4016
-
4017
- this.$watch('view', v => localStorage.setItem('cs:view', v));
4018
- this.$watch('filterProject', v => localStorage.setItem('cs:project', v));
4014
+ const savedBranch = localStorage.getItem('cs:branch');
4015
+ const savedText = localStorage.getItem('cs:filterText');
4016
+ const savedFrom = localStorage.getItem('cs:filterFrom');
4017
+ const savedTo = localStorage.getItem('cs:filterTo');
4018
+ if (savedView) this.view = savedView;
4019
+ if (savedText) this.filterText = savedText;
4020
+ if (savedFrom) this.filterFrom = savedFrom;
4021
+ if (savedTo) this.filterTo = savedTo;
4022
+
4023
+ this.$watch('view', v => localStorage.setItem('cs:view', v));
4024
+ this.$watch('filterProject', v => localStorage.setItem('cs:project', v));
4025
+ this.$watch('filterBranch', v => localStorage.setItem('cs:branch', v));
4026
+ this.$watch('filterText', v => localStorage.setItem('cs:filterText', v));
4027
+ this.$watch('filterFrom', v => localStorage.setItem('cs:filterFrom', v));
4028
+ this.$watch('filterTo', v => localStorage.setItem('cs:filterTo', v));
4019
4029
  this.$watch('configProject', () => { this.config = null; this.loadConfig(); this.hooksLog = null; this.toolCommands = []; this.toolSkills = []; this.agents = []; if (this.view === 'commands' || this.view === 'skills') this.loadTools(); if (this.view === 'agents') this.loadAgents(); });
4020
4030
 
4021
4031
  await this.loadProjects();
4032
+ if (savedProject) this.filterProject = savedProject;
4022
4033
  await this.loadBranches();
4034
+ if (savedBranch) this.filterBranch = savedBranch;
4023
4035
  await this.loadSessions();
4024
4036
  this.initView(this.view);
4025
4037
  this.loadCosts();