@follenfang/wowdata 0.0.6 → 0.0.8

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/dist/SHA256SUMS CHANGED
@@ -1,5 +1,5 @@
1
- 9f128ef734763ff9e70240ea224fc7e7ab76364341a9b2a589a004824118eb51 dist/wowdata-darwin-amd64
2
- e195c0461a854d9e2f29476c3924d33978ef1c7248af14d841fdef7892ada6b0 dist/wowdata-darwin-arm64
3
- 494a58ac1f04b7464c019dad2e2e28f977b6f02e26ca4068c18f00c2decefcbd dist/wowdata-linux-amd64
4
- 34002378fc1eaaa3e306ea2ed07a1983669914a3143dfa91dc4921d2ee8d6b55 dist/wowdata-linux-arm64
5
- 2a1039729991bb92324d7d610f3625ba3239a5d3a3978779705c96a93026656e dist/wowdata-windows-amd64.exe
1
+ 79ea350a8115f35944fcd2cc9f05f433c43fecc778d0e024c3ef02861e3af356 dist/wowdata-darwin-amd64
2
+ 6b54c81e8bedce67bc381331d9d73f121ece7a3111214740d8c89a1b5778f1fa dist/wowdata-darwin-arm64
3
+ d2ad6f118efd32642f6269417a6eb181e3f4e58cead16a2761c091664fab9c2b dist/wowdata-linux-amd64
4
+ 9325a5353ae88a49453d67dab816c335a66fde38d46f585b0f458631bf943f45 dist/wowdata-linux-arm64
5
+ 17d96b435171e9922937fd18f64d421a40d366b04af78eaf024bf84dbb27bfe9 dist/wowdata-windows-amd64.exe
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@follenfang/wowdata",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "description": "Auditable CLI for querying World of Warcraft CASC and DB2 data",
5
5
  "license": "AGPL-3.0-or-later",
6
6
  "type": "commonjs",
@@ -18,10 +18,11 @@ Use the `wowdata` executable from `PATH`. This Skill is CLI-only: do not search
18
18
  Resolve the target before reading CASC or DB2 data.
19
19
 
20
20
  1. If the user gives a Profile, pass only `--profile <name>`; do not combine it with target flags.
21
- 2. Resolve product from the user's words or conversation context. Read [clients.yaml](references/clients.yaml) for aliases. Product has no default; if it remains ambiguous, ask one short product question before running a data command. Treat “硬核服” as a server rule and resolve its actual product from context.
22
- 3. Preserve every explicit source, path, region, product, Build, and locale. Read [locales.yaml](references/locales.yaml) for locale aliases.
23
- 4. If no source or local path is stated, use remote CDN. For an otherwise unspecified remote target, pass `--source remote --region cn --build latest --locale zhCN` plus the resolved product.
24
- 5. For `--source local`, require `--path <client>` and complete the remaining target fields explicitly; never guess missing local-client facts.
21
+ 2. Resolve product from the user's words or conversation context. Read [clients.yaml](references/clients.yaml) for the friendly names and the CDN product each one means. The CLI accepts CDN product IDs only and does not resolve those names, so translate the user's wording yourself before calling `--product`. Product has no default; if it remains ambiguous, ask one short product question before running a data command. Treat “硬核服” as a server rule and resolve its actual product from context.
22
+ 3. A product ID names a reusable slot, not a fixed game: `wow_classic_beta` held the MoP Classic beta (5.5.x) and holds WoW Forever (1.60.x) now, and a region may not list it at all. Never infer content from the product ID alone — read the label and version from `casc products --source remote --region <region>`, confirm they match what the user asked for, and state the product and version you used. Pin the Build when the result must stay reproducible.
23
+ 4. Preserve every explicit source, path, region, product, Build, and locale. Read [locales.yaml](references/locales.yaml) for locale aliases.
24
+ 5. If no source or local path is stated, use remote CDN. For an otherwise unspecified remote target, pass `--source remote --region cn --build latest --locale zhCN` plus the resolved product.
25
+ 6. For `--source local`, require `--path <client>` and complete the remaining target fields explicitly; never guess missing local-client facts.
25
26
 
26
27
  Never rely on CLI target defaults; the CLI intentionally has none. `--build latest` resolves at execution time and must not be hard-coded in this Skill.
27
28
 
@@ -1 +1 @@
1
- 0.0.6
1
+ 0.0.8
@@ -1,4 +1,15 @@
1
1
  schema: wowdata.clients.v1
2
+ # Friendly names a user may say, and the CDN product to pass to --product.
3
+ #
4
+ # The CLI accepts CDN product IDs only: it does not resolve these names, and a name
5
+ # passed to --product fails as an unknown product. Translate the user's wording to the
6
+ # product on the right yourself, pass that value, and state which product and version
7
+ # you actually used.
8
+ #
9
+ # A product ID names a reusable slot, not a fixed game. wow_classic_beta carried the
10
+ # Mists of Pandaria Classic beta (5.5.x) and carries WoW Forever (1.60.x) now, so never
11
+ # infer content from the ID alone: read the label and version from
12
+ # `casc products --source remote --region <region>` and confirm before reporting.
2
13
  clients:
3
14
  retail: wow
4
15
  ptr: wowt
@@ -11,9 +22,10 @@ clients:
11
22
  classic-ptr: wow_classic_ptr
12
23
  "怀旧服 PTR": wow_classic_ptr
13
24
  怀旧服测试服: wow_classic_ptr
14
- classic-beta: wow_classic_beta
25
+ # WoW Forever runs on the classic beta slot as of 1.60.x.
15
26
  forever: wow_classic_beta
16
27
  classic-plus: wow_classic_beta
28
+ classic-beta: wow_classic_beta
17
29
  classic-era: wow_classic_era
18
30
  怀中怀: wow_classic_era
19
31
  "60级": wow_classic_era
@@ -24,6 +36,14 @@ clients:
24
36
  泰坦服: wow_classic_titan
25
37
  泰坦重铸: wow_classic_titan
26
38
  时光服: wow_classic_titan
39
+ regionalNotes:
40
+ # Not naming rules, but they explain failures that otherwise look like bad data.
41
+ wow_classic_titan:
42
+ regions: [cn]
43
+ instruction: Listed for cn only. WoWDBDefs has no structure for its Build either, so a DB2 read fails with "no DBD structure for table <table>"; report that as missing definitions, not as missing data.
44
+ wow_classic_beta:
45
+ regions: [us]
46
+ instruction: Not listed for cn. Use --region us, or report that the region does not carry the slot.
27
47
  contextualAliases:
28
48
  硬核服:
29
49
  type: realm-rule
@@ -16,6 +16,10 @@ or a complete target:
16
16
 
17
17
  Use `--source local --path <client>` plus explicit region, product, Build, and locale for a local client.
18
18
 
19
+ `--product` takes the CDN product ID (for example `wow_classic_beta`). The CLI does not resolve friendly names, so translate the user's wording with [clients.yaml](clients.yaml) first. Because a product ID names a slot rather than a fixed game, confirm what the slot currently carries from `casc products` before reporting data.
20
+
21
+ A remote target is only valid for the region that lists it. Confirm with `casc products --source remote --region <region>` before concluding that data is missing.
22
+
19
23
  ## Discovery And Preparation
20
24
 
21
25
  | Intent | Command |