Skip to content

chore: publish fixes to npm (v1.0.1 agents / v1.0.2 toolkit) - #8

Merged
MarceloAdan73 merged 1 commit into
mainfrom
chore/npm-101-publish
Aug 2, 2026
Merged

chore: publish fixes to npm (v1.0.1 agents / v1.0.2 toolkit)#8
MarceloAdan73 merged 1 commit into
mainfrom
chore/npm-101-publish

Conversation

@MarceloAdan73

Copy link
Copy Markdown
Owner

Republishes the dogfooding fixes (PRs #1-#5) that only existed on GitHub, so npm users get the fixed versions.

What was published to npm:

  • 5 agent packages → 1.0.1 (provider detection, i18n English output, friendly errors, branding)
  • toolkit → 1.0.1 then 1.0.2 (see below)

Code changes in this PR:

  • Bump versions in all 6 package.json
  • \ oolkit/src/cli.ts: \VERSION\ was hardcoded to '1.0.0'\ so the CLI reported the wrong version after the bump. Now reads from \package.json\ at runtime so --version\ can never drift again.

Why toolkit is 1.0.2: 1.0.1 was published before noticing the hardcoded version; npm doesn't allow re-publishing the same version.

Verified: build OK, typecheck OK, 626 tests passing,
px @aiagentkit/ai-agent-toolkit --version\ → 1.0.2.

… package.json

- Bump 5 agent packages to 1.0.1 (npm publish with dogfooding fixes from PRs #1-#5)
- Bump toolkit to 1.0.2 (1.0.1 was published with a hardcoded VERSION='1.0.0')
- toolkit/src/cli.ts: read version from package.json at runtime so --version
  can never drift from the published package version again
@MarceloAdan73
MarceloAdan73 merged commit 543efd6 into main Aug 2, 2026
17 checks passed
@MarceloAdan73
MarceloAdan73 deleted the chore/npm-101-publish branch August 2, 2026 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant