Interface: PackDefinition¶
Deprecated¶
Use ComponentVersionDefinition.
The legacy complete definition of a Pack including un-versioned metadata. This should only be used by legacy pack implementations.
Extends¶
Properties¶
agent?¶
optionalagent:AgentDefinition
The agent this pack defines. Create it with sdk.newAgent().
Inherited from¶
benchInitializationSkill?¶
optionalbenchInitializationSkill:Partial<Skill>
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
chatSkill?¶
optionalchatSkill:Partial<Skill>
The skill used when chatting with the agent. All fields are optional - omitted fields will use defaults at runtime.
Example¶
// Override just the tools
connector.setChatSkill({
tools: [
{ type: sdk.ToolType.Pack },
],
});
// Override just the prompt
connector.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
If specified, the user must provide personal authentication credentials before using the pack.
Inherited from¶
PackVersionDefinition.defaultAuthentication
defaultRoutines?¶
optionaldefaultRoutines:AgentRoutineMetadata[]
Default routines for this agent. Add them with sdk.newAgent().addDefaultRoutine().
Inherited from¶
PackVersionDefinition.defaultRoutines
description¶
description:
string
exampleImages?¶
optionalexampleImages:string[]
exampleVideoIds?¶
optionalexampleVideoIds:string[]
formats?¶
optionalformats:Format[]
Definitions of this pack's column formats. See Format.
Inherited from¶
formulaNamespace?¶
optionalformulaNamespace:string
Deprecated¶
Inherited from¶
PackVersionDefinition.formulaNamespace
formulas?¶
optionalformulas:Formula[]
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
isSystem?¶
optionalisSystem:boolean
Whether this is a pack that will be used internally and not exposed directly to users.
logoPath¶
logoPath:
string
mcpServers?¶
optionalmcpServers:MCPServer[]
Definitions of MCP servers that this pack can connect to.
Inherited from¶
PackVersionDefinition.mcpServers
minimumFeatureSet?¶
optionalminimumFeatureSet:FeatureSet
name¶
name:
string
networkDomains?¶
optionalnetworkDomains:string[]
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
quotas?¶
optionalquotas:Partial<{Basic:Quota;Enterprise:Quota;Pro:Quota;Team:Quota; }>
rateLimits?¶
optionalrateLimits:RateLimits
shortDescription¶
shortDescription:
string
skillEntrypoints?¶
optionalskillEntrypoints:SkillEntrypoints
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[]
Definitions of skills that can be executed within this pack.
Deprecated¶
Skills are no longer used. Connectors should not set tools.
Inherited from¶
suggestedPrompts?¶
optionalsuggestedPrompts:SuggestedPrompt[]
Static suggested prompts that appear when the agent is opened in chat. Set them with
addSuggestedPrompt() on an agent. Connectors no longer use this field.
Inherited from¶
PackVersionDefinition.suggestedPrompts
syncTables?¶
optionalsyncTables:SyncTable[]
Definitions of this pack's sync tables. See SyncTable.
Inherited from¶
PackVersionDefinition.syncTables
systemConnectionAuthentication?¶
optionalsystemConnectionAuthentication:SystemAuthentication
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
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.