Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
3069735
feat: workflow files part 1
RomneyDa Oct 1, 2025
598b7ab
Merge branch 'main' of https://github.com/continuedev/continue into d…
RomneyDa Oct 2, 2025
e27ef73
feat: workflow file parsing and serializing
RomneyDa Oct 2, 2025
7d40f5a
feat: workflows for CLI
RomneyDa Oct 2, 2025
8b0dc22
fix: simplify workflow service
RomneyDa Oct 2, 2025
452e012
feat: tool permissions from workflow files
RomneyDa Oct 2, 2025
f5ba8d4
wip: workflow files cleanup
RomneyDa Oct 2, 2025
9e15bc0
wip: workflow files cleanup
RomneyDa Oct 2, 2025
4d3bafe
fix: move workflow stuff to config service
RomneyDa Oct 2, 2025
8c5ca73
fix: cleanup workflow files
RomneyDa Oct 2, 2025
145a752
fix: tests and formatting for workflow files
RomneyDa Oct 2, 2025
779ad18
fix: tests and remove parsed args
RomneyDa Oct 2, 2025
e6ee11b
fix: tests, lint, workflow model name logic
RomneyDa Oct 3, 2025
3e80f3d
fix: remove mode service, fix all tests, workflow service integration
RomneyDa Oct 4, 2025
dcddb54
fix: fix workflow tests
RomneyDa Oct 4, 2025
164d536
fix: tests, formatting, linting
RomneyDa Oct 4, 2025
f6d353f
Merge branch 'main' of https://github.com/continuedev/continue into d…
RomneyDa Oct 4, 2025
379ffe0
fix: circular import
RomneyDa Oct 4, 2025
475aa95
fix: linting
RomneyDa Oct 4, 2025
99095bd
fix: workflow e2e working
RomneyDa Oct 4, 2025
236f139
fix: lint/format
RomneyDa Oct 4, 2025
89e2573
fix: cubic feedback for workflow files
RomneyDa Oct 4, 2025
c1d7cc3
fix: remove hardcoded workflow
RomneyDa Oct 4, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions extensions/cli/spec/modes.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ Users can switch modes during chat sessions using:

Modes are implemented through the permission system:

- **ModeService**: Singleton service managing the current mode and initialization
- **ToolPermissionService**: Extended to support mode-specific policies with highest priority
- **ToolPermissionService**: Rectifies current mode and tool policies
- **ModeIndicator**: UI component showing current mode (hidden for normal mode)
- **Keyboard shortcuts**: Shift+Tab cycles through modes instantly
- **Backward compatibility**: Existing `--readonly` flag maps to plan mode
Expand Down
5 changes: 0 additions & 5 deletions extensions/cli/src/__mocks__/args.ts

This file was deleted.

14 changes: 12 additions & 2 deletions extensions/cli/src/__mocks__/services/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { ToolPermissionService } from "src/services/ToolPermissionService.js";
import { vi } from "vitest";

export const services = {
Expand All @@ -7,14 +8,23 @@ export const services = {
switchOrganization: vi.fn(() => Promise.resolve({})),
getAvailableOrganizations: vi.fn(() => Promise.resolve([])),
},
toolPermissions: vi.mocked(new ToolPermissionService()),
};

export const reloadService = vi.fn(() => Promise.resolve(undefined));

export const SERVICE_NAMES = {
AUTH: "auth",
API_CLIENT: "apiClient",
CONFIG: "config",
MODEL: "model",
MCP: "mcp",
};
API_CLIENT: "apiClient",
TOOL_PERMISSIONS: "toolPermissions",
FILE_INDEX: "fileIndex",
RESOURCE_MONITORING: "resourceMonitoring",
SYSTEM_MESSAGE: "systemMessage",
CHAT_HISTORY: "chatHistory",
UPDATE: "update",
STORAGE_SYNC: "storageSync",
WORKFLOW: "workflow",
} as const;
75 changes: 0 additions & 75 deletions extensions/cli/src/args-mcp.test.ts

This file was deleted.

84 changes: 0 additions & 84 deletions extensions/cli/src/args.prompt.test.ts

This file was deleted.

Loading
Loading