@slothmoney/agent-cli 0.21.0 → 0.21.1
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/CHANGELOG.md +7 -0
- package/README.md +12 -1
- package/dist/cli.js +7 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.21.1 - 2026-08-29
|
|
4
|
+
|
|
5
|
+
- Clarify in portfolio, current budget status, and transaction help that a
|
|
6
|
+
completed eligible refresh updates the configured Budget balance audit.
|
|
7
|
+
- Explain that a same-day cached read reuses fresh bank data without adding
|
|
8
|
+
another audit checkpoint.
|
|
9
|
+
|
|
3
10
|
## 0.21.0 - 2026-08-28
|
|
4
11
|
|
|
5
12
|
- Add `scenarios` commands to list, create, update, activate, and delete the
|
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ sloth-agent --version
|
|
|
15
15
|
For a one-off pinned run:
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
|
-
npm exec --yes --package=@slothmoney/agent-cli@0.21.
|
|
18
|
+
npm exec --yes --package=@slothmoney/agent-cli@0.21.1 -- sloth-agent --help
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
## Authenticate
|
|
@@ -449,6 +449,10 @@ nonnegative `moneyInPence` and `moneyOutPence` plus their difference as
|
|
|
449
449
|
custom categories are normal rows. A transaction with no category at all is
|
|
450
450
|
reported separately under `activity.uncategorized`.
|
|
451
451
|
|
|
452
|
+
A completed current-period refresh updates the Budget balance audit for any
|
|
453
|
+
configured backing accounts. A same-day cached read does not add another audit
|
|
454
|
+
checkpoint.
|
|
455
|
+
|
|
452
456
|
`budget` contains assigned, spent, and available category amounts when a
|
|
453
457
|
trustworthy period plan exists. It is `null` when it does not; activity still
|
|
454
458
|
returns. The response includes only the period budget currency and silently
|
|
@@ -648,6 +652,9 @@ planning only. It does not change account ownership, transaction access, Goal
|
|
|
648
652
|
funding, or who can move money. Totals use the viewer's budget currency and
|
|
649
653
|
exclude other native currencies without converting them.
|
|
650
654
|
|
|
655
|
+
A completed balance refresh updates the Budget balance audit for any configured
|
|
656
|
+
backing accounts. A same-day cached read does not add another audit checkpoint.
|
|
657
|
+
|
|
651
658
|
Archive an owned manual account. The account disappears from active Sloth
|
|
652
659
|
surfaces, but its underlying records are retained. Repeating an applied removal
|
|
653
660
|
is safe and returns `changed: false`.
|
|
@@ -819,6 +826,10 @@ a structured `refresh` object:
|
|
|
819
826
|
}
|
|
820
827
|
```
|
|
821
828
|
|
|
829
|
+
A completed refresh also updates the Budget balance audit for any configured
|
|
830
|
+
backing accounts. A same-day cached read reuses the existing data and does not
|
|
831
|
+
add another audit checkpoint.
|
|
832
|
+
|
|
822
833
|
Re-run the transaction query later to observe the completed refresh. A partial
|
|
823
834
|
account failure remains eligible for an automatic retry.
|
|
824
835
|
|
package/dist/cli.js
CHANGED
|
@@ -6,7 +6,7 @@ import { ICON_KEYS } from './category-metadata.js';
|
|
|
6
6
|
import { parseApiResponse, parseAssignmentOperationResponse, toLegacyAssignmentResponse, validateAssignmentPayload, validateBudgetMovementResponse, validateBudgetUpdatePayload, validateNotificationRulePayload, validateReceiptConfirmation, } from './contracts.js';
|
|
7
7
|
import { createSystemCredentialStore, secureStorageUnavailableError, } from './credential-store.js';
|
|
8
8
|
import { ApiError, CliError, ConfigError, UsageError, } from './errors.js';
|
|
9
|
-
export const CLI_VERSION = '0.21.
|
|
9
|
+
export const CLI_VERSION = '0.21.1';
|
|
10
10
|
const REQUEST_TIMEOUT_MS = 60_000;
|
|
11
11
|
const MAX_CONTRACT_PDF_BYTES = 6_000_000;
|
|
12
12
|
const API_ORIGIN_HELP_LINES = [
|
|
@@ -469,6 +469,8 @@ export function portfolioHelpText() {
|
|
|
469
469
|
'',
|
|
470
470
|
'Access:',
|
|
471
471
|
' This read-only command waits up to 45 seconds for eligible linked balances to refresh.',
|
|
472
|
+
' A completed refresh updates the Budget balance audit for configured backing accounts.',
|
|
473
|
+
' A same-day cached read does not add another audit checkpoint.',
|
|
472
474
|
' Partner shows only balances or holdings your partner explicitly shared.',
|
|
473
475
|
' Household combines your accounts with those shared balances and deduplicates joint accounts.',
|
|
474
476
|
' Shared data supports planning only. It does not assign partner accounts to Goals or change ownership.',
|
|
@@ -533,6 +535,8 @@ export function budgetStatusHelpText() {
|
|
|
533
535
|
'Access and freshness:',
|
|
534
536
|
' This command is read-only, requires agent:read, and never changes the budget.',
|
|
535
537
|
' Current periods use the normal transaction refresh policy; historical periods are cache-only.',
|
|
538
|
+
' A completed refresh updates the Budget balance audit for configured backing accounts.',
|
|
539
|
+
' A same-day cached read does not add another audit checkpoint.',
|
|
536
540
|
' A historical response returns refresh as null.',
|
|
537
541
|
'',
|
|
538
542
|
'Output:',
|
|
@@ -654,6 +658,8 @@ export function transactionsHelpText() {
|
|
|
654
658
|
' --end-date must not be before --start-date.',
|
|
655
659
|
' The first transaction read each UTC day may refresh linked bank data.',
|
|
656
660
|
' Refresh remotely persists booked transactions and account balances.',
|
|
661
|
+
' A completed refresh updates the Budget balance audit for configured backing accounts.',
|
|
662
|
+
' A same-day cached read does not add another audit checkpoint.',
|
|
657
663
|
' The command waits up to 45 seconds, then returns cached data if refresh continues.',
|
|
658
664
|
'',
|
|
659
665
|
'Output:',
|