tabglutton-gullet 0.5.1 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gullet.js +2 -2
- package/package.json +1 -1
package/dist/gullet.js
CHANGED
|
@@ -1102,7 +1102,7 @@ async function runDetachedHub(options) {
|
|
|
1102
1102
|
}
|
|
1103
1103
|
|
|
1104
1104
|
// src/version.ts
|
|
1105
|
-
var GULLET_VERSION = "0.5.
|
|
1105
|
+
var GULLET_VERSION = "0.5.2";
|
|
1106
1106
|
|
|
1107
1107
|
// src/backend.ts
|
|
1108
1108
|
var ELECTION_RETRY_MS = 400;
|
|
@@ -2523,7 +2523,7 @@ var GULLET_TOOLS = [
|
|
|
2523
2523
|
{
|
|
2524
2524
|
name: "tab_clip",
|
|
2525
2525
|
title: "File a tab as a markdown note",
|
|
2526
|
-
description: "Save a tab as a markdown note with frontmatter \u2014 exactly what the Tabglutton popup's Devour does, including per-site subfolders. Where it lands is the user's setting, not your choice: their Obsidian vault, a markdown file in their download folder, or \u2014 for a paper, see below \u2014 their Zotero library. The result says which under `destination`, with `file` giving the note path \u2014 vault-relative for Obsidian, the absolute path on disk for a file \u2014 and `vault` naming the vault when there is one. Set close: true to close the tab afterwards; that close is undoable via the returned batchId. Filing alone changes nothing in the browser \u2014 the tool is annotated destructive because close: true removes the tab.\n\nA user who has switched on **Route papers to Zotero** gets a third destination, and it is chosen per tab rather than per user: if the
|
|
2526
|
+
description: "Save a tab as a markdown note with frontmatter \u2014 exactly what the Tabglutton popup's Devour does, including per-site subfolders. Where it lands is the user's setting, not your choice: their Obsidian vault, a markdown file in their download folder, or \u2014 for a paper, see below \u2014 their Zotero library. The result says which under `destination`, with `file` giving the note path \u2014 vault-relative for Obsidian, the absolute path on disk for a file \u2014 and `vault` naming the vault when there is one. Set close: true to close the tab afterwards; that close is undoable via the returned batchId. Filing alone changes nothing in the browser \u2014 the tool is annotated destructive because close: true removes the tab.\n\nA user who has switched on **Route papers to Zotero** gets a third destination, and it is chosen per tab rather than per user: if the page carries citation data (the `citation_*` tags arXiv, OpenReview, journals and proceedings publish), the paper is saved to their Zotero library with its PDF instead of being written as a note, and the result says `destination: \"zotero\"` with no `file` and no `vault`; `pdf` says whether the PDF was attached (`attached`, `none` when the page names none, or `failed` with `pdfNote` saying why \u2014 the item is saved either way). That is the same routing the popup does, so a backlog you clear lands where their own clicks would have put it. Passing `vault` turns it off for that one call. If the page cannot be read or Zotero cannot take the paper, the call fails with `zotero-failed` and the tab is left open \u2014 it is never quietly filed into Obsidian instead.\n\nNo tab is closed over a clip nobody could confirm, and `confirmedBy` says whose word it rests on:\n\u2022 `\"browser\"` \u2014 the file destination with the browser seen to finish writing the file, or the Zotero destination with the item read back from their library after it was written. Nothing checks either further because nothing is better placed to.\n\u2022 `\"gullet\"` \u2014 Obsidian destination, and a fresh note for this page was found in the vault. With a `contentHash` in the result that note is this exact clip's text, so it holds even against another agent session clipping the same URL at the same moment; without one it means only \"a fresh note for this page landed just now\".\n\u2022 `\"nobody\"` \u2014 nobody could check. For Obsidian that is an unreadable or unknown vault: the clip was still handed over, and the close, if asked for, still happened. For a file it means the browser had already erased the download's record, so there is no proof and no `file` path either \u2014 that tab is deliberately left open, with `closeSkipped` saying so. Check the download folder before re-clipping; the note may well be there.\n\nAn Obsidian clip that provably never reached the vault, or that found a note whose text is not the one handed over, is reported as an error with the tab left open.",
|
|
2527
2527
|
inputSchema: {
|
|
2528
2528
|
type: "object",
|
|
2529
2529
|
properties: {
|