supertag-ai 0.3.1 → 0.3.4

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 CHANGED
@@ -4,8 +4,8 @@
4
4
 
5
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
- agents you already use. The `supertag` CLI, the Control Plane, the Gateway, and Worker Hosts are
8
- native programs; see the
7
+ agents you already use. The `supertag` CLI, the Control Plane, the Gateway, and the Worklet that
8
+ connects each Worker Host are native programs; see the
9
9
  [installation guide](https://github.com/atemaguer/supertag/blob/main/docs/operations/install.md).
10
10
 
11
11
  This package is the TypeScript SDK. It has two entry points:
@@ -13,8 +13,8 @@ This package is the TypeScript SDK. It has two entry points:
13
13
  - `supertag-ai/gateway-client`: `createGatewayClient` connects an operator application
14
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
- - `supertag-ai/harness`: `openHarness` reads the execution bootstrap a Worker Host writes to a
17
- harness adapter's standard input and connects to the Worker Host's private harness service for
16
+ - `supertag-ai/harness`: `openHarness` reads the execution bootstrap a Worklet writes to a
17
+ harness adapter's standard input and connects to the Worklet's private harness service for
18
18
  that one Task, including Worker-managed effect receipts. Each event an adapter publishes names
19
19
  its `TaskEventKind`: a whole message, an activity line, or a plan.
20
20
 
@@ -37,6 +37,22 @@ try {
37
37
  }
38
38
  ```
39
39
 
40
+ The URL is an `https://` origin, a loopback `http://` origin, or a WebSocket tunnel URL: `wss://`,
41
+ or loopback `ws://`, with an optional path. A tunnel carries the same gRPC connection for hosts
42
+ whose proxy forwards only HTTP/1.1, and the Gateway's own TLS runs end to end inside a `wss://`
43
+ tunnel. The token is an operator token, Operator Token, enrolled credential, or Auth Key. Where
44
+ Node.js can read them (`tls.getCACertificates`), the client trusts the operating system's
45
+ certificate authorities as well as Node.js's own; pass `ca` for a Gateway with a private
46
+ certificate. Connecting times out after 5 seconds, or 30 through a tunnel; `connectTimeoutMs`
47
+ changes it.
48
+
49
+ Besides the operator services, the client has `enrollments` (`whoAmI`, and `enroll` with an
50
+ Auth Key), `memories`, `networkLogs`, `schedules`, and `taskFiles`. A Gateway from a SuperTag
51
+ release that speaks none of this client's protocol versions (`PROTOCOL_VERSIONS`) rejects every
52
+ call with `ProtocolMismatchError`, whose `peerVersions` and `peerBuild` name the Gateway's
53
+ release when it gave them. `client.negotiate()` checks this without sending the token, and
54
+ `buildVersion` names your application's release to the Gateway.
55
+
40
56
  Use Node.js 22.13.0 or newer. SuperTag is below version 1.0; the
41
57
  [API stability policy](https://github.com/atemaguer/supertag/blob/main/docs/reference/api-stability.md)
42
58
  describes compatibility.