conformtools 0.6.18 → 0.6.19

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 (61) hide show
  1. package/README.md +3 -2
  2. package/dist/{account-O3J732QJ.js → account-KSE6H6DJ.js} +1 -1
  3. package/dist/{agent-hook-setup-HBT2LTVR.js → agent-hook-setup-SHZOVJYL.js} +1 -1
  4. package/dist/{analysis-engine-BZUEBW55.js → analysis-engine-KUGSWNQB.js} +1 -1
  5. package/dist/{bridge-25FGN67G.js → bridge-REYIYXUU.js} +1 -1
  6. package/dist/browser/timeline_core_bg.wasm +0 -0
  7. package/dist/{chunk-ANQZKVDD.js → chunk-3J2FARFO.js} +1 -1
  8. package/dist/{chunk-LP2MR4ZH.js → chunk-4KMSOMLG.js} +227 -219
  9. package/dist/chunk-4PV2UTKG.js +10 -0
  10. package/dist/{chunk-PIM3PV5N.js → chunk-BD54PRSN.js} +1 -1
  11. package/dist/{chunk-NN444GPH.js → chunk-BZQAUU3D.js} +1 -1
  12. package/dist/chunk-COALWMI7.js +4 -0
  13. package/dist/{chunk-6B3IELRW.js → chunk-CUZVK2JJ.js} +1 -1
  14. package/dist/{chunk-34JO3JNC.js → chunk-GTN62ZQV.js} +1 -1
  15. package/dist/{chunk-S5AOIOTT.js → chunk-HKHEL4MZ.js} +1 -1
  16. package/dist/chunk-HZG55H3B.js +3 -0
  17. package/dist/{chunk-UIX3TT72.js → chunk-MJKISVPS.js} +2 -2
  18. package/dist/{chunk-DIW5X4GI.js → chunk-NHVH373D.js} +1 -1
  19. package/dist/chunk-NQD6H7SY.js +7 -0
  20. package/dist/chunk-PY6HS3EP.js +10 -0
  21. package/dist/chunk-UWEM5YEM.js +161 -0
  22. package/dist/{chunk-AYUKWSCR.js → chunk-WM7ESQLY.js} +1 -1
  23. package/dist/{chunk-MHBNMYZP.js → chunk-WNDA7QSY.js} +1 -1
  24. package/dist/{chunk-2V5PY4P5.js → chunk-XQON6ASI.js} +1 -1
  25. package/dist/chunk-Y7PFSVRX.js +3 -0
  26. package/dist/{claude-setup-W27DLJIO.js → claude-setup-ZOEQ5NXE.js} +1 -1
  27. package/dist/cli.js +2 -2
  28. package/dist/demo-engine-ZX24TAXA.js +3 -0
  29. package/dist/engine-K6QYU5KJ.js +5 -0
  30. package/dist/framing-B6LP7MS2.js +3 -0
  31. package/dist/gfx-worker.js +1 -1
  32. package/dist/hook.js +3 -2
  33. package/dist/host-relink-VYEOE3NE.js +10 -0
  34. package/dist/hosted-NLYSTYYN.js +3 -0
  35. package/dist/hosts-47EW33NY.js +3 -0
  36. package/dist/http.js +4 -3
  37. package/dist/{inspect-7XEE32P5.js → inspect-QRHOFMC2.js} +17 -17
  38. package/dist/mcp.js +8 -8
  39. package/dist/media-TPGEESEU.js +3 -0
  40. package/dist/{probe-YDOFGCGD.js → probe-CHT266NN.js} +1 -1
  41. package/dist/resolve-bridge.py +173 -27
  42. package/dist/{sequence-patch-2S7IPE52.js → sequence-patch-6FSMBG7O.js} +1 -1
  43. package/dist/{store-A5AKWOSX.js → store-CFQHKBGL.js} +1 -1
  44. package/dist/{timeline-ZHDJXDZJ.js → timeline-MZ6A3PQX.js} +1 -1
  45. package/dist/timeline_core-6BRZG4LP.js +3 -0
  46. package/package.json +5 -5
  47. package/dist/chunk-AAJRTGEP.js +0 -10
  48. package/dist/chunk-GTPTZRO6.js +0 -3
  49. package/dist/chunk-IDEKLW7C.js +0 -3
  50. package/dist/chunk-QBQJDV2F.js +0 -161
  51. package/dist/chunk-ROGMKTND.js +0 -4
  52. package/dist/chunk-RXRBRR3E.js +0 -10
  53. package/dist/chunk-T7S2UBNN.js +0 -7
  54. package/dist/demo-engine-JAQPM4EV.js +0 -3
  55. package/dist/engine-ZGBF3SQN.js +0 -5
  56. package/dist/framing-PGFJZIBU.js +0 -3
  57. package/dist/host-relink-M2VWUZW5.js +0 -10
  58. package/dist/hosted-4CNQYNX5.js +0 -3
  59. package/dist/hosts-R4BHIZJS.js +0 -3
  60. package/dist/media-4VUWQJLQ.js +0 -3
  61. package/dist/timeline_core-ZKQQHUA2.js +0 -3
package/README.md CHANGED
@@ -142,8 +142,9 @@ When a tool fails, or you tell the AI a result was wrong, nothing needs filing:
142
142
  telemetry below records it with the run (the error, with every name replaced, and which system
143
143
  it ran on), so we see every failure, not only the ones someone reported.
144
144
 
145
- When you or the AI want to tell us a lesson or a suggestion (nothing broke), the `report` tool
146
- sends it and gives you a report id. A note contains the words the AI wrote, the conformtools
145
+ When you want to tell us something, ask the AI to send feedback: the `feedback` tool sends your
146
+ words and gives you a feedback id. The AI also files its own notes this way (a lesson, a missing
147
+ tool). Each contains the words written, the conformtools
147
148
  version, whether timelines were read on this machine or on conform.tools, your OS and Node.js
148
149
  version, and the signed-in account. Folder paths are cut to the file name:
149
150
  `/Volumes/CLIENT/secret/A001.mov` is sent as `A001.mov`.
@@ -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 a,d as b,e as c,f as d,g as e,h as f,i as g,j as h,k as i,l as j,m as k,n as l,o as m,p as n,q as o,r as p}from"./chunk-UIX3TT72.js";import"./chunk-NN444GPH.js";import"./chunk-ROGMKTND.js";import"./chunk-GTPTZRO6.js";import"./chunk-PSANHDZM.js";export{c as NET_TIMEOUT_MS,d as _forgetOffline,f as accessToken,g as accountStatus,a as config,i as includesOf,b as legacyKvStorePath,o as login,p as logout,e as modelKey,m as requireApp,k as requireEntitled,l as requireMcp,n as requireStudioTool,j as setAccountGate,h as statusText};
3
+ import{d as a,e as b,f as c,g as d,h as e,i as f,j as g,k as h,l as i,m as j,n as k,o as l,p as m,q as n,r as o,s as p}from"./chunk-MJKISVPS.js";import"./chunk-BZQAUU3D.js";import"./chunk-COALWMI7.js";import"./chunk-HZG55H3B.js";import"./chunk-PSANHDZM.js";export{c as NET_TIMEOUT_MS,d as _forgetOffline,f as accessToken,g as accountStatus,a as config,i as includesOf,b as legacyKvStorePath,o as login,p as logout,e as modelKey,m as requireApp,k as requireEntitled,l as requireMcp,n as requireStudioTool,j as setAccountGate,h as statusText};
@@ -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 a,c as b,d as c,e as d,f as e,g as f,h as g,i as h,j as i,k as j,l as k,m as l,n as m}from"./chunk-T7S2UBNN.js";import"./chunk-GTPTZRO6.js";import"./chunk-PSANHDZM.js";export{a as CLIENTS,j as WHAT_IT_RECORDS,f as clientsHere,b as hookFiles,i as hookInstalled,l as hooksRemovedText,m as hooksStatusText,k as hooksText,d as installAgentHook,g as installAllAgentHooks,c as installHookScript,e as removeAgentHook,h as removeAllAgentHooks};
3
+ import{b as a,c as b,d as c,e as d,f as e,g as f,h as g,i as h,j as i,k as j,l as k,m as l,n as m}from"./chunk-NQD6H7SY.js";import"./chunk-HZG55H3B.js";import"./chunk-PSANHDZM.js";export{a as CLIENTS,j as WHAT_IT_RECORDS,f as clientsHere,b as hookFiles,i as hookInstalled,l as hooksRemovedText,m as hooksStatusText,k as hooksText,d as installAgentHook,g as installAllAgentHooks,c as installHookScript,e as removeAgentHook,h as removeAllAgentHooks};
@@ -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}from"./chunk-NN444GPH.js";import"./chunk-ROGMKTND.js";import"./chunk-GTPTZRO6.js";import"./chunk-PSANHDZM.js";export{a as analysisEnginePath,c as analysisOp,d as startAnalysisEngine,b as startAnalysisJob};
3
+ import{a,b,c,d}from"./chunk-BZQAUU3D.js";import"./chunk-COALWMI7.js";import"./chunk-HZG55H3B.js";import"./chunk-PSANHDZM.js";export{a as analysisEnginePath,c as analysisOp,d as startAnalysisEngine,b as startAnalysisJob};
@@ -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 a,c as b,d as c,e as d,f as e,g as f,h as g,i as h}from"./chunk-MHBNMYZP.js";import"./chunk-PIM3PV5N.js";import"./chunk-GTPTZRO6.js";import"./chunk-PSANHDZM.js";export{c as BridgeError,g as HostBridge,e as PANEL_PREFIX,b as PORTS,a as PROTOCOL,h as hostBridge,d as pairingPath,f as panelOrigins};
3
+ import{b as a,c as b,d as c,e as d,f as e,g as f,h as g,i as h}from"./chunk-WNDA7QSY.js";import"./chunk-BD54PRSN.js";import"./chunk-HZG55H3B.js";import"./chunk-PSANHDZM.js";export{c as BridgeError,g as HostBridge,e as PANEL_PREFIX,b as PORTS,a as PROTOCOL,h as hostBridge,d as pairingPath,f as panelOrigins};
Binary file
@@ -1,4 +1,4 @@
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 u,d as y,f as w,g as h}from"./chunk-IDEKLW7C.js";import{c as f,h as p}from"./chunk-UIX3TT72.js";import{a}from"./chunk-ROGMKTND.js";import{b as g}from"./chunk-GTPTZRO6.js";u(!0);var b={aaf:"aaf",avb:"avb",prproj:"prproj",drt:"resolve-drt",otio:"otio",capcut:"capcut",flame:"flame-archive",fcpxml:"resolve-fcpxml",xmeml:"fcp-xml",blscene:"baselight-blscene"},R=Object.keys(b),v=new Set([502,503,504,529,546]),d=(e,o)=>`${f().supabaseUrl}/functions/v1/${e}${o}`;async function m(){let e=await p();if(!e&&g("CONFORM_ANONYMOUS_READ")==="1")return f().anonKey;if(!e)throw new a("not_signed_in","reading and writing timelines runs on conform.tools \u2014 sign in first (account_login)");return e}async function S(e,o){let t;for(let n=0;n<3;n++){try{let i=await fetch(e,o);if(!v.has(i.status)||n===2)return i;t=new Error(`status ${i.status}`)}catch(i){if(t=i,n===2)break}await new Promise(i=>setTimeout(i,1500*(n+1)))}throw new a("offline",`conform.tools is unreachable (${t instanceof Error?t.message:String(t)}) \u2014 reading and writing timelines need the network`)}async function _(e,o){let n=(await e.json().catch(()=>({})))?.error?.message??`${o} failed (${e.status})`;throw e.status===401?new a("not_signed_in",`${n} \u2014 sign in again (account_login)`):e.status===402||e.status===403?new a("not_entitled",n):new a(e.status>=500?"engine":"refused",n)}async function P(e,o){let t=b[e];if(!t)throw new a("unsupported",`'${e}' timelines are not read by conform.tools yet`);let{fmt:n,extract:i}=await y(o,t),c=JSON.stringify({format:n,source_filename:o.name,persist:!1})+`
3
+ import{c as u,d as y,g as w,h}from"./chunk-Y7PFSVRX.js";import{d as f,i as p}from"./chunk-MJKISVPS.js";import{a}from"./chunk-COALWMI7.js";import{b as g}from"./chunk-HZG55H3B.js";u(!0);var b={aaf:"aaf",avb:"avb",prproj:"prproj",drt:"resolve-drt",otio:"otio",capcut:"capcut",flame:"flame-archive",fcpxml:"resolve-fcpxml",xmeml:"fcp-xml",blscene:"baselight-blscene"},R=Object.keys(b),v=new Set([502,503,504,529,546]),d=(e,o)=>`${f().supabaseUrl}/functions/v1/${e}${o}`;async function m(){let e=await p();if(!e&&g("CONFORM_ANONYMOUS_READ")==="1")return f().anonKey;if(!e)throw new a("not_signed_in","reading and writing timelines runs on conform.tools \u2014 sign in first (account_login)");return e}async function S(e,o){let t;for(let n=0;n<3;n++){try{let i=await fetch(e,o);if(!v.has(i.status)||n===2)return i;t=new Error(`status ${i.status}`)}catch(i){if(t=i,n===2)break}await new Promise(i=>setTimeout(i,1500*(n+1)))}throw new a("offline",`conform.tools is unreachable (${t instanceof Error?t.message:String(t)}) \u2014 reading and writing timelines need the network`)}async function _(e,o){let n=(await e.json().catch(()=>({})))?.error?.message??`${o} failed (${e.status})`;throw e.status===401?new a("not_signed_in",`${n} \u2014 sign in again (account_login)`):e.status===402||e.status===403?new a("not_entitled",n):new a(e.status>=500?"engine":"refused",n)}async function P(e,o){let t=b[e];if(!t)throw new a("unsupported",`'${e}' timelines are not read by conform.tools yet`);let{fmt:n,extract:i}=await y(o,t),c=JSON.stringify({format:n,source_filename:o.name,persist:!1})+`
4
4
  `+(typeof i=="string"?i:JSON.stringify(i)),s=await S(d("v1-timeline-canonicalize","/v1/timeline-canonicalize"),{method:"POST",headers:{"content-type":"application/x-ct-canonicalize-v1",authorization:`Bearer ${await m()}`,apikey:f().anonKey},body:c});s.ok||await _(s,"read");let l=await s.json();return JSON.stringify(l.session)}async function N(e,o){let t=await S(d("v1-write","/v1/write"),{method:"POST",headers:{"content-type":"application/json",authorization:`Bearer ${await m()}`,apikey:f().anonKey,"x-engine-accept-delivery":"cdn"},body:JSON.stringify({target_format:e,session:o})});t.ok||await _(t,"write");let n=h(t.headers.get(w))??[];if(t.headers.get("x-engine-delivery")==="cdn"){let r=await t.json(),c=await fetch(r.download_url);if(!c.ok)throw new a("engine",`download failed (${c.status})`);let s=new Uint8Array(await c.arrayBuffer());if(s.byteLength!==r.size)throw new a("engine",`download incomplete: ${s.byteLength} of ${r.size} bytes`);return{body:s,contentType:r.content_type,filenameSuggestion:r.filename,issues:n,serverSession:r.session_id??void 0}}let i=t.headers.get("content-disposition")?.match(/filename="([^"]+)"/)?.[1];return{body:new Uint8Array(await t.arrayBuffer()),contentType:t.headers.get("content-type")??"application/octet-stream",filenameSuggestion:i??`timeline.${e}`,issues:n,serverSession:t.headers.get("x-session-id")??void 0}}async function j(e,o,t){try{let n={"content-type":"application/json",authorization:`Bearer ${await m()}`,apikey:f().anonKey},i=k=>d("v1-sessions",`/v1/sessions/${encodeURIComponent(e)}/original${k}`),r=await fetch(i(""),{method:"POST",headers:n,body:JSON.stringify({filename:o,content_type:"application/octet-stream"})});if(!r.ok)return!1;let{key:c,upload:s}=await r.json();return(await fetch(s.url,{method:s.method??"PUT",headers:s.headers??{"content-type":"application/octet-stream"},body:t})).ok?(await fetch(i("/complete"),{method:"POST",headers:n,body:JSON.stringify({key:c})})).ok:!1}catch{return!1}}export{R as a,P as b,N as c,j as d};