mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-09-15 20:23:36 +00:00
Some checks are pending
Build and Release / Determine run mode (push) Waiting to run
Build and Release / Read metadata (push) Blocked by required conditions
Build and Release / Sync Flatpak repo (push) Blocked by required conditions
Build and Release / Collect Flatpak artifacts (push) Blocked by required conditions
Build and Release / Verify (push) Waiting to run
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-apple-darwin, osx-arm64, macos-latest, aarch64-apple-darwin, dmg,app,updater, dmg) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-pc-windows-msvc.exe, win-arm64, windows-latest, aarch64-pc-windows-msvc, nsis,updater, nsis) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-unknown-linux-gnu, linux-arm64, ubuntu-22.04-arm, aarch64-unknown-linux-gnu, appimage,updater, appimage) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-apple-darwin, osx-x64, macos-latest, x86_64-apple-darwin, dmg,app,updater, dmg) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-pc-windows-msvc.exe, win-x64, windows-latest, x86_64-pc-windows-msvc, nsis,updater, nsis) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-unknown-linux-gnu, linux-x64, ubuntu-22.04, x86_64-unknown-linux-gnu, appimage,updater, appimage) (push) Blocked by required conditions
Build and Release / Prepare & create release (push) Blocked by required conditions
Build and Release / Publish release (push) Blocked by required conditions
180 lines
3.9 KiB
JSON
180 lines
3.9 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://mindwork.ai/ai-studio/assistant-builder-lua-response.schema.json",
|
|
"title": "Assistant Builder Lua Response",
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"schema_version",
|
|
"plugin",
|
|
"assistant",
|
|
"full_lua"
|
|
],
|
|
"properties": {
|
|
"schema_version": {
|
|
"const": "assistant_builder_lua_response_v2"
|
|
},
|
|
"plugin": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"name",
|
|
"description",
|
|
"categories"
|
|
],
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"categories": {
|
|
"type": "array",
|
|
"minItems": 1,
|
|
"items": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"assistant": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/$defs/formAssistant"
|
|
},
|
|
{
|
|
"$ref": "#/$defs/chatLauncherAssistant"
|
|
}
|
|
]
|
|
},
|
|
"full_lua": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
}
|
|
},
|
|
"$defs": {
|
|
"formAssistant": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"kind",
|
|
"title",
|
|
"description",
|
|
"system_prompt",
|
|
"submit_text",
|
|
"allow_ai_studio_profiles"
|
|
],
|
|
"properties": {
|
|
"kind": {
|
|
"const": "FORM"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"system_prompt": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"submit_text": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"allow_ai_studio_profiles": {
|
|
"type": "boolean"
|
|
},
|
|
"tool_ids": {
|
|
"type": "array",
|
|
"minItems": 1,
|
|
"uniqueItems": true,
|
|
"items": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"chatLauncherAssistant": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"kind",
|
|
"title",
|
|
"description",
|
|
"launch"
|
|
],
|
|
"properties": {
|
|
"kind": {
|
|
"const": "CHAT_LAUNCHER"
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"launch": {
|
|
"$ref": "#/$defs/chatLaunch"
|
|
}
|
|
}
|
|
},
|
|
"chatLaunch": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"workspace_name": {
|
|
"description": "Omit this field for a launcher that opens a chat without a workspace.",
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"provider_id": {
|
|
"type": "string",
|
|
"format": "uuid",
|
|
"not": {
|
|
"const": "00000000-0000-0000-0000-000000000000"
|
|
}
|
|
},
|
|
"profile_id": {
|
|
"type": "string",
|
|
"format": "uuid"
|
|
},
|
|
"chat_template_id": {
|
|
"type": "string",
|
|
"format": "uuid"
|
|
},
|
|
"data_source_ids": {
|
|
"type": "array",
|
|
"minItems": 1,
|
|
"uniqueItems": true,
|
|
"items": {
|
|
"type": "string",
|
|
"format": "uuid",
|
|
"not": {
|
|
"const": "00000000-0000-0000-0000-000000000000"
|
|
}
|
|
}
|
|
},
|
|
"tool_ids": {
|
|
"type": "array",
|
|
"minItems": 1,
|
|
"uniqueItems": true,
|
|
"items": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|