supertag-ai 0.2.0-alpha.4 → 0.2.0-alpha.5

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
@@ -1,34 +1,114 @@
1
1
  # supertag-ai
2
2
 
3
- This package is the command-line interface and extension SDK for SuperTag. With SuperTag, you define
4
- outcomes instead of tasks, and an AI engineering team delivers them.
3
+ **Define outcomes, not tasks. An AI engineering team delivers them.**
5
4
 
6
- Start with [the bundled core concepts](dist/docs/concepts/README.md)
7
- before choosing an SDK extension point.
5
+ SuperTag is open infrastructure for running autonomous AI engineering teams on your models,
6
+ harnesses, and machines. Describe an outcome with success criteria, a budget, a deadline, and the
7
+ approvals you want to keep. A team plans the work, runs it in parallel, reviews results, and brings
8
+ you the decisions that need you.
8
9
 
9
- SuperTag calls each AI actor a **Tag**. A **Task** is one assignment accepted for that Tag. A
10
- **Worker** completes the Task, and an optional **harness** connects the Worker to an agent system.
11
- A **Role** describes an enduring responsibility held by a Tag. The **Control Plane** is the service
12
- that stores and coordinates the organization. A **Worker Host** is a machine or sandbox where work
13
- runs, and a **Worklet** connects that host to the Control Plane. An **execution environment**
14
- provides the files, processes, and network used by a harness. A **collaboration surface** links SuperTag to an
15
- external work tool. This SDK lets applications extend each of these boundaries.
10
+ Each team member is a **Tag**: a persistent AI identity with its own responsibilities and permissions.
11
+ An **Objective** records the outcome the team works toward. A **Team** is a group of Tags with a lead,
12
+ and a **Task** is one assignment accepted by a Tag. Objectives and their history survive individual
13
+ agent sessions and restarts.
16
14
 
17
- Security and governance use the same resource model. Context Sets select reusable knowledge,
18
- Permission Sets select allowed actions, and each Task carries its recorded policy into execution.
15
+ For example: “People can invite teammates to a workspace and choose their role. Done when the
16
+ end-to-end tests pass and the API docs cover it. Ask me before changing the database schema.”
17
+ A lead Tag can coordinate builders and reviewers across that work while you steer the outcome.
19
18
 
20
- Install from a repository clone using [the installation guide](../../docs/operations/install.md).
21
- The build contains the CLI, SDK, and documentation under `dist/docs/`. Keep the clone in place.
19
+ This package contains the **CLI and TypeScript extension SDK**. It is the only public SuperTag npm
20
+ package; applications use its public entry points rather than private workspace packages.
22
21
 
23
- After building, add the SDK to your application from the local checkout:
22
+ [Documentation](https://github.com/atemaguer/supertag/blob/main/docs/README.md) ·
23
+ [Repository](https://github.com/atemaguer/supertag) ·
24
+ [First Team walkthrough](https://github.com/atemaguer/supertag/blob/main/docs/guides/first-team.md) ·
25
+ [Changelog](https://github.com/atemaguer/supertag/blob/main/CHANGELOG.md)
26
+
27
+ ## Install the CLI
28
+
29
+ Use Node.js 22.13.0 or newer on macOS or Linux:
24
30
 
25
31
  ```sh
26
- npm install /absolute/path/to/supertag/packages/supertag-ai
32
+ npm install -g supertag-ai
33
+ supertag --version
27
34
  ```
28
35
 
29
- Replace the path with your SuperTag checkout. The globally linked CLI is available as `supertag`.
36
+ No SuperTag source checkout is required. If npm's global prefix is not writable, follow the
37
+ [installation guide](https://github.com/atemaguer/supertag/blob/main/docs/operations/install.md)
38
+ for a user-owned prefix and PATH setup. SuperTag is in alpha; the
39
+ [API stability policy](https://github.com/atemaguer/supertag/blob/main/docs/reference/api-stability.md)
40
+ describes compatibility and which extension interfaces are stable enough to build on.
41
+
42
+ ## Get a first result
43
+
44
+ Start in a git repository with at least one commit. Install and sign in to the coding harnesses
45
+ you want to use before setup; a **harness** connects a Worker to an agent system such as Codex or
46
+ Claude Code. Cursor uses an API key rather than the Cursor app's sign-in. See
47
+ [requirements and harness sign-in](https://github.com/atemaguer/supertag/blob/main/docs/operations/requirements.md).
48
+
49
+ ```sh
50
+ cd /path/to/your/repository
51
+ supertag init
52
+ supertag ps
53
+ ```
30
54
 
31
- The main entry point contains Worker components and the persistent Worklet transport client:
55
+ `init` sets up a local **Control Plane**, the service that stores your organization and schedules
56
+ work, and connects your machine as a **Worker Host**, which provides execution capacity. A
57
+ **Worker** completes a Task, and a **Worklet** connects its host to the Control Plane.
58
+
59
+ Keep the default lead Tag name `lead`. Replace `YOUR_WORKSPACE` below with the Workspace name
60
+ printed by setup; a **Workspace** connects a repository to SuperTag.
61
+
62
+ ```sh
63
+ supertag create objective first-reply --owner lead --workspace YOUR_WORKSPACE \
64
+ --budget-minor 1000 --budget-currency USD \
65
+ --outcome 'Create SUPERTAG-HELLO.md containing exactly: Hello from SuperTag. Done when the file exists and you have checked its contents. Do this yourself without delegating; change no other files.'
66
+ supertag watch objective first-reply
67
+ supertag describe objective first-reply
68
+ ```
69
+
70
+ Work arrives on a separate git branch for you to review. Use the branch and review commands printed
71
+ by `describe objective`; your original checkout stays on its current branch. Stopping `watch` does
72
+ not stop the work. `supertag down` stops the local services, and `supertag up` starts them again.
73
+
74
+ Next, [add a builder and run your first Team](https://github.com/atemaguer/supertag/blob/main/docs/guides/first-team.md).
75
+ You can also give your coding agent the
76
+ [operator skill](https://github.com/atemaguer/supertag/blob/main/docs/guides/coding-agent-operator.md)
77
+ and use one conversation to create Objectives, follow progress, answer questions, and review results.
78
+
79
+ ## What you can use today
80
+
81
+ - **Choose each Tag's coding harness.** Codex, Claude Code, Cursor, OpenCode, or a custom harness.
82
+ See [harness runtime](https://github.com/atemaguer/supertag/blob/main/docs/guides/harness-runtime.md)
83
+ for supported execution modes and credential handling.
84
+ - **Run work where your code lives.** Use local or remote Worker Hosts, with execution adapters
85
+ for Modal and E2B. Supported harness/provider combinations and current limits are documented in
86
+ [shared execution](https://github.com/atemaguer/supertag/blob/main/docs/guides/shared-execution.md).
87
+ - **Direct the team from your tools.** Use the CLI or API, or connect Slack, GitHub, Linear,
88
+ Lark/Feishu, and Microsoft Teams through
89
+ [collaboration surfaces](https://github.com/atemaguer/supertag/blob/main/docs/surfaces/README.md).
90
+ - **Keep explicit authority.** A **Permission Set** lists allowed actions; a **Context Set**
91
+ selects reusable knowledge. Tasks retain the policy recorded when accepted. Set approval points,
92
+ inspect the operator inbox, and track reported usage and spend.
93
+ - **Keep work going across interruptions.** Persistent organization state, resumable sessions,
94
+ durable delivery, and recorded recovery support work across sessions and hosts. See
95
+ [scheduling and recovery](https://github.com/atemaguer/supertag/blob/main/docs/reference/scheduling-and-recovery.md).
96
+
97
+ For a team deployment, follow
98
+ [self-hosting](https://github.com/atemaguer/supertag/blob/main/docs/guides/self-hosting.md).
99
+ For ongoing work such as dependency upkeep or backlog triage, see
100
+ [ongoing responsibilities](https://github.com/atemaguer/supertag/blob/main/docs/guides/ongoing-responsibilities.md).
101
+
102
+ ## Build with the TypeScript SDK
103
+
104
+ Add the package to your application:
105
+
106
+ ```sh
107
+ npm install supertag-ai
108
+ ```
109
+
110
+ The package is ESM-only and includes TypeScript declarations. Its root entry point exposes the
111
+ common Worker and Worklet building blocks:
32
112
 
33
113
  ```ts
34
114
  import {
@@ -40,85 +120,66 @@ import {
40
120
  } from "supertag-ai";
41
121
  ```
42
122
 
43
- Use explicit subpaths for optional implementations and lower-level extension contracts:
123
+ Use explicit entry points for integrations and lower-level contracts:
124
+
125
+ | Entry point | Use it for |
126
+ | --- | --- |
127
+ | `supertag-ai` | Worker composition, local execution, and Worklet connections |
128
+ | `supertag-ai/core` | Domain types and resource schemas |
129
+ | `supertag-ai/worker` | Custom Workers, harnesses, input resolution, tools, environments, and continuity |
130
+ | `supertag-ai/transport` | Worklet transport and protocol contracts |
131
+ | `supertag-ai/messaging` | Tag messaging, Team channels, and custom Worker consumers |
132
+ | `supertag-ai/coordination` | Typed operator client and the redacted coordination inbox |
133
+ | `supertag-ai/testing` | Extension conformance probes |
134
+ | `supertag-ai/surfaces` | Custom collaboration surfaces |
135
+ | `supertag-ai/control-plane` | Embedding the Control Plane |
136
+ | `supertag-ai/harnesses/codex` | Codex harness |
137
+ | `supertag-ai/harnesses/claude-code` | Claude Code harness |
138
+ | `supertag-ai/harnesses/cursor` | Cursor harness |
139
+ | `supertag-ai/harnesses/opencode` | OpenCode harness |
140
+ | `supertag-ai/environments/e2b` | E2B execution adapter |
141
+ | `supertag-ai/environments/modal` | Modal execution adapter |
142
+ | `supertag-ai/environments/shared-execution` | Shared execution service integration |
143
+ | `supertag-ai/resources/github` | GitHub workspace and permission-derived resource integrations |
144
+ | `supertag-ai/spec/*` | Language-neutral wire schemas |
145
+
146
+ See the [entry-point stability table](https://github.com/atemaguer/supertag/blob/main/docs/reference/api-stability.md#package-entry-points)
147
+ before selecting an extension boundary. The
148
+ [custom Worker guide](https://github.com/atemaguer/supertag/blob/main/docs/guides/custom-workers.md)
149
+ and [external example](https://github.com/atemaguer/supertag/tree/main/examples/custom-worker)
150
+ show complete implementations. To add reusable knowledge, follow
151
+ [custom Context types](https://github.com/atemaguer/supertag/blob/main/docs/guides/custom-context.md).
152
+
153
+ Custom Workers are ordinary applications run through Node.js, Bun, a container, or a process
154
+ supervisor. The CLI launches SuperTag's built-in TypeScript Workers; it does not turn custom
155
+ Workers into CLI subcommands. Optional execution integrations load through their explicit entry points.
156
+
157
+ The installed package includes guides under `dist/docs/` and wire schemas under `dist/spec/`.
158
+ For example, resolve a schema through `supertag-ai/spec/task-attempt-spec.schema.json`.
159
+ To find bundled collaboration surface guides and manifests, run `supertag setup surface slack --help`.
160
+
161
+ ## Python Workers
162
+
163
+ The matching Python SDK is published separately as `supertag` on PyPI:
44
164
 
45
- ```ts
46
- import { type Role, tagIdSchema } from "supertag-ai/core";
47
- import { CoordinationClient } from "supertag-ai/coordination";
48
- import { type Surface } from "supertag-ai/surfaces";
49
- import { CodexHarness } from "supertag-ai/harnesses/codex";
50
- import { ClaudeCodeHarness } from "supertag-ai/harnesses/claude-code";
51
- import { OpenCodeHarness } from "supertag-ai/harnesses/opencode";
52
- import { E2BExecutionEnvironmentProvider } from "supertag-ai/environments/e2b";
53
- import { ModalExecutionEnvironmentProvider } from "supertag-ai/environments/modal";
54
- import { GitHubRepositoryWorkspaceResolver } from "supertag-ai/resources/github";
55
- import { ControlPlane } from "supertag-ai/control-plane";
165
+ ```sh
166
+ python -m pip install 'supertag==0.2.0a5'
56
167
  ```
57
168
 
58
- The public `Role` contract describes a reusable responsibility. Operators define Roles through the
59
- Control Plane resource API and list them in `Tag.spec.roles`; built-in status is reported by the
60
- Control Plane without requiring applications to know an internal identifier.
61
-
62
- ## Public entry points
63
-
64
- | Import | Stability | Purpose |
65
- | --- | --- | --- |
66
- | `supertag-ai` | Beta | Worker Host, Worklet, Worker, local harness runtime and execution components, and Worklet transport |
67
- | `supertag-ai/core` | Beta | Tag, Role, Context Set, Permission Set, Task, Session, and surface-neutral domain contracts |
68
- | `supertag-ai/worker` | Beta | Worker, harness, environment, Context Resolver, tool, and sessionState contracts |
69
- | `supertag-ai/transport` | Experimental | Persistent remote Worklet connection and protocol |
70
- | `supertag-ai/messaging` | Experimental | Durable Tag messaging, Team channels (Workstreams), and custom Worker consumer |
71
- | `supertag-ai/coordination` | Experimental | Typed operator client and redacted coordination inbox contract |
72
- | `supertag-ai/testing` | Beta | Reusable extension conformance probes |
73
- | `supertag-ai/spec/*` | Experimental | Language-neutral JSON Schemas for Worker interoperability |
74
- | `supertag-ai/surfaces` | Beta | Custom collaboration surface contract and Markdown pipeline |
75
- | `supertag-ai/control-plane` | Experimental | Embeddable Control Plane service boundary |
76
- | `supertag-ai/harnesses/*` | Experimental | Shipped Codex, Claude Code, and OpenCode harnesses |
77
- | `supertag-ai/environments/e2b` | Experimental | Shipped E2B execution environment |
78
- | `supertag-ai/environments/modal` | Experimental | Shipped Modal execution environment |
79
- | `supertag-ai/environments/shared-execution` | Experimental | Task Attempt access to a shared execution service |
80
- | `supertag-ai/resources/*` | Experimental | Permission-derived MCP and workspace integrations |
81
-
82
- The package is ESM-only. See [Requirements](../../docs/operations/requirements.md) for the supported Node.js runtime. The CLI includes the shipped collaboration surface and harness integrations. E2B, Modal, and shared execution are loaded only through their explicit subpaths.
83
-
84
- The CLI launches SuperTag's built-in TypeScript Workers. Applications built with the SDK keep
85
- their own entry point and run through `node`, `bun`, a package script, a container command, or a
86
- process supervisor; they do not become `supertag` subcommands.
87
-
88
- Wire schemas can be resolved directly from the installed package, for example
89
- `supertag-ai/spec/task-attempt-spec.schema.json`. See the
90
- [custom Worker and harness guide](dist/docs/guides/custom-workers.md)
91
- for a complete implementation and Control Plane connection walkthrough, or the
92
- [custom Context guide](dist/docs/guides/custom-context.md)
93
- to add a namespaced knowledge type without replacing the Worker.
94
-
95
- The testing entry point currently provides conformance probes for Workers,
96
- harnesses, collaboration surfaces, execution environments, Tool Providers, Tool Adapters,
97
- and Worklet transport version negotiation. The repository also contains an
98
- [external extension example](https://github.com/atemaguer/supertag/tree/main/examples/custom-worker)
99
- with custom Worker, harness, and Environment Provider implementations verified
100
- against the built distribution.
101
-
102
- ## License
103
-
104
- Apache-2.0
105
-
106
- For surface-independent coordination, see the [Tag messaging guide](dist/docs/guides/tag-messaging.md).
169
+ Pin the prerelease explicitly so pip selects the matching SDK. Python applications can compose
170
+ custom Workers and use the Codex or OpenAI Agents harness integrations. See the
171
+ [Python Worker guide](https://github.com/atemaguer/supertag/blob/main/docs/guides/python-workers.md)
172
+ for installation extras, examples, and Control Plane connection details.
107
173
 
108
- Operators can list pending Task approvals and reviews without reading Task instructions, results,
109
- or acceptance criteria:
174
+ ## Contributing and support
110
175
 
111
- ```ts
112
- const coordination = new CoordinationClient({
113
- baseUrl: "https://supertag.example.com",
114
- token: process.env.SUPERTAG_COORDINATION_TOKEN!,
115
- });
116
- const pending = await coordination.inbox({ objectiveId: "objective-release" });
117
- ```
176
+ Report issues or propose improvements in the
177
+ [GitHub repository](https://github.com/atemaguer/supertag/issues). Read
178
+ [CONTRIBUTING.md](https://github.com/atemaguer/supertag/blob/main/CONTRIBUTING.md)
179
+ for source setup and checks, and use
180
+ [SECURITY.md](https://github.com/atemaguer/supertag/blob/main/SECURITY.md)
181
+ for private vulnerability reports.
118
182
 
119
- The inbox is a versioned projection over existing Tasks and Teams. Each action is a partial
120
- `update_task` invocation with the current status fence and any fields the operator still needs to
121
- supply. Authority and stale-write checks run again when the update is submitted.
183
+ ## License
122
184
 
123
- The experimental `supertag-ai/messaging` client also creates and tracks Objectives with
124
- success criteria and explicit completion assessments. See the [Objective guide](../../docs/guides/objectives.md).
185
+ [Apache-2.0](https://github.com/atemaguer/supertag/blob/main/LICENSE).
package/dist/cli.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  // src/cli.ts
3
- process.env["SUPERTAG_CLI_VERSION"] = "0.2.0-alpha.4";
3
+ process.env["SUPERTAG_CLI_VERSION"] = "0.2.0-alpha.5";
4
4
  process.env["SUPERTAG_EMBEDDED_CLI"] = "1";
5
5
  var { cliFailureExitCode, formatCliFailure, main } = await import('./src-IM5LBBN7.js');
6
6
  main().then(
package/dist/cli.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/cli.ts"],"names":[],"mappings":";;AAEA,OAAA,CAAQ,GAAA,CAAI,sBAAsB,CAAA,GAAI,eAAA;AACtC,OAAA,CAAQ,GAAA,CAAI,uBAAuB,CAAA,GAAI,GAAA;AAEvC,IAAM,EAAE,kBAAA,EAAoB,gBAAA,EAAkB,MAAK,GAAI,MAAM,OAC3D,mBACF,CAAA;AAEA,IAAA,EAAK,CAAE,IAAA;AAAA,EACL,CAAC,IAAA,KAAS;AACR,IAAA,OAAA,CAAQ,QAAA,GAAW,IAAA;AAAA,EACrB,CAAA;AAAA,EACA,CAAC,KAAA,KAAmB;AAClB,IAAA,OAAA,CAAQ,MAAA,CAAO,KAAA,CAAM,gBAAA,CAAiB,KAAK,CAAC,CAAA;AAC5C,IAAA,OAAA,CAAQ,QAAA,GAAW,mBAAmB,KAAK,CAAA;AAAA,EAC7C;AACF,CAAA","file":"cli.js","sourcesContent":["#!/usr/bin/env node\n\nprocess.env[\"SUPERTAG_CLI_VERSION\"] = \"0.2.0-alpha.4\";\nprocess.env[\"SUPERTAG_EMBEDDED_CLI\"] = \"1\";\n\nconst { cliFailureExitCode, formatCliFailure, main } = await import(\n \"../../../apps/cli/src/index.js\"\n);\n\nmain().then(\n (code) => {\n process.exitCode = code;\n },\n (error: unknown) => {\n process.stderr.write(formatCliFailure(error));\n process.exitCode = cliFailureExitCode(error);\n },\n);\n"]}
1
+ {"version":3,"sources":["../src/cli.ts"],"names":[],"mappings":";;AAEA,OAAA,CAAQ,GAAA,CAAI,sBAAsB,CAAA,GAAI,eAAA;AACtC,OAAA,CAAQ,GAAA,CAAI,uBAAuB,CAAA,GAAI,GAAA;AAEvC,IAAM,EAAE,kBAAA,EAAoB,gBAAA,EAAkB,MAAK,GAAI,MAAM,OAC3D,mBACF,CAAA;AAEA,IAAA,EAAK,CAAE,IAAA;AAAA,EACL,CAAC,IAAA,KAAS;AACR,IAAA,OAAA,CAAQ,QAAA,GAAW,IAAA;AAAA,EACrB,CAAA;AAAA,EACA,CAAC,KAAA,KAAmB;AAClB,IAAA,OAAA,CAAQ,MAAA,CAAO,KAAA,CAAM,gBAAA,CAAiB,KAAK,CAAC,CAAA;AAC5C,IAAA,OAAA,CAAQ,QAAA,GAAW,mBAAmB,KAAK,CAAA;AAAA,EAC7C;AACF,CAAA","file":"cli.js","sourcesContent":["#!/usr/bin/env node\n\nprocess.env[\"SUPERTAG_CLI_VERSION\"] = \"0.2.0-alpha.5\";\nprocess.env[\"SUPERTAG_EMBEDDED_CLI\"] = \"1\";\n\nconst { cliFailureExitCode, formatCliFailure, main } = await import(\n \"../../../apps/cli/src/index.js\"\n);\n\nmain().then(\n (code) => {\n process.exitCode = code;\n },\n (error: unknown) => {\n process.stderr.write(formatCliFailure(error));\n process.exitCode = cliFailureExitCode(error);\n },\n);\n"]}
@@ -14,9 +14,16 @@ actors.
14
14
 
15
15
  ## Set up the operator skill
16
16
 
17
- First follow [Install SuperTag](../operations/install.md) to clone the repository and install
18
- from it. Keep that checkout: it contains the operator skill. Use the same guide's requirements
19
- for your runtime and signed-in coding agent.
17
+ First follow [Install SuperTag](../operations/install.md) to install the CLI from npm.
18
+ Use the same guide's requirements for your runtime and signed-in coding agent.
19
+ The operator skill is a separate text file; download it from the SuperTag repository:
20
+
21
+ ```sh
22
+ mkdir -p ~/.local/share/supertag-operator
23
+ curl --fail --location \
24
+ https://raw.githubusercontent.com/atemaguer/supertag/main/skills/operate-supertag/SKILL.md \
25
+ --output ~/.local/share/supertag-operator/SKILL.md
26
+ ```
20
27
 
21
28
  In the repository you want the team to change:
22
29
 
@@ -40,7 +47,7 @@ Prefer a user-level installation outside the repository the team changes. A **Wo
40
47
  code that completes a Tag's work, and Workers can edit
41
48
  project-level agent instructions in that repository. Treat changes to `.claude/skills/` and
42
49
  `AGENTS.md` there as needing your explicit review before the agent follows them.
43
- Replace `~/code/supertag` below with your SuperTag checkout.
50
+ The examples below use the skill file downloaded above.
44
51
 
45
52
  ### Claude Code
46
53
 
@@ -48,7 +55,7 @@ Install a user-level skill for all your projects:
48
55
 
49
56
  ```sh
50
57
  mkdir -p ~/.claude/skills/operate-supertag
51
- cp ~/code/supertag/skills/operate-supertag/SKILL.md \
58
+ cp ~/.local/share/supertag-operator/SKILL.md \
52
59
  ~/.claude/skills/operate-supertag/SKILL.md
53
60
  ```
54
61
 
@@ -75,7 +82,7 @@ at user level so it is available across your projects:
75
82
 
76
83
  ```sh
77
84
  mkdir -p ~/.cursor/skills/operate-supertag
78
- cp ~/code/supertag/skills/operate-supertag/SKILL.md \
85
+ cp ~/.local/share/supertag-operator/SKILL.md \
79
86
  ~/.cursor/skills/operate-supertag/SKILL.md
80
87
  ```
81
88
 
@@ -88,7 +95,7 @@ running Cursor as a SuperTag Worker. A Worker needs its own Cursor API key; see
88
95
 
89
96
  Give it the absolute path directly in the conversation:
90
97
 
91
- > Read `/absolute/path/to/supertag/skills/operate-supertag/SKILL.md` and use it to
98
+ > Read `/absolute/path/to/supertag-operator/SKILL.md` and use it to
92
99
  > coordinate SuperTag for this repository.
93
100
 
94
101
  The agent needs permission to read that file and run the configured `supertag` CLI. If its
@@ -46,11 +46,11 @@ reusable knowledge, follow [Add a custom Context type](custom-context.md).
46
46
 
47
47
  ## Before you start
48
48
 
49
- - **The SDK from your checkout.** [Install SuperTag from the repository](../operations/install.md),
50
- then add the SDK to your application from that checkout:
49
+ - **The SDK from npm.** Add the package to your application; see
50
+ [Install SuperTag](../operations/install.md) for runtime requirements and version matching:
51
51
 
52
52
  ```sh
53
- npm install /absolute/path/to/supertag/packages/supertag-ai
53
+ npm install supertag-ai
54
54
  ```
55
55
 
56
56
  The examples use the main Worker API and the `supertag-ai/worker` extension contracts. See
@@ -149,12 +149,11 @@ The rest of this page builds a custom Worker instead.
149
149
 
150
150
  ## 1. Install the package
151
151
 
152
- First install and build the checkout as described in
153
- [installation](../operations/install.md); the SDK's exports exist only after building. Then add the SDK to your Worker
154
- application from the local checkout:
152
+ Install the published SDK from npm in your Worker application. See
153
+ [installation](../operations/install.md) for runtime requirements and version matching:
155
154
 
156
155
  ```sh
157
- npm install /absolute/path/to/supertag/packages/supertag-ai
156
+ npm install supertag-ai
158
157
  ```
159
158
 
160
159
  ## 2. Authenticate the Worker Host with Modal
@@ -19,7 +19,7 @@ Python and TypeScript Workers follow the same Task lifecycle. See the
19
19
  ## Before you start
20
20
 
21
21
  - Python 3.10 or newer.
22
- - A [repository checkout](../operations/install.md).
22
+ - The [SuperTag CLI](../operations/install.md), installed from npm.
23
23
  - An enrolled Worker Host and its credential. Enroll one with `supertag enroll worker-host`; see
24
24
  [Run a Worker](workers.md). This guide assumes the ID `echo-worker-host`.
25
25
  - A Tag bound to that Worker Host, so it can receive Tasks:
@@ -49,14 +49,13 @@ service.
49
49
 
50
50
  ## 1. Install the Python SDK
51
51
 
52
- The SDK's Python distribution is named `supertag`. This checkout documents version `0.2.0a4`,
53
- Python's spelling of `0.2.0-alpha.4`.
52
+ The SDK's Python distribution is named `supertag`. This guide documents version `0.2.0a5`,
53
+ Python's spelling of `0.2.0-alpha.5`.
54
54
 
55
- Install it from your [repository checkout](../operations/install.md), not from a package index.
56
- From the root of the checkout:
55
+ Install it from PyPI. Pin this prerelease explicitly so pip selects the SDK that matches the CLI:
57
56
 
58
57
  ```sh
59
- python -m pip install ./sdks/python
58
+ python -m pip install 'supertag==0.2.0a5'
60
59
  ```
61
60
 
62
61
  Confirm the installed version:
@@ -65,7 +64,7 @@ Confirm the installed version:
65
64
  python -c "from importlib.metadata import version; print(version('supertag'))"
66
65
  ```
67
66
 
68
- It prints `0.2.0a4`.
67
+ It reports the matching release; installed metadata may spell it `0.2.0-alpha.5`.
69
68
 
70
69
  ## 2. Write the Worker
71
70
 
@@ -249,9 +248,9 @@ The SDK provides two optional OpenAI integrations. Install the one your Worker u
249
248
  both while comparing them:
250
249
 
251
250
  ```sh
252
- python -m pip install './sdks/python[codex]'
253
- python -m pip install './sdks/python[agents]'
254
- python -m pip install './sdks/python[codex,agents]'
251
+ python -m pip install 'supertag[codex]==0.2.0a5'
252
+ python -m pip install 'supertag[agents]==0.2.0a5'
253
+ python -m pip install 'supertag[codex,agents]==0.2.0a5'
255
254
  ```
256
255
 
257
256
  ### 2. Run the Codex or Agents SDK Worker
@@ -384,8 +383,8 @@ Use `run_worker_conformance()` to test lifecycle, identity, event ordering, and
384
383
  that owns the credential; see [Connection rules](#connection-rules).
385
384
  - **The connection URL is rejected.** Remote hosts must use HTTPS or WSS, without credentials,
386
385
  query parameters, or a fragment; see [Connection rules](#connection-rules).
387
- - **`pip` cannot find `supertag`.** The preview is unpublished; install from a checkout or wheel as
388
- in [step 1](#1-install-the-python-sdk).
386
+ - **`pip` installs an older SDK.** Pin `supertag==0.2.0a5` as in
387
+ [step 1](#1-install-the-python-sdk). pip does not select this prerelease by default.
389
388
  - **The Worklet keeps reconnecting.** See
390
389
  [A remote Worklet keeps disconnecting](troubleshooting.md#a-remote-worklet-keeps-disconnecting).
391
390
 
@@ -37,7 +37,7 @@ connections) and **Gateway** (which carries collaboration surface traffic) are p
37
37
  - Credentials for at least one [collaboration surface](../surfaces/README.md): an external work
38
38
  tool, such as Slack or GitHub, where SuperTag meets people.
39
39
  - The SuperTag CLI and the [required system tools](../operations/requirements.md).
40
- [Install SuperTag from the repository](../operations/install.md).
40
+ [Install SuperTag from npm](../operations/install.md).
41
41
 
42
42
  ## 1. Choose a deployment
43
43
 
@@ -237,7 +237,7 @@ Hosts that already joined keep working. See [Auth Keys](../reference/resource-mo
237
237
  ## 7. Connect a Worklet from the Worker Host
238
238
 
239
239
  On the Worker Host that owns the codebase and harness authentication,
240
- [install SuperTag from the repository](../operations/install.md) at the same commit as the Control Plane, and check that
240
+ [install SuperTag from npm](../operations/install.md) at the same version as the Control Plane, and check that
241
241
  `supertag version` reports a supported pair.
242
242
 
243
243
  Set the key's secret in the environment. The Worklet redeems it on its first connection, joins as
@@ -121,6 +121,10 @@ run `codex login` for Codex, run `claude` and follow its sign-in prompt for Clau
121
121
  `CURSOR_API_KEY` for Cursor, or set your provider's API-key environment variable for the OpenCode host service. See
122
122
  [harness sign-in](../operations/requirements.md#choose-and-sign-in-to-a-harness).
123
123
 
124
+ Before completing setup, `init` prints `not signed in (the credential check did not succeed)`
125
+ for a failed check. Change the setup to select only harnesses you have signed in to, or complete
126
+ sign-in and run `supertag init` again.
127
+
124
128
  For Codex file-backed sign-in, `signed in` only checks that a credential is present and readable.
125
129
  It cannot confirm account access. Run Codex once as the host service's OS user to confirm access.
126
130
 
@@ -1,41 +1,72 @@
1
- # Install SuperTag from the repository
1
+ # Install SuperTag
2
2
 
3
- Install SuperTag's CLI from a clone to run Tags, persistent AI identities with their own
4
- responsibilities and permissions, on your repositories. The same build provides the extension SDK
5
- for applications. npm and PyPI packages come later.
3
+ Install SuperTag's CLI from npm to run Tags, persistent AI identities with their own
4
+ responsibilities and permissions, on your repositories. The npm package also provides the
5
+ TypeScript extension SDK. Python applications use the `supertag` SDK from PyPI.
6
6
 
7
7
  ## Before you start
8
8
 
9
- - Check the [requirements](requirements.md) for Node.js, pnpm, git, supported platforms, disk
10
- space, and sign-in for a **harness**, the connection to an agent system such as Claude Code.
11
- Cursor needs an API key that you generate in Cursor's dashboard; see [Cursor setup](requirements.md#cursor-setup-and-limits).
9
+ Check the [requirements](requirements.md) for Node.js, npm, git, supported platforms, disk
10
+ space, and sign-in for a **harness**, the connection to an agent system such as Claude Code.
11
+ Cursor needs an API key that you generate in Cursor's dashboard; see
12
+ [Cursor setup](requirements.md#cursor-setup-and-limits).
12
13
 
13
- ## 1. Clone and install
14
+ ## 1. Install the CLI from npm
14
15
 
15
16
  ```sh
16
- git clone https://github.com/atemaguer/supertag.git
17
- cd supertag
18
- pnpm install:cli
17
+ npm install -g supertag-ai
19
18
  supertag --version
20
19
  ```
21
20
 
22
- The installer installs dependencies, builds SuperTag, and links the CLI into npm's global
23
- prefix. Keep the checkout in place: the command uses its build. Ensure that prefix's `bin`
24
- directory is on your PATH; `npm prefix --global` prints the prefix.
25
- The link needs write access to that prefix. To use a directory you own, run
26
- `npm config set prefix ~/.local` before running the installer, then add `~/.local/bin` to your
27
- `PATH` (for example, `export PATH="$HOME/.local/bin:$PATH"` in your shell startup file).
21
+ The current release is `0.2.0-alpha.5`. The package includes the CLI, SDK, and bundled
22
+ documentation. A SuperTag source checkout is not required.
28
23
 
29
- For SDK use, run `npm install /absolute/path/to/supertag/packages/supertag-ai` in your
30
- application after building, replacing the path with your checkout.
24
+ Ensure npm's global prefix's `bin` directory is on your PATH; `npm prefix --global` prints
25
+ that prefix. If it is not writable, run `npm config set prefix ~/.local` before installing,
26
+ then add `~/.local/bin` to your `PATH` (for example,
27
+ `export PATH="$HOME/.local/bin:$PATH"` in your shell startup file).
31
28
 
32
- ## Check that it worked
29
+ To install this exact release on another host:
33
30
 
34
31
  ```sh
35
- supertag --version
32
+ npm install -g supertag-ai@0.2.0-alpha.5
33
+ ```
34
+
35
+ ## Install the TypeScript SDK
36
+
37
+ Add the package to your application:
38
+
39
+ ```sh
40
+ npm install supertag-ai
41
+ ```
42
+
43
+ For a shared deployment, select the same version as the Control Plane:
44
+
45
+ ```sh
46
+ npm install supertag-ai@0.2.0-alpha.5
36
47
  ```
37
48
 
38
- The version is `0.2.0-alpha.4`.
49
+ See [Custom Workers](../guides/custom-workers.md) for the public extension interfaces.
50
+
51
+ ## Install the Python SDK from PyPI
52
+
53
+ Python applications need Python 3.10 or newer. Install the matching SDK:
54
+
55
+ ```sh
56
+ python -m pip install 'supertag==0.2.0a5'
57
+ ```
58
+
59
+ The explicit version selects this prerelease; pip otherwise selects an older stable release.
60
+ Python spells `0.2.0-alpha.5` as `0.2.0a5`. The SDK is a library; use the npm CLI above to
61
+ manage the Control Plane and built-in Workers. See [Build a Python Worker](../guides/python-workers.md)
62
+ for optional Codex and OpenAI Agents integrations.
63
+
64
+ ## Upgrade
65
+
66
+ Install the target version with the same npm and pip commands above. For a Compose deployment,
67
+ follow the [upgrade procedure](control-plane.md#upgrade-a-compose-deployment) to back up state
68
+ and coordinate the connected Worker Hosts. Source contributors can use
69
+ [CONTRIBUTING.md](../../CONTRIBUTING.md) to build and link uncommitted changes.
39
70
 
40
71
  ## Match the CLI and the Control Plane
41
72
 
@@ -53,9 +84,9 @@ supertag version
53
84
  ```
54
85
 
55
86
  ```text
56
- CLI version: 0.2.0-alpha.4
87
+ CLI version: 0.2.0-alpha.5
57
88
  Control Plane: https://supertag.example.com
58
- Control Plane version: 0.2.0-alpha.4
89
+ Control Plane version: 0.2.0-alpha.5
59
90
  Compatibility: supported (same version)
60
91
  ```
61
92
 
@@ -81,8 +112,8 @@ documentation site.
81
112
  ## If something goes wrong
82
113
 
83
114
  - **`supertag` is not found.** Run `npm prefix --global` and add its `bin` directory to your `PATH`.
84
- - **The version or commands differ from these docs.** Use the documentation in your checkout and rerun
85
- the installer there after updating it.
115
+ - **The version or commands differ from these docs.** Run `supertag --version`, then install
116
+ the version named by these docs. The installed package includes its own guides under `dist/docs/`.
86
117
  - **A command warns that the CLI and Control Plane versions differ.** Run `supertag version`, then
87
118
  upgrade the older side. See [Troubleshoot](../guides/troubleshooting.md#the-cli-warns-that-versions-differ).
88
119
 
@@ -102,10 +133,10 @@ their logs, `supertag down` stops them, and `supertag up` starts them again.
102
133
 
103
134
  ## Remove the CLI
104
135
 
105
- Stop local services with `supertag down`, then run this from the SuperTag checkout:
136
+ Stop local services with `supertag down`, then remove the global package:
106
137
 
107
138
  ```sh
108
- pnpm uninstall:cli
139
+ npm uninstall -g supertag-ai
109
140
  ```
110
141
 
111
- This removes the global command link. Your settings and state remain in `~/.supertag/`.
142
+ This removes the globally installed CLI package. Your settings and state remain in `~/.supertag/`.
@@ -14,16 +14,14 @@ Check this page before [installing SuperTag](install.md).
14
14
  - **Node.js 22.13.0 or newer.** The `engines.node` fields in the root
15
15
  [package.json](../../package.json) and [SDK package](../../packages/supertag-ai/package.json)
16
16
  define the supported runtime.
17
- - **pnpm**, using the version pinned by `packageManager` in the root package.json. Install the
18
- current pin with `npm install -g pnpm@11.18.0`. If npm's global prefix is not writable, run
19
- `npm config set prefix ~/.local` first and add `~/.local/bin` to your `PATH`. Use the current
20
- `packageManager` value if the repository changes its pin.
17
+ - **npm**, included with Node.js, to install the published CLI and SDK. Source-development
18
+ tools are listed in [CONTRIBUTING.md](../../CONTRIBUTING.md).
21
19
  - **git**, available on `PATH`, and a repository for your first Task.
22
20
  - **macOS or Linux.** Restarting background services uses launchd on macOS and systemd user
23
21
  services on Linux. Native Windows is not a supported alpha installation target; in particular,
24
22
  SuperTag does not implement a Windows service manager. Use a Linux host for that workflow.
25
- - **Disk space for native dependencies and your work.** Allow at least 2 GB for the checkout,
26
- dependencies, and build, plus space for repositories, Task outputs, and logs. Dependencies bundle
23
+ - **Disk space for native dependencies and your work.** Allow at least 2 GB for the installed package
24
+ and dependencies, plus space for repositories, Task outputs, and logs. Dependencies bundle
27
25
  Codex and Claude Agent SDK platform binaries. A macOS arm64 checkout measured 1.1 GiB in
28
26
  `node_modules`, including 311 MiB for the Codex platform package and 207 MiB for Claude's.
29
27
  Platform and package versions change the total.
@@ -504,8 +504,8 @@ and the message names the field, such as `Unknown field: start`.
504
504
  ### Versions
505
505
 
506
506
  Every response, including errors and `/healthz`, carries a `SuperTag-Version` header with the
507
- Control Plane's release, such as `0.2.0-alpha.4`. `GET /healthz` needs no credential and returns
508
- `{"ok": true, "version": "0.2.0-alpha.4"}`. The CLI sends its own release in
507
+ Control Plane's release, such as `0.2.0-alpha.5`. `GET /healthz` needs no credential and returns
508
+ `{"ok": true, "version": "0.2.0-alpha.5"}`. The CLI sends its own release in
509
509
  `SuperTag-Client-Version`. The supported pairs are in
510
510
  [CLI and Control Plane versions](api-stability.md#cli-and-control-plane-versions).
511
511
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "supertag-ai",
3
- "version": "0.2.0-alpha.4",
3
+ "version": "0.2.0-alpha.5",
4
4
  "description": "Define outcomes, not tasks: SuperTag runs AI engineering teams that deliver them.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",