> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tuneplane.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# tp taskset

> 构建、发布并查看一组不可变的 agent 任务。

```bash theme={"theme":{"light":"github-light","dark":"github-dark-dimmed"}}
tp taskset build ./tasks --split eval
tp taskset push ./tasks --name acme/swe-smoke --version v1
tp taskset ls
```

Taskset 是给 agent 打分用的那组任务，与运行它们的环境分开发布：同一个环境镜像可以指向新的
taskset 而不必重建，而已发布的版本不可变，所以任务集演进之后旧分数依然有意义。`build`
读取 Harbor 任务目录并记录每个文件的 SHA-256 —— 它**不会执行任务代码**，因为"为别人的任务生成
清单"不该变成一种运行它们的方式。任务本身怎么写见[编写环境](/zh-Hans/extend/environments)。

## `tp taskset`

Manage agent tasksets

```bash theme={"theme":{"light":"github-light","dark":"github-dark-dimmed"}}
tp taskset <subcommand>
```

| 命令                 | 说明                                                                         |
| ------------------ | -------------------------------------------------------------------------- |
| `tp taskset build` | Create taskset.json from Harbor task directories; never execute task code. |
| `tp taskset ls`    |                                                                            |
| `tp taskset push`  |                                                                            |

### `tp taskset build`

Create taskset.json from Harbor task directories; never execute task code.

```bash theme={"theme":{"light":"github-light","dark":"github-dark-dimmed"}}
tp taskset build <DIRECTORY> [options]
```

| 参数          | 说明     |
| ----------- | ------ |
| `DIRECTORY` | **必填** |

| 选项        | 说明        |
| --------- | --------- |
| `--split` | 默认 `eval` |

### `tp taskset ls`

```bash theme={"theme":{"light":"github-light","dark":"github-dark-dimmed"}}
tp taskset ls
```

除 `--help` 外没有其他选项。

### `tp taskset push`

```bash theme={"theme":{"light":"github-light","dark":"github-dark-dimmed"}}
tp taskset push <DIRECTORY> [options]
```

| 参数          | 说明     |
| ----------- | ------ |
| `DIRECTORY` | **必填** |

| 选项          | 说明     |
| ----------- | ------ |
| `--name`    | **必填** |
| `--version` | **必填** |
