Skip to content

craft-hub / AgentActionDefinition

Interface: AgentActionDefinition ​

Defined in: packages/craft-hub/src/agent-actions.ts:29

Definition of a trusted built-in agent workflow.

Properties ​

buildPrompt ​

buildPrompt: (audit, locale) => string

Defined in: packages/craft-hub/src/agent-actions.ts:32

Parameters ​

audit ​

ProjectDescriptionAudit

locale ​

"en" | "zh-CN"

Returns ​

string


id ​

id: "improve-project-config"

Defined in: packages/craft-hub/src/agent-actions.ts:30


targetPath ​

targetPath: ".craft-hub/project.jsonc"

Defined in: packages/craft-hub/src/agent-actions.ts:31

Released under the MIT License.