Skip to content

Add generic agent reflection and TypeScript clients - #3777

Merged
noise64 merged 48 commits into
mainfrom
reflection-base-and-ts
Sep 11, 2026
Merged

noise64 merged 48 commits into
mainfrom
reflection-base-and-ts

Conversation

@noise64

@noise64 noise64 commented Aug 26, 2026 •

Copy link
Copy Markdown
Contributor
  • resolves GOL-44
  • resolves GOL-45
  • hardens reflected lifecycle creation cleanup and requires agent view permission for full-ID type lookup
  • makes reflection identity environment-scoped with component-free ParsedAgentId; the runtime resolves and authorizes the deployed implementation while AgentType.implementedBy remains metadata
  • exposes reflection host identities as direct WIT string values without a generated host AgentId alias; structured core/management AgentId and public ParsedAgentId remain unchanged
  • moves generic schema renderers into golem-schema and keeps only platform renderers in golem-common
  • replaces TypeScript clientFor(...) with definition-owned .client factories across the SDK, bridge, REPL, templates, tests, skills, and docs
  • completes immutable shared graph decoding, strict/optional lookup documentation, ComponentId SDK exposure, required-output validation, integer bounds/precision behavior, and reusable fatal UTF-8 decoding
  • adds the common and TypeScript reflection skills and regenerates skill-derived documentation and WIT declarations

Verification

  • focused lifecycle, authorization, payload, renderer, reflection, decoder, and reflected RPC integration tests
  • TypeScript build, declaration/type tests, full unit suite, lint, formatting, and 4 GB agent-template build
  • Scala guest declarations and all three runtime role contracts
  • MoonBit binding regeneration plus SDK-wide moon check --target wasm
  • reflection playground type-check and component build
  • WIT and generated-document drift checks
  • merged latest main at d43c34ddb and reran local WIT, Rust, TypeScript, Scala, MoonBit, runtime-contract, and template validation
  • refreshed CI for head 461105d70 pending

@netlify

netlify Bot commented Aug 26, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for golemcloud canceled.

Name Link
🔨 Latest commit 461105d
🔍 Latest deploy log https://app.netlify.com/projects/golemcloud/deploys/6aa40d120238480008bf5171

@noise64 noise64 changed the title WIP: add generic agent reflection host support WIP: generic agent reflection host support + initial TS reflection Aug 26, 2026
@noise64 noise64 changed the title WIP: generic agent reflection host support + initial TS reflection Add generic agent reflection and TypeScript clients Aug 28, 2026
@github-actions

github-actions Bot commented Aug 31, 2026 •

Copy link
Copy Markdown

📖 Docs preview: https://docs-kf0k4d3m6-golem-cloud.vercel.app

Built from commit 461105d7032107698eb59e43ea14448e04e2f648 by docs.yaml.

@noise64
noise64 marked this pull request as ready for review September 9, 2026 12:23
@noise64
noise64 requested a review from a team September 9, 2026 12:23
@noise64
noise64 marked this pull request as draft September 9, 2026 14:48
Comment thread sdks/ts/packages/golem-ts-sdk/src/client.ts Outdated
Comment thread wit/deps/golem-agent/host.wit Outdated
@noise64
noise64 marked this pull request as ready for review September 10, 2026 11:13
@noise64
noise64 marked this pull request as draft September 10, 2026 13:35
Comment thread cli/golem-cli/wit/deps/golem-agent/host.wit Outdated
Comment thread sdks/moonbit/golem_sdk/wit/deps/golem-agent/host.wit Outdated
@noise64
noise64 marked this pull request as ready for review September 11, 2026 10:17
@noise64
noise64 marked this pull request as draft September 11, 2026 10:19
# Conflicts:
#	golem-common/src/schema/render/json_schema.rs
#	golem-common/src/schema/render/mod.rs
#	golem-common/src/schema/render/tests/json_value_tests.rs
#	golem-registry-service/src/services/component/write.rs
#	golem-registry-service/src/services/deployment/deployment_context.rs
#	golem-worker-executor/src/durable_host/wasm_rpc/mod.rs
#	golem-worker-executor/src/worker/agent_config.rs
#	golem-worker-service/src/custom_api/openapi/schema_mapping.rs
#	golem-worker-service/src/custom_api/rich_request.rs
#	golem-worker-service/src/mcp/invoke/agent_method_input.rs
#	golem-worker-service/src/mcp/invoke/constructor_param_extraction.rs
#	golem-worker-service/src/mcp/invoke/multimodal_params_extraction.rs
#	sdks/ts/packages/golem-ts-sdk/src/host/quota.ts
# Conflicts:
#	sdks/ts/packages/golem-ts-sdk/src/bridge/agent.ts
#	sdks/ts/packages/golem-ts-sdk/tests/bridge.test.ts
@noise64
noise64 marked this pull request as ready for review September 11, 2026 15:00
@noise64
noise64 merged commit 0283e61 into main Sep 11, 2026
69 checks passed
@noise64
noise64 deleted the reflection-base-and-ts branch September 11, 2026 15:04
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants