@laplace.live/persona-sdk 0.16.0 → 0.17.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.
@@ -37,6 +37,9 @@ export declare function sceneLightShadowRadiusMax(type: SceneLightType): number;
37
37
  export declare const SCENE_FOG_DENSITY_MAX = 0.5;
38
38
  /** ×4 is +2 stops — enough to rescue an AgX-dimmed avatar without turning the slider to mush. */
39
39
  export declare const SCENE_EXPOSURE_MAX = 4;
40
+ /** Vertical field of view in degrees; the band either side of a portrait lens, before the framing distorts. */
41
+ export declare const SCENE_FOV_MIN = 10;
42
+ export declare const SCENE_FOV_MAX = 90;
40
43
  export declare const MTOON_NORMAL_SCALE_MAX = 2;
41
44
  export declare const MTOON_RIM_MAX = 2;
42
45
  /** ×0 flattens the Fresnel to a flood fill, ×4 tightens a default power-5 rim to a hairline. */
@@ -52,6 +52,9 @@ export function sceneLightShadowRadiusMax(type) {
52
52
  export const SCENE_FOG_DENSITY_MAX = 0.5;
53
53
  /** ×4 is +2 stops — enough to rescue an AgX-dimmed avatar without turning the slider to mush. */
54
54
  export const SCENE_EXPOSURE_MAX = 4;
55
+ /** Vertical field of view in degrees; the band either side of a portrait lens, before the framing distorts. */
56
+ export const SCENE_FOV_MIN = 10;
57
+ export const SCENE_FOV_MAX = 90;
55
58
  export const MTOON_NORMAL_SCALE_MAX = 2;
56
59
  export const MTOON_RIM_MAX = 2;
57
60
  /** ×0 flattens the Fresnel to a flood fill, ×4 tightens a default power-5 rim to a hairline. */
@@ -857,6 +857,7 @@ export type EffectsQuality = (typeof EFFECTS_QUALITY_LEVELS)[number];
857
857
  export declare const FPS_LIMIT_PRESETS: readonly [0, 15, 30, 60, 90];
858
858
  /** The curated settings surface the API exposes — never the raw store shape. */
859
859
  export interface Settings {
860
+ /** `alwaysOnTop` floats the control-panel window, never the stage. */
860
861
  window: {
861
862
  alwaysOnTop: boolean;
862
863
  };
@@ -896,8 +897,8 @@ export interface SettingsPatch {
896
897
  effectsQuality?: EffectsQuality;
897
898
  };
898
899
  }
899
- /** VTS's input vocabulary — the valid `id`s for `input` inject targets (and the names a model's `.vtube.json` references). */
900
- export declare const INPUT_NAMES: readonly ["FaceAngleX", "FaceAngleY", "FaceAngleZ", "FacePositionX", "FacePositionY", "FacePositionZ", "EyeOpenLeft", "EyeOpenRight", "EyeLeftX", "EyeLeftY", "EyeRightX", "EyeRightY", "Brows", "BrowLeftY", "BrowRightY", "MouthSmile", "MouthOpen", "MouthX", "CheekPuff", "JawOpen", "TongueOut", "MouthPucker", "MouthFunnel", "MouthShrug", "MouthPress"];
900
+ /** VTS's input vocabulary plus the VBridger-standard extras — the valid `id`s for `input` inject targets (and the names a model's `.vtube.json` references). */
901
+ export declare const INPUT_NAMES: readonly ["FaceAngleX", "FaceAngleY", "FaceAngleZ", "FacePositionX", "FacePositionY", "FacePositionZ", "EyeOpenLeft", "EyeOpenRight", "EyeLeftX", "EyeLeftY", "EyeRightX", "EyeRightY", "Brows", "BrowLeftY", "BrowRightY", "MouthSmile", "MouthOpen", "MouthX", "CheekPuff", "JawOpen", "JawX", "TongueOut", "MouthPucker", "MouthFunnel", "MouthShrug", "MouthPress", "MouthPressLipOpen"];
901
902
  export type InputName = (typeof INPUT_NAMES)[number];
902
903
  /**
903
904
  * What an injected value drives:
@@ -46,7 +46,7 @@ export const EFFECTS_QUALITY_LEVELS = ['low', 'medium', 'high'];
46
46
  */
47
47
  export const FPS_LIMIT_PRESETS = [0, 15, 30, 60, 90];
48
48
  // ---- Injection -----------------------------------------------------------------
49
- /** VTS's input vocabulary — the valid `id`s for `input` inject targets (and the names a model's `.vtube.json` references). */
49
+ /** VTS's input vocabulary plus the VBridger-standard extras — the valid `id`s for `input` inject targets (and the names a model's `.vtube.json` references). */
50
50
  export const INPUT_NAMES = [
51
51
  'FaceAngleX',
52
52
  'FaceAngleY',
@@ -68,9 +68,11 @@ export const INPUT_NAMES = [
68
68
  'MouthX',
69
69
  'CheekPuff',
70
70
  'JawOpen',
71
+ 'JawX',
71
72
  'TongueOut',
72
73
  'MouthPucker',
73
74
  'MouthFunnel',
74
75
  'MouthShrug',
75
76
  'MouthPress',
77
+ 'MouthPressLipOpen',
76
78
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@laplace.live/persona-sdk",
3
- "version": "0.16.0",
3
+ "version": "0.17.0",
4
4
  "description": "TypeScript SDK and wire schema for the LAPLACE Persona plugin API",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -48,7 +48,7 @@
48
48
  "node": ">=22"
49
49
  },
50
50
  "dependencies": {
51
- "zod": "^4.4.3"
51
+ "zod": "^4.5.2"
52
52
  },
53
53
  "scripts": {
54
54
  "build": "rimraf dist && tsc -p tsconfig.build.json",