@awebai/pi 0.1.12 → 0.1.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awebai/pi",
3
- "version": "0.1.12",
3
+ "version": "0.1.14",
4
4
  "description": "Aweb for Pi: real-time channel awakenings, aw CLI onboarding, and aweb skills.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -159,7 +159,7 @@ Supported sources:
159
159
 
160
160
  Decision recipe:
161
161
 
162
- - Human says “make me a new team” and has no existing aw context: use hosted (`--username` or interactive prompt).
162
+ - Human says “make me a new team” and has no existing aw context: use hosted (`--username` or interactive prompt). If using `--yes`, include `--username`; otherwise omit `--yes` so hosted onboarding can prompt.
163
163
  - Human has a dashboard/API key: use `AWEB_API_KEY=... aw team bootstrap ...`; do not ask for `AWEB_URL` unless they are using a non-default stack.
164
164
  - Human pasted an invite: use `--invite-token`.
165
165
  - Human is already inside the team workspace that should own the new agents: use current workspace forwarding (no explicit source).
@@ -171,7 +171,7 @@ Policy guidance:
171
171
  - Prefer API key or invite when the team already exists but the caller is not already inside it.
172
172
  - Prefer current workspace forwarding when you are already inside the target team.
173
173
  - Prefer BYOT when you need local control over the team namespace/domain and routing.
174
- - Use `--dry-run` for planning only. The old manual "print commands after installing server state from caller cwd" flow is not coherent and should not be recommended.
174
+ - Use `--dry-run` for planning only. It prints the resolved plan (template ref, work directory, team source, generated workspaces) without writing identities, files, or server state. Do not pair it with side-effecting flags expecting partial provisioning.
175
175
 
176
176
  ## Worktree agents (team.yaml worktrees:)
177
177
 
@@ -30,13 +30,13 @@ Checklist:
30
30
  - awebai/aweb-team-dev-review for a minimal 2-agent setup.
31
31
  - awebai/aweb-team-company-surfaces for a 6-agent cross-functional setup.
32
32
 
33
- Example (using an existing local work directory):
33
+ Example (using an existing local work directory, with an explicit hosted username so --yes does not need prompts):
34
34
 
35
- aw team bootstrap https://github.com/awebai/aweb-team-dev-review.git --yes --work-directory /path/to/work
35
+ aw team bootstrap https://github.com/awebai/aweb-team-dev-review.git --yes --username alice --work-directory /path/to/work
36
36
 
37
37
  Example (clone the work repo into the template checkout):
38
38
 
39
- aw team bootstrap https://github.com/awebai/aweb-team-dev-review.git --yes --work-repo-url https://github.com/ORG/REPO.git
39
+ aw team bootstrap https://github.com/awebai/aweb-team-dev-review.git --yes --username alice --work-repo-url https://github.com/ORG/REPO.git
40
40
 
41
41
  Notes:
42
42
 
@@ -226,7 +226,33 @@ aw id team add-member --team <team> --namespace <domain> --did <beta_did_key> --
226
226
 
227
227
  Use the actual `did`/`did_aw` values printed by `aw id create`. Do not guess them.
228
228
 
229
- Import into aweb cloud:
229
+ Register with aweb cloud without using the dashboard:
230
+
231
+ ```bash
232
+ aw id team register --service https://app.aweb.ai --team <team>:<domain>
233
+ ```
234
+
235
+ This signs a service-registration request with the team controller key. It creates or syncs an aweb projection of the AWID team, but it does not upload controller private keys, create identities, or initialize any agent workspace. Read the returned next steps and run the required `aw service init` command from each already-certified agent directory:
236
+
237
+ ```bash
238
+ aw service init --service https://app.aweb.ai --team <team>:<domain>
239
+ ```
240
+
241
+ `aw service init` requires the local `.aw/signing.key`, `.aw/teams.yaml`, and `.aw/team-certs/*.pem` for that agent. If the certificate is not installed yet, fetch it first with the certificate id returned by `aw id team add-member`:
242
+
243
+ ```bash
244
+ aw id team fetch-cert --namespace <domain> --team <team> --cert-id <cert-id>
245
+ ```
246
+
247
+ After at least one workspace is initialized, the service may suggest a human-claim command such as:
248
+
249
+ ```bash
250
+ aw claim-human --email you@example.com
251
+ ```
252
+
253
+ `claim-human` is a service-account/human-login step for billing and dashboard ownership. It is not AWID team-controller authority and it does not add members to the BYOT team.
254
+
255
+ Import into an existing aweb organization:
230
256
 
231
257
  1. In app.aweb.ai, create or select the owner organization that should contain the imported team.
232
258
  2. Open the BYOT import flow. Prefer the command shown by the dashboard because it contains the correct `--organization-id`.
@@ -51,7 +51,7 @@ Addressability and delivery authorization are separate:
51
51
  - `did:aw` is identity binding, not a first-contact delivery route.
52
52
  - `inbound_mode=open|team_and_contacts` controls delivery after route validation.
53
53
  - `team_and_contacts` accepts verified same-team senders plus exact active identity contacts for trusted non-team senders. Contacts do not create routes or resolver visibility.
54
- - Legacy reachability fields may still appear in support or migration output, but they are compatibility/audit state, not live delivery authority.
54
+ - Reachability fields that appear in support or migration output are compatibility/audit state, not live delivery authority.
55
55
  - `aw contacts ...` manages saved contact relationships.
56
56
  - `aw id namespace resolve <domain>/<alias> --json` performs a workspace-free directory lookup.
57
57