* feat: publish as @bitbaum/ai-forms (same code, same version)
Owner, 2026-11-06: the fleet's packages belong under the @bitbaum npm
organization; this one was published earlier, unscoped, and never moved
(fleet docs/package-scope-migration-plan.md). Name, imports in tests, examples
and docs change; no API changes. The old name stays installable and is
deprecated once no adopter uses it.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmvpWNTLxXNfwUHS7MD
* ci(publish): the current Publish workflow, which can make a package's first npm release
The renamed @bitbaum/ai-forms is a new npm name, and npm trusts a publisher only for an
existing package; the current template publishes the first version with the org
token and links tokenless publishing afterwards. The old copy here was
OIDC-only, so it would fail on a new name.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmvpWNTLxXNfwUHS7MD
* chore(example): regenerate the example's lockfile for the @bitbaum/ai-forms name
The example's lock still keyed the local file:../.. dependency as ai-forms,
so the fleet rollout gate found no locked artifact for @bitbaum/ai-forms and
held this PR (sweep: 'Missing locked artifact for @bitbaum/ai-forms').
---------
Co-authored-by: Claude <noreply@anthropic.com>
* fix(assist): refine fills empty fields, writes requested prose, localisable copy
A form stops being empty at the first typed word, and from then on every
instruction was a refine that returned only named fields - so pasting an
advert after typing a title filled nothing, and 'fill in the description'
was refused as invention. Refine now also lands in empty fields the message
supplies; facts vs prose are separated (never invent a fact, do write a
requested free-text field). User-facing copy is overridable per app and per
form (AOZ showed English errors in a German form), and the hook clears the
previous turn's 'changed' so it cannot sit beside this turn's error.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* feat: suggestions for filled forms, and one shared AiFormAssistant control
A filled form can now be asked what it would improve: intent 'suggest' on
the same route returns up to 4 one-tap proposals, each applied as an
ordinary refine (undo covers it). Never proposes inventing a fact.
AiFormAssistant moves the bar every adopter hand-rolled (AOZ and evig had
near-identical copies) into the package: behaviour here, words and design
tokens from the app via labels/classNames, no styling shipped. An
improvement to the experience now lands everywhere on one install.
respond keeps its AssistResult type (loki passes one); suggest gets its
own respondSuggest.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* chore: add a formatter, matching the style this repo already writes
singleQuote=true was chosen by counting this repo's own
imports, not by fleet decree. The fleet is genuinely split and the two repos
that already had a .prettierrc disagreed with each other, so there was no
standard to restore. Quote style does not cross repo boundaries; having a
gate does.
Markdown is ignored for now — prettier rewraps prose, which would bury the
real diff.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* style: format with prettier (15 files)
Mechanical. No behaviour change. This SHA is listed in
.git-blame-ignore-revs so `git blame` skips it.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
* chore: teach git blame to skip the reformat
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Was: >=18.
Eighteen of thirty repos declared no Node version at all, and the twelve
that did used five spellings of the same intent - >=18, >=20, >=20.0.0,
>=22, >=22.19.0. The box runs 20.20.2, so >=22 was a claim nothing could
satisfy and nothing would have caught.
One spelling, matching the machine that runs it, turns an invisible
mismatch into a loud one.
Claude-Session: https://claude.ai/code/session_01UvjGNAS9CMfEGNW26tUR4P
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
The account was renamed to `catomean` and the repos then moved to the
`bitbaum` org, so `maonakamoto` now names nothing: github.com/maonakamoto
and maonakamoto.github.io both return 404, and @maonakamoto no longer
resolves as a user.
Three different targets, because these are not the same reference:
repo links -> bitbaum/<repo> (the repos live in the org)
the person -> catomean (profile links, @mentions, CODEOWNERS)
pages site -> bitbaum.github.io
Deliberately NOT changed:
.mailmap keeps the old noreply address as an ALIAS. It is what maps
historical commits onto the current identity; deleting it would
silently unmap them. Only the canonical side moved to catomean.
Files that explain the outage by naming the old account keep it,
since the name is the content.
Files: README.md, package.json, scripts/ci/auto-merge-sweep.sh
Claude-Session: https://claude.ai/code/session_01UvjGNAS9CMfEGNW26tUR4P
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
The package's Trusted Publisher on npm is now pinned to this repo and
publish.yml, so the bootstrap NPM_TOKEN auth goes away: the publish step
authenticates via OIDC alone, and token-health.yml is deleted because
there is no token left whose expiry could block a release.
The version bump makes the reconciler prove this end-to-end: on merge it
will find 0.1.2 missing from the registry and publish it with OIDC.
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
`verify` here was `build && test`. Two gaps behind that:
- No lint at all. ESLint was not a dependency, there was no config, and no
script referenced it — so the fleet verify floor (lint AND typecheck AND
test) was unmet, and nothing checked this package's source style or its
obvious-error class.
- `typecheck` existed but was not in `verify`. `build` is `tsc -p`, so types
were checked as a side effect of emitting. That is not the same gate: it
conflates "compiles to dist" with "types are sound", and it dies the moment
the build strategy changes.
Both are now explicit: verify = lint → typecheck → build → test.
The ESLint config stays close to the recommended presets on purpose. This is
~1k lines of library code; a bespoke rule set would be a second opinion to
maintain for no benefit. The floor is "lint runs and can fail", not "lint
encodes taste". `no-explicit-any` is a warning rather than an error because
the public API deliberately accepts arbitrary user-supplied form shapes, so
those `any`s are load-bearing.
One finding worth naming: src/react.ts carried
// eslint-disable-next-line react-hooks/exhaustive-deps
with eslint-plugin-react-hooks not installed. Under a working lint that
directive is itself an error ("Definition for rule was not found") — the
comment was writing a cheque the config could not cash, and nobody knew
because lint never ran. Installing the plugin makes the suppression meaningful
and lints the exported hook for real.
CI needs no change: ci.yml and publish.yml already call `npm run verify`
verbatim, so lint now also gates npm releases.
Verified: `npm run verify` passes locally — eslint clean (exit 0), typecheck
clean, build clean, 19/19 tests pass.
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
The v0.1.0 git tag points at the initial commit, which predates the
publish workflow, and nothing was ever published under it. Rather than
rewrite a pushed tag, cut the first npm release as 0.1.1.
Co-authored-by: Mao Nakamoto <georgy.butaev@revamp-it.ch>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
The package was installable only via a git URL under a private `@fleet`
scope, which made it unusable by anyone outside this fleet and invisible
to search. `ai-forms` was free on the registry, so take it.
- rename `@fleet/ai-forms` -> `ai-forms` (package, lockfile, README, docs)
- add the MIT LICENSE file the package.json already claimed
- add a tag-driven publish workflow with provenance, gated on `verify`
and on the tag matching package.json (a mismatched tag fails loudly
instead of shipping the wrong version)
- make the README readable by someone who has never seen this fleet:
provider-agnostic `complete` example instead of an internal Groq
helper, real install line, badges
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
One implementation of the thing every app in the fleet needs and only
OrangeCat had: fill a form from prose, then keep talking to it until it
is right.
The core is the merge rule. Protecting user input by letting existing
values win is correct when filling an empty form and fatal when changing
a full one — it is why asking to rewrite a non-empty field silently does
nothing. Intent decides: `fill` protects what the user typed, `refine`
lets the model win for the fields it returns.
Ships headless. Each app owns its own design tokens, so the package
exports logic and a hook and no markup.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>