@bastani/atomic 0.8.9 → 0.8.10-0

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.
@@ -282,6 +282,7 @@ export class InteractiveMode {
282
282
  const slashCommands = BUILTIN_SLASH_COMMANDS.map((command) => ({
283
283
  name: command.name,
284
284
  description: command.description,
285
+ getArgumentCompletions: command.getArgumentCompletions,
285
286
  }));
286
287
  const modelCommand = slashCommands.find((command) => command.name === "model");
287
288
  if (modelCommand) {
@@ -2112,6 +2113,11 @@ export class InteractiveMode {
2112
2113
  this.editor.setText("");
2113
2114
  return;
2114
2115
  }
2116
+ if (text === "/atomic" || text.startsWith("/atomic ")) {
2117
+ this.editor.setText("");
2118
+ await this.session.prompt(text);
2119
+ return;
2120
+ }
2115
2121
  if (text === "/hotkeys") {
2116
2122
  this.handleHotkeysCommand();
2117
2123
  this.editor.setText("");