Skip to content

chore(core): point wren-core-py / wren / wren-core-wasm at Canner/WrenAI#2230

Merged
goldmedal merged 3 commits into
mainfrom
chore/update-repo-urls
May 4, 2026
Merged

chore(core): point wren-core-py / wren / wren-core-wasm at Canner/WrenAI#2230
goldmedal merged 3 commits into
mainfrom
chore/update-repo-urls

Conversation

@goldmedal
Copy link
Copy Markdown
Collaborator

@goldmedal goldmedal commented May 4, 2026

Summary

After the wren-engine import, the canonical repo URL is Canner/WrenAI. The published package manifests still pointed at Canner/wren-engine. Updating them so PyPI / npm / crates.io show the correct Repository and Issues links.

Changes

File Field
core/wren-core-py/Cargo.toml repository
core/wren-core-py/pyproject.toml Repository, Issues
core/wren/pyproject.toml Repository, Issues
core/wren-core-wasm/Cargo.toml repository
core/wren-core-wasm/package.json repository.url + repository.directory (now core/wren-core-wasm)

Intentionally NOT changed

  • CHANGELOG.md historical links (core/wren-core-py/CHANGELOG.md, core/wren/CHANGELOG.md) — those reference real wren-engine PR numbers and commits. The archived Canner/wren-engine repo will keep resolving them; rewriting to Canner/WrenAI would dangle (different PR numbering on the new repo).
  • core/wren-core/Cargo.toml — workspace root, no repository field set; sub-crates inherit nothing for this field.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated package metadata and repository/issue links to point to the new WrenAI locations.
  • Documentation
    • Updated installation and CDN examples to use the new scoped package name and adjusted example import URLs so guides and quick-start snippets reflect the new package identity.

After the import, the canonical repo URL is Canner/WrenAI rather than
the now-archived Canner/wren-engine. Updates the package manifests so
PyPI / npm / crates.io display the correct Repository / Issues links:

- core/wren-core-py/Cargo.toml          repository
- core/wren-core-py/pyproject.toml      Repository, Issues
- core/wren/pyproject.toml              Repository, Issues
- core/wren-core-wasm/Cargo.toml        repository
- core/wren-core-wasm/package.json      repository.url + repository.directory
                                        (now core/wren-core-wasm under the new layout)

CHANGELOG entries that link to historical wren-engine PR numbers/commits
are intentionally left alone — those resolve against the archived
wren-engine repo and would dangle if rewritten to WrenAI's renumbered
PR space.
@github-actions github-actions Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code rust Pull requests that update rust code core wasm labels May 4, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 4, 2026

Walkthrough

Repository and package metadata URLs were updated across manifests and docs to point from https://github.com/Canner/wren-engine to https://github.com/Canner/WrenAI, and the npm package name/registry import was changed to @wrenai/wren-core-wasm.

Changes

Repository Metadata Migration

Layer / File(s) Summary
Cargo Manifests
core/wren-core-py/Cargo.toml, core/wren-core-wasm/Cargo.toml
[package].repository updated to https://github.com/Canner/WrenAI.
Python Project Metadata
core/wren-core-py/pyproject.toml, core/wren/pyproject.toml
[project.urls] Repository and Issues links changed to https://github.com/Canner/WrenAI and issues page.
Node package identity
core/wren-core-wasm/package.json
name changed to @wrenai/wren-core-wasm; repository.url set to https://github.com/Canner/WrenAI.git and repository.directory to core/wren-core-wasm; homepage/bugs.url updated.
Docs / Examples
core/wren-core-wasm/README.md, core/wren-core-wasm/AGENT_GUIDE.md, core/wren-core-wasm/examples/test-cdn.html
CDN/import snippets and install examples updated to use @wrenai/wren-core-wasm import paths/URLs.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Suggested reviewers

  • PaulChen79
  • cyyeh

Poem

🐰 I hopped through files both near and far,
Swapped links to WrenAI, a shiny star.
Package names scoped, the docs now gleam,
A tiny hop toward a brighter dream. 🚀

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately and concisely summarizes the main change: updating repository URLs across multiple core packages from Canner/wren-engine to Canner/WrenAI.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/update-repo-urls

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
Review rate limit: 7/8 reviews remaining, refill in 7 minutes and 30 seconds.

Comment @coderabbitai help to get the list of available commands and usage tips.

@goldmedal goldmedal requested a review from PaulChen79 May 4, 2026 07:03
goldmedal and others added 2 commits May 4, 2026 15:19
Adopt the @WrenAI npm org scope so the package lives under a
namespace we own, and add publishConfig.access=public so first
publish doesn't trip on scoped packages defaulting to private.
Update README, AGENT_GUIDE and the CDN example to match the new
import path.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 4, 2026
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@core/wren-core-wasm/examples/test-cdn.html`:
- Line 41: The import in test-cdn.html (import { WrenEngine } from
'https://unpkg.com/@wrenai/wren-core-wasm@0.1.0/dist/index.js') points to an
unpublished package and will 404; either publish the
`@wrenai/wren-core-wasm`@0.1.0 package to npm so the unpkg URL resolves, or update
this import (and the same reference in README.md and AGENT_GUIDE.md) to a
published version or a local/dev CDN URL; ensure the chosen version string in
the import matches the package version you publish.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: cf150011-ed32-4210-8307-c1f14aea0907

📥 Commits

Reviewing files that changed from the base of the PR and between 4aceaf0 and 237fde8.

📒 Files selected for processing (4)
  • core/wren-core-wasm/AGENT_GUIDE.md
  • core/wren-core-wasm/README.md
  • core/wren-core-wasm/examples/test-cdn.html
  • core/wren-core-wasm/package.json
✅ Files skipped from review due to trivial changes (2)
  • core/wren-core-wasm/AGENT_GUIDE.md
  • core/wren-core-wasm/README.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • core/wren-core-wasm/package.json

// unpkg used instead of jsDelivr: jsDelivr's free CDN has a 50 MB per-file
// limit and the WASM binary is ~68 MB raw. unpkg handles larger files.
import { WrenEngine } from 'https://unpkg.com/wren-core-wasm@0.1.0/dist/index.js';
import { WrenEngine } from 'https://unpkg.com/@wrenai/wren-core-wasm@0.1.0/dist/index.js';
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🌐 Web query:

Is @wrenai/wren-core-wasm published on npm?

💡 Result:

No, @wrenai/wren-core-wasm is not published on npm.

Citations:


Publish @wrenai/wren-core-wasm@0.1.0 to npm before merging.

The unpkg CDN URL will fail to load (404) because @wrenai/wren-core-wasm@0.1.0 is not published on npm. This breaks the example code entirely. The same URL is referenced in README.md and AGENT_GUIDE.md, so publishing the package is a blocking dependency for this and other consumer-facing docs.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@core/wren-core-wasm/examples/test-cdn.html` at line 41, The import in
test-cdn.html (import { WrenEngine } from
'https://unpkg.com/@wrenai/wren-core-wasm@0.1.0/dist/index.js') points to an
unpublished package and will 404; either publish the
`@wrenai/wren-core-wasm`@0.1.0 package to npm so the unpkg URL resolves, or update
this import (and the same reference in README.md and AGENT_GUIDE.md) to a
published version or a local/dev CDN URL; ensure the chosen version string in
the import matches the package version you publish.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core dependencies Pull requests that update a dependency file documentation Improvements or additions to documentation python Pull requests that update Python code rust Pull requests that update rust code wasm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants