needle-cloud 2.4.1 → 2.4.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/dist/cli.esm.js CHANGED
@@ -1 +1 @@
1
- import"node-fetch";import"@web-std/file";import"node:crypto";import"@caporal/core";import"fs";export{p as program}from"./cli-517295c7.js";import"dotenv";import"ora";import"open";import"crypto";import"buffer";import"path";import"node:fs";import"node:fs/promises";import"node:os";import"node:path";import"util";import"stream";import"http";import"https";import"url";import"assert";import"tty";import"os";import"zlib";import"events";import"node:readline/promises";import"@logto/node";import"node:readline";import"node:stream";import"node:zlib";import"express";import"ws";import"child_process";import"minimatch";import"body-parser";import"node:child_process";
1
+ import"node-fetch";import"@web-std/file";import"node:crypto";import"@caporal/core";import"fs";export{p as program}from"./cli-9be7ad8e.js";import"dotenv";import"ora";import"open";import"crypto";import"buffer";import"path";import"node:fs";import"node:fs/promises";import"node:os";import"node:path";import"util";import"stream";import"http";import"https";import"url";import"assert";import"tty";import"os";import"zlib";import"events";import"node:readline/promises";import"@logto/node";import"node:readline";import"node:stream";import"node:zlib";import"express";import"ws";import"child_process";import"minimatch";import"body-parser";import"node:child_process";
@@ -1 +1 @@
1
- import{existsSync as o,readdirSync as t,statSync as r}from"node:fs";import{dirname as i,join as e}from"node:path";import{g as n}from"./cli-517295c7.js";import"node-fetch";import"@web-std/file";import"node:crypto";import"@caporal/core";import"fs";import"open";import"crypto";import"buffer";import"path";import"ora";import"node:fs/promises";import"node:os";import"util";import"stream";import"http";import"https";import"url";import"assert";import"tty";import"os";import"zlib";import"events";import"node:readline/promises";import"dotenv";import"@logto/node";import"node:readline";import"node:stream";import"node:zlib";import"express";import"ws";import"child_process";import"minimatch";import"body-parser";import"node:child_process";function p(){var p;let m;try{m=n()}catch{return null}const l=null==(p=m)||null==(p=p.entries)?void 0:p[0];if(!l)return null;if(!l.log_location)return null;if("unity"!==l.editor&&"blender"!==l.editor)return null;if(!o(l.log_location))return null;const s=l.log_location,c=function(o,i){const n=new Set([i]);try{for(const i of t(o)){if(!i.toLowerCase().endsWith(".log"))continue;const t=e(o,i);try{if(!r(t).isFile())continue}catch{continue}n.add(t)}}catch{}return[...n]}(i(s),s);return{editor:l.editor,path:s,paths:c}}export{p as findActiveEditorLog};
1
+ import{existsSync as o,readdirSync as t,statSync as r}from"node:fs";import{dirname as i,join as e}from"node:path";import{g as n}from"./cli-9be7ad8e.js";import"node-fetch";import"@web-std/file";import"node:crypto";import"@caporal/core";import"fs";import"open";import"crypto";import"buffer";import"path";import"ora";import"node:fs/promises";import"node:os";import"util";import"stream";import"http";import"https";import"url";import"assert";import"tty";import"os";import"zlib";import"events";import"node:readline/promises";import"dotenv";import"@logto/node";import"node:readline";import"node:stream";import"node:zlib";import"express";import"ws";import"child_process";import"minimatch";import"body-parser";import"node:child_process";function p(){var p;let m;try{m=n()}catch{return null}const l=null==(p=m)||null==(p=p.entries)?void 0:p[0];if(!l)return null;if(!l.log_location)return null;if("unity"!==l.editor&&"blender"!==l.editor)return null;if(!o(l.log_location))return null;const s=l.log_location,c=function(o,i){const n=new Set([i]);try{for(const i of t(o)){if(!i.toLowerCase().endsWith(".log"))continue;const t=e(o,i);try{if(!r(t).isFile())continue}catch{continue}n.add(t)}}catch{}return[...n]}(i(s),s);return{editor:l.editor,path:s,paths:c}}export{p as findActiveEditorLog};
package/dist/index.d.ts CHANGED
@@ -642,8 +642,8 @@ declare const CONTENT_TYPES: readonly ["3d-asset", "material", "deployment", "hd
642
642
  type ContentType = typeof CONTENT_TYPES[number];
643
643
 
644
644
  /** All known content formats. Runtime array for validation. */
645
- declare const CONTENT_FORMATS: readonly ["glb", "gltf", "usd", "usda", "usdz", "obj", "fbx", "vrm", "stl", "textures", "html", "exr", "pmrem"];
646
- /** File format — e.g. `glb`, `usdz`, `gltf`, `exr` (HDRI source), `pmrem` (engine-ready HDRI KTX2). */
645
+ declare const CONTENT_FORMATS: readonly ["glb", "gltf", "usd", "usda", "usdz", "obj", "fbx", "vrm", "stl", "ply", "splat", "spz", "ksplat", "sog", "sogs", "textures", "html", "exr", "hdr", "pmrem"];
646
+ /** File format — e.g. `glb`, `usdz`, `gltf`, `ply`/`splat`/`spz`/`ksplat`/`sog` (Gaussian splats), `exr` (HDRI source), `pmrem` (engine-ready HDRI KTX2). */
647
647
  type ContentFormat = typeof CONTENT_FORMATS[number];
648
648
  // #endregion
649
649