Releases: SwiftedMind/monocle
Releases · SwiftedMind/monocle
1.6.0
1.5.0
Added
- Symbol search ranking + source labels:
monocle symbolnow prioritizes exact matches, labels results as project/package, and reduces noise from mangled/test-only symbols. - Symbol search filters and context: New flags
--exact,--scope,--prefer, and--context-linesadd exact matching, source filtering, ranking preference, and multi-line snippets.
1.4.0
Added
- Force-stop for hung daemons:
monocle stopnow force-stops unresponsive daemons (and--forceis available for explicit use). - Daemon PID visibility:
monocle statusnow shows the daemon PID to aid debugging and force-stop workflows. - Dependency type discovery for symbol search:
monocle symbolcan now surface type declarations from Swift package dependencies whenworkspace/symboldoes not return them (checked-out packages + targeted fallback).
Enhanced
- Daemon auto-start resilience: Auto-start is more robust against stale sockets and unresponsive daemons, and avoids spawning duplicate daemons during concurrent invocations.
- More reliable symbol warm-up:
monocle symbolretries during initial SourceKit-LSP warm-up so first-run “empty results” are less likely. - Faster repeated dependency searches: Dependency symbol lookups reuse daemon sessions, improving repeated query performance.
Fixed
- SourceKit-LSP crash recovery: Monocle now recovers more reliably from crashed/invalid SourceKit-LSP sessions by restarting and reopening documents as needed.
- Graceful daemon shutdown reliability: Daemon shutdown no longer blocks on long-running SourceKit-LSP shutdown sequences, preventing
monocle stoptimeouts. - Xcode
build_rootcheckout discovery:buildServer.jsonsetups that pointbuild_rootatDerivedData/.../Buildnow resolveSourcePackages/checkoutscorrectly.
1.3.0
Added
- Checked-out package listing: Added
monocle packagesto list all SwiftPM package checkouts for the current workspace, including each checkout folder path and (when present) the README path. For Xcode workspaces/projects this usesbuildServer.json’sbuild_rootto locate DerivedDataSourcePackages/checkouts; for pure SwiftPM packages it scans./.build/checkouts.
1.2.1
Fixed
- Enriched symbol search timeouts: monocle symbol --enrich no longer times out due to daemon socket request time limits; daemon requests now use operation-appropriate timeouts and the socket read timeout is enforced reliably.
1.2.0
Added
- Workspace option alias: Added
--projectas an alias for--workspaceto make workspace selection more discoverable across commands.
Enhanced
- Actionable build server setup guidance: Missing
buildServer.jsonerrors for Xcode workspaces/projects now include concrete next steps (includingxcode-build-serverexamples).
Fixed
- Explicit Xcode bundle handling: Passing an explicit
.xcodeprojor.xcworkspacepath no longer gets misclassified by workspace auto-detection. - Manifest path support: Passing a
Package.swiftpath now correctly resolves the workspace root for SwiftPM projects.
1.1.0
[1.1.0]
Added
- Workspace symbol search command: Added
monocle symbolto query workspace symbols with a configurable limit and optional enriched output via the CLI and daemon.
1.0.5
chore(version): use generated tool version constant
1.0.4
Changes
- Improve release pipeline to automatically inject the correct version string into the cli code
1.0.3
Changes
- Improved
README.md