@fuzzle/opencode-accountant 0.0.3 → 0.0.4

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -15083,17 +15083,17 @@ function updateJournalWithPrices(journalPath, newPriceLines) {
15083
15083
  `);
15084
15084
  }
15085
15085
  var update_prices_default = tool({
15086
- description: "ACCOUNTING AGENT ONLY: Fetches end-of-day prices for all tickers (BTC, EUR, USD in CHF) and appends them to the corresponding price journals.",
15086
+ description: "ACCOUNTANT AGENT ONLY: Fetches end-of-day prices for all tickers (BTC, EUR, USD in CHF) and appends them to the corresponding price journals.",
15087
15087
  args: {
15088
15088
  backfill: tool.schema.boolean().optional().describe("If true, fetch all available history from 2025-12-31")
15089
15089
  },
15090
15090
  async execute(params, context) {
15091
15091
  const { directory, agent } = context;
15092
15092
  const { backfill } = params;
15093
- if (agent !== "accounting") {
15093
+ if (agent !== "accountant") {
15094
15094
  return JSON.stringify({
15095
- error: "This tool is restricted to the accounting agent only.",
15096
- hint: "Use: Task(subagent_type='accounting', prompt='update prices')",
15095
+ error: "This tool is restricted to the accountant agent only.",
15096
+ hint: "Use: Task(subagent_type='accountant', prompt='update prices')",
15097
15097
  caller: agent || "main assistant"
15098
15098
  });
15099
15099
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fuzzle/opencode-accountant",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "An OpenCode accounting agent, specialized in double-entry-bookkepping with hledger",
5
5
  "author": {
6
6
  "name": "ali bengali",