Skip to content

fix(deps): update dependency politty to v0.11.3#1798

Open
renovate[bot] wants to merge 2 commits into
mainfrom
renovate/politty-0.x
Open

fix(deps): update dependency politty to v0.11.3#1798
renovate[bot] wants to merge 2 commits into
mainfrom
renovate/politty-0.x

Conversation

@renovate

@renovate renovate Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
politty 0.11.20.11.3 age confidence

Release Notes

toiroakr/politty (politty)

v0.11.3

Compare Source

Patch Changes
  • bc7bcfc: Add SkillCommandOptions.descriptions to override the description text of the skills command and each of its built-in subcommands (sync/add/remove/list), letting a host CLI brand the skills command without re-wrapping the command tree by hand. Keys refer to the subcommand's canonical role, independent of any commandMap rename — descriptions.add still applies after commandMap.add renames the subcommand to something else. Omitting descriptions (or any of its keys) preserves politty's existing default text exactly.

Configuration

📅 Schedule: (in timezone Asia/Tokyo)

  • Branch creation
    • Between 09:00 AM and 06:59 PM, Monday through Friday (* 9-18 * * 1-5)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from a team as a code owner July 17, 2026 01:24
@changeset-bot

changeset-bot Bot commented Jul 17, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 6a425e1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@tailor-platform/sdk Patch
@tailor-platform/sdk-codemod Patch
@tailor-platform/create-sdk Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@tailor-platform-pr-trigger
tailor-platform-pr-trigger Bot requested a review from a team as a code owner July 17, 2026 01:24
@pkg-pr-new

pkg-pr-new Bot commented Jul 17, 2026

Copy link
Copy Markdown

Open in StackBlitz

pnpm add https://pkg.pr.new/@tailor-platform/create-sdk@6a425e1
pnpm add https://pkg.pr.new/@tailor-platform/eslint-plugin-sdk@6a425e1
pnpm add https://pkg.pr.new/@tailor-platform/sdk@6a425e1

commit: 6a425e1

@github-actions

Copy link
Copy Markdown

🤖 Claude Dependency Review

📦 Update Summary

  • Library: politty
  • Version: 0.11.2 → 0.11.3
  • Change Type: Patch

📝 Release Notes

https://github.com/toiroakr/politty/releases/tag/v0.11.3

🔐 Security Assessment

  • Risk: 🟢 Low
  • Known vulnerabilities: None found. Web searches for CVE and GHSA advisories returned no security issues for politty.
  • Supply-chain notes: No red flags detected. The package maintainer and repository (toiroakr/politty) remain unchanged. No suspicious lifecycle scripts or unexpected new dependencies introduced in this version.

🚨 Breaking Changes

None. This is a backward-compatible patch release.

✨ Main Changes

This patch introduces a single new feature: SkillCommandOptions.descriptions

What it does:

  • Allows host CLIs to customize the description text for the skills command and its built-in subcommands (sync, add, remove, list)
  • Enables branding of the skills command without manually re-wrapping the entire command tree
  • Description keys are tied to subcommand canonical roles, remaining effective even after commandMap renames alter subcommand names

Backward compatibility:

  • Fully backward compatible — omitting the descriptions parameter preserves all existing default messaging
  • No action required for existing code; this is an opt-in enhancement

🔍 Impact Analysis

📁 Usage Locations

politty is extensively used across 121 files in the SDK codebase:

Core CLI Infrastructure:

  1. packages/sdk/src/cli/index.ts

    import { defineCommand, runMain } from "politty";
    import { withCompletionCommand } from "politty/completion";
    • Feature used: defineCommand, runMain, withCompletionCommand
    • Impact: No breaking changes. The main CLI entry point continues to work as-is.
  2. packages/sdk/src/cli/commands/skills/index.ts

    import { defineCommand, runCommand } from "politty";
    • Feature used: defineCommand, runCommand
    • Impact: This is where the new SkillCommandOptions.descriptions feature could potentially be adopted in the future to customize skill command descriptions. Currently, no changes needed.
  3. packages/create-sdk/src/index.ts

    import { arg, defineCommand, runMain } from "politty";
    • Feature used: arg, defineCommand, runMain
    • Impact: No breaking changes affecting project scaffolding.
  4. packages/sdk-codemod/src/index.ts

    import { arg, defineCommand, runMain } from "politty";
    • Feature used: arg, defineCommand, runMain
    • Impact: No breaking changes affecting codemod CLI.

CLI Command Implementations (118 additional files):

The following command modules use politty's core APIs:

Command categories using politty:

  • Workspace management: workspace/*, workspace/user/*, workspace/app/*
  • Authentication: login, logout, authconnection/*, oauth2client/*
  • User management: user/*, user/pat/*, machineuser/*
  • Database: tailordb/*, tailordb/migrate/*, tailordb/erd/*
  • Deployment: deploy, remove
  • Functions & Executors: function/*, executor/*, workflow/*
  • Secrets: secret/*, secret/vault/*
  • Configuration: profile/*, organization/*, staticwebsite/*
  • Development: generate, init, setup, query, skills/*
  • API: api/*, api/inspect, api/list
  • Utilities: open, upgrade, crashreport/*

Import patterns from politty subpaths:

  • politty/completion → Used for shell completion generation
  • politty/docs → Used for CLI documentation assertion/testing

No direct usage of SkillCommandOptions:
While the SDK has a skills command (packages/sdk/src/cli/commands/skills/index.ts), it does not currently use politty's SkillCommand helper or the new SkillCommandOptions.descriptions feature. The skills command is implemented using the standard defineCommand API.

✅ Recommended Actions

No immediate action required. This is a safe, backward-compatible patch update that introduces an optional feature.

Optional future enhancement:
The SDK could optionally adopt the new SkillCommandOptions.descriptions feature in the future to customize the skills command descriptions for better Tailor Platform branding. However, this is entirely optional and not required for this update.


@github-actions

Copy link
Copy Markdown

Code Metrics Report (packages/sdk)

main (d3b5f14) #1798 (4042479) +/-
Coverage 74.4% 74.4% 0.0%
Code to Test Ratio 1:0.4 1:0.4 0.0
Details
  |                    | main (d3b5f14) | #1798 (4042479) | +/-  |
  |--------------------|----------------|-----------------|------|
  | Coverage           |          74.4% |           74.4% | 0.0% |
  |   Files            |            454 |             454 |    0 |
  |   Lines            |          16897 |           16897 |    0 |
  |   Covered          |          12582 |           12582 |    0 |
  | Code to Test Ratio |          1:0.4 |           1:0.4 |  0.0 |
  |   Code             |         113176 |          113176 |    0 |
  |   Test             |          52461 |           52461 |    0 |

SDK Configure Bundle Size

main (d3b5f14) #1798 (4042479) +/-
configure-index-size 32.17KB 32.17KB 0KB
dependency-chunks-size 29.88KB 29.88KB 0KB
total-bundle-size 62.05KB 62.05KB 0KB

Runtime Performance

main (d3b5f14) #1798 (4042479) +/-
Generate Median 2,854ms 2,869ms 15ms
Generate Max 2,908ms 2,940ms 32ms
Apply Build Median 2,896ms 2,909ms 13ms
Apply Build Max 2,906ms 2,919ms 13ms

Type Performance (instantiations)

main (d3b5f14) #1798 (4042479) +/-
tailordb-basic 42,869 42,869 0
tailordb-optional 4,451 4,451 0
tailordb-relation 6,220 6,220 0
tailordb-validate 753 753 0
tailordb-hooks 5,279 5,279 0
tailordb-object 12,547 12,547 0
tailordb-enum 1,486 1,486 0
resolver-basic 9,252 9,252 0
resolver-nested 26,119 26,119 0
resolver-array 18,059 18,059 0
executor-schedule 4,310 4,310 0
executor-webhook 949 949 0
executor-record 6,762 6,762 0
executor-resolver 4,090 4,090 0
executor-operation-function 937 937 0
executor-operation-gql 945 945 0
executor-operation-webhook 956 956 0
executor-operation-workflow 1,798 1,798 0

Reported by octocov

@renovate

renovate Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

toiroakr
toiroakr previously approved these changes Jul 17, 2026
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