@bastani/atomic 0.8.9 → 0.8.10
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/CHANGELOG.md +16 -0
- package/dist/builtin/intercom/package.json +1 -1
- package/dist/builtin/mcp/package.json +1 -1
- package/dist/builtin/subagents/package.json +1 -1
- package/dist/builtin/web-access/package.json +1 -1
- package/dist/builtin/workflows/package.json +1 -1
- package/dist/core/agent-session.d.ts +1 -0
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +42 -5
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/atomic-guide-command.d.ts +41 -0
- package/dist/core/atomic-guide-command.d.ts.map +1 -0
- package/dist/core/atomic-guide-command.js +299 -0
- package/dist/core/atomic-guide-command.js.map +1 -0
- package/dist/core/slash-commands.d.ts +2 -0
- package/dist/core/slash-commands.d.ts.map +1 -1
- package/dist/core/slash-commands.js +6 -0
- package/dist/core/slash-commands.js.map +1 -1
- package/dist/core/system-prompt.d.ts +2 -0
- package/dist/core/system-prompt.d.ts.map +1 -1
- package/dist/core/system-prompt.js +13 -9
- package/dist/core/system-prompt.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +6 -0
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/package.json +1 -1
|
@@ -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("");
|