Repository navigation
fix(package): rename from @opita/ocais to @opitacode/ocais - #3
Merged
Merged
Conversation
The previous package name was an authoring error: the upstream GitHub repo is Opita-Code/ocais and the npm org is opitacode, both with 'code', but the package name was @opita/ocais (without 'code'). This commit aligns the package name with the GitHub org and npm org for brand consistency. Changes: - package.json: name @opita/ocais -> @opitacode/ocais - package-lock.json: sync name - src/*.ts: JSDoc comments only (no runtime imports affected) - dist/: regenerated via 'npm run build' (CI: 132/132 tests pass) - README.md, CHANGELOG.md, docs/, openspec/, pr-body.md: string replace for consistency No source code changes. The first public npm release will be @opitacode/ocais@3.0.0 with dist-tag 'beta'. Refs: SPEC-417 (opita-stream-platform)
nicourrutia98
added a commit
that referenced
this pull request
Jul 23, 2026
… rename (#4) PR #3 renamed the package from @opita/ocais to @opitacode/ocais, but left the publish-guard workflow with the old hardcoded glob 'opita-ocais-*.tgz'. After npm pack now generates 'opitacode-ocais-3.0.0.tgz', the glob no longer matches and the CI fails at the 'Verify dist/ in tarball' step with: ls: cannot access 'opita-ocais-*.tgz': No such file or directory Update both globs (ls + artifact upload path) to the new package name. Add a NOTE comment so the next person who renames the package knows to update these globs too. Caught by: tag v3.0.0 push triggered publish-guard (run 29974882481), failed at 'Verify dist/ in tarball'. Local 132/132 tests + npm pack --dry-run confirm the new tarball is otherwise valid; only the glob is wrong. Refs: PR #3, SPEC-417 Co-authored-by: Opita Code Dev <noreply@opitacode.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The package name in
package.jsonwas an authoring error:Opita-Code(with 'code')opitacode(with 'code') — verified:npm org ls opitacode --jsonreturns{"nicourrutia98": "owner"}@opita/ocais(without 'code')This PR aligns the package name with both orgs for brand consistency.
Changes (22 files, 54 insertions, 54 deletions, no source code changes)
package.json:namefieldpackage-lock.json: sync name (lockfile)src/*.ts: 8 JSDoc comments only (no runtime imports affected — all real imports use relative paths)dist/: regenerated vianpm run build(TypeScript preserves JSDoc in.jsand.d.ts)README.md,CHANGELOG.md,docs/migration-v1-to-v2.md,pr-body.md: example importsopenspec/changes/2026-07-09-v3-auth-expansion/*.md: historical research artifacts (Phase 0 docs)Verification
npm ci: 4 packages, 0 vulnerabilities, runsnpm run buildviapreparenpm test: 132/132 pass (was 128/129 before; the 1 fail was a missingzoddevDep thatnpm cifixed)npm pack --dry-run: tarball contains all 4 critical files verified bypublish-guard.yml:dist/index.jsdist/index.d.tsdist/lambda/sse-writer.jsdist/providers/openai-compatible.jsOut of scope
v3.0.0after this PR merges)opita-account-ui(separate spec)Refs
fix(publish): include dist/ in npm tarball) which shipped v2.0.0 with the wrong name