rig-review 4.9.0 → 4.10.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/docs/DESIGN.md +4 -4
- package/docs/REVIEW_PACKAGE.md +90 -16
- package/docs/STABILITY.md +100 -3
- package/package.json +2 -2
- package/src/chest-landmarks.ts +9 -4
- package/src/compare-html.ts +1 -1
- package/src/feedback-export.ts +2 -2
- package/src/feedback-validation.ts +11 -6
- package/src/frame-clock.ts +20 -4
- package/src/job-act.ts +60 -71
- package/src/job-api.ts +286 -40
- package/src/job-cli.ts +3 -2
- package/src/job-contract.ts +92 -5
- package/src/job-front.ts +19 -8
- package/src/job-host.ts +7 -1
- package/src/job-session.ts +136 -26
- package/src/job-source.ts +109 -14
- package/src/job-store.ts +7 -4
- package/src/manifest.ts +59 -7
- package/src/rebuild.ts +1 -1
- package/src/session.ts +9 -4
- package/src/stage-comment.ts +2 -1
- package/web/catalog-en.ts +26 -6
- package/web/catalog-ko.ts +49 -29
- package/web/chest-editor.ts +236 -31
- package/web/compare.css +2 -2
- package/web/i18n.ts +1 -3
- package/web/inspection-persistence.ts +19 -6
- package/web/interview-panel.ts +13 -80
- package/web/job-rig-screen.ts +59 -33
- package/web/job-session.ts +175 -40
- package/web/label-placement.ts +25 -8
- package/web/main.ts +314 -89
- package/web/part-selection.ts +2 -1
- package/web/parts-viewport-provider.ts +19 -6
- package/web/rebuild-client.ts +2 -4
- package/web/rig-host.ts +5 -4
- package/web/rig-overlays.ts +3 -2
- package/web/rig-viewport-provider.ts +6 -1
- package/web/stage-comments.ts +22 -21
- package/web/styles.css +21 -49
- package/web/workspace-layout.ts +4 -4
- package/web/workspace-ui.ts +5 -3
package/src/job-store.ts
CHANGED
|
@@ -370,11 +370,13 @@ export class JobStore<Data> {
|
|
|
370
370
|
readonly active?: boolean;
|
|
371
371
|
readonly snapshot?: JobSnapshotOwner;
|
|
372
372
|
readonly still?: JobStoredStill;
|
|
373
|
-
}, replay?: (current: StoredJob<Data>) => boolean): StoredJob<Data> {
|
|
373
|
+
}, replay?: (current: StoredJob<Data>) => boolean, sameSemanticRevision?: (current: StoredJob<Data>) => boolean): StoredJob<Data> {
|
|
374
374
|
return this.transaction(() => {
|
|
375
375
|
const current = this.get(jobId);
|
|
376
376
|
if (replay?.(current)) return current;
|
|
377
|
-
if (expectedRevision !== null && current.revision !== expectedRevision
|
|
377
|
+
if (expectedRevision !== null && current.revision !== expectedRevision && !sameSemanticRevision?.(current)) {
|
|
378
|
+
throw new JobError('JOB_GENERATION_STALE');
|
|
379
|
+
}
|
|
378
380
|
const next = operation(current);
|
|
379
381
|
const active = next.active ?? current.active;
|
|
380
382
|
const document = encode(JSON.parse(this.saveCrops(next.data)));
|
|
@@ -451,12 +453,13 @@ export class JobStore<Data> {
|
|
|
451
453
|
/** Close never grows or rewrites the bounded historical document. */
|
|
452
454
|
sealClose(jobId: string, expectedRevision: number,
|
|
453
455
|
replay: (current: StoredJob<Data>) => Pick<JobClosure, 'replay'> | null,
|
|
454
|
-
prepare: (current: StoredJob<Data>) => JobClosure
|
|
456
|
+
prepare: (current: StoredJob<Data>) => JobClosure,
|
|
457
|
+
sameSemanticRevision?: (current: StoredJob<Data>) => boolean): Pick<JobClosure, 'replay'> {
|
|
455
458
|
return this.transaction(() => {
|
|
456
459
|
const current = this.get(jobId);
|
|
457
460
|
const previous = replay(current);
|
|
458
461
|
if (previous) return previous;
|
|
459
|
-
if (current.revision !== expectedRevision) throw new JobError('JOB_GENERATION_STALE');
|
|
462
|
+
if (current.revision !== expectedRevision && !sameSemanticRevision?.(current)) throw new JobError('JOB_GENERATION_STALE');
|
|
460
463
|
if (!current.active) throw new JobError('JOB_CLOSED');
|
|
461
464
|
const closure = prepare(current), document = encode(closure);
|
|
462
465
|
this.db.query('INSERT INTO job_closures(job_id,document) VALUES(?,?)').run(jobId, document);
|
package/src/manifest.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { toolVersions } from './versions.ts';
|
|
|
7
7
|
import type { FeedbackCatalog } from './feedback-validation.ts';
|
|
8
8
|
import { validatePoseSequence } from './pose.ts';
|
|
9
9
|
import { parseReport, type ReportSeeds } from './report.ts';
|
|
10
|
+
import { framesSetClock, type DeclaredFrameClock } from './frame-clock.ts';
|
|
10
11
|
import { readFile, realpath, stat, lstat, readdir } from 'node:fs/promises';
|
|
11
12
|
import { createReadStream } from 'node:fs';
|
|
12
13
|
import { basename, dirname, isAbsolute, relative, resolve, posix } from 'node:path';
|
|
@@ -19,7 +20,7 @@ export type Json = null | boolean | number | string | Json[] | { [key: string]:
|
|
|
19
20
|
export interface Reference { id: string; label: string; type: 'image' | 'video' | 'pose'; path: string; width?: number; height?: number }
|
|
20
21
|
export interface Checkpoint { id: string; title: string; time?: number; animation?: string; reference?: string; note?: string; workspace?: 'modeling' | 'motion'; camera?: { zoom: number; x: number; y: number }; axis?: {id:string;value:number} }
|
|
21
22
|
export interface ReviewManifest {
|
|
22
|
-
schema: 'rig-review/1'; id: string; title: string; revision: string; model?: string; motion?: string;
|
|
23
|
+
schema: 'rig-review/1'; id: string; title: string; revision: string; model?: string; frames?: string; motion?: string;
|
|
23
24
|
direction?: string; scene?: string; sets?: string;
|
|
24
25
|
references: Reference[]; animations: { id: string; label?: string; duration?: number }[];
|
|
25
26
|
checkpoints: Checkpoint[]; authoring: { label: string; path: string }[];
|
|
@@ -29,8 +30,10 @@ export interface ReviewManifest {
|
|
|
29
30
|
producer?: HandoffDeclaration;
|
|
30
31
|
panels?: JobPanelComposition;
|
|
31
32
|
}
|
|
33
|
+
export interface ReviewFrameSet { animation: string; fps: number; written: number; stride: number; duration: number }
|
|
34
|
+
export interface ReviewFrames { path: string; sha256: string; sets: ReviewFrameSet[] }
|
|
32
35
|
export interface ReviewedSource { readonly packageRevision:string; readonly viewerVersion:string; readonly runtimeVersion:string; readonly rig:{readonly path:string;readonly sha256:string}|null; readonly motion:{readonly path:string;readonly sha256:string}|null; readonly handoff?:HandoffRecord }
|
|
33
|
-
export interface ReviewPackage { scene?:SceneInspection; direction?:DirectionInspection; setsHash?:string; referenceHashes?:Record<string,string>; root: string; manifestPath: string; manifest: ReviewManifest; sourceHash: string; reviewedSource:ReviewedSource; files: Set<string>; report:ReportSeeds|null; feedbackCatalog:FeedbackCatalog;
|
|
36
|
+
export interface ReviewPackage { scene?:SceneInspection; direction?:DirectionInspection; setsHash?:string; referenceHashes?:Record<string,string>; root: string; manifestPath: string; manifest: ReviewManifest; sourceHash: string; reviewedSource:ReviewedSource; files: Set<string>; report:ReportSeeds|null; frames:ReviewFrames|null; feedbackCatalog:FeedbackCatalog;
|
|
34
37
|
/** The resolved producer handoff (#101) and, when there is none, the refusal line naming where it was looked for. */
|
|
35
38
|
handoff: Handoff|null; handoffReason: string|null; handoffInputs?: HandoffFlags;
|
|
36
39
|
/** #187: the rig-parts build root ({@link isBuildRoot}) whose `check/` this package is, however it was opened; review state stays outside it. */
|
|
@@ -80,6 +83,7 @@ export function parseManifest(input: unknown): ReviewManifest {
|
|
|
80
83
|
const manifest: ReviewManifest = {
|
|
81
84
|
schema: 'rig-review/1', id: id(m.id, 'id'), title: string(m.title, 'title'), revision: string(m.revision, 'revision'),
|
|
82
85
|
model: m.model === undefined ? undefined : packagePath(m.model, 'model'),
|
|
86
|
+
...(m.frames===undefined?{}:{frames:packagePath(m.frames,'frames')}),
|
|
83
87
|
...(m.direction===undefined?{}:{direction:packagePath(m.direction,'direction')}),
|
|
84
88
|
...(m.scene===undefined?{}:{scene:packagePath(m.scene,'scene')}),
|
|
85
89
|
...(m.sets===undefined?{}:{sets:packagePath(m.sets,'sets')}),
|
|
@@ -103,6 +107,49 @@ export function parseManifest(input: unknown): ReviewManifest {
|
|
|
103
107
|
for(const c of manifest.checkpoints) if(c.axis){const a=manifest.axes.find(a=>a.id===c.axis!.id);if(!a)fail(`checkpoint ${c.id}.axis`,'declared axis id');if(c.axis.value<a.min||c.axis.value>a.max)fail(`checkpoint ${c.id}.axis.value`,`number in [${a.min}, ${a.max}]`);}
|
|
104
108
|
return manifest;
|
|
105
109
|
}
|
|
110
|
+
function parseFrames(text: string, path: string, sha256: string): ReviewFrames {
|
|
111
|
+
let raw: unknown;
|
|
112
|
+
try { raw = JSON.parse(text); } catch (e) { throw new Error(`FRAMES_JSON: ${path}: ${e instanceof Error ? e.message : String(e)}`); }
|
|
113
|
+
if (!raw || typeof raw !== 'object' || Array.isArray(raw)) throw new Error(`FRAMES_FIELD: ${path}: expected object`);
|
|
114
|
+
const doc = raw as Record<string, unknown>;
|
|
115
|
+
if (doc.spec !== 'rigc-frames/1') throw new Error(`FRAMES_SPEC: ${path}.spec: expected rigc-frames/1`);
|
|
116
|
+
if (!Array.isArray(doc.sets) || doc.sets.length > 10000) throw new Error(`FRAMES_FIELD: ${path}.sets: expected array of at most 10000 entries`);
|
|
117
|
+
const seen = new Set<string>();
|
|
118
|
+
const sets = doc.sets.map((entry, i): ReviewFrameSet => {
|
|
119
|
+
const f = `${path}.sets[${i}]`;
|
|
120
|
+
if (!entry || typeof entry !== 'object' || Array.isArray(entry)) throw new Error(`FRAMES_FIELD: ${f}: expected object`);
|
|
121
|
+
const s = entry as Record<string, unknown>;
|
|
122
|
+
if (typeof s.animation !== 'string' || !s.animation.trim() || s.animation.length > 10000) throw new Error(`FRAMES_FIELD: ${f}.animation: expected nonempty string`);
|
|
123
|
+
if (seen.has(s.animation)) throw new Error(`FRAMES_DUPLICATE_ANIMATION: ${f}.animation: duplicate animation ${JSON.stringify(s.animation)}`);
|
|
124
|
+
seen.add(s.animation);
|
|
125
|
+
if (typeof s.fps !== 'number' || !Number.isSafeInteger(s.fps) || s.fps <= 0) throw new Error(`FRAMES_FIELD: ${f}.fps: expected integer > 0`);
|
|
126
|
+
if (typeof s.written !== 'number' || !Number.isSafeInteger(s.written) || s.written < 0) throw new Error(`FRAMES_FIELD: ${f}.written: expected integer >= 0`);
|
|
127
|
+
if (typeof s.stride !== 'number' || !Number.isSafeInteger(s.stride) || s.stride <= 0) throw new Error(`FRAMES_FIELD: ${f}.stride: expected integer > 0`);
|
|
128
|
+
if (typeof s.duration !== 'number' || !Number.isFinite(s.duration) || s.duration < 0) throw new Error(`FRAMES_FIELD: ${f}.duration: expected finite number >= 0`);
|
|
129
|
+
return { animation: s.animation, fps: s.fps, written: s.written, stride: s.stride, duration: s.duration };
|
|
130
|
+
});
|
|
131
|
+
return { path, sha256, sets };
|
|
132
|
+
}
|
|
133
|
+
/** Seconds a set's `duration` may differ from the producer's last sample time: float rounding only (#1018). */
|
|
134
|
+
export const FRAMES_DURATION_TOLERANCE = 1e-9;
|
|
135
|
+
/**
|
|
136
|
+
* #1018: one clock per set of the declared record, each checked against the compiled model's animation before it
|
|
137
|
+
* indexes anything. The producer samples an animation of duration D at fps to round(D * fps) + 1 frames, frame i at
|
|
138
|
+
* i / fps, writes every stride-th one from frame 0, and records the last sample's time as `duration`; a set that is
|
|
139
|
+
* not that schedule for the model's animation is refused by name. An animation the report's clock names keeps the
|
|
140
|
+
* report's clock, so its set adds none. A package without a compiled model plays nothing, so its record adds no clock.
|
|
141
|
+
*/
|
|
142
|
+
function declaredFrameClocks(frames: ReviewFrames, animations: {name: string; duration: number}[], report: ReportSeeds | null): DeclaredFrameClock[] {
|
|
143
|
+
return frames.sets.flatMap(set => {
|
|
144
|
+
const where = `${frames.path}: set ${JSON.stringify(set.animation)}`;
|
|
145
|
+
const clip = animations.find(value => value.name === set.animation);
|
|
146
|
+
if (!clip) throw new Error(`FRAMES_ANIMATION_UNKNOWN: ${where} names no animation of the compiled model`);
|
|
147
|
+
const last = Math.round(clip.duration * set.fps), written = Math.floor(last / set.stride) + 1;
|
|
148
|
+
if (set.written !== written) throw new Error(`FRAMES_COUNT_MISMATCH: ${where} writes ${set.written} frame(s) at ${set.fps} fps stride ${set.stride}; the model's ${clip.duration} s animation samples to ${written}`);
|
|
149
|
+
if (Math.abs(set.duration - last / set.fps) > FRAMES_DURATION_TOLERANCE) throw new Error(`FRAMES_DURATION_MISMATCH: ${where} lasts ${set.duration} s; the model's ${clip.duration} s animation at ${set.fps} fps ends its last sample at ${last / set.fps} s`);
|
|
150
|
+
return report?.clock && report.animation === set.animation ? [] : [{animation: set.animation, clock: framesSetClock(set)}];
|
|
151
|
+
});
|
|
152
|
+
}
|
|
106
153
|
export const BUILD_MODEL_PATH = 'build/skeleton.model.json';
|
|
107
154
|
interface ReviewLoadOptions {
|
|
108
155
|
/** Explicit producer flags take precedence over discovery. False disables producer lookup. */
|
|
@@ -124,11 +171,14 @@ export async function loadReview(input: string, options: ReviewLoadOptions = {})
|
|
|
124
171
|
const assetFile=async(path:string):Promise<string>=>{
|
|
125
172
|
if(sealedPlayback&&!sealedPlayback.has(path))fail(path,'sealed playback file');
|
|
126
173
|
const literal=sealedPlayback?checkedPath(root,path):undefined;
|
|
127
|
-
|
|
174
|
+
let full:string;
|
|
175
|
+
try{full=await safeFile(root,path);}
|
|
176
|
+
catch(e){if(path===manifest.frames&&['ENOENT','ENOTDIR'].includes((e as NodeJS.ErrnoException).code??''))throw new Error(`FRAMES_MISSING: ${path}: ${(e as Error).message}`);throw e;}
|
|
128
177
|
if(literal!==undefined&&full!==literal)fail(path,'file without symlinks');
|
|
129
178
|
return full;
|
|
130
179
|
};
|
|
131
180
|
const files = new Set([...(directory?[]:[relative(root,manifestPath)]),...manifest.references.map(v=>v.path),...manifest.authoring.map(v=>v.path),...manifest.audio.clips.map(v=>v.path)]);
|
|
181
|
+
if(manifest.frames)files.add(manifest.frames);
|
|
132
182
|
if(manifest.direction)files.add(manifest.direction);
|
|
133
183
|
if(manifest.sets)files.add(manifest.sets);
|
|
134
184
|
const rootFile=async(name:string):Promise<string|undefined>=>{try{await safeFile(root,name);return name;}catch(e){if((e as NodeJS.ErrnoException).code==='ENOENT')return undefined;throw e;}};
|
|
@@ -158,7 +208,7 @@ export async function loadReview(input: string, options: ReviewLoadOptions = {})
|
|
|
158
208
|
const joints=list(pose.joints,`pose ${r.id}.joints`,(v,f)=>({id:id(v.id,f+'.id'),x:number(v.x,f+'.x',-Number.MAX_VALUE),y:number(v.y,f+'.y',-Number.MAX_VALUE),parent:optionalString(v.parent,f+'.parent')}));
|
|
159
209
|
for(const j of joints) if(j.parent&&!joints.some(v=>v.id===j.parent&&v.id!==j.id)) fail(`pose ${r.id} joint ${j.id}.parent`,'another declared joint id');
|
|
160
210
|
}
|
|
161
|
-
const reportPath=files.has('report.json')?'report.json':authoringPath('report.json');let report:ReportSeeds|null=null;let modelMetadata:Record<string,unknown>|null=null;let directionInput:unknown;
|
|
211
|
+
const reportPath=files.has('report.json')?'report.json':authoringPath('report.json');let report:ReportSeeds|null=null;let frames:ReviewFrames|null=null;let modelMetadata:Record<string,unknown>|null=null;let directionInput:unknown;
|
|
162
212
|
// The handoff files are hashed beside the package: their record joins the reviewed identity (and so the session file).
|
|
163
213
|
const {handoff,reason:handoffReason}=options.handoff===false?{handoff:null,reason:null}:
|
|
164
214
|
await resolveHandoff(root,manifest.producer,options.handoff,{starts:options.handoffStarts??[options.cwd??process.cwd()]});
|
|
@@ -182,20 +232,22 @@ export async function loadReview(input: string, options: ReviewLoadOptions = {})
|
|
|
182
232
|
}
|
|
183
233
|
const hash = createHash('sha256');hash.update(JSON.stringify(manifest));hash.update('\0');const fileHashes=new Map<string,string>();
|
|
184
234
|
for(const p of [...files].sort()) { const full=await assetFile(p); const before=await stat(full); hash.update(p);hash.update('\0');hash.update(String(before.size));hash.update('\0'); const fileHash=createHash('sha256');const metadataChunks:Buffer[]=[];const isDirection=p===manifest.direction;let bytesRead=0;
|
|
185
|
-
if(isDirection&&before.size>DIRECTION_MAX_BYTES)throw new Error('DIRECTION_SIZE: direction exceeds 256 KiB');for await(const chunk of createReadStream(full)){hash.update(chunk);fileHash.update(chunk);if(isDirection&&(bytesRead+=chunk.length)>DIRECTION_MAX_BYTES)throw new Error('DIRECTION_SIZE: direction exceeds 256 KiB');if(p===reportPath||p===manifest.model||isDirection)metadataChunks.push(chunk);}fileHashes.set(p,fileHash.digest('hex'));if(sceneBytes.has(p)&&createHash('sha256').update(sceneBytes.get(p)!).digest('hex')!==fileHashes.get(p))throw new Error('SCENE_SOURCE_MISMATCH: '+p); const after=await stat(full); if(before.size!==after.size||before.mtimeMs!==after.mtimeMs) throw new Error(`Asset ${p} changed while hashing; retry with stable package inputs`);
|
|
235
|
+
if(isDirection&&before.size>DIRECTION_MAX_BYTES)throw new Error('DIRECTION_SIZE: direction exceeds 256 KiB');for await(const chunk of createReadStream(full)){hash.update(chunk);fileHash.update(chunk);if(isDirection&&(bytesRead+=chunk.length)>DIRECTION_MAX_BYTES)throw new Error('DIRECTION_SIZE: direction exceeds 256 KiB');if(p===reportPath||p===manifest.model||isDirection||p===manifest.frames)metadataChunks.push(chunk);}fileHashes.set(p,fileHash.digest('hex'));if(sceneBytes.has(p)&&createHash('sha256').update(sceneBytes.get(p)!).digest('hex')!==fileHashes.get(p))throw new Error('SCENE_SOURCE_MISMATCH: '+p); const after=await stat(full); if(before.size!==after.size||before.mtimeMs!==after.mtimeMs) throw new Error(`Asset ${p} changed while hashing; retry with stable package inputs`);
|
|
186
236
|
if(sealedPlayback&&fileHashes.get(p)!==sealedPlayback.get(p))fail(p,'sealed playback hash');
|
|
187
237
|
// The parser and package hash consume the same bytes, never two file reads.
|
|
188
238
|
if(p===manifest.model){if(fileHashes.get(p)!==modelBytesHash)throw new Error(`Model ${p} changed while hashing; retry with stable package inputs`);modelMetadata=object(JSON.parse(Buffer.concat(metadataChunks).toString('utf8')),'model');}
|
|
189
239
|
if(isDirection)directionInput=JSON.parse(Buffer.concat(metadataChunks).toString('utf8'));
|
|
190
240
|
if(p===reportPath){let value:unknown;try{value=JSON.parse(Buffer.concat(metadataChunks).toString('utf8'));}catch(e){throw new Error(`${p}: ${e instanceof Error?e.message:String(e)}`);}report=parseReport(value,p);}
|
|
241
|
+
if(p===manifest.frames)frames=parseFrames(Buffer.concat(metadataChunks).toString('utf8'),p,fileHashes.get(p)!);
|
|
191
242
|
}
|
|
192
243
|
if(painting){hash.update(SOURCE_PAINTING_ID);hash.update('\0');hash.update(painting.sha256);hash.update('\0');}
|
|
193
244
|
// #192: the root is `check/` whether the folder or its review.json was opened, so the build root is kept either way.
|
|
194
245
|
const buildRoot=!sealedPlayback&&basename(root)==='check'&&await isBuildRoot(dirname(root))?dirname(root):undefined;
|
|
195
246
|
const reviewedSource:ReviewedSource={packageRevision:manifest.revision,...await toolVersions(),rig:rigPath?{path:rigPath,sha256:fileHashes.get(rigPath)!}:null,motion:motionPath?{path:motionPath,sha256:fileHashes.get(motionPath)!}:null,...(handoff?{handoff:handoff.record}:{})};
|
|
196
247
|
const direction=manifest.direction?readDirectionInspection(directionInput,{path:manifest.direction,sha256:fileHashes.get(manifest.direction)!},reviewedSource.rig):undefined;
|
|
197
|
-
const
|
|
198
|
-
|
|
248
|
+
const animations=modelAnimations(modelMetadata);
|
|
249
|
+
const feedbackCatalog:FeedbackCatalog={rig:manifest.id,bones:modelNames(modelMetadata,'bones'),slots:modelNames(modelMetadata,'slots'),animations,clock:report?.clock??null,clockAnimation:report?.animation??null,...(frames&&animations?{frameClocks:declaredFrameClocks(frames,animations,report)}:{}),...(discoverTurnDials(modelMetadata).length?{turnDials:discoverTurnDials(modelMetadata)}:{})};
|
|
250
|
+
return {...(scene?{scene}:{}),...(direction?{direction}:{}),...(manifest.sets?{setsHash:fileHashes.get(manifest.sets)!}:{}),referenceHashes:Object.fromEntries(manifest.references.map(r=>[r.id,r.id===painting?.id?painting.sha256:fileHashes.get(r.path)!])),root,manifestPath,manifest,sourceHash:hash.digest('hex'),reviewedSource,files,report,frames,feedbackCatalog,handoff,handoffReason,...(handoff?.flags?{handoffInputs:handoff.flags}:{}),...(buildRoot?{buildRoot}:{}),...(painting?{sourcePainting:painting}:{}),...(options.cwd?{cwd:options.cwd}:{}),...(options.handoffStarts?{handoffStarts:options.handoffStarts}:{})};
|
|
199
251
|
}
|
|
200
252
|
|
|
201
253
|
/** #329: the reference id and served path of the handoff's source painting; the path is a name, never a package file. */
|
package/src/rebuild.ts
CHANGED
|
@@ -929,7 +929,7 @@ const assembledView = (plan: BuildPlan): AssembledView => ({
|
|
|
929
929
|
});
|
|
930
930
|
|
|
931
931
|
/** Read the assembly stamp with the same installation that runs the producer CLI. */
|
|
932
|
-
function clothAssemblyChanges(producer: InstalledTool, config: string, manifest: unknown): string[] {
|
|
932
|
+
export function clothAssemblyChanges(producer: InstalledTool, config: string, manifest: unknown): string[] {
|
|
933
933
|
if (!hasAssemblyConfig(manifest)) return [];
|
|
934
934
|
const root = realpathSync(producer.root), requireProducer = createRequire(join(root, 'package.json'));
|
|
935
935
|
const reader = realpathSync(requireProducer.resolve('@rig-c/parts/assembly-reading'));
|
package/src/session.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import {parseCorrection} from './correction-handoff.ts';
|
|
2
|
-
import {
|
|
2
|
+
import {frameAtTime,transportClock} from './frame-clock.ts';
|
|
3
3
|
import {parseBookmark} from '../web/inspection-persistence.ts';
|
|
4
4
|
import {parseStageComment,projectMark,hasStageComment,isTimeOnlyFeedback,feedbackFrameInterval} from './stage-comment.ts';
|
|
5
5
|
import {validateCommentCrop,saveCommentCrops,assertSubmittedComments} from './comment-crops.ts';
|
|
@@ -91,6 +91,11 @@ export function parseFeedback(item:unknown,strict=true):Feedback {
|
|
|
91
91
|
export interface FeedbackWarning {id:string;error:string}
|
|
92
92
|
|
|
93
93
|
/** Derive the annotated interval, retaining inspection context as separate data. */
|
|
94
|
+
/** The page's transport clock for this package without a stage build: the report's, else the declared record's (#1018). */
|
|
95
|
+
function packageClock(p:ReviewPackage,animation:string|null){
|
|
96
|
+
const catalog=p.feedbackCatalog;
|
|
97
|
+
return transportClock({clock:catalog.clock,animation:catalog.clockAnimation??undefined,frameClocks:catalog.frameClocks},animation??'',!!p.reviewedSource.rig,null,null)?.clock??null;
|
|
98
|
+
}
|
|
94
99
|
export function validatePackageFeedback(feedback:Feedback,p:ReviewPackage,animation?:string,turnDials:readonly TurnDial[]=p.feedbackCatalog.turnDials??[]):Feedback {
|
|
95
100
|
const context=feedback.context===undefined?{}:object(feedback.context,'feedback.context');
|
|
96
101
|
const comment=hasStageComment(context.comment)?parseStageComment(context.comment):null,timed=comment?.frame===null;
|
|
@@ -119,13 +124,13 @@ export function validatePackageFeedback(feedback:Feedback,p:ReviewPackage,animat
|
|
|
119
124
|
const declared=p.manifest.references.find(r=>r.id===c.referenceId),explicit=referenceBinding(p)?.reference;
|
|
120
125
|
const expectedHash=explicit?.id===c.referenceId?explicit.sha256:c.referenceId?p.referenceHashes?.[c.referenceId]:undefined;
|
|
121
126
|
if(!declared||!expectedHash||c.referenceHash!==expectedHash||bookmark.selection.reference!==c.referenceId)throw new Error('COMMENT_REFERENCE_MISMATCH: selected reference ID/hash must match the source and bookmark');
|
|
122
|
-
const clock=
|
|
127
|
+
const clock=packageClock(p,c.animation);
|
|
123
128
|
if(c.frame&&(c.frame.basis!=='producer'||frameAtTime(clock,c.time)!==c.frame.index))throw new Error('COMMENT_FRAME_UNAVAILABLE: producer frame differs from the inspected reference time');
|
|
124
129
|
}else if(c.referenceId!==null||c.referenceHash!==null)throw new Error('COMMENT_REFERENCE_MISMATCH: single rig marks have no reference viewport binding');
|
|
125
130
|
}
|
|
126
131
|
if(c.sourceHash!==p.sourceHash||c.modelHash!==(c.viewport==='reference'?null:p.reviewedSource.rig?.sha256??null))throw new Error('COMMENT_SOURCE_CHANGED: comment differs from inspected source');
|
|
127
132
|
if(c.animation!==(animation??context.animation??null)||c.time!==context.time||(c.frame?.index??null)!==feedback.frameStart||feedback.frameStart!==feedback.frameEnd)throw new Error('COMMENT_CONTEXT_MISMATCH: frame, time or animation differs');
|
|
128
|
-
if(timed){const clock=
|
|
133
|
+
if(timed){const clock=packageClock(p,c.animation);if(frameAtTime(clock,c.time)!==null)throw new Error('COMMENT_TIME_ONLY_INVALID: explicit producer frame exists at this time');}
|
|
129
134
|
const a=projectMark(c.world,c.camera),b=projectMark({x:c.world.x+c.world.width,y:c.world.y+c.world.height},c.camera);
|
|
130
135
|
if(Math.abs(Math.min(a.x,b.x)-c.screen.x)>1e-5||Math.abs(Math.min(a.y,b.y)-c.screen.y)>1e-5||Math.abs(Math.abs(a.x-b.x)-c.screen.width)>1e-5||Math.abs(Math.abs(a.y-b.y)-c.screen.height)>1e-5)throw new Error('COMMENT_CONTEXT_MISMATCH: screen/world region projection');
|
|
131
136
|
if(c.camera.space!==(c.viewport==='reference'?'image':'world'))throw new Error('COMMENT_CONTEXT_MISMATCH: camera space');
|
|
@@ -135,7 +140,7 @@ export function validatePackageFeedback(feedback:Feedback,p:ReviewPackage,animat
|
|
|
135
140
|
}
|
|
136
141
|
const selected=animation??(typeof context.animation==='string'?context.animation:null);
|
|
137
142
|
if(timed)validateTimedFeedbackSelection(p.feedbackCatalog,{target:feedback.target,animation:selected,time:comment!.time});
|
|
138
|
-
else validateFeedbackSelection((context.comment as any)?.frame?.basis==='reference'?{...p.feedbackCatalog,clock:null,clockAnimation:null}:p.feedbackCatalog,{...feedbackFrameInterval(feedback),target:feedback.target,animation:selected});
|
|
143
|
+
else validateFeedbackSelection((context.comment as any)?.frame?.basis==='reference'?{...p.feedbackCatalog,clock:null,clockAnimation:null,frameClocks:undefined}:p.feedbackCatalog,{...feedbackFrameInterval(feedback),target:feedback.target,animation:selected});
|
|
139
144
|
return {...feedback,context:{...context,...(animation===undefined?{}:{animation}),interval} as Json};
|
|
140
145
|
}
|
|
141
146
|
export function readPackageFeedback(feedback:Feedback,p:ReviewPackage,animation?:string,turnDials?:readonly TurnDial[]):{feedback:Feedback;warning?:FeedbackWarning} {
|
package/src/stage-comment.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/** Stage marks are optional inspection evidence on an ordinary feedback row. */
|
|
2
2
|
import type {PosedFrame} from '@rig-c/play';
|
|
3
3
|
import type {ControlNumericCamera} from './control.ts';
|
|
4
|
+
import {formatFixed} from './frame-clock.ts';
|
|
4
5
|
import type {JobActValues, JobComment, JobCommentAnchor, JobCommentFeedbackAnchor} from './job-contract.ts';
|
|
5
6
|
import type {Feedback} from './session.ts';
|
|
6
7
|
import type {CompareFeedback} from './compare-session.ts';
|
|
@@ -89,7 +90,7 @@ export function isTimeOnlyFeedback(value:unknown):boolean {
|
|
|
89
90
|
try{const f=obj(value),context=obj(f.context),c=parseStageComment(context.comment);return f.frameStart===null&&f.frameEnd===null&&context.frame===null&&context.interval===null&&context.time===c.time&&c.frame===null&&c.timeBasis!==undefined;}catch{return false;}
|
|
90
91
|
}
|
|
91
92
|
export function feedbackTimingLabel(f:{frameStart:number|null;frameEnd:number|null;context?:unknown}):string {
|
|
92
|
-
if(f.frameStart===null||f.frameEnd===null){const c=obj(obj(f.context).comment);if(c.frame!==null||c.timeBasis?.schema!==timeOnlyBasis.schema||c.timeBasis?.reason!==timeOnlyReason||!number(c.time)||c.time<0)fail('time-only display context');return `${c.time} s (seconds basis) · ${timeOnlyReason}`;}
|
|
93
|
+
if(f.frameStart===null||f.frameEnd===null){const c=obj(obj(f.context).comment);if(c.frame!==null||c.timeBasis?.schema!==timeOnlyBasis.schema||c.timeBasis?.reason!==timeOnlyReason||!number(c.time)||c.time<0)fail('time-only display context');return `${formatFixed(c.time)} s (seconds basis) · ${timeOnlyReason}`;}
|
|
93
94
|
return `F${f.frameStart}–${f.frameEnd}`;
|
|
94
95
|
}
|
|
95
96
|
export function feedbackFrameInterval(f:{frameStart:number|null;frameEnd:number|null}):{frameStart:number;frameEnd:number}{
|
package/web/catalog-en.ts
CHANGED
|
@@ -8,6 +8,7 @@ export const enCatalog: Readonly<Record<string, string>> = {
|
|
|
8
8
|
"Review\u2026": "Review…",
|
|
9
9
|
"Nothing is waiting for your answer.": "Nothing is waiting for your answer.",
|
|
10
10
|
"Add a comment where changes are needed.": "Add a comment where changes are needed.",
|
|
11
|
+
"Add a comment or an edit where changes are needed.": "Add a comment or an edit where changes are needed.",
|
|
11
12
|
"Request changes needs at least one comment pinned to a part.": "Request changes needs at least one comment pinned to a part.",
|
|
12
13
|
"Remove the flagged parts comments before approving.": "Remove the flagged parts comments before approving.",
|
|
13
14
|
"Saved draft could not be restored. Your draft has not been deleted. Download or discard it before submitting.": "Saved draft could not be restored. Your draft has not been deleted. Download or discard it before submitting.",
|
|
@@ -21,7 +22,12 @@ export const enCatalog: Readonly<Record<string, string>> = {
|
|
|
21
22
|
"JOB_ASK_UNSUPPORTED": "JOB_ASK_UNSUPPORTED",
|
|
22
23
|
"job.refusal.JOB_ASK_UNSUPPORTED": "This request lacks a supported source or checkpoint mapping. The producer must publish the matching source and plan mapping before asking again.",
|
|
23
24
|
"In a job, press Request changes to send this edit; the producer rebuilds it.": "In a job, press Request changes to send this edit; the producer rebuilds it.",
|
|
25
|
+
"Send this Request changes with {0} mesh edit(s) to the producer?": "Send this Request changes with {0} mesh edit(s) to the producer?",
|
|
24
26
|
"job.mesh.staleDraft": "Some saved mesh edits could not be restored on this model and will be left out.",
|
|
27
|
+
"job.chest.sendHint": "Press Request changes to rebuild with the edited landmarks.",
|
|
28
|
+
"job.chest.placed": "{0} points placed · ready to send",
|
|
29
|
+
"job.chest.circlesOff": "Use Landmarks to edit the chest in this job.",
|
|
30
|
+
"job.chest.unpublished": "Chest editing is unavailable: no bust spec was published for this part.",
|
|
25
31
|
"Comment · C": "Comment · C",
|
|
26
32
|
|
|
27
33
|
"project.json": "project.json",
|
|
@@ -164,6 +170,7 @@ export const enCatalog: Readonly<Record<string, string>> = {
|
|
|
164
170
|
"interview.choose": "Choose one option per prompt, then save.",
|
|
165
171
|
"interview.readOnly": "Read-only view. Open the launch URL to save picks.",
|
|
166
172
|
"interview.answered": "Answered {0} / {1}",
|
|
173
|
+
"interview.submitAnswered": "Submit review ({0}/{1})",
|
|
167
174
|
"interview.delegate": "Delegate",
|
|
168
175
|
"interview.open": "Open interview",
|
|
169
176
|
"interview.close": "Close interview",
|
|
@@ -280,7 +287,6 @@ export const enCatalog: Readonly<Record<string, string>> = {
|
|
|
280
287
|
" (sha256 {0}…)": " (sha256 {0}…)",
|
|
281
288
|
" (the build's pack flags)": " (the build's pack flags)",
|
|
282
289
|
" (the revision's own pack flags)": " (the revision's own pack flags)",
|
|
283
|
-
" (then {0})": " (then {0})",
|
|
284
290
|
" (under schedule sha256 {0})": " (under schedule sha256 {0})",
|
|
285
291
|
" (was {0})": " (was {0})",
|
|
286
292
|
" ({0} applied on stage)": " ({0} applied on stage)",
|
|
@@ -780,8 +786,11 @@ export const enCatalog: Readonly<Record<string, string>> = {
|
|
|
780
786
|
"Click the part to place the apex l; drag its marker to move it": "Click the part to place the apex l; drag its marker to move it",
|
|
781
787
|
"Click the part to place the apex r; drag its marker to move it": "Click the part to place the apex r; drag its marker to move it",
|
|
782
788
|
"Click the part to place the armed landmark · drag a marker to move it · Space-drag pans": "Click the part to place the armed landmark · drag a marker to move it · Space-drag pans",
|
|
789
|
+
"Click the part to place right apex → left apex → cleavage, in that order; drag a marker to move it": "Click the part to place right apex → left apex → cleavage, in that order; drag a marker to move it",
|
|
790
|
+
"Click the part to place right apex → left apex, in that order; drag a marker to move it": "Click the part to place right apex → left apex, in that order; drag a marker to move it",
|
|
791
|
+
"Click the part to place right apex → cleavage, in that order; drag a marker to move it": "Click the part to place right apex → cleavage, in that order; drag a marker to move it",
|
|
792
|
+
"Click the part to place left apex → cleavage, in that order; drag a marker to move it": "Click the part to place left apex → cleavage, in that order; drag a marker to move it",
|
|
783
793
|
"Click the part to place the cleavage; drag its marker to move it": "Click the part to place the cleavage; drag its marker to move it",
|
|
784
|
-
"Click the part to place {0}{1} · drag a marker to move it": "Click the part to place {0}{1} · drag a marker to move it",
|
|
785
794
|
"Click the polygon's points on the stage (rig px, whole numbers), then Finish.": "Click the polygon's points on the stage (rig px, whole numbers), then Finish.",
|
|
786
795
|
"Click the stage to place polygon points; press Draw polygon again (or Enter) to close it (3 or more points), Escape to drop it.": "Click the stage to place polygon points; press Draw polygon again (or Enter) to close it (3 or more points), Escape to drop it.",
|
|
787
796
|
"Close": "Close",
|
|
@@ -1000,6 +1009,8 @@ export const enCatalog: Readonly<Record<string, string>> = {
|
|
|
1000
1009
|
"Fresh meshes · {0}{1}": "Fresh meshes · {0}{1}",
|
|
1001
1010
|
"From value": "From value",
|
|
1002
1011
|
"Full provenance": "Full provenance",
|
|
1012
|
+
"F{0} (producer)": "F{0} (producer)",
|
|
1013
|
+
"F{0} (reference)": "F{0} (reference)",
|
|
1003
1014
|
"F{0} / {1}{2}": "F{0} / {1}{2}",
|
|
1004
1015
|
"F{0} maps to {1} s, outside the current reference range. The requested time was not changed.": "F{0} maps to {1} s, outside the current reference range. The requested time was not changed.",
|
|
1005
1016
|
"F{0} · Explicit time {1} s{2}": "F{0} · Explicit time {1} s{2}",
|
|
@@ -1891,7 +1902,7 @@ export const enCatalog: Readonly<Record<string, string>> = {
|
|
|
1891
1902
|
"These controls show actual images, last-drawn mesh edges and named bone points for Build {0} ({1}). Setup tools apply changes only to Build {2} in a scratch build; on-disk packages stay immutable.": "These controls show actual images, last-drawn mesh edges and named bone points for Build {0} ({1}). Setup tools apply changes only to Build {2} in a scratch build; on-disk packages stay immutable.",
|
|
1892
1903
|
"These controls show actual images, last-drawn mesh edges and named bone points. Both builds use the fixed animation named above. This inspector does not author geometry or motion.": "These controls show actual images, last-drawn mesh edges and named bone points. Both builds use the fixed animation named above. This inspector does not author geometry or motion.",
|
|
1893
1904
|
"This rebuild starts from the handoff and drops: {0}": "This rebuild starts from the handoff and drops: {0}",
|
|
1894
|
-
"
|
|
1905
|
+
"Click right apex, left apex, then cleavage; the two circles are derived from them": "Click right apex, left apex, then cleavage; the two circles are derived from them",
|
|
1895
1906
|
"Time (s)": "Time (s)",
|
|
1896
1907
|
"Timed out waiting for reference video seek / decoded-frame response.": "Timed out waiting for reference video seek / decoded-frame response.",
|
|
1897
1908
|
"Timeline": "Timeline",
|
|
@@ -3239,7 +3250,6 @@ export const enCatalog: Readonly<Record<string, string>> = {
|
|
|
3239
3250
|
"Check these images.": "Check these images.",
|
|
3240
3251
|
"Review this checkpoint.": "Review this checkpoint.",
|
|
3241
3252
|
"Approve this stage.": "Approve this stage.",
|
|
3242
|
-
"Review the reopened stage.": "Review the reopened stage.",
|
|
3243
3253
|
"Comments": "Comments",
|
|
3244
3254
|
"Read only · Escape closes": "Read only · Escape closes",
|
|
3245
3255
|
"Mark a point or region, then type. Enter saves · Escape cancels.": "Mark a point or region, then type. Enter saves · Escape cancels.",
|
|
@@ -3410,7 +3420,7 @@ export const enCatalog: Readonly<Record<string, string>> = {
|
|
|
3410
3420
|
"--by: launch only; incompatible with export or correction options": "--by: launch only; incompatible with export or correction options",
|
|
3411
3421
|
"Painting comparison": "Painting comparison",
|
|
3412
3422
|
"Compare with": "Compare with",
|
|
3413
|
-
"Previous accepted draft · {0}
|
|
3423
|
+
"Previous accepted draft · {0}": "Previous accepted draft · {0}",
|
|
3414
3424
|
"Overlay": "Overlay",
|
|
3415
3425
|
"Part opacity": "Part opacity",
|
|
3416
3426
|
"PARTS_COMPARISON_UNAVAILABLE: original painting required": "PARTS_COMPARISON_UNAVAILABLE: original painting required",
|
|
@@ -3477,11 +3487,20 @@ export const enCatalog: Readonly<Record<string, string>> = {
|
|
|
3477
3487
|
"job.openPlanStep": "View plan step",
|
|
3478
3488
|
"job.openPlan": "View plan",
|
|
3479
3489
|
"job.signoff": "Save stage approval",
|
|
3480
|
-
"job.reopen": "Reopen stage",
|
|
3481
3490
|
"job.time": "Inspection time (s)",
|
|
3482
3491
|
"job.title": "Live review job",
|
|
3483
3492
|
"job.updated": "Updated from {0} to {1}.",
|
|
3484
3493
|
"job.waiting": "Waiting for a published result.",
|
|
3494
|
+
"job.progress.phase.ingest": "Reading inputs",
|
|
3495
|
+
"job.progress.phase.build": "Building",
|
|
3496
|
+
"job.progress.phase.measure": "Measuring",
|
|
3497
|
+
"job.progress.phase.publish": "Publishing",
|
|
3498
|
+
"job.progress.phase.other": "Working",
|
|
3499
|
+
"job.progress.step": "Step {0}/{1}",
|
|
3500
|
+
"job.progress.now": "just now",
|
|
3501
|
+
"job.progress.seconds": "{0}s ago",
|
|
3502
|
+
"job.progress.minutes": "{0} min ago",
|
|
3503
|
+
"job.progress.quiet": "No update for {0} min · last: {1}",
|
|
3485
3504
|
"job.wholeRig": "Whole rig",
|
|
3486
3505
|
"job.zoomIn": "Zoom in",
|
|
3487
3506
|
"job.zoomOut": "Zoom out",
|
|
@@ -3631,5 +3650,6 @@ export const enCatalog: Readonly<Record<string, string>> = {
|
|
|
3631
3650
|
"This question refers to a scene that this publication does not include.": "This question refers to a scene that this publication does not include.",
|
|
3632
3651
|
"This request has no picture.": "This request has no picture.",
|
|
3633
3652
|
"The selected part has no chest regions. The chest editor keeps its current part.": "The selected part has no chest regions. The chest editor keeps its current part.",
|
|
3653
|
+
"The source changed, so {0} unsent comment(s) could not be carried over. Please add them again.": "The source changed, so {0} unsent comment(s) could not be carried over. Please add them again.",
|
|
3634
3654
|
'Resize comment area: {0}': 'Resize comment area: {0}',
|
|
3635
3655
|
};
|
package/web/catalog-ko.ts
CHANGED
|
@@ -8,6 +8,7 @@ export const koCatalog: Readonly<Record<string, string>> = {
|
|
|
8
8
|
"Review\u2026": "검토하기",
|
|
9
9
|
"Nothing is waiting for your answer.": "답변을 기다리는 요청이 없어요.",
|
|
10
10
|
"Add a comment where changes are needed.": "고칠 곳에 코멘트를 달아 주세요",
|
|
11
|
+
"Add a comment or an edit where changes are needed.": "바꿀 곳에 코멘트나 편집을 남겨 주세요.",
|
|
11
12
|
"Request changes needs at least one comment pinned to a part.": "수정 요청에는 파츠에 고정한 코멘트가 하나 이상 필요해요.",
|
|
12
13
|
"Remove the flagged parts comments before approving.": "승인하려면 수정 요청한 파츠 코멘트를 먼저 지워 주세요.",
|
|
13
14
|
"Saved draft could not be restored. Your draft has not been deleted. Download or discard it before submitting.": "저장해 둔 초안을 불러오지 못했어요. 초안은 지워지지 않았어요. 내려받거나 버린 뒤에 제출해 주세요.",
|
|
@@ -21,7 +22,12 @@ export const koCatalog: Readonly<Record<string, string>> = {
|
|
|
21
22
|
"JOB_ASK_UNSUPPORTED": "JOB_ASK_UNSUPPORTED",
|
|
22
23
|
"job.refusal.JOB_ASK_UNSUPPORTED": "이 요청에 맞는 소스 또는 체크포인트 연결 정보가 없어요. 제작 도구에서 해당 소스와 계획 연결 정보를 게시한 후 다시 요청해야 해요.",
|
|
23
24
|
"In a job, press Request changes to send this edit; the producer rebuilds it.": "잡에서는 수정 요청으로 이 편집을 보내 주세요. 리빌드는 프로듀서가 해요.",
|
|
25
|
+
"Send this Request changes with {0} mesh edit(s) to the producer?": "메시 편집 {0}개를 담은 수정 요청을 보낼까요?",
|
|
24
26
|
"job.mesh.staleDraft": "이 모델에서 복원하지 못한 메시 편집은 수정 요청에 포함하지 않아요.",
|
|
27
|
+
"job.chest.sendHint": "수정 요청을 누르면 편집한 랜드마크로 다시 빌드해요.",
|
|
28
|
+
"job.chest.placed": "점 {0}개를 찍었어요 · 보낼 수 있어요",
|
|
29
|
+
"job.chest.circlesOff": "이 잡에서는 랜드마크 모드로 가슴 영역을 편집해 주세요.",
|
|
30
|
+
"job.chest.unpublished": "이 파츠는 가슴 설정이 게시되지 않아 편집할 수 없어요.",
|
|
25
31
|
"Comment · C": "코멘트 · C",
|
|
26
32
|
|
|
27
33
|
"project.json": "project.json",
|
|
@@ -164,6 +170,7 @@ export const koCatalog: Readonly<Record<string, string>> = {
|
|
|
164
170
|
"interview.choose": "각 질문에서 하나씩 직접 선택한 뒤 저장하세요.",
|
|
165
171
|
"interview.readOnly": "읽기 전용이에요. 선택 기록을 저장하려면 실행 시 표시된 URL을 여세요.",
|
|
166
172
|
"interview.answered": "답변 {0} / {1}",
|
|
173
|
+
"interview.submitAnswered": "리뷰 제출 ({0}/{1})",
|
|
167
174
|
"interview.delegate": "위임",
|
|
168
175
|
"interview.open": "인터뷰 열기",
|
|
169
176
|
"interview.close": "인터뷰 닫기",
|
|
@@ -280,7 +287,6 @@ export const koCatalog: Readonly<Record<string, string>> = {
|
|
|
280
287
|
" (sha256 {0}…)": " (sha256 {0}…)",
|
|
281
288
|
" (the build's pack flags)": " (빌드의 패킹 플래그)",
|
|
282
289
|
" (the revision's own pack flags)": " (리비전 자체 패킹 플래그)",
|
|
283
|
-
" (then {0})": " (다음 {0})",
|
|
284
290
|
" (under schedule sha256 {0})": " (스케줄 sha256 {0} 기준)",
|
|
285
291
|
" (was {0})": " (기존 {0})",
|
|
286
292
|
" ({0} applied on stage)": " (스테이지에 {0}개 적용됨)",
|
|
@@ -530,12 +536,12 @@ export const koCatalog: Readonly<Record<string, string>> = {
|
|
|
530
536
|
"Animation timeline": "애니메이션 타임라인",
|
|
531
537
|
"Animation timeline & inspection": "애니메이션 타임라인 및 검사",
|
|
532
538
|
"Animation {0}": "애니메이션 {0}",
|
|
533
|
-
"Apex L": "
|
|
534
|
-
"Apex L x (rig px)": "
|
|
535
|
-
"Apex L y (rig px)": "
|
|
536
|
-
"Apex R": "
|
|
537
|
-
"Apex R x (rig px)": "
|
|
538
|
-
"Apex R y (rig px)": "
|
|
539
|
+
"Apex L": "왼쪽 끝",
|
|
540
|
+
"Apex L x (rig px)": "왼쪽 끝 x (리그 px)",
|
|
541
|
+
"Apex L y (rig px)": "왼쪽 끝 y (리그 px)",
|
|
542
|
+
"Apex R": "오른쪽 끝",
|
|
543
|
+
"Apex R x (rig px)": "오른쪽 끝 x (리그 px)",
|
|
544
|
+
"Apex R y (rig px)": "오른쪽 끝 y (리그 px)",
|
|
539
545
|
"Appearance": "외관 테마",
|
|
540
546
|
"Applied": "적용됨",
|
|
541
547
|
"Applied ": "적용됨 ",
|
|
@@ -771,17 +777,20 @@ export const koCatalog: Readonly<Record<string, string>> = {
|
|
|
771
777
|
"Clear preview": "미리보기 지우기",
|
|
772
778
|
"Clearance": "간격(클리어런스)",
|
|
773
779
|
"Clearance, rig px": "간격, 리그 px",
|
|
774
|
-
"Cleavage": "
|
|
775
|
-
"Cleavage clearance in rig px; the producer's default is 3.8": "리그 px 단위
|
|
776
|
-
"Cleavage x (rig px)": "
|
|
777
|
-
"Cleavage y (rig px)": "
|
|
780
|
+
"Cleavage": "가운데 골",
|
|
781
|
+
"Cleavage clearance in rig px; the producer's default is 3.8": "가운데 골 간격, 리그 px 단위 (프로듀서 기본값: 3.8)",
|
|
782
|
+
"Cleavage x (rig px)": "가운데 골 x (리그 px)",
|
|
783
|
+
"Cleavage y (rig px)": "가운데 골 y (리그 px)",
|
|
778
784
|
"Click a chain on the stage (a link bone within 24 px).": "스테이지에서 체인을 클릭하세요(24 px 이내의 링크 본).",
|
|
779
785
|
"Click the box's two corners on the stage, then Finish.": "스테이지에서 박스의 두 모서리를 클릭한 뒤 완료를 누르세요.",
|
|
780
|
-
"Click the part to place the apex l; drag its marker to move it": "파츠를
|
|
781
|
-
"Click the part to place the apex r; drag its marker to move it": "파츠를
|
|
786
|
+
"Click the part to place the apex l; drag its marker to move it": "파츠를 클릭해 왼쪽 끝을 찍고, 마커는 끌어서 옮겨요",
|
|
787
|
+
"Click the part to place the apex r; drag its marker to move it": "파츠를 클릭해 오른쪽 끝을 찍고, 마커는 끌어서 옮겨요",
|
|
782
788
|
"Click the part to place the armed landmark · drag a marker to move it · Space-drag pans": "파츠를 클릭하여 선택된 랜드마크 배치 · 마커를 드래그하여 이동 · Space+드래그로 화면 이동",
|
|
783
|
-
"Click the part to place
|
|
784
|
-
"Click the part to place
|
|
789
|
+
"Click the part to place right apex → left apex → cleavage, in that order; drag a marker to move it": "파츠를 클릭해 오른쪽 끝 → 왼쪽 끝 → 가운데 골 순서로 찍고, 마커는 끌어서 옮겨요",
|
|
790
|
+
"Click the part to place right apex → left apex, in that order; drag a marker to move it": "파츠를 클릭해 오른쪽 끝 → 왼쪽 끝 순서로 찍고, 마커는 끌어서 옮겨요",
|
|
791
|
+
"Click the part to place right apex → cleavage, in that order; drag a marker to move it": "파츠를 클릭해 오른쪽 끝 → 가운데 골 순서로 찍고, 마커는 끌어서 옮겨요",
|
|
792
|
+
"Click the part to place left apex → cleavage, in that order; drag a marker to move it": "파츠를 클릭해 왼쪽 끝 → 가운데 골 순서로 찍고, 마커는 끌어서 옮겨요",
|
|
793
|
+
"Click the part to place the cleavage; drag its marker to move it": "파츠를 클릭해 가운데 골을 찍고, 마커는 끌어서 옮겨요",
|
|
785
794
|
"Click the polygon's points on the stage (rig px, whole numbers), then Finish.": "스테이지에서 다각형의 점들을 클릭한 뒤(리그 px, 정수) 완료를 누르세요.",
|
|
786
795
|
"Click the stage to place polygon points; press Draw polygon again (or Enter) to close it (3 or more points), Escape to drop it.": "스테이지를 클릭하여 다각형 점을 배치하세요. 다각형 그리기를 다시 누르거나(또는 Enter) 닫고(점 3개 이상), Escape로 취소해요.",
|
|
787
796
|
"Close": "닫기",
|
|
@@ -1000,6 +1009,8 @@ export const koCatalog: Readonly<Record<string, string>> = {
|
|
|
1000
1009
|
"Fresh meshes · {0}{1}": "새 메시 · {0}{1}",
|
|
1001
1010
|
"From value": "시작 값",
|
|
1002
1011
|
"Full provenance": "전체 출처 정보",
|
|
1012
|
+
"F{0} (producer)": "F{0} (프로듀서)",
|
|
1013
|
+
"F{0} (reference)": "F{0} (레퍼런스)",
|
|
1003
1014
|
"F{0} / {1}{2}": "F{0} / {1}{2}",
|
|
1004
1015
|
"F{0} maps to {1} s, outside the current reference range. The requested time was not changed.": "F{0}은(는) {1}초에 매핑되며 현재 레퍼런스 범위를 벗어나요. 요청된 시간은 변경되지 않았어요.",
|
|
1005
1016
|
"F{0} · Explicit time {1} s{2}": "F{0} · 명시적 시간 {1}초{2}",
|
|
@@ -1891,7 +1902,7 @@ export const koCatalog: Readonly<Record<string, string>> = {
|
|
|
1891
1902
|
"These controls show actual images, last-drawn mesh edges and named bone points for Build {0} ({1}). Setup tools apply changes only to Build {2} in a scratch build; on-disk packages stay immutable.": "이 컨트롤은 빌드 {0} ({1})의 실제 이미지, 마지막으로 그려진 메시 엣지 및 이름 지정된 본 포인트를 표시해요. 셋업 도구는 임시 빌드에서 빌드 {2}에만 변경을 적용하며 디스크의 패키지는 변경되지 않아요.",
|
|
1892
1903
|
"These controls show actual images, last-drawn mesh edges and named bone points. Both builds use the fixed animation named above. This inspector does not author geometry or motion.": "이 컨트롤은 실제 이미지, 마지막으로 그려진 메시 엣지 및 이름 지정된 본 포인트를 표시해요. 두 빌드 모두 위에 표시된 고정 애니메이션을 사용해요. 이 인스펙터는 지오메트리나 모션을 직접 제작하지 않아요.",
|
|
1893
1904
|
"This rebuild starts from the handoff and drops: {0}": "이 리빌드는 핸드오프에서 시작하며 다음 항목을 제외해요: {0}",
|
|
1894
|
-
"
|
|
1905
|
+
"Click right apex, left apex, then cleavage; the two circles are derived from them": "오른쪽 끝, 왼쪽 끝, 가운데 골 순서로 찍으면 두 원을 만들어요",
|
|
1895
1906
|
"Time (s)": "시간 (초)",
|
|
1896
1907
|
"Timed out waiting for reference video seek / decoded-frame response.": "레퍼런스 비디오 탐색 / 디코딩된 프레임 응답 대기 시간이 초과됐어요.",
|
|
1897
1908
|
"Timeline": "타임라인",
|
|
@@ -3239,7 +3250,6 @@ export const koCatalog: Readonly<Record<string, string>> = {
|
|
|
3239
3250
|
"Check these images.": "이 이미지들을 확인해 주세요.",
|
|
3240
3251
|
"Review this checkpoint.": "이 체크포인트를 검토해 주세요.",
|
|
3241
3252
|
"Approve this stage.": "이 단계를 승인해 주세요.",
|
|
3242
|
-
"Review the reopened stage.": "다시 열린 단계를 검토해 주세요.",
|
|
3243
3253
|
"Comments": "코멘트",
|
|
3244
3254
|
"Read only · Escape closes": "읽기 전용 · Escape로 닫기",
|
|
3245
3255
|
"Mark a point or region, then type. Enter saves · Escape cancels.": "점이나 영역을 표시한 뒤 입력하세요. Enter로 저장 · Escape로 취소.",
|
|
@@ -3283,9 +3293,9 @@ export const koCatalog: Readonly<Record<string, string>> = {
|
|
|
3283
3293
|
" · bone · parent {0} · bones[{1}]": " · 본 · 부모 {0} · bones[{1}]",
|
|
3284
3294
|
" · chain · parent {0} · bones[{1}]": " · 체인 · 부모 {0} · bones[{1}]",
|
|
3285
3295
|
" · physics · bone {0} · {1}": " · 물리 · 본 {0} · {1}",
|
|
3286
|
-
"Apex L, Cleavage": "왼쪽
|
|
3287
|
-
"Apex R, Cleavage": "오른쪽
|
|
3288
|
-
"Apex R, Apex L": "오른쪽
|
|
3296
|
+
"Apex L, Cleavage": "왼쪽 끝, 가운데 골",
|
|
3297
|
+
"Apex R, Cleavage": "오른쪽 끝, 가운데 골",
|
|
3298
|
+
"Apex R, Apex L": "오른쪽 끝, 왼쪽 끝",
|
|
3289
3299
|
"baseline: not run — {0}": "베이스라인: 실행 안 됨 — {0}",
|
|
3290
3300
|
"baseline: not run — {0} ({1} s)": "베이스라인: 실행 안 됨 — {0} ({1}초)",
|
|
3291
3301
|
"baseline: reproduced — rig.json {0}… = inspected {1}…": "베이스라인: 재현됨 — rig.json {0}… = 점검 대상 {1}…",
|
|
@@ -3309,13 +3319,13 @@ export const koCatalog: Readonly<Record<string, string>> = {
|
|
|
3309
3319
|
"● L · character's left (image right)": "● L · 캐릭터 왼쪽(화면 오른쪽)",
|
|
3310
3320
|
"R · character's right (image left)": "R · 캐릭터 오른쪽(화면 왼쪽)",
|
|
3311
3321
|
"L · character's left (image right)": "L · 캐릭터 왼쪽(화면 오른쪽)",
|
|
3312
|
-
"Right apex (character's right, image left)": "오른쪽
|
|
3313
|
-
"Left apex (character's left, image right)": "왼쪽
|
|
3314
|
-
"Left apex (character's left, image right), Cleavage": "왼쪽
|
|
3315
|
-
"Right apex (character's right, image left), Cleavage": "오른쪽
|
|
3316
|
-
"Right apex (character's right, image left), Left apex (character's left, image right)": "오른쪽
|
|
3317
|
-
"Click the part to place the right apex (character's right, image left); drag its marker to move it": "파츠를 클릭해 오른쪽
|
|
3318
|
-
"Click the part to place the left apex (character's left, image right); drag its marker to move it": "파츠를 클릭해 왼쪽
|
|
3322
|
+
"Right apex (character's right, image left)": "오른쪽 끝(캐릭터 기준, 화면 왼쪽)",
|
|
3323
|
+
"Left apex (character's left, image right)": "왼쪽 끝(캐릭터 기준, 화면 오른쪽)",
|
|
3324
|
+
"Left apex (character's left, image right), Cleavage": "왼쪽 끝(캐릭터 기준, 화면 오른쪽), 가운데 골",
|
|
3325
|
+
"Right apex (character's right, image left), Cleavage": "오른쪽 끝(캐릭터 기준, 화면 왼쪽), 가운데 골",
|
|
3326
|
+
"Right apex (character's right, image left), Left apex (character's left, image right)": "오른쪽 끝(캐릭터 기준, 화면 왼쪽), 왼쪽 끝(캐릭터 기준, 화면 오른쪽)",
|
|
3327
|
+
"Click the part to place the right apex (character's right, image left); drag its marker to move it": "파츠를 클릭해 오른쪽 끝(캐릭터 기준, 화면 왼쪽)을 찍고, 마커는 끌어서 옮겨요",
|
|
3328
|
+
"Click the part to place the left apex (character's left, image right); drag its marker to move it": "파츠를 클릭해 왼쪽 끝(캐릭터 기준, 화면 오른쪽)을 찍고, 마커는 끌어서 옮겨요",
|
|
3319
3329
|
"Copy R's y, core radius and band to L (leaves L's x as is)": "R의 y, 중심 반경(r), 밴드를 L에 복사해요(L의 x는 유지)",
|
|
3320
3330
|
"Y·size symmetry": "Y·크기 대칭",
|
|
3321
3331
|
"view only, no producer handoff": "뷰 전용, 프로듀서 핸드오프 없음",
|
|
@@ -3410,7 +3420,7 @@ export const koCatalog: Readonly<Record<string, string>> = {
|
|
|
3410
3420
|
"--by: launch only; incompatible with export or correction options": "--by: 실행 전용 옵션이라 내보내기 또는 수정 인계 옵션과 함께 쓸 수 없어요",
|
|
3411
3421
|
"Painting comparison": "원화 비교",
|
|
3412
3422
|
"Compare with": "비교 대상",
|
|
3413
|
-
"Previous accepted draft · {0}
|
|
3423
|
+
"Previous accepted draft · {0}": "이전 승인 초안 · {0}",
|
|
3414
3424
|
"Overlay": "오버레이",
|
|
3415
3425
|
"Part opacity": "파츠 불투명도",
|
|
3416
3426
|
"PARTS_COMPARISON_UNAVAILABLE: original painting required": "PARTS_COMPARISON_UNAVAILABLE: 원본 원화가 필요해요",
|
|
@@ -3477,11 +3487,20 @@ export const koCatalog: Readonly<Record<string, string>> = {
|
|
|
3477
3487
|
"job.openPlanStep": "계획 단계 보기",
|
|
3478
3488
|
"job.openPlan": "계획 보기",
|
|
3479
3489
|
"job.signoff": "단계 승인 저장",
|
|
3480
|
-
"job.reopen": "단계 다시 열기",
|
|
3481
3490
|
"job.time": "검사 시간 (초)",
|
|
3482
3491
|
"job.title": "실시간 리뷰 작업",
|
|
3483
3492
|
"job.updated": "{0}에서 {1}(으)로 업데이트됐어요.",
|
|
3484
3493
|
"job.waiting": "게시된 결과를 기다리고 있어요.",
|
|
3494
|
+
"job.progress.phase.ingest": "입력을 읽고 있어요",
|
|
3495
|
+
"job.progress.phase.build": "만들고 있어요",
|
|
3496
|
+
"job.progress.phase.measure": "측정하고 있어요",
|
|
3497
|
+
"job.progress.phase.publish": "게시하고 있어요",
|
|
3498
|
+
"job.progress.phase.other": "작업하고 있어요",
|
|
3499
|
+
"job.progress.step": "{0}/{1}단계",
|
|
3500
|
+
"job.progress.now": "방금",
|
|
3501
|
+
"job.progress.seconds": "{0}초 전",
|
|
3502
|
+
"job.progress.minutes": "{0}분 전",
|
|
3503
|
+
"job.progress.quiet": "{0}분째 소식이 없어요 · 마지막: {1}",
|
|
3485
3504
|
"job.wholeRig": "전체 리그",
|
|
3486
3505
|
"job.zoomIn": "확대",
|
|
3487
3506
|
"job.zoomOut": "축소",
|
|
@@ -3631,5 +3650,6 @@ export const koCatalog: Readonly<Record<string, string>> = {
|
|
|
3631
3650
|
"This question refers to a scene that this publication does not include.": "이 질문이 가리키는 장면이 이번 게시에 들어 있지 않아요.",
|
|
3632
3651
|
"This request has no picture.": "이 요청에는 그림이 없어요.",
|
|
3633
3652
|
"The selected part has no chest regions. The chest editor keeps its current part.": "선택한 파츠에는 가슴 영역이 없어요. 가슴 편집기는 지금 파츠를 그대로 둬요.",
|
|
3653
|
+
"The source changed, so {0} unsent comment(s) could not be carried over. Please add them again.": "원본이 바뀌어서 보내지 않은 코멘트 {0}개를 옮기지 못했어요. 다시 남겨 주세요.",
|
|
3634
3654
|
'Resize comment area: {0}': '코멘트 영역 크기를 조절해요: {0}',
|
|
3635
3655
|
};
|