playlist-data-engine 1.7.3 → 1.8.0
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/README.md +14 -0
- package/bin/cli.cjs +85 -0
- package/dist/gateway-CDMPqFEH.js +1320 -0
- package/dist/gateway-DKa45Uz6.cjs +6 -0
- package/dist/gateway.d.ts +1 -0
- package/dist/gateway.d.ts.map +1 -1
- package/dist/gateway.js +1 -1
- package/dist/gateway.mjs +22 -19
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/playlist-data-engine.js +4 -4
- package/dist/playlist-data-engine.mjs +30 -27
- package/dist/utils/engineDocs.d.ts +33 -0
- package/dist/utils/engineDocs.d.ts.map +1 -0
- package/docs/DATA_ENGINE_REFERENCE.md +6660 -0
- package/docs/USAGE_IN_OTHER_PROJECTS.md +587 -0
- package/docs/features/AUDIO_ANALYSIS.md +610 -0
- package/docs/features/BEAT_DETECTION.md +5250 -0
- package/docs/features/COMBAT_SYSTEM.md +1632 -0
- package/docs/features/CONTENT_PACKS.md +464 -0
- package/docs/features/CUSTOM_CONTENT.md +603 -0
- package/docs/features/ENEMY_GENERATION.md +1711 -0
- package/docs/features/EQUIPMENT_SYSTEM.md +2279 -0
- package/docs/features/EXTENSIBILITY_GUIDE.md +1106 -0
- package/docs/features/GATEWAY_RESOLUTION.md +725 -0
- package/docs/features/IRL_SENSORS.md +360 -0
- package/docs/features/PLAYLIST_PARSING.md +446 -0
- package/docs/features/PREREQUISITES.md +571 -0
- package/docs/features/ROLLS_AND_SEEDS.md +687 -0
- package/docs/features/XP_AND_STATS.md +1221 -0
- package/llms.txt +33 -0
- package/package.json +9 -2
- package/skills/playlist-data-engine/SKILL.md +69 -0
- package/dist/gateway-C_p9Ku3O.js +0 -1211
- package/dist/gateway-Ceg-5xug.cjs +0 -1
|
@@ -2,8 +2,8 @@ import { d as an, h as sn, l as Fi, n as nn, o as rn, p as on, q as ln, s as cn,
|
|
|
2
2
|
import { A as Hp, C as zp, E as qp, F as Up, k as jp, B as Gp, j as Vp, H as Zp, I as Yp, J as Xp, D as Kp, K as Jp, L as Qp, M as em, N as tm, O as am, Q as im, T as sm, U as nm, V as rm, e as om, W as lm, X as cm, Y as um, Z as dm, _ as hm, $ as pm, G as mm, a0 as gm, a1 as fm, a2 as ym, a3 as vm, a4 as bm, a5 as wm, a6 as Sm, a7 as _m, a8 as km, a9 as Am, aa as Tm, ab as Cm, ac as Im, ad as Mm, ae as Em, P as Dm, af as Rm, R as xm, ag as Pm, ah as $m, ai as Nm, S as Om, aj as Bm, ak as Lm, al as Fm, am as Wm, an as Hm, a as zm, ao as qm, ap as Um, aq as jm, ar as Gm, as as Vm, at as Zm, au as Ym, av as Xm, aw as Km, ax as Jm, ay as Qm, az as eg, aA as tg, aB as ag, aC as ig, aD as sg, aE as ng, aF as rg, aG as og, aH as lg, aI as cg, aJ as ug, aK as dg, aL as hg, aM as pg, aN as mg, aO as gg, aP as fg, aQ as yg, aR as vg, aS as bg, aT as wg, i as Sg, aU as _g, f as kg, aV as Ag, aW as Tg, aX as Cg, b as Ig, aY as Mg, m as Eg, aZ as Dg, a_ as Rg, a$ as xg, b0 as Pg, r as $g, v as Ng, b1 as Og, b2 as Bg, b3 as Lg, b4 as Fg, b5 as Wg, b6 as Hg } from "./unifyBeatMap-k6vw_JPQ.js";
|
|
3
3
|
import { a as wt, L as ye } from "./arweaveGatewayManager-DDSO5sLJ.js";
|
|
4
4
|
import { A as qg, D as Ug, K as jg, b as Gg, c as Vg, d as Zg, g as Yg, i as Xg, p as Kg } from "./arweaveGatewayManager-DDSO5sLJ.js";
|
|
5
|
-
import { M as ge, g as gn, r as fn } from "./gateway-
|
|
6
|
-
import { D as Qg,
|
|
5
|
+
import { M as ge, g as gn, r as fn } from "./gateway-CDMPqFEH.js";
|
|
6
|
+
import { D as Qg, E as ef, a as tf, K as af, e as sf, b as nf, c as rf, f as of, d as lf, h as cf, i as uf, j as df, k as hf, l as pf, m as mf, n as gf, o as ff, p as yf, q as vf, s as bf, t as wf, u as Sf, v as _f, w as kf, x as Af, y as Tf, z as Cf, A as If, B as Mf } from "./gateway-CDMPqFEH.js";
|
|
7
7
|
const yn = {
|
|
8
8
|
0: "",
|
|
9
9
|
1: "I",
|
|
@@ -31608,6 +31608,8 @@ export {
|
|
|
31608
31608
|
um as EASY_QUARTER_NOTE_BPM,
|
|
31609
31609
|
S as ENCHANTMENT_LIBRARY,
|
|
31610
31610
|
Da as ENEMY_COUNT_MULTIPLIER,
|
|
31611
|
+
ef as ENGINE_DOC_ARCHIVE,
|
|
31612
|
+
tf as ENGINE_DOC_TOPICS,
|
|
31611
31613
|
es as EXPECTED_WIN_RATES,
|
|
31612
31614
|
ve as EnchantmentLibrary,
|
|
31613
31615
|
it as EnemyGenerator,
|
|
@@ -31635,7 +31637,7 @@ export {
|
|
|
31635
31637
|
oa as ITEM_CREATION_TEMPLATES,
|
|
31636
31638
|
kn as InitiativeRoller,
|
|
31637
31639
|
jg as KNOWN_GATEWAY_HOSTS,
|
|
31638
|
-
|
|
31640
|
+
af as KNOWN_IPFS_GATEWAY_HOSTS,
|
|
31639
31641
|
ke as LevelUpProcessor,
|
|
31640
31642
|
Gg as LogLevel,
|
|
31641
31643
|
ye as Logger,
|
|
@@ -31747,6 +31749,7 @@ export {
|
|
|
31747
31749
|
Js as displayEnvironmentalDiagnostics,
|
|
31748
31750
|
Qs as displayGamingDiagnostics,
|
|
31749
31751
|
jd as displaySystemDashboard,
|
|
31752
|
+
sf as engineHelp,
|
|
31750
31753
|
Uh as ensureAllDefaultsInitialized,
|
|
31751
31754
|
xs as ensureAppearanceDefaultsInitialized,
|
|
31752
31755
|
Ws as ensureClassDefaultsInitialized,
|
|
@@ -31756,11 +31759,11 @@ export {
|
|
|
31756
31759
|
Bs as ensureRaceDefaultsInitialized,
|
|
31757
31760
|
hd as ensureSkillDefaultsInitialized,
|
|
31758
31761
|
ia as ensureSpellDefaultsInitialized,
|
|
31759
|
-
|
|
31760
|
-
|
|
31762
|
+
nf as evaluateMixConditions,
|
|
31763
|
+
rf as extractIPFSPath,
|
|
31761
31764
|
ap as extractKeyMap,
|
|
31762
31765
|
Ym as findActiveSegment,
|
|
31763
|
-
|
|
31766
|
+
of as findMixByName,
|
|
31764
31767
|
Xm as gaussianSmooth,
|
|
31765
31768
|
Km as generateSeed,
|
|
31766
31769
|
pn as getAccuracyThresholdsForPreset,
|
|
@@ -31769,8 +31772,8 @@ export {
|
|
|
31769
31772
|
Yg as getAllGatewayUrls,
|
|
31770
31773
|
Fn as getAllRarities,
|
|
31771
31774
|
Jm as getAllowedGridTypes,
|
|
31772
|
-
|
|
31773
|
-
|
|
31775
|
+
lf as getArtists,
|
|
31776
|
+
cf as getAudioUrls,
|
|
31774
31777
|
Cn as getAveragePartyLevel,
|
|
31775
31778
|
Hi as getCRFromXP,
|
|
31776
31779
|
Vi as getClassData,
|
|
@@ -31785,15 +31788,15 @@ export {
|
|
|
31785
31788
|
Cp as getEnchantmentsByType,
|
|
31786
31789
|
kt as getEncounterMultiplier,
|
|
31787
31790
|
xh as getFeatureQuery,
|
|
31788
|
-
|
|
31791
|
+
uf as getFullTracks,
|
|
31789
31792
|
ag as getGaussianSmoothMs,
|
|
31790
|
-
|
|
31793
|
+
df as getGenres,
|
|
31791
31794
|
cn as getGroovePenaltiesForPreset,
|
|
31792
31795
|
Bt as getGrooveTier,
|
|
31793
31796
|
un as getGrooveWindowMs,
|
|
31794
31797
|
dh as getHigherRarity,
|
|
31795
31798
|
ig as getHopSizeMs,
|
|
31796
|
-
|
|
31799
|
+
hf as getImageUrls,
|
|
31797
31800
|
Bp as getItemsWithProperty,
|
|
31798
31801
|
np as getKeyCount,
|
|
31799
31802
|
Pp as getMagicItem,
|
|
@@ -31802,8 +31805,8 @@ export {
|
|
|
31802
31805
|
sg as getMelBands,
|
|
31803
31806
|
ng as getMetricGroupSize,
|
|
31804
31807
|
rg as getMinHotnessForTier,
|
|
31805
|
-
|
|
31806
|
-
|
|
31808
|
+
pf as getMixTracks,
|
|
31809
|
+
mf as getMixes,
|
|
31807
31810
|
og as getPatternById,
|
|
31808
31811
|
lg as getPatternLibrary,
|
|
31809
31812
|
cg as getPatternLibraryStats,
|
|
@@ -31811,7 +31814,7 @@ export {
|
|
|
31811
31814
|
dg as getPatternsByDifficulty,
|
|
31812
31815
|
hg as getPatternsByKeyCount,
|
|
31813
31816
|
pg as getPatternsByTags,
|
|
31814
|
-
|
|
31817
|
+
gf as getPreferredMixByQuality,
|
|
31815
31818
|
ua as getRaceData,
|
|
31816
31819
|
Rh as getRaceDataAsync,
|
|
31817
31820
|
mg as getRandomPattern,
|
|
@@ -31823,21 +31826,21 @@ export {
|
|
|
31823
31826
|
Eh as getSpellQuery,
|
|
31824
31827
|
Yi as getSpellSlotsForClass,
|
|
31825
31828
|
on as getSubdivisionDensity,
|
|
31826
|
-
|
|
31829
|
+
ff as getTags,
|
|
31827
31830
|
oh as getTemplateById,
|
|
31828
31831
|
ch as getTemplatesByArchetype,
|
|
31829
31832
|
lh as getTemplatesByCategory,
|
|
31830
31833
|
yg as getTempoAwareAllowedGridTypes,
|
|
31831
|
-
|
|
31832
|
-
|
|
31834
|
+
yf as getTotalDuration,
|
|
31835
|
+
vf as getTrackCount,
|
|
31833
31836
|
gn as getTrackExtras,
|
|
31834
|
-
|
|
31835
|
-
|
|
31836
|
-
|
|
31837
|
-
|
|
31837
|
+
bf as getTrackMetadata,
|
|
31838
|
+
wf as getTrackTitles,
|
|
31839
|
+
Sf as getTracks,
|
|
31840
|
+
_f as getUniqueMixes,
|
|
31838
31841
|
rp as getUsedKeys,
|
|
31839
|
-
|
|
31840
|
-
|
|
31842
|
+
kf as getVRMTracks,
|
|
31843
|
+
Af as getVRMs,
|
|
31841
31844
|
ca as getXPBudgetForParty,
|
|
31842
31845
|
Tn as getXPBudgetPerLevel,
|
|
31843
31846
|
Wi as getXPForCR,
|
|
@@ -31858,7 +31861,7 @@ export {
|
|
|
31858
31861
|
Xg as isArweaveUrl,
|
|
31859
31862
|
Sg as isFullBeatMapExportData,
|
|
31860
31863
|
_g as isGridTypeAllowed,
|
|
31861
|
-
|
|
31864
|
+
Tf as isIPFS,
|
|
31862
31865
|
kg as isLevelPackExport,
|
|
31863
31866
|
Ag as isMetricStrongBeat,
|
|
31864
31867
|
Tg as isMetricWeakBeat,
|
|
@@ -31885,10 +31888,10 @@ export {
|
|
|
31885
31888
|
xg as performSTFT,
|
|
31886
31889
|
Pg as reapplyDownbeatConfig,
|
|
31887
31890
|
$g as resampleAudio,
|
|
31888
|
-
|
|
31889
|
-
|
|
31891
|
+
Cf as resolveIPFSLink,
|
|
31892
|
+
If as resolveMixUrl,
|
|
31890
31893
|
fn as resolveSelectedMix,
|
|
31891
|
-
|
|
31894
|
+
Mf as selectMix,
|
|
31892
31895
|
Oh as shouldAccuracyBreakCombo,
|
|
31893
31896
|
Qh as subdivideBeatMap,
|
|
31894
31897
|
wn as toPrestigeLevel,
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export interface EngineDocTopic {
|
|
2
|
+
/** Slug accepted by engineHelp(topic) and `npx playlist-data-engine docs <topic>` */
|
|
3
|
+
slug: string;
|
|
4
|
+
/** File path relative to the package root */
|
|
5
|
+
file: string;
|
|
6
|
+
summary: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const ENGINE_DOC_TOPICS: readonly EngineDocTopic[];
|
|
9
|
+
/**
|
|
10
|
+
* Timestamped Arweave snapshots of docs/, newest last. Arweave TXs are
|
|
11
|
+
* immutable, so every entry stays addressable forever — re-uploading after a
|
|
12
|
+
* docs change adds a new entry and never retires the old ones. Append the
|
|
13
|
+
* paste-ready output of `node scripts/upload-docs.cjs <wallet.json> --yes`.
|
|
14
|
+
*/
|
|
15
|
+
export interface EngineDocArchiveEntry {
|
|
16
|
+
/** Engine version the docs describe */
|
|
17
|
+
version: string;
|
|
18
|
+
/** ISO timestamp of the upload */
|
|
19
|
+
uploadedAt: string;
|
|
20
|
+
/** docs/-relative path → Turbo transaction id */
|
|
21
|
+
files: Record<string, string>;
|
|
22
|
+
}
|
|
23
|
+
export declare const ENGINE_DOC_ARCHIVE: readonly EngineDocArchiveEntry[];
|
|
24
|
+
/**
|
|
25
|
+
* Self-describing docs entry point: the doc index, one topic's location, or
|
|
26
|
+
* the Claude Code skill file. Inlined content only — safe in browsers and
|
|
27
|
+
* always version-matched to the installed package.
|
|
28
|
+
*
|
|
29
|
+
* @param topic - Omit for the doc index; a topic slug (or alias) for one doc's
|
|
30
|
+
* location; `'skill'` for the SKILL.md contents.
|
|
31
|
+
*/
|
|
32
|
+
export declare function engineHelp(topic?: string): string;
|
|
33
|
+
//# sourceMappingURL=engineDocs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"engineDocs.d.ts","sourceRoot":"","sources":["../../src/utils/engineDocs.ts"],"names":[],"mappings":"AASA,MAAM,WAAW,cAAc;IAC3B,qFAAqF;IACrF,IAAI,EAAE,MAAM,CAAC;IACb,6CAA6C;IAC7C,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,iBAAiB,EAAE,SAAS,cAAc,EAiBtD,CAAC;AAYF;;;;;GAKG;AACH,MAAM,WAAW,qBAAqB;IAClC,uCAAuC;IACvC,OAAO,EAAE,MAAM,CAAC;IAChB,kCAAkC;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,iDAAiD;IACjD,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACjC;AAED,eAAO,MAAM,kBAAkB,EAAE,SAAS,qBAAqB,EAuB9D,CAAC;AAqEF;;;;;;;GAOG;AACH,wBAAgB,UAAU,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAIjD"}
|