dsh-vault 1.9.4-rc.3 → 1.9.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.
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
- "reportLine": "t_j5va_reportLine",
21
- "secretField": "t_j5va_secretField",
22
- "sortButton": "t_j5va_sortButton",
23
- "rowCheck": "t_j5va_rowCheck",
24
- "retryButton": "t_j5va_retryButton",
25
- "pwMeter": "t_j5va_pwMeter",
26
- "checkField": "t_j5va_checkField",
27
- "pinStar": "t_j5va_pinStar",
28
- "pwHistBox": "t_j5va_pwHistBox",
20
+ "policyBar": "t_j5va_policyBar",
21
+ "histNeutral": "t_j5va_histNeutral",
22
+ "bulkBar": "t_j5va_bulkBar",
23
+ "genHist": "t_j5va_genHist",
29
24
  "title": "t_j5va_title",
30
- "editorActions": "t_j5va_editorActions",
25
+ "totpRing": "t_j5va_totpRing",
26
+ "field": "t_j5va_field",
27
+ "pwHistTime": "t_j5va_pwHistTime",
28
+ "rowExpired": "t_j5va_rowExpired",
29
+ "dueBadge": "t_j5va_dueBadge",
30
+ "bulkCount": "t_j5va_bulkCount",
31
+ "lockedBanner": "t_j5va_lockedBanner",
31
32
  "toolbar": "t_j5va_toolbar",
32
- "footer": "t_j5va_footer",
33
- "tabs": "t_j5va_tabs",
34
- "list": "t_j5va_list",
35
- "totp": "t_j5va_totp",
36
- "editor": "t_j5va_editor",
37
- "genHist": "t_j5va_genHist",
38
- "pwStrong": "t_j5va_pwStrong",
33
+ "modeAuto": "t_j5va_modeAuto",
34
+ "kindIcon": "t_j5va_kindIcon",
35
+ "row": "t_j5va_row",
36
+ "dupGroup": "t_j5va_dupGroup",
37
+ "retryButton": "t_j5va_retryButton",
38
+ "genOptRow": "t_j5va_genOptRow",
39
+ "status": "t_j5va_status",
40
+ "modeReadonly": "t_j5va_modeReadonly",
41
+ "clearButton": "t_j5va_clearButton",
39
42
  "pwBar": "t_j5va_pwBar",
40
- "histAdd": "t_j5va_histAdd",
41
- "badge": "t_j5va_badge",
42
- "addButton": "t_j5va_addButton",
43
+ "rowMain": "t_j5va_rowMain",
44
+ "pwHistRow": "t_j5va_pwHistRow",
45
+ "sortButton": "t_j5va_sortButton",
43
46
  "pwFair": "t_j5va_pwFair",
44
- "bulkCount": "t_j5va_bulkCount",
45
- "bulkBar": "t_j5va_bulkBar",
46
- "copied": "t_j5va_copied",
47
- "totpRing": "t_j5va_totpRing",
48
- "detailItem": "t_j5va_detailItem",
49
- "moreWrap": "t_j5va_moreWrap",
50
- "trashButton": "t_j5va_trashButton",
51
- "backupButton": "t_j5va_backupButton",
47
+ "moreButton": "t_j5va_moreButton",
48
+ "pinOff": "t_j5va_pinOff",
49
+ "badgeOk": "t_j5va_badgeOk",
50
+ "lockedTag": "t_j5va_lockedTag",
51
+ "tab": "t_j5va_tab",
52
+ "histAdd": "t_j5va_histAdd",
52
53
  "selectActive": "t_j5va_selectActive",
54
+ "pinOn": "t_j5va_pinOn",
55
+ "rowSelected": "t_j5va_rowSelected",
56
+ "list": "t_j5va_list",
53
57
  "empty": "t_j5va_empty",
58
+ "badgeDanger": "t_j5va_badgeDanger",
59
+ "tabPane": "t_j5va_tabPane",
60
+ "footer": "t_j5va_footer",
61
+ "actionPrimary": "t_j5va_actionPrimary",
62
+ "pwHistPwd": "t_j5va_pwHistPwd",
63
+ "dangerButton": "t_j5va_dangerButton",
64
+ "rowActions": "t_j5va_rowActions",
65
+ "bulkItem": "t_j5va_bulkItem",
66
+ "deleteButton": "t_j5va_deleteButton",
54
67
  "error": "t_j5va_error",
55
- "policyBar": "t_j5va_policyBar",
56
- "modeReadonly": "t_j5va_modeReadonly",
68
+ "pwHistBox": "t_j5va_pwHistBox",
69
+ "rowCheck": "t_j5va_rowCheck",
70
+ "kindFilter": "t_j5va_kindFilter",
71
+ "badgeWarn": "t_j5va_badgeWarn",
72
+ "intro": "t_j5va_intro",
73
+ "trashButton": "t_j5va_trashButton",
57
74
  "editorBody": "t_j5va_editorBody",
58
- "highBadge": "t_j5va_highBadge",
59
- "field": "t_j5va_field",
60
- "reportBox": "t_j5va_reportBox",
61
- "rowSelected": "t_j5va_rowSelected",
62
- "searchBox": "t_j5va_searchBox",
63
- "lockedBanner": "t_j5va_lockedBanner",
75
+ "modeAsk": "t_j5va_modeAsk",
76
+ "reportSub": "t_j5va_reportSub",
64
77
  "histUpdate": "t_j5va_histUpdate",
65
- "kindFilter": "t_j5va_kindFilter",
66
- "badgeOk": "t_j5va_badgeOk",
67
- "rowActions": "t_j5va_rowActions",
68
- "kindIcon": "t_j5va_kindIcon",
69
78
  "detailBox": "t_j5va_detailBox",
70
- "reportSub": "t_j5va_reportSub",
71
- "section": "t_j5va_section",
72
- "dupGroup": "t_j5va_dupGroup",
73
- "dangerButton": "t_j5va_dangerButton",
79
+ "detailItem": "t_j5va_detailItem",
80
+ "healthSummary": "t_j5va_healthSummary",
81
+ "policyField": "t_j5va_policyField",
82
+ "dupMerge": "t_j5va_dupMerge",
83
+ "tabActive": "t_j5va_tabActive",
84
+ "healthBar": "t_j5va_healthBar",
85
+ "emptyBox": "t_j5va_emptyBox",
86
+ "saveButton": "t_j5va_saveButton",
74
87
  "auditRow": "t_j5va_auditRow",
88
+ "editorActions": "t_j5va_editorActions",
89
+ "auditIssues": "t_j5va_auditIssues",
90
+ "pwStrong": "t_j5va_pwStrong",
91
+ "pwWeak": "t_j5va_pwWeak",
92
+ "kindChip": "t_j5va_kindChip",
93
+ "reportBox": "t_j5va_reportBox",
94
+ "tabs": "t_j5va_tabs",
95
+ "secretField": "t_j5va_secretField",
96
+ "highBadge": "t_j5va_highBadge",
97
+ "reportTitle": "t_j5va_reportTitle",
75
98
  "identity": "t_j5va_identity",
99
+ "revealButton": "t_j5va_revealButton",
76
100
  "uriCode": "t_j5va_uriCode",
101
+ "badge": "t_j5va_badge",
102
+ "scoreRing": "t_j5va_scoreRing",
103
+ "pwMeter": "t_j5va_pwMeter",
104
+ "totp": "t_j5va_totp",
77
105
  "pwLabel": "t_j5va_pwLabel",
78
- "tabActive": "t_j5va_tabActive",
79
- "actionPrimary": "t_j5va_actionPrimary",
80
- "intro": "t_j5va_intro",
106
+ "srOnly": "t_j5va_srOnly",
107
+ "emptyHint": "t_j5va_emptyHint",
108
+ "reportLine": "t_j5va_reportLine",
109
+ "addButton": "t_j5va_addButton",
110
+ "copied": "t_j5va_copied",
81
111
  "moreMenu": "t_j5va_moreMenu",
82
- "pinOff": "t_j5va_pinOff",
83
- "modeAuto": "t_j5va_modeAuto",
84
- "dupMerge": "t_j5va_dupMerge",
85
- "policyField": "t_j5va_policyField",
86
- "rowExpired": "t_j5va_rowExpired",
87
- "badgeWarn": "t_j5va_badgeWarn",
88
- "resultCount": "t_j5va_resultCount",
89
- "dueBadge": "t_j5va_dueBadge",
90
- "badgeDanger": "t_j5va_badgeDanger",
112
+ "searchBox": "t_j5va_searchBox",
113
+ "editor": "t_j5va_editor",
114
+ "checkField": "t_j5va_checkField",
91
115
  "dupNames": "t_j5va_dupNames",
92
- "row": "t_j5va_row",
93
- "kindChip": "t_j5va_kindChip",
94
- "genOptRow": "t_j5va_genOptRow",
95
- "histNeutral": "t_j5va_histNeutral",
96
- "status": "t_j5va_status",
97
- "modeAsk": "t_j5va_modeAsk",
98
- "pwHistTime": "t_j5va_pwHistTime",
99
- "genOpts": "t_j5va_genOpts",
116
+ "resultCount": "t_j5va_resultCount",
100
117
  "rowDue": "t_j5va_rowDue",
101
- "emptyHint": "t_j5va_emptyHint",
102
- "tab": "t_j5va_tab",
103
- "tabPane": "t_j5va_tabPane",
104
- "histDanger": "t_j5va_histDanger",
105
- "revealButton": "t_j5va_revealButton",
106
- "auditIssues": "t_j5va_auditIssues",
107
- "deleteButton": "t_j5va_deleteButton",
108
- "pwWeak": "t_j5va_pwWeak",
109
- "scoreRing": "t_j5va_scoreRing",
110
- "pwHistPwd": "t_j5va_pwHistPwd",
111
- "reportTitle": "t_j5va_reportTitle",
112
- "lockedTag": "t_j5va_lockedTag",
113
- "rowMain": "t_j5va_rowMain",
114
- "srOnly": "t_j5va_srOnly",
115
- "saveButton": "t_j5va_saveButton",
116
- "bulkItem": "t_j5va_bulkItem",
117
- "moreButton": "t_j5va_moreButton",
118
- "clearButton": "t_j5va_clearButton",
119
- "emptyBox": "t_j5va_emptyBox",
120
- "pinOn": "t_j5va_pinOn",
121
- "healthBar": "t_j5va_healthBar",
122
- "healthSummary": "t_j5va_healthSummary",
123
- "pwHistRow": "t_j5va_pwHistRow"
118
+ "section": "t_j5va_section",
119
+ "moreWrap": "t_j5va_moreWrap",
120
+ "pinStar": "t_j5va_pinStar",
121
+ "genOpts": "t_j5va_genOpts",
122
+ "backupButton": "t_j5va_backupButton",
123
+ "histDanger": "t_j5va_histDanger"
124
124
  };
125
125
  //#endregion
126
126
  //#region src/client/VaultSection.tsx
package/lib/index.js CHANGED
@@ -1853,7 +1853,8 @@ export async function apply(ctx, config) {
1853
1853
  rows.push([esc(e.title), esc(e.url), esc(e.username ?? e.email), esc(e.password)]);
1854
1854
  }
1855
1855
  await mkdir(dirname(args.path), { recursive: true, mode: 0o700 });
1856
- await writeFile(args.path, rows.map(r => r.join(',')).join('\n') + '\n', { mode: 0o600 });
1856
+ // UTF-8 BOM so Excel (Windows) opens Chinese site/user names without mojibake.
1857
+ await writeFile(args.path, '\uFEFF' + rows.map(r => r.join(',')).join('\n') + '\n', { mode: 0o600 });
1857
1858
  return { path: args.path, count: rows.length - 1 };
1858
1859
  },
1859
1860
  }));
@@ -2011,7 +2012,8 @@ export async function apply(ctx, config) {
2011
2012
  rows.push([group, e.title, e.username ?? e.email ?? '', e.password ?? '', e.url ?? '', e.notes ?? ''].map(esc).join(','));
2012
2013
  }
2013
2014
  await mkdir(dirname(args.path), { recursive: true, mode: 0o700 });
2014
- await writeFile(args.path, rows.join('\n') + '\n', { mode: 0o600 });
2015
+ // UTF-8 BOM for Excel (Windows) Chinese compatibility.
2016
+ await writeFile(args.path, '\uFEFF' + rows.join('\n') + '\n', { mode: 0o600 });
2015
2017
  return { path: args.path, count: rows.length - 1 };
2016
2018
  },
2017
2019
  }));
@@ -3099,7 +3101,8 @@ export async function apply(ctx, config) {
3099
3101
  }
3100
3102
  const file = args.path ?? join(dirname(resolveVaultPath(config)), `vault-export-${Date.now()}.csv`);
3101
3103
  await mkdir(dirname(file), { recursive: true, mode: 0o700 });
3102
- await writeFile(file, lines.join('\n') + '\n', { mode: 0o600 });
3104
+ // UTF-8 BOM for Excel (Windows) Chinese compatibility.
3105
+ await writeFile(file, '\uFEFF' + lines.join('\n') + '\n', { mode: 0o600 });
3103
3106
  return { path: file, count: entries.length };
3104
3107
  },
3105
3108
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-vault",
3
- "version": "1.9.4-rc.3",
3
+ "version": "1.9.4",
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",