Skip to content

Commit 902f200

Browse files
chore: Migrate obelisk.toml configs to 0.35 format
- location.path -> location (bare path) - location.oci -> location with oci:// prefix - [log.stdout] -> [log.console] Co-authored-by: Shelley <shelley@exe.dev>
1 parent e2a1e37 commit 902f200

10 files changed

Lines changed: 60 additions & 60 deletions

obelisk-local-go-activity.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
11
api.listening_addr = "127.0.0.1:5005" # Address and port on which the API server will listen.
22
webui.listening_addr = "127.0.0.1:8080" # Address and port on which the webui will listen.
33

4-
[log.stdout]
4+
[log.console]
55
enabled = true
66

77
[[activity_wasm]]
88
name = "activity_llm_openai_go"
9-
location.path = "${OBELISK_TOML_DIR}/activity/llm/openai-go/dist/openai-go.wasm"
9+
location = "${OBELISK_TOML_DIR}/activity/llm/openai-go/dist/openai-go.wasm"
1010
exec.lock_expiry.seconds = 10
1111
env_vars = ["OPENAI_API_KEY", "OPENAI_API_BASE_URL"]
1212
forward_stdout = "stderr"
1313
forward_stderr = "stderr"
1414

1515
[[activity_wasm]]
1616
name = "activity_github_impl"
17-
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_github_impl.wasm"
17+
location = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_github_impl.wasm"
1818
env_vars = ["GITHUB_TOKEN"]
1919
exec.lock_expiry.seconds = 5
2020
forward_stdout = "stderr"
2121
forward_stderr = "stderr"
2222

2323
[[activity_wasm]]
2424
name = "activity_db_turso"
25-
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_db_turso.wasm"
25+
location = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_db_turso.wasm"
2626
env_vars = ["TURSO_TOKEN", "TURSO_LOCATION"]
2727
forward_stdout = "stderr"
2828
forward_stderr = "stderr"
2929
exec.lock_expiry.seconds = 5
3030

3131
[[workflow]]
3232
name = "workflow"
33-
location.path = "${OBELISK_TOML_DIR}/target/wasm32-unknown-unknown/release/workflow.wasm"
33+
location = "${OBELISK_TOML_DIR}/target/wasm32-unknown-unknown/release/workflow.wasm"
3434
backtrace.sources = { ".../src/lib.rs" = "${OBELISK_TOML_DIR}/workflow/stargazers/workflow-rs/src/lib.rs" }
3535

3636
[[http_server]]
@@ -39,7 +39,7 @@ listening_addr = "0.0.0.0:9090"
3939

4040
[[webhook_endpoint]]
4141
name = "webhook"
42-
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/webhook.wasm"
42+
location = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/webhook.wasm"
4343
http_server = "webhook_server"
4444
routes = [{ methods = ["POST", "GET"], route = "" }]
4545
forward_stdout = "stderr"

obelisk-local-go-all.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
11
api.listening_addr = "127.0.0.1:5005" # Address and port on which the API server will listen.
22
webui.listening_addr = "127.0.0.1:8080" # Address and port on which the webui will listen.
33

4-
[log.stdout]
4+
[log.console]
55
enabled = true
66

77
[[activity_wasm]]
88
name = "activity_llm_openai_go"
9-
location.path = "${OBELISK_TOML_DIR}/activity/llm/openai-go/dist/openai-go.wasm"
9+
location = "${OBELISK_TOML_DIR}/activity/llm/openai-go/dist/openai-go.wasm"
1010
exec.lock_expiry.seconds = 10
1111
env_vars = ["OPENAI_API_KEY", "OPENAI_API_BASE_URL"]
1212
forward_stdout = "stderr"
1313
forward_stderr = "stderr"
1414

1515
[[activity_wasm]]
1616
name = "activity_github_impl"
17-
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_github_impl.wasm"
17+
location = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_github_impl.wasm"
1818
env_vars = ["GITHUB_TOKEN"]
1919
exec.lock_expiry.seconds = 5
2020
forward_stdout = "stderr"
2121
forward_stderr = "stderr"
2222

2323
[[activity_wasm]]
2424
name = "activity_db_turso"
25-
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_db_turso.wasm"
25+
location = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_db_turso.wasm"
2626
env_vars = ["TURSO_TOKEN", "TURSO_LOCATION"]
2727
forward_stdout = "stderr"
2828
forward_stderr = "stderr"
2929
exec.lock_expiry.seconds = 5
3030

3131
[[workflow]]
3232
name = "workflow_go"
33-
location.path = "${OBELISK_TOML_DIR}/workflow/stargazers/workflow-go/dist/workflow-go.wasm"
33+
location = "${OBELISK_TOML_DIR}/workflow/stargazers/workflow-go/dist/workflow-go.wasm"
3434
stub_wasi = true
3535
[workflow.backtrace.sources]
3636
"${OBELISK_TOML_DIR}/workflow/stargazers/workflow-go/main.go" = "${OBELISK_TOML_DIR}/workflow/stargazers/workflow-go/main.go"
@@ -44,7 +44,7 @@ listening_addr = "0.0.0.0:9090"
4444

4545
[[webhook_endpoint]]
4646
name = "webhook_go"
47-
location.path = "${OBELISK_TOML_DIR}/webhook/webhook-go/dist/webhook-go.wasm"
47+
location = "${OBELISK_TOML_DIR}/webhook/webhook-go/dist/webhook-go.wasm"
4848
http_server = "webhook_server"
4949
routes = [{ methods = ["POST", "GET"], route = "" }]
5050
env_vars = [

obelisk-local-go-webhook.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
11
api.listening_addr = "127.0.0.1:5005" # Address and port on which the API server will listen.
22
webui.listening_addr = "127.0.0.1:8080" # Address and port on which the webui will listen.
33

4-
[log.stdout]
4+
[log.console]
55
enabled = true
66

77
[[activity_wasm]]
88
name = "activity_llm_openai"
9-
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_llm_openai.wasm"
9+
location = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_llm_openai.wasm"
1010
exec.lock_expiry.seconds = 10
1111
env_vars = ["OPENAI_API_KEY", "OPENAI_API_BASE_URL"]
1212
forward_stdout = "stderr"
1313
forward_stderr = "stderr"
1414

1515
[[activity_wasm]]
1616
name = "activity_github_impl"
17-
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_github_impl.wasm"
17+
location = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_github_impl.wasm"
1818
env_vars = ["GITHUB_TOKEN"]
1919
exec.lock_expiry.seconds = 5
2020
forward_stdout = "stderr"
2121
forward_stderr = "stderr"
2222

2323
[[activity_wasm]]
2424
name = "activity_db_turso"
25-
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_db_turso.wasm"
25+
location = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_db_turso.wasm"
2626
env_vars = ["TURSO_TOKEN", "TURSO_LOCATION"]
2727
forward_stdout = "stderr"
2828
forward_stderr = "stderr"
2929
exec.lock_expiry.seconds = 5
3030

3131
[[workflow]]
3232
name = "workflow"
33-
location.path = "${OBELISK_TOML_DIR}/target/wasm32-unknown-unknown/release/workflow.wasm"
33+
location = "${OBELISK_TOML_DIR}/target/wasm32-unknown-unknown/release/workflow.wasm"
3434
backtrace.sources = { ".../src/lib.rs" = "${OBELISK_TOML_DIR}/workflow/stargazers/workflow-rs/src/lib.rs" }
3535

3636
[[http_server]]
@@ -39,7 +39,7 @@ listening_addr = "0.0.0.0:9090"
3939

4040
[[webhook_endpoint]]
4141
name = "webhook_go"
42-
location.path = "${OBELISK_TOML_DIR}/webhook/webhook-go/dist/webhook-go.wasm"
42+
location = "${OBELISK_TOML_DIR}/webhook/webhook-go/dist/webhook-go.wasm"
4343
http_server = "webhook_server"
4444
routes = [{ methods = ["POST", "GET"], route = "" }]
4545
env_vars = [

obelisk-local-go-workflow.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
11
api.listening_addr = "127.0.0.1:5005" # Address and port on which the API server will listen.
22
webui.listening_addr = "127.0.0.1:8080" # Address and port on which the webui will listen.
33

4-
[log.stdout]
4+
[log.console]
55
enabled = true
66

77
[[activity_wasm]]
88
name = "activity_llm_openai"
9-
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_llm_openai.wasm"
9+
location = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_llm_openai.wasm"
1010
exec.lock_expiry.seconds = 10
1111
env_vars = ["OPENAI_API_KEY", "OPENAI_API_BASE_URL"]
1212
forward_stdout = "stderr"
1313
forward_stderr = "stderr"
1414

1515
[[activity_wasm]]
1616
name = "activity_github_impl"
17-
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_github_impl.wasm"
17+
location = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_github_impl.wasm"
1818
env_vars = ["GITHUB_TOKEN"]
1919
exec.lock_expiry.seconds = 5
2020
forward_stdout = "stderr"
2121
forward_stderr = "stderr"
2222

2323
[[activity_wasm]]
2424
name = "activity_db_turso"
25-
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_db_turso.wasm"
25+
location = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_db_turso.wasm"
2626
env_vars = ["TURSO_TOKEN", "TURSO_LOCATION"]
2727
forward_stdout = "stderr"
2828
forward_stderr = "stderr"
2929
exec.lock_expiry.seconds = 5
3030

3131
[[workflow]]
3232
name = "workflow_go"
33-
location.path = "${OBELISK_TOML_DIR}/workflow/stargazers/workflow-go/dist/workflow-go.wasm"
33+
location = "${OBELISK_TOML_DIR}/workflow/stargazers/workflow-go/dist/workflow-go.wasm"
3434
stub_wasi = true
3535
[workflow.backtrace.sources]
3636
"${OBELISK_TOML_DIR}/workflow/stargazers/workflow-go/main.go" = "${OBELISK_TOML_DIR}/workflow/stargazers/workflow-go/main.go"
@@ -44,7 +44,7 @@ listening_addr = "0.0.0.0:9090"
4444

4545
[[webhook_endpoint]]
4646
name = "webhook"
47-
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/webhook.wasm"
47+
location = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/webhook.wasm"
4848
http_server = "webhook_server"
4949
routes = [{ methods = ["POST", "GET"], route = "" }]
5050
forward_stdout = "stderr"

obelisk-local-js-activity.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
11
api.listening_addr = "127.0.0.1:5005" # Address and port on which the API server will listen.
22
webui.listening_addr = "127.0.0.1:8080" # Address and port on which the webui will listen.
33

4-
[log.stdout]
4+
[log.console]
55
enabled = true
66

77
[[activity_wasm]]
88
name = "openai_js"
9-
location.path = "${OBELISK_TOML_DIR}/activity/llm/openai-js/dist/openai-js.wasm"
9+
location = "${OBELISK_TOML_DIR}/activity/llm/openai-js/dist/openai-js.wasm"
1010
exec.lock_expiry.seconds = 10
1111
env_vars = ["OPENAI_API_KEY", "OPENAI_API_BASE_URL"]
1212
forward_stdout = "stderr"
1313
forward_stderr = "stderr"
1414

1515
[[activity_wasm]]
1616
name = "activity_github_impl"
17-
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_github_impl.wasm"
17+
location = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_github_impl.wasm"
1818
env_vars = ["GITHUB_TOKEN"]
1919
exec.lock_expiry.seconds = 5
2020
forward_stdout = "stderr"
2121
forward_stderr = "stderr"
2222

2323
[[activity_wasm]]
2424
name = "activity_db_turso"
25-
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_db_turso.wasm"
25+
location = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_db_turso.wasm"
2626
env_vars = ["TURSO_TOKEN", "TURSO_LOCATION"]
2727
forward_stdout = "stderr"
2828
forward_stderr = "stderr"
2929
exec.lock_expiry.seconds = 5
3030

3131
[[workflow]]
3232
name = "workflow"
33-
location.path = "${OBELISK_TOML_DIR}/target/wasm32-unknown-unknown/release/workflow.wasm"
33+
location = "${OBELISK_TOML_DIR}/target/wasm32-unknown-unknown/release/workflow.wasm"
3434
backtrace.sources = { ".../src/lib.rs" = "${OBELISK_TOML_DIR}/workflow/stargazers/workflow-rs/src/lib.rs" }
3535

3636
[[http_server]]
@@ -39,7 +39,7 @@ listening_addr = "0.0.0.0:9090"
3939

4040
[[webhook_endpoint]]
4141
name = "webhook"
42-
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/webhook.wasm"
42+
location = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/webhook.wasm"
4343
http_server = "webhook_server"
4444
routes = [{ methods = ["POST", "GET"], route = "" }]
4545
forward_stdout = "stderr"

obelisk-local-js-all.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,44 @@
11
api.listening_addr = "127.0.0.1:5005" # Address and port on which the API server will listen.
22
webui.listening_addr = "127.0.0.1:8080" # Address and port on which the webui will listen.
33

4-
[log.stdout]
4+
[log.console]
55
enabled = true
66

77
[[activity_wasm]]
88
name = "openai_js"
9-
location.path = "${OBELISK_TOML_DIR}/activity/llm/openai-js/dist/openai-js.wasm"
9+
location = "${OBELISK_TOML_DIR}/activity/llm/openai-js/dist/openai-js.wasm"
1010
exec.lock_expiry.seconds = 10
1111
env_vars = ["OPENAI_API_KEY", "OPENAI_API_BASE_URL"]
1212
forward_stdout = "stderr"
1313
forward_stderr = "stderr"
1414

1515
[[activity_wasm]]
1616
name = "activity_github_impl"
17-
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_github_impl.wasm"
17+
location = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_github_impl.wasm"
1818
env_vars = ["GITHUB_TOKEN"]
1919
exec.lock_expiry.seconds = 5
2020
forward_stdout = "stderr"
2121
forward_stderr = "stderr"
2222

2323
[[activity_wasm]]
2424
name = "activity_db_turso"
25-
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_db_turso.wasm"
25+
location = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_db_turso.wasm"
2626
env_vars = ["TURSO_TOKEN", "TURSO_LOCATION"]
2727
forward_stdout = "stderr"
2828
forward_stderr = "stderr"
2929
exec.lock_expiry.seconds = 5
3030

3131
[[workflow]]
3232
name = "workflow_js"
33-
location.path = "${OBELISK_TOML_DIR}/workflow/stargazers/workflow-js/dist/workflow-js.wasm"
33+
location = "${OBELISK_TOML_DIR}/workflow/stargazers/workflow-js/dist/workflow-js.wasm"
3434

3535
[[http_server]]
3636
name = "webhook_server"
3737
listening_addr = "0.0.0.0:9090"
3838

3939
[[webhook_endpoint]]
4040
name = "webhook"
41-
location.path = "${OBELISK_TOML_DIR}/webhook/webhook-js/dist/webhook-js.wasm"
41+
location = "${OBELISK_TOML_DIR}/webhook/webhook-js/dist/webhook-js.wasm"
4242
http_server = "webhook_server"
4343
routes = [{ methods = ["POST", "GET"], route = "" }]
4444
env_vars = [

obelisk-local-js-webhook.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
11
api.listening_addr = "127.0.0.1:5005" # Address and port on which the API server will listen.
22
webui.listening_addr = "127.0.0.1:8080" # Address and port on which the webui will listen.
33

4-
[log.stdout]
4+
[log.console]
55
enabled = true
66

77
[[activity_wasm]]
88
name = "activity_llm_openai"
9-
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_llm_openai.wasm"
9+
location = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_llm_openai.wasm"
1010
exec.lock_expiry.seconds = 10
1111
env_vars = ["OPENAI_API_KEY", "OPENAI_API_BASE_URL"]
1212
forward_stdout = "stderr"
1313
forward_stderr = "stderr"
1414

1515
[[activity_wasm]]
1616
name = "activity_github_impl"
17-
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_github_impl.wasm"
17+
location = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_github_impl.wasm"
1818
env_vars = ["GITHUB_TOKEN"]
1919
exec.lock_expiry.seconds = 5
2020
forward_stdout = "stderr"
2121
forward_stderr = "stderr"
2222

2323
[[activity_wasm]]
2424
name = "activity_db_turso"
25-
location.path = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_db_turso.wasm"
25+
location = "${OBELISK_TOML_DIR}/target/wasm32-wasip2/release/activity_db_turso.wasm"
2626
env_vars = ["TURSO_TOKEN", "TURSO_LOCATION"]
2727
forward_stdout = "stderr"
2828
forward_stderr = "stderr"
2929
exec.lock_expiry.seconds = 5
3030

3131
[[workflow]]
3232
name = "workflow"
33-
location.path = "${OBELISK_TOML_DIR}/target/wasm32-unknown-unknown/release/workflow.wasm"
33+
location = "${OBELISK_TOML_DIR}/target/wasm32-unknown-unknown/release/workflow.wasm"
3434
backtrace.sources = { "${OBELISK_TOML_DIR}/workflow/stargazers/stargazers/workflow-rs/src/lib.rs" = "${OBELISK_TOML_DIR}/workflow/stargazers/stargazers/workflow-release/src/lib.rs" }
3535

3636
[[http_server]]
@@ -39,7 +39,7 @@ listening_addr = "0.0.0.0:9090"
3939

4040
[[webhook_endpoint]]
4141
name = "webhook_js"
42-
location.path = "${OBELISK_TOML_DIR}/webhook/webhook-js/dist/webhook-js.wasm"
42+
location = "${OBELISK_TOML_DIR}/webhook/webhook-js/dist/webhook-js.wasm"
4343
http_server = "webhook_server"
4444
routes = [{ methods = ["POST", "GET"], route = "" }]
4545
env_vars = [

0 commit comments

Comments
 (0)