@aswless_854771076/ai_short_studio_cli 0.1.98 → 0.1.100
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.
- package/README.md +15 -313
- package/dist/base-command.d.ts +0 -6
- package/dist/base-command.js +1 -39
- package/dist/client/api-client.js +2 -19
- package/dist/commands/auth/login.d.ts +1 -2
- package/dist/commands/auth/login.js +2 -5
- package/dist/commands/auth/logout.d.ts +0 -1
- package/dist/commands/auth/signup.d.ts +0 -1
- package/dist/commands/auth/status.d.ts +0 -1
- package/dist/commands/canvas/apply.d.ts +0 -1
- package/dist/commands/canvas/asset/get.d.ts +0 -1
- package/dist/commands/canvas/asset/list.d.ts +0 -1
- package/dist/commands/canvas/asset/select.d.ts +1 -3
- package/dist/commands/canvas/asset/select.js +3 -22
- package/dist/commands/canvas/asset/upload.d.ts +0 -14
- package/dist/commands/canvas/asset/upload.js +3 -43
- package/dist/commands/canvas/continuity/analyze.d.ts +0 -1
- package/dist/commands/canvas/edge/connect.d.ts +0 -1
- package/dist/commands/canvas/edge/disconnect.d.ts +0 -1
- package/dist/commands/canvas/edge/list.d.ts +0 -1
- package/dist/commands/canvas/edge/list.js +1 -4
- package/dist/commands/canvas/episode/create.d.ts +0 -1
- package/dist/commands/canvas/episode/list.d.ts +0 -1
- package/dist/commands/canvas/folder/copy-cross-project.d.ts +0 -1
- package/dist/commands/canvas/folder/create.d.ts +0 -1
- package/dist/commands/canvas/folder/delete.d.ts +0 -1
- package/dist/commands/canvas/folder/list.d.ts +0 -1
- package/dist/commands/canvas/folder/move.d.ts +0 -1
- package/dist/commands/canvas/folder/rename.d.ts +0 -1
- package/dist/commands/canvas/folder/restore.d.ts +0 -1
- package/dist/commands/canvas/get.d.ts +0 -1
- package/dist/commands/canvas/inspect.d.ts +0 -1
- package/dist/commands/canvas/node/add.d.ts +1 -1
- package/dist/commands/canvas/node/add.js +2 -2
- package/dist/commands/canvas/node/delete.d.ts +0 -1
- package/dist/commands/canvas/node/edit-resource.d.ts +0 -2
- package/dist/commands/canvas/node/edit-resource.js +1 -9
- package/dist/commands/canvas/node/edit-shot.d.ts +0 -1
- package/dist/commands/canvas/node/get.d.ts +0 -1
- package/dist/commands/canvas/node/list.d.ts +0 -5
- package/dist/commands/canvas/node/list.js +2 -43
- package/dist/commands/canvas/node/run.d.ts +0 -15
- package/dist/commands/canvas/node/run.js +6 -142
- package/dist/commands/canvas/node/types.d.ts +0 -1
- package/dist/commands/canvas/node/update-many.d.ts +0 -1
- package/dist/commands/canvas/node/update.d.ts +0 -1
- package/dist/commands/canvas/settings/get.d.ts +0 -1
- package/dist/commands/canvas/settings/set.d.ts +0 -24
- package/dist/commands/canvas/settings/set.js +1 -60
- package/dist/commands/config/get.d.ts +0 -1
- package/dist/commands/config/set.d.ts +0 -2
- package/dist/commands/config/set.js +2 -55
- package/dist/commands/preflight.d.ts +0 -1
- package/dist/commands/preflight.js +1 -9
- package/dist/commands/project/create.d.ts +0 -1
- package/dist/commands/project/delete.d.ts +0 -1
- package/dist/commands/project/get.d.ts +0 -1
- package/dist/commands/project/list.d.ts +0 -1
- package/dist/commands/project/update.d.ts +0 -1
- package/dist/commands/skill/install.d.ts +0 -1
- package/dist/commands/skill/install.js +0 -1
- package/dist/commands/skill/path.d.ts +0 -1
- package/dist/commands/skill/path.js +0 -1
- package/dist/commands/skill/status.d.ts +0 -1
- package/dist/commands/skill/status.js +0 -1
- package/dist/commands/task/cancel.d.ts +0 -1
- package/dist/commands/task/get.d.ts +0 -1
- package/dist/commands/task/wait.d.ts +0 -2
- package/dist/commands/task/wait.js +1 -6
- package/dist/domain/vvicat-api.d.ts +3 -63
- package/dist/domain/vvicat-api.js +9 -74
- package/dist/output/formatter.d.ts +0 -11
- package/dist/output/formatter.js +0 -20
- package/dist/preflight.d.ts +0 -1
- package/dist/preflight.js +1 -14
- package/dist/skill/command-flags.js +4 -7
- package/dist/skill/skill-manager.d.ts +2 -75
- package/dist/skill/skill-manager.js +15 -60
- package/package.json +3 -4
- package/scripts/postinstall.mjs +12 -7
- package/skills/using-vvicat-ai-short-studio-cli/SKILL.md +67 -27
- package/skills/using-vvicat-ai-short-studio-cli/references/commands/canvas.md +4 -3
- package/skills/using-vvicat-ai-short-studio-cli/references/commands/project.md +2 -26
- package/skills/using-vvicat-ai-short-studio-cli/references/commands.md +2 -2
- package/skills/using-vvicat-ai-short-studio-cli/references/editing-delivery.md +1 -1
- package/skills/using-vvicat-ai-short-studio-cli/references/h3-video-delivery.md +1 -1
- package/skills/using-vvicat-ai-short-studio-cli/references/humanizer/humanizer.md +9 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/SKILL.md +447 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/creation/brief.md +93 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/creation/project-files.md +246 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/creation/reference-video.md +266 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/creation/script-and-time.md +253 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/creation/transformations.md +141 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/environment/distribution.md +176 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/environment/local-tools.md +411 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/environment/model-and-provider.md +275 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/environment/profile.md +286 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/playbooks/craft/asset-and-shot-preproduction.md +193 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/playbooks/craft/b-roll.md +94 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/playbooks/craft/caption-tracking.md +125 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/playbooks/craft/captions.md +252 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/playbooks/craft/examples/conversation-images.md +218 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/playbooks/craft/examples/h3-base-prompt-writing.md +222 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/playbooks/craft/examples/h3-reference-prompt-writing.md +341 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/playbooks/craft/examples/image-direction.md +123 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/playbooks/craft/generated-dependencies.md +38 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/playbooks/craft/graphic-compositions.md +85 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/playbooks/craft/h3-prompt-writing.md +54 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/playbooks/craft/image-direction.md +95 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/playbooks/craft/motion-graphics.md +68 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/playbooks/craft/recreation-policy.md +51 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/playbooks/craft/screen-demonstrations.md +51 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/playbooks/craft/shot-production-contracts.md +161 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/playbooks/craft/sound-mix.md +76 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/playbooks/craft/video-direction.md +433 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/playbooks/craft/voice-and-performance.md +224 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/playbooks/craft/voice-direction.md +99 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/playbooks/formats/narration-led-demo.md +87 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/playbooks/formats/presenter-led-explainer.md +160 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/playbooks/formats/ranking-listicle.md +71 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/playbooks/formats/reference-recreation-canvas.md +8 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/playbooks/formats/short-drama-workflow.md +165 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/playbooks/formats/short-drama.md +88 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/playbooks/formats/street-interview.md +92 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/playbooks/formats/talking-head.md +82 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/playbooks/formats/two-person-podcast.md +101 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/playbooks/index.md +77 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/audio-presentation.md +49 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/authoring.md +228 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/browser-capture.md +112 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/builds.md +330 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/caption-authoring.md +156 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/caption-presentation.md +66 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/component-design.md +217 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/component-sharing.md +150 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/component-visuals.md +152 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/examples/detail.svrun +8 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/examples/direction.svs +14 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/examples/look.svs +6 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/examples/material.svrun +5 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/examples/production.svml +73 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/examples/production.svrun +5 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/examples/visuals.ts +62 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/fonts-and-text.md +138 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/image-operations.md +102 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/index.md +73 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/media-presentation.md +111 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/media.md +246 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/performance.md +114 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/prompt-kits.md +165 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/rendering.md +141 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/review.md +211 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/runs.md +151 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/script-syntax.md +236 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/snapshots.md +90 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/sound.md +75 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/source-syntax.md +163 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/spatial.md +189 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/studio-companions.md +186 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/studio.md +249 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/system.md +169 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/timeline.md +74 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/timing.md +96 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/track-authoring.md +215 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/tracks.md +67 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/video-downloads.md +47 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/hypit/production/vocabulary.md +119 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/project-and-canvas.md +1 -1
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/README.md +11 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/SKILL.md +102 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/art-styles.json +585 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/generate-character-images.md +11 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/generate-character-profiles/character-profile-output.schema.json +99 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/generate-character-profiles.md +7 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/generate-drama-art-style.md +9 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/generate-prop-assets.md +11 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/generate-scene-assets.md +13 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/manage-drama-art-styles.md +9 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/manage-drama-assets.md +9 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/analyze-drama-source/prompts/source_analysis.en.txt +24 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/analyze-drama-source/prompts/source_analysis.zh.txt +24 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/build-drama-storyboard/prompts/agent_acting_direction.en.txt +61 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/build-drama-storyboard/prompts/agent_acting_direction.zh.txt +79 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/build-drama-storyboard/prompts/agent_cinematographer.en.txt +101 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/build-drama-storyboard/prompts/agent_cinematographer.zh.txt +150 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/build-drama-storyboard/prompts/agent_storyboard_detail.en.txt +114 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/build-drama-storyboard/prompts/agent_storyboard_detail.zh.txt +89 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/build-drama-storyboard/prompts/agent_storyboard_plan.en.txt +114 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/build-drama-storyboard/prompts/agent_storyboard_plan.zh.txt +389 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/build-drama-storyboard/prompts/professional_storyboard.en.txt +40 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/build-drama-storyboard/prompts/professional_storyboard.zh.txt +40 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/define-drama-brief/prompts/drama_brief.en.txt +24 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/define-drama-brief/prompts/drama_brief.zh.txt +24 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/design-drama-audio/prompts/character_voice_description.en.txt +19 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/design-drama-audio/prompts/character_voice_description.zh.txt +19 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/design-drama-audio/prompts/character_voice_recommend.en.txt +26 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/design-drama-audio/prompts/character_voice_recommend.zh.txt +26 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/design-drama-audio/prompts/music_track_design.en.txt +33 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/design-drama-audio/prompts/music_track_design.zh.txt +33 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/design-drama-audio/prompts/voice_analysis.en.txt +36 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/design-drama-audio/prompts/voice_analysis.zh.txt +36 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/design-drama-bible/prompts/ai_story_expand.en.txt +33 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/design-drama-bible/prompts/ai_story_expand.zh.txt +33 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-character-images/prompts/agent_character_visual.en.txt +26 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-character-images/prompts/agent_character_visual.zh.txt +26 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-character-images/prompts/character_asset_sheet.en.txt +21 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-character-images/prompts/character_asset_sheet.zh.txt +21 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-character-images/prompts/character_create.en.txt +12 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-character-images/prompts/character_create.zh.txt +12 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-character-images/prompts/character_description_update.en.txt +13 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-character-images/prompts/character_description_update.zh.txt +13 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-character-images/prompts/character_image_to_description.en.txt +11 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-character-images/prompts/character_image_to_description.zh.txt +11 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-character-images/prompts/character_modify.en.txt +15 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-character-images/prompts/character_modify.zh.txt +15 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-character-images/prompts/character_regenerate.en.txt +14 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-character-images/prompts/character_regenerate.zh.txt +14 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-character-profiles/prompts/agent_character_profile.en.txt +50 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-character-profiles/prompts/agent_character_profile.zh.txt +50 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-drama-art-style/prompts/art_style_decision.en.txt +18 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-drama-art-style/prompts/art_style_decision.zh.txt +18 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-drama-art-style/prompts/config_generation.en.txt +67 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-drama-art-style/prompts/config_generation.zh.txt +67 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-prop-assets/prompts/prop_description_update.en.txt +14 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-prop-assets/prompts/prop_description_update.zh.txt +14 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-prop-assets/prompts/prop_generate.en.txt +16 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-prop-assets/prompts/prop_generate.zh.txt +16 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-prop-assets/prompts/select_prop.en.txt +17 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-prop-assets/prompts/select_prop.zh.txt +17 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-scene-assets/prompts/location_create.en.txt +11 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-scene-assets/prompts/location_create.zh.txt +11 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-scene-assets/prompts/location_description_update.en.txt +14 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-scene-assets/prompts/location_description_update.zh.txt +14 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-scene-assets/prompts/location_modify.en.txt +13 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-scene-assets/prompts/location_modify.zh.txt +13 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-scene-assets/prompts/location_regenerate.en.txt +12 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-scene-assets/prompts/location_regenerate.zh.txt +12 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-scene-assets/prompts/scene_asset_sheet.en.txt +19 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-scene-assets/prompts/scene_asset_sheet.zh.txt +19 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-scene-assets/prompts/select_location.en.txt +18 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-scene-assets/prompts/select_location.zh.txt +17 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-storyboard-images/prompts/panel_grid_enhance.en.txt +29 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-storyboard-images/prompts/panel_grid_enhance.zh.txt +29 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-storyboard-images/prompts/panel_grid_image.en.txt +77 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-storyboard-images/prompts/panel_grid_image.zh.txt +77 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-storyboard-images/prompts/panel_storyboard_image.en.txt +109 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/generate-storyboard-images/prompts/panel_storyboard_image.zh.txt +109 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/ideate-drama-from-market/prompts/market_inspiration.en.txt +23 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/ideate-drama-from-market/prompts/market_inspiration.zh.txt +23 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/outline-drama-series/prompts/episode_split.en.txt +42 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/outline-drama-series/prompts/episode_split.zh.txt +42 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/plan-drama-assets/prompts/asset_analysis.en.txt +55 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/plan-drama-assets/prompts/asset_analysis.zh.txt +55 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/plan-drama-production/prompts/production_plan.en.txt +49 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/plan-drama-production/prompts/production_plan.zh.txt +52 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/plan-shot-continuity/prompts/continuity_plan.en.txt +37 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/plan-shot-continuity/prompts/continuity_plan.zh.txt +37 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/review-drama-script/prompts/review_drama_script.en.txt +28 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/review-drama-script/prompts/review_drama_script.zh.txt +28 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/revise-drama-storyboards/prompts/agent_shot_variant_analysis.en.txt +57 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/revise-drama-storyboards/prompts/agent_shot_variant_analysis.zh.txt +169 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/revise-drama-storyboards/prompts/agent_shot_variant_generate.en.txt +64 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/revise-drama-storyboards/prompts/agent_shot_variant_generate.zh.txt +117 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/revise-drama-storyboards/prompts/agent_storyboard_insert.en.txt +34 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/revise-drama-storyboards/prompts/agent_storyboard_insert.zh.txt +34 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/revise-drama-storyboards/prompts/storyboard_edit.en.txt +18 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/revise-drama-storyboards/prompts/storyboard_edit.zh.txt +13 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/transform-drama-media/prompts/2d_to_live_action.en.txt +7 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/transform-drama-media/prompts/2d_to_live_action.zh.txt +7 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/transform-drama-media/prompts/image_prompt_modify.en.txt +28 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/transform-drama-media/prompts/image_prompt_modify.zh.txt +42 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/write-drama-director-book/prompts/director_book.en.txt +35 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/write-drama-director-book/prompts/director_book.zh.txt +35 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/write-drama-episode/prompts/agent_clip.en.txt +21 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/write-drama-episode/prompts/agent_clip.zh.txt +21 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/write-drama-episode/prompts/screenplay_conversion.en.txt +39 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/write-drama-episode/prompts/screenplay_conversion.zh.txt +39 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/write-drama-video-prompts/prompts/h3_video.en.txt +49 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/write-drama-video-prompts/prompts/h3_video.zh.txt +48 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/write-drama-video-prompts/prompts/panel_grid_video.en.txt +51 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/write-drama-video-prompts/prompts/panel_grid_video.zh.txt +51 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/write-drama-video-prompts/prompts/panel_storyboard_video.en.txt +50 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/write-drama-video-prompts/prompts/panel_storyboard_video.zh.txt +50 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/write-drama-video-prompts/prompts/seedance2_video.en.txt +48 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/modules/write-drama-video-prompts/prompts/seedance2_video.zh.txt +46 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/assets/plan-drama-assets.md +7 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/codex-contracts.md +14 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/comfly-provider.md +12 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/controlled-vocabulary.json +115 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/creation/analyze-drama-source.md +7 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/creation/define-drama-brief.md +8 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/creation/design-drama-bible.md +5 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/creation/humanizer.md +9 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/creation/outline-drama-series.md +5 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/creation/short-drama.md +13 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/creation/write-drama-director-book.md +6 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/creation/write-drama-episode.md +6 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/director-composition.md +794 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/editing/edit-deliver-drama.md +5 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/editing/edit-drama-timeline.md +22 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/editing/remotion-best-practices.md +12 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/editing-workflow.md +56 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/feature-completeness.md +111 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/generation/configure-generation-providers.md +17 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/generation/design-drama-audio.md +11 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/generation/drama-generation-service.md +13 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/generation/generate-drama-videos.md +9 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/generation/generate-storyboard-images.md +11 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/generation/monitor-drama-tasks.md +15 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/generation/transform-drama-media.md +9 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/generation/write-drama-video-prompts.md +50 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/market/analyze-drama-market/market-report.schema.json +46 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/market/analyze-drama-market/methodology.md +24 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/market/analyze-drama-market.md +47 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/market/ideate-drama-from-market/market-inspiration.schema.json +109 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/market/ideate-drama-from-market.md +15 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/module-map.json +595 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/music-catalog-providers.md +16 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/operations/manage-drama-projects.md +11 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/operations/orchestrate-short-drama.md +20 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/operations/recover-drama-pipeline.md +5 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/operations/short-drama-skill-index.md +29 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/operations/use-short-drama-studio.md +15 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/pipeline.md +85 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/project-spec-v1.md +217 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/prompt-skill-index.md +62 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/recreation/publish-drama-references/litterbox.md +5 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/review/review-drama-script.md +7 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/review/review-drama-shots.md +39 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/runninghub-provider.md +33 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/starrouter-provider.md +53 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/storyboard/build-drama-storyboard.md +13 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/storyboard/design-fight-video.md +19 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/storyboard/direct-blender-previz/action-previz.md +39 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/storyboard/direct-blender-previz/direction-contract.md +96 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/storyboard/direct-blender-previz/weapons-vfx.md +23 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/storyboard/direct-blender-previz.md +15 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/storyboard/generate-blender-previz.md +20 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/storyboard/plan-drama-production.md +21 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/storyboard/plan-shot-continuity.md +15 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/storyboard/revise-drama-storyboards.md +5 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/short-drama/usage-guide.md +107 -0
- package/skills/using-vvicat-ai-short-studio-cli/references/special-workflows.md +2 -8
- package/skills/using-vvicat-ai-short-studio-cli/references/troubleshooting.md +0 -1
- package/dist/auth/login-provider.d.ts +0 -2
- package/dist/auth/login-provider.js +0 -3
- package/dist/commands/canvas/node/quote.d.ts +0 -17
- package/dist/commands/canvas/node/quote.js +0 -13
- package/dist/commands/config/ai-provider/capabilities.d.ts +0 -60
- package/dist/commands/config/ai-provider/capabilities.js +0 -124
- package/dist/commands/config/ai-provider/get.d.ts +0 -22
- package/dist/commands/config/ai-provider/get.js +0 -21
- package/dist/commands/config/ai-provider/list.d.ts +0 -21
- package/dist/commands/config/ai-provider/list.js +0 -19
- package/dist/commands/config/ai-provider/models.d.ts +0 -22
- package/dist/commands/config/ai-provider/models.js +0 -21
- package/dist/commands/config/ai-provider/set.d.ts +0 -41
- package/dist/commands/config/ai-provider/set.js +0 -65
- package/dist/commands/config/ai-provider/test.d.ts +0 -25
- package/dist/commands/config/ai-provider/test.js +0 -24
- package/dist/commands/project/provider/get.d.ts +0 -15
- package/dist/commands/project/provider/get.js +0 -12
- package/dist/commands/project/provider/set.d.ts +0 -16
- package/dist/commands/project/provider/set.js +0 -18
- package/dist/commands/project/provider/test.d.ts +0 -15
- package/dist/commands/project/provider/test.js +0 -12
- package/dist/domain/ai-provider-capabilities.d.ts +0 -109
- package/dist/domain/ai-provider-capabilities.js +0 -180
- package/dist/domain/ai-provider-command-helpers.d.ts +0 -27
- package/dist/domain/ai-provider-command-helpers.js +0 -55
- package/skills/using-vvicat-ai-short-studio-cli/references/b-roll-and-screen.md +0 -9
- package/skills/using-vvicat-ai-short-studio-cli/references/caption-and-graphics-direction.md +0 -11
- package/skills/using-vvicat-ai-short-studio-cli/references/composition-and-shot-review.md +0 -17
- package/skills/using-vvicat-ai-short-studio-cli/references/craft-index.md +0 -20
- package/skills/using-vvicat-ai-short-studio-cli/references/drama-canvas.md +0 -19
- package/skills/using-vvicat-ai-short-studio-cli/references/format-relationships.md +0 -15
- package/skills/using-vvicat-ai-short-studio-cli/references/h3-prompts.md +0 -7
- package/skills/using-vvicat-ai-short-studio-cli/references/image-and-reference-direction.md +0 -9
- package/skills/using-vvicat-ai-short-studio-cli/references/licensed-music.md +0 -9
- package/skills/using-vvicat-ai-short-studio-cli/references/licenses/oh-my-short-drama-MIT.txt +0 -21
- package/skills/using-vvicat-ai-short-studio-cli/references/licenses/short-drama-MIT.txt +0 -21
- package/skills/using-vvicat-ai-short-studio-cli/references/media-provenance-and-review.md +0 -22
- package/skills/using-vvicat-ai-short-studio-cli/references/paid-plan.md +0 -7
- package/skills/using-vvicat-ai-short-studio-cli/references/production-specialties.md +0 -25
- package/skills/using-vvicat-ai-short-studio-cli/references/recreation.md +0 -21
- package/skills/using-vvicat-ai-short-studio-cli/references/reference-analysis-and-timing.md +0 -19
- package/skills/using-vvicat-ai-short-studio-cli/references/remotion-editing.md +0 -18
- package/skills/using-vvicat-ai-short-studio-cli/references/shot-production.md +0 -9
- package/skills/using-vvicat-ai-short-studio-cli/references/sound-and-captions.md +0 -7
- package/skills/using-vvicat-ai-short-studio-cli/references/sources.md +0 -6
- package/skills/using-vvicat-ai-short-studio-cli/references/story-craft/canvas-production.md +0 -9
- package/skills/using-vvicat-ai-short-studio-cli/references/story-craft/guide.md +0 -7
- package/skills/using-vvicat-ai-short-studio-cli/references/story-craft/index.md +0 -13
- package/skills/using-vvicat-ai-short-studio-cli/references/video-and-performance-direction.md +0 -9
- package/skills/using-vvicat-ai-short-studio-cli/references/voice-and-sound-direction.md +0 -9
- package/skills/using-vvicat-ai-short-studio-cli/references/writing-polish.md +0 -15
- /package/skills/using-vvicat-ai-short-studio-cli/references/{licenses/humanizer-MIT.txt → short-drama/assets/modules/humanizer/LICENSE} +0 -0
- /package/skills/using-vvicat-ai-short-studio-cli/references/{story-craft → short-drama/writing}/compliance-checklist.md +0 -0
- /package/skills/using-vvicat-ai-short-studio-cli/references/{story-craft → short-drama/writing}/genre-guide.md +0 -0
- /package/skills/using-vvicat-ai-short-studio-cli/references/{story-craft → short-drama/writing}/hook-design.md +0 -0
- /package/skills/using-vvicat-ai-short-studio-cli/references/{story-craft → short-drama/writing}/opening-rules.md +0 -0
- /package/skills/using-vvicat-ai-short-studio-cli/references/{story-craft → short-drama/writing}/paywall-design.md +0 -0
- /package/skills/using-vvicat-ai-short-studio-cli/references/{story-craft → short-drama/writing}/rhythm-curve.md +0 -0
- /package/skills/using-vvicat-ai-short-studio-cli/references/{story-craft → short-drama/writing}/satisfaction-matrix.md +0 -0
- /package/skills/using-vvicat-ai-short-studio-cli/references/{story-craft → short-drama/writing}/villain-design.md +0 -0
package/skills/using-vvicat-ai-short-studio-cli/references/hypit/environment/model-and-provider.md
ADDED
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
# Choose and connect model services
|
|
2
|
+
|
|
3
|
+
Read this when the work needs model access, the user brings an API key or deployment, or a selected
|
|
4
|
+
service cannot fulfill the request. This page owns the connection decision and project extension
|
|
5
|
+
path. [Profile](profile.md) owns configuration, credentials and routing; [local tools](local-tools.md)
|
|
6
|
+
owns local preparation. Material Craft owns what the generated or transformed media should do.
|
|
7
|
+
|
|
8
|
+
Go to [service choice](#choose-the-practical-capability-path-with-the-user),
|
|
9
|
+
[BYOK connection](#connect-a-service-the-user-brings),
|
|
10
|
+
[project implementation](#implement-the-missing-capability-in-the-project), or
|
|
11
|
+
[diagnosis](#diagnose-the-actual-connection) as needed.
|
|
12
|
+
|
|
13
|
+
## Start from the capability the work needs
|
|
14
|
+
|
|
15
|
+
Identify the next useful result and the material already available. A face replacement or motion
|
|
16
|
+
reference task needs an implementation supporting that operation and its actual references.
|
|
17
|
+
It does not automatically require transcription, an image-generation step or a local render browser.
|
|
18
|
+
An existing Output can satisfy a Run without another model call; [Build planning](../production/builds.md#plan-the-selected-run)
|
|
19
|
+
identifies the remaining requests when a Run exists.
|
|
20
|
+
|
|
21
|
+
Keep these responsibilities clear:
|
|
22
|
+
|
|
23
|
+
| Part | What it decides |
|
|
24
|
+
| --- | --- |
|
|
25
|
+
| Model | Authored request meaning: exact model, text/media inputs, reference roles, parameters and result types |
|
|
26
|
+
| Provider | How to fulfill that capability through an API or local process |
|
|
27
|
+
| Endpoint | One configured Provider instance using a particular service, account or deployment |
|
|
28
|
+
| Runtime Profile | Which Endpoints and Credential Stores are selected, and explicit bindings where needed |
|
|
29
|
+
|
|
30
|
+
One Model can be served by different Providers when they implement its exact capability. One Provider
|
|
31
|
+
can implement several Models. Installing a Model describes requests; it does not grant service access.
|
|
32
|
+
Having a key grants only whatever the issuing service permits; it does not implement that service's API.
|
|
33
|
+
|
|
34
|
+
## Choose the practical capability path with the user
|
|
35
|
+
|
|
36
|
+
**For native video production, use StarRouter for generated video and StarRouter-routed Comfly for reference
|
|
37
|
+
preprocessing.** MiniMax H3 also uses StarRouter. Existing direct Comfly and RunningHub production bindings must be replaced before new paid work. Every route remains limited by account access and rates.
|
|
38
|
+
|
|
39
|
+
A user's existing service or deployment remains a normal choice. When a suitable maintained Provider
|
|
40
|
+
package is available, use its published version and package instructions; otherwise a project Provider
|
|
41
|
+
can connect the service through the same interfaces. The
|
|
42
|
+
[model and deployment service page](https://github.com/hypit-ai/hypit/blob/main/docs/guide/service-partners.md)
|
|
43
|
+
introduces partners and links their own documentation. A partnership alone does not establish that a
|
|
44
|
+
particular capability, account or implementation is available. Carry an already suitable, chosen
|
|
45
|
+
service forward.
|
|
46
|
+
|
|
47
|
+
For original-reference depth preprocessing, the native default is Comfly `1194` subtitle removal →
|
|
48
|
+
explicit original-timebase restoration → `1776` depth → restoration. Keep the original for all
|
|
49
|
+
analysis/audio/subtitle times. Whole shots ≤15 seconds only; drift >5% and missing outputs block.
|
|
50
|
+
The new Runtime uses a StarRouter API Key for Comfly through a Token CredentialRef, TempFile 1h,
|
|
51
|
+
and durable public task receipts; see the Provider README. Confirm both `comfly/1194` and
|
|
52
|
+
`comfly/1776` are enabled for the account before any paid submission. Existing direct Comfly Profiles may be read for history, but cannot submit new production tasks. Subtitle removal does not repair generated-shot errors.
|
|
53
|
+
|
|
54
|
+
BYOK means using an account/key supplied by the user. A key connects only the service that issued it.
|
|
55
|
+
OAuth and static keys are credential methods, not different
|
|
56
|
+
model capabilities. A Profile can mix services by capability.
|
|
57
|
+
|
|
58
|
+
| Route | What the user needs | What the Agent does |
|
|
59
|
+
| --- | --- | --- |
|
|
60
|
+
| An existing API service | Service identity, relevant API documentation/address and secure credential access | Reuse a compatible Provider or implement the needed API in the project |
|
|
61
|
+
| A chosen deployment | Its serving API, access and compute/account choice | Connect that API; deploy only if deployment is actually part of the requested work |
|
|
62
|
+
| Local inference | A suitable machine and an agreed preparation choice | Assess tools, resources and inference cost, then prepare the selected local Provider |
|
|
63
|
+
|
|
64
|
+
### Reuse bundled StarRouter Providers
|
|
65
|
+
|
|
66
|
+
Do not implement a project adapter when the selected Distribution already contains the matching
|
|
67
|
+
Provider. Read its installed README for the current Profile fields and limits.
|
|
68
|
+
|
|
69
|
+
| Service | Bundled Provider | Capabilities and important boundary |
|
|
70
|
+
| --- | --- | --- |
|
|
71
|
+
| Comfly through StarRouter | `@hypit/provider-comfly` with `transport=starrouter` | Original-reference subtitle removal (`comfly/1194`) and depth (`comfly/1776`); whole shot ≤15s/100MiB; TempFile 1h; explicit timebase restoration after each step |
|
|
72
|
+
| StarRouter | `@hypit/provider-starrouter` | GPT Image 2, MiniMax H3, Seedance 2 and Seedance 2 Fast; GPT Image references upload directly, while H3/Seedance references use the starter's TempFile.org publisher; Seedance video/audio references require measured `duration-seconds` and matching `@视频N`/`@音频N` prompt labels |
|
|
73
|
+
|
|
74
|
+
Model routing and prompt routing must agree. MiniMax H3 requests use an `h3:*` Surface and a prompt
|
|
75
|
+
written with the bundled [H3 prompt-writing guide](../playbooks/craft/h3-prompt-writing.md); Seedance requests use a `seedance:*` Surface and its own
|
|
76
|
+
reference-label conventions. Before a paid Build, inspect the effective Surface and binding after any
|
|
77
|
+
node-level override. Stop on a mismatch instead of silently sending an H3 prompt to Seedance or a
|
|
78
|
+
Seedance prompt to H3.
|
|
79
|
+
|
|
80
|
+
StarRouter declares an `apiKey` credential slot. The StarRouter-routed Comfly adapter declares `token`;
|
|
81
|
+
the StarRouter route points it to the same `starrouter.api-key` CredentialRef. Use
|
|
82
|
+
`hypit auth login starrouter.comfly` if that Key is not stored yet; never put its value in the Profile.
|
|
83
|
+
Select the service under `endpoints`, route the
|
|
84
|
+
exact capability under `bindings` when more than one Endpoint offers it, then use `hypit auth login
|
|
85
|
+
<endpoint>` with a writable Credential Store. The starter Runtime uses TempFile.org for temporary public references. Confirm the user accepts the public exposure and its expiry before a reference-led paid Run; do not drop references.
|
|
86
|
+
|
|
87
|
+
For reference-led recreation, strongly recommend chaining `@hypit/depth-video@1#depth-video` into the existing H3 or
|
|
88
|
+
Seedance `ReferenceVideo` Surface. Keep the character image and depth video as separate references,
|
|
89
|
+
describe the latter as structure/motion/camera guidance in the Prompt, and call the result
|
|
90
|
+
“depth-reference generation”, not native depth or ControlNet conditioning. StarRouter Seedance needs
|
|
91
|
+
`person-reference="false" duration-seconds="…"` on the depth video, `duration-seconds="…"` on every
|
|
92
|
+
audio reference, and matching `@图片N`/`@视频N`/`@音频N` labels in the Prompt; StarRouter H3 accepts the same depth Artifact as an ordinary video reference. The plan must
|
|
93
|
+
show the depth request before the generated-shot request. Skipping it requires an explicit reason such
|
|
94
|
+
as no useful temporal source, an incompatible target model, or a user-approved creative departure.
|
|
95
|
+
|
|
96
|
+
StarRouter Seedance 2 does accept character images. Do not treat Seedance's `personReference` field
|
|
97
|
+
as proof that an image is a prohibited real-person face. If StarRouter returns
|
|
98
|
+
`InputImageSensitiveContentDetected.PrivacyInformation` or `fail_to_fetch_task`, the bundled Provider
|
|
99
|
+
can optionally send HTTP(S) image references through BytePlus Ark asset review and retry once. Enable
|
|
100
|
+
that path only by configuring `bytePlusAccessKeyId`, `bytePlusAccessKeySecret` and
|
|
101
|
+
`seedanceAssetGroupId` together; `seedanceAssetProjectName` defaults to `hypit`. Without that optional
|
|
102
|
+
configuration, preserve the original StarRouter error instead of retrying or dropping the image.
|
|
103
|
+
|
|
104
|
+
Carry a suitable existing choice forward. Compare remaining setup work, capabilities, hardware,
|
|
105
|
+
download/inference time and account costs. Ready local WhisperX can be useful immediately; first-time
|
|
106
|
+
large-model preparation is a different choice. Cached weights reduce work but do not choose the route.
|
|
107
|
+
A mixed setup, such as local alignment and hosted video generation, is ordinary.
|
|
108
|
+
|
|
109
|
+
Explain consequential choices before a new account connection, substantial preparation or paid work.
|
|
110
|
+
Use the user's settled account, budget and preparation scope without asking again for each command.
|
|
111
|
+
Record decisions in the project's Brief or continuation notes. Revisit a route when new evidence changes
|
|
112
|
+
its practicality; a failed service does not authorize switching the account or billing route.
|
|
113
|
+
|
|
114
|
+
Hypit is the open-source tool. Hosted model services have their own accounts and billing.
|
|
115
|
+
An installed Skill or executable supplies no model credits. A subscription alone does not establish
|
|
116
|
+
access to the required model API. Explain cost for the actual remaining work and reuse;
|
|
117
|
+
[Builds](../production/builds.md#work-within-the-agreed-paid-scope) owns spending estimates and submission.
|
|
118
|
+
|
|
119
|
+
## Connect a service the user brings
|
|
120
|
+
|
|
121
|
+
### Establish the service and intended operation
|
|
122
|
+
|
|
123
|
+
Use already supplied information first. If something essential is missing, ask for the service name
|
|
124
|
+
and API documentation or base address, plus the desired model/operation. Ask for secure authorization
|
|
125
|
+
when the configured connection is ready; the user should not paste a key into the conversation.
|
|
126
|
+
A key alone does not explain whether a service offers chat, images, reference-driven video,
|
|
127
|
+
face replacement or motion control.
|
|
128
|
+
|
|
129
|
+
The Agent owns API research, package implementation and Profile wiring. Explain what connection work
|
|
130
|
+
remains in terms of the requested result. Each service issues its own credentials; a key from another
|
|
131
|
+
vendor must not be entered for the selected Endpoint.
|
|
132
|
+
|
|
133
|
+
### Decide what actually needs changing
|
|
134
|
+
|
|
135
|
+
| User's situation | Appropriate action |
|
|
136
|
+
| --- | --- |
|
|
137
|
+
| Replace a credential for the same configured service/account | Update that Store entry; preserve its Endpoint reference |
|
|
138
|
+
| Add another account on the same service | Add an Endpoint using the same Provider and a distinct credential key |
|
|
139
|
+
| Use another deployment with the same complete protocol | Use the Provider's supported address configuration |
|
|
140
|
+
| A published Provider implements the required Model for this service | Install the selected package version if needed; configure its Endpoint, credential slots and routing |
|
|
141
|
+
| The Model exists but the API differs | Implement a project Provider for the existing capability |
|
|
142
|
+
| The requested model/operation is not described | Add a project Model and a Provider implementing that capability |
|
|
143
|
+
| An API works without a credential | Configure the Endpoint as its Provider declares; no auth command is needed |
|
|
144
|
+
| Compute is available but no model service exists yet | Establish the selected serving deployment before connecting inference |
|
|
145
|
+
|
|
146
|
+
Similar model labels and “OpenAI-compatible” branding do not establish matching upload, reference,
|
|
147
|
+
job, result or authentication protocols. Changing `baseUrl` is valid only when the complete required
|
|
148
|
+
protocol matches. Preserve authored requests: a narrower Provider reports its actual support rather
|
|
149
|
+
than silently reducing duration, dropping references or changing resolution.
|
|
150
|
+
|
|
151
|
+
### Configure, authorize and route the selected implementation
|
|
152
|
+
|
|
153
|
+
Read that Provider's configuration and credential slots. Field names such as `apiKey` and `baseUrl`
|
|
154
|
+
are Provider-owned, not universal Profile fields.
|
|
155
|
+
|
|
156
|
+
For a concrete implementation example, the Distribution's `examples/provider-package` contains
|
|
157
|
+
image and video Providers. After adapting and installing its video package for the real service,
|
|
158
|
+
its Profile fragment has this shape:
|
|
159
|
+
|
|
160
|
+
```json
|
|
161
|
+
{
|
|
162
|
+
"credentials": {
|
|
163
|
+
"platform": { "use": "@hypit/credential-store-platform" }
|
|
164
|
+
},
|
|
165
|
+
"endpoints": {
|
|
166
|
+
"videos.personal": {
|
|
167
|
+
"use": "@example/provider-videos",
|
|
168
|
+
"config": {
|
|
169
|
+
"baseUrl": "https://videos.example",
|
|
170
|
+
"apiKey": { "store": "platform", "key": "videos.personal" }
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"bindings": {
|
|
175
|
+
"@hypit/seedance@1#seedance-2-mini": "videos.personal"
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
The example API and address are illustrative, not a working vendor connection. Replace its transport
|
|
181
|
+
and address with the selected service's actual protocol, and use the installed package name.
|
|
182
|
+
The capability above is the existing Seedance Mini capability that this example implements;
|
|
183
|
+
copy the real Model's complete capability reference for a different request.
|
|
184
|
+
|
|
185
|
+
Then use the declared acquisition method:
|
|
186
|
+
|
|
187
|
+
```bash
|
|
188
|
+
hypit auth login videos.personal
|
|
189
|
+
hypit plan ./production.svrun
|
|
190
|
+
hypit pricing ./production.svrun
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
The example Provider has a writable key slot and no browser flow, so login securely prompts for the
|
|
194
|
+
key. An Endpoint declaring OAuth instead opens its flow; `--from <private-file>` selects file import.
|
|
195
|
+
A read-only environment Store is configured in the execution environment rather than through login.
|
|
196
|
+
|
|
197
|
+
The binding directs this capability to the selected Endpoint when multiple implementations exist.
|
|
198
|
+
It does not send another service's key to this Endpoint. Other capabilities can keep their existing route.
|
|
199
|
+
`plan` reports support and cheap readiness for known inputs; `pricing` reads service-owned rate
|
|
200
|
+
information. Submit the real request within the agreed scope; these checks do not prove that a paid
|
|
201
|
+
generation has already succeeded.
|
|
202
|
+
|
|
203
|
+
## Implement the missing capability in the project
|
|
204
|
+
|
|
205
|
+
Inspect the Model vocabulary, its README and the service's API. Reuse a compatible implementation
|
|
206
|
+
when present; otherwise create the needed `packages/provider-…` in this production. A project
|
|
207
|
+
extension uses public interfaces and does not require an official framework release.
|
|
208
|
+
|
|
209
|
+
Follow one actual request:
|
|
210
|
+
|
|
211
|
+
1. Identify the exact capability, input roles and result type. A new Model owns new author semantics;
|
|
212
|
+
another API for an existing Model belongs in its Provider.
|
|
213
|
+
2. Map text, scalar parameters and every supplied media role/field to the real API. Declare actual
|
|
214
|
+
service limits through `supports`, including what is knowable before generated inputs exist.
|
|
215
|
+
Account-visible catalogue evidence can refine availability when the service provides it.
|
|
216
|
+
3. Implement immediate execution or the real `start`, `poll` and `collect` lifecycle. Checkpoint
|
|
217
|
+
an acknowledged task receipt promptly; Runtime owns continued scheduling. Report progress and
|
|
218
|
+
preserve public failure evidence without exposing credentials or signed URLs.
|
|
219
|
+
4. Admit returned media through `context.resources` and return the declared result type. Configure
|
|
220
|
+
capacity for the actual resource and expose the service's price source and applicable units.
|
|
221
|
+
5. Compile and install the package with the project's package manager, select its `use` and bindings,
|
|
222
|
+
and exercise the requested path within the user's existing authorization.
|
|
223
|
+
|
|
224
|
+
Locate the complete `examples/provider-package/README.md` through `hypit paths`. Use its
|
|
225
|
+
`provider-images` or `provider-videos` package according to the request shape. The video example
|
|
226
|
+
covers image/video/audio references, first/last frames, required visual-reference person classification and separate
|
|
227
|
+
result collection. Its mappings, limits and transport are examples to adapt, not a new shared API.
|
|
228
|
+
Implement only the service capabilities this work needs.
|
|
229
|
+
|
|
230
|
+
The Provider's `supports` response describes its actual range without narrowing the shared Model or
|
|
231
|
+
silently changing an author's request.
|
|
232
|
+
|
|
233
|
+
## Use the public SDK
|
|
234
|
+
|
|
235
|
+
| Public import | Accurate interface owner |
|
|
236
|
+
| --- | --- |
|
|
237
|
+
| `@hypit/hypit/model-kit` | Model ports and Producer/Need construction |
|
|
238
|
+
| `@hypit/hypit/generation` | Generated-media values and request/mapping helpers |
|
|
239
|
+
| `@hypit/hypit/endpoint-kit` | Execution, resources, credentials, support, receipts and capacity |
|
|
240
|
+
| `@hypit/hypit/runtime-kit` | Profile activation, diagnostics and Managed Programs |
|
|
241
|
+
| `@hypit/hypit/author-kit` | Author Module, Surface and Fragment declarations |
|
|
242
|
+
|
|
243
|
+
These packages' READMEs ship with the Distribution and own precise APIs. Use the selected
|
|
244
|
+
`@hypit/hypit` release as the extension's development dependency; ship compiled JavaScript and normal
|
|
245
|
+
runtime dependencies. The copied repository example's `workspace:*` development dependencies need
|
|
246
|
+
the appropriate installed release, as its README explains.
|
|
247
|
+
[Component sharing](../production/component-sharing.md) owns later owner-managed distribution.
|
|
248
|
+
|
|
249
|
+
## Use your own model deployment
|
|
250
|
+
|
|
251
|
+
If the user already has a serving API, connect it by the same Provider path. If they have compute
|
|
252
|
+
but no service, use that platform's current deployment guidance and the model's serving instructions.
|
|
253
|
+
Explain persistence, hardware and cost for the actual deployment. Management credentials and inference
|
|
254
|
+
credentials may serve different operations. Deployment lifetime remains separate from generation jobs.
|
|
255
|
+
|
|
256
|
+
Local inference uses the same boundary. A Provider can invoke a local process; a Managed Program
|
|
257
|
+
declares preparation and an optional persistent helper when needed. [Local tools](local-tools.md)
|
|
258
|
+
explains using that declaration. The selected implementation owns its service protocol.
|
|
259
|
+
|
|
260
|
+
## Diagnose the actual connection
|
|
261
|
+
|
|
262
|
+
A missing adapter, rejected credential, unavailable model, unsupported input and exhausted quota
|
|
263
|
+
call for different actions. Keep the Endpoint, model/operation and returned public status/code/reason
|
|
264
|
+
with the evidence. An isolated `401` or `model_not_found` does not prove that payment or another
|
|
265
|
+
login will fix the request. Read account-visible service information when availability is in question.
|
|
266
|
+
|
|
267
|
+
Use current API documentation and the installed implementation to pursue a proportionate fix.
|
|
268
|
+
A relevant [release update](distribution.md#check-and-update-the-relevant-installation), configuration
|
|
269
|
+
change or project adapter repair can move the work forward. Report the actual change and what was
|
|
270
|
+
verified; a repaired installation's success is distinct from the original release's behavior.
|
|
271
|
+
Framework maintenance follows its repository instructions; this Skill owns production and public
|
|
272
|
+
package extensions.
|
|
273
|
+
|
|
274
|
+
Keep independent work moving when a capability is unavailable, and explain the specific deliverable
|
|
275
|
+
still waiting for it. Preserve the user's chosen service and intended result while resolving that gap.
|
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
# Configure the Runtime Profile
|
|
2
|
+
|
|
3
|
+
Read this when selecting a project's execution environment, wiring Endpoints and credentials,
|
|
4
|
+
setting shared capacity, or deciding when a configuration change takes effect.
|
|
5
|
+
[Models and Providers](model-and-provider.md) owns service choice and BYOK;
|
|
6
|
+
[local tools](local-tools.md) owns preparation and process management.
|
|
7
|
+
|
|
8
|
+
Go to [Profile selection](#create-a-profile-when-the-project-needs-one),
|
|
9
|
+
[configuration structure](#read-and-edit-the-actual-configuration),
|
|
10
|
+
[routing](#connect-model-capability-need-and-endpoint),
|
|
11
|
+
[credentials](#put-secrets-behind-credential-references),
|
|
12
|
+
[capacity](#set-capacity-at-the-resource-it-describes), or
|
|
13
|
+
[change effects](#know-when-a-change-takes-effect) as needed.
|
|
14
|
+
|
|
15
|
+
## Create a Profile when the project needs one
|
|
16
|
+
|
|
17
|
+
From the project directory:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
hypit runtime init
|
|
21
|
+
hypit paths
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
`runtime init` writes and selects an editable starter `hypit.runtime.json`. It preserves an existing
|
|
25
|
+
Profile and performs no installation or login. Its hosted generation/alignment, local media and local
|
|
26
|
+
rendering entries are initial routing choices, not a requirement to prepare every service for every
|
|
27
|
+
video. Keep the entries and bindings appropriate to the work and the user's chosen setup.
|
|
28
|
+
|
|
29
|
+
Use `hypit runtime use <profile>` to record an existing Profile for this project.
|
|
30
|
+
`--runtime <profile>` selects one for a single invocation. Commands read the project's
|
|
31
|
+
`.hypit/runtime` selection file; they do not guess from a familiar filename or another project's
|
|
32
|
+
selection. From elsewhere, `hypit paths --workspace /path/to/project` inspects that project. The same
|
|
33
|
+
project option applies to environment commands and Build status/control. See the
|
|
34
|
+
[project boundary](../creation/project-files.md#establish-the-project-boundary).
|
|
35
|
+
|
|
36
|
+
Keep these locations distinct:
|
|
37
|
+
|
|
38
|
+
| Location | Responsibility |
|
|
39
|
+
| --- | --- |
|
|
40
|
+
| Project directory | Sources, Runs, assets and component dependencies |
|
|
41
|
+
| `.hypit/runtime` | File naming the selected Profile |
|
|
42
|
+
| Profile file | Editable execution choices; may be shared intentionally |
|
|
43
|
+
| Profile `dataRoot` | Execution data, Worker state and working files; relative to the Profile's directory |
|
|
44
|
+
| Host state / Program Home | Machine-level prepared packages and helpers, reported by `hypit paths` |
|
|
45
|
+
| Project Result repository | Finished Results and Outputs; configured separately in `hypit.results.json` |
|
|
46
|
+
|
|
47
|
+
The selection file and execution directory must be different paths. CLI, Studio and creation
|
|
48
|
+
commands address the same project context; there is no second CLI environment to initialize.
|
|
49
|
+
Installed code, selected configuration and existing execution data remain separate.
|
|
50
|
+
|
|
51
|
+
## Read and edit the actual configuration
|
|
52
|
+
|
|
53
|
+
A complete minimal Profile for credential-free local media work is:
|
|
54
|
+
|
|
55
|
+
```json
|
|
56
|
+
{
|
|
57
|
+
"format": "hypit.runtime-local@1",
|
|
58
|
+
"dataRoot": ".hypit/execution",
|
|
59
|
+
"credentials": {},
|
|
60
|
+
"endpoints": {
|
|
61
|
+
"media.local": {
|
|
62
|
+
"use": "@hypit/provider-media-local"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"bindings": {}
|
|
66
|
+
}
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
This selects media processing only. It needs compatible FFmpeg and FFprobe supplied by the host;
|
|
70
|
+
it does not install them, select an image model, or render HyperFrames pictures. Use it when those
|
|
71
|
+
are the actual requirements, not as a replacement for a production's existing Profile.
|
|
72
|
+
|
|
73
|
+
| Field | How to choose it |
|
|
74
|
+
| --- | --- |
|
|
75
|
+
| `credentials` | Named Credential Store adapters; empty when no selected Endpoint needs a secret |
|
|
76
|
+
| `endpoints` | Named Provider instances. `use` selects the package; its README defines `config` |
|
|
77
|
+
| `bindings` | Complete capability keys mapped to Endpoint instance names |
|
|
78
|
+
| Endpoint `pool` | Optional identity of a real shared account, deployment or compute quota |
|
|
79
|
+
| `dataRoot` | Where this Runtime keeps execution state; changing it selects different state |
|
|
80
|
+
| Optional `worker.executionMemoryMb` | Memory budget for Build execution processes; startup policy owned by the Runtime package |
|
|
81
|
+
|
|
82
|
+
Merge documentation fragments into the corresponding existing objects. Retain other services,
|
|
83
|
+
credential references and bindings the project uses. A fragment without `format` and `dataRoot`
|
|
84
|
+
is not a complete Profile. Package installation makes an adapter available; declaring it here
|
|
85
|
+
selects an instance. Configuration keys belong to that package, so a `baseUrl` or `apiKey` field
|
|
86
|
+
from one Provider is not a universal schema for all Providers.
|
|
87
|
+
|
|
88
|
+
## Connect Model, capability, Need and Endpoint
|
|
89
|
+
|
|
90
|
+
The [Model and Provider roles](model-and-provider.md#start-from-the-capability-the-work-needs)
|
|
91
|
+
keep authoring separate from deployment. One authored request produces a concrete external **Need**
|
|
92
|
+
only if its output remains demanded by the Run. Existing Result Candidates can satisfy that output
|
|
93
|
+
without another generation request.
|
|
94
|
+
|
|
95
|
+
A **capability** identifies the required operation. The Profile routes it to an **Endpoint**, a
|
|
96
|
+
configured Provider instance. A **binding** is that explicit routing choice. For example, after
|
|
97
|
+
declaring and configuring `whisperx.local`, merge:
|
|
98
|
+
|
|
99
|
+
```json
|
|
100
|
+
{
|
|
101
|
+
"bindings": {
|
|
102
|
+
"@hypit/whisperx@1#whisperx-alignment": "whisperx.local"
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
Use the complete capability key from the Model/Provider vocabulary, not a vendor model label.
|
|
108
|
+
The named Endpoint must actually offer it and support the concrete request. One eligible Endpoint
|
|
109
|
+
needs no binding; several unbound choices are an error, not a fallback order. This lets the same
|
|
110
|
+
Source use local alignment in one deployment and hosted alignment in another.
|
|
111
|
+
|
|
112
|
+
Explicit bindings let capability-scoped commands load the named Endpoints directly. Without a
|
|
113
|
+
binding, discovering eligible implementations can require loading the declared Endpoint packages;
|
|
114
|
+
an uninstalled declared package can therefore block discovery. Correct the declaration or select
|
|
115
|
+
the intended binding. An unused account need not be logged in merely to resolve the work.
|
|
116
|
+
|
|
117
|
+
The complete local alignment example is in
|
|
118
|
+
[local WhisperX](local-tools.md#select-local-whisperx-explicitly). Hosted and BYOK examples are in
|
|
119
|
+
[service connections](model-and-provider.md). Result storage and project-package resolution are
|
|
120
|
+
separate from this routing.
|
|
121
|
+
|
|
122
|
+
## Put secrets behind credential references
|
|
123
|
+
|
|
124
|
+
A Profile names a Store and a key. The value stays in that Store.
|
|
125
|
+
|
|
126
|
+
| Store package | Storage and use |
|
|
127
|
+
| --- | --- |
|
|
128
|
+
| `@hypit/credential-store-platform` | Starter policy: macOS Keychain, Windows Credential Locker, or an owner-private unencrypted file on Linux |
|
|
129
|
+
| `@hypit/credential-store-os` | Explicit OS locker selection on supported platforms |
|
|
130
|
+
| `@hypit/credential-store-file` | Explicit unencrypted private file storage outside the project |
|
|
131
|
+
| `@hypit/credential-store-env` | Reads one named environment variable; read-only |
|
|
132
|
+
|
|
133
|
+
The platform policy selects by operating system; it is not a sequence of stores to try.
|
|
134
|
+
A read failure never migrates a secret or falls back to another Store. Preserve an existing choice.
|
|
135
|
+
The platform/file Store's default file directory is under the Host state root shown by `hypit paths`;
|
|
136
|
+
its optional `config.path` chooses a private directory. Read that Store's installed README for path
|
|
137
|
+
and platform rules, including filesystem permissions.
|
|
138
|
+
|
|
139
|
+
To select a Store explicitly, name it under `credentials` and use that name in the Endpoint's
|
|
140
|
+
credential reference. A credential-free Endpoint needs no auth command; prepare its tools directly.
|
|
141
|
+
|
|
142
|
+
For example, these are the Store declaration and credential reference used by a StarRouter Endpoint:
|
|
143
|
+
|
|
144
|
+
```json
|
|
145
|
+
{
|
|
146
|
+
"credentials": {
|
|
147
|
+
"platform": { "use": "@hypit/credential-store-platform" }
|
|
148
|
+
},
|
|
149
|
+
"endpoints": {
|
|
150
|
+
"starrouter.video": {
|
|
151
|
+
"use": "@hypit/provider-starrouter",
|
|
152
|
+
"config": {
|
|
153
|
+
"apiKey": { "store": "platform", "key": "starrouter.api-key" }
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
After the user has chosen that account connection:
|
|
161
|
+
|
|
162
|
+
```bash
|
|
163
|
+
hypit auth login starrouter.video
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
A Provider declaring browser acquisition uses that flow immediately. Otherwise, a writable Store
|
|
167
|
+
uses secure terminal input. `--from /private/path/key.txt` explicitly imports a secret file instead
|
|
168
|
+
of opening OAuth. Wait for CLI success: a successful browser callback alone does not establish
|
|
169
|
+
that the Store write succeeded. Login/logout can replace/remove a damaged value without reading it;
|
|
170
|
+
status and execution still report read errors.
|
|
171
|
+
|
|
172
|
+
For an intentionally environment-backed deployment, merge this alternative Store and change the
|
|
173
|
+
selected Endpoint's credential reference accordingly:
|
|
174
|
+
|
|
175
|
+
```json
|
|
176
|
+
{
|
|
177
|
+
"credentials": {
|
|
178
|
+
"env": { "use": "@hypit/credential-store-env" }
|
|
179
|
+
},
|
|
180
|
+
"endpoints": {
|
|
181
|
+
"starrouter.video": {
|
|
182
|
+
"use": "@hypit/provider-starrouter",
|
|
183
|
+
"config": {
|
|
184
|
+
"apiKey": { "store": "env", "key": "STARROUTER_API_KEY" }
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
Here `STARROUTER_API_KEY` is the explicitly selected variable name. Supply it securely to both
|
|
192
|
+
the CLI commands that need it and the Worker process at startup. `auth login` cannot write an
|
|
193
|
+
environment Store. Changing a terminal's environment does not change an already running Worker.
|
|
194
|
+
Other services use their own Endpoint, credential slot and variable, not this StarRouter example.
|
|
195
|
+
|
|
196
|
+
Use distinct Endpoint names and credential keys for separate accounts. Binding selects which one
|
|
197
|
+
serves the requested capability; entering another service's key does not change the Provider.
|
|
198
|
+
Local credential-free Endpoints need no login. `auth status <endpoint>` reports declared slots
|
|
199
|
+
without revealing values; configured does not mean accepted, funded, reachable, or authorized for
|
|
200
|
+
every model. Keep secrets out of Sources, Runs, Profile JSON, command arguments, commits and chat.
|
|
201
|
+
|
|
202
|
+
## Set capacity at the resource it describes
|
|
203
|
+
|
|
204
|
+
The Runtime Worker advances Builds. HyperFrames `workers` counts Chrome processes inside one
|
|
205
|
+
render Need. These are different controls; there is no extra Build-wide model concurrency setting.
|
|
206
|
+
|
|
207
|
+
| Control | Responsibility |
|
|
208
|
+
| --- | --- |
|
|
209
|
+
| Provider request capacity, commonly `config.defaultConcurrency` | Simultaneous Needs across Builds using the resource |
|
|
210
|
+
| Provider-specific model/action limits | Model quota or submit/poll/collect concurrency and rate; use that Provider's accepted fields |
|
|
211
|
+
| Endpoint `pool` | Shared resource identity for instances consuming the same real quota |
|
|
212
|
+
| HyperFrames `workers`, `maxWorkers` | Per-render Chrome count or automatic ceiling |
|
|
213
|
+
| HyperFrames `browserCapacity` | Shared Chrome budget alongside the whole-request budget |
|
|
214
|
+
|
|
215
|
+
For example, merge this Endpoint entry for an intentionally chosen render budget:
|
|
216
|
+
|
|
217
|
+
```json
|
|
218
|
+
{
|
|
219
|
+
"endpoints": {
|
|
220
|
+
"hyperframes.local": {
|
|
221
|
+
"use": "@hypit/provider-hyperframes-local",
|
|
222
|
+
"pool": "local-render",
|
|
223
|
+
"config": {
|
|
224
|
+
"defaultConcurrency": 2,
|
|
225
|
+
"workers": 4,
|
|
226
|
+
"browserCapacity": 6
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
Only one four-browser request fits the six-browser budget at once, even though the request limit is
|
|
234
|
+
two. These numbers illustrate the relationship; choose them for the actual machine. HyperFrames
|
|
235
|
+
reserves both budgets until the whole render finishes, including preparation and encoding.
|
|
236
|
+
It does not release capacity each time one browser closes.
|
|
237
|
+
|
|
238
|
+
Instances sharing a pool must agree on its limits. Separate accounts do not share one merely because
|
|
239
|
+
they offer the same model. Capacity coordination covers Builds sharing a Runtime Execution Store;
|
|
240
|
+
it is not a cross-machine account quota service. Accepted asynchronous Operations retain their task
|
|
241
|
+
claim while pending. Short submit/poll/collect calls have separate action budgets when declared.
|
|
242
|
+
Ending a Build attempt releases local claims while retaining receipts and last known remote state;
|
|
243
|
+
it does not imply a remote task has been cancelled.
|
|
244
|
+
|
|
245
|
+
Use `hypit activity` when actual claims matter. The installed Runtime and Provider READMEs own the
|
|
246
|
+
exact settings. Studio's permitted transient work has session-local concurrency.
|
|
247
|
+
|
|
248
|
+
## Ask each command for the fact it owns
|
|
249
|
+
|
|
250
|
+
| Question | Command and boundary |
|
|
251
|
+
| --- | --- |
|
|
252
|
+
| Which project, Profile and storage locations apply? | `hypit paths` |
|
|
253
|
+
| Is a named credential present? | `hypit auth status <endpoint>`; no account-access guarantee |
|
|
254
|
+
| What will this Run demand? | `hypit plan <run>`; concrete requests, support checks and cheap readiness of their selected Endpoints |
|
|
255
|
+
| Can the selected services be reached and used? | `hypit doctor --endpoint <instance>`; bounded active diagnosis, no generation submission |
|
|
256
|
+
| Is the Worker running and work active? | `hypit runtime status` |
|
|
257
|
+
| Which local helpers answer, and where are their logs? | `hypit programs status --endpoint <instance> --verbose` |
|
|
258
|
+
|
|
259
|
+
Choose the observation needed now; this is not a mandatory sequence before every operation.
|
|
260
|
+
Without a selected Profile, `doctor` checks project Results only. With one, it may contact remote
|
|
261
|
+
services for bounded diagnostics. `plan` does not actively probe remote services or install missing
|
|
262
|
+
resources. Neither command prepares every language model just because a local service is healthy.
|
|
263
|
+
|
|
264
|
+
Prepare the selected resources and start needed helpers through
|
|
265
|
+
[local Program commands](local-tools.md#let-the-selected-endpoint-own-its-program).
|
|
266
|
+
A missing capability can leave independent Script, reference or component work possible; explain
|
|
267
|
+
which requested outcome still depends on it. [Review](../production/review.md#show-what-the-current-work-establishes)
|
|
268
|
+
distinguishes useful intermediate evidence from the intended deliverable.
|
|
269
|
+
|
|
270
|
+
## Know when a change takes effect
|
|
271
|
+
|
|
272
|
+
| Change | What to do |
|
|
273
|
+
| --- | --- |
|
|
274
|
+
| Source, Run or project component implementation | Create a new Build for the changed work |
|
|
275
|
+
| Endpoint config or binding | New Builds read current choices; an existing Build retains its selected configuration |
|
|
276
|
+
| Writable Store credential value | Subsequent credential resolution uses that Store; changing a secret is not a blanket Worker restart instruction |
|
|
277
|
+
| Distribution installation, Worker startup policy or its inherited environment | Restart the Worker explicitly when active work permits |
|
|
278
|
+
| A running local service's model, device, compute, batch size or cache location | Prepare its selected resources, then restart that helper when idle |
|
|
279
|
+
| Additional WhisperX alignment language in the same cache | Run scoped `programs prepare`; the service can stay running |
|
|
280
|
+
| Browser download mirror | Used for the next required preparation; a healthy cached browser remains usable |
|
|
281
|
+
| Profile used by an existing Studio session | Restart the session if it needs to load the edited selection |
|
|
282
|
+
|
|
283
|
+
A new Build's execution context is not a snapshot of every external file or service.
|
|
284
|
+
Read [Build execution scope](../production/builds.md#build-with-the-current-project-implementation)
|
|
285
|
+
before restarting a coordinator or changing dependencies during active work.
|
|
286
|
+
Do not restart everything after every edit, or expect a completed Build to rerun itself.
|