sharkbait 1.0.10 → 1.0.11
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 +7 -9
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -6841,7 +6841,7 @@ var SHARK_LOGO = `
|
|
|
6841
6841
|
#. .+. ..- +. .###-
|
|
6842
6842
|
#-. + #
|
|
6843
6843
|
`.trimEnd();
|
|
6844
|
-
function Logo({ variant = "full", version = "0.
|
|
6844
|
+
function Logo({ variant = "full", version = "0.0.0" }) {
|
|
6845
6845
|
const logoText = variant === "inline" ? "" : SHARK_LOGO;
|
|
6846
6846
|
return /* @__PURE__ */ jsxDEV4(Box4, {
|
|
6847
6847
|
flexDirection: "column",
|
|
@@ -8319,7 +8319,7 @@ function formatToolInfo(name, args) {
|
|
|
8319
8319
|
}
|
|
8320
8320
|
return name;
|
|
8321
8321
|
}
|
|
8322
|
-
function App({ contextFiles: initialContextFiles, enableBeads: initialBeadsEnabled = true, version = "0.
|
|
8322
|
+
function App({ contextFiles: initialContextFiles, enableBeads: initialBeadsEnabled = true, version = "0.0.0", workingDir: cliWorkingDir }) {
|
|
8323
8323
|
const [messages, setMessages] = useState2([]);
|
|
8324
8324
|
const [input, setInput] = useState2("");
|
|
8325
8325
|
const [isLoading, setIsLoading] = useState2(false);
|
|
@@ -8777,6 +8777,9 @@ ${event.consolidated}`,
|
|
|
8777
8777
|
}, undefined, true, undefined, this);
|
|
8778
8778
|
}
|
|
8779
8779
|
|
|
8780
|
+
// src/version.ts
|
|
8781
|
+
var VERSION = "1.0.11";
|
|
8782
|
+
|
|
8780
8783
|
// src/agent/start-chat.ts
|
|
8781
8784
|
async function startChat(options = {}) {
|
|
8782
8785
|
const workingDir = getWorkingDir(options.workingDir);
|
|
@@ -8788,7 +8791,7 @@ async function startChat(options = {}) {
|
|
|
8788
8791
|
const { waitUntilExit } = render(React3.createElement(App, {
|
|
8789
8792
|
contextFiles: options.context,
|
|
8790
8793
|
enableBeads: options.beads ?? true,
|
|
8791
|
-
version:
|
|
8794
|
+
version: VERSION,
|
|
8792
8795
|
workingDir
|
|
8793
8796
|
}));
|
|
8794
8797
|
await waitUntilExit();
|
|
@@ -8967,11 +8970,6 @@ import { join as join8, resolve as resolve3 } from "path";
|
|
|
8967
8970
|
import { homedir as homedir4 } from "os";
|
|
8968
8971
|
import { existsSync as existsSync5 } from "fs";
|
|
8969
8972
|
import { execSync } from "child_process";
|
|
8970
|
-
|
|
8971
|
-
// src/version.ts
|
|
8972
|
-
var VERSION = "1.0.10";
|
|
8973
|
-
|
|
8974
|
-
// src/commands/setup.tsx
|
|
8975
8973
|
import { jsxDEV as jsxDEV13, Fragment as Fragment3 } from "react/jsx-dev-runtime";
|
|
8976
8974
|
function SetupWizardWithCallback({ onComplete }) {
|
|
8977
8975
|
const { exit } = useApp2();
|
|
@@ -9957,7 +9955,7 @@ ${"━".repeat(60)}`);
|
|
|
9957
9955
|
}
|
|
9958
9956
|
|
|
9959
9957
|
// src/version.ts
|
|
9960
|
-
var VERSION2 = "1.0.
|
|
9958
|
+
var VERSION2 = "1.0.11";
|
|
9961
9959
|
|
|
9962
9960
|
// src/ui/logo.tsx
|
|
9963
9961
|
import { Box as Box14, Text as Text14 } from "ink";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sharkbait",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
4
4
|
"description": "AI-powered coding assistant for the command line. Uses OpenAI Responses API (not Chat). Autonomous agents, parallel code reviews, 36 tools.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/cli.js",
|