Sync source edition with VCC Plus 3.7.0 build 63
This commit is contained in:
1 parent
c652a5276d
commit
b2ecec4d87
86 files changed
+10519
-472
No files matched your search
@@ -85,6 +85,29 @@ static NSArray<NSDictionary *> *MCPBuildDiagnosticTools() {
|
||||
@"annotations":@{@"readOnlyHint":@YES,@"openWorldHint":@NO}}];
|
||||
}
|
||||
|
||||
static NSArray<NSDictionary *> *MCPPlaytestVideoTools() {
|
||||
NSDictionary *identifier = @{ @"type":@"string", @"minLength":@1, @"maxLength":@64 };
|
||||
NSDictionary *(^tool)(NSString *, NSString *, NSDictionary *, NSArray *, BOOL) =
|
||||
^NSDictionary *(NSString *name, NSString *description, NSDictionary *fields, NSArray *required, BOOL readOnly) {
|
||||
return @{ @"name":name, @"description":description,
|
||||
@"inputSchema":@{ @"type":@"object", @"properties":fields, @"required":required, @"additionalProperties":@NO },
|
||||
@"annotations":@{ @"readOnlyHint":@(readOnly), @"openWorldHint":@NO } };
|
||||
};
|
||||
return @[
|
||||
tool(@"start_playtest_video", @"Start a bounded MP4 recording of an owned disposable playtest's actual CoCo picture and optional generated CoCo audio. Does not advance execution: use ordinary playtest_input afterward. No microphone, Mac windows, personal emulator audio or capture UI cues are recorded. Maximum 3600 emulated fields (60 seconds), 64 MiB per clip, four clips and 256 MiB retained per run. Reuse an identical request_id on retry. Recordings end at their field/size limit with explicit truncation status; stop and retrieve the completed clip before restarting.",
|
||||
@{ @"run_id":identifier, @"request_id":identifier, @"include_audio":@{ @"type":@"boolean", @"default":@YES },
|
||||
@"max_fields":@{ @"type":@"integer", @"minimum":@1, @"maximum":@3600, @"default":@1800 } },
|
||||
@[@"run_id", @"request_id"], NO),
|
||||
tool(@"stop_playtest_video", @"Finish the current owned playtest recording without advancing the guest. Returns completed MP4 identity, byte count, SHA-256, actual field interval and truncation status. Retrying the identical request_id returns the same receipt. Remains available when ordinary mutation requests are exhausted; working files are retained if finalization fails.",
|
||||
@{ @"run_id":identifier, @"request_id":identifier }, @[@"run_id", @"request_id"], NO),
|
||||
tool(@"read_playtest_video", @"Read a completed MP4 belonging to this owned playtest in bounded base64 chunks. Assemble the chunks in offset order and verify the complete byte_count and SHA-256 from the receipt. Accepts only a clip_id returned by this run, never a host file path. Does not advance or change the guest.",
|
||||
@{ @"run_id":identifier, @"clip_id":identifier,
|
||||
@"offset":@{ @"type":@"integer", @"minimum":@0, @"maximum":@67108864, @"default":@0 },
|
||||
@"limit":@{ @"type":@"integer", @"minimum":@1, @"maximum":@65536, @"default":@65536 } },
|
||||
@[@"run_id", @"clip_id"], YES)
|
||||
];
|
||||
}
|
||||
|
||||
static NSArray<NSDictionary *> *MCPPlaytestAudioTools() {
|
||||
return @[@{@"name":@"capture_playtest_audio", @"description":@"Advance an owned disposable guest for 1 to 120 emulated fields and return its direct audio as PCM16 stereo WAV. Leaves the guest paused; verified stops can shorten the interval. Uses no microphone or personal emulator audio. Reuse request_id on retry to return the same clip without execution. Maximum 16 clips and 4 MiB retained WAV per run across boots; a maximum-clip allowance must remain before capture. Receipts include actual field interval, boot/run/artifact identity, sample count and SHA-256.",
|
||||
@"inputSchema":@{@"type":@"object", @"properties":@{
|
||||
|
||||
Reference in new issue
Block a user