Download the PHP package bootdesk/chat-sdk-adapter-linear without Composer
On this page you can find all versions of the php package bootdesk/chat-sdk-adapter-linear. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bootdesk/chat-sdk-adapter-linear
More information about bootdesk/chat-sdk-adapter-linear
Files in bootdesk/chat-sdk-adapter-linear
Package chat-sdk-adapter-linear
Short Description Linear adapter for bootdesk/chat-sdk-core
License MIT
Informations about the package chat-sdk-adapter-linear
bootdesk/chat-sdk-adapter-linear
Linear adapter for the laravel-bootdesk multi-platform messaging framework.
Install
Requires a PSR-18 HTTP client (guzzlehttp/guzzle, symfony/http-client, etc.) and a PSR-17 factory (nyholm/psr7 bundled).
Configuration
| Variable | Description | Example |
|---|---|---|
api_key |
Linear API Key | lin_api_abc123... |
http_client |
PSR-18 HTTP client instance | new GuzzleHttp\Client |
webhook_secret |
Webhook Secret | my-secret... |
Laravel
The ChatServiceProvider auto-binds Psr\Http\Client\ClientInterface to GuzzleHttp\Client. Add to config/chat.php:
Quick Example
Thread ID Format
| Format | Description |
|---|---|
linear:{issueId} |
Bare issue |
linear:{issueId}:c:{commentId} |
Comment thread |
linear:{issueId}:s:{agentSessionId} |
Agent session |
linear:{issueId}:c:{commentId}:s:{agentSessionId} |
Comment + session |
Webhook
Linear sends webhook events to your endpoint. Verify requests using HMAC-SHA256 verification via the linear-signature header.
API endpoint: https://api.linear.app/graphql
Handled events: Comment.create
Feature Matrix
| Feature | Supported |
|---|---|
| Post messages | ✓ |
| Edit messages | ✓ |
| Delete messages | ✓ |
| Reactions | ✓ |
| Slash commands | ✗ |
| Typing indicator | ✗ |
| Fetch messages | ✓ |
| Fetch thread info | ✓ |
| Fetch channel info | ✓ |
| Get user | ✓ |
| Open DM | ✗ |
| Stream | ✓ |
Notes
Uses the Linear GraphQL API. Bot identity is resolved via the viewer query on initialization. Card messages are rendered as Linear-flavored markdown. Edit and delete are not supported for agent sessions.
Documentationn
Full API documentation: https://bootdesk.github.io/chat-sdk
License
MIT
All versions of chat-sdk-adapter-linear with dependencies
bootdesk/chat-sdk-core Version 0.4.8
ext-json Version *
psr/http-client Version ^1.0
psr/http-factory Version ^1.0