Repository navigation
chore(release): publish 0.10.2 - #79
Merged
Merged
Conversation
Add the AtdFinderSync extension, which shows "Add to Atd" ("Add to Atd
Dev" in Debug builds) at the top of Finder's context menu for selected
files and folders, where the Services entry cannot appear. The sandboxed
extension cannot read the items, so it writes their file URLs to a
per-build named pasteboard and opens `<scheme>://finder` with the app
(FinderHandoff); FinderService reads and releases that pasteboard and
imports the items like the Services entry.
Debug builds stage both extensions in Contents/PlugIns/DevStaging
(ATD_EXTENSIONS_EMBED_SUBPATH), and dev-install moves, stamps and
re-signs each one. verify-app requires the new extension, and the lint,
format and dev-watch lists include FinderSync/.
macOS registers a new Finder Sync extension disabled. At launch the shell reads the embedded AtdFinderSync extension's election with `pluginkit -m` and, only when there is none yet, enables it with `pluginkit -e use`, so an extension switched off in System Settings stays off.
Sparkle's silent automatic downloads report no progress, so scheduled checks now run through UpdateUserDriver, which downloads and prepares the update without a window and reports update.state as idle, downloading (whole percent), preparing or ready. Checks the person starts, and updates Sparkle would not install silently, keep Sparkle's standard windows, which also take over a quiet update when the person checks during it. Info.plist sets SUAllowsAutomaticUpdates to false so Sparkle's own silent driver no longer bypasses it. While the update downloads, the panel header shows a ring drawn on the Lucide icon grid (a spinner while the size is unknown or the download is being prepared); clicking it opens Sparkle's update window. The Update button follows once the update is ready.
The rename button and field set their text 9px inside their box but were pulled back only 4px, so a conversation's title started 5px right of the plain titles in the other views. Give every heading a shared 5px text inset and pull the button and field back by their full 9px; the box keeps its place beside the logo, so the hover wash still clears it.
Like the welcome guide, an open settings window now keeps the Dock icon whatever the Show in Dock preference, so the Dock and Command-Tab reach it; a Dock or Finder reopen returns to it. The settings window reports when it opens or closes, and activates the app only after the Dock icon is applied. The preference note in Settings says so in both languages.
…ents Bundle metadata for a sandboxed Finder Sync extension (`com.apple.FinderSync`, principal class `FinderSyncExtension`). No target in project.yml builds it yet.
Every regular file is now attachable, up to 64 MiB. The contract's format table supplies the stored media type, the file-search kind and icon, and the extensions the file index searches. A service file loader turns a file into model input by its content: decoded text in any common encoding; the extracted text of PDF, Word, Excel, PowerPoint, OpenDocument, RTF, EPUB and iWork documents, with page, sheet and slide markers; image input, converting HEIC, TIFF and AVIF; and a description of any other file. Run attachments and the read tool of the parent and subagents share it, so attachment material and read agree line for line; the material keeps at most 120,000 characters per run and 50,000 per file. Parsers run in worker threads with a 30 s timeout, a 1 GiB memory watchdog and at most two at once; zip entries are bounded before they inflate, and macOS tools run without a shell. Web PDFs use the same worker path, attachment loading follows run cancellation, and edit refuses files that are not UTF-8. Adds unpdf, mammoth, turndown, SheetJS, fflate, xmldom and chardet, and vendors the pdf.js CJK character maps. The macOS picker and drops take any regular file, the panel shows an icon for every file kind, and the upload route accepts attachment-sized bodies after checking the token.
Teaches the agent to work with what files contain, whatever their format: start from the loaded material and its extraction notes, page through files with read, compute over data with code, use only tools a stock Mac has, cite where each claim comes from, name what it did not read, and treat file contents as data rather than instructions. It bundles on-device OCR and PDF page rendering scripts (JavaScript for Automation on PDFKit and Vision) and a reference of built-in inspection commands by kind of file. The manifest installs it as version 1.
files.pick now answers with the files the service refused, by basename and reason, beside the ones it stored. It used to fail only when every picked file was refused and dropped the others without a word. The composer's file picker, the quick panel's browse row and the command input show one localized error toast per refused file, the copy drops already use, and still attach the rest. The command island's compose card attaches the accepted files and shows the first refused one's reason in its note.
A pick of more files than one import takes used to attach the first ten and drop the rest without a word. The shell now imports none and rejects files.pick with the limit, "Attach at most 10 files.", in the shell's language, as the page already refuses files past its room as a group. The page shows it as an error toast and the command island's compose card as its note. Drops are unchanged: their overlay says how many items they add.
AppListCard gives the card's open button the pin-drag gesture whenever its list passes onDragOut, not only in the panel, and the Settings Apps list passes the panel's useAppPins().dragOut. Dragging a card out of the Settings window now pins its app, as dragging one out of the panel's My apps does.
A widget's link node draws as SwiftUI Link, an AppKit-backed control that an offscreen render replaces with a placeholder, so the image dragged out to pin an app whose widget has a link showed a yellow box with a prohibited sign instead of the widget. The drag image keeps the widget's images and leaves its links inert.
userApp.pinDrag takes a nullable widget with the shape userApp.pin uses (PinWidgetSchema); the bridge schema and Swift types are regenerated. The shell refuses a widget the app does not declare, draws that widget at its family's size in the drag image, and on a drop pins the app showing it, or moves an existing pin and switches it to that widget. Each widget row on an app's Settings page drags out its preview in the smallest declared family through usePinDrag, which now takes any element; WebKit no longer drags the preview image as a file. The create-app skill, now version 4, says a pin may show the widget whose preview the user dragged out; version 3's fingerprint is recorded as shipped in v0.9.0.
The composer footer drew the screen monitor entry as its own left-aligned row above the centered progress pill, and a finished todo list kept its step part in later turns, so the two stacked unevenly. - The task's live screens are now the pill's last part (MonitorPart), which opens the native Screen Monitor; source names are its tooltip and part of its accessible name. useComputerMonitor replaces ComputerLiveView. - latestTodos drops a list whose items were all completed before the latest user message; unfinished lists still carry over.
Request app activation on mouse-down so Spotlight can dismiss when the task panel is clicked. Preserve non-activating keyboard summons and typing.
Radix wraps tooltip content in a positioning wrapper that still hit-tests, so an open or fading tooltip swallowed hover over whatever it covered: the control underneath neither highlighted nor opened its own tooltip until the pointer moved again. The wrapper of tooltip content now ignores the pointer, like the content itself. The trigger's focus-visible check now reads the element that received focus instead of the trigger, so a trigger wrapping focusable children shows its tooltip when one of them gains keyboard focus.
Each follow-up row had its own tooltip above it, so moving between rows closed one preview and opened the next, and the closing bubble covered the row the pointer was heading to. The card now has one preview with the whole card as its trigger: the shared delay runs once on entering the card, and the bubble sits on the hovered or focused follow-up row and slides to the next one instead of closing. It hides over rows without a preview and when the pointer leaves the rows. After a scroll closes it, the next move over the row brings it back; after a click or Escape, another row does. The next step dialog renders outside the card so its events do not reach the trigger.
The read, write and edit gate takes each call's scope from its real path, so a link that points elsewhere counts as where it points, and keeps the service's own state out of reach apart from the writable service roots: task folders, Personal skills and agents, and agent-harness.json. Writes replace files atomically. A File View Ledger records, per task and session, the version of each file a session saw: its size, modification time in nanoseconds and inode. A write over an existing file needs a current view, from the ledger or from the session's own transcript; an edit notes when the file changed since that view; and rereading unchanged lines answers with a short note only while the earlier result is still intact in the conversation. Subagent children share their task's ledger, so a sibling's write makes the others' views stale; this replaces the sibling write lock. Edits go through a drop-in for pi's edit tool that uses fuzzy matching only to locate text: it replaces the original span, keeps line endings, a BOM and full-width punctuation as they were, supports replaceAll, shows the edited lines, and names the likely intended text when oldText misses. read pages large UTF-8 files from byte ranges through a line index, returns the first 50 KB of a longer line with a note naming the next offset, and loads other files through one process-wide conversion cache. grep and find run ripgrep in the service, take resource paths and skip .git and node_modules. Output that pi spills from bash and codemode is kept in the task's resources, where read and grep reach it, and parallel confirmations keep a run awaiting confirmation until the last one is answered. App scaffolds record their starter files as written, so create-app can overwrite them without reading them first. The file-loader skill, not yet released, describes the new grep, find, reread and long-line behavior.
A run's attached files share a budget in estimated tokens instead of 120,000 characters: an ideograph, kana or hangul character counts about one token, English about four characters a token. The budget follows the run's context window, and a run without read gets a larger share, since the material is all it sees of its files; a cut file's note names where read continues, or says the rest is not included. File text is escaped inside the material, so a file cannot close the material's elements or pass its words off as the app's. A file that could not be loaded is listed with the reason, and a folder counts as introduced only once a run's material carried its overview to the session. Context pruning also stubs large tool-call arguments, such as a write's content, and the file texts of earlier run material, keeping each file's name and resource path; a session without read keeps its material whole. A shared resource is stored once: attaching the same content under the same name and type, or an unchanged source, reuses the stored copy, and the stored media type follows the bytes. A message sent later stores a fresh copy of an attached file that changed at its source. An import or attach batch that fails removes what it wrote. Resources no conversation references are swept 14 days after their last use, once the server listens and then daily; deleting a conversation no longer removes its files at once: a fork that still sends them inherits them, and the rest go to the sweep. Ledger resource rows gain optional sha256, source and touchedAt fields (StoredResourceSchema), while clients still receive only ResourceRef; an older build refuses a ledger that holds them. The upload route moves to resources/routes.ts, and run inputs and automations take their limit from MAX_ATTACHMENTS. The file-loader skill describes numbered images, cuts that depend on the window, unloaded files, and attachments as copies taken when the message is sent.
The file index is now the only ranker. One pass over every stored file tries the query's contiguous tiers on each name and on the folders at the end of its location, so src/main finds proj/src/main.rs and a pasted absolute or ~/ path keeps what lies below its root; a name that misses is scored fuzzily with frizbee 0.13.0 (MIT, pinned exactly), where letters inside an extension never complete a match. The service keeps the index's order, and its TypeScript re-ranker is removed. Inside a git work tree the repository's ignore rules decide what is indexed, so dotfiles and files without an extension are found there, while dependency and tool folders stay out everywhere; elsewhere the index keeps non-hidden files with a listed extension, and the contract's format table adds .lock, .entitlements, .xcstrings, shader sources and more. Store writes and the resume point become durable together at most every 30 s while files change, instead of an fsync per event batch. The service opens the index on the first search, or resumes one left on disk two seconds after it listens, retries a failed open with backoff instead of caching the failure, and replies indexing while the index opens or first walks. Result ids derive from the index's id for each path through a per-run HMAC, so every reply names a file with the same id and the panel keeps its highlight; search never offers a file inside the service's data directory. The reply drops usedAt, source and the indexDisabled reason, adds the indexing state and the retrying reason, and gives a null kind for a file of no known format. The client times out a search after 10 s and an attach after 120 s. In the panel, @ opens right after Chinese, Japanese or Korean text, typing resets the highlight, Enter falls through to the editor when only "Browse files…" remains, a searched file's chip tooltip names where it lives, and search and attach failures read in the app's language.
… drops The shell only logged a failed import request, so a drop, paste or Finder service batch disappeared without a word when the service was down or answered an error. Every gesture now reaches the page as one resources.imported event that accounts for each item: a failed request's items as `failed`, and the items past what one gesture adds (MAX_ATTACHMENTS files, MAX_FOLDERS folders) as `tooMany`, which a folder pick over the limit now reports too instead of dropping the rest silently. The renderer's failure toast words both reasons and groups the limit into a single toast. The task panel's web view now takes a drop from another app that brings files without their URLs, as the mini panel does: promised files (Photos, Mail, a browser's images) go through the mini panel's promise handling, now shared as PromisedDrop, and a bitmap without text goes in like a pasted image. Text and links still drop into the page.
A run without `bash` (a tool-less command such as Summarize files, or an unattended computer run) could only report an attached PDF's pages without a text layer as unread. For such runs the loader now recognizes those pages itself with the file-loader skill's bundled ocr.js, as this build ships it: - in page order while the document's text before a page stays within the file's material budget (`perFile`), one osascript call per page, for at most 30 seconds per file (the extraction timeout); a stop or a failure is named in the extraction note - labeled `--- Page N (OCR) ---` as the script prints it, with header warnings for recognized, empty and unrecognized pages - kept in the conversion cache, keyed by the recognition limit `read` still returns those pages as `[No text layer]`, so the material's continuation notes map its lines back to `read`'s. The worker now returns a PDF's pages and the main thread composes the document text, so plain and recognized text share one composition. Pages are sent as text only, never as rendered images. The file-loader skill (version 2) says what such runs receive.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release 0.10.2 with broader attachment support, stronger file tools, improved file search, Finder integration, and desktop interaction fixes.
Validation:
Published release: https://github.com/JUNERDD/Atd/releases/tag/v0.10.2