Skip to content

Interface: PackDefinition

Defined in: types.ts:2464

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:2420

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:2470


chatSkill?

optional chatSkill: Partial<Skill>

Defined in: types.ts:2414

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:2344

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

Inherited from

PackVersionDefinition.defaultAuthentication


description

description: string

Defined in: types.ts:2468


exampleImages?

optional exampleImages: string[]

Defined in: types.ts:2472


exampleVideoIds?

optional exampleVideoIds: string[]

Defined in: types.ts:2473


formats?

optional formats: Format[]

Defined in: types.ts:2385

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

Inherited from

PackVersionDefinition.formats


formulaNamespace?

optional formulaNamespace: string

Defined in: types.ts:2373

Deprecated

Inherited from

PackVersionDefinition.formulaNamespace


formulas?

optional formulas: Formula[]

Defined in: types.ts:2381

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:2465


isSystem?

optional isSystem: boolean

Defined in: types.ts:2480

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


logoPath

logoPath: string

Defined in: types.ts:2471


mcpServers?

optional mcpServers: MCPServer[]

Defined in: types.ts:2434

Definitions of MCP servers that this pack can connect to.

Inherited from

PackVersionDefinition.mcpServers


minimumFeatureSet?

optional minimumFeatureSet: FeatureSet

Defined in: types.ts:2474


name

name: string

Defined in: types.ts:2466


networkDomains?

optional networkDomains: string[]

Defined in: types.ts:2366

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:2469


quotas?

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

Defined in: types.ts:2475


rateLimits?

optional rateLimits: RateLimits

Defined in: types.ts:2476


shortDescription

shortDescription: string

Defined in: types.ts:2467


skillEntrypoints?

optional skillEntrypoints: SkillEntrypoints

Defined in: types.ts:2425

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:2393

Definitions of skills that can be executed within this pack.

Inherited from

PackVersionDefinition.skills


suggestedPrompts?

optional suggestedPrompts: SuggestedPrompt[]

Defined in: types.ts:2430

Static suggested prompts that appear when the agent is opened in chat. Set them with addSuggestedPrompt() on an agent. Connector packs no longer use this field.

Inherited from

PackVersionDefinition.suggestedPrompts


syncTables?

optional syncTables: SyncTable[]

Defined in: types.ts:2389

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

Inherited from

PackVersionDefinition.syncTables


systemConnectionAuthentication?

optional systemConnectionAuthentication: SystemAuthentication

Defined in: types.ts:2349

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:2340

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