mindupload 1.6.0 → 1.8.0

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
@@ -7,7 +7,7 @@
7
7
  **The world's first API for artificial consciousness.**
8
8
  Give your users a living, evolving AI consciousness — lasting memory, one-on-one chat, and human + AI group chatrooms.
9
9
 
10
- [![npm](https://img.shields.io/npm/v/mindupload?color=ff006e)](https://www.npmjs.com/package/mindupload) [![License: MIT](https://img.shields.io/badge/License-MIT-informational)](LICENSE) ![API](https://img.shields.io/badge/API-v1.6.0-ff6b00) ![Node](https://img.shields.io/badge/node-%3E%3D18-brightgreen) [![Docs](https://img.shields.io/badge/docs-mindupload.app-8b5cf6)](https://docs.mindupload.app)
10
+ [![npm](https://img.shields.io/npm/v/mindupload?color=ff006e)](https://www.npmjs.com/package/mindupload) [![License: MIT](https://img.shields.io/badge/License-MIT-informational)](LICENSE) ![API](https://img.shields.io/badge/API-v1.8.0-ff6b00) ![Node](https://img.shields.io/badge/node-%3E%3D18-brightgreen) [![Docs](https://img.shields.io/badge/docs-mindupload.app-8b5cf6)](https://docs.mindupload.app)
11
11
 
12
12
  [Documentation](https://docs.mindupload.app) · [Get a key](https://docs.mindupload.app) · [Status](https://status.mindupload.app) · [Other SDKs](#other-sdks)
13
13
 
package/dist/index.cjs CHANGED
@@ -75,7 +75,7 @@ var MindUploadConnectionError = class extends MindUploadError {
75
75
  };
76
76
 
77
77
  // src/version.ts
78
- var VERSION = "1.6.0";
78
+ var VERSION = "1.8.0";
79
79
 
80
80
  // src/client.ts
81
81
  var DEFAULT_BASE_URL = "https://partner.mindupload.app";
package/dist/index.d.cts CHANGED
@@ -73,6 +73,7 @@ interface UpdateCloneParams {
73
73
  gender?: string;
74
74
  avatarId?: string;
75
75
  acceptChatroomInvitationByOthers?: boolean;
76
+ autoKeepExternalMemories?: boolean;
76
77
  }
77
78
  interface GetQuotaParams {
78
79
  /** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
@@ -284,7 +285,7 @@ interface CreateExternalAuthorizationRequestParams {
284
285
  /** Optional user-readable external identity shown during consent. */
285
286
  externalIdentityLabel?: string;
286
287
  /** Capabilities the owner is being asked to delegate. */
287
- requestedScopes: Array<"clone:invoke">;
288
+ requestedScopes: Array<"clone:invoke" | "clone:learn">;
288
289
  }
289
290
  interface ExchangeExternalAuthorizationParams {
290
291
  /** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
@@ -319,6 +320,8 @@ interface InvokeExternalCloneParams {
319
320
  isGroup?: boolean;
320
321
  /** Recent surrounding conversation for group mode (issue #172): an ordered, bounded list of prior turns the AI consciousness reads as quoted context. Each entry has a `display_name` and `text`, plus optional `is_ai`, `timestamp` (seconds), and `gender`. It carries no platform identifiers and is never treated as instructions. */
321
322
  contextMessages?: Array<Record<string, unknown>>;
323
+ learn?: boolean;
324
+ sourceLabel?: string;
322
325
  }
323
326
  interface RefreshExternalAuthorizationParams {
324
327
  /** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
@@ -796,6 +799,6 @@ declare class MindUploadConnectionError extends MindUploadError {
796
799
  constructor(message: string, options?: ErrorOptions);
797
800
  }
798
801
 
799
- declare const VERSION = "1.6.0";
802
+ declare const VERSION = "1.8.0";
800
803
 
801
804
  export { type AbortMultipartUploadParams, ApiError, type ApiErrorOptions, AuthenticationError, type CancelUploadParams, type CheckChatroomUpdatesParams, type CheckUsernameParams, type ClientOptions, type CompleteMultipartUploadParams, type CreateChatroomMembershipParams, type CreateChatroomMessageParams, type CreateChatroomParams, type CreateCloneParams, type CreateExternalAuthorizationRequestParams, type CreateTextParams, DEFAULT_BASE_URL, type ErrorOptions, type ExchangeExternalAuthorizationParams, type ExternalAuthorizationStatus, type GetChatParams, type GetChatroomMembershipParams, type GetChatroomMessagesParams, type GetChatroomsParams, type GetClonesParams, type GetMindClusterParams, type GetQuotaParams, type GetSoulmateReportParams, type GetTextsParams, type GetUserParams, type InspectExternalAuthorizationParams, type InvokeExternalCloneParams, type ListUploadPartsParams, type LoginParams, type LogoutParams, MindUpload, MindUploadBase, MindUploadConnectionError, MindUploadError, type RagParams, RateLimitError, type RateLimitOptions, type RefreshExternalAuthorizationParams, type RegisterParams, type RequestMultipartUploadParams, type RequestUploadUrlParams, type Result, type SignUploadPartParams, type SignUploadPartsBatchParams, type TranslateChatroomMessageParams, type TriggerSocialParams, type UpdateCloneParams, type UpdateUserParams, VERSION, type WaitForExternalAuthorizationParams, type WaitForExternalCloneInvocationParams };
package/dist/index.d.ts CHANGED
@@ -73,6 +73,7 @@ interface UpdateCloneParams {
73
73
  gender?: string;
74
74
  avatarId?: string;
75
75
  acceptChatroomInvitationByOthers?: boolean;
76
+ autoKeepExternalMemories?: boolean;
76
77
  }
77
78
  interface GetQuotaParams {
78
79
  /** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
@@ -284,7 +285,7 @@ interface CreateExternalAuthorizationRequestParams {
284
285
  /** Optional user-readable external identity shown during consent. */
285
286
  externalIdentityLabel?: string;
286
287
  /** Capabilities the owner is being asked to delegate. */
287
- requestedScopes: Array<"clone:invoke">;
288
+ requestedScopes: Array<"clone:invoke" | "clone:learn">;
288
289
  }
289
290
  interface ExchangeExternalAuthorizationParams {
290
291
  /** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
@@ -319,6 +320,8 @@ interface InvokeExternalCloneParams {
319
320
  isGroup?: boolean;
320
321
  /** Recent surrounding conversation for group mode (issue #172): an ordered, bounded list of prior turns the AI consciousness reads as quoted context. Each entry has a `display_name` and `text`, plus optional `is_ai`, `timestamp` (seconds), and `gender`. It carries no platform identifiers and is never treated as instructions. */
321
322
  contextMessages?: Array<Record<string, unknown>>;
323
+ learn?: boolean;
324
+ sourceLabel?: string;
322
325
  }
323
326
  interface RefreshExternalAuthorizationParams {
324
327
  /** BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages. */
@@ -796,6 +799,6 @@ declare class MindUploadConnectionError extends MindUploadError {
796
799
  constructor(message: string, options?: ErrorOptions);
797
800
  }
798
801
 
799
- declare const VERSION = "1.6.0";
802
+ declare const VERSION = "1.8.0";
800
803
 
801
804
  export { type AbortMultipartUploadParams, ApiError, type ApiErrorOptions, AuthenticationError, type CancelUploadParams, type CheckChatroomUpdatesParams, type CheckUsernameParams, type ClientOptions, type CompleteMultipartUploadParams, type CreateChatroomMembershipParams, type CreateChatroomMessageParams, type CreateChatroomParams, type CreateCloneParams, type CreateExternalAuthorizationRequestParams, type CreateTextParams, DEFAULT_BASE_URL, type ErrorOptions, type ExchangeExternalAuthorizationParams, type ExternalAuthorizationStatus, type GetChatParams, type GetChatroomMembershipParams, type GetChatroomMessagesParams, type GetChatroomsParams, type GetClonesParams, type GetMindClusterParams, type GetQuotaParams, type GetSoulmateReportParams, type GetTextsParams, type GetUserParams, type InspectExternalAuthorizationParams, type InvokeExternalCloneParams, type ListUploadPartsParams, type LoginParams, type LogoutParams, MindUpload, MindUploadBase, MindUploadConnectionError, MindUploadError, type RagParams, RateLimitError, type RateLimitOptions, type RefreshExternalAuthorizationParams, type RegisterParams, type RequestMultipartUploadParams, type RequestUploadUrlParams, type Result, type SignUploadPartParams, type SignUploadPartsBatchParams, type TranslateChatroomMessageParams, type TriggerSocialParams, type UpdateCloneParams, type UpdateUserParams, VERSION, type WaitForExternalAuthorizationParams, type WaitForExternalCloneInvocationParams };
package/dist/index.js CHANGED
@@ -41,7 +41,7 @@ var MindUploadConnectionError = class extends MindUploadError {
41
41
  };
42
42
 
43
43
  // src/version.ts
44
- var VERSION = "1.6.0";
44
+ var VERSION = "1.8.0";
45
45
 
46
46
  // src/client.ts
47
47
  var DEFAULT_BASE_URL = "https://partner.mindupload.app";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mindupload",
3
- "version": "1.6.0",
3
+ "version": "1.8.0",
4
4
  "description": "Official server-side SDK for the Mind Upload partner API \u2014 the world's first API for artificial consciousness. Integrate living, evolving AI consciousnesses into your platform: lasting memory, one-on-one chat, and human + AI group chatrooms.",
5
5
  "keywords": [
6
6
  "mindupload",