@beeos-ai/bma-sdk 1.0.0 → 1.0.1

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/README.md CHANGED
@@ -9,7 +9,7 @@ plus the BMA extensions to the Anthropic Managed Agents API.
9
9
 
10
10
  | | |
11
11
  | --- | --- |
12
- | Version | see [CHANGELOG](../CHANGELOG.md); upgrading from 0.4: [MIGRATION](../MIGRATION.md) |
12
+ | Version | 1.0.0 (tag `v1.0.0`), see [CHANGELOG](../CHANGELOG.md); upgrading from 0.4: [MIGRATION](../MIGRATION.md) |
13
13
  | Contract | BMA REST snapshot recorded in [`contracts/bma/lock.json`](../contracts/bma/lock.json) |
14
14
  | Node.js | 20 or newer; ESM |
15
15
 
@@ -5098,12 +5098,12 @@ export interface components {
5098
5098
  * @description Whether this configured model can receive tool definitions and emit tool calls. Agent configs with enabled tools are rejected when this is false.
5099
5099
  * @default true
5100
5100
  */
5101
- supports_tools: boolean;
5101
+ supports_tools?: boolean;
5102
5102
  /**
5103
5103
  * @description Whether BMA should use this model's reasoning features. For OpenAI Responses, this also enables encrypted reasoning replay for stateless calls.
5104
5104
  * @default false
5105
5105
  */
5106
- supports_reasoning: boolean;
5106
+ supports_reasoning?: boolean;
5107
5107
  /** @description Default reasoning effort to send for models/API formats that support effort-style reasoning controls. Requires supports_reasoning=true. When supported_reasoning_efforts is present, this value must be listed there. */
5108
5108
  default_reasoning_effort?: string;
5109
5109
  /** @description Reasoning effort values this configured model accepts. Requires supports_reasoning=true when non-empty. */
@@ -5368,7 +5368,7 @@ export interface components {
5368
5368
  CreateDesktopSessionRequest: {
5369
5369
  agent_id?: components["schemas"]["AgentID"];
5370
5370
  /** @default false */
5371
- read_only: boolean;
5371
+ read_only?: boolean;
5372
5372
  /** Format: int32 */
5373
5373
  lease_seconds?: number;
5374
5374
  capabilities?: components["schemas"]["DesktopCapabilitiesRequest"];
@@ -5691,7 +5691,7 @@ export interface components {
5691
5691
  name: components["schemas"]["MemoryStoreName"];
5692
5692
  description?: string;
5693
5693
  /** @default read_write */
5694
- agent_access: components["schemas"]["MemoryStoreAccess"];
5694
+ agent_access?: components["schemas"]["MemoryStoreAccess"];
5695
5695
  };
5696
5696
  UpdateMemoryStore: {
5697
5697
  description?: string;
@@ -5825,7 +5825,7 @@ export interface components {
5825
5825
  InspectGitHubInstallationsRequest: {
5826
5826
  credential_secret_id: components["schemas"]["SecretID"];
5827
5827
  /** @default 1 */
5828
- page: number;
5828
+ page?: number;
5829
5829
  };
5830
5830
  GitHubInstallations: {
5831
5831
  provider_app_id: string;
@@ -6452,7 +6452,7 @@ export interface components {
6452
6452
  * @description Whether the trigger fires on schedule; false pauses it.
6453
6453
  * @default true
6454
6454
  */
6455
- enabled: boolean;
6455
+ enabled?: boolean;
6456
6456
  };
6457
6457
  UpdateCronTriggerRequest: {
6458
6458
  /** @description Updates target options. The target type and ID cannot change. Integration settings can change for future occurrences. Omitted delivery_mode preserves the current mode. */
@@ -6817,14 +6817,14 @@ export interface components {
6817
6817
  * @default default
6818
6818
  * @enum {string}
6819
6819
  */
6820
- api_variant: "default" | "openrouter";
6820
+ api_variant?: "default" | "openrouter";
6821
6821
  /**
6822
6822
  * Format: uri
6823
6823
  * @description HTTPS origin only; must not contain userinfo, query, fragment or a trailing slash. Private and link-local hosts are rejected by provider validation.
6824
6824
  */
6825
6825
  base_url: string;
6826
6826
  /** @default /v1/chat/completions */
6827
- endpoint_path: string;
6827
+ endpoint_path?: string;
6828
6828
  };
6829
6829
  AgentModelOverrideInput: {
6830
6830
  /** @description Provider model slug (for example deepseek-flash). */
@@ -6833,12 +6833,12 @@ export interface components {
6833
6833
  /** @description Write-only. Never returned, logged, or emitted; encrypted at rest. */
6834
6834
  api_key?: string;
6835
6835
  /** @default 3600 */
6836
- ttl_seconds: number;
6836
+ ttl_seconds?: number;
6837
6837
  /**
6838
6838
  * @description Keep the override active until the session is archived instead of a TTL.
6839
6839
  * @default false
6840
6840
  */
6841
- expires_with_session: boolean;
6841
+ expires_with_session?: boolean;
6842
6842
  /** @description Model context window in tokens. When omitted, BMA reads it from the provider's models endpoint, then a public model catalog, and otherwise uses 128000. */
6843
6843
  context_window_tokens?: number;
6844
6844
  /** @description Maximum output tokens per response; must be below the context window. When omitted, BMA keeps its default output policy for the API format. */
@@ -8005,7 +8005,7 @@ export interface components {
8005
8005
  * @description Whether BMA should delete a pool machine when its provider remains running after its daemon becomes inactive. Defaults to false when omitted.
8006
8006
  * @default false
8007
8007
  */
8008
- runtime_protection_enabled: boolean;
8008
+ runtime_protection_enabled?: boolean;
8009
8009
  /**
8010
8010
  * Format: int32
8011
8011
  * @description Deprecated, not enforced: how many machines a pool has no longer blocks new machines. Organization and project quotas over in-use machines (org resource limits max_in_use_pool_machines_per_project and max_in_use_pool_machines_per_org) govern capacity.
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.0.0";
1
+ export declare const SDK_VERSION = "1.0.1";
package/dist/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  // The package version, sent in User-Agent. tools/check_versions.sh keeps it
2
2
  // equal to package.json (CI) and to the release tag (release.yaml).
3
- export const SDK_VERSION = "1.0.0";
3
+ export const SDK_VERSION = "1.0.1";
4
4
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beeos-ai/bma-sdk",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "TypeScript client for the BMA REST API and the BMA extensions to the Anthropic Managed Agents API.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -27,7 +27,7 @@
27
27
  "node": ">=20"
28
28
  },
29
29
  "scripts": {
30
- "generate": "openapi-typescript ../contracts/bma/rest.openapi.yaml -o src/generated/rest.ts && openapi-typescript ../contracts/bma/facade-extensions.openapi.yaml -o src/generated/facade-extensions.ts",
30
+ "generate": "openapi-typescript ../.build/rest.openapi.ts.yaml --default-non-nullable=false -o src/generated/rest.ts && openapi-typescript ../.build/facade-extensions.openapi.ts.yaml --default-non-nullable=false -o src/generated/facade-extensions.ts",
31
31
  "build": "tsc -p tsconfig.json",
32
32
  "test": "tsc -p tsconfig.test.json && node --test build-test/test/*.test.js"
33
33
  },