Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
17 changes: 0 additions & 17 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -393,20 +393,3 @@ The extension supports all current Claude models:
- Handle model-specific capabilities and limitations
- Provide fallbacks for deprecated model versions
- Support both alias and full model names

## Future Enhancements

### Planned Features

- MCP (Model Context Protocol) server integration
- Visual session management with history
- Advanced tool permission management
- Team/shared configuration support
- Performance monitoring and usage analytics

### Architecture Evolution

- Plugin system for custom integrations
- Advanced caching for improved performance
- Real-time collaboration features
- Integration with other AI development tools
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,8 @@ test-watch:

# Run linting and fix issues
lint:
@echo "🔍 Running ESLint..."
@npm run lint -- --fix || true
@echo ""
@echo "📋 Checking for remaining issues..."
@npm run lint
@echo "🔍 Running ESLint with auto-fix..."
@npm run lint -- --fix
@echo "✅ Linting complete"

# Run all validation
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

A Visual Studio Code extension that provides a seamless interface for executing Claude Code commands directly from your development environment.

[Visual Studio Market place](https://marketplace.visualstudio.com/items?itemName=Codingworkflow.claude-runner)

## Features

- **Model Selection**: Choose from all available Claude models (Opus 4, Sonnet 4, Sonnet 3.7, Haiku 3.5)
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.0
0.1.1
27 changes: 0 additions & 27 deletions assets/README.md

This file was deleted.

Binary file added assets/marketplace/currentuse.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 9 additions & 9 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@ module.exports = {
"**/?(*.)+(spec|test).+(ts|tsx|js)",
],
transform: {
"^.+\\.(ts|tsx)$": "ts-jest",
"^.+\\.(ts|tsx)$": [
"ts-jest",
{
useESM: false,
tsconfig: {
types: ["jest", "node"],
},
},
],
},
moduleNameMapper: {
"\\.(css|less|scss|sass)$": "identity-obj-proxy",
"^vscode$": "<rootDir>/src/test/__mocks__/vscode.js",
},
setupFilesAfterEnv: ["<rootDir>/src/test/setup.ts"],
collectCoverageFrom: ["src/**/*.{ts,tsx}", "!src/**/*.d.ts", "!src/test/**"],
globals: {
"ts-jest": {
useESM: false,
tsconfig: {
types: ["jest", "node"],
},
},
},
};
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "claude-runner",
"displayName": "Claude Runner",
"description": "Execute Claude Code commands directly from VS Code with an intuitive interface",
"version": "0.1.0",
"version": "0.1.1",
"publisher": "Codingworkflow",
"private": true,
"license": "GPL-3.0",
Expand All @@ -17,8 +17,7 @@
},
"categories": [
"Other",
"AI",
"Development Tools"
"Machine Learning"
],
"keywords": [
"claude",
Expand Down Expand Up @@ -221,7 +220,7 @@
"prepare-marketplace": "node scripts/prepare-marketplace.js",
"optimize-images": "node scripts/optimize-images.js",
"quality": "npm run lint && npm run type-check && npm run format:check",
"quality:fix": "npm run lint --fix && npm run format",
"quality:fix": "npm run lint -- --fix && npm run format",
"validate": "npm run quality && npm run test:unit",
"ci": "npm run clean && npm run quality && npm run compile && npm run test:unit"
},
Expand Down Expand Up @@ -265,6 +264,7 @@
"glob": "^10.3.10",
"js-yaml": "^4.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react-dom": "^18.2.0",
"rxjs": "^7.8.2"
}
}
5 changes: 4 additions & 1 deletion src/components/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,9 @@ const App: React.FC<AppProps> = ({
>
Pipeline
</button>
{showAdvancedTabs && (
{(showAdvancedTabs ||
activeTab === "usage" ||
activeTab === "logs") && (
<>
<button
className={`tab-button ${activeTab === "usage" ? "active" : ""}`}
Expand Down Expand Up @@ -236,6 +238,7 @@ const App: React.FC<AppProps> = ({
onUpdateChatPrompt={updateChatPrompt}
onUpdateShowChatPrompt={updateShowChatPrompt}
onUpdateParallelTasksCount={updateParallelTasksCount}
onShowUsageAndLogs={() => updateActiveTab("usage")}
disabled={status === "starting" || status === "stopping"}
/>
)}
Expand Down
8 changes: 6 additions & 2 deletions src/components/hooks/useVSCodeAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,12 @@ export const useVSCodeAPI = () => {
);

const requestUsageReport = useCallback(
(period: "today" | "week" | "month") => {
sendMessage("requestUsageReport", { period });
(
period: "today" | "week" | "month" | "hourly",
hours?: number,
startHour?: number,
) => {
sendMessage("requestUsageReport", { period, hours, startHour });
},
[sendMessage],
);
Expand Down
18 changes: 18 additions & 0 deletions src/components/panels/ChatPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ interface ChatPanelProps {
onUpdateChatPrompt: (prompt: string) => void;
onUpdateShowChatPrompt: (show: boolean) => void;
onUpdateParallelTasksCount: (value: number) => void;
onShowUsageAndLogs: () => void;
disabled: boolean;
}

Expand All @@ -48,6 +49,7 @@ const ChatPanel: React.FC<ChatPanelProps> = ({
onUpdateChatPrompt,
onUpdateShowChatPrompt,
onUpdateParallelTasksCount,
onShowUsageAndLogs,
disabled,
}) => {
const handleStartChat = () => {
Expand Down Expand Up @@ -153,6 +155,22 @@ const ChatPanel: React.FC<ChatPanelProps> = ({
onUpdateParallelTasksCount={onUpdateParallelTasksCount}
disabled={disabled}
/>

{/* Usage & Logs Access */}
<Card title="Usage & Logs">
<div className="space-y-3">
<p className="text-sm opacity-80">
View usage reports and logs for your Claude sessions.
</p>
<Button
variant="secondary"
onClick={onShowUsageAndLogs}
disabled={disabled}
>
Show Usage & Logs
</Button>
</div>
</Card>
</>
);
};
Expand Down
Loading