fix: update all branding from lumbridgecorp to karti-ai
This commit is contained in:
+16
-16
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user