ticketlens 0.21.6 → 0.21.7
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/README.md +5 -1
- package/package.json +1 -1
- package/skills/jtb/scripts/lib/help.mjs +1 -0
package/README.md
CHANGED
|
@@ -403,7 +403,9 @@ Every note is scanned before saving — anything shaped like a real secret (API
|
|
|
403
403
|
|
|
404
404
|
**Team sync:** on a Team plan with Recall enabled for your account (owner-managed, per-tier or per-client), notes also sync to your team's shared pool — `note add` pushes in the background, `recall` pulls the team's notes (cached 4h) before searching. A team manager reviews and verifies incoming notes at `console/admin/recall` before they're marked trusted. Without Team Recall entitlement, everything stays on your machine — no network call.
|
|
405
405
|
|
|
406
|
-
**Offline resilience:** if a team push fails for a transient reason (network error, timeout, or a 5xx from the backend), the note stays safely in your local vault and is queued for retry — nothing is lost. The queue flushes automatically in the background (at most once every 15 minutes,
|
|
406
|
+
**Offline resilience:** if a team push fails for a transient reason (network error, timeout, or a 5xx from the backend), the note stays safely in your local vault and is queued for retry — nothing is lost. The queue flushes automatically in the background (at most once every 15 minutes) before every command, not just `recall`/`note add` — a short 4s timeout on that check means it never stalls an unrelated command — or on demand with `ticketlens recall sync`. A session-expired (401) or not-entitled (403) push is never queued — those need you to act (`ticketlens login`, or an owner grant), not a retry. Queued entries expire after 30 days and are capped at 200; switching accounts never flushes a note under the wrong login.
|
|
407
|
+
|
|
408
|
+
**Removing a note:** `ticketlens note delete --id="..." [--ticket=KEY]` removes a note from your local vault. Local only — if it was already pushed to a team, teammates who pulled it keep their copy; deleting it there too is a manager action from the Console (Admin > Recall).
|
|
407
409
|
|
|
408
410
|
`note add`'s save confirmation and `recall`'s search results are styled by default in a terminal; add `--plain` to either for bare, pipe-safe output. `recall` always shows each note's file ID (e.g. `[1784135399545-fe01c4.md]`) so you can open it directly (`cat ~/.ticketlens/recall/<PREFIX>/<id>`), or pass `--full` to print the full body content inline instead.
|
|
409
411
|
|
|
@@ -678,6 +680,7 @@ ticketlens history <TICKET-KEY> # Show urgency timeline for a tick
|
|
|
678
680
|
|
|
679
681
|
# ── Recall ────────────────────────────────────────────────────────────────────
|
|
680
682
|
echo "note body" | ticketlens note add --title="..." --ticket=CNV1-2 --tags=a,b # Save a note [Pro]
|
|
683
|
+
ticketlens note delete --id="..." --ticket=CNV1-2 # Remove a note from your local vault [Pro]
|
|
681
684
|
ticketlens recall CNV1-2 # Search saved notes by ticket key [Pro]
|
|
682
685
|
ticketlens recall "retry backoff" # Free-text search across all notes [Pro]
|
|
683
686
|
ticketlens recall sync # Retry any notes stuck in the local queue [Pro]
|
|
@@ -758,6 +761,7 @@ ticketlens triage --stale=3 # Custom stale threshold (default is 5)
|
|
|
758
761
|
ticketlens triage --digest # POST scored triage results to digest endpoint
|
|
759
762
|
ticketlens schedule # Set up a scheduled daily digest
|
|
760
763
|
ticketlens note add --title="..." # Save a Recall note (body from stdin)
|
|
764
|
+
ticketlens note delete --id="..." # Remove a note from your local vault
|
|
761
765
|
ticketlens recall <query|TICKET-KEY> # Search your saved Recall notes
|
|
762
766
|
ticketlens recall sync # Retry any notes stuck in the local queue
|
|
763
767
|
ticketlens activate YOUR-LICENSE-KEY # Activate Pro license
|
package/package.json
CHANGED
|
@@ -46,6 +46,7 @@ export function printHelp({ stream = process.stdout } = {}) {
|
|
|
46
46
|
` ${s.brand('ticketlens')} history ${s.dim('<TICKET-KEY>')} Urgency timeline for a ticket ${s.dim('[Pro]')}`,
|
|
47
47
|
` ${s.brand('ticketlens')} stats ${s.dim('[options]')} Personal response-time metrics from local history`,
|
|
48
48
|
` ${s.brand('ticketlens')} note add ${s.dim('--title=... [--ticket=KEY]')} Save a Recall note ${s.dim('[Pro]')}`,
|
|
49
|
+
` ${s.brand('ticketlens')} note delete ${s.dim('--id=... [--ticket=KEY]')} Remove a note from your local vault ${s.dim('[Pro]')}`,
|
|
49
50
|
` ${s.brand('ticketlens')} recall ${s.dim('<query|TICKET-KEY>')} Search your saved Recall notes ${s.dim('[Pro]')}`,
|
|
50
51
|
'',
|
|
51
52
|
` ${s.brand('ticketlens')} delete ${s.dim('<PROFILE-NAME>')} Remove a profile`,
|