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
3151281
Init plan for pypi release
simonweigold Apr 20, 2026
0cba1d6
Hotfix: astral version
simonweigold Apr 20, 2026
ec633d3
Add documentation and web UI features
simonweigold Apr 20, 2026
c38aead
Enhance error handling in documentation loading and improve 404 page …
simonweigold Apr 20, 2026
b913930
Update documentation
simonweigold Apr 20, 2026
bdbb95b
Add release workflow; fix pyproject info
simonweigold Apr 22, 2026
3600c5a
Add license to package
simonweigold Apr 22, 2026
17edcb8
Add release commands and update checklist in Justfile for PyPI release
simonweigold Apr 22, 2026
aa1e902
Publish to test.pypi.org
simonweigold Apr 25, 2026
ceb0b1f
Init MCP integration in CLI
simonweigold Apr 25, 2026
5023e0a
Fix MCP integration
simonweigold Apr 25, 2026
b987893
Update SKILL.md
simonweigold Apr 25, 2026
9c54e1d
Add verbosity and refine SKILL.md
simonweigold Apr 26, 2026
8cd4b92
Add open case law
simonweigold Apr 26, 2026
6afd2e1
Enhance MCP server initialization and tool registration; support mult…
simonweigold Apr 26, 2026
5d09cc6
Enhance resource forms to clarify dynamic content handling; update la…
simonweigold Apr 26, 2026
0555f19
Update default model to gpt-5.4-nano and adjust resource size threshold
simonweigold Apr 26, 2026
78cb7ee
Update test
simonweigold Apr 26, 2026
b3df379
Enhance CLI run command with output directory and save options; imple…
simonweigold Apr 26, 2026
5724b1a
Add batch command to CLI for processing multiple input files; enhance…
simonweigold May 3, 2026
101af45
Add a new sample reasoning kit for evaluating employment contracts
simonweigold May 3, 2026
80081e4
Expand docs_for_dev with TOOLS_MCP_CLI (already implemented) and AUTO…
simonweigold May 3, 2026
a18036d
Merge pull request #35 from simonweigold/feature/tools-mcps-in-cli
simonweigold May 3, 2026
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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
- uses: astral-sh/setup-uv@v4
with:
version: "0.4.x"
- uses: extractions/setup-just@v2
Expand All @@ -26,7 +26,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
- uses: astral-sh/setup-uv@v4
with:
version: "0.4.x"
- uses: extractions/setup-just@v2
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Release

on:
push:
tags:
- "v*.*.*"

jobs:
release:
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write # For trusted publishing

steps:
- uses: actions/checkout@v4

- uses: astral-sh/setup-uv@v4
with:
version: "0.4.x"

- name: Build package
run: |
cd packages/clerk
uv build

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: packages/clerk/dist/
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -221,3 +221,7 @@ tmp_mcp_030/

# Apple
.DS_Store

outputs/
*.docx
*.doc
23 changes: 22 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ uv sync
uv run clerk list # List reasoning kits
uv run clerk run <name> # Run a kit
uv run clerk run <name> --evaluate # Run with evaluation
uv run clerk run <name> --dynamic-resource resource_1="text" # Inline dynamic resource
uv run clerk run <name> --stdin resource_1 # Pipe dynamic resource
uv run clerk validate <name> # Validate kit structure

# Testing
uv run pytest # Run all tests
Expand Down Expand Up @@ -148,10 +151,28 @@ frontend/src/
## Reasoning Kit Conventions

- Resources: `resource_*.txt` or `resource_*.csv`
- Dynamic resources: `dynamic_resource_*.txt` (provided at runtime)
- Instructions: `instruction_*.txt` (numbered: 1, 2, 3...)
- Placeholders: `{resource_N}` and `{workflow_N}`
- Tools: `tool_*.json` referencing the global registry (e.g., `{"tool_name": "read_url"}`)
- MCP servers: `mcp_servers.json` (kit-local override, merges with project-root config)
- Placeholders: `{resource_N}`, `{workflow_N}`, and `{tool_N}`
- Evaluations: stored in `evaluations/*.json`

### MCP Server Config (`mcp_servers.json`)

Supported transports: `stdio` (default), `sse`, `http`.

```json
{
"mcpServers": {
"opencaselaw": {
"transport": "sse",
"url": "https://mcp.opencaselaw.ch"
}
}
}
```

## Environment Setup

```bash
Expand Down
24 changes: 24 additions & 0 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,30 @@ dev-backend:
dev-frontend:
cd apps/website && npm run dev

# Sync documentation to website
sync-docs:
./scripts/sync-docs.sh

# Build website for production (includes docs sync)
build-website: sync-docs
cd apps/website && npm run build

# Build package for distribution
build:
uv build packages/clerk

# Publish to TestPyPI
publish-test: build
uv publish --index testpypi dist/openclerk-*

# Publish to PyPI (requires credentials)
publish: build
uv publish dist/openclerk-*

# Bump package version (e.g., just version patch)
version BUMP:
cd packages/clerk && uvx bump-my-version bump {{BUMP}}

# Clean build artifacts
clean:
find . -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true
Expand Down
Loading
Loading