@ainative/cody-cli 0.2.2 → 0.2.4
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 +10 -15
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1,17 +1,11 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
//
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
React.useLayoutEffect(function(){ ref.current = fn; });
|
|
10
|
-
return React.useCallback(function(){ return ref.current.apply(void 0, arguments); }, []);
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
} catch(e) {}
|
|
14
|
-
})();
|
|
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
|
+
};
|
|
15
9
|
var __create = Object.create;
|
|
16
10
|
var __getProtoOf = Object.getPrototypeOf;
|
|
17
11
|
var __defProp = Object.defineProperty;
|
|
@@ -59,6 +53,7 @@ var __toESM = (mod2, isNodeMode, target) => {
|
|
|
59
53
|
});
|
|
60
54
|
if (canCache)
|
|
61
55
|
cache.set(mod2, to);
|
|
56
|
+
|
|
62
57
|
return to;
|
|
63
58
|
};
|
|
64
59
|
var __toCommonJS = (from) => {
|
|
@@ -404324,7 +404319,7 @@ function AppStateProvider(t0) {
|
|
|
404324
404319
|
} else {
|
|
404325
404320
|
t4 = $3[7];
|
|
404326
404321
|
}
|
|
404327
|
-
const onSettingsChange = import_react84.useEffectEvent(t4);
|
|
404322
|
+
const onSettingsChange = import_react84(__useEffectEvent || import_react84.useEffectEvent)(t4);
|
|
404328
404323
|
useSettingsChange(onSettingsChange);
|
|
404329
404324
|
let t5;
|
|
404330
404325
|
if ($3[8] !== children) {
|
|
@@ -464177,7 +464172,7 @@ function BackgroundTasksDialog({
|
|
|
464177
464172
|
async function killRemoteAgentTask(taskId_3) {
|
|
464178
464173
|
await RemoteAgentTask.kill(taskId_3, setAppState);
|
|
464179
464174
|
}
|
|
464180
|
-
const onDoneEvent = import_react165.useEffectEvent(onDone);
|
|
464175
|
+
const onDoneEvent = import_react165(__useEffectEvent || import_react165.useEffectEvent)(onDone);
|
|
464181
464176
|
import_react165.useEffect(() => {
|
|
464182
464177
|
if (viewState.mode !== "list") {
|
|
464183
464178
|
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.4",
|
|
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": {
|