… ref, and permissions
Create the `boost-common` plugin package that all other boost packages
depend on. This is a common-library providing shared interfaces,
the AI provider service ref, and fine-grained permission definitions.
Types and interfaces (tasks 1.1-1.3):
- AgenticProvider, ProviderDescriptor, ProviderCapabilities interfaces
- NormalizedStreamEvent union type (text_delta, tool_call, tool_result,
error, done)
- ConversationSummary, ConversationDetails, InputItem conversation types
- ChatRequest, ChatResponse, and optional capability interfaces (Rag,
Safety, Evaluation, Conversation)
Service ref (task 1.4):
- boostAiProviderServiceRef via createServiceRef with ID
'boost.ai-provider' and AgenticProvider type parameter
Permissions (security tasks 1.1-1.4):
- 10 agent permissions (list, register, promote, approve, demote,
publish, unpublish, withdraw, delete, configure)
- 5 tool permissions (promote, approve, demote, publish, unpublish)
- 1 infrastructure permission (kagenti.admin)
- 5 functional permissions (chat.read, chat.create, documents.manage,
mcp.manage, config.manage)
- Resource types: boost-agent, boost-tool
- Conditional rule name constants: IS_OWNER, IS_NOT_CREATOR,
HAS_LIFECYCLE_STAGE
Provider isolation (task 1.6):
- No provider-specific types in the common package; test verifies no
LlamaStack/Kagenti type leaks
Note: yarn install and test/lint/build commands could not run in the
sandbox due to network restrictions (npm registry unreachable). Tests
and prettier formatting require manual verification after dependency
installation. The test file validates all export shapes, permission
counts (16 resource + 5 functional = 21 total), resource type
assignments, and absence of provider-specific types.
Closes #3297
Create the
boost-commonplugin package that all other boost packages depend on. This is a common-library providing shared interfaces, the AI provider service ref, and fine-grained permission definitions.Types and interfaces (tasks 1.1-1.3):
error, done)
Safety, Evaluation, Conversation)
Service ref (task 1.4):
'boost.ai-provider' and AgenticProvider type parameter
Permissions (security tasks 1.1-1.4):
publish, unpublish, withdraw, delete, configure)
mcp.manage, config.manage)
HAS_LIFECYCLE_STAGE
Provider isolation (task 1.6):
LlamaStack/Kagenti type leaks
Note: yarn install and test/lint/build commands could not run in the sandbox due to network restrictions (npm registry unreachable). Tests and prettier formatting require manual verification after dependency installation. The test file validates all export shapes, permission counts (16 resource + 5 functional = 21 total), resource type assignments, and absence of provider-specific types.
Closes #3297
Post-script verification
agent/3297-boost-common-package)5c9083af21efc8f88dad77d38493cb136d4ddb9a..HEAD)