@scribed/cli 0.1.19 → 0.1.21

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 CHANGED
@@ -503,6 +503,57 @@ Async work (meeting/YouTube transcriptions, automation runs) returns an id immed
503
503
 
504
504
  Four internal chat helpers are excluded from the CLI and MCP: `web_search`, `attachment_list`, `attachment_save_to_vault`, and `tool_discover`. External clients use `tools list` for discovery and the shared `agent_session_attachments_list` / `agent_session_attachment_save_to_vault` tools with an explicit session id.
505
505
 
506
+ ## Financial evidence and tax preparation
507
+
508
+ The `connected-apps` category includes `financial_connections_status`,
509
+ `financial_read`, `financial_read_export`, `financial_write` and
510
+ `financial_disconnect`. Connect Brex, QuickBooks, Puzzle or Stripe in Scribed's
511
+ Settings → Integrations first; provider credentials never belong in a CLI
512
+ argument or chat. Stripe financial reads use your own restricted or secret API
513
+ key independently of the workspace's Stripe Connect payment tools.
514
+
515
+ Read status to discover the actual supported actions and current
516
+ `connectionVersion`, then use `scribed tools show financial_read` for filters.
517
+ Stripe supports account, balance, balance transactions, charges, refunds and
518
+ payouts. List windows use Unix seconds with `createdGte` inclusive and
519
+ `createdLt` exclusive; `startingAfter` is the last returned item ID when
520
+ `has_more` is true. Creation dates need separate reconciliation to bank posting
521
+ and payout arrival dates.
522
+
523
+ `financial_read_export` uses the same arguments plus a new private Vault
524
+ `.json` path. It saves one raw provider page and source metadata server-side,
525
+ returns its SHA-256 and pagination, and never overwrites a file. It requires
526
+ write scope because it creates a file; `financial_read` remains read-only.
527
+ Keep every page and a coverage manifest before deriving annual or quarterly
528
+ schedules. The shared agent/MCP guidance separates card settlements and Stripe
529
+ payouts from expenses and sales, keeps unresolved reimbursements and loan
530
+ allocations visible, and maps supporting schedules to a supplied draft form.
531
+ An accountant package does not file a return or share private records with a
532
+ workspace. All financial tools are interactive and unavailable to Runs.
533
+
534
+ Shared financial records belong in the workspace's **Financials** table. Discover
535
+ it through `objects_sources_list` and `objects_types_list` (`source: financials`),
536
+ then use `financials_entries_list`, `financials_entries_import` and
537
+ `financials_entry_review`. Imports require an explicit workspace and authorized
538
+ sharing scope, with evidence already copied to that workspace's Drive. Drive
539
+ files follow the Drive audience independently of manager-only Financials access;
540
+ this path does not provide manager-only evidence storage. Preserve the source
541
+ identity, exact original amount/units and review status. Generic collection writes
542
+ cannot edit Financials, and tax preparation must not create a parallel ledger.
543
+ Read one entry with `financials_entry_get` before an authorized
544
+ `financials_entry_correct`; corrections preserve source identity, require the
545
+ current version and retain history in `financials_entry_events`. Statement and
546
+ reconciliation inputs have typed periods, basis and exact decimal metrics;
547
+ computed closing balances and differences remain unknown when inputs are missing.
548
+
549
+ Derive CSV, Excel and PDF snapshots from saved, reviewed Financials records:
550
+ `objects_records_export` exports the authorized slice, `vault_office_create`
551
+ creates a real XLSX that `vault_office_read/edit` can verify and update, and
552
+ Documents tools draft, save and export the exact accepted revision to PDF/DOCX.
553
+ Use Financials saved views with workspace page block tools for live page tables.
554
+ Report period, basis, currency, source IDs, exclusions and missing coverage in
555
+ each output. Generated files do not replace Financials as the source of truth.
556
+
506
557
  ## Agent integrations
507
558
 
508
559
  Use Scribed in **Claude Code, Codex, and Cursor**. Choose any combination; each
@@ -700,3 +751,29 @@ behavior. The command has fixture tests; running it against a chosen deployment
700
751
  is a separate verification step.
701
752
 
702
753
  For large Personal Notes boards, use `account_notes_list` and `account_note_get`; received shares use `account_notes_shared_list` and `account_note_shared_get`. Confirmed `account_note_create`, `account_note_update` and `account_note_delete` carry the exact board revision and preserve unrelated notes on the server. Never send a partial or truncated board to `account_notes_set`.
754
+
755
+
756
+ ### Living knowledge
757
+
758
+ The shared `knowledge_base_*` tools read and manage the account's personal base
759
+ or one explicitly selected workspace. They are available in the default MCP
760
+ catalog and through `scribed call`:
761
+
762
+ ```sh
763
+ scribed call knowledge_base_status scope=account
764
+ scribed call knowledge_base_manifest scope=workspace workspaceId=<workspace-id> audience=private
765
+ scribed call knowledge_base_search scope=account query="current priorities"
766
+ scribed call knowledge_base_file scope=account revision=3 path=README.md
767
+ ```
768
+
769
+ Copy the returned revision and cursor/offset for subsequent pages. File reads
770
+ return Markdown chunks; exports return paginated JSON containing complete
771
+ Markdown files and metadata. Preserve partial coverage and original source
772
+ permissions. Knowledge settings, updates, corrections, cancellation and rollback
773
+ require explicit confirmation; updates may incur the configured AI usage cost.
774
+ A million-token output budget is spread across many steps and files.
775
+
776
+ Brain Build's local computer knowledge is separate. External AI can query its
777
+ native local MCP server; the Scribed private device relay is not exposed through
778
+ this CLI or hosted MCP. Connecting a device requires approval in Settings and in
779
+ the native Brain Build app.