Skip to content

Release 1.3.1 - #4

Merged
LightCyan01 merged 7 commits into
masterfrom
agent/trainkit-v1-3-1
Oct 8, 2026
Merged

LightCyan01 merged 7 commits into
masterfrom
agent/trainkit-v1-3-1

Conversation

@LightCyan01

@LightCyan01 LightCyan01 commented Oct 8, 2026 •

Copy link
Copy Markdown
Owner

Summary

TrainKit 1.3.1 fits previews to their images, displays saved captions and tags beneath them, and makes first-time dependency setup clearer. It also fixes image cleanup and cancellation in tagging.

Changelog

Added

  • Caption and tag output below the preview, including existing sidecars, JSON-only tags, and outputs renamed on collision.
  • Saved output refresh as processing finishes.

Changed

  • Image previews keep their proportions within a bounded height across Caption, Upscale, Rename, and Tag.
  • Large images use bounded system thumbnails when available.
  • Setup keeps a visible message explaining that large packages can take several minutes.
  • Existing dependencies are reused across app updates when the lockfile matches.
  • Simplified the shared preview component.

Fixed

  • Existing caption and tag previews resolve Windows folder junctions.
  • Renamed caption and tag previews use canonical input paths and retain the newest result after event recovery.
  • The setup loading bar stays centered, and its window has a dedicated draggable area.
  • Missing packaged backend files are restored before startup, and deleted environments trigger dependency setup again.
  • Tagging closes images after inference and stops before saving cancelled work.
  • Fully skipped tagging batches avoid loading a model.
  • Preview lists exclude folders with image extensions.
  • Empty previews and failed image decoding show the appropriate state.
  • Setup detects a missing Python interpreter and bounds its visible log.

@LightCyan01
LightCyan01 marked this pull request as ready for review October 8, 2026 19:10
@greptile-apps

greptile-apps Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

RetriggerConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no new actionable issue was found.

Summary

TrainKit 1.3.1 adds saved captions and tags beneath image previews, improves setup messages, and fixes tagging cleanup.

  • The latest changes bundle a recovery copy of the backend and restore missing files before startup.
  • Package verification checks that the recovery copy matches the shipped backend.
  • The earlier linked-folder and reconnect findings are addressed by canonical paths and job recency checks.
  • Mounted preview tests now cover pending reads, navigation, refreshes, and stale responses.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart TD
  A[Open TrainKit] --> B[Restore missing backend files]
  B -->|Cannot restore| C[Show setup error]
  B --> D[Check Python and dependency lock]
  D -->|Setup needed| E[Install dependencies]
  D -->|Ready| F[Start backend]
  E -->|Success| F
Loading

Reviews (4) · Last reviewed commit: "Restore missing backend files before sta..." · Reviewed by Greptile

Comment thread src/main.ts Outdated
Comment thread src/main.ts Outdated
Comment thread src/components/trainkit/shared/ImagePreview.test.ts Outdated
@LightCyan01
LightCyan01 merged commit 5e36cb7 into master Oct 8, 2026
6 checks passed
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