jivamai 0.2.36-dev.c7bbbcf → 0.2.36

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 (31) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +2 -1
  3. package/dist/assets/index-Bq6UOGmB.js +31 -0
  4. package/dist/assets/index-Cfzu38a9.css +10 -0
  5. package/dist/index.html +2 -2
  6. package/dist-server/chunks/app-DNYAHEnW.js +1 -0
  7. package/dist-server/chunks/backend-native-BlXcWjt7.js +1 -0
  8. package/dist-server/chunks/check-KwFGS2Fa.js +1 -0
  9. package/dist-server/chunks/commands-CUHqy1PF.js +1 -0
  10. package/dist-server/chunks/index-nCPpcLyu.js +1 -0
  11. package/dist-server/chunks/install-Dd5b-rb-.js +1 -0
  12. package/dist-server/chunks/instance-BsDjdWuj.js +1 -0
  13. package/dist-server/chunks/paths-B8XrpV_S.js +1 -0
  14. package/dist-server/chunks/serve-child-0j072gTx.js +1 -0
  15. package/dist-server/chunks/ui-ChZTun__.js +1 -0
  16. package/dist-server/chunks/window-Cw0ev1FV.js +1 -0
  17. package/dist-server/index.js +1 -1
  18. package/package.json +1 -1
  19. package/dist/assets/index-1ZcNUJ0O.css +0 -10
  20. package/dist/assets/index-BK6gq9rb.js +0 -31
  21. package/dist-server/chunks/app-CXQQ6hHS.js +0 -1
  22. package/dist-server/chunks/backend-native-Dj352u3M.js +0 -1
  23. package/dist-server/chunks/check-D7aUR-SU.js +0 -1
  24. package/dist-server/chunks/commands-MvsiDddI.js +0 -1
  25. package/dist-server/chunks/index-CjfN0QTq.js +0 -1
  26. package/dist-server/chunks/install-Ch0qxKHk.js +0 -1
  27. package/dist-server/chunks/instance-BADgDWpI.js +0 -1
  28. package/dist-server/chunks/paths-KxvtfAeM.js +0 -1
  29. package/dist-server/chunks/serve-child-Zkk16R02.js +0 -1
  30. package/dist-server/chunks/ui-l7dxL6bL.js +0 -1
  31. package/dist-server/chunks/window-CiskRr8J.js +0 -1
package/CHANGELOG.md CHANGED
@@ -8,6 +8,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
8
8
 
9
9
  ## [Unreleased]
10
10
 
11
+ ### Fixed — Synthetic: long model calls failed with "fetch failed" and the agent kept going
12
+
13
+ - **Fixed** the agent erroring on Synthetic after a few tool calls ("API error – Failed to communicate with API: fetch failed") while it kept working in the background and new messages were answered with "Agent is already processing a request.". Synthetic sends no response headers until a model call has finished, and Node's `fetch` gives up after 5 minutes without them; a long call (long reasoning, a large file) hit that, and the agent loop then retried it up to 50 times. Jivam now asks jiva-core to stream every Synthetic call (`PROVIDER_META.synthetic.stream`), which starts answering at once. Applies to existing Synthetic configs too; `models.reasoning.stream` in `~/.jivam/config.json` overrides it. Needs a jiva-core with the `stream` setting.
14
+
15
+ ### Added — Synthetic provider, and usage you can actually see
16
+
17
+ - **Added** [Synthetic](https://synthetic.new) as a provider and recommend it first in the provider picker for people who want a flat monthly plan and no token bills. Default model `syn:large:vision`; its context window comes from Synthetic's public model catalog.
18
+ - **Added** account-level usage straight from the provider (Settings → Usage, and a chip beside the model chip): Synthetic plan quota (`/v2/quotas`), OpenRouter key limit, spend and credit balance (`/key`, `/credits`), Together month-to-date spend (`/v1/billing/usage`, beta). Providers with no usage API (Groq, Sarvam, Krutrim) say so and link to their console.
19
+ - **Added** a local usage ledger (`~/.jivam/usage-ledger.jsonl`, numbers only) so every provider gets today / 7-day / 30-day / all-time totals, a 14-day chart and a by-model breakdown. Turns that could not be priced are counted as unpriced, never as $0.
20
+ - **Added** each conversation's cost to the sidebar (it was saved by jiva-core but never shown).
21
+ - **Changed** turns on a subscription plan to read "included in your plan" instead of "cost unknown".
22
+
11
23
  ### Changed — Desktop shell: native window, no background service
12
24
 
13
25
  Jivam is now a "borrowed shell" desktop app. See `docs/architecture/desktop-shell.md`.
@@ -21,6 +33,7 @@ Jivam is now a "borrowed shell" desktop app. See `docs/architecture/desktop-shel
21
33
  - **Changed** the in-app updater to restart the whole app itself after installing; the update dialog is mounted again (it was only rendered while an install guide was open).
22
34
  - **Changed** conversation export to save into `~/Downloads` and reveal the file (the native window has no download UI).
23
35
  - **Fixed** the workspace folder picker blocking the server while open, and `open-external` building a shell command string from a path.
36
+ - **Fixed** (Windows) the window showing the Node.js icon: the taskbar icon is now given when the window is created and set again shortly after, the title bar and taskbar get icon sizes close to what Windows draws, the window gets an application identity (a short PowerShell step, logged as `[window] taskbar identity`) so the taskbar uses its icon instead of `node.exe`'s and a pin made from the running window launches Jivam, `jivam check` reports missing icon images and whether that step can run, and the shortcut icon names its image explicitly (`Jivam.ico,0`). The identity step does not call `InitPropVariantFromString`, which `propsys.dll` does not export on some Windows versions; it builds the string value with `SHStrDupW` instead.
24
37
  - **Added** tests (`npm test`) and a CI workflow covering Ubuntu, Intel and Apple Silicon macOS, and Windows, on Node 20 and 24.
25
38
 
26
39
 
package/README.md CHANGED
@@ -57,7 +57,8 @@ See [docs/architecture/desktop-shell.md](docs/architecture/desktop-shell.md) for
57
57
  - Deep Run mode for complex multi-step tasks
58
58
  - File attachments with automatic format conversion
59
59
  - MCP (Model Context Protocol) server management
60
- - One-click provider setup (Sarvam, Krutrim, Groq, Together AI, OpenAI-compatible), with a live model picker and mid-session model switching
60
+ - One-click provider setup (Synthetic, Sarvam, Krutrim, Groq, Together AI, OpenRouter, OpenAI-compatible), with a live model picker and mid-session model switching
61
+ - Usage and cost you can see: per-turn tokens and cost, your plan quota or credit balance straight from the provider (Synthetic, OpenRouter, Together), a running tally for every provider, and per-conversation cost in the sidebar (Settings → Usage)
61
62
  - Persona management and customizable settings
62
63
  - Cloud mode for remote Jiva instances
63
64