Skip to content
This repository was archived by the owner on Oct 22, 2025. It is now read-only.

Commit 41c4990

Browse files
committed
chore: rename actorcore -> rivetkit take 2
1 parent e8e0872 commit 41c4990

File tree

43 files changed

+242
-241
lines changed

Some content is hidden

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

43 files changed

+242
-241
lines changed

CHANGELOG.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
* add ws & eventsource as dev dependencies of rivetkit so it can build ([1cdf9c4](https://github.com/rivet-gg/rivetkit/commit/1cdf9c4351367a152224697029b047e5ef66518a))
174174
* changelog for 0.6.3 ([cf6d723](https://github.com/rivet-gg/rivetkit/commit/cf6d723a081029e8241a643186d41a09701192bd))
175175
* fix grammar on index ([#689](https://github.com/rivet-gg/rivetkit/issues/689)) ([dac5660](https://github.com/rivet-gg/rivetkit/commit/dac566058490c28ad34511dcee77c962602c6a3e))
176-
* fix typo of "Actor Core" -> "ActorCore" ([#707](https://github.com/rivet-gg/rivetkit/issues/707)) ([d1e8be5](https://github.com/rivet-gg/rivetkit/commit/d1e8be523fc75e1c55ad529bd85bc832a545b12a))
176+
* fix typo of "Actor Core" -> "RivetKit" ([#707](https://github.com/rivet-gg/rivetkit/issues/707)) ([d1e8be5](https://github.com/rivet-gg/rivetkit/commit/d1e8be523fc75e1c55ad529bd85bc832a545b12a))
177177
* increase RPC timeout from 5s to 60s ([#705](https://github.com/rivet-gg/rivetkit/issues/705)) ([ec6a478](https://github.com/rivet-gg/rivetkit/commit/ec6a478e9ffff91028e8f2f718c79e65d3479354))
178178
* **main:** release 0.6.2 ([#693](https://github.com/rivet-gg/rivetkit/issues/693)) ([73c3399](https://github.com/rivet-gg/rivetkit/commit/73c3399a96a720ff5663ee359e686aa6e573737b))
179179
* **main:** release 0.6.3 ([#697](https://github.com/rivet-gg/rivetkit/issues/697)) ([40fbcc1](https://github.com/rivet-gg/rivetkit/commit/40fbcc11d115761f27a843f6cac816449fc61ceb))
@@ -196,7 +196,7 @@
196196
* update changelog for 0.7.0 ([#715](https://github.com/rivet-gg/rivetkit/issues/715)) ([dba8085](https://github.com/rivet-gg/rivetkit/commit/dba808513f2fb42ebd84f0d1dd21b3798223fda1))
197197
* update changelog for 0.7.1 ([#731](https://github.com/rivet-gg/rivetkit/issues/731)) ([f2e0cb3](https://github.com/rivet-gg/rivetkit/commit/f2e0cb3b18131086765478812498e605d3be2ff8))
198198
* update lockfile ([7b61057](https://github.com/rivet-gg/rivetkit/commit/7b6105796a2bbec69d75dbd0cae717b2e8fd7827))
199-
* update platforms to support `ActorCoreApp` ([#712](https://github.com/rivet-gg/rivetkit/issues/712)) ([576a101](https://github.com/rivet-gg/rivetkit/commit/576a101dcfcbe5c44ff771db1db64b275a68cf81))
199+
* update platforms to support `RivetKitApp` ([#712](https://github.com/rivet-gg/rivetkit/issues/712)) ([576a101](https://github.com/rivet-gg/rivetkit/commit/576a101dcfcbe5c44ff771db1db64b275a68cf81))
200200

201201
## [0.7.0](https://github.com/rivet-gg/rivetkit/compare/v0.6.3...v0.7.0) (2025-03-16)
202202

@@ -226,15 +226,15 @@
226226
### Chores
227227

228228
* add ws & eventsource as dev dependencies of rivetkit so it can build ([1cdf9c4](https://github.com/rivet-gg/rivetkit/commit/1cdf9c4351367a152224697029b047e5ef66518a))
229-
* fix typo of "Actor Core" -> "ActorCore" ([#707](https://github.com/rivet-gg/rivetkit/issues/707)) ([d1e8be5](https://github.com/rivet-gg/rivetkit/commit/d1e8be523fc75e1c55ad529bd85bc832a545b12a))
229+
* fix typo of "Actor Core" -> "RivetKit" ([#707](https://github.com/rivet-gg/rivetkit/issues/707)) ([d1e8be5](https://github.com/rivet-gg/rivetkit/commit/d1e8be523fc75e1c55ad529bd85bc832a545b12a))
230230
* increase RPC timeout from 5s to 60s ([#705](https://github.com/rivet-gg/rivetkit/issues/705)) ([ec6a478](https://github.com/rivet-gg/rivetkit/commit/ec6a478e9ffff91028e8f2f718c79e65d3479354))
231231
* release 0.7.0 ([0a9b745](https://github.com/rivet-gg/rivetkit/commit/0a9b745f966379ed324be2a354d91999cb65e1f1))
232232
* release version 0.7.0 ([0fbc3da](https://github.com/rivet-gg/rivetkit/commit/0fbc3da0430581cc47543d2904c8241fa38d4f0e))
233233
* rename onInitialize -> onCreate ([#714](https://github.com/rivet-gg/rivetkit/issues/714)) ([3b9b106](https://github.com/rivet-gg/rivetkit/commit/3b9b1069d55352545291e4ea593b05cd0b8f89f5))
234234
* rename rpcs -> actions ([#711](https://github.com/rivet-gg/rivetkit/issues/711)) ([8957e56](https://github.com/rivet-gg/rivetkit/commit/8957e560572e7594db03d9ea631bf32995a61bd0))
235235
* show full subpath to value that cannot be serialized when setting invalid state ([#706](https://github.com/rivet-gg/rivetkit/issues/706)) ([a666bc3](https://github.com/rivet-gg/rivetkit/commit/a666bc37644966d7482f54370ab92c5b259136b9))
236236
* update changelog for 0.7.0 ([#715](https://github.com/rivet-gg/rivetkit/issues/715)) ([dba8085](https://github.com/rivet-gg/rivetkit/commit/dba808513f2fb42ebd84f0d1dd21b3798223fda1))
237-
* update platforms to support `ActorCoreApp` ([#712](https://github.com/rivet-gg/rivetkit/issues/712)) ([576a101](https://github.com/rivet-gg/rivetkit/commit/576a101dcfcbe5c44ff771db1db64b275a68cf81))
237+
* update platforms to support `RivetKitApp` ([#712](https://github.com/rivet-gg/rivetkit/issues/712)) ([576a101](https://github.com/rivet-gg/rivetkit/commit/576a101dcfcbe5c44ff771db1db64b275a68cf81))
238238

239239
## [0.6.3](https://github.com/rivet-gg/rivetkit/compare/v0.6.2...v0.6.3) (2025-03-13)
240240

clients/python/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ edition = "2021"
1010
publish = false
1111

1212
[lib]
13-
name = "actor_core_client"
13+
name = "rivetkit_client"
1414
crate-type = ["cdylib"]
1515

1616
[dependencies]

clients/python/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pip install python-rivetkit-client
2121
### Step 2: Connect to Actor
2222

2323
```python
24-
from python_actor_core_client import AsyncClient as ActorClient
24+
from python_rivetkit_client import AsyncClient as ActorClient
2525
import asyncio
2626

2727
async def main():

clients/python/src/events/async/client.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use std::sync::Arc;
22

3-
use actor_core_client::{self as actor_core_rs, CreateOptions, GetOptions, GetWithIdOptions};
3+
use rivetkit_client::{self as rivetkit_rs, CreateOptions, GetOptions, GetWithIdOptions};
44
use pyo3::prelude::*;
55

66
use crate::util::{try_opts_from_kwds, PyKwdArgs};
@@ -9,7 +9,7 @@ use super::handle::ActorHandle;
99

1010
#[pyclass(name = "AsyncClient")]
1111
pub struct Client {
12-
client: Arc<actor_core_rs::Client>,
12+
client: Arc<rivetkit_rs::Client>,
1313
}
1414

1515
#[pymethods]
@@ -27,7 +27,7 @@ impl Client {
2727
) -> PyResult<Self> {
2828
let transport_kind = try_transport_kind_from_str(&transport_kind)?;
2929
let encoding_kind = try_encoding_kind_from_str(&encoding_kind)?;
30-
let client = actor_core_rs::Client::new(
30+
let client = rivetkit_rs::Client::new(
3131
endpoint.to_string(),
3232
transport_kind,
3333
encoding_kind
@@ -104,10 +104,10 @@ impl Client {
104104

105105
fn try_transport_kind_from_str(
106106
transport_kind: &str
107-
) -> PyResult<actor_core_rs::TransportKind> {
107+
) -> PyResult<rivetkit_rs::TransportKind> {
108108
match transport_kind {
109-
"websocket" => Ok(actor_core_rs::TransportKind::WebSocket),
110-
"sse" => Ok(actor_core_rs::TransportKind::Sse),
109+
"websocket" => Ok(rivetkit_rs::TransportKind::WebSocket),
110+
"sse" => Ok(rivetkit_rs::TransportKind::Sse),
111111
_ => Err(py_value_err!(
112112
"Invalid transport kind: {}",
113113
transport_kind
@@ -117,13 +117,13 @@ fn try_transport_kind_from_str(
117117

118118
fn try_encoding_kind_from_str(
119119
encoding_kind: &str
120-
) -> PyResult<actor_core_rs::EncodingKind> {
120+
) -> PyResult<rivetkit_rs::EncodingKind> {
121121
match encoding_kind {
122-
"json" => Ok(actor_core_rs::EncodingKind::Json),
123-
"cbor" => Ok(actor_core_rs::EncodingKind::Cbor),
122+
"json" => Ok(rivetkit_rs::EncodingKind::Json),
123+
"cbor" => Ok(rivetkit_rs::EncodingKind::Cbor),
124124
_ => Err(py_value_err!(
125125
"Invalid encoding kind: {}",
126126
encoding_kind
127127
)),
128128
}
129-
}
129+
}

clients/python/src/events/async/handle.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11

2-
use actor_core_client::{self as actor_core_rs};
2+
use rivetkit_client::{self as rivetkit_rs};
33
use pyo3::{prelude::*, types::PyTuple};
44

55
use crate::util;
66

77
#[pyclass]
88
pub struct ActorHandle {
9-
pub handle: actor_core_rs::connection::ActorHandle,
9+
pub handle: rivetkit_rs::connection::ActorHandle,
1010
}
1111

1212
#[pymethods]
@@ -92,4 +92,4 @@ impl ActorHandle {
9292
Ok(())
9393
})
9494
}
95-
}
95+
}

clients/python/src/events/sync/client.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
use actor_core_client::{self as actor_core_rs, CreateOptions, GetOptions, GetWithIdOptions};
1+
use rivetkit_client::{self as rivetkit_rs, CreateOptions, GetOptions, GetWithIdOptions};
22
use pyo3::prelude::*;
33

44
use super::handle::ActorHandle;
55
use crate::util::{try_opts_from_kwds, PyKwdArgs, SYNC_RUNTIME};
66

77
#[pyclass(name = "Client")]
88
pub struct Client {
9-
client: actor_core_rs::Client,
9+
client: rivetkit_rs::Client,
1010
}
1111

1212
#[pymethods]
@@ -24,7 +24,7 @@ impl Client {
2424
) -> PyResult<Self> {
2525
let transport_kind = try_transport_kind_from_str(&transport_kind)?;
2626
let encoding_kind = try_encoding_kind_from_str(&encoding_kind)?;
27-
let client = actor_core_rs::Client::new(
27+
let client = rivetkit_rs::Client::new(
2828
endpoint.to_string(),
2929
transport_kind,
3030
encoding_kind
@@ -83,10 +83,10 @@ impl Client {
8383

8484
fn try_transport_kind_from_str(
8585
transport_kind: &str
86-
) -> PyResult<actor_core_rs::TransportKind> {
86+
) -> PyResult<rivetkit_rs::TransportKind> {
8787
match transport_kind {
88-
"websocket" => Ok(actor_core_rs::TransportKind::WebSocket),
89-
"sse" => Ok(actor_core_rs::TransportKind::Sse),
88+
"websocket" => Ok(rivetkit_rs::TransportKind::WebSocket),
89+
"sse" => Ok(rivetkit_rs::TransportKind::Sse),
9090
_ => Err(py_value_err!(
9191
"Invalid transport kind: {}",
9292
transport_kind
@@ -96,13 +96,13 @@ fn try_transport_kind_from_str(
9696

9797
fn try_encoding_kind_from_str(
9898
encoding_kind: &str
99-
) -> PyResult<actor_core_rs::EncodingKind> {
99+
) -> PyResult<rivetkit_rs::EncodingKind> {
100100
match encoding_kind {
101-
"json" => Ok(actor_core_rs::EncodingKind::Json),
102-
"cbor" => Ok(actor_core_rs::EncodingKind::Cbor),
101+
"json" => Ok(rivetkit_rs::EncodingKind::Json),
102+
"cbor" => Ok(rivetkit_rs::EncodingKind::Cbor),
103103
_ => Err(py_value_err!(
104104
"Invalid encoding kind: {}",
105105
encoding_kind
106106
)),
107107
}
108-
}
108+
}

clients/python/src/events/sync/handle.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
use actor_core_client::{self as actor_core_rs};
1+
use rivetkit_client::{self as rivetkit_rs};
22
use pyo3::{prelude::*, types::PyTuple};
33

44
use crate::util::{self, SYNC_RUNTIME};
55

66
#[pyclass]
77
pub struct ActorHandle {
8-
pub handle: actor_core_rs::connection::ActorHandle,
8+
pub handle: rivetkit_rs::connection::ActorHandle,
99
}
1010

1111
#[pymethods]
@@ -66,4 +66,4 @@ impl ActorHandle {
6666
self.handle.disconnect()
6767
)
6868
}
69-
}
69+
}

clients/python/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ mod simple;
66
mod events;
77

88
#[pymodule]
9-
fn actor_core_client(m: &Bound<'_, PyModule>) -> PyResult<()> {
9+
fn rivetkit_client(m: &Bound<'_, PyModule>) -> PyResult<()> {
1010
simple::init_module(m)?;
1111
events::init_module(m)?;
1212

clients/python/src/simple/async/client.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use std::sync::Arc;
22

3-
use actor_core_client::{self as actor_core_rs, CreateOptions, GetOptions, GetWithIdOptions};
3+
use rivetkit_client::{self as rivetkit_rs, CreateOptions, GetOptions, GetWithIdOptions};
44
use pyo3::prelude::*;
55

66
use crate::util::{try_opts_from_kwds, PyKwdArgs};
@@ -9,7 +9,7 @@ use super::handle::ActorHandle;
99

1010
#[pyclass(name = "AsyncSimpleClient")]
1111
pub struct Client {
12-
client: Arc<actor_core_rs::Client>,
12+
client: Arc<rivetkit_rs::Client>,
1313
}
1414

1515
#[pymethods]
@@ -27,7 +27,7 @@ impl Client {
2727
) -> PyResult<Self> {
2828
let transport_kind = try_transport_kind_from_str(&transport_kind)?;
2929
let encoding_kind = try_encoding_kind_from_str(&encoding_kind)?;
30-
let client = actor_core_rs::Client::new(
30+
let client = rivetkit_rs::Client::new(
3131
endpoint.to_string(),
3232
transport_kind,
3333
encoding_kind
@@ -98,10 +98,10 @@ impl Client {
9898

9999
fn try_transport_kind_from_str(
100100
transport_kind: &str
101-
) -> PyResult<actor_core_rs::TransportKind> {
101+
) -> PyResult<rivetkit_rs::TransportKind> {
102102
match transport_kind {
103-
"websocket" => Ok(actor_core_rs::TransportKind::WebSocket),
104-
"sse" => Ok(actor_core_rs::TransportKind::Sse),
103+
"websocket" => Ok(rivetkit_rs::TransportKind::WebSocket),
104+
"sse" => Ok(rivetkit_rs::TransportKind::Sse),
105105
_ => Err(py_value_err!(
106106
"Invalid transport kind: {}",
107107
transport_kind
@@ -111,13 +111,13 @@ fn try_transport_kind_from_str(
111111

112112
fn try_encoding_kind_from_str(
113113
encoding_kind: &str
114-
) -> PyResult<actor_core_rs::EncodingKind> {
114+
) -> PyResult<rivetkit_rs::EncodingKind> {
115115
match encoding_kind {
116-
"json" => Ok(actor_core_rs::EncodingKind::Json),
117-
"cbor" => Ok(actor_core_rs::EncodingKind::Cbor),
116+
"json" => Ok(rivetkit_rs::EncodingKind::Json),
117+
"cbor" => Ok(rivetkit_rs::EncodingKind::Cbor),
118118
_ => Err(py_value_err!(
119119
"Invalid encoding kind: {}",
120120
encoding_kind
121121
)),
122122
}
123-
}
123+
}

clients/python/src/simple/async/handle.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use actor_core_client::{self as actor_core_rs};
1+
use rivetkit_client::{self as rivetkit_rs};
22
use futures_util::FutureExt;
33
use pyo3::{prelude::*, types::{PyList, PyString, PyTuple}};
44
use tokio::sync::mpsc;
@@ -14,13 +14,13 @@ struct ActorEvent {
1414

1515
#[pyclass]
1616
pub struct ActorHandle {
17-
handle: actor_core_rs::connection::ActorHandle,
17+
handle: rivetkit_rs::connection::ActorHandle,
1818
event_rx: Option<mpsc::Receiver<ActorEvent>>,
1919
event_tx: mpsc::Sender<ActorEvent>,
2020
}
2121

2222
impl ActorHandle {
23-
pub fn new(handle: actor_core_rs::connection::ActorHandle) -> Self {
23+
pub fn new(handle: rivetkit_rs::connection::ActorHandle) -> Self {
2424
let (event_tx, event_rx) = mpsc::channel(EVENT_BUFFER_SIZE);
2525

2626
Self {
@@ -184,4 +184,4 @@ impl ActorHandle {
184184
Ok(())
185185
})
186186
}
187-
}
187+
}

0 commit comments

Comments
 (0)