fix: update all branding from lumbridgecorp to karti-ai

This commit is contained in:
2026-04-10 22:04:16 -07:00
parent f17890f38e
commit 959e27d73f
7 changed files with 51 additions and 51 deletions
+12 -12
View File
@@ -18,7 +18,7 @@ Complete reference for the Enhanced Mattermost Extension API.
Edit an existing message posted by the bot.
```typescript
import { editMessage } from '@lumbridgecorp/openclaw-mattermost';
import { editMessage } from '@karti-ai/openclaw-mattermost';
const result = await editMessage({
cfg: OpenClawConfig,
@@ -81,7 +81,7 @@ if (result.ok) {
Delete a message posted by the bot.
```typescript
import { deleteMessage } from '@lumbridgecorp/openclaw-mattermost';
import { deleteMessage } from '@karti-ai/openclaw-mattermost';
const result = await deleteMessage({
cfg: OpenClawConfig,
@@ -135,7 +135,7 @@ if (result.ok) {
Download a file from Mattermost with security validations.
```typescript
import { downloadFile } from '@lumbridgecorp/openclaw-mattermost';
import { downloadFile } from '@karti-ai/openclaw-mattermost';
const result = await downloadFile({
cfg: OpenClawConfig,
@@ -229,7 +229,7 @@ if (result.ok) {
Send a message to a Mattermost channel.
```typescript
import { sendMessage } from '@lumbridgecorp/openclaw-mattermost';
import { sendMessage } from '@karti-ai/openclaw-mattermost';
await sendMessage({
cfg: OpenClawConfig,
@@ -272,7 +272,7 @@ await sendMessage({
Add an emoji reaction to a message.
```typescript
import { addReaction } from '@lumbridgecorp/openclaw-mattermost';
import { addReaction } from '@karti-ai/openclaw-mattermost';
await addReaction({
cfg: OpenClawConfig,
@@ -299,7 +299,7 @@ await addReaction({
Upload a file to Mattermost.
```typescript
import { uploadFile } from '@lumbridgecorp/openclaw-mattermost';
import { uploadFile } from '@karti-ai/openclaw-mattermost';
const fileInfo = await uploadFile({
cfg: OpenClawConfig,
@@ -605,7 +605,7 @@ class MattermostError extends Error {
### Using Error Boundaries
```typescript
import { globalErrorBoundary, MattermostError } from '@lumbridgecorp/openclaw-mattermost';
import { globalErrorBoundary, MattermostError } from '@karti-ai/openclaw-mattermost';
// Register error handler
const unsubscribe = globalErrorBoundary.onError((error) => {
@@ -632,7 +632,7 @@ disunsubscribe();
### Retry Configuration
```typescript
import { withRetry } from '@lumbridgecorp/openclaw-mattermost';
import { withRetry } from '@karti-ai/openclaw-mattermost';
const result = await withRetry(
'my-operation',
@@ -661,7 +661,7 @@ const result = await withRetry(
Run a comprehensive security audit on your configuration:
```typescript
import { collectMattermostSecurityAuditFindings } from '@lumbridgecorp/openclaw-mattermost';
import { collectMattermostSecurityAuditFindings } from '@karti-ai/openclaw-mattermost';
const findings = await collectMattermostSecurityAuditFindings({
cfg: OpenClawConfig,
@@ -711,7 +711,7 @@ type SecurityAuditFinding = {
import {
collectMattermostSecurityAuditFindings,
collectAllMattermostSecurityAuditFindings
} from '@lumbridgecorp/openclaw-mattermost';
} from '@karti-ai/openclaw-mattermost';
// Audit single account
const findings = await collectMattermostSecurityAuditFindings({
@@ -747,7 +747,7 @@ for (const finding of critical) {
Create a low-level Mattermost API client:
```typescript
import { createMattermostClient } from '@lumbridgecorp/openclaw-mattermost';
import { createMattermostClient } from '@karti-ai/openclaw-mattermost';
const client = createMattermostClient({
baseUrl: string;
@@ -860,5 +860,5 @@ import {
// Retry types
RetryConfig,
RetryAttemptInfo
} from '@lumbridgecorp/openclaw-mattermost';
} from '@karti-ai/openclaw-mattermost';
```
+16 -16
View File
@@ -21,7 +21,7 @@ The Enhanced Mattermost Extension is a drop-in replacement for the stock extensi
| Aspect | Stock Extension | Enhanced Extension |
|--------|--------------|-------------------|
| Package name | `@modelcontextprotocol/mattermost` | `@lumbridgecorp/openclaw-mattermost` |
| Package name | `@modelcontextprotocol/mattermost` | `@karti-ai/openclaw-mattermost` |
| Token support | Bot token only | Bot token + PAT |
| Message operations | Send only | Send, edit, delete |
| File operations | None | Download with security |
@@ -45,7 +45,7 @@ Run this check to see if your current configuration is compatible:
```bash
# Install the enhanced extension alongside your current one
npm install @lumbridgecorp/openclaw-mattermost
npm install @karti-ai/openclaw-mattermost
# Run the security audit to check configuration
npx openclaw doctor --channel=mattermost
@@ -61,7 +61,7 @@ If you're using basic features, simply update your package.json:
{
"dependencies": {
- "@modelcontextprotocol/mattermost": "^0.x.x"
+ "@lumbridgecorp/openclaw-mattermost": "^1.0.0"
+ "@karti-ai/openclaw-mattermost": "^1.0.0"
}
}
```
@@ -161,7 +161,7 @@ import { sendMessage } from '@modelcontextprotocol/mattermost';
**After:**
```typescript
import { sendMessage } from '@lumbridgecorp/openclaw-mattermost';
import { sendMessage } from '@karti-ai/openclaw-mattermost';
```
### 2. Configuration Property Names
@@ -196,7 +196,7 @@ import { MattermostConfig } from '@modelcontextprotocol/mattermost';
**After:**
```typescript
import { MattermostAccountConfig, MattermostConfig } from '@lumbridgecorp/openclaw-mattermost';
import { MattermostAccountConfig, MattermostConfig } from '@karti-ai/openclaw-mattermost';
```
## Feature Upgrades
@@ -268,7 +268,7 @@ File downloads are enabled by default but can be controlled:
```typescript
// Both versions work the same
import { sendMessage } from '@lumbridgecorp/openclaw-mattermost';
import { sendMessage } from '@karti-ai/openclaw-mattermost';
await sendMessage({
cfg: openclawConfig,
@@ -284,7 +284,7 @@ await sendMessage({
**After:** Full support with type safety
```typescript
import { addReaction } from '@lumbridgecorp/openclaw-mattermost';
import { addReaction } from '@karti-ai/openclaw-mattermost';
await addReaction({
cfg: openclawConfig,
@@ -296,7 +296,7 @@ await addReaction({
### Editing Messages (New Feature)
```typescript
import { editMessage } from '@lumbridgecorp/openclaw-mattermost';
import { editMessage } from '@karti-ai/openclaw-mattermost';
const result = await editMessage({
cfg: openclawConfig,
@@ -324,7 +324,7 @@ await sendMessage({ cfg: openclawConfig, channelId: 'channel123', message });
### File Downloads (New Feature)
```typescript
import { downloadFile } from '@lumbridgecorp/openclaw-mattermost';
import { downloadFile } from '@karti-ai/openclaw-mattermost';
const result = await downloadFile({
cfg: openclawConfig,
@@ -353,7 +353,7 @@ try {
**After:** Structured error handling with retry
```typescript
import { MattermostError, isRetryableError } from '@lumbridgecorp/openclaw-mattermost';
import { MattermostError, isRetryableError } from '@karti-ai/openclaw-mattermost';
try {
await sendMessage({ cfg, channelId, message });
@@ -379,7 +379,7 @@ After migration, verify everything works:
### 1. Run the Security Audit
```typescript
import { collectMattermostSecurityAuditFindings } from '@lumbridgecorp/openclaw-mattermost';
import { collectMattermostSecurityAuditFindings } from '@karti-ai/openclaw-mattermost';
const findings = await collectMattermostSecurityAuditFindings({
cfg: openclawConfig,
@@ -442,7 +442,7 @@ If you need to rollback to the stock extension:
### Step 1: Revert Package
```bash
npm uninstall @lumbridgecorp/openclaw-mattermost
npm uninstall @karti-ai/openclaw-mattermost
npm install @modelcontextprotocol/mattermost
```
@@ -472,7 +472,7 @@ Remove any enhanced-specific configuration:
Change imports back:
```diff
- import { sendMessage } from '@lumbridgecorp/openclaw-mattermost';
- import { sendMessage } from '@karti-ai/openclaw-mattermost';
+ import { sendMessage } from '@modelcontextprotocol/mattermost';
```
@@ -490,7 +490,7 @@ Remove any code using enhanced-only features:
**Solution:** Ensure the package is installed:
```bash
npm install @lumbridgecorp/openclaw-mattermost
npm install @karti-ai/openclaw-mattermost
```
### Issue: "Configuration validation failed"
@@ -498,7 +498,7 @@ npm install @lumbridgecorp/openclaw-mattermost
**Solution:** Check for legacy configuration properties:
```typescript
import { MattermostConfigSchema } from '@lumbridgecorp/openclaw-mattermost';
import { MattermostConfigSchema } from '@karti-ai/openclaw-mattermost';
const result = MattermostConfigSchema.safeParse(yourConfig);
if (!result.success) {
@@ -540,7 +540,7 @@ If you encounter issues during migration:
1. **Check the security audit output** for configuration issues
2. **Review the [API Reference](API.md)** for correct usage
3. **Search [GitHub Issues](https://github.com/lumbridgecorp/openclaw-extentions-mattermost/issues)** for similar problems
3. **Search [GitHub Issues](https://github.com/karti-ai/openclaw-extentions-mattermost/issues)** for similar problems
4. **Create a new issue** with:
- Your migration step
- Error messages