@agentshouse/mdruntime-adapter 0.1.0-c829d5a7a2984 → 0.1.0-c82bbadeabf45
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/adapter.d.ts.map +1 -1
- package/dist/adapter.js +6 -11
- package/dist/authored-path.d.ts +0 -1
- package/dist/authored-path.d.ts.map +1 -1
- package/dist/authored-path.js +1 -2
- package/dist/chunks.d.ts +2 -3
- package/dist/chunks.d.ts.map +1 -1
- package/dist/chunks.js +53 -18
- package/dist/index.d.ts +1 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -5
- package/dist/model.d.ts +3 -3
- package/dist/model.d.ts.map +1 -1
- package/dist/model.js +14 -15
- package/dist/read.d.ts.map +1 -1
- package/dist/read.js +2 -2
- package/dist/session-content/index.d.ts +1 -1
- package/dist/session-content/parts.d.ts +4 -3
- package/dist/session-content/turn.d.ts +3 -3
- package/dist/site.d.ts.map +1 -1
- package/dist/site.js +3 -7
- package/dist/space-schema.d.ts.map +1 -1
- package/dist/space-schema.js +1 -8
- package/dist/stream.d.ts +2 -3
- package/dist/stream.d.ts.map +1 -1
- package/dist/stream.js +49 -59
- package/dist/transport.d.ts +8 -5
- package/dist/transport.d.ts.map +1 -1
- package/dist/transport.js +1 -1
- package/package.json +3 -2
- package/dist/app-reference.d.ts +0 -1
- package/dist/app-reference.d.ts.map +0 -1
- package/dist/app-reference.js +0 -2
- package/dist/crockford.d.ts +0 -3
- package/dist/crockford.d.ts.map +0 -1
- package/dist/crockford.js +0 -3
- package/dist/house-model.d.ts +0 -826
- package/dist/house-model.d.ts.map +0 -1
- package/dist/house-model.js +0 -464
- package/dist/room-types.d.ts +0 -4
- package/dist/room-types.d.ts.map +0 -1
- package/dist/room-types.js +0 -136
package/dist/stream.js
CHANGED
|
@@ -1,52 +1,35 @@
|
|
|
1
|
-
import { ROW_WEIGHT, stepped,
|
|
1
|
+
import { ROW_WEIGHT, stepped, } from '@agentshouse/mdruntime';
|
|
2
2
|
import { acceptedMessage, changeCursor, houseHistory } from './history.js';
|
|
3
|
-
import {
|
|
3
|
+
import { spaceSchemaTexts, streamedModels } from './model.js';
|
|
4
|
+
import { spaceSchemas } from './space-schema.js';
|
|
4
5
|
import { answered, answering, binaryFileOf, createdOf, folded, forgotten, headChange, revised, } from './read.js';
|
|
5
|
-
import { classifyDoor } from './refusal.js';
|
|
6
|
-
import { houseDoorRoute, } from './transport.js';
|
|
7
6
|
import { DECIMAL, logPosition, presented, roomVersion } from './version.js';
|
|
8
7
|
function turnOperation(frame) {
|
|
9
8
|
return 'at' in frame ? { op: 'begin', at: frame.at } : structuredClone(frame.operation);
|
|
10
9
|
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
{
|
|
30
|
-
agent: id,
|
|
31
|
-
name,
|
|
32
|
-
retired: retired !== null && retired !== undefined,
|
|
33
|
-
cli,
|
|
34
|
-
environment: {
|
|
35
|
-
identity: environment,
|
|
36
|
-
name: environmentName,
|
|
37
|
-
state: connected ? 'online' : 'offline',
|
|
38
|
-
},
|
|
39
|
-
},
|
|
40
|
-
]
|
|
41
|
-
: [];
|
|
42
|
-
});
|
|
10
|
+
function listedAgent(agent) {
|
|
11
|
+
return {
|
|
12
|
+
id: agent.id,
|
|
13
|
+
name: agent.name,
|
|
14
|
+
revision: agent.revision,
|
|
15
|
+
environment: agent.environment,
|
|
16
|
+
environment_name: agent.environment_name,
|
|
17
|
+
environment_connected: agent.environment_connected,
|
|
18
|
+
launch_directory: agent.launch_directory,
|
|
19
|
+
cli: agent.cli,
|
|
20
|
+
model: agent.model,
|
|
21
|
+
effort: agent.effort,
|
|
22
|
+
mode: agent.mode,
|
|
23
|
+
base_instructions: agent.base_instructions,
|
|
24
|
+
in_telegram: agent.in_telegram,
|
|
25
|
+
created: agent.created,
|
|
26
|
+
retired_at: agent.retired_at,
|
|
27
|
+
};
|
|
43
28
|
}
|
|
44
29
|
function listedConversation(listed) {
|
|
45
30
|
return {
|
|
46
31
|
conversation: listed.conversation_id,
|
|
47
32
|
agent: listed.agent_id,
|
|
48
|
-
agentName: listed.agent_name,
|
|
49
|
-
agentRetired: listed.agent_retired,
|
|
50
33
|
name: listed.name,
|
|
51
34
|
created: listed.created_at,
|
|
52
35
|
finished: listed.finished_at,
|
|
@@ -54,6 +37,7 @@ function listedConversation(listed) {
|
|
|
54
37
|
waiting: listed.waiting,
|
|
55
38
|
newest: listed.newest === null ? null : changeCursor(listed.newest),
|
|
56
39
|
processEnded: listed.process_ended_at,
|
|
40
|
+
subject: listed.subject,
|
|
57
41
|
};
|
|
58
42
|
}
|
|
59
43
|
function position(value) {
|
|
@@ -99,17 +83,19 @@ function* changed(tracked, entries, version, schemas) {
|
|
|
99
83
|
}
|
|
100
84
|
return { kind: 'net-advancement', roomVersion: version, ...(yield* answered(answer)) };
|
|
101
85
|
}
|
|
102
|
-
async function changePage(tracked, entries, version, mode,
|
|
86
|
+
async function changePage(tracked, entries, version, mode, whole) {
|
|
103
87
|
const schemas = new Map();
|
|
104
88
|
const page = await stepped(changed(tracked, entries, version, schemas));
|
|
105
|
-
const models = await streamedModels(schemas, tracked, mode,
|
|
89
|
+
const models = await streamedModels(schemas, tracked, mode, whole);
|
|
106
90
|
return models === undefined ? page : { ...page, models };
|
|
107
91
|
}
|
|
108
|
-
export function houseNotifications(transport, mode, discovering
|
|
92
|
+
export function houseNotifications(transport, mode, discovering) {
|
|
109
93
|
const stream = transport.stream;
|
|
110
94
|
const staged = new Map();
|
|
95
|
+
let spaces = spaceSchemas();
|
|
111
96
|
let socket = null;
|
|
112
97
|
const tracking = new Map();
|
|
98
|
+
const located = new Map();
|
|
113
99
|
const observers = new Set();
|
|
114
100
|
const replaying = new Map();
|
|
115
101
|
const conversationObservers = new Set();
|
|
@@ -151,6 +137,7 @@ export function houseNotifications(transport, mode, discovering, spaces) {
|
|
|
151
137
|
announced = null;
|
|
152
138
|
socket = next;
|
|
153
139
|
staged.clear();
|
|
140
|
+
spaces = spaceSchemas();
|
|
154
141
|
unanswered.length = 0;
|
|
155
142
|
heldAtZero.clear();
|
|
156
143
|
const gapped = new Set([...replicated, ...live]);
|
|
@@ -243,6 +230,7 @@ export function houseNotifications(transport, mode, discovering, spaces) {
|
|
|
243
230
|
emitConversation({ kind: 'accepted-message', conversation, message });
|
|
244
231
|
}
|
|
245
232
|
function stage(frame, via) {
|
|
233
|
+
const entries = spaceSchemaTexts(frame.entries, spaces);
|
|
246
234
|
const held = staged.get(frame.carry);
|
|
247
235
|
if (frame.index !== (held?.parts ?? 0)) {
|
|
248
236
|
staged.delete(frame.carry);
|
|
@@ -255,8 +243,7 @@ export function houseNotifications(transport, mode, discovering, spaces) {
|
|
|
255
243
|
}
|
|
256
244
|
}
|
|
257
245
|
const next = held ?? { authority: frame.authority, parts: 0, entries: [] };
|
|
258
|
-
|
|
259
|
-
next.entries.push(...frame.entries);
|
|
246
|
+
next.entries.push(...entries);
|
|
260
247
|
next.parts += 1;
|
|
261
248
|
staged.set(frame.carry, next);
|
|
262
249
|
via?.received(frame.authority, frame.carry, frame.index);
|
|
@@ -283,13 +270,11 @@ export function houseNotifications(transport, mode, discovering, spaces) {
|
|
|
283
270
|
return;
|
|
284
271
|
}
|
|
285
272
|
if (frame.type === 'caught_up') {
|
|
286
|
-
|
|
273
|
+
const expired = frame.expired.flatMap((authority) => tracking.get(authority) ?? []);
|
|
274
|
+
discovering.expired?.(expired);
|
|
287
275
|
emit({
|
|
288
276
|
kind: 'caught-up',
|
|
289
|
-
expired: [
|
|
290
|
-
...frame.expired.flatMap((authority) => (tracking.get(authority) ?? []).map((tracked) => tracked.locator)),
|
|
291
|
-
...(unanswered.shift() ?? []),
|
|
292
|
-
],
|
|
277
|
+
expired: [...expired.map(({ locator }) => locator), ...(unanswered.shift() ?? [])],
|
|
293
278
|
});
|
|
294
279
|
return;
|
|
295
280
|
}
|
|
@@ -302,6 +287,7 @@ export function houseNotifications(transport, mode, discovering, spaces) {
|
|
|
302
287
|
if (frame.type === 'conversations') {
|
|
303
288
|
emitConversation({
|
|
304
289
|
kind: 'list',
|
|
290
|
+
agents: frame.agents.map(listedAgent),
|
|
305
291
|
entries: frame.conversations.map(listedConversation),
|
|
306
292
|
whole: frame.whole,
|
|
307
293
|
more: frame.more,
|
|
@@ -313,6 +299,10 @@ export function houseNotifications(transport, mode, discovering, spaces) {
|
|
|
313
299
|
emitConversation({ kind: 'listed', entry: listedConversation(frame.conversation) });
|
|
314
300
|
return;
|
|
315
301
|
}
|
|
302
|
+
if (frame.type === 'agent') {
|
|
303
|
+
emitConversation({ kind: 'agent', agent: listedAgent(frame.agent) });
|
|
304
|
+
return;
|
|
305
|
+
}
|
|
316
306
|
if (frame.type === 'conversation_deleted') {
|
|
317
307
|
emitConversation({ kind: 'unlisted', conversation: frame.conversation_id });
|
|
318
308
|
return;
|
|
@@ -350,7 +340,7 @@ export function houseNotifications(transport, mode, discovering, spaces) {
|
|
|
350
340
|
locator: tracked.locator,
|
|
351
341
|
from,
|
|
352
342
|
roomVersion: version,
|
|
353
|
-
read: () => changePage(tracked, entries, version, mode,
|
|
343
|
+
read: () => changePage(tracked, entries, version, mode, from === null),
|
|
354
344
|
});
|
|
355
345
|
}
|
|
356
346
|
}
|
|
@@ -361,6 +351,7 @@ export function houseNotifications(transport, mode, discovering, spaces) {
|
|
|
361
351
|
announced = null;
|
|
362
352
|
socket = null;
|
|
363
353
|
staged.clear();
|
|
354
|
+
spaces = spaceSchemas();
|
|
364
355
|
unanswered.length = 0;
|
|
365
356
|
heldAtZero.clear();
|
|
366
357
|
emit({ kind: 'closed', revoked, lost, authorityChanged });
|
|
@@ -388,12 +379,7 @@ export function houseNotifications(transport, mode, discovering, spaces) {
|
|
|
388
379
|
conversationObservers.delete(notify);
|
|
389
380
|
};
|
|
390
381
|
},
|
|
391
|
-
...(mode === 'credential'
|
|
392
|
-
? {
|
|
393
|
-
agents: () => houseAgents(transport),
|
|
394
|
-
history: (request) => houseHistory(transport, request),
|
|
395
|
-
}
|
|
396
|
-
: {}),
|
|
382
|
+
...(mode === 'credential' ? { history: (request) => houseHistory(transport, request) } : {}),
|
|
397
383
|
},
|
|
398
384
|
observe(notify) {
|
|
399
385
|
observers.add(notify);
|
|
@@ -418,14 +404,13 @@ export function houseNotifications(transport, mode, discovering, spaces) {
|
|
|
418
404
|
announced = null;
|
|
419
405
|
if (socket === null)
|
|
420
406
|
return;
|
|
421
|
-
const entries = new Map([...tracking.values()].flat().map((tracked) => [tracked.locator, tracked]));
|
|
422
407
|
const named = rooms.flatMap((room) => {
|
|
423
|
-
const entry =
|
|
408
|
+
const entry = located.get(room.locator);
|
|
424
409
|
const at = room.roomVersion === null ? null : logPosition(room.roomVersion);
|
|
425
410
|
return entry === undefined || at === null ? [] : [{ entry, at }];
|
|
426
411
|
});
|
|
427
412
|
const unheld = rooms.flatMap((room) => {
|
|
428
|
-
const entry =
|
|
413
|
+
const entry = located.get(room.locator);
|
|
429
414
|
return entry === undefined || room.roomVersion !== null ? [] : [entry];
|
|
430
415
|
});
|
|
431
416
|
for (const { entry, at } of named) {
|
|
@@ -453,16 +438,21 @@ export function houseNotifications(transport, mode, discovering, spaces) {
|
|
|
453
438
|
locator: entry.locator,
|
|
454
439
|
from: null,
|
|
455
440
|
roomVersion: version,
|
|
456
|
-
read: () => changePage(entry, [], version, mode,
|
|
441
|
+
read: () => changePage(entry, [], version, mode, true),
|
|
457
442
|
});
|
|
458
443
|
}
|
|
459
444
|
});
|
|
460
445
|
},
|
|
461
446
|
track(entries) {
|
|
462
447
|
tracking.clear();
|
|
448
|
+
located.clear();
|
|
463
449
|
for (const entry of entries) {
|
|
464
450
|
tracking.set(entry.authority, [...(tracking.get(entry.authority) ?? []), entry]);
|
|
465
451
|
}
|
|
452
|
+
for (const held of tracking.values()) {
|
|
453
|
+
for (const entry of held)
|
|
454
|
+
located.set(entry.locator, entry);
|
|
455
|
+
}
|
|
466
456
|
for (const [carry, held] of staged) {
|
|
467
457
|
if (!tracking.has(held.authority))
|
|
468
458
|
staged.delete(carry);
|
package/dist/transport.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { ConversationEvent, SavedFacts } from '@agentshouse/mdruntime';
|
|
1
|
+
import type { ConversationEvent, ListedAgent, SavedFacts } from '@agentshouse/mdruntime';
|
|
2
2
|
import type { Operation, SessionState } from './session-content/index.js';
|
|
3
3
|
export declare const HOUSE_RUNTIME_READS: {
|
|
4
|
-
readonly acts: readonly ['account/push/set', '
|
|
5
|
-
readonly frames: readonly ['app-message', 'authority_changed', 'carried', 'caught_up', 'commands', 'conversation', 'conversation_deleted', 'conversations', 'deliveries', 'deployment', 'held', 'interactions', 'link', 'message', 'opening', 'options', 'part', 'process', 'received', 'signal', 'site', 'starting', 'state', 'tab-icon', 'turn'];
|
|
4
|
+
readonly acts: readonly ['account/push/set', 'apps/features/set', 'apps/source/download', 'apps/source/top/read', 'conversations/history/list', 'files/attach', 'files/batch', 'files/batch-upload', 'files/finish', 'files/read', 'files/revisions/list', 'room-chunks/list', 'rooms/discover', 'rooms/search', 'sites/screenshot/read'];
|
|
5
|
+
readonly frames: readonly ['agent', 'app-message', 'authority_changed', 'carried', 'caught_up', 'commands', 'conversation', 'conversation_deleted', 'conversations', 'deliveries', 'deployment', 'held', 'interactions', 'link', 'message', 'opening', 'options', 'part', 'process', 'received', 'signal', 'site', 'starting', 'state', 'tab-icon', 'turn'];
|
|
6
6
|
};
|
|
7
7
|
export type HouseRuntimeAct = (typeof HOUSE_RUNTIME_READS.acts)[number];
|
|
8
8
|
export type HouseRuntimeFrame = (typeof HOUSE_RUNTIME_READS.frames)[number];
|
|
@@ -52,8 +52,6 @@ type LiveFact<K extends ConversationEvent['kind']> = Extract<ConversationEvent,
|
|
|
52
52
|
export type HouseListedConversation = {
|
|
53
53
|
conversation_id: string;
|
|
54
54
|
agent_id: string;
|
|
55
|
-
agent_name: string;
|
|
56
|
-
agent_retired: boolean;
|
|
57
55
|
name: string;
|
|
58
56
|
created_at: string;
|
|
59
57
|
finished_at: string | null;
|
|
@@ -61,6 +59,7 @@ export type HouseListedConversation = {
|
|
|
61
59
|
waiting: boolean;
|
|
62
60
|
newest: number | null;
|
|
63
61
|
process_ended_at: string | null;
|
|
62
|
+
subject: string | null;
|
|
64
63
|
};
|
|
65
64
|
type Listed<Frame extends {
|
|
66
65
|
readonly type: HouseRuntimeFrame;
|
|
@@ -143,6 +142,7 @@ export type HouseStreamFrame = Listed<{
|
|
|
143
142
|
connected: boolean;
|
|
144
143
|
} | {
|
|
145
144
|
type: 'conversations';
|
|
145
|
+
agents: readonly ListedAgent[];
|
|
146
146
|
conversations: readonly HouseListedConversation[];
|
|
147
147
|
whole: boolean;
|
|
148
148
|
more: boolean;
|
|
@@ -150,6 +150,9 @@ export type HouseStreamFrame = Listed<{
|
|
|
150
150
|
} | {
|
|
151
151
|
type: 'conversation';
|
|
152
152
|
conversation: HouseListedConversation;
|
|
153
|
+
} | {
|
|
154
|
+
type: 'agent';
|
|
155
|
+
agent: ListedAgent;
|
|
153
156
|
} | {
|
|
154
157
|
type: 'conversation_deleted';
|
|
155
158
|
conversation_id: string;
|
package/dist/transport.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transport.d.ts","sourceRoot":"","sources":["../src/transport.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"transport.d.ts","sourceRoot":"","sources":["../src/transport.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC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
|
|
2
2
|
acts: [
|
|
3
3
|
'account/push/set',
|
|
4
|
-
'agents/list',
|
|
5
4
|
'apps/features/set',
|
|
6
5
|
'apps/source/download',
|
|
7
6
|
'apps/source/top/read',
|
|
@@ -18,6 +17,7 @@ export const HOUSE_RUNTIME_READS = {
|
|
|
18
17
|
'sites/screenshot/read',
|
|
19
18
|
],
|
|
20
19
|
frames: [
|
|
20
|
+
'agent',
|
|
21
21
|
'app-message',
|
|
22
22
|
'authority_changed',
|
|
23
23
|
'carried',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentshouse/mdruntime-adapter",
|
|
3
|
-
"version": "0.1.0-
|
|
3
|
+
"version": "0.1.0-c82bbadeabf45",
|
|
4
4
|
"description": "Agents House Adapter for the MD Runtime",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -24,7 +24,8 @@
|
|
|
24
24
|
"LICENSE"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@agentshouse/
|
|
27
|
+
"@agentshouse/mdmodel": "0.1.0-c2e6f0cf254e0",
|
|
28
|
+
"@agentshouse/mdruntime": "0.1.0-ce06b735d6c6d"
|
|
28
29
|
},
|
|
29
30
|
"repository": {
|
|
30
31
|
"type": "git",
|
package/dist/app-reference.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const APP_REFERENCE_PATTERN: RegExp;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"app-reference.d.ts","sourceRoot":"","sources":["../src/app-reference.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB,QAEjC,CAAC"}
|
package/dist/app-reference.js
DELETED
package/dist/crockford.d.ts
DELETED
package/dist/crockford.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"crockford.d.ts","sourceRoot":"","sources":["../src/crockford.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,qCAAqC,CAAC;AAErE,eAAO,MAAM,mBAAmB,uCAA4B,CAAC;AAE7D,eAAO,MAAM,2BAA2B,QAAqC,CAAC"}
|
package/dist/crockford.js
DELETED