@flovialabs/sdk 0.1.25 → 0.1.26

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 CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.1.26
6
+
7
+ - Expect Relay contract `2026-10-07.262`. The SerpApi tool schema marks `operation_id` as required, matching Relay's existing requirement.
8
+ - `flovia_status` ignores unused arguments and accepts `"true"` and `"false"` as strings for `about_sharing`.
9
+ - The SDK passes through Zerion's `gas_prices`, `chain`, `dapps` and `dapp` actions. MiniMax image and video tools advertise the prompt length the Relay accepts. Tool availability follows the Relay's configuration and the account's access.
10
+
5
11
  ## 0.1.25
6
12
 
7
13
  - Expect Relay contract `2026-10-07.255`. The MiniMax tool schema advertises a maximum of 16,000 output tokens. `flovia_zerion` returns `next_cursor` for Zerion's longer page tokens, and its `cursor` accepts them. Where the Relay enables them, `flovia_parallel` and Venice Private chat are offered after the user accepts their own notices. Where enabled by the Relay, `flovia_fal` accepts a `model` for image creation. The available models and their costs depend on the Relay configuration.
package/README.md CHANGED
@@ -10,9 +10,13 @@ TypeScript client and command-line tool for [Flovia](https://api.flovia.dev). It
10
10
  ## Install
11
11
 
12
12
  ```sh
13
- npm install --save-exact @flovialabs/sdk@0.1.25
13
+ npm install --save-exact @flovialabs/sdk@0.1.26
14
14
  ```
15
15
 
16
+ ## 0.1.26 release notes
17
+
18
+ This release expects Relay contract `2026-10-07.262`. Pass an `operation_id` when calling `flovia_serpapi`. See [CHANGELOG.md](CHANGELOG.md) for the tool contract changes.
19
+
16
20
  ## 0.1.25 release notes
17
21
 
18
22
  This release expects Relay contract `2026-10-07.255`. `client.generate()` accepts `gpt-6.1-terra` when the Relay offers it; it accepts every reasoning effort and defaults to `none`. When `flovia key-caps set` cannot find the target key, scripts using `--json` receive exit status 1 and can read `outcome: "not_found"` from stdout. See [CHANGELOG.md](CHANGELOG.md) for the provider and CLI changes.
@@ -352,7 +356,7 @@ npx flovia agents-md # a short note for CLAUDE.md or AGENTS.md
352
356
  npx flovia help
353
357
  npx flovia --version
354
358
  ```
355
- These commands run after installing `@flovialabs/sdk` in the current project. Without a local installation, specify the package: `npx --package=@flovialabs/sdk@0.1.25 flovia --help`. Use a unique operation id for each new request; `sdk-example-0001` is only an example. Save the id, prompt and options before sending, and keep them unchanged for replay.
359
+ These commands run after installing `@flovialabs/sdk` in the current project. Without a local installation, specify the package: `npx --package=@flovialabs/sdk@0.1.26 flovia --help`. Use a unique operation id for each new request; `sdk-example-0001` is only an example. Save the id, prompt and options before sending, and keep them unchanged for replay.
356
360
 
357
361
  Get or manage your key in [Console](https://console.flovia.dev/groupbuy/), save it privately, then run `flovia status --key-file <saved-key-file>`. A connected key can still have sharing declined, withdrawn or stopped; `status` shows those separately from provider availability. It never answers consent for you.
358
362
 
package/dist/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /** The relay's tool contract this SDK was written against (flovia_status.contract_version). */
2
- export declare const EXPECTED_CONTRACT_VERSION = "2026-10-07.255";
2
+ export declare const EXPECTED_CONTRACT_VERSION = "2026-10-07.262";
3
3
  /** Every public explanation.code (the relay's contract). A provider's own HTTP error is `http_<status>`. */
4
4
  export declare const PUBLIC_CODES: readonly ["approval_pending", "key_disabled", "key_stopped", "team_stopped", "consent_missing", "data_consent_mismatch", "data_consent_needed", "notice_first", "elevenlabs_terms_required", "provider_not_allowed", "account_key_required", "endpoint_unknown", "endpoint_disabled", "read_only", "not_relayed", "key_in_query", "secret_in_input", "invalid_body", "body_too_large", "answer_too_large", "answer_precision_unsafe", "answer_not_relayed", "output_withheld", "request_text_too_long", "over_max_credits", "window_5h", "window_month", "window_week", "over_week", "free_only_exhausted", "key_cap_reached", "member_cap_reached", "team_balance_empty", "free_limited", "free_needs_email", "free_not_granted", "global_cap", "flovia_paused", "rate_limited", "too_many_in_parallel", "reservation_changed", "operation_conflict", "operation_pending", "relay_internal_error", "relay_internal_unknown", "upstream_unknown", "cannot_summarize", "upstream_unavailable", "page_tls_invalid", "page_unreachable", "replay_response_unavailable", "rpc_error", "unknown_lookup", "invalid_cursor", "since_too_old", "since_in_future", "feedback_too_long", "feedback_limit", "not_configured", "service_off", "queue_full", "input_unavailable", "sandbox_disabled", "team_feature_off", "purchase_refused", "team_purchase_not_supported"];
5
5
  export type FloviaCode = (typeof PUBLIC_CODES)[number] | `http_${number}`;
package/dist/types.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /** The relay's tool contract this SDK was written against (flovia_status.contract_version). */
2
- export const EXPECTED_CONTRACT_VERSION = "2026-10-07.255";
2
+ export const EXPECTED_CONTRACT_VERSION = "2026-10-07.262";
3
3
  /** Every public explanation.code (the relay's contract). A provider's own HTTP error is `http_<status>`. */
4
4
  export const PUBLIC_CODES = [
5
5
  "approval_pending", "key_disabled", "key_stopped", "team_stopped", "consent_missing", "data_consent_mismatch", "data_consent_needed", "notice_first",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flovialabs/sdk",
3
- "version": "0.1.25",
3
+ "version": "0.1.26",
4
4
  "type": "module",
5
5
  "description": "TypeScript client and CLI for Flovia: MCP tools over HTTP and OpenAI-compatible generation. Zero dependencies.",
6
6
  "license": "MIT",