supertag-ai 0.3.0 → 0.3.1
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 +8 -7
- package/dist/{artifact_pb-LXdVhblQ.d.ts → artifact_pb-Cqhvp5uO.d.ts} +1747 -418
- package/dist/chunk-S7YX2IW2.js +80 -0
- package/dist/chunk-S7YX2IW2.js.map +1 -0
- package/dist/{control-plane-client.d.ts → gateway-client.d.ts} +246 -211
- package/dist/gateway-client.js +158 -0
- package/dist/gateway-client.js.map +1 -0
- package/dist/harness.d.ts +494 -60
- package/dist/harness.js +18 -8
- package/dist/harness.js.map +1 -1
- package/package.json +7 -7
- package/dist/chunk-NZ3QQNB3.js +0 -74
- package/dist/chunk-NZ3QQNB3.js.map +0 -1
- package/dist/control-plane-client.js +0 -162
- package/dist/control-plane-client.js.map +0 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
**TypeScript SDK for SuperTag.**
|
|
4
4
|
|
|
5
|
-
SuperTag runs persistent AI actors for engineering work. A **Tag** is a persistent AI actor with a
|
|
5
|
+
SuperTag runs persistent, proactive, multiplayer AI actors for engineering work. A **Tag** is a persistent AI actor with a
|
|
6
6
|
stable identity, responsibilities, permissions, and work history; it runs its work on the coding
|
|
7
7
|
agents you already use. The `supertag` CLI, the Control Plane, the Gateway, and Worker Hosts are
|
|
8
8
|
native programs; see the
|
|
@@ -10,22 +10,23 @@ native programs; see the
|
|
|
10
10
|
|
|
11
11
|
This package is the TypeScript SDK. It has two entry points:
|
|
12
12
|
|
|
13
|
-
- `supertag-ai/
|
|
14
|
-
to a SuperTag
|
|
13
|
+
- `supertag-ai/gateway-client`: `createGatewayClient` connects an operator application
|
|
14
|
+
to a SuperTag Gateway over gRPC. It negotiates the SuperTag protocol version before its
|
|
15
15
|
first call and names it on every call.
|
|
16
16
|
- `supertag-ai/harness`: `openHarness` reads the execution bootstrap a Worker Host writes to a
|
|
17
17
|
harness adapter's standard input and connects to the Worker Host's private harness service for
|
|
18
|
-
that one Task, including Worker-managed effect receipts.
|
|
18
|
+
that one Task, including Worker-managed effect receipts. Each event an adapter publishes names
|
|
19
|
+
its `TaskEventKind`: a whole message, an activity line, or a plan.
|
|
19
20
|
|
|
20
21
|
```sh
|
|
21
22
|
npm install supertag-ai
|
|
22
23
|
```
|
|
23
24
|
|
|
24
25
|
```ts
|
|
25
|
-
import {
|
|
26
|
+
import { createGatewayClient } from "supertag-ai/gateway-client";
|
|
26
27
|
|
|
27
|
-
const client =
|
|
28
|
-
url: "https://
|
|
28
|
+
const client = createGatewayClient({
|
|
29
|
+
url: "https://gateway.example.com",
|
|
29
30
|
token: process.env.SUPERTAG_OPERATOR_TOKEN!,
|
|
30
31
|
});
|
|
31
32
|
try {
|