@rool-dev/sdk 0.11.9 → 0.11.10-dev.8995f1c
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 +25 -25
- package/dist/graphql.d.ts +10 -8
- package/dist/graphql.d.ts.map +1 -1
- package/dist/graphql.js +26 -31
- package/dist/graphql.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/space-session.d.ts +88 -105
- package/dist/space-session.d.ts.map +1 -1
- package/dist/space-session.js +236 -343
- package/dist/space-session.js.map +1 -1
- package/dist/space.d.ts +11 -6
- package/dist/space.d.ts.map +1 -1
- package/dist/space.js +16 -30
- package/dist/space.js.map +1 -1
- package/dist/types.d.ts +13 -16
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/space-session.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { GraphQLClient } from './graphql.js';
|
|
|
3
3
|
import type { RestClient } from './rest.js';
|
|
4
4
|
import { type RoolWebDAV } from './webdav.js';
|
|
5
5
|
import type { Logger } from './logger.js';
|
|
6
|
-
import type { RoolObject, GetObjectsResult,
|
|
6
|
+
import type { RoolObject, GetObjectsResult, RoolSpaceEvents, RoolUserRole, PromptOptions, UpdateObjectOptions, MoveObjectOptions, SpaceEvent, Interaction, Conversation, ConversationMeta, SpaceSchema, CollectionDef, FieldDef, CollectionOptions } from './types.js';
|
|
7
7
|
export declare function generateEntityId(): string;
|
|
8
8
|
export interface SpaceOperationsConfig {
|
|
9
9
|
id: string;
|
|
@@ -11,14 +11,8 @@ export interface SpaceOperationsConfig {
|
|
|
11
11
|
role: RoolUserRole;
|
|
12
12
|
/** Current user's ID (for identifying own interactions) */
|
|
13
13
|
userId: string;
|
|
14
|
-
/**
|
|
15
|
-
|
|
16
|
-
/** Collection schema */
|
|
17
|
-
schema: SpaceSchema;
|
|
18
|
-
/** Space metadata */
|
|
19
|
-
meta: Record<string, unknown>;
|
|
20
|
-
/** Conversations keyed by ID. */
|
|
21
|
-
conversations: Record<string, Conversation>;
|
|
14
|
+
/** Conversation metadata list (from openSpace). Contents are fetched on demand. */
|
|
15
|
+
conversationMeta: ConversationMeta[];
|
|
22
16
|
graphqlClient: GraphQLClient;
|
|
23
17
|
restClient: RestClient;
|
|
24
18
|
webdav: RoolWebDAV;
|
|
@@ -26,13 +20,20 @@ export interface SpaceOperationsConfig {
|
|
|
26
20
|
onClose: () => void;
|
|
27
21
|
}
|
|
28
22
|
/**
|
|
29
|
-
*
|
|
23
|
+
* A thin handle over a space's raw APIs (GraphQL, WebDAV, REST) plus the
|
|
24
|
+
* conversation roster the server pushes over SSE. It holds no schema, metadata,
|
|
25
|
+
* or conversation *content* state — schema and meta live in the filesystem
|
|
26
|
+
* (`/space/<collection>/.schema.json`, `/space/.meta.json`) and are read on
|
|
27
|
+
* demand via {@link readSchema} / {@link readMeta}; conversation contents live
|
|
28
|
+
* on {@link ConversationHandle} objects acquired on demand via
|
|
29
|
+
* {@link conversation}. The lightweight conversation meta list (ids + names +
|
|
30
|
+
* counts) is maintained here from openSpace + SSE. Reactive consumers (e.g. the
|
|
31
|
+
* Svelte wrapper) own any cached presentation of that state; this class just
|
|
32
|
+
* wraps the wire.
|
|
30
33
|
*
|
|
31
|
-
* Objects are addressed by machine path (`/space/.../*.json`). Conversation
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* fetched on demand. Object/file reactivity is exposed at the space level via
|
|
35
|
-
* WebDAV sync notifications.
|
|
34
|
+
* Objects are addressed by machine path (`/space/.../*.json`). Conversation
|
|
35
|
+
* handles carry attribution headers for WebDAV writes. Object/file reactivity
|
|
36
|
+
* is exposed via `filesChanged` / `filesReset` plus WebDAV `syncCollection()`.
|
|
36
37
|
*/
|
|
37
38
|
export declare class SpaceOperations extends EventEmitter<RoolSpaceEvents> {
|
|
38
39
|
protected _id: string;
|
|
@@ -45,11 +46,7 @@ export declare class SpaceOperations extends EventEmitter<RoolSpaceEvents> {
|
|
|
45
46
|
protected _webdav: RoolWebDAV;
|
|
46
47
|
protected _onCloseCallback: () => void;
|
|
47
48
|
protected _logger: Logger;
|
|
48
|
-
protected
|
|
49
|
-
protected _schema: SpaceSchema;
|
|
50
|
-
protected _conversations: Record<string, Conversation>;
|
|
51
|
-
protected _objectStats: Map<string, RoolObjectStat>;
|
|
52
|
-
protected _activeLeaves: Map<string, string>;
|
|
49
|
+
protected _conversationMeta: ConversationMeta[];
|
|
53
50
|
constructor(config: SpaceOperationsConfig);
|
|
54
51
|
/**
|
|
55
52
|
* Handle an event from the shared space subscription.
|
|
@@ -57,44 +54,32 @@ export declare class SpaceOperations extends EventEmitter<RoolSpaceEvents> {
|
|
|
57
54
|
* @internal
|
|
58
55
|
*/
|
|
59
56
|
_handleEvent(event: SpaceEvent): void;
|
|
60
|
-
/**
|
|
61
|
-
* Apply resync data after reconnection. Called by the client, which
|
|
62
|
-
* fetches space data once and applies it.
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
65
|
-
_applyResyncData(data: {
|
|
66
|
-
meta: Record<string, unknown>;
|
|
67
|
-
schema: SpaceSchema;
|
|
68
|
-
objectStats: Record<string, RoolObjectStat>;
|
|
69
|
-
conversations: Record<string, Conversation>;
|
|
70
|
-
}): void;
|
|
71
57
|
get id(): string;
|
|
72
58
|
get name(): string;
|
|
73
59
|
get role(): RoolUserRole;
|
|
74
60
|
/** Current user's ID (for identifying own interactions) */
|
|
75
61
|
get userId(): string;
|
|
76
62
|
get isReadOnly(): boolean;
|
|
77
|
-
/** @internal */
|
|
78
|
-
_getInteractionsImpl(conversationId: string): Interaction[];
|
|
79
|
-
/** @internal */
|
|
80
|
-
_getTreeImpl(conversationId: string): Record<string, Interaction>;
|
|
81
|
-
/** @internal */
|
|
82
|
-
_getActiveLeafImpl(conversationId: string): string | undefined;
|
|
83
|
-
/** @internal */
|
|
84
|
-
_setActiveLeafImpl(interactionId: string, conversationId: string): void;
|
|
85
63
|
/**
|
|
86
|
-
*
|
|
87
|
-
*
|
|
64
|
+
* Lightweight conversation roster (no interaction bodies). Maintained from
|
|
65
|
+
* openSpace + SSE; reactive consumers mirror this list.
|
|
88
66
|
*/
|
|
89
|
-
getConversations():
|
|
67
|
+
getConversations(): ConversationMeta[];
|
|
90
68
|
/**
|
|
91
|
-
* Delete a conversation
|
|
69
|
+
* Delete a conversation. The server confirms via SSE (`conversation_updated`
|
|
70
|
+
* with a null conversation), which updates the roster and any live handle.
|
|
92
71
|
*/
|
|
93
72
|
deleteConversation(conversationId: string): Promise<void>;
|
|
94
73
|
/**
|
|
95
|
-
* Get a handle for a
|
|
74
|
+
* Get a handle for a conversation. The handle holds its own interaction tree
|
|
75
|
+
* + cursor; call {@link ConversationHandle.load} to fetch an existing
|
|
76
|
+
* conversation's contents, or just {@link ConversationHandle.prompt} to start
|
|
77
|
+
* a new one (SSE fills the tree). Consumers feed SSE updates into the handle
|
|
78
|
+
* via {@link ConversationHandle.applyUpdate}.
|
|
96
79
|
*/
|
|
97
80
|
conversation(conversationId: string): ConversationHandle;
|
|
81
|
+
/** @internal — fetch a conversation's full contents from the server. */
|
|
82
|
+
_fetchConversationImpl(conversationId: string): Promise<Conversation | null>;
|
|
98
83
|
/**
|
|
99
84
|
* Close this space session and clean up resources.
|
|
100
85
|
*/
|
|
@@ -121,51 +106,57 @@ export declare class SpaceOperations extends EventEmitter<RoolSpaceEvents> {
|
|
|
121
106
|
getObject(path: string): Promise<RoolObject | undefined>;
|
|
122
107
|
/** Get object JSON files by machine path in bulk. Duplicate paths are fetched once. */
|
|
123
108
|
getObjects(paths: string[]): Promise<GetObjectsResult>;
|
|
124
|
-
/**
|
|
125
|
-
|
|
126
|
-
/** @internal */
|
|
127
|
-
_putObjectImpl(path: string, body: Record<string, unknown>, conversationId: string): Promise<{
|
|
109
|
+
/** Create or replace an object JSON file. */
|
|
110
|
+
putObject(path: string, body: Record<string, unknown>): Promise<{
|
|
128
111
|
object: RoolObject;
|
|
129
112
|
message: string;
|
|
130
113
|
}>;
|
|
131
|
-
/**
|
|
132
|
-
|
|
114
|
+
/** Patch an existing object JSON file. */
|
|
115
|
+
patchObject(path: string, options: UpdateObjectOptions): Promise<{
|
|
133
116
|
object: RoolObject;
|
|
134
117
|
message: string;
|
|
135
118
|
}>;
|
|
136
|
-
/**
|
|
137
|
-
|
|
119
|
+
/** Move (rename/relocate) an object. */
|
|
120
|
+
moveObject(from: string, to: string, options?: MoveObjectOptions): Promise<{
|
|
138
121
|
object: RoolObject;
|
|
139
122
|
message: string;
|
|
140
123
|
}>;
|
|
141
|
-
/**
|
|
142
|
-
|
|
143
|
-
/**
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
124
|
+
/** Delete object JSON files by path. */
|
|
125
|
+
deleteObjects(paths: string[]): Promise<void>;
|
|
126
|
+
/**
|
|
127
|
+
* Read space metadata from `/space/.meta.json`. Returns `{}` when the space has
|
|
128
|
+
* no metadata file yet. Stateless — callers (e.g. a reactive wrapper) cache and
|
|
129
|
+
* re-fetch this on their own schedule, typically when a file-tree sync reports
|
|
130
|
+
* the node changed.
|
|
131
|
+
*/
|
|
132
|
+
readMeta(): Promise<Record<string, unknown>>;
|
|
133
|
+
/**
|
|
134
|
+
* Write the full metadata blob to `/space/.meta.json`, attributed to a
|
|
135
|
+
* conversation. Callers compose the blob (e.g. read-merge-write) — this does no
|
|
136
|
+
* merging.
|
|
137
|
+
*/
|
|
138
|
+
writeMeta(meta: Record<string, unknown>): Promise<void>;
|
|
139
|
+
/**
|
|
140
|
+
* Read the collection schema: one `/space/<name>/.schema.json` per collection
|
|
141
|
+
* directory under `/space`. Returns `{}` for a space with no collections.
|
|
142
|
+
* Stateless — reactive callers re-fetch when a `.schema.json` node changes.
|
|
143
|
+
*/
|
|
144
|
+
readSchema(): Promise<SpaceSchema>;
|
|
145
|
+
/** Create a new collection (MKCOL + schema JSON). */
|
|
146
|
+
createCollection(name: string, fields: FieldDef[] | CollectionDef, options?: CollectionOptions): Promise<CollectionDef>;
|
|
147
|
+
/** Alter an existing collection's schema JSON. */
|
|
148
|
+
alterCollection(name: string, fields: FieldDef[] | CollectionDef, options?: CollectionOptions): Promise<CollectionDef>;
|
|
149
|
+
/** Drop a collection (DELETE). */
|
|
150
|
+
dropCollection(name: string): Promise<void>;
|
|
153
151
|
/** @internal */
|
|
154
152
|
_setSystemInstructionImpl(instruction: string | null, conversationId: string): Promise<void>;
|
|
155
153
|
/** @internal */
|
|
156
154
|
_renameConversationImpl(name: string, conversationId: string): Promise<void>;
|
|
157
155
|
/** @internal */
|
|
158
|
-
_ensureConversationImpl(conversationId: string): void;
|
|
159
|
-
/** @internal */
|
|
160
|
-
_setMetadataImpl(key: string, value: unknown, conversationId: string): void;
|
|
161
|
-
/** Get a space-level metadata value. */
|
|
162
|
-
getMetadata(key: string): unknown;
|
|
163
|
-
/** Get all space-level metadata. */
|
|
164
|
-
getAllMetadata(): Record<string, unknown>;
|
|
165
|
-
/** @internal */
|
|
166
156
|
_promptImpl(prompt: string, options: PromptOptions | undefined, conversationId: string): Promise<{
|
|
167
157
|
message: string;
|
|
168
158
|
objects: RoolObject[];
|
|
159
|
+
creditsUsed: number;
|
|
169
160
|
}>;
|
|
170
161
|
/**
|
|
171
162
|
* Request that the server stop a specific in-flight interaction by ID.
|
|
@@ -174,8 +165,6 @@ export declare class SpaceOperations extends EventEmitter<RoolSpaceEvents> {
|
|
|
174
165
|
* already finished). Stopping is best-effort — see {@link ConversationHandle.stop}.
|
|
175
166
|
*/
|
|
176
167
|
stopInteraction(interactionId: string): Promise<boolean>;
|
|
177
|
-
/** @internal */
|
|
178
|
-
_stopImpl(conversationId: string): Promise<boolean>;
|
|
179
168
|
/**
|
|
180
169
|
* Fetch an external URL via the server proxy, bypassing CORS restrictions.
|
|
181
170
|
*/
|
|
@@ -190,21 +179,39 @@ export declare class SpaceOperations extends EventEmitter<RoolSpaceEvents> {
|
|
|
190
179
|
* @internal
|
|
191
180
|
*/
|
|
192
181
|
private applySpaceContentEvent;
|
|
182
|
+
/** Maintain the conversation meta list from an SSE update. */
|
|
183
|
+
private _updateConversationMeta;
|
|
193
184
|
}
|
|
194
185
|
/**
|
|
195
|
-
* A
|
|
186
|
+
* A stateful handle for a single conversation. Holds the interaction tree and a
|
|
187
|
+
* client-side branch cursor (active leaf). Acquired on demand via
|
|
188
|
+
* {@link SpaceOperations.conversation}; a fresh handle each call — the SDK
|
|
189
|
+
* holds no handle map. The handle starts unloaded; call {@link load} to fetch
|
|
190
|
+
* an existing conversation's contents, or just {@link prompt} to start a new
|
|
191
|
+
* one. Feed SSE updates via {@link applyUpdate}.
|
|
196
192
|
*/
|
|
197
193
|
export declare class ConversationHandle {
|
|
198
|
-
/** @internal */
|
|
199
194
|
private _space;
|
|
200
195
|
private _conversationId;
|
|
196
|
+
private _data;
|
|
197
|
+
private _activeLeaf;
|
|
201
198
|
/** @internal */
|
|
202
199
|
constructor(space: SpaceOperations, conversationId: string);
|
|
203
200
|
/** The conversation ID this handle is scoped to. */
|
|
204
201
|
get conversationId(): string;
|
|
205
|
-
/**
|
|
202
|
+
/** Whether the conversation contents have been loaded. */
|
|
203
|
+
get loaded(): boolean;
|
|
204
|
+
/** Fetch the full conversation from the server. Skips the overwrite if SSE
|
|
205
|
+
* already filled the tree during the fetch (SSE is the real-time source of
|
|
206
|
+
* truth). Pass `true` to force a reload — used after a reconnect `reset`,
|
|
207
|
+
* where we may have missed SSE updates while disconnected. */
|
|
208
|
+
load(force?: boolean): Promise<void>;
|
|
209
|
+
/** Apply an SSE conversation update — updates the tree + cursor. Pass `null`
|
|
210
|
+
* for a deletion. */
|
|
211
|
+
applyUpdate(conversation: Conversation | null): void;
|
|
212
|
+
/** Get the active branch as a flat array (root → leaf). Empty until loaded. */
|
|
206
213
|
getInteractions(): Interaction[];
|
|
207
|
-
/** Get the full interaction tree as a record. */
|
|
214
|
+
/** Get the full interaction tree as a record. Empty until loaded. */
|
|
208
215
|
getTree(): Record<string, Interaction>;
|
|
209
216
|
/** Get the active leaf interaction ID, or undefined if empty. */
|
|
210
217
|
get activeLeafId(): string | undefined;
|
|
@@ -218,29 +225,12 @@ export declare class ConversationHandle {
|
|
|
218
225
|
rename(name: string): Promise<void>;
|
|
219
226
|
/** Delete this conversation. */
|
|
220
227
|
delete(): Promise<void>;
|
|
221
|
-
/**
|
|
222
|
-
|
|
223
|
-
object: RoolObject;
|
|
224
|
-
message: string;
|
|
225
|
-
}>;
|
|
226
|
-
/** Patch an existing object JSON file. */
|
|
227
|
-
patchObject(path: string, options: UpdateObjectOptions): Promise<{
|
|
228
|
-
object: RoolObject;
|
|
229
|
-
message: string;
|
|
230
|
-
}>;
|
|
231
|
-
/** Move (rename/relocate) an object. */
|
|
232
|
-
moveObject(from: string, to: string, options?: MoveObjectOptions): Promise<{
|
|
233
|
-
object: RoolObject;
|
|
234
|
-
message: string;
|
|
235
|
-
}>;
|
|
236
|
-
/** Delete object JSON files by path. */
|
|
237
|
-
deleteObjects(paths: string[]): Promise<void>;
|
|
238
|
-
/** @deprecated Use deleteObjects instead. */
|
|
239
|
-
deletePaths(paths: string[]): Promise<void>;
|
|
240
|
-
/** Send a prompt to the AI agent, scoped to this conversation's history. */
|
|
228
|
+
/** Send a prompt to the AI agent, scoped to this conversation's history.
|
|
229
|
+
* Auto-continues from the active leaf unless `parentInteractionId` is set. */
|
|
241
230
|
prompt(text: string, options?: PromptOptions): Promise<{
|
|
242
231
|
message: string;
|
|
243
232
|
objects: RoolObject[];
|
|
233
|
+
creditsUsed: number;
|
|
244
234
|
}>;
|
|
245
235
|
/**
|
|
246
236
|
* Stop this conversation's in-flight interaction, if any. No-op returning
|
|
@@ -248,12 +238,5 @@ export declare class ConversationHandle {
|
|
|
248
238
|
* {@link RoolSpace.stopInteraction}.
|
|
249
239
|
*/
|
|
250
240
|
stop(): Promise<boolean>;
|
|
251
|
-
/** Create a new collection schema. */
|
|
252
|
-
createCollection(name: string, fields: FieldDef[] | CollectionDef, options?: CollectionOptions): Promise<CollectionDef>;
|
|
253
|
-
/** Alter an existing collection schema. */
|
|
254
|
-
alterCollection(name: string, fields: FieldDef[] | CollectionDef, options?: CollectionOptions): Promise<CollectionDef>;
|
|
255
|
-
/** Drop a collection schema. */
|
|
256
|
-
dropCollection(name: string): Promise<void>;
|
|
257
|
-
setMetadata(key: string, value: unknown): void;
|
|
258
241
|
}
|
|
259
242
|
//# sourceMappingURL=space-session.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"space-session.d.ts","sourceRoot":"","sources":["../src/space-session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAe,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,EACV,UAAU,EACV,gBAAgB,EAChB,
|
|
1
|
+
{"version":3,"file":"space-session.d.ts","sourceRoot":"","sources":["../src/space-session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAe,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,EACV,UAAU,EACV,gBAAgB,EAChB,eAAe,EACf,YAAY,EACZ,aAAa,EACb,mBAAmB,EACnB,iBAAiB,EACjB,UAAU,EACV,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB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