tixbit 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
CHANGED
|
@@ -8,7 +8,7 @@ No command requires a TixBit developer API key. Public discovery and links need
|
|
|
8
8
|
|
|
9
9
|
Run `tixbit auth` for public browser sign-in and wallet setup links. This command does not create a CLI session. Open the returned TixBit sign-in page, then complete checkout or selling in your browser. Do not copy browser cookies or bearer tokens.
|
|
10
10
|
|
|
11
|
-
Seller-capable builds use `tixbit sell login` for browser OAuth with PKCE and explicit seller consent.
|
|
11
|
+
Seller-capable builds use `tixbit sell login` for browser OAuth with PKCE and explicit seller consent. CLI 0.3.0 or newer includes a public OAuth client and requires an enabled seller connection. Run `sell capabilities` before signing in; if `configured` is false or the endpoint is unavailable, operator setup is still pending. Website sign-in alone does not create a CLI session. The `buy` web checkout route does not issue Link spend requests; it expects a token from an authorized integration.
|
|
12
12
|
|
|
13
13
|
For wallet setup, use [official Link onboarding](https://link.com/agents): install `@stripe/link-cli` and run `link-cli onboard`. This requires your Link account, not a developer API key. A Link spend request is a separate approval for a selected purchase. See [Link agent checkout](#link-agent-checkout).
|
|
14
14
|
|
|
@@ -159,20 +159,17 @@ Seller JSON uses the existing web API schema. Example after seller approval:
|
|
|
159
159
|
|
|
160
160
|
### Sell your own tickets
|
|
161
161
|
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
`sell capabilities`; `configured: true` alone does not prove this client or user
|
|
174
|
-
has seller access. End users will not need a developer API key or manual client
|
|
175
|
-
setup once those prerequisites are complete.
|
|
162
|
+
Seller commands require CLI `0.3.0` or newer and an enabled seller connection.
|
|
163
|
+
Install with `npm install -g tixbit@latest`, verify `tixbit --version`, and run
|
|
164
|
+
`sell capabilities` before signing in. If `configured: false` or the endpoint
|
|
165
|
+
is unavailable, operator setup or deployment is still pending; public discovery
|
|
166
|
+
can continue. `configured: true` alone does not prove client approval or user
|
|
167
|
+
eligibility.
|
|
168
|
+
|
|
169
|
+
The CLI includes a public OAuth client, so end users need no developer API key
|
|
170
|
+
or manual client setup once the companion seller service and account bridge
|
|
171
|
+
are enabled and the exact client has been approved in the required allowlists.
|
|
172
|
+
The workflow below applies when those prerequisites are satisfied.
|
|
176
173
|
|
|
177
174
|
```sh
|
|
178
175
|
tixbit sell --help
|
|
@@ -226,8 +223,8 @@ marketplace eligibility and sale-state checks still apply.
|
|
|
226
223
|
|
|
227
224
|
The distributable [seller skill](skills/tixbit-selling/SKILL.md) includes exact
|
|
228
225
|
workflows, installation and troubleshooting. Copy the complete directory into
|
|
229
|
-
your agent's skills directory;
|
|
230
|
-
|
|
226
|
+
your agent's skills directory; the complete skill is included in the seller-capable
|
|
227
|
+
npm package.
|
|
231
228
|
|
|
232
229
|
MPP `purchase` retains the official mppx path but now requires `--confirm`, `--max-price`, and an explicit `--idempotency-key` before wallet loading. Its challenge hook checks the pathUSD atomic amount before any credential is created, rejects unknown assets/recurring intents, and permits only one payment challenge. The cap covers the ticket charge; network fees, if any, are managed separately by the wallet. SDK callers who inject their own `paymentFetch` own its authorization policy: use `assertMppChallenge` in `onChallenge` as shown below and get user approval before calling `purchaseTickets`. Do not register credential-producing event handlers that bypass this hook.
|
|
233
230
|
|
package/package.json
CHANGED
|
@@ -13,17 +13,15 @@ or disclose credentials.
|
|
|
13
13
|
|
|
14
14
|
## Install and discover
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
can continue without OAuth.
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
allowlists. Use Node.js 22.12+. `npm install -g tixbit@latest` installs the
|
|
26
|
-
currently published version; it will not obtain this candidate before publication:
|
|
16
|
+
Use Node.js 22.12+, CLI `0.3.0` or newer, and an enabled seller connection.
|
|
17
|
+
Install the latest published CLI, verify its version, and run `sell capabilities`
|
|
18
|
+
before signing in. If `configured: false` or the endpoint is unavailable,
|
|
19
|
+
operator setup or deployment is still pending: stop seller login and changes;
|
|
20
|
+
public search can continue without OAuth.
|
|
21
|
+
|
|
22
|
+
Operators must deploy/configure the companion seller service and account bridge
|
|
23
|
+
and approve the exact public client in the required allowlists. Installing the
|
|
24
|
+
CLI alone does not establish those prerequisites or grant seller access.
|
|
27
25
|
|
|
28
26
|
```sh
|
|
29
27
|
npm install -g tixbit@latest
|
|
@@ -39,15 +37,14 @@ true` alone does not prove this user can sell.
|
|
|
39
37
|
|
|
40
38
|
Copy the entire `tixbit-selling` directory into `$CODEX_HOME/skills/` (default
|
|
41
39
|
`~/.codex/skills/`) for Codex, or `~/.claude/skills/` for Claude Code. Keep its
|
|
42
|
-
`references` and `agents` directories. The
|
|
43
|
-
under `skills/tixbit-selling
|
|
44
|
-
seller-capable release is published.
|
|
40
|
+
`references` and `agents` directories. The seller-capable npm package includes this skill
|
|
41
|
+
under `skills/tixbit-selling`.
|
|
45
42
|
|
|
46
43
|
## Sign in on this machine
|
|
47
44
|
|
|
48
|
-
Proceed only after the
|
|
49
|
-
are complete. The
|
|
50
|
-
|
|
45
|
+
Proceed only after the version and enabled-connection prerequisites above
|
|
46
|
+
are complete. The CLI includes a public OAuth client; issuance alone grants no
|
|
47
|
+
production approval or access. Check `sell capabilities` and
|
|
51
48
|
stop if support is unavailable. Even `configured: true` does not prove client
|
|
52
49
|
approval or user eligibility. Once configured and approved, end users need no
|
|
53
50
|
developer API key or manual client setup and can start login with:
|
|
@@ -160,10 +157,9 @@ See [seller workflows](references/workflows.md) for repricing and delisting.
|
|
|
160
157
|
|
|
161
158
|
## Operator client configuration
|
|
162
159
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
use that built-in client. For a separate approved integration,
|
|
160
|
+
Operators must separately authorize seller configuration and approve the
|
|
161
|
+
built-in public client in the required allowlists; this skill does not perform
|
|
162
|
+
those actions. Once ready, end users use that built-in client. For a separate approved integration,
|
|
167
163
|
`--client-id` or `TIXBIT_SELLER_CLIENT_ID` overrides it. A client ID is public;
|
|
168
164
|
registration alone grants no seller access. Operators can follow the
|
|
169
165
|
[explicit client provisioning procedure](https://github.com/tixbit/tixbit-monorepo/blob/main/docs/runbooks/mcp-cli-provisioning.md).
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
| Result | Next action |
|
|
4
4
|
| --- | --- |
|
|
5
|
-
| `sell` missing / npm still installs an older release |
|
|
5
|
+
| `sell` missing / npm still installs an older release | Install an available seller-capable release (0.3.0 or newer), then verify the installed version and `sell --help`. If none is published, wait for release. |
|
|
6
6
|
| Capabilities `configured: false` / HTTP 503 | Stop seller work. Operator approval/configuration of account bridge, SQLite, keys and exact client allowlist is required. Public search can continue. |
|
|
7
|
-
| Client/scopes rejected |
|
|
7
|
+
| Client/scopes rejected | Stop and ask the operator to verify enabled seller configuration and exact client allowlisting; updating the CLI alone does not grant access. Do not self-register to bypass approval. |
|
|
8
8
|
| Repeated browser sign-in | Operator checks canonical origins, matching Privy app and verified-session cookies. Never copy browser tokens. |
|
|
9
9
|
| Callback/state invalid | Restart login on the same machine. Paste the full URL through stdin in `sell login --complete`; never remove state or use a bare code. |
|
|
10
10
|
| HTTP 401 / expired session | Sign in again and review permissions. |
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# Seller workflows
|
|
2
2
|
|
|
3
|
-
These workflows
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
These workflows require CLI 0.3.0 or newer and an enabled seller connection,
|
|
4
|
+
including authorized account configuration and exact client allowlisting. Run
|
|
5
|
+
`sell capabilities` first. If `configured: false` or the endpoint is unavailable,
|
|
6
|
+
operator setup or deployment is pending; stop seller sign-in and mutations until
|
|
7
|
+
those prerequisites are complete.
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
## Reprice owned tickets
|