open-index/open-npm huggingface dataset:
npm package: @guimini/platform-event-trigger-flow-retryer
Description: A simple way to enable App Builders to create Flows that can be retried when processing Platform Events
Latest version: 0.1.1

# platform-event-trigger-flow-retryer

A simple way to enable App Builders to create Flows that can be retried when processing Platform Events

## Install

`npm install @guimini/platform-event-trigger-flow-retryer`

Then add it as a package directory by editing `sfdx-project.json`

```
"packageDirectories": [
    [...],
    {
      "path": "node_modules/@guimini/platform-event-trigger-flow-retryer/force-app"
    }
  ],
```

## Usage

### Prepare your flow

Create an `autolauched` flow, based on template `RetryablePlatformEventFlowTemplate`.
Add an input variable for your platform event.
Add your logic.
Should the vent need to be retried, assign `retry=true` and `retryReason` to any string explaning why the event needs to be retried.

See `Retryable_Platform_Event_Flow`
![Example of flow enriching lead](sampleFlow.png)

### Prepare your trigger

Create an Apex trigger for your platform event.

```
trigger SamplePlatformEventTrigger on SamplePlatformEvent__e(after insert) {
  PlatformEventFlowRetryer retrier = new PlatformEventFlowRetryer(
    'Retryable_Platform_Event_Flow' // api name of the flow you just created
  );
  for (SamplePlatformEvent__e pe : Trigger.New) {
    retrier.start(new Map<String, Object>{ 'platformEvent' => pe }); // must reflect the variable name you created
    EventBus.TriggerContext.currentContext().setResumeCheckpoint(pe.ReplayId);
  }
}
```

## Publish to NPM

I do not have time to setup a full CI/CD for something that should not move that much
Simply run this by hand
`npm publish`
npm package: @guimu/hello-world-mcp-server
Description: A simple hello world MCP server
Author: Your Name
Latest version: 1.0.0

# Hello World MCP Server

一个简单的 MCP (Model Context Protocol) 服务器示例，提供基本的问候、时间查询和计算功能。

## 安装依赖

```bash
npm install
```

## 本地开发测试

```bash
npm start
```

## 发布到 npm

1. 修改 `package.json` 中的包名（确保唯一性）
2. 登录 npm：`npm login`
3. 发布：`npm publish`

## 在 MCP 客户端中使用

发布到 npm 后，可以在 MCP 客户端配置中这样使用：

```json
{
  "mcpServers": {
    "hello-world": {
      "command": "npx",
      "args": [
        "-y",
        "你的包名"
      ]
    }
  }
}
```

## 提供的工具

- `say_hello`: 向指定的人问好
- `get_time`: 获取当前北京时间
- `calculate`: 简单的四则运算计算器

## 本地测试配置

如果还未发布，可以使用本地路径进行测试：

```json
{
  "mcpServers": {
    "hello-world": {
      "command": "node",
      "args": [
        "/Users/guimu/cursor/mcp/index.js"
      ]
    }
  }
}
```
npm package: @guineatech/224tech
Description: A CLI to bootstrap projects
Author: rahimi diallo
Latest version: 1.1.0

# 224Tech

<br>

[![📟](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/install.png)](./../../)

## Install

```sh
npm i @guineatech/224tech
```
```sh
yarn add @guineatech/224tech
```

```sh 
npx @guineatech/224tech
```

<br>

[![⚙️](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/usage.png)](./../../)

## Usage

run `224tech` in your terminal and follow the instructions
[![224tech](https://user-images.githubusercontent.com/11004336/139532933-5f82a7d8-ac70-4176-a50a-3a4456e61748.png)](./../../)

<br>

## License

- MIT 
<br>
npm package: @guineatech/cli-alerts
Description: Cross platform CLI Alerts with colors & colored symbols for success, info, warning, error. Works on macOS, Linux, and Windows.
Author: Thierno Abdoul Rahimi Diallo
Latest version: 1.1.0

<h1 align="center">**CLI-ALERTS**</h1>
<h4 align="center">
A Cross platform CLI Alerts with colors & colored symbols for success, info, warning, error.
<br>
Work on macOS, Linux, and Windows.
</h4>
<br />
<hr/>

[![📟](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/install.png)](./../../)

## Install

```sh
npm install @guineatech/cli-alerts
```

```sh
yarn add  @guineatech/cli-alerts
```

<hr/>

[![⚙️](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/usage.png)](./../../)

## Usage

```js
const alert = require('cli-alerts');

// Provide the type, msg, and name options.
alert({type: `success`, msg: `Everything finished!`});
// Prints: ✔ SUCCESS Everything finished!

alert({type: `success`, msg: `Everything finished!`, name: `DONE`, data: {name: 'alpha'}});
// Prints: ✔ DONE Everything finished! {
//   name: 'alpha'
//}

alert({type: `warning`, msg: `You didn't add something!`});
// Prints: ⚠ WARNING You didn't add something!

alert({type: `info`, msg: `Awais is awesome!`});
// Prints: ℹ INFO Awais is awesome!

alert({type: `error`, msg: `Something went wrong!`});
// Prints: ✖ ERROR Something went wrong!
```

<br />
<hr/>

[![📃](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/options.png)](./../../)

## API

### alert(options)

#### ❯ options

Type: `object`<br>
Default: `{}`

You can specify the options below.

##### ❯ type

Type: `string`<br>
Default: `error`

##### ❯ msg

Type: `string`<br>
Default: `You forgot to define all options.` (Error message)

##### ❯ name

Type: `string`<br>
Default: `''` (Empty string)

<br />
<hr/>

[![📃](https://raw.githubusercontent.com/ahmadawais/stuff/master/images/git/license.png)](./../../)

## License & Conduct

- [MIT](license)
- [Code of Conduct](code-of-conduct.md)