@transai/connector-runner-ai-agent 0.54.7 → 0.54.9

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
@@ -1,3 +1,13 @@
1
+ ## 0.54.8 (2026-11-30)
2
+
3
+ This was a version bump only for connector-runner-ai-agent to align it with other projects, there were no code changes.
4
+
5
+ ## 0.54.7 (2026-11-27)
6
+
7
+ ### 🧱 Updated Dependencies
8
+
9
+ - Updated @transai/connector-runtime-sdk to 0.24.4
10
+
1
11
  ## 0.54.6 (2026-11-27)
2
12
 
3
13
  ### 🧱 Updated Dependencies
package/index.cjs.map CHANGED
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/index.cjs.map
3
- size: 43303198 bytes
4
- sha256: a8e98366e581548e028532121099e68d52e7c3d2c313c28beee15cd0be8219f2
3
+ size: 43304427 bytes
4
+ sha256: 15ed822a0608bbf8f4e923327a9f0b3a43eff432909a2229169432927d9f92cf
@@ -4,3 +4,16 @@ export interface IBackoff {
4
4
  }
5
5
  /** Exponential backoff: `baseMs` doubled per retry (0-based), capped at `maxMs`. */
6
6
  export declare const backoffMs: (retries: number, backoff: IBackoff) => number;
7
+ export interface IAttemptOptions {
8
+ attempts: number;
9
+ backoff: IBackoff;
10
+ /** Default: every error is retried. */
11
+ isRetryable?: (error: unknown) => boolean;
12
+ /** Default: `backoffMs(attempt - 1, backoff)`. */
13
+ delayMs?: (error: unknown, attempt: number) => number;
14
+ }
15
+ /**
16
+ * Runs `run` up to `attempts` times, waiting between attempts. The last
17
+ * attempt's error propagates, as does a non-retryable one straight away.
18
+ */
19
+ export declare function withAttempts<T>(run: () => Promise<T>, options: IAttemptOptions, attempt?: number): Promise<T>;
@@ -1,6 +1,8 @@
1
1
  import { TenantArchivingSettings } from './tenant-archiving-settings.interface';
2
2
  export type TenantFeatureFlags = Record<string, boolean>;
3
3
  export declare const INGESTION_API_FLAG = "ingestionApi";
4
+ /** On top of {@link INGESTION_API_FLAG}: connectors also send their documents through the ingestion api, not only telemetry. */
5
+ export declare const INGESTION_API_DOCUMENTS_FLAG = "ingestionApiDocuments";
4
6
  export interface TenantInterface {
5
7
  identifier: string;
6
8
  name: string;
@@ -10,6 +12,7 @@ export interface TenantInterface {
10
12
  useApi: boolean;
11
13
  featureFlags: TenantFeatureFlags;
12
14
  auth0OrganizationId?: string | null;
15
+ atlassianOrganizationId?: string | null;
13
16
  logo?: string | null;
14
17
  workflowRunRetentionDays?: number;
15
18
  defaultConnectorConfigs?: Record<string, unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transai/connector-runner-ai-agent",
3
- "version": "0.54.7",
3
+ "version": "0.54.9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },