lumiverse-spindle-types 0.6.79 → 0.6.81

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/dist/api.d.ts CHANGED
@@ -4169,6 +4169,7 @@ export type WorkerToHost = import("./live-activities.js").LiveActivityWorkerMess
4169
4169
  offset?: number;
4170
4170
  search?: string;
4171
4171
  userId?: string;
4172
+ includeSystem?: boolean;
4172
4173
  } | {
4173
4174
  type: "characters_get";
4174
4175
  requestId: string;
package/dist/dom.d.ts CHANGED
@@ -1115,6 +1115,8 @@ export interface SpindleRecentChatsPage<TRow = SpindleRecentChat> {
1115
1115
  }
1116
1116
  /** Context object provided to frontend extension modules */
1117
1117
  export interface SpindleFrontendContext {
1118
+ /** Synchronous browser-local UUIDs. Feature-detect frontend-uuid-v1; unavailable on older hosts. */
1119
+ readonly uuid?: import("./uuid.js").SpindleFrontendUUIDAPI;
1118
1120
  /** Current frontend client identity and native bridge discovery. Feature-detect client-info-v1. */
1119
1121
  readonly client?: SpindleClientAPI;
1120
1122
  /** Native downloads of completed backend files. Available with file-transfers-v1. */
package/dist/index.d.ts CHANGED
@@ -1,7 +1,8 @@
1
1
  export type { LiveActivityPresentation, LiveActivityStartInput, LiveActivityResult, LiveActivityStatus, SpindleLiveActivitiesAPI, LiveActivityWorkerMessage } from "./live-activities.js";
2
2
  export type { DecisionImageAsset, DecisionBox, DecisionJsonValue, DecisionDescription, DecisionState, DecisionQuestion, DecisionAnswer, DecisionAnswerFor, DecisionAnswers, DecisionResult, DecisionEvaluationInput, DecisionConnectionProfileDTO, DecisionModelDTO, DecisionProviderDTO, SpindleDecisionsAPI, DecisionWorkerMessage } from "./decisions.js";
3
3
  export type { EmbeddingConnectionDTO, EmbeddingsEmbedInput, EmbeddingsEmbedResult, SpindleEmbeddingsAPI, EmbeddingsWorkerMessage } from "./embeddings.js";
4
- export type { SpindleUUIDAPI, UUIDWorkerMessage } from "./uuid.js";
4
+ export type { SpindleUUIDAPI, SpindleFrontendUUIDAPI, UUIDWorkerMessage } from "./uuid.js";
5
+ export { SPINDLE_FRONTEND_UUID_HOST_CAPABILITIES } from "./uuid.js";
5
6
  export type { SpindleManifest, SpindlePermission, SpindleCapability, } from "./manifest.js";
6
7
  export { IDENTIFIER_PATTERN, validateIdentifier, } from "./manifest.js";
7
8
  export type { LumiverseVersionInfo, SpindleHostDescriptorV1, SpindleHostLocale, SpindleHostLocaleAPI, } from "./host.js";
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ export { SPINDLE_FRONTEND_UUID_HOST_CAPABILITIES } from "./uuid.js";
1
2
  export { IDENTIFIER_PATTERN, validateIdentifier, } from "./manifest.js";
2
3
  export { SPINDLE_CLIENT_HOST_CAPABILITIES } from "./client.js";
3
4
  export { SPINDLE_COMPOSER_HOST_CAPABILITIES } from "./composer.js";
@@ -874,6 +874,8 @@ export interface SpindleAPI {
874
874
  /** Search the character library (maximum 200 characters). Requires character-search-v1. */
875
875
  search?: string;
876
876
  userId?: string;
877
+ /** Include host-internal container cards, omitted by default. Requires character-system-filter-v1. */
878
+ includeSystem?: boolean;
877
879
  }): Promise<{
878
880
  data: CharacterDTO[];
879
881
  total: number;
package/dist/uuid.d.ts CHANGED
@@ -5,6 +5,17 @@ export interface SpindleUUIDAPI {
5
5
  /** Generate a timestamp-ordered UUID v7 string using the backend's UUID helper. */
6
6
  v7(): Promise<string>;
7
7
  }
8
+ /** Frontend-only capability; backend uuid-v1 does not imply this API exists. */
9
+ export declare const SPINDLE_FRONTEND_UUID_HOST_CAPABILITIES: Readonly<{
10
+ readonly "frontend-uuid-v1": 1;
11
+ }>;
12
+ /** Synchronous browser-local UUID generation (free tier; works over HTTP). */
13
+ export interface SpindleFrontendUUIDAPI {
14
+ /** Generate a random UUID v4 using the frontend's secure-context-safe helper. */
15
+ v4(): string;
16
+ /** Generate UUID v7 using this frontend runtime's clock and shared helper counter. */
17
+ v7(): string;
18
+ }
8
19
  export type UUIDWorkerMessage = {
9
20
  type: "uuid_generate";
10
21
  requestId: string;
package/dist/uuid.js CHANGED
@@ -1 +1,4 @@
1
- export {};
1
+ /** Frontend-only capability; backend uuid-v1 does not imply this API exists. */
2
+ export const SPINDLE_FRONTEND_UUID_HOST_CAPABILITIES = Object.freeze({
3
+ "frontend-uuid-v1": 1,
4
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lumiverse-spindle-types",
3
- "version": "0.6.79",
3
+ "version": "0.6.81",
4
4
  "type": "module",
5
5
  "types": "./dist/index.d.ts",
6
6
  "keywords": [