Skip to content

Commit a1c3a8e

Browse files
committed
feat!: migrate module path to go.klarlabs.de/statekit
Repository moved to the klarlabs-studio organization. Module is now served via the go.klarlabs.de vanity import host. BREAKING CHANGE: import path changed from github.com/felixgeelhaar/statekit to go.klarlabs.de/statekit; old path remains available at existing tags via GitHub redirect.
1 parent d60806b commit a1c3a8e

178 files changed

Lines changed: 461 additions & 460 deletions

File tree

Some content is hidden

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

.coverctl.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ policy:
66
domains:
77
- name: core
88
match:
9-
- github.com/felixgeelhaar/statekit
9+
- go.klarlabs.de/statekit
1010
exclude:
1111
- ./internal/...
1212
- ./export/...

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ Any alternative solutions or workarounds you've considered.
2626

2727
## Additional Context
2828

29-
Any other context, including whether this fits within our [scope constraints](https://github.com/felixgeelhaar/statekit/blob/main/CLAUDE.md#scope-constraints-v1).
29+
Any other context, including whether this fits within our [scope constraints](https://github.com/klarlabs-studio/statekit/blob/main/CLAUDE.md#scope-constraints-v1).

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ Release 1.1.0
4040
- Final states support
4141
- Traffic light example
4242

43-
[0.2.0]: https://github.com/felixgeelhaar/statekit/releases/tag/v0.2.0
44-
[0.1.0]: https://github.com/felixgeelhaar/statekit/releases/tag/v0.1.0
43+
[0.2.0]: https://github.com/klarlabs-studio/statekit/releases/tag/v0.2.0
44+
[0.1.0]: https://github.com/klarlabs-studio/statekit/releases/tag/v0.1.0

CLAUDE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@ Example output:
852852
// Code generated by statekit generate. DO NOT EDIT.
853853
package main
854854

855-
import "github.com/felixgeelhaar/statekit"
855+
import "go.klarlabs.de/statekit"
856856

857857
type OrderMachineContext = struct{}
858858

@@ -882,7 +882,7 @@ func BuildOrderMachine() (*statekit.MachineConfig[OrderMachineContext], error) {
882882
Framework-agnostic HTTP handlers and middleware for state machines:
883883

884884
```go
885-
import statekithttp "github.com/felixgeelhaar/statekit/http"
885+
import statekithttp "go.klarlabs.de/statekit/http"
886886

887887
// Create handler for a single machine
888888
handler := statekithttp.NewMachineHandler(interp)
@@ -981,7 +981,7 @@ type EventResponse struct {
981981
Instrument state machines with OpenTelemetry for observability:
982982

983983
```go
984-
import statekotel "github.com/felixgeelhaar/statekit/otel"
984+
import statekotel "go.klarlabs.de/statekit/otel"
985985

986986
// Wrap interpreter with tracing
987987
interp := statekit.NewInterpreter(machine)
@@ -1048,7 +1048,7 @@ attrs := statekotel.TransitionAttributes("machine-1", event, "idle", "running")
10481048
Extend interpreter behavior with lifecycle hooks:
10491049

10501050
```go
1051-
import "github.com/felixgeelhaar/statekit/plugin"
1051+
import "go.klarlabs.de/statekit/plugin"
10521052

10531053
// Implement plugin hooks you need
10541054
type LoggingPlugin[C any] struct{}

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Statekit
22

3-
[![Go Reference](https://pkg.go.dev/badge/github.com/felixgeelhaar/statekit.svg)](https://pkg.go.dev/github.com/felixgeelhaar/statekit)
4-
[![Go Report Card](https://goreportcard.com/badge/github.com/felixgeelhaar/statekit)](https://goreportcard.com/report/github.com/felixgeelhaar/statekit)
5-
[![CI](https://github.com/felixgeelhaar/statekit/actions/workflows/ci.yml/badge.svg)](https://github.com/felixgeelhaar/statekit/actions/workflows/ci.yml)
6-
[![Security: A](https://raw.githubusercontent.com/felixgeelhaar/statekit/main/.nox/security-badge.svg)](https://github.com/felixgeelhaar/statekit/security)
3+
[![Go Reference](https://pkg.go.dev/badge/go.klarlabs.de/statekit.svg)](https://pkg.go.dev/go.klarlabs.de/statekit)
4+
[![Go Report Card](https://goreportcard.com/badge/go.klarlabs.de/statekit)](https://goreportcard.com/report/go.klarlabs.de/statekit)
5+
[![CI](https://github.com/klarlabs-studio/statekit/actions/workflows/ci.yml/badge.svg)](https://github.com/klarlabs-studio/statekit/actions/workflows/ci.yml)
6+
[![Security: A](https://raw.githubusercontent.com/klarlabs-studio/statekit/main/.nox/security-badge.svg)](https://github.com/klarlabs-studio/statekit/security)
77
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
88

99
**Stop modeling order, payment, and incident lifecycles with switch statements and ad-hoc FSMs.** Statekit is a typed statechart library for Go: hierarchical states, guards, actions, delayed and parallel transitions, with built-in visualization and lint.
@@ -89,7 +89,7 @@ These ship in v1.0 but reserve room to iterate within v1.x:
8989
## Installation
9090

9191
```bash
92-
go get github.com/felixgeelhaar/statekit
92+
go get go.klarlabs.de/statekit
9393
```
9494

9595
Requires Go 1.25 or later.
@@ -101,7 +101,7 @@ package main
101101

102102
import (
103103
"fmt"
104-
"github.com/felixgeelhaar/statekit"
104+
"go.klarlabs.de/statekit"
105105
)
106106

107107
func main() {
@@ -342,7 +342,7 @@ machine, _ := statekit.NewMachine[Context]("counter").
342342

343343
Statekit provides a native `viz` command to visualize state machines from Go source code or JSON.
344344

345-
Try the [Live Visualizer](https://felixgeelhaar.github.io/statekit/play) to paste your JSON and interact with it. The [landing page](https://felixgeelhaar.github.io/statekit/) has the project overview.
345+
Try the [Live Visualizer](https://klarlabs-studio.github.io/statekit/play) to paste your JSON and interact with it. The [landing page](https://klarlabs-studio.github.io/statekit/) has the project overview.
346346

347347
```bash
348348
# Interactive HTML simulation
@@ -361,7 +361,7 @@ It supports multiple output formats:
361361
To export JSON programmatically:
362362

363363
```go
364-
import "github.com/felixgeelhaar/statekit/export"
364+
import "go.klarlabs.de/statekit/export"
365365

366366
exporter := export.NewNativeExporter(machine)
367367
jsonStr, _ := exporter.ExportJSONIndent("", " ")
@@ -374,7 +374,7 @@ Statekit includes a built-in [Model Context Protocol](https://modelcontextprotoc
374374

375375
```bash
376376
# Add to your MCP configuration
377-
go install github.com/felixgeelhaar/statekit/cmd/statekit-mcp@latest
377+
go install go.klarlabs.de/statekit/cmd/statekit-mcp@latest
378378
```
379379

380380
```json
@@ -435,7 +435,7 @@ See the [examples](./examples) directory:
435435

436436
## API Reference
437437

438-
See the full [API documentation on pkg.go.dev](https://pkg.go.dev/github.com/felixgeelhaar/statekit).
438+
See the full [API documentation on pkg.go.dev](https://pkg.go.dev/go.klarlabs.de/statekit).
439439

440440
### Core Types
441441

SECURITY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ We take the security of statekit seriously. If you discover a security vulnerabi
1515

1616
1. **Do NOT open a public GitHub issue** for security vulnerabilities
1717
2. **Use GitHub's private vulnerability reporting**:
18-
- Go to the [Security tab](https://github.com/felixgeelhaar/statekit/security)
18+
- Go to the [Security tab](https://github.com/klarlabs-studio/statekit/security)
1919
- Click "Report a vulnerability"
2020
- Provide a detailed description of the vulnerability
2121

@@ -38,7 +38,7 @@ We take the security of statekit seriously. If you discover a security vulnerabi
3838

3939
The following are in scope for security reports:
4040

41-
- The statekit library (`github.com/felixgeelhaar/statekit`)
41+
- The statekit library (`go.klarlabs.de/statekit`)
4242
- All sub-packages (http, otel, viz, health, metrics, etc.)
4343
- The CLI tool (`cmd/statekit`)
4444
- Example code in the `examples/` directory

actor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"fmt"
77
"sync"
88

9-
"github.com/felixgeelhaar/statekit/internal/ir"
9+
"go.klarlabs.de/statekit/internal/ir"
1010
)
1111

1212
// ErrActorNotFound is returned when an actor ID doesn't exist in the registry

ai/ai.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626
"errors"
2727
"fmt"
2828

29-
"github.com/felixgeelhaar/statekit"
29+
"go.klarlabs.de/statekit"
3030
)
3131

3232
// Decider chooses the next event to send to a state machine, given

ai/ai_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"errors"
55
"testing"
66

7-
"github.com/felixgeelhaar/statekit"
8-
"github.com/felixgeelhaar/statekit/ai"
7+
"go.klarlabs.de/statekit"
8+
"go.klarlabs.de/statekit/ai"
99
)
1010

1111
type ctx struct {

aiplugin/aiplugin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
"sync"
2525
"sync/atomic"
2626

27-
"github.com/felixgeelhaar/statekit/plugin"
27+
"go.klarlabs.de/statekit/plugin"
2828
)
2929

3030
// Payload keys recognized by aiplugin plugins.

0 commit comments

Comments
 (0)