Skip to content

Commit 3bb19af

Browse files
committed
Init v0.1.0
0 parents  commit 3bb19af

File tree

86 files changed

+14331
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+14331
-0
lines changed

.eslintrc.json

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
{
2+
"root": true,
3+
"parser": "@typescript-eslint/parser",
4+
"parserOptions": {
5+
"ecmaVersion": 6,
6+
"sourceType": "module",
7+
"project": ["./tsconfig.json", "./tsconfig.test.json"],
8+
"ecmaFeatures": {
9+
"jsx": true
10+
}
11+
},
12+
"plugins": ["@typescript-eslint"],
13+
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
14+
"rules": {
15+
"@typescript-eslint/naming-convention": [
16+
"warn",
17+
{
18+
"selector": "import",
19+
"format": ["camelCase", "PascalCase"]
20+
}
21+
],
22+
"@typescript-eslint/semi": "warn",
23+
"curly": "warn",
24+
"eqeqeq": "warn",
25+
"no-throw-literal": "warn",
26+
"semi": "off",
27+
"@typescript-eslint/no-unused-vars": [
28+
"error",
29+
{ "argsIgnorePattern": "^_" }
30+
],
31+
"@typescript-eslint/explicit-function-return-type": "off",
32+
"@typescript-eslint/explicit-module-boundary-types": "off",
33+
"@typescript-eslint/no-explicit-any": "warn",
34+
"no-console": ["warn", { "allow": ["warn", "error"] }],
35+
"prefer-const": "error",
36+
"@typescript-eslint/prefer-nullish-coalescing": "warn",
37+
"@typescript-eslint/prefer-optional-chain": "warn",
38+
"@typescript-eslint/no-non-null-assertion": "warn",
39+
"@typescript-eslint/consistent-type-definitions": ["error", "interface"],
40+
"@typescript-eslint/prefer-readonly": "warn"
41+
},
42+
"ignorePatterns": ["out", "dist", "**/*.d.ts"],
43+
"env": {
44+
"node": true,
45+
"es6": true
46+
},
47+
"overrides": [
48+
{
49+
"files": ["src/webview/**/*.{ts,tsx}"],
50+
"env": {
51+
"browser": true,
52+
"node": false
53+
},
54+
"extends": [
55+
"eslint:recommended",
56+
"plugin:@typescript-eslint/recommended"
57+
],
58+
"rules": {
59+
"no-undef": "off"
60+
}
61+
},
62+
{
63+
"files": ["**/test/**/*.{ts,tsx}", "**/utils/testUsageReport.ts"],
64+
"rules": {
65+
"@typescript-eslint/no-explicit-any": "off",
66+
"no-console": "off",
67+
"@typescript-eslint/prefer-readonly": "off"
68+
}
69+
}
70+
]
71+
}

.github/workflows/claude-test.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: test
2+
'on':
3+
workflow_dispatch:
4+
inputs:
5+
description:
6+
description: Pipeline execution
7+
required: false
8+
type: string
9+
jobs:
10+
pipeline:
11+
name: Pipeline Execution
12+
runs-on: ubuntu-latest
13+
steps:
14+
- id: task_1749136020946_r4mql2lom
15+
name: Task 1
16+
uses: anthropics/claude-pipeline-action@v1
17+
with:
18+
prompt: test
19+
model: claude-opus-4-20250514
20+
allow_all_tools: true
21+
output_session: true
22+
- id: task_1749136022714_z5t92m803
23+
name: Task 2
24+
uses: anthropics/claude-pipeline-action@v1
25+
with:
26+
prompt: test
27+
model: claude-opus-4-20250514
28+
allow_all_tools: true
29+
resume_session: ${{ steps.task_1749136020946_r4mql2lom.outputs.session_id }}
30+
- id: task_1749136024478_042mecw7u
31+
name: Task 3
32+
uses: anthropics/claude-pipeline-action@v1
33+
with:
34+
prompt: test
35+
model: claude-opus-4-20250514
36+
allow_all_tools: true
37+
- id: task_1749136025585_vnyzcmorp
38+
name: Task 4
39+
uses: anthropics/claude-pipeline-action@v1
40+
with:
41+
prompt: test
42+
model: claude-opus-4-20250514
43+
allow_all_tools: true

.gitignore

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# Build outputs
2+
dist/
3+
out/
4+
*.vsix
5+
6+
# Dependencies
7+
node_modules/
8+
npm-debug.log*
9+
package-lock.json
10+
11+
# VS Code
12+
.vscode-test/
13+
.vscode/settings.json
14+
!.vscode/launch.json
15+
!.vscode/tasks.json
16+
17+
# OS
18+
.DS_Store
19+
Thumbs.db
20+
21+
# Logs
22+
*.log
23+
logs/
24+
25+
# Temporary files
26+
*.tmp
27+
*.temp
28+
.tmp/
29+
.temp/
30+
31+
# Coverage
32+
coverage/
33+
*.lcov
34+
35+
# TypeScript
36+
*.tsbuildinfo
37+
38+
# Editor directories and files
39+
.idea/
40+
*.swp
41+
*.swo
42+
43+
# Testing
44+
.nyc_output/
45+
46+
# Runtime
47+
*.pid
48+
*.seed
49+
*.pid.lock
50+
51+
# Environment
52+
.env
53+
.env.local
54+
.env.*.local
55+
56+
# Cache
57+
.cache/
58+
.npm/
59+
.eslintcache
60+
61+
# Build artifacts specific to this extension
62+
webview.js
63+
webview.css
64+
extension.js
65+
extension.js.map
66+
webview.js.map
67+
webview.css.map
68+
.claude/pipeline-logs/*
69+
70+
# SonarQube configuration (contains sensitive data)
71+
.scannerwork/
72+
.sonar

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node scripts/scan-secrets.js --pre-commit && npm run type-check && npx lint-staged

.lintstagedrc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"*.{ts,tsx}": ["eslint --fix", "prettier --write"],
3+
"*.{js,jsx,json,css,md}": ["prettier --write"],
4+
"package.json": ["prettier --write"]
5+
}

.sonar.example

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# SonarQube Configuration
2+
# Copy this file to .sonar and replace with your actual values
3+
SONAR_HOST_URL=https://sonarqube.114.be.tn
4+
SONAR_LOGIN=your-sonar-token-here

.vscode/pipelines/README.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Claude Runner Pipelines
2+
3+
This directory contains Claude Runner pipeline definitions for this project.
4+
5+
## Pipeline Structure
6+
7+
Each pipeline is a JSON file with the following structure:
8+
9+
- `version`: Pipeline format version
10+
- `name`: Pipeline name
11+
- `description`: What the pipeline does
12+
- `tasks`: Array of tasks to execute
13+
- `defaultConfig`: Default configuration for all tasks
14+
- `execution`: Execution strategy settings
15+
16+
## Example Pipeline
17+
18+
```json
19+
{
20+
"version": "1.0",
21+
"name": "my-pipeline",
22+
"description": "Example pipeline",
23+
"type": "claude-code",
24+
"tasks": [
25+
{
26+
"id": "task1",
27+
"name": "First Task",
28+
"prompt": "Your task prompt here",
29+
"model": null
30+
}
31+
]
32+
}
33+
```
34+
35+
## Managing Pipelines
36+
37+
Pipelines in this directory are project-specific and can be:
38+
39+
- Committed to version control to share with your team
40+
- Added to .gitignore if they contain sensitive information
41+
- Copied between projects as needed
42+
43+
To ignore all pipelines, add to your .gitignore:
44+
45+
```
46+
.vscode/pipelines/
47+
```
48+
49+
To ignore specific pipelines:
50+
51+
```
52+
.vscode/pipelines/secret-*.pipeline.json
53+
```

.vscodeignore

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
.vscode/**
2+
.vscode-test/**
3+
src/**
4+
out/**
5+
docs/**
6+
node_modules/**
7+
examples/**
8+
.gitignore
9+
.yarnrc
10+
webpack.config.js
11+
tsconfig.json
12+
tsconfig.webview.json
13+
**/*.map
14+
**/*.ts
15+
**/*.tsx
16+
**/*.js.map
17+
.eslintrc.json
18+
.prettierrc
19+
.github/**
20+
webpack-stats.json
21+
Makefile
22+
CHANGELOG.md
23+
PROJECT_STATUS.md
24+
CLAUDE.md
25+
.DS_Store
26+
**/.DS_Store
27+
**/tsconfig.tsbuildinfo
28+
.prettierignore
29+
**/jest.config.js
30+
**/jest.setup.js
31+
coverage/**
32+
**/*.spec.*
33+
**/*.test.*
34+
**/test/**
35+
**/tests/**
36+
assets/README.md
37+
**/*.log
38+
.claude/

0 commit comments

Comments
 (0)