Repository navigation
Sync main 1a1af99e into the feature branch - #519
Merged
Merged
Conversation
Session message inputs are stored only as the public
agent.session.input.message event, so the {"text"} branches in Item
projection and Runtime dispatch go, and the recovery fixture and tests
submit the public shape.
Items are stored with their wire encoding: MarshalStored folds into
MarshalJSON, and replayed child Items compare against the same bytes.
Sessions always freeze a model provider at creation, so the execution
guards for Sessions stored without one, ErrModelProviderRequired and its
handlers are deleted.
The TypeScript client now reads the deployment bounds and Runtime release patterns from a projection that specification-contract generates from sandbox/deployment_contract.go, so Web accepts only Core's oac-runtime microsandbox reference. The Harness catalog generator projects the model-provider protocol names from internal/modelprovider, so every client copy includes chat_completions. A shared catalog fixture lists every error code a /core/v1 or console caller can receive outside the wire vocabulary of wire-semantics.md. A Go test requires a producer for each listed code, an exact match with core-errors.md, and a catalog entry for every other code Core's error writers produce unless it never reaches an administration caller. Web tests require both locales to localize exactly those codes. The ten administration codes that were missing are now catalogued, documented and localized; the unproduced sandbox_admin_not_configured message is deleted, and the client-only sandbox_configuration_unconfirmed code is a named client constant.
# Conflicts: # contracts/agents-api/zh/environments.md # contracts/agents-api/zh/harness-onboarding.md # contracts/agents-api/zh/model-execution.md # docs/zh/configuration.md # internal/modelprovider/config.go # services/core/internal/runtimegateway/owner_test.go # services/core/internal/runtimegateway/session.go # services/core/internal/runtimegateway/session_test.go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merges
main1a1af99 into the feature branch: the audit's lanes A (#509), F (#508), B (#512) and C (#513), plus #500, #501 and #504.Conflicts:
modelprovider/config.gokeeps main'sProtocols()/Valid()and aos's routes and credential surface, and the aos tests' protocol lists callProtocols();runtimegateway/session.gotakes #501's unexportednewSession, with a test-fileNewSessionhelper for the existing call sites; four zhsource_hashvalues recomputed. The feature branch has no aos migrations, Core variables outsideprocessconfig, new error codes or stale#process-settings-configjsonlinks.proto.Versionstays 0.13.0.Checks:
go build/go vet ./..., focused tests (modelprovider,runtimegateway,execution,contracts/agents-api/v1,harnessconfig,TestCoreErrorCatalog), darwin and windows daemon builds, generators with no diff,make check-names check-docs check-ci, agents-client tests.Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.