Skip to content

v0.3.8

Choose a tag to compare

@github-actions github-actions released this 31 Aug 13:09
· 85 commits to main since this release

English

SLATE v0.3.8

🆕 New Features

  • Global Code Search (code_search) — VSCode Ctrl+Shift+F style
    • Search text or regex across the current project, with precise file:line:column results
    • Defaults to the entire project root; narrow it down with the scope parameter (subdirectories inside the project)
    • Supports case sensitivity, filename glob filtering, and a result limit
    • Pure Python, zero new dependencies: skips noisy directories, whitelists text files, and scans concurrently for speed
    • Registered in the Settings → Tools / Skills panel, with a parameter form for manual execution
  • AI Media Generation Tools (image_gen / video_gen)
    • Generate images / short videos from a description (OpenAI-compatible /images/generations and /videos/generations)
    • New media-generation configuration section in Settings (model + API key), with sync return or async task polling
    • Inline preview of generated images and videos in chat
  • user_ask Requirement Input Dialog
    • When a task is missing a key condition (style / audience / format / language, etc.), the model proactively pops up a multiple-choice dialog
    • Users can pick a preset option or type a custom answer; the answer is fed back to the model to continue the task
  • Prompts Default to Tool-First Behavior (balanced activeness)
    • New "tools first" principle in the discipline section: verify instead of guessing, execute instead of describing
    • Factual / state questions default to checking project files or searching the web before answering
    • Removed suppressive wording such as "never call tools for pure Q&A" and "don't call tools just to look proactive"
  • Native OpenAI-style Tool Calling (function calling)
    • Streams and parses tool_calls, auto-serializes tool schemas, and feeds results back automatically
    • Automatically falls back to the text protocol for endpoints without tools support, staying compatible across models

🔧 Fixes

  • Goal mode stall detection: recognizes "talk-only, no-action" loops, warns and exits automatically
  • After a tool call fails, retries with different parameters / a different tool / more context instead of repeating the identical failed call

📦 Installers

  • Windows: SLATE-Setup-0.3.8.exe (with SHA256 checksum)
  • macOS: SLATE-Setup-0.3.8.dmg (with SHA256 checksum)

Full Changelog: v0.3.7...v0.3.8


中文

SLATE v0.3.8

🆕 新功能

  • 全局代码搜索 code_search(类似 VSCode Ctrl+Shift+F)
    • 在当前项目中按文本/正则搜索,返回 文件:行号:列 精确定位
    • 默认全局 = 当前项目根目录,可用 scope 缩小到项目内子目录
    • 支持大小写敏感、文件名 glob 过滤、结果数量上限
    • 纯 Python 零依赖实现:忽略噪音目录、文本文件白名单、并发扫描,高速轻量
    • 已注册进设置页「工具 / 技能」框,可点击弹出参数表单手动执行
  • AI 媒体生成工具 image_gen / video_gen
    • 基于描述生成图片 / 短视频(OpenAI 兼容 /images/generations 与 /videos/generations)
    • 设置页新增媒体生成配置栏(模型 + API Key),支持同步返回或异步任务轮询
    • 聊天内直接预览生成的图片与视频
  • user_ask 需求输入框
    • 模型执行任务缺关键条件(风格 / 受众 / 格式 / 语言等)时,主动弹出选择题弹窗
    • 用户可点选预设选项,也可自由输入自定义答案;答案回灌模型继续任务
  • 提示词默认工具优先(主动化平衡版)
    • 纪律区新增「工具优先」总则:能查证就不猜、能执行就不描述
    • 事实性 / 现状性问题默认查项目文件或联网佐证后再回答
    • 移除「纯问答绝不调用工具」「不要为了显得积极而滥用工具」等抑制措辞
  • 接入 OpenAI 系原生工具调用(function calling)
    • 流式解析 tool_calls、工具 schema 自动序列化、结果自动回灌
    • 不支持 tools 的端点自动降级为文本协议,兼容多模型

🔧 修复

  • 目标模式连续空转止损:检测「只说话不动手」的停滞循环,自动警告并退出
  • 工具调用失败后换参数/换工具/读上下文,不再重复相同失败调用

📦 安装包

  • Windows: SLATE-Setup-0.3.8.exe(含 SHA256 校验和)
  • macOS: SLATE-Setup-0.3.8.dmg(含 SHA256 校验和)

Full Changelog: v0.3.7...v0.3.8