@nativestudio/cli 0.3.0-rc.11 → 0.3.0-rc.14
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/COMPATIBILITY.json +13 -9
- package/components/runtime.json +9 -5
- package/components/runtime.tgz +0 -0
- package/dist/_chunks/chunk-2AI3WF2O.js +1 -0
- package/dist/_chunks/chunk-5DY7LSZZ.js +1 -0
- package/dist/_chunks/{chunk-65FQPXKC.js → chunk-6LY4JYSG.js} +1 -1
- package/dist/_chunks/chunk-6UYY5KHI.js +1 -0
- package/dist/_chunks/{chunk-6N433ZWR.js → chunk-77IAHNM2.js} +1 -1
- package/dist/_chunks/{chunk-4U4Y2K73.js → chunk-C62JAWRQ.js} +1 -1
- package/dist/_chunks/{chunk-Q57YFNK5.js → chunk-HY7NXJYX.js} +1 -1
- package/dist/_chunks/chunk-PDQYFIQQ.js +1 -0
- package/dist/_chunks/{chunk-L543FEDK.js → chunk-RDIMORUT.js} +1 -1
- package/dist/_chunks/{chunk-LISB5W7B.js → chunk-RK2P3UVF.js} +1 -1
- package/dist/_chunks/{chunk-M2KVQQ4X.js → chunk-ROBBF33U.js} +1 -1
- package/dist/_chunks/{chunk-QAJH4RJQ.js → chunk-S74X4KIC.js} +1 -1
- package/dist/_chunks/{chunk-6DVZBKNV.js → chunk-SV3NF7GO.js} +1 -1
- package/dist/_chunks/chunk-TLPI6P7L.js +1 -0
- package/dist/_chunks/{chunk-HR34UMPP.js → chunk-U7ECMITP.js} +1 -1
- package/dist/_chunks/{chunk-EGUJ2YRX.js → chunk-VD3OQ743.js} +1 -1
- package/dist/_chunks/{chunk-ODGPV7MM.js → chunk-VKLS4QK5.js} +1 -1
- package/dist/_chunks/{chunk-LUAH3KAS.js → chunk-W6C63ZN7.js} +1 -1
- package/dist/_chunks/chunk-ZRSYOFMX.js +1 -0
- package/dist/_chunks/{connect-5YMO6MAR.js → connect-6UH7ZFAC.js} +1 -1
- package/dist/_chunks/{device-management-2OTGEBJQ.js → device-management-H3NIDIPY.js} +1 -1
- package/dist/_chunks/{device-preflight-XPHFZGLO.js → device-preflight-LHFLPVAB.js} +1 -1
- package/dist/_chunks/{devices-inventory-VWNTU5TE.js → devices-inventory-I2E3Q4DA.js} +1 -1
- package/dist/_chunks/{devices-main-VQ4APRVS.js → devices-main-VV2VYU4T.js} +1 -1
- package/dist/_chunks/{host-main-H7DPLV7B.js → host-main-3JFGVU5P.js} +1 -1
- package/dist/_chunks/http-profile-NIQDCFPU.js +1 -0
- package/dist/_chunks/{library-main-SAC3V2ML.js → library-main-CTBW7DAI.js} +1 -1
- package/dist/_chunks/local-main-227MNGEC.js +1 -0
- package/dist/_chunks/{local-mcp-ONCANLPH.js → local-mcp-XB6E3V2W.js} +1 -1
- package/dist/_chunks/{main-PW6HB3NC.js → main-W6NNZFLK.js} +2 -2
- package/dist/_chunks/mcp-EXQ5UAHB.js +1 -0
- package/dist/_chunks/{render-main-GYWKP72O.js → render-main-VTM6WGFP.js} +1 -1
- package/dist/_chunks/{source-import-BC5GNCUZ.js → source-import-KKV2UWJO.js} +1 -1
- package/dist/_chunks/{src-R6DNU336.js → src-OIY5TBQT.js} +1 -1
- package/dist/_chunks/{stdio-main-RIJS5REB.js → stdio-main-Y7N4NVKU.js} +1 -1
- package/dist/_chunks/workspace-main-Y7ZVBRJJ.js +1 -0
- package/dist/_types/cli/local/desktop-contract.d.ts +63 -5
- package/dist/_types/cli/local/desktop-device-contract.d.ts +23 -10
- package/dist/_types/cli/local/desktop-device-owner.d.ts +33 -7
- package/dist/_types/cli/local/desktop-device-state.d.ts +64 -12
- package/dist/_types/cli/local/desktop-owner.d.ts +57 -8
- package/dist/_types/cli/local/ledger.d.ts +10 -10
- package/dist/_types/cli/local/manager.d.ts +121 -18
- package/dist/_types/cli/local/mcp-tools.d.ts +14 -13
- package/dist/_types/cli/local/releases.d.ts +2 -2
- package/dist/_types/cli/local-management.d.ts +3 -0
- package/dist/_types/contracts/artifact-discovery.d.ts +60 -0
- package/dist/_types/contracts/audio.d.ts +162 -0
- package/dist/_types/contracts/consistency-profile.d.ts +102 -6
- package/dist/_types/contracts/continuity-evaluation.d.ts +1 -1
- package/dist/_types/contracts/delivery-operations.d.ts +150 -0
- package/dist/_types/contracts/device-render.d.ts +2 -0
- package/dist/_types/contracts/editor-intelligence.d.ts +280 -42
- package/dist/_types/contracts/final-render.d.ts +188 -24
- package/dist/_types/contracts/human-links.d.ts +58 -0
- package/dist/_types/contracts/index.d.ts +6 -0
- package/dist/_types/contracts/interface/media-output.d.ts +90 -0
- package/dist/_types/contracts/interface/operation.d.ts +30 -0
- package/dist/_types/contracts/interface/production-snapshot.d.ts +60 -0
- package/dist/_types/contracts/interface/query.d.ts +60 -0
- package/dist/_types/contracts/keyframe-generation.d.ts +1 -1
- package/dist/_types/contracts/local-execution/agent-context.d.ts +23 -3
- package/dist/_types/contracts/local-execution/agent-review.d.ts +29 -3
- package/dist/_types/contracts/local-execution/audio-profile.d.ts +6 -0
- package/dist/_types/contracts/local-execution/cpu-preparation.d.ts +46 -0
- package/dist/_types/contracts/local-execution/cpu-resources.d.ts +55 -0
- package/dist/_types/contracts/local-execution/cpu-speech-job.d.ts +70 -0
- package/dist/_types/contracts/local-execution/cpu-speech.d.ts +161 -0
- package/dist/_types/contracts/local-execution/descriptor.d.ts +1 -1
- package/dist/_types/contracts/local-execution/device-inventory.d.ts +2 -2
- package/dist/_types/contracts/local-execution/device.d.ts +3 -3
- package/dist/_types/contracts/local-execution/index.d.ts +6 -0
- package/dist/_types/contracts/local-execution/ipc.d.ts +18 -2
- package/dist/_types/contracts/local-execution/library-result.d.ts +16 -0
- package/dist/_types/contracts/local-execution/lifecycle.d.ts +49 -7
- package/dist/_types/contracts/local-execution/local-navigation.d.ts +15 -14
- package/dist/_types/contracts/local-execution/management.d.ts +15 -11
- package/dist/_types/contracts/local-execution/preview.d.ts +38 -3
- package/dist/_types/contracts/local-execution/processor-capability.d.ts +2 -0
- package/dist/_types/contracts/local-execution/processor-recipes.d.ts +43 -0
- package/dist/_types/contracts/local-execution/processor-toolchain.d.ts +47 -0
- package/dist/_types/contracts/local-execution/processor.d.ts +184 -3
- package/dist/_types/contracts/local-execution/speech.d.ts +1 -1
- package/dist/_types/contracts/local-execution/tool-selection.d.ts +26 -0
- package/dist/_types/contracts/local-execution/work.d.ts +16 -2
- package/dist/_types/contracts/native-speech-model.d.ts +53 -0
- package/dist/_types/contracts/native-speech-options.d.ts +25 -0
- package/dist/_types/contracts/navigation-context.d.ts +2 -2
- package/dist/_types/contracts/navigation-groups.d.ts +1 -1
- package/dist/_types/contracts/navigation.d.ts +35 -5
- package/dist/_types/contracts/production-creation.d.ts +30 -0
- package/dist/_types/contracts/production.d.ts +30 -0
- package/dist/_types/contracts/project-library.d.ts +30 -0
- package/dist/_types/contracts/project.d.ts +30 -0
- package/dist/_types/contracts/provider-models.d.ts +193 -0
- package/dist/_types/contracts/repair-lifecycle.d.ts +4 -4
- package/dist/_types/contracts/repair-plan.d.ts +1 -1
- package/dist/_types/contracts/repair-strategy.d.ts +9 -5
- package/dist/_types/contracts/review-intelligence-final-output.d.ts +90 -0
- package/dist/_types/contracts/review-intelligence.d.ts +3 -1
- package/dist/_types/contracts/rough-cut-manifest.d.ts +19 -4
- package/dist/_types/contracts/rough-cut-review.d.ts +10 -1
- package/dist/_types/contracts/rough-cut.d.ts +111 -12
- package/dist/_types/contracts/shot-preparation-basis.d.ts +2 -2
- package/dist/_types/contracts/shot-preparation.d.ts +4 -4
- package/dist/_types/contracts/sound-making-plan.d.ts +207 -0
- package/dist/_types/contracts/speech-cost.d.ts +15 -0
- package/dist/_types/contracts/speech-parameters.d.ts +39 -0
- package/dist/_types/contracts/speech.d.ts +470 -39
- package/dist/_types/contracts/timeline-audio.d.ts +19 -4
- package/dist/_types/contracts/timeline-manifest.d.ts +38 -8
- package/dist/_types/contracts/timeline-source-sound.d.ts +41 -4
- package/dist/_types/contracts/timeline-v2.d.ts +120 -16
- package/dist/_types/contracts/timeline-version-reader.d.ts +278 -40
- package/dist/_types/contracts/timeline-visual-layers.d.ts +120 -16
- package/dist/_types/contracts/video-generation.d.ts +1 -1
- package/dist/_types/contracts/visual-exploration.d.ts +1 -1
- package/dist/_types/contracts/visual-layer-render.d.ts +240 -32
- package/dist/_types/contracts/visual-sequence.d.ts +1 -1
- package/dist/_types/contracts/voice-consistency.d.ts +183 -0
- package/dist/_types/contracts/voice-profile/contracts.d.ts +821 -0
- package/dist/_types/contracts/voice-profile/identity.d.ts +27 -0
- package/dist/_types/contracts/voice-profile/interface.d.ts +89 -0
- package/dist/_types/contracts/voice-profile/reference.d.ts +106 -0
- package/dist/_types/contracts/voice-review.d.ts +1194 -0
- package/dist/_types/contracts/workspace.d.ts +30 -0
- package/dist/_types/sdk/local-runtime/device-client.d.ts +54 -2
- package/dist/_types/sdk/local-runtime-client.d.ts +169 -28
- package/dist/entry.js +1 -1
- package/dist/local-management.js +1 -1
- package/dist/local-navigation.js +1 -1
- package/package.json +1 -1
- package/dist/_chunks/chunk-37PAJCKA.js +0 -1
- package/dist/_chunks/chunk-GZBWA4YN.js +0 -1
- package/dist/_chunks/chunk-PUBMDP4E.js +0 -1
- package/dist/_chunks/chunk-VPYAXWXY.js +0 -1
- package/dist/_chunks/chunk-WFRRNWO5.js +0 -1
- package/dist/_chunks/http-profile-MNJX6OXO.js +0 -1
- package/dist/_chunks/local-main-D6B3APK6.js +0 -1
- package/dist/_chunks/mcp-ZIGBYFUW.js +0 -1
- package/dist/_chunks/workspace-main-GNSKHKBG.js +0 -1
package/COMPATIBILITY.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"protocol": "NVS_PRODUCT_COMPATIBILITY_V1",
|
|
3
3
|
"product": "@nativestudio/cli",
|
|
4
|
-
"version": "0.3.0-rc.
|
|
4
|
+
"version": "0.3.0-rc.14",
|
|
5
5
|
"source": {
|
|
6
|
-
"head": "
|
|
7
|
-
"fileDigest": "
|
|
6
|
+
"head": "497aa46c4aa7cd8fcf1303fb92097d724aa7a2e9",
|
|
7
|
+
"fileDigest": "de387a40c2be4e8cfe9232ce8b1c6329a5c5030616b9340b01e807a5ba9ef44a",
|
|
8
8
|
"dirty": false,
|
|
9
|
-
"remoteMainHead": "
|
|
9
|
+
"remoteMainHead": "497aa46c4aa7cd8fcf1303fb92097d724aa7a2e9"
|
|
10
10
|
},
|
|
11
11
|
"node": ">=24.12 <25",
|
|
12
12
|
"discoveryProfile": "contextual-v1",
|
|
13
13
|
"accountProtocol": "NVS_CLI_ACCOUNT_V1",
|
|
14
14
|
"component": {
|
|
15
15
|
"protocol": "NVS_PRODUCT_COMPONENT_V2",
|
|
16
|
-
"version": "0.3.0-rc.
|
|
17
|
-
"byteSize":
|
|
18
|
-
"sha512": "
|
|
16
|
+
"version": "0.3.0-rc.14",
|
|
17
|
+
"byteSize": 3321426,
|
|
18
|
+
"sha512": "26d367fb0374e6b517f8fbae59c6a696672f98619b3a741cb559c873cd2371dc56bdbe7eb9b8834590c8bd8816af2894b50b5c114334964c9427153e1236aa55",
|
|
19
19
|
"descriptor": {
|
|
20
20
|
"protocol": "NVS_RUNTIME_DESCRIPTOR_V1",
|
|
21
|
-
"version": "0.3.0-rc.
|
|
21
|
+
"version": "0.3.0-rc.14",
|
|
22
22
|
"node": {
|
|
23
23
|
"major": 24,
|
|
24
24
|
"minMinor": 12
|
|
@@ -26,9 +26,13 @@
|
|
|
26
26
|
"ipcProtocol": "NVS_LOCAL_IPC_V1",
|
|
27
27
|
"workProtocol": "NVS_LOCAL_WORK_V2",
|
|
28
28
|
"journalSchema": 1,
|
|
29
|
-
"rendererDigest": "
|
|
29
|
+
"rendererDigest": "e752c10109613505450ac59d71835a7da3e1bab7e90cd804cb88c2f979255cec",
|
|
30
30
|
"profileDigest": "9c66c6384e7c5b63a182f8ad0cde0e2713c933d7c5319eb803b5059a84b9750e",
|
|
31
31
|
"compatibleRenderers": [
|
|
32
|
+
{
|
|
33
|
+
"rendererDigest": "ae473e7f6b3fe2f2aa5aa255360a2354a348bafc1f85c8806fb73ba2e910584e",
|
|
34
|
+
"profileDigest": "bd6aa2bab59851c87f1176c3ef951564467bb42dc577f2f62844e8744be06a87"
|
|
35
|
+
},
|
|
32
36
|
{
|
|
33
37
|
"rendererDigest": "2b8e9eab1b560d799f85e1180097699ef0c4f1cf34aa4ad79f17f53ca5e36d70",
|
|
34
38
|
"profileDigest": "7c1379a543fb3cf43cc87bfa571cd1994a5c82a6b1fc3b3cce75e23b13e8a4fc"
|
package/components/runtime.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"protocol": "NVS_PRODUCT_COMPONENT_V2",
|
|
3
|
-
"version": "0.3.0-rc.
|
|
4
|
-
"byteSize":
|
|
5
|
-
"sha512": "
|
|
3
|
+
"version": "0.3.0-rc.14",
|
|
4
|
+
"byteSize": 3321426,
|
|
5
|
+
"sha512": "26d367fb0374e6b517f8fbae59c6a696672f98619b3a741cb559c873cd2371dc56bdbe7eb9b8834590c8bd8816af2894b50b5c114334964c9427153e1236aa55",
|
|
6
6
|
"descriptor": {
|
|
7
7
|
"protocol": "NVS_RUNTIME_DESCRIPTOR_V1",
|
|
8
|
-
"version": "0.3.0-rc.
|
|
8
|
+
"version": "0.3.0-rc.14",
|
|
9
9
|
"node": {
|
|
10
10
|
"major": 24,
|
|
11
11
|
"minMinor": 12
|
|
@@ -13,9 +13,13 @@
|
|
|
13
13
|
"ipcProtocol": "NVS_LOCAL_IPC_V1",
|
|
14
14
|
"workProtocol": "NVS_LOCAL_WORK_V2",
|
|
15
15
|
"journalSchema": 1,
|
|
16
|
-
"rendererDigest": "
|
|
16
|
+
"rendererDigest": "e752c10109613505450ac59d71835a7da3e1bab7e90cd804cb88c2f979255cec",
|
|
17
17
|
"profileDigest": "9c66c6384e7c5b63a182f8ad0cde0e2713c933d7c5319eb803b5059a84b9750e",
|
|
18
18
|
"compatibleRenderers": [
|
|
19
|
+
{
|
|
20
|
+
"rendererDigest": "ae473e7f6b3fe2f2aa5aa255360a2354a348bafc1f85c8806fb73ba2e910584e",
|
|
21
|
+
"profileDigest": "bd6aa2bab59851c87f1176c3ef951564467bb42dc577f2f62844e8744be06a87"
|
|
22
|
+
},
|
|
19
23
|
{
|
|
20
24
|
"rendererDigest": "2b8e9eab1b560d799f85e1180097699ef0c4f1cf34aa4ad79f17f53ca5e36d70",
|
|
21
25
|
"profileDigest": "7c1379a543fb3cf43cc87bfa571cd1994a5c82a6b1fc3b3cce75e23b13e8a4fc"
|
package/components/runtime.tgz
CHANGED
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{embeddedRuntime,runtimeEnvironment,toolPreference,verifySlot}from"./chunk-ZRSYOFMX.js";import{directory,fail,read,write}from"./chunk-KB2GVAN7.js";import{CpuSpeechPrepareInputSchema,CpuSpeechPreparedSchema,LocalToolSelectionSchema,canonicalLocalJson}from"./chunk-PDQYFIQQ.js";import{spawn}from"node:child_process";import{randomUUID}from"node:crypto";import{join}from"node:path";import{unlink}from"node:fs/promises";async function assertCpuPreparationCurrent(manager,original,planRevision=original.revision){const current=(await manager.ledger.current()).value;const configuration=await manager.configuration();if(current.revision!==original.revision||planRevision!==original.revision||canonicalLocalJson(configuration)!==canonicalLocalJson(original.configuration))fail("REVISION_CONFLICT")}async function prepareInstalledCpuSpeech(manager,raw){const input=CpuSpeechPrepareInputSchema.parse(raw),current=(await manager.ledger.current()).value;if(current.transition)fail("ACTIVATION_IN_PROGRESS");if(!current.active)fail("INSTALLATION_REQUIRED");const slot=current.active,root=manager.ledger.slotPath(slot),configuration=await manager.configuration();const context={revision:current.revision,configuration};await verifySlot(root,slot);const file=join(await directory(join(manager.ledger.root,"preparations")),randomUUID()+".json");await write(file,JSON.stringify(input),true);try{const prepared=await new Promise((resolve,reject)=>{const child=spawn(process.execPath,["--max-old-space-size=256",join(root,"dist/entry.js"),"--prepare-cpu-speech","--state-dir",configuration.stateDirectory,"--input-config",file],{env:runtimeEnvironment(),stdio:["ignore","pipe","pipe","ipc"],shell:false});const parts=[],errors=[];let used=0,errorBytes=0,killed=false;const timer=setTimeout(()=>{killed=true;child.kill("SIGTERM")},23e4);const kill=setTimeout(()=>{killed=true;child.kill("SIGKILL")},235e3);const abort=()=>{killed=true;child.kill("SIGTERM")};process.once("SIGINT",abort);process.once("SIGTERM",abort);child.stdout.on("data",chunk=>{used+=chunk.length;if(used>32768)child.kill("SIGTERM");else parts.push(chunk)});child.stderr.on("data",chunk=>{errorBytes+=chunk.length;if(errorBytes>4096)child.kill("SIGTERM");else errors.push(chunk)});child.once("error",reject);child.once("close",code=>{clearTimeout(timer);clearTimeout(kill);process.off("SIGINT",abort);process.off("SIGTERM",abort);try{if(killed)fail("CPU_PREPARATION_CANCELLED");if(code!==0||used>32768||errorBytes>4096){const last=Buffer.concat(errors).toString().trim().split("\n").at(-1);let reason;try{reason=JSON.parse(last??"{}").error?.code}catch{}if(reason==="CPU_BZIP2_REQUIRED")fail("CPU_BZIP2_REQUIRED");if(reason==="CPU_SPEECH_PLATFORM_UNAVAILABLE")fail("CPU_SPEECH_PLATFORM_UNAVAILABLE");fail("CPU_PREPARATION_FAILED")}resolve(CpuSpeechPreparedSchema.parse(JSON.parse(Buffer.concat(parts).toString())))}catch(error){reject(error)}})});await assertCpuPreparationCurrent(manager,context);const previous=await toolPreference(slot.toolsConfigPath,configuration.cloudConfigFile);const existing=slot.toolsConfigPath?LocalToolSelectionSchema.parse(JSON.parse((await read(slot.toolsConfigPath,32768)).toString())):null;const reuseMedia=previous.mode==="MANAGED"&&existing?.mode==="MANAGED"?{schemaVersion:1,ffmpeg:existing.ffmpeg,ffprobe:existing.ffprobe}:void 0;const choice={...previous,cpuSpeech:prepared.selection,...reuseMedia?{reuseMedia}:{}};const plan=await embeddedRuntime(slot.descriptor.version)?await manager.prepareBundled(slot.descriptor.version,choice):await manager.prepare(slot.descriptor.version,choice);await assertCpuPreparationCurrent(manager,context,plan.installationRevision);return{semanticStatus:"PREPARED",capability:prepared.capability,reused:prepared.reused,plan}}finally{await unlink(file).catch(error=>{if(error.code!=="ENOENT")throw error})}}export{prepareInstalledCpuSpeech};
|