Skip to content

AgentLayout

Agent 布局配置数据结构。

数据结构

go
type AgentLayout struct {
    ID string // ID
    Layout map[string]interface{} // 布局配置
    UpdatedAt time.Time // 更新时间
}

使用示例

go
package main

import (
    "fmt"
    "log"
    
    cursor "github.com/vibe-coding-labs/go-cursor-sdk"
)

func main() {
    client, err := cursor.NewCursorClient(nil)
    if err != nil {
        log.Fatal(err)
    }
    defer client.Close()
    
    // 获取 AgentLayout 数据
    // TODO: 添加具体示例
}

相关文档

Released under the MIT License.