feat: initial Cutdex application
Add the Flutter video editing application with project management, media import, timeline editing, preview, AI assistance, diagnostics and settings. Include shared UI and native host packages, platform runners, application tests and release tooling. Provide usage and contribution guides, the MIT license and third-party notices. Exclude local credentials, build outputs and validation data.
This commit is contained in:
commit
27e77fff39
718 files changed
+183958
No files matched your search
@@ -0,0 +1,27 @@
|
||||
import 'package:cutdex_sdk/project.dart';
|
||||
import 'package:freezed_annotation/freezed_annotation.dart';
|
||||
|
||||
part 'agent_media_attachments.freezed.dart';
|
||||
part 'agent_media_attachments.g.dart';
|
||||
|
||||
/// A project-media reference shown in chat and resolved through editor tools.
|
||||
@freezed
|
||||
abstract class AgentMediaAttachment with _$AgentMediaAttachment {
|
||||
const AgentMediaAttachment._();
|
||||
|
||||
const factory AgentMediaAttachment({
|
||||
required String id,
|
||||
required String name,
|
||||
required String kind,
|
||||
}) = _AgentMediaAttachment;
|
||||
|
||||
factory AgentMediaAttachment.fromAsset(AssetDocument asset) =>
|
||||
AgentMediaAttachment(
|
||||
id: asset.id,
|
||||
name: asset.name,
|
||||
kind: asset.metadata['kind'] as String? ?? 'file',
|
||||
);
|
||||
|
||||
factory AgentMediaAttachment.fromJson(Map<String, Object?> json) =>
|
||||
_$AgentMediaAttachmentFromJson(json);
|
||||
}
|
||||
Reference in new issue
Block a user