@blade-hq/agent-kit 0.5.33 → 0.5.35

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.
@@ -1945,6 +1945,7 @@ var useBackgroundStore = create7()((set) => ({
1945
1945
  ...createClientActions(set),
1946
1946
  tasks: {},
1947
1947
  selectedTaskId: {},
1948
+ dismissedTaskIds: {},
1948
1949
  setTasks: (sessionId, tasks) => set((state) => ({
1949
1950
  tasks: { ...state.tasks, [sessionId]: tasks },
1950
1951
  selectedTaskId: {
@@ -1971,7 +1972,14 @@ var useBackgroundStore = create7()((set) => ({
1971
1972
  }),
1972
1973
  selectTask: (sessionId, taskId) => set((state) => ({
1973
1974
  selectedTaskId: { ...state.selectedTaskId, [sessionId]: taskId }
1974
- }))
1975
+ })),
1976
+ dismissTask: (sessionId, taskId) => set((state) => {
1977
+ const existing = state.dismissedTaskIds[sessionId] ?? [];
1978
+ if (existing.includes(taskId)) return state;
1979
+ return {
1980
+ dismissedTaskIds: { ...state.dismissedTaskIds, [sessionId]: [...existing, taskId] }
1981
+ };
1982
+ })
1975
1983
  }));
1976
1984
 
1977
1985
  // src/react/stores/connection-store.ts
@@ -3256,4 +3264,4 @@ export {
3256
3264
  bootstrapBladeClient,
3257
3265
  getBootstrappedClient
3258
3266
  };
3259
- //# sourceMappingURL=chunk-EBTZAB6X.js.map
3267
+ //# sourceMappingURL=chunk-II2PTBJI.js.map