Repository navigation
Commit 6b2129f
docs(skills): name the objectui upload packages after the providers fold (#30683)
<!-- claude-projects-attribution: {"github_login":"os-elon-musk"} -->
_Requested by **Elon** · [project
thread](https://claude.ai/code/project/chan_01WedDzV26nniwxv7jC88B9D?thread=cmsg_01WedDzV26nniwxv7jC88B9DRcxA4Y78HaWBtydhVvejsk)_
Fixes #30559
Clause-②: no
Metadata-protocol: none
## 维护者速读
- 改了什么:objectui 技能的 project-setup 指南里两处上传说明(provider 列表与决策矩阵)不再指向已退役的
`@object-ui/providers`,改为点名
`@object-ui/fields`、`@object-ui/data-objectstack` 与 `@object-ui/types`。
- 为什么改:PR #30550 把上传能力并入 fields 并退役 providers 包;客户 agent
按旧指南会装一个不再发版、也没有上传上下文的依赖。
- 风险与回滚:纯文档,不动代码与契约;回滚即 revert 本 PR。为付令牌棘轮,删了故障排查里两条只适用于 monorepo
的提示(Turbo 缓存一节与「下游包要先 build dist」一行)。
- 先看:`skills/objectui/guides/project-setup.md` 的 L249
段与决策矩阵上传行;其次故障排查节的两处删除。
- 两分钟验证:`git grep -n "@object-ui/providers" -- skills/` 预期零命中;`node
scripts/check-skills-token-ratchet.mjs` 预期该文件 2726/2727 绿。
- 需要你做的:批准并合并(`skills/**` 为 Tier H,人合)。
## What changes
- `skills/objectui/guides/project-setup.md`, provider-stack list:
`UploadProvider` / `useUpload` now come from `@object-ui/fields`; the
ObjectStack storage adapter `createObjectStackUploadAdapter` from
`@object-ui/data-objectstack`; the `UploadAdapter` / `UploadOptions` /
`UploadResult` contract from `@object-ui/types`, re-exported by
`@object-ui/fields`.
- Decision matrix, uploads row: `+ @object-ui/fields (UploadProvider),
@object-ui/data-objectstack (adapter)`.
- Token payment (same-file deletion, no ceiling move): the
troubleshooting section drops the `### Turbo cache issues` block and the
`Run pnpm build — downstream packages need built dist/ directories`
line. Both are advice for working inside the ObjectUI monorepo, not for
a third-party app that consumes published packages; nothing else in the
guide or the objectui skill points to them (`grep -i turbo` over the
guide, `SKILL.md` and `README.md`: 0 hits after the edit).
- One root changeset, `'@objectstack/skills': patch`.
Every name was read off `origin/main` b77c160, not off the card:
`ui/packages/fields/src/index.tsx` L5485 (`UploadProvider`, `useUpload`)
and L5486 (re-export of `UploadAdapter`, `UploadOptions`, `UploadResult`
from `@object-ui/types`); `ui/packages/data-objectstack/src/index.ts`
L8024 (`createObjectStackUploadAdapter`);
`ui/packages/types/src/index.ts` L498 (the contract).
`ui/packages/providers` no longer exists on `main`. All three packages
are published (no `private` flag). No other `skills/**` line names
`@object-ui/providers`.
## Tests
Docs-only diff; no test pins changed behaviour, so no ablation.
<details><summary>Skills size readings (head 67b7dec)</summary>
- Edited file: `skills/objectui/guides/project-setup.md` 349 → 346
lines, 2718 → 2726 tokens (ceiling 2727, headroom 1).
- Whole package, sum of every `SKILL.md`: 4534 → 4534 lines (no
`SKILL.md` touched).
- Bundle total (whole shipped tree, `check-skills-token-ratchet`):
226234 → 226242 tokens.
</details>
## Acceptance notes
- The dispatch asked that nothing else in the guide change; the two
troubleshooting deletions are the token-ratchet payment. The seat
accepted the Turbo block; the `dist/` line was needed for the last 3
tokens and is the same monorepo-only class.
## Verification
Local subset at head 67b7dec: `node scripts/pm/dispatch-gates.mjs
--ran` reconciles 44 derived families: 43 run with exit 0, 1 NOT
MEASURED. `pnpm lint` exit 0 (outside the derivation).
<details><summary>Gate readings</summary>
- `node scripts/check-skills-token-ratchet.mjs`: exit 0, "57 authored
bundle file(s) within their ceilings".
- `pnpm --dir ui exec vitest run scripts/`: exit 0, Test Files 170
passed / 2 skipped, Tests 4970 passed / 2 skipped.
- `pnpm check:dual-build-cjs-loads`: NOT MEASURED, reason: PREREQUISITE
NOT MET (exit 3), the gate reads every package's built `dist/` and this
worktree built only the closures the derived gates need; CI builds
first.
- Every other derived family: exit 0.
</details>
---
_Generated by [Claude
Code](https://claude.ai/code/session_016WV4d1CgLtPgbu4RrVtPDQ)_
Co-authored-by: Claude <noreply@anthropic.com>1 parent 83fc231 commit 6b2129f
2 files changed
Lines changed: 18 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
249 | | - | |
250 | | - | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
251 | 253 | | |
252 | 254 | | |
253 | 255 | | |
| |||
304 | 306 | | |
305 | 307 | | |
306 | 308 | | |
307 | | - | |
| 309 | + | |
308 | 310 | | |
309 | 311 | | |
310 | 312 | | |
| |||
337 | 339 | | |
338 | 340 | | |
339 | 341 | | |
340 | | - | |
341 | 342 | | |
342 | 343 | | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | 344 | | |
348 | 345 | | |
349 | 346 | | |
0 commit comments