Interface: PackDefinition¶
Defined in: types.ts:2504
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?¶
optionalbenchInitializationSkill:Partial<Skill>
Defined in: types.ts:2455
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?¶
optionalcategory:PackCategory
Defined in: types.ts:2510
chatSkill?¶
optionalchatSkill:Partial<Skill>
Defined in: types.ts:2449
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?¶
optionaldefaultAuthentication:Authentication
Defined in: types.ts:2379
If specified, the user must provide personal authentication credentials before using the pack.
Inherited from¶
PackVersionDefinition.defaultAuthentication
description¶
description:
string
Defined in: types.ts:2508
exampleImages?¶
optionalexampleImages:string[]
Defined in: types.ts:2512
exampleVideoIds?¶
optionalexampleVideoIds:string[]
Defined in: types.ts:2513
formats?¶
optionalformats:Format[]
Defined in: types.ts:2420
Definitions of this pack's column formats. See Format.
Inherited from¶
formulaNamespace?¶
optionalformulaNamespace:string
Defined in: types.ts:2408
Deprecated¶
Inherited from¶
PackVersionDefinition.formulaNamespace
formulas?¶
optionalformulas:Formula[]
Defined in: types.ts:2416
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:2505
isSystem?¶
optionalisSystem:boolean
Defined in: types.ts:2520
Whether this is a pack that will be used internally and not exposed directly to users.
logoPath¶
logoPath:
string
Defined in: types.ts:2511
mcpServers?¶
optionalmcpServers:MCPServer[]
Defined in: types.ts:2469
Definitions of MCP servers that this pack can connect to.
Inherited from¶
PackVersionDefinition.mcpServers
minimumFeatureSet?¶
optionalminimumFeatureSet:FeatureSet
Defined in: types.ts:2514
name¶
name:
string
Defined in: types.ts:2506
networkDomains?¶
optionalnetworkDomains:string[]
Defined in: types.ts:2401
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?¶
optionalpermissionsDescription:string
Defined in: types.ts:2509
quotas?¶
optionalquotas:Partial<{Basic:Quota;Enterprise:Quota;Pro:Quota;Team:Quota; }>
Defined in: types.ts:2515
rateLimits?¶
optionalrateLimits:RateLimits
Defined in: types.ts:2516
shortDescription¶
shortDescription:
string
Defined in: types.ts:2507
skillEntrypoints?¶
optionalskillEntrypoints:SkillEntrypoints
Defined in: types.ts:2460
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?¶
optionalskills:Skill[]
Defined in: types.ts:2428
Definitions of skills that can be executed within this pack.
Inherited from¶
suggestedPrompts?¶
optionalsuggestedPrompts:SuggestedPrompt[]
Defined in: types.ts:2465
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?¶
optionalsyncTables:SyncTable[]
Defined in: types.ts:2424
Definitions of this pack's sync tables. See SyncTable.
Inherited from¶
PackVersionDefinition.syncTables
systemConnectionAuthentication?¶
optionalsystemConnectionAuthentication:SystemAuthentication
Defined in: types.ts:2384
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:2375
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.