conformtools 0.6.28 → 0.6.29

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.
Files changed (57) hide show
  1. package/dist/{account-RSL4PTDB.js → account-F4ODJBD2.js} +1 -1
  2. package/dist/{agent-hook-setup-IACTYSVL.js → agent-hook-setup-KBCGZNEE.js} +1 -1
  3. package/dist/{analysis-engine-BBOSGAB2.js → analysis-engine-LGB4OXG7.js} +1 -1
  4. package/dist/{bridge-I6VDW7YC.js → bridge-GLW34YZF.js} +1 -1
  5. package/dist/browser/timeline_core_bg.wasm +0 -0
  6. package/dist/{chunk-UE76WJ3Y.js → chunk-7DH6DFYL.js} +1 -1
  7. package/dist/{chunk-QY4QDBIN.js → chunk-BZE7IP6U.js} +91 -91
  8. package/dist/{chunk-TGLH2JDW.js → chunk-FHCRWOI7.js} +1 -1
  9. package/dist/{chunk-NRURUPLU.js → chunk-GDPYFRSV.js} +1 -1
  10. package/dist/chunk-H3FD5KA2.js +7 -0
  11. package/dist/{chunk-BIX5ETBY.js → chunk-HHOFGYZ7.js} +1 -1
  12. package/dist/{chunk-X76IIWBH.js → chunk-HZBGG7HI.js} +1 -1
  13. package/dist/{chunk-AR5BTVBM.js → chunk-KD7UGCLT.js} +1 -1
  14. package/dist/{chunk-CSH2RRI6.js → chunk-NTPDZOPF.js} +1 -1
  15. package/dist/chunk-QDL3XYOE.js +545 -0
  16. package/dist/chunk-QQBDHVUU.js +3 -0
  17. package/dist/chunk-RKJML7MH.js +10 -0
  18. package/dist/{chunk-WG75XXKG.js → chunk-RVKNGIE3.js} +2 -2
  19. package/dist/{chunk-3KS3547B.js → chunk-SSFG7FNI.js} +1 -1
  20. package/dist/{chunk-UXEL636C.js → chunk-UXVABU6B.js} +1 -1
  21. package/dist/{chunk-CV7OBWOX.js → chunk-WJS6NM7T.js} +1 -1
  22. package/dist/{chunk-RL5XRG6O.js → chunk-WWE2FXAQ.js} +1 -1
  23. package/dist/{chunk-HNEKQMQG.js → chunk-YJREJ2MH.js} +1 -1
  24. package/dist/{chunk-7CASAJU4.js → chunk-ZE7BP4AE.js} +1 -1
  25. package/dist/{claude-setup-6RMV3QZM.js → claude-setup-FYWGYBTH.js} +1 -1
  26. package/dist/cli.js +2 -2
  27. package/dist/demo-engine-5HWLXPDJ.js +3 -0
  28. package/dist/{engine-I2NXY2OK.js → engine-LFB243Q6.js} +2 -2
  29. package/dist/{framing-QC7Z2GRK.js → framing-KHUFARKE.js} +1 -1
  30. package/dist/gfx-worker.js +1 -1
  31. package/dist/h264-QGSP23K2.js +3 -0
  32. package/dist/{h264-mxf-PKSTGNGH.js → h264-mxf-I4YANT5F.js} +1 -1
  33. package/dist/{host-relink-B3M3B3VF.js → host-relink-L7I75SUH.js} +1 -1
  34. package/dist/{hosted-26GUD7IU.js → hosted-5Y5VX6X6.js} +1 -1
  35. package/dist/hosts-QMGBN2E6.js +3 -0
  36. package/dist/http.js +2 -2
  37. package/dist/{inspect-RT36GEVU.js → inspect-GP6B6UPD.js} +2 -2
  38. package/dist/{isobmff-65LRNCQH.js → isobmff-LAXAYC7P.js} +1 -1
  39. package/dist/{mc-video-2PCAX65A.js → mc-video-KQ7TP4DG.js} +1 -1
  40. package/dist/mcp.js +7 -7
  41. package/dist/{media-NCUTSVJ4.js → media-SUPBJX64.js} +1 -1
  42. package/dist/{mxf-WFJNAX7D.js → mxf-2TQO552L.js} +1 -1
  43. package/dist/{ops-SH3IUU2Z.js → ops-CVKPID5Z.js} +1 -1
  44. package/dist/{probe-VB6JH6ZJ.js → probe-HUPB4H4G.js} +1 -1
  45. package/dist/{r3d-X2O5LUAB.js → r3d-EPSGIBPT.js} +1 -1
  46. package/dist/resolve-bridge.py +4 -1
  47. package/dist/{sequence-patch-OHYBBKKZ.js → sequence-patch-GXM3QSJC.js} +1 -1
  48. package/dist/{store-F2CTSR6E.js → store-K4W2LVRN.js} +1 -1
  49. package/dist/{timeline-33MJ3HOK.js → timeline-HTG23FEH.js} +1 -1
  50. package/package.json +5 -5
  51. package/dist/chunk-7GEOQ4N6.js +0 -537
  52. package/dist/chunk-IDADYIY6.js +0 -7
  53. package/dist/chunk-TIZC6IEH.js +0 -10
  54. package/dist/chunk-ZPIY5DOU.js +0 -3
  55. package/dist/demo-engine-ITZ7VG6Q.js +0 -3
  56. package/dist/h264-TVMYQ7EB.js +0 -3
  57. package/dist/hosts-LVKUUVG7.js +0 -3
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire as __conformRequire } from 'node:module'; const require = __conformRequire(import.meta.url);
3
- import{g as a,h as b,i as c,j as d,k as e,l as f,m as g,n as h,o as i,p as j,q as k,r as l,s as m,t as n,u as o,v as p,w as q}from"./chunk-TIZC6IEH.js";import"./chunk-3PVQ5QP4.js";import"./chunk-VFXMP7IF.js";import"./chunk-BBCQMZQN.js";import"./chunk-ASFUV3PB.js";import"./chunk-NRURUPLU.js";import"./chunk-TGLH2JDW.js";import"./chunk-NU3X7P4N.js";import"./chunk-7Z65WW4I.js";import"./chunk-E75BCWXY.js";import"./chunk-ZPIY5DOU.js";import"./chunk-PSANHDZM.js";export{a as MEDIA_EXTS,g as bwfAt,q as coverage,e as decodeFrameRgba,o as factsLine,h as factsText,n as findMedia,p as findText,c as folderClip,i as islandsFor,m as nameMatch,l as normName,d as openSource,f as probeMedia,b as siblingParts,k as trimMedia,j as trimSource};
3
+ import{g as a,h as b,i as c,j as d,k as e,l as f,m as g,n as h,o as i,p as j,q as k,r as l,s as m,t as n,u as o,v as p,w as q}from"./chunk-RKJML7MH.js";import"./chunk-3PVQ5QP4.js";import"./chunk-VFXMP7IF.js";import"./chunk-BBCQMZQN.js";import"./chunk-ASFUV3PB.js";import"./chunk-GDPYFRSV.js";import"./chunk-FHCRWOI7.js";import"./chunk-NU3X7P4N.js";import"./chunk-7Z65WW4I.js";import"./chunk-E75BCWXY.js";import"./chunk-QQBDHVUU.js";import"./chunk-PSANHDZM.js";export{a as MEDIA_EXTS,g as bwfAt,q as coverage,e as decodeFrameRgba,o as factsLine,h as factsText,n as findMedia,p as findText,c as folderClip,i as islandsFor,m as nameMatch,l as normName,d as openSource,f as probeMedia,b as siblingParts,k as trimMedia,j as trimSource};
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire as __conformRequire } from 'node:module'; const require = __conformRequire(import.meta.url);
3
- import{a as G}from"./chunk-AACY2V3L.js";import{b as $}from"./chunk-NRURUPLU.js";import{b as j}from"./chunk-TGLH2JDW.js";import{Ja as l,M as P,R as z,b as U,ca as T,da as D,e as B,ea as E,fa as C,g as M,ga as L,ja as V,ra as W,ta as g,w as O,wa as N,ya as J}from"./chunk-7Z65WW4I.js";import"./chunk-PSANHDZM.js";var v=new Uint8Array([6,14,43,52,2,5,1,1,13,1,2,1,1,17,1,0]);function se(n){e:for(let r=n.length-v.length;r>=0;r--){for(let e=0;e<v.length;e++)if(n[r+e]!==v[e])continue e;return r}return-1}function Z(n,r){if(r>=n.byteLength)return[null,0];let e=n.getUint8(r);if(e<128)return[e,1];let t=e&127;if(t===0||t>8||r+1+t>n.byteLength)return[null,1];let a=0;for(let i=0;i<t;i++)a=a*256+n.getUint8(r+1+i);return[a,1+t]}function w(n,r){let e=n.getUint32(r,!1),t=n.getUint32(r+4,!1);return e*4294967296+t}async function H(n){let r=n.fileSize,e=[];if(r<1024)return e;let a=Math.max(0,r-65536),i=r-a,o=await n.read(a,i);e.push({offset:a,length:i});let s=se(o);if(s<0)return e;let c=new DataView(o.buffer,o.byteOffset,o.byteLength),[f,te]=Z(c,s+16);if(f===null||f<16||f>65536)return e;let A=s+16+te;if(A+f>o.length)return e;let F=[],ne=new DataView(o.buffer,o.byteOffset+A,f),_=Math.floor((f-4)/12);if(_<1||_>4096)return e;for(let u=0;u<_;u++){let p=w(ne,u*12+4);p>=0&&p<r&&F.push(p)}for(let u of F){let p=Math.min(256,r-u),b=await n.read(u,p);if(b.length<80)continue;let y=new DataView(b.buffer,b.byteOffset,b.byteLength),[R,k]=Z(y,16);if(R===null)continue;let m=16+k,x,S;if(b.length<m+64){let oe=Math.min(m+64,r-u),h=await n.read(u,oe);if(h.length<m+64)continue;let I=new DataView(h.buffer,h.byteOffset,h.byteLength);x=w(I,m+32),S=w(I,m+40)}else x=w(y,m+32),S=w(y,m+40);let ae=u+16+k+R+x+S,ie=Math.min(ae+65536,r)-u;e.push({offset:u,length:ie})}return e}function q(n,r){let e=[];for(let t of n){if(t.kind!=="clip"||!t.source_range)continue;let a=t.source_range.start.value,i=t.source_range.duration.value,o=Math.max(0,Math.floor(a)-r),s=Math.floor(a+i-1)+r;s>=o&&e.push({first_frame:o,last_frame:s})}return e}function ce(n,r){let e=[...n].sort((i,o)=>i.offset-o.offset),t=[],a=0;for(let i of e)i.offset>a&&t.push({offset:a,length:i.offset-a}),a=Math.max(a,i.offset+i.length);return a<r&&t.push({offset:a,length:r-a}),t}async function K(n,r,e){let t=q(r,0);if(t.length===0)throw new Error("planMxfTrimsFromItems: no usable trim ranges in items");await l();let a=(o,s)=>n.read(o,s),i=await $(t,e,(o,s)=>g(a,n.fileSize,o,s));return i.map((o,s)=>{let c=JSON.parse(o);return i.length>1&&(c.output_clip_number=s+1,c.output_clip_count=i.length,c.output_part_number=1),c})}async function Q(n,r,e){await l();let t=q(r,e),i=await N((s,c)=>n.read(s,c),n.fileSize,JSON.stringify(t));if(i!=="null")return JSON.parse(i);console.warn(`[mxf] no parseable index \u2014 shipping the WHOLE file (${n.fileSize} bytes). The cut's ${t.length} range(s) cannot be addressed; nothing is trimmed.`);let o=(await H(n)).map(s=>({offset:s.offset,length:s.length}));return{fileSize:n.fileSize,structuralRanges:o,essenceRanges:ce(o,n.fileSize),trimInputs:t,wholeFileFallback:!0}}async function X(n){await l();let e=await J((t,a)=>n.read(t,a),n.fileSize);return JSON.parse(e)}function d(n){return(r,e)=>n.read(r,e)}var Pe={async inspect(n){let r=n.parts[0],e=await X(r);if(!e)return null;let t=e.timecode??null,a=t&&t.fps_denominator>0?t.fps_numerator/t.fps_denominator:null,i=e.width??null,o=e.height??null,s=e.inner_codec==="mpeg2"||e.inner_codec==="dv"?e.inner_codec:null;return{id:r.filename,kind:"external",target_url:r.filename,available_range:a&&e.frame_count?{start:{value:0,rate:a},duration:{value:e.frame_count,rate:a}}:null,reel_name:e.avid?.tape_name??null,source_timecode:t?.display??null,source_fps:a,source_resolution_w:i,source_resolution_h:o,container:"mxf",codec:s,size_bytes:r.fileSize,streams:[...i||o||a?[{kind:"video",codec:s,width:i??void 0,height:o??void 0,rate:a??void 0,codec_specific:null}]:[],...e.audio?[{kind:"audio",codec:e.audio.codec_fourcc,channels:e.audio.channels??void 0,rate:e.audio.sample_rate??void 0,bit_depth:e.audio.bit_depth??void 0,codec_specific:{fourcc:e.audio.codec_fourcc}}]:[]],decode_provenance:e.decode_provenance??null,vendor_metadata:{frame_count:e.frame_count,...t?{drop_frame:t.drop_frame}:{},...e.inner_codec?{inner_codec:e.inner_codec}:{},...e.truncated?{truncated:!0}:{},...e.avid?{avid:{...e.avid,kind:i||o?"picture":"sound"}}:{}},binding_state:"unbound",raw_extraction:{mxf_probe:e},metadata:{}}},async extract(n){await l();let r=n.parts[0],e=JSON.parse(await V(d(r),r.fileSize));return e.length===0?null:{v:1,container:"mxf",codec:"mxf",frame_count:G(e),granularity:"frame",segments:e}},async sparsify(n,r){let e=n.parts[0],t=await Q(e,r.items,r.handles);return[{filename:e.filename,fileSize:t.fileSize,structuralRanges:t.structuralRanges,essenceRanges:t.essenceRanges,trimInputs:t.trimInputs,wholeFileFallback:t.wholeFileFallback}]},async trim(n,r){let e=n.parts[0];if(!e.dataRanges)return K(e,r.items,r.handles);await l();let t=JSON.parse(await W(d(e),e.fileSize,JSON.stringify(e.dataRanges)));if(t.length===0)throw new Error("mxf trim: no whole frames present in this sparse file");let a=[];for(let[i,[o,s]]of t.entries()){let c=JSON.parse(await g(d(e),e.fileSize,o,s+1));t.length>1&&Object.assign(c,{output_clip_number:i+1,output_clip_count:t.length,output_part_number:1}),a.push(c)}return a},async decode(n,r,e){await l();let t=n.parts[0],a=d(t),i=await re(n),o=e.detail==="coarse",s;if(i==="arriraw")s=await M(a,t.fileSize,r,o?"preview:4":"full");else if(i==="arriraw-alev3")s=await B(a,t.fileSize,r,o?"preview:4":"full");else if(i==="dnxhr")s=await P(a,t.fileSize,r,o?"preview":"full");else if(i==="xocn")s=await z(a,t.fileSize,r,o?"preview":"full");else if(i==="prores")s=await O(a,t.fileSize,r,o?"preview":"full");else throw new Error(`mxf decode: no decoder for inner codec '${i}'`);let c=new DataView(s.buffer,s.byteOffset,8);return{width:c.getUint32(0,!0),height:c.getUint32(4,!0),rgba:s.slice(8)}},async decode16(n,r){await l();let e=n.parts[0],t=d(e),a=await re(n),i;try{if(a==="arriraw"){let o=await le(n,r);if(o)return o;i=await M(t,e.fileSize,r,"rgb16")}else if(a==="dnxhr")i=await P(t,e.fileSize,r,"rgb16");else if(a==="xocn")i=await z(t,e.fileSize,r,"rgb16");else throw new Error(`mxf decode16: no decoder for inner codec '${a}'`)}catch(o){throw ue(o,a)}return j(i)}};function ue(n,r){let e=typeof n=="string"?n:n instanceof Error?n.message:"";return/has no 16-bit decoder|no rgb16 tier/.test(e)?new Error(`mxf ${r}: has no 16-bit decoder \u2014 ${e}`):n}var Y=new WeakMap;async function le(n,r){if(!!0)return null;try{let e=await import("./arriraw-PS6V532Y.js");if(!await e.arrirawGpuAvailable())return null;let{parseArrirawGpuPayload:t,arrirawFrameToRgb16:a}=await import("./clip-state-B6JOX3JE.js"),i=n.parts[0],o=Y.get(n)??null,s=await U(d(i),i.fileSize,r,o?.key),c=t(s,o);if(!c)return null;Y.set(n,{key:c.key,state:c.state});let f=await e.decodeArrirawFrameGpu(c.essence,c.state);return f?{width:f.width,height:f.height,rgb16:a(f)}:null}catch{return null}}var ee=new WeakMap;async function re(n){let r=ee.get(n);if(r)return r;await l();let e=n.parts[0],t=d(e),a="mxf";return await D(t,e.fileSize)?a="arriraw":await T(t,e.fileSize)?a="arriraw-alev3":await C(t,e.fileSize)?a="dnxhr":await L(t,e.fileSize)?a="xocn":await E(t,e.fileSize)&&(a="prores"),ee.set(n,a),a}export{Pe as mxfFormat};
3
+ import{a as G}from"./chunk-AACY2V3L.js";import{b as $}from"./chunk-GDPYFRSV.js";import{b as j}from"./chunk-FHCRWOI7.js";import{Ja as l,M as P,R as z,b as U,ca as T,da as D,e as B,ea as E,fa as C,g as M,ga as L,ja as V,ra as W,ta as g,w as O,wa as N,ya as J}from"./chunk-7Z65WW4I.js";import"./chunk-PSANHDZM.js";var v=new Uint8Array([6,14,43,52,2,5,1,1,13,1,2,1,1,17,1,0]);function se(n){e:for(let r=n.length-v.length;r>=0;r--){for(let e=0;e<v.length;e++)if(n[r+e]!==v[e])continue e;return r}return-1}function Z(n,r){if(r>=n.byteLength)return[null,0];let e=n.getUint8(r);if(e<128)return[e,1];let t=e&127;if(t===0||t>8||r+1+t>n.byteLength)return[null,1];let a=0;for(let i=0;i<t;i++)a=a*256+n.getUint8(r+1+i);return[a,1+t]}function w(n,r){let e=n.getUint32(r,!1),t=n.getUint32(r+4,!1);return e*4294967296+t}async function H(n){let r=n.fileSize,e=[];if(r<1024)return e;let a=Math.max(0,r-65536),i=r-a,o=await n.read(a,i);e.push({offset:a,length:i});let s=se(o);if(s<0)return e;let c=new DataView(o.buffer,o.byteOffset,o.byteLength),[f,te]=Z(c,s+16);if(f===null||f<16||f>65536)return e;let A=s+16+te;if(A+f>o.length)return e;let F=[],ne=new DataView(o.buffer,o.byteOffset+A,f),_=Math.floor((f-4)/12);if(_<1||_>4096)return e;for(let u=0;u<_;u++){let p=w(ne,u*12+4);p>=0&&p<r&&F.push(p)}for(let u of F){let p=Math.min(256,r-u),b=await n.read(u,p);if(b.length<80)continue;let y=new DataView(b.buffer,b.byteOffset,b.byteLength),[R,k]=Z(y,16);if(R===null)continue;let m=16+k,x,S;if(b.length<m+64){let oe=Math.min(m+64,r-u),h=await n.read(u,oe);if(h.length<m+64)continue;let I=new DataView(h.buffer,h.byteOffset,h.byteLength);x=w(I,m+32),S=w(I,m+40)}else x=w(y,m+32),S=w(y,m+40);let ae=u+16+k+R+x+S,ie=Math.min(ae+65536,r)-u;e.push({offset:u,length:ie})}return e}function q(n,r){let e=[];for(let t of n){if(t.kind!=="clip"||!t.source_range)continue;let a=t.source_range.start.value,i=t.source_range.duration.value,o=Math.max(0,Math.floor(a)-r),s=Math.floor(a+i-1)+r;s>=o&&e.push({first_frame:o,last_frame:s})}return e}function ce(n,r){let e=[...n].sort((i,o)=>i.offset-o.offset),t=[],a=0;for(let i of e)i.offset>a&&t.push({offset:a,length:i.offset-a}),a=Math.max(a,i.offset+i.length);return a<r&&t.push({offset:a,length:r-a}),t}async function K(n,r,e){let t=q(r,0);if(t.length===0)throw new Error("planMxfTrimsFromItems: no usable trim ranges in items");await l();let a=(o,s)=>n.read(o,s),i=await $(t,e,(o,s)=>g(a,n.fileSize,o,s));return i.map((o,s)=>{let c=JSON.parse(o);return i.length>1&&(c.output_clip_number=s+1,c.output_clip_count=i.length,c.output_part_number=1),c})}async function Q(n,r,e){await l();let t=q(r,e),i=await N((s,c)=>n.read(s,c),n.fileSize,JSON.stringify(t));if(i!=="null")return JSON.parse(i);console.warn(`[mxf] no parseable index \u2014 shipping the WHOLE file (${n.fileSize} bytes). The cut's ${t.length} range(s) cannot be addressed; nothing is trimmed.`);let o=(await H(n)).map(s=>({offset:s.offset,length:s.length}));return{fileSize:n.fileSize,structuralRanges:o,essenceRanges:ce(o,n.fileSize),trimInputs:t,wholeFileFallback:!0}}async function X(n){await l();let e=await J((t,a)=>n.read(t,a),n.fileSize);return JSON.parse(e)}function d(n){return(r,e)=>n.read(r,e)}var Pe={async inspect(n){let r=n.parts[0],e=await X(r);if(!e)return null;let t=e.timecode??null,a=t&&t.fps_denominator>0?t.fps_numerator/t.fps_denominator:null,i=e.width??null,o=e.height??null,s=e.inner_codec==="mpeg2"||e.inner_codec==="dv"?e.inner_codec:null;return{id:r.filename,kind:"external",target_url:r.filename,available_range:a&&e.frame_count?{start:{value:0,rate:a},duration:{value:e.frame_count,rate:a}}:null,reel_name:e.avid?.tape_name??null,source_timecode:t?.display??null,source_fps:a,source_resolution_w:i,source_resolution_h:o,container:"mxf",codec:s,size_bytes:r.fileSize,streams:[...i||o||a?[{kind:"video",codec:s,width:i??void 0,height:o??void 0,rate:a??void 0,codec_specific:null}]:[],...e.audio?[{kind:"audio",codec:e.audio.codec_fourcc,channels:e.audio.channels??void 0,rate:e.audio.sample_rate??void 0,bit_depth:e.audio.bit_depth??void 0,codec_specific:{fourcc:e.audio.codec_fourcc}}]:[]],decode_provenance:e.decode_provenance??null,vendor_metadata:{frame_count:e.frame_count,...t?{drop_frame:t.drop_frame}:{},...e.inner_codec?{inner_codec:e.inner_codec}:{},...e.truncated?{truncated:!0}:{},...e.avid?{avid:{...e.avid,kind:i||o?"picture":"sound"}}:{}},binding_state:"unbound",raw_extraction:{mxf_probe:e},metadata:{}}},async extract(n){await l();let r=n.parts[0],e=JSON.parse(await V(d(r),r.fileSize));return e.length===0?null:{v:1,container:"mxf",codec:"mxf",frame_count:G(e),granularity:"frame",segments:e}},async sparsify(n,r){let e=n.parts[0],t=await Q(e,r.items,r.handles);return[{filename:e.filename,fileSize:t.fileSize,structuralRanges:t.structuralRanges,essenceRanges:t.essenceRanges,trimInputs:t.trimInputs,wholeFileFallback:t.wholeFileFallback}]},async trim(n,r){let e=n.parts[0];if(!e.dataRanges)return K(e,r.items,r.handles);await l();let t=JSON.parse(await W(d(e),e.fileSize,JSON.stringify(e.dataRanges)));if(t.length===0)throw new Error("mxf trim: no whole frames present in this sparse file");let a=[];for(let[i,[o,s]]of t.entries()){let c=JSON.parse(await g(d(e),e.fileSize,o,s+1));t.length>1&&Object.assign(c,{output_clip_number:i+1,output_clip_count:t.length,output_part_number:1}),a.push(c)}return a},async decode(n,r,e){await l();let t=n.parts[0],a=d(t),i=await re(n),o=e.detail==="coarse",s;if(i==="arriraw")s=await M(a,t.fileSize,r,o?"preview:4":"full");else if(i==="arriraw-alev3")s=await B(a,t.fileSize,r,o?"preview:4":"full");else if(i==="dnxhr")s=await P(a,t.fileSize,r,o?"preview":"full");else if(i==="xocn")s=await z(a,t.fileSize,r,o?"preview":"full");else if(i==="prores")s=await O(a,t.fileSize,r,o?"preview":"full");else throw new Error(`mxf decode: no decoder for inner codec '${i}'`);let c=new DataView(s.buffer,s.byteOffset,8);return{width:c.getUint32(0,!0),height:c.getUint32(4,!0),rgba:s.slice(8)}},async decode16(n,r){await l();let e=n.parts[0],t=d(e),a=await re(n),i;try{if(a==="arriraw"){let o=await le(n,r);if(o)return o;i=await M(t,e.fileSize,r,"rgb16")}else if(a==="dnxhr")i=await P(t,e.fileSize,r,"rgb16");else if(a==="xocn")i=await z(t,e.fileSize,r,"rgb16");else throw new Error(`mxf decode16: no decoder for inner codec '${a}'`)}catch(o){throw ue(o,a)}return j(i)}};function ue(n,r){let e=typeof n=="string"?n:n instanceof Error?n.message:"";return/has no 16-bit decoder|no rgb16 tier/.test(e)?new Error(`mxf ${r}: has no 16-bit decoder \u2014 ${e}`):n}var Y=new WeakMap;async function le(n,r){if(!!0)return null;try{let e=await import("./arriraw-PS6V532Y.js");if(!await e.arrirawGpuAvailable())return null;let{parseArrirawGpuPayload:t,arrirawFrameToRgb16:a}=await import("./clip-state-B6JOX3JE.js"),i=n.parts[0],o=Y.get(n)??null,s=await U(d(i),i.fileSize,r,o?.key),c=t(s,o);if(!c)return null;Y.set(n,{key:c.key,state:c.state});let f=await e.decodeArrirawFrameGpu(c.essence,c.state);return f?{width:f.width,height:f.height,rgb16:a(f)}:null}catch{return null}}var ee=new WeakMap;async function re(n){let r=ee.get(n);if(r)return r;await l();let e=n.parts[0],t=d(e),a="mxf";return await D(t,e.fileSize)?a="arriraw":await T(t,e.fileSize)?a="arriraw-alev3":await C(t,e.fileSize)?a="dnxhr":await L(t,e.fileSize)?a="xocn":await E(t,e.fileSize)&&(a="prores"),ee.set(n,a),a}export{Pe as mxfFormat};
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire as __conformRequire } from 'node:module'; const require = __conformRequire(import.meta.url);
3
- import{a,b,c,d,e,f,g,h,i}from"./chunk-TGLH2JDW.js";import"./chunk-PSANHDZM.js";export{c as CoverageMissError,e as DeliveryCoverageMissError,a as INTENTS,f as asDeliveryCoverageMiss,h as extract,i as mediaOp,d as parseDeliveryCoverageMiss,g as resolveFormat,b as unpackFrame16};
3
+ import{a,b,c,d,e,f,g,h,i}from"./chunk-FHCRWOI7.js";import"./chunk-PSANHDZM.js";export{c as CoverageMissError,e as DeliveryCoverageMissError,a as INTENTS,f as asDeliveryCoverageMiss,h as extract,i as mediaOp,d as parseDeliveryCoverageMiss,g as resolveFormat,b as unpackFrame16};
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire as __conformRequire } from 'node:module'; const require = __conformRequire(import.meta.url);
3
- import{I as b,R as $,b as m,da as o,h as c,k as p,p as f,v as d}from"./chunk-ZPIY5DOU.js";import"./chunk-PSANHDZM.js";import{dirname as g}from"node:path";import{fileURLToPath as P}from"node:url";import x from"node:process";var a="ColorMatchProbe.ofx.bundle",R="http://127.0.0.1:9876",u="/Library/OFX/Plugins";async function v(){let r=x.execPath;for(let t of[m("CONFORM_RESOLVE_PROBE"),o(g(r),"..","Resources","resolve-probe",a),o(g(P(import.meta.url)),"..","..","..","resolve_hook","build",a)])if(t&&await d(o(t,"Contents","MacOS","ColorMatchProbe.ofx")))return t;return null}async function k(){let r=c()==="darwin"&&p()==="arm64",t=await d(o(u,a)),n=await fetch(R+"/",{signal:AbortSignal.timeout(500)}).then(i=>i.ok).catch(()=>!1),s=!!await v();return{installed:t,loaded:n,shipped:s,supported:r,next:r?n?"running: the Color page selection and the selected node are read live":t?"installed; restart Resolve to load it":s?"host_setup host=resolve action=install_probe (asks for an administrator), then restart Resolve":"not in this build":"the probe runs on Apple silicon Macs only"}}async function C(){if(c()!=="darwin"||p()!=="arm64")throw new Error("the probe runs on Apple silicon Macs only");let r=await v();if(!r)throw new Error("this build does not carry the probe (resolve_hook/build.sh makes it)");return await O(r,u,a),await b(o(f(),"Library","Application Support","Blackmagic Design","DaVinci Resolve","OFXPluginCacheV2.xml")).catch(()=>{}),{path:o(u,a),restart_required:!0}}var e=r=>`'${r.replace(/'/g,"'\\''")}'`;async function O(r,t,n){let s=o(t,n),l=o(t,`.${n}.staging`),i=o(t,`.${n}.previous`),w=[`mkdir -p ${e(t)}`,`rm -rf ${e(l)} ${e(i)}`,`cp -R ${e(r)} ${e(l)}`,`if [ -e ${e(s)} ]; then mv ${e(s)} ${e(i)}; fi`,`mv ${e(l)} ${e(s)} || { [ -e ${e(i)} ] && mv ${e(i)} ${e(s)}; exit 1; }`,`rm -rf ${e(i)}`].join(" && "),h=await $("osascript",["-e",`do shell script ${JSON.stringify(w)} with administrator privileges`]);if(!h.success)throw new Error(`installing into ${t} needs an administrator, and that was refused or failed: ${h.stderr.trim()}`)}export{a as PROBE_BUNDLE,R as PROBE_URL,C as installProbe,k as probeStatus};
3
+ import{J as b,S as $,b as m,ea as o,h as c,k as p,p as f,v as d}from"./chunk-QQBDHVUU.js";import"./chunk-PSANHDZM.js";import{dirname as g}from"node:path";import{fileURLToPath as P}from"node:url";import x from"node:process";var a="ColorMatchProbe.ofx.bundle",R="http://127.0.0.1:9876",u="/Library/OFX/Plugins";async function v(){let r=x.execPath;for(let t of[m("CONFORM_RESOLVE_PROBE"),o(g(r),"..","Resources","resolve-probe",a),o(g(P(import.meta.url)),"..","..","..","resolve_hook","build",a)])if(t&&await d(o(t,"Contents","MacOS","ColorMatchProbe.ofx")))return t;return null}async function k(){let r=c()==="darwin"&&p()==="arm64",t=await d(o(u,a)),n=await fetch(R+"/",{signal:AbortSignal.timeout(500)}).then(i=>i.ok).catch(()=>!1),s=!!await v();return{installed:t,loaded:n,shipped:s,supported:r,next:r?n?"running: the Color page selection and the selected node are read live":t?"installed; restart Resolve to load it":s?"host_setup host=resolve action=install_probe (asks for an administrator), then restart Resolve":"not in this build":"the probe runs on Apple silicon Macs only"}}async function C(){if(c()!=="darwin"||p()!=="arm64")throw new Error("the probe runs on Apple silicon Macs only");let r=await v();if(!r)throw new Error("this build does not carry the probe (resolve_hook/build.sh makes it)");return await O(r,u,a),await b(o(f(),"Library","Application Support","Blackmagic Design","DaVinci Resolve","OFXPluginCacheV2.xml")).catch(()=>{}),{path:o(u,a),restart_required:!0}}var e=r=>`'${r.replace(/'/g,"'\\''")}'`;async function O(r,t,n){let s=o(t,n),l=o(t,`.${n}.staging`),i=o(t,`.${n}.previous`),w=[`mkdir -p ${e(t)}`,`rm -rf ${e(l)} ${e(i)}`,`cp -R ${e(r)} ${e(l)}`,`if [ -e ${e(s)} ]; then mv ${e(s)} ${e(i)}; fi`,`mv ${e(l)} ${e(s)} || { [ -e ${e(i)} ] && mv ${e(i)} ${e(s)}; exit 1; }`,`rm -rf ${e(i)}`].join(" && "),h=await $("osascript",["-e",`do shell script ${JSON.stringify(w)} with administrator privileges`]);if(!h.success)throw new Error(`installing into ${t} needs an administrator, and that was refused or failed: ${h.stderr.trim()}`)}export{a as PROBE_BUNDLE,R as PROBE_URL,C as installProbe,k as probeStatus};
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire as __conformRequire } from 'node:module'; const require = __conformRequire(import.meta.url);
3
- import{c as l}from"./chunk-TGLH2JDW.js";import{Ca as v,Da as F,H as _,I as S,J as P,Ja as f,ka as b,la as R,za as w}from"./chunk-7Z65WW4I.js";import"./chunk-PSANHDZM.js";var g=class{constructor(e=[]){this.ranges=[];for(let[r,n]of e)this.add(r,n)}add(e,r){if(r<=e)return;let n=[],[s,o]=[e,r];for(let[i,a]of this.ranges)a<s||i>o?n.push([i,a]):(s=Math.min(s,i),o=Math.max(o,a));n.push([s,o]),n.sort((i,a)=>i[0]-a[0]),this.ranges=n}has(e,r){return r<=e?!0:this.ranges.some(([n,s])=>n<=e&&s>=r)}missing(e,r){if(r<=e)return[];let n=[],s=e;for(let[o,i]of this.ranges)if(!(i<=s)&&(o>=r||(o>s&&n.push([s,Math.min(o,r)]),s=Math.max(s,i),s>=r)))break;return s<r&&n.push([s,r]),n}count(){return this.ranges.reduce((e,[r,n])=>e+(n-r),0)}toJSON(){return this.ranges.map(([e,r])=>[e,r])}};function N(t,e){let r=new g;for(let n of t){if(n.kind!=="clip"||!n.source_range)continue;let s=n.source_range.start.value,o=n.source_range.duration.value,i=Math.max(0,Math.max(0,Math.floor(s))-e),a=Math.floor(s+o)+e;a>i&&r.add(i,a)}return r.toJSON()}function O(t,e,r){let n=N(e,r),s=a=>n.some(([c,u])=>a>=c&&a<u),o=new Map,i=a=>{let c=o.get(a);return c||(c={part:a,structuralRanges:[],essenceRanges:[]},o.set(a,c)),c};for(let a of t.segments){let c=a.part??0;a.kind==="structural"?i(c).structuralRanges.push({offset:a.offset,length:a.length}):(a.kind==="frame"||a.kind==="gop")&&a.frame_in!=null&&s(a.frame_in)&&i(c).essenceRanges.push({offset:a.offset,length:a.length})}return[...o.values()].sort((a,c)=>a.part-c.part)}async function A(t,e){if(!!0)return null;try{let n=await(await import("./r3d-AKUA77ZG.js")).decodeR3dRgbaGpu(t,e);return n?{width:n.width,height:n.height,rgba:n.rgba}:null}catch{return null}}function p(t){return(e,r,n)=>t.parts[e].read(r,n)}function d(t){return JSON.stringify(t.parts.map(e=>({name:e.filename,size:e.fileSize})))}function L(t,e){let r=[];for(let n of t){if(n.kind!=="clip"||!n.source_range)continue;let s=n.source_range.start.value,o=n.source_range.duration.value;r.push({frame_in:Math.max(0,Math.floor(s)),frame_out:Math.floor(s+o),handles:e})}return JSON.stringify(r)}var k=16,h=new WeakMap,J=new WeakMap;function x(t){let e=J.get(t);return e||(e=t.parts[0].read(0,Math.min(16*1024,t.parts[0].fileSize)),J.set(t,e)),e}async function D(t){let e=h.get(t);return e||(await f(),e=JSON.parse(await b(p(t),d(t))),h.set(t,e)),e}async function G(t){await f();let e=await b(p(t),d(t));return h.set(t,JSON.parse(e)),e}function B(t,e){h.set(t,JSON.parse(e))}async function C(t,e){let r=JSON.parse(await R(p(t),d(t)));return{v:1,container:"r3d",codec:"redcode",frame_count:e.frame_count,granularity:"frame",...t.parts.length>1?{part_names:t.parts.map(n=>n.filename.split(/[/\\]/).pop()??n.filename)}:{},segments:r}}var V={async inspect(t){await f();let e=await w(p(t),d(t)),r=JSON.parse(e);if(!r||r.frame_count===0)return null;let n=t.parts[0],s=r.timecode??null,o=s&&s.fps_denominator>0?s.fps_numerator/s.fps_denominator:null,i=r.width??null,a=r.height??null;return{id:n.filename,kind:"external",target_url:n.filename,available_range:o&&r.frame_count?{start:{value:0,rate:o},duration:{value:r.frame_count,rate:o}}:null,reel_name:r.reel??null,source_timecode:s?.display??null,source_fps:o,source_resolution_w:i,source_resolution_h:a,container:"r3d",codec:"redcode",size_bytes:r.file_size,streams:[{kind:"video",codec:"redcode",width:i??void 0,height:a??void 0,rate:o??void 0,bit_depth:k,codec_specific:{fourcc:r.codec_fourcc??"REDCODE"}}],decode_provenance:r.decode_provenance??null,vendor_metadata:{frame_count:r.frame_count,...s?{drop_frame:s.drop_frame}:{}},binding_state:"unbound",raw_extraction:{r3d_probe:r},metadata:{}}},async extract(t){await f();let e=JSON.parse(await w(p(t),d(t)));return!e||e.frame_count===0?null:C(t,e)},async sparsify(t,e){await f();let r=JSON.parse(await R(p(t),d(t))),n={v:1,container:"r3d",codec:"redcode",frame_count:r.filter(o=>o.kind==="frame").length,granularity:"frame",segments:r},s=new Map;for(let o of r)o.kind==="frame"&&s.set(o.part??0,(s.get(o.part??0)??0)+1);return O(n,e.items,e.handles).map(o=>({filename:t.parts[o.part].filename,fileSize:t.parts[o.part].fileSize,structuralRanges:o.structuralRanges,essenceRanges:o.essenceRanges,frameCount:s.get(o.part)??0,keptFrames:o.essenceRanges.length}))},async trim(t,e){await f();let r=t.parts.some(a=>a.dataRanges!==void 0),n=r?JSON.stringify(t.parts.map(a=>a.dataRanges??[])):"[]",s=r?"[]":L(e.items,e.handles),o=await F(p(t),d(t),s,n);return JSON.parse(o).parts.map(a=>a.trim_plan)},async decode(t,e,r){await f();let n=await D(t);if(e<0||e>=n.length)throw new l(e,n.length);let s=n[e],o=s.part??0,i=t.parts[o];if(!i)throw new l(e,n.length);let a=await i.read(s.essenceOffset,s.essenceLength),c=2,u=await x(t),m;if(r.detail==="coarse")m=_(a,u,0);else if(v(a))m=_(a,u,c);else{let y=await A(a,u);if(y)return y;m=P(a,u)}let M=new DataView(m.buffer,m.byteOffset,8);return{width:M.getUint32(0,!0),height:M.getUint32(4,!0),rgba:m.slice(8)}},async decode16(t,e){await f();let r=await D(t);if(e<0||e>=r.length)throw new l(e,r.length);let n=r[e],s=t.parts[n.part??0];if(!s)throw new l(e,r.length);let o=await s.read(n.essenceOffset,n.essenceLength),i=S(o),a=new DataView(i.buffer,i.byteOffset,8),c=a.getUint32(0,!0),u=a.getUint32(4,!0),m=i.slice(8);return{width:c,height:u,rgb16:new Uint16Array(m.buffer,m.byteOffset,c*u*3)}}};export{G as listR3dFramesJson,V as r3dFormat,B as seedR3dFramesJson};
3
+ import{c as l}from"./chunk-FHCRWOI7.js";import{Ca as v,Da as F,H as _,I as S,J as P,Ja as f,ka as b,la as R,za as w}from"./chunk-7Z65WW4I.js";import"./chunk-PSANHDZM.js";var g=class{constructor(e=[]){this.ranges=[];for(let[r,n]of e)this.add(r,n)}add(e,r){if(r<=e)return;let n=[],[s,o]=[e,r];for(let[i,a]of this.ranges)a<s||i>o?n.push([i,a]):(s=Math.min(s,i),o=Math.max(o,a));n.push([s,o]),n.sort((i,a)=>i[0]-a[0]),this.ranges=n}has(e,r){return r<=e?!0:this.ranges.some(([n,s])=>n<=e&&s>=r)}missing(e,r){if(r<=e)return[];let n=[],s=e;for(let[o,i]of this.ranges)if(!(i<=s)&&(o>=r||(o>s&&n.push([s,Math.min(o,r)]),s=Math.max(s,i),s>=r)))break;return s<r&&n.push([s,r]),n}count(){return this.ranges.reduce((e,[r,n])=>e+(n-r),0)}toJSON(){return this.ranges.map(([e,r])=>[e,r])}};function N(t,e){let r=new g;for(let n of t){if(n.kind!=="clip"||!n.source_range)continue;let s=n.source_range.start.value,o=n.source_range.duration.value,i=Math.max(0,Math.max(0,Math.floor(s))-e),a=Math.floor(s+o)+e;a>i&&r.add(i,a)}return r.toJSON()}function O(t,e,r){let n=N(e,r),s=a=>n.some(([c,u])=>a>=c&&a<u),o=new Map,i=a=>{let c=o.get(a);return c||(c={part:a,structuralRanges:[],essenceRanges:[]},o.set(a,c)),c};for(let a of t.segments){let c=a.part??0;a.kind==="structural"?i(c).structuralRanges.push({offset:a.offset,length:a.length}):(a.kind==="frame"||a.kind==="gop")&&a.frame_in!=null&&s(a.frame_in)&&i(c).essenceRanges.push({offset:a.offset,length:a.length})}return[...o.values()].sort((a,c)=>a.part-c.part)}async function A(t,e){if(!!0)return null;try{let n=await(await import("./r3d-AKUA77ZG.js")).decodeR3dRgbaGpu(t,e);return n?{width:n.width,height:n.height,rgba:n.rgba}:null}catch{return null}}function p(t){return(e,r,n)=>t.parts[e].read(r,n)}function d(t){return JSON.stringify(t.parts.map(e=>({name:e.filename,size:e.fileSize})))}function L(t,e){let r=[];for(let n of t){if(n.kind!=="clip"||!n.source_range)continue;let s=n.source_range.start.value,o=n.source_range.duration.value;r.push({frame_in:Math.max(0,Math.floor(s)),frame_out:Math.floor(s+o),handles:e})}return JSON.stringify(r)}var k=16,h=new WeakMap,J=new WeakMap;function x(t){let e=J.get(t);return e||(e=t.parts[0].read(0,Math.min(16*1024,t.parts[0].fileSize)),J.set(t,e)),e}async function D(t){let e=h.get(t);return e||(await f(),e=JSON.parse(await b(p(t),d(t))),h.set(t,e)),e}async function G(t){await f();let e=await b(p(t),d(t));return h.set(t,JSON.parse(e)),e}function B(t,e){h.set(t,JSON.parse(e))}async function C(t,e){let r=JSON.parse(await R(p(t),d(t)));return{v:1,container:"r3d",codec:"redcode",frame_count:e.frame_count,granularity:"frame",...t.parts.length>1?{part_names:t.parts.map(n=>n.filename.split(/[/\\]/).pop()??n.filename)}:{},segments:r}}var V={async inspect(t){await f();let e=await w(p(t),d(t)),r=JSON.parse(e);if(!r||r.frame_count===0)return null;let n=t.parts[0],s=r.timecode??null,o=s&&s.fps_denominator>0?s.fps_numerator/s.fps_denominator:null,i=r.width??null,a=r.height??null;return{id:n.filename,kind:"external",target_url:n.filename,available_range:o&&r.frame_count?{start:{value:0,rate:o},duration:{value:r.frame_count,rate:o}}:null,reel_name:r.reel??null,source_timecode:s?.display??null,source_fps:o,source_resolution_w:i,source_resolution_h:a,container:"r3d",codec:"redcode",size_bytes:r.file_size,streams:[{kind:"video",codec:"redcode",width:i??void 0,height:a??void 0,rate:o??void 0,bit_depth:k,codec_specific:{fourcc:r.codec_fourcc??"REDCODE"}}],decode_provenance:r.decode_provenance??null,vendor_metadata:{frame_count:r.frame_count,...s?{drop_frame:s.drop_frame}:{}},binding_state:"unbound",raw_extraction:{r3d_probe:r},metadata:{}}},async extract(t){await f();let e=JSON.parse(await w(p(t),d(t)));return!e||e.frame_count===0?null:C(t,e)},async sparsify(t,e){await f();let r=JSON.parse(await R(p(t),d(t))),n={v:1,container:"r3d",codec:"redcode",frame_count:r.filter(o=>o.kind==="frame").length,granularity:"frame",segments:r},s=new Map;for(let o of r)o.kind==="frame"&&s.set(o.part??0,(s.get(o.part??0)??0)+1);return O(n,e.items,e.handles).map(o=>({filename:t.parts[o.part].filename,fileSize:t.parts[o.part].fileSize,structuralRanges:o.structuralRanges,essenceRanges:o.essenceRanges,frameCount:s.get(o.part)??0,keptFrames:o.essenceRanges.length}))},async trim(t,e){await f();let r=t.parts.some(a=>a.dataRanges!==void 0),n=r?JSON.stringify(t.parts.map(a=>a.dataRanges??[])):"[]",s=r?"[]":L(e.items,e.handles),o=await F(p(t),d(t),s,n);return JSON.parse(o).parts.map(a=>a.trim_plan)},async decode(t,e,r){await f();let n=await D(t);if(e<0||e>=n.length)throw new l(e,n.length);let s=n[e],o=s.part??0,i=t.parts[o];if(!i)throw new l(e,n.length);let a=await i.read(s.essenceOffset,s.essenceLength),c=2,u=await x(t),m;if(r.detail==="coarse")m=_(a,u,0);else if(v(a))m=_(a,u,c);else{let y=await A(a,u);if(y)return y;m=P(a,u)}let M=new DataView(m.buffer,m.byteOffset,8);return{width:M.getUint32(0,!0),height:M.getUint32(4,!0),rgba:m.slice(8)}},async decode16(t,e){await f();let r=await D(t);if(e<0||e>=r.length)throw new l(e,r.length);let n=r[e],s=t.parts[n.part??0];if(!s)throw new l(e,r.length);let o=await s.read(n.essenceOffset,n.essenceLength),i=S(o),a=new DataView(i.buffer,i.byteOffset,8),c=a.getUint32(0,!0),u=a.getUint32(4,!0),m=i.slice(8);return{width:c,height:u,rgb16:new Uint16Array(m.buffer,m.byteOffset,c*u*3)}}};export{G as listR3dFramesJson,V as r3dFormat,B as seedR3dFramesJson};
@@ -48,7 +48,10 @@ def connect():
48
48
  try:
49
49
  import DaVinciResolveScript as dvr # noqa: N813 (Resolve's own module name)
50
50
  except Exception as e: # module not installed / paths not set
51
- fail("module", "the Resolve scripting module could not be imported: %s" % e)
51
+ where = os.environ.get("PYTHONPATH", "")
52
+ found = os.path.isfile(os.path.join(where, "DaVinciResolveScript.py"))
53
+ fail("module", "the Resolve scripting module could not be imported: %s (%s %s). Install DaVinci Resolve, or set RESOLVE_SCRIPT_API to its Developer/Scripting folder"
54
+ % (e, "it is in" if found else "not found in", where or "the default place"))
52
55
  resolve = dvr.scriptapp("Resolve")
53
56
  if not resolve:
54
57
  fail(
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire as __conformRequire } from 'node:module'; const require = __conformRequire(import.meta.url);
3
- import{a,b,c,d,e,f}from"./chunk-3KS3547B.js";import"./chunk-E75BCWXY.js";import"./chunk-ZPIY5DOU.js";import"./chunk-PSANHDZM.js";export{b as APPLIED,a as BACKUP_SUFFIX,e as applyPatch,c as patchFolders,d as planPatch,f as undoPatch};
3
+ import{a,b,c,d,e,f}from"./chunk-SSFG7FNI.js";import"./chunk-E75BCWXY.js";import"./chunk-QQBDHVUU.js";import"./chunk-PSANHDZM.js";export{b as APPLIED,a as BACKUP_SUFFIX,e as applyPatch,c as patchFolders,d as planPatch,f as undoPatch};
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire as __conformRequire } from 'node:module'; const require = __conformRequire(import.meta.url);
3
- import{A as a,B as b,C as c,D as d,E as e,F as f,G as g}from"./chunk-RL5XRG6O.js";import"./chunk-AR5BTVBM.js";import"./chunk-VZ3XYHK4.js";import"./chunk-HNEKQMQG.js";import"./chunk-E75BCWXY.js";import"./chunk-ZPIY5DOU.js";import"./chunk-C2ESM27Z.js";import"./chunk-PSANHDZM.js";export{a as createSession,g as getExtra,c as getSession,b as lastSessionId,e as listSessions,f as saveExtra,d as updateSession};
3
+ import{A as a,B as b,C as c,D as d,E as e,F as f,G as g}from"./chunk-WWE2FXAQ.js";import"./chunk-KD7UGCLT.js";import"./chunk-VZ3XYHK4.js";import"./chunk-YJREJ2MH.js";import"./chunk-E75BCWXY.js";import"./chunk-QQBDHVUU.js";import"./chunk-C2ESM27Z.js";import"./chunk-PSANHDZM.js";export{a as createSession,g as getExtra,c as getSession,b as lastSessionId,e as listSessions,f as saveExtra,d as updateSession};
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire as __conformRequire } from 'node:module'; const require = __conformRequire(import.meta.url);
3
- import{$b as p,Mb as a,Nb as b,Ob as c,Pb as d,Qb as e,Rb as f,Sb as g,Tb as h,Ub as i,Vb as j,Wb as k,Xb as l,Yb as m,Zb as n,_b as o,ac as q,bc as r,cc as s,dc as t}from"./chunk-QY4QDBIN.js";import"./chunk-IN6XVTUS.js";import"./chunk-TIZC6IEH.js";import"./chunk-3PVQ5QP4.js";import"./chunk-VFXMP7IF.js";import"./chunk-CV7OBWOX.js";import"./chunk-TNCXZIOX.js";import"./chunk-5JIFRR7U.js";import"./chunk-WRDA44QF.js";import"./chunk-PGJMKUUP.js";import"./chunk-6QB4DV22.js";import"./chunk-OSUIS4JU.js";import"./chunk-JV7TZDKJ.js";import"./chunk-BBCQMZQN.js";import"./chunk-ASFUV3PB.js";import"./chunk-NRURUPLU.js";import"./chunk-TGLH2JDW.js";import"./chunk-RL5XRG6O.js";import"./chunk-IDADYIY6.js";import"./chunk-N34DQ6MH.js";import"./chunk-NU3X7P4N.js";import"./chunk-7Z65WW4I.js";import"./chunk-AR5BTVBM.js";import"./chunk-VZ3XYHK4.js";import"./chunk-HNEKQMQG.js";import"./chunk-E75BCWXY.js";import"./chunk-ZPIY5DOU.js";import"./chunk-C2ESM27Z.js";import"./chunk-PSANHDZM.js";export{j as OPERATION_KINDS,a as READ_FORMATS,k as applyOperation,m as applyOperationWithSources,s as consolidate,b as detectFormat,d as detectTimelineFormat,t as judge,r as linkText,g as listClips,i as listFlags,h as listMedia,e as readTimeline,n as resolveTarget,q as routesText,c as sniffFormat,f as summarize,l as trackIndex,p as writeDestination,o as writeTimeline};
3
+ import{$b as p,Mb as a,Nb as b,Ob as c,Pb as d,Qb as e,Rb as f,Sb as g,Tb as h,Ub as i,Vb as j,Wb as k,Xb as l,Yb as m,Zb as n,_b as o,ac as q,bc as r,cc as s,dc as t}from"./chunk-BZE7IP6U.js";import"./chunk-IN6XVTUS.js";import"./chunk-RKJML7MH.js";import"./chunk-3PVQ5QP4.js";import"./chunk-VFXMP7IF.js";import"./chunk-WJS6NM7T.js";import"./chunk-TNCXZIOX.js";import"./chunk-5JIFRR7U.js";import"./chunk-WRDA44QF.js";import"./chunk-PGJMKUUP.js";import"./chunk-6QB4DV22.js";import"./chunk-OSUIS4JU.js";import"./chunk-JV7TZDKJ.js";import"./chunk-BBCQMZQN.js";import"./chunk-ASFUV3PB.js";import"./chunk-GDPYFRSV.js";import"./chunk-FHCRWOI7.js";import"./chunk-WWE2FXAQ.js";import"./chunk-H3FD5KA2.js";import"./chunk-N34DQ6MH.js";import"./chunk-NU3X7P4N.js";import"./chunk-7Z65WW4I.js";import"./chunk-KD7UGCLT.js";import"./chunk-VZ3XYHK4.js";import"./chunk-YJREJ2MH.js";import"./chunk-E75BCWXY.js";import"./chunk-QQBDHVUU.js";import"./chunk-C2ESM27Z.js";import"./chunk-PSANHDZM.js";export{j as OPERATION_KINDS,a as READ_FORMATS,k as applyOperation,m as applyOperationWithSources,s as consolidate,b as detectFormat,d as detectTimelineFormat,t as judge,r as linkText,g as listClips,i as listFlags,h as listMedia,e as readTimeline,n as resolveTarget,q as routesText,c as sniffFormat,f as summarize,l as trackIndex,p as writeDestination,o as writeTimeline};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conformtools",
3
- "version": "0.6.28",
3
+ "version": "0.6.29",
4
4
  "description": "conform.tools on your machine: timeline exchange, relink, media trim, delivery and auto conform, as MCP tools for Claude and other AI apps, a CLI and a local HTTP API",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
@@ -44,9 +44,9 @@
44
44
  "access": "public"
45
45
  },
46
46
  "optionalDependencies": {
47
- "conformtools-darwin-arm64": "0.6.27",
48
- "conformtools-darwin-x64": "0.6.27",
49
- "conformtools-linux-x64": "0.6.27",
50
- "conformtools-windows-x64": "0.6.27"
47
+ "conformtools-darwin-arm64": "0.6.29",
48
+ "conformtools-darwin-x64": "0.6.29",
49
+ "conformtools-linux-x64": "0.6.29",
50
+ "conformtools-windows-x64": "0.6.29"
51
51
  }
52
52
  }