Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .antigravity-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "back4app",
"displayName": "Back4app",
"version": "0.1.22",
"version": "0.1.23",
"description": "Deploy anything that runs in a container, from web apps and websites to APIs and backends, and get a live HTTPS address. No account needed to start.",
"suggestedPrompts": [
"Deploy this folder to Back4app",
Expand Down
2 changes: 1 addition & 1 deletion .claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "back4app",
"displayName": "Back4app",
"version": "0.1.22",
"version": "0.1.23",
"description": "Deploy anything that runs in a container, from web apps and websites to APIs and backends, and get a live HTTPS address. No account needed to start.",
"author": {
"name": "Back4app",
Expand Down
2 changes: 1 addition & 1 deletion .codex-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "back4app",
"version": "0.1.22",
"version": "0.1.23",
"description": "Deploy anything that runs in a container, from web apps and websites to APIs and backends, and get a live HTTPS address. No account needed to start.",
"author": {
"name": "Back4app",
Expand Down
2 changes: 1 addition & 1 deletion .cursor-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "back4app",
"version": "0.1.22",
"version": "0.1.23",
"description": "Deploy anything that runs in a container, from web apps and websites to APIs and backends, and get a live HTTPS address. No account needed to start.",
"author": {
"name": "Back4app"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
".kimi-plugin/plugin.json",
".antigravity-plugin/plugin.json",
"gemini-extension.json",
"package.json",
]
versions = {f: json.loads(pathlib.Path(f).read_text())["version"] for f in manifests}
if len(set(versions.values())) != 1:
Expand Down
2 changes: 1 addition & 1 deletion .kimi-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "back4app",
"version": "0.1.22",
"version": "0.1.23",
"description": "Deploy anything that runs in a container, from web apps and websites to APIs and backends, and get a live HTTPS address. No account needed to start.",
"keywords": [
"back4app",
Expand Down
2 changes: 1 addition & 1 deletion .plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
"name": "back4app",
"version": "0.1.22",
"version": "0.1.23",
"description": "Deploy anything that runs in a container, from web apps and websites to APIs and backends, and get a live HTTPS address. No account needed to start.",
"author": {
"name": "Back4app",
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ Deploy anything that runs in a container, from web apps and websites to APIs and

## Supported tools

Claude Code, Claude (claude.ai, desktop, Cowork), Cursor, Codex, GitHub Copilot CLI, VS Code, Gemini CLI, Grok Build, Kimi Code and Antigravity.
Claude Code, Claude (claude.ai, desktop, Cowork), Cursor, Codex, GitHub Copilot CLI, VS Code, Gemini CLI, Grok Build, Kimi Code, Antigravity and DeepSeek Harness.

## Install

```bash
npx plugins add back4app/back4app-plugin
```

That's it: the plugin installs the Back4app MCP server and the Web Deployment skill. For Gemini CLI, run `gemini extensions install https://github.com/back4app/back4app-plugin`.
That's it: the plugin installs the Back4app MCP server and the Web Deployment skill. For Gemini CLI, run `gemini extensions install https://github.com/back4app/back4app-plugin`. For DeepSeek Harness, run `dsh plugin --profile tui add github:back4app/back4app-plugin`: it installs the skill, which deploys with the Back4app CLI.

## Back4app MCP server

Expand Down
4 changes: 4 additions & 0 deletions cordis.patch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# DeepSeek Harness bundle: registers the back4app-web-deployment skill.
- insert:
- id: back4app
name: back4app
2 changes: 1 addition & 1 deletion gemini-extension.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "back4app",
"version": "0.1.22",
"version": "0.1.23",
"description": "Deploy anything that runs in a container, from web apps and websites to APIs and backends, and get a live HTTPS address. No account needed to start.",
"mcpServers": {
"back4app": {
Expand Down
58 changes: 58 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
// DeepSeek Harness plugin: registers the skills in ./skills on the harness skill registry.
import { readFileSync, readdirSync } from 'node:fs'
import { fileURLToPath } from 'node:url'
import { join } from 'node:path'

const SKILLS_DIR = fileURLToPath(new URL('./skills/', import.meta.url))
const PROVIDER = 'back4app'
const RANK = 600
const INVOCATION = { modelInvocable: true, userInvocable: true }

export const name = 'back4app'
export const inject = ['skills']

export function apply(ctx) {
readSkills()
ctx.skills.registerProvider(() => ({
name: PROVIDER,
async list(options) {
options?.signal?.throwIfAborted()
return readSkills().map(({ content, ...candidate }) => ({ ...candidate, rank: RANK, locator: candidate.path }))
},
async get(candidate, options) {
options?.signal?.throwIfAborted()
return readSkills().find((skill) => skill.name === candidate.name)
},
}))
}

function readSkills() {
return readdirSync(SKILLS_DIR, { withFileTypes: true })
.filter((entry) => entry.isDirectory())
.map((entry) => readSkill(join(SKILLS_DIR, entry.name)))
}

function readSkill(dir) {
const path = join(dir, 'SKILL.md')
const raw = readFileSync(path, 'utf8').replace(/\r\n/g, '\n')
const match = /^---\n([\s\S]*?)\n---\n/.exec(raw)
if (!match) throw new Error(`back4app: ${path} has no frontmatter`)
const fields = {}
for (const line of match[1].split('\n')) {
const at = line.indexOf(': ')
if (at > 0) fields[line.slice(0, at).trim()] = line.slice(at + 2).trim()
}
if (!/^[a-z0-9]+(?:-[a-z0-9]+)*$/.test(fields.name ?? '') || !fields.description) {
throw new Error(`back4app: ${path} needs a kebab-case name and a description`)
}
return {
name: fields.name,
description: fields.description,
invocation: INVOCATION,
provider: PROVIDER,
source: 'bundled',
resourceBase: { kind: 'directory', path: dir + '/' },
path,
content: raw.slice(match[0].length).trim(),
}
}
29 changes: 29 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "back4app",
"version": "0.1.23",
"description": "Deploy anything that runs in a container, from web apps and websites to APIs and backends, and get a live HTTPS address. No account needed to start.",
"type": "module",
"main": "index.js",
"files": [
"index.js",
"cordis.patch.yml",
"skills"
],
"dsh": {
"bundle": {
"patch": "./cordis.patch.yml"
}
},
"keywords": [
"dsh-plugin",
"deepseek-harness",
"back4app",
"deploy",
"hosting",
"agent-skills"
],
"homepage": "https://www.back4app.com",
"repository": "https://github.com/back4app/back4app-plugin",
"license": "MIT",
"author": "Back4app <community@back4app.com>"
}
Loading