genshin-mods 4.3.2 → 4.3.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "genshin-mods",
3
- "version": "4.3.2",
3
+ "version": "4.3.3",
4
4
  "description": "A Claude Code plugin of mods: five under one band above the prompt (the next steps, the cache and usage with a one-click handoff, recording mode, a goal's task list and a question before editing a file another session just changed) a delegation guard that nudges a run of lookups toward a haiku agent, a disk-scan guard that refuses a Bash scan from a root or a home folder, and a whole-index guard that refuses a git command over the whole index while another session shares the checkout.",
5
5
  "keywords": [
6
6
  "claude-code",
@@ -36,5 +36,5 @@
36
36
  "test": "vitest",
37
37
  "validate": "claude plugin validate ."
38
38
  },
39
- "gitHead": "58d7f270fcb942d6ddf63c32deb29b67ba62f348"
39
+ "gitHead": "955bbc130ad9b28877fd4ae8efc73a045141ce01"
40
40
  }
@@ -5,5 +5,7 @@ import type { WardRecord } from "../../../types";
5
5
  import { parseRecords } from "./parseRecords";
6
6
 
7
7
  // The records as the file holds them, none when it does not yet exist
8
- export const readRecords = async ($: EngineInterface, path: string): Promise<Record<string, WardRecord>> =>
9
- (await $.fs.exists(path)) ? parseRecords(await $.fs.read(path)) : {};
8
+ // oxlint-disable-next-line func-style -- A declaration, not an arrow: the hooks module's bundle follows an imported helper that takes `$` only into a function declaration
9
+ export async function readRecords($: EngineInterface, path: string): Promise<Record<string, WardRecord>> {
10
+ return (await $.fs.exists(path)) ? parseRecords(await $.fs.read(path)) : {};
11
+ }
@@ -3,5 +3,7 @@ import type { EngineInterface } from "claude-code";
3
3
  import { getRecordsPath } from "./getRecordsPath";
4
4
 
5
5
  // The records file under the person's home folder, the home read from the engine's environment lookup
6
- export const resolveRecordsPath = async ($: EngineInterface): Promise<string> =>
7
- getRecordsPath((await $.env.get("HOME")) ?? (await $.env.get("USERPROFILE")) ?? "");
6
+ // oxlint-disable-next-line func-style -- A declaration, not an arrow: the hooks module's bundle follows an imported helper that takes `$` only into a function declaration
7
+ export async function resolveRecordsPath($: EngineInterface): Promise<string> {
8
+ return getRecordsPath((await $.env.get("HOME")) ?? (await $.env.get("USERPROFILE")) ?? "");
9
+ }