sharkbait 1.0.9 → 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.
Files changed (2) hide show
  1. package/dist/cli.js +15 -17
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -3524,7 +3524,7 @@ function loadConfig() {
3524
3524
  let config = {
3525
3525
  azure: {
3526
3526
  endpoint: "",
3527
- deployment: "gpt-codex-5.2",
3527
+ deployment: "gpt-5.3-codex",
3528
3528
  apiVersion: "2025-03-01-preview"
3529
3529
  },
3530
3530
  features: {
@@ -6841,7 +6841,7 @@ var SHARK_LOGO = `
6841
6841
  #. .+. ..- +. .###-
6842
6842
  #-. + #
6843
6843
  `.trimEnd();
6844
- function Logo({ variant = "full", version = "0.1.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",
@@ -7604,7 +7604,7 @@ async function initProject() {
7604
7604
  const envExample = `# Azure OpenAI Configuration (required)
7605
7605
  AZURE_OPENAI_ENDPOINT=https://your-resource.openai.azure.com
7606
7606
  AZURE_OPENAI_API_KEY=your-api-key
7607
- AZURE_OPENAI_DEPLOYMENT=gpt-codex-5.2
7607
+ AZURE_OPENAI_DEPLOYMENT=gpt-5.3-codex
7608
7608
  AZURE_OPENAI_API_VERSION=2024-10-21
7609
7609
 
7610
7610
  # Optional Settings
@@ -7818,7 +7818,7 @@ Usage: /beads on - Enable beads
7818
7818
  handler: (args, ctx) => {
7819
7819
  const availableModels = [
7820
7820
  "gpt-5.1-codex-max",
7821
- "gpt-codex-5.2",
7821
+ "gpt-5.3-codex",
7822
7822
  "gpt-4-turbo",
7823
7823
  "gpt-4o",
7824
7824
  "gpt-4o-mini"
@@ -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.1.0", workingDir: cliWorkingDir }) {
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: "0.1.0",
8794
+ version: VERSION,
8792
8795
  workingDir
8793
8796
  }));
8794
8797
  await waitUntilExit();
@@ -8820,7 +8823,7 @@ async function initProject2() {
8820
8823
  const envExample = `# Azure OpenAI Configuration (required)
8821
8824
  AZURE_OPENAI_ENDPOINT=https://your-resource.openai.azure.com
8822
8825
  AZURE_OPENAI_API_KEY=your-api-key
8823
- AZURE_OPENAI_DEPLOYMENT=gpt-codex-5.2
8826
+ AZURE_OPENAI_DEPLOYMENT=gpt-5.3-codex
8824
8827
  AZURE_OPENAI_API_VERSION=2024-10-21
8825
8828
 
8826
8829
  # Optional Settings
@@ -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.9";
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();
@@ -8980,7 +8978,7 @@ function SetupWizardWithCallback({ onComplete }) {
8980
8978
  azureEndpoint: "",
8981
8979
  authMethod: "azure-identity",
8982
8980
  azureKey: "",
8983
- azureDeployment: "gpt-codex-5.2",
8981
+ azureDeployment: "gpt-5.3-codex",
8984
8982
  defaultWorkingDir: "",
8985
8983
  enableBeads: true,
8986
8984
  confirmDestructive: true
@@ -9115,7 +9113,7 @@ function SetupWizardWithCallback({ onComplete }) {
9115
9113
  setInputValue(state.azureDeployment);
9116
9114
  break;
9117
9115
  case "azure-deployment": {
9118
- const deployment = value.trim() || "gpt-codex-5.2";
9116
+ const deployment = value.trim() || "gpt-5.3-codex";
9119
9117
  if (!/^[a-zA-Z0-9][a-zA-Z0-9._-]*$/.test(deployment)) {
9120
9118
  setError("Deployment name can only contain letters, numbers, dots, hyphens, underscores");
9121
9119
  return;
@@ -9451,7 +9449,7 @@ function SetupWizardWithCallback({ onComplete }) {
9451
9449
  /* @__PURE__ */ jsxDEV13(Text13, {
9452
9450
  color: colors.textDim,
9453
9451
  italic: true,
9454
- children: "Default: gpt-codex-5.2"
9452
+ children: "Default: gpt-5.3-codex"
9455
9453
  }, undefined, false, undefined, this),
9456
9454
  /* @__PURE__ */ jsxDEV13(Box13, {
9457
9455
  marginTop: 1,
@@ -9467,7 +9465,7 @@ function SetupWizardWithCallback({ onComplete }) {
9467
9465
  value: inputValue,
9468
9466
  onChange: setInputValue,
9469
9467
  onSubmit: handleInputSubmit,
9470
- placeholder: "gpt-codex-5.2"
9468
+ placeholder: "gpt-5.3-codex"
9471
9469
  }, undefined, false, undefined, this)
9472
9470
  ]
9473
9471
  }, undefined, true, undefined, this)
@@ -9957,7 +9955,7 @@ ${"━".repeat(60)}`);
9957
9955
  }
9958
9956
 
9959
9957
  // src/version.ts
9960
- var VERSION2 = "1.0.9";
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.9",
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",