Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
d6edf38
bump to v0.9.2
nick1udwig Dec 30, 2024
3d329a8
properly enforce kimap-safety: no caps!
nick1udwig Dec 30, 2024
0b13b24
Format Rust code using rustfmt
github-actions[bot] Dec 30, 2024
bf707f3
Merge pull request #286 from kinode-dao/hf/fix-kimap-safety
nick1udwig Dec 30, 2024
d50ea39
chain: update fakenet, remove kinostate.json necessity
barraguda Jan 23, 2025
c19045b
fix kimap cheatcode deploy
barraguda Jan 24, 2025
db4790b
wip fix
barraguda Jan 24, 2025
186edc2
fix fake kimap deployment!
barraguda Jan 26, 2025
d4c1d1c
Merge pull request #285 from kinode-dao/develop
nick1udwig Jan 27, 2025
58d3aa9
bump to 1.0.0
nick1udwig Jan 27, 2025
11deaef
publish: use upgradable tba
nick1udwig Jan 27, 2025
e2a508b
chain: nits
barraguda Jan 28, 2025
49a5ff0
Merge pull request #290 from kinode-dao/bp/basekimap
nick1udwig Jan 28, 2025
481fae9
Merge pull request #292 from kinode-dao/hf/use-upgradable-tba
nick1udwig Jan 28, 2025
2223b89
new: update template process_lib deps to 1.0
nick1udwig Jan 28, 2025
b0db8c7
new: fix `init_logging()` usage in templates
nick1udwig Jan 28, 2025
9560242
publish: use base kimap
nick1udwig Jan 31, 2025
0a3b32b
publish: fix abi
nick1udwig Feb 1, 2025
928edc4
Format Rust code using rustfmt
github-actions[bot] Feb 1, 2025
07ebdc7
publish: fix metadata comparison & add mock
nick1udwig Feb 6, 2025
c48dc6b
Format Rust code using rustfmt
github-actions[bot] Feb 6, 2025
001ca67
Merge branch 'develop-1.0' into hf/fix-publish
nick1udwig Feb 6, 2025
8a78b8b
Merge pull request #293 from kinode-dao/hf/fix-publish
nick1udwig Feb 7, 2025
3a7b228
rename kinode -> hyperware
nick1udwig Feb 15, 2025
953857d
do the rest of the name change
nick1udwig Feb 17, 2025
0419fe6
Format Rust code using rustfmt
github-actions[bot] Feb 17, 2025
b594b6f
Merge pull request #297 from hyperware-ai/hf/rename
nick1udwig Feb 17, 2025
ab70e07
update process_lib v
nick1udwig Feb 19, 2025
12a4fde
use stable; use proper wit link; only default to 1.0
nick1udwig Feb 28, 2025
291e2cc
bump process_lib to 1.0.4
nick1udwig Mar 8, 2025
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
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Kinode version [e.g. v1.0.0]
- Hyperdrive version [e.g. v1.0.0]
- kit version [e.g. v1.0.0]

**Additional context**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

## Docs Update

[Corresponding docs PR](https://github.com/kinode-dao/kinode-book/pull/my-pr-number)
[Corresponding docs PR](https://github.com/hyperware-ai/hyperdrive-book/pull/my-pr-number)

## Notes

Expand Down
83 changes: 35 additions & 48 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,70 +33,57 @@ jobs:
rustup target add wasm32-wasip1
rustup target add wasm32-wasip1 --toolchain nightly
cargo install cargo-wasi
#- name: Get latest release from foundry-rs/foundry
# id: get-latest-foundry-release
# uses: actions/github-script@v6
# with:
# script: |
# const repo = {
# owner: 'foundry-rs',
# repo: 'foundry',
# per_page: 1,
# page: 1,
# };
# const releases = await github.rest.repos.listReleases(repo);
# const preReleases = releases.data.filter(release => release.prerelease);
- name: Get latest release from foundry-rs/foundry
id: get-latest-foundry-release
uses: actions/github-script@v6
with:
script: |
const repo = {
owner: 'foundry-rs',
repo: 'foundry',
per_page: 1,
page: 1,
};
const releases = await github.rest.repos.listReleases(repo);
const preReleases = releases.data.filter(release => release.prerelease);

# // Sort pre-releases by created_at date in descending order
# preReleases.sort((a, b) => new Date(b.created_at) - new Date(a.created_at));
// Sort pre-releases by created_at date in descending order
preReleases.sort((a, b) => new Date(b.created_at) - new Date(a.created_at));

# if (preReleases.length === 0) {
# throw new Error('No pre-releases found');
# }
if (preReleases.length === 0) {
throw new Error('No pre-releases found');
}

# const latestPreRelease = preReleases[0];
# const asset = latestPreRelease.assets.find(asset => asset.name.match(/foundry_nightly_linux_amd64\.tar\.gz/));
const latestPreRelease = preReleases[0];
const asset = latestPreRelease.assets.find(asset => asset.name.match(/foundry_nightly_linux_amd64\.tar\.gz/));

# if (!asset) {
# throw new Error('Asset not found');
# }
# return asset.browser_download_url;
# result-encoding: string
- name: Download Foundry
run: wget -q https://github.com/foundry-rs/foundry/releases/download/nightly-c3069a50ba18cccfc4e7d5de9b9b388811d9cc7b/foundry_nightly_linux_amd64.tar.gz -O foundry.tar.gz
#run: wget -q ${DOWNLOAD_URL} -O foundry.tar.gz
#env:
# DOWNLOAD_URL: ${{ steps.get-latest-foundry-release.outputs.result }}
- name: Untar Foundry
run: tar zxf foundry.tar.gz
- name: Add Foundry to path
run: echo "$PWD" >> $GITHUB_PATH
- name: Build the release
run: ./scripts/build-release.py
- name: Unzip the build output
run: unzip /tmp/kit-release/kit-x86_64-unknown-linux-gnu.zip
#- name: Get latest release from kinode-dao/kinode
# id: get-latest-kinode-release
if (!asset) {
throw new Error('Asset not found');
}
return asset.browser_download_url;
result-encoding: string
#- name: Get latest release from hyperware-ai/hyperdrive
# id: get-latest-hyperdrive-release
# uses: actions/github-script@v6
# with:
# script: |
# const repo = {
# owner: 'kinode-dao',
# repo: 'kinode',
# owner: 'hyperware-ai',
# repo: 'hyperdrive',
# };
# const release = await github.rest.repos.getLatestRelease(repo);
# const asset = release.data.assets.find(asset => asset.name.match(/kinode-x86_64-unknown-linux-gnu\.zip/));
# const asset = release.data.assets.find(asset => asset.name.match(/hyperdrive-x86_64-unknown-linux-gnu\.zip/));
# if (!asset) {
# throw new Error('Asset not found');
# }
# return asset.browser_download_url;
# result-encoding: string
#- name: Download the Kinode release
# run: wget -q ${DOWNLOAD_URL} -O kinode.zip
#- name: Download the Hyperdrive release
# run: wget -q ${DOWNLOAD_URL} -O hyperdrive.zip
# env:
# DOWNLOAD_URL: ${{ steps.get-latest-kinode-release.outputs.result }}
#- name: Unzip the Kinode release
# run: unzip kinode.zip
# DOWNLOAD_URL: ${{ steps.get-latest-hyperdrive-release.outputs.result }}
#- name: Unzip the Hyperdrive release
# run: unzip hyperdrive.zip
- name: Run tests
run: |
{ ./kit t src/new/templates/tests.toml; } 2>&1
71 changes: 36 additions & 35 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "kit"
authors = ["Sybil Technologies AG"]
version = "0.9.1"
version = "1.0.0"
edition = "2021"
description = "Development toolkit for Kinode"
homepage = "https://kinode.org"
repository = "https://github.com/kinode-dao/kit"
description = "Development toolkit for Hyperware"
homepage = "https://hyperware.ai"
repository = "https://github.com/hyperware-ai/kit"
license = "Apache-2.0"

[build-dependencies]
Expand Down Expand Up @@ -42,7 +42,7 @@ color-eyre = { version = "0.6", features = ["capture-spantrace"] }
dirs = "5.0"
fs-err = "2.11"
hex = "0.4"
kinode_process_lib = "0.10.1"
hyperware_process_lib = "1.0.4"
nix = { version = "0.27", features = ["process", "signal", "term"] }
proc-macro2 = "1.0"
regex = "1"
Expand Down
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
# kit

Tool**kit** for developing on [Kinode OS](https://github.com/kinode-dao/kinode).
Tool**kit** for developing on [Hyperware](https://hyperware.ai).

Documentation in the [Kinode Book](https://book.kinode.org/kit/kit-dev-toolkit.html); example usage [here](https://book.kinode.org/my_first_app/chapter_1.html).
Documentation in the [Hyperware Book](https://book.hyperware.ai/kit/kit-dev-toolkit.html); example usage [here](https://book.hyperware.ai/my_first_app/chapter_1.html).

## Installing

Install with cargo:

```bash
cargo install --git https://github.com/kinode-dao/kit --locked
cargo install --git https://github.com/hyperware-ai/kit --locked
```

### Updating

To update, re-run

```bash
cargo install --git https://github.com/kinode-dao/kit --locked
cargo install --git https://github.com/hyperware-ai/kit --locked
```

or use
Expand Down Expand Up @@ -63,18 +63,18 @@ kit start-package
kit --help
```

`kit boot-fake-node` can also accept a `--runtime-path` argument that compiles the fake node binary from a local Kinode core repository.
Use like (substituting path to Kinode core repo):
`kit boot-fake-node` can also accept a `--runtime-path` argument that compiles the fake node binary from a local [Hyperdrive](https://github.com/hyperware-ai/hyperdrive) repository.
Use like (substituting path to Hyperdrive repo):

```bash
kit boot-fake-node --runtime-path ~/git/kinode
kit boot-fake-node --runtime-path ~/git/hyperdrive
```

`kit` also contains tools for running tests.
For details and examples, please see
1. [Kinode Book's example code](https://github.com/kinode-dao/kinode-book/tree/main/code).
2. `kit`s templates, available through `kit new` or [here](https://github.com/kinode-dao/kit/tree/master/src/new/templates/rust).
3. [https://github.com/kinode-dao/core_tests](https://github.com/kinode-dao/core_tests).
1. [Hyperdrive Book's example code](https://github.com/hyperware-ai/hyperware-book/tree/main/code).
2. `kit`s templates, available through `kit new` or [here](https://github.com/hyperware-ai/kit/tree/master/src/new/templates/rust).
3. [https://github.com/hyperware-ai/core_tests](https://github.com/hyperware-ai/core_tests).

## UI Development

Expand Down
Loading