Skip to content

Agent types changes step 4#2869

Merged
vigoo merged 5 commits intoagent-types-changes-step3from
agent-types-changes-step4
Mar 9, 2026
Merged

Agent types changes step 4#2869
vigoo merged 5 commits intoagent-types-changes-step3from
agent-types-changes-step4

Conversation

@vigoo
Copy link
Contributor

@vigoo vigoo commented Mar 2, 2026

Step 4 of #2835

Removes "kebabizing" from both SDKs
Introduces some helper macros that can be used in integration tests to convert data values where the type is coming from host-side derived analysed types

@vigoo vigoo changed the base branch from main to agent-types-changes-step3 March 2, 2026 16:35
@vigoo vigoo marked this pull request as ready for review March 3, 2026 14:41
@vigoo vigoo changed the title Agent types changes step4 Agent types changes step 4 Mar 6, 2026
Copy link
Contributor

@mschuwalow mschuwalow left a comment

Choose a reason for hiding this comment

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

There are at least a few more places in which kebabizing is used that I'm aware of:

  • during deployment it is used to form the registered agent types that are stored in the db for later lookups. I believe we proabably want to leave such "cross-language" use cases, but let's talk about this during standup

  • this in turn is used by the worker executor to fetch agent type information for rpc driven by the sdks. I think there is currently a mismatch somewhere in there as the sdk is not kebabizing, the worker-executor is not, but the db table includes the the kebabized version

  • It is used for manipulating secrets using the api / specifying defaults during deployments. Still need to think about how the best dx looks like here, again this is a natually "cross-language" use case

  • it is used to detect ambiguous agent types during a deployment\

@vigoo
Copy link
Contributor Author

vigoo commented Mar 9, 2026

Yes these are all finalized in the final step

* New AgentId format and language-specific rendering, cleanups

* More cleanups and tests

* Benchmark

* Compilation fixes

* Unit tests passing

* Test adjustments

* Fixes

* CLI improvements

* CLI fixes

* cli test fixes

* Cleanup

* Format

* Fixes

* analysing ci failures skill

* Fix

* Add migration 006 to drop agent_wrapper_type_name column

Amp-Thread-ID: https://ampcode.com/threads/T-019cc47e-a88c-73f6-86e8-678b8e506697
Co-authored-by: Amp <amp@ampcode.com>

* Fixes

* Fixes

* Eliminated some test-code redundancy

* Review feedback

---------

Co-authored-by: Amp <amp@ampcode.com>
@vigoo vigoo merged commit 72785a0 into agent-types-changes-step3 Mar 9, 2026
13 checks passed
@vigoo vigoo deleted the agent-types-changes-step4 branch March 9, 2026 16:41
vigoo added a commit that referenced this pull request Mar 9, 2026
* Renames

* Agent types changes step 4 (#2869)

* Normalized SDK metadata to native naming

* Prepared helper macros for further tests

* Agent types changes step 5 (last) (#2945)

* New AgentId format and language-specific rendering, cleanups

* More cleanups and tests

* Benchmark

* Compilation fixes

* Unit tests passing

* Test adjustments

* Fixes

* CLI improvements

* CLI fixes

* cli test fixes

* Cleanup

* Format

* Fixes

* analysing ci failures skill

* Fix

* Add migration 006 to drop agent_wrapper_type_name column

Amp-Thread-ID: https://ampcode.com/threads/T-019cc47e-a88c-73f6-86e8-678b8e506697
Co-authored-by: Amp <amp@ampcode.com>

* Fixes

* Fixes

* Eliminated some test-code redundancy

* Review feedback

---------

Co-authored-by: Amp <amp@ampcode.com>

---------

Co-authored-by: Amp <amp@ampcode.com>

---------

Co-authored-by: Amp <amp@ampcode.com>
vigoo added a commit that referenced this pull request Mar 9, 2026
* Removed wrong and unnecessary FromValue instance

* TS SDK sets None as constructor name

* Renames to improve code consistency (#2867)

* Renames

* Agent types changes step 4 (#2869)

* Normalized SDK metadata to native naming

* Prepared helper macros for further tests

* Agent types changes step 5 (last) (#2945)

* New AgentId format and language-specific rendering, cleanups

* More cleanups and tests

* Benchmark

* Compilation fixes

* Unit tests passing

* Test adjustments

* Fixes

* CLI improvements

* CLI fixes

* cli test fixes

* Cleanup

* Format

* Fixes

* analysing ci failures skill

* Fix

* Add migration 006 to drop agent_wrapper_type_name column

Amp-Thread-ID: https://ampcode.com/threads/T-019cc47e-a88c-73f6-86e8-678b8e506697
Co-authored-by: Amp <amp@ampcode.com>

* Fixes

* Fixes

* Eliminated some test-code redundancy

* Review feedback

---------

Co-authored-by: Amp <amp@ampcode.com>

---------

Co-authored-by: Amp <amp@ampcode.com>

---------

Co-authored-by: Amp <amp@ampcode.com>

* Fixes

---------

Co-authored-by: Amp <amp@ampcode.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants