比较提交

...
作者 SHA1 备注 提交日期
mac 883f680ade 完成1.22.2 Release与文章发布、远端恢复和最终交接 2026-11-15 00:46:45 +08:00
mac 90ca0f4a08 完成1.22.2签名公证安装包并恢复临时上传路由 2026-11-15 00:37:36 +08:00
mac 68ef3a48be 记录137正式安装、用户图章验收及精简界面,保留定位限制 2026-11-15 00:19:22 +08:00
mac aa60572b51 避免跟踪回归计数器与派生探针成员重名 2026-11-15 00:07:14 +08:00
mac 19db05b364 将最后可信帧跳转移到参数动作结束后并覆盖宿主拒绝回归 2026-11-15 00:05:01 +08:00
mac 9b097e04a2 保存135界面及FCP验收并补充最后可信帧定位兼容与诊断 2026-11-14 23:53:55 +08:00
mac 57a9830280 保证绑定账号识别失败时仍可微信登录 2026-11-14 23:34:14 +08:00
mac a084d9d5b8 精简主窗口为四张操作卡片并准备135正式构建 2026-11-14 23:31:40 +08:00
mac 5adb9a20c7 修复缩放回归检查借用已释放文档快照的问题 2026-11-14 23:14:10 +08:00
mac 1ef5273ee3 定位图章缩放前后关键帧内容差异 2026-11-14 23:11:08 +08:00
mac b3e6985fe2 保留图章缩放失败的几何与轨迹定位数据 2026-11-14 23:07:15 +08:00
mac bb4be3166f 按当前帧取样关键帧与旋转随动合同修正宿主回归断言 2026-11-14 23:03:35 +08:00
mac 7763be5468 从Xcode已安装组件定位Metal工具以修复默认入口失效 2026-11-14 22:59:32 +08:00
mac f96e1967a1 统一跟踪着色器到完整自定义Metal构建步骤 2026-11-14 22:57:07 +08:00
mac 6b722057c6 准备1.22.2(134)正式构建并整理当前交接 2026-11-14 22:55:22 +08:00
mac ca9936ee3c 保存仿制图章修复与前轮发布诊断,待正式验收 2026-11-14 22:54:31 +08:00
mac 5a10408557 保存微信修复远端恢复核验及最终交接 2026-11-13 01:27:15 +08:00
mac 1d3ad6f847 记录微信首次登录修复上线及线上接口核验 2026-11-13 01:25:48 +08:00
mac 0f3f14522c 修正飞牛继承ACL并保留部署中止证据 2026-11-13 01:22:15 +08:00
mac a20f1e674f 保留原生权限部署微信修复并验证失败回滚 2026-11-13 01:20:39 +08:00
mac d944ad8652 保存微信首次登录修复及当前生产可写预检 2026-11-13 01:14:36 +08:00
mac 8c2f226d43 完成文章1.22.1更新记录、版本说明与SEO同步及前台核验 2026-11-12 20:09:35 +08:00
mac ad0603350b 准备同步文章1.22.1版本、更新记录和在线LUT说明 2026-11-12 20:07:49 +08:00
mac 5aa35100a2 完成文章15792下载链接更新及1.22.1完整下载核验 2026-11-12 17:50:51 +08:00
mac ddab3b0bcd 保存文章15792仅更新下载链接的发布基线与计划 2026-11-12 17:47:25 +08:00
mac d83a97bd83 完成133正式Release发布、双阶段下载及远端恢复校验 2026-11-11 22:47:19 +08:00
mac cdf23fb4fd 记录133正式PKG公证和完整验包,准备发行标签 2026-11-11 22:43:28 +08:00
mac d15d01733c 整理安装说明长行兼容本机Python,保持脚本AST一致 2026-11-11 22:41:24 +08:00
mac 68700d4016 完成133正式安装和FCP自动预览验收,清理Debug例外 2026-11-11 22:39:57 +08:00
mac 1a4c802322 确认133完整上传且AppleAccepted,代理原字节恢复 2026-11-11 22:29:12 +08:00
mac 6f02a40a51 记录已授权Apple地址局部直连生效与上传恢复检查点 2026-11-11 22:24:03 +08:00
mac e2f4327dfd 核实两次公证上传均超时,保存局部直连待授权与恢复记录 2026-11-11 21:56:36 +08:00
mac 978cc84d53 记录公证重新提交的分片上传超时与普通通道重试 2026-11-11 21:51:31 +08:00
mac 749ef7c4b9 保存本地Debug验收后的副本清理和公证回滚状态 2026-11-11 21:38:06 +08:00
mac da15deefb7 保存Debug验收标签的独立恢复核验和正式发行待办 2026-11-11 21:37:11 +08:00
共修改 96 个文件,包含 20228 行新增和 264 行删除

没有与搜索条件相匹配的文件

+14
查看文件
@@ -37,3 +37,17 @@ python3 Backend/deploy.py --package '/Volumes/备份/大鱼调色/发行包/大
先从仓库审查、提交并推送,再由部署脚本同步到专项工程;脚本验证实际 SMB 挂载及基线。覆盖原文件前同目录旁路备份并核对字节,新增文件无需不存在的备份。只写明确列出的路径,不加载或输出生产配置。更新包签名、公证、票据与正式 APP 验收通过后才发布;同名包不同字节立即停止。发布后完整下载核对大小与 SHA-256,并核验较低/相同构建号的更新结果。
回滚:先备份当前文件,再恢复部署记录中对应旁路备份;禁止降低已有清单构建号来自动降级。撤下更新时备份并移走 beta.json,更新路由回到没有更新;历史安装包和诊断表保留。源代码可从产品远程仓库恢复,签名私钥及服务端数据库不属于 Git 备份。
## 微信首次扫码登录专项(2026-11-13)
本轮使用仓库 `Backend/` 为有范围的本机专项工程。新增保存生产主题 `wp-content/themes/ripro5/inc/oauth/weixin/callback.php`,仅将 `DayuColor` 加入现有扫码证明名单;同时在线 LUT 会话接口把拒绝/过期返回为 HTTP 401,让现有 1.22.1 客户端及时结束等待。无需重编 APP。
```sh
php Backend/tests/wechat_callback.php
php Backend/tests/online_luts.php
python3 Backend/deploy_wechat_login.py
```
前两项执行合成账号和 OAuth 的隔离测试,不加载生产配置;后一项仅审阅两个明确目标、SHA-256、挂载与权限。先按仓库约定完成源码提交、推送和回读,再加 `--apply --ssh-control <已认证连接>` 进行部署。脚本固定目标 SSH 主机和已确认的 NAS 原生路径,不接收或保存密码。写入前复核全部目标基线,每个覆盖文件均创建原目录分钟级旁路备份;使用原文件所有者通过原生 SSH 保留 UID/GID、权限和扩展属性,两个文件均暂存成功才替换,失败回滚已替换文件。部署报告保存每个相对路径、备份完整路径、摘要与原生元数据。回退沿用上节规则。若生产基线已变化,先重新比较,不能直接更新预期摘要来绕过保护。
2026-11-13 01:22 已完成两文件上线。67 项隔离检查、服务器 PHP 7.4.34 语法及8项实际 HTTPS 检查通过;拒绝/过期会话立即返回401,三个临时合成会话已清理。原生权限及扩展属性保持,旁路备份见 `verification/WeChatLoginDeployment.json`。此前目录与网络限制已解除,无需修改 NAS 权限。真实未绑定用户扫码仍需实际验收。现状与部署结果见 [开发交接](../开发交接.md),证据见 [验证报告](../verification/WeChatLoginFix.json)。
+226
查看文件
@@ -0,0 +1,226 @@
#!/usr/bin/env python3
"""Review by default; --apply deploys only the two WeChat login fixes."""
import argparse
import base64
import datetime
import json
import os
from pathlib import Path
import shutil
import shlex
import subprocess
import time
from deploy import ROOT, NAS, MOUNT, sha, check_mount, write_json
FILES = (
Path('wp-content/themes/ripro5/inc/oauth/weixin/callback.php'),
Path('wp-content/mu-plugins/dayu-color-online-luts.php'),
)
# Run as the existing file owner on the NAS: SMB reports synthetic Mac modes.
# No credentials or production configuration are included in this program.
NATIVE_DEPLOY = r'''
import base64, datetime, hashlib, json, os, pathlib, shutil, stat, sys, uuid
root = pathlib.Path('/vol1/1000/dayumedia/wwwroot/dayu_media')
allowed = {'wp-content/themes/ripro5/inc/oauth/weixin/callback.php',
'wp-content/mu-plugins/dayu-color-online-luts.php'}
request = json.load(sys.stdin)
assert len(request['files']) == 2
assert {r['relativePath'] for r in request['files']} == allowed
def digest(path):
return hashlib.sha256(path.read_bytes()).hexdigest()
def metadata(path):
s = path.stat()
return dict(uid=s.st_uid, gid=s.st_gid, mode=oct(stat.S_IMODE(s.st_mode)),
xattrs={k:base64.b64encode(os.getxattr(path,k)).decode()
for k in sorted(os.listxattr(path))})
def syncdir(path):
fd=os.open(str(path),os.O_RDONLY)
try: os.fsync(fd)
finally: os.close(fd)
def clone(original, destination, expected):
fd=os.open(str(destination),os.O_CREAT|os.O_EXCL|os.O_WRONLY,0o600)
os.close(fd)
shutil.copy2(original,destination)
if (destination.stat().st_uid,destination.stat().st_gid)!=(expected['uid'],expected['gid']):
os.chown(destination,expected['uid'],expected['gid'])
if stat.S_IMODE(destination.stat().st_mode)!=int(expected['mode'],8):
os.chmod(destination,int(expected['mode'],8))
# fnOS creates a system.trim_acl inherited from the parent even when the
# original has none. copy2 does not remove these destination-only xattrs.
for key in set(os.listxattr(destination))-set(expected['xattrs']):
os.removexattr(destination,key)
for key,value in expected['xattrs'].items():
os.setxattr(destination,key,base64.b64decode(value))
assert metadata(destination)==expected, 'Native metadata copy mismatch'
with destination.open('rb') as f: os.fsync(f.fileno())
stamp=datetime.datetime.now(datetime.timezone(datetime.timedelta(hours=8))).strftime('%Y%m%d%H%M')
rows=[]
stages=[]
changed=[]
result=dict(ok=False,files=rows,rolledBack=False)
try:
# Check the entire batch before creating backups or staging new content.
for item in request['files']:
target=root/item['relativePath']
assert target.resolve()==target and target.is_file(), 'Unexpected path or symlink'
original=digest(target)
source=base64.b64decode(item['sourceBase64'],validate=True)
assert hashlib.sha256(source).hexdigest()==item['sourceSHA256']
assert original in (item['expectedSHA256'],item['sourceSHA256']), 'Production baseline changed'
attrs=metadata(target)
assert attrs['uid']==os.geteuid(), 'Run as the original file owner'
row=dict(relativePath=item['relativePath'],nativeTarget=str(target),
beforeSHA256=original,sha256=item['sourceSHA256'],beforeMetadata=attrs,
status='already-current' if original==item['sourceSHA256'] else 'pending')
rows.append(row)
for row,item in zip(rows,request['files']):
if row['status']=='already-current': continue
target=pathlib.Path(row['nativeTarget'])
backup=target.with_name(target.stem+'-'+stamp+target.suffix+'bak')
clone(target,backup,row['beforeMetadata'])
assert digest(backup)==row['beforeSHA256'], 'Backup content mismatch'
row['nativeBackup']=str(backup)
syncdir(target.parent)
# Stage both files before replacing either production file.
for row,item in zip(rows,request['files']):
if row['status']=='already-current': continue
target=pathlib.Path(row['nativeTarget'])
stage=target.with_name('.dayu-wechat-stage-'+uuid.uuid4().hex)
stages.append(stage)
clone(target,stage,row['beforeMetadata'])
with stage.open('wb') as f:
f.write(base64.b64decode(item['sourceBase64'],validate=True))
f.flush(); os.fsync(f.fileno())
os.utime(stage,None)
assert metadata(stage)==row['beforeMetadata'], 'Staged metadata mismatch'
assert digest(stage)==row['sha256'], 'Staged content mismatch'
row['stage']=str(stage)
for row in rows:
if row['status']=='already-current': continue
target=pathlib.Path(row['nativeTarget'])
assert digest(target)==row['beforeSHA256'], 'Production changed before replacement'
assert metadata(target)==row['beforeMetadata'], 'Permissions changed before replacement'
os.replace(row['stage'],target)
changed.append(row)
syncdir(target.parent)
row['status']='deployed'
for row in rows:
target=pathlib.Path(row['nativeTarget'])
assert digest(target)==row['sha256']
row['afterMetadata']=metadata(target)
assert row['afterMetadata']==row['beforeMetadata'], 'Final metadata mismatch'
result['ok']=True
except Exception as e:
result['error']=str(e)
rollback_errors=[]
for row in reversed(changed):
try:
target=pathlib.Path(row['nativeTarget'])
restore=target.with_name('.dayu-wechat-restore-'+uuid.uuid4().hex)
stages.append(restore)
clone(pathlib.Path(row['nativeBackup']),restore,row['beforeMetadata'])
assert digest(restore)==row['beforeSHA256']
os.replace(restore,target); syncdir(target.parent)
row['status']='rolled-back'
except Exception as failure: rollback_errors.append(str(failure))
result['rolledBack']=bool(changed) and not rollback_errors
result['rollbackErrors']=rollback_errors
finally:
for stage in stages:
if stage.exists(): stage.unlink()
for row in rows: row.pop('stage',None)
print(json.dumps(result,ensure_ascii=False))
'''
def main():
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument('--apply', action='store_true')
parser.add_argument('--ssh-control', help='Existing authenticated SSH control socket; no password argument')
args = parser.parse_args()
mounts = subprocess.check_output(['/sbin/mount'], text=True).splitlines()
matches = [line for line in mounts if f' on {MOUNT} (smbfs,' in line]
assert len(matches) == 1 and '@192.168.31.21/dayumedia%' in matches[0], 'NAS SMB mount mismatch'
baseline = json.loads((ROOT/'verification/WeChatLoginBaseline.json').read_text())
expected = {row['relativePath']: row['sha256'] for row in baseline['files']}
files = []
# Validate every target before making any production change.
for relative in FILES:
source = ROOT/'Backend'/relative
target = NAS/relative
subprocess.run(['php', '-l', str(source)], check=True, capture_output=True)
assert sha(target) in (expected[str(relative)], sha(source)), 'Production baseline changed: '+str(relative)
files.append(dict(relativePath=str(relative), sourceSHA256=sha(source),
productionSHA256=sha(target), writable=os.access(target.parent, os.W_OK)))
contracts = []
for name in ('wechat_callback.php', 'online_luts.php'):
result = subprocess.run(['php', str(ROOT/'Backend/tests'/name)], check=True, capture_output=True, text=True)
report = json.loads(result.stdout)
assert report['pass']
contracts.append(dict(suite=name, count=report['count'], passed=True))
review = dict(mode='apply' if args.apply else 'review', localProject=str(ROOT/'Backend'),
nasRoot=str(NAS), files=files, contracts=contracts)
if not args.apply:
print(json.dumps(review, ensure_ascii=False, indent=2))
return
check_mount()
assert all(row['writable'] for row in files), 'Production target is read-only'
commit = subprocess.check_output(['git', 'rev-parse', 'HEAD'], cwd=ROOT, text=True).strip()
remote = subprocess.check_output(['git', 'ls-remote', 'origin', 'refs/heads/main'], cwd=ROOT, text=True).split()[0]
assert remote == commit, 'Source checkpoint must be pushed and verified first'
for relative in FILES:
saved = subprocess.check_output(['git', 'show', 'HEAD:Backend/'+str(relative)], cwd=ROOT)
assert saved == (ROOT/'Backend'/relative).read_bytes(), 'Source not committed: '+str(relative)
lock = ROOT/'Backend/.wechat-login-deployment.lock'
lock.mkdir()
write_json(lock/'owner.json', dict(pid=os.getpid(), sourceCommit=commit))
try:
request = dict(files=[dict(relativePath=str(relative), expectedSHA256=expected[str(relative)],
sourceSHA256=sha(ROOT/'Backend'/relative),
sourceBase64=base64.b64encode((ROOT/'Backend'/relative).read_bytes()).decode())
for relative in FILES])
command = ['/usr/bin/ssh', '-T', '-p', '22', '-o', 'BatchMode=yes',
'-o', 'StrictHostKeyChecking=yes']
if args.ssh_control:
command += ['-o', 'ControlPath='+args.ssh_control]
command += ['dayu@192.168.31.21', '/usr/bin/python3 -c '+shlex.quote(NATIVE_DEPLOY)]
process = subprocess.run(command, input=json.dumps(request), text=True, capture_output=True, timeout=60)
if process.returncode:
raise RuntimeError('Native SSH deployment failed: '+process.stderr.strip())
outcome = json.loads(process.stdout)
results = outcome['files']
for result in results:
relative = result['relativePath']
result['target'] = str(NAS/relative)
if 'nativeBackup' in result:
result['backup'] = str(NAS/Path(result['nativeBackup']).relative_to('/vol1/1000/dayumedia/wwwroot/dayu_media'))
report = dict(
checkedAt=datetime.datetime.now(datetime.timezone.utc).isoformat(), sourceCommit=commit,
localProject=str(ROOT/'Backend'), nasRoot=str(NAS), files=results,
nativeResult=outcome, liveScanVerified=False,
status='native deployment complete; SMB readback pending' if outcome['ok'] else 'deployment failed')
report_path = ROOT/'verification/WeChatLoginDeployment.json'
# Keep the native transaction evidence even if SMB serves a stale cache.
write_json(report_path, report)
assert outcome['ok'], json.dumps(outcome,ensure_ascii=False)
for result in results:
deadline = time.monotonic()+30
while sha(Path(result['target'])) != result['sha256']:
if time.monotonic() >= deadline:
raise RuntimeError('Native deployment passed; SMB readback remains stale: '+result['relativePath'])
time.sleep(1)
report['smbReadbackPassed'] = True
report['status'] = 'files deployed; fresh unbound-account scan still required'
write_json(report_path, report)
print(json.dumps(dict(deployed=len(results), files=results), ensure_ascii=False, indent=2))
finally:
def ignore_missing(function, path, exception):
if not isinstance(exception[1], FileNotFoundError):
raise exception[1]
shutil.rmtree(lock, onerror=ignore_missing)
if __name__ == '__main__':
main()
+13
查看文件
@@ -55,6 +55,19 @@ check(body(Dayu_Color_Online_LUTs::logout(new Request(array(),$restored['token']
$session=array('app_name'=>'DayuColor','device_uuid'=>$device,'expires_at'=>time()+120,'status'=>'pending','user_id'=>7);
$transients[$login]=$session;
check(body(Dayu_Color_Online_LUTs::exchange(new Request(array('session_key'=>$key,'device_uuid'=>$device))))['status']==='pending','pending login cannot mint a credential');
$bound=0;
check(body(Dayu_Color_Online_LUTs::exchange(new Request(array('session_key'=>$key,'device_uuid'=>$device))))['status']==='pending','first unbound device can wait for WeChat approval');
$transients[$login]['status']='approved';
check(denied(Dayu_Color_Online_LUTs::exchange(new Request(array('session_key'=>$key,'device_uuid'=>$device))),401),'approval cannot bypass missing UUID binding');
check(isset($transients[$login])&&!isset($options['dayu_color_lut_once_'.hash('sha256',$key)]),'missing binding does not consume the login session');
$transients[$login]=$session;$transients[$login]['status']='denied';$transients[$login]['message']='该 UUID 已绑定其他账号,请先解绑';
$failed=Dayu_Color_Online_LUTs::exchange(new Request(array('session_key'=>$key,'device_uuid'=>$device)));
check(denied($failed,401)&&$failed->message===$transients[$login]['message'],'callback denial immediately stops installed client polling with the actual reason');
$transients[$login]['status']='expired';
check(denied(Dayu_Color_Online_LUTs::exchange(new Request(array('session_key'=>$key,'device_uuid'=>$device))),401),'expired callback stops installed client polling');
$transients[$login]=$session;$transients[$login]['expires_at']=time()-1;
check(denied(Dayu_Color_Online_LUTs::exchange(new Request(array('session_key'=>$key,'device_uuid'=>$device))),401),'past session deadline stops polling');
$transients[$login]=$session;$bound=7;
$transients[$login]['app_name']='FCPXSoundEffects';check(denied(Dayu_Color_Online_LUTs::exchange(new Request(array('session_key'=>$key,'device_uuid'=>$device))),401),'another product login rejected');
$transients[$login]=$session;$transients[$login]['status']='approved';
$issued=Dayu_Color_Online_LUTs::exchange(new Request(array('session_key'=>$key,'device_uuid'=>$device)));$token=body($issued)['token']??'';
+84
查看文件
@@ -0,0 +1,84 @@
<?php
// Execute the actual theme callback with synthetic OAuth and WordPress services.
// Never load wp-config.php, contact WeChat, or read/change real accounts.
namespace Yurun\OAuthLogin\Weixin {
class OAuth2 {
public $http, $openid='synthetic-wechat-openid';
public function __construct(...$args) { $this->http=new \stdClass; }
public function getAccessToken($state) { return 'synthetic-provider-token'; }
public function getUserInfo() { return array('nickname'=>'测试用户', 'headimgurl'=>'https://example.invalid/avatar'); }
}
}
namespace {
define('ABSPATH', __DIR__.'/'); define('MINUTE_IN_SECONDS', 60);
class CallbackRedirect extends \RuntimeException {}
class CallbackRejected extends \RuntimeException {}
class LoginEvents {
public $events=array();
public function log_login_event($stage,$fields=array()) { $this->events[]=array('stage'=>$stage,'fields'=>$fields); }
}
class CallbackDB {
public $usermeta='synthetic_usermeta';
public function prepare(...$args) { return $args; }
public function get_var($query) { return 7; }
}
$wpdb=new CallbackDB;
$GLOBALS['dayu_macos_app_auth']=new LoginEvents;
$transients=array(); $checks=array();
function _cao($key) { return array('appid'=>'synthetic','appkey'=>'synthetic'); }
function home_url($path) { return 'https://dayu.media'.$path; }
function wp_parse_url($url) { return parse_url($url); }
function sanitize_text_field($value) { return trim(strip_tags($value)); }
function set_transient($key,$value,$ttl) { global $transients; $transients[$key]=$value; return true; }
function get_current_user_id() { return 0; }
function wp_set_current_user($id) {}
function wp_set_auth_cookie(...$args) {}
function get_user_by(...$args) { return (object)array('user_login'=>'synthetic-user'); }
function do_action(...$args) {}
function wp_safe_redirect($url) { throw new CallbackRedirect; }
function cao_wp_die(...$args) { throw new CallbackRejected; }
function is_wp_error($value) { return false; }
function check($passed,$name) {
global $checks;
$checks[]=array('name'=>$name,'pass'=>(bool)$passed);
if (!$passed) { fwrite(STDERR,'FAIL '.$name."\n"); exit(1); }
}
// Redirects throw before the production callback's exit statements.
function callback_proof($app, $overrides=array(), $host='dayu.media', $provider_state=true) {
global $transients;
$transients=array(); $GLOBALS['dayu_macos_app_auth']->events=array();
$query=array_merge(array('action'=>'app_wechat_auth_check','app_name'=>$app,
'fcpxqwen_session'=>str_repeat('a',40),'device_uuid'=>'00000000-0000-0000-0000-000000000001'),$overrides);
$_SESSION=array('oauth_rurl'=>'https://'.$host.'/wp-admin/admin-ajax.php?'.http_build_query($query));
if ($provider_state) { $_SESSION['YURUN_WEIXIN_STATE']='synthetic-state'; }
$_GET=array('code'=>'synthetic-code');
try { include $GLOBALS['callback_source']; } catch (CallbackRedirect $e) {} catch (CallbackRejected $e) {}
return $_SESSION['dayu_fcpx_wechat_oauth']??null;
}
$callback_source=$argv[1]??__DIR__.'/../wp-content/themes/ripro5/inc/oauth/weixin/callback.php';
session_start();
$proof=callback_proof('DayuColor');
check(is_array($proof),'DayuColor first scan writes OAuth proof without any prior UUID binding');
check($proof['session_hash']===hash('sha256',str_repeat('a',40))
&&$proof['device_hash']===hash('sha256','00000000-0000-0000-0000-000000000001')
&&$proof['openid_hash']===hash('sha256','synthetic-wechat-openid'),
'proof binds this login session, hardware UUID and provider identity');
check(abs(time()-$proof['issued_at'])<=1,'proof has a fresh server timestamp');
check(($transients['dayu_fcpx_oauth_proof_'.hash('sha256',str_repeat('a',40))]??null)===$proof,
'transient fallback matches proof across PHP session boundaries');
check(in_array('oauth_proof_written',array_column($GLOBALS['dayu_macos_app_auth']->events,'stage'),true),
'successful proof is visible in existing login diagnostics');
foreach (array('FCPXQwen3ASR','FCPXPython','FCPXSoundEffects','qwenzhiyin','DayuDownie','DayuLightFactory') as $app) {
check(is_array(callback_proof($app)),'existing app callback preserved: '.$app);
}
check(callback_proof('UnknownApp')===null,'unrecognized apps do not receive proof');
check(callback_proof('DayuColor',array(),'foreign.example')===null,'foreign redirect host cannot receive proof');
check(callback_proof('DayuColor',array('action'=>'other_action'))===null,'wrong callback action cannot receive proof');
check(callback_proof('DayuColor',array('fcpxqwen_session'=>'short'))===null,'invalid login session cannot receive proof');
check(callback_proof('DayuColor',array('device_uuid'=>'random-client-id'))===null,'non-hardware UUID cannot receive proof');
check(callback_proof('DayuColor',array(),'dayu.media',false)===null,'browser cookie or redirect alone cannot bypass provider state');
session_destroy();
echo json_encode(array('pass'=>true,'count'=>count($checks),
'scope'=>'Actual scoped theme callback with synthetic OAuth and WordPress services; no live scan or user data.',
'checks'=>$checks),JSON_PRETTY_PRINT|JSON_UNESCAPED_UNICODE)."\n";
}
@@ -75,6 +75,11 @@ final class Dayu_Color_Online_LUTs {
if (!$device || !preg_match('/^[A-Za-z0-9_-]{32,80}$/D', $key)) { return self::error('login', '登录会话无效,请重新登录。', 400); }
$transient='dayu_app_login_' . hash('sha256', $key); $session=get_transient($transient);
if (!is_array($session) || intval($session['expires_at'] ?? 0) < time() || ($session['app_name'] ?? '') !== self::APP || !hash_equals((string)($session['device_uuid'] ?? ''), $device)) { return self::error('expired', '登录会话已过期,请重新登录。', 401); }
// Installed clients stop polling on 401. Do not leave a denied callback
// looking like a pending login until the ten-minute timer expires.
if (in_array($session['status'] ?? '', array('denied', 'expired'), true)) {
return self::error('login_failed', sanitize_text_field($session['message'] ?? '微信登录失败,请重新登录。'), 401);
}
if (($session['status'] ?? '') !== 'approved') { return self::response(array('status'=>sanitize_key($session['status'] ?? 'pending'), 'message'=>sanitize_text_field($session['message'] ?? '等待微信登录'))); }
$user_id=intval($session['user_id'] ?? 0);
if (!$user_id || self::bound_user($device) !== $user_id || !get_user_by('ID', $user_id)) { return self::error('binding', '账号绑定已变化,请重新登录。', 401); }
@@ -0,0 +1,280 @@
<?php
if (!defined('ABSPATH')) {die;} // Cannot access directly.
//启用 session - 检查是否已经启动
if (!session_id()) {
session_start();
}
$dayu_login_log = function ($stage, $fields = array()) {
if (isset($GLOBALS['dayu_macos_app_auth'])
&& is_object($GLOBALS['dayu_macos_app_auth'])
&& method_exists($GLOBALS['dayu_macos_app_auth'], 'log_login_event')) {
$GLOBALS['dayu_macos_app_auth']->log_login_event($stage, $fields);
}
};
//获取后台配置
$wxConfig = _cao('oauth_weixin');
$wxOAuth = new \Yurun\OAuthLogin\Weixin\OAuth2($wxConfig['appid'], $wxConfig['appkey']);
// 尝试提高健壮性:强制 IPv4、设置超时与重试,规避服务器 IPv6/DNS 异常和偶发网络抖动
try {
if (defined('CURLOPT_IPRESOLVE') && defined('CURL_IPRESOLVE_V4')) {
$wxOAuth->http->option(CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
}
} catch (\Throwable $e) {
// 忽略设置失败
}
// 毫秒
$wxOAuth->http->connectTimeout = 10000; // 10s 连接超时
$wxOAuth->http->timeout = 15000; // 15s 总超时
$wxOAuth->http->retry = 1; // 失败重试 1 次
if (isset($wxConfig['agent']) && $wxConfig['agent']) {
$wxOAuth->loginAgentUrl = esc_url(home_url('/oauth/weixinagent'));
}
// 防止未设置触发 Notice
if (empty($_SESSION['YURUN_WEIXIN_STATE'])) {
cao_wp_die('非法访问,没有经过第三方登录返回');
}
// 获取accessToken,把之前存储的state传入,会自动判断。
// 第三方返回异常(例如 code been used)时,当前代码未捕获会导致致命错误。
// 这里做一次兜底处理,提示用户并引导其重试登录。
try {
$accessToken = $wxOAuth->getAccessToken($_SESSION['YURUN_WEIXIN_STATE']);
} catch (\Throwable $e) {
// 清理已用的 state,避免重复使用
unset($_SESSION['YURUN_WEIXIN_STATE']);
// 记录错误便于排查,但不给用户暴露底层异常内容
if (function_exists('error_log')) {
error_log('Weixin OAuth getAccessToken failed: ' . $e->getMessage());
// 进一步主动探测一次接口,记录更详细的网络错误信息(不影响业务流程)
try {
$probe = new \Yurun\Util\HttpRequest();
if (defined('CURLOPT_IPRESOLVE') && defined('CURL_IPRESOLVE_V4')) {
$probe->option(CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
}
$probe->connectTimeout = 8000;
$probe->timeout = 12000;
$res = $probe->get('https://api.weixin.qq.com/sns/oauth2/access_token', array(
'appid' => $wxConfig['appid'],
'secret' => $wxConfig['appkey'],
'code' => isset($_GET['code']) ? $_GET['code'] : '',
'grant_type' => 'authorization_code',
));
$snippet = substr($res->body(), 0, 200);
error_log('Weixin OAuth probe status=' . $res->getStatusCode() . ' errno=' . $res->getErrno() . ' error=' . $res->getError() . ' body=' . $snippet);
} catch (\Throwable $e2) {
error_log('Weixin OAuth probe exception: ' . $e2->getMessage());
}
}
// 给出友好提示并提供重新发起登录的入口,避免 Fatal Error 白屏
$restartUrl = esc_url(home_url('/oauth/weixin')) . (isset($_SESSION['oauth_rurl']) ? ('?rurl=' . rawurlencode($_SESSION['oauth_rurl'])) : '');
$msg = '授权码已失效或被重复使用,请返回后重试(请勿刷新回调页)。<br><a href="' . $restartUrl . '">点击这里重新发起微信登录</a>';
cao_wp_die('微信登录失败', $msg);
}
$openid = $wxOAuth->openid; // 唯一ID
$dayu_login_log('oauth_provider_callback', array(
'has_oauth_code' => !empty($_GET['code']),
'has_openid' => !empty($openid),
'has_php_session' => session_status() !== PHP_SESSION_NONE,
));
// 兼容网络异常/返回非JSON导致的空结果:
// 当请求失败时,yurun-http 返回 null,未抛异常,这里显式拦截避免白屏
if (empty($accessToken) || empty($openid)) {
$raw = isset($wxOAuth->result) ? $wxOAuth->result : null;
if (function_exists('error_log')) {
// 记录原始返回,便于排查(一般为 null 或包含 errcode/errmsg)
error_log('Weixin OAuth getAccessToken returned empty. result=' . (is_array($raw) ? json_encode($raw, JSON_UNESCAPED_UNICODE) : var_export($raw, true)));
}
// 进一步主动探测一次接口,记录更详细的网络错误信息(不影响业务流程)
try {
$probe = new \Yurun\Util\HttpRequest();
if (defined('CURLOPT_IPRESOLVE') && defined('CURL_IPRESOLVE_V4')) {
$probe->option(CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
}
$probe->connectTimeout = 8000;
$probe->timeout = 12000;
$res = $probe->get('https://api.weixin.qq.com/sns/oauth2/access_token', array(
'appid' => $wxConfig['appid'],
'secret' => $wxConfig['appkey'],
'code' => isset($_GET['code']) ? $_GET['code'] : '',
'grant_type' => 'authorization_code',
));
$snippet = substr($res->body(), 0, 200);
error_log('Weixin OAuth probe status=' . $res->getStatusCode() . ' errno=' . $res->getErrno() . ' error=' . $res->getError() . ' body=' . $snippet);
} catch (\Throwable $e2) {
error_log('Weixin OAuth probe exception: ' . $e2->getMessage());
}
$restartUrl = esc_url(home_url('/oauth/weixin')) . (isset($_SESSION['oauth_rurl']) ? ('?rurl=' . rawurlencode($_SESSION['oauth_rurl'])) : '');
$msg = '未能获取微信授权凭证,可能由于服务器无法连接微信接口、网络波动,或回调参数已过期。<br><a href="' . $restartUrl . '">点击这里重新发起微信登录</a>';
cao_wp_die('微信登录失败', $msg);
}
try {
$userInfo = $wxOAuth->getUserInfo(); // 第三方用户信息,失败也可能抛异常
} catch (\Throwable $e) {
if (function_exists('error_log')) {
error_log('Weixin OAuth getUserInfo failed: ' . $e->getMessage());
}
cao_wp_die('微信登录失败', '获取用户信息失败,请返回后重试。');
}
// 防御性校验:避免空数组/空字段导致后续逻辑不执行而白屏
if (empty($userInfo) || !is_array($userInfo) || (empty($userInfo['nickname']) && empty($userInfo['headimgurl']))) {
if (function_exists('error_log')) {
error_log('Weixin OAuth getUserInfo returned invalid: ' . var_export($userInfo, true));
}
$restartUrl = esc_url(home_url('/?oauth=weixin'));
$msg = '未能获取到完整的微信用户资料,请返回后重试。<br><a href="' . $restartUrl . '">点击这里重新发起微信登录</a>';
cao_wp_die('微信登录失败', $msg);
}
// Dayu macOS APP 设备绑定必须能证明本次跳转确实经过了微信 OAuth,不接受仅有旧 WordPress Cookie 的回调。
$dayu_oauth_rurl = isset($_SESSION['oauth_rurl']) ? (string) $_SESSION['oauth_rurl'] : '';
$dayu_target = $dayu_oauth_rurl !== '' ? wp_parse_url($dayu_oauth_rurl) : false;
$dayu_home = wp_parse_url(home_url('/'));
if (is_array($dayu_target)
&& is_array($dayu_home)
&& !empty($dayu_target['host'])
&& !empty($dayu_home['host'])
&& hash_equals(strtolower((string) $dayu_home['host']), strtolower((string) $dayu_target['host']))) {
$dayu_query = array();
parse_str((string) ($dayu_target['query'] ?? ''), $dayu_query);
$dayu_session_key = sanitize_text_field((string) ($dayu_query['fcpxqwen_session'] ?? ''));
$dayu_device_uuid = strtoupper(sanitize_text_field((string) ($dayu_query['device_uuid'] ?? '')));
$dayu_app_name = sanitize_text_field((string) ($dayu_query['app_name'] ?? ''));
$dayu_trace_id = sanitize_text_field((string) ($dayu_query['trace_id'] ?? ''));
if (($dayu_query['action'] ?? '') === 'app_wechat_auth_check'
&& in_array($dayu_app_name, array('FCPXQwen3ASR', 'FCPXPython', 'FCPXSoundEffects', 'qwenzhiyin', 'DayuDownie', 'DayuLightFactory', 'DayuColor'), true)
&& preg_match('/^[A-Za-z0-9_-]{32,80}$/', $dayu_session_key)
&& preg_match('/^[A-F0-9]{8}-[A-F0-9]{4}-[A-F0-9]{4}-[A-F0-9]{4}-[A-F0-9]{12}$/', $dayu_device_uuid)) {
$dayu_oauth_proof = array(
'session_hash' => hash('sha256', $dayu_session_key),
'device_hash' => hash('sha256', $dayu_device_uuid),
'openid_hash' => hash('sha256', (string) $openid),
'issued_at' => time(),
);
$_SESSION['dayu_fcpx_wechat_oauth'] = $dayu_oauth_proof;
set_transient(
'dayu_fcpx_oauth_proof_' . hash('sha256', $dayu_session_key),
$dayu_oauth_proof,
10 * MINUTE_IN_SECONDS
);
$dayu_login_log('oauth_proof_written', array(
'trace_id' => $dayu_trace_id,
'app_name' => $dayu_app_name,
'device_uuid' => $dayu_device_uuid,
'has_openid' => !empty($openid),
'proof_written' => true,
'proof_transient' => true,
));
} else {
$dayu_login_log('oauth_proof_not_written', array(
'trace_id' => $dayu_trace_id,
'app_name' => $dayu_app_name,
'device_uuid' => $dayu_device_uuid,
'has_openid' => !empty($openid),
'proof_written' => false,
));
}
}
// 处理本地业务逻辑
//
if ($openid && $userInfo) {
$_prefix = 'weixin';
$_openid_meta_key = 'open_' . $_prefix . '_openid';
// 初始化信息
$metaInfo = array(
'openid' => $openid,
'name' => $userInfo['nickname'],
'bind' => 1,
'avatar' => $userInfo['headimgurl'],
);
if (!empty($userInfo['unionid'])) {
$metaInfo['unionid'] = $userInfo['unionid'];
}
global $wpdb, $current_user;
// 查询meta
$user_exist = $wpdb->get_var($wpdb->prepare("SELECT user_id FROM $wpdb->usermeta WHERE meta_key=%s AND meta_value=%s", $_openid_meta_key, $openid));
// 如果当前用户已登录,而$user_exist存在,即该开放平台账号连接被其他用户占用了,不能再重复绑定了
$current_user_id = get_current_user_id();
if ($current_user_id != 0 && isset($user_exist) && $current_user_id != $user_exist) {
cao_wp_die('绑定失败,可能之前已有其他账号绑定,请先登录其他账户解绑。');
}
if (isset($user_exist) && (int) $user_exist > 0) {
// 该开放平台账号已连接过WP系统,再次使用它直接登录
$user_exist = (int) $user_exist;
if (function_exists('dayu_sync_user_payout_wechat_openid')) {
dayu_sync_user_payout_wechat_openid($user_exist, $openid);
}
if (!empty($metaInfo['unionid'])) {
update_user_meta($user_exist, 'open_' . $_prefix . '_unionid', $metaInfo['unionid']);
}
wp_set_current_user($user_exist);
wp_set_auth_cookie($user_exist);
$user = get_user_by('id', $user_exist);
do_action('wp_login', $user->user_login, $user); // 保证挂载的action执行
wp_safe_redirect($_SESSION['oauth_rurl']);
exit;
} elseif ($current_user_id) {
// Open 连接未被占用且当前已登录了本地账号, 那么直接绑定信息到该账号 case: 从个人资料设置中点击了绑定社交账号等操作
update_user_meta($current_user_id, 'open_' . $_prefix . '_openid', $metaInfo['openid']);
update_user_meta($current_user_id, 'open_' . $_prefix . '_bind', $metaInfo['bind']);
update_user_meta($current_user_id, 'open_' . $_prefix . '_name', $metaInfo['name']);
update_user_meta($current_user_id, 'open_' . $_prefix . '_avatar', $metaInfo['avatar']);
if (function_exists('dayu_sync_user_payout_wechat_openid')) {
dayu_sync_user_payout_wechat_openid($current_user_id, $openid);
}
if (!empty($metaInfo['unionid'])) {
update_user_meta($current_user_id, 'open_' . $_prefix . '_unionid', $metaInfo['unionid']);
}
wp_safe_redirect($_SESSION['oauth_rurl']);
exit;
} else {
// 该开放平台账号未连接过WP系统,使用它登录并分配和绑定一个WP本地新用户
$login_name = "u" . mt_rand(1000, 9999) . mt_rand(1000, 9999);
$user_pass = wp_generate_password(64, true, true);
$nickname = $metaInfo['name'];
$userdata = array(
'user_login' => $login_name,
'user_email' => $login_name.'_mail@no.com',
'display_name' => $nickname,
'nickname' => $nickname,
'user_pass' => $user_pass,
'role' => get_option('default_role'),
'first_name' => $nickname,
);
$user_id = wp_insert_user($userdata);
if (is_wp_error($user_id)) {
echo $user_id->get_error_message();
} else {
// 更新用户字段
update_user_meta($user_id, 'open_' . $_prefix . '_openid', $metaInfo['openid']);
update_user_meta($user_id, 'open_' . $_prefix . '_bind', $metaInfo['bind']);
update_user_meta($user_id, 'open_' . $_prefix . '_name', $metaInfo['name']);
update_user_meta($user_id, 'open_' . $_prefix . '_avatar', $metaInfo['avatar']);
update_user_meta($user_id, 'user_avatar_type',$_prefix);
if (function_exists('dayu_sync_user_payout_wechat_openid')) {
dayu_sync_user_payout_wechat_openid($user_id, $openid);
}
if (!empty($metaInfo['unionid'])) {
update_user_meta($user_id, 'open_' . $_prefix . '_unionid', $metaInfo['unionid']);
}
//登录
wp_set_auth_cookie($user_id, true, false);
$user = get_user_by('id', $user_id);
do_action('wp_login', $user->user_login, $user); // 保证挂载的action执行
wp_safe_redirect($_SESSION['oauth_rurl']);
}
exit;
}
} else {
// 理论不会到达,但为防止意外(例如上游返回结构变化),兜底提示,避免白屏
cao_wp_die('微信登录失败', '授权返回数据不完整,请重新尝试登录。');
}
+16
查看文件
@@ -0,0 +1,16 @@
{
"title": "大鱼调色 1.22.1 公测版|在线 LUT 自动预览与统一分类",
"content": "<!-- wp:paragraph -->\n<p>大鱼调色是适用于 Final Cut Pro 和 Motion 的原生 FxPlug 4 调色插件。1.22.1(构建 133)支持打开浏览器自动批量预览在线 LUT,将在线与本地目录放在同一分类栏,点击在线 LUT 即可安装到对应本地分类并应用。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>本文主下载已更新为 1.22.1(构建 133)。同一个 PKG 已包含“大鱼调色”整合效果和全部 16 个独立模块效果,以及所需的完整主 App,无需另外下载安装独立模块。</strong></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>官方原始安装包不加密,不限制安装数量。</strong> 插件安装和本地调色无需登录、激活码或机器码。在线 LUT 需要登录大鱼账号并具备访问权限。原始 PKG 可以原样转发,请保持安装包完整。禁止二次加密或加上一机一码后分发。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">1.22.1 在线 LUT 自动预览与统一分类</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p><strong>打开浏览器即可批量查看在线效果。</strong> 浏览器自动使用当前缓存帧,加载当前页在线 LUT 的效果缩略图,无需逐个点击预览。如果首次打开还没有缓存帧,会在获得首帧后自动补载。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>在线与本地共用分类栏。</strong> “在线 LUT”总分类下列出在线子分类;本地文件夹支持二级及更深层级,可展开或折叠,方便按用途整理。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>点击在线 LUT 后安装并应用。</strong> 文件校验通过后保存到本地对应分类,可在“已安装 LUT / 对应分类”中找到并离线使用。重复安装会复用已有文件,在线预载失败也不影响本地 LUT 操作。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>在线预览会将当前缓存帧的 PNG 缩略图发送到 dayu.media,最长边为 640 像素,用于批量生成效果图。服务器仅在内存处理,不保存预览帧,不上传视频文件。同一次打开期间,移动播放头不会连续上传;需要换用其他画面时点击“更新预览”。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>本次正式版已在 Final Cut Pro 12.4 验证自动预览、点击安装应用、原图划像和播放。APP 与 PKG 均已完成正式签名和 Apple 公证;Motion 本轮未复测。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">1.22.0 在线 LUT 资源库</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>1.22.0 首次加入大鱼在线 LUT 目录、分类搜索与下载安装,并提供主 App 账号识别和微信登录入口。1.22.1 在此基础上完善自动预览、统一分类和本地层级目录。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">1.21.8 多层调色与拖动优化</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>多层调色减少 GPU 等待。几何蒙版省去多余的色彩转换,羽化与部分覆盖继续按原方式混合。在 Apple M4 的插件单帧渲染测试中,4K 曝光加 HSL 蒙版由 87.7 毫秒降到 75.0 毫秒,一级 CST 加蒙版由 49.5 毫秒降到 42.8 毫秒。128 帧对照输出逐字节一致。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>从 1.21.6 升级后,蜘蛛盘、曲线、一级白平衡轮和颜色分级轮会合并拖动中的参数写入。松手提交最终值,每次拖动可一次撤销。曲线和两种色轮已在 Final Cut Pro 12.4 工作台验证。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">1.21.6 LUT 浏览器更新</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>点击已生成的缩略图时,右侧划像直接复用这张图,左侧原图和列表缩略图继续显示。移动播放头后,新预览在后台生成,就绪后再替换。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>缩略图和划像按源帧比例显示,竖屏、方形和宽画幅都能保留原构图。同一次打开期间,点选 LUT 时列表顺序保持稳定。重新打开浏览器后,最近成功应用的 LUT 会排到前面。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">1.21.3 高清 LUT 预览与划像对比</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>打开“风格 LUT”的缩略图浏览库,勾选底部的“高清预览”。缩略图从 640×360 源帧生成双倍像素图,重开浏览器时会记住此设置。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>选中一个 LUT 后,右侧大图显示同一帧。左侧是应用当前 LUT 前的画面,右侧是 100% LUT 效果。拖动分界线或下方滑杆,即可查看画面细节和颜色差异Line truncated
"excerpt": "大鱼调色 1.22.1(构建 133)支持打开浏览器自动批量预览在线 LUT,在线与本地共用分类栏,点击即可安装并应用;本地目录支持二级及更深分类。已签名公证,包含整合效果和 16 个独立模块。",
"seo": {
"title": {
"value": "大鱼调色 1.22.1 公测版|在线 LUT 自动预览与统一分类"
},
"description": {
"value": "大鱼调色 1.22.1 适用于 Final Cut Pro 和 Motion,支持自动批量预览在线 LUT、在线与本地统一分类、点击安装应用及本地二级目录。已签名公证的 PKG 包含完整主 App、整合效果及 16 个独立模块。"
},
"keywords": {
"value": "大鱼调色,Final Cut Pro,Motion,FxPlug4,调色插件,LUT,高清缩略图,划像对比,局部马赛克,蒙版追踪,Vision,在线LUT,自动预览,LUT分类"
}
}
}
+24
查看文件
@@ -0,0 +1,24 @@
{
"title": "大鱼调色 1.22.2 公测版|仿制图章修复与简洁主界面",
"content": "<!-- wp:paragraph -->\n<p>大鱼调色是适用于 Final Cut Pro 和 Motion 的原生 FxPlug 4 调色插件。1.22.2(构建 137)完善仿制图章的创建、跟踪和失败处理指引,可用同一表面的清晰参考带动小范围修复,并通过手工关键帧继续处理自动跟踪无法完成的片段。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>本文主下载已更新为 1.22.2(构建 137)。同一个 PKG 已包含“大鱼调色”整合效果和全部 16 个独立模块效果,以及所需的完整主 App,无需另外下载安装独立模块。</strong></p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>官方原始安装包不加密,不限制安装数量。</strong> 插件安装和本地调色无需登录、激活码或机器码。在线 LUT 需要登录大鱼账号并具备访问权限。原始 PKG 可以原样转发,请保持安装包完整。禁止二次加密或加上一机一码后分发。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>主 App 收拢为在线 LUT、插件连接、版本更新和诊断四个区域。使用帮助、权限与预览、隐私说明按需打开;登录后收起重复登录入口,空闲时收起进度条和不可用的安装按钮。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">1.22.2 仿制图章跟踪与操作指引</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p><strong>干净取样区可以随修复区移动。</strong> 新建图章默认采用这一模式,不再要求干净的纯色取样区独立识别纹理。已有图章保留原来的独立跟踪模式,可在编辑面板切换;独立模式仍需要取样区和修复参考都有足够细节。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>跟踪参考与修复范围分开选择。</strong> 瑕疵附近缺少纹理时,点击“选择跟踪参考”,在同一运动表面上框选清晰细节。绿色框只负责跟踪,黄色椭圆决定实际修复范围。请避免选择独立运动的物体或不同景深的背景作参考。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>跟踪停止后可以看到原因。</strong> 画布保留失败原因、停止的片段时间和最后可信位置;首帧失败也会保存说明。已有可信轨迹时,可查看最后可信位置,校正位置或更换参考后继续处理。宿主支持时可用“最后可信帧”跳转;本次 FCP 验收中自动跳转未生效,请按显示的片段时间手动定位。双向跟踪遇到实际失败会明确停止,宿主超过 30 秒没有返回新画面时也会显示说明。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>自动跟踪前也能建立手工关键帧。</strong> 点击“手工关键帧”,移动到另一帧后拖动黄色修复区或青色取样点,帧间自动过渡。有轨迹时,拖动取样点只修改当前帧;重新自动跟踪时保留手工设置的取样位置。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading {\"level\":3} -->\n<h3 class=\"wp-block-heading\">纯色表面上的瑕疵怎么处理</h3>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p>先选择亮度、颜色和纹理接近的干净取样中心,再拖出略大于瑕疵的黄色覆盖椭圆,调整羽化。污点固定在画面坐标上时直接覆盖即可;需要跟随表面运动时,使用“取样跟随修复区移动”,并为缺少细节的修复区选择同一表面的跟踪参考。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>如果整个运动表面都没有可供识别的细节,自动跟踪仍可能无法开始。此时按画布说明使用手工关键帧,逐段校正修复区和取样点,并播放检查修复结果。参考跟踪不会自动补画被遮挡的内容。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:heading -->\n<h2 class=\"wp-block-heading\">1.22.1 在线 LUT 自动预览与统一分类</h2>\n<!-- /wp:heading -->\n\n<!-- wp:paragraph -->\n<p><strong>打开浏览器即可批量查看在线效果。</strong> 浏览器自动使用当前缓存帧,加载当前页在线 LUT 的效果缩略图,无需逐个点击预览。如果首次打开还没有缓存帧,会在获得首帧后自动补载。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>在线与本地共用分类栏。</strong> “在线 LUT”总分类下列出在线子分类;本地文件夹支持二级及更深层级,可展开或折叠,方便按用途整理。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p><strong>点击在线 LUT 后安装并应用。</strong> 文件校验通过后保存到本地对应分类,可在“已安装 LUT / 对应分类”中找到并离线使用。重复安装会复用已有文件,在线预载失败也不影响本地 LUT 操作。</p>\n<!-- /wp:paragraph -->\n\n<!-- wp:paragraph -->\n<p>在线预览会将当前缓存帧的 PNG 缩略图发送到 dayu.media,最长Line truncated
"excerpt": "大鱼调色 1.22.2(构建 137)支持纯色取样随动、独立跟踪参考和手工关键帧,并精简主 App 界面,常用操作集中显示,详细说明按需查看。",
"seo": {
"title": {
"enabled": true,
"value": "大鱼调色 1.22.2 公测版|仿制图章修复与简洁主界面"
},
"description": {
"enabled": true,
"value": "大鱼调色 1.22.2 适用于 Final Cut Pro 和 Motion,完善仿制图章跟踪指引、纯色取样跟随、独立参考区、手工关键帧及失败说明。完整 PKG 包含主 App、整合效果和 16 个独立模块。"
},
"keywords": {
"enabled": true,
"value": "大鱼调色,Final Cut Pro,Motion,FxPlug4,调色插件,LUT,高清缩略图,划像对比,局部马赛克,蒙版追踪,Vision,在线LUT,自动预览,LUT分类,仿制图章,纯色区域修复,跟踪参考,手工关键帧"
}
},
"resource": {
"cao_price": "50",
"cao_vip_rate": "0",
"cao_original_filename": "大鱼调色-1.22.2.pkg"
}
}
@@ -0,0 +1,51 @@
{
"state": "prepared-not-publishable",
"articleID": 15792,
"articleURL": "https://dayu.media/15792/",
"versionAssigned": false,
"format": "Editorial templates only. This is not a complete publisher request.",
"titleTemplate": "大鱼调色 {{VERSION}} 公测版|仿制图章跟踪指引与纯色区域修复",
"excerptTemplate": "大鱼调色 {{VERSION}}(构建 {{BUILD}})完善仿制图章操作指引:取样可跟随修复区移动,支持单独选择同一表面的跟踪参考与手工关键帧;跟踪停止后显示原因、停止时间和最后可信位置。",
"openingParagraphTemplate": "<p>大鱼调色是适用于 Final Cut Pro 和 Motion 的原生 FxPlug 4 调色插件。{{VERSION}}(构建 {{BUILD}})完善仿制图章的创建、跟踪和失败处理指引,可用同一表面的清晰参考带动小范围修复,并通过手工关键帧继续处理自动跟踪无法完成的片段。</p>",
"mainDownloadParagraphTemplate": "<p><strong>本文主下载已更新为 {{VERSION}}(构建 {{BUILD}})。同一个 PKG 已包含“大鱼调色”整合效果和全部 16 个独立模块效果,以及所需的完整主 App,无需另外下载安装独立模块。</strong></p>",
"newSectionBlocks": [
{"type": "heading", "level": 2, "htmlTemplate": "{{VERSION}} 仿制图章跟踪与操作指引"},
{"type": "paragraph", "htmlTemplate": "<strong>干净取样区可以随修复区移动。</strong> 新建图章默认采用这一模式,不再要求干净的纯色取样区独立识别纹理。已有图章保留原来的独立跟踪模式,可在编辑面板切换;独立模式仍需要取样区和修复参考都有足够细节。"},
{"type": "paragraph", "htmlTemplate": "<strong>跟踪参考与修复范围分开选择。</strong> 瑕疵附近缺少纹理时,点击“选择跟踪参考”,在同一运动表面上框选清晰细节。绿色框只负责跟踪,黄色椭圆决定实际修复范围。请避免选择独立运动的物体或不同景深的背景作参考。"},
{"type": "paragraph", "htmlTemplate": "<strong>跟踪停止后可以看到原因。</strong> 画布保留失败原因、停止的片段时间和最后可信位置;首帧失败也会保存说明。已有可信轨迹时,可点击“最后可信帧”定位,校正位置或更换参考后继续处理。双向跟踪遇到实际失败会明确停止,宿主超过 30 秒没有返回新画面时也会显示说明。"},
{"type": "paragraph", "htmlTemplate": "<strong>自动跟踪前也能建立手工关键帧。</strong> 点击“手工关键帧”,移动到另一帧后拖动黄色修复区或青色取样点,帧间自动过渡。有轨迹时,拖动取样点只修改当前帧;重新自动跟踪时保留手工设置的取样位置。"},
{"type": "heading", "level": 3, "htmlTemplate": "纯色表面上的瑕疵怎么处理"},
{"type": "paragraph", "htmlTemplate": "先选择亮度、颜色和纹理接近的干净取样中心,再拖出略大于瑕疵的黄色覆盖椭圆,调整羽化。污点固定在画面坐标上时直接覆盖即可;需要跟随表面运动时,使用“取样跟随修复区移动”,并为缺少细节的修复区选择同一表面的跟踪参考。"},
{"type": "paragraph", "htmlTemplate": "如果整个运动表面都没有可供识别的细节,自动跟踪仍可能无法开始。此时按画布说明使用手工关键帧,逐段校正修复区和取样点,并播放检查修复结果。参考跟踪不会自动补画被遮挡的内容。"}
],
"installationParagraphTemplate": "<p>运行本文提供的 {{VERSION}} 原始 PKG。安装器会装好大鱼调色主 App、内嵌 FxPlug 插件、“大鱼调色”整合效果和全部 16 个独立模块效果,并自动登记插件。</p>",
"seoTemplates": {
"title": "大鱼调色 {{VERSION}} 公测版|仿制图章跟踪指引与纯色区域修复",
"description": "大鱼调色 {{VERSION}} 适用于 Final Cut Pro 和 Motion,完善仿制图章跟踪指引、纯色取样跟随、独立参考区、手工关键帧及失败说明。完整 PKG 包含主 App、整合效果和 16 个独立模块。",
"additionalKeywords": ["仿制图章", "纯色区域修复", "跟踪参考", "手工关键帧"]
},
"applyAgainstLiveArticle": {
"required": true,
"lastVerifiedHistoricalBaseline": "Packaging/article-1.22.1.json",
"baselineFreshness": "Historical reference only; fetch the live article immediately before preparing the final publisher request.",
"operations": [
"Read authenticated current article, download fields and SEO enabled states; preserve a private baseline.",
"Fill VERSION and BUILD only from the accepted installed Release and verified package reports.",
"Replace the current opening summary, main download version paragraph and current installation package paragraph; do not replace historical version references globally.",
"Insert the new section above the existing most recent update section, preserving all historical content, six images, effect names and App open command.",
"Update title, excerpt and SEO text. Keep current SEO enabled states, commercial settings, price, member entitlements, author, categories, tags, cover and FCPX settings.",
"Upload the exact verified package using the existing article publisher and a unique request ID; read back before retrying an unknown upload result.",
"Replace the main package URL and original filename only after full uploaded-file download matches verified package size and SHA-256.",
"Read back authenticated saved fields and the frontend; verify current version, install instructions, history, images, code and commercial settings."
]
},
"publicationRequirements": [
"Full Release build from a recorded recoverable source commit.",
"APP signature, notarization Accepted, ticket and unique formal installation verified.",
"Installed native regression and required Final Cut Pro host acceptance passed.",
"PKG signature, notarization Accepted, ticket, Gatekeeper and package inspection passed.",
"Source checkpoint and version tag pushed and read back; Release attachment fully downloaded and verified.",
"Current live article baseline read; every template token replaced; package attachment fully downloaded and verified."
],
"acceptanceClaims": "Add only the actual new-version verification results after completion. Do not reuse 1.22.1 host acceptance or the 24 isolated clone-state checks as new-version acceptance."
}
+5
查看文件
@@ -0,0 +1,5 @@
{
"resource": {
"cao_original_filename": "大鱼调色-1.22.1.pkg"
}
}
+12 -1
查看文件
@@ -144,7 +144,18 @@ def main():
appearance=dict(title="大鱼调色", subtitle="适用于 Final Cut Pro 与 Motion 的原生调色效果",
badgeImage=str(ROOT / "design/dayu-color-app-icon-v1.png"), authorContact="https://dayu.media"),
pages=dict(welcome="安装大鱼调色 " + version + ",包含原生 FxPlug 调色插件和 Final Cut Pro 效果入口。",
readme="系统要求:macOS 14.6 或更高版本。本发行构建适用于 Apple Silicon Mac。\n\n安装内容:\n/Library/Plug-Ins/FxPlug/大鱼调色.app\n登录用户“影片/Motion Templates/Effects/大鱼调色”中的效果模板与预览图。\n\n重新打开 Final Cut Pro 后,在“效果 → 大鱼调色”中应用;Motion 中可选择原生滤镜。\n本安装包不包含用户自选 LUT、预设或媒体文件。\n\n公测诊断默认开启,可在主 APP 关闭。仅发送版本、系统环境、阶段耗时、资源使用与本产品崩溃/卡顿调用栈摘要到 dayu.media;不发送素材、预设或账号,保留30天。在线 LUT 在主 APP 启动时自动识别本机已绑定的大鱼账号;未绑定时可微信登录。有效会员或购买文章 14421 / 15792 可使用全部已发布在线 LUT。打开插件 LUT 浏览器时,自动发送当前缓存帧缩略图到 dayu.media 并批量生成在线预览;服务器内存处理,不保存预览帧,不上传视频文件。在线与本地分类统一显示,点击在线 LUT 后安装到本地对应分类并应用,可供离线使用。主 APP 启动时检查更新,新版由用户确认安装。",
readme=(
'系统要求:macOS 14.6 或更高版本。本发行构建适用于 Apple Silicon Mac。\n'
'\n'
'安装内容:\n'
'/Library/Plug-Ins/FxPlug/大鱼调色.app\n'
'登录用户“影片/Motion Templates/Effects/大鱼调色”中的效果模板与预览图。\n'
'\n'
'重新打开 Final Cut Pro 后,在“效果 → 大鱼调色”中应用;Motion 中可选择原生滤镜。\n'
'本安装包不包含用户自选 LUT、预设或媒体文件。\n'
'\n'
'公测诊断默认开启,可在主 APP 关闭。仅发送版本、系统环境、阶段耗时、资源使用与本产品崩溃/卡顿调用栈摘要到 dayu.media;不发送素材、预设或账号,保留30天。在线 LUT 在主 APP 启动时自动识别本机已绑定的大鱼账号;未绑定时可微信登录。有效会员或购买文章 14421 / 15792 可使用全部已发布在线 LUT。打开插件 LUT 浏览器时,自动发送当前缓存帧缩略图到 dayu.media 并批量生成在线预览;服务器内存处理,不保存预览帧,不上传视频文件。在线与本地分类统一显示,点击在线 LUT 后安装到本地对应分类并应用,可供离线使用。主 APP 启动时检查更新,新版由用户确认安装。'
),
license="", conclusion="大鱼调色已安装。主 APP 自动注册插件,成功后保持运行。关闭窗口仍在后台收集已开启的诊断;菜单栏可重新打开或退出。请重开宿主并实际检查效果。"))
manifest_path = CACHE / "dayu-color-package-manifest.json"
manifest_path.write_text(json.dumps(manifest, ensure_ascii=False, indent=2) + "\n")
+9 -1
查看文件
@@ -1,5 +1,7 @@
# 大鱼调色 1.22.1(133)
打开 LUT 浏览器即可批量预览在线效果,在线与本地共用分类栏,点击即可安装并应用。
- 打开 LUT 浏览器时自动使用当前缓存帧,批量加载当前页在线 LUT 的效果预览;保留“更新预览”按钮。首次没有缓存帧时自动等待首帧,播放过程中不持续上传。
- 在线与本地合并到同一分类栏。“在线 LUT”总分类包含在线子分类;本地文件夹支持二级及更深层级,可展开或折叠。
- 点击在线 LUT 后,校验下载并安装到本地“已安装 LUT / 对应分类”,随后应用到当前风格层,供离线使用。重复安装相同文件会复用已有副本。
@@ -8,4 +10,10 @@
适用于 Apple Silicon Mac,macOS 14.6 或更高版本;Final Cut Pro / Motion 原生 FxPlug 4。
打开浏览器时发送当前缓存帧的 PNG 缩略图到 dayu.media 用于在线预览,最长边 640;服务器内存处理,不保存帧、不上传视频文件。在线权限规则保持不变。
验证:68 项在线与分类合约、40 项本地浏览器回归;正式 APP、宿主与安装包结果见该版本验证记录。
验证:68 项在线与分类合约、40 项本地浏览器回归、1,028 项正式安装自检及 FCP 12.4 自动预览、安装应用、划像与播放通过。APP 和 PKG 均已通过 Apple 公证、票据及系统安全检查,安装包20项展开检查通过。Motion 未复测;本轮验收使用独立正式安装的 APP,未再次运行本 PKG 的系统安装脚本。
安装包:`大鱼调色-1.22.1.pkg`,44,557,648 字节。
SHA-256:`a5f5a335f7f1d3d8c42f829da941da75dcfd974febcc75d16cab26499c757663`
实际 APP 编译提交:`7f833757da243f2a4610c23c36ec278b44c80ad4`。
正式安装位置:`/Library/Plug-Ins/FxPlug/大鱼调色.app`。安装前保存工作并正常退出 Final Cut Pro / Motion 和大鱼调色。
+16
查看文件
@@ -0,0 +1,16 @@
大鱼调色 1.22.2(137)公测版
- 仿制图章支持纯色取样随动、独立参考框和手工关键帧,保存跟踪失败原因;修正取样和旋转随动。
- 主App精简为在线LUT、插件连接、版本更新、诊断四张卡片;帮助、账号权限和隐私说明按需打开。
- 修复Xcode Metal组件定位及重复编译。
Apple Silicon,macOS 14.6及以上。正式安装版通过1037项原生检查;FCP 12.4合成素材跟踪、重开、手工取样、撤销/重做通过,用户已手动验收图章。Motion、变速片段及用户原始素材本轮未复测。
已知限制:FCP 12.4中“最后可信帧”自动跳转仍可能失败,界面显示精确片段时间供手动定位。
APP与PKG均由B3W25FX5H5团队Developer ID签名、公证Accepted并粘附票据,Gatekeeper通过。PKG完成20项结构及载荷检查;本轮未再次执行系统安装器,正式APP已有独立安装和宿主验收。
实际编译源码:aa60572b517ba7dd8fbd9d2f0d46bd810cc3e1a6
安装包:大鱼调色-1.22.2.pkg
字节数:44570793
SHA-256:237baadbdfdfdf77de8529e9e05602f1ddecf5943f44d0fe80ae0a4c3eef5843
@@ -0,0 +1,27 @@
# 仿制图章修复:待正式验收及发布
此为本地发布草稿。尚未生成正式版本号、签名公证、安装包或线上附件;不得用此草稿宣称已发布。须在正式安装路径的 FCP 验收通过后,才更新文章 15792、安装包与对应 Release。
## 更新说明草稿
- 新建图章默认“取样跟随修复区移动”,干净的纯色取样区域无需独立识别纹理。已有图章保留原模式,可在编辑面板切换。
- 增加“选择跟踪参考”:可框选同一表面上有纹理的区域,用于带动小范围修复。绿色框用于跟踪,黄色椭圆仍决定实际覆盖范围。
- 增加“手工关键帧”:自动跟踪前即可建立首个关键帧,再到其它帧调整修复区与取样点,帧间自动过渡。
- 跟踪停止后在画布持续显示原因、停止时间和最后可信位置。即使首帧失败,关闭后重新打开仍能读取原因;可点击“最后可信帧”定位继续处理。
- 双向跟踪在发生实际失败时明确停止;宿主长时间未返回新帧时显示超时原因。
## 使用说明草稿
1. 点击图章,选择与瑕疵亮度、颜色和纹理接近的干净取样中心,再拖出略大于瑕疵的黄色覆盖椭圆,调整羽化。
2. 固定在画面坐标上的污点直接覆盖即可;需要随表面移动时,再启动跟踪。
3. 修复区缺少纹理时,点击“选择跟踪参考”,在同一表面拖出包含清晰细节的绿色框。不能选择另一个独立运动物体或不同景深的背景作参考。
4. 干净取样区为纯色时,选择“取样跟随修复区移动”;仅在取样区和修复区确实分别运动、且两者都有足够细节时,使用“取样区独立跟踪”。
5. 自动跟踪停止后先阅读画布原因。存在可信轨迹时,点击“最后可信帧”,校正位置或重新选择参考再继续。没有可用参考时,点击“手工关键帧”,逐段设置修复位置。
## 发布门槛
- 完整 Release 构建、正式签名、公证 Accepted、票据及唯一正式安装通过。
- 正式安装原生自检包含新增宿主回归,并且没有既有检查失败。
- FCP 实际检查:纯色取样跟随、纯色小修复区与独立参考、首帧失败提示与冷重开、部分失败后定位、正反双向、手工修复与取样关键帧、撤销、存储及画布控件布局。
- PKG 签名、公证、验包;Git 标签、Release 附件及完整下载校验通过。
- 用当时的线上文章作为最新基线,仅更新版本、说明及主下载项;保留价格、会员权益、历史内容和图片,上传后完整下载校验并回读前台。
+29 -5
查看文件
@@ -1,12 +1,36 @@
# 2026-11-11 本地调试验收:1.22.1(133)
# 2026-11-15 仿制图章与简洁主界面 1.22.2(137)
当前固定路径 `/Library/Plug-Ins/FxPlug/大鱼调色.app` 是用户明确授权的 **未公证 Debug 测试版**;用户已确认“我已测试可行”。实际编译节点 `7f833757da243f2a4610c23c36ec278b44c80ad4`,远程 `https://dayu.media/git/dayu/dayu-color.git` 的 main 历史可恢复。原 131 公证版保留于 `/Library/Plug-Ins/FxPlug/.dayu-color-formal-before-debug-8c17779060fb4b7a9b346754e5792616.app`,勿在正式版验收前删除。
远程 `https://dayu.media/git/dayu/dayu-color.git`,分支main。实际编译源码 `aa60572b517ba7dd8fbd9d2f0d46bd810cc3e1a6`;发行标签 `v1.22.2-clone-ui-20261115` 指向 `90ca0f4a08ecd8481a2e736f50ede2fa0fd2f1ef`。已推送并读回标签,独立HTTPS检出逐字节核对986个跟踪文件、343个构建输入与实际编译节点一致,Git完整性通过,无LFS或子模块,临时检出清理。[恢复核验](verification/Recovery1.22.2.json)。
恢复本轮源码可克隆后 `git switch --detach 7f833757da243f2a4610c23c36ec278b44c80ad4`。68 项在线/分类及40项本地浏览器检查通过;133 Release 配置构建和1,028项发布前检查已通过,Debug已在FCP显示真实云端预览并获用户确认。继续本地调试用最新工具 `tools/local_debug.py --source <干净检出>`;普通正式交付继续用 `tools/deliver.py`。
新机器恢复Git认证后克隆,以 `git switch --detach aa60572b517ba7dd8fbd9d2f0d46bd810cc3e1a6` 恢复编译源码,或检出发行标签获取对应验包记录。使用Xcode27.2、FxPlug SDK4.3.5、已安装Metal组件、Apple Silicon、macOS14.6+及锁定ColorManagement依赖。运行 `tools/deliver.py` 完成正式签名公证安装和宿主验证,再用 `Packaging/build_pkg.py` 制包。固定安装 `/Library/Plug-Ins/FxPlug/大鱼调色.app`,主ID `com.dayu.color`,服务 `com.dayu.color.XPC`,团队B3W25FX5H5。证书私钥、公证profile、账号凭据独立恢复,用户LUT和宿主工程不由源码仓库恢复。
原公证 `0a1d2d49-1a03-4cd4-acbe-ba37f1fee42d` 尚待最终结果,不要重传。保留原 Release APP 与 ZIP,按 [原提交恢复参数](verification/UnifiedLUTNotaryResume133.json) 续查;Accepted 后再粘附和替换 Debug,完成宿主、PKG、Git Release及下载校验。正式版仍未发行;当前站点文章/更新通道为1.21.8(126)。
APP公证 `3179c5f6-282e-45bd-b617-929f5230a9fa`、PKG公证 `7a8baaee-a092-4c53-bd44-f5c2afe3e988` 均Accepted。正式安装签名、票据、Gatekeeper、PluginKit与启动通过,原生1037项检查通过。FCP12.4合成素材100帧跟踪、独立参考、首帧失败说明、冷重开、手工取样、撤销/重做已验证,用户手动验收图章;精简主App最终137视觉核对通过。**“最后可信帧”自动跳转在FCP12.4仍返回失败,需按显示时间手动定位**,发行说明已披露。Motion、变速及用户原始素材未复测。[交付](verification/Delivery1.22.2.json) · [宿主范围](verification/HostClone1.22.2.json) · [界面](verification/CompactUI1.22.2.json)。
[当前交接](开发交接.md) · [Debug 安装](verification/DebugDelivery1.22.1.json) · [用户验收](verification/HostUnifiedLUTDebug1.22.1.json) · [实际编译源核对](verification/UnifiedLUTBuildSource133.json)。证书、私钥、账号与公证凭据独立安全恢复,不进 Git。测试结束后清理 Debug 例外产物和已不再需要的回滚副本。
正式包 `/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.2.pkg`,44,570,793字节,SHA-256 `237baadbdfdfdf77de8529e9e05602f1ddecf5943f44d0fe80ae0a4c3eef5843`。Installer签名、公证、粘附、Gatekeeper和20项验包通过;本轮未再次运行系统安装器。[验包](verification/Package1.22.2.json)。[Release437](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.22.2-clone-ui-20261115) 附件72在草稿及发布后均完整下载匹配字节数与SHA-256,[下载核验](verification/Release1.22.2.json)。标签保持既有节点,不因后续验证记录提交而移动。
[文章15792](https://dayu.media/15792/)同步标题、正文、SEO及主包,WordPress附件15986;完整下载校验、认证回读、普通与新请求前台核验通过。原价格50、会员折扣0、封面分类、历史图片与安装命令保留。[文章](verification/Article1.22.2.json) · [文章包核验](verification/ArticleLink1.22.2.json)。主App更新通道未改,仍此前1.21.8(126),无服务器源码部署。
本轮临时Apple上传路由原配置已逐字节恢复,重新加载后实测回到原香港代理,私密备份删除。[上传恢复](verification/NotaryUpload1.22.2.json)。已核对范围仅固定安装匹配主ID;生成APP、旧候选备份、公证ZIP、验证下载和恢复克隆已清理,历史发行包、用户LUT及合成验收库保留。[清理](verification/Cleanup1.22.2.json)。既有工程引用排序差异仍未提交,未混入编译节点。[最新交接](开发交接.md)。
---
# 2026-11-13 微信首次扫码后端修复
仅恢复 `Backend/wp-content/themes/ripro5/inc/oauth/weixin/callback.php` 和 `Backend/wp-content/mu-plugins/dayu-color-online-luts.php`。实际生产源码节点 `0f3f14522c8e8f79893652977b8b4e0a3bae8275`,标签 `backend-wechat-login-20261113`;远程沿用 `https://dayu.media/git/dayu/dayu-color.git`。新机器恢复 Git 登录后克隆并以该完整 SHA 检出两文件,部署工具使用 main 的后续修订;无需重编或重装 APP。
WordPress / RiPro5、现有统一微信/设备绑定、LUT renderer 和数据库为现有站点依赖,本仓库只保存有范围源码,不含整站配置、凭据、用户数据或证书。生产 SMB `/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media` 对应已核对的原生 `/vol1/1000/dayumedia/wwwroot/dayu_media`。PHP 7.4.34;先执行两个 PHP 测试(17+50)和部署审阅,再用已有认证 SSH 运行 `Backend/deploy_wechat_login.py --apply --ssh-control <连接路径>`。生产基线不符须重新比较,不直接改摘要绕过保护。
上线前备份摘要与原生权限见 [部署记录](verification/WeChatLoginDeployment.json)。回滚前另备份当前现版,恢复所列的01:22备份,保留实际 UID/GID、模式和扩展属性,再核验 PHP 与接口;禁止用 Mac SMB 的合成模式替代 NAS 原权限。已独立从远端恢复检查点 `1d3ad6f84716a9ded3d1896a7a4e40ef45e7bb1b`,957 个跟踪文件和两个生产文件一致,标签与 Git 完整性通过,无 LFS/子模块,临时克隆清理。[恢复核验](verification/WeChatLoginRecovery.json)。真实未绑定账号需全新扫码验收;线上合成会话检查不等于真实 OAuth 验收。[线上检查](verification/WeChatLoginLive.json) · [当前交接](开发交接.md)
---
# 2026-11-11 统一 LUT 浏览器 1.22.1(133)
唯一正式安装 `/Library/Plug-Ins/FxPlug/大鱼调色.app` 已替换 Debug:Release 1.22.1(133),APP 公证 `ae55bcd2-d131-4ef2-8733-405e28d92f7e` Accepted,签名/票据/Gatekeeper、1,028 项正式安装自检及 FCP 12.4 自动在线预览、分类安装、对比与播放通过。临时 Debug 及旧 131 回滚副本已清理;用户 LUT 与既有合成验收库保留。Motion 未复测。[安装](verification/Delivery1.22.1.json) · [宿主](verification/HostUnifiedLUT1.22.1.json) · [清理](verification/Cleanup1.22.1.json)
远程 `https://dayu.media/git/dayu/dayu-color.git`,main。实际编译节点 `7f833757da243f2a4610c23c36ec278b44c80ad4`,独立 HTTPS 检出核对921个跟踪文件。克隆后 `git switch --detach 7f833757da243f2a4610c23c36ec278b44c80ad4` 恢复 APP 源码;工具用 main 最新交付记录。Xcode 27.1、FxPlug SDK 4.3.5、Apple Silicon、macOS 14.6+ 与锁定 ColorManagement 依赖。通过 `tools/deliver.py` 构建和正式安装,验收后 `Packaging/build_pkg.py` 制包。主 ID `com.dayu.color`,服务 `com.dayu.color.XPC`,团队 B3W25FX5H5;证书、私钥、公证 profile 和 Git 账号独立恢复。
此前代理导致 S3 分片上传失败;用户授权仅 Apple 上传地址临时直连并恢复,原 Release 完整上传并获 Accepted,原代理完整字节和实际系统状态已恢复。详见 [公证记录](verification/UnifiedLUTNotaryResubmission133.json)。PKG 公证 `b1f73787-263b-47d7-b126-68d858437594` Accepted,20项验包通过;最终包44,557,648字节,SHA-256 `a5f5a335f7f1d3d8c42f829da941da75dcfd974febcc75d16cab26499c757663`。[验包](verification/Package1.22.1.json)。发行标签 `v1.22.1-unified-luts-20261111` 指向 `cdf23fb4fd1863867945e528ae060522d566b457`,已远端核验。独立HTTPS检出逐字节核对939个文件、255个APP构建输入与实际编译节点一致,Git完整性通过,无LFS/子模块。[恢复核验](verification/Recovery1.22.1.json)。[Release431](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.22.1-unified-luts-20261111) 附件70的草稿及发布后完整下载均匹配44,557,648字节与上述SHA-256,[下载记录](verification/Release1.22.1.json)。当前包保留在 `/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.1.pkg`,临时下载、恢复检出和本轮生成APP均已清理。2026-11-12按用户要求仅更新文章15792的下载链接与原文件名至1.22.1(133),WordPress附件15979,新包已完整下载并核对签名、公证票据、44,557,648字节与上述SHA-256。随后同步1.22.1标题、摘要、正文更新记录、安装说明与SEO,并补齐1.22.0在线LUT记录;已完成认证回读、普通及新请求的前台核验。价格、会员权限和历史图片保留。[文章内容验证](verification/Article1.22.1.json) · [文章链接验证](verification/ArticleLink1.22.1.json)。主APP更新通道未改,仍1.21.8(126);无服务器源码部署。[当前交接](开发交接.md)
---
@@ -0,0 +1,109 @@
# 大鱼调色开发交接
更新于 2026-11-14(Asia/Shanghai)。当前入口;历史设计按需查阅专项记录。
## 2026-11-14 执行环境诊断:确认是Local Work执行路径,尚未修复会话权限
用户要求查明并修复持续的权限阻塞。本轮读取本机应用日志与官方配置说明,确认当前由ChatGPT的 **Local Work executor** 通过远程协调的 `exec-server` 执行,不应把 `~/.codex/config.toml` 的完全访问直接等同于本轮Work步骤的实际权限。该配置确为 `danger-full-access`,项目trusted;常见的系统requirements/managed_config及本项目配置覆盖文件均不存在,但本轮实际仍为workspace-write、Git元数据只读、网络禁用。官方文档明确,云协调Work不一定消费普通本机默认值,执行与协调的策略范围独立。直接阻塞已确定为当前执行策略;尚未取得这轮策略的完整分配来源,不能声称已证明某项企业策略或应用缺陷。[本轮诊断](verification/ExecutionModeDiagnosis-20261114.json)
日志中的执行器插件复制曾出现ENOENT,后续第4次启动已恢复并连接,因此不能把该瞬态错误当成当前持续权限拒绝的根因。应用工具请求失败另有实测;尝试读取ChatGPT自身界面时,电脑控制工具明确返回 `Computer Use is not allowed to use the app 'com.openai.codex' for safety reasons.`,无法代用户操作自身应用的模式/环境入口。没有修改应用包、权限策略、系统配置或凭据,没有重启应用,也没有创建新任务。本轮只补充脱敏诊断和本交接;Git仍未提交/推送。
可核对的后续入口:官方文档的ChatGPT下拉菜单→Codex,执行环境选Local/This computer,并选择现有大鱼调色项目。该操作须由用户在应用界面完成;新执行会话先验证实际权限及网络,不以界面标签或配置文本代替运行检查。当前安装包/文章/仓库发布仍待执行,已准备的源码和文章模板都在本项目,按下方正式交付流程接续。该入口是执行环境选择,并非已验证的“重开必定修复”;如果新Codex本机会话仍受限,应继续核对其实际策略分配来源。
## 2026-11-14 22:42 发布继续:文章模板完成,着色器编译验证通过
用户要求继续完成既定发布。本轮继续核查,实际进程仍为 `CODEX_SANDBOX_NETWORK_DISABLED=1`,交付/仓库锁的原子创建仍返回errno 1,远端main回读仍因无法解析dayu.media退出128。没有更改权限配置、锁约定、产品源码或正式安装,也没有暂存、提交、推送及线上写入。
新增 [文章更新模板](Packaging/article-clone-repair-pending.json):准备标题、摘要、SEO、开头版本/下载说明、安装说明及8个新增正文区块,涵盖纯色取样随动、独立参考、停止原因、最后可信帧和手工关键帧。模板标为 `prepared-not-publishable`,未指定新版本号,且不是可直接提交的完整发布请求;JSON结构与区块检查通过。正式验收后必须回读届时线上文章为基线,仅按范围合并,保留历史图片、价格/会员权益、效果清单和App命令。现网文章没有更新。
本轮进一步确认Metal Toolchain确实已安装,现有27.1工具的直接版本查询成功,而xcrun工具发现仍失败。首次直接编译的5个AIR步骤通过,随后因默认模块缓存 `/Users/mac/.cache/clang/ModuleCache` 不可写而中止。仅在临时诊断进程显式选择同一现有工具,并以 `-fmodules-cache-path` 指向本任务临时目录后,按原 `tools/build_kernels.py` 输入完成 **5个AIR、2个Metal源文件及1次metallib链接,共8步通过**;产物961,236字节,SHA-256 `5acc6fc7abda835021b38455dcd4ee582691d31869ed2cf844a1ca0e933dc8cc`。未修改构建脚本、系统配置或主目录缓存;临时产物全部清理。[编译证据及先前失败诊断](verification/CloneRepairShaderBuild-20261114.json)。这是着色器构建验证,不是完整APP构建、GPU运行、正式自检或宿主验收。
当前正式版仍为 **1.22.1(133)**。前轮16个源码/检查程序摘要再次确认未变,24项结果仍仅代表其原有专项范围;新增9项正式安装检查及FCP验收尚未完成。完整APP、签名公证、PKG、Release、文章更新和Git推送均未完成。接手仍按下节流程先恢复实际执行能力;无需用户重复授权。恢复后还应核对Xcode实际发现的工具链及模块缓存,不能再把包装入口的“missing”消息当作未安装证明。
## 2026-11-14 22:26 发布接续:当前会话预检未通过
用户本轮明确要求“制作新的安装包更新文章和推送仓库”,已有发布授权继续有效。本轮复核正式安装仍为 **1.22.1(133)**,HEAD 仍为 `5a10408557cf4bb7dd96477ecc72829f48242a07`;仿制图章修复的全部16个源码/检查程序摘要与前轮验证记录一致,原有24项专项检查结果仍对应当前源码,未重复运行或将其升级为宿主验收。新版本号、实际编译提交、发行标签均尚未生成。[本轮预检](verification/ReleasePreparation-20261114.json) · [发布说明草稿](Packaging/release-notes-clone-repair-pending.md)
本轮实际尝试:创建产品交付锁与仓库锁均返回 `Operation not permitted`(errno 1);`dayu-git auth status` 返回 `Keychain access failed (status -50)`;`git ls-remote origin refs/heads/main` 退出128,无法解析 `dayu.media`;`xcrun --find metal` 能定位包装入口,但 `xcrun metal --version` 退出1并报告不能执行Metal Toolchain。这是当前会话本机权限、钥匙串、联网与工具链发现的阻塞,尚未到达服务器仓库写权限检查,不能归因于大鱼站未授权。当前会话的 `.git` 为只读;没有暂存、提交、推送或创建Release,也没有更改产品源码、版本、正式APP、安装包、文章15792及APP更新通道。本轮仅新增预检记录并更新本交接,尚未提交远端。
用户随后明确当前界面已经是完全访问模式。本机只读核对也确认 `/Users/mac/.codex/config.toml` 为 `sandbox_mode = "danger-full-access"`、`approval_policy = "never"`,项目为 `trusted`;但实际执行进程环境有 `CODEX_SANDBOX_NETWORK_DISABLED=1`,本轮下发的权限仍为受限写入及Git元数据只读。这说明已保存配置与当前会话执行权限不一致,无需用户再次开启完全访问或重复授权仓库;目前没有证据确认是模式路由、配置覆盖还是应用权限传递问题,不能直接诊断为应用故障。当前可用接口没有可修改本会话沙箱的操作;读取当前会话状态的应用接口也返回工具请求失败。
接手第一步:在具备原交付锁/仓库锁、固定构建缓存、钥匙串、正式安装目录和网络访问能力的本机会话重做预检。预检通过后,先审查并提交推送本轮及前轮未提交的修复(排除既有Xcode工程引用排序差异),回读远端;核对可用版本号,再执行 `tools/deliver.py` 完整签名公证安装及原生/FCP验收。验收通过后执行 `Packaging/build_pkg.py`、Release上传和完整下载校验,最后按届时线上文章15792的实际基线更新文案及主下载。此前24项专项检查不能替代新增9项正式安装检查及FCP验收。当前没有可供发布的新安装包。
## 2026-11-14 仿制图章修复:源码实现完成,正式验收与上线受阻
用户已授权“修复此问题,验收通过后更新在线安装包文章”;后续同范围的构建、验收、制包和文章更新无需再次确认。本轮实际完成源码修改,尚未完成正式验收或发布;唯一正式安装回读仍为 **1.22.1(133)**,未升版、签名、公证、安装新版本,也没有更改线上安装包、文章15792或主 APP 更新通道。[修复检查点](verification/CloneRepairFix-20261114.json) · [24项专项检查](verification/CloneRepairState-20261114.json) · [待发布说明和验收门槛](Packaging/release-notes-clone-repair-pending.md)
新建图章默认取样随修复区移动,纯色干净取样区不再独立参与纹理跟踪;旧图章保留原模式并增加切换入口。画布和面板可单独框选同一表面的绿色跟踪参考,不扩大黄色修复椭圆;支持首次手工关键帧、当前帧取样点关键帧及“最后可信帧”定位。失败原因、停止时间和最后可信位置在画布显示,首帧失败也保存状态;双向失败不再显示正向完成,宿主超过30秒未返回新帧时显示停止原因。手工取样位置增加标记,自动重跟踪保留该位置并允许更新缩放。
主要路径:`DYToolHostMethods.inc.h` 的配对/参考跟踪和结果保存;`DYToolCanvasEditing.inc.h` 的参考绘制、关键帧和定位;`DYToolOSC.inc.h`、`DYMaskPanel.inc.h` 与 `DYTrackingPreview.inc.h` 的控件和指引;`DYToolState.mm/.h` 的兼容字段、校验与关键帧;`MaskCore/DYCloneTracking.hpp` 的参考运动映射。完整文件摘要见修复记录。原有 `大鱼调色.xcodeproj/project.pbxproj` 引用排序差异保持,未修改版本元数据;不要把它混入本轮提交。
实际验证:`python3 tools/tracking/verify_clone_repair.py --output verification/CloneRepairState-20261114.json` **24项通过**,直接编译并调用当前 `DYToolState.mm`、`DYModel.mm` 与运动映射,覆盖独立模式兼容、纯色起点拒绝、参考与修复分离、运动换算、手工插值/保护、冷读字段和时间校验。隔离链接不调用无关色彩运行时,不能替代完整 APP。四个相关翻译单元(插件、面板、工作区、诊断)均成功编译为目标文件,状态/模型另由专项测试实际编译;末次变更的语法检查通过。增加9项正式安装原生宿主回归,覆盖纯色取样跟随、独立参考、零帧失败、双向停止、精确定位及手工取样/目标/参考手势;**尚未运行这9项**,也没有FCP/Motion/用户素材验收。
当前环境阻塞已实测:Release编译校验退出65,Xcode报告无法执行metal/无法发现Metal Toolchain;旧构建记录所指Metal编译器实际可读并能输出版本,故不能简单断言未安装,更不能跳过完整构建。正式交付锁 `/Users/mac/.codex/app-delivery-locks/com.dayu.color.lock` 与仓库互斥锁 `/Users/mac/.codex/git-backup-locks/…` 的创建均报 `Operation not permitted`;远端读取报 `Could not resolve host: dayu.media`。未运行暂存/提交/推送,Git HEAD仍为 `5a10408557cf4bb7dd96477ecc72829f48242a07`。本轮只做临时编译,未把未签名产物当作用户可运行版本;本轮临时构建目录、初始源码临时副本及独立测试可执行文件均已清理,24项结果及构建阻塞证据保存在上述验证记录。
接手第一步:恢复允许上述锁、固定构建缓存、签名/公证、正式安装与联网的会话,先检查本轮差异并按原锁约定提交推送、回读远端,再核对未占用的新版本号,通过 `tools/deliver.py` 完整交付并从正式位置运行自检与FCP验收。重点检查绿色参考框不会改修复范围、第一帧失败与冷重开提示、手工取样不移动此前帧、重跟踪不覆盖手工取样、撤销/重做及窄条布局。通过后才运行 `Packaging/build_pkg.py`、对应Release完整上传/下载校验,并以届时线上文章15792为基线更新说明与下载项;当前草稿不能提前发布。旧版安装包与文章继续有效。
## 2026-11-14 仿制图章跟踪与纯色修复排查
本轮按用户反馈核查当前实现与提示路径,未修改插件功能或发布。正式安装回读仍为 1.22.1(133);main 为 `5a10408557cf4bb7dd96477ecc72829f48242a07`,相关跟踪、图章、渲染和 UI 源码与正式编译节点 `7f833757da243f2a4610c23c36ec278b44c80ad4` 一致。原有 Xcode 工程引用排序差异保留;大鱼调色交付锁未占用。[排查与验证](verification/CloneStampTrackingAudit-20261114.json)
当前覆盖区与取样区分别用 Apple Vision 局部图像配准,均须通过区域内灰度纹理/相关性校验,任一失败即停止整对;不使用马赛克的目标重识别逻辑。图章实际保存中心与横纵缩放,渲染为当前帧原始像素复制加椭圆羽化,不会补画内容或完整应用旋转/透视。四种合成起点组合通过:纯色任一侧均初始化失败,两侧纹理均有效才允许开始;这解释了“干净取样区无纹理”阻断修复的现有限制。
创建时已有“选取样中心→拖覆盖椭圆”提示;跟踪失败原因主要发往工作区状态。画布保存后仅显示跟踪/停止按钮,未携带失败原因;首帧纹理失败不产生轨迹差异,也不会持久保存 mask.status。轨迹范围外沿用端点,连续分析也不主动将播放头移至最后可信帧,易让用户看到图章不再移动却不知原因。具体用户片段和 FCP 中的提示可见性尚未复现,不将静态推断当作实际宿主验收。
独立旧 Vision 连续运动测试本轮未通过:四模式第一张配准均报 Backend;临时诊断进一步取得 `com.apple.Vision` code 8、`Failed to create CVPixelBuffer`。这是本会话环境中的实测阻塞,不能记为通过,也不能据此认定正式 APP 新增回归。仅起点纯色校验已获本轮可运行验证;临时探针未修改产品头文件。
后续第一步:补充明确的画布失败状态、停止时刻/最后可信时刻与继续操作;将修复覆盖区和同表面的跟踪参考区分离,增加取样区跟随目标模式,保留独立跟踪选项,并补齐无轨迹时的手工键入口。画面固定污点目前可直接使用静态图章;随表面运动且取样区纯色的情况,现版没有上述自动跟随或参考区兜底。本轮只记录方案,尚未实现。本轮排查记录已本地保存;创建仓库互斥锁 `/Users/mac/.codex/git-backup-locks/` 被当前会话权限拒绝,未执行暂存、提交或推送,Git HEAD 保持上述节点。远端只读核验另因无法解析 `dayu.media` 失败。下次恢复目录/联网能力后,先审查本轮两个文档,按原锁约定提交推送并回读远端;不要混入既有 Xcode 工程差异。
## 2026-11-13 微信首次登录修复:已上线
已按用户授权,于北京时间 01:22 上线两个 PHP 文件:主题 `wp-content/themes/ripro5/inc/oauth/weixin/callback.php` 的 OAuth 证明名单补入 `DayuColor`;`wp-content/mu-plugins/dayu-color-online-luts.php` 对拒绝/过期会话返回 HTTP 401 和原失败原因,避免现有客户端等待十分钟。保留 UUID、账号、有效期、设备数量、权限和一次性兑换校验。正式 APP 1.22.1(133)无需更新;本轮不改 APP、安装包、文章或更新通道。
实际部署源码提交 `0f3f14522c8e8f79893652977b8b4e0a3bae8275`,两个生产文件逐字节等于该节点。通过原文件所有者执行原生 SSH 原子替换,NAS 实际 UID/GID 1000:1001、0705/0700 及 `user.DOSATTRIB` 均与原件一致,未修改 NAS 目录权限。原目录备份 `callback-202611130122.phpbak`、`dayu-color-online-luts-202611130122.phpbak` 的完整路径、摘要和元数据见 [上线记录](verification/WeChatLoginDeployment.json),均与原始基线一致。回滚前先对届时现版另做同目录备份,再恢复对应原件并保留原生元数据,不删历史备份。
67 项隔离回归和服务器 PHP 7.4.34 语法检查通过;8 项实际 HTTPS 检查通过:等待200、拒绝/过期401且保留原因、会话缺失401、非法输入400、网站200、两个备份公开请求404。三个临时合成会话已删除并复核不存在,没有改真实用户或设备绑定。[线上核验](verification/WeChatLoginLive.json)。真实未绑定账号尚未扫码验收:在现有 APP 发起全新微信登录即可,旧拒绝会话不能复用;后续可核对 `oauth_proof_written → oauth_proof_check → session_approved`。
上线前保护检查曾因 fnOS 复制继承多余 ACL 而中止,原生产文件未变;已修正并核验两个实际目录的复制结果。原生替换后 Mac SMB 一度读取旧缓存,随后 SSH 与 SMB 独立回读均与新源码一致;工具现先保留原生部署证据再等待 SMB 缓存更新,避免把缓存延迟当作替换失败。正常部署、基线拒绝、第二文件失败回滚的 NAS 临时场景检查通过。[工具检查](verification/WeChatDeploymentSafety.json) · [首次中止证据](verification/WeChatLoginDeploymentAttempt1.json)。本轮临时副本及部署锁已清理,原先 Xcode 工程排序差异未暂存。
源码与上线记录已随 main 推送并回读。恢复标签 `backend-wechat-login-20261113` 已远端核验,固定实际部署节点;从远端独立克隆 `1d3ad6f84716a9ded3d1896a7a4e40ef45e7bb1b`,957 个跟踪文件逐字节一致、两个部署文件与 NAS 一致、Git 完整性通过,无 LFS/子模块,临时克隆已清理。[远端恢复核验](verification/WeChatLoginRecovery.json)。此前目录/联网阻塞在本会话已解除,无需继续改 NAS 权限。[原始基线](verification/WeChatLoginBaseline.json) · [修复回归](verification/WeChatLoginFix.json) · [旧会话历史](research/HandoffWeChatLogin-20261113-before-deployment.md)。
## 1.22.1(133):正式交付完成
打开 LUT 浏览器时自动发送当前缓存帧缩略图并批量生成当前页在线效果图;首次无帧自动补载,播放时不连续上传,可手动“更新预览”。在线与本地共用分类树,“在线 LUT”包含子分类,本地支持二级及更深目录的展开/折叠。点击在线 LUT 后校验、安装到本地对应分类并应用,重复文件复用。后台在线失败不影响本地操作。
**当前唯一正式安装** `/Library/Plug-Ins/FxPlug/大鱼调色.app`,Release 1.22.1(133),主 ID `com.dayu.color`、服务 `com.dayu.color.XPC`,团队 B3W25FX5H5。APP 公证 `ae55bcd2-d131-4ef2-8733-405e28d92f7e` **Accepted**,票据、签名、Gatekeeper 和唯一 PluginKit 路径通过。1,028 项正式安装原生自检通过,17 套模板已核对。[正式安装](verification/Delivery1.22.1.json)
FCP 12.4 从正式路径加载服务,观察到打开浏览器即自动出现合成色卡在线效果图;目录 1,233 项,在线子分类和本地二级目录共用侧栏。点击 online:1446 后确认安装到本地分类、应用及原图划像,短播放通过。[正式宿主验收](verification/HostUnifiedLUT1.22.1.json)。此前 Debug 已获用户“我已测试可行”确认;临时 Debug 例外结束,Debug 替换备份、旧 131 回滚、生成 Release APP/服务和公证 ZIP 已清理。用户 LUT 与既有合成验收库保留。[清理](verification/Cleanup1.22.1.json)。Motion 未复测。
68 项在线/分类/导入合约、40 项本地浏览器回归及 Release 发布前 1,028 项检查通过。实际编译源码 `7f833757da243f2a4610c23c36ec278b44c80ad4`,独立 HTTPS 检出构建,921 个文件逐字节核对,[编译来源](verification/UnifiedLUTBuildSource133.json)。既有工程 Security 引用排序差异保留,未混入本轮提交。
### 公证上传与代理
用户明确授权“允许临时直连并恢复”。此前两种代理上传均在 S3 分片超时,已有编号不代表上传完成。仅对两个官方 Apple S3 上传地址临时直连,43,344,165 字节的原 Release ZIP 完整上传并 Accepted,未重编或重签。上传后原配置逐字节恢复并经原生热重载生效,临时例外消失、HTTP/HTTPS 原代理继续开启,私有备份清理;凭据及私有配置未入 Git。[上传与恢复](verification/UnifiedLUTNotaryResubmission133.json)。旧失败编号不再作为等待目标。
### 发行与恢复
已从验收后的正式 APP 通过 PKG 工坊生成 `/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.1.pkg`,44,557,648 字节,SHA-256 `a5f5a335f7f1d3d8c42f829da941da75dcfd974febcc75d16cab26499c757663`。PKG 公证 `b1f73787-263b-47d7-b126-68d858437594` Accepted,签名、票据、Gatekeeper、20项展开验包和普通用户载荷权限通过;本轮未再次执行 PKG 系统安装脚本。[验包](verification/Package1.22.1.json)。PKG 上传同样仅临时直连两个 Apple 地址,原始配置与系统代理状态已完整恢复,私有备份清理。[恢复记录](verification/PackageNotaryRoute1.22.1.json)
[正式 Release 431](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.22.1-unified-luts-20261111) 的附件70已发布。草稿经正常已登录浏览器完整下载,发布后再次完整下载,均匹配44,557,648字节和上述SHA-256。[发行与下载](verification/Release1.22.1.json) · [草稿下载](verification/ReleaseDraftDownload1.22.1.json)。临时下载副本和恢复检出均清理,本地当前发行包保留;历史发行包不动。
标签 `v1.22.1-unified-luts-20261111` 已推送,指向完整提交 `cdf23fb4fd1863867945e528ae060522d566b457`。独立 HTTPS 检出核对939个跟踪文件,255个APP/模板/色彩管理构建输入与实际编译7f833757…完全一致,Git完整性通过,无LFS或子模块。[恢复核验](verification/Recovery1.22.1.json)。最终交接与验证记录另随main检查点推送,不移动发行标签。
安装说明长行仅改成相邻字符串以兼容本机Python,AST与原脚本一致,未改APP。Motion未复测;APP更新通道仍1.21.8(126)。
### 2026-11-12 文章下载与更新记录
按用户“更新文章链接”,仅更新 [文章15792](https://dayu.media/15792/) 的主下载URL和原文件名,现为1.22.1(133)正式PKG。附件15979,站内URL `https://dayu.media/wp-content/uploads/2026/11/1794476859-979a88b6cac1538.pkg`;完整下载44,557,648字节,SHA-256与上述正式发行包一致,签名/票据/Gatekeeper通过。经 `dayu-publish-article` 与独立幂等键更新,无重复附件;下载验证临时副本已清理。
文章现已完整同步1.22.1:标题、摘要、SEO、开头主下载/构建号和安装说明一致;新增1.22.1自动在线预览、统一分类、本地多级目录与点击安装记录,并补齐1.22.0在线资源库记录。说明了缓存帧上传、服务器内存处理与“更新预览”的行为,以及本地调色无需登录、在线LUT所需账号权限。历史更新、6张图片、17个效果清单和原生App打开代码保留。
独立认证回读确认文案与提交完全一致,三个SEO开关保留;普通及新请求前台均HTTP200,标题和三项SEO单份且准确,新更新记录、1.22.1安装指引、图片和代码区块均已显示。此前下载地址/原文件名、价格50元/会员免费、作者、分类、封面及FCPX设置保持原值;不重传安装包。APP更新通道本轮未改,仍1.21.8(126)。[文章提交](Packaging/article-1.22.1.json) · [发布与前台验证](verification/Article1.22.1.json) · [下载完整性](verification/ArticleLink1.22.1.json)。本轮文章更新完成,无待办。
## 接手与恢复
- 工程 `/Volumes/备份/大鱼调色/大鱼调色`;远程 `https://dayu.media/git/dayu/dayu-color.git`,分支 `main`。
- Release 构建、公证、固定路径安装用 `tools/deliver.py`;宿主验收后输入 `complete`。PKG 用 `Packaging/build_pkg.py`,Release 用 `Packaging/publish_release.py`。不要重发已 Accepted 的 APP。
- 主 APP 自动识别硬件绑定账号,未绑定时微信登录;新机首次扫码仍需真实用户完成。权限与本地安装不依赖另建后端。
- 后端 `Backend/` 为有范围备份,本轮微信修复直接使用该目录作为本机专项工程;其他公测专项位于 `/Users/mac/Downloads/dayumedia/dayu-color-beta`。NAS 仅生产部署,不在其上编译;本轮仅部署上列两个 PHP 文件。
- [恢复说明](RECOVERY.md) · [前一正式发行 131](research/OnlineLUTRelease131Handoff.md) · [早期交接](research/HandoffHistory-20261111-before-online-release.md)。私钥、证书、令牌、公证 profile 独立安全恢复,不进入仓库。
@@ -0,0 +1,34 @@
# 微信登录修复上线前历史
以下为历史记录,现状以项目开发交接为准。
### 2026-11-13 本会话部署接续(进行中)
用户明确要求读取交接并上线微信登录修复,部署授权继续有效。已验证当前 SMB 可列举、新建、重命名和删除本轮空测试目录;两个目标目录及 Git 锁目录现均可写,远端 main 可回读,未修改 NAS 权限。生产两文件仍与原始基线一致。67 项隔离检查和部署审阅再次通过;仅部署下列两个 PHP 文件,保留现有 Xcode 工程排序差异。真实 NAS 权限分别为 UID/GID 1000:1001、callback.php 0705、online-luts.php 0700;正式替换须保留这些权限及现有扩展属性,不能以 SMB 的合成 0700 显示推断原始权限。先保存修复检查点,再部署并核验运行端。
### 2026-11-13 报错复核
用户继续反馈“未检测到本次微信OAuth确认”。已读取最新生产回调及诊断:北京时间 00:01:52 和 00:03:09 的两次新尝试均由 `oauth_proof_not_written` 进入 `wechat_oauth_proof_required`;生产回调名单仍缺 `DayuColor`。两文件 SHA-256 仍与上轮旧生产基线一致,修复尚未上线。NAS 目标和 Git 锁目录仍不可写,未尝试绕过权限;本轮无实现改动,未重复执行已通过的 67 项检查。复核记录已追加至 [验证报告](verification/WeChatLoginFix.json),交接未能提交/推送的原因沿用下节。下一步仍是开放目录写权限及联网后保存并部署两文件,随后在 APP 发起新扫码,已拒绝的旧会话不能用于验收。
用户随后明确“授权并部署”,部署授权持续有效,**无需再次请求用户同意部署**。已重新执行部署预检,67 项检查通过,生产摘要仍等于旧基线;实际执行 `python3 Backend/deploy_wechat_login.py --apply`,在任何生产写入前由 `check_mount()` 返回 `AssertionError: 目标共享不可写`,退出码 1。Git 锁目录仍不可写,`git ls-remote` 仍报 `Could not resolve host: dayu.media`。未生成生产备份、未部署、未提交或推送;需要改变会话的实际目录/网络权限配置,聊天中的同意未改变这些系统权限。权限生效后直接继续提交、部署与线上核验,不再询问是否授权。
用户提供截图确认客户端“完整访问权限”已开启。只读检查 `/Users/mac/.codex/config.toml` 同样为 `sandbox_mode = "danger-full-access"`、`approval_policy = "never"`。当前命令进程 UID 501;本机 Git 锁目录属 UID 501/0755,NAS 两个目标父目录属 UID 501/0700,挂载参数没有 `read-only` 标志,但当前调用对三个目录的 `os.access(W_OK)` 均为 false,Git 请求仍无法解析域名。结论是客户端显示/本地配置与当前调用的实际执行限制不一致,具体未生效原因尚未确认;此前将其描述为 NAS 只读不准确,不应让用户继续重复授权或改 NAS 权限。尚未部署,授权持续有效。[诊断证据](verification/WeChatLoginFix.json)
用户授权使用指定账号资料通过 NAS SSH 检查并修复权限。已安全读取资料(仅账号/密码两行,没有端口字段),未输出凭据;先以默认 22 端口执行无密码、严格主机密钥校验的 `BatchMode` 连接检查,请求只读 `id`。结果为 `ssh: connect to host 192.168.31.21 port 22: Operation not permitted`,退出码 255,在账号验证之前即本地拒绝;没有发送密码、执行远端命令或修改 NAS 权限。直接局域网 IP 的 SSH 同样受限,进一步确认当前阻塞在本地执行环境。未验证 SSH 账号有效性或实际服务端口,不将猜测当作 NAS 配置事实。仍未提交/推送/部署;权限恢复后沿用已有部署授权继续,服务端权限只在获得实际异常证据后做最小修复。
后续用户提供 NAS SSH 设置截图,现已确认服务开关开启、实际端口 22、`dayu` 管理员允许 SSH 登录;这补齐上一条的端口配置证据,未证明当前命令执行环境已放行或账号已通过认证。既有 SSH 错误仍为连接阶段的 `Operation not permitted`,不应让用户继续修改 NAS SSH 开关或盲目调整目录权限。未重复同一受限连接,未更改服务端;可由用户在 Mac 系统终端执行 `ssh -p 22 dayu@192.168.31.21`,独立区分系统终端可达性与当前会话限制。部署和 Git 状态保持未完成。
## 2026-11-12 微信首次登录修复:本地通过,待部署
用户反馈“微信登录还是有问题,特别是没有绑定 UUID 的用户”。已核对 `main`、远程和正式安装 1.22.1(133);工程已有的 Security 引用排序差异未修改。基线提交 `8c2f226d4369d5117ec626c20a05543be95143c5`。
根因是生产主题 `wp-content/themes/ripro5/inc/oauth/weixin/callback.php` 的本次 OAuth 证明应用名单缺少 `DayuColor`。现有日志中 13 次大鱼调色扫码均为 `oauth_proof_not_written`,12 次明确以 `wechat_oauth_proof_required` 拒绝;现有硬件自动登录不会走此入口。另一个问题是在线 LUT 会话接口把 `denied` 当 HTTP 200 返回,1.22.1 客户端因此继续等待到十分钟超时。
已从生产逐字节保存这两个文件的基线;本地 `Backend/` 补入主题回调有范围副本,只增加 `DayuColor`;在线 LUT 会话对 `denied`/`expired` 返回现有客户端可终止轮询的 HTTP 401 和原失败原因。UUID、账号、有效期、一次性兑换及权限校验保留。APP 二进制、正式安装、PKG、Release、文章与更新通道均未改。
17 项实际主题回调隔离检查与 50 项在线接口检查通过;在旧生产基线上,新增回归分别重现缺失证明和失败后不终止的问题。PHP 语法、Python AST、部署预检通过。[基线](verification/WeChatLoginBaseline.json) · [完整验证与范围](verification/WeChatLoginFix.json)。这是使用合成 OAuth/账号的本地检查,尚未做真实未绑定账号扫码验收。
**尚未上线,未提交、未推送本轮改动。** 本会话生产 NAS 两个目标父目录均不可写;按现有 `tools/checkpoint.py` 保存基线时,创建 `/Users/mac/.codex/git-backup-locks/` 下的仓库锁得到 `Operation not permitted`,在暂存/提交前已退出。只读远端回读也因 `Could not resolve host: dayu.media` 失败;需要恢复本会话联网。生产 SHA-256 复核仍等于旧基线,没有创建生产旁路备份或修改用户绑定。最终 `git diff --check` 通过。
接手第一步:为本会话开放上述 NAS 生产目标与 Git 锁目录写权限,复核最新生产基线;仅暂存本轮相关文件,通过 `tools/checkpoint.py` 提交、推送并回读。执行 `python3 Backend/deploy_wechat_login.py` 审阅,再执行同命令加 `--apply` 部署;脚本限定两文件、要求提交与远端一致、逐文件原目录旁路备份和 SHA-256 核对。此范围使用仓库 `Backend/` 为本机专项工程,不覆盖下载目录旧镜像。上线后由真实未绑定 UUID 账号重新发起扫码,核对 `oauth_proof_written → oauth_proof_check → session_approved`、新增设备绑定及 APP 在线权限;另复核设备冲突/数量上限的错误及时结束等待。现有 1.22.1 客户端无需更新。
+20 -4
查看文件
@@ -2,16 +2,32 @@
"""Build the versioned AIR arithmetic and Dayu's authored Metal boundary."""
from pathlib import Path
import argparse
import re
import subprocess
from build_masked_kernel import masked_kernel
from float_air_boundary import float_boundary
def metal_tools():
component = subprocess.check_output(
['xcodebuild', '-showComponent', 'MetalToolchain'], text=True)
location = re.search(r'^Toolchain Search Path: (.+)$', component, re.MULTILINE)
if not location:
raise RuntimeError('Xcode did not report an installed Metal toolchain')
directory = Path(location.group(1)) / 'Metal.xctoolchain/usr/bin'
commands = {name: str(directory / name) for name in ('metal-opt', 'metal', 'metallib')}
for command in commands.values():
if not Path(command).is_file():
raise RuntimeError('Installed Metal tool is missing: ' + command)
return commands
def main():
parser = argparse.ArgumentParser()
parser.add_argument('--output', required=True, type=Path)
parser.add_argument('--intermediates', required=True, type=Path)
args = parser.parse_args()
tools = metal_tools()
root = Path(__file__).resolve().parent.parent
work = args.intermediates.resolve()
work.mkdir(parents=True, exist_ok=True)
@@ -28,17 +44,17 @@ def main():
generated = work / (name + 'Float.ll')
generated.write_text(float_boundary(source.read_text(), name))
source = generated
subprocess.run(['xcrun', 'metal-opt', str(source),
subprocess.run([tools['metal-opt'], str(source),
'-o', str(target)], check=True)
objects.append(str(target))
wrapper = work / 'DYGradeWrapper.air'
subprocess.run(['xcrun', '-sdk', 'macosx', 'metal', '-std=metal3.1',
subprocess.run([tools['metal'], '-std=metal3.1',
'-mmacosx-version-min=14.6', '-c',
str(root / '大鱼调色/Plugin/DYGrade.metal'), '-o', str(wrapper)], check=True)
tracking=work / 'DYTracking.air'
subprocess.run(['xcrun','-sdk','macosx','metal','-std=metal3.1','-mmacosx-version-min=14.6','-c',str(root/'大鱼调色/Plugin/DYTracking.metal'),'-o',str(tracking)],check=True)
subprocess.run([tools['metal'],'-std=metal3.1','-mmacosx-version-min=14.6','-c',str(root/'大鱼调色/Plugin/DYTracking.metal'),'-o',str(tracking)],check=True)
objects.append(str(tracking))
subprocess.run(['xcrun', '-sdk', 'macosx', 'metallib', str(wrapper), *objects,
subprocess.run([tools['metallib'], str(wrapper), *objects,
'-o', str(args.output)], check=True)
print(args.output)
+67
查看文件
@@ -0,0 +1,67 @@
// Uses the production state implementation and motion mapping. No host UI,
// registration service, GPU, account, or user footage is required.
#import <Foundation/Foundation.h>
#import "../../大鱼调色/Plugin/DYToolState.h"
#include "../../大鱼调色/Plugin/MaskCore/DYCloneTracking.hpp"
#include "../../大鱼调色/Plugin/MaskCore/DYVisionRegionTracker.hpp"
int main(){@autoreleasepool{
NSMutableArray *results=[NSMutableArray array];BOOL passed=YES;
auto check=[&](NSString *name,bool pass){[results addObject:@{@"name":name,@"pass":@(pass)}];passed&=pass;};
auto close=[](double x,double y){return std::abs(x-y)<1e-5;};
auto stamp=DYMutablePlist(DYNewMask(DYMaskEllipse));
DYMaskParameters p=DYMaskAtTime(stamp,kCMTimeZero);p.centerX=.6;p.centerY=.5;p.width=.04;p.height=.06;
stamp[@"parameters"]=[NSData dataWithBytes:&p length:sizeof(p)];stamp[@"stampSource"]=@[@.5,@.5,@.04,@.06];
check(@"legacy-stamp-keeps-independent-tracking",DYValidToolMask(stamp)&&!DYStampUsesLinkedTracking(stamp));
stamp[@"stampTrackMode"]=@"linked";
check(@"linked-stamp-mode-survives-property-list-roundtrip",DYStampUsesLinkedTracking(stamp)&&DYValidToolMask(stamp));
auto invalid=DYMutablePlist(stamp);invalid[@"stampTrackMode"]=@"other";
check(@"invalid-tracking-mode-rejected",!DYValidToolMask(invalid));
auto original=DYMaskAtTime(stamp,kCMTimeZero);
check(@"reference-selection-accepts-nearby-surface-texture",DYSetStampReference(stamp,NSMakeRect(.4,.3,.3,.4),kCMTimeZero));
auto repair=DYMaskAtTime(stamp,kCMTimeZero),ref=DYStampReferenceAtTime(stamp,kCMTimeZero);
check(@"reference-does-not-enlarge-or-move-repair",close(repair.centerX,original.centerX)&&close(repair.centerY,original.centerY)&&close(repair.width,original.width)&&close(repair.height,original.height));
check(@"reference-restores-selected-rectangle",ref.kind==DYMaskRectangle&&close(ref.centerX,.55)&&close(ref.centerY,.5)&&close(ref.width,.3)&&close(ref.height,.4));
auto tinyStamp=DYMutablePlist(stamp);auto tiny=original;tiny.width=.002;tiny.height=.003;tinyStamp[@"parameters"]=[NSData dataWithBytes:&tiny length:sizeof(tiny)];
check(@"tiny-blemish-can-use-large-distant-reference-on-same-surface",DYSetStampReference(tinyStamp,NSMakeRect(.1,.1,.3,.4),kCMTimeZero)&&close(DYStampReferenceAtTime(tinyStamp,kCMTimeZero).width,.3)&&close(DYMaskAtTime(tinyStamp,kCMTimeZero).width,.002));
auto before=[stamp copy];
check(@"invalid-reference-does-not-overwrite-existing-reference",!DYSetStampReference(stamp,NSMakeRect(-.1,0,.3,.3),kCMTimeZero)&&[stamp isEqual:before]);[before release];
auto archived=[NSPropertyListSerialization dataWithPropertyList:stamp format:NSPropertyListBinaryFormat_v1_0 options:0 error:nil];
auto restored=[NSPropertyListSerialization propertyListWithData:archived options:NSPropertyListImmutable format:nullptr error:nil];
check(@"reference-and-mode-persist-on-cold-read",DYValidToolMask(restored)&&DYStampUsesLinkedTracking(restored)&&[restored[@"stampReference"]isEqual:stamp[@"stampReference"]]);
dy::TrackResult motion;motion.valid=true;motion.confidence=.9;motion.cx=.56;motion.cy=.52;
dy::TrackerROI seed{.55,.5,.3,.4,0};
auto target=dy::cloneRegionFollowing(motion,seed,.6,.5,16.f/9);
auto source=dy::cloneRegionFollowing(motion,seed,.5,.5,16.f/9);
check(@"linked-clean-source-follows-reference-translation",target.valid&&source.valid&&close(target.cx,.61)&&close(source.cx,.51)&&close(source.cy,.52));
motion.scaleX=1.2;motion.scaleY=.8;
target=dy::cloneRegionFollowing(motion,seed,.6,.55,2);
check(@"separate-reference-transfers-anisotropic-scale",target.valid&&close(target.cx,.62)&&close(target.cy,.56));
motion.rotation=float(M_PI/2);motion.scaleX=motion.scaleY=1;
target=dy::cloneRegionFollowing(motion,seed,.65,.5,2);
check(@"offset-centre-uses-image-aspect-during-rotation",target.valid&&close(target.cx,.56)&&close(target.cy,.72));
motion.cx=.99;motion.cy=.5;motion.rotation=0;
check(@"linked-source-leaving-frame-is-explicit-loss",!dy::cloneRegionFollowing(motion,seed,.7,.5,2).valid&&dy::cloneRegionFollowing(motion,seed,.7,.5,2).failure==dy::TrackFailure::OutsideFrame);
check(@"invalid-reference-result-is-never-used",!dy::cloneRegionFollowing({},seed,.6,.5,2).valid);
check(@"invalid-image-aspect-is-never-used",!dy::cloneRegionFollowing(motion,seed,.6,.5,0).valid);
stamp[@"status"]=@"未开始:纹理不足";stamp[@"trackingStopped"]=@YES;
check(@"manual-key-can-be-created-before-any-automatic-track",DYAddStampManualKey(stamp,kCMTimeZero)&&[stamp[@"keys"]count]==1&&[stamp[@"keys"][0][@"manual"]boolValue]&&!stamp[@"status"]);
DYMaskParameters end=original;end.centerX=.7;end.centerY=.6;DYStampMotion linked;linked.active=true;linked.sourceOffsetX=.1;linked.sourceOffsetY=.1;
check(@"manual-end-key-retains-original-sampling-origin",DYMergeTracking(stamp,@[DYStampKey(CMTimeMake(10,1),end,YES,1,linked)])&&close([stamp[@"stampSource"][0]doubleValue],.5));
auto half=DYMaskAtTime(stamp,CMTimeMake(5,1));auto halfSource=DYStampSourceAtTime(stamp,CMTimeMake(5,1));
check(@"manual-repair-and-source-interpolate-between-frames",close(half.centerX,.65)&&close(half.centerY,.55)&&close([halfSource[0]doubleValue],.55)&&close([halfSource[1]doubleValue],.55));
auto halfRef=DYStampReferenceAtTime(stamp,CMTimeMake(5,1));
check(@"reference-follows-manually-corrected-repair",close(halfRef.centerX,.6)&&close(halfRef.centerY,.55)&&close(halfRef.width,.3));
check(@"manual-key-at-existing-time-does-not-duplicate-time",DYAddStampManualKey(stamp,CMTimeMake(10,1))&&[stamp[@"keys"]count]==2&&DYValidToolMask(stamp));
DYStampMotion automatic=linked;automatic.sourceOffsetX=-.2;automatic.sourceOffsetY=-.1;automatic.targetScaleX=automatic.sourceScaleX=1.2;
check(@"automatic-retracking-preserves-manually-authored-source-position",DYMergeTracking(stamp,@[DYStampKey(CMTimeMake(10,1),end,NO,1,automatic)])&&close([DYStampSourceAtTime(stamp,CMTimeMake(10,1))[0]doubleValue],.6)&&close(DYStampMotionAtTime(stamp,CMTimeMake(10,1)).targetScaleX,1.2));
stamp[@"trackingLastTime"]=@[@1001,@24000,@0];stamp[@"trackingStopTime"]=@[@2002,@24000,@0];stamp[@"trackingStopped"]=@YES;stamp[@"status"]=@"已停止:参考区域纹理不足。选择参考或手工关键帧。";
auto last=DYTrackingRecordedTime(stamp,@"trackingLastTime");
check(@"failed-status-and-exact-last-frame-persist-without-new-tracks",DYValidToolMask(stamp)&&CMTimeCompare(last,CMTimeMake(1001,24000))==0);
invalid=DYMutablePlist(stamp);invalid[@"trackingLastTime"]=@[@1,@0,@0];
check(@"invalid-return-frame-time-rejected",!DYValidToolMask(invalid)&&!CMTIME_IS_NUMERIC(DYTrackingRecordedTime(invalid,@"trackingLastTime")));
dy::GrayFrame flat{320,192,std::vector<float>(320*192,.5f)};dy::VisionRegionTracker tracker;
check(@"flat-reference-remains-explicit-insufficient-texture",!tracker.reset(flat,{.5,.5,.4,.4,0})&&tracker.result().failure==dy::TrackFailure::InsufficientTexture);
NSData *data=[NSJSONSerialization dataWithJSONObject:@{@"pass":@(passed),@"scope":@"Production clone state/motion and texture initialization; no continuous Vision registration or host UI",@"results":results} options:NSJSONWritingPrettyPrinted error:nil];
fwrite(data.bytes,1,data.length,stdout);return passed?0:1;
}}
+54
查看文件
@@ -0,0 +1,54 @@
#!/usr/bin/env python3
"""Isolated native clone-state checks; not a replacement for Release/FCP QA."""
import argparse
import json
from pathlib import Path
import subprocess
import sys
import tempfile
ROOT = Path(__file__).resolve().parents[2]
def main():
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument('--output', type=Path)
args = parser.parse_args()
with tempfile.TemporaryDirectory(prefix='dayu-clone-state-') as folder:
executable = Path(folder) / 'clone-state'
command = [
'xcrun', 'clang++', '-std=c++20', '-fno-objc-arc', '-fblocks',
'-mmacosx-version-min=14.6', '-Wno-objc-method-access',
'-F/Library/Developer/SDKs/FxPlug.sdk/Library/Frameworks',
'-framework', 'Cocoa', '-framework', 'CoreMedia',
'-framework', 'Vision', '-framework', 'CoreVideo', '-framework', 'FxPlug',
# Keep unrelated colour-runtime entry points outside this isolated
# executable. An accidental call to them fails the process.
'-Wl,-undefined,dynamic_lookup',
'-Wl,-rpath,/Library/Developer/Frameworks',
str(ROOT / 'tools/tracking/verify_clone_repair.mm'),
str(ROOT / '大鱼调色/Plugin/DYToolState.mm'),
str(ROOT / '大鱼调色/Plugin/DYModel.mm'), '-o', str(executable),
]
built = subprocess.run(command, cwd=ROOT, text=True, capture_output=True)
if built.returncode:
sys.stderr.write(built.stderr)
return built.returncode
checked = subprocess.run([str(executable)], cwd=ROOT, text=True, capture_output=True)
if checked.stderr:
sys.stderr.write(checked.stderr)
if not checked.stdout:
return checked.returncode or 1
report = json.loads(checked.stdout)
report['compileExitCode'] = built.returncode
report['testExitCode'] = checked.returncode
report['hostAcceptance'] = False
data = json.dumps(report, ensure_ascii=False, indent=2) + '\n'
if args.output:
args.output.write_text(data)
print(data, end='')
return 0 if not checked.returncode and report['pass'] else 1
if __name__ == '__main__':
sys.exit(main())
+69
查看文件
@@ -0,0 +1,69 @@
{
"articleID": 15792,
"url": "https://dayu.media/15792/",
"version": "1.22.1",
"build": 133,
"state": "verified",
"requestID": "dayu-color-1221-build133-article15792-content-20261112",
"fields": [
"title",
"content",
"excerpt",
"seo.title.value",
"seo.description.value",
"seo.keywords.value"
],
"previousTitle": "大鱼调色 1.21.8 公测版|多层调色与拖动优化",
"newTitle": "大鱼调色 1.22.1 公测版|在线 LUT 自动预览与统一分类",
"beforeContentSHA256": "8850442b9fb50077e8e995eddd49375bd0725bd964e6ee73d92de6f973890225",
"plannedContentSHA256": "8933fef311bbb1f33f3164f60ee950d214b526b21b06f795e443801fd479b539",
"historicalImagesPreserved": true,
"existingInstallationGuideAndCodePreservedExceptCurrentVersionAndLoginClarification": true,
"packageCheckReference": "verification/Package1.22.1.json",
"downloadReference": "verification/ArticleLink1.22.1.json",
"baselineStoredPrivately": true,
"preparedAt": "2026-11-12T12:07:49.789155+00:00",
"passResult": true,
"status": "publish",
"title": "大鱼调色 1.22.1 公测版|在线 LUT 自动预览与统一分类",
"savedContentSHA256": "8933fef311bbb1f33f3164f60ee950d214b526b21b06f795e443801fd479b539",
"frontend": [
{
"request": "normal",
"status": 200,
"titleSingleAndExact": true,
"descriptionSingleAndExact": true,
"keywordsSingleAndExact": true,
"newUpdateRecordsPresent": true,
"currentVersionAndInstallGuideMatch": true,
"historicalImagesAndCodeBlockPresent": true,
"priceAndMemberDisplayPreserved": true,
"mainPackageURLNotExposed": true
},
{
"request": "fresh",
"status": 200,
"titleSingleAndExact": true,
"descriptionSingleAndExact": true,
"keywordsSingleAndExact": true,
"newUpdateRecordsPresent": true,
"currentVersionAndInstallGuideMatch": true,
"historicalImagesAndCodeBlockPresent": true,
"priceAndMemberDisplayPreserved": true,
"mainPackageURLNotExposed": true
}
],
"preserved": [
"download URL and filename",
"all commercial resource settings",
"author, categories, tags and cover",
"SEO enabled states",
"FCPX settings",
"six historical images",
"all 17 effect names and exact App open command"
],
"downloadURLPreserved": true,
"downloadVerificationReference": "verification/ArticleLink1.22.1.json",
"mainAPPUpdateChannelNotModified": true,
"checkedAt": "2026-11-12T12:08:52.165580+00:00"
}
+53
查看文件
@@ -0,0 +1,53 @@
{
"articleID": 15792,
"url": "https://dayu.media/15792/",
"version": "1.22.2",
"build": 137,
"state": "verified",
"requestID": "dayu-color-1.22.2-b137-20261115",
"status": "publish",
"title": "大鱼调色 1.22.2 公测版|仿制图章修复与简洁主界面",
"beforeContentSHA256": "8933fef311bbb1f33f3164f60ee950d214b526b21b06f795e443801fd479b539",
"savedContentSHA256": "71f22f1bcd46cb6438ad12e04e2f857411834ae17da1e6fbe11be910d96cf4fa",
"payloadSHA256": "633e9b3bc7dabc2f1e969ac36b4641f8c92bb2c781970f2a97cac00341bb1169",
"authenticatedReadbackMatchesPayload": true,
"frontend": [
{
"request": "normal",
"status": 200,
"titleSingleAndExact": true,
"descriptionSingleAndExact": true,
"keywordsSingleAndExact": true,
"newCloneAndCompactUIRecordsPresent": true,
"historicalImagesPresent": true,
"installedAppOpenCommandPresent": true,
"paidPackageURLNotExposed": true,
"priceAndMemberDisplayPresent": true
},
{
"request": "fresh",
"status": 200,
"titleSingleAndExact": true,
"descriptionSingleAndExact": true,
"keywordsSingleAndExact": true,
"newCloneAndCompactUIRecordsPresent": true,
"historicalImagesPresent": true,
"installedAppOpenCommandPresent": true,
"paidPackageURLNotExposed": true,
"priceAndMemberDisplayPresent": true
}
],
"preserved": [
"commercial rules and member access",
"author, categories, tags, cover",
"FCPX product settings",
"SEO switches",
"six historical images",
"historical version records and installation code command"
],
"downloadVerificationReference": "verification/ArticleLink1.22.2.json",
"mainAPPUpdateChannelNotModified": true,
"knownSeekLimitationDisclosed": true,
"baselineStoredPrivately": true,
"passResult": true
}
+63
查看文件
@@ -0,0 +1,63 @@
{
"articleID": 15792,
"articleURL": "https://dayu.media/15792/",
"intent": "Update main resource URL and original download filename only; preserve article text and commercial settings",
"previousDownloadURL": "https://dayu.media/wp-content/uploads/dayu-color-beta/updates/dayu-color-1-21-8-126.pkg",
"previousFilename": "大鱼调色-1.21.8.pkg",
"newPackage": "大鱼调色-1.22.1.pkg",
"bytes": 44557648,
"sha256": "a5f5a335f7f1d3d8c42f829da941da75dcfd974febcc75d16cab26499c757663",
"beforeContentSHA256": "8850442b9fb50077e8e995eddd49375bd0725bd964e6ee73d92de6f973890225",
"beforeSnapshotStoredPrivately": true,
"requestID": "dayu-color-1221-build133-article15792-link-20261112",
"state": "verified",
"observedAt": "2026-11-12T09:47:25.571014+00:00",
"articleStatus": "publish",
"articleTitle": "大鱼调色 1.21.8 公测版|多层调色与拖动优化",
"titleAndContentPreserved": true,
"allCommercialAndResourceFieldsPreservedExcept": [
"cao_downurl",
"cao_original_filename"
],
"seoPreserved": true,
"authorCategoriesTagsAndCoversPreserved": true,
"fcpxConfigurationPreserved": true,
"downloadURL": "https://dayu.media/wp-content/uploads/2026/11/1794476859-979a88b6cac1538.pkg",
"originalFilename": "大鱼调色-1.22.1.pkg",
"fullPackageDownloadVerified": true,
"downloadedBytes": 44557648,
"downloadedSHA256": "a5f5a335f7f1d3d8c42f829da941da75dcfd974febcc75d16cab26499c757663",
"downloadSignatureAndGatekeeperPassed": true,
"downloadStaplerValid": true,
"attachmentID": 15979,
"checkedAt": "2026-11-12T09:50:44.948567+00:00",
"frontend": [
{
"request": "normal",
"status": 200,
"titleAndSEOUnchanged": true,
"priceAndMemberDisplayPreserved": true,
"mainPackageURLNotExposed": true,
"installGuideAndCodeBlockPresent": true
},
{
"request": "fresh",
"status": 200,
"titleAndSEOUnchanged": true,
"priceAndMemberDisplayPreserved": true,
"mainPackageURLNotExposed": true,
"installGuideAndCodeBlockPresent": true
}
],
"passResult": true,
"attachmentReadback": "Authenticated WordPress media REST limited to parent 15792",
"downloadVersion": "1.22.1",
"appBuild": 133,
"downloadTemporaryCopyRemoved": true,
"articleTextAndVersionLabelsNotEdited": true,
"mainAPPUpdateChannelNotModified": true,
"updateChannelReadback": {
"version": "1.21.8",
"build": 126
}
}
+27
查看文件
@@ -0,0 +1,27 @@
{
"passResult": true,
"postID": 15792,
"articleURL": "https://dayu.media/15792/",
"version": "1.22.2",
"build": "137",
"originalFilename": "大鱼调色-1.22.2.pkg",
"bytes": 44570793,
"sha256": "237baadbdfdfdf77de8529e9e05602f1ddecf5943f44d0fe80ae0a4c3eef5843",
"fullPackageDownloadVerified": true,
"signatureVerified": true,
"stapledTicketVerified": true,
"gatekeeperVerified": true,
"resourceChanges": [
"cao_downurl",
"cao_original_filename"
],
"priceAndMemberAccessPreserved": true,
"authorCategoriesTagsAndCoverPreserved": true,
"paidPackageURLKeptOutOfPublicBody": true,
"verificationCopy": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/article-package-1.22.2-verified.pkg",
"attachmentID": 15986,
"downloadURL": "https://dayu.media/wp-content/uploads/2026/11/1794674439-0efe30ed79a880e.pkg",
"attachmentReadback": "Authenticated WordPress media REST limited to parent 15792",
"mainAPPUpdateChannelNotModified": true,
"downloadTemporaryCopyRemoved": true
}
+28
查看文件
@@ -0,0 +1,28 @@
{
"passResult": true,
"removedOrVerifiedAbsent": [
"/Library/Plug-Ins/FxPlug/.dayu-color-formal-before-debug-8c17779060fb4b7a9b346754e5792616.app",
"/Library/Plug-Ins/FxPlug/.dayu-color-previous-f7b778a9a3564b7085a2890067351436.app",
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/DerivedData/Build/Products/Release/大鱼调色.app",
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/DerivedData/Build/Products/Release/大鱼调色 XPC Service.pluginkit",
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/notarization-submission.zip"
],
"retained": [
"/Library/Plug-Ins/FxPlug/大鱼调色.app",
"/Users/mac/Movies/大鱼调色LUT",
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/fcp-qa/大鱼调色_验收.fcpbundle"
],
"scope": "Current delivery-generated APPs and notary ZIP only. Existing historical PKGs and user LUTs retained.",
"registry": " com.dayu.color.XPC(1.1)\tB7D6A7FB-8F55-4F73-9823-6B40F13D2831\t2026-11-11 14:36:15 +0000\t/Library/Plug-Ins/FxPlug/大鱼调色.app/Contents/PlugIns/大鱼调色 XPC Service.pluginkit\n (1 plug-in)\n",
"downloadAndTemporaryScriptRemoved": [
"/Volumes/备份/大鱼调色-1.22.1.pkg",
"/Volumes/备份/大鱼调色-1.22.1 (1).pkg",
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/pkg-apple-route-session.py"
],
"onlyCurrentProductAppAtFormalPluginRoot": [
"/Library/Plug-Ins/FxPlug/大鱼调色.app"
],
"finalPackageRetained": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.1.pkg",
"privateProxyBackupRemoved": true,
"independentRecoveryCloneRemoved": true
}
+60
查看文件
@@ -0,0 +1,60 @@
{
"removedKnownPriorCandidates": [
{
"path": "/Library/Plug-Ins/FxPlug/.dayu-color-previous-a0689abb9d1d4c429f644dd790d6fcdd.app",
"build": "133"
},
{
"path": "/Library/Plug-Ins/FxPlug/.dayu-color-previous-f6c8d986c68d4ba79273397851b7c821.app",
"build": "134"
},
{
"path": "/Library/Plug-Ins/FxPlug/.dayu-color-previous-6372507274eb4536834cecf96078d312.app",
"build": "135"
}
],
"formalBuild": 137,
"generatedAppAndLoosePluginRemovedByDelivery": true,
"notarySubmissionZipRemoved": true,
"scope": "Current task generated copies identified by delivery records and bundle metadata",
"verifiedAt": "2026-11-14T16:44:45.617449+00:00",
"finalScopedScan": {
"roots": [
"/Library/Plug-Ins/FxPlug",
"/Applications",
"/Users/mac/Applications",
"/Users/mac/Library/Plug-Ins/FxPlug",
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color",
"/Volumes/备份/大鱼调色",
"/Users/mac/Downloads",
"/Users/mac/Desktop"
],
"matchingOuterApps": [
{
"path": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
"version": "1.22.2",
"build": "137"
}
]
},
"verificationDownloadsAndHelperRemoved": [
"/Volumes/备份/大鱼调色-1.22.2.pkg",
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/article-package-1.22.2-verified.pkg",
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/simplify-wrapper.py"
],
"temporaryPackageInputAndRecoveryDirectoriesAbsent": true,
"originalHistoricalPackagesAndQALibraryPreserved": true,
"privateProxyBackupRemoved": true,
"finalInstalledIdentity": {
"bundleID": "com.dayu.color",
"version": "1.22.2",
"build": "137"
},
"currentProductProcesses": [
"88161 /Library/Plug-Ins/FxPlug/大鱼调色.app/Contents/MacOS/大鱼调色",
"88271 /Library/Plug-Ins/FxPlug/大鱼调色.app/Contents/PlugIns/大鱼调色 XPC Service.pluginkit/Contents/MacOS/大鱼调色 XPC Service"
],
"uniquePluginKitRegistration": [
"com.dayu.color.XPC(1.1)\t325C3B9B-4CDA-4C3B-B517-12102A33BB05\t2026-11-14 16:14:17 +0000\t/Library/Plug-Ins/FxPlug/大鱼调色.app/Contents/PlugIns/大鱼调色 XPC Service.pluginkit"
]
}
文件差异过大,未显示。 加载差异
+152
查看文件
@@ -0,0 +1,152 @@
{
"recordedAt": "2026-11-14T16:50:15.288928+08:00",
"status": "Source implementation and isolated checks complete; Release/FCP acceptance and publication NOT COMPLETE",
"userAuthorization": "Fix clone stamp tracking and guidance; update online package/article only after acceptance. No further confirmation is needed within this authorized sequence.",
"baseCommit": "5a10408557cf4bb7dd96477ecc72829f48242a07",
"installedVersion": "1.22.1",
"installedBuild": "133",
"productVersionBumped": false,
"newReleaseCompiledSource": null,
"releaseTag": null,
"notarizedOrInstalled": false,
"implementation": [
"New stamps use linked-source tracking by default; legacy documents retain independent semantics with an explicit mode selector.",
"A separate rectangle on the same surface can drive a small repair ellipse. Selecting reference does not enlarge the repaired pixels; normalized offset mapping accounts for image aspect, translation and X/Y scale.",
"Canvas shows creation/edit guidance, failure reason, stop time, last credible time and concrete reference/manual actions. Failure is persisted even with zero new keys.",
"Last credible frame navigation maps input time through the host timing API; manual entry works before any automatic track.",
"Source drag with existing keys now authors only the current source position; earlier frames stay fixed. Manual source positions survive subsequent automatic tracking while automatic scales can still update.",
"A bidirectional loss stops instead of reporting forward completion; 30 seconds without another host frame produces an explicit stop message.",
"Workspace preserves a final result pane even if the first frame fails before the initial running update.",
"Tiny repair ellipses can select a substantially larger/distant reference within the same frame; reference ratios accommodate the full frame at minimum repair size."
],
"sourceSHA256": {
"大鱼调色/Plugin/DYColorWorkspace.mm": "b00b8e1727fc5398faa1aeee6c5a0a05d9e63e76a010b4180d9558392a7f1da4",
"大鱼调色/Plugin/DYMaskPanel.inc.h": "ba31ac3dbe4abb4b0d784e19629c357e9509941aa080f81c922bac071b7f5184",
"大鱼调色/Plugin/DYPlugIn.mm": "67c0b8e7753371c3a9164cf1149e501056f288158824173c8e747f7f5c00e32a",
"大鱼调色/Plugin/DYToolCanvasEditing.inc.h": "58c38f3ddebf4da2b14da652499f117d5bc2c31a407078608bdabf2bed2807cc",
"大鱼调色/Plugin/DYToolHostDeclarations.inc.h": "0b0879931028c6240006f5469f19a1590e80fe3051a0c9271ef643c1c999a011",
"大鱼调色/Plugin/DYToolHostIvars.inc.h": "43c08958267e93756a34914c511dd3fb60d5976953b337e6978963bbcb1eb80d",
"大鱼调色/Plugin/DYToolHostMethods.inc.h": "3cbc68fb7ffabe52b13ca6e3d4cedace8f930793eeb34cb5594d5c0864dbd088",
"大鱼调色/Plugin/DYToolOSC.inc.h": "b5049169184f8d4240ffb809fdf86df224e2a7dc6a1d5fb5bb92a73815437b8b",
"大鱼调色/Plugin/DYToolState.h": "0dac1087c4c5e18b43b674ff50b7be5a9b47a151401d87ca7adc1b72908bdec0",
"大鱼调色/Plugin/DYToolState.mm": "5ea14fa293a881cccd9a7f56f7126ea5d0c4f81217a788a06d94ea2825404688",
"大鱼调色/Plugin/DYToolTrackingDiagnostics.inc.h": "843bfca0496d412e571b53e87cdd7317a9d4597bc4a716068e0264a75465cc80",
"大鱼调色/Plugin/DYToolTrackingProbe.inc.h": "11512b7ac0bd562e87b05163a42b19a7cf9b0a26b37d68e64fc1e044921e8a64",
"大鱼调色/Plugin/DYTrackingPreview.inc.h": "647b575d9b188b1a5676d715a52f3e66fab3d422a55c442b0df435bfe5300f57",
"大鱼调色/Plugin/MaskCore/DYCloneTracking.hpp": "549602828e11fa624cc70eadeb9f09e5611c59ae78090ace0e40fcf709027468",
"tools/tracking/verify_clone_repair.mm": "c0008e7e2b7546ba578a3cd86c6f141ca58640e36981b60f150d13be333e320b",
"tools/tracking/verify_clone_repair.py": "3046a3efdca8a1b14f0d914a9abbd5dfd92273866dca3b01d7e06d8ab1810920"
},
"isolatedChecks": {
"report": "verification/CloneRepairState-20261114.json",
"pass": true,
"count": 24,
"scope": "Production clone state/motion and texture initialization; no continuous Vision registration or host UI",
"runner": "python3 tools/tracking/verify_clone_repair.py --output verification/CloneRepairState-20261114.json"
},
"sourceCompilation": [
{
"file": "DYPlugIn.mm",
"exitCode": 0,
"errors": []
},
{
"file": "DYInspector.mm",
"exitCode": 0,
"errors": []
},
{
"file": "DYColorWorkspace.mm",
"exitCode": 0,
"errors": []
},
{
"file": "DYDiagnostics.mm",
"exitCode": 0,
"errors": []
},
{
"file": "DYPlugIn.mm",
"phase": "final source syntax after added host tests",
"exitCode": 0,
"errors": []
},
{
"file": "DYDiagnostics.mm",
"phase": "final source syntax after added host tests",
"exitCode": 0,
"errors": []
},
{
"file": "DYPlugIn.mm",
"phase": "final status wording and workspace cleanup",
"exitCode": 0,
"errors": []
},
{
"file": "DYColorWorkspace.mm",
"phase": "final status wording and workspace cleanup",
"exitCode": 0,
"errors": []
}
],
"addedNativeHostChecks": {
"count": 9,
"names": [
"clone-last-trusted-button-maps-input-time-to-host-timeline",
"linked-clone-tracks-with-completely-flat-clean-source",
"flat-small-repair-can-follow-separate-surface-reference",
"clone-first-frame-failure-persists-canvas-reason-without-keys",
"clone-bidirectional-first-loss-is-not-labelled-forward-complete",
"clone-manual-key-command-starts-after-zero-frame-failure",
"clone-manual-source-drag-keys-current-frame-without-moving-earlier-source",
"clone-manual-target-correction-preserves-source-key-at-same-frame",
"clone-reference-draw-gesture-preserves-repair-and-manual-keys"
],
"executed": false,
"reason": "Requires completed formal Release build, working GPU/Vision and installed-product self-test."
},
"fullXcodeBuild": {
"exitCode": 65,
"configuration": "Release",
"purpose": "Compilation validation only; signing disabled, no installation or launch. Task-owned /tmp build directory will be removed.",
"blockingError": "cannot execute tool 'metal' due to missing Metal Toolchain",
"note": "An existing Metal toolchain executable from the prior build log is readable and reports its version, but current Xcode discovery did not use it. Do not diagnose this as a newly proven missing installation. Existing CMS build scripts also use protected cache locations; no product build scripts or system toolchain configuration were changed."
},
"formalDeliveryGate": {
"lockAvailable": false,
"error": "[Errno 1] Operation not permitted: '/Users/mac/.codex/app-delivery-locks/com.dayu.color.lock'"
},
"gitCheckpoint": {
"staged": false,
"committed": false,
"pushed": false,
"lockAvailable": false,
"lockError": "[Errno 1] Operation not permitted: '/Users/mac/.codex/git-backup-locks/d22eb11b96e9de5ccebe32e2af005ad1b92aedffed8b5fef62656f50cc90aa7a.lock'",
"remoteReadbackExitCode": 128,
"remoteReadbackError": "fatal: unable to access 'https://dayu.media/git/dayu/dayu-color.git/': Could not resolve host: dayu.media"
},
"acceptance": {
"formalInstallSelfTest": false,
"FCP": false,
"Motion": false,
"userFootage": false,
"newPackage": false,
"releaseUpload": false,
"articleUpdate": false,
"appUpdateChannelChanged": false
},
"publicationDraft": "Packaging/release-notes-clone-repair-pending.md",
"knownLimits": [
"Clone rendering still applies its existing position and axis scales; full projective/rotational patch rendering is outside this change.",
"Reference selection requires a suitable texture on the same moving surface; unsupported motion is stopped rather than invented.",
"Canvas layout, host error lifecycle, undo, cold reopen and actual motion still require formal installed FCP acceptance.",
"Previous audit Vision registration failed with com.apple.Vision code 8 / Failed to create CVPixelBuffer in this session; this turn does not claim new continuous-registration coverage."
],
"nextStep": "Restore a session that permits the existing Git/delivery locks, build cache, signing/notarization, formal installation and network. Review the source diff, commit/push under the repository lock, assign an unused next version, build via tools/deliver.py, run formal native+FCP acceptance, then package/release and update article 15792 against its latest live baseline.",
"temporaryCompiledProductsRemoved": [
"/tmp/dayu-color-clone-build",
"/tmp/dayu-clone-fix-baseline-y58llts5",
"/tmp/dayu-clone-repair-test"
]
}
@@ -0,0 +1,91 @@
{
"checkedAt": "2026-11-14T22:42:17.257325+08:00",
"scope": "Compile unchanged production shader inputs using the existing installed Metal binaries selected explicitly for this diagnostic only. No APP build, signing, installation, host acceptance or publication.",
"pass": true,
"toolchain": "/var/run/com.apple.security.cryptexd/mnt/com.apple.MobileAsset.MetalToolchain-v27.1.266.1.T1KMQ5/Metal.xctoolchain",
"earlierAttempt": {
"pass": false,
"commands": [
{
"tool": "metal-opt",
"exitCode": 0,
"diagnostics": ""
},
{
"tool": "metal-opt",
"exitCode": 0,
"diagnostics": ""
},
{
"tool": "metal-opt",
"exitCode": 0,
"diagnostics": ""
},
{
"tool": "metal-opt",
"exitCode": 0,
"diagnostics": ""
},
{
"tool": "metal-opt",
"exitCode": 0,
"diagnostics": ""
},
{
"tool": "metal",
"exitCode": 1,
"diagnostics": "error: unable to open output file '/Users/mac/.cache/clang/ModuleCache/1XHQ4VUOULIN0/metal_types-3D8SHXEB7CY9P.pcm': 'Operation not permitted'\n<built-in>:1:10: fatal error: could not build module 'metal_types'\n#include \"metal_types\"\n ~~~~~~~~^~~~~~~~~~~~~\nerror: unable to open output file '/Users/mac/.cache/clang/ModuleCache/1XHQ4VUOULIN0/metal_stdlib-3D8SHXEB7CY9P.pcm': 'Operation not permitted'\nerror: unable to open output file '/Users/mac/.cache/clang/ModuleCache/1XHQ4VUOULIN0/simd_simd_h-3D8SHXEB7CY9P.pcm': 'Operation not permitted'\n4 errors generated.\n"
}
],
"error": "Command '['/var/run/com.apple.security.cryptexd/mnt/com.apple.MobileAsset.MetalToolchain-v27.1.266.1.T1KMQ5/Metal.xctoolchain/usr/bin/metal', '-std=metal3.1', '-mmacosx-version-min=14.6', '-c', '/Volumes/备份/大鱼调色/大鱼调色/大鱼调色/Plugin/DYGrade.metal', '-o', '/private/var/folders/7k/rzlzc30s5r3641f3qhbrw5xw0000gn/T/dayu-clone-release-kernels-undsxcku/intermediates/DYGradeWrapper.air']' returned non-zero exit status 1."
},
"commands": [
{
"tool": "metal-opt",
"exitCode": 0,
"diagnostics": ""
},
{
"tool": "metal-opt",
"exitCode": 0,
"diagnostics": ""
},
{
"tool": "metal-opt",
"exitCode": 0,
"diagnostics": ""
},
{
"tool": "metal-opt",
"exitCode": 0,
"diagnostics": ""
},
{
"tool": "metal-opt",
"exitCode": 0,
"diagnostics": ""
},
{
"tool": "metal",
"exitCode": 0,
"diagnostics": ""
},
{
"tool": "metal",
"exitCode": 0,
"diagnostics": ""
},
{
"tool": "metallib",
"exitCode": 0,
"diagnostics": ""
}
],
"bytes": 961236,
"sha256": "5acc6fc7abda835021b38455dcd4ee582691d31869ed2cf844a1ca0e933dc8cc",
"explicitDiagnosticSelection": {
"tools": "Existing Metal toolchain binaries",
"moduleCache": "Task-owned temporary directory via -fmodules-cache-path; no system or project configuration modified"
},
"temporaryProductsRemovedOnExit": true
}
+105
查看文件
@@ -0,0 +1,105 @@
{
"pass": true,
"scope": "Production clone state/motion and texture initialization; no continuous Vision registration or host UI",
"results": [
{
"name": "legacy-stamp-keeps-independent-tracking",
"pass": true
},
{
"name": "linked-stamp-mode-survives-property-list-roundtrip",
"pass": true
},
{
"name": "invalid-tracking-mode-rejected",
"pass": true
},
{
"name": "reference-selection-accepts-nearby-surface-texture",
"pass": true
},
{
"name": "reference-does-not-enlarge-or-move-repair",
"pass": true
},
{
"name": "reference-restores-selected-rectangle",
"pass": true
},
{
"name": "tiny-blemish-can-use-large-distant-reference-on-same-surface",
"pass": true
},
{
"name": "invalid-reference-does-not-overwrite-existing-reference",
"pass": true
},
{
"name": "reference-and-mode-persist-on-cold-read",
"pass": true
},
{
"name": "linked-clean-source-follows-reference-translation",
"pass": true
},
{
"name": "separate-reference-transfers-anisotropic-scale",
"pass": true
},
{
"name": "offset-centre-uses-image-aspect-during-rotation",
"pass": true
},
{
"name": "linked-source-leaving-frame-is-explicit-loss",
"pass": true
},
{
"name": "invalid-reference-result-is-never-used",
"pass": true
},
{
"name": "invalid-image-aspect-is-never-used",
"pass": true
},
{
"name": "manual-key-can-be-created-before-any-automatic-track",
"pass": true
},
{
"name": "manual-end-key-retains-original-sampling-origin",
"pass": true
},
{
"name": "manual-repair-and-source-interpolate-between-frames",
"pass": true
},
{
"name": "reference-follows-manually-corrected-repair",
"pass": true
},
{
"name": "manual-key-at-existing-time-does-not-duplicate-time",
"pass": true
},
{
"name": "automatic-retracking-preserves-manually-authored-source-position",
"pass": true
},
{
"name": "failed-status-and-exact-last-frame-persist-without-new-tracks",
"pass": true
},
{
"name": "invalid-return-frame-time-rejected",
"pass": true
},
{
"name": "flat-reference-remains-explicit-insufficient-texture",
"pass": true
}
],
"compileExitCode": 0,
"testExitCode": 0,
"hostAcceptance": false
}
@@ -0,0 +1,174 @@
{
"auditedAt": "2026-11-14T16:23:56.784740+08:00",
"scope": "Current clone-stamp implementation and guidance audit; no product code, binary, installation or release changes; no user footage/host UI reproduction.",
"workspaceCommit": "5a10408557cf4bb7dd96477ecc72829f48242a07",
"installedVersion": "1.22.1",
"installedBuild": 133,
"releaseBuildSource": "7f833757da243f2a4610c23c36ec278b44c80ad4",
"auditedSourcesEqualReleaseBuildSource": true,
"sourceSHA256": {
"大鱼调色/Plugin/DYToolHostMethods.inc.h": "2d1c459c3b05341391e8659620d47a0d81f8f30839237f526a784d0f2f6dc8c1",
"大鱼调色/Plugin/DYToolHostIvars.inc.h": "2ad1490d8eb35c2fc97bca635363af4148b81a1dc9f6b7ae27003a1862688d2f",
"大鱼调色/Plugin/MaskCore/DYVisionRegionTracker.hpp": "a5a429cc69169e1c4a182e84051bba5a1d4c3736188bd51fed3cb18dcfd5f6f3",
"大鱼调色/Plugin/DYToolOSC.inc.h": "94187eb5ce03fa9a8613b46744ca23e5ef76712112a81ecc4d768fd9fcfc1fdc",
"大鱼调色/Plugin/DYToolState.mm": "c36d2e91353f2b179be5a9df8c248ce34dbfb7e73cba913754f9d1675f2a3375",
"大鱼调色/Plugin/DYToolCanvasEditing.inc.h": "8ac846d635ac9460821a9a8142944a09f2b536e745197c30f50e5cdc5aed161e",
"大鱼调色/Plugin/DYMaskPanel.inc.h": "ec69e5777d2e87ed2eb58a401b24d9edf5e574d066470a96e5aacd8f97079a65",
"大鱼调色/Plugin/DYTrackingPreview.inc.h": "6e54b64787a5d3b7f1d14f6517cfc67260ea335a7ca174b40ae9d3d8c81d9924",
"大鱼调色/Plugin/DYGrade.metal": "46618360efdceaf1a9819147cc0b96358babc887fdc36a632e8e5bb70f2d6d0e"
},
"findings": [
"DYToolHostIvars uses two VisionRegionTracker instances for target and source. Mosaic uses a separate object tracker; stamp has no object-recovery fallback.",
"Vision homographic registration estimates local motion. Confidence uses grayscale sample correlation inside the actual polygon. Initial per-sample variance must be at least 0.0004; tracking correlation must be at least 0.65 and valid sample count at least 60 percent.",
"Both target and source reset must succeed; either tracker loss stops the pair. Rendered stamp consumes center and X/Y scales; stamp angle is zero, with no full homography applied to patch rendering.",
"GPU copies original pixels from the current frame with ellipse feather and strength; no content synthesis, inpainting, frozen reference frame or automatic brightness match.",
"Creation canvas has two-step hints. Saved stamp canvas controls display tracking direction/stop; toolCanvasMaskAtTime carries no failure reason to drawStampControls.",
"Failure strings are sent to workspace/panel status. A durable mask status is written only when trajectory keys changed and the candidate is saved; initial texture failure has no durable status. Early completion/UI-open timing is a possible visibility gap, not reproduced in FCP this round.",
"maskKeySpan clamps geometry and source motion at trajectory endpoints. Continuing playback after a partial track holds the endpoint, which can look like a frozen patch.",
"Continuous tracking leaves timeline playhead at the seed; only successful single-frame mode seeks. Existing instruction to continue from here does not navigate to the failure/last confirmed time.",
"No separate tracking ROI, linked source mode, automatic nearby reference selection or first-time manual-keyframe authoring UI. Canvas geometry edits create manual keys only if keys already exist."
],
"flatSeedProbe": {
"pass": true,
"cases": [
{
"flatSource": true,
"sourceFailure": 2,
"sourceSeeded": false,
"mode": 0,
"flatTarget": true,
"targetFailure": 2,
"pairCanStart": false,
"pass": true,
"targetSeeded": false
},
{
"flatSource": false,
"sourceFailure": 0,
"sourceSeeded": true,
"mode": 1,
"flatTarget": true,
"targetFailure": 2,
"pairCanStart": false,
"pass": true,
"targetSeeded": false
},
{
"flatSource": true,
"sourceFailure": 2,
"sourceSeeded": false,
"mode": 2,
"flatTarget": false,
"targetFailure": 0,
"pairCanStart": false,
"pass": true,
"targetSeeded": true
},
{
"flatSource": false,
"sourceFailure": 0,
"sourceSeeded": true,
"mode": 3,
"flatTarget": false,
"targetFailure": 0,
"pairCanStart": true,
"pass": true,
"targetSeeded": true
}
]
},
"flatSeedProbeScope": "Four synthetic 320x192 frames, source left and target right, .32x.54 elliptical ROI. Tests reset only, matching current pair initialization. Source/target flat halves set to 0.5; textured halves use existing verify_vision_regions fixture. Not a user-footage or host timing test.",
"existingVisionSuite": {
"pass": false,
"milliseconds": 60.46325,
"results": [
{
"steps": [
{
"angle": 0,
"confidence": 1,
"cy": 0.5,
"sx": 1,
"valid": false,
"i": 1,
"failure": 3,
"sy": 1,
"cx": 0.5
}
],
"flatLossPass": false,
"mode": 0,
"geometryPass": false
},
{
"steps": [
{
"angle": 0,
"confidence": 1,
"cy": 0.5,
"sx": 1,
"valid": false,
"i": 1,
"failure": 3,
"sy": 1,
"cx": 0.5
}
],
"flatLossPass": false,
"mode": 1,
"geometryPass": false
},
{
"steps": [
{
"angle": 0,
"confidence": 1,
"cy": 0.5,
"sx": 1,
"valid": false,
"i": 1,
"failure": 3,
"sy": 1,
"cx": 0.25
}
],
"flatLossPass": false,
"mode": 2,
"geometryPass": false
},
{
"steps": [
{
"angle": 0,
"confidence": 1,
"cy": 0.5,
"sx": 1,
"valid": false,
"i": 1,
"failure": 3,
"sy": 1,
"cx": 0.75
}
],
"flatLossPass": false,
"mode": 3,
"geometryPass": false
}
]
},
"existingVisionSuiteStatus": "NOT PASSED in this execution environment. All four modes seed but stop at first registration with TrackFailure::Backend. Diagnostic copy prints com.apple.Vision code=8 Failed to create CVPixelBuffer; not evidence of a regression in the unchanged installed product.",
"visionBackendDiagnostic": "sysctlbyname for kern.hv_vmm_present failed with status -1Vision NSError domain=com.apple.Vision code=8 description=Failed to create CVPixelBuffer\n",
"recommendedFollowup": [
"Persistent canvas explanation: which region, stopped time and last confirmed time, saved result, and a concrete next step; clear running/stopped state and texture warning before analysis.",
"Decouple repair ellipse and tracking reference ROI on the same moving surface; keep a small clean patch while tracking larger suitable detail.",
"Add linked-source motion and explicit independent-source option; image-fixed defects can use a fixed untracked stamp.",
"Add first-time manual keyframes and a last-confirmed-frame navigation action. No claim these options already exist."
],
"remoteReadback": "git ls-remote origin main failed: Could not resolve host: dayu.media",
"delivery": "Investigation only; plugin remains 1.22.1 (133).",
"gitCheckpoint": {
"committed": false,
"pushed": false,
"reason": "Repository backup lock creation under /Users/mac/.codex/git-backup-locks was denied (Operation not permitted) in this session. No git add/commit/push mutation ran. Remote readback separately failed DNS resolution for dayu.media."
}
}
+29
查看文件
@@ -0,0 +1,29 @@
{
"passResult": true,
"version": "1.22.2",
"build": 135,
"formalPath": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
"sourceCommit": "57a983028055992c1dac55a3d6b73c874076e365",
"observed": [
"Four compact cards visible together in the default 840 by 620 content window",
"Removed promotional feature cards, duplicate headings and persistent explanatory paragraphs",
"Signed-in account shows refresh/logout; duplicate login button is hidden",
"Registration and update progress bars hidden after completion; unavailable update-install action hidden",
"Usage, online-LUT permission/preview and diagnostic-privacy sheets open and dismiss correctly",
"Plugin status is connected; registration recheck returns to connected"
],
"limitations": [
"Unbound-account interactive login and an available-update download were not exercised by this layout check"
],
"verifiedAt": "2026-11-14T15:41:08.026294+00:00",
"finalVersion": "1.22.2",
"finalBuild": 137,
"wrapperSHA256": "ea7c4e08d1f477b13b5c50f9f2bbdb8448777a50a906f6e74b94a5b677c8d87e",
"finalWrapperMatchesVisuallyTestedBuild135": true,
"finalInstalled137VisualRecheck": {
"versionLabel": "1.22.2 · 137",
"fourCardsVisibleWithoutScrolling": true,
"longExplanationsMovedToHelpAndInfoSheets": true,
"scope": "Observed final installed AppKit window after package and publication checks"
}
}
+20
查看文件
@@ -0,0 +1,20 @@
{
"debugInstalled": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
"debugRemainsByExplicitUserAuthorization": true,
"userConfirmedWorking": true,
"formalRollback": "/Library/Plug-Ins/FxPlug/.dayu-color-formal-before-debug-8c17779060fb4b7a9b346754e5792616.app",
"formalRollbackBuild": "131",
"formalRollbackSignatureAndStapleValidated": true,
"removedTaskGeneratedPaths": [
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/Recovery/lut-unified",
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/fcp-qa/lut-unified-133",
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verify-online-unified",
"/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verify-local-unified"
],
"debugBuildAPPRemoved": true,
"debugLooseServiceRemoved": true,
"retainedPendingNotaryAPP": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/DerivedData/Build/Products/Release/大鱼调色.app",
"retainedOriginalSubmissionZIP": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/notarization-submission.zip",
"submissionZIPMatchesOriginal": true,
"remainingCleanup": "After notarized Release acceptance/installation, remove temporary Debug APP and original 131 rollback, then clean pending Release build product and submission ZIP."
}
+6 -2
查看文件
@@ -9,10 +9,14 @@
"sourceCommit": "7f833757da243f2a4610c23c36ec278b44c80ad4",
"path": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
"formalRollback": "/Library/Plug-Ins/FxPlug/.dayu-color-formal-before-debug-8c17779060fb4b7a9b346754e5792616.app",
"pendingReleaseNotary": "0a1d2d49-1a03-4cd4-acbe-ba37f1fee42d",
"pendingReleaseNotary": "ae55bcd2-d131-4ef2-8733-405e28d92f7e",
"signatureVerified": true,
"pluginKitUniquePath": true,
"cleanup": "Remove this temporary Debug APP when user testing ends or replace with the notarized Release; preserve the formal rollback until then.",
"userConfirmation": "我已测试可行",
"hostObserved": "FCP shows 1233 online LUTs, populated effect thumbnails, original/styled comparison, unified sidebar and second-level local categories."
"hostObserved": "FCP shows 1233 online LUTs, populated effect thumbnails, original/styled comparison, unified sidebar and second-level local categories.",
"releaseNotaryStatus": "Accepted",
"currentlyInstalled": false,
"exceptionEnded": true,
"replacedBy": "verification/Delivery1.22.1.json"
}
+14
查看文件
@@ -0,0 +1,14 @@
{
"pass": true,
"remote": "https://dayu.media/git/dayu/dayu-color.git",
"tag": "debug/v1.22.1-build133-20261111",
"tagCommit": "46d7ff7bbc9de3cf3bec63f1f8fe39fcbdbe0b67",
"compiledSource": "7f833757da243f2a4610c23c36ec278b44c80ad4",
"independentHTTPSClone": true,
"filesByteMatched": 927,
"appBuildInputsMatchCompiledSource": true,
"gitFsckPassed": true,
"lfsPointers": [],
"submodules": [],
"scope": "User-accepted temporary Debug checkpoint; notarized Release and package are pending."
}
@@ -0,0 +1,8 @@
{
"tag": "debug/v1.22.1-build133-20261111",
"checkpointCommit": "46d7ff7bbc9de3cf3bec63f1f8fe39fcbdbe0b67",
"compiledSource": "7f833757da243f2a4610c23c36ec278b44c80ad4",
"remote": "https://dayu.media/git/dayu/dayu-color.git",
"remoteVerified": true,
"kind": "User-accepted temporary local Debug checkpoint; not a notarized Release."
}
+12 -6
查看文件
@@ -2,13 +2,14 @@
"status": "verified",
"path": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
"bundleID": "com.dayu.color",
"version": "1.22.0",
"build": "131",
"version": "1.22.2",
"build": "137",
"team": "B3W25FX5H5",
"notaryID": "1e57ee70-d099-4942-91fd-29a2d5f47a44",
"notaryID": "3179c5f6-282e-45bd-b617-929f5230a9fa",
"notaryStatus": "Accepted",
"gatekeeper": "/Library/Plug-Ins/FxPlug/大鱼调色.app: accepted\nsource=Notarized Developer ID",
"sourceCommit": "d979f8958caf36cc7b97ea838960c69f7fbb4d91",
"sourceCommit": "aa60572b517ba7dd8fbd9d2f0d46bd810cc3e1a6",
"deliveryToolCommit": "aa60572b517ba7dd8fbd9d2f0d46bd810cc3e1a6",
"templatePath": "/Users/mac/Movies/Motion Templates.localized/Effects.localized/大鱼调色/大鱼调色/大鱼调色.moef",
"templateSHA256": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
"installedTemplateSHA256": {
@@ -64,6 +65,11 @@
"CST 色彩空间转换/large.png": "816db272970491181aca4b872f09ca1900ebf0e7f21fee5bd6e2b4daedea5306",
"CST 色彩空间转换/small.png": "677353684eeaa1986bd21580eb0f2dcf4486f8cfba3985686c2ecb67afed5dbc"
},
"shaderSHA256": "5acc6fc7abda835021b38455dcd4ee582691d31869ed2cf844a1ca0e933dc8cc",
"hostVerification": "verification/HostOnlineLUT1.22.0.json"
"shaderSHA256": "4a57e377b6b28ee7d042f0ed46d619e6694bff25a79aebcfd93047090c3000bc",
"hostVerification": "verification/HostClone1.22.2.json",
"installedSelfTestChecks": 1037,
"wrapperVerification": "verification/CompactUI1.22.2.json",
"knownLimitations": [
"FCP automatic last-trusted-frame navigation returned NO; manual timestamp positioning is available."
]
}
+72
查看文件
@@ -0,0 +1,72 @@
{
"status": "verified",
"path": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
"bundleID": "com.dayu.color",
"version": "1.22.1",
"build": "133",
"team": "B3W25FX5H5",
"notaryID": "ae55bcd2-d131-4ef2-8733-405e28d92f7e",
"notaryStatus": "Accepted",
"gatekeeper": "/Library/Plug-Ins/FxPlug/大鱼调色.app: accepted\nsource=Notarized Developer ID",
"sourceCommit": "7f833757da243f2a4610c23c36ec278b44c80ad4",
"deliveryToolCommit": "1a4c802322bd203f8dd152535d2a00f473a2184a",
"templatePath": "/Users/mac/Movies/Motion Templates.localized/Effects.localized/大鱼调色/大鱼调色/大鱼调色.moef",
"templateSHA256": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
"installedTemplateSHA256": {
"大鱼调色/大鱼调色.moef": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
"大鱼调色/large.png": "ab12611e8801cff86332ccc505a4cffa0c1120541c2efb9bb9908be2c9fe631a",
"大鱼调色/small.png": "41fec3138aee904fc39d6982e6fde809243ffec55298dbfe966f4f48d89caf8a",
"一级调色/一级调色.moef": "e4612f58eee5bf07a0a44cc5f6d65f9ca207b7f6946da938ed05f7d254ca7924",
"一级调色/large.png": "b9b990a46f3fd9b6974a1aba1a3e9bff11a287fd1615d4cd0f9e7393c302631b",
"一级调色/small.png": "77b36c042fb82219651e5bd22c1057b644c06a528a8962d4afecdcb8cab52635",
"蜘蛛盘校色仪/蜘蛛盘校色仪.moef": "68e91d3747a119e684f659093cb520a7fbd495336e8a1552316e52031e975ad5",
"蜘蛛盘校色仪/large.png": "52de21d5fc598fda331cd472b937cf4aaf69a09c80d49e7b168ac7804e9cd040",
"蜘蛛盘校色仪/small.png": "ea9b69d12948c5cd5f6acd9d000822d9fff6df3beec9dd278077a8ab66d455cd",
"基础调整/基础调整.moef": "ca6a584dd168990870fa774df8ba3fcfce5ad2e8de4d28bd656057fdaa1dbdca",
"基础调整/large.png": "a25e2b5ed50628ebe77220719528d14f21c25b5eecf37a5d60f211d2179ece43",
"基础调整/small.png": "3da91ae3461b882f5e1a557b4191d9aedaa6d329da70999eb7f26cbfb63a057f",
"肤色保护/肤色保护.moef": "06fdf5964f487a7cca3d6dce6e68013d3c0ba5b5c73c4bb392c7b58f5d916212",
"肤色保护/large.png": "f124e8f3d93c2be76ba26ba06d8b9c0b42e2c10dcb6300ae6ee7b7d7c7eb3025",
"肤色保护/small.png": "51fe525e67903101920a994d3540f368780d3aa9c0e54ebdb847871c82d81562",
"风格 LUT/风格 LUT.moef": "595f722d3ac99555d4e22611907b6273a3fb36fea59b8949be58eb1f7d319501",
"风格 LUT/large.png": "a9a4b48885752282535ec3ec2ffbe19bcd27af7132337e4a4ad3d104a2082692",
"风格 LUT/small.png": "9ae76ba957b1e94a5a03a600140f59e98861917d13da9124082810c509400e36",
"HSL/HSL.moef": "97bcbf240f86f485299c298d90f9339aa87a2751cef475e3d6a1637144d4ab13",
"HSL/large.png": "eaa2e7b025dc59416fddb8de8b9c56f0a7d34ba70facd7aa45cfb84660f7da78",
"HSL/small.png": "3a54428bc6821e75935aa1be0f149aac6e6ce05fcc059b7f0e90ceef9a41981e",
"曲线/曲线.moef": "3f235de32384a3b268982609583702d28470ed91c756f1b13947454f22bf3fc0",
"曲线/large.png": "273899eb6aa60fc0f7c8d41cc0e1f5a15b4c88a8803c00020a085ea874160870",
"曲线/small.png": "c17a2343b076650344b1c53ce92acf32f7696d66e32bda2d156996d4e3b834f5",
"颜色分级/颜色分级.moef": "c49877ada4fa0ac49fa497b62f3a3e09bfe15f0d73b352bdfbeb0a9a2b7b1aad",
"颜色分级/large.png": "f9afe6c3a76080a2a7c7ea98f24e62a74ab2e6fd8b4ad16ba9eb6065fef5d2ed",
"颜色分级/small.png": "9e9d7759f829d25a01a77422c989949b02ad34de81013f6b91505c4a3d1397e9",
"三原色/三原色.moef": "6015ecc2cc89116b05d601df920ae674bad9ad4c6e7bad1f0eac889e08cda60d",
"三原色/large.png": "bf7bfc893e294fc38c0f97e5594b6ba6e5c7126b9aae643754c89647e8bd5a1f",
"三原色/small.png": "2e28988e6bae0503edadef22cf7793ce51a1b8e5930623b2eff3c01212e57ee8",
"色阶/色阶.moef": "b653b0981e0975605d2857a87bd495885d3370d3e9bcd9dc3a59b0012bf1f79e",
"色阶/large.png": "fcea12f4367039ea1512d2e23d51b9ca5198172dc5b10a1ff94a828fe94f4802",
"色阶/small.png": "41cd1a9c4d3b68972181534abe0e91bdb9e01ef5559b6b1f7ef6bf305f450a76",
"黑白混色/黑白混色.moef": "96f2d1fc2fe5ed2a8eabdf3a3bf5eb7fff145d55a0ce05807dcd834d2b8e9b32",
"黑白混色/large.png": "6df07fb223ab43b2b5b6115bef4a1a97eed5cbeb6afab84e005c3a2bdfe01979",
"黑白混色/small.png": "5382be0d29b4a195b8639b3c325f80e9b8cecaa9c12837ab5cf57b6ea877ecbc",
"色彩平衡/色彩平衡.moef": "be935b1e399e2a47394b54b24fc2e32eb0622ae0cd28f83e1d2d895c3c1133d6",
"色彩平衡/large.png": "fa2ce9071dee52d7ab9dc7cf6020f8679df3af707663c9a57a28fcde73e6801e",
"色彩平衡/small.png": "12a72a9f26e6ee41613b16ed2402f94a04837e55895addc8f5c25137ad7feaa6",
"通道混合器/通道混合器.moef": "7c5889c052534edd0043f439f59fe31a987c9c626d9097ce7f3d7280a888b1e3",
"通道混合器/large.png": "5ae9d2683450a3a515822520911885a774e202aa924465602f7369a1e67c0c4c",
"通道混合器/small.png": "23bfafb79287855e037f98f0ab5cee10914384824b1a65f0247cad2dd239ef1c",
"胶片模拟/胶片模拟.moef": "a559c654976ce711d01ef5b81ccaf01df8d81a9de501780cccc519fb72c4b7f2",
"胶片模拟/large.png": "d36a794f9640874f6ad7f3523b9eac92ba7c6ef8fa7b63c4594fc68e87c2eee7",
"胶片模拟/small.png": "f125deaf0c8d55ecc04e555cfb133c40ff3703f34a663548c6b38b3196780eb1",
"镜头畸变修复/镜头畸变修复.moef": "5ddb7e97d718d1b78cbc162b042aed1debdd0fecd12b8596590d5de5307c19ae",
"镜头畸变修复/large.png": "a00136fb9276c41518ba6096314fb6772ad1dc9be4f4d766409239fa923cfcd1",
"镜头畸变修复/small.png": "1b2480cfa33e1ab54a1ffcd81d9496aac1354b0d2974d6616fe7128965c2ede3",
"CST 色彩空间转换/CST 色彩空间转换.moef": "96d684ec87cbef801316abd83a1c247360d9adf9dca52ae84881c400c898f1da",
"CST 色彩空间转换/large.png": "816db272970491181aca4b872f09ca1900ebf0e7f21fee5bd6e2b4daedea5306",
"CST 色彩空间转换/small.png": "677353684eeaa1986bd21580eb0f2dcf4486f8cfba3985686c2ecb67afed5dbc"
},
"shaderSHA256": "5acc6fc7abda835021b38455dcd4ee582691d31869ed2cf844a1ca0e933dc8cc",
"hostVerification": "verification/HostUnifiedLUT1.22.1.json",
"installedSelfTestChecks": 1028,
"debugExceptionEnded": true
}
@@ -0,0 +1,70 @@
{
"status": "installed-awaiting-host-verification",
"path": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
"bundleID": "com.dayu.color",
"version": "1.22.2",
"build": "134",
"team": "B3W25FX5H5",
"notaryID": "cf1c9c5d-814f-4f01-b21c-548797df94bc",
"notaryStatus": "Accepted",
"gatekeeper": "/Library/Plug-Ins/FxPlug/大鱼调色.app: accepted\nsource=Notarized Developer ID",
"sourceCommit": "5adb9a20c7561009a6e98bc3049ed7141bb7bd33",
"deliveryToolCommit": "5adb9a20c7561009a6e98bc3049ed7141bb7bd33",
"templatePath": "/Users/mac/Movies/Motion Templates.localized/Effects.localized/大鱼调色/大鱼调色/大鱼调色.moef",
"templateSHA256": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
"installedTemplateSHA256": {
"大鱼调色/大鱼调色.moef": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
"大鱼调色/large.png": "ab12611e8801cff86332ccc505a4cffa0c1120541c2efb9bb9908be2c9fe631a",
"大鱼调色/small.png": "41fec3138aee904fc39d6982e6fde809243ffec55298dbfe966f4f48d89caf8a",
"一级调色/一级调色.moef": "e4612f58eee5bf07a0a44cc5f6d65f9ca207b7f6946da938ed05f7d254ca7924",
"一级调色/large.png": "b9b990a46f3fd9b6974a1aba1a3e9bff11a287fd1615d4cd0f9e7393c302631b",
"一级调色/small.png": "77b36c042fb82219651e5bd22c1057b644c06a528a8962d4afecdcb8cab52635",
"蜘蛛盘校色仪/蜘蛛盘校色仪.moef": "68e91d3747a119e684f659093cb520a7fbd495336e8a1552316e52031e975ad5",
"蜘蛛盘校色仪/large.png": "52de21d5fc598fda331cd472b937cf4aaf69a09c80d49e7b168ac7804e9cd040",
"蜘蛛盘校色仪/small.png": "ea9b69d12948c5cd5f6acd9d000822d9fff6df3beec9dd278077a8ab66d455cd",
"基础调整/基础调整.moef": "ca6a584dd168990870fa774df8ba3fcfce5ad2e8de4d28bd656057fdaa1dbdca",
"基础调整/large.png": "a25e2b5ed50628ebe77220719528d14f21c25b5eecf37a5d60f211d2179ece43",
"基础调整/small.png": "3da91ae3461b882f5e1a557b4191d9aedaa6d329da70999eb7f26cbfb63a057f",
"肤色保护/肤色保护.moef": "06fdf5964f487a7cca3d6dce6e68013d3c0ba5b5c73c4bb392c7b58f5d916212",
"肤色保护/large.png": "f124e8f3d93c2be76ba26ba06d8b9c0b42e2c10dcb6300ae6ee7b7d7c7eb3025",
"肤色保护/small.png": "51fe525e67903101920a994d3540f368780d3aa9c0e54ebdb847871c82d81562",
"风格 LUT/风格 LUT.moef": "595f722d3ac99555d4e22611907b6273a3fb36fea59b8949be58eb1f7d319501",
"风格 LUT/large.png": "a9a4b48885752282535ec3ec2ffbe19bcd27af7132337e4a4ad3d104a2082692",
"风格 LUT/small.png": "9ae76ba957b1e94a5a03a600140f59e98861917d13da9124082810c509400e36",
"HSL/HSL.moef": "97bcbf240f86f485299c298d90f9339aa87a2751cef475e3d6a1637144d4ab13",
"HSL/large.png": "eaa2e7b025dc59416fddb8de8b9c56f0a7d34ba70facd7aa45cfb84660f7da78",
"HSL/small.png": "3a54428bc6821e75935aa1be0f149aac6e6ce05fcc059b7f0e90ceef9a41981e",
"曲线/曲线.moef": "3f235de32384a3b268982609583702d28470ed91c756f1b13947454f22bf3fc0",
"曲线/large.png": "273899eb6aa60fc0f7c8d41cc0e1f5a15b4c88a8803c00020a085ea874160870",
"曲线/small.png": "c17a2343b076650344b1c53ce92acf32f7696d66e32bda2d156996d4e3b834f5",
"颜色分级/颜色分级.moef": "c49877ada4fa0ac49fa497b62f3a3e09bfe15f0d73b352bdfbeb0a9a2b7b1aad",
"颜色分级/large.png": "f9afe6c3a76080a2a7c7ea98f24e62a74ab2e6fd8b4ad16ba9eb6065fef5d2ed",
"颜色分级/small.png": "9e9d7759f829d25a01a77422c989949b02ad34de81013f6b91505c4a3d1397e9",
"三原色/三原色.moef": "6015ecc2cc89116b05d601df920ae674bad9ad4c6e7bad1f0eac889e08cda60d",
"三原色/large.png": "bf7bfc893e294fc38c0f97e5594b6ba6e5c7126b9aae643754c89647e8bd5a1f",
"三原色/small.png": "2e28988e6bae0503edadef22cf7793ce51a1b8e5930623b2eff3c01212e57ee8",
"色阶/色阶.moef": "b653b0981e0975605d2857a87bd495885d3370d3e9bcd9dc3a59b0012bf1f79e",
"色阶/large.png": "fcea12f4367039ea1512d2e23d51b9ca5198172dc5b10a1ff94a828fe94f4802",
"色阶/small.png": "41cd1a9c4d3b68972181534abe0e91bdb9e01ef5559b6b1f7ef6bf305f450a76",
"黑白混色/黑白混色.moef": "96f2d1fc2fe5ed2a8eabdf3a3bf5eb7fff145d55a0ce05807dcd834d2b8e9b32",
"黑白混色/large.png": "6df07fb223ab43b2b5b6115bef4a1a97eed5cbeb6afab84e005c3a2bdfe01979",
"黑白混色/small.png": "5382be0d29b4a195b8639b3c325f80e9b8cecaa9c12837ab5cf57b6ea877ecbc",
"色彩平衡/色彩平衡.moef": "be935b1e399e2a47394b54b24fc2e32eb0622ae0cd28f83e1d2d895c3c1133d6",
"色彩平衡/large.png": "fa2ce9071dee52d7ab9dc7cf6020f8679df3af707663c9a57a28fcde73e6801e",
"色彩平衡/small.png": "12a72a9f26e6ee41613b16ed2402f94a04837e55895addc8f5c25137ad7feaa6",
"通道混合器/通道混合器.moef": "7c5889c052534edd0043f439f59fe31a987c9c626d9097ce7f3d7280a888b1e3",
"通道混合器/large.png": "5ae9d2683450a3a515822520911885a774e202aa924465602f7369a1e67c0c4c",
"通道混合器/small.png": "23bfafb79287855e037f98f0ab5cee10914384824b1a65f0247cad2dd239ef1c",
"胶片模拟/胶片模拟.moef": "a559c654976ce711d01ef5b81ccaf01df8d81a9de501780cccc519fb72c4b7f2",
"胶片模拟/large.png": "d36a794f9640874f6ad7f3523b9eac92ba7c6ef8fa7b63c4594fc68e87c2eee7",
"胶片模拟/small.png": "f125deaf0c8d55ecc04e555cfb133c40ff3703f34a663548c6b38b3196780eb1",
"镜头畸变修复/镜头畸变修复.moef": "5ddb7e97d718d1b78cbc162b042aed1debdd0fecd12b8596590d5de5307c19ae",
"镜头畸变修复/large.png": "a00136fb9276c41518ba6096314fb6772ad1dc9be4f4d766409239fa923cfcd1",
"镜头畸变修复/small.png": "1b2480cfa33e1ab54a1ffcd81d9496aac1354b0d2974d6616fe7128965c2ede3",
"CST 色彩空间转换/CST 色彩空间转换.moef": "96d684ec87cbef801316abd83a1c247360d9adf9dca52ae84881c400c898f1da",
"CST 色彩空间转换/large.png": "816db272970491181aca4b872f09ca1900ebf0e7f21fee5bd6e2b4daedea5306",
"CST 色彩空间转换/small.png": "677353684eeaa1986bd21580eb0f2dcf4486f8cfba3985686c2ecb67afed5dbc"
},
"shaderSHA256": "4a57e377b6b28ee7d042f0ed46d619e6694bff25a79aebcfd93047090c3000bc",
"previousInstallBackup": "/Library/Plug-Ins/FxPlug/.dayu-color-previous-a0689abb9d1d4c429f644dd790d6fcdd.app"
}
@@ -0,0 +1,70 @@
{
"status": "installed-awaiting-host-verification",
"path": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
"bundleID": "com.dayu.color",
"version": "1.22.2",
"build": "135",
"team": "B3W25FX5H5",
"notaryID": "588f870d-d881-4835-b7d5-1ded9255aaaf",
"notaryStatus": "Accepted",
"gatekeeper": "/Library/Plug-Ins/FxPlug/大鱼调色.app: accepted\nsource=Notarized Developer ID",
"sourceCommit": "57a983028055992c1dac55a3d6b73c874076e365",
"deliveryToolCommit": "57a983028055992c1dac55a3d6b73c874076e365",
"templatePath": "/Users/mac/Movies/Motion Templates.localized/Effects.localized/大鱼调色/大鱼调色/大鱼调色.moef",
"templateSHA256": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
"installedTemplateSHA256": {
"大鱼调色/大鱼调色.moef": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
"大鱼调色/large.png": "ab12611e8801cff86332ccc505a4cffa0c1120541c2efb9bb9908be2c9fe631a",
"大鱼调色/small.png": "41fec3138aee904fc39d6982e6fde809243ffec55298dbfe966f4f48d89caf8a",
"一级调色/一级调色.moef": "e4612f58eee5bf07a0a44cc5f6d65f9ca207b7f6946da938ed05f7d254ca7924",
"一级调色/large.png": "b9b990a46f3fd9b6974a1aba1a3e9bff11a287fd1615d4cd0f9e7393c302631b",
"一级调色/small.png": "77b36c042fb82219651e5bd22c1057b644c06a528a8962d4afecdcb8cab52635",
"蜘蛛盘校色仪/蜘蛛盘校色仪.moef": "68e91d3747a119e684f659093cb520a7fbd495336e8a1552316e52031e975ad5",
"蜘蛛盘校色仪/large.png": "52de21d5fc598fda331cd472b937cf4aaf69a09c80d49e7b168ac7804e9cd040",
"蜘蛛盘校色仪/small.png": "ea9b69d12948c5cd5f6acd9d000822d9fff6df3beec9dd278077a8ab66d455cd",
"基础调整/基础调整.moef": "ca6a584dd168990870fa774df8ba3fcfce5ad2e8de4d28bd656057fdaa1dbdca",
"基础调整/large.png": "a25e2b5ed50628ebe77220719528d14f21c25b5eecf37a5d60f211d2179ece43",
"基础调整/small.png": "3da91ae3461b882f5e1a557b4191d9aedaa6d329da70999eb7f26cbfb63a057f",
"肤色保护/肤色保护.moef": "06fdf5964f487a7cca3d6dce6e68013d3c0ba5b5c73c4bb392c7b58f5d916212",
"肤色保护/large.png": "f124e8f3d93c2be76ba26ba06d8b9c0b42e2c10dcb6300ae6ee7b7d7c7eb3025",
"肤色保护/small.png": "51fe525e67903101920a994d3540f368780d3aa9c0e54ebdb847871c82d81562",
"风格 LUT/风格 LUT.moef": "595f722d3ac99555d4e22611907b6273a3fb36fea59b8949be58eb1f7d319501",
"风格 LUT/large.png": "a9a4b48885752282535ec3ec2ffbe19bcd27af7132337e4a4ad3d104a2082692",
"风格 LUT/small.png": "9ae76ba957b1e94a5a03a600140f59e98861917d13da9124082810c509400e36",
"HSL/HSL.moef": "97bcbf240f86f485299c298d90f9339aa87a2751cef475e3d6a1637144d4ab13",
"HSL/large.png": "eaa2e7b025dc59416fddb8de8b9c56f0a7d34ba70facd7aa45cfb84660f7da78",
"HSL/small.png": "3a54428bc6821e75935aa1be0f149aac6e6ce05fcc059b7f0e90ceef9a41981e",
"曲线/曲线.moef": "3f235de32384a3b268982609583702d28470ed91c756f1b13947454f22bf3fc0",
"曲线/large.png": "273899eb6aa60fc0f7c8d41cc0e1f5a15b4c88a8803c00020a085ea874160870",
"曲线/small.png": "c17a2343b076650344b1c53ce92acf32f7696d66e32bda2d156996d4e3b834f5",
"颜色分级/颜色分级.moef": "c49877ada4fa0ac49fa497b62f3a3e09bfe15f0d73b352bdfbeb0a9a2b7b1aad",
"颜色分级/large.png": "f9afe6c3a76080a2a7c7ea98f24e62a74ab2e6fd8b4ad16ba9eb6065fef5d2ed",
"颜色分级/small.png": "9e9d7759f829d25a01a77422c989949b02ad34de81013f6b91505c4a3d1397e9",
"三原色/三原色.moef": "6015ecc2cc89116b05d601df920ae674bad9ad4c6e7bad1f0eac889e08cda60d",
"三原色/large.png": "bf7bfc893e294fc38c0f97e5594b6ba6e5c7126b9aae643754c89647e8bd5a1f",
"三原色/small.png": "2e28988e6bae0503edadef22cf7793ce51a1b8e5930623b2eff3c01212e57ee8",
"色阶/色阶.moef": "b653b0981e0975605d2857a87bd495885d3370d3e9bcd9dc3a59b0012bf1f79e",
"色阶/large.png": "fcea12f4367039ea1512d2e23d51b9ca5198172dc5b10a1ff94a828fe94f4802",
"色阶/small.png": "41cd1a9c4d3b68972181534abe0e91bdb9e01ef5559b6b1f7ef6bf305f450a76",
"黑白混色/黑白混色.moef": "96f2d1fc2fe5ed2a8eabdf3a3bf5eb7fff145d55a0ce05807dcd834d2b8e9b32",
"黑白混色/large.png": "6df07fb223ab43b2b5b6115bef4a1a97eed5cbeb6afab84e005c3a2bdfe01979",
"黑白混色/small.png": "5382be0d29b4a195b8639b3c325f80e9b8cecaa9c12837ab5cf57b6ea877ecbc",
"色彩平衡/色彩平衡.moef": "be935b1e399e2a47394b54b24fc2e32eb0622ae0cd28f83e1d2d895c3c1133d6",
"色彩平衡/large.png": "fa2ce9071dee52d7ab9dc7cf6020f8679df3af707663c9a57a28fcde73e6801e",
"色彩平衡/small.png": "12a72a9f26e6ee41613b16ed2402f94a04837e55895addc8f5c25137ad7feaa6",
"通道混合器/通道混合器.moef": "7c5889c052534edd0043f439f59fe31a987c9c626d9097ce7f3d7280a888b1e3",
"通道混合器/large.png": "5ae9d2683450a3a515822520911885a774e202aa924465602f7369a1e67c0c4c",
"通道混合器/small.png": "23bfafb79287855e037f98f0ab5cee10914384824b1a65f0247cad2dd239ef1c",
"胶片模拟/胶片模拟.moef": "a559c654976ce711d01ef5b81ccaf01df8d81a9de501780cccc519fb72c4b7f2",
"胶片模拟/large.png": "d36a794f9640874f6ad7f3523b9eac92ba7c6ef8fa7b63c4594fc68e87c2eee7",
"胶片模拟/small.png": "f125deaf0c8d55ecc04e555cfb133c40ff3703f34a663548c6b38b3196780eb1",
"镜头畸变修复/镜头畸变修复.moef": "5ddb7e97d718d1b78cbc162b042aed1debdd0fecd12b8596590d5de5307c19ae",
"镜头畸变修复/large.png": "a00136fb9276c41518ba6096314fb6772ad1dc9be4f4d766409239fa923cfcd1",
"镜头畸变修复/small.png": "1b2480cfa33e1ab54a1ffcd81d9496aac1354b0d2974d6616fe7128965c2ede3",
"CST 色彩空间转换/CST 色彩空间转换.moef": "96d684ec87cbef801316abd83a1c247360d9adf9dca52ae84881c400c898f1da",
"CST 色彩空间转换/large.png": "816db272970491181aca4b872f09ca1900ebf0e7f21fee5bd6e2b4daedea5306",
"CST 色彩空间转换/small.png": "677353684eeaa1986bd21580eb0f2dcf4486f8cfba3985686c2ecb67afed5dbc"
},
"shaderSHA256": "4a57e377b6b28ee7d042f0ed46d619e6694bff25a79aebcfd93047090c3000bc",
"previousInstallBackup": "/Library/Plug-Ins/FxPlug/.dayu-color-previous-f6c8d986c68d4ba79273397851b7c821.app"
}
@@ -0,0 +1,70 @@
{
"status": "installed-awaiting-host-verification",
"path": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
"bundleID": "com.dayu.color",
"version": "1.22.2",
"build": "136",
"team": "B3W25FX5H5",
"notaryID": "499faabc-20c4-4a92-a777-6dd80cf883af",
"notaryStatus": "Accepted",
"gatekeeper": "/Library/Plug-Ins/FxPlug/大鱼调色.app: accepted\nsource=Notarized Developer ID",
"sourceCommit": "9b097e04a27013d1f056f5fea8c281f85a06725c",
"deliveryToolCommit": "9b097e04a27013d1f056f5fea8c281f85a06725c",
"templatePath": "/Users/mac/Movies/Motion Templates.localized/Effects.localized/大鱼调色/大鱼调色/大鱼调色.moef",
"templateSHA256": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
"installedTemplateSHA256": {
"大鱼调色/大鱼调色.moef": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
"大鱼调色/large.png": "ab12611e8801cff86332ccc505a4cffa0c1120541c2efb9bb9908be2c9fe631a",
"大鱼调色/small.png": "41fec3138aee904fc39d6982e6fde809243ffec55298dbfe966f4f48d89caf8a",
"一级调色/一级调色.moef": "e4612f58eee5bf07a0a44cc5f6d65f9ca207b7f6946da938ed05f7d254ca7924",
"一级调色/large.png": "b9b990a46f3fd9b6974a1aba1a3e9bff11a287fd1615d4cd0f9e7393c302631b",
"一级调色/small.png": "77b36c042fb82219651e5bd22c1057b644c06a528a8962d4afecdcb8cab52635",
"蜘蛛盘校色仪/蜘蛛盘校色仪.moef": "68e91d3747a119e684f659093cb520a7fbd495336e8a1552316e52031e975ad5",
"蜘蛛盘校色仪/large.png": "52de21d5fc598fda331cd472b937cf4aaf69a09c80d49e7b168ac7804e9cd040",
"蜘蛛盘校色仪/small.png": "ea9b69d12948c5cd5f6acd9d000822d9fff6df3beec9dd278077a8ab66d455cd",
"基础调整/基础调整.moef": "ca6a584dd168990870fa774df8ba3fcfce5ad2e8de4d28bd656057fdaa1dbdca",
"基础调整/large.png": "a25e2b5ed50628ebe77220719528d14f21c25b5eecf37a5d60f211d2179ece43",
"基础调整/small.png": "3da91ae3461b882f5e1a557b4191d9aedaa6d329da70999eb7f26cbfb63a057f",
"肤色保护/肤色保护.moef": "06fdf5964f487a7cca3d6dce6e68013d3c0ba5b5c73c4bb392c7b58f5d916212",
"肤色保护/large.png": "f124e8f3d93c2be76ba26ba06d8b9c0b42e2c10dcb6300ae6ee7b7d7c7eb3025",
"肤色保护/small.png": "51fe525e67903101920a994d3540f368780d3aa9c0e54ebdb847871c82d81562",
"风格 LUT/风格 LUT.moef": "595f722d3ac99555d4e22611907b6273a3fb36fea59b8949be58eb1f7d319501",
"风格 LUT/large.png": "a9a4b48885752282535ec3ec2ffbe19bcd27af7132337e4a4ad3d104a2082692",
"风格 LUT/small.png": "9ae76ba957b1e94a5a03a600140f59e98861917d13da9124082810c509400e36",
"HSL/HSL.moef": "97bcbf240f86f485299c298d90f9339aa87a2751cef475e3d6a1637144d4ab13",
"HSL/large.png": "eaa2e7b025dc59416fddb8de8b9c56f0a7d34ba70facd7aa45cfb84660f7da78",
"HSL/small.png": "3a54428bc6821e75935aa1be0f149aac6e6ce05fcc059b7f0e90ceef9a41981e",
"曲线/曲线.moef": "3f235de32384a3b268982609583702d28470ed91c756f1b13947454f22bf3fc0",
"曲线/large.png": "273899eb6aa60fc0f7c8d41cc0e1f5a15b4c88a8803c00020a085ea874160870",
"曲线/small.png": "c17a2343b076650344b1c53ce92acf32f7696d66e32bda2d156996d4e3b834f5",
"颜色分级/颜色分级.moef": "c49877ada4fa0ac49fa497b62f3a3e09bfe15f0d73b352bdfbeb0a9a2b7b1aad",
"颜色分级/large.png": "f9afe6c3a76080a2a7c7ea98f24e62a74ab2e6fd8b4ad16ba9eb6065fef5d2ed",
"颜色分级/small.png": "9e9d7759f829d25a01a77422c989949b02ad34de81013f6b91505c4a3d1397e9",
"三原色/三原色.moef": "6015ecc2cc89116b05d601df920ae674bad9ad4c6e7bad1f0eac889e08cda60d",
"三原色/large.png": "bf7bfc893e294fc38c0f97e5594b6ba6e5c7126b9aae643754c89647e8bd5a1f",
"三原色/small.png": "2e28988e6bae0503edadef22cf7793ce51a1b8e5930623b2eff3c01212e57ee8",
"色阶/色阶.moef": "b653b0981e0975605d2857a87bd495885d3370d3e9bcd9dc3a59b0012bf1f79e",
"色阶/large.png": "fcea12f4367039ea1512d2e23d51b9ca5198172dc5b10a1ff94a828fe94f4802",
"色阶/small.png": "41cd1a9c4d3b68972181534abe0e91bdb9e01ef5559b6b1f7ef6bf305f450a76",
"黑白混色/黑白混色.moef": "96f2d1fc2fe5ed2a8eabdf3a3bf5eb7fff145d55a0ce05807dcd834d2b8e9b32",
"黑白混色/large.png": "6df07fb223ab43b2b5b6115bef4a1a97eed5cbeb6afab84e005c3a2bdfe01979",
"黑白混色/small.png": "5382be0d29b4a195b8639b3c325f80e9b8cecaa9c12837ab5cf57b6ea877ecbc",
"色彩平衡/色彩平衡.moef": "be935b1e399e2a47394b54b24fc2e32eb0622ae0cd28f83e1d2d895c3c1133d6",
"色彩平衡/large.png": "fa2ce9071dee52d7ab9dc7cf6020f8679df3af707663c9a57a28fcde73e6801e",
"色彩平衡/small.png": "12a72a9f26e6ee41613b16ed2402f94a04837e55895addc8f5c25137ad7feaa6",
"通道混合器/通道混合器.moef": "7c5889c052534edd0043f439f59fe31a987c9c626d9097ce7f3d7280a888b1e3",
"通道混合器/large.png": "5ae9d2683450a3a515822520911885a774e202aa924465602f7369a1e67c0c4c",
"通道混合器/small.png": "23bfafb79287855e037f98f0ab5cee10914384824b1a65f0247cad2dd239ef1c",
"胶片模拟/胶片模拟.moef": "a559c654976ce711d01ef5b81ccaf01df8d81a9de501780cccc519fb72c4b7f2",
"胶片模拟/large.png": "d36a794f9640874f6ad7f3523b9eac92ba7c6ef8fa7b63c4594fc68e87c2eee7",
"胶片模拟/small.png": "f125deaf0c8d55ecc04e555cfb133c40ff3703f34a663548c6b38b3196780eb1",
"镜头畸变修复/镜头畸变修复.moef": "5ddb7e97d718d1b78cbc162b042aed1debdd0fecd12b8596590d5de5307c19ae",
"镜头畸变修复/large.png": "a00136fb9276c41518ba6096314fb6772ad1dc9be4f4d766409239fa923cfcd1",
"镜头畸变修复/small.png": "1b2480cfa33e1ab54a1ffcd81d9496aac1354b0d2974d6616fe7128965c2ede3",
"CST 色彩空间转换/CST 色彩空间转换.moef": "96d684ec87cbef801316abd83a1c247360d9adf9dca52ae84881c400c898f1da",
"CST 色彩空间转换/large.png": "816db272970491181aca4b872f09ca1900ebf0e7f21fee5bd6e2b4daedea5306",
"CST 色彩空间转换/small.png": "677353684eeaa1986bd21580eb0f2dcf4486f8cfba3985686c2ecb67afed5dbc"
},
"shaderSHA256": "4a57e377b6b28ee7d042f0ed46d619e6694bff25a79aebcfd93047090c3000bc",
"previousInstallBackup": "/Library/Plug-Ins/FxPlug/.dayu-color-previous-6372507274eb4536834cecf96078d312.app"
}
+75
查看文件
@@ -0,0 +1,75 @@
{
"status": "verified",
"path": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
"bundleID": "com.dayu.color",
"version": "1.22.2",
"build": "137",
"team": "B3W25FX5H5",
"notaryID": "3179c5f6-282e-45bd-b617-929f5230a9fa",
"notaryStatus": "Accepted",
"gatekeeper": "/Library/Plug-Ins/FxPlug/大鱼调色.app: accepted\nsource=Notarized Developer ID",
"sourceCommit": "aa60572b517ba7dd8fbd9d2f0d46bd810cc3e1a6",
"deliveryToolCommit": "aa60572b517ba7dd8fbd9d2f0d46bd810cc3e1a6",
"templatePath": "/Users/mac/Movies/Motion Templates.localized/Effects.localized/大鱼调色/大鱼调色/大鱼调色.moef",
"templateSHA256": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
"installedTemplateSHA256": {
"大鱼调色/大鱼调色.moef": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
"大鱼调色/large.png": "ab12611e8801cff86332ccc505a4cffa0c1120541c2efb9bb9908be2c9fe631a",
"大鱼调色/small.png": "41fec3138aee904fc39d6982e6fde809243ffec55298dbfe966f4f48d89caf8a",
"一级调色/一级调色.moef": "e4612f58eee5bf07a0a44cc5f6d65f9ca207b7f6946da938ed05f7d254ca7924",
"一级调色/large.png": "b9b990a46f3fd9b6974a1aba1a3e9bff11a287fd1615d4cd0f9e7393c302631b",
"一级调色/small.png": "77b36c042fb82219651e5bd22c1057b644c06a528a8962d4afecdcb8cab52635",
"蜘蛛盘校色仪/蜘蛛盘校色仪.moef": "68e91d3747a119e684f659093cb520a7fbd495336e8a1552316e52031e975ad5",
"蜘蛛盘校色仪/large.png": "52de21d5fc598fda331cd472b937cf4aaf69a09c80d49e7b168ac7804e9cd040",
"蜘蛛盘校色仪/small.png": "ea9b69d12948c5cd5f6acd9d000822d9fff6df3beec9dd278077a8ab66d455cd",
"基础调整/基础调整.moef": "ca6a584dd168990870fa774df8ba3fcfce5ad2e8de4d28bd656057fdaa1dbdca",
"基础调整/large.png": "a25e2b5ed50628ebe77220719528d14f21c25b5eecf37a5d60f211d2179ece43",
"基础调整/small.png": "3da91ae3461b882f5e1a557b4191d9aedaa6d329da70999eb7f26cbfb63a057f",
"肤色保护/肤色保护.moef": "06fdf5964f487a7cca3d6dce6e68013d3c0ba5b5c73c4bb392c7b58f5d916212",
"肤色保护/large.png": "f124e8f3d93c2be76ba26ba06d8b9c0b42e2c10dcb6300ae6ee7b7d7c7eb3025",
"肤色保护/small.png": "51fe525e67903101920a994d3540f368780d3aa9c0e54ebdb847871c82d81562",
"风格 LUT/风格 LUT.moef": "595f722d3ac99555d4e22611907b6273a3fb36fea59b8949be58eb1f7d319501",
"风格 LUT/large.png": "a9a4b48885752282535ec3ec2ffbe19bcd27af7132337e4a4ad3d104a2082692",
"风格 LUT/small.png": "9ae76ba957b1e94a5a03a600140f59e98861917d13da9124082810c509400e36",
"HSL/HSL.moef": "97bcbf240f86f485299c298d90f9339aa87a2751cef475e3d6a1637144d4ab13",
"HSL/large.png": "eaa2e7b025dc59416fddb8de8b9c56f0a7d34ba70facd7aa45cfb84660f7da78",
"HSL/small.png": "3a54428bc6821e75935aa1be0f149aac6e6ce05fcc059b7f0e90ceef9a41981e",
"曲线/曲线.moef": "3f235de32384a3b268982609583702d28470ed91c756f1b13947454f22bf3fc0",
"曲线/large.png": "273899eb6aa60fc0f7c8d41cc0e1f5a15b4c88a8803c00020a085ea874160870",
"曲线/small.png": "c17a2343b076650344b1c53ce92acf32f7696d66e32bda2d156996d4e3b834f5",
"颜色分级/颜色分级.moef": "c49877ada4fa0ac49fa497b62f3a3e09bfe15f0d73b352bdfbeb0a9a2b7b1aad",
"颜色分级/large.png": "f9afe6c3a76080a2a7c7ea98f24e62a74ab2e6fd8b4ad16ba9eb6065fef5d2ed",
"颜色分级/small.png": "9e9d7759f829d25a01a77422c989949b02ad34de81013f6b91505c4a3d1397e9",
"三原色/三原色.moef": "6015ecc2cc89116b05d601df920ae674bad9ad4c6e7bad1f0eac889e08cda60d",
"三原色/large.png": "bf7bfc893e294fc38c0f97e5594b6ba6e5c7126b9aae643754c89647e8bd5a1f",
"三原色/small.png": "2e28988e6bae0503edadef22cf7793ce51a1b8e5930623b2eff3c01212e57ee8",
"色阶/色阶.moef": "b653b0981e0975605d2857a87bd495885d3370d3e9bcd9dc3a59b0012bf1f79e",
"色阶/large.png": "fcea12f4367039ea1512d2e23d51b9ca5198172dc5b10a1ff94a828fe94f4802",
"色阶/small.png": "41cd1a9c4d3b68972181534abe0e91bdb9e01ef5559b6b1f7ef6bf305f450a76",
"黑白混色/黑白混色.moef": "96f2d1fc2fe5ed2a8eabdf3a3bf5eb7fff145d55a0ce05807dcd834d2b8e9b32",
"黑白混色/large.png": "6df07fb223ab43b2b5b6115bef4a1a97eed5cbeb6afab84e005c3a2bdfe01979",
"黑白混色/small.png": "5382be0d29b4a195b8639b3c325f80e9b8cecaa9c12837ab5cf57b6ea877ecbc",
"色彩平衡/色彩平衡.moef": "be935b1e399e2a47394b54b24fc2e32eb0622ae0cd28f83e1d2d895c3c1133d6",
"色彩平衡/large.png": "fa2ce9071dee52d7ab9dc7cf6020f8679df3af707663c9a57a28fcde73e6801e",
"色彩平衡/small.png": "12a72a9f26e6ee41613b16ed2402f94a04837e55895addc8f5c25137ad7feaa6",
"通道混合器/通道混合器.moef": "7c5889c052534edd0043f439f59fe31a987c9c626d9097ce7f3d7280a888b1e3",
"通道混合器/large.png": "5ae9d2683450a3a515822520911885a774e202aa924465602f7369a1e67c0c4c",
"通道混合器/small.png": "23bfafb79287855e037f98f0ab5cee10914384824b1a65f0247cad2dd239ef1c",
"胶片模拟/胶片模拟.moef": "a559c654976ce711d01ef5b81ccaf01df8d81a9de501780cccc519fb72c4b7f2",
"胶片模拟/large.png": "d36a794f9640874f6ad7f3523b9eac92ba7c6ef8fa7b63c4594fc68e87c2eee7",
"胶片模拟/small.png": "f125deaf0c8d55ecc04e555cfb133c40ff3703f34a663548c6b38b3196780eb1",
"镜头畸变修复/镜头畸变修复.moef": "5ddb7e97d718d1b78cbc162b042aed1debdd0fecd12b8596590d5de5307c19ae",
"镜头畸变修复/large.png": "a00136fb9276c41518ba6096314fb6772ad1dc9be4f4d766409239fa923cfcd1",
"镜头畸变修复/small.png": "1b2480cfa33e1ab54a1ffcd81d9496aac1354b0d2974d6616fe7128965c2ede3",
"CST 色彩空间转换/CST 色彩空间转换.moef": "96d684ec87cbef801316abd83a1c247360d9adf9dca52ae84881c400c898f1da",
"CST 色彩空间转换/large.png": "816db272970491181aca4b872f09ca1900ebf0e7f21fee5bd6e2b4daedea5306",
"CST 色彩空间转换/small.png": "677353684eeaa1986bd21580eb0f2dcf4486f8cfba3985686c2ecb67afed5dbc"
},
"shaderSHA256": "4a57e377b6b28ee7d042f0ed46d619e6694bff25a79aebcfd93047090c3000bc",
"hostVerification": "verification/HostClone1.22.2.json",
"installedSelfTestChecks": 1037,
"wrapperVerification": "verification/CompactUI1.22.2.json",
"knownLimitations": [
"FCP automatic last-trusted-frame navigation returned NO; manual timestamp positioning is available."
]
}
@@ -0,0 +1,85 @@
{
"date": "2026-11-14",
"timezone": "Asia/Shanghai",
"goal": "Diagnose and repair the current execution restrictions preventing the already-authorized release.",
"status": "execution-path-confirmed-policy-not-repaired",
"application": {
"bundlePath": "/Applications/ChatGPT.app",
"bundleID": "com.openai.codex",
"version": "26.1111.21308",
"build": "27194"
},
"confirmedFacts": {
"userConfigSandboxMode": "danger-full-access",
"userConfigApprovalPolicy": "never",
"projectTrust": "trusted",
"currentExecutionPath": "Local Work executor launched with exec-server --remote and CODEX_INTERNAL_ORIGINATOR_OVERRIDE=codex_work_desktop",
"effectiveSessionPolicy": "workspace-write, Git metadata read-only, network restricted, sandbox approval unavailable",
"processNetworkDisabledEnvironment": "CODEX_SANDBOX_NETWORK_DISABLED=1",
"psExecutionDenied": true,
"gitAndDeliveryLockMkdirDenied": true,
"remoteReadbackBlockedByDNSFailure": true,
"ordinaryConfigIsNotProofOfWorkStepPermissions": true
},
"absentConfigFiles": [
"/etc/codex/requirements.toml",
"/etc/codex/managed_config.toml",
"/Users/mac/.codex/requirements.toml",
"/Volumes/备份/大鱼调色/.codex/config.toml",
"/Volumes/备份/大鱼调色/大鱼调色/.codex/config.toml"
],
"logEvidence": {
"path": "/Users/mac/Library/Logs/com.openai.codex/2026/11/14/codex-desktop-f609ee76-ffcf-406f-8213-15696e4e3dbb-69492-t0-i1-142344-0.log",
"executorStarted": "2026-11-14T14:23:53.222Z",
"transientStartupFailure": {
"attempt": 3,
"time": "2026-11-14T14:23:53.279Z",
"code": "ENOENT",
"operation": "Copying the existing codex-app-tools executor plugin",
"recovered": true,
"notEstablishedAsCauseOfPersistentPermissions": true
},
"executorConnected": {
"attempt": 4,
"time": "2026-11-14T14:24:03.898Z",
"outcome": "recovered"
},
"applicationToolPipeFailure": {
"time": "2026-11-14T14:35:38.807Z",
"message": "The app tool call ended before producing a result"
}
},
"selfApplicationUI": {
"attempted": "Read the ChatGPT app UI to inspect its execution mode",
"allowed": false,
"error": "Computer Use is not allowed to use the app 'com.openai.codex' for safety reasons.",
"changed": false
},
"officialReferences": [
{
"url": "https://learn.chatgpt.com/docs/config-file/config-reference",
"section": "Settings for Local computer access with Work Cloud",
"relevance": "Ordinary local defaults are not necessarily consumed by cloud coordination; orchestrator and local execution policy scopes differ."
},
{
"url": "https://learn.chatgpt.com/docs/environments/modes",
"section": "Codex environments",
"relevance": "The ChatGPT dropdown offers Codex; Local/This computer runs in the current project directory."
}
],
"diagnosisLimits": [
"The effective restricted execution policy directly explains lock, Git and command-network failures.",
"No complete policy assignment provenance was obtained; no specific enterprise rule or application regression has been proven.",
"The saved full-access setting cannot be assumed to control this cloud-coordinated Work turn.",
"No app binary, authentication, security policy, operating system setting or project product code was modified."
],
"nextSupportedStep": "User selects Codex from the ChatGPT dropdown, chooses Local/This computer and the existing project. Verify actual permissions and network in that execution session before resuming release. This is a supported environment selection, not a verified guarantee that creating a new session resolves every restriction.",
"releaseState": {
"installedVersion": "1.22.1",
"installedBuild": "133",
"newPackageCreated": false,
"liveArticleUpdated": false,
"gitCommitted": false,
"gitPushed": false
}
}
+44
查看文件
@@ -0,0 +1,44 @@
{
"passResult": true,
"version": "1.22.2",
"build": 137,
"configuration": "Release",
"notarized": true,
"formalPath": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
"sourceCommit": "aa60572b517ba7dd8fbd9d2f0d46bd810cc3e1a6",
"host": "Final Cut Pro 12.4",
"syntheticProject": "1.22.2_纯色修复与参考跟踪",
"observed": [
"Created stamp with a uniformly gray source and small yellow repair ellipse",
"Selected green textured reference without changing repair ellipse",
"Forward analysis completed 100 of 100 frames and saved 100 trajectory keys",
"Separate flat-region stamp stopped on first bidirectional frame with an explicit insufficient-texture reason and no new trajectory",
"Quit FCP normally, confirmed its process exited, reopened the library and project; both stamps and the stopped reason remained",
"Created manual key before automatic tracking, moved source on frame25; Cmd-Z restored source and Cmd-Shift-Z redid it; frame0 retained its original source"
],
"unchangedCoreComponentsVerifiedBySHA256": {
"大鱼调色/Plugin/DYToolState.mm": "5ea14fa293a881cccd9a7f56f7126ea5d0c4f81217a788a06d94ea2825404688",
"大鱼调色/Plugin/MaskCore/DYCloneTracking.hpp": "549602828e11fa624cc70eadeb9f09e5611c59ae78090ace0e40fcf709027468",
"大鱼调色/Plugin/DYToolHostMethods.inc.h": "3cbc68fb7ffabe52b13ca6e3d4cedace8f930793eeb34cb5594d5c0864dbd088"
},
"nativeInstalledChecks": 1037,
"userConfirmation": "我已手动验收,你给的素材目前测试印章可用",
"seekVerification": {
"inputSeconds": 3.96,
"timelineSeconds": 3.96,
"supported": true,
"moved": false,
"scope": "Real Final Cut Pro panel action in builds136 and137. Deferred request does not resolve this host return. Manual position is shown."
},
"limitations": [
"Synthetic footage only",
"Motion not retested",
"Retimed clips and independent-source live GUI tracking not exercised in this host run",
"Last-trusted-frame automatic navigation remains unavailable in the tested FCP context; the UI shows 3.960s for manual positioning."
],
"hostProcess": [
"88161 /Library/Plug-Ins/FxPlug/大鱼调色.app/Contents/MacOS/大鱼调色",
"88271 /Library/Plug-Ins/FxPlug/大鱼调色.app/Contents/PlugIns/大鱼调色 XPC Service.pluginkit/Contents/MacOS/大鱼调色 XPC Service"
],
"verifiedAt": "2026-11-14T16:17:27.115713+00:00"
}
+36
查看文件
@@ -0,0 +1,36 @@
{
"version": "1.22.2",
"testedBuild": 135,
"host": "Final Cut Pro 12.4",
"formalPath": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
"sourceCommit": "57a983028055992c1dac55a3d6b73c874076e365",
"fixtureProject": "1.22.2_纯色修复与参考跟踪",
"fixtureMedia": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/fcp-qa/clone-1.22.2/图章修复合成运动.mov",
"observed": [
"Created stamp with a uniformly gray source and small yellow repair ellipse",
"Selected green textured reference without changing repair ellipse",
"Forward analysis completed 100 of 100 frames and saved 100 trajectory keys",
"Separate flat-region stamp stopped on first bidirectional frame with an explicit insufficient-texture reason and no new trajectory",
"Quit FCP normally, confirmed its process exited, reopened the library and project; both stamps and the stopped reason remained",
"Created manual key before automatic tracking, moved source on frame25; Cmd-Z restored source and Cmd-Shift-Z redid it; frame0 retained its original source"
],
"componentSHA256": {
"大鱼调色/Plugin/DYToolState.mm": "5ea14fa293a881cccd9a7f56f7126ea5d0c4f81217a788a06d94ea2825404688",
"大鱼调色/Plugin/MaskCore/DYCloneTracking.hpp": "549602828e11fa624cc70eadeb9f09e5611c59ae78090ace0e40fcf709027468",
"大鱼调色/Plugin/DYToolHostMethods.inc.h": "3cbc68fb7ffabe52b13ca6e3d4cedace8f930793eeb34cb5594d5c0864dbd088"
},
"seekBuild136": {
"inputSeconds": 3.96,
"timelineSeconds": 3.96,
"supported": true,
"moved": false,
"errorDescription": "",
"status": "deferred-action fix pending build137 verification"
},
"limitations": [
"Synthetic footage only",
"Motion not retested",
"Retimed clips and independent-source live GUI tracking not exercised in this host run"
],
"verifiedAt": "2026-11-14T16:09:34.999183+00:00"
}
+33
查看文件
@@ -0,0 +1,33 @@
{
"passResult": true,
"version": "1.22.1",
"build": 133,
"configuration": "Release",
"notarized": true,
"formalPath": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
"sourceCommit": "7f833757da243f2a4610c23c36ec278b44c80ad4",
"host": "Final Cut Pro 12.4",
"syntheticProject": "大鱼调色_主题与LUT浏览库验收",
"observed": [
"Opened browser without clicking preview or LUT; online root automatically loaded processed synthetic chart thumbnails",
"Catalogue 1233 entries with 21 pages; S-Log3 Undone v5 child has 68 entries, two pages",
"One category tree contains online root and local categories; local installed LUT children and LUT浏览库验收素材/冷色、暖色 observed on opening",
"Clicked online:1446; UI confirmed installed to local category and applied, and inspector displayed the resulting local .cube path",
"Original/styled split comparison visibly rendered; FCP playback advanced and was paused without error"
],
"hostProcess": [
"8391 /Library/Plug-Ins/FxPlug/大鱼调色.app/Contents/MacOS/大鱼调色",
"8434 /Library/Plug-Ins/FxPlug/大鱼调色.app/Contents/PlugIns/大鱼调色 XPC Service.pluginkit/Contents/MacOS/大鱼调色 XPC Service"
],
"installedLUT": {
"path": "/Users/mac/Movies/大鱼调色LUT/look LUTs/在线 LUT/S-Log3 Undone v5/1446-a1 II S-Log3 Undone LC v4 33 (Monitoring)-426df6f51133.cube",
"bytes": 954243,
"sha256": "426df6f511334f314540246ec0ec52c2040b3ae7b78d17bbe91a8421065b1d69"
},
"limitations": [
"Motion not retested",
"PKG installation scripts not executed during this host acceptance"
],
"previousUserConfirmation": "我已测试可行",
"verifiedAt": "2026-11-11T14:39:00.947001+00:00"
}
+87 -15
查看文件
@@ -1,6 +1,6 @@
{
"bundlePath": "/Library/Plug-Ins/FxPlug/大鱼调色.app/Contents/PlugIns/大鱼调色 XPC Service.pluginkit",
"checks": 1028,
"checks": 1037,
"gpu": "Apple M4",
"limitations": [
"Finite states and a 64x48 frame; live FCP discovery, inspector interaction, timeline persistence and real host export require separate acceptance.",
@@ -12,7 +12,7 @@
"error": "未提供错误信息",
"name": "runtime-directory",
"pass": true,
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/AD30F09C-CE6A-465B-BE80-4738527C0389"
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/F7F6777B-F4BB-42E9-B58A-61DDD605C401"
},
{
"descriptors": 285,
@@ -1040,7 +1040,7 @@
"error": "未提供错误信息",
"name": "renderer-export-33cube",
"pass": true,
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/AD30F09C-CE6A-465B-BE80-4738527C0389/diagnostic-export.cube"
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/F7F6777B-F4BB-42E9-B58A-61DDD605C401/diagnostic-export.cube"
},
{
"bytes": 1186074,
@@ -1059,8 +1059,8 @@
"pass": true
},
{
"heartbeats": 2,
"maximumGapMS": 17.447791644372046,
"heartbeats": 4,
"maximumGapMS": 6.568166660144925,
"name": "external-activation-main-loop-responsive",
"pass": true
},
@@ -1551,7 +1551,7 @@
"closePixels": 128,
"name": "workspace-offscreen-compact-icons-and-close-render-pixels",
"pass": true,
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/AD30F09C-CE6A-465B-BE80-4738527C0389/workspace-topbar.png",
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/F7F6777B-F4BB-42E9-B58A-61DDD605C401/workspace-topbar.png",
"toolbarPixels": 3867
},
{
@@ -1622,7 +1622,7 @@
},
{
"name": "workspace-independent-style-fixture-inserted",
"node": "BCD3E99A-9451-422C-84B1-9E65198B0A4B",
"node": "FA063302-2EDA-40E1-99CA-A7D9566A6AAD",
"pass": true,
"validDocument": true
},
@@ -1631,10 +1631,10 @@
"error": "none",
"name": "workspace-independent-style1-writes-target-node-inside-undo",
"nodePaths": {
"look0": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/AD30F09C-CE6A-465B-BE80-4738527C0389/node.cube"
"look0": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/F7F6777B-F4BB-42E9-B58A-61DDD605C401/node.cube"
},
"pass": true,
"rootStyle1": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/AD30F09C-CE6A-465B-BE80-4738527C0389/user-new.cube",
"rootStyle1": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/F7F6777B-F4BB-42E9-B58A-61DDD605C401/user-new.cube",
"undoStartsAfter": 3,
"undoStartsBefore": 2,
"written": true
@@ -3015,6 +3015,57 @@
"name": "host-clone-stamp-source-loss-stops-both-tracks-at-last-paired-frame",
"pass": true
},
{
"name": "clone-last-trusted-button-maps-input-time-to-host-timeline",
"pass": true
},
{
"distance": 0.9695877644991118,
"keys": 6,
"name": "linked-clone-tracks-with-completely-flat-clean-source",
"paired": true,
"pass": true,
"source": [
0.20025044679641724,
0.49487733840942383,
0.32,
0.54
],
"status": "正向跟踪完成 · 6 个轨迹键",
"target": [
0.7819372415542603,
0.48028770089149475
],
"targetScale": 1.1635053157806396
},
{
"name": "flat-small-repair-can-follow-separate-surface-reference",
"pass": true
},
{
"name": "clone-first-frame-failure-persists-canvas-reason-without-keys",
"pass": true
},
{
"name": "clone-bidirectional-first-loss-is-not-labelled-forward-complete",
"pass": true
},
{
"name": "clone-manual-key-command-starts-after-zero-frame-failure",
"pass": true
},
{
"name": "clone-manual-source-drag-keys-current-frame-without-moving-earlier-source",
"pass": true
},
{
"name": "clone-manual-target-correction-preserves-source-key-at-same-frame",
"pass": true
},
{
"name": "clone-reference-draw-gesture-preserves-repair-and-manual-keys",
"pass": true
},
{
"name": "mosaic-selected-mask-uses-object-tracking",
"pass": true
@@ -3181,12 +3232,12 @@
},
{
"keys": 2,
"name": "native-osc-drag-moves-only-the-stamp-source-and-keeps-tracking-keys",
"name": "native-osc-source-drag-keys-current-frame-and-preserves-other-tracking-keys",
"part": 7,
"pass": true,
"source": [
0.35,
0.35,
0.3499999940395355,
0.3499999940395355,
0.20000000298023224,
0.20000000298023224
],
@@ -3197,8 +3248,29 @@
"pass": true
},
{
"afterKeys": "(\n {\n confidence = 1;\n epoch = 0;\n manual = 1;\n parameters = {length = 128, bytes = 0x01000000 00000000 00000000 00000000 ... 00000000 0000803f };\n scale = 1;\n stampManualSource = 1;\n stampMotion = (\n \"0.09999999\",\n \"0.09999999\",\n 1,\n 1,\n 1,\n 1\n );\n value = 0;\n },\n {\n confidence = 1;\n epoch = 0;\n manual = 0;\n parameters = {length = 128, bytes = 0x01000000 00000000 00000000 00000000 ... 00000000 0000803f };\n scale = 25;\n value = 1;\n }\n)",
"beforeKeys": "(\n {\n confidence = 1;\n epoch = 0;\n manual = 1;\n parameters = {length = 128, bytes = 0x01000000 00000000 00000000 00000000 ... 00000000 0000803f };\n scale = 1;\n stampManualSource = 1;\n stampMotion = (\n \"0.09999999\",\n \"0.09999999\",\n 1,\n 1,\n 1,\n 1\n );\n value = 0;\n },\n {\n confidence = 1;\n epoch = 0;\n manual = 0;\n parameters = {length = 128, bytes = 0x01000000 00000000 00000000 00000000 ... 00000000 0000803f };\n scale = 25;\n value = 1;\n }\n)",
"center": [
0.6499999761581421,
0.5
],
"keysUnchanged": true,
"name": "native-osc-stamp-resizes-coverage-without-rotation-handle-or-track-changes",
"pass": true
"originalCenter": [
0.6499999761581421,
0.5
],
"originalSize": [
0.20000000298023224,
0.20000000298023224
],
"part": 2,
"pass": true,
"rotationHandle": false,
"size": [
0.2999999523162842,
0.30158731341362
]
},
{
"name": "native-osc-stamp-target-move-saves-the-canvas-key-with-a-different-action-time",
@@ -4719,7 +4791,7 @@
{
"name": "viewer-real-osc-draws-minimal-curve-on-clear-canvas",
"pass": true,
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/AD30F09C-CE6A-465B-BE80-4738527C0389/viewer-workspace.png"
"path": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/F7F6777B-F4BB-42E9-B58A-61DDD605C401/viewer-workspace.png"
},
{
"name": "canvas-hsl-plot-captures-outside-and-commits-one-undo",
@@ -5118,6 +5190,6 @@
"pass": true
}
],
"runtimePath": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/AD30F09C-CE6A-465B-BE80-4738527C0389",
"runtimePath": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/verification-runtime/F7F6777B-F4BB-42E9-B58A-61DDD605C401",
"scope": "Native model and renderer integration with real Metal/IOSurface textures and fake FxPlug host selectors; no GUI or live host document."
}
文件差异过大,未显示。 加载差异
+20
查看文件
@@ -0,0 +1,20 @@
{
"version": "1.22.2",
"build": "137",
"appNotarization": {
"id": "3179c5f6-282e-45bd-b617-929f5230a9fa",
"status": "Accepted"
},
"packageNotarization": {
"id": "7a8baaee-a092-4c53-bd44-f5c2afe3e988",
"status": "Accepted"
},
"temporaryRuleScope": "Only the two official Apple notary S3 hostnames",
"originalProfileBytesRestored": true,
"originalSHA256Verified": true,
"temporaryRulesRemoved": true,
"liveProfileReloaded": true,
"liveVerification": "Original profile; Rule mode; system HTTP proxy on; fresh public S3 request used original Manual Select / Hong Kong Ultra route, not forced direct",
"privateBackupRemoved": true,
"pass": true
}
+18
查看文件
@@ -0,0 +1,18 @@
{
"version": "1.22.2",
"build": 134,
"notary": {
"message": "Processing complete",
"status": "Accepted",
"id": "cf1c9c5d-814f-4f01-b21c-548797df94bc"
},
"status": "accepted-installed-superseded-before-host-acceptance",
"installedChecks": 1037,
"sourceCommit": "5adb9a20c7561009a6e98bc3049ed7141bb7bd33",
"temporaryAppleRouting": true,
"originalSubmissionRetained": true,
"proxyProfileRestoredByteForByte": true,
"liveOriginalProfileReloaded": true,
"privateBackupRemoved": true,
"next": "Build135 includes requested compact wrapper UI; host acceptance and publication remain pending"
}
+17 -17
查看文件
@@ -1,7 +1,7 @@
{
"package": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.0.pkg",
"sha256": "82bfe89889bd7e09ba68d85c0a52f36bb291de4cfe98c509fb6df8d40d9dd2dd",
"bytes": 44557321,
"package": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.2.pkg",
"sha256": "237baadbdfdfdf77de8529e9e05602f1ddecf5943f44d0fe80ae0a4c3eef5843",
"bytes": 44570793,
"testUnsigned": false,
"installationExecuted": false,
"checks": [
@@ -31,27 +31,27 @@
"source": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
"payload": "Library/Plug-Ins/FxPlug/大鱼调色.app",
"bundleID": "com.dayu.color",
"version": "1.22.0",
"build": "131"
"version": "1.22.2",
"build": "137"
},
{
"source": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/pkg-inputs-iqxoz06i/大鱼调色",
"payload": "Library/Application Support/PKGForge/Payload/com.dayu.color.installer.b400f64b-6c97-4e70-9d81-fcc94d4d9586/1C8FB4E7-D0F6-4C78-9315-5CE4F7B684EA/大鱼调色"
"source": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/pkg-inputs-ool2quon/大鱼调色",
"payload": "Library/Application Support/PKGForge/Payload/com.dayu.color.installer.faf1e808-82f4-4498-b59a-49036b97cfa1/ADA502C2-C737-4AEB-A96B-6B4125580791/大鱼调色"
}
],
"signature": "Package \"大鱼调色-1.22.0.pkg\":\n Status: signed by a developer certificate issued by Apple for distribution\n Notarization: trusted by the Apple notary service\n Signed with a trusted timestamp on: 2026-11-11 11:58:15 +0000\n Certificate Chain:\n 1. Developer ID Installer: zhong luo (B3W25FX5H5)\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n C0 19 01 3C 67 88 8F 34 65 56 C5 91 3C E5 B6 12 4C 5D A6 DA F9 D8 \n DA 00 37 52 DF F0 F3 E6 00 B4\n ------------------------------------------------------------------------\n 2. Developer ID Certification Authority\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n 7A FC 9D 01 A6 2F 03 A2 DE 96 37 93 6D 4A FE 68 09 0D 2D E1 8D 03 \n F2 9C 88 CF B0 B1 BA 63 58 7F\n ------------------------------------------------------------------------\n 3. Apple Root CA\n Expires: 2035-02-09 21:40:36 +0000\n SHA256 Fingerprint:\n B0 B1 73 0E CB C7 FF 45 05 14 2C 49 F1 29 5E 6E DA 6B CA ED 7E 2C \n 68 C5 BE 91 B5 A1 10 01 F0 24",
"gatekeeper": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.0.pkg: accepted\nsource=Notarized Developer ID",
"signature": "Package \"大鱼调色-1.22.2.pkg\":\n Status: signed by a developer certificate issued by Apple for distribution\n Notarization: trusted by the Apple notary service\n Signed with a trusted timestamp on: 2026-11-14 16:19:25 +0000\n Certificate Chain:\n 1. Developer ID Installer: zhong luo (B3W25FX5H5)\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n C0 19 01 3C 67 88 8F 34 65 56 C5 91 3C E5 B6 12 4C 5D A6 DA F9 D8 \n DA 00 37 52 DF F0 F3 E6 00 B4\n ------------------------------------------------------------------------\n 2. Developer ID Certification Authority\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n 7A FC 9D 01 A6 2F 03 A2 DE 96 37 93 6D 4A FE 68 09 0D 2D E1 8D 03 \n F2 9C 88 CF B0 B1 BA 63 58 7F\n ------------------------------------------------------------------------\n 3. Apple Root CA\n Expires: 2035-02-09 21:40:36 +0000\n SHA256 Fingerprint:\n B0 B1 73 0E CB C7 FF 45 05 14 2C 49 F1 29 5E 6E DA 6B CA ED 7E 2C \n 68 C5 BE 91 B5 A1 10 01 F0 24",
"gatekeeper": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.2.pkg: accepted\nsource=Notarized Developer ID",
"pass": true,
"scope": "Expanded package structural and payload verification only; no installer scripts executed and no host quit or registration performed.",
"notarization": {
"status": "Accepted",
"name": "大鱼调色-1.22.0.pkg",
"createdDate": "2026-11-11T11:58:18.896Z",
"id": "bfb54c49-b563-4420-9e9b-2319e1565420",
"message": "Successfully received submission info"
"createdDate": "2026-11-14T16:19:29.932Z",
"name": "大鱼调色-1.22.2.pkg",
"message": "Successfully received submission info",
"id": "7a8baaee-a092-4c53-bd44-f5c2afe3e988",
"status": "Accepted"
},
"appCompiledSource": "d979f8958caf36cc7b97ea838960c69f7fbb4d91",
"appBuild": "131",
"appCompiledSource": "aa60572b517ba7dd8fbd9d2f0d46bd810cc3e1a6",
"appBuild": "137",
"packageBuilderRemote": "https://dayu.media/git/dayu/pkg-forge.git",
"residentAppClosing": {
"identifiers": [
@@ -127,6 +127,6 @@
"entries": 192,
"scope": "Read/traverse modes for installer-owned app entries, from the package BOM"
},
"installedAppHostAcceptance": "verification/HostOnlineLUT1.22.0.json",
"installedAppHostAcceptance": "verification/HostClone1.22.2.json",
"installScope": "本轮仅生成并验包,未再次执行系统安装;正式 APP 已有独立宿主验收。"
}
+132
查看文件
@@ -0,0 +1,132 @@
{
"package": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.1.pkg",
"sha256": "a5f5a335f7f1d3d8c42f829da941da75dcfd974febcc75d16cab26499c757663",
"bytes": 44557648,
"testUnsigned": false,
"installationExecuted": false,
"checks": [
"PKG Developer ID Installer signature",
"PKG stapled ticket and Gatekeeper install assessment",
"must-close attached to root-authorized payload",
"all four FCP/Motion host identifiers",
"bundle relocation disabled",
"desktop and Bundle ID preinstall guards",
"postinstall contains actual FxPlug verification invocations",
"GUI worker, registration repair and Finder reveal present",
"successful completion and consecutive registration checks",
"exact payload contents: 大鱼调色.app",
"fixed FxPlug outer APP install path",
"outer APP has one real verification action",
"service path/identifier/registration version: com.dayu.color.XPC",
"nonempty FxPlug service manifest",
"payload APP signature, independent ticket and Gatekeeper",
"exact payload contents: 大鱼调色",
"login-user resource destination: ~/Movies/Motion Templates.localized/Effects.localized",
"complete outer APP payload present",
"welcome warns to save work and close hosts",
"conclusion gives manual APP and host restart instructions"
],
"resources": [
{
"source": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
"payload": "Library/Plug-Ins/FxPlug/大鱼调色.app",
"bundleID": "com.dayu.color",
"version": "1.22.1",
"build": "133"
},
{
"source": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/pkg-inputs-f13eo94l/大鱼调色",
"payload": "Library/Application Support/PKGForge/Payload/com.dayu.color.installer.a219b8a8-7991-4dbb-8f88-f6bba424c22c/674E6120-3C0A-4B62-ADE6-66DDD5C9B7B4/大鱼调色"
}
],
"signature": "Package \"大鱼调色-1.22.1.pkg\":\n Status: signed by a developer certificate issued by Apple for distribution\n Notarization: trusted by the Apple notary service\n Signed with a trusted timestamp on: 2026-11-11 14:41:21 +0000\n Certificate Chain:\n 1. Developer ID Installer: zhong luo (B3W25FX5H5)\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n C0 19 01 3C 67 88 8F 34 65 56 C5 91 3C E5 B6 12 4C 5D A6 DA F9 D8 \n DA 00 37 52 DF F0 F3 E6 00 B4\n ------------------------------------------------------------------------\n 2. Developer ID Certification Authority\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n 7A FC 9D 01 A6 2F 03 A2 DE 96 37 93 6D 4A FE 68 09 0D 2D E1 8D 03 \n F2 9C 88 CF B0 B1 BA 63 58 7F\n ------------------------------------------------------------------------\n 3. Apple Root CA\n Expires: 2035-02-09 21:40:36 +0000\n SHA256 Fingerprint:\n B0 B1 73 0E CB C7 FF 45 05 14 2C 49 F1 29 5E 6E DA 6B CA ED 7E 2C \n 68 C5 BE 91 B5 A1 10 01 F0 24",
"gatekeeper": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.1.pkg: accepted\nsource=Notarized Developer ID",
"pass": true,
"scope": "Expanded package structural and payload verification only; no installer scripts executed and no host quit or registration performed.",
"notarization": {
"status": "Accepted",
"id": "b1f73787-263b-47d7-b126-68d858437594",
"message": "Successfully received submission info",
"name": "大鱼调色-1.22.1.pkg",
"createdDate": "2026-11-11T14:41:25.556Z"
},
"appCompiledSource": "7f833757da243f2a4610c23c36ec278b44c80ad4",
"appBuild": "133",
"packageBuilderRemote": "https://dayu.media/git/dayu/pkg-forge.git",
"residentAppClosing": {
"identifiers": [
"com.apple.FinalCut",
"com.apple.FinalCutApp",
"com.apple.motionapp",
"com.apple.motionappApp",
"com.dayu.color"
],
"preinstallGuardCount": 1,
"normalQuit": true
},
"packageEntryAdaptation": {
"upstreamEntrySHA256": "a1a8bc8920cfa2dfe4a7d65c4403eec8a8f3ec81b0736951578a81a80389bfc0",
"adaptedEntrySHA256": "4d9cef08673a690427de0757a5cfe42251d01aa47e40902a5155d46d01c71503",
"requiredApplication": "com.dayu.color"
},
"packageBuilderCommit": "eb53707c0e67d8ddeab8c1270bb079f1050cfafe",
"templateSHA256": {
"大鱼调色/大鱼调色.moef": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
"大鱼调色/large.png": "ab12611e8801cff86332ccc505a4cffa0c1120541c2efb9bb9908be2c9fe631a",
"大鱼调色/small.png": "41fec3138aee904fc39d6982e6fde809243ffec55298dbfe966f4f48d89caf8a",
"一级调色/一级调色.moef": "e4612f58eee5bf07a0a44cc5f6d65f9ca207b7f6946da938ed05f7d254ca7924",
"一级调色/large.png": "b9b990a46f3fd9b6974a1aba1a3e9bff11a287fd1615d4cd0f9e7393c302631b",
"一级调色/small.png": "77b36c042fb82219651e5bd22c1057b644c06a528a8962d4afecdcb8cab52635",
"蜘蛛盘校色仪/蜘蛛盘校色仪.moef": "68e91d3747a119e684f659093cb520a7fbd495336e8a1552316e52031e975ad5",
"蜘蛛盘校色仪/large.png": "52de21d5fc598fda331cd472b937cf4aaf69a09c80d49e7b168ac7804e9cd040",
"蜘蛛盘校色仪/small.png": "ea9b69d12948c5cd5f6acd9d000822d9fff6df3beec9dd278077a8ab66d455cd",
"基础调整/基础调整.moef": "ca6a584dd168990870fa774df8ba3fcfce5ad2e8de4d28bd656057fdaa1dbdca",
"基础调整/large.png": "a25e2b5ed50628ebe77220719528d14f21c25b5eecf37a5d60f211d2179ece43",
"基础调整/small.png": "3da91ae3461b882f5e1a557b4191d9aedaa6d329da70999eb7f26cbfb63a057f",
"肤色保护/肤色保护.moef": "06fdf5964f487a7cca3d6dce6e68013d3c0ba5b5c73c4bb392c7b58f5d916212",
"肤色保护/large.png": "f124e8f3d93c2be76ba26ba06d8b9c0b42e2c10dcb6300ae6ee7b7d7c7eb3025",
"肤色保护/small.png": "51fe525e67903101920a994d3540f368780d3aa9c0e54ebdb847871c82d81562",
"风格 LUT/风格 LUT.moef": "595f722d3ac99555d4e22611907b6273a3fb36fea59b8949be58eb1f7d319501",
"风格 LUT/large.png": "a9a4b48885752282535ec3ec2ffbe19bcd27af7132337e4a4ad3d104a2082692",
"风格 LUT/small.png": "9ae76ba957b1e94a5a03a600140f59e98861917d13da9124082810c509400e36",
"HSL/HSL.moef": "97bcbf240f86f485299c298d90f9339aa87a2751cef475e3d6a1637144d4ab13",
"HSL/large.png": "eaa2e7b025dc59416fddb8de8b9c56f0a7d34ba70facd7aa45cfb84660f7da78",
"HSL/small.png": "3a54428bc6821e75935aa1be0f149aac6e6ce05fcc059b7f0e90ceef9a41981e",
"曲线/曲线.moef": "3f235de32384a3b268982609583702d28470ed91c756f1b13947454f22bf3fc0",
"曲线/large.png": "273899eb6aa60fc0f7c8d41cc0e1f5a15b4c88a8803c00020a085ea874160870",
"曲线/small.png": "c17a2343b076650344b1c53ce92acf32f7696d66e32bda2d156996d4e3b834f5",
"颜色分级/颜色分级.moef": "c49877ada4fa0ac49fa497b62f3a3e09bfe15f0d73b352bdfbeb0a9a2b7b1aad",
"颜色分级/large.png": "f9afe6c3a76080a2a7c7ea98f24e62a74ab2e6fd8b4ad16ba9eb6065fef5d2ed",
"颜色分级/small.png": "9e9d7759f829d25a01a77422c989949b02ad34de81013f6b91505c4a3d1397e9",
"三原色/三原色.moef": "6015ecc2cc89116b05d601df920ae674bad9ad4c6e7bad1f0eac889e08cda60d",
"三原色/large.png": "bf7bfc893e294fc38c0f97e5594b6ba6e5c7126b9aae643754c89647e8bd5a1f",
"三原色/small.png": "2e28988e6bae0503edadef22cf7793ce51a1b8e5930623b2eff3c01212e57ee8",
"色阶/色阶.moef": "b653b0981e0975605d2857a87bd495885d3370d3e9bcd9dc3a59b0012bf1f79e",
"色阶/large.png": "fcea12f4367039ea1512d2e23d51b9ca5198172dc5b10a1ff94a828fe94f4802",
"色阶/small.png": "41cd1a9c4d3b68972181534abe0e91bdb9e01ef5559b6b1f7ef6bf305f450a76",
"黑白混色/黑白混色.moef": "96f2d1fc2fe5ed2a8eabdf3a3bf5eb7fff145d55a0ce05807dcd834d2b8e9b32",
"黑白混色/large.png": "6df07fb223ab43b2b5b6115bef4a1a97eed5cbeb6afab84e005c3a2bdfe01979",
"黑白混色/small.png": "5382be0d29b4a195b8639b3c325f80e9b8cecaa9c12837ab5cf57b6ea877ecbc",
"色彩平衡/色彩平衡.moef": "be935b1e399e2a47394b54b24fc2e32eb0622ae0cd28f83e1d2d895c3c1133d6",
"色彩平衡/large.png": "fa2ce9071dee52d7ab9dc7cf6020f8679df3af707663c9a57a28fcde73e6801e",
"色彩平衡/small.png": "12a72a9f26e6ee41613b16ed2402f94a04837e55895addc8f5c25137ad7feaa6",
"通道混合器/通道混合器.moef": "7c5889c052534edd0043f439f59fe31a987c9c626d9097ce7f3d7280a888b1e3",
"通道混合器/large.png": "5ae9d2683450a3a515822520911885a774e202aa924465602f7369a1e67c0c4c",
"通道混合器/small.png": "23bfafb79287855e037f98f0ab5cee10914384824b1a65f0247cad2dd239ef1c",
"胶片模拟/胶片模拟.moef": "a559c654976ce711d01ef5b81ccaf01df8d81a9de501780cccc519fb72c4b7f2",
"胶片模拟/large.png": "d36a794f9640874f6ad7f3523b9eac92ba7c6ef8fa7b63c4594fc68e87c2eee7",
"胶片模拟/small.png": "f125deaf0c8d55ecc04e555cfb133c40ff3703f34a663548c6b38b3196780eb1",
"镜头畸变修复/镜头畸变修复.moef": "5ddb7e97d718d1b78cbc162b042aed1debdd0fecd12b8596590d5de5307c19ae",
"镜头畸变修复/large.png": "a00136fb9276c41518ba6096314fb6772ad1dc9be4f4d766409239fa923cfcd1",
"镜头畸变修复/small.png": "1b2480cfa33e1ab54a1ffcd81d9496aac1354b0d2974d6616fe7128965c2ede3",
"CST 色彩空间转换/CST 色彩空间转换.moef": "96d684ec87cbef801316abd83a1c247360d9adf9dca52ae84881c400c898f1da",
"CST 色彩空间转换/large.png": "816db272970491181aca4b872f09ca1900ebf0e7f21fee5bd6e2b4daedea5306",
"CST 色彩空间转换/small.png": "677353684eeaa1986bd21580eb0f2dcf4486f8cfba3985686c2ecb67afed5dbc"
},
"payloadBundleAccess": {
"entries": 192,
"scope": "Read/traverse modes for installer-owned app entries, from the package BOM"
},
"installedAppHostAcceptance": "verification/HostUnifiedLUT1.22.1.json",
"installScope": "本轮仅生成并验包,未再次执行系统安装;正式 APP 已有独立宿主验收。"
}
+132
查看文件
@@ -0,0 +1,132 @@
{
"package": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.2.pkg",
"sha256": "237baadbdfdfdf77de8529e9e05602f1ddecf5943f44d0fe80ae0a4c3eef5843",
"bytes": 44570793,
"testUnsigned": false,
"installationExecuted": false,
"checks": [
"PKG Developer ID Installer signature",
"PKG stapled ticket and Gatekeeper install assessment",
"must-close attached to root-authorized payload",
"all four FCP/Motion host identifiers",
"bundle relocation disabled",
"desktop and Bundle ID preinstall guards",
"postinstall contains actual FxPlug verification invocations",
"GUI worker, registration repair and Finder reveal present",
"successful completion and consecutive registration checks",
"exact payload contents: 大鱼调色.app",
"fixed FxPlug outer APP install path",
"outer APP has one real verification action",
"service path/identifier/registration version: com.dayu.color.XPC",
"nonempty FxPlug service manifest",
"payload APP signature, independent ticket and Gatekeeper",
"exact payload contents: 大鱼调色",
"login-user resource destination: ~/Movies/Motion Templates.localized/Effects.localized",
"complete outer APP payload present",
"welcome warns to save work and close hosts",
"conclusion gives manual APP and host restart instructions"
],
"resources": [
{
"source": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
"payload": "Library/Plug-Ins/FxPlug/大鱼调色.app",
"bundleID": "com.dayu.color",
"version": "1.22.2",
"build": "137"
},
{
"source": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/pkg-inputs-ool2quon/大鱼调色",
"payload": "Library/Application Support/PKGForge/Payload/com.dayu.color.installer.faf1e808-82f4-4498-b59a-49036b97cfa1/ADA502C2-C737-4AEB-A96B-6B4125580791/大鱼调色"
}
],
"signature": "Package \"大鱼调色-1.22.2.pkg\":\n Status: signed by a developer certificate issued by Apple for distribution\n Notarization: trusted by the Apple notary service\n Signed with a trusted timestamp on: 2026-11-14 16:19:25 +0000\n Certificate Chain:\n 1. Developer ID Installer: zhong luo (B3W25FX5H5)\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n C0 19 01 3C 67 88 8F 34 65 56 C5 91 3C E5 B6 12 4C 5D A6 DA F9 D8 \n DA 00 37 52 DF F0 F3 E6 00 B4\n ------------------------------------------------------------------------\n 2. Developer ID Certification Authority\n Expires: 2027-02-01 22:12:15 +0000\n SHA256 Fingerprint:\n 7A FC 9D 01 A6 2F 03 A2 DE 96 37 93 6D 4A FE 68 09 0D 2D E1 8D 03 \n F2 9C 88 CF B0 B1 BA 63 58 7F\n ------------------------------------------------------------------------\n 3. Apple Root CA\n Expires: 2035-02-09 21:40:36 +0000\n SHA256 Fingerprint:\n B0 B1 73 0E CB C7 FF 45 05 14 2C 49 F1 29 5E 6E DA 6B CA ED 7E 2C \n 68 C5 BE 91 B5 A1 10 01 F0 24",
"gatekeeper": "/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.2.pkg: accepted\nsource=Notarized Developer ID",
"pass": true,
"scope": "Expanded package structural and payload verification only; no installer scripts executed and no host quit or registration performed.",
"notarization": {
"createdDate": "2026-11-14T16:19:29.932Z",
"name": "大鱼调色-1.22.2.pkg",
"message": "Successfully received submission info",
"id": "7a8baaee-a092-4c53-bd44-f5c2afe3e988",
"status": "Accepted"
},
"appCompiledSource": "aa60572b517ba7dd8fbd9d2f0d46bd810cc3e1a6",
"appBuild": "137",
"packageBuilderRemote": "https://dayu.media/git/dayu/pkg-forge.git",
"residentAppClosing": {
"identifiers": [
"com.apple.FinalCut",
"com.apple.FinalCutApp",
"com.apple.motionapp",
"com.apple.motionappApp",
"com.dayu.color"
],
"preinstallGuardCount": 1,
"normalQuit": true
},
"packageEntryAdaptation": {
"upstreamEntrySHA256": "a1a8bc8920cfa2dfe4a7d65c4403eec8a8f3ec81b0736951578a81a80389bfc0",
"adaptedEntrySHA256": "4d9cef08673a690427de0757a5cfe42251d01aa47e40902a5155d46d01c71503",
"requiredApplication": "com.dayu.color"
},
"packageBuilderCommit": "eb53707c0e67d8ddeab8c1270bb079f1050cfafe",
"templateSHA256": {
"大鱼调色/大鱼调色.moef": "48d9ff4883cf189ae0a54b5cf412a898beb97b38d29d6cbc745d6cfa613dce60",
"大鱼调色/large.png": "ab12611e8801cff86332ccc505a4cffa0c1120541c2efb9bb9908be2c9fe631a",
"大鱼调色/small.png": "41fec3138aee904fc39d6982e6fde809243ffec55298dbfe966f4f48d89caf8a",
"一级调色/一级调色.moef": "e4612f58eee5bf07a0a44cc5f6d65f9ca207b7f6946da938ed05f7d254ca7924",
"一级调色/large.png": "b9b990a46f3fd9b6974a1aba1a3e9bff11a287fd1615d4cd0f9e7393c302631b",
"一级调色/small.png": "77b36c042fb82219651e5bd22c1057b644c06a528a8962d4afecdcb8cab52635",
"蜘蛛盘校色仪/蜘蛛盘校色仪.moef": "68e91d3747a119e684f659093cb520a7fbd495336e8a1552316e52031e975ad5",
"蜘蛛盘校色仪/large.png": "52de21d5fc598fda331cd472b937cf4aaf69a09c80d49e7b168ac7804e9cd040",
"蜘蛛盘校色仪/small.png": "ea9b69d12948c5cd5f6acd9d000822d9fff6df3beec9dd278077a8ab66d455cd",
"基础调整/基础调整.moef": "ca6a584dd168990870fa774df8ba3fcfce5ad2e8de4d28bd656057fdaa1dbdca",
"基础调整/large.png": "a25e2b5ed50628ebe77220719528d14f21c25b5eecf37a5d60f211d2179ece43",
"基础调整/small.png": "3da91ae3461b882f5e1a557b4191d9aedaa6d329da70999eb7f26cbfb63a057f",
"肤色保护/肤色保护.moef": "06fdf5964f487a7cca3d6dce6e68013d3c0ba5b5c73c4bb392c7b58f5d916212",
"肤色保护/large.png": "f124e8f3d93c2be76ba26ba06d8b9c0b42e2c10dcb6300ae6ee7b7d7c7eb3025",
"肤色保护/small.png": "51fe525e67903101920a994d3540f368780d3aa9c0e54ebdb847871c82d81562",
"风格 LUT/风格 LUT.moef": "595f722d3ac99555d4e22611907b6273a3fb36fea59b8949be58eb1f7d319501",
"风格 LUT/large.png": "a9a4b48885752282535ec3ec2ffbe19bcd27af7132337e4a4ad3d104a2082692",
"风格 LUT/small.png": "9ae76ba957b1e94a5a03a600140f59e98861917d13da9124082810c509400e36",
"HSL/HSL.moef": "97bcbf240f86f485299c298d90f9339aa87a2751cef475e3d6a1637144d4ab13",
"HSL/large.png": "eaa2e7b025dc59416fddb8de8b9c56f0a7d34ba70facd7aa45cfb84660f7da78",
"HSL/small.png": "3a54428bc6821e75935aa1be0f149aac6e6ce05fcc059b7f0e90ceef9a41981e",
"曲线/曲线.moef": "3f235de32384a3b268982609583702d28470ed91c756f1b13947454f22bf3fc0",
"曲线/large.png": "273899eb6aa60fc0f7c8d41cc0e1f5a15b4c88a8803c00020a085ea874160870",
"曲线/small.png": "c17a2343b076650344b1c53ce92acf32f7696d66e32bda2d156996d4e3b834f5",
"颜色分级/颜色分级.moef": "c49877ada4fa0ac49fa497b62f3a3e09bfe15f0d73b352bdfbeb0a9a2b7b1aad",
"颜色分级/large.png": "f9afe6c3a76080a2a7c7ea98f24e62a74ab2e6fd8b4ad16ba9eb6065fef5d2ed",
"颜色分级/small.png": "9e9d7759f829d25a01a77422c989949b02ad34de81013f6b91505c4a3d1397e9",
"三原色/三原色.moef": "6015ecc2cc89116b05d601df920ae674bad9ad4c6e7bad1f0eac889e08cda60d",
"三原色/large.png": "bf7bfc893e294fc38c0f97e5594b6ba6e5c7126b9aae643754c89647e8bd5a1f",
"三原色/small.png": "2e28988e6bae0503edadef22cf7793ce51a1b8e5930623b2eff3c01212e57ee8",
"色阶/色阶.moef": "b653b0981e0975605d2857a87bd495885d3370d3e9bcd9dc3a59b0012bf1f79e",
"色阶/large.png": "fcea12f4367039ea1512d2e23d51b9ca5198172dc5b10a1ff94a828fe94f4802",
"色阶/small.png": "41cd1a9c4d3b68972181534abe0e91bdb9e01ef5559b6b1f7ef6bf305f450a76",
"黑白混色/黑白混色.moef": "96f2d1fc2fe5ed2a8eabdf3a3bf5eb7fff145d55a0ce05807dcd834d2b8e9b32",
"黑白混色/large.png": "6df07fb223ab43b2b5b6115bef4a1a97eed5cbeb6afab84e005c3a2bdfe01979",
"黑白混色/small.png": "5382be0d29b4a195b8639b3c325f80e9b8cecaa9c12837ab5cf57b6ea877ecbc",
"色彩平衡/色彩平衡.moef": "be935b1e399e2a47394b54b24fc2e32eb0622ae0cd28f83e1d2d895c3c1133d6",
"色彩平衡/large.png": "fa2ce9071dee52d7ab9dc7cf6020f8679df3af707663c9a57a28fcde73e6801e",
"色彩平衡/small.png": "12a72a9f26e6ee41613b16ed2402f94a04837e55895addc8f5c25137ad7feaa6",
"通道混合器/通道混合器.moef": "7c5889c052534edd0043f439f59fe31a987c9c626d9097ce7f3d7280a888b1e3",
"通道混合器/large.png": "5ae9d2683450a3a515822520911885a774e202aa924465602f7369a1e67c0c4c",
"通道混合器/small.png": "23bfafb79287855e037f98f0ab5cee10914384824b1a65f0247cad2dd239ef1c",
"胶片模拟/胶片模拟.moef": "a559c654976ce711d01ef5b81ccaf01df8d81a9de501780cccc519fb72c4b7f2",
"胶片模拟/large.png": "d36a794f9640874f6ad7f3523b9eac92ba7c6ef8fa7b63c4594fc68e87c2eee7",
"胶片模拟/small.png": "f125deaf0c8d55ecc04e555cfb133c40ff3703f34a663548c6b38b3196780eb1",
"镜头畸变修复/镜头畸变修复.moef": "5ddb7e97d718d1b78cbc162b042aed1debdd0fecd12b8596590d5de5307c19ae",
"镜头畸变修复/large.png": "a00136fb9276c41518ba6096314fb6772ad1dc9be4f4d766409239fa923cfcd1",
"镜头畸变修复/small.png": "1b2480cfa33e1ab54a1ffcd81d9496aac1354b0d2974d6616fe7128965c2ede3",
"CST 色彩空间转换/CST 色彩空间转换.moef": "96d684ec87cbef801316abd83a1c247360d9adf9dca52ae84881c400c898f1da",
"CST 色彩空间转换/large.png": "816db272970491181aca4b872f09ca1900ebf0e7f21fee5bd6e2b4daedea5306",
"CST 色彩空间转换/small.png": "677353684eeaa1986bd21580eb0f2dcf4486f8cfba3985686c2ecb67afed5dbc"
},
"payloadBundleAccess": {
"entries": 192,
"scope": "Read/traverse modes for installer-owned app entries, from the package BOM"
},
"installedAppHostAcceptance": "verification/HostClone1.22.2.json",
"installScope": "本轮仅生成并验包,未再次执行系统安装;正式 APP 已有独立宿主验收。"
}
@@ -0,0 +1,17 @@
{
"authorizedScope": [
"notary-submissions-prod.s3.us-west-2.amazonaws.com",
"notary-submissions-prod.s3-accelerate.amazonaws.com"
],
"originalProfileSHA256": "c2fbb33c63fbdd6018209afd172cbeb49dd28a7eefceed02f500e1202e31d078",
"phase": "finished",
"temporaryProfileSHA256": "3a1056e5e2ce19af781ed4c790d1d1a7f70e15b048c374910929b94b8a79c9ca",
"originalBytesRestored": true,
"liveProxyExactlyRestored": true,
"privateBackupRemoved": true,
"passResult": true,
"purpose": "Only Apple S3 host routing during PKG notarization upload",
"notaryID": "b1f73787-263b-47d7-b126-68d858437594",
"notaryStatus": "Accepted",
"privateConfigurationNotCommitted": true
}
+15
查看文件
@@ -0,0 +1,15 @@
{
"passResult": true,
"remote": "https://dayu.media/git/dayu/dayu-color.git",
"tag": "v1.22.1-unified-luts-20261111",
"releaseCommit": "cdf23fb4fd1863867945e528ae060522d566b457",
"appCompiledSource": "7f833757da243f2a4610c23c36ec278b44c80ad4",
"independentHTTPSClone": true,
"trackedFilesByteMatched": 939,
"appBuildInputsByteMatched": 255,
"gitFsck": true,
"LFSObjectsRequired": false,
"submodules": false,
"tools": "Xcode 27.1, FxPlug SDK 4.3.5, Apple Silicon, macOS 14.6+, locked ColorManagement dependencies",
"temporaryCloneRemovedAfterCheck": true
}
+15
查看文件
@@ -0,0 +1,15 @@
{
"passResult": true,
"remote": "https://dayu.media/git/dayu/dayu-color.git",
"tag": "v1.22.2-clone-ui-20261115",
"releaseCommit": "90ca0f4a08ecd8481a2e736f50ede2fa0fd2f1ef",
"appCompiledSource": "aa60572b517ba7dd8fbd9d2f0d46bd810cc3e1a6",
"independentHTTPSClone": true,
"trackedFilesByteMatched": 986,
"appBuildInputsByteMatched": 343,
"gitFsck": true,
"LFSObjectsRequired": false,
"submodules": false,
"tools": "Xcode 27.2, FxPlug SDK 4.3.5, installed Metal component, Apple Silicon, macOS 14.6+, locked ColorManagement dependencies",
"temporaryCloneRemovedAfterCheck": true
}
+9 -9
查看文件
@@ -3,15 +3,15 @@
"repository": "dayu/dayu-color",
"repositoryID": 52,
"private": false,
"tag": "v1.22.0-online-luts-20261111",
"releaseCommit": "31d1089264e10469bececa7b27b3bcd06a7eb445",
"releaseID": 428,
"releaseURL": "https://dayu.media/git/dayu/dayu-color/releases/tag/v1.22.0-online-luts-20261111",
"assetID": 69,
"assetName": "大鱼调色-1.22.0.pkg",
"downloadURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.22.0-online-luts-20261111/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.22.0.pkg",
"bytes": 44557321,
"sha256": "82bfe89889bd7e09ba68d85c0a52f36bb291de4cfe98c509fb6df8d40d9dd2dd",
"tag": "v1.22.2-clone-ui-20261115",
"releaseCommit": "90ca0f4a08ecd8481a2e736f50ede2fa0fd2f1ef",
"releaseID": 437,
"releaseURL": "https://dayu.media/git/dayu/dayu-color/releases/tag/v1.22.2-clone-ui-20261115",
"assetID": 72,
"assetName": "大鱼调色-1.22.2.pkg",
"downloadURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.22.2-clone-ui-20261115/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.22.2.pkg",
"bytes": 44570793,
"sha256": "237baadbdfdfdf77de8529e9e05602f1ddecf5943f44d0fe80ae0a4c3eef5843",
"existingAssetReused": true,
"verification": "Authenticated full download SHA-256 and byte count, then release/asset read-back.",
"credentialSource": "macOS Keychain: dayu-git-api"
+22
查看文件
@@ -0,0 +1,22 @@
{
"passResult": true,
"repository": "dayu/dayu-color",
"repositoryID": 52,
"private": false,
"tag": "v1.22.1-unified-luts-20261111",
"releaseCommit": "cdf23fb4fd1863867945e528ae060522d566b457",
"releaseID": 431,
"releaseURL": "https://dayu.media/git/dayu/dayu-color/releases/tag/v1.22.1-unified-luts-20261111",
"assetID": 70,
"assetName": "大鱼调色-1.22.1.pkg",
"downloadURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.22.1-unified-luts-20261111/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.22.1.pkg",
"bytes": 44557648,
"sha256": "a5f5a335f7f1d3d8c42f829da941da75dcfd974febcc75d16cab26499c757663",
"existingAssetReused": true,
"verification": "Authenticated full download SHA-256 and byte count, then release/asset read-back.",
"credentialSource": "macOS Keychain: dayu-git-api",
"draftDownloadVerification": "verification/ReleaseDraftDownload1.22.1.json",
"installedAPP": "verification/Delivery1.22.1.json",
"hostAcceptance": "verification/HostUnifiedLUT1.22.1.json",
"sourceRecovery": "verification/Recovery1.22.1.json"
}
+18
查看文件
@@ -0,0 +1,18 @@
{
"passResult": true,
"repository": "dayu/dayu-color",
"repositoryID": 52,
"private": false,
"tag": "v1.22.2-clone-ui-20261115",
"releaseCommit": "90ca0f4a08ecd8481a2e736f50ede2fa0fd2f1ef",
"releaseID": 437,
"releaseURL": "https://dayu.media/git/dayu/dayu-color/releases/tag/v1.22.2-clone-ui-20261115",
"assetID": 72,
"assetName": "大鱼调色-1.22.2.pkg",
"downloadURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.22.2-clone-ui-20261115/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.22.2.pkg",
"bytes": 44570793,
"sha256": "237baadbdfdfdf77de8529e9e05602f1ddecf5943f44d0fe80ae0a4c3eef5843",
"existingAssetReused": true,
"verification": "Authenticated full download SHA-256 and byte count, then release/asset read-back.",
"credentialSource": "macOS Keychain: dayu-git-api"
}
@@ -0,0 +1,20 @@
{
"passResult": true,
"releaseID": 431,
"assetID": 70,
"downloadURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.22.1-unified-luts-20261111/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.22.1.pkg",
"authenticatedBrowser": "Microsoft Edge normal signed-in session",
"downloadCopies": [
{
"path": "/Volumes/备份/大鱼调色-1.22.1.pkg",
"bytes": 44557648,
"sha256": "a5f5a335f7f1d3d8c42f829da941da75dcfd974febcc75d16cab26499c757663"
},
{
"path": "/Volumes/备份/大鱼调色-1.22.1 (1).pkg",
"bytes": 44557648,
"sha256": "a5f5a335f7f1d3d8c42f829da941da75dcfd974febcc75d16cab26499c757663"
}
],
"verifiedBeforePublishing": true
}
@@ -0,0 +1,13 @@
{
"releaseID": 437,
"assetID": 72,
"tag": "v1.22.2-clone-ui-20261115",
"draft": true,
"downloadedVia": "Existing authenticated Microsoft Edge session",
"downloadURL": "https://dayu.media/git/dayu/dayu-color/releases/download/v1.22.2-clone-ui-20261115/%E5%A4%A7%E9%B1%BC%E8%B0%83%E8%89%B2-1.22.2.pkg",
"bytes": 44570793,
"sha256": "237baadbdfdfdf77de8529e9e05602f1ddecf5943f44d0fe80ae0a4c3eef5843",
"pass": true,
"verificationFile": "/Volumes/备份/大鱼调色-1.22.2.pkg",
"downloadTemporaryCopyRemoved": true
}
文件差异过大,未显示。 加载差异
@@ -0,0 +1,135 @@
{
"checkedAt": "2026-11-14T22:26:29.858402+08:00",
"requestedWork": "制作新的安装包、更新文章和推送仓库",
"status": "blocked-before-formal-build-and-publication",
"authorization": "User has authorized the package, article and repository publication; no additional permission is required within this scope.",
"executionConfigurationMismatch": {
"userReportsFullAccessAlreadyEnabled": true,
"localConfigPath": "/Users/mac/.codex/config.toml",
"localConfigSandboxMode": "danger-full-access",
"localConfigApprovalPolicy": "never",
"localProjectTrustLevel": "trusted",
"observedProcessEnvironment": {
"CODEX_SANDBOX_NETWORK_DISABLED": "1"
},
"effectiveSessionPolicy": "workspace-write with Git metadata read-only and sandbox escalation unavailable",
"sessionStatusReadback": "codex_app/read_thread failed with an app tool request error",
"rootCause": "Not established. Stored configuration and effective session restrictions differ; mode routing, configuration override and application permission propagation have not been distinguished.",
"furtherUserAuthorizationNeeded": false
},
"repository": {
"root": "/Volumes/备份/大鱼调色/大鱼调色",
"remote": "https://dayu.media/git/dayu/dayu-color.git",
"branch": "main",
"localHEAD": "5a10408557cf4bb7dd96477ecc72829f48242a07",
"existingUnrelatedChangePreserved": "大鱼调色.xcodeproj/project.pbxproj Security.framework reference ordering",
"gitMetadataAccess": "read-only under current session permission profile"
},
"installedProduct": {
"path": "/Library/Plug-Ins/FxPlug/大鱼调色.app",
"version": "1.22.1",
"build": "133",
"verification": "Read CFBundleShortVersionString and CFBundleVersion with plutil; not a new host acceptance test."
},
"sourceComparison": {
"reference": "verification/CloneRepairFix-20261114.json",
"field": "sourceSHA256",
"files": 16,
"allUnchanged": true,
"priorIsolatedChecks": 24,
"rerun": false,
"addedFormalNativeChecksExecuted": false,
"FCPAcceptanceCompleted": false
},
"preflight": [
{
"name": "delivery-lock",
"operation": "Atomic mkdir followed by removal only if created",
"path": "/Users/mac/.codex/app-delivery-locks/com.dayu.color.lock",
"pass": false,
"errno": 1,
"error": "Operation not permitted",
"lockCreated": false
},
{
"name": "repository-lock",
"operation": "Atomic mkdir followed by removal only if created",
"path": "/Users/mac/.codex/git-backup-locks/d22eb11b96e9de5ccebe32e2af005ad1b92aedffed8b5fef62656f50cc90aa7a.lock",
"pass": false,
"errno": 1,
"error": "Operation not permitted",
"lockCreated": false
},
{
"name": "repository-authentication",
"command": "/Users/mac/.local/bin/dayu-git auth status",
"pass": false,
"error": "Keychain access failed (status -50).",
"serverAuthorizationEvaluated": false
},
{
"name": "remote-main-readback",
"command": "git ls-remote origin refs/heads/main",
"pass": false,
"exitCode": 128,
"error": "Could not resolve host: dayu.media",
"remoteSHA": null
},
{
"name": "metal-toolchain-discovery",
"command": "xcrun metal --version",
"pass": false,
"exitCode": 1,
"wrapperLocated": "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/metal",
"error": "cannot execute tool 'metal' due to missing Metal Toolchain",
"scope": "Current session discovery failed. This does not prove the underlying toolchain is absent; see prior build diagnostics."
}
],
"delivery": {
"newVersionAssigned": false,
"newCompiledSourceCommit": null,
"newReleaseTag": null,
"newAppBuilt": false,
"newAppSignedNotarizedInstalled": false,
"newPackageCreated": false,
"releaseUploaded": false,
"article15792Updated": false,
"appUpdateChannelChanged": false,
"gitStaged": false,
"gitCommitted": false,
"gitPushed": false,
"remoteVerified": false
},
"localDocumentation": [
"开发交接.md",
"verification/ReleasePreparation-20261114.json"
],
"publicationDraft": "Packaging/release-notes-clone-repair-pending.md",
"nextStep": "Resume in a local session with the existing locks, build cache, Keychain, formal installation path and network available. Review and commit/push the pending fix excluding unrelated project sorting, read back the remote, assign an unused version, deliver and accept the installed Release, package and verify Release downloads, then update article 15792 against its current live baseline.",
"followupWork": {
"recordedAt": "2026-11-14T22:43:59.269494+08:00",
"userInstruction": "继续完成",
"repeatedPreflight": "Network disabled, both lock mkdir operations still denied with errno 1, remote main readback still fails DNS.",
"articleTemplate": {
"path": "Packaging/article-clone-repair-pending.json",
"state": "prepared-not-publishable",
"bodyBlocks": 8,
"structureChecked": true,
"liveArticleUpdated": false
},
"shaderBuild": {
"path": "verification/CloneRepairShaderBuild-20261114.json",
"pass": true,
"successfulSteps": 8,
"bytes": 961236,
"sha256": "5acc6fc7abda835021b38455dcd4ee582691d31869ed2cf844a1ca0e933dc8cc",
"scope": "Compile unchanged production shader inputs using the existing installed Metal binaries selected explicitly for this diagnostic only. No APP build, signing, installation, host acceptance or publication.",
"temporaryProductsRemoved": true
},
"sourceUnchanged": true,
"newProductCodeChanges": false,
"fullReleaseCompleted": false,
"gitCommitted": false,
"gitPushed": false
}
}
@@ -0,0 +1,30 @@
{
"userAuthorization": "允许临时直连并恢复",
"scope": "Only the two official Apple S3 upload hostnames; no global proxy mode/toggle changes.",
"domains": [
"notary-submissions-prod.s3.us-west-2.amazonaws.com",
"notary-submissions-prod.s3-accelerate.amazonaws.com"
],
"sourceCommit": "7f833757da243f2a4610c23c36ec278b44c80ad4",
"submittedFilename": "dayu-color-1.22.1-build133-direct-20261111222108.zip",
"submittedZIP_SHA256": "7b3a0c068482834f1db96162c84d84af1419cb74429bb3a17edc10b3af85156a",
"submittedZIPBytes": 43344165,
"uploadStartedUTC": "2026-11-11T14:21:08.717106+00:00",
"uploaderPID": 7658,
"uploadCompleted": true,
"newNotaryID": "ae55bcd2-d131-4ef2-8733-405e28d92f7e",
"submitExitCode": 0,
"profileRestored": true,
"liveProxyRestored": true,
"profileOriginalBytesRestored": true,
"editorNormalizationProtectionTriggered": true,
"editorNormalizationReverted": true,
"temporaryUploadCopyRemoved": true,
"privateBackupRemovedAfterVerifiedRestore": true,
"phase": "accepted-and-proxy-restored",
"notaryStatus": "Accepted",
"uploadCompletedUTC": "2026-11-11T14:25:12.259402+00:00",
"effectiveAppleOnlyBypassVerified": true,
"otherProxyAddressesRemainProxied": true,
"restorationMetadataLocalOnly": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/notary-direct-133-state.json"
}
@@ -0,0 +1,24 @@
{
"authorization": "用户于2026-11-11明确要求:重新发起公证。",
"version": "1.22.1",
"build": 133,
"configuration": "Release",
"sourceCommit": "7f833757da243f2a4610c23c36ec278b44c80ad4",
"previousNotaryID": "0a1d2d49-1a03-4cd4-acbe-ba37f1fee42d",
"previousStatusAtResubmit": "In Progress",
"submittedZIP_SHA256": "7b3a0c068482834f1db96162c84d84af1419cb74429bb3a17edc10b3af85156a",
"submittedZIPBytes": 43344165,
"originalZIP": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/notarization-submission.zip",
"submittedFilename": "dayu-color-1.22.1-build133-resubmit-20261111214207.zip",
"startedUTC": "2026-11-11T13:42:07.444873+00:00",
"recompiled": false,
"resigned": false,
"currentDebugInstallPreserved": true,
"phase": "upload-aborted",
"newNotaryID": "e2aba6a4-a3c3-4fd8-a955-80991aff65d1",
"exitCode": 1,
"uploadCompleted": false,
"error": "HTTPClientError.deadlineExceeded",
"completedParts": 0,
"s3Acceleration": true
}
@@ -0,0 +1,36 @@
{
"authorization": "用户明确要求重新发起公证;加速通道确认上传中止后,改用普通 S3 上传通道重试。",
"version": "1.22.1",
"build": 133,
"configuration": "Release",
"sourceCommit": "7f833757da243f2a4610c23c36ec278b44c80ad4",
"previousNotaryID": "0a1d2d49-1a03-4cd4-acbe-ba37f1fee42d",
"previousStatusAtResubmit": "In Progress; original upload completion receipt not available",
"failedAcceleratedAttempt": "e2aba6a4-a3c3-4fd8-a955-80991aff65d1",
"submittedZIP_SHA256": "7b3a0c068482834f1db96162c84d84af1419cb74429bb3a17edc10b3af85156a",
"submittedZIPBytes": 43344165,
"originalZIP": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/notarization-submission.zip",
"submittedFilename": "dayu-color-1.22.1-build133-resubmit-standard-20261111214849.zip",
"startedUTC": "2026-11-11T13:48:49.527458+00:00",
"recompiled": false,
"resigned": false,
"s3Acceleration": false,
"currentDebugInstallPreserved": true,
"phase": "upload-aborted",
"newNotaryID": "fec84478-43a1-4644-961d-c29558e583ee",
"exitCode": 1,
"notaryStatus": "In Progress",
"uploadCompleted": false,
"error": "HTTPClientError.deadlineExceeded",
"completedParts": 0,
"temporaryUploadCopyRemoved": true,
"debugInstallPreserved": true,
"readOnlyNetworkChecks": {
"systemProxyEnabled": true,
"ordinaryNoProxyEnvironmentIgnoredByNotarytool": true,
"directS3TLSReachable": true,
"directS3AnonymousHTTPStatus": 403,
"directS3ElapsedSeconds": 2.248898
},
"nextStep": "Await user approval for temporary bypass limited to official Apple S3 upload hostnames; restore original rules after upload."
}
@@ -0,0 +1,30 @@
{
"userAuthorization": "允许临时直连并恢复",
"scope": "Only the two official Apple S3 upload hostnames; no global proxy mode/toggle changes.",
"domains": [
"notary-submissions-prod.s3.us-west-2.amazonaws.com",
"notary-submissions-prod.s3-accelerate.amazonaws.com"
],
"sourceCommit": "7f833757da243f2a4610c23c36ec278b44c80ad4",
"submittedFilename": "dayu-color-1.22.1-build133-direct-20261111222108.zip",
"submittedZIP_SHA256": "7b3a0c068482834f1db96162c84d84af1419cb74429bb3a17edc10b3af85156a",
"submittedZIPBytes": 43344165,
"uploadStartedUTC": "2026-11-11T14:21:08.717106+00:00",
"uploaderPID": 7658,
"uploadCompleted": true,
"newNotaryID": "ae55bcd2-d131-4ef2-8733-405e28d92f7e",
"submitExitCode": 0,
"profileRestored": true,
"liveProxyRestored": true,
"profileOriginalBytesRestored": true,
"editorNormalizationProtectionTriggered": true,
"editorNormalizationReverted": true,
"temporaryUploadCopyRemoved": true,
"privateBackupRemovedAfterVerifiedRestore": true,
"phase": "accepted-and-proxy-restored",
"notaryStatus": "Accepted",
"uploadCompletedUTC": "2026-11-11T14:25:12.259402+00:00",
"effectiveAppleOnlyBypassVerified": true,
"otherProxyAddressesRemainProxied": true,
"restorationMetadataLocalOnly": "/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/notary-direct-133-state.json"
}
+25 -4
查看文件
@@ -2,12 +2,33 @@
"version": "1.22.1",
"build": 133,
"sourceCommit": "7f833757da243f2a4610c23c36ec278b44c80ad4",
"notaryID": "0a1d2d49-1a03-4cd4-acbe-ba37f1fee42d",
"notaryStatus": "In Progress",
"waitCommandInterrupted": true,
"notaryID": "ae55bcd2-d131-4ef2-8733-405e28d92f7e",
"notaryStatus": "Accepted",
"waitCommandInterrupted": false,
"submittedZIP_SHA256": "7b3a0c068482834f1db96162c84d84af1419cb74429bb3a17edc10b3af85156a",
"preflightPassed": true,
"preflightChecks": 1028,
"installed": false,
"resume": "tools/deliver.py --resume-notary <notaryID> --submitted-zip-sha256 <submittedZIP_SHA256> --compiled-source <sourceCommit>"
"resume": "tools/deliver.py --resume-notary <notaryID> --submitted-zip-sha256 <submittedZIP_SHA256> --compiled-source <sourceCommit>",
"previousSubmissions": [
{
"notaryID": "0a1d2d49-1a03-4cd4-acbe-ba37f1fee42d",
"lastKnownStatus": "In Progress",
"uploadCompletionVerified": false
},
{
"notaryID": "e2aba6a4-a3c3-4fd8-a955-80991aff65d1",
"uploadCompleted": false,
"error": "S3 upload aborted, completedParts=[], deadlineExceeded"
},
{
"notaryID": "fec84478-43a1-4644-961d-c29558e583ee",
"uploadCompleted": false,
"error": "S3 upload aborted, completedParts=[], deadlineExceeded"
}
],
"uploadCompleted": true,
"resubmissionAuthorization": "用户要求重新发起公证,并批准Apple上传地址临时直连后恢复",
"resubmissionRecord": "verification/UnifiedLUTNotaryResubmission133.json",
"proxyRestored": true
}
+18
查看文件
@@ -0,0 +1,18 @@
{
"passed": true,
"checks": [
{
"case": "success",
"passed": true
},
{
"case": "baseline-rejected",
"passed": true
},
{
"case": "second-replace-fails",
"passed": true
}
],
"scope": "Synthetic files in automatically cleaned NAS /tmp directories; production not modified"
}
+25
查看文件
@@ -0,0 +1,25 @@
{
"checkedAt": "2026-11-12T14:54:13.755789+00:00",
"sourceCommit": "8c2f226d4369d5117ec626c20a05543be95143c5",
"files": [
{
"relativePath": "wp-content/themes/ripro5/inc/oauth/weixin/callback.php",
"sha256": "29b07075bfc54e51d0b8c9653742d94e498216c1f97414e4c1ede5b469db6d9a",
"size": 14302,
"mode": "0o700"
},
{
"relativePath": "wp-content/mu-plugins/dayu-color-online-luts.php",
"sha256": "7b749332efa94427eaa032a5acfe862fe2fd237c7a1d38bd76f16fabe8338871",
"size": 14099,
"mode": "0o700"
}
],
"diagnostics": {
"DayuColorAttempts": 13,
"oauthProofNotWritten": 13,
"explicitProofRequiredDenials": 12
},
"productionWritable": false,
"status": "baseline saved locally; production unchanged"
}
+70
查看文件
@@ -0,0 +1,70 @@
{
"checkedAt": "2026-11-12T17:23:52.863170+00:00",
"sourceCommit": "0f3f14522c8e8f79893652977b8b4e0a3bae8275",
"localProject": "/Volumes/备份/大鱼调色/大鱼调色/Backend",
"nasRoot": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media",
"files": [
{
"relativePath": "wp-content/themes/ripro5/inc/oauth/weixin/callback.php",
"nativeTarget": "/vol1/1000/dayumedia/wwwroot/dayu_media/wp-content/themes/ripro5/inc/oauth/weixin/callback.php",
"target": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/themes/ripro5/inc/oauth/weixin/callback.php",
"nativeBackup": "/vol1/1000/dayumedia/wwwroot/dayu_media/wp-content/themes/ripro5/inc/oauth/weixin/callback-202611130122.phpbak",
"backup": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/themes/ripro5/inc/oauth/weixin/callback-202611130122.phpbak",
"beforeSHA256": "29b07075bfc54e51d0b8c9653742d94e498216c1f97414e4c1ede5b469db6d9a",
"sha256": "995f8b82216f594ab7dac5058b551dcffbc8cab830536e245d6ebdcf00e20ae4",
"beforeMetadata": {
"uid": 1000,
"gid": 1001,
"mode": "0o705",
"xattrs": {
"user.DOSATTRIB": "AAAFAAUAAAARAAAAIAAAAIAcKIV/a90B"
}
},
"afterMetadata": {
"uid": 1000,
"gid": 1001,
"mode": "0o705",
"xattrs": {
"user.DOSATTRIB": "AAAFAAUAAAARAAAAIAAAAIAcKIV/a90B"
}
},
"status": "deployed",
"backupVerified": true
},
{
"relativePath": "wp-content/mu-plugins/dayu-color-online-luts.php",
"nativeTarget": "/vol1/1000/dayumedia/wwwroot/dayu_media/wp-content/mu-plugins/dayu-color-online-luts.php",
"target": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/mu-plugins/dayu-color-online-luts.php",
"nativeBackup": "/vol1/1000/dayumedia/wwwroot/dayu_media/wp-content/mu-plugins/dayu-color-online-luts-202611130122.phpbak",
"backup": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/mu-plugins/dayu-color-online-luts-202611130122.phpbak",
"beforeSHA256": "7b749332efa94427eaa032a5acfe862fe2fd237c7a1d38bd76f16fabe8338871",
"sha256": "c6133429b48fdec12a6f660fb214f81874d9fbf4174696c94944e6b217eb1ddf",
"beforeMetadata": {
"uid": 1000,
"gid": 1001,
"mode": "0o700",
"xattrs": {
"user.DOSATTRIB": "AAAFAAUAAAARAAAAIAAAAJDdjZDTcd0B"
}
},
"afterMetadata": {
"uid": 1000,
"gid": 1001,
"mode": "0o700",
"xattrs": {
"user.DOSATTRIB": "AAAFAAUAAAARAAAAIAAAAJDdjZDTcd0B"
}
},
"status": "deployed",
"backupVerified": true
}
],
"smbReadbackPassed": true,
"liveScanVerified": false,
"status": "deployed and live HTTPS verified; fresh real WeChat scan not yet observed",
"evidenceRecovery": "Native transaction completed and retained both exact-metadata backups. Initial Mac SMB readback was stale; subsequent independent SSH and SMB checks matched committed new bytes and original native metadata. No second replacement performed.",
"liveHTTPVerified": true,
"liveVerification": "verification/WeChatLoginLive.json",
"sourceTag": "backend-wechat-login-20261113",
"permissionsChanged": false
}
@@ -0,0 +1,83 @@
{
"checkedAt": "2026-11-12T17:20:58.623934+00:00",
"sourceCommit": "a20f1e674fcb28fd846ad6ad3531211a5466855f",
"localProject": "/Volumes/备份/大鱼调色/大鱼调色/Backend",
"nasRoot": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media",
"files": [
{
"relativePath": "wp-content/themes/ripro5/inc/oauth/weixin/callback.php",
"nativeTarget": "/vol1/1000/dayumedia/wwwroot/dayu_media/wp-content/themes/ripro5/inc/oauth/weixin/callback.php",
"beforeSHA256": "29b07075bfc54e51d0b8c9653742d94e498216c1f97414e4c1ede5b469db6d9a",
"sha256": "995f8b82216f594ab7dac5058b551dcffbc8cab830536e245d6ebdcf00e20ae4",
"beforeMetadata": {
"uid": 1000,
"gid": 1001,
"mode": "0o705",
"xattrs": {
"user.DOSATTRIB": "AAAFAAUAAAARAAAAIAAAAIAcKIV/a90B"
}
},
"status": "pending",
"target": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/themes/ripro5/inc/oauth/weixin/callback.php"
},
{
"relativePath": "wp-content/mu-plugins/dayu-color-online-luts.php",
"nativeTarget": "/vol1/1000/dayumedia/wwwroot/dayu_media/wp-content/mu-plugins/dayu-color-online-luts.php",
"beforeSHA256": "7b749332efa94427eaa032a5acfe862fe2fd237c7a1d38bd76f16fabe8338871",
"sha256": "c6133429b48fdec12a6f660fb214f81874d9fbf4174696c94944e6b217eb1ddf",
"beforeMetadata": {
"uid": 1000,
"gid": 1001,
"mode": "0o700",
"xattrs": {
"user.DOSATTRIB": "AAAFAAUAAAARAAAAIAAAAJDdjZDTcd0B"
}
},
"status": "pending",
"target": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/mu-plugins/dayu-color-online-luts.php"
}
],
"nativeResult": {
"ok": false,
"files": [
{
"relativePath": "wp-content/themes/ripro5/inc/oauth/weixin/callback.php",
"nativeTarget": "/vol1/1000/dayumedia/wwwroot/dayu_media/wp-content/themes/ripro5/inc/oauth/weixin/callback.php",
"beforeSHA256": "29b07075bfc54e51d0b8c9653742d94e498216c1f97414e4c1ede5b469db6d9a",
"sha256": "995f8b82216f594ab7dac5058b551dcffbc8cab830536e245d6ebdcf00e20ae4",
"beforeMetadata": {
"uid": 1000,
"gid": 1001,
"mode": "0o705",
"xattrs": {
"user.DOSATTRIB": "AAAFAAUAAAARAAAAIAAAAIAcKIV/a90B"
}
},
"status": "pending",
"target": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/themes/ripro5/inc/oauth/weixin/callback.php"
},
{
"relativePath": "wp-content/mu-plugins/dayu-color-online-luts.php",
"nativeTarget": "/vol1/1000/dayumedia/wwwroot/dayu_media/wp-content/mu-plugins/dayu-color-online-luts.php",
"beforeSHA256": "7b749332efa94427eaa032a5acfe862fe2fd237c7a1d38bd76f16fabe8338871",
"sha256": "c6133429b48fdec12a6f660fb214f81874d9fbf4174696c94944e6b217eb1ddf",
"beforeMetadata": {
"uid": 1000,
"gid": 1001,
"mode": "0o700",
"xattrs": {
"user.DOSATTRIB": "AAAFAAUAAAARAAAAIAAAAJDdjZDTcd0B"
}
},
"status": "pending",
"target": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media/wp-content/mu-plugins/dayu-color-online-luts.php"
}
],
"rolledBack": false,
"error": "Native metadata copy mismatch",
"rollbackErrors": []
},
"liveScanVerified": false,
"status": "Stopped before replacement: fnOS copy2 added destination-only system.trim_acl; original production files unchanged",
"resolvedBy": "Remove destination-only inherited xattrs on staged/backup files; verified clone of both actual production originals preserves bytes and exact native metadata"
}
+430
查看文件
@@ -0,0 +1,430 @@
{
"checkedAt": "2026-11-12T14:57:46.246034+00:00",
"pass": true,
"sourceBaseCommit": "8c2f226d4369d5117ec626c20a05543be95143c5",
"baselineReproductions": [
{
"suite": "wechat_callback.php",
"baselineFailed": true,
"failure": "FAIL DayuColor first scan writes OAuth proof without any prior UUID binding"
},
{
"suite": "online_luts.php",
"baselineFailed": true,
"failure": "FAIL callback denial immediately stops installed client polling with the actual reason"
}
],
"suites": {
"wechat_callback.php": {
"pass": true,
"count": 17,
"scope": "Actual scoped theme callback with synthetic OAuth and WordPress services; no live scan or user data.",
"checks": [
{
"name": "DayuColor first scan writes OAuth proof without any prior UUID binding",
"pass": true
},
{
"name": "proof binds this login session, hardware UUID and provider identity",
"pass": true
},
{
"name": "proof has a fresh server timestamp",
"pass": true
},
{
"name": "transient fallback matches proof across PHP session boundaries",
"pass": true
},
{
"name": "successful proof is visible in existing login diagnostics",
"pass": true
},
{
"name": "existing app callback preserved: FCPXQwen3ASR",
"pass": true
},
{
"name": "existing app callback preserved: FCPXPython",
"pass": true
},
{
"name": "existing app callback preserved: FCPXSoundEffects",
"pass": true
},
{
"name": "existing app callback preserved: qwenzhiyin",
"pass": true
},
{
"name": "existing app callback preserved: DayuDownie",
"pass": true
},
{
"name": "existing app callback preserved: DayuLightFactory",
"pass": true
},
{
"name": "unrecognized apps do not receive proof",
"pass": true
},
{
"name": "foreign redirect host cannot receive proof",
"pass": true
},
{
"name": "wrong callback action cannot receive proof",
"pass": true
},
{
"name": "invalid login session cannot receive proof",
"pass": true
},
{
"name": "non-hardware UUID cannot receive proof",
"pass": true
},
{
"name": "browser cookie or redirect alone cannot bypass provider state",
"pass": true
}
]
},
"online_luts.php": {
"pass": true,
"count": 50,
"scope": "Isolated PHP/GD contracts; synthetic users, purchases and frames; no production credentials or account data.",
"checks": [
{
"name": "ordinary account denied",
"pass": true
},
{
"name": "either individual purchase grants 14421",
"pass": true
},
{
"name": "either individual purchase grants 15792",
"pass": true
},
{
"name": "active member allowed",
"pass": true
},
{
"name": "lifetime member allowed",
"pass": true
},
{
"name": "expired member denied",
"pass": true
},
{
"name": "legacy active membership supported",
"pass": true
},
{
"name": "deleted user denied",
"pass": true
},
{
"name": "UUID alone cannot mint an online session",
"pass": true
},
{
"name": "forged shared login token rejected",
"pass": true
},
{
"name": "non-hardware UUID format rejected",
"pass": true
},
{
"name": "existing bound account restored without granting unpaid access",
"pass": true
},
{
"name": "shared login user must match current hardware binding",
"pass": true
},
{
"name": "unbound hardware cannot resume another account",
"pass": true
},
{
"name": "restored session can be revoked normally",
"pass": true
},
{
"name": "pending login cannot mint a credential",
"pass": true
},
{
"name": "first unbound device can wait for WeChat approval",
"pass": true
},
{
"name": "approval cannot bypass missing UUID binding",
"pass": true
},
{
"name": "missing binding does not consume the login session",
"pass": true
},
{
"name": "callback denial immediately stops installed client polling with the actual reason",
"pass": true
},
{
"name": "expired callback stops installed client polling",
"pass": true
},
{
"name": "past session deadline stops polling",
"pass": true
},
{
"name": "another product login rejected",
"pass": true
},
{
"name": "approved product login exchanges a random token",
"pass": true
},
{
"name": "credential responses cannot be cached",
"pass": true
},
{
"name": "one-time login replay rejected",
"pass": true
},
{
"name": "anonymous catalogue rejected",
"pass": true
},
{
"name": "anonymous file rejected",
"pass": true
},
{
"name": "anonymous frame rejected before decoding",
"pass": true
},
{
"name": "signed-in unpaid account has no online permission",
"pass": true
},
{
"name": "unpaid catalogue denied server-side",
"pass": true
},
{
"name": "new purchase is recognized without another login",
"pass": true
},
{
"name": "device rebind revokes previous session",
"pass": true
},
{
"name": "catalogue excludes private drafts",
"pass": true
},
{
"name": "SQL string identifiers and sizes serialize as JSON numbers for the native client",
"pass": true
},
{
"name": "authorized published LUT streams original bytes",
"pass": true
},
{
"name": "private LUT cannot be downloaded by guessed ID",
"pass": true
},
{
"name": "catalogue path traversal rejected",
"pass": true
},
{
"name": "server rejects modified LUT bytes",
"pass": true
},
{
"name": "renderer returns a PNG",
"pass": true
},
{
"name": "renderer preserves source aspect and size",
"pass": true
},
{
"name": "known inverse LUT transforms pixel values correctly",
"pass": true
},
{
"name": "authorized frame route returns the actual LUT effect",
"pass": true
},
{
"name": "malformed image rejected",
"pass": true
},
{
"name": "over-limit image rejected",
"pass": true
},
{
"name": "truncated LUT rejected",
"pass": true
},
{
"name": "UTF-16 BOM LUT supported",
"pass": true
},
{
"name": "permission revoked before another frame is processed",
"pass": true
},
{
"name": "logout invalidates server credential",
"pass": true
},
{
"name": "logged-out token cannot be reused",
"pass": true
}
]
}
},
"totalChecks": 67,
"syntax": "PHP lint for both production files and test suites; Python AST parse passed",
"deploymentReview": {
"mode": "review",
"localProject": "/Volumes/备份/大鱼调色/大鱼调色/Backend",
"nasRoot": "/Volumes/dayumedia (存储空间1)/wwwroot/dayu_media",
"files": [
{
"relativePath": "wp-content/themes/ripro5/inc/oauth/weixin/callback.php",
"sourceSHA256": "995f8b82216f594ab7dac5058b551dcffbc8cab830536e245d6ebdcf00e20ae4",
"productionSHA256": "29b07075bfc54e51d0b8c9653742d94e498216c1f97414e4c1ede5b469db6d9a",
"writable": false
},
{
"relativePath": "wp-content/mu-plugins/dayu-color-online-luts.php",
"sourceSHA256": "c6133429b48fdec12a6f660fb214f81874d9fbf4174696c94944e6b217eb1ddf",
"productionSHA256": "7b749332efa94427eaa032a5acfe862fe2fd237c7a1d38bd76f16fabe8338871",
"writable": false
}
],
"contracts": [
{
"suite": "wechat_callback.php",
"count": 17,
"passed": true
},
{
"suite": "online_luts.php",
"count": 50,
"passed": true
}
]
},
"deployed": false,
"productionUnchanged": true,
"clientBinaryChanged": false,
"installedVersion": "1.22.1 (133)",
"liveUnboundScanVerified": false,
"blockers": [
"NAS production target parents are read-only in this session.",
"Git checkpoint lock creation denied at /Users/mac/.codex/git-backup-locks; no new commit or push was performed.",
"Remote Git readback also failed because dayu.media could not be resolved in this session."
],
"diffCheckPassed": true,
"remoteReadback": {
"verified": false,
"reason": "git ls-remote failed: Could not resolve host: dayu.media"
},
"followups": [
{
"checkedAt": "2026-11-12T16:33:48.944437+00:00",
"userFeedback": "未检测到本次微信OAuth确认",
"latestDeniedAtShanghai": [
"2026-11-13T00:01:52+08:00",
"2026-11-13T00:03:09+08:00"
],
"cause": "Production callback still omits DayuColor; both fresh attempts logged oauth_proof_not_written followed by wechat_oauth_proof_required.",
"productionStillMatchesOriginalBaseline": true,
"nasWritable": false,
"gitLockWritable": false,
"deployed": false,
"testsRerun": false,
"testsRerunReason": "No implementation changes since the 67 passing checks."
},
{
"checkedAt": "2026-11-12T16:36:49.701920+00:00",
"userFeedback": "授权并部署",
"deploymentAuthorized": true,
"authorizationPersists": true,
"preflightContractsPassed": 67,
"deploymentCommand": "python3 Backend/deploy_wechat_login.py --apply",
"deploymentExit": 1,
"deploymentError": "AssertionError: 目标共享不可写",
"stoppedBeforeProductionWrite": true,
"productionUnchanged": true,
"gitLockWritable": false,
"remoteReadbackError": "Could not resolve host: dayu.media",
"deployed": false,
"nextStep": "Change effective session filesystem/network permissions; user deployment consent is already granted and must not be requested again."
},
{
"checkedAt": "2026-11-12T16:41:10.872423+00:00",
"userFeedback": "完整访问权限已开启截图;询问为何仍有权限问题",
"clientFullAccessEnabled": true,
"localConfigSandboxMode": "danger-full-access",
"localConfigApprovalPolicy": "never",
"processUID": 501,
"gitLockOwnerUID": 501,
"gitLockMode": "0755",
"nasDirectoryOwnerUID": 501,
"nasDirectoryMode": "0700",
"nasMountMarkedReadOnly": false,
"actualGitLockWritable": false,
"actualNASWritable": false,
"gitNetworkResult": "Could not resolve host: dayu.media",
"conclusion": "Client setting and local config enable full access, but current command execution still has restrictions; exact propagation/root cause not confirmed. Do not ask user to grant consent again or describe NAS as mounted read-only.",
"deployed": false
},
{
"checkedAt": "2026-11-12T17:01:07.274628+00:00",
"userFeedback": "使用用户指定的账号信息通过 NAS SSH 修复权限",
"credentialFileRead": true,
"credentialValuesLogged": false,
"passwordSent": false,
"sshEndpointAttempted": "192.168.31.21:22",
"portSource": "standard SSH default; supplied credential file contains account and password only",
"authenticationMode": "BatchMode connectivity test; no password authentication attempted",
"remoteCommandRequested": "id",
"exit": 255,
"error": "ssh: connect to host 192.168.31.21 port 22: Operation not permitted",
"reachedRemoteAuthentication": false,
"remoteCommandExecuted": false,
"remotePermissionsChanged": false,
"deployed": false,
"conclusion": "Direct LAN SSH is denied locally before authentication; cannot diagnose or alter NAS permissions from this execution environment. Do not change server permissions merely to address local session restrictions."
},
{
"checkedAt": "2026-11-12T17:02:26.800970+00:00",
"userEvidence": "NAS SSH settings screenshot",
"sshEnabled": true,
"sshPortConfirmed": 22,
"dayuLoginAllowed": true,
"evidenceSource": "user screenshot",
"newConnectionAttempt": false,
"reason": "Same endpoint already failed locally with Operation not permitted before authentication; no execution permission change observed.",
"serverPermissionsChanged": false,
"deployed": false
}
]
}
+55
查看文件
@@ -0,0 +1,55 @@
{
"checkedAt": "2026-11-12T17:24:13.717618+00:00",
"phpVersion": "7.4.34",
"serverPHPLintPassed": true,
"passed": true,
"checks": [
{
"case": "pending",
"httpStatus": 200,
"passed": true
},
{
"case": "denied",
"httpStatus": 401,
"passed": true
},
{
"case": "expired",
"httpStatus": 401,
"passed": true
},
{
"case": "missing session",
"httpStatus": 401,
"passed": true
},
{
"case": "invalid input",
"httpStatus": 400,
"passed": true
},
{
"case": "website health",
"httpStatus": 200,
"passed": true
},
{
"case": "backup not publicly readable",
"relativePath": "wp-content/themes/ripro5/inc/oauth/weixin/callback-202611130122.phpbak",
"httpStatus": 404,
"passed": true
},
{
"case": "backup not publicly readable",
"relativePath": "wp-content/mu-plugins/dayu-color-online-luts-202611130122.phpbak",
"httpStatus": 404,
"passed": true
}
],
"fixturesCleanupPending": false,
"liveOAuthScanVerified": false,
"scope": "Actual HTTPS route using synthetic pending/denied/expired transients; no real user or device binding modified",
"syntheticFixturesRemoved": 3,
"fixtureAbsenceVerified": true
}
+30
查看文件
@@ -0,0 +1,30 @@
{
"checkedAt": "2026-11-12T17:14:36.786427+00:00",
"productionMatchesOriginalBaseline": true,
"smBRootListCreateRenameDeleteProbePassed": true,
"productionTargetParentsWritable": true,
"gitLockRootWritable": true,
"remoteMain": "8c2f226d4369d5117ec626c20a05543be95143c5",
"isolatedChecksPassed": 67,
"nasPermissionsChanged": false,
"nativeMetadataBefore": {
"wp-content/themes/ripro5/inc/oauth/weixin/callback.php": {
"uid": 1000,
"gid": 1001,
"mode": "0705",
"xattrNames": [
"user.DOSATTRIB"
]
},
"wp-content/mu-plugins/dayu-color-online-luts.php": {
"uid": 1000,
"gid": 1001,
"mode": "0700",
"xattrNames": [
"user.DOSATTRIB"
]
}
},
"deploymentAuthorized": true,
"deployed": false
}
+15
查看文件
@@ -0,0 +1,15 @@
{
"checkedAt": "2026-11-12T17:26:47.932610+00:00",
"remote": "https://dayu.media/git/dayu/dayu-color.git",
"checkpoint": "1d3ad6f84716a9ded3d1896a7a4e40ef45e7bb1b",
"deployedSource": "0f3f14522c8e8f79893652977b8b4e0a3bae8275",
"tag": "backend-wechat-login-20261113",
"tagVerified": true,
"trackedFilesCompared": 957,
"allTrackedFilesEqual": true,
"productionFilesEqual": true,
"lfs": false,
"submodules": false,
"gitIntegrityPassed": true,
"temporaryCloneRemoved": true
}
+1
查看文件
@@ -108,6 +108,7 @@
"/Localized: Wrapper Application/InfoPlist.strings",
"/Localized: Wrapper Application/MainMenu.xib",
Plugin/DYGrade.metal,
Plugin/DYTracking.metal,
Plugin/Info.plist,
Plugin/Resources/DayuColorTables.bin,
Plugin/Resources/InputLUTs/apple_log_to_rec709.dylut,
+1 -2
查看文件
@@ -201,8 +201,7 @@ static BOOL DYWorkspaceEnabled(DYUniforms u,NSString *type){if([type isEqual:@"b
- (void)trackingPreviewChanged:(NSNotification *)note {
NSDictionary *info=note.userInfo;
if(!info[@"tracking"]||(!_visible&&!_opening))return;
BOOL active=[info[@"tracking"] boolValue];
if(active&&_trackingPreview.hidden)[self setTrackingPreviewVisible:YES];
if(_trackingPreview.hidden)[self setTrackingPreviewVisible:YES];
if(!_trackingPreview.hidden)[_trackingPreview applyUpdate:info];
}
- (void)trackingPreviewAction:(id)sender {
+38 -11
查看文件
@@ -11,6 +11,7 @@
@end
@implementation DYToolMaskPanel {
id<PROAPIAccessing> _host;NSString *_nodeID,*_maskID;NSDictionary *_document;CMTime _time;
NSPopUpButton *_stampMode;NSButton *_reference,*_referenceReset,*_manualKey,*_lastTrusted;NSTextField *_stampGuide;BOOL _trackingBusy;
NSPopUpButton *_list,*_combine;NSButton *_eye,*_add,*_remove,*_invert,*_canvas,*_clear,*_penRedraw,*_penFinish,*_penCancel;NSMutableArray *_rows,*_tracking;NSTextField *_trackingTitle,*_status;BOOL _refreshing,_drawing,_canvasActive,_workspaceMode;CGFloat _contentHeight;
}
@synthesize workspaceMode=_workspaceMode;
@@ -18,11 +19,11 @@
- (void)setWorkspaceMode:(BOOL)workspaceMode{if(_workspaceMode==workspaceMode)return;_workspaceMode=workspaceMode;[self setNeedsLayout:YES];}
- (CGFloat)contentHeight{return _workspaceMode?self.bounds.size.height:_contentHeight;}
- (CGFloat)contentWidth{
if(!_workspaceMode)return self.bounds.size.width;NSUInteger count=0;for(NSDictionary *row in _rows)if(![row[@"label"]isHidden])count++;NSInteger perColumn=MAX(1,NSInteger((self.bounds.size.height-48)/44));BOOL pen=!_penRedraw.hidden,shape=_tracking.count&&![_tracking[0]isHidden];CGFloat actions=216;if(pen&&shape&&self.bounds.size.height<242)actions+=216;return MAX(536,16+ceil(double(count)/perColumn)*184+actions);
if(!_workspaceMode)return self.bounds.size.width;NSUInteger count=0;for(NSDictionary *row in _rows)if(![row[@"label"]isHidden])count++;NSInteger perColumn=MAX(1,NSInteger((self.bounds.size.height-48)/44));BOOL pen=!_penRedraw.hidden,shape=_tracking.count&&![_tracking[0]isHidden];CGFloat actions=shape&&self.bounds.size.height<240?432:216;if(_stampMode&&!_stampMode.hidden)actions+=240;if(pen&&shape&&self.bounds.size.height<242)actions+=216;return MAX(536,16+ceil(double(count)/perColumn)*184+actions);
}
- (void)selectMaskID:(NSString*)maskID{
if([_maskID isEqual:maskID]){if(!_canvasActive)[self canvas:nil];return;}BOOL found=NO;for(NSDictionary *mask in DYMasksForTool(_document,_nodeID))if([mask[@"id"]isEqual:maskID]){found=YES;break;}if(!found)return;
[_maskID release];_maskID=[maskID copy];_drawing=_canvasActive=NO;[self refreshWithDocument:_document time:_time];[self canvas:nil];
[_maskID release];_maskID=[maskID copy];_drawing=_canvasActive=_trackingBusy=NO;[self refreshWithDocument:_document time:_time];[self canvas:nil];
}
- (instancetype)initWithManager:(id<PROAPIAccessing>)manager nodeID:(NSString*)nodeID{
if((self=[super initWithFrame:NSZeroRect])){_host=manager;_nodeID=[nodeID copy];_rows=[NSMutableArray new];_tracking=[NSMutableArray new];self.identifier=@"toolMasks";
@@ -49,15 +50,26 @@
for(int i=0;i<6;i++){NSButton *b=DYButton(titles[i],self,@selector(track:));b.tag=((int[]){-2,-1,0,1,2,9})[i];b.font=[NSFont systemFontOfSize:13 weight:NSFontWeightMedium];b.controlSize=NSControlSizeRegular;b.accessibilityLabel=@[@"反向跟踪一帧",@"反向蒙版跟踪",@"双向蒙版跟踪",@"正向蒙版跟踪",@"正向跟踪一帧",@"取消蒙版跟踪"][i];[self addSubview:b];[_tracking addObject:b];}
for(NSButton *b in @[_eye,_add,_remove,_canvas,_clear,_penRedraw,_penFinish,_penCancel]){b.controlSize=NSControlSizeRegular;b.font=[NSFont systemFontOfSize:(b==_add||b==_remove)?18:13 weight:NSFontWeightMedium];}
_trackingTitle=[DYLabel(@"运动跟踪",13)retain];_trackingTitle.font=[NSFont systemFontOfSize:13 weight:NSFontWeightSemibold];[self addSubview:_trackingTitle];
_stampMode=[[NSPopUpButton alloc]initWithFrame:NSZeroRect pullsDown:NO];[_stampMode addItemsWithTitles:@[@"取样跟随修复区移动",@"取样区独立跟踪"]];_stampMode.target=self;_stampMode.action=@selector(stampModeChanged:);_stampMode.accessibilityLabel=@"图章取样跟踪方式";_stampMode.toolTip=@"同一表面上的纯色取样区请选择跟随模式;取样区和修复区分别运动时才使用独立跟踪。";[self addSubview:_stampMode];
_reference=[DYButton(@"选择跟踪参考",self,@selector(stampCommand:))retain];_reference.identifier=@"reference";_reference.toolTip=@"在画面拖框选择同一表面的纹理,绿色参考框不会扩大黄色修复范围。";
_referenceReset=[DYButton(@"重置参考",self,@selector(stampCommand:))retain];_referenceReset.identifier=@"clearReference";
_manualKey=[DYButton(@"手工关键帧",self,@selector(stampCommand:))retain];_manualKey.identifier=@"manual";_manualKey.toolTip=@"先保存当前帧,再移到其它帧拖动修复区/取样点,帧间自动过渡。";
_lastTrusted=[DYButton(@"最后可信帧",self,@selector(stampCommand:))retain];_lastTrusted.identifier=@"return";
for(NSButton *button in @[_reference,_referenceReset,_manualKey,_lastTrusted]){button.font=[NSFont systemFontOfSize:11];[self addSubview:button];}
_stampGuide=[DYLabel(@"",11)retain];_stampGuide.maximumNumberOfLines=4;_stampGuide.lineBreakMode=NSLineBreakByWordWrapping;[self addSubview:_stampGuide];
_status=[DYLabel(@"",12)retain];_status.maximumNumberOfLines=3;_status.lineBreakMode=NSLineBreakByWordWrapping;[self addSubview:_status];_contentHeight=0;
}
- (void)dealloc{[NSNotificationCenter.defaultCenter removeObserver:self];[_nodeID release];[_maskID release];[_document release];[_list release];[_combine release];[_eye release];[_add release];[_remove release];[_invert release];[_canvas release];[_clear release];[_penRedraw release];[_penFinish release];[_penCancel release];[_rows release];[_tracking release];[_trackingTitle release];[_status release];[super dealloc];}
- (void)dealloc{[NSNotificationCenter.defaultCenter removeObserver:self];[_nodeID release];[_maskID release];[_document release];[_list release];[_combine release];[_eye release];[_add release];[_remove release];[_invert release];[_canvas release];[_clear release];[_penRedraw release];[_penFinish release];[_penCancel release];[_rows release];[_tracking release];[_trackingTitle release];[_status release];[_stampMode release];[_reference release];[_referenceReset release];[_manualKey release];[_lastTrusted release];[_stampGuide release];[super dealloc];}
- (NSDictionary*)mask{for(NSDictionary *m in DYMasksForTool(_document,_nodeID))if([m[@"id"]isEqual:_maskID])return m;return nil;}
- (void)refreshWithDocument:(NSDictionary*)doc time:(CMTime)time{
_refreshing=YES;NSDictionary *saved=[doc copy];[_document release];_document=saved;_time=time;NSArray *masks=DYMasksForTool(doc,_nodeID);if(masks.count)[self buildControls];[_list removeAllItems];NSInteger selected=0,index=0;
for(NSDictionary *m in masks){DYMaskParameters p=DYMaskAtTime(m,time);[_list addItemWithTitle:m[@"label"]?:[NSString stringWithFormat:@"%@ %ld",m[@"stampSource"]?@"仿制图章":@[@"椭圆",@"矩形",@"钢笔",@"线性渐变",@"HSL 选区",@"亮度选区"][p.kind],(long)index+1]];if([m[@"id"]isEqual:_maskID])selected=index;index++;}
if(!masks.count){_contentHeight=0;_drawing=_canvasActive=NO;[_maskID release];_maskID=nil;_refreshing=NO;return;}[_list selectItemAtIndex:selected];if(![_maskID isEqual:masks[selected][@"id"]])_drawing=_canvasActive=NO;[_maskID release];_maskID=[masks[selected][@"id"]copy];NSDictionary *m=[self mask];DYMaskParameters p=DYMaskAtTime(m,time);if(p.kind!=DYMaskBezier)_drawing=NO;
if(!masks.count){_contentHeight=0;_drawing=_canvasActive=NO;[_maskID release];_maskID=nil;_refreshing=NO;return;}[_list selectItemAtIndex:selected];if(![_maskID isEqual:masks[selected][@"id"]])_drawing=_canvasActive=_trackingBusy=NO;[_maskID release];_maskID=[masks[selected][@"id"]copy];NSDictionary *m=[self mask];DYMaskParameters p=DYMaskAtTime(m,time);if(p.kind!=DYMaskBezier)_drawing=NO;
BOOL stamp=m[@"stampSource"]!=nil;_combine.hidden=_invert.hidden=stamp;
for(NSView *v in @[_stampMode,_reference,_referenceReset,_manualKey,_lastTrusted,_stampGuide])v.hidden=!stamp;
[_stampMode selectItemAtIndex:DYStampUsesLinkedTracking(m)?0:1];
_stampGuide.stringValue=@"固定污点可直接覆盖。移动瑕疵先选同一表面的纹理作参考;纯色取样区用跟随模式。";_stampGuide.toolTip=_stampGuide.stringValue;
_lastTrusted.enabled=CMTIME_IS_NUMERIC(DYTrackingRecordedTime(m,@"trackingLastTime"));
_eye.state=[m[@"enabled"]boolValue]?NSControlStateValueOn:NSControlStateValueOff;_eye.image=[NSImage imageWithSystemSymbolName:[m[@"enabled"]boolValue]?@"eye":@"eye.slash" accessibilityDescription:@"启用蒙版"];[_combine selectItemAtIndex:[m[@"combine"]integerValue]];_invert.state=(p.flags&DYMaskInvert)?NSControlStateValueOn:NSControlStateValueOff;
float values[]={p.strength,p.feather,p.centerX,p.centerY,p.width,p.height,float(p.angle*180.f/M_PI),p.gradientWidth,p.hueCenterTurns*360.f,p.hueCoreHalfWidth*360.f,p.hueSoftWidth*360.f,p.saturationRange.low,p.saturationRange.high,p.lightnessRange.low,p.lightnessRange.high,p.inputBlack,p.inputWhite,p.inputGamma};
NSInteger visible=0;for(NSInteger i=0;i<_rows.count;i++){BOOL show=i==0||(i==1&&p.kind<3)||(i>=2&&i<=6&&p.kind<4&&(!stamp||i!=6))||(i==7&&p.kind==3)||(i>=8&&i<=14&&p.kind==4)||(i>=15&&p.kind>=4);NSDictionary *row=_rows[i];for(NSView *v in row.allValues)v.hidden=!show;if(!show)continue;visible++;double lo=0,hi=1;if(i==2||i==3)lo=-1,hi=2;if(i==4||i==5||i==7)lo=.001,hi=2;if(i==6)lo=-180,hi=180;if(i==8)hi=360;if(i==9||i==10)hi=180;if(i==15)hi=.99;if(i==16)lo=.01,hi=2;if(i==17)lo=.01,hi=4;NSSlider *slider=row[@"slider"];slider.minValue=lo;slider.maxValue=hi;slider.doubleValue=values[i];[row[@"field"]setStringValue:[NSString stringWithFormat:@"%.3f",values[i]]];}
@@ -66,10 +78,11 @@
[self updateDrawingControls];
_status.stringValue=m[@"status"]?:([m[@"keys"]count]?[NSString stringWithFormat:@"%lu 个轨迹键 · 修改几何会在当前帧建立手工键",(unsigned long)[m[@"keys"]count]]:pen?@"重画钢笔后,点击起点或“完成绘制”闭合;取消或 Esc 保留原路径。":@"各蒙版只影响当前工具层");
if([_nodeID isEqual:@"shared"]){_list.accessibilityLabel=@"共享蒙版";_add.toolTip=@"添加共享蒙版";_remove.toolTip=@"删除此共享蒙版及其模块关联,可撤销";if(!m[@"status"]&&!pen&&![m[@"keys"]count])_status.stringValue=[NSString stringWithFormat:@"共享给 %lu 个模块 · 编辑与跟踪同步更新所有关联模块",(unsigned long)DYToolIDsForSharedMask(doc,_maskID).count];}
if(stamp){_remove.toolTip=@"删除仿制图章,可撤销";if(!m[@"status"]&&![m[@"keys"]count])_status.stringValue=@"分别跟踪取样与覆盖区域的位置和缩放。";}
if(stamp){_remove.toolTip=@"删除仿制图章,可撤销";if(!m[@"status"]&&![m[@"keys"]count])_status.stringValue=DYStampUsesLinkedTracking(m)?@"取样随修复区移动,取样区无需纹理;黄色椭圆仅覆盖瑕疵。":@"独立跟踪要求取样区和覆盖区都有纹理;纯色取样请切换跟随模式。";}
_status.toolTip=_status.stringValue;
// Keep every scalar readable at the narrowest native inspector width. A
// label/value line and a separate full-width slider avoid compressed controls.
_contentHeight=136+(pen?84:0)+visible*58+(shape?184:0)+58;[self setNeedsLayout:YES];_refreshing=NO;
_contentHeight=136+(stamp?168:0)+(pen?84:0)+visible*58+(shape?184:0)+58;[self setNeedsLayout:YES];_refreshing=NO;
}
- (void)layout{
[super layout];CGFloat w=self.bounds.size.width;
@@ -78,15 +91,20 @@
NSInteger perColumn=MAX(1,NSInteger((h-48)/44));NSUInteger index=0;
for(NSDictionary *row in _rows){NSTextField *label=row[@"label"];if(label.hidden)continue;CGFloat x=8+(index/perColumn)*184,y=42+(index%perColumn)*44;label.font=[NSFont systemFontOfSize:11];label.frame=NSMakeRect(x,y+3,100,18);[row[@"field"]setFont:[NSFont monospacedDigitSystemFontOfSize:11 weight:NSFontWeightRegular]];[row[@"field"]setFrame:NSMakeRect(x+108,y,66,22)];[row[@"slider"]setFrame:NSMakeRect(x,y+23,174,18)];index++;}
CGFloat x=16+ceil(double(index)/perColumn)*184,y=42,aw=200;BOOL shape=_tracking.count&&![_tracking[0]isHidden],pen=_penRedraw&&!_penRedraw.hidden;
if(_stampMode&&!_stampMode.hidden){
_stampMode.frame=NSMakeRect(x,y,224,26);_reference.frame=NSMakeRect(x,y+32,114,25);_referenceReset.frame=NSMakeRect(x+120,y+32,104,25);_manualKey.frame=NSMakeRect(x,y+64,114,25);_lastTrusted.frame=NSMakeRect(x+120,y+64,104,25);_stampGuide.frame=NSMakeRect(x,y+96,224,MAX(18,MIN(76,h-y-100)));x+=240;
}
if(pen){_penRedraw.frame=NSMakeRect(x,y,aw,25);y+=29;_penFinish.frame=NSMakeRect(x,y,97,25);_penCancel.frame=NSMakeRect(x+103,y,97,25);y+=33;}
if(shape){if(y+135>h-4){x+=216;y=42;}_trackingTitle.frame=NSMakeRect(x,y,aw,18);y+=20;const int order[]={0,4,1,3,2,5};for(int i=0;i<6;i++)[_tracking[order[i]]setFrame:NSMakeRect(x+(i%2)*103,y+(i/2)*28,97,25)];y+=87;_clear.frame=NSMakeRect(x,y,aw,25);y+=28;}
if(shape){if(y>42&&y+126>h-4){x+=216;y=42;}_trackingTitle.frame=NSMakeRect(x,y,aw,18);y+=20;const int order[]={0,4,1,3,2,5};for(int i=0;i<6;i++)[_tracking[order[i]]setFrame:NSMakeRect(x+(i%2)*103,y+(i/2)*26,97,23)];y+=78;_clear.frame=NSMakeRect(x,y,aw,22);y+=26;}
// Pen and tracking actions get adjacent columns when the short strip cannot
// hold both; no vertical clipping and no hidden controls below the viewport.
if(y+32>h){x+=216;y=42;}_status.font=[NSFont systemFontOfSize:10];_status.frame=NSMakeRect(x,y,aw,MIN(54,MAX(26,h-y-4)));return;
}
_eye.frame=NSMakeRect(0,4,32,34);_list.frame=NSMakeRect(38,4,MAX(60,w-114),34);_add.frame=NSMakeRect(w-70,4,32,34);_remove.frame=NSMakeRect(w-32,4,32,34);
CGFloat combineWidth=MIN(112,MAX(90,w*.45));_combine.frame=NSMakeRect(0,46,combineWidth,34);_invert.frame=NSMakeRect(combineWidth+12,49,MAX(70,w-combineWidth-12),28);_canvas.frame=NSMakeRect(0,88,w,36);
CGFloat y=136;if(_penRedraw&&!_penRedraw.hidden){CGFloat bw=(w-8)/2;_penRedraw.frame=NSMakeRect(0,y,bw,34);_penFinish.frame=NSMakeRect(bw+8,y,bw,34);_penCancel.frame=NSMakeRect(0,y+40,w,34);y+=84;}for(NSDictionary *r in _rows){NSTextField *label=r[@"label"];if(label.hidden)continue;label.frame=NSMakeRect(2,y+6,MAX(60,w-100),22);[r[@"field"]setFrame:NSMakeRect(w-90,y,88,32)];[r[@"slider"]setFrame:NSMakeRect(0,y+32,w,24)];y+=58;}
CGFloat y=136;
if(_stampMode&&!_stampMode.hidden){CGFloat half=(w-8)/2;_stampMode.frame=NSMakeRect(0,y,w,28);_reference.frame=NSMakeRect(0,y+34,half,28);_referenceReset.frame=NSMakeRect(half+8,y+34,half,28);_manualKey.frame=NSMakeRect(0,y+68,half,28);_lastTrusted.frame=NSMakeRect(half+8,y+68,half,28);_stampGuide.frame=NSMakeRect(0,y+102,w,58);y+=168;}
if(_penRedraw&&!_penRedraw.hidden){CGFloat bw=(w-8)/2;_penRedraw.frame=NSMakeRect(0,y,bw,34);_penFinish.frame=NSMakeRect(bw+8,y,bw,34);_penCancel.frame=NSMakeRect(0,y+40,w,34);y+=84;}for(NSDictionary *r in _rows){NSTextField *label=r[@"label"];if(label.hidden)continue;label.frame=NSMakeRect(2,y+6,MAX(60,w-100),22);[r[@"field"]setFrame:NSMakeRect(w-90,y,88,32)];[r[@"slider"]setFrame:NSMakeRect(0,y+32,w,24)];y+=58;}
if(_tracking.count&&![_tracking[0]isHidden]){_trackingTitle.frame=NSMakeRect(2,y+2,w-4,20);y+=28;CGFloat bw=(w-8)/2;const int order[]={0,4,1,3,2,5};for(int i=0;i<6;i++)[_tracking[order[i]]setFrame:NSMakeRect((i%2)*(bw+8),y+(i/2)*38,bw,34)];y+=114;_clear.frame=NSMakeRect(0,y,w,34);y+=42;}
_status.frame=NSMakeRect(2,y+2,w-4,52);
}
@@ -102,7 +120,16 @@
- (void)combine:(id)sender{[self edit:@"蒙版组合" block:^(NSMutableDictionary *d,NSMutableDictionary *m){m[@"combine"]=@(self->_combine.indexOfSelectedItem);}];}
- (void)inverted:(NSButton*)sender{[self edit:@"反转蒙版" block:^(NSMutableDictionary *d,NSMutableDictionary *m){DYMaskParameters p;[m[@"parameters"]getBytes:&p length:sizeof(p)];if(sender.state)p.flags|=DYMaskInvert;else p.flags&=~DYMaskInvert;m[@"parameters"]=[NSData dataWithBytes:&p length:sizeof(p)];}];}
- (void)valueChanged:(NSControl*)sender{if(_refreshing)return;double value=sender.doubleValue;if([sender isKindOfClass:NSTextField.class]){NSString *text=[sender.stringValue stringByTrimmingCharactersInSet:NSCharacterSet.whitespaceAndNewlineCharacterSet];NSScanner *scanner=[NSScanner scannerWithString:text];if(![scanner scanDouble:&value]||!scanner.isAtEnd){NSBeep();[self refreshWithDocument:_document time:_time];return;}}if(!std::isfinite(value)){NSBeep();return;}NSInteger i=sender.tag;[self edit:@"调整工具蒙版" block:^(NSMutableDictionary *d,NSMutableDictionary *m){BOOL stamp=m[@"stampSource"]!=nil,position=i==2||i==3;DYMaskParameters p=DYMaskAtTime(m,stamp&&!position?kCMTimeInvalid:self->_time);float *fields[]={&p.strength,&p.feather,&p.centerX,&p.centerY,&p.width,&p.height,&p.angle,&p.gradientWidth,&p.hueCenterTurns,&p.hueCoreHalfWidth,&p.hueSoftWidth,&p.saturationRange.low,&p.saturationRange.high,&p.lightnessRange.low,&p.lightnessRange.high,&p.inputBlack,&p.inputWhite,&p.inputGamma};*fields[i]=(i==6?value*M_PI/180:i>=8&&i<=10?value/360:value);if(stamp&&(i==4||i==5)){DYStampMotion motion=DYStampMotionAtTime(m,self->_time);*fields[i]/=i==4?motion.targetScaleX:motion.targetScaleY;}if(p.kind==DYMaskHSLKey)p.flags|=DYMaskHueEnabled|DYMaskSaturationEnabled|DYMaskLightnessEnabled;if(!dyValidMaskParameters(p))return;if([m[@"keys"]count]&&(stamp?position:i<8)){NSMutableArray *keys=[[m[@"keys"]mutableCopy]autorelease];[keys filterUsingPredicate:[NSPredicate predicateWithBlock:^BOOL(NSDictionary *key,NSDictionary *bindings){CMTime t=CMTimeMakeWithEpoch([key[@"value"]longLongValue],[key[@"scale"]intValue],[key[@"epoch"]longLongValue]);return CMTimeCompare(t,self->_time)!=0;}]];[keys addObject:DYStampKey(self->_time,p,YES,1,DYStampMotionAtTime(m,self->_time))];[keys sortUsingComparator:^NSComparisonResult(NSDictionary *a,NSDictionary *b){CMTime x=CMTimeMakeWithEpoch([a[@"value"]longLongValue],[a[@"scale"]intValue],[a[@"epoch"]longLongValue]),y=CMTimeMakeWithEpoch([b[@"value"]longLongValue],[b[@"scale"]intValue],[b[@"epoch"]longLongValue]);return (NSComparisonResult)CMTimeCompare(x,y);}];m[@"keys"]=keys;}else m[@"parameters"]=[NSData dataWithBytes:&p length:sizeof(p)];}];}
- (void)updateDrawingControls{for(NSButton *button in _tracking)button.enabled=!_drawing;_clear.enabled=!_drawing&&[[self mask][@"keys"]count]>0;_penFinish.enabled=_drawing;_penCancel.enabled=_drawing;}
- (void)updateDrawingControls{
if(!_list)return;
for(NSButton *button in _tracking)button.enabled=!_drawing&&(!_trackingBusy||button.tag==9);
_clear.enabled=!_drawing&&!_trackingBusy&&[[self mask][@"keys"]count]>0;
for(NSControl *control in @[_stampMode,_reference,_referenceReset,_manualKey])control.enabled=!_drawing&&!_trackingBusy;
_lastTrusted.enabled=!_drawing&&!_trackingBusy&&CMTIME_IS_NUMERIC(DYTrackingRecordedTime([self mask],@"trackingLastTime"));
_penFinish.enabled=_drawing;_penCancel.enabled=_drawing;
}
- (void)stampModeChanged:(id)sender{[self edit:@"切换图章跟踪方式" block:^(NSMutableDictionary *d,NSMutableDictionary *m){m[@"stampTrackMode"]=self->_stampMode.indexOfSelectedItem==0?@"linked":@"independent";[m removeObjectsForKeys:@[@"status",@"trackingStopped"]];}];}
- (void)stampCommand:(NSButton*)sender{[self canvas:nil];[NSNotificationCenter.defaultCenter postNotificationName:@"DYToolCanvasCommand" object:_host userInfo:@{@"node":[self canvasNodeID],@"mask":_maskID?:@"",@"command":sender.identifier,@"timeValue":@(_time.value),@"timeScale":@(_time.timescale),@"timeEpoch":@(_time.epoch)}];}
- (NSString*)canvasNodeID{return DYSharedMaskWithID(_document,_maskID)?@"shared":_nodeID;}
- (BOOL)representsCanvasMask:(NSDictionary*)info{NSString *maskID=info[@"mask"];if(!maskID.length)return NO;if([info[@"node"]isEqual:_nodeID])return YES;if(!DYSharedMaskWithID(_document,maskID))return NO;for(NSDictionary *mask in DYMasksForTool(_document,_nodeID))if([mask[@"id"]isEqual:maskID])return YES;return NO;}
- (void)canvasSelected:(NSNotification*)n{_canvasActive=[self representsCanvasMask:n.userInfo];if(_canvasActive){NSString *ID=[n.userInfo[@"mask"]copy];[_maskID release];_maskID=ID;_drawing=[n.userInfo[@"draw"]boolValue];}else _drawing=NO;[self updateDrawingControls];}
@@ -125,9 +152,9 @@
}
m[@"parameters"]=[NSData dataWithBytes:&p length:sizeof(p)];
m[@"keys"]=@[];
[m removeObjectForKey:@"status"];
[m removeObjectsForKeys:@[@"status",@"trackingStopped",@"trackingLastTime",@"trackingStopTime"]];
}];
}
- (void)track:(NSButton*)sender{if(_drawing)return;[self canvas:nil];[NSNotificationCenter.defaultCenter postNotificationName:@"DYToolTrack" object:_host userInfo:@{@"node":[self canvasNodeID],@"mask":_maskID?:@"",@"direction":@(sender.tag)}];}
- (void)trackingStatus:(NSNotification*)n{BOOL target=n.userInfo[@"mask"]?[self representsCanvasMask:n.userInfo]:[n.userInfo[@"node"]isEqual:_nodeID];if(target&&(!n.userInfo[@"mask"]||[n.userInfo[@"mask"]isEqual:_maskID]))_status.stringValue=n.userInfo[@"message"]?:@"";}
- (void)trackingStatus:(NSNotification*)n{BOOL target=n.userInfo[@"mask"]?[self representsCanvasMask:n.userInfo]:[n.userInfo[@"node"]isEqual:_nodeID];if(target&&(!n.userInfo[@"mask"]||[n.userInfo[@"mask"]isEqual:_maskID])){_status.stringValue=n.userInfo[@"message"]?:@"";_status.toolTip=_status.stringValue;if(n.userInfo[@"tracking"]){_trackingBusy=[n.userInfo[@"tracking"]boolValue];[self updateDrawingControls];}}}
@end
+1
查看文件
@@ -15,6 +15,7 @@
#import <os/log.h>
#include "MaskCore/DYTracker.hpp"
#include "MaskCore/DYVisionRegionTracker.hpp"
#include "MaskCore/DYCloneTracking.hpp"
#include "MaskCore/DYObjectTracker.hpp"
#include <atomic>
#include "DYViewerParameterBridge.inc.h"
@@ -154,15 +154,16 @@
NSArray *preview=[plugin toolCanvasMaskAtTime:kCMTimeZero][@"stampSource"];
up(236,259.75,part);drain();
NSDictionary *edited=DYSharedMaskWithID(DYReadTools(host,kCMTimeZero).document,stampID);
NSArray *relocated=edited[@"stampSource"];
run.record(@"native-osc-drag-moves-only-the-stamp-source-and-keeps-tracking-keys",part==7&&fabs([relocated[0]doubleValue]-.35)<1e-6&&fabs([relocated[1]doubleValue]-.35)<1e-6&&[relocated isEqual:preview]&&[edited[@"parameters"]isEqual:trackedStamp[@"parameters"]]&&[edited[@"keys"]isEqual:keys]&&base->_undoStarts==undo+1&&base->_undoEnds==undo+1,@{@"part":@(part),@"source":relocated?:@[],@"keys":@([edited[@"keys"]count]),@"undoGroups":@(base->_undoStarts-undo)});
NSArray *relocated=DYStampSourceAtTime(edited,kCMTimeZero);
NSArray *sourceEditedKeys=[[edited[@"keys"]copy]autorelease];
run.record(@"native-osc-source-drag-keys-current-frame-and-preserves-other-tracking-keys",part==7&&fabs([relocated[0]doubleValue]-.35)<1e-6&&fabs([relocated[1]doubleValue]-.35)<1e-6&&fabs([relocated[0]doubleValue]-[preview[0]doubleValue])<1e-6&&fabs([relocated[1]doubleValue]-[preview[1]doubleValue])<1e-6&&[edited[@"stampSource"]isEqual:source]&&[edited[@"parameters"]isEqual:trackedStamp[@"parameters"]]&&[edited[@"keys"]count]==keys.count&&[edited[@"keys"][0][@"stampManualSource"]boolValue]&&[edited[@"keys"][1]isEqual:keys[1]]&&base->_undoStarts==undo+1&&base->_undoEnds==undo+1,@{@"part":@(part),@"source":relocated?:@[],@"keys":@([edited[@"keys"]count]),@"undoGroups":@(base->_undoStarts-undo)});
[osc drawOSCWithWidth:640 height:400 activePart:0 destinationImage:overlay atTime:kCMTimeZero];
part=down(236,259.75);
[osc mouseDraggedAtPositionX:270 positionY:240 activePart:part modifiers:0 forceUpdate:&update atTime:kCMTimeZero];
BOOL handled=NO;
[osc keyDownAtPositionX:270 positionY:240 keyPressed:27 modifiers:0 forceUpdate:&update didHandle:&handled atTime:kCMTimeZero];
drain();
run.record(@"native-osc-escape-cancels-the-stamp-source-drag-without-another-undo",handled&&[DYSharedMaskWithID(DYReadTools(host,kCMTimeZero).document,stampID)[@"stampSource"]isEqual:relocated]&&base->_undoStarts==undo+1);
run.record(@"native-osc-escape-cancels-the-stamp-source-drag-without-another-undo",handled&&[DYSharedMaskWithID(DYReadTools(host,kCMTimeZero).document,stampID)isEqual:edited]&&base->_undoStarts==undo+1);
[osc drawOSCWithWidth:640 height:400 activePart:0 destinationImage:overlay atTime:kCMTimeZero];
BOOL rotationHandle=NO;
for(NSDictionary *handle in [(id)osc valueForKey:@"handles"])rotationHandle|=[handle[@"part"]integerValue]==6;
@@ -171,7 +172,7 @@
up(320,260,part);drain();
NSDictionary *resized=DYSharedMaskWithID(DYReadTools(host,kCMTimeZero).document,stampID);
DYMaskParameters enlarged=DYMaskAtTime(resized,kCMTimeZero);
run.record(@"native-osc-stamp-resizes-coverage-without-rotation-handle-or-track-changes",!rotationHandle&&part==2&&enlarged.width>target.width&&enlarged.height>target.height&&enlarged.centerX==target.centerX&&enlarged.centerY==target.centerY&&[resized[@"keys"]isEqual:keys]);
run.record(@"native-osc-stamp-resizes-coverage-without-rotation-handle-or-track-changes",!rotationHandle&&part==2&&enlarged.width>target.width&&enlarged.height>target.height&&enlarged.centerX==target.centerX&&enlarged.centerY==target.centerY&&[resized[@"keys"]isEqual:sourceEditedKeys],@{@"part":@(part),@"rotationHandle":@(rotationHandle),@"size":@[@(enlarged.width),@(enlarged.height)],@"originalSize":@[@(target.width),@(target.height)],@"center":@[@(enlarged.centerX),@(enlarged.centerY)],@"originalCenter":@[@(target.centerX),@(target.centerY)],@"keysUnchanged":@([resized[@"keys"]isEqual:sourceEditedKeys]),@"beforeKeys":[sourceEditedKeys description],@"afterKeys":[resized[@"keys"]description]});
[osc drawOSCWithWidth:640 height:400 activePart:0 destinationImage:overlay atTime:kCMTimeZero];
undo=base->_undoStarts;
part=down(404,212.5);
+73 -8
查看文件
@@ -2,10 +2,11 @@
// deferred until the gesture has finished and the callback has returned.
- (void)postToolCanvasStatus:(NSString*)message {
NSString *node=nil,*maskID=nil;uint64_t revision;@synchronized(self){node=[_selectedToolNode copy];maskID=[_selectedToolMask copy];revision=_toolCanvasRevision;}
dispatch_async(dispatch_get_main_queue(),^{BOOL drawing;@synchronized(self){if(revision!=self->_toolCanvasRevision||![node isEqual:self->_selectedToolNode]||![maskID isEqual:self->_selectedToolMask])return;drawing=self->_toolDrawingPen||self->_toolDrawingShape||self->_toolCanvasCommitPending;}if(message)[NSNotificationCenter.defaultCenter postNotificationName:@"DYToolTrackingStatus" object:self->_apiManager userInfo:@{@"node":node?:@"",@"mask":maskID?:@"",@"message":message}];[NSNotificationCenter.defaultCenter postNotificationName:@"DYToolCanvasState" object:self->_apiManager userInfo:@{@"node":node?:@"",@"mask":maskID?:@"",@"drawing":@(drawing)}];});[node release];[maskID release];
dispatch_async(dispatch_get_main_queue(),^{BOOL drawing;@synchronized(self){if(revision!=self->_toolCanvasRevision||![node isEqual:self->_selectedToolNode]||![maskID isEqual:self->_selectedToolMask])return;if(message&&![message isEqual:@"已选中本层蒙版"]&&DYSharedMaskWithID(self->_toolCanvasDocument,maskID)[@"stampSource"])self->_toolTrackingMessages[maskID]=message;
drawing=self->_toolDrawingPen||self->_toolDrawingShape||self->_toolDrawingStampReference||self->_toolCanvasCommitPending;}if(message)[NSNotificationCenter.defaultCenter postNotificationName:@"DYToolTrackingStatus" object:self->_apiManager userInfo:@{@"node":node?:@"",@"mask":maskID?:@"",@"message":message}];[NSNotificationCenter.defaultCenter postNotificationName:@"DYToolCanvasState" object:self->_apiManager userInfo:@{@"node":node?:@"",@"mask":maskID?:@"",@"drawing":@(drawing)}];});[node release];[maskID release];
}
- (void)discardToolCanvasDraft {
@synchronized(self){[_toolCanvasDraft release];_toolCanvasDraft=nil;[_toolCanvasOriginal release];_toolCanvasOriginal=nil;_toolDrawingPen=_toolDrawingShape=NO;_toolCanvasHasHover=NO;_toolCanvasEditTime=kCMTimeInvalid;++_toolCanvasRevision;}[self postToolCanvasStatus:nil];
@synchronized(self){[_toolCanvasDraft release];_toolCanvasDraft=nil;[_toolCanvasOriginal release];_toolCanvasOriginal=nil;_toolDrawingPen=_toolDrawingShape=_toolDrawingStampReference=NO;_toolCanvasHasHover=NO;_toolCanvasEditTime=kCMTimeInvalid;++_toolCanvasRevision;}[self postToolCanvasStatus:nil];
}
// OSC and custom actions can use different origins. Capture the action clock
// after the first event, then compare that clock only with itself at commit.
@@ -21,12 +22,12 @@
});[original release];
}
- (void)commitToolCanvasDraftAtTime:(CMTime)eventTime {
NSDictionary *draft=nil,*original=nil;NSString *node=nil,*maskID=nil;CMTime time;uint64_t revision;BOOL stampEdit,sourceEdit,resizeStamp;
@synchronized(self){if(!_toolCanvasDraft||!_toolCanvasOriginal)return;if(!CMTIME_IS_NUMERIC(eventTime)||CMTimeCompare(eventTime,_toolCanvasEditTime)!=0){[self discardToolCanvasDraft];[self postToolCanvasStatus:@"播放头已移动,请重新绘制。"];return;}draft=[_toolCanvasDraft copy];original=[_toolCanvasOriginal copy];node=[_selectedToolNode copy];maskID=[_selectedToolMask copy];time=_toolCanvasEditTime;stampEdit=draft[@"stampSource"]!=nil;sourceEdit=_toolDragPart==DYCloneSourcePart;resizeStamp=stampEdit&&_toolDragPart>=2&&_toolDragPart<=5;
NSDictionary *draft=nil,*original=nil;NSString *node=nil,*maskID=nil;CMTime time;uint64_t revision;BOOL stampEdit,sourceEdit,resizeStamp,referenceEdit;
@synchronized(self){if(!_toolCanvasDraft||!_toolCanvasOriginal)return;if(!CMTIME_IS_NUMERIC(eventTime)||CMTimeCompare(eventTime,_toolCanvasEditTime)!=0){[self discardToolCanvasDraft];[self postToolCanvasStatus:@"播放头已移动,请重新绘制。"];return;}draft=[_toolCanvasDraft copy];original=[_toolCanvasOriginal copy];node=[_selectedToolNode copy];maskID=[_selectedToolMask copy];time=_toolCanvasEditTime;stampEdit=draft[@"stampSource"]!=nil;sourceEdit=_toolDragPart==DYCloneSourcePart;referenceEdit=_toolDragPart==DYCloneReferencePart;resizeStamp=stampEdit&&_toolDragPart>=2&&_toolDragPart<=5;
// Keep the completed path visible until the authoritative write returns.
// Discarding it here exposed the new pen mask's default rectangular nodes
// during the OSC redraw that immediately follows the closing click.
_toolDrawingPen=_toolDrawingShape=_toolCanvasHasHover=NO;revision=++_toolCanvasRevision;_toolCanvasCommitPending=YES;}
_toolDrawingPen=_toolDrawingShape=_toolDrawingStampReference=_toolCanvasHasHover=NO;revision=++_toolCanvasRevision;_toolCanvasCommitPending=YES;}
dispatch_async(dispatch_get_main_queue(),^{@try{
@synchronized(self){if(self->_trackingActive.load()||revision!=self->_toolCanvasRevision||![node isEqual:self->_selectedToolNode]||![maskID isEqual:self->_selectedToolMask])return;}
id<FxCustomParameterActionAPI_v4>a=[self->_apiManager apiForProtocol:@protocol(FxCustomParameterActionAPI_v4)];if(!a)return;BOOL changed=NO;
@@ -40,17 +41,28 @@
NSMutableDictionary *doc=DYMutablePlist(DYReadTools(self->_apiManager,writeTime).document),*current=[self toolMask:maskID node:node document:doc];
if(!current||![current isEqual:original]){os_log(OS_LOG_DEFAULT,"dayu_pen_commit conflict current=%{public}d",current!=nil);[self postToolCanvasStatus:@"蒙版已在其它位置修改,本次画面草稿未覆盖它。"];return;}
NSMutableDictionary *result=sourceEdit?[[draft mutableCopy]autorelease]:DYMutablePlist(draft);
if(resizeStamp){
if(referenceEdit){
result=DYMutablePlist(current);result[@"stampReference"]=draft[@"stampReference"];
}else if(sourceEdit&&[current[@"keys"]count]){
NSArray *baseSource=current[@"stampSource"],*changedSource=draft[@"stampSource"];
DYStampMotion motion=DYStampMotionAtTime(current,time);motion.active=true;
motion.sourceOffsetX+=[changedSource[0]floatValue]-[baseSource[0]floatValue];
motion.sourceOffsetY+=[changedSource[1]floatValue]-[baseSource[1]floatValue];
result=DYMutablePlist(current);NSMutableArray *keys=result[@"keys"];
[keys filterUsingPredicate:[NSPredicate predicateWithBlock:^BOOL(NSDictionary *key,NSDictionary *bindings){return CMTimeCompare(CMTimeMakeWithEpoch([key[@"value"]longLongValue],[key[@"scale"]intValue],[key[@"epoch"]longLongValue]),time)!=0;}]];
if(!DYMergeTracking(result,@[DYStampKey(time,DYMaskAtTime(current,time),YES,1,motion)]))return;
}else if(resizeStamp){
DYMaskParameters p=DYMaskAtTime(result,kCMTimeInvalid),authored=DYMaskAtTime(current,kCMTimeInvalid);
DYStampMotion motion=DYStampMotionAtTime(current,time);
authored.width=p.width/motion.targetScaleX;authored.height=p.height/motion.targetScaleY;
result[@"parameters"]=[NSData dataWithBytes:&authored length:sizeof(authored)];
result[@"keys"]=current[@"keys"];
}else if(!sourceEdit&&[current[@"keys"]count]){DYMaskParameters p=DYMaskAtTime(result,time);if(current[@"stampSource"])result[@"parameters"]=current[@"parameters"];NSMutableArray *keys=[[current[@"keys"]mutableCopy]autorelease];NSIndexSet *same=[keys indexesOfObjectsPassingTest:^BOOL(NSDictionary *key,NSUInteger i,BOOL *stop){return CMTimeCompare(CMTimeMakeWithEpoch([key[@"value"]longLongValue],[key[@"scale"]intValue],[key[@"epoch"]longLongValue]),time)==0;}];[keys removeObjectsAtIndexes:same];[keys addObject:DYStampKey(time,p,YES,1,DYStampMotionAtTime(current,time))];result[@"keys"]=@[];if(!DYMergeTracking(result,keys))return;}
if(DYValidToolMask(result)&&![current isEqual:result]){[current setDictionary:result];id<FxUndoAPI>undo=[self->_apiManager apiForProtocol:@protocol(FxUndoAPI)];[undo startUndoGroup:sourceEdit?@"移动图章取样点":stampEdit?@"编辑仿制图章":@"编辑工具蒙版"];changed=DYWriteTools(self->_apiManager,doc,writeTime);[undo endUndoGroup];if(changed){DYToolDocument *saved=[[[DYToolDocument alloc]init]autorelease];saved.document=doc;[self adoptToolCanvasDocument:saved.document];}else [self postToolCanvasStatus:stampEdit?@"宿主未保存图章修改,已保留上一次位置。":@"宿主未保存蒙版修改,请重试。"];}
[result removeObjectsForKeys:@[@"status",@"trackingStopped",@"trackingLastTime",@"trackingStopTime"]];
if(DYValidToolMask(result)&&![current isEqual:result]){[current setDictionary:result];id<FxUndoAPI>undo=[self->_apiManager apiForProtocol:@protocol(FxUndoAPI)];[undo startUndoGroup:referenceEdit?@"设置图章跟踪参考":sourceEdit?@"移动图章取样点":stampEdit?@"编辑仿制图章":@"编辑工具蒙版"];changed=DYWriteTools(self->_apiManager,doc,writeTime);[undo endUndoGroup];if(changed){DYToolDocument *saved=[[[DYToolDocument alloc]init]autorelease];saved.document=doc;[self adoptToolCanvasDocument:saved.document];}else [self postToolCanvasStatus:stampEdit?@"宿主未保存图章修改,已保留上一次位置。":@"宿主未保存蒙版修改,请重试。"];}
}@finally{[a endAction:self];}
os_log(OS_LOG_DEFAULT,"dayu_pen_commit result=%{public}d valid=%{public}d",changed,DYValidToolMask(draft));
if(changed)[self postToolCanvasStatus:sourceEdit?@"图章取样点已移动 · 可一次撤销":stampEdit?@"图章已保存 · 可一次撤销":@"蒙版已保存 · 可一次撤销"];
if(changed)[self postToolCanvasStatus:referenceEdit?@"跟踪参考已保存 · 绿色区域只用于跟踪,黄色修复范围保持不变":sourceEdit?@"图章取样点已移动 · 可一次撤销":stampEdit?@"图章已保存 · 可一次撤销":@"蒙版已保存 · 可一次撤销"];
[NSNotificationCenter.defaultCenter postNotificationName:DYModelChanged object:self->_apiManager];
}@finally{@synchronized(self){if(revision==self->_toolCanvasRevision){[self->_toolCanvasDraft release];self->_toolCanvasDraft=nil;[self->_toolCanvasOriginal release];self->_toolCanvasOriginal=nil;self->_toolCanvasEditTime=kCMTimeInvalid;}self->_toolCanvasCommitPending=NO;}[self postToolCanvasStatus:nil];}});[draft release];[original release];[node release];[maskID release];
}
@@ -58,6 +70,7 @@
NSDictionary *info=notification.userInfo;@synchronized(self){if(![info[@"node"]isEqual:_selectedToolNode]||![info[@"mask"]isEqual:_selectedToolMask])return;}
CMTime time=CMTimeMakeWithEpoch([info[@"timeValue"]longLongValue],[info[@"timeScale"]intValue],[info[@"timeEpoch"]longLongValue]);
id<FxCustomParameterActionAPI_v4>a=[_apiManager apiForProtocol:@protocol(FxCustomParameterActionAPI_v4)];if(a){[a startAction:self];@try{time=DYHostDisplayedFrameTime(_apiManager,a.currentTime);}@finally{[a endAction:self];}}@synchronized(self){if(_toolCanvasDraft&&CMTIME_IS_NUMERIC(_toolCanvasEditTime))time=_toolCanvasEditTime;}if(!CMTIME_IS_NUMERIC(time))return;NSString *command=info[@"command"];
if([@[@"reference",@"clearReference",@"manual",@"return"]containsObject:command]){[self cloneStampCommand:command mask:info[@"mask"] atTime:time];return;}
if([command isEqual:@"finish"]||[command isEqual:@"cancel"])[self toolCanvasEvent:NSEventTypeKeyDown point:NSZeroPoint part:1 modifiers:0 key:[command isEqual:@"finish"]?13:27 time:time];
}
- (void)updateToolShapeDraftAtPoint:(NSPoint)point {
@@ -68,6 +81,21 @@
- (void)toolCanvasEvent:(NSEventType)type point:(NSPoint)point part:(NSInteger)part modifiers:(FxModifierKeys)modifiers key:(unichar)key time:(CMTime)time {
if(!CMTIME_IS_NUMERIC(time)||!std::isfinite(point.x)||!std::isfinite(point.y))return;
@synchronized(self){if(_trackingActive.load()||!_selectedToolNode||!_selectedToolMask)return;if(_toolCanvasCommitPending){NSString *node=[_selectedToolNode copy],*maskID=[_selectedToolMask copy];dispatch_async(dispatch_get_main_queue(),^{@synchronized(self){if(![node isEqual:self->_selectedToolNode]||![maskID isEqual:self->_selectedToolMask])return;}[self toolCanvasEvent:type point:point part:part modifiers:modifiers key:key time:time];});[node release];[maskID release];return;}
if(_toolDrawingStampReference){
if(type==NSEventTypeKeyDown&&key==27){[self discardToolCanvasDraft];[self postToolCanvasStatus:@"已取消跟踪参考选择,保留原图章。"];return;}
if(type==NSEventTypeLeftMouseDown&&part==DYCloneReferencePart){
NSDictionary *stamp=[self toolMask:_selectedToolMask node:_selectedToolNode document:_toolCanvasDocument];if(!stamp[@"stampSource"])return;
_toolCanvasOriginal=[DYMutablePlist(stamp)retain];_toolCanvasDraft=[DYMutablePlist(stamp)retain];_toolCanvasEditTime=time;_toolDragStart=point;_toolDragPart=DYCloneReferencePart;
}
if(_toolCanvasDraft&&(type==NSEventTypeLeftMouseDragged||type==NSEventTypeLeftMouseUp)){
if(CMTimeCompare(time,_toolCanvasEditTime)!=0){[self discardToolCanvasDraft];[self postToolCanvasStatus:@"播放头已移动,请重新选择跟踪参考。"];return;}
double x0=std::clamp(MIN(point.x,_toolDragStart.x),0.,1.),y0=std::clamp(MIN(point.y,_toolDragStart.y),0.,1.);
double x1=std::clamp(MAX(point.x,_toolDragStart.x),0.,1.),y1=std::clamp(MAX(point.y,_toolDragStart.y),0.,1.);
BOOL valid=DYSetStampReference(_toolCanvasDraft,NSMakeRect(x0,y0,x1-x0,y1-y0),time);
if(type==NSEventTypeLeftMouseUp){if(valid)[self commitToolCanvasDraftAtTime:time];else{[self discardToolCanvasDraft];[self postToolCanvasStatus:@"参考区域太小或离修复区过远,请重新框选。"];}}
}
return;
}
if(part>=10000&&type==NSEventTypeLeftMouseDown){
NSInteger item=part-10000;
if(item==7){_toolShowCoverage=!_toolShowCoverage;return;}
@@ -131,3 +159,40 @@
if(type==NSEventTypeLeftMouseUp&&!_toolDrawingPen)[self commitToolCanvasDraftAtTime:time];
}
}
- (void)cloneStampCommand:(NSString*)command mask:(NSString*)maskID atTime:(CMTime)eventTime {
if(!maskID.length)return;
dispatch_async(dispatch_get_main_queue(),^{
@synchronized(self){if(self->_trackingActive.load()||![maskID isEqual:self->_selectedToolMask]||self->_toolCanvasCommitPending)return;}
id<FxCustomParameterActionAPI_v4>a=[self->_apiManager apiForProtocol:@protocol(FxCustomParameterActionAPI_v4)];if(!a){[self toolStatus:@"宿主暂时无法编辑图章,请重试。"];return;}
[a startAction:self];@try{
CMTime time=DYHostDisplayedFrameTime(self->_apiManager,a.currentTime);if(!CMTIME_IS_NUMERIC(time))return;
NSMutableDictionary *doc=DYMutablePlist(DYReadTools(self->_apiManager,a.currentTime).document),*stamp=(id)DYSharedMaskWithID(doc,maskID);if(!stamp[@"stampSource"])return;
if([command isEqual:@"return"]){
CMTime last=DYTrackingRecordedTime(stamp,@"trackingLastTime"),timeline=kCMTimeInvalid;
if(CMTIME_IS_NUMERIC(last))[[self->_apiManager apiForProtocol:@protocol(FxTimingAPI_v4)]timelineTime:&timeline fromInputTime:last];
id commands=[self->_apiManager apiForProtocol:@protocol(FxCommandAPI_v2)];
if(!commands)commands=[self->_apiManager apiForProtocol:@protocol(FxCommandAPI)];
// Finish the parameter read before asking the host to leave this frame.
dispatch_async(dispatch_get_main_queue(),^{
NSError *error=nil;
BOOL supported=[commands respondsToSelector:@selector(movePlayheadToTime:error:)];
BOOL moved=CMTIME_IS_NUMERIC(timeline)&&supported&&[commands movePlayheadToTime:timeline error:&error];
os_log(OS_LOG_DEFAULT,"dayu_clone_return input=%{public}.6f timeline=%{public}.6f supported=%{public}d moved=%{public}d error=%{public}@",CMTimeGetSeconds(last),CMTimeGetSeconds(timeline),supported,moved,error.localizedDescription?:@"");
if(!moved)[self toolStatus:[NSString stringWithFormat:@"最后可信位置 %.3fs · %@",CMTimeGetSeconds(last),error.localizedDescription?:@"宿主暂时无法跳转,请手动定位。"]];
});return;
}
BOOL cancelReference=[command isEqual:@"reference"]&&self->_toolDrawingStampReference;
[self discardToolCanvasDraft];
if(cancelReference){[self postToolCanvasStatus:@"已取消参考选择,保留原图章。"];return;}
if([command isEqual:@"reference"]){@synchronized(self){self->_toolDrawingStampReference=YES;self->_toolCanvasHidden=NO;}[self postToolCanvasStatus:@"拖框选择同一表面上有纹理的跟踪参考;Esc 取消。"];return;}
if([command isEqual:@"clearReference"]){[stamp removeObjectForKey:@"stampReference"];[stamp removeObjectForKey:@"status"];}
else if([command isEqual:@"manual"]){if(!DYAddStampManualKey(stamp,time)){[self toolStatus:@"无法建立手工关键帧,请检查轨迹数量或重新定位。"];return;}}
else return;
id<FxUndoAPI>undo=[self->_apiManager apiForProtocol:@protocol(FxUndoAPI)];[undo startUndoGroup:[command isEqual:@"manual"]?@"设置图章手工关键帧":@"重置图章跟踪参考"];
BOOL written=DYWriteTools(self->_apiManager,doc,a.currentTime);[undo endUndoGroup];
if(written){[self adoptToolCanvasDocument:doc];[NSNotificationCenter.defaultCenter postNotificationName:DYModelChanged object:self->_apiManager];[self postToolCanvasStatus:[command isEqual:@"manual"]?@"手工关键帧已保存 · 移到另一帧拖动黄色修复区或青色取样点,帧间自动过渡。":@"已使用修复区域作为跟踪参考。"];}
else [self toolStatus:@"宿主未保存图章修改,请重试。"];
}@finally{[a endAction:self];}
});
}
@@ -1,4 +1,5 @@
static const NSInteger DYCloneSourcePart=7;
static const NSInteger DYCloneReferencePart=8;
@class DYPlugIn;
static NSMapTable *DYToolCanvasSessions(void){static NSMapTable *map;static dispatch_once_t once;dispatch_once(&once,^{map=[[NSMapTable strongToWeakObjectsMapTable]retain];});return map;}
@interface DYPlugIn (ToolCanvas)
@@ -11,4 +12,5 @@ static NSMapTable *DYToolCanvasSessions(void){static NSMapTable *map;static disp
- (void)saveCanvasLevel:(NSDictionary *)state replacing:(NSDictionary *)previous completion:(void (^)(NSString *failure))completion;
- (void)addCloneStampFrom:(NSPoint)source target:(NSRect)target atTime:(CMTime)time completion:(void (^)(NSString *failure))completion;
- (void)trackCloneStamp:(NSString*)stampID direction:(NSInteger)direction;
- (void)cloneStampCommand:(NSString*)command mask:(NSString*)maskID atTime:(CMTime)time;
@end
@@ -29,3 +29,8 @@
BOOL _trackingObjectMode;
NSUInteger _trackingObjectPending,_trackingObjectRepaired;
NSMutableDictionary *_toolCaptureDevices;
NSMutableDictionary *_toolTrackingMessages;
BOOL _toolDrawingStampReference,_trackingStampLinked,_trackingStopped;
dy::TrackerROI _trackingStampTargetSeed;
CMTime _trackingCurrentTime;
std::atomic<double> _trackingHeartbeat;
+82 -25
查看文件
@@ -1,15 +1,17 @@
- (void)initializeToolHost {
_viewerParameterBridge=[[DYViewerParameterBridge alloc]initWithAPIManager:_apiManager];_viewerParameterBridge.renderer=_renderer;
_toolCaptureDevices=[NSMutableDictionary new];_toolCanvasDocument=[[[[DYToolDocument alloc]init]autorelease].document copy];_toolSourceTime=kCMTimeInvalid;_toolCanvasEditTime=kCMTimeInvalid;
_toolTrackingMessages=[NSMutableDictionary new];_toolCaptureDevices=[NSMutableDictionary new];_toolCanvasDocument=[[[[DYToolDocument alloc]init]autorelease].document copy];_toolSourceTime=kCMTimeInvalid;_toolCanvasEditTime=kCMTimeInvalid;
NSNotificationCenter *n=NSNotificationCenter.defaultCenter;[n addObserver:self selector:@selector(toolCanvasSelection:) name:@"DYToolCanvasSelection" object:_apiManager];[n addObserver:self selector:@selector(toolCanvasCommand:) name:@"DYToolCanvasCommand" object:_apiManager];[n addObserver:self selector:@selector(toolTrackRequested:) name:@"DYToolTrack" object:_apiManager];
}
- (void)tearDownToolHost {
[_viewerParameterBridge invalidate];[_viewerParameterBridge release];_viewerParameterBridge=nil;
[_toolAnalysisTimer invalidate];[_toolAnalysisTimer release];@synchronized(DYToolCanvasSessions()){if(_toolSession)[DYToolCanvasSessions()removeObjectForKey:_toolSession];}
[_toolCanvasDocument release];[_toolSession release];[_selectedToolNode release];[_selectedToolMask release];[_toolCanvasDraft release];[_toolCanvasOriginal release];[_trackingNode release];[_trackingMaskID release];[_trackingFrozenMask release];[_trackingCandidate release];[_trackingSamples release];[_trackingMessage release];[_trackingPreviewFrame release];[_toolCaptureDevices release];
[_toolCanvasDocument release];[_toolSession release];[_selectedToolNode release];[_selectedToolMask release];[_toolCanvasDraft release];[_toolCanvasOriginal release];[_trackingNode release];[_trackingMaskID release];[_trackingFrozenMask release];[_trackingCandidate release];[_trackingSamples release];[_trackingMessage release];[_trackingPreviewFrame release];[_toolCaptureDevices release];[_toolTrackingMessages release];
}
- (void)adoptToolCanvasDocument:(NSDictionary*)document {
if(!document)return;@synchronized(self){[_toolCanvasDocument release];_toolCanvasDocument=[document copy];if([self toolMask:_selectedToolMask node:_selectedToolNode document:document])return;NSString *node=nil,*maskID=nil;for(NSString *type in DYToolTypes())for(NSDictionary *mask in DYMasksForTool(document,[@"base:" stringByAppendingString:type]))if(!node&&[mask[@"enabled"]boolValue]){node=[@"base:" stringByAppendingString:type];maskID=mask[@"id"];}for(NSDictionary *layer in document[@"layers"])for(NSDictionary *mask in DYMasksForTool(document,layer[@"id"]))if(!node&&[mask[@"enabled"]boolValue]){node=layer[@"id"];maskID=mask[@"id"];}[_selectedToolNode release];_selectedToolNode=[node copy];[_selectedToolMask release];_selectedToolMask=[maskID copy];}
if(!document)return;@synchronized(self){
for(NSString *ID in [[_toolTrackingMessages.allKeys copy]autorelease])if(![DYSharedMaskWithID(document,ID)isEqual:DYSharedMaskWithID(_toolCanvasDocument,ID)])[_toolTrackingMessages removeObjectForKey:ID];
[_toolCanvasDocument release];_toolCanvasDocument=[document copy];if([self toolMask:_selectedToolMask node:_selectedToolNode document:document])return;NSString *node=nil,*maskID=nil;for(NSString *type in DYToolTypes())for(NSDictionary *mask in DYMasksForTool(document,[@"base:" stringByAppendingString:type]))if(!node&&[mask[@"enabled"]boolValue]){node=[@"base:" stringByAppendingString:type];maskID=mask[@"id"];}for(NSDictionary *layer in document[@"layers"])for(NSDictionary *mask in DYMasksForTool(document,layer[@"id"]))if(!node&&[mask[@"enabled"]boolValue]){node=layer[@"id"];maskID=mask[@"id"];}[_selectedToolNode release];_selectedToolNode=[node copy];[_selectedToolMask release];_selectedToolMask=[maskID copy];}
}
- (void)scheduleToolCanvasRegistration {
_toolCaptureEnabled=YES;dispatch_async(dispatch_get_main_queue(),^{id<FxCustomParameterActionAPI_v4>a=[self->_apiManager apiForProtocol:@protocol(FxCustomParameterActionAPI_v4)];if(!a)return;[a startAction:self];@try{if(!self->_toolSession){NSString *session=NSUUID.UUID.UUIDString;id<FxParameterSettingAPI_v6>s=[self->_apiManager apiForProtocol:@protocol(FxParameterSettingAPI_v6)];BOOL accepted=[s setStringParameterValue:session toParameter:DYCanvasSessionParameterID];os_log(OS_LOG_DEFAULT,"dayu_tool_canvas_registered accepted=%{public}d",(int)accepted);{self->_toolSession=[session copy];@synchronized(DYToolCanvasSessions()){[DYToolCanvasSessions()setObject:self forKey:session];}}}}@finally{[a endAction:self];}});
@@ -17,9 +19,12 @@
#include "DYToolGrayCapture.inc.h"
- (NSMutableDictionary*)toolMask:(NSString*)maskID node:(NSString*)nodeID document:(NSDictionary*)doc {for(NSMutableDictionary *m in DYMasksForTool(doc,nodeID))if([m[@"id"]isEqual:maskID])return m;return nil;}
- (void)toolStatus:(NSString*)message {
NSString *node=[[_trackingNode?:_selectedToolNode copy]autorelease],*mask=[[_trackingMaskID?:_selectedToolMask copy]autorelease];dispatch_async(dispatch_get_main_queue(),^{[NSNotificationCenter.defaultCenter postNotificationName:@"DYToolTrackingStatus" object:self->_apiManager userInfo:@{@"node":node?:@"",@"mask":mask?:@"",@"message":message?:@""}];});
NSString *node=nil,*mask=nil;
@synchronized(self){node=[(_trackingActive.load()?_trackingNode:_selectedToolNode)copy];mask=[(_trackingActive.load()?_trackingMaskID:_selectedToolMask)copy];if(mask)_toolTrackingMessages[mask]=message?:@"";}
dispatch_async(dispatch_get_main_queue(),^{[NSNotificationCenter.defaultCenter postNotificationName:@"DYToolTrackingStatus" object:self->_apiManager userInfo:@{@"node":node?:@"",@"mask":mask?:@"",@"message":message?:@""}];});[node release];[mask release];
}
- (void)postTrackingPreview:(NSDictionary*)frame active:(BOOL)active message:(NSString*)message {
@synchronized(self){if(_trackingMaskID)_toolTrackingMessages[_trackingMaskID]=message?:@"";}
NSMutableDictionary *info=[NSMutableDictionary dictionaryWithDictionary:frame?:@{}];
info[@"node"]=_trackingNode?:@"";info[@"mask"]=_trackingMaskID?:@"";
info[@"tracking"]=@(active);info[@"message"]=message;
@@ -52,7 +57,7 @@
});
}
- (void)toolCanvasSelection:(NSNotification*)notification {
NSString *node=notification.userInfo[@"node"],*mask=notification.userInfo[@"mask"];if(!node||!mask)return;NSDictionary *document=notification.userInfo[@"document"];if(document&&DYValidToolDocument(document)){DYToolDocument *immutable=[[[DYToolDocument alloc]init]autorelease];immutable.document=document;[self adoptToolCanvasDocument:immutable.document];}os_log(OS_LOG_DEFAULT,"dayu_tool_canvas_selected");
NSString *node=notification.userInfo[@"node"],*mask=notification.userInfo[@"mask"];if(!node||!mask)return;@synchronized(self){if(![mask isEqual:_selectedToolMask])_toolDrawingStampReference=NO;}NSDictionary *document=notification.userInfo[@"document"];if(document&&DYValidToolDocument(document)){DYToolDocument *immutable=[[[DYToolDocument alloc]init]autorelease];immutable.document=document;[self adoptToolCanvasDocument:immutable.document];}os_log(OS_LOG_DEFAULT,"dayu_tool_canvas_selected");
@synchronized(self){if(DYSharedMaskWithID(_toolCanvasDocument,mask))node=@"shared";if(_trackingActive.load()&&(![_trackingNode isEqual:node]||![_trackingMaskID isEqual:mask])){_trackingCancelled.store(true);_trackingDiscard=YES;}[_selectedToolNode release];_selectedToolNode=[node copy];[_selectedToolMask release];_selectedToolMask=[mask copy];_toolCanvasHidden=[notification.userInfo[@"hidden"]boolValue];_toolDrawingPen=[notification.userInfo[@"draw"]boolValue];NSDictionary *shape=[self toolMask:mask node:node document:_toolCanvasDocument];DYMaskParameters shapeParameters=DYMaskAtTime(shape,kCMTimeInvalid);_toolDrawingShape=shape&&shapeParameters.kind<2&&[notification.userInfo[@"drawShape"]boolValue];if(_toolDrawingShape)_toolDrawingPen=NO;++_toolCanvasRevision;_toolCanvasEditTime=kCMTimeInvalid;_toolDragPart=0;_toolCanvasHasHover=NO;[_toolCanvasDraft release];_toolCanvasDraft=nil;[_toolCanvasOriginal release];_toolCanvasOriginal=nil;}[self postToolCanvasStatus:_toolDrawingPen?@"钢笔:点击放点,拖出曲柄;点首节点或完成绘制闭合。":_toolDrawingShape?@"在画面按下并拖出蒙版区域;Esc 取消。":@"已选中本层蒙版"];
}
- (void)addCloneStampFrom:(NSPoint)source target:(NSRect)target atTime:(CMTime)time completion:(void (^)(NSString *failure))completion {
@@ -80,6 +85,7 @@
p.centerX=NSMidX(target);p.centerY=NSMidY(target);p.width=target.size.width;p.height=target.size.height;
stamp[@"parameters"]=[NSData dataWithBytes:&p length:sizeof(p)];
stamp[@"stampSource"]=@[@(source.x),@(source.y),@(p.width),@(p.height)];
stamp[@"stampTrackMode"]=@"linked";
id<FxUndoAPI>undo=[self->_apiManager apiForProtocol:@protocol(FxUndoAPI)];
BOOL grouped=[undo startUndoGroup:@"创建仿制图章"];
@try{
@@ -149,11 +155,25 @@
- (BOOL)toolCanvasVisible {@synchronized(self){return _selectedToolNode&&_selectedToolMask&&!_toolCanvasHidden;}}
- (DYViewerParameterBridge*)viewerParameterBridge{return _viewerParameterBridge;}
- (NSDictionary*)toolCanvasMaskAtTime:(CMTime)time {
@synchronized(self){if(_toolCanvasHidden||!_selectedToolMask)return nil;BOOL draftTime=_toolCanvasDraft&&CMTIME_IS_NUMERIC(_toolCanvasEditTime);if(draftTime)time=_toolCanvasEditTime;NSDictionary *m=draftTime?_toolCanvasDraft:[self toolMask:_selectedToolMask node:_selectedToolNode document:_toolCanvasDocument];if(!m)return nil;DYMaskParameters p=DYMaskAtTime(m,time);return @{@"id":m[@"id"],@"parameters":[NSData dataWithBytes:&p length:sizeof(p)],@"nodes":(_toolDrawingPen&&!_toolCanvasDraft)?[NSData data]:(m[@"nodes"]?:[NSData data]),@"drawing":@(_toolDrawingPen),@"drawShape":@(_toolDrawingShape),@"shapeStarted":@(_toolDrawingShape&&_toolCanvasDraft!=nil),@"hover":(_toolDrawingPen&&_toolCanvasHasHover)?@[@(_toolCanvasHoverPoint.x),@(_toolCanvasHoverPoint.y)]:@[],@"coverage":@(_toolShowCoverage),@"stampSource":DYStampSourceAtTime(draftTime&&_toolDragPart!=DYCloneSourcePart&&_toolCanvasOriginal?_toolCanvasOriginal:m,time)?:@[],@"tracking":@(_trackingActive.load())};}
@synchronized(self){
if(_toolCanvasHidden||!_selectedToolMask)return nil;
BOOL draftTime=_toolCanvasDraft&&CMTIME_IS_NUMERIC(_toolCanvasEditTime);if(draftTime)time=_toolCanvasEditTime;
NSDictionary *m=draftTime?_toolCanvasDraft:[self toolMask:_selectedToolMask node:_selectedToolNode document:_toolCanvasDocument];if(!m)return nil;
DYMaskParameters p=DYMaskAtTime(m,time);
NSMutableDictionary *info=[NSMutableDictionary dictionaryWithDictionary:@{@"id":m[@"id"],@"parameters":[NSData dataWithBytes:&p length:sizeof(p)],@"nodes":(_toolDrawingPen&&!_toolCanvasDraft)?[NSData data]:(m[@"nodes"]?:[NSData data]),@"drawing":@(_toolDrawingPen),@"drawShape":@(_toolDrawingShape),@"shapeStarted":@(_toolDrawingShape&&_toolCanvasDraft!=nil),@"hover":(_toolDrawingPen&&_toolCanvasHasHover)?@[@(_toolCanvasHoverPoint.x),@(_toolCanvasHoverPoint.y)]:@[],@"coverage":@(_toolShowCoverage),@"stampSource":DYStampSourceAtTime(draftTime&&_toolDragPart!=DYCloneSourcePart&&_toolCanvasOriginal?_toolCanvasOriginal:m,time)?:@[],@"tracking":@(_trackingActive.load())}];
if(m[@"stampSource"]){
info[@"referenceDrawing"]=@(_toolDrawingStampReference);
info[@"status"]=_toolDrawingStampReference?@"拖框选择同一表面上有纹理的参考区 · 不改变修复范围 · Esc 取消":(_toolTrackingMessages[m[@"id"]]?:m[@"status"]?:@"拖动青色十字调整取样;黄色椭圆覆盖瑕疵。纯色区域可先选择跟踪参考;固定污点无需跟踪。");
info[@"trackingStopped"]=m[@"trackingStopped"]?:@NO;
info[@"canReturn"]=@(CMTIME_IS_NUMERIC(DYTrackingRecordedTime(m,@"trackingLastTime")));
if(m[@"stampReference"]){DYMaskParameters ref=DYStampReferenceAtTime(m,time);info[@"referenceShape"]=[NSData dataWithBytes:&ref length:sizeof(ref)];}
}
return info;
}
}
- (void)toolTrackRequested:(NSNotification*)notification {
NSInteger direction=[notification.userInfo[@"direction"]integerValue];if(direction==9){_trackingCancelled.store(true);return;}@synchronized(self){if(_toolDrawingPen||_toolDrawingShape||_toolCanvasCommitPending){[self postToolCanvasStatus:@"请先完成或取消蒙版绘制,再开始跟踪。"];return;}}if(_trackingActive.load()){[self toolStatus:@"请先取消当前跟踪"];return;}
id<FxCustomParameterActionAPI_v4>a=[_apiManager apiForProtocol:@protocol(FxCustomParameterActionAPI_v4)];if(!a)return;[a startAction:self];@try{
NSInteger direction=[notification.userInfo[@"direction"]integerValue];if(direction==9){_trackingCancelled.store(true);return;}@synchronized(self){if(_toolDrawingPen||_toolDrawingShape||_toolDrawingStampReference||_toolCanvasCommitPending){[self postToolCanvasStatus:@"请先完成或取消蒙版绘制,再开始跟踪。"];return;}}if(_trackingActive.load()){[self toolStatus:@"请先取消当前跟踪"];return;}
id<FxCustomParameterActionAPI_v4>a=[_apiManager apiForProtocol:@protocol(FxCustomParameterActionAPI_v4)];if(!a){[self toolStatus:@"宿主暂时无法开始分析,请重新选择片段后重试。"];return;}[a startAction:self];@try{
id<FxAnalysisAPI>analysis=[_apiManager apiForProtocol:@protocol(FxAnalysisAPI)];FxAnalysisState state=[analysis analysisStateForEffect];if(!analysis||state==kFxAnalysisState_AnalysisRequested||state==kFxAnalysisState_AnalysisStarted){[self toolStatus:@"宿主未就绪,请等待当前分析结束"];return;}
CMTime time=a.currentTime;
if(!CMTIME_IS_NUMERIC(time)){[self toolStatus:@"请在时间线定位到有效画面后再开始跟踪"];return;}
@@ -173,7 +193,11 @@
std::min(8.f,[source[2] floatValue]*_trackingStampMotion.sourceScaleX),
std::min(8.f,[source[3] floatValue]*_trackingStampMotion.sourceScaleY),0};
}
_trackingReferenceTime=time;_trackingSeed=seed;_trackingBackward=direction<0;_trackingBoth=direction==0;_trackingSingle=std::abs((int)direction)==2;_trackingDiscard=NO;_trackingCancelled.store(false);_trackingFinishing.store(false);_trackingActive.store(true);++_trackingGeneration;_trackingRunStart=_trackingStarted=NSProcessInfo.processInfo.systemUptime;
_trackingStampLinked=source&&DYStampUsesLinkedTracking(mask);
if(source){DYMaskParameters ref=DYStampReferenceAtTime(mask,time);_trackingStampTargetSeed={ref.centerX,ref.centerY,ref.width,ref.height,0};}
_trackingStopped=NO;_trackingCurrentTime=_trackingPreviousTime=kCMTimeInvalid;
@synchronized(self){[_toolTrackingMessages removeObjectForKey:mask[@"id"]];}
_trackingReferenceTime=time;_trackingSeed=seed;_trackingBackward=direction<0;_trackingBoth=direction==0;_trackingSingle=std::abs((int)direction)==2;_trackingDiscard=NO;_trackingCancelled.store(false);_trackingFinishing.store(false);_trackingActive.store(true);++_trackingGeneration;_trackingRunStart=_trackingStarted=NSProcessInfo.processInfo.systemUptime;_trackingHeartbeat.store(_trackingStarted);
_trackingPreviewInputRange=kCMTimeRangeInvalid;_trackingPreviewTotal=_trackingPreviewCompleted=0;
@synchronized(self){[_trackingPreviewFrame release];_trackingPreviewFrame=nil;_trackingPreviewQueued=NO;}
os_log(OS_LOG_DEFAULT,"dayu_tool_track_start direction=%{public}ld reference=%{public}.6f cached=%{public}d",(long)direction,CMTimeGetSeconds(time),_trackingReferenceFrame.valid());
@@ -191,10 +215,13 @@
}@finally{[a endAction:self];}
}
- (void)pollToolAnalysis:(NSTimer*)timer {
if(!_trackingActive.load()||_trackingFinishing.load()||_trackingInFrame.load())return;id<FxCustomParameterActionAPI_v4>a=[_apiManager apiForProtocol:@protocol(FxCustomParameterActionAPI_v4)];if(!a)return;[a startAction:self];@try{id<FxAnalysisAPI>api=[_apiManager apiForProtocol:@protocol(FxAnalysisAPI)];FxAnalysisState state=[api analysisStateForEffect];if(state==kFxAnalysisState_AnalysisCompleted||state==kFxAnalysisState_AnalysisInterrupted||(state==kFxAnalysisState_NotAnalyzing&&NSProcessInfo.processInfo.systemUptime-_trackingStarted>2))[self cleanupAnalysis:nil];}@finally{[a endAction:self];}
if(!_trackingActive.load()||_trackingFinishing.load()||_trackingInFrame.load())return;
if(_trackingCancelled.load()){[self finishToolAnalysis:@"已取消;保留最后连续可信轨迹" error:nil];return;}
if(NSProcessInfo.processInfo.systemUptime-_trackingHeartbeat.load()>30){[self finishToolAnalysis:@"宿主超过 30 秒未返回新画面,跟踪已停止;请重新选择片段或使用手工关键帧。" error:nil];return;}
id<FxCustomParameterActionAPI_v4>a=[_apiManager apiForProtocol:@protocol(FxCustomParameterActionAPI_v4)];if(!a)return;[a startAction:self];@try{id<FxAnalysisAPI>api=[_apiManager apiForProtocol:@protocol(FxAnalysisAPI)];FxAnalysisState state=[api analysisStateForEffect];if(state==kFxAnalysisState_AnalysisCompleted||state==kFxAnalysisState_AnalysisInterrupted||(state==kFxAnalysisState_NotAnalyzing&&NSProcessInfo.processInfo.systemUptime-_trackingStarted>2))[self cleanupAnalysis:nil];}@finally{[a endAction:self];}
}
- (BOOL)stopToolAnalysis:(NSString*)message error:(NSError**)error {
if(message){[_trackingMessage release];_trackingMessage=[message copy];if(error)*error=[NSError errorWithDomain:@"com.dayu.color.tracking" code:2 userInfo:@{NSLocalizedDescriptionKey:message}];}[self cleanupAnalysis:nil];return NO;
if(message){_trackingStopped=YES;[_trackingMessage release];_trackingMessage=[message copy];if(error)*error=[NSError errorWithDomain:@"com.dayu.color.tracking" code:2 userInfo:@{NSLocalizedDescriptionKey:message}];}[self cleanupAnalysis:nil];return NO;
}
- (BOOL)finishToolAnalysis:(NSString*)message error:(NSError**)error {
// FxAnalyzer's quiet cancellation is an explicit SDK error sentinel. A bare
@@ -220,11 +247,14 @@
}
std::vector<dy::FlowPoint>polygon;NSData *nodes=_trackingCandidate[@"nodes"];if(_trackingSeed.kind==DYMaskBezier){auto path=dyFlattenMask((const DYBezierNode*)nodes.bytes,nodes.length/sizeof(DYBezierNode));for(int i=0;i<path.count;i++)polygon.push_back({path.x[i],path.y[i]});}else if(_trackingSeed.kind==DYMaskRectangle)polygon={{-.5f,-.5f},{.5f,-.5f},{.5f,.5f},{-.5f,.5f}};else for(int i=0;i<128;i++){float angle=i*(2.f*M_PI/128);polygon.push_back({.5f*std::cos(angle),.5f*std::sin(angle)});}
if(_trackingStampMotion.active)_stampSourceTracker.setMask(polygon);
_trackingShapePolygon=polygon;_toolTracker.setMask(std::move(polygon));return YES;
_trackingShapePolygon=polygon;
if(_trackingStampMotion.active&&_trackingFrozenMask[@"stampReference"])polygon={{-.5f,-.5f},{.5f,-.5f},{.5f,.5f},{-.5f,.5f}};
_toolTracker.setMask(std::move(polygon));return YES;
}
- (BOOL)finishToolTrackingLoss:(const dy::TrackResult&)lost region:(NSString*)region atTime:(CMTime)time error:(NSError**)error {
NSString *reason=@"区域内运动不一致";
switch(lost.failure){
case dy::TrackFailure::InsufficientTexture:reason=@"区域纹理不足";break;
case dy::TrackFailure::InsufficientMatches:reason=@"可用特征点不足";break;
case dy::TrackFailure::LowConfidence:reason=@"运动可信度不足";break;
case dy::TrackFailure::OutsideFrame:reason=@"目标已离开画面";break;
@@ -233,14 +263,16 @@
default:break;
}
os_log(OS_LOG_DEFAULT,"dayu_tool_track_loss region=%{public}@ time=%{public}.6f reason=%{public}d features=%{public}d matches=%{public}d inliers=%{public}d confidence=%{public}.3f residual=%{public}.3f",region?:@"蒙版",CMTimeGetSeconds(time),(int)lost.failure,lost.features,lost.matches,lost.inliers,lost.confidence,lost.medianError);
NSString *detail=region?[NSString stringWithFormat:@"%@失去跟踪(%@)",region,reason]:reason;
return [self finishToolAnalysis:[NSString stringWithFormat:@"%@,已保留 %lu 帧可信轨迹;可调整区域后从此处继续",detail,(unsigned long)_trackingSamples.count] error:error];
NSString *detail=region?[NSString stringWithFormat:@"%@%@(%@)",region,_trackingSamples.count?@"失去跟踪":@"无法开始跟踪",reason]:reason;
NSString *next=_trackingStampMotion.active?@"选择同一表面上有纹理的跟踪参考,或设置手工关键帧。":@"调整蒙版后从最后可信帧继续。";
return [self finishToolAnalysis:[NSString stringWithFormat:@"%@。%@",detail,next] error:error];
}
- (BOOL)analyzeFrame:(FxImageTile*)tile atTime:(CMTime)time error:(NSError**)error {
if(!_trackingActive.load()||_trackingFinishing.load()){if(error)*error=[NSError errorWithDomain:FxPlugErrorDomain code:kFxError_UserCancelled userInfo:nil];return NO;}_trackingInFrame.store(true);uint64_t trackingSpan=DYBetaSpanBegin(@"tracking_frame",nil);@try{
if(_trackingCancelled.load())return [self finishToolAnalysis:@"已取消;保留最后连续可信轨迹" error:error];if(_trackingSingle&&_trackingSamples.count>=2)return [self finishToolAnalysis:nil error:error];if(_trackingSamples.count>=DYToolKeyLimit)return [self finishToolAnalysis:@"轨迹已到数量上限,保留已完成部分" error:error];
CMTime expected=CMTIME_IS_NUMERIC(_trackingPreviousTime)?(_trackingBackward?CMTimeSubtract(_trackingPreviousTime,_trackingFrameDuration):CMTimeAdd(_trackingPreviousTime,_trackingFrameDuration)):_trackingReferenceTime;if(!CMTIME_IS_NUMERIC(time)||time.epoch!=expected.epoch||CMTimeCompare(time,expected)!=0)return [self stopToolAnalysis:@"宿主帧序列不连续,停在最后可信帧" error:error];
NSDictionary *preview=nil;
_trackingCurrentTime=time;_trackingHeartbeat.store(NSProcessInfo.processInfo.systemUptime);
dy::GrayFrame frame;
const bool stamp=_trackingStampMotion.active;
const bool objectMode=_trackingObjectMode&&!stamp;
@@ -278,21 +310,28 @@
if(!target.valid)return [self finishToolAnalysis:@"目标未能重新确认,已停止;请调整蒙版后继续" error:error];
}else if(!_trackingSamples.count){
os_log(OS_LOG_DEFAULT,"dayu_vision_region_worker main=%{public}d stamp=%{public}d",(int)NSThread.isMainThread,(int)stamp);
dy::TrackerROI targetROI={_trackingSeed.centerX,_trackingSeed.centerY,_trackingSeed.width,_trackingSeed.height,_trackingSeed.angle};
dy::TrackerROI targetROI=stamp?_trackingStampTargetSeed:dy::TrackerROI{_trackingSeed.centerX,_trackingSeed.centerY,_trackingSeed.width,_trackingSeed.height,_trackingSeed.angle};
if(!_toolTracker.reset(frame,targetROI))
return [self finishToolAnalysis:stamp?@"覆盖区域内纹理不足,原图章已保留":@"蒙版内纹理不足,原蒙版已保留" error:error];
if(stamp&&!_stampSourceTracker.reset(frame,_trackingStampSourceSeed))
return [self finishToolAnalysis:@"取样区域内纹理不足,原图章已保留" error:error];
return [self finishToolTrackingLoss:_toolTracker.result() region:stamp?@"跟踪参考区域":@"蒙版区域" atTime:time error:error];
if(stamp&&!_trackingStampLinked&&!_stampSourceTracker.reset(frame,_trackingStampSourceSeed))
return [self finishToolTrackingLoss:_stampSourceTracker.result() region:@"独立取样区域(可切换为随修复区移动)" atTime:time error:error];
target=_toolTracker.result();
if(stamp)source=_stampSourceTracker.result();
if(stamp&&!_trackingStampLinked)source=_stampSourceTracker.result();
}else{
target=_toolTracker.track(frame);
if(!target.valid)return [self finishToolTrackingLoss:target region:stamp?@"覆盖区域":nil atTime:time error:error];
if(stamp){
if(!target.valid)return [self finishToolTrackingLoss:target region:stamp?@"跟踪参考区域":nil atTime:time error:error];
if(stamp&&!_trackingStampLinked){
source=_stampSourceTracker.track(frame);
if(!source.valid)return [self finishToolTrackingLoss:source region:@"取样区域" atTime:time error:error];
}
}
if(stamp){
dy::TrackResult reference=target;float aspect=float(frame.width)/frame.height;
target=dy::cloneRegionFollowing(reference,_trackingStampTargetSeed,_trackingSeed.centerX,_trackingSeed.centerY,aspect);
if(!target.valid)return [self finishToolTrackingLoss:target region:@"修复区域" atTime:time error:error];
if(_trackingStampLinked)source=dy::cloneRegionFollowing(reference,_trackingStampTargetSeed,_trackingStampSourceSeed.cx,_trackingStampSourceSeed.cy,aspect);
if(!source.valid)return [self finishToolTrackingLoss:source region:@"取样区域" atTime:time error:error];
}
DYMaskParameters p=DYMaskAtTime(_trackingFrozenMask,stamp?kCMTimeInvalid:time);
p.centerX=target.cx;p.centerY=target.cy;
float confidence=target.confidence;
@@ -331,6 +370,7 @@
sampled.width=_trackingStampSourceSeed.width*source.scaleX;
sampled.height=_trackingStampSourceSeed.height*source.scaleY;
packet[@"sourceShape"]=[NSData dataWithBytes:&sampled length:sizeof(sampled)];
if(_trackingFrozenMask[@"stampReference"]){auto tracked=_toolTracker.result();DYMaskParameters ref=covered;ref.kind=DYMaskRectangle;ref.centerX=tracked.cx;ref.centerY=tracked.cy;ref.width=_trackingStampTargetSeed.width*tracked.scaleX;ref.height=_trackingStampTargetSeed.height*tracked.scaleY;ref.angle=tracked.rotation;packet[@"referenceShape"]=[NSData dataWithBytes:&ref length:sizeof(ref)];}
}
packet[@"shape"]=[NSData dataWithBytes:&covered length:sizeof(covered)];packet[@"predicted"]=@(objectStep.predicted);
packet[@"nodes"]=_trackingFrozenMask[@"nodes"];
@@ -356,13 +396,27 @@
_objectTracker.stop();
_toolTracker.stop();
if(_trackingStampMotion.active)_stampSourceTracker.stop();
uint64_t generation=_trackingGeneration;BOOL second=_trackingBoth&&!_trackingBackward&&!_trackingCancelled.load()&&!_trackingDiscard;
uint64_t generation=_trackingGeneration;BOOL second=_trackingBoth&&!_trackingBackward&&!_trackingCancelled.load()&&!_trackingDiscard&&!_trackingStopped;
dispatch_async(dispatch_get_main_queue(),^{if(self->_trackingGeneration!=generation)return;
if(!self->_trackingSingle)[self publishTrackingPreview];
if(second){self->_trackingBackward=YES;self->_trackingFinishing.store(false);self->_trackingStarted=NSProcessInfo.processInfo.systemUptime;id<FxCustomParameterActionAPI_v4>a=[self->_apiManager apiForProtocol:@protocol(FxCustomParameterActionAPI_v4)];BOOL started=NO;if(a){[a startAction:self];@try{started=[[self->_apiManager apiForProtocol:@protocol(FxAnalysisAPI)]startBackwardAnalysis:kFxAnalysisLocation_GPU error:nil];}@finally{[a endAction:self];}}if(started){[self toolStatus:@"正向完成,正在从同一起点反向跟踪…"];return;}self->_trackingFinishing.store(true);}
if(second){self->_trackingBackward=YES;self->_trackingFinishing.store(false);self->_trackingStarted=NSProcessInfo.processInfo.systemUptime;self->_trackingHeartbeat.store(self->_trackingStarted);id<FxCustomParameterActionAPI_v4>a=[self->_apiManager apiForProtocol:@protocol(FxCustomParameterActionAPI_v4)];BOOL started=NO;if(a){[a startAction:self];@try{started=[[self->_apiManager apiForProtocol:@protocol(FxAnalysisAPI)]startBackwardAnalysis:kFxAnalysisLocation_GPU error:nil];}@finally{[a endAction:self];}}if(started){[self toolStatus:@"正向完成,正在从同一起点反向跟踪…"];return;}self->_trackingFinishing.store(true);}
BOOL hasResults=![self->_trackingCandidate[@"keys"]isEqual:self->_trackingFrozenMask[@"keys"]];NSString *message=self->_trackingMessage?:[NSString stringWithFormat:@"%@跟踪完成 · %lu 个轨迹键",self->_trackingBoth?@"双向":(self->_trackingBackward?@"反向":@"正向"),(unsigned long)[self->_trackingCandidate[@"keys"]count]];
if(self->_trackingObjectRepaired)message=[message stringByAppendingFormat:@" · 补齐 %lu 帧短暂遮挡,请复核",(unsigned long)self->_trackingObjectRepaired];
if(hasResults&&!self->_trackingDiscard){id<FxCustomParameterActionAPI_v4>a=[self->_apiManager apiForProtocol:@protocol(FxCustomParameterActionAPI_v4)];if(a){[a startAction:self];@try{NSMutableDictionary *doc=DYMutablePlist(DYReadTools(self->_apiManager,a.currentTime).document);NSString *node=DYSharedMaskWithID(doc,self->_trackingMaskID)?@"shared":self->_trackingNode;NSMutableDictionary *mask=[self toolMask:self->_trackingMaskID node:node document:doc];if(mask&&[mask isEqual:self->_trackingFrozenMask]){self->_trackingCandidate[@"status"]=message;[mask setDictionary:self->_trackingCandidate];id<FxUndoAPI>undo=[self->_apiManager apiForProtocol:@protocol(FxUndoAPI)];[undo startUndoGroup:mask[@"stampSource"]?@"仿制图章跟踪":@"蒙版区域跟踪"];BOOL written=DYWriteTools(self->_apiManager,doc,a.currentTime);[undo endUndoGroup];if(!written)message=@"宿主未接受轨迹,原蒙版已保留";}else message=@"目标工具或蒙版已更改,已丢弃过期跟踪结果";}@finally{[a endAction:self];}}}
BOOL failedStamp=self->_trackingStopped&&self->_trackingFrozenMask[@"stampSource"];
if(failedStamp){
double stopped=CMTIME_IS_NUMERIC(self->_trackingCurrentTime)?CMTimeGetSeconds(self->_trackingCurrentTime):CMTimeGetSeconds(self->_trackingReferenceTime);
NSString *position=CMTIME_IS_NUMERIC(self->_trackingPreviousTime)?[NSString stringWithFormat:@"最后可信帧 %.3fs",CMTimeGetSeconds(self->_trackingPreviousTime)]:@"未生成新轨迹,原图章已保留";
message=[NSString stringWithFormat:@"已停止 · %.3fs · %@。%@",stopped,position,message];
}
if((hasResults||failedStamp)&&!self->_trackingDiscard){id<FxCustomParameterActionAPI_v4>a=[self->_apiManager apiForProtocol:@protocol(FxCustomParameterActionAPI_v4)];if(a){[a startAction:self];@try{NSMutableDictionary *doc=DYMutablePlist(DYReadTools(self->_apiManager,a.currentTime).document);NSString *node=DYSharedMaskWithID(doc,self->_trackingMaskID)?@"shared":self->_trackingNode;NSMutableDictionary *mask=[self toolMask:self->_trackingMaskID node:node document:doc];if(mask&&[mask isEqual:self->_trackingFrozenMask]){self->_trackingCandidate[@"status"]=message;
if(mask[@"stampSource"]){
self->_trackingCandidate[@"trackingStopped"]=@(self->_trackingStopped);
for(NSString *field in @[@"trackingLastTime",@"trackingStopTime"])[self->_trackingCandidate removeObjectForKey:field];
CMTime last=self->_trackingPreviousTime,stop=self->_trackingCurrentTime;
if(CMTIME_IS_NUMERIC(last))self->_trackingCandidate[@"trackingLastTime"]=@[@(last.value),@(last.timescale),@(last.epoch)];
if(CMTIME_IS_NUMERIC(stop))self->_trackingCandidate[@"trackingStopTime"]=@[@(stop.value),@(stop.timescale),@(stop.epoch)];
}
[mask setDictionary:self->_trackingCandidate];id<FxUndoAPI>undo=[self->_apiManager apiForProtocol:@protocol(FxUndoAPI)];[undo startUndoGroup:mask[@"stampSource"]?@"仿制图章跟踪":@"蒙版区域跟踪"];BOOL written=DYWriteTools(self->_apiManager,doc,a.currentTime);[undo endUndoGroup];if(!written)message=@"宿主未接受跟踪结果,原图章/蒙版已保留,请重试。";else [self adoptToolCanvasDocument:doc];}else message=@"目标工具或蒙版已更改,已丢弃过期跟踪结果";}@finally{[a endAction:self];}}}
CMTime stepTime=self->_trackingPreviousTime;BOOL advance=self->_trackingSingle&&changed&&!self->_trackingDiscard&&!self->_trackingCancelled.load()&&CMTIME_IS_NUMERIC(stepTime);
@synchronized(self->_toolCaptureDevices){for(NSMutableDictionary *entry in self->_toolCaptureDevices.allValues)[entry removeObjectsForKeys:@[@"encoded",@"bytes",@"buffer",@"previewBuffer",@"visionPool",@"visionWidth",@"visionHeight"]];}
self->_trackingActive.store(false);if(advance){id<FxCustomParameterActionAPI_v4>seek=[self->_apiManager apiForProtocol:@protocol(FxCustomParameterActionAPI_v4)];if(seek){[seek startAction:self];@try{id<FxTimingAPI_v4>timing=[self->_apiManager apiForProtocol:@protocol(FxTimingAPI_v4)];CMTime timelineTime=kCMTimeInvalid;[timing timelineTime:&timelineTime fromInputTime:stepTime];id<FxCommandAPI_v2>command=[self->_apiManager apiForProtocol:@protocol(FxCommandAPI_v2)];if(CMTIME_IS_NUMERIC(timelineTime)){NSError *seekError=nil;BOOL moved=[command movePlayheadToTime:timelineTime error:&seekError];if(!moved)os_log(OS_LOG_DEFAULT,"dayu_tool_track_seek timeline=%{public}.6f code=%{public}ld",CMTimeGetSeconds(timelineTime),(long)seekError.code);}else message=[message stringByAppendingString:@";宿主未提供有效播放头位置"];}@finally{[seek endAction:self];}}}[self->_toolAnalysisTimer invalidate];[self->_toolAnalysisTimer release];self->_toolAnalysisTimer=nil;[NSNotificationCenter.defaultCenter postNotificationName:DYModelChanged object:self->_apiManager];
@@ -372,7 +426,10 @@
(unsigned long)self->_trackingDirectFrames,(unsigned long)self->_trackingCopiedFrames,
(unsigned long)[self->_trackingCandidate[@"keys"]count]);
if(self->_trackingSingle)[self toolStatus:message];
else [self postTrackingPreview:nil active:NO message:message];
else {
[NSNotificationCenter.defaultCenter postNotificationName:@"DYColorWorkspaceRequested" object:self->_apiManager userInfo:@{@"page":@"tracking"}];
[self postTrackingPreview:nil active:NO message:message];
}
});return YES;
}
+22 -1
查看文件
@@ -161,6 +161,14 @@
[NSColor.blackColor setStroke];mark.lineWidth=3.5*_uiScale;[mark stroke];
[NSColor.systemCyanColor setStroke];mark.lineWidth=1.5*_uiScale;[mark stroke];
}
- (NSRect)stampActionRect:(NSInteger)index{return NSOffsetRect([self stampControlRect:index],0,-30*_uiScale);}
- (void)drawStampReference {
NSData *data=_mask[@"referenceShape"];if(data.length!=sizeof(DYMaskParameters))return;
DYMaskParameters p;[data getBytes:&p length:sizeof(p)];NSBezierPath *path=[NSBezierPath bezierPath];
const float xy[][2]={{-.5,-.5},{.5,-.5},{.5,.5},{-.5,.5}};
for(int i=0;i<4;i++){NSPoint q=[self canvasStampSource:NSMakePoint(p.centerX+xy[i][0]*p.width,p.centerY+xy[i][1]*p.height)];if(i)[path lineToPoint:q];else[path moveToPoint:q];}
[path closePath];path.lineWidth=3*_uiScale;[NSColor.blackColor setStroke];[path stroke];CGFloat dash[]={5*_uiScale,3*_uiScale};[path setLineDash:dash count:2 phase:0];path.lineWidth=1.5*_uiScale;[NSColor.systemGreenColor setStroke];[path stroke];
}
- (void)drawStampControls{
NSArray *source=_mask[@"stampSource"];
if(_viewerControls.stampArmed){
@@ -181,9 +189,17 @@
[outline closePath];outline.lineWidth=2*_uiScale;[NSColor.systemCyanColor setStroke];[outline stroke];
}
}else if(source.count==4){
[self drawStampReference];
[self drawStampSource:NSMakePoint([source[0]doubleValue],[source[1]doubleValue])];
BOOL tracking=[_mask[@"tracking"]boolValue];
NSArray *titles=tracking?@[@"停止跟踪"]:@[@"向后跟踪",@"双向跟踪",@"向前跟踪"];
NSString *status=_mask[@"status"];
if(status.length){
NSRect box=NSMakeRect(NSMinX(_imageRect)+8*_uiScale,NSMinY(_imageRect)+10*_uiScale,MAX(1,MIN(NSWidth(_imageRect)-16*_uiScale,680*_uiScale)),64*_uiScale);
DYDrawSoftControl(box,4,NO,NO,NO);NSMutableParagraphStyle *style=[[[NSMutableParagraphStyle alloc]init]autorelease];style.lineBreakMode=NSLineBreakByWordWrapping;
[status drawInRect:NSInsetRect(box,7*_uiScale,5*_uiScale) withAttributes:@{NSForegroundColorAttributeName:[_mask[@"trackingStopped"]boolValue]?NSColor.systemOrangeColor:NSColor.whiteColor,NSFontAttributeName:[NSFont systemFontOfSize:11*_uiScale],NSParagraphStyleAttributeName:style}];
}
if(!tracking){NSArray *actions=@[[_mask[@"referenceDrawing"]boolValue]?@"取消参考选择":@"选择跟踪参考",@"手工关键帧",@"最后可信帧"];for(NSInteger i=0;i<3;i++){NSRect cell=[self stampActionRect:i];DYDrawSoftControl(cell,4,NO,NO,NO);[actions[i]drawInRect:NSInsetRect(cell,4,4) withAttributes:@{NSForegroundColorAttributeName:i==2&&![_mask[@"canReturn"]boolValue]?NSColor.grayColor:NSColor.whiteColor,NSFontAttributeName:[NSFont systemFontOfSize:MAX(8.,NSHeight(cell)*.45)]}];}}
NSArray *titles=tracking?@[@"停止跟踪"]:[_mask[@"referenceDrawing"]boolValue]?@[]:@[@"向后跟踪",@"双向跟踪",@"向前跟踪"];
for(NSUInteger i=0;i<titles.count;i++){
NSRect cell=[self stampControlRect:i];DYDrawSoftControl(cell,4,NO,NO,NO);
[titles[i] drawInRect:NSInsetRect(cell,6,4) withAttributes:@{NSForegroundColorAttributeName:NSColor.whiteColor,NSFontAttributeName:[NSFont systemFontOfSize:MAX(8.,NSHeight(cell)*.48)]}];
@@ -240,6 +256,8 @@
NSArray *source=_mask[@"stampSource"];
if(source.count==4){
BOOL tracking=[_mask[@"tracking"]boolValue];
if(!tracking)for(NSInteger i=0;i<3;i++)if(NSPointInRect(point,[self stampActionRect:i]))return 10018+i;
if(!tracking&&[_mask[@"referenceDrawing"]boolValue])return NSPointInRect(point,_imageRect)?DYCloneReferencePart:0;
NSInteger count=tracking?1:3;
for(NSInteger i=0;i<count;i++)if(NSPointInRect(point,[self stampControlRect:i]))return 10011+i;
NSPoint cross=[self canvasStampSource:NSMakePoint([source[0]doubleValue],[source[1]doubleValue])];
@@ -262,6 +280,9 @@
if(type==NSEventTypeKeyDown&&key==27&&_viewerControls.stampArmed){
_viewerControls.stampArmed=NO;[self clearStampCreation];return YES;
}
if(type==NSEventTypeLeftMouseDown&&part>=10018&&part<=10020){
[plugin cloneStampCommand:@[@"reference",@"manual",@"return"][part-10018] mask:_mask[@"id"] atTime:time];return YES;
}
if(type==NSEventTypeLeftMouseDown&&part>=10011&&part<=10013){
NSInteger direction=[_mask[@"tracking"]boolValue]?9:part-10012;
[plugin trackCloneStamp:_mask[@"id"] direction:direction];return YES;
+5
查看文件
@@ -55,6 +55,11 @@ struct DYStampMotion {
DYStampMotion DYStampMotionAtTime(NSDictionary *stamp,CMTime time);
NSArray *DYStampSourceAtTime(NSDictionary *stamp,CMTime time);
NSArray *DYStampSamplingScaleAtTime(NSDictionary *stamp,CMTime time);
BOOL DYStampUsesLinkedTracking(NSDictionary *stamp);
DYMaskParameters DYStampReferenceAtTime(NSDictionary *stamp,CMTime time);
BOOL DYSetStampReference(NSMutableDictionary *stamp,NSRect rect,CMTime time);
BOOL DYAddStampManualKey(NSMutableDictionary *stamp,CMTime time);
CMTime DYTrackingRecordedTime(NSDictionary *mask,NSString *key);
NSDictionary *DYStampKey(CMTime time,DYMaskParameters parameters,BOOL manual,float confidence,DYStampMotion motion);
BOOL DYMergeTracking(NSMutableDictionary *mask,NSArray *samples,CMTime frameDuration=kCMTimeInvalid);
BOOL DYMosaicTracksMask(NSDictionary *document,NSString *maskID);
+50 -1
查看文件
@@ -98,10 +98,24 @@ BOOL DYValidToolMask(NSDictionary *mask){
}
id samplingScale=mask[@"stampSamplingScale"];
if(samplingScale&&(!source||!validStampValues(samplingScale,2,0,1./256,256)))return NO;
id mode=mask[@"stampTrackMode"],reference=mask[@"stampReference"];
if(mode&&(!source||![@[@"linked",@"independent"]containsObject:mode]))return NO;
if(reference){
if(!source||![reference isKindOfClass:NSArray.class]||[reference count]!=4)return NO;
for(NSUInteger i=0;i<4;i++)if(!finiteNumber(reference[i])||
(i<2?fabs([reference[i]doubleValue])>2048:[reference[i]doubleValue]<.001||[reference[i]doubleValue]>2048))return NO;
}
if(mask[@"status"]&&(![mask[@"status"]isKindOfClass:NSString.class]||[mask[@"status"]length]>2000))return NO;
if(mask[@"trackingStopped"]&&![@[@YES,@NO]containsObject:mask[@"trackingStopped"]])return NO;
for(NSString *field in @[@"trackingLastTime",@"trackingStopTime"]){
id value=mask[field];if(value&&(![value isKindOfClass:NSArray.class]||[value count]!=3))return NO;
if(value){for(id n in value)if(!finiteNumber(n))return NO;if(!CMTIME_IS_NUMERIC(DYTrackingRecordedTime(mask,field)))return NO;}
}
const float *n=(const float*)nodes.bytes;for(NSUInteger i=0;i<nodes.length/4;i++)if(!std::isfinite(n[i])||fabs(n[i])>1000)return NO;
NSArray *keys=mask[@"keys"];if(![keys isKindOfClass:NSArray.class]||keys.count>DYToolKeyLimit)return NO;CMTime last=kCMTimeInvalid;
for(NSDictionary *k in keys){if(![k isKindOfClass:NSDictionary.class]||!finiteNumber(k[@"value"])||!finiteNumber(k[@"scale"])||!finiteNumber(k[@"epoch"])||!finiteNumber(k[@"manual"])||!finiteNumber(k[@"confidence"])||[k[@"confidence"]doubleValue]<0||[k[@"confidence"]doubleValue]>1)return NO;CMTime t=keyTime(k);DYMaskParameters q;if(!CMTIME_IS_NUMERIC(t)||!readParameters(k[@"parameters"],&q)||q.kind!=p.kind||(CMTIME_IS_NUMERIC(last)&&(last.epoch!=t.epoch||CMTimeCompare(last,t)>=0)))return NO;
if(k[@"stampMotion"]&&(!source||!validStampValues(k[@"stampMotion"],6,2,1./16,16)))return NO;
if(k[@"stampManualSource"]&&(!source||!k[@"stampMotion"]||![k[@"manual"]boolValue]||![@[@YES,@NO]containsObject:k[@"stampManualSource"]]))return NO;
last=t;
}return YES;
}
@@ -236,6 +250,36 @@ static DYStampMotion stampMotionInSpan(DYMaskKeySpan span){
blend(a.targetScaleX,b.targetScaleX),blend(a.targetScaleY,b.targetScaleY),a.active||b.active};
}
DYStampMotion DYStampMotionAtTime(NSDictionary *stamp,CMTime time){return stampMotionInSpan(maskKeySpan(stamp,time));}
BOOL DYStampUsesLinkedTracking(NSDictionary *stamp){return stamp[@"stampSource"]&&[stamp[@"stampTrackMode"]isEqual:@"linked"];}
CMTime DYTrackingRecordedTime(NSDictionary *mask,NSString *key){
NSArray *v=mask[key];if(![v isKindOfClass:NSArray.class]||v.count!=3)return kCMTimeInvalid;
for(id n in v)if(!finiteNumber(n))return kCMTimeInvalid;
double scale=[v[1]doubleValue];if(scale<1||scale>INT32_MAX||scale!=std::floor(scale))return kCMTimeInvalid;
return CMTimeMakeWithEpoch([v[0]longLongValue],(int32_t)scale,[v[2]longLongValue]);
}
DYMaskParameters DYStampReferenceAtTime(NSDictionary *stamp,CMTime time){
DYMaskParameters p=DYMaskAtTime(stamp,time);NSArray *ref=stamp[@"stampReference"];
if(ref.count==4){p.centerX+=[ref[0]floatValue]*p.width;p.centerY+=[ref[1]floatValue]*p.height;p.width*=[ref[2]floatValue];p.height*=[ref[3]floatValue];p.kind=DYMaskRectangle;}
p.feather=0;p.angle=0;return p;
}
BOOL DYSetStampReference(NSMutableDictionary *stamp,NSRect rect,CMTime time){
if(!stamp[@"stampSource"]||!CMTIME_IS_NUMERIC(time)||!std::isfinite(NSMidX(rect))||!std::isfinite(NSMidY(rect))||
!std::isfinite(NSWidth(rect))||!std::isfinite(NSHeight(rect))||NSWidth(rect)<.001||NSHeight(rect)<.001||
NSMinX(rect)<0||NSMinY(rect)<0||NSMaxX(rect)>1||NSMaxY(rect)>1)return NO;
DYMaskParameters p=DYMaskAtTime(stamp,time);
NSArray *ref=@[@((NSMidX(rect)-p.centerX)/p.width),@((NSMidY(rect)-p.centerY)/p.height),@(NSWidth(rect)/p.width),@(NSHeight(rect)/p.height)];
NSMutableDictionary *candidate=DYMutablePlist(stamp);candidate[@"stampReference"]=ref;
if(!DYValidToolMask(candidate))return NO;stamp[@"stampReference"]=ref;[stamp removeObjectForKey:@"status"];return YES;
}
BOOL DYAddStampManualKey(NSMutableDictionary *stamp,CMTime time){
if(!stamp[@"stampSource"]||!CMTIME_IS_NUMERIC(time))return NO;
DYMaskParameters p=DYMaskAtTime(stamp,time);DYStampMotion motion=DYStampMotionAtTime(stamp,time);motion.active=true;
NSMutableDictionary *candidate=DYMutablePlist(stamp);
NSMutableArray *keys=candidate[@"keys"];[keys filterUsingPredicate:[NSPredicate predicateWithBlock:^BOOL(NSDictionary *key,NSDictionary *bindings){return CMTimeCompare(keyTime(key),time)!=0;}]];
if(!DYMergeTracking(candidate,@[DYStampKey(time,p,YES,1,motion)]))return NO;
[candidate removeObjectsForKeys:@[@"status",@"trackingStopped",@"trackingLastTime",@"trackingStopTime"]];
[stamp setDictionary:candidate];return YES;
}
NSArray *DYStampSourceAtTime(NSDictionary *stamp,CMTime time){
NSArray *source=stamp[@"stampSource"];
DYStampMotion motion=DYStampMotionAtTime(stamp,time);
@@ -278,6 +322,7 @@ NSDictionary *DYStampKey(CMTime time,DYMaskParameters p,BOOL manual,float confid
NSMutableDictionary *paired=[[key mutableCopy]autorelease];
paired[@"stampMotion"]=@[@(motion.sourceOffsetX),@(motion.sourceOffsetY),@(motion.sourceScaleX),
@(motion.sourceScaleY),@(motion.targetScaleX),@(motion.targetScaleY)];
if(manual)paired[@"stampManualSource"]=@YES;
return paired;
}
// Analysis supplies a contiguous pass in either time direction. A symmetric
@@ -369,7 +414,11 @@ BOOL DYMergeTracking(NSMutableDictionary *m,NSArray *samples,CMTime frameDuratio
if(key[@"stampMotion"]){
NSUInteger slot=index.unsignedIntegerValue;
NSMutableDictionary *authored=[[all[slot] mutableCopy]autorelease];
authored[@"stampMotion"]=key[@"stampMotion"];
if([authored[@"stampManualSource"]boolValue]&&![key[@"manual"]boolValue]){
NSMutableArray *motion=[[key[@"stampMotion"]mutableCopy]autorelease];
motion[0]=authored[@"stampMotion"][0];motion[1]=authored[@"stampMotion"][1];
authored[@"stampMotion"]=motion;
}else authored[@"stampMotion"]=key[@"stampMotion"];
all[slot]=authored;
}
}
@@ -216,6 +216,63 @@
run.record(@"host-clone-stamp-source-loss-stops-both-tracks-at-last-paired-frame",
paired&&ended&&[saved[@"keys"] count]==3&&[sourceLoss.domain isEqual:FxPlugErrorDomain]&&
sourceLoss.code==kFxError_UserCancelled&&[sourceLoss.localizedDescription containsString:@"取样区域"]);
[NSNotificationCenter.defaultCenter postNotificationName:@"DYToolCanvasSelection" object:host userInfo:@{@"node":@"shared",@"mask":stampID,@"document":DYReadTools(base,kCMTimeZero).document}];
int beforeReturn=host->_seekCount;
host->_rejectSeekDuringAction=YES;
[plugin cloneStampCommand:@"return" mask:stampID atTime:timeAt(2)];drain();
run.record(@"clone-last-trusted-button-maps-input-time-to-host-timeline",host->_seekCount==beforeReturn+1&&CMTimeCompare(host->_time,timeAt(2))==0);
host->_rejectSeekDuringAction=NO;
stamp[@"stampTrackMode"]=@"linked";DYWriteTools(base,stampDoc,kCMTimeZero);paired=requestStamp(0);
for(int i=0;i<6&&paired;i++){pairedFrame(i,true);paired&=[plugin analyzeFrame:frame atTime:timeAt(i) error:nil];}finish();
saved=DYSharedMaskWithID(DYReadTools(base,kCMTimeZero).document,stampID);motion=DYStampMotionAtTime(saved,timeAt(5));covered=DYMaskAtTime(saved,timeAt(5));sampled=DYStampSourceAtTime(saved,timeAt(5));
double linkedDistance=std::hypot(([sampled[0]doubleValue]-covered.centerX)*double(tw)/th,[sampled[1]doubleValue]-covered.centerY);
run.record(@"linked-clone-tracks-with-completely-flat-clean-source",paired&&[saved[@"keys"]count]==6&&fabs(linkedDistance-.5*double(tw)/th*motion.targetScaleX)<1e-5&&fabs(motion.sourceScaleX-motion.targetScaleX)<1e-6,
@{@"keys":@([saved[@"keys"]count]),@"paired":@(paired),@"source":sampled?:@[],@"target":@[@(covered.centerX),@(covered.centerY)],@"distance":@(linkedDistance),@"targetScale":@(motion.targetScaleX),@"status":saved[@"status"]?:@""});
// A tiny flat repair ellipse follows a separate textured rectangle without
// increasing the pixels that the repair covers.
NSMutableDictionary *referenceDoc=DYMutablePlist(stampDoc),*referenceStamp=(id)DYSharedMaskWithID(referenceDoc,stampID);
DYMaskParameters tiny=target;tiny.centerX=.86;tiny.width=.02;tiny.height=.04;referenceStamp[@"parameters"]=[NSData dataWithBytes:&tiny length:sizeof(tiny)];
BOOL referenceOK=DYSetStampReference(referenceStamp,NSMakeRect(.6,.25,.2,.5),kCMTimeZero);
DYWriteTools(base,referenceDoc,kCMTimeZero);paired=requestStamp(0);
for(int i=0;i<6&&paired;i++){
pairedFrame(i,true);Pixels repairPixels=read(frame,gpu);float scale=1+i*.035f,cx=.75f+i*2.f/tw+(.86f-.75f)*scale,cy=.5f-i*.75f/th;
for(NSUInteger y=0;y<th;y++)for(NSUInteger x=0;x<tw;x++)if(fabs(float(x)/tw-cx)<.035*scale&&fabs(float(y)/th-cy)<.08*scale){auto index=(y*tw+x)*4;repairPixels[index]=repairPixels[index+1]=repairPixels[index+2]=.1;}
[[frame metalTextureForDevice:gpu]replaceRegion:MTLRegionMake2D(0,0,tw,th) mipmapLevel:0 withBytes:repairPixels.data() bytesPerRow:tw*8];
paired&=[plugin analyzeFrame:frame atTime:timeAt(i) error:nil];
}finish();saved=DYSharedMaskWithID(DYReadTools(base,kCMTimeZero).document,stampID);covered=DYMaskAtTime(saved,timeAt(5));
run.record(@"flat-small-repair-can-follow-separate-surface-reference",referenceOK&&paired&&[saved[@"keys"]count]==6&&fabs(covered.centerX-(.75+10./tw+(.86-.75)*1.175))<.008&&covered.width<.026&&covered.height<.052);
DYWriteTools(base,stampDoc,kCMTimeZero);host->_time=kCMTimeZero;host->_state=kFxAnalysisState_NotAnalyzing;int backwardBeforeLoss=host->_backwardStarts;
[plugin toolTrackRequested:[NSNotification notificationWithName:@"DYToolTrack" object:host userInfo:@{@"node":@"shared",@"mask":stampID,@"direction":@0}]];
paired=[plugin desiredAnalysisTimeRange:&desired forInputWithTimeRange:inputRange error:nil]&&[plugin setupAnalysisForTimeRange:desired frameDuration:timeAt(1) error:nil];
[[frame metalTextureForDevice:gpu]replaceRegion:MTLRegionMake2D(0,0,tw,th) mipmapLevel:0 withBytes:flat.data() bytesPerRow:tw*8];
BOOL failedSeed=![plugin analyzeFrame:frame atTime:kCMTimeZero error:nil];finish();saved=DYSharedMaskWithID(DYReadTools(base,kCMTimeZero).document,stampID);
[NSNotificationCenter.defaultCenter postNotificationName:@"DYToolCanvasSelection" object:host userInfo:@{@"node":@"shared",@"mask":stampID,@"document":DYReadTools(base,kCMTimeZero).document}];
NSDictionary *canvas=[(id<DYToolCanvasHostProbe>)plugin toolCanvasMaskAtTime:kCMTimeZero];
run.record(@"clone-first-frame-failure-persists-canvas-reason-without-keys",paired&&failedSeed&&![saved[@"keys"]count]&&[saved[@"trackingStopped"]boolValue]&&[canvas[@"status"]containsString:@"纹理不足"]&&![canvas[@"tracking"]boolValue]&&[canvas[@"status"]containsString:@"手工关键帧"]);
run.record(@"clone-bidirectional-first-loss-is-not-labelled-forward-complete",host->_backwardStarts==backwardBeforeLoss&&[saved[@"status"]containsString:@"已停止"]);
[plugin cloneStampCommand:@"manual" mask:stampID atTime:kCMTimeZero];drain();saved=DYSharedMaskWithID(DYReadTools(base,kCMTimeZero).document,stampID);
run.record(@"clone-manual-key-command-starts-after-zero-frame-failure",[saved[@"keys"]count]==1&&[saved[@"keys"][0][@"manual"]boolValue]&&!saved[@"trackingStopped"]);
host->_time=timeAt(5);id<DYToolCanvasHostProbe>canvasHost=(id)plugin;
[canvasHost toolCanvasEvent:NSEventTypeLeftMouseDown point:NSMakePoint(.25,.5) part:7 modifiers:0 key:0 time:timeAt(5)];
[canvasHost toolCanvasEvent:NSEventTypeLeftMouseDragged point:NSMakePoint(.3,.53) part:7 modifiers:0 key:0 time:timeAt(5)];
[canvasHost toolCanvasEvent:NSEventTypeLeftMouseUp point:NSMakePoint(.3,.53) part:7 modifiers:0 key:0 time:timeAt(5)];drain();
saved=DYSharedMaskWithID(DYReadTools(base,kCMTimeZero).document,stampID);
run.record(@"clone-manual-source-drag-keys-current-frame-without-moving-earlier-source",[saved[@"keys"]count]==2&&fabs([DYStampSourceAtTime(saved,kCMTimeZero)[0]doubleValue]-.25)<1e-6&&fabs([DYStampSourceAtTime(saved,timeAt(5))[0]doubleValue]-.3)<1e-6&&fabs([saved[@"stampSource"][0]doubleValue]-.25)<1e-6);
[canvasHost toolCanvasEvent:NSEventTypeLeftMouseDown point:NSMakePoint(.75,.5) part:1 modifiers:0 key:0 time:timeAt(5)];
[canvasHost toolCanvasEvent:NSEventTypeLeftMouseDragged point:NSMakePoint(.8,.52) part:1 modifiers:0 key:0 time:timeAt(5)];
[canvasHost toolCanvasEvent:NSEventTypeLeftMouseUp point:NSMakePoint(.8,.52) part:1 modifiers:0 key:0 time:timeAt(5)];drain();
saved=DYSharedMaskWithID(DYReadTools(base,kCMTimeZero).document,stampID);
run.record(@"clone-manual-target-correction-preserves-source-key-at-same-frame",[saved[@"keys"]count]==2&&fabs(DYMaskAtTime(saved,timeAt(5)).centerX-.8)<1e-6&&fabs([DYStampSourceAtTime(saved,timeAt(5))[0]doubleValue]-.3)<1e-6);
host->_time=kCMTimeZero;DYMaskParameters beforeReference=DYMaskAtTime(saved,kCMTimeZero);
[plugin cloneStampCommand:@"reference" mask:stampID atTime:kCMTimeZero];drain();
[canvasHost toolCanvasEvent:NSEventTypeLeftMouseDown point:NSMakePoint(.4,.2) part:8 modifiers:0 key:0 time:kCMTimeZero];
[canvasHost toolCanvasEvent:NSEventTypeLeftMouseDragged point:NSMakePoint(.7,.7) part:8 modifiers:0 key:0 time:kCMTimeZero];
[canvasHost toolCanvasEvent:NSEventTypeLeftMouseUp point:NSMakePoint(.7,.7) part:8 modifiers:0 key:0 time:kCMTimeZero];drain();
saved=DYSharedMaskWithID(DYReadTools(base,kCMTimeZero).document,stampID);DYMaskParameters afterReference=DYMaskAtTime(saved,kCMTimeZero),selectedReference=DYStampReferenceAtTime(saved,kCMTimeZero);
run.record(@"clone-reference-draw-gesture-preserves-repair-and-manual-keys",saved[@"stampReference"]&&[saved[@"keys"]count]==2&&beforeReference.centerX==afterReference.centerX&&beforeReference.width==afterReference.width&&fabs(selectedReference.centerX-.55)<1e-6&&fabs(selectedReference.height-.5)<1e-6);
}
{
NSMutableDictionary *objectDoc=DYMutablePlist([[[DYToolDocument alloc]init]autorelease].document),*objectMask=(id)DYAddSharedMask(objectDoc,DYMaskRectangle);
@@ -3,15 +3,16 @@
@interface DYToolTrackingProbe : NSObject<PROAPIAccessing> {
@public
id _base;CMTime _time,_timelineOffset,_seekTime;int _seekCount;FxAnalysisState _state;int _forwardStarts,_backwardStarts;
int _trackingActionDepth;BOOL _rejectSeekDuringAction;
}
@end
@implementation DYToolTrackingProbe
- (id)apiForProtocol:(Protocol*)protocol{NSString *name=NSStringFromProtocol(protocol);if([@[@"FxAnalysisAPI",@"FxTimingAPI_v4",@"FxCustomParameterActionAPI_v4",@"FxCommandAPI_v2"]containsObject:name])return self;return [_base apiForProtocol:protocol];}
- (void)startAction:(id)sender{[(id<FxCustomParameterActionAPI_v4>)_base startAction:sender];}
- (void)endAction:(id)sender{[(id<FxCustomParameterActionAPI_v4>)_base endAction:sender];}
- (void)startAction:(id)sender{++_trackingActionDepth;[(id<FxCustomParameterActionAPI_v4>)_base startAction:sender];}
- (void)endAction:(id)sender{[(id<FxCustomParameterActionAPI_v4>)_base endAction:sender];--_trackingActionDepth;}
- (CMTime)currentTime{return _time;}
- (void)timelineTime:(CMTime*)timeline fromInputTime:(CMTime)input{*timeline=CMTimeAdd(input,CMTIME_IS_NUMERIC(_timelineOffset)?_timelineOffset:kCMTimeZero);}
- (BOOL)movePlayheadToTime:(CMTime)time error:(NSError**)error{_seekTime=time;_seekCount++;_time=CMTimeSubtract(time,CMTIME_IS_NUMERIC(_timelineOffset)?_timelineOffset:kCMTimeZero);return YES;}
- (BOOL)movePlayheadToTime:(CMTime)time error:(NSError**)error{if(_rejectSeekDuringAction&&_trackingActionDepth)return NO;_seekTime=time;_seekCount++;_time=CMTimeSubtract(time,CMTIME_IS_NUMERIC(_timelineOffset)?_timelineOffset:kCMTimeZero);return YES;}
- (FxAnalysisState)analysisStateForEffect{return _state;}
- (BOOL)startForwardAnalysis:(FxAnalysisLocation)location error:(NSError**)error{_forwardStarts++;_state=kFxAnalysisState_AnalysisStarted;return YES;}
- (BOOL)startBackwardAnalysis:(FxAnalysisLocation)location error:(NSError**)error{_backwardStarts++;_state=kFxAnalysisState_AnalysisStarted;return YES;}
@@ -27,6 +28,7 @@
- (BOOL)setupAnalysisForTimeRange:(CMTimeRange)range frameDuration:(CMTime)duration error:(NSError**)error;
- (BOOL)analyzeFrame:(FxImageTile*)frame atTime:(CMTime)time error:(NSError**)error;
- (BOOL)cleanupAnalysis:(NSError**)error;
- (void)cloneStampCommand:(NSString*)command mask:(NSString*)maskID atTime:(CMTime)time;
- (dy::GrayFrame)toolGrayFrame:(FxImageTile*)tile error:(NSError**)error;
- (dy::GrayFrame)toolGrayFrame:(FxImageTile*)tile preview:(NSDictionary**)preview error:(NSError**)error;
- (BOOL)captureTrackingTile:(FxImageTile*)tile gray:(dy::GrayFrame*)gray preview:(NSDictionary**)preview error:(NSError**)error;
@@ -49,4 +51,5 @@
- (void)scheduleToolCanvasRegistration;
- (void)adoptToolCanvasDocument:(NSDictionary*)document;
- (NSDictionary*)toolCanvasMaskAtTime:(CMTime)time;
- (void)toolCanvasEvent:(NSEventType)type point:(NSPoint)point part:(NSInteger)part modifiers:(FxModifierKeys)modifiers key:(unichar)key time:(CMTime)time;
@end
+10 -9
查看文件
@@ -42,7 +42,7 @@
frame[@"sourceShape"]?@"取样与覆盖区域":@"蒙版轮廓"]:@"等待源帧";
[self setNeedsDisplay:YES];
}
- (void)drawShape:(NSData *)shape nodes:(NSData *)nodes inRect:(NSRect)rect source:(BOOL)source {
- (void)drawShape:(NSData *)shape nodes:(NSData *)nodes inRect:(NSRect)rect source:(BOOL)source reference:(BOOL)reference {
if(shape.length!=sizeof(DYMaskParameters))return;
DYMaskParameters p;[shape getBytes:&p length:sizeof(p)];
double aspect=rect.size.width/rect.size.height,c=cos(p.angle),s=sin(p.angle);
@@ -64,7 +64,7 @@
}
[path closePath];path.lineWidth=3.5;[NSColor.blackColor setStroke];[path stroke];
if(source){CGFloat dashes[]={4,3};[path setLineDash:dashes count:2 phase:0];}
[(source?NSColor.systemCyanColor:NSColor.systemYellowColor) setStroke];path.lineWidth=1.6;[path stroke];
[(reference?NSColor.systemGreenColor:source?NSColor.systemCyanColor:NSColor.systemYellowColor) setStroke];path.lineWidth=1.6;[path stroke];
}
- (void)drawRect:(NSRect)dirty {
[NSColor.blackColor setFill];NSRectFill(NSIntersectionRect(dirty,self.bounds));
@@ -81,8 +81,9 @@
}
[_image drawInRect:picture fromRect:NSZeroRect operation:NSCompositingOperationSourceOver fraction:1 respectFlipped:YES hints:nil];
if([_frame[@"flip"] boolValue])[NSGraphicsContext restoreGraphicsState];
[self drawShape:_frame[@"shape"] nodes:_frame[@"nodes"] inRect:picture source:NO];
[self drawShape:_frame[@"sourceShape"] nodes:nil inRect:picture source:YES];
[self drawShape:_frame[@"shape"] nodes:_frame[@"nodes"] inRect:picture source:NO reference:NO];
[self drawShape:_frame[@"sourceShape"] nodes:nil inRect:picture source:YES reference:NO];
if(_frame[@"referenceShape"]){[self drawShape:_frame[@"referenceShape"] nodes:nil inRect:picture source:YES reference:YES];}
[NSGraphicsContext restoreGraphicsState];
}
@end
@@ -140,7 +141,7 @@
self.identifier=@"DYTrackingPreview";
_title=[DYThemeLabel labelWithString:@"跟踪预览"];_title.font=[NSFont systemFontOfSize:12 weight:NSFontWeightSemibold];
_detail=[DYThemeLabel labelWithString:@""];_detail.font=[NSFont monospacedDigitSystemFontOfSize:10 weight:NSFontWeightRegular];
_status=[DYThemeLabel labelWithString:@""];_status.font=[NSFont systemFontOfSize:11];_status.maximumNumberOfLines=2;_status.lineBreakMode=NSLineBreakByWordWrapping;
_status=[DYThemeLabel labelWithString:@""];_status.font=[NSFont systemFontOfSize:11];_status.maximumNumberOfLines=4;_status.lineBreakMode=NSLineBreakByWordWrapping;
_action=DYWorkspaceButton(@"停止跟踪",target,action);
_progress=[[[DYTrackingProgressBar alloc]init]autorelease];_progress.accessibilityLabel=@"跟踪进度";
_preview=[[[DYTrackingPreviewImage alloc]init]autorelease];[_preview showFrame:nil];
@@ -155,9 +156,9 @@
_title.frame=NSMakeRect(8,6,MAX(1,w-108),18);
_action.frame=NSMakeRect(MAX(0,w-98),2,92,24);
_progress.frame=NSMakeRect(8,28,body,10);
_status.frame=NSMakeRect(8,43,body,32);
_preview.frame=NSMakeRect(8,80,body,MAX(1,h-106));
_detail.frame=NSMakeRect(8,MAX(80,h-22),body,18);
_status.frame=NSMakeRect(8,43,body,64);
_preview.frame=NSMakeRect(8,112,body,MAX(1,h-138));
_detail.frame=NSMakeRect(8,MAX(112,h-22),body,18);
}
- (void)applyUpdate:(NSDictionary *)info {
if(![_maskID isEqual:info[@"mask"]]){[_maskID release];_maskID=[info[@"mask"]copy];}
@@ -167,7 +168,7 @@
BOOL stamp=info[@"sourceShape"]!=nil;
_title.stringValue=stamp?@"图章跟踪预览":@"蒙版跟踪预览";
[_preview showFrame:info];
_detail.stringValue=[NSString stringWithFormat:@"%.3fs %@",[info[@"time"] doubleValue],stamp?@"青色取样 · 黄色覆盖":@"黄色轮廓"];
_detail.stringValue=[NSString stringWithFormat:@"%.3fs %@",[info[@"time"] doubleValue],stamp?(info[@"referenceShape"]?@"青色取样 · 黄色覆盖 · 绿色参考":@"青色取样 · 黄色覆盖"):@"黄色轮廓"];
}
NSUInteger total=[info[@"total"] unsignedIntegerValue];
if(active)_progress.doubleValue=total?[info[@"completed"] doubleValue]/total:0;
+2 -2
查看文件
@@ -17,9 +17,9 @@
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
<string>1.22.1</string>
<string>1.22.2</string>
<key>CFBundleVersion</key>
<string>133</string>
<string>137</string>
<key>NSHumanReadableCopyright</key>
<string></string>
<key>PlugInKit</key>
@@ -0,0 +1,22 @@
#pragma once
#include "DYTracker.hpp"
namespace dy {
// Map a repair/sample centre through the motion of a separate reference on
// the same surface. Normalized X and Y have different pixel units.
inline TrackResult cloneRegionFollowing(const TrackResult& reference, TrackerROI seed,
float cx, float cy, float aspect) {
TrackResult result=reference;
if(!reference.valid||!std::isfinite(aspect)||aspect<=0){result.valid=false;return result;}
float x=(cx-seed.cx)*aspect*reference.scaleX;
float y=(cy-seed.cy)*reference.scaleY;
float c=std::cos(reference.rotation),s=std::sin(reference.rotation);
result.cx=reference.cx+(x*c-y*s)/aspect;
result.cy=reference.cy+x*s+y*c;
if(!std::isfinite(result.cx)||!std::isfinite(result.cy)||
result.cx<0||result.cx>1||result.cy<0||result.cy>1){
result.valid=false;result.failure=TrackFailure::OutsideFrame;
}
return result;
}
}
+143 -114
查看文件
@@ -26,9 +26,9 @@ static NSColor *DYSecondary(void) { return DYColor(.70,.74,.81); }
- (BOOL)isFlipped { return YES; }
- (void)drawRect:(NSRect)dirty {
BOOL contrast = NSWorkspace.sharedWorkspace.accessibilityDisplayShouldIncreaseContrast;
NSBezierPath *shape = [NSBezierPath bezierPathWithRoundedRect:NSInsetRect(self.bounds,1,1) xRadius:self.backdrop ? 0 : 22 yRadius:self.backdrop ? 0 : 22];
NSBezierPath *shape = [NSBezierPath bezierPathWithRoundedRect:NSInsetRect(self.bounds,1,1) xRadius:self.backdrop ? 0 : 14 yRadius:self.backdrop ? 0 : 14];
NSColor *base = DYColor(.105,.115,.14);
NSColor *start = self.backdrop ? DYColor(.105,.14,.20) : [base blendedColorWithFraction:.17 ofColor:self.tint];
NSColor *start = self.backdrop ? DYColor(.105,.14,.20) : [base blendedColorWithFraction:.07 ofColor:self.tint];
NSColor *end = self.backdrop ? DYColor(.105,.115,.115) : base;
NSGradient *gradient = [[[NSGradient alloc] initWithStartingColor:start endingColor:end] autorelease];
[gradient drawInBezierPath:shape angle:35];
@@ -72,7 +72,7 @@ static NSTextField *DYLabel(NSString *text, CGFloat size, NSFontWeight weight, N
}
static NSStackView *DYStack(NSArray *views, NSUserInterfaceLayoutOrientation orientation, CGFloat spacing) {
NSStackView *stack = [NSStackView stackViewWithViews:views];
stack.orientation = orientation; stack.spacing = spacing;
stack.orientation = orientation; stack.spacing = spacing; stack.detachesHiddenViews = YES;
stack.alignment = orientation == NSUserInterfaceLayoutOrientationVertical ? NSLayoutAttributeLeading : NSLayoutAttributeTop;
stack.translatesAutoresizingMaskIntoConstraints = NO;
if (orientation == NSUserInterfaceLayoutOrientationHorizontal) stack.distribution = NSStackViewDistributionFillEqually;
@@ -90,13 +90,13 @@ static DYActionButton *DYButton(NSString *title, NSColor *tint, BOOL prominent,
DYActionButton *button = [DYActionButton buttonWithTitle:title target:target action:action];
button.tint = tint; button.prominent = prominent; button.bordered = NO;
button.translatesAutoresizingMaskIntoConstraints = NO;
[button.heightAnchor constraintEqualToConstant:42].active = YES;
[button.widthAnchor constraintGreaterThanOrEqualToConstant:124].active = YES;
[button.heightAnchor constraintEqualToConstant:34].active = YES;
[button.widthAnchor constraintGreaterThanOrEqualToConstant:100].active = YES;
return button;
}
static DYSurface *DYCard(NSColor *tint, NSStackView *content) {
DYSurface *card = [[[DYSurface alloc] initWithFrame:NSZeroRect] autorelease];
card.tint = tint; card.translatesAutoresizingMaskIntoConstraints = NO; DYPin(content,card,22);
card.tint = tint; card.translatesAutoresizingMaskIntoConstraints = NO; DYPin(content,card,18);
for (NSView *view in content.arrangedSubviews) [view.widthAnchor constraintEqualToAnchor:content.widthAnchor].active = YES;
return card;
}
@@ -117,8 +117,8 @@ static NSTextField *DYHeading(NSString *symbol, NSString *text, NSColor *color)
typedef NS_ENUM(NSInteger,DYRegistrationState) { DYChecking, DYRegistering, DYReady, DYFailed };
@interface AppDelegate ()
@property(weak) IBOutlet NSWindow *window;
@property(assign) NSTextField *statusTitle, *statusDetail, *exitDetail;
@property(assign) DYActionButton *retryButton, *keepButton, *confirmationButton;
@property(assign) NSTextField *statusTitle, *statusDetail;
@property(assign) DYActionButton *retryButton, *confirmationButton;
@property(assign) NSProgressIndicator *progress;
@property(assign) DYSurface *registrationCard;
@property DYRegistrationState registrationState;
@@ -126,7 +126,7 @@ typedef NS_ENUM(NSInteger,DYRegistrationState) { DYChecking, DYRegistering, DYRe
@property(retain) NSStatusItem *statusItem;
@property(retain) NSMutableDictionary *diagnostics;
@property(retain) DYBetaUpdater *updater;
@property(assign) NSTextField *updateTitle, *updateDetail, *diagnosticDetail, *reportID;
@property(assign) NSTextField *updateTitle, *diagnosticDetail;
@property(assign) DYActionButton *updateCheckButton, *updateInstallButton, *updateCancelButton, *sendSummaryButton;
@property(assign) NSButton *diagnosticToggle;
@property(assign) NSProgressIndicator *updateProgress;
@@ -147,7 +147,7 @@ typedef NS_ENUM(NSInteger,DYRegistrationState) { DYChecking, DYRegistering, DYRe
self.window.title = @"大鱼调色";
self.window.appearance = [NSAppearance appearanceNamed:NSAppearanceNameDarkAqua];
self.window.titlebarAppearsTransparent = YES; self.window.backgroundColor = DYColor(.105,.14,.20);
self.window.contentMinSize = NSMakeSize(760,620); [self.window setContentSize:NSMakeSize(920,850)]; [self.window center];
self.window.contentMinSize = NSMakeSize(720,560); [self.window setContentSize:NSMakeSize(840,620)]; [self.window center];
DYBetaStart();
[self buildInterface]; [self buildMenu]; [self buildStatusItem];
[NSNotificationCenter.defaultCenter addObserver:self selector:@selector(refreshDiagnostics:) name:DYBetaDiagnosticsChanged object:nil];
@@ -177,7 +177,7 @@ typedef NS_ENUM(NSInteger,DYRegistrationState) { DYChecking, DYRegistering, DYRe
NSMenuItem *root = [[[NSMenuItem alloc] initWithTitle:@"大鱼调色" action:NULL keyEquivalent:@""] autorelease]; [menu addItem:root];
NSMenu *app = [[[NSMenu alloc] initWithTitle:@"大鱼调色"] autorelease]; root.submenu = app;
for (NSArray *entry in @[@[@"关于大鱼调色",NSStringFromSelector(@selector(orderFrontStandardAboutPanel:)),@""],
@[@"查看功能介绍",NSStringFromSelector(@selector(keepIntroduction:)),@"i"],
@[@"使用帮助",NSStringFromSelector(@selector(showUsage:)),@"i"],
@[@"重新检查插件",NSStringFromSelector(@selector(checkRegistration:)),@"r"],
@[@"检查公测更新",NSStringFromSelector(@selector(checkUpdate:)),@"u"],
@[@"访问发布地址",NSStringFromSelector(@selector(openWebsite:)),@""],
@@ -189,98 +189,129 @@ typedef NS_ENUM(NSInteger,DYRegistrationState) { DYChecking, DYRegistering, DYRe
NSApp.mainMenu = menu;
}
- (void)buildInterface {
DYSurface *backdrop = [[[DYSurface alloc] initWithFrame:NSZeroRect] autorelease]; backdrop.backdrop = YES; self.window.contentView = backdrop;
DYSurface *backdrop = [[[DYSurface alloc] initWithFrame:NSZeroRect] autorelease];
backdrop.backdrop = YES;
self.window.contentView = backdrop;
NSScrollView *scroll = [[[NSScrollView alloc] initWithFrame:NSZeroRect] autorelease];
scroll.drawsBackground = NO; scroll.hasVerticalScroller = YES; scroll.autohidesScrollers = YES; DYPin(scroll,backdrop,0);
scroll.drawsBackground = NO;
scroll.hasVerticalScroller = YES;
scroll.autohidesScrollers = YES;
DYPin(scroll,backdrop,0);
DYSurface *document = [[[DYSurface alloc] initWithFrame:NSZeroRect] autorelease];
document.backdrop = YES; document.translatesAutoresizingMaskIntoConstraints = NO; scroll.documentView = document;
document.backdrop = YES;
document.translatesAutoresizingMaskIntoConstraints = NO;
scroll.documentView = document;
[NSLayoutConstraint activateConstraints:@[
[document.leadingAnchor constraintEqualToAnchor:scroll.contentView.leadingAnchor],
[document.topAnchor constraintEqualToAnchor:scroll.contentView.topAnchor],
[document.widthAnchor constraintEqualToAnchor:scroll.contentView.widthAnchor]]];
NSButton *website = [NSButton buttonWithTitle:@"发布地址 https://dayu.media ↗" target:self action:@selector(openWebsite:)];
website.bordered = NO; website.translatesAutoresizingMaskIntoConstraints = NO;
website.attributedTitle = [[[NSAttributedString alloc] initWithString:website.title attributes:@{
NSFontAttributeName:[NSFont systemFontOfSize:13 weight:NSFontWeightMedium],NSForegroundColorAttributeName:DYBlue()}] autorelease];
[website.heightAnchor constraintEqualToConstant:28].active = YES;
NSDictionary *info = NSBundle.mainBundle.infoDictionary;
NSArray *heroLabels = @[DYLabel(@"FINAL CUT PRO / MOTION",11,NSFontWeightSemibold,DYBlue()),
DYLabel(@"大鱼调色",42,NSFontWeightBold,NSColor.whiteColor),
DYLabel(@"从色彩还原到胶片质感,让每一次调色更从容。",15,NSFontWeightRegular,DYSecondary()),
DYLabel([NSString stringWithFormat:@"v%@ · 构建 %@ / 原生 FxPlug 4 · Apple Silicon",info[@"CFBundleShortVersionString"],info[@"CFBundleVersion"]],11,NSFontWeightMedium,DYSecondary())];
NSStackView *hero = DYStack(heroLabels,NSUserInterfaceLayoutOrientationVertical,8);
for (NSTextField *label in heroLabels) { label.alignment = NSTextAlignmentCenter; [label.widthAnchor constraintEqualToAnchor:hero.widthAnchor].active = YES; }
self.statusTitle = DYLabel(@"正在检查插件…",22,NSFontWeightSemibold,NSColor.whiteColor);
self.statusDetail = DYLabel(@"正在检查本机插件登记,随后自动提交注册。",13,NSFontWeightRegular,DYSecondary());
[self.statusDetail.heightAnchor constraintGreaterThanOrEqualToConstant:42].active = YES;
NSStackView *title = DYStack(@[
DYLabel(@"大鱼调色",28,NSFontWeightSemibold,NSColor.whiteColor),
DYLabel([NSString stringWithFormat:@"%@ · %@",info[@"CFBundleShortVersionString"],info[@"CFBundleVersion"]],11,NSFontWeightRegular,DYSecondary())
],NSUserInterfaceLayoutOrientationVertical,4);
NSButton *help = [NSButton buttonWithTitle:@"使用帮助 ↗" target:self action:@selector(showUsage:)];
help.bordered = NO;
help.contentTintColor = DYBlue();
NSStackView *header = DYStack(@[title,help],NSUserInterfaceLayoutOrientationHorizontal,12);
header.distribution = NSStackViewDistributionFill;
header.alignment = NSLayoutAttributeCenterY;
self.accountTitle = DYLabel(@"正在检查…",20,NSFontWeightSemibold,NSColor.whiteColor);
self.accountDetail = DYLabel(@"",13,NSFontWeightRegular,DYSecondary());
self.loginButton = DYButton(@"微信登录",DYBlue(),YES,self,@selector(loginOnlineAccount:));
self.accessButton = DYButton(@"刷新权限",DYBlue(),NO,self,@selector(refreshOnlineAccount:));
self.logoutButton = DYButton(@"退出登录",DYSecondary(),NO,self,@selector(logoutOnlineAccount:));
self.logoutButton.hidden = YES;
NSButton *accountInfo = [NSButton buttonWithTitle:@"权限与预览说明" target:self action:@selector(showAccountInfo:)];
accountInfo.bordered = NO;
accountInfo.contentTintColor = DYSecondary();
DYSurface *accountCard = DYCard(DYBlue(),DYStack(@[
DYHeading(@"person.crop.circle",@"在线 LUT",DYBlue()),self.accountTitle,self.accountDetail,
DYStack(@[self.loginButton,self.accessButton,self.logoutButton],NSUserInterfaceLayoutOrientationHorizontal,8),accountInfo
],NSUserInterfaceLayoutOrientationVertical,12));
self.statusTitle = DYLabel(@"正在检查…",20,NSFontWeightSemibold,NSColor.whiteColor);
self.statusDetail = DYLabel(@"",13,NSFontWeightRegular,DYSecondary());
self.progress = [[[NSProgressIndicator alloc] initWithFrame:NSZeroRect] autorelease];
self.progress.style = NSProgressIndicatorStyleBar; self.progress.indeterminate = YES; self.progress.translatesAutoresizingMaskIntoConstraints = NO;
self.retryButton = DYButton(@"检查中…",DYBlue(),NO,self,@selector(checkRegistration:));
self.keepButton = DYButton(@"查看功能介绍",DYColor(.20,.46,.94),YES,self,@selector(keepIntroduction:));
self.exitDetail = DYLabel(@"应用会保持运行,关闭窗口后继续后台诊断。",15,NSFontWeightSemibold,DYGreen());
[self.exitDetail.heightAnchor constraintGreaterThanOrEqualToConstant:38].active = YES;
NSStackView *registration = DYStack(@[DYHeading(@"puzzlepiece.extension",@"插件连接",DYBlue()),self.statusTitle,self.statusDetail,self.progress,
self.exitDetail,DYStack(@[self.retryButton,self.keepButton],NSUserInterfaceLayoutOrientationHorizontal,8)],NSUserInterfaceLayoutOrientationVertical,13);
self.registrationCard = DYCard(DYBlue(),registration);
self.confirmationButton = DYButton(@"已确认,后台运行",DYGreen(),NO,self,@selector(confirmHost:));
self.progress.style = NSProgressIndicatorStyleBar;
self.progress.indeterminate = YES;
self.progress.translatesAutoresizingMaskIntoConstraints = NO;
self.retryButton = DYButton(@"重新检查",DYBlue(),NO,self,@selector(checkRegistration:));
self.confirmationButton = DYButton(@"已确认,后台运行",DYSecondary(),NO,self,@selector(confirmHost:));
self.confirmationButton.enabled = NO;
self.confirmationButton.toolTip = @"请先在 Final Cut Pro 中应用大鱼调色并确认效果正常,再点击此按钮。";
NSStackView *host = DYStack(@[DYHeading(@"play.rectangle",@"在 Final Cut Pro 中检查",DYGreen()),
DYLabel(@"调色,留在时间线里。",22,NSFontWeightSemibold,NSColor.whiteColor),
DYLabel(@"Final Cut Pro:效果 → 大鱼调色\n将效果应用到片段,确认画面与调节正常。\n打开宿主检查会保留本窗口,等待你确认。",13,NSFontWeightRegular,DYSecondary()),
DYStack(@[DYButton(@"打开 FCP 检查",DYColor(.20,.46,.94),YES,self,@selector(openFinalCut:)),DYButton(@"打开 Motion",DYGreen(),NO,self,@selector(openMotion:))],NSUserInterfaceLayoutOrientationHorizontal,8),
self.confirmationButton],NSUserInterfaceLayoutOrientationVertical,13);
DYSurface *hostCard = DYCard(DYGreen(),host);
NSStackView *top = DYStack(@[self.registrationCard,hostCard],NSUserInterfaceLayoutOrientationHorizontal,14);
[self.registrationCard.heightAnchor constraintEqualToAnchor:hostCard.heightAnchor].active = YES;
self.updateTitle = DYLabel(@"公测更新",20,NSFontWeightSemibold,NSColor.whiteColor);
self.updateDetail = DYLabel(@"启动时自动检查,新版本由你确认安装。",13,NSFontWeightRegular,DYSecondary());
[self.updateDetail.heightAnchor constraintGreaterThanOrEqualToConstant:42].active = YES;
self.confirmationButton.toolTip = @"在宿主中确认效果正常后,可收起此窗口。";
self.registrationCard = DYCard(DYGreen(),DYStack(@[
DYHeading(@"puzzlepiece.extension",@"插件连接",DYGreen()),self.statusTitle,self.statusDetail,self.progress,
DYStack(@[DYButton(@"打开 FCP",DYBlue(),YES,self,@selector(openFinalCut:)),
DYButton(@"打开 Motion",DYSecondary(),NO,self,@selector(openMotion:))],NSUserInterfaceLayoutOrientationHorizontal,8),
DYStack(@[self.retryButton,self.confirmationButton],NSUserInterfaceLayoutOrientationHorizontal,8)
],NSUserInterfaceLayoutOrientationVertical,12));
NSStackView *top = DYStack(@[accountCard,self.registrationCard],NSUserInterfaceLayoutOrientationHorizontal,14);
[accountCard.heightAnchor constraintEqualToAnchor:self.registrationCard.heightAnchor].active = YES;
self.updateTitle = DYLabel(@"检查中…",18,NSFontWeightSemibold,NSColor.whiteColor);
self.updateProgress = [[[NSProgressIndicator alloc] initWithFrame:NSZeroRect] autorelease];
self.updateProgress.style=NSProgressIndicatorStyleBar; self.updateProgress.indeterminate=NO;
self.updateProgress.minValue=0; self.updateProgress.maxValue=1; self.updateProgress.translatesAutoresizingMaskIntoConstraints=NO;
self.updateCheckButton=DYButton(@"检查更新",DYBlue(),NO,self,@selector(checkUpdate:));
self.updateInstallButton=DYButton(@"下载更新",DYColor(.20,.46,.94),YES,self,@selector(installUpdate:));
self.updateInstallButton.enabled=NO;
self.updateCancelButton=DYButton(@"取消下载",DYBlue(),NO,self,@selector(cancelUpdate:)); self.updateCancelButton.hidden=YES;
DYSurface *updateCard=DYCard(DYBlue(),DYStack(@[DYHeading(@"arrow.triangle.2.circlepath",@"持续改进,及时更新",DYBlue()),self.updateTitle,self.updateDetail,self.updateProgress,
DYStack(@[self.updateCheckButton,self.updateInstallButton],NSUserInterfaceLayoutOrientationHorizontal,8),self.updateCancelButton],NSUserInterfaceLayoutOrientationVertical,10));
self.diagnosticToggle=[NSButton checkboxWithTitle:@"参与公测诊断" target:self action:@selector(toggleDiagnostics:)];
self.diagnosticToggle.font=[NSFont systemFontOfSize:16 weight:NSFontWeightSemibold]; self.diagnosticToggle.state=DYBetaEnabled()?NSControlStateValueOn:NSControlStateValueOff;
self.diagnosticDetail=DYLabel(@"诊断准备中…",12,NSFontWeightRegular,DYSecondary());
self.reportID=DYLabel(@"报告标识准备中…",10,NSFontWeightRegular,DYSecondary());self.reportID.selectable=YES;
self.sendSummaryButton=DYButton(@"发送诊断摘要",DYColor(.67,.59,1),NO,self,@selector(sendSummary:));
DYSurface *diagnosticCard=DYCard(DYColor(.67,.59,1),DYStack(@[DYHeading(@"waveform.path.ecg",@"一起完善大鱼调色",DYColor(.67,.59,1)),self.diagnosticToggle,
DYLabel(@"后台自动发送版本、系统环境、阶段耗时、内存及本产品崩溃/卡顿调用栈摘要到 dayu.media;不发送素材、预设或账号。可随时关闭,保留 30 天。",12,NSFontWeightRegular,DYSecondary()),
self.reportID,self.diagnosticDetail,self.sendSummaryButton],NSUserInterfaceLayoutOrientationVertical,10));
NSStackView *beta=DYStack(@[updateCard,diagnosticCard],NSUserInterfaceLayoutOrientationHorizontal,14);
[updateCard.heightAnchor constraintEqualToAnchor:diagnosticCard.heightAnchor].active=YES;
self.accountTitle=DYLabel(@"在线 LUT",22,NSFontWeightSemibold,NSColor.whiteColor);
self.accountDetail=DYLabel(@"在主 APP 登录后,即可在插件 LUT 浏览器中使用在线分类。",13,NSFontWeightRegular,DYSecondary());
self.loginButton=DYButton(@"微信登录",DYBlue(),YES,self,@selector(loginOnlineAccount:));
self.accessButton=DYButton(@"刷新权限",DYBlue(),NO,self,@selector(refreshOnlineAccount:));
self.logoutButton=DYButton(@"退出登录",DYSecondary(),NO,self,@selector(logoutOnlineAccount:));
DYSurface *accountCard=DYCard(DYBlue(),DYStack(@[DYHeading(@"person.crop.circle",@"大鱼账号 · 在线 LUT",DYBlue()),self.accountTitle,self.accountDetail,
DYLabel(@"有效会员,或已购买文章 14421 / 15792,即可浏览和下载全部已发布在线 LUT。\n打开插件的 LUT 浏览器时,会自动发送当前缓存帧缩略图到 dayu.media 并批量加载在线预览;服务器不保存预览帧。点击在线 LUT 后安装到本地分类,可离线使用。",12,NSFontWeightRegular,DYSecondary()),
DYStack(@[self.loginButton,self.accessButton,self.logoutButton],NSUserInterfaceLayoutOrientationHorizontal,8)],NSUserInterfaceLayoutOrientationVertical,12));
NSArray *features = @[
@[@"slider.horizontal.3",@"完整调色",@"精准还原,自由塑造",@"CST 色彩管理、光影与曲线\nHSL、色轮、蜘蛛盘与白平衡",DYBlue()],
@[@"square.grid.2x2",@"LUT 与风格",@"灵感,所见即所得",@"LUT 缩略图浏览与实时预览\n快速收藏,管理常用风格",DYColor(.67,.59,1)],
@[@"film",@"胶片质感",@"让画面更有温度",@"八种印片外观、颗粒与晕光\n辉光、暗角及通道混合器",DYColor(1,.67,.30)],
@[@"square.on.circle",@"局部与叠层",@"每个细节,都有层次",@"独立工具层、逐层蒙版\n画面控件与关键帧跟踪",DYGreen()]];
NSMutableArray *cards = [NSMutableArray array];
for (NSArray *feature in features) [cards addObject:DYCard(feature[4],DYStack(@[DYHeading(feature[0],feature[1],feature[4]),
DYLabel(feature[2],17,NSFontWeightSemibold,NSColor.whiteColor),DYLabel(feature[3],13,NSFontWeightRegular,DYSecondary())],NSUserInterfaceLayoutOrientationVertical,12))];
NSStackView *row1 = DYStack(@[cards[0],cards[1]],NSUserInterfaceLayoutOrientationHorizontal,14);
NSStackView *row2 = DYStack(@[cards[2],cards[3]],NSUserInterfaceLayoutOrientationHorizontal,14);
[((NSView *)cards[0]).heightAnchor constraintEqualToAnchor:((NSView *)cards[1]).heightAnchor].active = YES;
[((NSView *)cards[2]).heightAnchor constraintEqualToAnchor:((NSView *)cards[3]).heightAnchor].active = YES;
NSStackView *content = DYStack(@[website,hero,accountCard,top,beta,DYHeading(@"sparkles",@"一套工具,完成你的色彩表达",NSColor.whiteColor),row1,row2],NSUserInterfaceLayoutOrientationVertical,18);
DYPin(content,document,30);
for (NSView *view in content.arrangedSubviews) [view.widthAnchor constraintEqualToAnchor:content.widthAnchor].active = YES;
self.updateProgress.style = NSProgressIndicatorStyleBar;
self.updateProgress.minValue = 0;
self.updateProgress.maxValue = 1;
self.updateProgress.translatesAutoresizingMaskIntoConstraints = NO;
self.updateProgress.hidden = YES;
self.updateCheckButton = DYButton(@"检查更新",DYBlue(),NO,self,@selector(checkUpdate:));
self.updateInstallButton = DYButton(@"下载更新",DYBlue(),YES,self,@selector(installUpdate:));
self.updateInstallButton.hidden = YES;
self.updateInstallButton.enabled = NO;
self.updateCancelButton = DYButton(@"取消下载",DYSecondary(),NO,self,@selector(cancelUpdate:));
self.updateCancelButton.hidden = YES;
DYSurface *updateCard = DYCard(DYBlue(),DYStack(@[
DYHeading(@"arrow.triangle.2.circlepath",@"版本更新",DYBlue()),self.updateTitle,self.updateProgress,
DYStack(@[self.updateCheckButton,self.updateInstallButton],NSUserInterfaceLayoutOrientationHorizontal,8),self.updateCancelButton
],NSUserInterfaceLayoutOrientationVertical,12));
self.diagnosticToggle = [NSButton checkboxWithTitle:@"参与公测诊断" target:self action:@selector(toggleDiagnostics:)];
self.diagnosticToggle.font = [NSFont systemFontOfSize:13 weight:NSFontWeightMedium];
self.diagnosticToggle.state = DYBetaEnabled()?NSControlStateValueOn:NSControlStateValueOff;
self.diagnosticDetail = DYLabel(@"",12,NSFontWeightRegular,DYSecondary());
self.sendSummaryButton = DYButton(@"发送摘要",DYSecondary(),NO,self,@selector(sendSummary:));
NSButton *privacy = [NSButton buttonWithTitle:@"隐私说明" target:self action:@selector(showDiagnosticsInfo:)];
privacy.bordered = NO;
privacy.contentTintColor = DYSecondary();
DYSurface *diagnosticCard = DYCard(DYSecondary(),DYStack(@[
DYHeading(@"waveform.path.ecg",@"诊断",DYSecondary()),self.diagnosticToggle,self.diagnosticDetail,
DYStack(@[self.sendSummaryButton,privacy],NSUserInterfaceLayoutOrientationHorizontal,8)
],NSUserInterfaceLayoutOrientationVertical,12));
NSStackView *bottom = DYStack(@[updateCard,diagnosticCard],NSUserInterfaceLayoutOrientationHorizontal,14);
[updateCard.heightAnchor constraintEqualToAnchor:diagnosticCard.heightAnchor].active = YES;
NSStackView *content = DYStack(@[header,top,bottom],NSUserInterfaceLayoutOrientationVertical,18);
DYPin(content,document,24);
for (NSView *view in content.arrangedSubviews)
[view.widthAnchor constraintEqualToAnchor:content.widthAnchor].active = YES;
[document.heightAnchor constraintGreaterThanOrEqualToAnchor:scroll.contentView.heightAnchor].active = YES;
}
- (void)showUsage:(id)sender {
NSAlert *alert = [[[NSAlert alloc] init] autorelease];
alert.messageText = @"使用大鱼调色";
alert.informativeText = @"在 Final Cut Pro 的“效果 → 大鱼调色”中,将效果拖到片段。Motion 中可使用原生滤镜。\n\n更新或重新注册插件后,请保存项目并重新打开宿主。关闭主窗口后,应用仍在后台运行,可从菜单栏重新打开或退出。";
[alert addButtonWithTitle:@"好"];
[alert beginSheetModalForWindow:self.window completionHandler:nil];
}
- (void)showAccountInfo:(id)sender {
NSAlert *alert = [[[NSAlert alloc] init] autorelease];
alert.messageText = @"在线 LUT";
alert.informativeText = @"有效会员,或已购买文章 14421 / 15792,可使用全部已发布在线 LUT。请在插件 LUT 浏览器中展开“在线 LUT”。\n\n浏览器会发送当前缓存帧缩略图到 dayu.media 生成预览,服务器仅在内存处理。点击 LUT 后下载到本地分类,可离线使用。";
[alert addButtonWithTitle:@"好"];
[alert beginSheetModalForWindow:self.window completionHandler:nil];
}
- (void)showDiagnosticsInfo:(id)sender {
NSAlert *alert = [[[NSAlert alloc] init] autorelease];
alert.messageText = @"公测诊断与隐私";
alert.informativeText = [NSString stringWithFormat:@"诊断向 dayu.media 发送版本、系统环境、阶段耗时、内存和本产品崩溃/卡顿调用栈摘要,保留30天。素材、预设和账号不在诊断内容中。可随时关闭。\n\n报告标识\n%@",DYBetaStatus()[@"installation_id"]?:@"准备中"];
[alert addButtonWithTitle:@"好"];
[alert beginSheetModalForWindow:self.window completionHandler:nil];
}
- (void)stopAccountLogin {
self.accountGeneration++;[self.accountTask cancel];self.accountTask=nil;
[self.loginTimer invalidate];self.loginTimer=nil;self.loginSessionKey=nil;self.pollingLogin=NO;
@@ -289,15 +320,17 @@ typedef NS_ENUM(NSInteger,DYRegistrationState) { DYChecking, DYRegistering, DYRe
- (void)showOnlineAccount:(NSDictionary *)value {
self.accessButton.enabled=YES;self.logoutButton.enabled=YES;
BOOL allowed=[value[@"allowed"]isKindOfClass:NSNumber.class]&&[value[@"allowed"]boolValue];
self.accountTitle.stringValue=allowed?@"在线 LUT 已开放":@"账号已登录,尚无在线 LUT 权限";
self.accountTitle.stringValue=allowed?@"已开通":@"尚未开通";
self.loginButton.hidden=YES;self.logoutButton.hidden=NO;
NSString *name=[value[@"username"]isKindOfClass:NSString.class]?value[@"username"]:@"大鱼用户";
self.accountDetail.stringValue=[NSString stringWithFormat:@"%@\n%@",name,allowed?@"已识别本机绑定账号。在 FCP 的 LUT 浏览器分类栏中展开“在线 LUT”即可使用。":@"需要有效会员,或购买文章 14421 / 15792。购买后点击刷新权限。"];
self.accountDetail.stringValue=name;
}
- (void)restoreBoundOnlineAccount {
self.loginButton.hidden=NO;self.logoutButton.hidden=YES;
NSUInteger generation=++self.accountGeneration;[self.accountTask cancel];
NSString *device=[DYOnlineLUTClient deviceUUID];
if(!device){self.accountTitle.stringValue=@"无法识别本机";self.accountDetail.stringValue=@"无法读取 macOS 硬件 UUID,请稍后重试。";return;}
self.accountTitle.stringValue=@"正在识别本机已绑定的大鱼账号…";self.accessButton.enabled=NO;
self.accountTitle.stringValue=@"正在识别账号…";self.accessButton.enabled=NO;
self.accountTask=[DYOnlineLUTClient request:@"/device-login" body:@{@"device_uuid":device} authenticated:NO completion:^(NSData *data,NSError *error){
if(generation!=self.accountGeneration)return;self.accountTask=nil;self.accessButton.enabled=YES;
NSDictionary *value=[DYOnlineLUTClient JSON:data error:&error];
@@ -318,8 +351,9 @@ typedef NS_ENUM(NSInteger,DYRegistrationState) { DYChecking, DYRegistering, DYRe
if(sender)[NSUserDefaults.standardUserDefaults setBool:NO forKey:@"DYOnlineLUTAutomaticLoginDisabled"];
NSUInteger generation=++self.accountGeneration;[self.accountTask cancel];
self.logoutButton.enabled=[DYOnlineLUTClient credential]!=nil;
self.logoutButton.hidden=!self.logoutButton.enabled;self.loginButton.hidden=self.logoutButton.enabled;
if(!self.logoutButton.enabled){if(![NSUserDefaults.standardUserDefaults boolForKey:@"DYOnlineLUTAutomaticLoginDisabled"]){[self restoreBoundOnlineAccount];return;}self.accountTitle.stringValue=@"已退出登录";self.accountDetail.stringValue=@"点击刷新权限可识别本机已绑定账号,也可以重新微信登录。";return;}
self.accountTitle.stringValue=@"正在验证在线 LUT 权限…";self.accessButton.enabled=NO;
self.accountTitle.stringValue=@"正在检查权限…";self.accessButton.enabled=NO;
self.accountTask=[DYOnlineLUTClient request:@"/dayu-color/v1/lut/status" body:@{} authenticated:YES completion:^(NSData *data,NSError *error){
if(generation!=self.accountGeneration)return;self.accountTask=nil;self.accessButton.enabled=YES;
NSDictionary *value=[DYOnlineLUTClient JSON:data error:&error];
@@ -421,7 +455,6 @@ typedef NS_ENUM(NSInteger,DYRegistrationState) { DYChecking, DYRegistering, DYRe
[self.updater stopForIntegrityFailure];
[self finishRegistration:NO details:DYIntegrityRecoveryMessage results:results];
self.retryButton.enabled = NO;
self.exitDetail.stringValue = @"此副本的自动更新已停用。请安装原始安装包后重新打开。";
NSString *path = [NSBundle.mainBundle.bundlePath stringByAppendingPathComponent:DYPluginRelativePath];
dispatch_async(DYPluginRegistrationQueue(), ^{
@@ -441,7 +474,7 @@ typedef NS_ENUM(NSInteger,DYRegistrationState) { DYChecking, DYRegistering, DYRe
self.retryButton.enabled = NO; self.retryButton.title = @"检查中…";
self.statusTitle.stringValue = @"正在检查插件…"; self.statusTitle.textColor = NSColor.whiteColor;
self.statusDetail.stringValue = @"正在检查本机插件登记,随后自动提交注册。";
self.progress.indeterminate = YES; [self.progress startAnimation:nil];
self.progress.hidden = NO; self.progress.indeterminate = YES; [self.progress startAnimation:nil];
NSString *path = [NSBundle.mainBundle.bundlePath stringByAppendingPathComponent:DYPluginRelativePath];
self.diagnostics = [NSMutableDictionary dictionaryWithDictionary:@{
@"bundleID":NSBundle.mainBundle.bundleIdentifier ?: @"",@"version":[NSBundle.mainBundle objectForInfoDictionaryKey:@"CFBundleShortVersionString"] ?: @"",
@@ -487,7 +520,7 @@ typedef NS_ENUM(NSInteger,DYRegistrationState) { DYChecking, DYRegistering, DYRe
}
BOOL submissionAccepted = [add[@"code"] intValue] == 0;
NSString *message = registered ?
@"已确认当前插件登记。请在 Final Cut Pro 中实际应用并确认效果正常;若宿主已打开,请保存后重新打开。" :
@"在宿主中应用效果并确认画面正常。" :
@"插件注册尚未完成。请点击“重新检查”,或重新安装后再试。窗口将保持打开。";
NSDictionary *results = @{@"integrity":@"verified",@"before":before,@"submission":add,@"after":after ?: @{},@"registered":@(registered),
@"discoveryVerified":@(registered),@"submissionAccepted":@(submissionAccepted),@"hostVerification":@"awaiting-user-confirmation",
@@ -501,9 +534,9 @@ typedef NS_ENUM(NSInteger,DYRegistrationState) { DYChecking, DYRegistering, DYRe
- (void)finishRegistration:(BOOL)success details:(NSString *)details results:(NSDictionary *)results {
if (self.terminating) return;
self.registrationState = success ? DYReady : DYFailed;
[self.progress stopAnimation:nil]; self.progress.indeterminate = NO; self.progress.doubleValue = success ? 100 : 0;
[self.progress stopAnimation:nil]; self.progress.hidden = YES; self.progress.indeterminate = NO; self.progress.doubleValue = success ? 100 : 0;
self.registrationCard.tint = success ? DYGreen() : DYColor(1,.67,.30); [self.registrationCard setNeedsDisplay:YES];
self.statusTitle.stringValue = success ? @"✓ 插件注册成功" : (self.integrityRejected ? @"安装完整性验证失败" : @"需要重新检查");
self.statusTitle.stringValue = success ? @"已连接" : (self.integrityRejected ? @"安装完整性验证失败" : @"需要重新检查");
self.statusTitle.textColor = success ? DYGreen() : DYColor(1,.75,.4); self.statusDetail.stringValue = details;
self.retryButton.title = @"重新检查"; self.retryButton.enabled = YES;
self.confirmationButton.enabled = success;
@@ -511,11 +544,6 @@ typedef NS_ENUM(NSInteger,DYRegistrationState) { DYChecking, DYRegistering, DYRe
NSAccessibilityPostNotificationWithUserInfo(self.window,NSAccessibilityAnnouncementRequestedNotification,
@{NSAccessibilityAnnouncementKey:self.statusTitle.stringValue,NSAccessibilityPriorityKey:@(NSAccessibilityPriorityHigh)});
DYBetaEvent(@"registration",@{@"status":success?@"registered":@"failed"});
if(success)[self refreshBackgroundState];
else self.exitDetail.stringValue=@"注册尚未完成,应用会保留此窗口以便重试。";
}
- (void)refreshBackgroundState {
if(self.registrationState==DYReady)self.exitDetail.stringValue=DYBetaEnabled()?@"后台诊断已开启。关闭窗口后继续运行,可从菜单栏重新打开或退出。":@"诊断已关闭。应用保持运行,可从菜单栏退出。";
}
- (void)buildStatusItem {
self.statusItem=[NSStatusBar.systemStatusBar statusItemWithLength:NSVariableStatusItemLength];
@@ -538,8 +566,9 @@ typedef NS_ENUM(NSInteger,DYRegistrationState) { DYChecking, DYRegistering, DYRe
BOOL busy=[@[@"checking",@"downloading",@"validating"]containsObject:phase];
BOOL available=[@[@"available",@"ready",@"host_wait",@"installer"]containsObject:phase];
if(![phase isEqual:@"checking"]){self.updateCheckDone=YES;if(available)[self keepIntroduction:nil];}
self.updateTitle.stringValue=[phase isEqual:@"available"]?state[@"message"]:@"公测更新";
self.updateDetail.stringValue=state[@"message"]?:@"";
self.updateTitle.stringValue=state[@"message"]?:@"版本更新";
self.updateInstallButton.hidden=!available;
self.updateProgress.hidden=!busy;
self.updateCheckButton.enabled=!busy && !rejected;
self.updateInstallButton.enabled=[@[@"available",@"ready",@"host_wait",@"installer"]containsObject:phase];
self.updateInstallButton.title=[phase isEqual:@"available"]?@"下载更新":@"安装更新";
@@ -549,7 +578,7 @@ typedef NS_ENUM(NSInteger,DYRegistrationState) { DYChecking, DYRegistering, DYRe
self.updateProgress.indeterminate=[@[@"checking",@"validating"]containsObject:phase];
if(self.updateProgress.indeterminate)[self.updateProgress startAnimation:nil];else [self.updateProgress stopAnimation:nil];
self.updateProgress.doubleValue=[@[@"ready",@"host_wait",@"installer"]containsObject:phase]?1:0;
[self refreshBackgroundState];
}
- (void)refreshUpdateProgress:(NSTimer *)timer {
if([self.updater.state[@"phase"]isEqual:@"downloading"])self.updateProgress.doubleValue=self.updater.downloadFraction;
@@ -562,18 +591,18 @@ typedef NS_ENUM(NSInteger,DYRegistrationState) { DYChecking, DYRegistering, DYRe
- (void)cancelUpdate:(id)sender { [self keepIntroduction:nil];[self.updater cancel]; }
- (void)refreshDiagnostics:(NSNotification *)note {
NSDictionary *state=DYBetaStatus();BOOL enabled=DYBetaEnabled();self.diagnosticToggle.state=enabled?NSControlStateValueOn:NSControlStateValueOff;
self.sendSummaryButton.enabled=enabled; [self refreshBackgroundState];
self.reportID.stringValue=[NSString stringWithFormat:@"报告标识:%@",state[@"installation_id"]?:@"准备中…"];
self.sendSummaryButton.enabled=enabled;
NSNumber *uploaded=state[@"last_upload"];
if(!enabled)self.diagnosticDetail.stringValue=@"诊断已关闭。不会继续上传,待发送摘要已清除。";
if(!enabled)self.diagnosticDetail.stringValue=@"已关闭";
else if(uploaded){NSDateFormatter *format=[[[NSDateFormatter alloc]init]autorelease];format.dateFormat=@"HH:mm:ss";
self.diagnosticDetail.stringValue=[NSString stringWithFormat:@"最近送达 %@ · 待发送 %@ 条",[format stringFromDate:[NSDate dateWithTimeIntervalSince1970:uploaded.doubleValue]],state[@"pending"]?:@0];}
else self.diagnosticDetail.stringValue=@"诊断将在后台发送,离线时暂存并稍后重试。";
self.diagnosticDetail.stringValue=[NSString stringWithFormat:@"最近发送 %@ · 待发送 %@",[format stringFromDate:[NSDate dateWithTimeIntervalSince1970:uploaded.doubleValue]],state[@"pending"]?:@0];}
else self.diagnosticDetail.stringValue=@"等待发送";
}
- (void)toggleDiagnostics:(id)sender { [self keepIntroduction:nil];DYBetaSetEnabled(self.diagnosticToggle.state==NSControlStateValueOn);[self refreshDiagnostics:nil]; }
- (void)sendSummary:(id)sender { [self keepIntroduction:nil];DYBetaSendSummary();self.diagnosticDetail.stringValue=@"已加入后台发送队列,送达后会显示时间。"; }
- (void)sendSummary:(id)sender { [self keepIntroduction:nil];DYBetaSendSummary();self.diagnosticDetail.stringValue=@"已加入发送队列"; }
- (void)keepIntroduction:(id)sender {
[self showMainWindow:sender]; [self refreshBackgroundState];
[self showMainWindow:sender];
}
- (void)confirmHost:(id)sender {
if (self.registrationState != DYReady) return;
+2 -2
查看文件
@@ -17,9 +17,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.22.1</string>
<string>1.22.2</string>
<key>CFBundleVersion</key>
<string>133</string>
<string>137</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>NSHumanReadableCopyright</key>
+20 -18
查看文件
@@ -1,33 +1,35 @@
# 大鱼调色开发交接
更新于 2026-11-11(Asia/Shanghai)。这是新对话的接手入口。历史设计和实现细节按需查阅专项交接,复现和交付证据以对应版本的报告为准。
更新于2026-11-15(Asia/Shanghai)。
## 1.22.1(133)统一 LUT 浏览器:本地测试通过
## 当前结果
用户已明确确认“我已测试可行”。本轮实现:打开浏览器时以当前缓存帧自动批量预载当前页在线效果图;在线和本地共用分类树,在线总分类列出子分类,本地支持二级及更深目录的展开/折叠;点击在线 LUT 校验下载后安装到本地对应分类并应用。首次无缓存帧时自动补载首帧,播放过程中不连续上传,保留“更新预览”。后台在线失败不影响本地操作。
本轮完成仿制图章修复发行,并按用户截图精简主App。唯一正式安装 `/Library/Plug-Ins/FxPlug/大鱼调色.app`,**1.22.2(137)**;主ID `com.dayu.color`,服务 `com.dayu.color.XPC`,团队 `B3W25FX5H5`。Release构建、签名、Apple公证Accepted、票据、Gatekeeper、正式安装与启动完成。正式安装版1037项原生自检通过。[交付](verification/Delivery1.22.2.json) · [自检](verification/InstalledSelfTest1.22.2.json)。
68 项在线/层级/导入合约、40 项本地浏览器回归通过。Release 编译及 1,028 项发布前检查通过。FCP 现场已观察到 1,233 项目录、已加载的合成色卡效果图、原图划像、统一侧栏及本地二级分类;用户随后确认测试可行。详见 [Debug 安装](verification/DebugDelivery1.22.1.json) 与 [现场及用户验收](verification/HostUnifiedLUTDebug1.22.1.json)。Motion 未复测。
实际编译源码 `aa60572b517ba7dd8fbd9d2f0d46bd810cc3e1a6`。发行标签 `v1.22.2-clone-ui-20261115` → `90ca0f4a08ecd8481a2e736f50ede2fa0fd2f1ef`。源码/标签已推送回读;独立HTTPS克隆核对986个跟踪文件及343个构建输入,Git完整性通过,无LFS/子模块。[远端恢复](verification/Recovery1.22.2.json)。
### 当前安装与授权例外
## 功能与验收
用户明确要求“公证卡住了就先 debug 模式本地测试”,因此固定位置 `/Library/Plug-Ins/FxPlug/大鱼调色.app` 当前为 **Debug 配置 1.22.1(133),未公证**,已签名并由 FCP 从此路径运行,不能称为正式公证交付。调试 APP 带 `DYLocalDebugBuild=true` 标记;主 ID、团队、名称保持不变,生成的松散 Debug APP/服务已清理。用户可继续使用这个本地测试版本。
- 仿制图章支持纯色取样随动、独立参考框、手工关键帧与失败原因保存。FCP12.4合成素材完成100帧跟踪;双向首帧失败、冷重开、手工取样、撤销/重做已实测。用户确认“我已手动验收,你给的素材目前测试印章可用”。[FCP验收范围](verification/HostClone1.22.2.json) · [135详细观察](verification/HostClone135.json)。
- 主App收拢为在线LUT、插件连接、版本更新和诊断四张卡片;删除宣传与重复长说明。帮助/权限与预览/隐私按需弹窗,登录后收起重复登录入口,空闲时隐藏进度条和不可用安装按钮。最终137界面四卡完整可见。[界面验证](verification/CompactUI1.22.2.json)。
- 修复Metal重复自动编译,并从Xcode已安装组件定位编译工具;当前Xcode27.2,完整构建经 `tools/deliver.py` 正常入口通过。修正手工取样/旋转随动的检查断言及旧快照生命周期,首次失败与候选记录保留。
旧公证 1.22.0(131)的回滚副本:`/Library/Plug-Ins/FxPlug/.dayu-color-formal-before-debug-8c17779060fb4b7a9b346754e5792616.app`。保留至正式 Release 安装验收完成;届时清理当前临时 Debug APP 和旧回滚副本,不保留额外安装。
## 发行与上线
### 原公证与正式发行
正式包 `/Volumes/备份/大鱼调色/发行包/大鱼调色-1.22.2.pkg`,44,570,793字节,SHA-256 `237baadbdfdfdf77de8529e9e05602f1ddecf5943f44d0fe80ae0a4c3eef5843`。Developer ID Installer签名、公证Accepted、票据与Gatekeeper通过,20项结构/载荷验包通过。本轮未再次运行系统安装器;APP已有独立正式安装与宿主验收。[验包](verification/Package1.22.2.json)。
APP 实际编译源码 `7f833757da243f2a4610c23c36ec278b44c80ad4`,从独立 HTTPS 干净检出构建,921 个跟踪文件逐字节核对。原提交 **`0a1d2d49-1a03-4cd4-acbe-ba37f1fee42d`** 仍待最终结果;等待命令曾异常退出,之后已按同一编号查询,没有重传。132 为未安装、未发行的候选,诊断记录保留。
[Release437](https://dayu.media/git/dayu/dayu-color/releases/tag/v1.22.2-clone-ui-20261115) 附件72已发布,草稿和发布后均完整下载核对字节数与SHA-256。[草稿下载](verification/ReleaseDraftDownload1.22.2.json) · [Release核验](verification/Release1.22.2.json)。
Release APP 与原提交 ZIP 保留在 `/Users/mac/Library/Caches/CodexBuilds/com.dayu.color/`。原 ZIP 摘要与恢复参数见 [恢复记录](verification/UnifiedLUTNotaryResume133.json)。`tools/deliver.py --resume-notary … --submitted-zip-sha256 … --compiled-source …` 会逐文件/符号链接核对已提交 APP,只查询原提交并在 Accepted 后粘附、安装,不重编或重签。恢复安装前需先正常退出当前 Debug 主 APP 与 FCP,保留用户内容;取得交付锁后继续,完成后清理 Debug 及已不再需要的 131 回滚。
[文章15792](https://dayu.media/15792/)已更新1.22.2(137)标题、正文、SEO与主下载,WordPress附件15986。安装包完整下载并核验签名、票据、Gatekeeper及摘要;认证回读、普通与新请求前台均通过。原价格50、会员折扣0、封面/分类/历史六张图片与安装命令保留。[文章](verification/Article1.22.2.json) · [包链接](verification/ArticleLink1.22.2.json)。**主App更新通道本轮未改,仍为此前1.21.8(126)**;没有后端源码部署。
**尚未完成:** 正式 APP 公证/票据、替换 Debug、Release 宿主验收、PKG 和 Git Release 下载核验。无后端部署。站点文章和更新通道仍为 1.21.8(126)。下一步先读取原公证最终状态,获 Accepted 后完成正式交付。源码及本地测试记录按 Git 保存;既有工程 Security 引用排序差异保留,未纳入本轮提交。
临时Apple上传路由已逐字节恢复并重新加载,新连接实测回到原香港代理;Rule模式与HTTP代理保持,私密备份清理。[公证与恢复](verification/NotaryUpload1.22.2.json)。本轮生成APP、旧候选备份、公证ZIP、恢复检出和下载校验副本已清理;已检查范围内仅正式安装匹配主ID。历史发行包、用户LUT及合成验收库保留。[清理范围](verification/Cleanup1.22.2.json)。
131 的既有正式发行见 [此前交接](research/OnlineLUTRelease131Handoff.md)、[发行](verification/Release1.22.0.json)、[恢复](verification/Recovery1.22.0.json)。
## 已知限制与下一步
## 接手与恢复
FCP12.4的“最后可信帧”自动跳转未通过。136/137均在输入与时间线3.960秒、接口存在时返回NO且无错误;137虽延后至参数动作结束仍失败。界面给出精确片段时间供手动定位,发布说明已披露。用户验收图章修复本身,按此范围完成发行。后续若继续修复,应从真实宿主的时间转换及命令调用行为排查,不能以原生模拟检查代替宿主成功。Motion、变速片段及原始用户素材本轮未复测。
- 工程根:`/Volumes/备份/大鱼调色/大鱼调色`;主分支 `main`,远程 `https://dayu.media/git/dayu/dayu-color.git`。
- 正式编译和公证安装:`tools/deliver.py`;宿主验收后输入 `complete`。正式验收 APP 制包:`Packaging/build_pkg.py`,Release 发布:`Packaging/publish_release.py`。
- 后端:`Backend/` 为源码备份,本机专项工程 `/Users/mac/Downloads/dayumedia/dayu-color-beta`;NAS 仅生产部署,不在其上编译。生产相对路径与校验见专项记录及 `Backend/deploy_online_luts.py`。
- 继续测试时先在主 APP 自动识别硬件绑定账号,未绑定时微信登录,再在统一分类栏选择“在线 LUT”;打开时自动预载当前缓存帧,核对真实目录、分类安装和云端图像,新机 OAuth 首次扫码仍需真实用户确认,不能用硬件恢复验收代替。
- [恢复说明](RECOVERY.md) · [此前版本交接归档](research/HandoffHistory-20261111-before-online-release.md)。凭据、私钥和账号令牌留在钥匙串,不进入仓库。
既有Xcode工程引用排序差异仍留工作区,未混入本轮提交。图章合成验收资料在固定构建缓存 `fcp-qa/clone-1.22.2/` 及 `fcp-qa/大鱼调色_验收.fcpbundle`,保留供后续检查。
## 工程入口
工程 `/Volumes/备份/大鱼调色/大鱼调色`,分支 `main`,远程 `https://dayu.media/git/dayu/dayu-color.git`。交付 `tools/deliver.py`,制包 `Packaging/build_pkg.py`,Release `Packaging/publish_release.py`。源码与记录使用共享仓库锁提交推送;安装包仅存Release附件。[恢复说明](RECOVERY.md) · [此前交接归档](research/HandoffHistory-20261114-before-clone-release.md)。凭据、代理配置、签名私钥保留原安全位置。