fix: update all branding from lumbridgecorp to karti-ai
This commit is contained in:
+3
-3
@@ -66,6 +66,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Mattermost integration support
|
||||
- Development tooling (Vitest, TypeScript)
|
||||
|
||||
[Unreleased]: https://github.com/lumbridgecorp/openclaw-extentions-mattermost/compare/v1.0.0...HEAD
|
||||
[1.0.0]: https://github.com/lumbridgecorp/openclaw-extentions-mattermost/releases/tag/v1.0.0
|
||||
[0.1.0]: https://github.com/lumbridgecorp/openclaw-extentions-mattermost/releases/tag/v0.1.0
|
||||
[Unreleased]: https://github.com/karti-ai/openclaw-extentions-mattermost/compare/v1.0.0...HEAD
|
||||
[1.0.0]: https://github.com/karti-ai/openclaw-extentions-mattermost/releases/tag/v1.0.0
|
||||
[0.1.0]: https://github.com/karti-ai/openclaw-extentions-mattermost/releases/tag/v0.1.0
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
# Contributing to @lumbridgecorp/openclaw-mattermost
|
||||
# Contributing to @karti-ai/openclaw-mattermost
|
||||
|
||||
Thank you for your interest in contributing! This document provides guidelines for setting up your development environment, running tests, and submitting contributions.
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
# @lumbridgecorp/openclaw-mattermost
|
||||
# @karti-ai/openclaw-mattermost
|
||||
|
||||
<p align="center">
|
||||
<a href="https://www.npmjs.com/package/@lumbridgecorp/openclaw-mattermost"><img src="https://img.shields.io/npm/v/@lumbridgecorp/openclaw-mattermost.svg?style=for-the-badge&color=blue" alt="npm version"></a>
|
||||
<a href="https://git.karti.ai/open-source/openclaw-extentions-mattermost/releases/tag/v1.0.0"><img src="https://img.shields.io/badge/Release-v1.0.0-green.svg?style=for-the-badge" alt="Latest Release"></a>
|
||||
<a href="https://git.karti.ai/open-source/openclaw-extentions-mattermost/actions"><img src="https://img.shields.io/badge/CI-Passing-brightgreen.svg?style=for-the-badge" alt="CI Status"></a>
|
||||
<a href="https://www.npmjs.com/package/@karti-ai/openclaw-mattermost"><img src="https://img.shields.io/npm/v/@karti-ai/openclaw-mattermost.svg?style=for-the-badge&color=blue" alt="npm version"></a>
|
||||
<a href="https://github.com/karti-ai/open-source/openclaw-extentions-mattermost/releases/tag/v1.0.0"><img src="https://img.shields.io/badge/Release-v1.0.0-green.svg?style=for-the-badge" alt="Latest Release"></a>
|
||||
<a href="https://github.com/karti-ai/open-source/openclaw-extentions-mattermost/actions"><img src="https://img.shields.io/badge/CI-Passing-brightgreen.svg?style=for-the-badge" alt="CI Status"></a>
|
||||
<a href="LICENSE"><img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg?style=for-the-badge" alt="Apache 2.0 License"></a>
|
||||
<a href="https://git.karti.ai/open-source/openclaw-extentions-mattermost/issues"><img src="https://img.shields.io/badge/Issues-Open-orange.svg?style=for-the-badge" alt="Open Issues"></a>
|
||||
<a href="https://github.com/karti-ai/open-source/openclaw-extentions-mattermost/issues"><img src="https://img.shields.io/badge/Issues-Open-orange.svg?style=for-the-badge" alt="Open Issues"></a>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
@@ -66,19 +66,19 @@ This enhanced Mattermost extension brings advanced capabilities to OpenClaw, ena
|
||||
### NPM Installation
|
||||
|
||||
```bash
|
||||
npm install @lumbridgecorp/openclaw-mattermost
|
||||
npm install @karti-ai/openclaw-mattermost
|
||||
```
|
||||
|
||||
### PNPM Installation
|
||||
|
||||
```bash
|
||||
pnpm add @lumbridgecorp/openclaw-mattermost
|
||||
pnpm add @karti-ai/openclaw-mattermost
|
||||
```
|
||||
|
||||
### Yarn Installation
|
||||
|
||||
```bash
|
||||
yarn add @lumbridgecorp/openclaw-mattermost
|
||||
yarn add @karti-ai/openclaw-mattermost
|
||||
```
|
||||
|
||||
## Quick Start
|
||||
@@ -297,7 +297,7 @@ The extension automatically selects the right token:
|
||||
### Sending Messages
|
||||
|
||||
```typescript
|
||||
import { sendMessage } from '@lumbridgecorp/openclaw-mattermost';
|
||||
import { sendMessage } from '@karti-ai/openclaw-mattermost';
|
||||
|
||||
await sendMessage({
|
||||
cfg: openclawConfig,
|
||||
@@ -339,7 +339,7 @@ await sendMessage({
|
||||
### Editing Messages
|
||||
|
||||
```typescript
|
||||
import { editMessage } from '@lumbridgecorp/openclaw-mattermost';
|
||||
import { editMessage } from '@karti-ai/openclaw-mattermost';
|
||||
|
||||
const result = await editMessage({
|
||||
cfg: openclawConfig,
|
||||
@@ -356,7 +356,7 @@ if (!result.ok) {
|
||||
### Deleting Messages
|
||||
|
||||
```typescript
|
||||
import { deleteMessage } from '@lumbridgecorp/openclaw-mattermost';
|
||||
import { deleteMessage } from '@karti-ai/openclaw-mattermost';
|
||||
|
||||
const result = await deleteMessage({
|
||||
cfg: openclawConfig,
|
||||
@@ -372,7 +372,7 @@ if (result.ok) {
|
||||
### Downloading Files
|
||||
|
||||
```typescript
|
||||
import { downloadFile } from '@lumbridgecorp/openclaw-mattermost';
|
||||
import { downloadFile } from '@karti-ai/openclaw-mattermost';
|
||||
|
||||
const result = await downloadFile({
|
||||
cfg: openclawConfig,
|
||||
@@ -390,7 +390,7 @@ if (result.ok) {
|
||||
### Running Security Audit
|
||||
|
||||
```typescript
|
||||
import { collectMattermostSecurityAuditFindings } from '@lumbridgecorp/openclaw-mattermost';
|
||||
import { collectMattermostSecurityAuditFindings } from '@karti-ai/openclaw-mattermost';
|
||||
|
||||
const findings = await collectMattermostSecurityAuditFindings({
|
||||
cfg: openclawConfig,
|
||||
@@ -497,8 +497,8 @@ This project is licensed under the Apache License 2.0. See [LICENSE](LICENSE) fo
|
||||
|
||||
## Support
|
||||
|
||||
- **Issues**: [GitHub Issues](https://github.com/lumbridgecorp/openclaw-extentions-mattermost/issues)
|
||||
- **Discussions**: [GitHub Discussions](https://github.com/lumbridgecorp/openclaw-extentions-mattermost/discussions)
|
||||
- **Issues**: [GitHub Issues](https://github.com/karti-ai/openclaw-extentions-mattermost/issues)
|
||||
- **Discussions**: [GitHub Discussions](https://github.com/karti-ai/openclaw-extentions-mattermost/discussions)
|
||||
|
||||
---
|
||||
|
||||
|
||||
+12
-12
@@ -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
@@ -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
|
||||
|
||||
Generated
+2
-2
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "@lumbridgecorp/openclaw-mattermost",
|
||||
"name": "@karti-ai/openclaw-mattermost",
|
||||
"version": "1.0.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@lumbridgecorp/openclaw-mattermost",
|
||||
"name": "@karti-ai/openclaw-mattermost",
|
||||
"version": "1.0.0",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@lumbridgecorp/openclaw-mattermost",
|
||||
"name": "@karti-ai/openclaw-mattermost",
|
||||
"version": "1.0.0",
|
||||
"description": "Enhanced Mattermost Extension for OpenClaw - self-hosted Slack-style chat plugin",
|
||||
"type": "module",
|
||||
@@ -70,7 +70,7 @@
|
||||
"order": 65
|
||||
},
|
||||
"install": {
|
||||
"npmSpec": "@lumbridgecorp/openclaw-mattermost",
|
||||
"npmSpec": "@karti-ai/openclaw-mattermost",
|
||||
"defaultChoice": "npm",
|
||||
"minHostVersion": ">=2026.4.9"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user