Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 5 additions & 44 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ resolver = "2"

members = ["golem", "golem-cli", "golem-templates"]

exclude = ["desktop-app/src-tauri"]
exclude = ["desktop-app/src-tauri", "template-golem-agent-ts"]

[workspace.metadata]
license-file = "LICENSE"
Expand Down Expand Up @@ -125,7 +125,7 @@ wax = "0.6.0"
wasm-metadata = { version = "0.228", features = ["oci"] }
wasmparser = "0.235.0"
wasm-encoder = "0.235.0"
wasm-rquickjs = "0.0.4"
wasm-rquickjs = "0.0.5"
wasmtime = { version = "33.0.0", features = ["async", "component-model"] }
wasmtime-wasi = { version = "33.0.0" }
wit-bindgen = "0.43.0"
Expand Down
13 changes: 13 additions & 0 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -259,3 +259,16 @@ description = "Serve the schema.golem.cloud directory locally to help testing th
install_crate = "miniserve"
command = "miniserve"
args = ["--interfaces", "127.0.0.1", "--port", "41357", "schema.golem.cloud"]

## Agent template management
[tasks.rebuild-ts-agent-template]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a manual step on purpose. We will run it whenever we want to update the "base wasm" for agents, and the compiled WASM itself is part of the template. There is no need to do this on every build.

description = "Rebuilds the TypeScript agent template WASM"
script_runner = "@duckscript"
script = '''
cd template-golem-agent-ts
exec --fail-on-error npm update
exec --fail-on-error npm install
exec --fail-on-error npm run generate
exec --fail-on-error npm run build
cp dist/wrapper/target/wasm32-wasip1/release/golem_agent.wasm ../golem-templates/templates/ts/ts-agent-app-common/wasm/golem_agent.wasm
'''
Loading
Loading