19 Commits
Author SHA1 Message Date
dependabot[bot] b14fe9f935 chore(deps-dev): bump the minor-and-patch group with 2 updates (#65)
Bumps the minor-and-patch group with 2 updates: [prettier](https://github.com/prettier/prettier) and [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint).


Updates `prettier` from 3.9.10 to 3.10.0
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.9.10...3.10.0)

Updates `typescript-eslint` from 8.72.1 to 8.72.2
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.72.2/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: prettier
  dependency-version: 3.10.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: typescript-eslint
  dependency-version: 8.72.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-14 22:17:03 +01:00
CatoandClaude d56a0c50bd feat: publish as @bitbaum/ai-forms (same code, same version) (#62)
* 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>
2026-11-10 08:42:13 +01:00
dependabot[bot] e39f185eda chore(deps-dev): bump the minor-and-patch group with 3 updates (#50)
Bumps the minor-and-patch group with 3 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node), [prettier](https://github.com/prettier/prettier) and [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint).


Updates `@types/node` from 26.6.4 to 26.6.5
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `prettier` from 3.9.9 to 3.9.10
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.9.9...3.9.10)

Updates `typescript-eslint` from 8.71.1 to 8.71.2
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.71.2/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 26.6.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: prettier
  dependency-version: 3.9.10
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: typescript-eslint
  dependency-version: 8.71.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-17 23:24:53 +02:00
dependabot[bot] ba3f9cafb1 chore(deps-dev): bump the minor-and-patch group across 1 directory with 4 updates (#47)
Bumps the minor-and-patch group with 4 updates in the / directory: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node), [eslint](https://github.com/eslint/eslint), [prettier](https://github.com/prettier/prettier) and [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint).


Updates `@types/node` from 26.5.1 to 26.6.2
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `eslint` from 10.10.0 to 10.11.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v10.10.0...v10.11.0)

Updates `prettier` from 3.9.6 to 3.9.9
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.9.6...3.9.9)

Updates `typescript-eslint` from 8.70.0 to 8.70.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.70.1/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 26.6.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: eslint
  dependency-version: 10.11.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: prettier
  dependency-version: 3.9.9
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: typescript-eslint
  dependency-version: 8.70.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-08 07:41:32 -07:00
CatoandClaude Opus 5.5 f5689bbdf6 feat: refine fills gaps, writes requested prose, suggestions, shared AiFormAssistant (0.1.3) (#46)
* 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>
2026-09-24 01:31:13 -07:00
db04f557e8 chore: pnpm — the fleet has one package manager (#33)
Convert from npm to pnpm (fleet standard, STACK.md):
- packageManager pin pnpm@11.25.0 (corepack SSOT)
- pnpm-lock.yaml via `pnpm import` (root and examples/next), then both
  package-lock.json files deleted
- CI + publish workflows: pnpm/action-setup@v6, cache: pnpm,
  `pnpm install --frozen-lockfile`, `pnpm run verify`
- examples/next: pnpm-workspace.yaml with `allowBuilds: sharp` — pnpm 11
  blocks dependency build scripts by default and sharp must build
- package.json scripts and contributor docs use pnpm; consumer install
  lines stay npm — consumers choose their own package manager
- `npm view` / `npm publish` registry calls in publish.yml unchanged
  (OIDC trusted publishing works from a pnpm-managed tree)

Clean-room proven: rm -rf node_modules && pnpm install --frozen-lockfile
&& tests green; example app installs and typechecks under pnpm.


Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn

Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-09-03 14:52:28 +00:00
37e06e6e1e chore(deps): typescript 6 (#32)
TS 7.0.2 exists but typescript-eslint rejects it — canaried and blocked;
revisit when support ships.


Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn

Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-31 13:14:11 +00:00
27a6fe969b chore(deps): currency sweep — eslint 10, @types/node 26, CI actions v7 (#30)
Bumps (devDependencies):
- eslint ^9.39.5 -> ^10.9.1
- @eslint/js ^9.39.5 -> ^10.0.1
- @types/node ^22.10.2 -> ^26.4.0
- eslint-plugin-react-hooks ^5.2.0 -> ^7.1.1 (5.x has no eslint 10 peer)
- typescript-eslint ^8.67.0 -> ^8.68.0

CI actions already at target majors (checkout@v7, setup-node@v7) — no
workflow changes needed. Full verify (format, lint, typecheck, build,
19 tests) green.


Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn

Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-31 09:08:11 +00:00
dependabot[bot] 3e51bbbf86 chore(deps-dev): bump eslint-plugin-react-hooks from 5.2.0 to 7.1.1 (#26)
Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks) from 5.2.0 to 7.1.1.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/react/react/blob/main/packages/eslint-plugin-react-hooks/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/eslint-plugin-react-hooks@7.1.1/packages/eslint-plugin-react-hooks)

---
updated-dependencies:
- dependency-name: eslint-plugin-react-hooks
  dependency-version: 7.1.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-31 09:02:26 +00:00
dependabot[bot] 8b3f760523 chore(deps-dev): bump @types/node from 22.20.1 to 26.3.0 (#27)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.20.1 to 26.3.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 26.3.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-31 08:57:33 +00:00
dependabot[bot] e2f3e8d113 chore(deps-dev): bump globals from 15.15.0 to 17.11.0 (#25)
Bumps [globals](https://github.com/sindresorhus/globals) from 15.15.0 to 17.11.0.
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](https://github.com/sindresorhus/globals/compare/v15.15.0...v17.11.0)

---
updated-dependencies:
- dependency-name: globals
  dependency-version: 17.11.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-31 08:55:51 +00:00
GandClaude Opus 5 ee5777d5a9 chore: add a formatter (#29)
* 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>
2026-08-31 10:32:40 +02:00
GandClaude Opus 5 a5c1640445 chore: declare node >=20, the version the box actually runs (#28)
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>
2026-08-29 09:04:09 +02:00
GandClaude Opus 5 f598cf3e1b chore: retire the maonakamoto handle (#19)
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>
2026-08-28 10:24:36 +02:00
GandClaude Fable 5 52e3239ae4 chore(release): 0.1.2 — publish via trusted publishing, no token (#18)
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>
2026-08-20 23:20:12 +00:00
GandClaude Opus 5 f2d425fabb ci: give the package a lint gate, and put typecheck in verify (#11)
`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>
2026-08-16 11:22:53 +00:00
544bcdf9dd chore(release): 0.1.1 (#10)
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>
2026-08-16 11:55:52 +02:00
GandClaude Opus 5 2a8be0ff33 feat: publish to npm as ai-forms (#6)
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>
2026-08-15 09:48:06 +00:00
Mao NakamotoandClaude Opus 5 68087895ab feat: headless AI form filling and conversational refinement
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>
2026-08-04 14:51:28 +02:00