service-bridge 2.0.0-alpha.2 → 2.0.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -4
- package/package.json +1 -2
package/README.md
CHANGED
|
@@ -40,6 +40,7 @@ You declare what your service handles and what it calls. ServiceBridge does the
|
|
|
40
40
|
## Table of contents
|
|
41
41
|
|
|
42
42
|
- [Install](#install)
|
|
43
|
+
- [AI coding skill](#ai-coding-skill)
|
|
43
44
|
- [Why ServiceBridge](#why-servicebridge)
|
|
44
45
|
- [Use cases](#use-cases)
|
|
45
46
|
- [Quick start](#quick-start)
|
|
@@ -87,21 +88,25 @@ const sb = new ServiceBridge(
|
|
|
87
88
|
|
|
88
89
|
The third constructor argument is an [options](#configuration) object. The SDK reads **no environment variables** — every knob is a constructor option, so you stay in control of where config comes from.
|
|
89
90
|
|
|
90
|
-
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
## AI coding skill
|
|
94
|
+
|
|
95
|
+
This package ships an official skill so your AI coding agent (Claude Code, etc.) writes correct ServiceBridge code on the first try — RPC, events, workflows, jobs and Express/Fastify/Hono integration, grounded in this exact SDK rather than guessed.
|
|
91
96
|
|
|
92
|
-
|
|
97
|
+
It comes with the install. Copy it into your agent's skills directory — `.claude/skills/` for Claude Code, or `~/.claude/skills/` for all projects:
|
|
93
98
|
|
|
94
99
|
```sh
|
|
95
100
|
cp -r node_modules/service-bridge/skill .claude/skills/servicebridge-node
|
|
96
101
|
```
|
|
97
102
|
|
|
98
|
-
Not installed yet? Pull it straight from the repo:
|
|
103
|
+
Not installed yet? Pull it straight from the repo with degit:
|
|
99
104
|
|
|
100
105
|
```sh
|
|
101
106
|
npx degit service-bridge/sdk/node/skill .claude/skills/servicebridge-node
|
|
102
107
|
```
|
|
103
108
|
|
|
104
|
-
Source: [`node/skill/`](https://github.com/service-bridge/sdk/tree/main/node/skill).
|
|
109
|
+
Restart the agent so it loads the skill. Source and contents: [`node/skill/`](https://github.com/service-bridge/sdk/tree/main/node/skill).
|
|
105
110
|
|
|
106
111
|
---
|
|
107
112
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "service-bridge",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.3",
|
|
4
4
|
"description": "TypeScript SDK for ServiceBridge — RPC, durable events, workflows, jobs and observability over a single self-hosted gRPC runtime with mTLS.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
},
|
|
15
15
|
"homepage": "https://servicebridge.dev",
|
|
16
16
|
"publishConfig": {
|
|
17
|
-
"tag": "alpha",
|
|
18
17
|
"access": "public",
|
|
19
18
|
"provenance": true
|
|
20
19
|
},
|