Skip to content

Interface: PackDefinition

Defined in: types.ts:1844

Deprecated

use #PackVersionDefinition

The legacy complete definition of a Pack including un-versioned metadata. This should only be used by legacy pack implementations.

Extends

Properties

benchInitializationSkill?

optional benchInitializationSkill: Partial<Skill>

Defined in: types.ts:1821

The skill used when the agent is first initialized in the bench. All fields are optional - omitted fields will use defaults at runtime.

Deprecated

No longer used, now that agents are connectors.

Inherited from

PackVersionDefinition.benchInitializationSkill


category?

optional category: PackCategory

Defined in: types.ts:1850


chatSkill?

optional chatSkill: Partial<Skill>

Defined in: types.ts:1815

The skill used when chatting with the agent. All fields are optional - omitted fields will use defaults at runtime.

Example

// Override just the tools
pack.setChatSkill({
  tools: [
    { type: sdk.ToolType.Pack },
  ],
});

// Override just the prompt
pack.setChatSkill({
  prompt: "You are an expert in this pack.",
});

Deprecated

No longer used, now that agents are connectors.

Inherited from

PackVersionDefinition.chatSkill


defaultAuthentication?

optional defaultAuthentication: Authentication

Defined in: types.ts:1745

If specified, the user must provide personal authentication credentials before using the pack.

Inherited from

PackVersionDefinition.defaultAuthentication


description

description: string

Defined in: types.ts:1848


exampleImages?

optional exampleImages: string[]

Defined in: types.ts:1852


exampleVideoIds?

optional exampleVideoIds: string[]

Defined in: types.ts:1853


formats?

optional formats: Format[]

Defined in: types.ts:1786

Definitions of this pack's column formats. See Format.

Inherited from

PackVersionDefinition.formats


formulaNamespace?

optional formulaNamespace: string

Defined in: types.ts:1774

Deprecated

Inherited from

PackVersionDefinition.formulaNamespace


formulas?

optional formulas: Formula[]

Defined in: types.ts:1782

Definitions of this pack's formulas. See Formula.

Note that button actions are also defined here. Buttons are simply formulas with isAction: true.

Inherited from

PackVersionDefinition.formulas


id

id: number

Defined in: types.ts:1845


isSystem?

optional isSystem: boolean

Defined in: types.ts:1860

Whether this is a pack that will be used internally and not exposed directly to users.


logoPath

logoPath: string

Defined in: types.ts:1851


mcpServers?

optional mcpServers: MCPServer[]

Defined in: types.ts:1835

Definitions of MCP servers that this pack can connect to.

Inherited from

PackVersionDefinition.mcpServers


minimumFeatureSet?

optional minimumFeatureSet: FeatureSet

Defined in: types.ts:1854


name

name: string

Defined in: types.ts:1846


networkDomains?

optional networkDomains: string[]

Defined in: types.ts:1767

Any domain(s) to which this pack makes fetcher requests. The domains this pack connects to must be declared up front here, both to clearly communicate to users what a pack is capable of connecting to, and for security reasons. These network domains are enforced at execution time: any fetcher request to a domain not listed here will be rejected.

Only one network domain is allowed by default. If your pack has needs to connect to multiple domains contact support for approval.

Inherited from

PackVersionDefinition.networkDomains


permissionsDescription?

optional permissionsDescription: string

Defined in: types.ts:1849


quotas?

optional quotas: Partial<{ Basic: Quota; Enterprise: Quota; Pro: Quota; Team: Quota; }>

Defined in: types.ts:1855


rateLimits?

optional rateLimits: RateLimits

Defined in: types.ts:1856


shortDescription

shortDescription: string

Defined in: types.ts:1847


skillEntrypoints?

optional skillEntrypoints: SkillEntrypoints

Defined in: types.ts:1826

Mapping of skills to entrypoints that the agent can be invoked from.

Deprecated

No longer used, now that agents are connectors.

Inherited from

PackVersionDefinition.skillEntrypoints


skills?

optional skills: Skill[]

Defined in: types.ts:1794

Definitions of skills that can be executed within this pack.

Inherited from

PackVersionDefinition.skills


suggestedPrompts?

optional suggestedPrompts: SuggestedPrompt[]

Defined in: types.ts:1831

Static suggested prompts that appear when the agent is opened in chat.

Deprecated

No longer used, now that agents are connectors.

Inherited from

PackVersionDefinition.suggestedPrompts


syncTables?

optional syncTables: SyncTable[]

Defined in: types.ts:1790

Definitions of this pack's sync tables. See SyncTable.

Inherited from

PackVersionDefinition.syncTables


systemConnectionAuthentication?

optional systemConnectionAuthentication: SystemAuthentication

Defined in: types.ts:1750

If specified, this pack requires system credentials to be set up via the admin console in order to work when no explicit connection is specified by the user.

Inherited from

PackVersionDefinition.systemConnectionAuthentication


version

version: string

Defined in: types.ts:1741

The semantic version of the pack. This must be valid semantic version of the form 1, 1.2, or 1.2.3. When uploading a pack version, the semantic version must be greater than any previously uploaded version.

Inherited from

PackVersionDefinition.version