dsh-yanfield 0.1.1 → 0.1.2
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.en.md +7 -5
- package/README.md +7 -5
- package/dist/client.js +31 -31
- package/dist/host.js +10 -8
- package/package.json +1 -1
package/dist/host.js
CHANGED
|
@@ -17339,6 +17339,11 @@ var require_turndown_cjs = __commonJS({
|
|
|
17339
17339
|
|
|
17340
17340
|
// src/host.ts
|
|
17341
17341
|
import { randomUUID } from "node:crypto";
|
|
17342
|
+
|
|
17343
|
+
// package.json
|
|
17344
|
+
var version = "0.1.2";
|
|
17345
|
+
|
|
17346
|
+
// src/host.ts
|
|
17342
17347
|
import fs2 from "node:fs";
|
|
17343
17348
|
import os2 from "node:os";
|
|
17344
17349
|
import path4 from "node:path";
|
|
@@ -20961,7 +20966,7 @@ __export(core_exports2, {
|
|
|
20961
20966
|
validate: () => validate,
|
|
20962
20967
|
validateAsync: () => validateAsync,
|
|
20963
20968
|
validateURL: () => validateURL,
|
|
20964
|
-
version: () =>
|
|
20969
|
+
version: () => version2,
|
|
20965
20970
|
withParser: () => withParser
|
|
20966
20971
|
});
|
|
20967
20972
|
|
|
@@ -22985,7 +22990,7 @@ ${content.join("\n")}
|
|
|
22985
22990
|
};
|
|
22986
22991
|
|
|
22987
22992
|
// node_modules/zod/v4/core/versions.js
|
|
22988
|
-
var
|
|
22993
|
+
var version2 = {
|
|
22989
22994
|
major: 4,
|
|
22990
22995
|
minor: 6,
|
|
22991
22996
|
patch: 7
|
|
@@ -22997,7 +23002,7 @@ var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
|
22997
23002
|
inst ?? (inst = {});
|
|
22998
23003
|
inst._zod.def = def;
|
|
22999
23004
|
inst._zod.bag = inst._zod.bag || {};
|
|
23000
|
-
inst._zod.version =
|
|
23005
|
+
inst._zod.version = version2;
|
|
23001
23006
|
const defChecks = inst._zod.def.checks;
|
|
23002
23007
|
const checks = inst._zod.traits.has("$ZodCheck") ? [inst, ...defChecks ?? []] : defChecks?.length ? [...defChecks] : [];
|
|
23003
23008
|
for (const ch of checks) {
|
|
@@ -45827,9 +45832,6 @@ __export(route_exports44, {
|
|
|
45827
45832
|
});
|
|
45828
45833
|
import path3 from "node:path";
|
|
45829
45834
|
|
|
45830
|
-
// vendor/yanfield/package.json
|
|
45831
|
-
var version2 = "0.1.1";
|
|
45832
|
-
|
|
45833
45835
|
// vendor/yanfield/app/api/_lib/open-folder.ts
|
|
45834
45836
|
import { spawn } from "node:child_process";
|
|
45835
45837
|
function openFolder(dir, platform = process.platform) {
|
|
@@ -45850,7 +45852,7 @@ var dynamic43 = "force-dynamic";
|
|
|
45850
45852
|
function systemInfo() {
|
|
45851
45853
|
const dbPath = getDbPath();
|
|
45852
45854
|
return {
|
|
45853
|
-
version
|
|
45855
|
+
version,
|
|
45854
45856
|
schemaVersion: SCHEMA_VERSION,
|
|
45855
45857
|
dbPath,
|
|
45856
45858
|
dataDir: path3.dirname(dbPath),
|
|
@@ -46304,7 +46306,7 @@ function normalizeModels(value) {
|
|
|
46304
46306
|
}
|
|
46305
46307
|
function accountClientMetadata() {
|
|
46306
46308
|
return {
|
|
46307
|
-
version:
|
|
46309
|
+
version: `dsh-yanfield/${version}`,
|
|
46308
46310
|
locale: "zh-CN",
|
|
46309
46311
|
timezoneOffsetSeconds: -(/* @__PURE__ */ new Date()).getTimezoneOffset() * 60
|
|
46310
46312
|
};
|