Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/cli-session-user-agent.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/embed-url-dual-host.md

This file was deleted.

18 changes: 0 additions & 18 deletions .changeset/file-metadata.md

This file was deleted.

15 changes: 0 additions & 15 deletions .changeset/uploads-agent-dx.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/workspace-admin-invite.md

This file was deleted.

38 changes: 38 additions & 0 deletions packages/uploads/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
# @buildinternet/uploads

## 0.8.0

### Minor Changes

- c5b36a3: Return `embedUrl` alongside durable `url` for shared dual-host CDN (GitHub Camo–friendly). CLI/MCP markdown and managed attachment comments prefer the embed host; override with `UPLOADS_EMBED_PUBLIC_BASE_URL`.
- 46b6860: Add queryable custom metadata to the CLI: `put --meta k=v` (repeatable), `attach`
now writes `gh.repo`/`gh.kind`/`gh.number`/`gh.ref` automatically (plus its own
`--meta` extras), new `meta get`/`meta set` commands, `list --meta k=v` and the
`find k=v...` alias for filtering objects by metadata.

MCP parity: the local stdio MCP's `put`/`attach` tools gain a `metadata` param
(same gh.\* auto-injection as `attach`), and two new tools — `set_metadata`
(merge-set/delete) and `find_files` (metadata filter) — mirror the CLI's
`meta set`/`find`. The hosted MCP's `put` tool also gains a `metadata` param.

`meta get`/`meta set` now hit `GET /v1/:workspace/files/:key?metadata=1` and
`PATCH /v1/:workspace/files/:key` instead of a `/:key/metadata` sibling route
— the original suffix route 404'd on real (slash-containing) keys once
deployed.

- b1c87d8: CLI onboarding and agent-friendly put:

- **`uploads install`** — short progress, no child stdout unless `--verbose`/failure;
non-interactive skills (`-g -y -a '*'`); success next-steps; MCP without a token is
skipped with a login nudge (skill still installs).
- **Missing token** — onboarding copy (no `error:` prefix); exit non-zero; `--json`
keeps `MISSING_TOKEN`. Rejected tokens stay `UNAUTHORIZED` with a re-login hint.
- **`put --name <leaf>`** — clean key leaf on the stable `--pr`/default path.
- **`put --dry-run`** — resolve key + public URL without writing (API `?dryRun=1`).
- **Scripted failures** — `--format json|url|markdown` also print on stdout.
- **`FILE_NOT_FOUND`** — distinct code (exit 2) for a missing local file.

- 1c5a38b: Add `uploads invite create` so workspace admins/owners can invite teammates by email via device login (no `ADMIN_TOKEN`). Invitees accept in the browser and run `uploads login`.

### Patch Changes

- 3f5c7e1: Device login (`uploads login`) now sends a recognizable CLI User-Agent so the web account page can tell when you've already signed in from the terminal.

## 0.7.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/uploads/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@buildinternet/uploads",
"version": "0.7.0",
"version": "0.8.0",
"description": "CLI and client for uploads.sh — workspace-scoped image hosting for GitHub embeds",
"type": "module",
"sideEffects": false,
Expand Down
Loading