conformtools 0.6.5 → 0.6.6
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/README.md +3 -3
- package/dist/account-HDXVTS5T.js +3 -0
- package/dist/arriraw-YIJ3BYNN.js +525 -0
- package/dist/avid-panel/MANIFEST.json +11 -0
- package/dist/avid-panel/avid-manifest.json +46 -0
- package/dist/avid-panel/icon.svg +4 -0
- package/dist/avid-panel/icons/conformtools.svg +4 -0
- package/dist/avid-panel/index.html +26 -0
- package/dist/avid-panel/panel.css +12 -0
- package/dist/avid-panel/panel.js +7 -0
- package/dist/bridge-D5KPIUSY.js +3 -0
- package/dist/browser/timeline_core_bg.wasm +0 -0
- package/dist/chunk-3OCQA33E.js +3 -0
- package/dist/chunk-3XD6NC4G.js +10 -0
- package/dist/chunk-5JBUCVRI.js +20 -0
- package/dist/chunk-5RSNFPED.js +8 -0
- package/dist/chunk-5SUGU2YR.js +3 -0
- package/dist/chunk-6ML26TIK.js +3 -0
- package/dist/chunk-7D7H6VFW.js +3 -0
- package/dist/chunk-7MC7M2Y5.js +3 -0
- package/dist/chunk-AACY2V3L.js +3 -0
- package/dist/chunk-AS7IXHYM.js +19 -0
- package/dist/chunk-BL6L5ZBP.js +39 -0
- package/dist/chunk-C2ESM27Z.js +3 -0
- package/dist/chunk-C5IX63YF.js +3 -0
- package/dist/chunk-D6YDLKSA.js +3 -0
- package/dist/chunk-DKGGJM6Z.js +3 -0
- package/dist/chunk-EJGVNQ3E.js +8 -0
- package/dist/chunk-HGDO3OED.js +3 -0
- package/dist/chunk-JV7TZDKJ.js +3 -0
- package/dist/chunk-LFJLRLEP.js +3 -0
- package/dist/chunk-NFJHWZJX.js +3 -0
- package/dist/chunk-NQHQKEP5.js +3 -0
- package/dist/chunk-NU3X7P4N.js +3 -0
- package/dist/chunk-OJWIBQK4.js +376 -0
- package/dist/chunk-OVUCL3YY.js +5 -0
- package/dist/chunk-P7OVDUA5.js +3 -0
- package/dist/chunk-PFISREY4.js +3 -0
- package/dist/chunk-PFZVET7S.js +3 -0
- package/dist/chunk-PLRB2YXJ.js +3 -0
- package/dist/chunk-PSANHDZM.js +3 -0
- package/dist/chunk-RFIPLBQ4.js +5 -0
- package/dist/chunk-SZD4C5MB.js +6 -0
- package/dist/chunk-TK55FA56.js +3 -0
- package/dist/chunk-TXQR2HI2.js +4 -0
- package/dist/chunk-UCMNH6Q6.js +3 -0
- package/dist/chunk-UKKRZ574.js +7 -0
- package/dist/chunk-VS3MKKJ5.js +3 -0
- package/dist/chunk-X53BNWNV.js +3 -0
- package/dist/chunk-XNR7M4VX.js +3 -0
- package/dist/claude-setup-IIWUB4CE.js +5 -0
- package/dist/cli.js +17 -0
- package/dist/clip-state-B6JOX3JE.js +3 -0
- package/dist/conformtools-analyze +0 -0
- package/dist/conformtools-decode +0 -0
- package/dist/cr3-wasm-L2LFY3LM.js +3 -0
- package/dist/dng-wasm-U6NC3MDK.js +3 -0
- package/dist/dpx-wasm-RMKEUKED.js +3 -0
- package/dist/engine-P6H5P6HP.js +5 -0
- package/dist/esm-SFFBP7PS.js +3 -0
- package/dist/exr-wasm-LBAOMOZD.js +3 -0
- package/dist/flame/hook/conformtools_flame/__init__.py +10 -0
- package/dist/flame/hook/conformtools_flame/building.py +191 -0
- package/dist/flame/hook/conformtools_flame/hook.py +177 -0
- package/dist/flame/hook/conformtools_flame/render.py +622 -0
- package/dist/flame/hook/conformtools_flame/util.py +33 -0
- package/dist/flame/hook/conformtools_flame/verbs.py +1037 -0
- package/dist/flame/hook/conformtools_flame_hook.py +42 -0
- package/dist/fonts/gfx/BarlowCondensed-Bold.ttf +0 -0
- package/dist/fonts/gfx/BarlowCondensed-Regular.ttf +0 -0
- package/dist/fonts/gfx/InstrumentSerif-Regular.ttf +0 -0
- package/dist/fonts/gfx/Inter-Bold.ttf +0 -0
- package/dist/fonts/gfx/Inter-Regular.ttf +0 -0
- package/dist/fonts/gfx/JetBrainsMono-Bold.ttf +0 -0
- package/dist/fonts/gfx/JetBrainsMono-Regular.ttf +0 -0
- package/dist/fonts/gfx/OFL.txt +100 -0
- package/dist/framing-SRCJKAYO.js +3 -0
- package/dist/gfx-worker.js +3 -0
- package/dist/h264-3ESGVT6G.js +3 -0
- package/dist/h264-mxf-NPFS7NGH.js +3 -0
- package/dist/host-relink-D6CB2VOQ.js +10 -0
- package/dist/hosts-W4AD2MYH.js +3 -0
- package/dist/http.js +5 -0
- package/dist/i2o-transfer +0 -0
- package/dist/inspect-7ASUPU73.js +68 -0
- package/dist/isobmff-SIOE67WL.js +3 -0
- package/dist/mcp.js +13 -0
- package/dist/media-7AUNRKHF.js +3 -0
- package/dist/media_core-Q2PIEV7D.js +9 -0
- package/dist/media_core_bg-FDL7GJZP.js +3 -0
- package/dist/media_core_bg-XRBVKQZH.js +3 -0
- package/dist/mxf-74TTDICM.js +3 -0
- package/dist/nuke/panel/python/Startup/conformtools_nuke_startup.py +44 -0
- package/dist/nuke/panel/python/conformtools_nuke/__init__.py +10 -0
- package/dist/nuke/panel/python/conformtools_nuke/panel.py +217 -0
- package/dist/nuke/panel/python/conformtools_nuke/verbs.py +837 -0
- package/dist/ops-FSOOBXMV.js +3 -0
- package/dist/peer-kit/ctpeer/__init__.py +21 -0
- package/dist/peer-kit/ctpeer/client.py +247 -0
- package/dist/peer-kit/ctpeer/neutral.py +178 -0
- package/dist/peer-kit/ctpeer/pairing.py +139 -0
- package/dist/peer-kit/ctpeer/protocol.py +209 -0
- package/dist/peer-kit/ctpeer/websocket.py +289 -0
- package/dist/premiere-uxp/icons/panel.png +0 -0
- package/dist/premiere-uxp/icons/panel@2x.png +0 -0
- package/dist/premiere-uxp/icons/plugin.png +0 -0
- package/dist/premiere-uxp/icons/plugin@2x.png +0 -0
- package/dist/premiere-uxp/index.html +38 -0
- package/dist/premiere-uxp/index.js +93 -0
- package/dist/premiere-uxp/lib/clipmeta.js +170 -0
- package/dist/premiere-uxp/lib/ctx.js +68 -0
- package/dist/premiere-uxp/lib/edit.js +516 -0
- package/dist/premiere-uxp/lib/handles.js +57 -0
- package/dist/premiere-uxp/lib/markers.js +198 -0
- package/dist/premiere-uxp/lib/pairing.js +67 -0
- package/dist/premiere-uxp/lib/premiere.js +91 -0
- package/dist/premiere-uxp/lib/probe.js +241 -0
- package/dist/premiere-uxp/lib/protocol.js +165 -0
- package/dist/premiere-uxp/lib/render.js +45 -0
- package/dist/premiere-uxp/lib/session.js +85 -0
- package/dist/premiere-uxp/lib/sizing.js +325 -0
- package/dist/premiere-uxp/lib/time.js +88 -0
- package/dist/premiere-uxp/lib/timeline.js +336 -0
- package/dist/premiere-uxp/lib/verbs.js +21 -0
- package/dist/premiere-uxp/lib/write.js +97 -0
- package/dist/premiere-uxp/manifest.json +102 -0
- package/dist/probe-F7WQHMIA.js +3 -0
- package/dist/prores-RIG37OIH.js +526 -0
- package/dist/r3d-YTLOMC7C.js +3 -0
- package/dist/r3d-ZDJ3WURS.js +1025 -0
- package/dist/resolve-bridge.py +2286 -0
- package/dist/resolve-presets/conform.tools.xml +127 -0
- package/dist/source-BDJAUQVR.js +3 -0
- package/dist/statusline-GMMCFMOA.js +4 -0
- package/dist/statusline.js +3 -0
- package/dist/still-ZG2RUQAL.js +3 -0
- package/dist/store-ZHXLQCGN.js +3 -0
- package/dist/tiff-wasm-D2FJ3L56.js +3 -0
- package/dist/timeline-6DYFDVEH.js +3 -0
- package/dist/timeline_core-IOENXK4Z.js +3 -0
- package/dist/timeline_core_bg-JW42YM3G.js +3 -0
- package/dist/udf_bg-B37GKRIH.js +3 -0
- package/dist/wasm/media_core_bg.wasm +0 -0
- package/dist/wasm/udf_bg.wasm +0 -0
- package/dist/wasm-threads/media_core_bg.wasm +0 -0
- package/dist/wav-OWMUGQMM.js +3 -0
- package/package.json +6 -4
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!--DbAppVer="20.3.3.0010" DbPrjVer="15"-->
|
|
3
|
+
<SyRecordInfo DbId="a977254f-7ada-4fc7-8a13-e57ad89dd3c2">
|
|
4
|
+
<FieldsBlob>00000001000000090000002a00550073006500540069006d0065006c0069006e0065005200650073006f006c007500740069006f006e0000000100010000002800550073006500540069006d0065006c0069006e0065004600720061006d0065005200610074006500000001000100000026005300750062007400690074006c0065005200650063006f007200640043006f00640065006300000002006d73633100000028005300750062007400690074006c0065004500780070006f007200740046006f0072006d006100740000000200000000030000002200520065006e0064006500720041007500640069006f0054007200610063006b00730000000c000000006f00000001000000010000000200300000000c000000005800000001000000020000001c0054007200610063006b0049006e0066006f00560061006c007500650000000200000000010000001a0054007200610063006b0049006e0066006f00540079007000650000000200000000010000002a005200650063006f007200640041007500640069006f00530061006d0070006c0065005200610074006500000002000000bb800000005e005200650063006f007200640041007500640069006f004e006f0072006d0061006c0069007a006100740069006f006e004f007500740070007500740054007200610063006b00730045006e00610062006c0065005300740061007400650000000c000000001700000001000000010000000200300000000200000000010000002800490073005200650063006f007200640041006c007000680061005000720065006d0075006c0074000000010001000000240043007500730074006f006d00500072006500730065007400490063006f006e00490064000000020000000001</FieldsBlob>
|
|
5
|
+
<Session/>
|
|
6
|
+
<Timeline/>
|
|
7
|
+
<UniqueSequenceId/>
|
|
8
|
+
<ReplaceHoleWithBlank>0</ReplaceHoleWithBlank>
|
|
9
|
+
<ApplyWfmDuringRecord>0</ApplyWfmDuringRecord>
|
|
10
|
+
<DisableCcDuringRecording>0</DisableCcDuringRecording>
|
|
11
|
+
<DisablePtzDuringRecording>0</DisablePtzDuringRecording>
|
|
12
|
+
<RecordStartFrame>0</RecordStartFrame>
|
|
13
|
+
<RecordEndFrame>0</RecordEndFrame>
|
|
14
|
+
<RecordTotalFrame>0</RecordTotalFrame>
|
|
15
|
+
<RecordOldFrame>0</RecordOldFrame>
|
|
16
|
+
<RecordNewFrame>86400</RecordNewFrame>
|
|
17
|
+
<RecordAllowDupImg>1</RecordAllowDupImg>
|
|
18
|
+
<RecordClipUniqueName>false</RecordClipUniqueName>
|
|
19
|
+
<RecordClipUniqueNameStyle>0</RecordClipUniqueNameStyle>
|
|
20
|
+
<RecordDigit>8</RecordDigit>
|
|
21
|
+
<RecordBitDepth>16</RecordBitDepth>
|
|
22
|
+
<RecordAsFloat>false</RecordAsFloat>
|
|
23
|
+
<FormatWidth>1920</FormatWidth>
|
|
24
|
+
<FormatHeight>1080</FormatHeight>
|
|
25
|
+
<FormatPixelAspectRatio>1</FormatPixelAspectRatio>
|
|
26
|
+
<FormatOption>-1</FormatOption>
|
|
27
|
+
<RecordTargetDir></RecordTargetDir>
|
|
28
|
+
<RecordUseTgtTimeCode>1</RecordUseTgtTimeCode>
|
|
29
|
+
<RenderAtSourceResolution>false</RenderAtSourceResolution>
|
|
30
|
+
<RecordSetTimelineTimecode>false</RecordSetTimelineTimecode>
|
|
31
|
+
<UseRecordClipStartFrame>true</UseRecordClipStartFrame>
|
|
32
|
+
<RecordClipStartFrame>1001</RecordClipStartFrame>
|
|
33
|
+
<RecordPrefix>conform_qc</RecordPrefix>
|
|
34
|
+
<RecordSuffix/>
|
|
35
|
+
<RecordFormatType>7145B29C33684D8AA1C7E5126F9B405D:C04F07127A5D4E18B93684A15D2F7166</RecordFormatType>
|
|
36
|
+
<RecordFormatSubType>7145B29C33684D8AA1C7E5126F9B405D:9E4FA32B8C714D55A63DE8124F9B6C07</RecordFormatSubType>
|
|
37
|
+
<RecordInFieldMode>false</RecordInFieldMode>
|
|
38
|
+
<RecordDataLevel>DATA_LEVEL_AUTO</RecordDataLevel>
|
|
39
|
+
<RecordQuality>4</RecordQuality>
|
|
40
|
+
<RecordFPS>23.976</RecordFPS>
|
|
41
|
+
<StereoRender>false</StereoRender>
|
|
42
|
+
<StereoRenderFrameMeshMode>-1</StereoRenderFrameMeshMode>
|
|
43
|
+
<StereoRenderBothEyesSeparately>false</StereoRenderBothEyesSeparately>
|
|
44
|
+
<StereoRenderSourceType>0</StereoRenderSourceType>
|
|
45
|
+
<UserName/>
|
|
46
|
+
<ProjectName/>
|
|
47
|
+
<FolderName/>
|
|
48
|
+
<SessionName/>
|
|
49
|
+
<CreationTime/>
|
|
50
|
+
<Status>READY</Status>
|
|
51
|
+
<RecordSpeed>0</RecordSpeed>
|
|
52
|
+
<UsePrefixAndSuffixFromSrc>0</UsePrefixAndSuffixFromSrc>
|
|
53
|
+
<UseCommercialWorkflow>0</UseCommercialWorkflow>
|
|
54
|
+
<AlternateOffset>0</AlternateOffset>
|
|
55
|
+
<ReelInFolder>0</ReelInFolder>
|
|
56
|
+
<ClipInFolder>0</ClipInFolder>
|
|
57
|
+
<AlternateInFolder>1</AlternateInFolder>
|
|
58
|
+
<SrcDirPreserveLevel>0</SrcDirPreserveLevel>
|
|
59
|
+
<SrcDirLevelsMode>0</SrcDirLevelsMode>
|
|
60
|
+
<NumFramesOfHandles>0</NumFramesOfHandles>
|
|
61
|
+
<UseVersionNameForFolder>0</UseVersionNameForFolder>
|
|
62
|
+
<DestSuffix/>
|
|
63
|
+
<RecordInfoName/>
|
|
64
|
+
<VersionIdList/>
|
|
65
|
+
<VersionNameList/>
|
|
66
|
+
<CompletionPercentage>0</CompletionPercentage>
|
|
67
|
+
<RecordSlatePreset>None</RecordSlatePreset>
|
|
68
|
+
<AdditionalOutputFormats/>
|
|
69
|
+
<RecordAudioEnabled>true</RecordAudioEnabled>
|
|
70
|
+
<RecordAudioNumChannels>2</RecordAudioNumChannels>
|
|
71
|
+
<RecordAudioBitDepth>24</RecordAudioBitDepth>
|
|
72
|
+
<CustomClips>0000000000000000</CustomClips>
|
|
73
|
+
<DisplayOrder>-1</DisplayOrder>
|
|
74
|
+
<ForceHighestQualitySizing>1</ForceHighestQualitySizing>
|
|
75
|
+
<ForceHighestQualityDebayerRes>1</ForceHighestQualityDebayerRes>
|
|
76
|
+
<RecordMode>RECORD_MODE_NONE</RecordMode>
|
|
77
|
+
<ExtraInfoMap>
|
|
78
|
+
<Element>
|
|
79
|
+
<DbKey>smpte</DbKey>
|
|
80
|
+
<DbVal>y</DbVal>
|
|
81
|
+
</Element>
|
|
82
|
+
<Element>
|
|
83
|
+
<DbKey>aud_codec</DbKey>
|
|
84
|
+
<DbVal>lpcm</DbVal>
|
|
85
|
+
</Element>
|
|
86
|
+
<Element>
|
|
87
|
+
<DbKey>subs_enable</DbKey>
|
|
88
|
+
<DbVal>0</DbVal>
|
|
89
|
+
</Element>
|
|
90
|
+
<Element>
|
|
91
|
+
<DbKey>aud_discrete</DbKey>
|
|
92
|
+
<DbVal>0</DbVal>
|
|
93
|
+
</Element>
|
|
94
|
+
<Element>
|
|
95
|
+
<DbKey>tag_sm_gamma</DbKey>
|
|
96
|
+
<DbVal>13</DbVal>
|
|
97
|
+
</Element>
|
|
98
|
+
<Element>
|
|
99
|
+
<DbKey>aud_src_config</DbKey>
|
|
100
|
+
<DbVal>AUX0</DbVal>
|
|
101
|
+
</Element>
|
|
102
|
+
<Element>
|
|
103
|
+
<DbKey>imf_profile_level</DbKey>
|
|
104
|
+
<DbVal>0</DbVal>
|
|
105
|
+
</Element>
|
|
106
|
+
<Element>
|
|
107
|
+
<DbKey>tag_sm_colorspace</DbKey>
|
|
108
|
+
<DbVal>23</DbVal>
|
|
109
|
+
</Element>
|
|
110
|
+
<Element>
|
|
111
|
+
<DbKey>plugin_vcodec_config</DbKey>
|
|
112
|
+
<DbVal>CgAAAHFjX2VuYWJsZWQCAAAAAQAAAAE=</DbVal>
|
|
113
|
+
</Element>
|
|
114
|
+
<Element>
|
|
115
|
+
<DbKey>include_spatial_metadata</DbKey>
|
|
116
|
+
<DbVal>0</DbVal>
|
|
117
|
+
</Element>
|
|
118
|
+
</ExtraInfoMap>
|
|
119
|
+
<UseRenderCachedImagesForRecording>false</UseRenderCachedImagesForRecording>
|
|
120
|
+
<TgtSysId>None</TgtSysId>
|
|
121
|
+
<CurSysId/>
|
|
122
|
+
<TimeTakenToRenderInMs>0</TimeTakenToRenderInMs>
|
|
123
|
+
<EstimatedTimeRemainingInMs>0</EstimatedTimeRemainingInMs>
|
|
124
|
+
<ErrorCode>0</ErrorCode>
|
|
125
|
+
<ErrorStr/>
|
|
126
|
+
<ErrorNotified>true</ErrorNotified>
|
|
127
|
+
</SyRecordInfo>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire as __conformRequire } from 'node:module'; const require = __conformRequire(import.meta.url);
|
|
3
|
+
import{a,b,c,d,e,f}from"./chunk-P7OVDUA5.js";import"./chunk-UCMNH6Q6.js";import"./chunk-PSANHDZM.js";export{c as formatForFile,b as partFromByteSource,a as partFromFile,d as sourceFromFile,e as sourceFromFiles,f as sourceFromParts};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire as __conformRequire } from 'node:module'; const require = __conformRequire(import.meta.url);
|
|
3
|
+
import"./chunk-PSANHDZM.js";import{readFileSync as d}from"node:fs";import{join as i}from"node:path";import{homedir as h}from"node:os";var s=[255,60,0],p=[245,245,245],a=[140,140,140],$=[80,200,120],r=(t,n)=>`\x1B[38;2;${t[0]};${t[1]};${t[2]}m${n}\x1B[0m`,_=3e4,y=9e4,c="\u25D0\u25D3\u25D1\u25D2";function m(t){let n=Math.max(0,Math.round(t/1e3));return n>=3600?`${Math.floor(n/3600)}:${String(Math.floor(n/60)%60).padStart(2,"0")}:${String(n%60).padStart(2,"0")}`:`${Math.floor(n/60)}:${String(n%60).padStart(2,"0")}`}function M(t,n,e=8){let o=n>0?Math.min(e,Math.round(e*t/n)):0;return r(s,"\u25B0".repeat(o))+r(a,"\u25B1".repeat(e-o))}function S(t,n){if(!t)return"";let e=t.verb.replace(/^timeline_|^media_/,"");if(t.status==="running"){if(n-Date.parse(t.updated_at)>_)return"";let f=r(s,c[Math.floor(n/250)%c.length]),g=t.total>0?`${t.done}/${t.total}`:"",b=t.phase&&t.phase!=="starting"?t.phase.replace(/\s*\d+\/\d+.*$/,"").slice(0,32):"";return[`${f} ${r(p,e)}`,t.total>0?M(t.done,t.total):"",r(a,[g,b,m(n-Date.parse(t.started_at))].filter(Boolean).join(" \xB7 "))].filter(Boolean).join(" ")}let o=Date.parse(t.finished_at??t.updated_at);if(n-o>y)return"";let u=m(o-Date.parse(t.started_at));return t.status==="done"?r($,`\u2713 ${e} done`)+r(a,` \xB7 ${u}`):r(s,`\u2717 ${e} ${t.status}`)+r(a,` \xB7 ${u}`)}function R(t){let n=t.now??Date.now();return[r(s,"\u25C9")+" "+r(p,"conform.tools"),t.facility?r(a,t.facility):"",S(t.job,n),t.model?r(a,t.model):""].filter(Boolean).join(r(a," \xB7 "))}function l(t){try{return JSON.parse(d(t,"utf8"))}catch{return null}}function B(){let t=process.env.CONFORM_MCP_HOME??i(h(),".conform-mcp"),n=null;try{let o=d(0,"utf8");n=o.trim()?JSON.parse(o):null}catch{}let e=l(i(t,"profile.json"))??l(i(t,"naming.json"));process.stdout.write(R({job:l(i(t,"jobs",".current")),facility:e?.facility||void 0,model:n?.model?.display_name})+`
|
|
4
|
+
`)}(import.meta.main??/statusline\.(js|ts)$/.test(process.argv[1]??""))&&B();export{M as bar,m as clock,S as jobPart,B as main,R as statusLine};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import{readFileSync as d}from"node:fs";import{join as i}from"node:path";import{homedir as h}from"node:os";var s=[255,60,0],p=[245,245,245],a=[140,140,140],$=[80,200,120],r=(t,n)=>`\x1B[38;2;${t[0]};${t[1]};${t[2]}m${n}\x1B[0m`,_=3e4,y=9e4,c="\u25D0\u25D3\u25D1\u25D2";function m(t){let n=Math.max(0,Math.round(t/1e3));return n>=3600?`${Math.floor(n/3600)}:${String(Math.floor(n/60)%60).padStart(2,"0")}:${String(n%60).padStart(2,"0")}`:`${Math.floor(n/60)}:${String(n%60).padStart(2,"0")}`}function M(t,n,e=8){let o=n>0?Math.min(e,Math.round(e*t/n)):0;return r(s,"\u25B0".repeat(o))+r(a,"\u25B1".repeat(e-o))}function S(t,n){if(!t)return"";let e=t.verb.replace(/^timeline_|^media_/,"");if(t.status==="running"){if(n-Date.parse(t.updated_at)>_)return"";let f=r(s,c[Math.floor(n/250)%c.length]),g=t.total>0?`${t.done}/${t.total}`:"",b=t.phase&&t.phase!=="starting"?t.phase.replace(/\s*\d+\/\d+.*$/,"").slice(0,32):"";return[`${f} ${r(p,e)}`,t.total>0?M(t.done,t.total):"",r(a,[g,b,m(n-Date.parse(t.started_at))].filter(Boolean).join(" \xB7 "))].filter(Boolean).join(" ")}let o=Date.parse(t.finished_at??t.updated_at);if(n-o>y)return"";let u=m(o-Date.parse(t.started_at));return t.status==="done"?r($,`\u2713 ${e} done`)+r(a,` \xB7 ${u}`):r(s,`\u2717 ${e} ${t.status}`)+r(a,` \xB7 ${u}`)}function R(t){let n=t.now??Date.now();return[r(s,"\u25C9")+" "+r(p,"conform.tools"),t.facility?r(a,t.facility):"",S(t.job,n),t.model?r(a,t.model):""].filter(Boolean).join(r(a," \xB7 "))}function l(t){try{return JSON.parse(d(t,"utf8"))}catch{return null}}function B(){let t=process.env.CONFORM_MCP_HOME??i(h(),".conform-mcp"),n=null;try{let o=d(0,"utf8");n=o.trim()?JSON.parse(o):null}catch{}let e=l(i(t,"profile.json"))??l(i(t,"naming.json"));process.stdout.write(R({job:l(i(t,"jobs",".current")),facility:e?.facility||void 0,model:n?.model?.display_name})+`
|
|
3
|
+
`)}(import.meta.main??/statusline\.(js|ts)$/.test(process.argv[1]??""))&&B();export{M as bar,m as clock,S as jobPart,B as main,R as statusLine};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire as __conformRequire } from 'node:module'; const require = __conformRequire(import.meta.url);
|
|
3
|
+
import{a as n,f as s,g as o}from"./chunk-JV7TZDKJ.js";import{a as l}from"./chunk-UCMNH6Q6.js";import"./chunk-PSANHDZM.js";var u=r=>{let e=r.split(/[/\\]/).pop()??"",t=e.lastIndexOf(".");return t>0?e.slice(t+1).toLowerCase():""};async function f(r,e){try{if(r==="dpx"){let t=await(await import("./dpx-wasm-RMKEUKED.js")).inspectDpxWasm(e);return t?{width:t.width,height:t.height}:null}if(r==="exr"){let t=await(await import("./exr-wasm-LBAOMOZD.js")).inspectExrWasm(e);return t?{width:t.width,height:t.height}:null}if(r==="dng"){let t=await(await import("./dng-wasm-U6NC3MDK.js")).inspectDngWasm(e);return t?{width:t.width,height:t.height}:null}if(r==="cr3"){let t=await(await import("./cr3-wasm-L2LFY3LM.js")).inspectCr3Wasm(e);return t?{width:t.width,height:t.height}:null}if(r==="tif"||r==="tiff"){let t=await(await import("./tiff-wasm-D2FJ3L56.js")).inspectTiffWasm(e);return t?{width:t.width,height:t.height}:null}}catch{}return null}async function p(r){if(typeof createImageBitmap!="function"||typeof Blob>"u")return null;try{let e=await createImageBitmap(new Blob([r])),t={width:e.width,height:e.height};return e.close?.(),t.width>0&&t.height>0?t:null}catch{return null}}async function m(r){let e=u(r.filename),t=await o(e,s(r));if(t)return t;let i=l(e);if(i===null||i==="none")return null;let a;try{a=await r.read(0,r.fileSize)}catch{return null}return i==="wasm-decoder"?await f(e,a):await p(a)}function c(r){let e=n(r);return e==="jpg"?"jpeg":e==="tif"?"tiff":e||"still"}var _={async inspect(r){let e=r.parts[0],t=await m(e);return{id:e.filename,kind:"external",content_kind:"still",target_url:e.filename,available_range:null,reel_name:null,source_timecode:null,container:n(e.filename)||"still",codec:c(e.filename),size_bytes:e.fileSize,bitrate_bps:null,source_resolution_w:t?.width??null,source_resolution_h:t?.height??null,source_pixel_aspect:t?1:null,streams:[],vendor_metadata:{},binding_state:"unbound",raw_extraction:{},metadata:{}}},async extract(r){let e=r.parts.map((t,i)=>({kind:"frame",part:i,offset:0,length:t.fileSize,frame_in:i,frame_out:i}));return e.length===0?null:{v:1,container:n(r.parts[0].filename)||"still",codec:c(r.parts[0].filename),frame_count:e.length,granularity:"frame",segments:e,...r.parts.length>1?{part_names:r.parts.map(t=>t.filename)}:{}}},async sparsify(){throw new Error("stillFormat.sparsify: stills ship whole \u2014 no sparse plan exists")},async trim(){throw new Error("stillFormat.trim: stills ship whole \u2014 no trim plan exists")}};export{_ as stillFormat};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
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}from"./chunk-EJGVNQ3E.js";import"./chunk-5RSNFPED.js";import"./chunk-3OCQA33E.js";import"./chunk-PLRB2YXJ.js";import"./chunk-PSANHDZM.js";export{a as createSession,f as getExtra,b as getSession,d as listSessions,e as saveExtra,c as updateSession};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire as __conformRequire } from 'node:module'; const require = __conformRequire(import.meta.url);
|
|
3
|
+
import{a,b,c}from"./chunk-X53BNWNV.js";import"./chunk-DKGGJM6Z.js";import"./chunk-C5IX63YF.js";import"./chunk-PSANHDZM.js";export{c as decodeTiffPreviewWasm,b as decodeTiffWasm,a as inspectTiffWasm};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire as __conformRequire } from 'node:module'; const require = __conformRequire(import.meta.url);
|
|
3
|
+
import{$ as p,M as a,N as b,O as c,P as d,Q as e,R as f,S as g,T as h,U as i,V as j,W as k,X as l,Y as m,Z as n,_ as o,aa as q,ba as r}from"./chunk-BL6L5ZBP.js";import"./chunk-PFISREY4.js";import"./chunk-JV7TZDKJ.js";import"./chunk-3XD6NC4G.js";import"./chunk-PFZVET7S.js";import"./chunk-P7OVDUA5.js";import"./chunk-UCMNH6Q6.js";import"./chunk-5SUGU2YR.js";import"./chunk-NQHQKEP5.js";import"./chunk-6ML26TIK.js";import"./chunk-HGDO3OED.js";import"./chunk-X53BNWNV.js";import"./chunk-DKGGJM6Z.js";import"./chunk-7MC7M2Y5.js";import"./chunk-VS3MKKJ5.js";import"./chunk-XNR7M4VX.js";import"./chunk-NU3X7P4N.js";import"./chunk-C5IX63YF.js";import"./chunk-5RSNFPED.js";import"./chunk-3OCQA33E.js";import"./chunk-PLRB2YXJ.js";import"./chunk-C2ESM27Z.js";import"./chunk-PSANHDZM.js";export{i as OPERATION_KINDS,a as READ_FORMATS,j as applyOperation,k as applyOperationWithSources,q as consolidate,g as countFlags,b as detectFormat,r as judge,p as linkText,e as listClips,h as listFlags,f as listMedia,c as readTimeline,l as resolveTarget,o as routesText,d as summarize,n as writeDestination,m as writeTimeline};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire as __conformRequire } from 'node:module'; const require = __conformRequire(import.meta.url);
|
|
3
|
+
import"./chunk-PSANHDZM.js";function O(e,r){let o,t;try{let s=u(e,n.__wbindgen_malloc,n.__wbindgen_realloc),c=l,f=u(r,n.__wbindgen_malloc,n.__wbindgen_realloc),w=l,a=n.capability_issues_json(s,c,f,w);var _=a[0],i=a[1];if(a[3])throw _=0,i=0,b(a[2]);return o=_,t=i,d(_,i)}finally{n.__wbindgen_free(o,t,1)}}function S(e){let r=g(e,n.__wbindgen_malloc),o=l,t=n.deobfuscate_ptx(r,o);if(t[3])throw b(t[2]);var _=A(t[0],t[1]).slice();return n.__wbindgen_free(t[0],t[1]*1,1),_}function I(e){let r,o;try{let t=u(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=l,i=n.drx_grade_tree(t,_);return r=i[0],o=i[1],d(i[0],i[1])}finally{n.__wbindgen_free(r,o,1)}}function U(e){let r,o;try{let i=g(e,n.__wbindgen_malloc),s=l,c=n.extract_aaf_json(i,s);var t=c[0],_=c[1];if(c[3])throw t=0,_=0,b(c[2]);return r=t,o=_,d(t,_)}finally{n.__wbindgen_free(r,o,1)}}function D(e,r){let o,t;try{let s=g(e,n.__wbindgen_malloc),c=l,f=u(r,n.__wbindgen_malloc,n.__wbindgen_realloc),w=l,a=n.extract_avb_json(s,c,f,w);var _=a[0],i=a[1];if(a[3])throw _=0,i=0,b(a[2]);return o=_,t=i,d(_,i)}finally{n.__wbindgen_free(o,t,1)}}function F(e){let r,o;try{let i=u(e,n.__wbindgen_malloc,n.__wbindgen_realloc),s=l,c=n.extract_drt_json(i,s);var t=c[0],_=c[1];if(c[3])throw t=0,_=0,b(c[2]);return r=t,o=_,d(t,_)}finally{n.__wbindgen_free(r,o,1)}}function B(e){let r,o;try{let i=g(e,n.__wbindgen_malloc),s=l,c=n.extract_flame_json(i,s);var t=c[0],_=c[1];if(c[3])throw t=0,_=0,b(c[2]);return r=t,o=_,d(t,_)}finally{n.__wbindgen_free(r,o,1)}}function L(e,r){let o,t;try{let s=g(e,n.__wbindgen_malloc),c=l,f=u(r,n.__wbindgen_malloc,n.__wbindgen_realloc),w=l,a=n.extract_prproj_json(s,c,f,w);var _=a[0],i=a[1];if(a[3])throw _=0,i=0,b(a[2]);return o=_,t=i,d(_,i)}finally{n.__wbindgen_free(o,t,1)}}function k(e){let r,o;try{let i=g(e,n.__wbindgen_malloc),s=l,c=n.extract_ptx_json(i,s);var t=c[0],_=c[1];if(c[3])throw t=0,_=0,b(c[2]);return r=t,o=_,d(t,_)}finally{n.__wbindgen_free(r,o,1)}}function C(e){let r,o;try{let i=g(e,n.__wbindgen_malloc),s=l,c=n.inspect_aaf_json(i,s);var t=c[0],_=c[1];if(c[3])throw t=0,_=0,b(c[2]);return r=t,o=_,d(t,_)}finally{n.__wbindgen_free(r,o,1)}}function q(e){let r,o;try{let i=g(e,n.__wbindgen_malloc),s=l,c=n.inspect_avb_json(i,s);var t=c[0],_=c[1];if(c[3])throw t=0,_=0,b(c[2]);return r=t,o=_,d(t,_)}finally{n.__wbindgen_free(r,o,1)}}function z(e,r){let o,t;try{let s=u(e,n.__wbindgen_malloc,n.__wbindgen_realloc),c=l,f=u(r,n.__wbindgen_malloc,n.__wbindgen_realloc),w=l,a=n.inspect_capcut_json(s,c,f,w);var _=a[0],i=a[1];if(a[3])throw _=0,i=0,b(a[2]);return o=_,t=i,d(_,i)}finally{n.__wbindgen_free(o,t,1)}}function P(e){let r,o;try{let i=u(e,n.__wbindgen_malloc,n.__wbindgen_realloc),s=l,c=n.inspect_drt_json(i,s);var t=c[0],_=c[1];if(c[3])throw t=0,_=0,b(c[2]);return r=t,o=_,d(t,_)}finally{n.__wbindgen_free(r,o,1)}}function N(e,r){let o,t;try{let s=u(e,n.__wbindgen_malloc,n.__wbindgen_realloc),c=l,f=u(r,n.__wbindgen_malloc,n.__wbindgen_realloc),w=l,a=n.inspect_fcpxml_json(s,c,f,w);var _=a[0],i=a[1];if(a[3])throw _=0,i=0,b(a[2]);return o=_,t=i,d(_,i)}finally{n.__wbindgen_free(o,t,1)}}function V(e,r){let o,t;try{let s=g(e,n.__wbindgen_malloc),c=l,f=u(r,n.__wbindgen_malloc,n.__wbindgen_realloc),w=l,a=n.inspect_flame_json(s,c,f,w);var _=a[0],i=a[1];if(a[3])throw _=0,i=0,b(a[2]);return o=_,t=i,d(_,i)}finally{n.__wbindgen_free(o,t,1)}}function X(e,r){let o,t;try{let s=u(e,n.__wbindgen_malloc,n.__wbindgen_realloc),c=l,f=u(r,n.__wbindgen_malloc,n.__wbindgen_realloc),w=l,a=n.inspect_otio_json(s,c,f,w);var _=a[0],i=a[1];if(a[3])throw _=0,i=0,b(a[2]);return o=_,t=i,d(_,i)}finally{n.__wbindgen_free(o,t,1)}}function Y(e){let r,o;try{let i=g(e,n.__wbindgen_malloc),s=l,c=n.inspect_prproj_json(i,s);var t=c[0],_=c[1];if(c[3])throw t=0,_=0,b(c[2]);return r=t,o=_,d(t,_)}finally{n.__wbindgen_free(r,o,1)}}function G(e,r){let o,t;try{let s=g(e,n.__wbindgen_malloc),c=l,f=u(r,n.__wbindgen_malloc,n.__wbindgen_realloc),w=l,a=n.inspect_ptx_json(s,c,f,w);var _=a[0],i=a[1];if(a[3])throw _=0,i=0,b(a[2]);return o=_,t=i,d(_,i)}finally{n.__wbindgen_free(o,t,1)}}function H(e,r){let o,t;try{let s=u(e,n.__wbindgen_malloc,n.__wbindgen_realloc),c=l,f=u(r,n.__wbindgen_malloc,n.__wbindgen_realloc),w=l,a=n.inspect_xmeml_json(s,c,f,w);var _=a[0],i=a[1];if(a[3])throw _=0,i=0,b(a[2]);return o=_,t=i,d(_,i)}finally{n.__wbindgen_free(o,t,1)}}function j(){return{__proto__:null,"./timeline_core_bg.js":{__proto__:null,__wbg_Error_fdd633d4bb5dd76a:function(r,o){return Error(d(r,o))},__wbindgen_cast_0000000000000001:function(r,o){return d(r,o)},__wbindgen_init_externref_table:function(){let r=n.__wbindgen_externrefs,o=r.grow(4);r.set(0,void 0),r.set(o+0,void 0),r.set(o+1,null),r.set(o+2,!0),r.set(o+3,!1)}}}}function A(e,r){return e=e>>>0,y().subarray(e/1,e/1+r)}function d(e,r){return T(e>>>0,r)}var p=null;function y(){return(p===null||p.byteLength===0)&&(p=new Uint8Array(n.memory.buffer)),p}function g(e,r){let o=r(e.length*1,1)>>>0;return y().set(e,o/1),l=e.length,o}function u(e,r,o){if(o===void 0){let c=x.encode(e),f=r(c.length,1)>>>0;return y().subarray(f,f+c.length).set(c),l=c.length,f}let t=e.length,_=r(t,1)>>>0,i=y(),s=0;for(;s<t;s++){let c=e.charCodeAt(s);if(c>127)break;i[_+s]=c}if(s!==t){s!==0&&(e=e.slice(s)),_=o(_,t,t=s+e.length*3,1)>>>0;let c=y().subarray(_+s,_+t),f=x.encodeInto(e,c);s+=f.written,_=o(_,t,s,1)>>>0}return l=s,_}function b(e){let r=n.__wbindgen_externrefs.get(e);return n.__externref_table_dealloc(e),r}var m=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});m.decode();var W=2146435072,v=0;function T(e,r){return v+=r,v>=W&&(m=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),m.decode(),v=r),m.decode(y().subarray(e,e+r))}var x=new TextEncoder;"encodeInto"in x||(x.encodeInto=function(e,r){let o=x.encode(e);return r.set(o),{read:e.length,written:o.length}});var l=0,R,E,n;function h(e,r){return E=e,n=e.exports,R=r,p=null,n.__wbindgen_start(),n}async function M(e,r){if(typeof Response=="function"&&e instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(e,r)}catch(_){if(e.ok&&o(e.type)&&e.headers.get("Content-Type")!=="application/wasm")console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",_);else throw _}let t=await e.arrayBuffer();return await WebAssembly.instantiate(t,r)}else{let t=await WebAssembly.instantiate(e,r);return t instanceof WebAssembly.Instance?{instance:t,module:e}:t}function o(t){switch(t){case"basic":case"cors":case"default":return!0}return!1}}function J(e){if(n!==void 0)return n;e!==void 0&&(Object.getPrototypeOf(e)===Object.prototype?{module:e}=e:console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));let r=j();e instanceof WebAssembly.Module||(e=new WebAssembly.Module(e));let o=new WebAssembly.Instance(e,r);return h(o,e)}async function K(e){if(n!==void 0)return n;e!==void 0&&(Object.getPrototypeOf(e)===Object.prototype?{module_or_path:e}=e:console.warn("using deprecated parameters for the initialization function; pass a single object instead")),e===void 0&&(e=new URL("timeline_core_bg.wasm",import.meta.url));let r=j();(typeof e=="string"||typeof Request=="function"&&e instanceof Request||typeof URL=="function"&&e instanceof URL)&&(e=fetch(e));let{instance:o,module:t}=await M(await e,r);return h(o,t)}export{O as capability_issues_json,K as default,S as deobfuscate_ptx,I as drx_grade_tree,U as extract_aaf_json,D as extract_avb_json,F as extract_drt_json,B as extract_flame_json,L as extract_prproj_json,k as extract_ptx_json,J as initSync,C as inspect_aaf_json,q as inspect_avb_json,z as inspect_capcut_json,P as inspect_drt_json,N as inspect_fcpxml_json,V as inspect_flame_json,X as inspect_otio_json,Y as inspect_prproj_json,G as inspect_ptx_json,H as inspect_xmeml_json};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire as __conformRequire } from 'node:module'; const require = __conformRequire(import.meta.url);
|
|
3
|
+
import{a as b}from"./chunk-AACY2V3L.js";import{Ga as u,aa as _,ka as f,ra as d,ua as g}from"./chunk-C5IX63YF.js";import"./chunk-PSANHDZM.js";function p(s){return(r,t)=>s.read(r,t)}function S(s){let r=[];for(let t of s)t.kind!=="clip"||!t.source_range||r.push({start_frame:t.source_range.start.value,dur_frames:t.source_range.duration.value,fps:t.source_range.start.rate??1});return r}var w={async inspect(s){await u();let r=s.parts[0],t=await _(p(r),r.fileSize),e=JSON.parse(t);if(!e||!e.sample_rate)return null;let a=e.byte_rate>0?e.data_length/e.byte_rate:null,m=a?Math.round(a*e.sample_rate):0,n=[{kind:"audio",codec:"pcm",rate:e.sample_rate,channels:e.channels,bit_depth:e.bits_per_sample,codec_specific:{bits_per_sample:e.bits_per_sample}}];return{id:r.filename,kind:"external",content_kind:"audio",target_url:r.filename,available_range:a?{start:{value:0,rate:e.sample_rate},duration:{value:m,rate:e.sample_rate}}:null,reel_name:null,source_timecode:e.source_timecode??null,container:"wav",codec:"pcm",size_bytes:r.fileSize,bitrate_bps:e.byte_rate*8,streams:n,vendor_metadata:e.bext?{bext:e.bext}:{},binding_state:"unbound",raw_extraction:{wav_meta:e},metadata:{}}},async extract(s){await u();let r=s.parts[0],t=JSON.parse(await f(p(r),r.fileSize));return t.length===0?null:{v:1,container:"wav",codec:"pcm",frame_count:b(t),granularity:"second",segments:t}},async sparsify(s,r){await u();let t=s.parts[0],e=await g(p(t),t.fileSize,JSON.stringify(S(r.items)),r.handles),a=JSON.parse(e);return[{filename:t.filename,fileSize:a.fileSize,structuralRanges:a.structuralRanges,essenceRanges:a.essenceRanges,trimInputs:a.trimInputs}]},async trim(s,r){await u();let t=s.parts[0],e=[];for(let n of r.items){if(n.kind!=="clip"||!n.source_range)continue;let i=n.source_range.start.rate??1,o=Math.max(0,(n.source_range.start.value-r.handles)/i),c=(n.source_range.start.value+n.source_range.duration.value+r.handles)/i;c>o&&e.push([o,c])}if(e.length===0)throw new Error("wav trim: no usable trim ranges in items");e.sort((n,i)=>n[0]-i[0]);let a=[];for(let[n,i]of e){let o=a[a.length-1];o&&n<=o[1]?o[1]=Math.max(o[1],i):a.push([n,i])}let m=[];for(let[n,[i,o]]of a.entries()){let c=await d(p(t),t.fileSize,i,o,1),l=JSON.parse(c);a.length>1&&(l.output_clip_number=n+1,l.output_clip_count=a.length,l.output_part_number=1),m.push(l)}return m}};export{w as wavFormat};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "conformtools",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.6",
|
|
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",
|
|
@@ -14,14 +14,16 @@
|
|
|
14
14
|
"node": ">=20"
|
|
15
15
|
},
|
|
16
16
|
"scripts": {
|
|
17
|
-
"build": "node build/bundle.mjs"
|
|
17
|
+
"build": "node build/bundle.mjs",
|
|
18
|
+
"prepublishOnly": "node -e \"const f=require('fs');if(!f.existsSync('dist/cli.js')||f.readdirSync('dist').length<20){console.error('refusing to publish: dist/ is not built (npm run build first)');process.exit(1)}\""
|
|
18
19
|
},
|
|
19
|
-
"
|
|
20
|
-
"
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"@napi-rs/canvas": "^0.1.80"
|
|
21
22
|
},
|
|
22
23
|
"devDependencies": {
|
|
23
24
|
"@modelcontextprotocol/sdk": "1.31.0",
|
|
24
25
|
"esbuild": "^0.25",
|
|
26
|
+
"opentype.js": "^2.0.0",
|
|
25
27
|
"zod-to-json-schema": "3.25.2"
|
|
26
28
|
},
|
|
27
29
|
"homepage": "https://conform.tools",
|