MCPcopy Create free account

hub / github.com/calesthio/OpenMontage / functions

Functions1,491 in github.com/calesthio/OpenMontage

↓ 2,299 callersMethodget
Get a tool by name.
tools/tool_registry.py:141
↓ 270 callersMethodget
(self, clip_id: str)
lib/corpus.py:221
↓ 106 callersMethodraise_for_status
(self)
tests/contracts/test_comfyui_tools.py:219
↓ 84 callersMethodrun_command
Run a subprocess command with standard error handling. On Windows, resolves .cmd/.bat wrappers (e.g. npx, npm) via shutil.which() so
tools/base_tool.py:315
↓ 65 callersMethodexecute
(self, inputs)
tests/contracts/test_phase0_contracts.py:395
↓ 56 callersMethodjson
(self)
tests/contracts/test_comfyui_tools.py:213
↓ 47 callersFunction_scene
( desc: str, scene_type: str = "visual", shot_size: str | None = None, movement: str = "static
tests/eval/bench_runner.py:54
↓ 32 callersFunctioncheck
(name, condition, detail="")
tests/qa/test_08_end_to_end.py:49
↓ 30 callersFunctionel
(tag, attrs, kids)
ink-theater/ink-theater.js:21
↓ 30 callersFunctionel
(tag, attrs, kids)
ink-theater/examples/mocap-figure/ink-theater.js:21
↓ 27 callersFunctioncheck
(name, condition, detail="")
tests/qa/test_07_playbook_intelligence.py:31
↓ 25 callersFunctionvalidate_artifact
Validate artifact data against its schema. Raises on failure.
schemas/artifacts/__init__.py:46
↓ 23 callersMethodget_info
Return full tool contract info for registry/discovery.
tools/base_tool.py:233
↓ 21 callersFunctionload_pipeline
Load and validate a pipeline manifest by name. Args: name: Pipeline name (without .yaml extension). defs_dir: Override directory
lib/pipeline_loader.py:29
↓ 20 callersFunctionseededRandom
* Deterministic pseudo-random based on seed index. * Produces the same value every frame for the same seed — required for Remotion.
remotion-composer/src/components/ParticleOverlay.tsx:12
↓ 18 callersMethodregister
Register a tool instance.
tools/tool_registry.py:62
↓ 17 callersMethod_f
(v: float)
tools/video/hyperframes_compose.py:1172
↓ 16 callersFunctionP
(pt)
ink-theater/ink-puppet.js:24
↓ 16 callersFunctionP
(pt)
ink-theater/examples/mocap-figure/ink-puppet.js:24
↓ 16 callersFunction_fake_clip
Write a fixed-size dummy file and return the path.
tests/tools/test_clip_cache.py:32
↓ 15 callersMethodingest
Copy/link a freshly downloaded clip file into the cache. ``source_path`` is the file as it already sits in the caller's project direc
tools/video/clip_cache.py:367
↓ 15 callersFunctionwrite_checkpoint
Write a checkpoint file for a pipeline stage.
lib/checkpoint.py:194
↓ 14 callersFunctionabs
(p: Point)
remotion-composer/src/components/ScreenshotScene.tsx:230
↓ 14 callersFunctionmaybeWrapWithBg
(element: React.ReactElement)
remotion-composer/src/Explainer.tsx:533
↓ 14 callersFunctionr2
(x)
ink-theater/ink-theater.js:77
↓ 14 callersFunctionr2
(x)
ink-theater/examples/mocap-figure/ink-theater.js:77
↓ 13 callersFunction_cut
(source: str, cut_type: str = "", in_s: float = 0, out_s: float = 5)
tests/eval/bench_runner.py:88
↓ 12 callersFunction_default_metadata
(clip_id: str = "test_001")
tests/tools/test_clip_cache.py:42
↓ 12 callersMethodget_status
(self)
tests/contracts/test_comfyui_tools.py:562
↓ 11 callersFunction_first
Return the first string value from a palette entry (list or scalar).
lib/hyperframes_style_bridge.py:41
↓ 11 callersMethodload
Load existing corpus from disk. Silently starts empty if absent.
lib/corpus.py:130
↓ 10 callersMethoddiscover
Import a package tree and register any concrete tools it defines.
tools/tool_registry.py:118
↓ 10 callersMethodensure_discovered
Load tool modules once before reporting capabilities.
tools/tool_registry.py:136
↓ 10 callersMethodtry_link
Hard-link (or copy) a cached clip into ``dest`` if present. Returns ``True`` on cache hit, ``False`` on miss. On hit, the entry's ``l
tools/video/clip_cache.py:318
↓ 9 callersFunction_make_track
(path: Path, data: bytes = b"\x00\x01\x02\x03")
tests/tools/test_music_library.py:21
↓ 9 callersMethod_read_manifest
Read the manifest file into a dict keyed by clip_id. Malformed lines are skipped silently — a single bad row must not poison the whol
tools/video/clip_cache.py:261
↓ 9 callersMethod_runtime_check
Return availability state for the HyperFrames runtime. Checks BOTH local binaries (node >= 22, ffmpeg, npx) AND that the `hyperframes
tools/video/hyperframes_compose.py:304
↓ 9 callersFunctionget_profile
Get a media profile by name.
lib/media_profiles.py:142
↓ 9 callersMethodto_dict
(self)
tools/video/clip_cache.py:148
↓ 9 callersFunctionvalidate_contrast
Calculate WCAG 2.1 contrast ratio between foreground and background. Uses sRGB relative luminance: L = 0.2126*R + 0.7152*G + 0.0722*B Args:
styles/playbook_loader.py:194
↓ 8 callersMethod_filter_candidates
( self, inputs: dict[str, object], candidates: list[BaseTool], )
tools/video/video_selector.py:328
↓ 8 callersMethod_ts_srt
Format seconds as SRT timestamp: HH:MM:SS,mmm
tools/subtitle/subtitle_gen.py:312
↓ 8 callersMethod_ts_vtt
Format seconds as VTT timestamp: HH:MM:SS.mmm
tools/subtitle/subtitle_gen.py:321
↓ 8 callersFunctionall_sources
Instantiate every registered adapter, whether available or not. Returned instances are cheap — adapters keep no state beyond env var reads, s
tools/video/stock_sources/__init__.py:73
↓ 8 callersMethodgenerate
Submit → poll → download. Returns list of artifact paths.
tools/_comfyui/client.py:224
↓ 8 callersMethodget_by_capability
Get all tools registered for a top-level capability family.
tools/tool_registry.py:153
↓ 8 callersMethodget_status
Check if this tool's dependencies are satisfied.
tools/base_tool.py:201
↓ 8 callersMethodis_available
(self)
tools/video/stock_sources/esa.py:49
↓ 8 callersMethodload
(cls, path: Path)
tests/eval/replay_harness/harness.py:34
↓ 8 callersFunctionload_playbook
Load and validate a style playbook by name. Args: name: Playbook name (without .yaml extension). styles_dir: Override directory f
styles/playbook_loader.py:33
↓ 8 callersMethodsave
(self, path: Path)
tests/eval/replay_harness/harness.py:47
↓ 7 callersFunction_meta_value
(meta: dict[str, Any], key: str)
tools/video/stock_sources/wikimedia.py:277
↓ 7 callersMethod_run_final_review
Run post-render self-review and produce a final_review artifact. This is the governance contract: the compose runtime MUST inspect th
tools/video/video_compose.py:1963
↓ 7 callersFunction_to_text
Flatten Archive.org's sometimes-list-sometimes-string fields. The search API returns `creator`, `subject`, and `description` as either a stri
tools/video/stock_sources/archive_org.py:524
↓ 7 callersMethodadd
Append a new clip to the corpus. Idempotent by clip_id.
lib/corpus.py:190
↓ 7 callersMethodestimate_cost
Estimate cost in USD for the given inputs. Override for paid tools.
tools/base_tool.py:280
↓ 7 callersFunctionget_stage_order
Extract the ordered list of stage names from a manifest. ``include_sub_stages=True`` exposes declarative sample/preview units to the agent wi
lib/pipeline_loader.py:105
↓ 7 callersFunctionget_torch_device
Return best available torch device: cuda > mps (Apple Silicon Metal) > cpu. Priority order: 1. cuda — NVIDIA GPU (fastest for most diffusi
tools/video/_shared.py:150
↓ 7 callersMethodis_available
Return True if the ComfyUI server is reachable.
tools/_comfyui/client.py:49
↓ 7 callersMethodload_workflow
Load a workflow JSON template from disk.
tools/_comfyui/client.py:269
↓ 7 callersFunctionprobe_output
(path: Path)
tools/video/_shared.py:659
↓ 7 callersFunctionsample_artifact
Return a minimal schema-valid artifact for tests.
tests/contracts/test_phase0_contracts.py:46
↓ 7 callersMethodsearch
(self, query: str, filters: SearchFilters)
tools/video/stock_sources/esa.py:56
↓ 6 callersFunction_build_search_queries
Return a cascade of search queries to try in preference order. Commons' CirrusSearch defaults to AND semantics for multi-word queries, so a 4
tools/video/stock_sources/wikimedia.py:134
↓ 6 callersMethod_compare_transcript_to_script
Compare a word-level transcript against the source script. Purpose: catch TTS failures that look fine on audio-volume/duration checks
tools/video/video_compose.py:1856
↓ 6 callersMethod_escape_attr
(s: str)
tools/video/hyperframes_compose.py:1184
↓ 6 callersMethod_providers
Auto-discover video generation providers from the registry.
tools/video/video_selector.py:135
↓ 6 callersMethod_remotion_render
Render via Remotion (requires Node.js + npx). Handles compositions with still images, animated scenes, component types, and transitio
tools/video/video_compose.py:1661
↓ 6 callersFunctioncheck_color_blind_safety
Check a list of colors for color-blind confusion pairs. Simulates deuteranopia, protanopia, and tritanopia confusion. Flags color pairs that
styles/playbook_loader.py:227
↓ 6 callersFunctionclamp
(v: number)
remotion-composer/src/Explainer.tsx:80
↓ 6 callersMethodexecute
(self, inputs: dict[str, Any])
tools/capture/screen_capture_selector.py:145
↓ 6 callersMethodexplain
Human-readable explanation of this score.
lib/scoring.py:52
↓ 6 callersMethodfrom_dict
(cls, d: dict[str, Any])
tools/video/clip_cache.py:152
↓ 6 callersFunctionhexToRgb
(hex: string)
remotion-composer/src/Explainer.tsx:63
↓ 6 callersFunctionrank_providers
Rank a list of tools by weighted score for a given task context. Returns scores sorted best-first.
lib/scoring.py:533
↓ 6 callersFunctionresolveAsset
(src: string)
remotion-composer/src/Explainer.tsx:16
↓ 6 callersFunctionwrite
(path: Path, content: str)
scripts/scaffold_atelier_project.py:41
↓ 5 callersMethod_escape_text
(s: str)
tools/video/hyperframes_compose.py:1176
↓ 5 callersFunction_make_video
(path: Path)
tests/tools/test_export_bundle.py:22
↓ 5 callersMethod_probe_clip
Probe a single clip with ffprobe and return metadata dict.
tools/video/video_stitch.py:256
↓ 5 callersMethod_providers
Auto-discover TTS providers from the registry.
tools/audio/tts_selector.py:124
↓ 5 callersMethod_providers
Auto-discover screen_capture providers from the registry.
tools/capture/screen_capture_selector.py:128
↓ 5 callersMethod_providers
Auto-discover image generation providers from the registry.
tools/graphics/image_selector.py:133
↓ 5 callersMethod_rel_from_workspace
HyperFrames resolves src= relative to index.html. Our asset files live under workspace/assets/, so when we stage a copy we know the re
tools/video/hyperframes_compose.py:1188
↓ 5 callersMethod_require_workspace
(inputs: dict[str, Any])
tools/video/hyperframes_compose.py:756
↓ 5 callersMethod_run_hf
Invoke `npx hyperframes <args>` with the right Windows quirks. We intentionally bypass `self.run_command` here because we do NOT want
tools/video/hyperframes_compose.py:1117
↓ 5 callersFunction_safe_int
Parse a value to int, tolerating strings, None, and garbage.
tools/video/stock_sources/archive_org.py:511
↓ 5 callersFunction_tokenize_text
(value: str)
lib/scoring.py:193
↓ 5 callersFunction_write_json
(path: str | None, data: dict[str, Any])
tools/character/character_animation.py:30
↓ 5 callersMethodcheck_models
Check which of *required* model filenames are available. Returns ``(found, missing)`` — two lists of filenames.
tools/_comfyui/client.py:117
↓ 5 callersMethodexecute
(self, inputs: dict[str, Any])
tools/subtitle/subtitle_gen.py:82
↓ 5 callersMethodexecute
(self, inputs: dict[str, Any])
tools/video/video_compose.py:323
↓ 5 callersMethodget_info
(self)
tools/video/comfyui_video.py:233
↓ 5 callersFunctionget_required_tools
Collect tools across stages, sub-stages, and reference-input analysis.
lib/pipeline_loader.py:132
↓ 5 callersFunctionlimb
()
ink-theater/ink-puppet.js:40
↓ 5 callersFunctionlimb
()
ink-theater/examples/mocap-figure/ink-puppet.js:40
↓ 5 callersMethodpatch_workflow
Deep-copy *workflow* and apply *patches*. *patches* maps ``node_id`` → ``{input_name: value, ...}``.
tools/_comfyui/client.py:275
↓ 5 callersMethodsearch
(self, query: str, filters)
tests/tools/test_documentary_governance.py:19
↓ 5 callersFunctionsource_summary
Summarize source availability for preflight and tool contracts.
tools/video/stock_sources/__init__.py:116
↓ 5 callersFunctiontoSvgX
(x: number)
remotion-composer/src/components/charts/LineChart.tsx:73
next →1–100 of 1,491, ranked by callers