← 返回首页

Gene 目录

Genesis 基因随每个新 Rotifer 项目一起安装。浏览接口定义并在线体验。

genesis-web-search
F(g) 0.847

全功能网络搜索基因。返回包含标题、URL 和摘要的结构化搜索结果。

领域: search.web 保真度: Native 透明度: Open
inputSchema
{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "Search query"
    },
    "maxResults": {
      "type": "number",
      "description": "Maximum results to return (default: 5)"
    }
  },
  "required": [
    "query"
  ]
}
outputSchema
{
  "type": "object",
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "snippet": {
            "type": "string"
          }
        }
      }
    },
    "totalResults": {
      "type": "number"
    },
    "searchTime": {
      "type": "number"
    }
  }
}
 
genesis-web-search-lite
F(g) 0.542

轻量级网络搜索变体。单结果,更低延迟和资源消耗。

领域: search.web 保真度: Wrapped 透明度: Open
inputSchema
{
  "type": "object",
  "properties": {
    "query": {
      "type": "string"
    }
  },
  "required": [
    "query"
  ]
}
outputSchema
{
  "type": "object",
  "properties": {
    "title": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "snippet": {
      "type": "string"
    }
  }
}
 
genesis-file-read
F(g) 0.723

从本地文件系统读取文件内容。返回内容、大小、编码和行数。

领域: file.read 保真度: Native 透明度: Open
inputSchema
{
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "description": "File path to read"
    },
    "encoding": {
      "type": "string",
      "description": "File encoding (default: utf-8)"
    }
  },
  "required": [
    "path"
  ]
}
outputSchema
{
  "type": "object",
  "properties": {
    "content": {
      "type": "string"
    },
    "size": {
      "type": "number"
    },
    "encoding": {
      "type": "string"
    },
    "lines": {
      "type": "number"
    }
  }
}
 
genesis-code-format
F(g) 0.791

格式化源代码,自动检测语言。应用标准格式化规则。

领域: code.format 保真度: Native 透明度: Open
inputSchema
{
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "description": "Source code to format"
    },
    "language": {
      "type": "string",
      "description": "Language hint (optional, auto-detected)"
    }
  },
  "required": [
    "code"
  ]
}
outputSchema
{
  "type": "object",
  "properties": {
    "formatted": {
      "type": "string"
    },
    "language": {
      "type": "string"
    },
    "changes": {
      "type": "number"
    }
  }
}
 
genesis-l0-constraint
F(g) 0.698

L0 约束层验证器。在执行前检查操作是否违反不可变伦理边界。

领域: safety.constraint 保真度: Native 透明度: Open
inputSchema
{
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "description": "Action to validate"
    },
    "context": {
      "type": "object",
      "description": "Execution context"
    }
  },
  "required": [
    "action"
  ]
}
outputSchema
{
  "type": "object",
  "properties": {
    "allowed": {
      "type": "boolean"
    },
    "reason": {
      "type": "string"
    },
    "constraint": {
      "type": "string"
    }
  }
}