First upload version 0.0.1

This commit is contained in:
Neyra
2026-02-05 15:27:49 +08:00
commit 8e9b7201ed
4182 changed files with 593136 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
export declare class InvalidGgufMagicError extends Error {
constructor(expectedGgufMagic: string, actualGgufMagic: string);
}

View File

@@ -0,0 +1,6 @@
export class InvalidGgufMagicError extends Error {
constructor(expectedGgufMagic, actualGgufMagic) {
super(`Invalid GGUF magic. Expected "${expectedGgufMagic}" but got "${actualGgufMagic}".`);
}
}
//# sourceMappingURL=InvalidGgufMagicError.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"InvalidGgufMagicError.js","sourceRoot":"","sources":["../../../src/gguf/errors/InvalidGgufMagicError.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,qBAAsB,SAAQ,KAAK;IAC5C,YAAmB,iBAAyB,EAAE,eAAuB;QACjE,KAAK,CAAC,iCAAiC,iBAAiB,cAAc,eAAe,IAAI,CAAC,CAAC;IAC/F,CAAC;CACJ"}

View File

@@ -0,0 +1,4 @@
export declare class UnsupportedGgufValueTypeError extends Error {
readonly ggufValueType: number;
constructor(ggufValueType: number);
}

View File

@@ -0,0 +1,9 @@
export class UnsupportedGgufValueTypeError extends Error {
ggufValueType;
constructor(ggufValueType) {
super(`Unsupported GGUF value type "${ggufValueType}"`);
Object.defineProperty(this, "ggufValueType", { enumerable: false });
this.ggufValueType = ggufValueType;
}
}
//# sourceMappingURL=UnsupportedGgufValueTypeError.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"UnsupportedGgufValueTypeError.js","sourceRoot":"","sources":["../../../src/gguf/errors/UnsupportedGgufValueTypeError.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,6BAA8B,SAAQ,KAAK;IACpC,aAAa,CAAS;IAEtC,YAAmB,aAAqB;QACpC,KAAK,CAAC,gCAAgC,aAAa,GAAG,CAAC,CAAC;QAExD,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,eAAoC,EAAE,EAAC,UAAU,EAAE,KAAK,EAAC,CAAC,CAAC;QAEvF,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;CACJ"}