Skip to content

feat(proto): add search summaries for modules/setups and mission cost… - #39

Merged
GuillaumeSachet merged 1 commit into
mainfrom
feat/tool-kin-registry
Aug 28, 2026
Merged

feat(proto): add search summaries for modules/setups and mission cost…#39
GuillaumeSachet merged 1 commit into
mainfrom
feat/tool-kin-registry

Conversation

@xaviave

@xaviave xaviave commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

… in user profile

Added new message types ModuleSummary and SetupSummary to provide trimmed, search-friendly representations of modules and setups. Updated SearchSetupsRequest and SearchModulesRequest to replace deprecated discovery requests, with filters for organization, visibility, statuses, owner_id, and tags, plus a new SortBy enum for result sorting. Updated ModuleDescriptor and SetupDescriptor to include tags for categorization.

Also clarified in GetUserProfileRequest that the user is resolved from the mission scope, and added a mission_cost field to GetUserProfileResponse representing the total cost accumulated by the mission.

(cherry picked from commit f9c6b9a)

@xaviave xaviave self-assigned this Jul 21, 2026

@Relixik Relixik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍

@xaviave
xaviave force-pushed the feat/tool-kin-registry branch from 3802395 to 82fa702 Compare July 22, 2026 08:17
@Relixik
Relixik force-pushed the feat/tool-kin-registry branch from b03998c to 4b2c8c2 Compare July 29, 2026 08:34
@Relixik
Relixik force-pushed the feat/tool-kin-registry branch from 204ece7 to 0238092 Compare August 26, 2026 09:27
Registry:
- Replace DiscoverModules/DiscoverSetups with SearchModules/SearchSetups,
  filtering on organization, visibility, statuses, owner_id and tags with a
  SortBy enum, returning trimmed ModuleSummary/SetupSummary payloads
- Add tags to ModuleDescriptor and SetupDescriptor
- Add MODULE_TYPE_SERVICE and rename MODULE_TYPE_TOOL to MODULE_TYPE_TOOL_MODULE

Setup:
- Slim SetupService to CRUD + ChangeVisibility, dropping the deprecated
  setup-version and ListSetups RPCs and their messages
- CreateSetup takes name + content; the server resolves owner/org and generates id
- Add ListSetupVersions (newest first, limit/offset/total_count) exposing
  current_setup_version_id, and SetCurrentSetupVersion
- Add UpdateSetupRequest.set_as_current to promote the created version in one call
- Add a local Visibility enum and a visibility field on Setup

Storage and filesystem:
- Add a local Visibility enum (PUBLIC/PRIVATE/INTERNAL) on records and files,
  with visibility filters reactivating the ListRecords and GetFiles RPCs
- Add a globally unique storage_id to StorageRecord and allow reading by it;
  paginate ListRecords and scope RemoveCollection to records
- Type request context as a ContextStorage/ContextFile enum, the matching entity
  id being resolved server-side from the task metadata; persisted StorageRecord
  and File keep their prefixed string context

User profile:
- Resolve the user from the mission scope and return mission_cost

Also documents the git convention forbidding Co-Authored-By trailers.

BREAKING CHANGE: the context field changes from string to enum in StoreRecord,
ReadRecord, UpdateRecord, RemoveRecord, ListRecords, RemoveCollection,
UploadFile, GetFile, UpdateFile, GetFiles and DeleteFiles requests, and the
"default" upload context is dropped. The SetupService RPC surface and messages
changed, RegistryService drops DiscoverModules and DiscoverSetups, and
ModuleType value 2 is renamed to MODULE_TYPE_TOOL_MODULE.
@GuillaumeSachet
GuillaumeSachet merged commit 1836519 into main Aug 28, 2026
1 check passed
@GuillaumeSachet
GuillaumeSachet deleted the feat/tool-kin-registry branch August 28, 2026 08:50
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.

3 participants