Repository navigation
Bug fix, bug repro, debug message cleanup - #3
Merged
Merged
Conversation
Signed-off-by: Solomon Hykes <[email protected]>
Signed-off-by: Solomon Hykes <[email protected]>
Signed-off-by: Solomon Hykes <[email protected]>
Signed-off-by: Solomon Hykes <[email protected]>
Closed
vito
added a commit
that referenced
this pull request
Apr 25, 2023
* run dnsmasq in engine foreground, with debug logs Signed-off-by: Alex Suraci <[email protected]> * dnsmasq: use --keep-in-foreground rather than --no-daemon ...so that it still writes to the pidfile Signed-off-by: Alex Suraci <[email protected]> * redo atomic host file updates this wasn't really atomic before: it would _rename_ the live file, and then start writing to it. if dnsmasq itself tried to read the host file, it could either see that the file doesn't exist, or see a partially written file. now we'll write to a new path and then rename it over the live one, which is atomic. Signed-off-by: Alex Suraci <[email protected]> * clean up noisy dnsmasq red herring errors * create addnhosts file if not exists * set up upstream resolv.conf before starting dnsmasq Signed-off-by: Alex Suraci <[email protected]> * dnsmasq: don't configure bind-dynamic no idea why this was needed; it dates back to dnsname's initial commit. it seems to be causing dnsmasq to periodically stop listening and start listening again: #15 73.50 dnsmasq-debug[49]: stopped listening on dagger-dev0(#3): 10.88.0.1 port 53 #15 73.50 dnsmasq-debug[49]: listening on dagger-dev0(#3): 10.88.0.1 port 53 Signed-off-by: Alex Suraci <[email protected]> --------- Signed-off-by: Alex Suraci <[email protected]>
wingyplus
referenced
this pull request
in wingyplus/dagger
Jun 1, 2023
gerhard
added a commit
that referenced
this pull request
Jun 1, 2023
* Initial project * Construct client and perform query. * Implement engine connection to find connection to Dagger. * Add query builder to build graphql query and select data from response. * Handle error when fetching Dagger session * Remove unused field and asserting type in Selection.build/1 * Remove unused code * Generate code from GraphQL introspection Closes #3 * Ensure first argument match with the module Prevent accidentally chain function by pattern match with module. * Change version to 0.1.0-dev * Generate document for functions * Use field name from introspection not from function name * Render deprecate functions * Extract format doc to function * Eliminate arg to_string conversion * Add required & optional arguments to function doc * Add ex_doc * Do not export Dagger.Codegen.Compiler to doc * Add tutorial through livebook * Fix argument not convert to snake case in doc * Running dagger via dagger session * Add experiment env to Livebook tutorial * Rename opts to args `args` is make sense since it's arguments of graph api not options. * Update README.md * Create ci.yml * Rework on obtaining session Create a session module for talking with `dagger session` which's start in a new process. The session accept the EngineConn pid for passing the session info and logger function to print log line after session is comming. * Support graceful disconnect from dagger session * Add mix task to run test with dagger * Rework on GitHub CI * Rename dagger to dagger-cue on GitHub Workflow * Try install Dagger manually * Use curl instead of wget * Fix path extraction * Do not do anything with session env disconnect * Show dagger version in GitHub Workflow * Fix invalid env variable * Fix invalid env variable * Rename lib/mix/task to lib/mix/tasks * Eliminate to_string conversion for optional argument Fixes #12 * Revert "Eliminate to_string conversion for optional argument" This reverts commit ae5fc7cb35e96e4cc84571b491bf0fe3184bf444. * Support custom timeout via Dagger.connect/1 * Fix query builder argument not adding comma separator * Rework on optional args code generation Fixes: #12 * Refactor how render function * Add `Dagger.Codegen.Elixir.Function.define/4`. * Refactor in `Dagger.Codegen.Elixir.Templates.ObjectTmpl` to define via `Function.define/4` instead. * Refactor function rendering * Rename `format_function` to `format_function_body`. * Refactor how format function name. * Move doc generation to Function.define/5 * Move deprecated generation to Function.define/5 * Refactor required arg verification * Change function signature code generation * Add Dagger.Codegen.Elixir.Function tests * Remove get variable name from type * Check formatting in CI * Refactor arguments doc generation * Remove `.` in deprecated reason * Prepare 0.1.0 * Add donation badge * Prepare 0.1.0 round 2 * Generate a new code from Dagger 0.5.1 * Fix crash on Dagger 0.5.1 Skip `Connected to engine...` message before session comes in. * Fix source reference not presents in docs And include CHANGELOG in the Hex.pm page. * Prepare 0.1.1 * Prepare 0.1.1 round 2 * Generate scalar type and no explict get id before pass to function Closes #7 Closes #13 * Run unit test and check format concurrently * Generate enum types Closes #8 * Change version * Generate type spec for object and enum types * Refactor format module name * Fix incorrect type generation * Any function that accept *ID type must accept proper type instead. * Add typespec to Enum functions. Closes #15 * Add v0.2.0 CHANGELOG * Optimize context transfer in CI test * Experiment with_session/2 in mix ci.test * Add connect schema * Add connect schema to conform SDK guide specification. * Separate connect timeout and query timeout. * Add TODOs. * Move connect schema to Dagger.Client * Implement download CLI (#22) Recheck the CLI in `$XDG_CACHE_HOME` before start downloading. If binary exists, use that binary, otherwise, download it from dagger site. * Remove IO.puts in mix ci.test * Do not swallow dagger connect message * Returns error when execute graphql query * Rename ci.test to dagger.ci.test * Refactor filter type mechanism * Move Dagger.Codegen.Compiler to new file * Attach module name into introspection type and regenerate code * Add Rewrite into compile pipeline * Use mod_name in private instead of using from name And re-generate code. * Rename Rewrite module to Mutator * Add mutator test * Rename Dagger.disconnect/1 to Dagger.close/1 Updates #18 * Move Dagger.Client into Dagger.Internal * Add option during call dagger session * Add `:workdir` into `dagger session`. * Remove `:config_path`. * Cleanup `:log_output` to accept device uses by `IO.binwrite/2`. * Use `IO.binwrite/2` instead of `IO.write/2`. Closes #28 * Bump dagger to 0.5.3 and re-generate code * Update dagger to 0.6.0 * Bump CI to use dagger 0.6.0 * Fix code gen for ProjectID and ProjectCommandID * Import wingyplus/dagger_ex into sdk/elixir subdir Signed-off-by: Gerhard Lazu <[email protected]> * Add experimental warning to README Signed-off-by: Gerhard Lazu <[email protected]> * Update GitHub URL & fix path in package info Signed-off-by: Gerhard Lazu <[email protected]> * Add /sdk/elixir to CODEOWNERS Signed-off-by: Gerhard Lazu <[email protected]> * Remove rename_query_type mutator This is still in complete and make test failures. So remove it. Signed-off-by: Thanabodee Charoenpiriyakij <[email protected]> * Make mix dagger.ci.test exit non-zero status code when test failures Signed-off-by: Thanabodee Charoenpiriyakij <[email protected]> * Implement ./hack/make sdk:elixir:test and add it to CI Signed-off-by: Thanabodee Charoenpiriyakij <[email protected]> * Allow to configure Elixir/OTP version And change Sync to ExitCode. Signed-off-by: Thanabodee Charoenpiriyakij <[email protected]> * Implement ./hack/make sdk:elixir:lint and add it to CI Signed-off-by: Thanabodee Charoenpiriyakij <[email protected]> * Remove sdk/elixir/.github Signed-off-by: Thanabodee Charoenpiriyakij <[email protected]> * Remove sdk/elixir/lib/mix/tasks/dagger.ci.test.exs It already ported to ./hack/make sdk:elixir:[test,lint] Signed-off-by: Thanabodee Charoenpiriyakij <[email protected]> * Fix pipeline should be elixir, not go Signed-off-by: Thanabodee Charoenpiriyakij <[email protected]> * Change source url and changelog url Signed-off-by: Thanabodee Charoenpiriyakij <[email protected]> * Add sdk:elixir tasks description Signed-off-by: Thanabodee Charoenpiriyakij <[email protected]> * Fix incorrect pipeline name in sdk:elixir:lint task Signed-off-by: Thanabodee Charoenpiriyakij <[email protected]> * ci: implement sdk:elixir:generate Signed-off-by: Thanabodee Charoenpiriyakij <[email protected]> * Extract versions in constants So that they are declared only once - single replace when needed. Signed-off-by: Gerhard Lazu <[email protected]> * Fix sdk/elixir gitignores They are not repository top-level. Signed-off-by: Gerhard Lazu <[email protected]> --------- Signed-off-by: Thanabodee Charoenpiriyakij <[email protected]> Co-authored-by: Gerhard Lazu <[email protected]>
gerhard
pushed a commit
that referenced
this pull request
Sep 18, 2023
gerhard
added a commit
that referenced
this pull request
Sep 18, 2023
* Initial commit Signed-off-by: Jean-Christophe Sirot <[email protected]> * Initial version (#1) Initial version of the SDK --------- Signed-off-by: Jean-Christophe Sirot <[email protected]> * Clean up build process & better samples (#2) * build: clean up build update pom.xml dependency management remove unused dependencies remove unused import * build: Add maven exec plugin to run the code samples from the CLI * build: support dependency caching in github action (#3) * fix: add missing sample in the sample code demo app (#4) * feat(log): add debug log when response is contains errors. (#5) Set the log level to debug in integration tests * fix: support macos arm64 architure by cli downloader (#7) * fix: client hangs on close (#8) fix(connection): refactoring of the engine connection package Move CLIRunner and ConnectParams to a dedicated class file Replace JSON-B by JSON-P to deserialize the connection parameters Move the Dagger CLI process execution to the CLI runner (Single-responsibility principle) Fix process hanging when connection to the engine failed Improve code style Add some tests for Connection class --------- Signed-off-by: Jean-Christophe Sirot <[email protected]> * build(workflow): enable build on linux and macos (#9) macos is limited to PR builds So far windows VM does not support Linux containers Signed-off-by: Jean-Christophe Sirot <[email protected]> * build: package jar with dependencies and upload artifacts in github (#11) package jar with dependencies and upload artifact in github upload artifact only on push to main update README.md --------- Signed-off-by: Jean-Christophe Sirot <[email protected]> * Move all files into sdk/java subdir So that this can be imported into dagger/dagger repository Signed-off-by: Gerhard Lazu <[email protected]> * sdk(java): Add experimental warning to README Signed-off-by: Gerhard Lazu <[email protected]> * sdk(java): Rename LICENSE But keep as is, same as we did for other experimental SDKs. Signed-off-by: Gerhard Lazu <[email protected]> * chore: Add /sdk/java to CODEOWNERS Signed-off-by: Gerhard Lazu <[email protected]> * build: rename package name from 'org.chelonix.dagger.*' to 'io.dagger.*' Signed-off-by: Jean-Christophe Sirot <[email protected]> * build(codegen): add introspection query in the codegen plugin resources and use it when schema is not available. Inject the CLI version in the code at build time Signed-off-by: Jean-Christophe Sirot <[email protected]> * build: add linter plugin and lint current code Signed-off-by: Jean-Christophe Sirot <[email protected]> * build: set development version to 1.0.0-SNAPSHOT. Add "release" profile dedicated to deployment Signed-off-by: Jean-Christophe Sirot <[email protected]> * fix: correctly return the dagger CLI path in codegen plugin and fix some log messages Signed-off-by: Jean-Christophe Sirot <[email protected]> * build: Add schema for 0.6.4 Signed-off-by: Jean-Christophe Sirot <[email protected]> * fix: fix coding style for linter Signed-off-by: Jean-Christophe Sirot <[email protected]> * build: fix maven versions plugin groupId Signed-off-by: Jean-Christophe Sirot <[email protected]> * ci: add java sdk CI - add initial build worflow in internal/mage/sdk/java.go - add test & lint actions in github action worflow Signed-off-by: Jean-Christophe Sirot <[email protected]> * fix: replace deprecated API calls in tests - Container.fs -> Container.rootfs - Container.exec -> Container.withExec Signed-off-by: Jean-Christophe Sirot <[email protected]> * fix: Add a static 'from' method to instanciate a Scalar from a String literal Signed-off-by: Jean-Christophe Sirot <[email protected]> * fix(doc): fix javadoc for field parameters in generated code Signed-off-by: Jean-Christophe Sirot <[email protected]> * fix: Fix NPE when CLI download fails and log error Signed-off-by: Jean-Christophe Sirot <[email protected]> * fix(codegen): clarify codegen plugin parameters and Dagger version in generated code Separate CLI and SDK version Use either a previously generated schema or a query a locally installed dagger CLI update the CI to generate the schema matching the used dagger CLI Signed-off-by: Jean-Christophe Sirot <[email protected]> * fix(codegen): fix sdk:java:generate goal Now the generate goal will query the dagger CLI to generate the API JSON schema and write a file A new dagger-codegen:generateSchema plugin goal has been added to the dagger-codegen maven plugin (with some code refactoring between both goals) to generate the schema. The generate schema is copied to plugin resources dir /schemas according to the engine version declared in the pom.xml file afterwards. The schema file naming has been simplifying (removing the 'v' prefix) and the existing files have been renamed accordingly Signed-off-by: Jean-Christophe Sirot <[email protected]> * feat(codegen): add schema for dagger engine 0.8.3 and 0.8.4 Signed-off-by: Jean-Christophe Sirot <[email protected]> * doc(codegen): document how to bump engine dependency Signed-off-by: Jean-Christophe Sirot <[email protected]> * Remove redundant return & go fmt Signed-off-by: Gerhard Lazu <[email protected]> * Make Java SDK workflow standalone, same as the Elixir one Leverage the re-usable _hack_make workflow. Signed-off-by: Gerhard Lazu <[email protected]> * Use same Apache 2.0 license as all other SDKs Engine & CLI use the same Apache 2.0 license. Signed-off-by: Jean-Christophe Sirot <[email protected]> --------- Signed-off-by: Jean-Christophe Sirot <[email protected]> Signed-off-by: Jean-Christophe Sirot <[email protected]> Signed-off-by: Gerhard Lazu <[email protected]> Signed-off-by: Jean-Christophe Sirot <[email protected]> Co-authored-by: Jean-Christophe Sirot <[email protected]> Co-authored-by: Jean-Christophe Sirot <[email protected]> Co-authored-by: Daniel Lavoie <[email protected]>
sagikazarmark
pushed a commit
to sagikazarmark/dagger-1
that referenced
this pull request
Apr 10, 2025
pin dagger version
vito
added a commit
that referenced
this pull request
Aug 25, 2026
First slice of hack/designs/agent-messaging.md §4.1: every message enqueued into an agent mailbox now carries a resolved origin — who sent it and, later, what it answers. Provenance is resolved at the one central enqueue path (AgentRuntimes.Send) with no forgeable "from" argument: the ambient loop agent for in-process tool dispatch, or the calling client's function-call record for module functions and their nested API calls, which modfunc now stamps with its own CallerAgent resolution so the identity propagates through arbitrary nesting. The origin is recorded honestly as a new optional withPrompt argument (LLMMessageOriginInput), so the conversation chain itself says who said what, and portable recipes re-emit it. At request-build time the origin renders as a deterministic attribution header the model sees ([message #3 from agent "scout"]) — refs are per-runtime enqueue ordinals rather than the opaque minted message IDs, because replay recordings compare wire text byte for byte and the IDs are entropy. Two cases deliberately record nothing, keeping pre-provenance chains and recordings byte-stable: plain user prompts and plain self-sends. Clients read the origin back through the new nullable LLMMessage.origin field.
vito
added a commit
that referenced
this pull request
Aug 25, 2026
Message provenance (agent-messaging.md §4.1) reached every frontend as a rendered attribution header and structured LLMMessage.origin, but the TUI still drew an agent's message exactly like a prompt the user typed, and an idle/failure event as a full prompt bubble — P3's presentation half. The recorded origin now rides the message's "LLM prompt" span as dagger.io/llm.origin.* span attributes (kind, agent id/name, ref, replyTo), stamped by emitUserMessageSpan only when an origin was recorded, so pre-provenance spans are byte-identical. dagui ingests them onto SpanSnapshot.LLMOrigin* with AGENT/EVENT kind predicates, and the pretty frontend styles origin-carrying messages at the shared styleLLMMessageView choke point, covering the live transcript and the final report alike: AGENT-origin messages keep the shaded incoming-prompt block under a sender-attribution header (bold cyan name plus a faint ref — "scout #3", or "chief ↩ #2" for a reply), while EVENT-origin messages collapse to a faint one-liner (first line plus a "(+N lines)" tail, with the payload still in the span's logs) and skip the shaded cue and card padding. Plain user prompts render unchanged.
vito
added a commit
that referenced
this pull request
Aug 25, 2026
First slice of hack/designs/agent-messaging.md §4.1: every message enqueued into an agent mailbox now carries a resolved origin — who sent it and, later, what it answers. Provenance is resolved at the one central enqueue path (AgentRuntimes.Send) with no forgeable "from" argument: the ambient loop agent for in-process tool dispatch, or the calling client's function-call record for module functions and their nested API calls, which modfunc now stamps with its own CallerAgent resolution so the identity propagates through arbitrary nesting. The origin is recorded honestly as a new optional withPrompt argument (LLMMessageOriginInput), so the conversation chain itself says who said what, and portable recipes re-emit it. At request-build time the origin renders as a deterministic attribution header the model sees ([message #3 from agent "scout"]) — refs are per-runtime enqueue ordinals rather than the opaque minted message IDs, because replay recordings compare wire text byte for byte and the IDs are entropy. Two cases deliberately record nothing, keeping pre-provenance chains and recordings byte-stable: plain user prompts and plain self-sends. Clients read the origin back through the new nullable LLMMessage.origin field.
vito
added a commit
that referenced
this pull request
Aug 25, 2026
Message provenance (agent-messaging.md §4.1) reached every frontend as a rendered attribution header and structured LLMMessage.origin, but the TUI still drew an agent's message exactly like a prompt the user typed, and an idle/failure event as a full prompt bubble — P3's presentation half. The recorded origin now rides the message's "LLM prompt" span as dagger.io/llm.origin.* span attributes (kind, agent id/name, ref, replyTo), stamped by emitUserMessageSpan only when an origin was recorded, so pre-provenance spans are byte-identical. dagui ingests them onto SpanSnapshot.LLMOrigin* with AGENT/EVENT kind predicates, and the pretty frontend styles origin-carrying messages at the shared styleLLMMessageView choke point, covering the live transcript and the final report alike: AGENT-origin messages keep the shaded incoming-prompt block under a sender-attribution header (bold cyan name plus a faint ref — "scout #3", or "chief ↩ #2" for a reply), while EVENT-origin messages collapse to a faint one-liner (first line plus a "(+N lines)" tail, with the payload still in the span's logs) and skip the shaded cue and card padding. Plain user prompts render unchanged.
vito
added a commit
that referenced
this pull request
Aug 26, 2026
First slice of hack/designs/agent-messaging.md §4.1: every message enqueued into an agent mailbox now carries a resolved origin — who sent it and, later, what it answers. Provenance is resolved at the one central enqueue path (AgentRuntimes.Send) with no forgeable "from" argument: the ambient loop agent for in-process tool dispatch, or the calling client's function-call record for module functions and their nested API calls, which modfunc now stamps with its own CallerAgent resolution so the identity propagates through arbitrary nesting. The origin is recorded honestly as a new optional withPrompt argument (LLMMessageOriginInput), so the conversation chain itself says who said what, and portable recipes re-emit it. At request-build time the origin renders as a deterministic attribution header the model sees ([message #3 from agent "scout"]) — refs are per-runtime enqueue ordinals rather than the opaque minted message IDs, because replay recordings compare wire text byte for byte and the IDs are entropy. Two cases deliberately record nothing, keeping pre-provenance chains and recordings byte-stable: plain user prompts and plain self-sends. Clients read the origin back through the new nullable LLMMessage.origin field.
vito
added a commit
that referenced
this pull request
Aug 26, 2026
Message provenance (agent-messaging.md §4.1) reached every frontend as a rendered attribution header and structured LLMMessage.origin, but the TUI still drew an agent's message exactly like a prompt the user typed, and an idle/failure event as a full prompt bubble — P3's presentation half. The recorded origin now rides the message's "LLM prompt" span as dagger.io/llm.origin.* span attributes (kind, agent id/name, ref, replyTo), stamped by emitUserMessageSpan only when an origin was recorded, so pre-provenance spans are byte-identical. dagui ingests them onto SpanSnapshot.LLMOrigin* with AGENT/EVENT kind predicates, and the pretty frontend styles origin-carrying messages at the shared styleLLMMessageView choke point, covering the live transcript and the final report alike: AGENT-origin messages keep the shaded incoming-prompt block under a sender-attribution header (bold cyan name plus a faint ref — "scout #3", or "chief ↩ #2" for a reply), while EVENT-origin messages collapse to a faint one-liner (first line plus a "(+N lines)" tail, with the payload still in the span's logs) and skip the shaded cue and card padding. Plain user prompts render unchanged.
vito
added a commit
that referenced
this pull request
Aug 26, 2026
First slice of hack/designs/agent-messaging.md §4.1: every message enqueued into an agent mailbox now carries a resolved origin — who sent it and, later, what it answers. Provenance is resolved at the one central enqueue path (AgentRuntimes.Send) with no forgeable "from" argument: the ambient loop agent for in-process tool dispatch, or the calling client's function-call record for module functions and their nested API calls, which modfunc now stamps with its own CallerAgent resolution so the identity propagates through arbitrary nesting. The origin is recorded honestly as a new optional withPrompt argument (LLMMessageOriginInput), so the conversation chain itself says who said what, and portable recipes re-emit it. At request-build time the origin renders as a deterministic attribution header the model sees ([message #3 from agent "scout"]) — refs are per-runtime enqueue ordinals rather than the opaque minted message IDs, because replay recordings compare wire text byte for byte and the IDs are entropy. Two cases deliberately record nothing, keeping pre-provenance chains and recordings byte-stable: plain user prompts and plain self-sends. Clients read the origin back through the new nullable LLMMessage.origin field.
vito
added a commit
that referenced
this pull request
Aug 26, 2026
Message provenance (agent-messaging.md §4.1) reached every frontend as a rendered attribution header and structured LLMMessage.origin, but the TUI still drew an agent's message exactly like a prompt the user typed, and an idle/failure event as a full prompt bubble — P3's presentation half. The recorded origin now rides the message's "LLM prompt" span as dagger.io/llm.origin.* span attributes (kind, agent id/name, ref, replyTo), stamped by emitUserMessageSpan only when an origin was recorded, so pre-provenance spans are byte-identical. dagui ingests them onto SpanSnapshot.LLMOrigin* with AGENT/EVENT kind predicates, and the pretty frontend styles origin-carrying messages at the shared styleLLMMessageView choke point, covering the live transcript and the final report alike: AGENT-origin messages keep the shaded incoming-prompt block under a sender-attribution header (bold cyan name plus a faint ref — "scout #3", or "chief ↩ #2" for a reply), while EVENT-origin messages collapse to a faint one-liner (first line plus a "(+N lines)" tail, with the payload still in the span's logs) and skip the shaded cue and card padding. Plain user prompts render unchanged.
vito
added a commit
that referenced
this pull request
Sep 10, 2026
Restore had grown the public agent surface where an existing verb already
covered the case. Agent.rehydrate is folded into LLM.spawn, which gains
handle, state and error arguments: a supplied handle restores an instance
under that identity, a minted one spawns a fresh instance, and the registry
keeps a single constructor that refuses collisions. Agent.message takes the
message's ref ("#3") instead of an opaque handle, and the ref is now the
record's key, so the pinned chain reads agent(handle:)!message(ref:).
Agent.interrupt becomes pause(interrupt: true), mirroring stop(kill:), and
Agent.start is dropped since resume now starts a never-started agent and send
already covered signal-with-start. LLMMessageOrigin loses agentHandle, which
nothing read back after the origin was recorded on the chain; the sender's
key moves onto the internal message record for self-send suppression and
reply resolution, and the matching span attribute goes with it.
Signed-off-by: Alex Suraci <[email protected]>
vito
added a commit
that referenced
this pull request
Sep 11, 2026
Restore had grown the public agent surface where an existing verb already
covered the case. Agent.rehydrate is folded into LLM.spawn, which gains
handle, state and error arguments: a supplied handle restores an instance
under that identity, a minted one spawns a fresh instance, and the registry
keeps a single constructor that refuses collisions. Agent.message takes the
message's ref ("#3") instead of an opaque handle, and the ref is now the
record's key, so the pinned chain reads agent(handle:)!message(ref:).
Agent.interrupt becomes pause(interrupt: true), mirroring stop(kill:), and
Agent.start is dropped since resume now starts a never-started agent and send
already covered signal-with-start. LLMMessageOrigin loses agentHandle, which
nothing read back after the origin was recorded on the chain; the sender's
key moves onto the internal message record for self-send suppression and
reply resolution, and the matching span attribute goes with it.
Signed-off-by: Alex Suraci <[email protected]>
vito
added a commit
that referenced
this pull request
Sep 11, 2026
Restore had grown the public agent surface where an existing verb already
covered the case. Agent.rehydrate is folded into LLM.spawn, which gains
handle, state and error arguments: a supplied handle restores an instance
under that identity, a minted one spawns a fresh instance, and the registry
keeps a single constructor that refuses collisions. Agent.message takes the
message's ref ("#3") instead of an opaque handle, and the ref is now the
record's key, so the pinned chain reads agent(handle:)!message(ref:).
Agent.interrupt becomes pause(interrupt: true), mirroring stop(kill:), and
Agent.start is dropped since resume now starts a never-started agent and send
already covered signal-with-start. LLMMessageOrigin loses agentHandle, which
nothing read back after the origin was recorded on the chain; the sender's
key moves onto the internal message record for self-send suppression and
reply resolution, and the matching span attribute goes with it.
Signed-off-by: Alex Suraci <[email protected]>
vito
added a commit
that referenced
this pull request
Sep 14, 2026
Restore had grown the public agent surface where an existing verb already
covered the case. Agent.rehydrate is folded into LLM.spawn, which gains
handle, state and error arguments: a supplied handle restores an instance
under that identity, a minted one spawns a fresh instance, and the registry
keeps a single constructor that refuses collisions. Agent.message takes the
message's ref ("#3") instead of an opaque handle, and the ref is now the
record's key, so the pinned chain reads agent(handle:)!message(ref:).
Agent.interrupt becomes pause(interrupt: true), mirroring stop(kill:), and
Agent.start is dropped since resume now starts a never-started agent and send
already covered signal-with-start. LLMMessageOrigin loses agentHandle, which
nothing read back after the origin was recorded on the chain; the sender's
key moves onto the internal message record for self-send suppression and
reply resolution, and the matching span attribute goes with it.
Signed-off-by: Alex Suraci <[email protected]>
vito
added a commit
that referenced
this pull request
Sep 14, 2026
Restore had grown the public agent surface where an existing verb already
covered the case. Agent.rehydrate is folded into LLM.spawn, which gains
handle, state and error arguments: a supplied handle restores an instance
under that identity, a minted one spawns a fresh instance, and the registry
keeps a single constructor that refuses collisions. Agent.message takes the
message's ref ("#3") instead of an opaque handle, and the ref is now the
record's key, so the pinned chain reads agent(handle:)!message(ref:).
Agent.interrupt becomes pause(interrupt: true), mirroring stop(kill:), and
Agent.start is dropped since resume now starts a never-started agent and send
already covered signal-with-start. LLMMessageOrigin loses agentHandle, which
nothing read back after the origin was recorded on the chain; the sender's
key moves onto the internal message record for self-send suppression and
reply resolution, and the matching span attribute goes with it.
Signed-off-by: Alex Suraci <[email protected]>
sipsma
added a commit
that referenced
this pull request
Nov 17, 2026
… driver Pin the export driver at dagger/golangci-lint's main 124019e, the merge of its #3, in place of #3's earlier head. The merge adds #3's last commit: a load naming no package is answered with its directory's listing. Signed-off-by: Erik Sipsma <[email protected]>
sipsma
added a commit
that referenced
this pull request
Nov 17, 2026
… driver Pin the export driver at dagger/golangci-lint's main 124019e, the merge of its #3, in place of #3's earlier head. The merge adds #3's last commit: a load naming no package is answered with its directory's listing. Signed-off-by: Erik Sipsma <[email protected]>
sipsma
added a commit
that referenced
this pull request
Nov 17, 2026
… driver Pin the export driver at dagger/golangci-lint's main 124019e, the merge of its #3, in place of #3's earlier head. The merge adds #3's last commit: a load naming no package is answered with its directory's listing. Signed-off-by: Erik Sipsma <[email protected]>
sipsma
added a commit
that referenced
this pull request
Nov 17, 2026
… driver Pin the export driver at dagger/golangci-lint's main 124019e, the merge of its #3, in place of #3's earlier head. The merge adds #3's last commit: a load naming no package is answered with its directory's listing. Signed-off-by: Erik Sipsma <[email protected]>
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.
Env.Walk