Skip to content

improvement(mship): contract update#4961

Merged
Sg312 merged 1 commit into
stagingfrom
update/mship-contracts
Jun 11, 2026
Merged

improvement(mship): contract update#4961
Sg312 merged 1 commit into
stagingfrom
update/mship-contracts

Conversation

@Sg312

@Sg312 Sg312 commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

Bumps mship contracts

Type of Change

  • Other

Testing

Manual

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@vercel

vercel Bot commented Jun 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
docs Skipped Skipped Jun 11, 2026 1:56am

Request Review

@Sg312 Sg312 merged commit e54daf7 into staging Jun 11, 2026
9 checks passed
@greptile-apps

greptile-apps Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

Updates generated copilot contract files to reflect upstream mothership schema changes. All three files are auto-generated and should not be hand-edited.

  • Adds an optional prompt property to the parameters schema of the file, media, and workflow subagent tools in both tool-catalog-v1.ts and tool-schemas-v1.ts; the change is additive and no existing callers are affected.
  • Removes the Enterprise key from AuthKeyMatch in trace-attribute-values-v1.ts; a codebase-wide search confirms no call sites reference AuthKeyMatch.Enterprise, so this is a clean removal.

Confidence Score: 5/5

All changes are in auto-generated contract files, are additive or remove an unused enum value, and have no active call sites affected.

The prompt additions are optional schema fields with no breaking surface, and AuthKeyMatch.Enterprise has zero references anywhere in the monorepo, making its removal a clean no-op from the TypeScript perspective.

No files require special attention.

Important Files Changed

Filename Overview
apps/sim/lib/copilot/generated/tool-catalog-v1.ts Adds an optional prompt property schema to three subagent tools (file, media, workflow); change is additive and backwards compatible.
apps/sim/lib/copilot/generated/tool-schemas-v1.ts Mirrors the catalog update by adding the optional prompt parameter schema to the runtime schema entries for file, media, and workflow subagents.
apps/sim/lib/copilot/generated/trace-attribute-values-v1.ts Removes Enterprise: 'enterprise' from the AuthKeyMatch const object; no call sites in the repo reference this value, so the removal is safe.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[Mothership Contract Schema] -->|bun run generate| B[Generated TS Files]
    B --> C[tool-catalog-v1.ts]
    B --> D[tool-schemas-v1.ts]
    B --> E[trace-attribute-values-v1.ts]

    C --> F[file subagent +prompt optional param]
    C --> G[media subagent +prompt optional param]
    C --> H[workflow subagent +prompt optional param]

    D --> I[file runtime schema +prompt optional param]
    D --> J[media runtime schema +prompt optional param]
    D --> K[workflow runtime schema +prompt optional param]

    E --> L[AuthKeyMatch Enterprise key removed]
Loading

Reviews (1): Last reviewed commit: "Mship contract update" | Re-trigger Greptile

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.

1 participant