@aithos/sdk 0.1.0-alpha.16 → 0.1.0-alpha.17

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.
@@ -64,7 +64,7 @@ export interface InvokeBedrockResult {
64
64
  * to disambiguate text and image dispatch when a mandate's
65
65
  * `allowed_models` mixes both.
66
66
  */
67
- export type ImageModelId = "image:flux-schnell" | "image:flux-dev" | "image:flux-pro-1.1" | "image:flux-pro-1.1-ultra";
67
+ export type ImageModelId = "image:flux-schnell" | "image:flux-dev" | "image:flux-pro-1.1" | "image:flux-pro-1.1-ultra" | "image:imagen-3" | "image:imagen-4" | "image:nano-banana";
68
68
  /** Aspect ratios accepted by `invokeImage`. */
69
69
  export type ImageAspectRatio = "1:1" | "16:9" | "9:16" | "4:3" | "3:4" | "21:9";
70
70
  export interface InvokeImageArgs {
@@ -110,7 +110,10 @@ export class ComputeNamespace {
110
110
  const choice = this.#resolveSigner(args.mandateId);
111
111
  const url = computeInvokeUrl(endpoints);
112
112
  const idempotencyKey = args.idempotencyKey ?? generateIdempotencyKey();
113
- const model = args.model ?? "image:flux-pro-1.1";
113
+ // Default is Imagen 4 since alpha.17 flat-illustration style is
114
+ // the right match for brand-mascot use cases. FLUX Pro 1.1 remains
115
+ // available via explicit `model: "image:flux-pro-1.1"`.
116
+ const model = args.model ?? "image:imagen-4";
114
117
  const params = {
115
118
  app_did: this.#deps.appDid,
116
119
  mandate_id: this.#resolveMandateIdForWire(args.mandateId, choice),
@@ -1,4 +1,4 @@
1
- export declare const VERSION = "0.1.0-alpha.16";
1
+ export declare const VERSION = "0.1.0-alpha.17";
2
2
  export { AithosSDK } from "./sdk.js";
3
3
  export type { AithosSDKConfig } from "./types.js";
4
4
  export { AithosSDKError } from "./types.js";
package/dist/src/index.js CHANGED
@@ -17,7 +17,7 @@
17
17
  // Public types specific to the SDK (`AithosSDKConfig`, `AithosSDKError`)
18
18
  // are exported from here. Endpoint config (`AithosSdkEndpoints`,
19
19
  // `DEFAULT_SDK_ENDPOINTS`) likewise.
20
- export const VERSION = "0.1.0-alpha.16";
20
+ export const VERSION = "0.1.0-alpha.17";
21
21
  export { AithosSDK } from "./sdk.js";
22
22
  export { AithosSDKError } from "./types.js";
23
23
  // Re-export protocol-client's JSON-RPC error type so consumers can
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aithos/sdk",
3
- "version": "0.1.0-alpha.16",
3
+ "version": "0.1.0-alpha.17",
4
4
  "description": "Aithos SDK — high-level TypeScript developer kit for building agentic apps on the Aithos protocol. Wraps @aithos/protocol-client and exposes the Aithos compute proxy and wallet (Stripe top-up) endpoints.",
5
5
  "keywords": [
6
6
  "aithos",