@principal-ai/subsystems-core 0.44.0 → 0.44.1
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/agent-sessions/fixture.d.ts +80 -0
- package/dist/agent-sessions/fixture.d.ts.map +1 -0
- package/dist/agent-sessions/fixture.js +130 -0
- package/dist/agent-sessions/fixture.js.map +1 -0
- package/dist/agent-sessions/index.d.ts +3 -0
- package/dist/agent-sessions/index.d.ts.map +1 -0
- package/dist/agent-sessions/index.js +6 -0
- package/dist/agent-sessions/index.js.map +1 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +36 -0
- package/dist/index.js.map +1 -0
- package/dist/node.d.ts +22 -0
- package/dist/node.d.ts.map +1 -0
- package/dist/node.js +55 -0
- package/dist/node.js.map +1 -0
- package/dist/opencode/OpenCodeEventStore.d.ts +25 -0
- package/dist/opencode/OpenCodeEventStore.d.ts.map +1 -0
- package/dist/opencode/OpenCodeEventStore.js +182 -0
- package/dist/opencode/OpenCodeEventStore.js.map +1 -0
- package/dist/opencode/agent-sessions.d.ts +46 -0
- package/dist/opencode/agent-sessions.d.ts.map +1 -0
- package/dist/opencode/agent-sessions.js +302 -0
- package/dist/opencode/agent-sessions.js.map +1 -0
- package/dist/opencode/index.d.ts +6 -0
- package/dist/opencode/index.d.ts.map +1 -0
- package/dist/opencode/index.js +15 -0
- package/dist/opencode/index.js.map +1 -0
- package/dist/opencode/node-path-adapter.d.ts +25 -0
- package/dist/opencode/node-path-adapter.d.ts.map +1 -0
- package/dist/opencode/node-path-adapter.js +188 -0
- package/dist/opencode/node-path-adapter.js.map +1 -0
- package/dist/opencode/pipeline.d.ts +42 -0
- package/dist/opencode/pipeline.d.ts.map +1 -0
- package/dist/opencode/pipeline.js +90 -0
- package/dist/opencode/pipeline.js.map +1 -0
- package/dist/opencode/types.d.ts +39 -0
- package/dist/opencode/types.d.ts.map +1 -0
- package/dist/opencode/types.js +3 -0
- package/dist/opencode/types.js.map +1 -0
- package/dist/storage/topic-types.d.ts +203 -0
- package/dist/storage/topic-types.d.ts.map +1 -0
- package/dist/storage/topic-types.js +60 -0
- package/dist/storage/topic-types.js.map +1 -0
- package/dist/storage/topicStore.d.ts +131 -0
- package/dist/storage/topicStore.d.ts.map +1 -0
- package/dist/storage/topicStore.js +341 -0
- package/dist/storage/topicStore.js.map +1 -0
- package/dist/types/index.d.ts +7 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +23 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/subsystem-model.d.ts +388 -0
- package/dist/types/subsystem-model.d.ts.map +1 -0
- package/dist/types/subsystem-model.js +87 -0
- package/dist/types/subsystem-model.js.map +1 -0
- package/dist/validation.d.ts +24 -0
- package/dist/validation.d.ts.map +1 -0
- package/dist/validation.js +112 -0
- package/dist/validation.js.map +1 -0
- package/package.json +2 -1
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* File-per-topic store under `~/.principal/topics/`.
|
|
4
|
+
*
|
|
5
|
+
* Layout (file-per-entity, so topics become locally greppable and an agent can
|
|
6
|
+
* read one directly):
|
|
7
|
+
*
|
|
8
|
+
* ~/.principal/topics/
|
|
9
|
+
* _index.json private, rebuildable manifest (entries[])
|
|
10
|
+
* <id>.json one pretty-printed DraftTopic per file
|
|
11
|
+
*
|
|
12
|
+
* Topics are the *least* repo-bound artifact (a bundle spanning many repos), so
|
|
13
|
+
* they are stored flat by id rather than bucketed by repo Purl. No purl, no
|
|
14
|
+
* buckets, no `node:os`/Purl dependency beyond `homedir()`.
|
|
15
|
+
*
|
|
16
|
+
* The `_index.json` manifest is store-private and rebuildable: it is rebuilt by
|
|
17
|
+
* scanning the directory whenever it is missing or unparseable. It exists only
|
|
18
|
+
* to make `getTopics()` / `list()` cheap (no per-file read for listing).
|
|
19
|
+
*
|
|
20
|
+
* There is intentionally NO eviction cap. Topics are few, user-curated, and must
|
|
21
|
+
* never be silently dropped.
|
|
22
|
+
*
|
|
23
|
+
* Migration from the legacy single-blob `~/.alexandria/topics.json` is explicit
|
|
24
|
+
* (`migrateFromLegacyBlob`) — it is never run automatically on load; the desktop
|
|
25
|
+
* triggers it from a Settings action.
|
|
26
|
+
*/
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.TopicStore = exports.LEGACY_TOPICS_BLOB = exports.TOPICS_DIR = exports.PRINCIPAL_DIR = void 0;
|
|
29
|
+
const node_os_1 = require("node:os");
|
|
30
|
+
const node_path_1 = require("node:path");
|
|
31
|
+
const promises_1 = require("node:fs/promises");
|
|
32
|
+
/** Root of the global, cross-repo principal narration store. */
|
|
33
|
+
exports.PRINCIPAL_DIR = (0, node_path_1.join)((0, node_os_1.homedir)(), '.principal');
|
|
34
|
+
/** File-per-topic directory. */
|
|
35
|
+
exports.TOPICS_DIR = (0, node_path_1.join)(exports.PRINCIPAL_DIR, 'topics');
|
|
36
|
+
/** Legacy single-blob path the migration reads from. */
|
|
37
|
+
exports.LEGACY_TOPICS_BLOB = (0, node_path_1.join)((0, node_os_1.homedir)(), '.alexandria', 'topics.json');
|
|
38
|
+
const INDEX_FILENAME = '_index.json';
|
|
39
|
+
const DESCRIPTION_PREVIEW_MAX = 200;
|
|
40
|
+
const emptyIndex = () => ({ version: 1, entries: [] });
|
|
41
|
+
const sanitizeSegment = (value) => value.replace(/[^A-Za-z0-9._-]/g, '_');
|
|
42
|
+
const nowIso = () => new Date().toISOString();
|
|
43
|
+
/** Locally-unique topic id, matching the legacy `topic-<ts>-<rand>` shape. */
|
|
44
|
+
const generateTopicId = () => `topic-${Date.now()}-${Math.random().toString(36).slice(2, 11)}`;
|
|
45
|
+
const descriptionPreview = (description) => {
|
|
46
|
+
if (!description)
|
|
47
|
+
return '';
|
|
48
|
+
const trimmed = description.trim();
|
|
49
|
+
if (trimmed.length <= DESCRIPTION_PREVIEW_MAX)
|
|
50
|
+
return trimmed;
|
|
51
|
+
return `${trimmed.slice(0, DESCRIPTION_PREVIEW_MAX - 1)}…`;
|
|
52
|
+
};
|
|
53
|
+
const buildEntry = (topic, sizeBytes) => ({
|
|
54
|
+
id: topic.id,
|
|
55
|
+
title: topic.title || 'Untitled topic',
|
|
56
|
+
descriptionPreview: descriptionPreview(topic.description),
|
|
57
|
+
trailCount: topic.trailIds.length,
|
|
58
|
+
state: topic.status?.state,
|
|
59
|
+
createdAt: topic.createdAt,
|
|
60
|
+
updatedAt: topic.updatedAt,
|
|
61
|
+
createdBy: topic.createdBy,
|
|
62
|
+
hasAssets: (topic.assets?.length ?? 0) > 0,
|
|
63
|
+
sizeBytes,
|
|
64
|
+
fileName: `${sanitizeSegment(topic.id)}.json`,
|
|
65
|
+
});
|
|
66
|
+
class TopicStore {
|
|
67
|
+
/**
|
|
68
|
+
* @param baseDir file-per-topic directory (defaults to `TOPICS_DIR`)
|
|
69
|
+
* @param legacyBlobPath legacy blob the migration reads (defaults to
|
|
70
|
+
* `LEGACY_TOPICS_BLOB`); injectable for tests.
|
|
71
|
+
*/
|
|
72
|
+
constructor(baseDir = exports.TOPICS_DIR, legacyBlobPath = exports.LEGACY_TOPICS_BLOB) {
|
|
73
|
+
this.index = null;
|
|
74
|
+
this.writeQueue = Promise.resolve();
|
|
75
|
+
this.baseDir = baseDir;
|
|
76
|
+
this.indexPath = (0, node_path_1.join)(baseDir, INDEX_FILENAME);
|
|
77
|
+
this.legacyBlobPath = legacyBlobPath;
|
|
78
|
+
}
|
|
79
|
+
// ===== Topic CRUD =====
|
|
80
|
+
async getTopics() {
|
|
81
|
+
const idx = await this.getIndex();
|
|
82
|
+
const topics = [];
|
|
83
|
+
for (const entry of idx.entries) {
|
|
84
|
+
const topic = await this.readTopic(entry.fileName);
|
|
85
|
+
if (topic)
|
|
86
|
+
topics.push(topic);
|
|
87
|
+
}
|
|
88
|
+
return topics;
|
|
89
|
+
}
|
|
90
|
+
async getTopic(id) {
|
|
91
|
+
const idx = await this.getIndex();
|
|
92
|
+
const entry = idx.entries.find((e) => e.id === id);
|
|
93
|
+
if (!entry)
|
|
94
|
+
return null;
|
|
95
|
+
return this.readTopic(entry.fileName);
|
|
96
|
+
}
|
|
97
|
+
/** Cheap listing straight off the manifest — no per-topic file read. */
|
|
98
|
+
async list() {
|
|
99
|
+
const idx = await this.getIndex();
|
|
100
|
+
return idx.entries
|
|
101
|
+
.slice()
|
|
102
|
+
.sort((a, b) => (a.updatedAt < b.updatedAt ? 1 : -1));
|
|
103
|
+
}
|
|
104
|
+
async createTopic(input) {
|
|
105
|
+
const idx = await this.getIndex();
|
|
106
|
+
const now = nowIso();
|
|
107
|
+
const id = input.id?.trim() || generateTopicId();
|
|
108
|
+
if (idx.entries.some((e) => e.id === id)) {
|
|
109
|
+
throw new Error(`Topic with id '${id}' already exists`);
|
|
110
|
+
}
|
|
111
|
+
const topic = {
|
|
112
|
+
...input,
|
|
113
|
+
id,
|
|
114
|
+
title: input.title || 'Untitled topic',
|
|
115
|
+
trailIds: input.trailIds ?? [],
|
|
116
|
+
createdAt: input.createdAt ?? now,
|
|
117
|
+
updatedAt: input.updatedAt ?? now,
|
|
118
|
+
};
|
|
119
|
+
await this.writeTopic(topic, idx);
|
|
120
|
+
return topic;
|
|
121
|
+
}
|
|
122
|
+
async updateTopic(id, updates) {
|
|
123
|
+
const idx = await this.getIndex();
|
|
124
|
+
const existing = await this.requireTopic(idx, id);
|
|
125
|
+
const next = {
|
|
126
|
+
...existing,
|
|
127
|
+
...updates,
|
|
128
|
+
id: existing.id,
|
|
129
|
+
trailIds: existing.trailIds,
|
|
130
|
+
createdAt: existing.createdAt,
|
|
131
|
+
updatedAt: nowIso(),
|
|
132
|
+
};
|
|
133
|
+
await this.writeTopic(next, idx);
|
|
134
|
+
return next;
|
|
135
|
+
}
|
|
136
|
+
async deleteTopic(id) {
|
|
137
|
+
const idx = await this.getIndex();
|
|
138
|
+
const entryIdx = idx.entries.findIndex((e) => e.id === id);
|
|
139
|
+
if (entryIdx < 0)
|
|
140
|
+
return false;
|
|
141
|
+
const { fileName } = idx.entries[entryIdx];
|
|
142
|
+
idx.entries.splice(entryIdx, 1);
|
|
143
|
+
await this.unlinkRelative(fileName);
|
|
144
|
+
await this.persistIndex();
|
|
145
|
+
return true;
|
|
146
|
+
}
|
|
147
|
+
// ===== Migration =====
|
|
148
|
+
/**
|
|
149
|
+
* One-shot migration from the legacy single-blob `~/.alexandria/topics.json`
|
|
150
|
+
* to file-per-topic. Reads the blob's `topics[]`, writes each as
|
|
151
|
+
* `<id>.json`, rebuilds the index, then renames the blob to `<blob>.bak` so
|
|
152
|
+
* a re-run is a no-op.
|
|
153
|
+
*
|
|
154
|
+
* Explicit by design — the desktop calls this from a Settings action, never
|
|
155
|
+
* on load. Idempotent: once the blob is `.bak`'d, subsequent calls report
|
|
156
|
+
* `noLegacyBlob`. An existing topic id is overwritten (the blob wins on a
|
|
157
|
+
* first migration), so re-importing after edits is the caller's decision.
|
|
158
|
+
*/
|
|
159
|
+
async migrateFromLegacyBlob() {
|
|
160
|
+
let raw;
|
|
161
|
+
try {
|
|
162
|
+
raw = await (0, promises_1.readFile)(this.legacyBlobPath, 'utf8');
|
|
163
|
+
}
|
|
164
|
+
catch {
|
|
165
|
+
return { migrated: 0, skipped: 0, noLegacyBlob: true };
|
|
166
|
+
}
|
|
167
|
+
let blob;
|
|
168
|
+
try {
|
|
169
|
+
blob = JSON.parse(raw);
|
|
170
|
+
}
|
|
171
|
+
catch {
|
|
172
|
+
throw new Error(`Legacy topics blob at ${this.legacyBlobPath} is not valid JSON; not migrating.`);
|
|
173
|
+
}
|
|
174
|
+
const idx = await this.getIndex();
|
|
175
|
+
let migrated = 0;
|
|
176
|
+
let skipped = 0;
|
|
177
|
+
for (const legacy of blob.topics ?? []) {
|
|
178
|
+
if (!legacy?.id) {
|
|
179
|
+
skipped++;
|
|
180
|
+
continue;
|
|
181
|
+
}
|
|
182
|
+
const now = nowIso();
|
|
183
|
+
const topic = {
|
|
184
|
+
...legacy,
|
|
185
|
+
title: legacy.title || 'Untitled topic',
|
|
186
|
+
trailIds: legacy.trailIds ?? [],
|
|
187
|
+
createdAt: legacy.createdAt ?? now,
|
|
188
|
+
updatedAt: legacy.updatedAt ?? now,
|
|
189
|
+
};
|
|
190
|
+
try {
|
|
191
|
+
await this.writeTopic(topic, idx);
|
|
192
|
+
migrated++;
|
|
193
|
+
}
|
|
194
|
+
catch {
|
|
195
|
+
skipped++;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
const backupPath = `${this.legacyBlobPath}.bak`;
|
|
199
|
+
let backedUp;
|
|
200
|
+
if (!(await this.pathExists(backupPath))) {
|
|
201
|
+
try {
|
|
202
|
+
await (0, promises_1.rename)(this.legacyBlobPath, backupPath);
|
|
203
|
+
backedUp = backupPath;
|
|
204
|
+
}
|
|
205
|
+
catch {
|
|
206
|
+
// Non-fatal: topics are migrated; the blob just wasn't renamed.
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
return {
|
|
210
|
+
migrated,
|
|
211
|
+
skipped,
|
|
212
|
+
noLegacyBlob: false,
|
|
213
|
+
...(backedUp ? { backupPath: backedUp } : {}),
|
|
214
|
+
};
|
|
215
|
+
}
|
|
216
|
+
// ===== Internals =====
|
|
217
|
+
async getIndex() {
|
|
218
|
+
if (!this.index) {
|
|
219
|
+
await (0, promises_1.mkdir)(this.baseDir, { recursive: true });
|
|
220
|
+
this.index = await this.loadIndex();
|
|
221
|
+
}
|
|
222
|
+
return this.index;
|
|
223
|
+
}
|
|
224
|
+
async requireTopic(idx, id) {
|
|
225
|
+
const entry = idx.entries.find((e) => e.id === id);
|
|
226
|
+
if (!entry)
|
|
227
|
+
throw new Error(`Topic with id '${id}' not found`);
|
|
228
|
+
const topic = await this.readTopic(entry.fileName);
|
|
229
|
+
if (!topic)
|
|
230
|
+
throw new Error(`Topic with id '${id}' not found`);
|
|
231
|
+
return topic;
|
|
232
|
+
}
|
|
233
|
+
/** Write a topic file and upsert its index entry. Does not generate ids. */
|
|
234
|
+
async writeTopic(topic, idx) {
|
|
235
|
+
const fileName = `${sanitizeSegment(topic.id)}.json`;
|
|
236
|
+
const file = (0, node_path_1.join)(this.baseDir, fileName);
|
|
237
|
+
await (0, promises_1.mkdir)((0, node_path_1.dirname)(file), { recursive: true });
|
|
238
|
+
const serialized = JSON.stringify(topic, null, 2);
|
|
239
|
+
await (0, promises_1.writeFile)(file, serialized, 'utf8');
|
|
240
|
+
const entry = buildEntry(topic, Buffer.byteLength(serialized, 'utf8'));
|
|
241
|
+
const at = idx.entries.findIndex((e) => e.id === topic.id);
|
|
242
|
+
if (at >= 0)
|
|
243
|
+
idx.entries[at] = entry;
|
|
244
|
+
else
|
|
245
|
+
idx.entries.push(entry);
|
|
246
|
+
await this.persistIndex();
|
|
247
|
+
}
|
|
248
|
+
async readTopic(fileName) {
|
|
249
|
+
try {
|
|
250
|
+
const raw = await (0, promises_1.readFile)((0, node_path_1.join)(this.baseDir, fileName), 'utf8');
|
|
251
|
+
return JSON.parse(raw);
|
|
252
|
+
}
|
|
253
|
+
catch (err) {
|
|
254
|
+
console.error('[TopicStore] Failed to read topic', fileName, err);
|
|
255
|
+
return null;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
async unlinkRelative(fileName) {
|
|
259
|
+
try {
|
|
260
|
+
await (0, promises_1.unlink)((0, node_path_1.join)(this.baseDir, fileName));
|
|
261
|
+
}
|
|
262
|
+
catch (err) {
|
|
263
|
+
const code = err.code;
|
|
264
|
+
if (code !== 'ENOENT') {
|
|
265
|
+
console.error('[TopicStore] Failed to unlink', fileName, err);
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
async pathExists(path) {
|
|
270
|
+
try {
|
|
271
|
+
await (0, promises_1.access)(path);
|
|
272
|
+
return true;
|
|
273
|
+
}
|
|
274
|
+
catch {
|
|
275
|
+
return false;
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
async loadIndex() {
|
|
279
|
+
try {
|
|
280
|
+
const raw = await (0, promises_1.readFile)(this.indexPath, 'utf8');
|
|
281
|
+
const parsed = JSON.parse(raw);
|
|
282
|
+
if (parsed?.version === 1 && Array.isArray(parsed.entries)) {
|
|
283
|
+
return { version: 1, entries: parsed.entries };
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
catch (err) {
|
|
287
|
+
const code = err.code;
|
|
288
|
+
if (code !== 'ENOENT') {
|
|
289
|
+
console.warn('[TopicStore] _index.json unreadable, rebuilding', err);
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
// No auto-migration here: the legacy blob is imported only via the
|
|
293
|
+
// explicit migrateFromLegacyBlob() Settings action.
|
|
294
|
+
return this.rebuildIndex();
|
|
295
|
+
}
|
|
296
|
+
/** Rebuild the manifest by scanning every `<id>.json` in the directory. */
|
|
297
|
+
async rebuildIndex() {
|
|
298
|
+
const idx = emptyIndex();
|
|
299
|
+
let names;
|
|
300
|
+
try {
|
|
301
|
+
names = await (0, promises_1.readdir)(this.baseDir);
|
|
302
|
+
}
|
|
303
|
+
catch {
|
|
304
|
+
return idx;
|
|
305
|
+
}
|
|
306
|
+
for (const name of names) {
|
|
307
|
+
if (name === INDEX_FILENAME || !name.endsWith('.json'))
|
|
308
|
+
continue;
|
|
309
|
+
const topic = await this.readTopic(name);
|
|
310
|
+
if (!topic?.id)
|
|
311
|
+
continue;
|
|
312
|
+
const createdAt = topic.createdAt ?? nowIso();
|
|
313
|
+
const stamped = {
|
|
314
|
+
...topic,
|
|
315
|
+
createdAt,
|
|
316
|
+
updatedAt: topic.updatedAt ?? createdAt,
|
|
317
|
+
title: topic.title || 'Untitled topic',
|
|
318
|
+
trailIds: topic.trailIds ?? [],
|
|
319
|
+
};
|
|
320
|
+
const raw = JSON.stringify(stamped, null, 2);
|
|
321
|
+
idx.entries.push(buildEntry(stamped, Buffer.byteLength(raw, 'utf8')));
|
|
322
|
+
}
|
|
323
|
+
this.index = idx;
|
|
324
|
+
await this.persistIndex();
|
|
325
|
+
return idx;
|
|
326
|
+
}
|
|
327
|
+
persistIndex() {
|
|
328
|
+
if (!this.index)
|
|
329
|
+
return Promise.resolve();
|
|
330
|
+
const snapshot = this.index;
|
|
331
|
+
this.writeQueue = this.writeQueue
|
|
332
|
+
.catch(() => undefined)
|
|
333
|
+
.then(async () => {
|
|
334
|
+
await (0, promises_1.mkdir)(this.baseDir, { recursive: true });
|
|
335
|
+
await (0, promises_1.writeFile)(this.indexPath, JSON.stringify(snapshot, null, 2), 'utf8');
|
|
336
|
+
});
|
|
337
|
+
return this.writeQueue;
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
exports.TopicStore = TopicStore;
|
|
341
|
+
//# sourceMappingURL=topicStore.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"topicStore.js","sourceRoot":"","sources":["../../src/storage/topicStore.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;;;AAEH,qCAAkC;AAClC,yCAA0C;AAC1C,+CAQ0B;AAG1B,gEAAgE;AACnD,QAAA,aAAa,GAAG,IAAA,gBAAI,EAAC,IAAA,iBAAO,GAAE,EAAE,YAAY,CAAC,CAAC;AAC3D,gCAAgC;AACnB,QAAA,UAAU,GAAG,IAAA,gBAAI,EAAC,qBAAa,EAAE,QAAQ,CAAC,CAAC;AACxD,wDAAwD;AAC3C,QAAA,kBAAkB,GAAG,IAAA,gBAAI,EAAC,IAAA,iBAAO,GAAE,EAAE,aAAa,EAAE,aAAa,CAAC,CAAC;AAEhF,MAAM,cAAc,GAAG,aAAa,CAAC;AACrC,MAAM,uBAAuB,GAAG,GAAG,CAAC;AA4BpC,MAAM,UAAU,GAAG,GAAgB,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAAC;AAEpE,MAAM,eAAe,GAAG,CAAC,KAAa,EAAU,EAAE,CAChD,KAAK,CAAC,OAA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AI,CAAC,OAAO,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;YAC/C,MAAM,IAAA,oBAAS,EAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;QAC7E,CAAC,CAAC,CAAC;QACL,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;CACF;AA3RD,gCA2RC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Public type surface for @principal-ai/subsystems-core.
|
|
3
|
+
* Canvas / OTEL graph types were removed; this package is subsystem models +
|
|
4
|
+
* agent-session tooling (see /node and /pipeline entry points).
|
|
5
|
+
*/
|
|
6
|
+
export * from './subsystem-model';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Public type surface for @principal-ai/subsystems-core.
|
|
4
|
+
* Canvas / OTEL graph types were removed; this package is subsystem models +
|
|
5
|
+
* agent-session tooling (see /node and /pipeline entry points).
|
|
6
|
+
*/
|
|
7
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
8
|
+
if (k2 === undefined) k2 = k;
|
|
9
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
10
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
11
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
12
|
+
}
|
|
13
|
+
Object.defineProperty(o, k2, desc);
|
|
14
|
+
}) : (function(o, m, k, k2) {
|
|
15
|
+
if (k2 === undefined) k2 = k;
|
|
16
|
+
o[k2] = m[k];
|
|
17
|
+
}));
|
|
18
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
20
|
+
};
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
__exportStar(require("./subsystem-model"), exports);
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;AAEH,oDAAkC"}
|