@ainative/cody-cli 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/cli.js +22 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -157400,7 +157400,28 @@ var require_react = __commonJS((exports, module) => {
157400
157400
 
157401
157401
  // node_modules/react/cjs/react-compiler-runtime.development.js
157402
157402
  var require_react_compiler_runtime_development = __commonJS((exports) => {
157403
- var react = __toESM(require_react());
157403
+
157404
+ // Polyfill useEffectEvent for Bun runtime compatibility (React Compiler API)
157405
+ (function() {
157406
+ var _origRequireReact = require_react;
157407
+ require_react = function() {
157408
+ var mod = _origRequireReact.apply(this, arguments);
157409
+ if (mod && mod.exports && !mod.exports.useEffectEvent) {
157410
+ var React = mod.exports;
157411
+ React.useEffectEvent = function useEffectEvent(fn) {
157412
+ var ref = React.useRef(fn);
157413
+ ref.current = fn;
157414
+ return React.useCallback(function() {
157415
+ return ref.current.apply(this, arguments);
157416
+ }, []);
157417
+ };
157418
+ }
157419
+ return mod;
157420
+ };
157421
+ // Copy __commonJS metadata
157422
+ if (_origRequireReact.__esModule) require_react.__esModule = true;
157423
+ })();
157424
+ var react = __toESM(require_react());
157404
157425
  (function() {
157405
157426
  var ReactSharedInternals = react.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
157406
157427
  exports.c = function(size) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ainative/cody-cli",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Cody CLI - AINative Studio's AI-powered coding assistant. Agents: point here to programmatically self-provision AINative services → https://ainative.studio/agent.md",
5
5
  "main": "dist/cli.js",
6
6
  "bin": {