Interface: PackVersionDefinition¶
Defined in: types.ts:2335
The definition of the contents of a Pack at a specific version. This is the heart of the implementation of a Pack.
Extended by¶
Properties¶
benchInitializationSkill?¶
optionalbenchInitializationSkill: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.
chatSkill?¶
optionalchatSkill: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.
defaultAuthentication?¶
optionaldefaultAuthentication:Authentication
Defined in: types.ts:2344
If specified, the user must provide personal authentication credentials before using the pack.
formats?¶
optionalformats:Format[]
Defined in: types.ts:2385
Definitions of this pack's column formats. See Format.
formulaNamespace?¶
optionalformulaNamespace:string
Defined in: types.ts:2373
Deprecated¶
formulas?¶
optionalformulas: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.
mcpServers?¶
optionalmcpServers:MCPServer[]
Defined in: types.ts:2434
Definitions of MCP servers that this pack can connect to.
networkDomains?¶
optionalnetworkDomains: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.
skillEntrypoints?¶
optionalskillEntrypoints: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.
skills?¶
optionalskills:Skill[]
Defined in: types.ts:2393
Definitions of skills that can be executed within this pack.
suggestedPrompts?¶
optionalsuggestedPrompts: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.
syncTables?¶
optionalsyncTables:SyncTable[]
Defined in: types.ts:2389
Definitions of this pack's sync tables. See SyncTable.
systemConnectionAuthentication?¶
optionalsystemConnectionAuthentication: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.
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.