@alumbwe/anvil 1.0.7 → 1.0.8

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/bundled.js CHANGED
@@ -73541,7 +73541,7 @@ var init_open_url = __esm(() => {
73541
73541
  });
73542
73542
 
73543
73543
  // src/utils/constants.ts
73544
- var IS_FREEBUFF, END_SESSION_MESSAGE = "Ending session and returning to the model picker\u2026", HIDDEN_AGENT_IDS, COLLAPSED_BY_DEFAULT_TOOL_NAMES, shouldCollapseToolByDefault = (toolName37) => {
73544
+ var IS_FREEBUFF = false, END_SESSION_MESSAGE = "Ending session and returning to the model picker\u2026", HIDDEN_AGENT_IDS, COLLAPSED_BY_DEFAULT_TOOL_NAMES, shouldCollapseToolByDefault = (toolName37) => {
73545
73545
  return COLLAPSED_BY_DEFAULT_TOOL_NAMES.includes(toolName37);
73546
73546
  }, shouldHideAgent = (agentId) => {
73547
73547
  return HIDDEN_AGENT_IDS.some((hiddenId) => agentId.includes(hiddenId));
@@ -73567,8 +73567,6 @@ var IS_FREEBUFF, END_SESSION_MESSAGE = "Ending session and returning to the mode
73567
73567
  return MULTI_PROMPT_EDITOR_IDS.some((id) => agentType.includes(id));
73568
73568
  }, CLI_HARNESS = "base3", HARNESS_MODE_IDS, AGENT_MODE_TO_ID, AGENT_MODES, AGENT_MODE_TO_COST_MODE;
73569
73569
  var init_constants6 = __esm(() => {
73570
- init_env();
73571
- IS_FREEBUFF = getCliEnv().FREEBUFF_MODE === "true";
73572
73570
  HIDDEN_AGENT_IDS = ["context-pruner"];
73573
73571
  COLLAPSED_BY_DEFAULT_TOOL_NAMES = [
73574
73572
  "set_output"
@@ -123963,7 +123961,7 @@ var FreebuffSupersededScreen = () => {
123963
123961
  /* @__PURE__ */ jsx106("text", {
123964
123962
  style: { fg: theme.foreground, marginBottom: 1 },
123965
123963
  attributes: TextAttributes47.BOLD,
123966
- children: "Another freebuff instance took over this account."
123964
+ children: "Another Anvil instance took over this account."
123967
123965
  }),
123968
123966
  /* @__PURE__ */ jsx106("text", {
123969
123967
  style: { fg: theme.muted, wrapMode: "word" },
@@ -123971,7 +123969,7 @@ var FreebuffSupersededScreen = () => {
123971
123969
  }),
123972
123970
  /* @__PURE__ */ jsx106("text", {
123973
123971
  style: { fg: theme.muted, wrapMode: "word" },
123974
- children: "Close the other instance, then restart freebuff here."
123972
+ children: "Close the other instance, then restart Anvil here."
123975
123973
  }),
123976
123974
  /* @__PURE__ */ jsx106("box", {
123977
123975
  style: { marginTop: 1 },
@@ -127851,7 +127849,7 @@ function parseArgs({
127851
127849
  } = {}) {
127852
127850
  const program = new Command;
127853
127851
  if (isFreebuff) {
127854
- program.name("freebuff").description("Freebuff - Free AI coding assistant").version(version, "-v, --version", "Print the CLI version").option("--continue [conversation-id]", "Continue from a previous conversation (optionally specify a conversation id)").option("--cwd <directory>", "Set the working directory (default: current directory)").addArgument(new Argument("[command]", "Command to run").choices(["login"])).helpOption("-h, --help", "Show this help message");
127852
+ program.name("anvil").description("Anvil - AI coding assistant").version(version, "-v, --version", "Print the CLI version").option("--continue [conversation-id]", "Continue from a previous conversation (optionally specify a conversation id)").option("--cwd <directory>", "Set the working directory (default: current directory)").addArgument(new Argument("[command]", "Command to run").choices(["login"])).helpOption("-h, --help", "Show this help message");
127855
127853
  } else {
127856
127854
  program.name("anvil").description("Anvil CLI - AI-powered coding assistant").version(version, "-v, --version", "Print the CLI version").option("--agent <agent-id>", "Run a specific agent id (skips loading local .agents overrides)").option("--clear-logs", "Remove any existing CLI log files before starting").option("--continue [conversation-id]", "Continue from a previous conversation (optionally specify a conversation id)").option("--cwd <directory>", "Set the working directory (default: current directory)").option("--lite", "Start in LITE mode").option("--free", "Start in LITE mode (deprecated alias)").option("--max", "Start in MAX mode").option("--plan", "Start in PLAN mode").addHelpText("after", `
127857
127855
  Commands:
@@ -128878,5 +128876,5 @@ if (isTerminalCommandBrokerInvocation(process.argv)) {
128878
128876
  await Promise.resolve().then(() => (init_src2(), exports_src));
128879
128877
  }
128880
128878
 
128881
- //# debugId=9FFC7DC7707FF82164756E2164756E21
128879
+ //# debugId=EB602EBEC957445A64756E2164756E21
128882
128880
  //# sourceMappingURL=bundled.js.map