---
title: PromptOptions
description: The knobs on one prompt.
---

The knobs on one prompt.

## Properties

### execId?

```ts
optional execId?: string;
```

A stable exec id, for a retry that must not spawn twice.

***

### permissionMode?

```ts
optional permissionMode?: "agent-default" | "unrestricted";
```

Agent process permissions: agent-default (default) or unrestricted.

#### Default Value

```ts
"agent-default"
```

***

### reapGroupOnExit?

```ts
optional reapGroupOnExit?: boolean;
```

Stop residual children when the main agent exits. Defaults to false.

***

### timeoutSec?

```ts
optional timeoutSec?: number;
```

A daemon-side wall-clock budget for the agent process, in seconds.

## Provenance

This page is generated from `bindings/microvms-js/index.d.ts` by TypeDoc 0.28.20 and typedoc-plugin-markdown 4.13.1, run from `site/scripts/gen-reference.mjs` on every `pnpm run sync`, so an edit made here is overwritten by the next run.

To change the page, change the doc comment in the binding's Rust source, then regenerate the declarations with `mise run dts`. `mise run dts:check` fails when the committed file no longer matches the source.