@onimaxxing/sussy-seeds-mcp 0.1.6 → 0.2.1

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.
Files changed (4) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +8 -1
  3. package/dist/index.js +99571 -1030
  4. package/package.json +4 -4
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2026 onimaxxing
3
+ Copyright (c) 2026 i must onimaxx. i MuSt oNiMaXx! I MUST ONIMAXX!!! onimaxxing.com
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -90,7 +90,12 @@ Streams `notifications/progress` when the client sends `_meta.progressToken`. Ca
90
90
  - `scanUntil({coord, spec, targetHits, opts?})`: stops at N matches.
91
91
  - `scanSeeds({coord, spec, seeds})`: one row per input seed.
92
92
 
93
- `spec.preHook` and `spec.postHook` accept raw JS. Reserved-identifier guard rejects sources that shadow the Builder emit's bindings.
93
+ `spec.preHook` and `spec.postHook` accept raw JS and are async-first (since 0.2.0):
94
+
95
+ - Top-level `await worldgen()` works in both hooks; an async preHook's `return { pass: false }` gates the seed, and a rejection (e.g. a gen-failure seed) drops the seed instead of crashing anything.
96
+ - Put cheap summary checks (`hasTrait(summary, findHomeIdx(summary), 'GeoActive')`) before the first `await` so rejected seeds never pay the ~350ms worldgen cost.
97
+ - `scratch` is a per-seed `{}` shared by both hooks: compute in the preHook, then set `score = scratch.whatever` in the postHook to rank results through the normal score channel.
98
+ - Reserved-identifier guard rejects sources that shadow the Builder emit's bindings.
94
99
 
95
100
  ### Inspection
96
101
 
@@ -105,6 +110,8 @@ Streams `notifications/progress` when the client sends `_meta.progressToken`. Ca
105
110
  ### Diagnostics
106
111
 
107
112
  - `ping()`
113
+ - `probeSummarize({coord, seed?})`: boots the wasm and returns one
114
+ seed's full ClusterSummary — end-to-end scanner smoke test.
108
115
  - `probeStreaming({steps, delayMs})`
109
116
 
110
117
  ## Constraint kinds