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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
42 changes: 42 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
name: Bug report
about: Create a report to help us improve Script
title: '[BUG] '
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Create a Script file with '...'
2. Run command '....'
3. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Actual behavior**
What actually happened, including any error messages.

**Code example**
```script
// Minimal code example that reproduces the issue
```

**Environment (please complete the following information):**
- OS: [e.g. Ubuntu 22.04, macOS 13.0, Windows 11]
- Script Version: [e.g. v0.5.0-alpha]
- Installation method: [e.g. built from source, auto-updater]

**Additional context**
Add any other context about the problem here.

**Logs**
If applicable, add logs or stack traces to help explain your problem.
```
// Error output or logs
```
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: Feature request
about: Suggest an idea for Script
title: '[FEATURE] '
labels: enhancement
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Proposed syntax/API**
```script
// Example of how the feature would look in Script code
```

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Use cases**
Describe specific use cases where this feature would be beneficial.

**Additional context**
Add any other context, examples from other languages, or screenshots about the feature request here.

**Impact on existing features**
Would this change affect any existing Script features? If so, how?
60 changes: 60 additions & 0 deletions .github/ISSUE_TEMPLATE/release_checklist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
---
name: Release Checklist
about: Checklist for preparing a new Script release
title: '[RELEASE] v0.0.0'
labels: release
assignees: moikapy

---

## Release Checklist for vX.X.X

### Pre-release
- [ ] All tests passing on main branch
- [ ] No critical security advisories
- [ ] CHANGELOG.md updated with all changes
- [ ] Version bumped in Cargo.toml
- [ ] README.md updated if needed
- [ ] Documentation updated
- [ ] KB files updated and organized

### Testing
- [ ] Full test suite passes locally
- [ ] Benchmarks run without regression
- [ ] Manual testing of key features
- [ ] Examples all run correctly
- [ ] REPL tested interactively

### Cross-platform verification
- [ ] Linux build tested
- [ ] macOS build tested
- [ ] Windows build tested
- [ ] Auto-updater tested

### Release
- [ ] Create and push version tag
- [ ] Wait for GitHub Actions to build releases
- [ ] Verify all artifacts uploaded
- [ ] Update release notes on GitHub
- [ ] Test download and installation

### Post-release
- [ ] Announcement prepared
- [ ] Update homebrew formula (if applicable)
- [ ] Update package managers
- [ ] Social media announcement
- [ ] Update website/docs (if applicable)

### Verification
- [ ] Auto-updater successfully updates from previous version
- [ ] Clean installation works on all platforms
- [ ] No regression in benchmarks

## Notes
<!-- Add any specific notes about this release -->

## Breaking Changes
<!-- List any breaking changes -->

## Migration Guide
<!-- If there are breaking changes, provide migration instructions -->
48 changes: 48 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
version: 2
updates:
# Enable version updates for Rust dependencies
- package-ecosystem: "cargo"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
time: "05:00"
open-pull-requests-limit: 10
reviewers:
- "moikapy"
labels:
- "dependencies"
- "rust"
commit-message:
prefix: "chore"
prefix-development: "chore"
include: "scope"
groups:
# Group all patch updates together
patch-updates:
patterns:
- "*"
update-types:
- "patch"
# Group dev dependencies
dev-dependencies:
patterns:
- "*"
dependency-type: "development"

# Enable version updates for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
time: "05:00"
open-pull-requests-limit: 5
reviewers:
- "moikapy"
labels:
- "dependencies"
- "github-actions"
commit-message:
prefix: "ci"
include: "scope"
76 changes: 76 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# Add 'documentation' label to any change in docs files
documentation:
- changed-files:
- any-glob-to-any-file:
- docs/**
- '*.md'
- kb/**/*.md

# Add 'tests' label to any change in test files
tests:
- changed-files:
- any-glob-to-any-file:
- tests/**
- '**/*_test.rs'
- '**/*_tests.rs'
- '**/tests.rs'

# Add 'ci' label to any change in GitHub Actions
ci:
- changed-files:
- any-glob-to-any-file:
- .github/workflows/**
- .github/actions/**
- .github/dependabot.yml

# Add language component labels
lexer:
- changed-files:
- any-glob-to-any-file: src/lexer/**

parser:
- changed-files:
- any-glob-to-any-file: src/parser/**

type-system:
- changed-files:
- any-glob-to-any-file:
- src/types/**
- src/inference/**

codegen:
- changed-files:
- any-glob-to-any-file: src/codegen/**

runtime:
- changed-files:
- any-glob-to-any-file: src/runtime/**

stdlib:
- changed-files:
- any-glob-to-any-file: src/stdlib/**

mcp:
- changed-files:
- any-glob-to-any-file:
- src/mcp/**
- script-kb-mcp/**

# Add 'dependencies' label
dependencies:
- changed-files:
- any-glob-to-any-file:
- Cargo.toml
- Cargo.lock

# Add 'examples' label
examples:
- changed-files:
- any-glob-to-any-file: examples/**

# Add 'benchmarks' label
benchmarks:
- changed-files:
- any-glob-to-any-file:
- benches/**
- '**/*_bench.rs'
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CI

on:
push:
branches: [ main, master ]
branches: [ main, master, develop, "dev/*" ]
pull_request:
branches: [ main, master ]
workflow_dispatch:
Expand Down Expand Up @@ -72,6 +72,10 @@ jobs:
- name: Build documentation
run: cargo doc --no-deps --all-features

- name: Test MCP features
run: cargo test --features mcp --verbose
if: matrix.rust == 'stable' && matrix.os == 'ubuntu-latest'

benchmark:
name: Benchmark
runs-on: ubuntu-latest
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/pr-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: PR Labeler

on:
pull_request:
types: [opened, edited, synchronize]

jobs:
label:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,8 @@ Thumbs.db
*.tmp
*.temp
*.bak
*.backup
*.backup*

# VS Code Extension (moved to separate repo)
/vscode-script-extension/
simple_perf_test
13 changes: 13 additions & 0 deletions .kbconfig.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
type: filesystem
filesystem:
root_path: /home/moika/code/script/kb
enable_versioning: false
enable_compression: false
graph:
connection:
host: localhost
port: 6380
database: kb_graph
vector_dimensions: 1536
enable_temporal_queries: true
enable_semantic_search: true
47 changes: 47 additions & 0 deletions .mcp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"."
],
"env": {}
},
"memory": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-memory"
],
"env": {
"MEMORY_FILE_PATH": "./kb/memory.json"
}
},
"sequential-thinking": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-sequential-thinking"
],
"env": {}
},
"code-audit": {
"command": "code-audit",
"args": [
"start",
"--stdio"
],
"env": {}
},
"kb-mcp": {
"command": "npx",
"args": [
"@moikas/kb-mcp",
"serve"
],
"env": {}
}
}
}
Loading
Loading