@ainative/cody-cli 0.2.4 → 0.2.6
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.
- package/dist/cli.js +2 -9
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
// useEffectEvent polyfill for Bun 1.3.x
|
|
3
|
-
var __useEffectEvent = function(fn) {
|
|
4
|
-
var React = require("react");
|
|
5
|
-
var ref = React.useRef(fn);
|
|
6
|
-
React.useLayoutEffect(function(){ ref.current = fn; });
|
|
7
|
-
return React.useCallback(function(){ return ref.current.apply(void 0, arguments); }, []);
|
|
8
|
-
};
|
|
9
2
|
var __create = Object.create;
|
|
10
3
|
var __getProtoOf = Object.getPrototypeOf;
|
|
11
4
|
var __defProp = Object.defineProperty;
|
|
@@ -404319,7 +404312,7 @@ function AppStateProvider(t0) {
|
|
|
404319
404312
|
} else {
|
|
404320
404313
|
t4 = $3[7];
|
|
404321
404314
|
}
|
|
404322
|
-
const onSettingsChange = import_react84
|
|
404315
|
+
const onSettingsChange = (import_react84.useEffectEvent || function(fn){ var _r=require_react(); var _ref=_r.useRef(fn); _r.useLayoutEffect(function(){_ref.current=fn}); return _r.useCallback(function(){return _ref.current.apply(void 0,arguments)},[]); })(t4);
|
|
404323
404316
|
useSettingsChange(onSettingsChange);
|
|
404324
404317
|
let t5;
|
|
404325
404318
|
if ($3[8] !== children) {
|
|
@@ -464172,7 +464165,7 @@ function BackgroundTasksDialog({
|
|
|
464172
464165
|
async function killRemoteAgentTask(taskId_3) {
|
|
464173
464166
|
await RemoteAgentTask.kill(taskId_3, setAppState);
|
|
464174
464167
|
}
|
|
464175
|
-
const onDoneEvent = import_react165
|
|
464168
|
+
const onDoneEvent = (import_react165.useEffectEvent || function(fn){ var _r=require_react(); var _ref=_r.useRef(fn); _r.useLayoutEffect(function(){_ref.current=fn}); return _r.useCallback(function(){return _ref.current.apply(void 0,arguments)},[]); })(onDone);
|
|
464176
464169
|
import_react165.useEffect(() => {
|
|
464177
464170
|
if (viewState.mode !== "list") {
|
|
464178
464171
|
const task = (typedTasks ?? {})[viewState.itemId];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ainative/cody-cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
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": {
|