democut 0.6.35 → 0.6.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/cli.js +1963 -473
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -6916,7 +6916,7 @@ import { realpathSync } from "fs";
6916
6916
  import { fileURLToPath } from "url";
6917
6917
 
6918
6918
  // src/version.ts
6919
- var VERSION = "0.6.35";
6919
+ var VERSION = "0.6.37";
6920
6920
 
6921
6921
  // src/device-flow.ts
6922
6922
  var DeviceFlowError = class extends Error {
@@ -16159,6 +16159,18 @@ var GENERATED_TOOLS = [
16159
16159
  "updated_at": {
16160
16160
  "title": "Updated At",
16161
16161
  "type": "string"
16162
+ },
16163
+ "thumbnail_url": {
16164
+ "anyOf": [
16165
+ {
16166
+ "type": "string"
16167
+ },
16168
+ {
16169
+ "type": "null"
16170
+ }
16171
+ ],
16172
+ "default": null,
16173
+ "title": "Thumbnail Url"
16162
16174
  }
16163
16175
  },
16164
16176
  "required": [
@@ -16379,6 +16391,18 @@ var GENERATED_TOOLS = [
16379
16391
  "updated_at": {
16380
16392
  "title": "Updated At",
16381
16393
  "type": "string"
16394
+ },
16395
+ "thumbnail_url": {
16396
+ "anyOf": [
16397
+ {
16398
+ "type": "string"
16399
+ },
16400
+ {
16401
+ "type": "null"
16402
+ }
16403
+ ],
16404
+ "default": null,
16405
+ "title": "Thumbnail Url"
16382
16406
  }
16383
16407
  },
16384
16408
  "required": [
@@ -16759,6 +16783,18 @@ var GENERATED_TOOLS = [
16759
16783
  "updated_at": {
16760
16784
  "title": "Updated At",
16761
16785
  "type": "string"
16786
+ },
16787
+ "thumbnail_url": {
16788
+ "anyOf": [
16789
+ {
16790
+ "type": "string"
16791
+ },
16792
+ {
16793
+ "type": "null"
16794
+ }
16795
+ ],
16796
+ "default": null,
16797
+ "title": "Thumbnail Url"
16762
16798
  }
16763
16799
  },
16764
16800
  "required": [
@@ -17240,6 +17276,18 @@ var GENERATED_TOOLS = [
17240
17276
  "updated_at": {
17241
17277
  "title": "Updated At",
17242
17278
  "type": "string"
17279
+ },
17280
+ "thumbnail_url": {
17281
+ "anyOf": [
17282
+ {
17283
+ "type": "string"
17284
+ },
17285
+ {
17286
+ "type": "null"
17287
+ }
17288
+ ],
17289
+ "default": null,
17290
+ "title": "Thumbnail Url"
17243
17291
  }
17244
17292
  },
17245
17293
  "required": [
@@ -27444,109 +27492,1766 @@ var GENERATED_TOOLS = [
27444
27492
  ],
27445
27493
  "title": "QuoteRow",
27446
27494
  "type": "object"
27447
- }
27448
- },
27449
- "additionalProperties": false,
27450
- "properties": {
27451
- "job_id": {
27452
- "title": "Job Id",
27453
- "type": "string"
27495
+ }
27496
+ },
27497
+ "additionalProperties": false,
27498
+ "properties": {
27499
+ "job_id": {
27500
+ "title": "Job Id",
27501
+ "type": "string"
27502
+ },
27503
+ "quote": {
27504
+ "anyOf": [
27505
+ {
27506
+ "$ref": "#/$defs/Quote"
27507
+ },
27508
+ {
27509
+ "type": "null"
27510
+ }
27511
+ ],
27512
+ "default": null
27513
+ },
27514
+ "next_calls": {
27515
+ "items": {
27516
+ "type": "string"
27517
+ },
27518
+ "title": "Next Calls",
27519
+ "type": "array"
27520
+ }
27521
+ },
27522
+ "required": [
27523
+ "job_id"
27524
+ ],
27525
+ "title": "JobAccepted",
27526
+ "type": "object"
27527
+ },
27528
+ "annotations": {
27529
+ "readOnlyHint": false,
27530
+ "destructiveHint": false,
27531
+ "idempotentHint": false,
27532
+ "openWorldHint": false
27533
+ }
27534
+ },
27535
+ {
27536
+ "name": "democut_list_backgrounds",
27537
+ "description": "PIP \uBC30\uACBD \uCE74\uD0C8\uB85C\uADF8(origin=background \uC790\uC0B0) + \uC62C\uB9B0 \uBC30\uACBD.",
27538
+ "inputSchema": {
27539
+ "type": "object",
27540
+ "properties": {},
27541
+ "required": [],
27542
+ "additionalProperties": false
27543
+ },
27544
+ "outputSchema": {
27545
+ "$defs": {
27546
+ "AssetView": {
27547
+ "additionalProperties": false,
27548
+ "properties": {
27549
+ "id": {
27550
+ "title": "Id",
27551
+ "type": "string"
27552
+ },
27553
+ "workspace_id": {
27554
+ "title": "Workspace Id",
27555
+ "type": "string"
27556
+ },
27557
+ "project_slug": {
27558
+ "anyOf": [
27559
+ {
27560
+ "type": "string"
27561
+ },
27562
+ {
27563
+ "type": "null"
27564
+ }
27565
+ ],
27566
+ "default": null,
27567
+ "title": "Project Slug"
27568
+ },
27569
+ "kind": {
27570
+ "enum": [
27571
+ "image",
27572
+ "video",
27573
+ "audio",
27574
+ "subtitle",
27575
+ "code",
27576
+ "archive"
27577
+ ],
27578
+ "title": "Kind",
27579
+ "type": "string"
27580
+ },
27581
+ "origin": {
27582
+ "description": "upload|url_fetch|render|image_gen|export|pip|from_video|thumbnail|idle_motion|background|legacy_import (\uC77D\uAE30 \uAD00\uC6A9)",
27583
+ "title": "Origin",
27584
+ "type": "string"
27585
+ },
27586
+ "mime": {
27587
+ "title": "Mime",
27588
+ "type": "string"
27589
+ },
27590
+ "bytes": {
27591
+ "minimum": 0,
27592
+ "title": "Bytes",
27593
+ "type": "integer"
27594
+ },
27595
+ "sha256": {
27596
+ "anyOf": [
27597
+ {
27598
+ "type": "string"
27599
+ },
27600
+ {
27601
+ "type": "null"
27602
+ }
27603
+ ],
27604
+ "default": null,
27605
+ "title": "Sha256"
27606
+ },
27607
+ "meta": {
27608
+ "additionalProperties": true,
27609
+ "title": "Meta",
27610
+ "type": "object"
27611
+ },
27612
+ "state": {
27613
+ "enum": [
27614
+ "pending",
27615
+ "ready",
27616
+ "deleted"
27617
+ ],
27618
+ "title": "State",
27619
+ "type": "string"
27620
+ },
27621
+ "created_by": {
27622
+ "title": "Created By",
27623
+ "type": "string"
27624
+ },
27625
+ "created_at": {
27626
+ "title": "Created At",
27627
+ "type": "string"
27628
+ },
27629
+ "download_url": {
27630
+ "anyOf": [
27631
+ {
27632
+ "type": "string"
27633
+ },
27634
+ {
27635
+ "type": "null"
27636
+ }
27637
+ ],
27638
+ "default": null,
27639
+ "title": "Download Url"
27640
+ }
27641
+ },
27642
+ "required": [
27643
+ "id",
27644
+ "workspace_id",
27645
+ "kind",
27646
+ "origin",
27647
+ "mime",
27648
+ "bytes",
27649
+ "state",
27650
+ "created_by",
27651
+ "created_at"
27652
+ ],
27653
+ "title": "AssetView",
27654
+ "type": "object"
27655
+ }
27656
+ },
27657
+ "additionalProperties": false,
27658
+ "properties": {
27659
+ "backgrounds": {
27660
+ "items": {
27661
+ "$ref": "#/$defs/AssetView"
27662
+ },
27663
+ "title": "Backgrounds",
27664
+ "type": "array"
27665
+ }
27666
+ },
27667
+ "required": [
27668
+ "backgrounds"
27669
+ ],
27670
+ "title": "BackgroundListResponse",
27671
+ "type": "object"
27672
+ },
27673
+ "annotations": {
27674
+ "readOnlyHint": true,
27675
+ "destructiveHint": false,
27676
+ "idempotentHint": true,
27677
+ "openWorldHint": false
27678
+ }
27679
+ },
27680
+ {
27681
+ "name": "democut_get_storyboard",
27682
+ "description": "\uC2A4\uD1A0\uB9AC\uBCF4\uB4DC \u2014 rev\xB7\uC21C\uC11C\xB7\uCEF7(\uD30C\uC0DD \uD544\uB4DC)\xB7\uB300\uAE30 \uC81C\uC548\xB7\uC0AC\uC6A9\uB7C9. If-Match \uC5D0 \uC4F8 rev \uAC00 \uC5EC\uAE30 \uC788\uB2E4. \uB2E4\uC74C \uD638\uCD9C: democut_add_cut, democut_put_cut_draft, democut_reorder_cuts.",
27683
+ "inputSchema": {
27684
+ "type": "object",
27685
+ "properties": {
27686
+ "slug": {
27687
+ "type": "string",
27688
+ "description": "\uD504\uB85C\uC81D\uD2B8 \uC2AC\uB7EC\uADF8(list_projects)"
27689
+ }
27690
+ },
27691
+ "required": [
27692
+ "slug"
27693
+ ],
27694
+ "additionalProperties": false
27695
+ },
27696
+ "outputSchema": {
27697
+ "$defs": {
27698
+ "AddCutOp": {
27699
+ "additionalProperties": false,
27700
+ "properties": {
27701
+ "op": {
27702
+ "const": "add_cut",
27703
+ "default": "add_cut",
27704
+ "title": "Op",
27705
+ "type": "string"
27706
+ },
27707
+ "after": {
27708
+ "anyOf": [
27709
+ {
27710
+ "type": "string"
27711
+ },
27712
+ {
27713
+ "type": "null"
27714
+ }
27715
+ ],
27716
+ "default": null,
27717
+ "title": "After"
27718
+ },
27719
+ "mode": {
27720
+ "enum": [
27721
+ "motion_graphic",
27722
+ "ai_video",
27723
+ "youtube_clip"
27724
+ ],
27725
+ "title": "Mode",
27726
+ "type": "string"
27727
+ },
27728
+ "draft_spec": {
27729
+ "additionalProperties": true,
27730
+ "title": "Draft Spec",
27731
+ "type": "object"
27732
+ },
27733
+ "image_asset_id": {
27734
+ "anyOf": [
27735
+ {
27736
+ "type": "string"
27737
+ },
27738
+ {
27739
+ "type": "null"
27740
+ }
27741
+ ],
27742
+ "default": null,
27743
+ "title": "Image Asset Id"
27744
+ },
27745
+ "title": {
27746
+ "default": "",
27747
+ "title": "Title",
27748
+ "type": "string"
27749
+ }
27750
+ },
27751
+ "required": [
27752
+ "mode",
27753
+ "draft_spec"
27754
+ ],
27755
+ "title": "AddCutOp",
27756
+ "type": "object"
27757
+ },
27758
+ "AiVideoSpec": {
27759
+ "additionalProperties": false,
27760
+ "properties": {
27761
+ "dialogue": {
27762
+ "items": {
27763
+ "$ref": "#/$defs/DialogueLine"
27764
+ },
27765
+ "title": "Dialogue",
27766
+ "type": "array"
27767
+ },
27768
+ "narration_asset_id": {
27769
+ "anyOf": [
27770
+ {
27771
+ "minLength": 1,
27772
+ "type": "string"
27773
+ },
27774
+ {
27775
+ "type": "null"
27776
+ }
27777
+ ],
27778
+ "default": null,
27779
+ "description": "BYO: \uCEF7 \uC804\uCCB4 \uB098\uB808\uC774\uC158 wav \uD55C \uAC1C(\uB300\uC0AC\uAC00 \uC788\uC5B4\uC57C \uD55C\uB2E4 \u2014 \uC790\uB9C9\xB7\uD0C0\uC774\uBC0D\uC758 \uADFC\uAC70). \uC904\uBCC4 audio_asset_id \uC640 \uB3D9\uC2DC \uC9C0\uC815 422",
27780
+ "title": "Narration Asset Id"
27781
+ },
27782
+ "subtitles": {
27783
+ "default": false,
27784
+ "title": "Subtitles",
27785
+ "type": "boolean"
27786
+ },
27787
+ "host": {
27788
+ "anyOf": [
27789
+ {
27790
+ "type": "string"
27791
+ },
27792
+ {
27793
+ "type": "null"
27794
+ }
27795
+ ],
27796
+ "default": null,
27797
+ "description": "\uC9C4\uD589 \u2014 \uD5C8\uC6A9 \uC9D1\uD569\uC740 \uCE74\uD0C8\uB85C\uADF8(\uBC29\uC2DD\uBCC4). \uBAA8\uC158\uADF8\uB798\uD53D\uC740 \uD544\uC218",
27798
+ "title": "Host"
27799
+ },
27800
+ "voice_id": {
27801
+ "anyOf": [
27802
+ {
27803
+ "minLength": 1,
27804
+ "type": "string"
27805
+ },
27806
+ {
27807
+ "type": "null"
27808
+ }
27809
+ ],
27810
+ "default": null,
27811
+ "description": "host\u2208{voice,avatar} \uC774\uACE0 BYO \uC624\uB514\uC624\uAC00 \uC5C6\uC744 \uB54C \uD544\uC218",
27812
+ "title": "Voice Id"
27813
+ },
27814
+ "pip": {
27815
+ "anyOf": [
27816
+ {
27817
+ "$ref": "#/$defs/PipSpec"
27818
+ },
27819
+ {
27820
+ "type": "null"
27821
+ }
27822
+ ],
27823
+ "default": null,
27824
+ "description": "host=avatar \uC77C \uB54C \uD544\uC218"
27825
+ },
27826
+ "image_asset_id": {
27827
+ "anyOf": [
27828
+ {
27829
+ "minLength": 1,
27830
+ "type": "string"
27831
+ },
27832
+ {
27833
+ "type": "null"
27834
+ }
27835
+ ],
27836
+ "default": null,
27837
+ "description": "\uCEF7 \uC774\uBBF8\uC9C0\uB97C spec \uC5D0\uC11C \uC9C1\uC811 \uC9C0\uC815(\uC5D0\uC774\uC804\uD2B8 \uC6D0\uC0F7\uC6A9)",
27838
+ "title": "Image Asset Id"
27839
+ },
27840
+ "duration_s": {
27841
+ "default": 5,
27842
+ "maximum": 15,
27843
+ "minimum": 4,
27844
+ "title": "Duration S",
27845
+ "type": "number"
27846
+ },
27847
+ "mode": {
27848
+ "const": "ai_video",
27849
+ "default": "ai_video",
27850
+ "title": "Mode",
27851
+ "type": "string"
27852
+ },
27853
+ "image_prompt": {
27854
+ "maxLength": 4e3,
27855
+ "minLength": 1,
27856
+ "title": "Image Prompt",
27857
+ "type": "string"
27858
+ },
27859
+ "provider": {
27860
+ "anyOf": [
27861
+ {
27862
+ "maxLength": 32,
27863
+ "minLength": 1,
27864
+ "type": "string"
27865
+ },
27866
+ {
27867
+ "type": "null"
27868
+ }
27869
+ ],
27870
+ "default": null,
27871
+ "description": "\uC601\uC0C1 \uC0DD\uC131 \uACF5\uAE09\uC790(\uC608: minimax). \uBE44\uC6B0\uBA74 \uC11C\uBC84 \uAE30\uBCF8\uAC12 \u2014 \uC4F8 \uC218 \uC788\uB294 \uBAA9\uB85D\uC740 GET \u2026/options \uC758 videogen_providers",
27872
+ "title": "Provider"
27873
+ },
27874
+ "seed": {
27875
+ "anyOf": [
27876
+ {
27877
+ "minimum": 0,
27878
+ "type": "integer"
27879
+ },
27880
+ {
27881
+ "type": "null"
27882
+ }
27883
+ ],
27884
+ "default": null,
27885
+ "title": "Seed"
27886
+ },
27887
+ "image": {
27888
+ "anyOf": [
27889
+ {
27890
+ "discriminator": {
27891
+ "mapping": {
27892
+ "asset": "#/$defs/AssetImageRef",
27893
+ "from_cut": "#/$defs/FromCutImageRef",
27894
+ "from_version": "#/$defs/FromVersionImageRef"
27895
+ },
27896
+ "propertyName": "kind"
27897
+ },
27898
+ "oneOf": [
27899
+ {
27900
+ "$ref": "#/$defs/AssetImageRef"
27901
+ },
27902
+ {
27903
+ "$ref": "#/$defs/FromCutImageRef"
27904
+ },
27905
+ {
27906
+ "$ref": "#/$defs/FromVersionImageRef"
27907
+ }
27908
+ ]
27909
+ },
27910
+ {
27911
+ "type": "null"
27912
+ }
27913
+ ],
27914
+ "default": null,
27915
+ "description": "\uCCAB \uD504\uB808\uC784. \uC5C6\uC73C\uBA74 image_asset_id \u2192 \uADF8\uAC83\uB3C4 \uC5C6\uC73C\uBA74 t2v(\uD14D\uC2A4\uD2B8\uB9CC) \u2014 \uACAC\uC801\uC774 notes \uB85C \uC54C\uB824\uC900\uB2E4",
27916
+ "title": "Image"
27917
+ },
27918
+ "end_image": {
27919
+ "anyOf": [
27920
+ {
27921
+ "discriminator": {
27922
+ "mapping": {
27923
+ "asset": "#/$defs/AssetImageRef",
27924
+ "from_cut": "#/$defs/FromCutImageRef",
27925
+ "from_version": "#/$defs/FromVersionImageRef"
27926
+ },
27927
+ "propertyName": "kind"
27928
+ },
27929
+ "oneOf": [
27930
+ {
27931
+ "$ref": "#/$defs/AssetImageRef"
27932
+ },
27933
+ {
27934
+ "$ref": "#/$defs/FromCutImageRef"
27935
+ },
27936
+ {
27937
+ "$ref": "#/$defs/FromVersionImageRef"
27938
+ }
27939
+ ]
27940
+ },
27941
+ {
27942
+ "type": "null"
27943
+ }
27944
+ ],
27945
+ "default": null,
27946
+ "title": "End Image"
27947
+ }
27948
+ },
27949
+ "required": [
27950
+ "image_prompt"
27951
+ ],
27952
+ "title": "AiVideoSpec",
27953
+ "type": "object"
27954
+ },
27955
+ "AssetImageRef": {
27956
+ "additionalProperties": false,
27957
+ "properties": {
27958
+ "kind": {
27959
+ "const": "asset",
27960
+ "default": "asset",
27961
+ "title": "Kind",
27962
+ "type": "string"
27963
+ },
27964
+ "asset_id": {
27965
+ "minLength": 1,
27966
+ "title": "Asset Id",
27967
+ "type": "string"
27968
+ }
27969
+ },
27970
+ "required": [
27971
+ "asset_id"
27972
+ ],
27973
+ "title": "AssetImageRef",
27974
+ "type": "object"
27975
+ },
27976
+ "CanvasPos": {
27977
+ "additionalProperties": false,
27978
+ "properties": {
27979
+ "x": {
27980
+ "default": 0,
27981
+ "title": "X",
27982
+ "type": "number"
27983
+ },
27984
+ "y": {
27985
+ "default": 0,
27986
+ "title": "Y",
27987
+ "type": "number"
27988
+ }
27989
+ },
27990
+ "title": "CanvasPos",
27991
+ "type": "object"
27992
+ },
27993
+ "CutEdit": {
27994
+ "additionalProperties": false,
27995
+ "properties": {
27996
+ "trim_in_ms": {
27997
+ "default": 0,
27998
+ "minimum": 0,
27999
+ "title": "Trim In Ms",
28000
+ "type": "integer"
28001
+ },
28002
+ "trim_out_ms": {
28003
+ "anyOf": [
28004
+ {
28005
+ "minimum": 1,
28006
+ "type": "integer"
28007
+ },
28008
+ {
28009
+ "type": "null"
28010
+ }
28011
+ ],
28012
+ "default": null,
28013
+ "title": "Trim Out Ms"
28014
+ },
28015
+ "silence_removal": {
28016
+ "default": false,
28017
+ "title": "Silence Removal",
28018
+ "type": "boolean"
28019
+ },
28020
+ "silence_threshold_ms": {
28021
+ "default": 800,
28022
+ "maximum": 5e3,
28023
+ "minimum": 100,
28024
+ "title": "Silence Threshold Ms",
28025
+ "type": "integer"
28026
+ }
28027
+ },
28028
+ "title": "CutEdit",
28029
+ "type": "object"
28030
+ },
28031
+ "CutImageView": {
28032
+ "additionalProperties": false,
28033
+ "properties": {
28034
+ "id": {
28035
+ "title": "Id",
28036
+ "type": "string"
28037
+ },
28038
+ "seq": {
28039
+ "title": "Seq",
28040
+ "type": "integer"
28041
+ },
28042
+ "asset_id": {
28043
+ "title": "Asset Id",
28044
+ "type": "string"
28045
+ },
28046
+ "source": {
28047
+ "enum": [
28048
+ "upload",
28049
+ "image_gen",
28050
+ "from_video"
28051
+ ],
28052
+ "title": "Source",
28053
+ "type": "string"
28054
+ },
28055
+ "from_version": {
28056
+ "anyOf": [
28057
+ {
28058
+ "type": "integer"
28059
+ },
28060
+ {
28061
+ "type": "null"
28062
+ }
28063
+ ],
28064
+ "default": null,
28065
+ "title": "From Version"
28066
+ },
28067
+ "url": {
28068
+ "anyOf": [
28069
+ {
28070
+ "type": "string"
28071
+ },
28072
+ {
28073
+ "type": "null"
28074
+ }
28075
+ ],
28076
+ "default": null,
28077
+ "description": "\uC11C\uBA85 URL",
28078
+ "title": "Url"
28079
+ }
28080
+ },
28081
+ "required": [
28082
+ "id",
28083
+ "seq",
28084
+ "asset_id",
28085
+ "source"
28086
+ ],
28087
+ "title": "CutImageView",
28088
+ "type": "object"
28089
+ },
28090
+ "CutVersionView": {
28091
+ "additionalProperties": false,
28092
+ "properties": {
28093
+ "version": {
28094
+ "minimum": 1,
28095
+ "title": "Version",
28096
+ "type": "integer"
28097
+ },
28098
+ "origin": {
28099
+ "enum": [
28100
+ "render",
28101
+ "import"
28102
+ ],
28103
+ "title": "Origin",
28104
+ "type": "string"
28105
+ },
28106
+ "spec": {
28107
+ "additionalProperties": true,
28108
+ "description": "\uBC15\uC81C\uB41C spec(\uD574\uC11D\uB41C asset_id \uD3EC\uD568). origin=render \uBA74 \uC2A4\uD0A4\uB9C8\uB294 CutSpec, origin=import \uBA74 **\uBE48 \uAC1D\uCCB4**\uB2E4 \u2014 \uADF8 \uC601\uC0C1\uC740 \uC6B0\uB9AC\uAC00 \uB9CC\uB4E4\uC9C0 \uC54A\uC558\uC73C\uBBC0\uB85C \uB9CC\uB4E0 \uBC29\uBC95\uC774 \uC5C6\uB2E4. \uBC29\uC2DD\uC744 \uC54C\uC544\uC57C \uD558\uBA74 origin \uC744 \uBCF4\uB77C(mode \uC5D0 import \uAC12\uC740 \uC5C6\uB2E4).",
28109
+ "title": "Spec",
28110
+ "type": "object"
28111
+ },
28112
+ "based_on": {
28113
+ "anyOf": [
28114
+ {
28115
+ "type": "integer"
28116
+ },
28117
+ {
28118
+ "type": "null"
28119
+ }
28120
+ ],
28121
+ "default": null,
28122
+ "title": "Based On"
28123
+ },
28124
+ "note": {
28125
+ "anyOf": [
28126
+ {
28127
+ "type": "string"
28128
+ },
28129
+ {
28130
+ "type": "null"
28131
+ }
28132
+ ],
28133
+ "default": null,
28134
+ "title": "Note"
28135
+ },
28136
+ "job_id": {
28137
+ "title": "Job Id",
28138
+ "type": "string"
28139
+ },
28140
+ "duration_ms": {
28141
+ "minimum": 0,
28142
+ "title": "Duration Ms",
28143
+ "type": "integer"
28144
+ },
28145
+ "width": {
28146
+ "title": "Width",
28147
+ "type": "integer"
28148
+ },
28149
+ "height": {
28150
+ "title": "Height",
28151
+ "type": "integer"
28152
+ },
28153
+ "fps": {
28154
+ "title": "Fps",
28155
+ "type": "number"
28156
+ },
28157
+ "timing": {
28158
+ "$ref": "#/$defs/Timing"
28159
+ },
28160
+ "quote": {
28161
+ "$ref": "#/$defs/Quote"
28162
+ },
28163
+ "mock": {
28164
+ "default": false,
28165
+ "title": "Mock",
28166
+ "type": "boolean"
28167
+ },
28168
+ "created_by": {
28169
+ "title": "Created By",
28170
+ "type": "string"
28171
+ },
28172
+ "created_at": {
28173
+ "title": "Created At",
28174
+ "type": "string"
28175
+ },
28176
+ "download": {
28177
+ "$ref": "#/$defs/DownloadUrls"
28178
+ }
28179
+ },
28180
+ "required": [
28181
+ "version",
28182
+ "origin",
28183
+ "spec",
28184
+ "job_id",
28185
+ "duration_ms",
28186
+ "width",
28187
+ "height",
28188
+ "fps",
28189
+ "timing",
28190
+ "quote",
28191
+ "created_by",
28192
+ "created_at",
28193
+ "download"
28194
+ ],
28195
+ "title": "CutVersionView",
28196
+ "type": "object"
28197
+ },
28198
+ "CutView": {
28199
+ "additionalProperties": false,
28200
+ "properties": {
28201
+ "id": {
28202
+ "title": "Id",
28203
+ "type": "string"
28204
+ },
28205
+ "project_slug": {
28206
+ "title": "Project Slug",
28207
+ "type": "string"
28208
+ },
28209
+ "mode": {
28210
+ "enum": [
28211
+ "motion_graphic",
28212
+ "ai_video",
28213
+ "youtube_clip"
28214
+ ],
28215
+ "title": "Mode",
28216
+ "type": "string"
28217
+ },
28218
+ "title": {
28219
+ "default": "",
28220
+ "title": "Title",
28221
+ "type": "string"
28222
+ },
28223
+ "position": {
28224
+ "anyOf": [
28225
+ {
28226
+ "type": "number"
28227
+ },
28228
+ {
28229
+ "type": "null"
28230
+ }
28231
+ ],
28232
+ "default": null,
28233
+ "description": "\uC5F0\uACB0 \uC21C\uC11C. None = \uCE94\uBC84\uC2A4\uC5D0\uC11C \uB5BC\uC5B4 \uB454 \uCEF7",
28234
+ "title": "Position"
28235
+ },
28236
+ "canvas": {
28237
+ "$ref": "#/$defs/CanvasPos"
28238
+ },
28239
+ "draft_spec": {
28240
+ "discriminator": {
28241
+ "mapping": {
28242
+ "ai_video": "#/$defs/AiVideoSpec",
28243
+ "motion_graphic": "#/$defs/MotionGraphicSpec",
28244
+ "youtube_clip": "#/$defs/YoutubeClipSpec"
28245
+ },
28246
+ "propertyName": "mode"
28247
+ },
28248
+ "oneOf": [
28249
+ {
28250
+ "$ref": "#/$defs/MotionGraphicSpec"
28251
+ },
28252
+ {
28253
+ "$ref": "#/$defs/AiVideoSpec"
28254
+ },
28255
+ {
28256
+ "$ref": "#/$defs/YoutubeClipSpec"
28257
+ }
28258
+ ],
28259
+ "title": "Draft Spec"
28260
+ },
28261
+ "edit": {
28262
+ "$ref": "#/$defs/CutEdit"
28263
+ },
28264
+ "current_version": {
28265
+ "anyOf": [
28266
+ {
28267
+ "type": "integer"
28268
+ },
28269
+ {
28270
+ "type": "null"
28271
+ }
28272
+ ],
28273
+ "default": null,
28274
+ "description": "None = \uACC4\uD68D \uCEF7(R11)",
28275
+ "title": "Current Version"
28276
+ },
28277
+ "current_image_id": {
28278
+ "anyOf": [
28279
+ {
28280
+ "type": "string"
28281
+ },
28282
+ {
28283
+ "type": "null"
28284
+ }
28285
+ ],
28286
+ "default": null,
28287
+ "title": "Current Image Id"
28288
+ },
28289
+ "images": {
28290
+ "items": {
28291
+ "$ref": "#/$defs/CutImageView"
28292
+ },
28293
+ "title": "Images",
28294
+ "type": "array"
28295
+ },
28296
+ "versions": {
28297
+ "description": "\uC0C1\uC138 \uC870\uD68C\uC5D0\uC11C\uB9CC \uCC44\uC6B4\uB2E4",
28298
+ "items": {
28299
+ "$ref": "#/$defs/CutVersionView"
28300
+ },
28301
+ "title": "Versions",
28302
+ "type": "array"
28303
+ },
28304
+ "state": {
28305
+ "enum": [
28306
+ "planned",
28307
+ "image_generating",
28308
+ "rendering",
28309
+ "ready",
28310
+ "dirty",
28311
+ "failed"
28312
+ ],
28313
+ "title": "State",
28314
+ "type": "string"
28315
+ },
28316
+ "dirty_fields": {
28317
+ "items": {
28318
+ "type": "string"
28319
+ },
28320
+ "title": "Dirty Fields",
28321
+ "type": "array"
28322
+ },
28323
+ "estimated_cost_krw": {
28324
+ "anyOf": [
28325
+ {
28326
+ "type": "integer"
28327
+ },
28328
+ {
28329
+ "type": "null"
28330
+ }
28331
+ ],
28332
+ "default": null,
28333
+ "title": "Estimated Cost Krw"
28334
+ },
28335
+ "rows": {
28336
+ "items": {
28337
+ "$ref": "#/$defs/QuoteRow"
28338
+ },
28339
+ "title": "Rows",
28340
+ "type": "array"
28341
+ },
28342
+ "blocked_reason": {
28343
+ "anyOf": [
28344
+ {
28345
+ "type": "string"
28346
+ },
28347
+ {
28348
+ "type": "null"
28349
+ }
28350
+ ],
28351
+ "default": null,
28352
+ "title": "Blocked Reason"
28353
+ },
28354
+ "edit_adjusted": {
28355
+ "default": false,
28356
+ "title": "Edit Adjusted",
28357
+ "type": "boolean"
28358
+ },
28359
+ "active_job_id": {
28360
+ "anyOf": [
28361
+ {
28362
+ "type": "string"
28363
+ },
28364
+ {
28365
+ "type": "null"
28366
+ }
28367
+ ],
28368
+ "default": null,
28369
+ "title": "Active Job Id"
28370
+ },
28371
+ "next_calls": {
28372
+ "items": {
28373
+ "type": "string"
28374
+ },
28375
+ "title": "Next Calls",
28376
+ "type": "array"
28377
+ },
28378
+ "created_at": {
28379
+ "title": "Created At",
28380
+ "type": "string"
28381
+ },
28382
+ "updated_at": {
28383
+ "title": "Updated At",
28384
+ "type": "string"
28385
+ }
28386
+ },
28387
+ "required": [
28388
+ "id",
28389
+ "project_slug",
28390
+ "mode",
28391
+ "draft_spec",
28392
+ "state",
28393
+ "created_at",
28394
+ "updated_at"
28395
+ ],
28396
+ "title": "CutView",
28397
+ "type": "object"
28398
+ },
28399
+ "DialogueLine": {
28400
+ "additionalProperties": false,
28401
+ "properties": {
28402
+ "id": {
28403
+ "description": "\uC904 id ln_<6> \u2014 \uC81C\uC548 diff \uC758 \uB300\uC870 \uD0A4",
28404
+ "pattern": "^ln_[a-z0-9]{6}$",
28405
+ "title": "Id",
28406
+ "type": "string",
28407
+ "x-diff": "ignore"
28408
+ },
28409
+ "text": {
28410
+ "description": "\uBC1C\uD654 \uD14D\uC2A4\uD2B8(\uC22B\uC790\uB294 \uC11C\uBC84\uAC00 \uC77D\uB294 \uBC95\uC744 \uC815\uD55C\uB2E4 \u2014 \uD480\uC5B4\uC4F0\uC9C0 \uC54A\uB294\uB2E4)",
28411
+ "maxLength": 2e3,
28412
+ "minLength": 1,
28413
+ "title": "Text",
28414
+ "type": "string"
28415
+ },
28416
+ "subtitle_text": {
28417
+ "anyOf": [
28418
+ {
28419
+ "maxLength": 2e3,
28420
+ "type": "string"
28421
+ },
28422
+ {
28423
+ "type": "null"
28424
+ }
28425
+ ],
28426
+ "default": null,
28427
+ "description": "\uC790\uB9C9 \uD45C\uAE30(\uC6D0\uBB38 \uD45C\uAE30). \uC5C6\uC73C\uBA74 text",
28428
+ "title": "Subtitle Text"
28429
+ },
28430
+ "audio_asset_id": {
28431
+ "anyOf": [
28432
+ {
28433
+ "minLength": 1,
28434
+ "type": "string"
28435
+ },
28436
+ {
28437
+ "type": "null"
28438
+ }
28439
+ ],
28440
+ "default": null,
28441
+ "description": "BYO: \uC774 \uC904\uC758 \uB098\uB808\uC774\uC158 \uC624\uB514\uC624 \uC790\uC0B0 \u2014 TTS \uD589 0\uC6D0, \uC815\uB82C \uD589\uB9CC",
28442
+ "title": "Audio Asset Id"
28443
+ }
28444
+ },
28445
+ "required": [
28446
+ "id",
28447
+ "text"
28448
+ ],
28449
+ "title": "DialogueLine",
28450
+ "type": "object"
28451
+ },
28452
+ "DialogueTiming": {
28453
+ "additionalProperties": false,
28454
+ "properties": {
28455
+ "id": {
28456
+ "title": "Id",
28457
+ "type": "string"
28458
+ },
28459
+ "start_ms": {
28460
+ "minimum": 0,
28461
+ "title": "Start Ms",
28462
+ "type": "integer"
28463
+ },
28464
+ "end_ms": {
28465
+ "minimum": 0,
28466
+ "title": "End Ms",
28467
+ "type": "integer"
28468
+ }
28469
+ },
28470
+ "required": [
28471
+ "id",
28472
+ "start_ms",
28473
+ "end_ms"
28474
+ ],
28475
+ "title": "DialogueTiming",
28476
+ "type": "object"
28477
+ },
28478
+ "DownloadUrls": {
28479
+ "additionalProperties": false,
28480
+ "description": "\uBC84\uC804\uC758 \uC5ED\uD560\uBCC4 \uC0B0\uCD9C\uBB3C \uC11C\uBA85 URL. \uC5C6\uB294 \uC5ED\uD560\uC740 ``None``.\n\n``timing`` \uC740 **\uD56D\uC0C1 None** \uC774\uB2E4 \u2014 \uC790\uC0B0\uC774 \uC544\uB2C8\uB77C \uD589 \uC548\uC758 JSON \uC774\uB77C \uC11C\uBA85\uD560 blob \uC774 \uC5C6\uB2E4. \uC2E4\uC81C \uAC12\uC740 \uAC19\uC740 \uC751\uB2F5\uC758\n``CutVersionView.timing`` \uC5D0 \uC778\uB77C\uC778\uC73C\uB85C \uC2E4\uB9B0\uB2E4. \uD544\uB4DC\uB97C \uC9C0\uC6B0\uC9C0 \uC54A\uB294 \uAC83\uC740 \uC5ED\uD560 \uD45C\uB97C \uD55C\uC790\uB9AC\uC5D0 \uBCF4\uC774\uAC8C \uB450\uAE30 \uC704\uD568\uC774\uB2E4.",
28481
+ "properties": {
28482
+ "video": {
28483
+ "anyOf": [
28484
+ {
28485
+ "type": "string"
28486
+ },
28487
+ {
28488
+ "type": "null"
28489
+ }
28490
+ ],
28491
+ "default": null,
28492
+ "title": "Video"
28493
+ },
28494
+ "audio": {
28495
+ "anyOf": [
28496
+ {
28497
+ "type": "string"
28498
+ },
28499
+ {
28500
+ "type": "null"
28501
+ }
28502
+ ],
28503
+ "default": null,
28504
+ "title": "Audio"
28505
+ },
28506
+ "subtitle": {
28507
+ "anyOf": [
28508
+ {
28509
+ "type": "string"
28510
+ },
28511
+ {
28512
+ "type": "null"
28513
+ }
28514
+ ],
28515
+ "default": null,
28516
+ "title": "Subtitle"
28517
+ },
28518
+ "still": {
28519
+ "anyOf": [
28520
+ {
28521
+ "type": "string"
28522
+ },
28523
+ {
28524
+ "type": "null"
28525
+ }
28526
+ ],
28527
+ "default": null,
28528
+ "title": "Still"
28529
+ },
28530
+ "timing": {
28531
+ "anyOf": [
28532
+ {
28533
+ "type": "string"
28534
+ },
28535
+ {
28536
+ "type": "null"
28537
+ }
28538
+ ],
28539
+ "default": null,
28540
+ "title": "Timing"
28541
+ }
28542
+ },
28543
+ "title": "DownloadUrls",
28544
+ "type": "object"
28545
+ },
28546
+ "FieldChange": {
28547
+ "additionalProperties": false,
28548
+ "properties": {
28549
+ "before": {
28550
+ "default": null,
28551
+ "title": "Before"
28552
+ },
28553
+ "after": {
28554
+ "default": null,
28555
+ "title": "After"
28556
+ }
28557
+ },
28558
+ "title": "FieldChange",
28559
+ "type": "object"
28560
+ },
28561
+ "FromCutImageRef": {
28562
+ "additionalProperties": false,
28563
+ "properties": {
28564
+ "kind": {
28565
+ "const": "from_cut",
28566
+ "default": "from_cut",
28567
+ "title": "Kind",
28568
+ "type": "string"
28569
+ },
28570
+ "from_cut": {
28571
+ "description": "\uB2E4\uB978 \uCEF7\uC758 \uB300\uD45C \uBC84\uC804 \uD504\uB808\uC784(\uC5F0\uC18D\uC131 \uB3C4\uC6B0\uBBF8)",
28572
+ "minLength": 1,
28573
+ "title": "From Cut",
28574
+ "type": "string"
28575
+ },
28576
+ "frame": {
28577
+ "default": "last",
28578
+ "enum": [
28579
+ "first",
28580
+ "last"
28581
+ ],
28582
+ "title": "Frame",
28583
+ "type": "string"
28584
+ }
28585
+ },
28586
+ "required": [
28587
+ "from_cut"
28588
+ ],
28589
+ "title": "FromCutImageRef",
28590
+ "type": "object"
28591
+ },
28592
+ "FromVersionImageRef": {
28593
+ "additionalProperties": false,
28594
+ "properties": {
28595
+ "kind": {
28596
+ "const": "from_version",
28597
+ "default": "from_version",
28598
+ "title": "Kind",
28599
+ "type": "string"
28600
+ },
28601
+ "from_version": {
28602
+ "description": "\uC774 \uCEF7\uC758 \uD2B9\uC815 \uBC84\uC804 \uD504\uB808\uC784",
28603
+ "minimum": 1,
28604
+ "title": "From Version",
28605
+ "type": "integer"
28606
+ },
28607
+ "frame": {
28608
+ "default": "last",
28609
+ "enum": [
28610
+ "first",
28611
+ "last"
28612
+ ],
28613
+ "title": "Frame",
28614
+ "type": "string"
28615
+ }
28616
+ },
28617
+ "required": [
28618
+ "from_version"
28619
+ ],
28620
+ "title": "FromVersionImageRef",
28621
+ "type": "object"
28622
+ },
28623
+ "MotionGraphicSpec": {
28624
+ "additionalProperties": false,
28625
+ "properties": {
28626
+ "dialogue": {
28627
+ "items": {
28628
+ "$ref": "#/$defs/DialogueLine"
28629
+ },
28630
+ "title": "Dialogue",
28631
+ "type": "array"
28632
+ },
28633
+ "narration_asset_id": {
28634
+ "anyOf": [
28635
+ {
28636
+ "minLength": 1,
28637
+ "type": "string"
28638
+ },
28639
+ {
28640
+ "type": "null"
28641
+ }
28642
+ ],
28643
+ "default": null,
28644
+ "description": "BYO: \uCEF7 \uC804\uCCB4 \uB098\uB808\uC774\uC158 wav \uD55C \uAC1C(\uB300\uC0AC\uAC00 \uC788\uC5B4\uC57C \uD55C\uB2E4 \u2014 \uC790\uB9C9\xB7\uD0C0\uC774\uBC0D\uC758 \uADFC\uAC70). \uC904\uBCC4 audio_asset_id \uC640 \uB3D9\uC2DC \uC9C0\uC815 422",
28645
+ "title": "Narration Asset Id"
28646
+ },
28647
+ "subtitles": {
28648
+ "default": false,
28649
+ "title": "Subtitles",
28650
+ "type": "boolean"
28651
+ },
28652
+ "host": {
28653
+ "anyOf": [
28654
+ {
28655
+ "type": "string"
28656
+ },
28657
+ {
28658
+ "type": "null"
28659
+ }
28660
+ ],
28661
+ "default": null,
28662
+ "description": "\uC9C4\uD589 \u2014 \uD5C8\uC6A9 \uC9D1\uD569\uC740 \uCE74\uD0C8\uB85C\uADF8(\uBC29\uC2DD\uBCC4). \uBAA8\uC158\uADF8\uB798\uD53D\uC740 \uD544\uC218",
28663
+ "title": "Host"
28664
+ },
28665
+ "voice_id": {
28666
+ "anyOf": [
28667
+ {
28668
+ "minLength": 1,
28669
+ "type": "string"
28670
+ },
28671
+ {
28672
+ "type": "null"
28673
+ }
28674
+ ],
28675
+ "default": null,
28676
+ "description": "host\u2208{voice,avatar} \uC774\uACE0 BYO \uC624\uB514\uC624\uAC00 \uC5C6\uC744 \uB54C \uD544\uC218",
28677
+ "title": "Voice Id"
28678
+ },
28679
+ "pip": {
28680
+ "anyOf": [
28681
+ {
28682
+ "$ref": "#/$defs/PipSpec"
28683
+ },
28684
+ {
28685
+ "type": "null"
28686
+ }
28687
+ ],
28688
+ "default": null,
28689
+ "description": "host=avatar \uC77C \uB54C \uD544\uC218"
28690
+ },
28691
+ "image_asset_id": {
28692
+ "anyOf": [
28693
+ {
28694
+ "minLength": 1,
28695
+ "type": "string"
28696
+ },
28697
+ {
28698
+ "type": "null"
28699
+ }
28700
+ ],
28701
+ "default": null,
28702
+ "description": "\uCEF7 \uC774\uBBF8\uC9C0\uB97C spec \uC5D0\uC11C \uC9C1\uC811 \uC9C0\uC815(\uC5D0\uC774\uC804\uD2B8 \uC6D0\uC0F7\uC6A9)",
28703
+ "title": "Image Asset Id"
28704
+ },
28705
+ "duration_s": {
28706
+ "anyOf": [
28707
+ {
28708
+ "exclusiveMinimum": 0,
28709
+ "maximum": 600,
28710
+ "type": "number"
28711
+ },
28712
+ {
28713
+ "type": "null"
28714
+ }
28715
+ ],
28716
+ "default": null,
28717
+ "title": "Duration S"
28718
+ },
28719
+ "mode": {
28720
+ "const": "motion_graphic",
28721
+ "default": "motion_graphic",
28722
+ "title": "Mode",
28723
+ "type": "string"
28724
+ },
28725
+ "motion_prompt": {
28726
+ "anyOf": [
28727
+ {
28728
+ "maxLength": 4e3,
28729
+ "type": "string"
28730
+ },
28731
+ {
28732
+ "type": "null"
28733
+ }
28734
+ ],
28735
+ "default": null,
28736
+ "title": "Motion Prompt"
28737
+ },
28738
+ "tsx": {
28739
+ "anyOf": [
28740
+ {
28741
+ "maxLength": 2e5,
28742
+ "type": "string"
28743
+ },
28744
+ {
28745
+ "type": "null"
28746
+ }
28747
+ ],
28748
+ "default": null,
28749
+ "description": "BYO Remotion \uCF54\uB4DC(UTF-8 \u2264 200KB) \u2014 codegen \uD589 0\uC6D0, \uAC8C\uC774\uD2B8\uB294 codegen \uACFC \uB3D9\uAE09",
28750
+ "title": "Tsx"
28751
+ },
28752
+ "brand_override": {
28753
+ "anyOf": [
28754
+ {
28755
+ "additionalProperties": true,
28756
+ "type": "object"
28757
+ },
28758
+ {
28759
+ "type": "null"
28760
+ }
28761
+ ],
28762
+ "default": null,
28763
+ "title": "Brand Override"
28764
+ }
28765
+ },
28766
+ "title": "MotionGraphicSpec",
28767
+ "type": "object"
28768
+ },
28769
+ "PipSpec": {
28770
+ "additionalProperties": false,
28771
+ "properties": {
28772
+ "avatar_id": {
28773
+ "minLength": 1,
28774
+ "title": "Avatar Id",
28775
+ "type": "string"
28776
+ },
28777
+ "background_asset_id": {
28778
+ "description": "\uBC30\uACBD\uC740 \uC5B8\uC81C\uB098 \uC790\uC0B0(origin=background \uCE74\uD0C8\uB85C\uADF8 \uB610\uB294 \uC62C\uB9B0 \uC774\uBBF8\uC9C0)",
28779
+ "minLength": 1,
28780
+ "title": "Background Asset Id",
28781
+ "type": "string"
28782
+ },
28783
+ "position": {
28784
+ "default": "br",
28785
+ "enum": [
28786
+ "tl",
28787
+ "tr",
28788
+ "bl",
28789
+ "br"
28790
+ ],
28791
+ "title": "Position",
28792
+ "type": "string"
28793
+ },
28794
+ "size": {
28795
+ "default": "m",
28796
+ "enum": [
28797
+ "s",
28798
+ "m",
28799
+ "l"
28800
+ ],
28801
+ "title": "Size",
28802
+ "type": "string"
28803
+ }
28804
+ },
28805
+ "required": [
28806
+ "avatar_id",
28807
+ "background_asset_id"
28808
+ ],
28809
+ "title": "PipSpec",
28810
+ "type": "object"
28811
+ },
28812
+ "ProposalRequestView": {
28813
+ "additionalProperties": false,
28814
+ "properties": {
28815
+ "text": {
28816
+ "title": "Text",
28817
+ "type": "string"
28818
+ },
28819
+ "attachments": {
28820
+ "description": "asset_id \uBAA9\uB85D",
28821
+ "items": {
28822
+ "type": "string"
28823
+ },
28824
+ "title": "Attachments",
28825
+ "type": "array"
28826
+ }
28827
+ },
28828
+ "required": [
28829
+ "text"
28830
+ ],
28831
+ "title": "ProposalRequestView",
28832
+ "type": "object"
28833
+ },
28834
+ "ProposalView": {
28835
+ "additionalProperties": false,
28836
+ "properties": {
28837
+ "id": {
28838
+ "title": "Id",
28839
+ "type": "string"
28840
+ },
28841
+ "project_slug": {
28842
+ "title": "Project Slug",
28843
+ "type": "string"
28844
+ },
28845
+ "source": {
28846
+ "enum": [
28847
+ "chat_global",
28848
+ "chat_cut",
28849
+ "user_ai"
28850
+ ],
28851
+ "title": "Source",
28852
+ "type": "string"
28853
+ },
28854
+ "scope_cut_id": {
28855
+ "anyOf": [
28856
+ {
28857
+ "type": "string"
28858
+ },
28859
+ {
28860
+ "type": "null"
28861
+ }
28862
+ ],
28863
+ "default": null,
28864
+ "title": "Scope Cut Id"
28865
+ },
28866
+ "request": {
28867
+ "$ref": "#/$defs/ProposalRequestView"
28868
+ },
28869
+ "base_rev": {
28870
+ "title": "Base Rev",
28871
+ "type": "integer"
28872
+ },
28873
+ "ops": {
28874
+ "anyOf": [
28875
+ {
28876
+ "items": {
28877
+ "discriminator": {
28878
+ "mapping": {
28879
+ "add_cut": "#/$defs/AddCutOp",
28880
+ "relink": "#/$defs/RelinkOp",
28881
+ "remove_cut": "#/$defs/RemoveCutOp",
28882
+ "update_cut": "#/$defs/UpdateCutOp"
28883
+ },
28884
+ "propertyName": "op"
28885
+ },
28886
+ "oneOf": [
28887
+ {
28888
+ "$ref": "#/$defs/AddCutOp"
28889
+ },
28890
+ {
28891
+ "$ref": "#/$defs/UpdateCutOp"
28892
+ },
28893
+ {
28894
+ "$ref": "#/$defs/RemoveCutOp"
28895
+ },
28896
+ {
28897
+ "$ref": "#/$defs/RelinkOp"
28898
+ }
28899
+ ]
28900
+ },
28901
+ "type": "array"
28902
+ },
28903
+ {
28904
+ "type": "null"
28905
+ }
28906
+ ],
28907
+ "default": null,
28908
+ "title": "Ops"
28909
+ },
28910
+ "quote": {
28911
+ "anyOf": [
28912
+ {
28913
+ "$ref": "#/$defs/Quote"
28914
+ },
28915
+ {
28916
+ "type": "null"
28917
+ }
28918
+ ],
28919
+ "default": null
28920
+ },
28921
+ "status": {
28922
+ "enum": [
28923
+ "thinking",
28924
+ "pending",
28925
+ "applied",
28926
+ "dismissed",
28927
+ "stale",
28928
+ "superseded",
28929
+ "failed"
28930
+ ],
28931
+ "title": "Status",
28932
+ "type": "string"
28933
+ },
28934
+ "job_id": {
28935
+ "title": "Job Id",
28936
+ "type": "string"
28937
+ },
28938
+ "applied_rev": {
28939
+ "anyOf": [
28940
+ {
28941
+ "type": "integer"
28942
+ },
28943
+ {
28944
+ "type": "null"
28945
+ }
28946
+ ],
28947
+ "default": null,
28948
+ "title": "Applied Rev"
28949
+ },
28950
+ "created_at": {
28951
+ "title": "Created At",
28952
+ "type": "string"
28953
+ },
28954
+ "resolved_at": {
28955
+ "anyOf": [
28956
+ {
28957
+ "type": "string"
28958
+ },
28959
+ {
28960
+ "type": "null"
28961
+ }
28962
+ ],
28963
+ "default": null,
28964
+ "title": "Resolved At"
28965
+ }
28966
+ },
28967
+ "required": [
28968
+ "id",
28969
+ "project_slug",
28970
+ "source",
28971
+ "request",
28972
+ "base_rev",
28973
+ "status",
28974
+ "job_id",
28975
+ "created_at"
28976
+ ],
28977
+ "title": "ProposalView",
28978
+ "type": "object"
28979
+ },
28980
+ "Quote": {
28981
+ "additionalProperties": false,
28982
+ "properties": {
28983
+ "rows": {
28984
+ "items": {
28985
+ "$ref": "#/$defs/QuoteRow"
28986
+ },
28987
+ "title": "Rows",
28988
+ "type": "array"
28989
+ },
28990
+ "total_krw": {
28991
+ "minimum": 0,
28992
+ "title": "Total Krw",
28993
+ "type": "integer"
28994
+ },
28995
+ "rate_version": {
28996
+ "description": "pricing_config.version \u2014 make \uAC00 \uAC19\uC740 \uAC12\uC744 \uC694\uAD6C\uD55C\uB2E4",
28997
+ "minimum": 1,
28998
+ "title": "Rate Version",
28999
+ "type": "integer"
29000
+ },
29001
+ "mock": {
29002
+ "default": false,
29003
+ "title": "Mock",
29004
+ "type": "boolean"
29005
+ },
29006
+ "provisional": {
29007
+ "default": false,
29008
+ "description": "\uD589 \uC911 \uD558\uB098\uB77C\uB3C4 \uC784\uC2DC \uB2E8\uAC00\uBA74 True",
29009
+ "title": "Provisional",
29010
+ "type": "boolean"
29011
+ }
29012
+ },
29013
+ "required": [
29014
+ "total_krw",
29015
+ "rate_version"
29016
+ ],
29017
+ "title": "Quote",
29018
+ "type": "object"
29019
+ },
29020
+ "QuoteRow": {
29021
+ "additionalProperties": false,
29022
+ "properties": {
29023
+ "key": {
29024
+ "description": "\uC7A1 \uC548\uC5D0\uC11C \uC720\uC77C\uD55C \uD589 \uD0A4 \u2014 tts:<line_id> \xB7 videogen:i2v \xB7 lipsync \xB7 render:\u2026",
29025
+ "title": "Key",
29026
+ "type": "string"
29027
+ },
29028
+ "ref_type": {
29029
+ "description": "\uC6D0\uAC00\uD45C \uD0A4(credits/pricing.BASE_PRICES)",
29030
+ "title": "Ref Type",
29031
+ "type": "string"
29032
+ },
29033
+ "units": {
29034
+ "pattern": "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$",
29035
+ "title": "Units",
29036
+ "type": "string"
29037
+ },
29038
+ "unit_kind": {
29039
+ "title": "Unit Kind",
29040
+ "type": "string"
29041
+ },
29042
+ "display_name": {
29043
+ "title": "Display Name",
29044
+ "type": "string"
29045
+ },
29046
+ "krw": {
29047
+ "minimum": 0,
29048
+ "title": "Krw",
29049
+ "type": "integer"
29050
+ },
29051
+ "provisional": {
29052
+ "default": false,
29053
+ "title": "Provisional",
29054
+ "type": "boolean"
29055
+ }
29056
+ },
29057
+ "required": [
29058
+ "key",
29059
+ "ref_type",
29060
+ "units",
29061
+ "unit_kind",
29062
+ "display_name",
29063
+ "krw"
29064
+ ],
29065
+ "title": "QuoteRow",
29066
+ "type": "object"
27454
29067
  },
27455
- "quote": {
27456
- "anyOf": [
27457
- {
27458
- "$ref": "#/$defs/Quote"
29068
+ "RelinkOp": {
29069
+ "additionalProperties": false,
29070
+ "properties": {
29071
+ "op": {
29072
+ "const": "relink",
29073
+ "default": "relink",
29074
+ "title": "Op",
29075
+ "type": "string"
27459
29076
  },
27460
- {
27461
- "type": "null"
29077
+ "cut_id": {
29078
+ "title": "Cut Id",
29079
+ "type": "string"
29080
+ },
29081
+ "after": {
29082
+ "anyOf": [
29083
+ {
29084
+ "type": "string"
29085
+ },
29086
+ {
29087
+ "type": "null"
29088
+ }
29089
+ ],
29090
+ "default": null,
29091
+ "description": "None = \uB9E8 \uC55E",
29092
+ "title": "After"
27462
29093
  }
29094
+ },
29095
+ "required": [
29096
+ "cut_id"
27463
29097
  ],
27464
- "default": null
29098
+ "title": "RelinkOp",
29099
+ "type": "object"
27465
29100
  },
27466
- "next_calls": {
27467
- "items": {
27468
- "type": "string"
27469
- },
27470
- "title": "Next Calls",
27471
- "type": "array"
27472
- }
27473
- },
27474
- "required": [
27475
- "job_id"
27476
- ],
27477
- "title": "JobAccepted",
27478
- "type": "object"
27479
- },
27480
- "annotations": {
27481
- "readOnlyHint": false,
27482
- "destructiveHint": false,
27483
- "idempotentHint": false,
27484
- "openWorldHint": false
27485
- }
27486
- },
27487
- {
27488
- "name": "democut_list_backgrounds",
27489
- "description": "PIP \uBC30\uACBD \uCE74\uD0C8\uB85C\uADF8(origin=background \uC790\uC0B0) + \uC62C\uB9B0 \uBC30\uACBD.",
27490
- "inputSchema": {
27491
- "type": "object",
27492
- "properties": {},
27493
- "required": [],
27494
- "additionalProperties": false
27495
- },
27496
- "outputSchema": {
27497
- "$defs": {
27498
- "AssetView": {
29101
+ "RemoveCutOp": {
27499
29102
  "additionalProperties": false,
27500
29103
  "properties": {
27501
- "id": {
27502
- "title": "Id",
29104
+ "op": {
29105
+ "const": "remove_cut",
29106
+ "default": "remove_cut",
29107
+ "title": "Op",
27503
29108
  "type": "string"
27504
29109
  },
27505
- "workspace_id": {
27506
- "title": "Workspace Id",
29110
+ "cut_id": {
29111
+ "title": "Cut Id",
27507
29112
  "type": "string"
29113
+ }
29114
+ },
29115
+ "required": [
29116
+ "cut_id"
29117
+ ],
29118
+ "title": "RemoveCutOp",
29119
+ "type": "object"
29120
+ },
29121
+ "Timing": {
29122
+ "additionalProperties": false,
29123
+ "properties": {
29124
+ "dialogue": {
29125
+ "items": {
29126
+ "$ref": "#/$defs/DialogueTiming"
29127
+ },
29128
+ "title": "Dialogue",
29129
+ "type": "array"
27508
29130
  },
27509
- "project_slug": {
29131
+ "audible_ranges": {
29132
+ "items": {
29133
+ "maxItems": 2,
29134
+ "minItems": 2,
29135
+ "prefixItems": [
29136
+ {
29137
+ "type": "integer"
29138
+ },
29139
+ {
29140
+ "type": "integer"
29141
+ }
29142
+ ],
29143
+ "type": "array"
29144
+ },
29145
+ "title": "Audible Ranges",
29146
+ "type": "array"
29147
+ },
29148
+ "tts_reused_from": {
27510
29149
  "anyOf": [
27511
29150
  {
27512
- "type": "string"
29151
+ "type": "integer"
27513
29152
  },
27514
29153
  {
27515
29154
  "type": "null"
27516
29155
  }
27517
29156
  ],
27518
29157
  "default": null,
27519
- "title": "Project Slug"
29158
+ "title": "Tts Reused From"
29159
+ }
29160
+ },
29161
+ "title": "Timing",
29162
+ "type": "object"
29163
+ },
29164
+ "UpdateCutOp": {
29165
+ "additionalProperties": false,
29166
+ "properties": {
29167
+ "op": {
29168
+ "const": "update_cut",
29169
+ "default": "update_cut",
29170
+ "title": "Op",
29171
+ "type": "string"
29172
+ },
29173
+ "cut_id": {
29174
+ "title": "Cut Id",
29175
+ "type": "string"
27520
29176
  },
29177
+ "fields": {
29178
+ "additionalProperties": {
29179
+ "$ref": "#/$defs/FieldChange"
29180
+ },
29181
+ "description": "json pointer \u2192 {before, after}",
29182
+ "title": "Fields",
29183
+ "type": "object"
29184
+ }
29185
+ },
29186
+ "required": [
29187
+ "cut_id",
29188
+ "fields"
29189
+ ],
29190
+ "title": "UpdateCutOp",
29191
+ "type": "object"
29192
+ },
29193
+ "YoutubeAssetSource": {
29194
+ "additionalProperties": false,
29195
+ "properties": {
27521
29196
  "kind": {
27522
- "enum": [
27523
- "image",
27524
- "video",
27525
- "audio",
27526
- "subtitle",
27527
- "code",
27528
- "archive"
27529
- ],
29197
+ "const": "asset",
29198
+ "default": "asset",
27530
29199
  "title": "Kind",
27531
29200
  "type": "string"
27532
29201
  },
27533
- "origin": {
27534
- "description": "upload|url_fetch|render|image_gen|export|pip|from_video|thumbnail|idle_motion|background|legacy_import (\uC77D\uAE30 \uAD00\uC6A9)",
27535
- "title": "Origin",
29202
+ "asset_id": {
29203
+ "description": "BYO: \uC62C\uB9B0 \uC6D0\uBCF8 \uC601\uC0C1 \u2014 \uB0B4\uB824\uBC1B\uAE30 \uD589 0\uC6D0",
29204
+ "minLength": 1,
29205
+ "title": "Asset Id",
27536
29206
  "type": "string"
27537
29207
  },
27538
- "mime": {
27539
- "title": "Mime",
27540
- "type": "string"
29208
+ "start_s": {
29209
+ "anyOf": [
29210
+ {
29211
+ "minimum": 0,
29212
+ "type": "number"
29213
+ },
29214
+ {
29215
+ "type": "null"
29216
+ }
29217
+ ],
29218
+ "default": null,
29219
+ "title": "Start S"
27541
29220
  },
27542
- "bytes": {
27543
- "minimum": 0,
27544
- "title": "Bytes",
27545
- "type": "integer"
29221
+ "end_s": {
29222
+ "anyOf": [
29223
+ {
29224
+ "exclusiveMinimum": 0,
29225
+ "type": "number"
29226
+ },
29227
+ {
29228
+ "type": "null"
29229
+ }
29230
+ ],
29231
+ "default": null,
29232
+ "title": "End S"
29233
+ }
29234
+ },
29235
+ "required": [
29236
+ "asset_id"
29237
+ ],
29238
+ "title": "YoutubeAssetSource",
29239
+ "type": "object"
29240
+ },
29241
+ "YoutubeClipSpec": {
29242
+ "additionalProperties": false,
29243
+ "properties": {
29244
+ "dialogue": {
29245
+ "items": {
29246
+ "$ref": "#/$defs/DialogueLine"
29247
+ },
29248
+ "title": "Dialogue",
29249
+ "type": "array"
27546
29250
  },
27547
- "sha256": {
29251
+ "narration_asset_id": {
27548
29252
  "anyOf": [
27549
29253
  {
29254
+ "minLength": 1,
27550
29255
  "type": "string"
27551
29256
  },
27552
29257
  {
@@ -27554,33 +29259,57 @@ var GENERATED_TOOLS = [
27554
29259
  }
27555
29260
  ],
27556
29261
  "default": null,
27557
- "title": "Sha256"
29262
+ "description": "BYO: \uCEF7 \uC804\uCCB4 \uB098\uB808\uC774\uC158 wav \uD55C \uAC1C(\uB300\uC0AC\uAC00 \uC788\uC5B4\uC57C \uD55C\uB2E4 \u2014 \uC790\uB9C9\xB7\uD0C0\uC774\uBC0D\uC758 \uADFC\uAC70). \uC904\uBCC4 audio_asset_id \uC640 \uB3D9\uC2DC \uC9C0\uC815 422",
29263
+ "title": "Narration Asset Id"
27558
29264
  },
27559
- "meta": {
27560
- "additionalProperties": true,
27561
- "title": "Meta",
27562
- "type": "object"
29265
+ "subtitles": {
29266
+ "default": false,
29267
+ "title": "Subtitles",
29268
+ "type": "boolean"
27563
29269
  },
27564
- "state": {
27565
- "enum": [
27566
- "pending",
27567
- "ready",
27568
- "deleted"
29270
+ "host": {
29271
+ "anyOf": [
29272
+ {
29273
+ "type": "string"
29274
+ },
29275
+ {
29276
+ "type": "null"
29277
+ }
27569
29278
  ],
27570
- "title": "State",
27571
- "type": "string"
29279
+ "default": null,
29280
+ "description": "\uC9C4\uD589 \u2014 \uD5C8\uC6A9 \uC9D1\uD569\uC740 \uCE74\uD0C8\uB85C\uADF8(\uBC29\uC2DD\uBCC4). \uBAA8\uC158\uADF8\uB798\uD53D\uC740 \uD544\uC218",
29281
+ "title": "Host"
27572
29282
  },
27573
- "created_by": {
27574
- "title": "Created By",
27575
- "type": "string"
29283
+ "voice_id": {
29284
+ "anyOf": [
29285
+ {
29286
+ "minLength": 1,
29287
+ "type": "string"
29288
+ },
29289
+ {
29290
+ "type": "null"
29291
+ }
29292
+ ],
29293
+ "default": null,
29294
+ "description": "host\u2208{voice,avatar} \uC774\uACE0 BYO \uC624\uB514\uC624\uAC00 \uC5C6\uC744 \uB54C \uD544\uC218",
29295
+ "title": "Voice Id"
27576
29296
  },
27577
- "created_at": {
27578
- "title": "Created At",
27579
- "type": "string"
29297
+ "pip": {
29298
+ "anyOf": [
29299
+ {
29300
+ "$ref": "#/$defs/PipSpec"
29301
+ },
29302
+ {
29303
+ "type": "null"
29304
+ }
29305
+ ],
29306
+ "default": null,
29307
+ "description": "host=avatar \uC77C \uB54C \uD544\uC218"
27580
29308
  },
27581
- "download_url": {
29309
+ "image_asset_id": {
27582
29310
  "anyOf": [
27583
29311
  {
29312
+ "minLength": 1,
27584
29313
  "type": "string"
27585
29314
  },
27586
29315
  {
@@ -27588,38 +29317,138 @@ var GENERATED_TOOLS = [
27588
29317
  }
27589
29318
  ],
27590
29319
  "default": null,
27591
- "title": "Download Url"
29320
+ "description": "\uCEF7 \uC774\uBBF8\uC9C0\uB97C spec \uC5D0\uC11C \uC9C1\uC811 \uC9C0\uC815(\uC5D0\uC774\uC804\uD2B8 \uC6D0\uC0F7\uC6A9)",
29321
+ "title": "Image Asset Id"
29322
+ },
29323
+ "duration_s": {
29324
+ "anyOf": [
29325
+ {
29326
+ "exclusiveMinimum": 0,
29327
+ "maximum": 600,
29328
+ "type": "number"
29329
+ },
29330
+ {
29331
+ "type": "null"
29332
+ }
29333
+ ],
29334
+ "default": null,
29335
+ "title": "Duration S"
29336
+ },
29337
+ "mode": {
29338
+ "const": "youtube_clip",
29339
+ "default": "youtube_clip",
29340
+ "title": "Mode",
29341
+ "type": "string"
29342
+ },
29343
+ "source": {
29344
+ "discriminator": {
29345
+ "mapping": {
29346
+ "asset": "#/$defs/YoutubeAssetSource",
29347
+ "url": "#/$defs/YoutubeUrlSource"
29348
+ },
29349
+ "propertyName": "kind"
29350
+ },
29351
+ "oneOf": [
29352
+ {
29353
+ "$ref": "#/$defs/YoutubeUrlSource"
29354
+ },
29355
+ {
29356
+ "$ref": "#/$defs/YoutubeAssetSource"
29357
+ }
29358
+ ],
29359
+ "title": "Source"
27592
29360
  }
27593
29361
  },
27594
29362
  "required": [
27595
- "id",
27596
- "workspace_id",
27597
- "kind",
27598
- "origin",
27599
- "mime",
27600
- "bytes",
27601
- "state",
27602
- "created_by",
27603
- "created_at"
29363
+ "source"
27604
29364
  ],
27605
- "title": "AssetView",
29365
+ "title": "YoutubeClipSpec",
29366
+ "type": "object"
29367
+ },
29368
+ "YoutubeUrlSource": {
29369
+ "additionalProperties": false,
29370
+ "properties": {
29371
+ "kind": {
29372
+ "const": "url",
29373
+ "default": "url",
29374
+ "title": "Kind",
29375
+ "type": "string"
29376
+ },
29377
+ "url": {
29378
+ "description": "https://youtube.com|youtu.be \uACF5\uAC1C \uC8FC\uC18C\uB9CC",
29379
+ "minLength": 1,
29380
+ "title": "Url",
29381
+ "type": "string"
29382
+ },
29383
+ "start_s": {
29384
+ "minimum": 0,
29385
+ "title": "Start S",
29386
+ "type": "number"
29387
+ },
29388
+ "end_s": {
29389
+ "exclusiveMinimum": 0,
29390
+ "title": "End S",
29391
+ "type": "number"
29392
+ }
29393
+ },
29394
+ "required": [
29395
+ "url",
29396
+ "start_s",
29397
+ "end_s"
29398
+ ],
29399
+ "title": "YoutubeUrlSource",
27606
29400
  "type": "object"
27607
29401
  }
27608
29402
  },
27609
29403
  "additionalProperties": false,
27610
29404
  "properties": {
27611
- "backgrounds": {
29405
+ "rev": {
29406
+ "title": "Rev",
29407
+ "type": "integer"
29408
+ },
29409
+ "order": {
29410
+ "description": "position \uC774 \uC788\uB294 \uCEF7\uC758 id, \uC21C\uC11C\uB300\uB85C",
27612
29411
  "items": {
27613
- "$ref": "#/$defs/AssetView"
29412
+ "type": "string"
27614
29413
  },
27615
- "title": "Backgrounds",
29414
+ "title": "Order",
29415
+ "type": "array"
29416
+ },
29417
+ "cuts": {
29418
+ "items": {
29419
+ "$ref": "#/$defs/CutView"
29420
+ },
29421
+ "title": "Cuts",
29422
+ "type": "array"
29423
+ },
29424
+ "pending_proposal": {
29425
+ "anyOf": [
29426
+ {
29427
+ "$ref": "#/$defs/ProposalView"
29428
+ },
29429
+ {
29430
+ "type": "null"
29431
+ }
29432
+ ],
29433
+ "default": null
29434
+ },
29435
+ "usage_bytes": {
29436
+ "default": 0,
29437
+ "title": "Usage Bytes",
29438
+ "type": "integer"
29439
+ },
29440
+ "next_calls": {
29441
+ "items": {
29442
+ "type": "string"
29443
+ },
29444
+ "title": "Next Calls",
27616
29445
  "type": "array"
27617
29446
  }
27618
29447
  },
27619
29448
  "required": [
27620
- "backgrounds"
29449
+ "rev"
27621
29450
  ],
27622
- "title": "BackgroundListResponse",
29451
+ "title": "StoryboardView",
27623
29452
  "type": "object"
27624
29453
  },
27625
29454
  "annotations": {
@@ -27630,8 +29459,8 @@ var GENERATED_TOOLS = [
27630
29459
  }
27631
29460
  },
27632
29461
  {
27633
- "name": "democut_get_storyboard",
27634
- "description": "\uC2A4\uD1A0\uB9AC\uBCF4\uB4DC \u2014 rev\xB7\uC21C\uC11C\xB7\uCEF7(\uD30C\uC0DD \uD544\uB4DC)\xB7\uB300\uAE30 \uC81C\uC548\xB7\uC0AC\uC6A9\uB7C9. If-Match \uC5D0 \uC4F8 rev \uAC00 \uC5EC\uAE30 \uC788\uB2E4. \uB2E4\uC74C \uD638\uCD9C: democut_add_cut, democut_put_cut_draft, democut_reorder_cuts.",
29462
+ "name": "democut_list_cuts",
29463
+ "description": "\uD504\uB85C\uC81D\uD2B8\uC758 \uCEF7 \uBAA9\uB85D(\uD30C\uC0DD \uC0C1\uD0DC \uD3EC\uD568).",
27635
29464
  "inputSchema": {
27636
29465
  "type": "object",
27637
29466
  "properties": {
@@ -27647,66 +29476,6 @@ var GENERATED_TOOLS = [
27647
29476
  },
27648
29477
  "outputSchema": {
27649
29478
  "$defs": {
27650
- "AddCutOp": {
27651
- "additionalProperties": false,
27652
- "properties": {
27653
- "op": {
27654
- "const": "add_cut",
27655
- "default": "add_cut",
27656
- "title": "Op",
27657
- "type": "string"
27658
- },
27659
- "after": {
27660
- "anyOf": [
27661
- {
27662
- "type": "string"
27663
- },
27664
- {
27665
- "type": "null"
27666
- }
27667
- ],
27668
- "default": null,
27669
- "title": "After"
27670
- },
27671
- "mode": {
27672
- "enum": [
27673
- "motion_graphic",
27674
- "ai_video",
27675
- "youtube_clip"
27676
- ],
27677
- "title": "Mode",
27678
- "type": "string"
27679
- },
27680
- "draft_spec": {
27681
- "additionalProperties": true,
27682
- "title": "Draft Spec",
27683
- "type": "object"
27684
- },
27685
- "image_asset_id": {
27686
- "anyOf": [
27687
- {
27688
- "type": "string"
27689
- },
27690
- {
27691
- "type": "null"
27692
- }
27693
- ],
27694
- "default": null,
27695
- "title": "Image Asset Id"
27696
- },
27697
- "title": {
27698
- "default": "",
27699
- "title": "Title",
27700
- "type": "string"
27701
- }
27702
- },
27703
- "required": [
27704
- "mode",
27705
- "draft_spec"
27706
- ],
27707
- "title": "AddCutOp",
27708
- "type": "object"
27709
- },
27710
29479
  "AiVideoSpec": {
27711
29480
  "additionalProperties": false,
27712
29481
  "properties": {
@@ -28495,21 +30264,6 @@ var GENERATED_TOOLS = [
28495
30264
  "title": "DownloadUrls",
28496
30265
  "type": "object"
28497
30266
  },
28498
- "FieldChange": {
28499
- "additionalProperties": false,
28500
- "properties": {
28501
- "before": {
28502
- "default": null,
28503
- "title": "Before"
28504
- },
28505
- "after": {
28506
- "default": null,
28507
- "title": "After"
28508
- }
28509
- },
28510
- "title": "FieldChange",
28511
- "type": "object"
28512
- },
28513
30267
  "FromCutImageRef": {
28514
30268
  "additionalProperties": false,
28515
30269
  "properties": {
@@ -28761,174 +30515,6 @@ var GENERATED_TOOLS = [
28761
30515
  "title": "PipSpec",
28762
30516
  "type": "object"
28763
30517
  },
28764
- "ProposalRequestView": {
28765
- "additionalProperties": false,
28766
- "properties": {
28767
- "text": {
28768
- "title": "Text",
28769
- "type": "string"
28770
- },
28771
- "attachments": {
28772
- "description": "asset_id \uBAA9\uB85D",
28773
- "items": {
28774
- "type": "string"
28775
- },
28776
- "title": "Attachments",
28777
- "type": "array"
28778
- }
28779
- },
28780
- "required": [
28781
- "text"
28782
- ],
28783
- "title": "ProposalRequestView",
28784
- "type": "object"
28785
- },
28786
- "ProposalView": {
28787
- "additionalProperties": false,
28788
- "properties": {
28789
- "id": {
28790
- "title": "Id",
28791
- "type": "string"
28792
- },
28793
- "project_slug": {
28794
- "title": "Project Slug",
28795
- "type": "string"
28796
- },
28797
- "source": {
28798
- "enum": [
28799
- "chat_global",
28800
- "chat_cut",
28801
- "user_ai"
28802
- ],
28803
- "title": "Source",
28804
- "type": "string"
28805
- },
28806
- "scope_cut_id": {
28807
- "anyOf": [
28808
- {
28809
- "type": "string"
28810
- },
28811
- {
28812
- "type": "null"
28813
- }
28814
- ],
28815
- "default": null,
28816
- "title": "Scope Cut Id"
28817
- },
28818
- "request": {
28819
- "$ref": "#/$defs/ProposalRequestView"
28820
- },
28821
- "base_rev": {
28822
- "title": "Base Rev",
28823
- "type": "integer"
28824
- },
28825
- "ops": {
28826
- "anyOf": [
28827
- {
28828
- "items": {
28829
- "discriminator": {
28830
- "mapping": {
28831
- "add_cut": "#/$defs/AddCutOp",
28832
- "relink": "#/$defs/RelinkOp",
28833
- "remove_cut": "#/$defs/RemoveCutOp",
28834
- "update_cut": "#/$defs/UpdateCutOp"
28835
- },
28836
- "propertyName": "op"
28837
- },
28838
- "oneOf": [
28839
- {
28840
- "$ref": "#/$defs/AddCutOp"
28841
- },
28842
- {
28843
- "$ref": "#/$defs/UpdateCutOp"
28844
- },
28845
- {
28846
- "$ref": "#/$defs/RemoveCutOp"
28847
- },
28848
- {
28849
- "$ref": "#/$defs/RelinkOp"
28850
- }
28851
- ]
28852
- },
28853
- "type": "array"
28854
- },
28855
- {
28856
- "type": "null"
28857
- }
28858
- ],
28859
- "default": null,
28860
- "title": "Ops"
28861
- },
28862
- "quote": {
28863
- "anyOf": [
28864
- {
28865
- "$ref": "#/$defs/Quote"
28866
- },
28867
- {
28868
- "type": "null"
28869
- }
28870
- ],
28871
- "default": null
28872
- },
28873
- "status": {
28874
- "enum": [
28875
- "thinking",
28876
- "pending",
28877
- "applied",
28878
- "dismissed",
28879
- "stale",
28880
- "superseded",
28881
- "failed"
28882
- ],
28883
- "title": "Status",
28884
- "type": "string"
28885
- },
28886
- "job_id": {
28887
- "title": "Job Id",
28888
- "type": "string"
28889
- },
28890
- "applied_rev": {
28891
- "anyOf": [
28892
- {
28893
- "type": "integer"
28894
- },
28895
- {
28896
- "type": "null"
28897
- }
28898
- ],
28899
- "default": null,
28900
- "title": "Applied Rev"
28901
- },
28902
- "created_at": {
28903
- "title": "Created At",
28904
- "type": "string"
28905
- },
28906
- "resolved_at": {
28907
- "anyOf": [
28908
- {
28909
- "type": "string"
28910
- },
28911
- {
28912
- "type": "null"
28913
- }
28914
- ],
28915
- "default": null,
28916
- "title": "Resolved At"
28917
- }
28918
- },
28919
- "required": [
28920
- "id",
28921
- "project_slug",
28922
- "source",
28923
- "request",
28924
- "base_rev",
28925
- "status",
28926
- "job_id",
28927
- "created_at"
28928
- ],
28929
- "title": "ProposalView",
28930
- "type": "object"
28931
- },
28932
30518
  "Quote": {
28933
30519
  "additionalProperties": false,
28934
30520
  "properties": {
@@ -29017,59 +30603,6 @@ var GENERATED_TOOLS = [
29017
30603
  "title": "QuoteRow",
29018
30604
  "type": "object"
29019
30605
  },
29020
- "RelinkOp": {
29021
- "additionalProperties": false,
29022
- "properties": {
29023
- "op": {
29024
- "const": "relink",
29025
- "default": "relink",
29026
- "title": "Op",
29027
- "type": "string"
29028
- },
29029
- "cut_id": {
29030
- "title": "Cut Id",
29031
- "type": "string"
29032
- },
29033
- "after": {
29034
- "anyOf": [
29035
- {
29036
- "type": "string"
29037
- },
29038
- {
29039
- "type": "null"
29040
- }
29041
- ],
29042
- "default": null,
29043
- "description": "None = \uB9E8 \uC55E",
29044
- "title": "After"
29045
- }
29046
- },
29047
- "required": [
29048
- "cut_id"
29049
- ],
29050
- "title": "RelinkOp",
29051
- "type": "object"
29052
- },
29053
- "RemoveCutOp": {
29054
- "additionalProperties": false,
29055
- "properties": {
29056
- "op": {
29057
- "const": "remove_cut",
29058
- "default": "remove_cut",
29059
- "title": "Op",
29060
- "type": "string"
29061
- },
29062
- "cut_id": {
29063
- "title": "Cut Id",
29064
- "type": "string"
29065
- }
29066
- },
29067
- "required": [
29068
- "cut_id"
29069
- ],
29070
- "title": "RemoveCutOp",
29071
- "type": "object"
29072
- },
29073
30606
  "Timing": {
29074
30607
  "additionalProperties": false,
29075
30608
  "properties": {
@@ -29113,35 +30646,6 @@ var GENERATED_TOOLS = [
29113
30646
  "title": "Timing",
29114
30647
  "type": "object"
29115
30648
  },
29116
- "UpdateCutOp": {
29117
- "additionalProperties": false,
29118
- "properties": {
29119
- "op": {
29120
- "const": "update_cut",
29121
- "default": "update_cut",
29122
- "title": "Op",
29123
- "type": "string"
29124
- },
29125
- "cut_id": {
29126
- "title": "Cut Id",
29127
- "type": "string"
29128
- },
29129
- "fields": {
29130
- "additionalProperties": {
29131
- "$ref": "#/$defs/FieldChange"
29132
- },
29133
- "description": "json pointer \u2192 {before, after}",
29134
- "title": "Fields",
29135
- "type": "object"
29136
- }
29137
- },
29138
- "required": [
29139
- "cut_id",
29140
- "fields"
29141
- ],
29142
- "title": "UpdateCutOp",
29143
- "type": "object"
29144
- },
29145
30649
  "YoutubeAssetSource": {
29146
30650
  "additionalProperties": false,
29147
30651
  "properties": {
@@ -29354,53 +30858,18 @@ var GENERATED_TOOLS = [
29354
30858
  },
29355
30859
  "additionalProperties": false,
29356
30860
  "properties": {
29357
- "rev": {
29358
- "title": "Rev",
29359
- "type": "integer"
29360
- },
29361
- "order": {
29362
- "description": "position \uC774 \uC788\uB294 \uCEF7\uC758 id, \uC21C\uC11C\uB300\uB85C",
29363
- "items": {
29364
- "type": "string"
29365
- },
29366
- "title": "Order",
29367
- "type": "array"
29368
- },
29369
30861
  "cuts": {
29370
30862
  "items": {
29371
30863
  "$ref": "#/$defs/CutView"
29372
30864
  },
29373
30865
  "title": "Cuts",
29374
30866
  "type": "array"
29375
- },
29376
- "pending_proposal": {
29377
- "anyOf": [
29378
- {
29379
- "$ref": "#/$defs/ProposalView"
29380
- },
29381
- {
29382
- "type": "null"
29383
- }
29384
- ],
29385
- "default": null
29386
- },
29387
- "usage_bytes": {
29388
- "default": 0,
29389
- "title": "Usage Bytes",
29390
- "type": "integer"
29391
- },
29392
- "next_calls": {
29393
- "items": {
29394
- "type": "string"
29395
- },
29396
- "title": "Next Calls",
29397
- "type": "array"
29398
30867
  }
29399
30868
  },
29400
30869
  "required": [
29401
- "rev"
30870
+ "cuts"
29402
30871
  ],
29403
- "title": "StoryboardView",
30872
+ "title": "CutListResponse",
29404
30873
  "type": "object"
29405
30874
  },
29406
30875
  "annotations": {
@@ -39617,6 +41086,25 @@ function getCut(a = {}, deps = {}) {
39617
41086
  return { text: lines.join("\n"), structured: callableStructured(cut) };
39618
41087
  });
39619
41088
  }
41089
+ function listCuts(a = {}, deps = {}) {
41090
+ return guarded(READ_ONLY, async () => {
41091
+ const slug = needSlug(a);
41092
+ if (typeof slug !== "string") return slug;
41093
+ const base = resolveBaseUrl(deps.baseUrl);
41094
+ const out2 = await apiRequest(base, projectPath(slug, "/cuts"), {}, deps);
41095
+ const cuts = out2.cuts ?? [];
41096
+ if (cuts.length === 0) {
41097
+ return {
41098
+ text: callableToolNames("\uC774 \uD504\uB85C\uC81D\uD2B8\uC5D0\uB294 \uC544\uC9C1 \uCEF7\uC774 \uC5C6\uC2B5\uB2C8\uB2E4. \uB9CC\uB4E4\uB824\uBA74 estimate_cuts \u2192 make_cuts, \uC644\uC131 \uC601\uC0C1\uC744 \uC62C\uB9AC\uB824\uBA74 import_cut."),
41099
+ structured: callableStructured(out2)
41100
+ };
41101
+ }
41102
+ const lines = [`\uCEF7 ${cuts.length}\uAC1C (\uC5F0\uACB0 \uC21C\uC11C) \u2014 id [\uC0C1\uD0DC] \uBC29\uC2DD \xB7 \uC81C\uBAA9 \xB7 \uB300\uD45C \uBC84\uC804 \xB7 \uB9C9\uD78C \uC774\uC720`];
41103
+ lines.push(...listing(cuts.map(cutLine)));
41104
+ lines.push(callableToolNames("\uC0C1\uC138\xB7\uBC84\uC804\xB7\uB0B4\uB824\uBC1B\uAE30 \uC8FC\uC18C\uB294 get_cut, \uC21C\uC11C\xB7rev \uB294 get_storyboard."));
41105
+ return { text: lines.join("\n"), structured: callableStructured(out2) };
41106
+ });
41107
+ }
39620
41108
  function mb(v) {
39621
41109
  if (v < 1024) return `${v}B`;
39622
41110
  if (v < 1024 * 1024) return `${Math.round(v / 1024)}KB`;
@@ -40211,6 +41699,8 @@ function dispatch(name, args, deps = {}) {
40211
41699
  return deleteCutImage(args, deps);
40212
41700
  case "democut_get_cut":
40213
41701
  return getCut(args, deps);
41702
+ case "democut_list_cuts":
41703
+ return listCuts(args, deps);
40214
41704
  case "democut_get_storyboard":
40215
41705
  return getStoryboard(args, deps);
40216
41706
  case "democut_add_cut":