driggsby 0.9.1 → 0.9.3

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.
@@ -4,10 +4,10 @@
4
4
  // disallowed call never even reaches Driggsby.
5
5
  export const APP_TOOL_ALLOWLIST = new Set([
6
6
  "get_history",
7
+ "get_other_cash_flow_out",
7
8
  "get_overview",
8
9
  "list_accounts",
9
10
  "list_assets_and_liabilities",
10
- "list_findings",
11
11
  "list_investment_holdings",
12
12
  "list_outstanding_debts",
13
13
  "list_recurring_transactions",
@@ -3,7 +3,7 @@
3
3
  // answer its rare question, and undo it; and driggsby accounts list. Built for agents with
4
4
  // no Driggsby context: the file (or the ID Driggsby gives it) is the only
5
5
  // handle, repeating any command is safe, `--wait` never outlasts a coding
6
- // agent's command limit, and every output ends with the exact next command
6
+ // agent's command limit, and every output ends with the exact next step
7
7
  // (import-render.ts holds that contract).
8
8
  import { apiBaseUrl } from "../api/base-url.js";
9
9
  import { CliError } from "../cli-error.js";
@@ -1,8 +1,9 @@
1
1
  // What the import command prints. Every output follows one contract, so an
2
2
  // agent with no Driggsby context never has to guess: the first line says
3
3
  // where things stand ("Started:", "Waiting for an answer:", "Done:", ...)
4
- // and is never wrapped, and the last lines give the exact command to run
5
- // next, complete, with one command per answer when the person must choose.
4
+ // and is never wrapped, and the last lines give the exact next step: a
5
+ // complete command wherever one exists, one per answer when the person must
6
+ // choose, and otherwise what to do (email support at the limit).
6
7
  // Names Driggsby sends (a file, an account) print quoted and capped, so they
7
8
  // read as names and never as the CLI's own sentence.
8
9
  import { formatBytes } from "@driggsby/deploy";
@@ -80,11 +81,15 @@ function undoingLine(view) {
80
81
  : `Undoing: removing the transactions ${name(view.file)} added.`;
81
82
  }
82
83
  // Importing the file again, aimed where the first try was; a stop about the
83
- // account starts from the account list instead.
84
+ // account starts from the account list instead, and one at the limit from
85
+ // support, since running anything again would stop the same way.
84
86
  function rerun(view, options) {
85
87
  if (ACCOUNT_STOPS.has(view.stopped?.code ?? "")) {
86
88
  return `Next, to see your accounts and their IDs:\n ${CLI} accounts list\n`;
87
89
  }
90
+ if (view.stopped?.code === "limit_reached") {
91
+ return next("Email support@driggsby.com to keep importing.");
92
+ }
88
93
  const flags = accountFlags(options.rerun.account, options.rerun.create);
89
94
  if (options.rerun.file !== null && flags !== "") {
90
95
  return next(`${CLI} import ${options.rerun.file}${flags}`);
@@ -103,9 +103,11 @@ export const APP_JS = `// Your app's code. Edit anything — driggsby dev reload
103
103
  // over time (history_type is required:
104
104
  // "account_balances", "investment_holdings",
105
105
  // "liabilities", or "custom_items")
106
+ // get_other_cash_flow_out money out that isn't spending, for a week,
107
+ // month or year ({ period: "month",
108
+ // date: "2026-10-01" })
106
109
  // list_accounts current balances per linked account
107
110
  // list_assets_and_liabilities the full balance sheet, incl. manual items
108
- // list_findings issues Driggsby has flagged
109
111
  // list_investment_holdings current investment positions
110
112
  // list_outstanding_debts linked debts with balances and rates
111
113
  // list_recurring_transactions subscriptions, bills, and paychecks
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "driggsby",
3
- "version": "0.9.1",
3
+ "version": "0.9.3",
4
4
  "description": "Set up and build on Driggsby, the MCP server for personal finance.",
5
5
  "license": "Apache-2.0 AND OFL-1.1",
6
6
  "repository": {
@@ -30,7 +30,7 @@
30
30
  "node": ">=18"
31
31
  },
32
32
  "dependencies": {
33
- "@driggsby/deploy": "0.9.1",
34
- "@driggsby/sdk": "0.9.1"
33
+ "@driggsby/deploy": "0.9.3",
34
+ "@driggsby/sdk": "0.9.3"
35
35
  }
36
36
  }