dsh-vault 1.9.5-rc.2 → 1.9.5

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/lib/client.js CHANGED
@@ -17,110 +17,110 @@ window.__ModuleLoader__.load({
17
17
  document.head.appendChild(tag);
18
18
  }
19
19
  var VaultSection_module_css_default = {
20
- "dupGroup": "t_j5va_dupGroup",
21
- "histDanger": "t_j5va_histDanger",
22
- "healthBar": "t_j5va_healthBar",
23
- "identity": "t_j5va_identity",
24
- "rowDue": "t_j5va_rowDue",
25
- "pwLabel": "t_j5va_pwLabel",
26
- "moreWrap": "t_j5va_moreWrap",
27
- "pinOff": "t_j5va_pinOff",
28
- "healthSummary": "t_j5va_healthSummary",
29
- "totpRing": "t_j5va_totpRing",
30
- "reportTitle": "t_j5va_reportTitle",
31
- "histAdd": "t_j5va_histAdd",
32
- "histNeutral": "t_j5va_histNeutral",
33
- "saveButton": "t_j5va_saveButton",
34
- "backupButton": "t_j5va_backupButton",
35
- "actionPrimary": "t_j5va_actionPrimary",
36
- "section": "t_j5va_section",
37
- "row": "t_j5va_row",
38
- "footer": "t_j5va_footer",
39
- "badge": "t_j5va_badge",
40
- "searchBox": "t_j5va_searchBox",
41
- "deleteButton": "t_j5va_deleteButton",
42
- "modeAuto": "t_j5va_modeAuto",
43
- "rowExpired": "t_j5va_rowExpired",
44
- "kindIcon": "t_j5va_kindIcon",
45
- "bulkBar": "t_j5va_bulkBar",
46
20
  "dangerButton": "t_j5va_dangerButton",
47
- "clearButton": "t_j5va_clearButton",
21
+ "tabs": "t_j5va_tabs",
22
+ "title": "t_j5va_title",
48
23
  "reportBox": "t_j5va_reportBox",
49
- "rowSelected": "t_j5va_rowSelected",
50
- "intro": "t_j5va_intro",
51
- "moreMenu": "t_j5va_moreMenu",
52
- "error": "t_j5va_error",
53
- "list": "t_j5va_list",
54
- "editor": "t_j5va_editor",
55
- "detailItem": "t_j5va_detailItem",
56
24
  "badgeDanger": "t_j5va_badgeDanger",
25
+ "genHist": "t_j5va_genHist",
26
+ "kindFilter": "t_j5va_kindFilter",
27
+ "moreWrap": "t_j5va_moreWrap",
28
+ "pwStrong": "t_j5va_pwStrong",
29
+ "clearButton": "t_j5va_clearButton",
57
30
  "auditIssues": "t_j5va_auditIssues",
58
- "policyBar": "t_j5va_policyBar",
59
- "detailBox": "t_j5va_detailBox",
60
- "retryButton": "t_j5va_retryButton",
61
- "highBadge": "t_j5va_highBadge",
62
- "scoreRing": "t_j5va_scoreRing",
63
- "pinStar": "t_j5va_pinStar",
64
- "toolbar": "t_j5va_toolbar",
65
31
  "selectActive": "t_j5va_selectActive",
66
- "pwHistTime": "t_j5va_pwHistTime",
67
- "editorActions": "t_j5va_editorActions",
32
+ "tab": "t_j5va_tab",
33
+ "reportTitle": "t_j5va_reportTitle",
34
+ "highBadge": "t_j5va_highBadge",
35
+ "reportSub": "t_j5va_reportSub",
36
+ "rowActions": "t_j5va_rowActions",
37
+ "copied": "t_j5va_copied",
38
+ "modeReadonly": "t_j5va_modeReadonly",
39
+ "addButton": "t_j5va_addButton",
40
+ "policyBar": "t_j5va_policyBar",
41
+ "pwHistBox": "t_j5va_pwHistBox",
42
+ "pwHistRow": "t_j5va_pwHistRow",
43
+ "saveButton": "t_j5va_saveButton",
68
44
  "bulkItem": "t_j5va_bulkItem",
69
- "bulkCount": "t_j5va_bulkCount",
45
+ "editorBody": "t_j5va_editorBody",
46
+ "healthBar": "t_j5va_healthBar",
47
+ "editor": "t_j5va_editor",
48
+ "empty": "t_j5va_empty",
49
+ "dupGroup": "t_j5va_dupGroup",
50
+ "status": "t_j5va_status",
70
51
  "pwMeter": "t_j5va_pwMeter",
52
+ "field": "t_j5va_field",
53
+ "genOpts": "t_j5va_genOpts",
71
54
  "rowCheck": "t_j5va_rowCheck",
72
- "empty": "t_j5va_empty",
73
- "pwFair": "t_j5va_pwFair",
74
- "resultCount": "t_j5va_resultCount",
75
- "uriCode": "t_j5va_uriCode",
76
- "addButton": "t_j5va_addButton",
77
- "reportSub": "t_j5va_reportSub",
78
- "pwWeak": "t_j5va_pwWeak",
79
- "tabActive": "t_j5va_tabActive",
80
- "policyField": "t_j5va_policyField",
81
- "rowActions": "t_j5va_rowActions",
82
- "rowMain": "t_j5va_rowMain",
83
- "modeAsk": "t_j5va_modeAsk",
84
- "pwHistPwd": "t_j5va_pwHistPwd",
85
- "badgeWarn": "t_j5va_badgeWarn",
86
- "badgeOk": "t_j5va_badgeOk",
55
+ "auditRow": "t_j5va_auditRow",
56
+ "bulkCount": "t_j5va_bulkCount",
57
+ "deleteButton": "t_j5va_deleteButton",
58
+ "totp": "t_j5va_totp",
59
+ "error": "t_j5va_error",
60
+ "histAdd": "t_j5va_histAdd",
61
+ "trashButton": "t_j5va_trashButton",
62
+ "kindIcon": "t_j5va_kindIcon",
63
+ "dupMerge": "t_j5va_dupMerge",
87
64
  "kindChip": "t_j5va_kindChip",
88
- "tabs": "t_j5va_tabs",
89
- "lockedBanner": "t_j5va_lockedBanner",
90
- "title": "t_j5va_title",
91
- "field": "t_j5va_field",
65
+ "modeAuto": "t_j5va_modeAuto",
66
+ "actionPrimary": "t_j5va_actionPrimary",
67
+ "emptyBox": "t_j5va_emptyBox",
68
+ "rowDue": "t_j5va_rowDue",
69
+ "footer": "t_j5va_footer",
70
+ "dupNames": "t_j5va_dupNames",
71
+ "emptyHint": "t_j5va_emptyHint",
72
+ "pwBar": "t_j5va_pwBar",
73
+ "totpRing": "t_j5va_totpRing",
92
74
  "sortButton": "t_j5va_sortButton",
93
- "dupMerge": "t_j5va_dupMerge",
94
- "genOpts": "t_j5va_genOpts",
75
+ "retryButton": "t_j5va_retryButton",
76
+ "pwWeak": "t_j5va_pwWeak",
95
77
  "genOptRow": "t_j5va_genOptRow",
96
- "editorBody": "t_j5va_editorBody",
78
+ "pwLabel": "t_j5va_pwLabel",
79
+ "toolbar": "t_j5va_toolbar",
80
+ "healthSummary": "t_j5va_healthSummary",
81
+ "checkField": "t_j5va_checkField",
97
82
  "dueBadge": "t_j5va_dueBadge",
83
+ "lockedTag": "t_j5va_lockedTag",
84
+ "pinStar": "t_j5va_pinStar",
85
+ "histDanger": "t_j5va_histDanger",
86
+ "editorActions": "t_j5va_editorActions",
87
+ "tabActive": "t_j5va_tabActive",
88
+ "srOnly": "t_j5va_srOnly",
89
+ "list": "t_j5va_list",
90
+ "modeAsk": "t_j5va_modeAsk",
91
+ "identity": "t_j5va_identity",
92
+ "rowMain": "t_j5va_rowMain",
93
+ "pinOff": "t_j5va_pinOff",
94
+ "reportLine": "t_j5va_reportLine",
95
+ "rowExpired": "t_j5va_rowExpired",
96
+ "secretField": "t_j5va_secretField",
97
+ "badgeOk": "t_j5va_badgeOk",
98
+ "pwHistTime": "t_j5va_pwHistTime",
99
+ "pwFair": "t_j5va_pwFair",
100
+ "searchBox": "t_j5va_searchBox",
101
+ "moreMenu": "t_j5va_moreMenu",
102
+ "row": "t_j5va_row",
103
+ "pwHistPwd": "t_j5va_pwHistPwd",
98
104
  "histUpdate": "t_j5va_histUpdate",
99
- "checkField": "t_j5va_checkField",
100
- "genHist": "t_j5va_genHist",
101
- "status": "t_j5va_status",
102
- "pwHistRow": "t_j5va_pwHistRow",
105
+ "backupButton": "t_j5va_backupButton",
106
+ "rowSelected": "t_j5va_rowSelected",
107
+ "section": "t_j5va_section",
108
+ "badgeWarn": "t_j5va_badgeWarn",
103
109
  "revealButton": "t_j5va_revealButton",
104
- "dupNames": "t_j5va_dupNames",
105
- "kindFilter": "t_j5va_kindFilter",
106
- "pwHistBox": "t_j5va_pwHistBox",
107
- "pwBar": "t_j5va_pwBar",
110
+ "uriCode": "t_j5va_uriCode",
108
111
  "tabPane": "t_j5va_tabPane",
109
- "totp": "t_j5va_totp",
112
+ "policyField": "t_j5va_policyField",
113
+ "bulkBar": "t_j5va_bulkBar",
110
114
  "pinOn": "t_j5va_pinOn",
111
- "copied": "t_j5va_copied",
112
- "reportLine": "t_j5va_reportLine",
113
- "modeReadonly": "t_j5va_modeReadonly",
114
- "emptyHint": "t_j5va_emptyHint",
115
- "trashButton": "t_j5va_trashButton",
116
- "auditRow": "t_j5va_auditRow",
115
+ "detailItem": "t_j5va_detailItem",
116
+ "resultCount": "t_j5va_resultCount",
117
+ "intro": "t_j5va_intro",
117
118
  "moreButton": "t_j5va_moreButton",
118
- "lockedTag": "t_j5va_lockedTag",
119
- "tab": "t_j5va_tab",
120
- "secretField": "t_j5va_secretField",
121
- "pwStrong": "t_j5va_pwStrong",
122
- "srOnly": "t_j5va_srOnly",
123
- "emptyBox": "t_j5va_emptyBox"
119
+ "lockedBanner": "t_j5va_lockedBanner",
120
+ "scoreRing": "t_j5va_scoreRing",
121
+ "badge": "t_j5va_badge",
122
+ "histNeutral": "t_j5va_histNeutral",
123
+ "detailBox": "t_j5va_detailBox"
124
124
  };
125
125
  //#endregion
126
126
  //#region src/client/VaultSection.tsx
package/lib/index.js CHANGED
@@ -5088,6 +5088,11 @@ let VaultGateway = (() => {
5088
5088
  excludeAmbiguous: options?.excludeAmbiguous ?? false,
5089
5089
  });
5090
5090
  }
5091
+ // Dedupe: re-generating the same password moves it to the front instead of
5092
+ // stacking duplicates in the history list.
5093
+ const existing = this.genHistory.findIndex(h => h.password === password);
5094
+ if (existing >= 0)
5095
+ this.genHistory.splice(existing, 1);
5091
5096
  this.genHistory.unshift({ password, at: Date.now() });
5092
5097
  if (this.genHistory.length > 10)
5093
5098
  this.genHistory.length = 10;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-vault",
3
- "version": "1.9.5-rc.2",
3
+ "version": "1.9.5",
4
4
  "description": "Encrypted credential vault for DeepSeek Harness: store and retrieve usernames, emails, phone numbers, passwords, TOTP secrets, SSH/API-key/OAuth developer credentials through model tools and a Settings UI page.",
5
5
  "type": "module",
6
6
  "license": "MIT",