@jamesaphoenix/tx-core 0.5.9 → 0.6.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 +54 -4
- package/dist/errors.d.ts +25 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +16 -0
- package/dist/errors.js.map +1 -1
- package/dist/index.d.ts +6 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -5
- package/dist/index.js.map +1 -1
- package/dist/layer.d.ts +8 -4
- package/dist/layer.d.ts.map +1 -1
- package/dist/layer.js +25 -4
- package/dist/layer.js.map +1 -1
- package/dist/mappers/index.d.ts +1 -0
- package/dist/mappers/index.d.ts.map +1 -1
- package/dist/mappers/index.js +2 -0
- package/dist/mappers/index.js.map +1 -1
- package/dist/mappers/memory.d.ts +34 -0
- package/dist/mappers/memory.d.ts.map +1 -0
- package/dist/mappers/memory.js +135 -0
- package/dist/mappers/memory.js.map +1 -0
- package/dist/mappers/pin.d.ts +6 -0
- package/dist/mappers/pin.d.ts.map +1 -0
- package/dist/mappers/pin.js +10 -0
- package/dist/mappers/pin.js.map +1 -0
- package/dist/migrations-embedded.d.ts +9 -0
- package/dist/migrations-embedded.d.ts.map +1 -0
- package/dist/migrations-embedded.js +153 -0
- package/dist/migrations-embedded.js.map +1 -0
- package/dist/repo/index.d.ts +2 -0
- package/dist/repo/index.d.ts.map +1 -1
- package/dist/repo/index.js +2 -0
- package/dist/repo/index.js.map +1 -1
- package/dist/repo/memory-repo.d.ts +88 -0
- package/dist/repo/memory-repo.d.ts.map +1 -0
- package/dist/repo/memory-repo.js +556 -0
- package/dist/repo/memory-repo.js.map +1 -0
- package/dist/repo/pin-repo.d.ts +29 -0
- package/dist/repo/pin-repo.d.ts.map +1 -0
- package/dist/repo/pin-repo.js +79 -0
- package/dist/repo/pin-repo.js.map +1 -0
- package/dist/schemas/index.d.ts +2 -2
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +1 -1
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/sync.d.ts +598 -3
- package/dist/schemas/sync.d.ts.map +1 -1
- package/dist/schemas/sync.js +280 -6
- package/dist/schemas/sync.js.map +1 -1
- package/dist/services/agent-service.d.ts +2 -0
- package/dist/services/agent-service.d.ts.map +1 -1
- package/dist/services/agent-service.js +15 -1
- package/dist/services/agent-service.js.map +1 -1
- package/dist/services/cycle-scan-service.d.ts.map +1 -1
- package/dist/services/cycle-scan-service.js +11 -7
- package/dist/services/cycle-scan-service.js.map +1 -1
- package/dist/services/diversifier-service.d.ts +2 -2
- package/dist/services/diversifier-service.d.ts.map +1 -1
- package/dist/services/diversifier-service.js.map +1 -1
- package/dist/services/index.d.ts +4 -2
- package/dist/services/index.d.ts.map +1 -1
- package/dist/services/index.js +3 -1
- package/dist/services/index.js.map +1 -1
- package/dist/services/learning-service.d.ts +3 -2
- package/dist/services/learning-service.d.ts.map +1 -1
- package/dist/services/learning-service.js.map +1 -1
- package/dist/services/memory-retriever-service.d.ts +48 -0
- package/dist/services/memory-retriever-service.d.ts.map +1 -0
- package/dist/services/memory-retriever-service.js +332 -0
- package/dist/services/memory-retriever-service.js.map +1 -0
- package/dist/services/memory-service.d.ts +49 -0
- package/dist/services/memory-service.d.ts.map +1 -0
- package/dist/services/memory-service.js +1061 -0
- package/dist/services/memory-service.js.map +1 -0
- package/dist/services/migration-service.d.ts +8 -2
- package/dist/services/migration-service.d.ts.map +1 -1
- package/dist/services/migration-service.js +23 -8
- package/dist/services/migration-service.js.map +1 -1
- package/dist/services/pin-service.d.ts +33 -0
- package/dist/services/pin-service.d.ts.map +1 -0
- package/dist/services/pin-service.js +140 -0
- package/dist/services/pin-service.js.map +1 -0
- package/dist/services/ready-service.js +1 -1
- package/dist/services/ready-service.js.map +1 -1
- package/dist/services/retriever-service.d.ts +2 -2
- package/dist/services/retriever-service.d.ts.map +1 -1
- package/dist/services/retriever-service.js.map +1 -1
- package/dist/services/sync-service.d.ts +123 -4
- package/dist/services/sync-service.d.ts.map +1 -1
- package/dist/services/sync-service.js +1099 -11
- package/dist/services/sync-service.js.map +1 -1
- package/dist/services/task-service.js +2 -2
- package/dist/services/task-service.js.map +1 -1
- package/dist/utils/math.d.ts +4 -3
- package/dist/utils/math.d.ts.map +1 -1
- package/dist/utils/math.js +9 -4
- package/dist/utils/math.js.map +1 -1
- package/dist/utils/pin-file.d.ts +33 -0
- package/dist/utils/pin-file.d.ts.map +1 -0
- package/dist/utils/pin-file.js +87 -0
- package/dist/utils/pin-file.js.map +1 -0
- package/dist/utils/toml-config.d.ts +12 -0
- package/dist/utils/toml-config.d.ts.map +1 -1
- package/dist/utils/toml-config.js +111 -1
- package/dist/utils/toml-config.js.map +1 -1
- package/migrations/029_memory.sql +83 -0
- package/migrations/030_context_pins.sql +24 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -5,7 +5,14 @@
|
|
|
5
5
|
Memory, tasks, and orchestration. You own the loop.
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
+
# Standalone binary (recommended — no runtime needed)
|
|
9
|
+
curl -fsSL https://raw.githubusercontent.com/jamesaphoenix/tx/main/install.sh | sh
|
|
10
|
+
|
|
11
|
+
# Or via npm (requires bun)
|
|
8
12
|
npm install -g @jamesaphoenix/tx-cli
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
```bash
|
|
9
16
|
tx init
|
|
10
17
|
```
|
|
11
18
|
|
|
@@ -41,7 +48,7 @@ Composable primitives that handle the hard parts. You keep control of the orches
|
|
|
41
48
|
├─────────────────────────────────────────────────────────┤
|
|
42
49
|
│ tx primitives │
|
|
43
50
|
│ │
|
|
44
|
-
│ tx ready tx done tx context tx
|
|
51
|
+
│ tx ready tx done tx context tx memory │
|
|
45
52
|
│ tx claim tx block tx sync tx trace │
|
|
46
53
|
│ │
|
|
47
54
|
└─────────────────────────────────────────────────────────┘
|
|
@@ -53,12 +60,36 @@ Composable primitives that handle the hard parts. You keep control of the orches
|
|
|
53
60
|
|
|
54
61
|
### Memory
|
|
55
62
|
|
|
56
|
-
|
|
63
|
+
Filesystem-backed knowledge that persists, links, and surfaces when relevant.
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
# Register a directory of markdown files
|
|
67
|
+
tx memory source add ./docs
|
|
68
|
+
|
|
69
|
+
# Index and search your knowledge
|
|
70
|
+
tx memory index
|
|
71
|
+
tx memory search "authentication patterns"
|
|
72
|
+
tx memory search "auth" --semantic --expand # BM25 + vector + graph
|
|
73
|
+
|
|
74
|
+
# Create, tag, and link documents
|
|
75
|
+
tx memory add "JWT Guide" --tags auth,security
|
|
76
|
+
tx memory tag mem-a7f3bc12 reviewed
|
|
77
|
+
tx memory link mem-a7f3bc12 mem-b8e4cd56
|
|
78
|
+
|
|
79
|
+
# Navigate the knowledge graph
|
|
80
|
+
tx memory links mem-a7f3bc12 # Outgoing wikilinks + edges
|
|
81
|
+
tx memory backlinks mem-a7f3bc12 # What links to this?
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Three search modes: BM25 keyword search, vector similarity (`--semantic`), and graph expansion (`--expand`) via wikilinks and `frontmatter.related`. Combined with RRF fusion for best results.
|
|
85
|
+
|
|
86
|
+
### Learnings
|
|
87
|
+
|
|
88
|
+
Structured insights that attach to tasks and file paths.
|
|
57
89
|
|
|
58
90
|
```bash
|
|
59
91
|
# Store knowledge
|
|
60
92
|
tx learning:add "Use bcrypt for passwords, not SHA256"
|
|
61
|
-
tx learning:add "Redis cache invalidation has race conditions" -c database
|
|
62
93
|
|
|
63
94
|
# Attach learnings to file paths
|
|
64
95
|
tx learn "src/auth/*.ts" "Services must use Effect-TS patterns"
|
|
@@ -210,7 +241,7 @@ Detailed rollout, detached service setup, rollback, and troubleshooting:
|
|
|
210
241
|
|---|---|---|---|
|
|
211
242
|
| **Persistence** | Session-scoped | File grows forever | Git-native, branch-aware |
|
|
212
243
|
| **Multi-agent** | Collisions | Manual coordination | Claim with lease expiry |
|
|
213
|
-
| **Knowledge** | Lost each session | Static dump |
|
|
244
|
+
| **Knowledge** | Lost each session | Static dump | Filesystem memory, hybrid search, graph links |
|
|
214
245
|
| **Orchestration** | None | None | Primitives for any pattern |
|
|
215
246
|
|
|
216
247
|
---
|
|
@@ -263,6 +294,25 @@ tx unblock <id> <blocker> # Remove dependency
|
|
|
263
294
|
tx children <id> # List child tasks
|
|
264
295
|
tx tree <id> # Show hierarchy
|
|
265
296
|
|
|
297
|
+
# Memory (filesystem-backed .md search)
|
|
298
|
+
tx memory source add <dir> # Register directory
|
|
299
|
+
tx memory source rm <dir> # Unregister directory
|
|
300
|
+
tx memory source list # Show registered directories
|
|
301
|
+
tx memory add <title> # Create .md file (--content, --tags, --dir)
|
|
302
|
+
tx memory index # Index all sources (--incremental, --status)
|
|
303
|
+
tx memory search <query> # BM25 search (--semantic, --expand, --tags, --prop)
|
|
304
|
+
tx memory show <id> # Display document
|
|
305
|
+
tx memory tag <id> <tags> # Add tags to frontmatter
|
|
306
|
+
tx memory untag <id> <t> # Remove tags
|
|
307
|
+
tx memory relate <id> <t> # Add to frontmatter.related
|
|
308
|
+
tx memory set <id> <k> <v> # Set property
|
|
309
|
+
tx memory unset <id> <k> # Remove property
|
|
310
|
+
tx memory props <id> # Show properties
|
|
311
|
+
tx memory links <id> # Outgoing wikilinks + edges
|
|
312
|
+
tx memory backlinks <id> # Incoming links
|
|
313
|
+
tx memory list # List documents (--source, --tags)
|
|
314
|
+
tx memory link <src> <tgt> # Create explicit edge
|
|
315
|
+
|
|
266
316
|
# Context & Learnings
|
|
267
317
|
tx learning:add <content> # Store knowledge
|
|
268
318
|
tx learning:search <query> # Search learnings
|
package/dist/errors.d.ts
CHANGED
|
@@ -375,6 +375,30 @@ export declare class InvariantNotFoundError extends InvariantNotFoundError_base<
|
|
|
375
375
|
}> {
|
|
376
376
|
get message(): string;
|
|
377
377
|
}
|
|
378
|
+
declare const ZeroMagnitudeVectorError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
|
|
379
|
+
readonly _tag: "ZeroMagnitudeVectorError";
|
|
380
|
+
} & Readonly<A>;
|
|
381
|
+
export declare class ZeroMagnitudeVectorError extends ZeroMagnitudeVectorError_base<{
|
|
382
|
+
readonly dimensions: number;
|
|
383
|
+
}> {
|
|
384
|
+
get message(): string;
|
|
385
|
+
}
|
|
386
|
+
declare const MemoryDocumentNotFoundError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
|
|
387
|
+
readonly _tag: "MemoryDocumentNotFoundError";
|
|
388
|
+
} & Readonly<A>;
|
|
389
|
+
export declare class MemoryDocumentNotFoundError extends MemoryDocumentNotFoundError_base<{
|
|
390
|
+
readonly id: string;
|
|
391
|
+
}> {
|
|
392
|
+
get message(): string;
|
|
393
|
+
}
|
|
394
|
+
declare const MemorySourceNotFoundError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
|
|
395
|
+
readonly _tag: "MemorySourceNotFoundError";
|
|
396
|
+
} & Readonly<A>;
|
|
397
|
+
export declare class MemorySourceNotFoundError extends MemorySourceNotFoundError_base<{
|
|
398
|
+
readonly rootDir: string;
|
|
399
|
+
}> {
|
|
400
|
+
get message(): string;
|
|
401
|
+
}
|
|
378
402
|
declare const LlmUnavailableError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
|
|
379
403
|
readonly _tag: "LlmUnavailableError";
|
|
380
404
|
} & Readonly<A>;
|
|
@@ -429,6 +453,6 @@ export declare class StaleDataError extends StaleDataError_base<{
|
|
|
429
453
|
}> {
|
|
430
454
|
get message(): string;
|
|
431
455
|
}
|
|
432
|
-
export type TaskError = TaskNotFoundError | ValidationError | DocNotFoundError | DocLockedError | InvalidDocYamlError | InvariantNotFoundError | CircularDependencyError | DatabaseError | DependencyNotFoundError | EmbeddingUnavailableError | EmbeddingDimensionMismatchError | RerankerUnavailableError | ExtractionUnavailableError | RetrievalError | AstGrepError | DaemonError | FileWatcherError | WatcherAlreadyRunningError | WatcherNotRunningError | CandidateNotFoundError | RegistrationError | WorkerNotFoundError | AlreadyClaimedError | ClaimNotFoundError | ClaimIdNotFoundError | LeaseExpiredError | MaxRenewalsExceededError | OrchestratorError | RunNotFoundError | InvalidStatusError | InvalidDateError | UnexpectedRowCountError | EntityFetchError | StaleDataError | HasChildrenError | MessageNotFoundError | MessageAlreadyAckedError | LlmUnavailableError | AgentError | CycleScanError;
|
|
456
|
+
export type TaskError = TaskNotFoundError | ValidationError | DocNotFoundError | DocLockedError | InvalidDocYamlError | InvariantNotFoundError | CircularDependencyError | DatabaseError | DependencyNotFoundError | EmbeddingUnavailableError | EmbeddingDimensionMismatchError | RerankerUnavailableError | ExtractionUnavailableError | RetrievalError | AstGrepError | DaemonError | FileWatcherError | WatcherAlreadyRunningError | WatcherNotRunningError | CandidateNotFoundError | RegistrationError | WorkerNotFoundError | AlreadyClaimedError | ClaimNotFoundError | ClaimIdNotFoundError | LeaseExpiredError | MaxRenewalsExceededError | OrchestratorError | RunNotFoundError | InvalidStatusError | InvalidDateError | UnexpectedRowCountError | EntityFetchError | StaleDataError | HasChildrenError | MessageNotFoundError | MessageAlreadyAckedError | LlmUnavailableError | AgentError | CycleScanError | MemoryDocumentNotFoundError | MemorySourceNotFoundError;
|
|
433
457
|
export {};
|
|
434
458
|
//# sourceMappingURL=errors.d.ts.map
|
package/dist/errors.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AACA,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IACzF,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;CACpB,CAAC;IACA,IAAI,OAAO,WAEV;CACF;;;;AAED,qBAAa,cAAe,SAAQ,oBAAmC;IACrE,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAA;IAClC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAA;CACjC,CAAC;IACA,IAAI,OAAO,WAEV;CACF;AAED,MAAM,MAAM,SAAS,GACjB,iBAAiB,GACjB,eAAe,GACf,gBAAgB,GAChB,cAAc,GACd,mBAAmB,GACnB,sBAAsB,GACtB,uBAAuB,GACvB,aAAa,GACb,uBAAuB,GACvB,yBAAyB,GACzB,+BAA+B,GAC/B,wBAAwB,GACxB,0BAA0B,GAC1B,cAAc,GACd,YAAY,GACZ,WAAW,GACX,gBAAgB,GAChB,0BAA0B,GAC1B,sBAAsB,GACtB,sBAAsB,GACtB,iBAAiB,GACjB,mBAAmB,GACnB,mBAAmB,GACnB,kBAAkB,GAClB,oBAAoB,GACpB,iBAAiB,GACjB,wBAAwB,GACxB,iBAAiB,GACjB,gBAAgB,GAChB,kBAAkB,GAClB,gBAAgB,GAChB,uBAAuB,GACvB,gBAAgB,GAChB,cAAc,GACd,gBAAgB,GAChB,oBAAoB,GACpB,wBAAwB,GACxB,mBAAmB,GACnB,UAAU,GACV,cAAc,GACd,2BAA2B,GAC3B,yBAAyB,CAAA"}
|
package/dist/errors.js
CHANGED
|
@@ -231,6 +231,22 @@ export class InvariantNotFoundError extends Data.TaggedError("InvariantNotFoundE
|
|
|
231
231
|
return `Invariant not found: ${this.id}`;
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
|
+
// Memory error types
|
|
235
|
+
export class ZeroMagnitudeVectorError extends Data.TaggedError("ZeroMagnitudeVectorError") {
|
|
236
|
+
get message() {
|
|
237
|
+
return `Zero-magnitude vector (${this.dimensions} dims): embedding may be corrupted or all-zeros`;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
export class MemoryDocumentNotFoundError extends Data.TaggedError("MemoryDocumentNotFoundError") {
|
|
241
|
+
get message() {
|
|
242
|
+
return `Memory document not found: ${this.id}`;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
export class MemorySourceNotFoundError extends Data.TaggedError("MemorySourceNotFoundError") {
|
|
246
|
+
get message() {
|
|
247
|
+
return `Memory source not found: ${this.rootDir}`;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
234
250
|
// Agent/Cycle error types (PRD-023 cycle scan)
|
|
235
251
|
export class LlmUnavailableError extends Data.TaggedError("LlmUnavailableError") {
|
|
236
252
|
get message() {
|
package/dist/errors.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAG7B,MAAM,OAAO,iBAAkB,SAAQ,IAAI,CAAC,WAAW,CAAC,mBAAmB,CAEzE;IACA,IAAI,OAAO;QACT,OAAO,mBAAmB,IAAI,CAAC,EAAE,EAAE,CAAA;IACrC,CAAC;CACF;AAED,MAAM,OAAO,qBAAsB,SAAQ,IAAI,CAAC,WAAW,CAAC,uBAAuB,CAEjF;IACA,IAAI,OAAO;QACT,OAAO,uBAAuB,IAAI,CAAC,EAAE,EAAE,CAAA;IACzC,CAAC;CACF;AAED,MAAM,OAAO,yBAA0B,SAAQ,IAAI,CAAC,WAAW,CAAC,2BAA2B,CAEzF;IACA,IAAI,OAAO;QACT,OAAO,4BAA4B,IAAI,CAAC,EAAE,EAAE,CAAA;IAC9C,CAAC;CACF;AAED,MAAM,OAAO,oBAAqB,SAAQ,IAAI,CAAC,WAAW,CAAC,sBAAsB,CAE/E;IACA,IAAI,OAAO;QACT,OAAO,sBAAsB,IAAI,CAAC,EAAE,EAAE,CAAA;IACxC,CAAC;CACF;AAED,MAAM,OAAO,gBAAiB,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{ TaskNotFoundError, LearningNotFoundError, FileLearningNotFoundError, AttemptNotFoundError, RunNotFoundError, ValidationError, CircularDependencyError, DatabaseError, DependencyNotFoundError, EmbeddingUnavailableError, EmbeddingDimensionMismatchError, EdgeNotFoundError, AnchorNotFoundError, CandidateNotFoundError, ExtractionUnavailableError, RerankerUnavailableError, RetrievalError, AstGrepError, DaemonError, RegistrationError, WorkerNotFoundError, AlreadyClaimedError, ClaimNotFoundError, ClaimIdNotFoundError, LeaseExpiredError, MaxRenewalsExceededError, OrchestratorError, BatchProcessingError, StaleDataError, HasChildrenError, InvalidStatusError, InvalidDateError, MessageNotFoundError, MessageAlreadyAckedError, DocNotFoundError, DocLockedError, InvalidDocYamlError, InvariantNotFoundError, AgentError, CycleScanError, LlmUnavailableError } from "./errors.js";
|
|
9
|
+
export { TaskNotFoundError, LearningNotFoundError, FileLearningNotFoundError, AttemptNotFoundError, RunNotFoundError, ValidationError, CircularDependencyError, DatabaseError, DependencyNotFoundError, EmbeddingUnavailableError, EmbeddingDimensionMismatchError, EdgeNotFoundError, AnchorNotFoundError, CandidateNotFoundError, ExtractionUnavailableError, RerankerUnavailableError, RetrievalError, AstGrepError, DaemonError, RegistrationError, WorkerNotFoundError, AlreadyClaimedError, ClaimNotFoundError, ClaimIdNotFoundError, LeaseExpiredError, MaxRenewalsExceededError, OrchestratorError, BatchProcessingError, StaleDataError, HasChildrenError, InvalidStatusError, InvalidDateError, MessageNotFoundError, MessageAlreadyAckedError, DocNotFoundError, DocLockedError, InvalidDocYamlError, InvariantNotFoundError, AgentError, CycleScanError, LlmUnavailableError, ZeroMagnitudeVectorError, MemoryDocumentNotFoundError, MemorySourceNotFoundError } from "./errors.js";
|
|
10
10
|
export { SqliteClient, SqliteClientLive, makeSqliteClient, getSchemaVersion, applyMigrations, type SqliteDatabase, type SqliteStatement, type SqliteRunResult } from "./db.js";
|
|
11
11
|
export { generateTaskId, fixtureId } from "./id.js";
|
|
12
|
-
export { makeAppLayer, makeAppLayerFromInfra, makeMinimalLayer, makeMinimalLayerFromInfra, SyncService, MigrationService, AutoSyncService, AutoSyncServiceNoop, AutoSyncServiceLive, LearningService, FileLearningService, EmbeddingService, EmbeddingServiceNoop, EmbeddingServiceLive, EmbeddingServiceOpenAI, EmbeddingServiceAuto, createEmbedderLayer, type EmbedderConfig, AttemptService, TaskService, DependencyService, ReadyService, type ReadyCheckResult, isReadyResult, HierarchyService, ScoreService, DeduplicationService, DeduplicationServiceLive, DiversifierService, DiversifierServiceNoop, DiversifierServiceLive, DiversifierServiceAuto, CompactionService, CompactionServiceLive, CompactionServiceNoop, CompactionServiceAuto, type CompactionOutputMode, MessageService, MessageServiceLive, type LlmCompletionRequest, type LlmCompletionResult } from "./layer.js";
|
|
13
|
-
export { TaskServiceLive, DependencyServiceLive, ReadyServiceLive, HierarchyServiceLive, ScoreServiceLive, LearningServiceLive, FileLearningServiceLive, AttemptServiceLive, SyncServiceLive, MigrationServiceLive, AnchorService, AnchorServiceLive, EdgeService, EdgeServiceLive, CandidateExtractorService, CandidateExtractorServiceNoop, CandidateExtractorServiceLive, CandidateExtractorServiceAuto, LlmService, LlmServiceNoop, LlmServiceAgentSdk, LlmServiceAnthropic, LlmServiceAuto, QueryExpansionService, QueryExpansionServiceNoop, QueryExpansionServiceLive, QueryExpansionServiceAuto, MAX_EXPANSION_QUERIES, MAX_QUERY_LENGTH, validateExpansions, RerankerService, RerankerServiceNoop, RerankerServiceLive, RerankerServiceAuto, RetrieverService, RetrieverServiceNoop, RetrieverServiceLive, RetrieverServiceAuto, GraphExpansionService, GraphExpansionServiceLive, AnchorVerificationService, AnchorVerificationServiceLive, SwarmVerificationService, SwarmVerificationServiceLive, calculateMajorityVote, AstGrepService, AstGrepServiceLive, AstGrepServiceNoop, AstGrepServiceAuto, EXT_TO_LANGUAGE, DEFAULT_SYMBOL_PATTERNS, DaemonService, DaemonServiceLive, DaemonServiceNoop, PID_FILE_PATH, LAUNCHD_PLIST_PATH, SYSTEMD_SERVICE_PATH, writePid, readPid, removePid, removePidIfContentMatches, isProcessRunning, tryAtomicPidCreate, acquirePidLock, defaultDaemonConfig, generateLaunchdPlist, generateSystemdService, type DaemonStatus, type DaemonConfig, type LaunchdPlistOptions, type SystemdServiceOptions, MIGRATIONS, getLatestVersion, type ScoreBreakdown, type ExportResult, type ImportResult, type SyncStatus, type CompactResult, type ExportOptions, type ExportAllResult, type ImportAllResult, type Migration, type AppliedMigration, type MigrationStatus, type AutoSyncEntity, type AnchorVerificationResult, type BatchVerificationResult, type TypedAnchorInput, type GraphStatusResult, type PruneResult, type NeighborWithDepth, type NeighborWithPath, type FindNeighborsOptions, type QueryExpansionResult, type RerankerResult, type SeedLearning, type ExpandedLearning, type GraphExpansionOptions, type GraphExpansionResult, type FailedAnchor, type VerificationResult, type VerificationSummary, type VerifyOptions, type VerificationBatch, type BatchResult, type SwarmMetrics, type SwarmVerificationResult, type SwarmVerifyOptions, type VoteResult, PromotionService, type PromotionResult, type AutoPromoteResult, FeedbackTrackerService, FeedbackTrackerServiceNoop, FeedbackTrackerServiceLive, type LearningUsageFeedback, WorkerService, WorkerServiceLive, RunHeartbeatService, RunHeartbeatServiceLive, type RunHeartbeatInput, type StalledRun, type StalledRunQuery, type ReapStalledOptions, type ReapedRun, type WorkerRegistration, type WorkerFilter, type FindDeadConfig, ClaimService, ClaimServiceLive, OrchestratorService, OrchestratorServiceLive, type OrchestratorConfig, runWorkerProcess, type WorkerProcessConfig, DocService, DocServiceLive, AgentService, AgentServiceLive, AgentServiceNoop, type AgentRunConfig, type AgentRunResult, type AgentMessageCallback, CycleScanService, CycleScanServiceLive, isValidLlama, isValidLlamaModel, isValidLlamaEmbeddingContext, isValidOpenAIClient, validateEmbeddingDimensions } from "./services/index.js";
|
|
14
|
-
export { TaskRepository, TaskRepositoryLive, DependencyRepository, DependencyRepositoryLive, LearningRepository, LearningRepositoryLive, type BM25Result, FileLearningRepository, FileLearningRepositoryLive, AttemptRepository, AttemptRepositoryLive, RunRepository, RunRepositoryLive, AnchorRepository, AnchorRepositoryLive, EdgeRepository, EdgeRepositoryLive, DeduplicationRepository, DeduplicationRepositoryLive, CandidateRepository, CandidateRepositoryLive, TrackedProjectRepository, TrackedProjectRepositoryLive, WorkerRepository, WorkerRepositoryLive, ClaimRepository, ClaimRepositoryLive, OrchestratorStateRepository, OrchestratorStateRepositoryLive, type OrchestratorStateUpdate, CompactionRepository, CompactionRepositoryLive, type CompactionLogEntry, type CreateCompactionLogInput, MessageRepository, MessageRepositoryLive, DocRepository, DocRepositoryLive } from "./repo/index.js";
|
|
12
|
+
export { makeAppLayer, makeAppLayerFromInfra, makeMinimalLayer, makeMinimalLayerFromInfra, SyncService, MigrationService, AutoSyncService, AutoSyncServiceNoop, AutoSyncServiceLive, LearningService, FileLearningService, EmbeddingService, EmbeddingServiceNoop, EmbeddingServiceLive, EmbeddingServiceOpenAI, EmbeddingServiceAuto, createEmbedderLayer, type EmbedderConfig, AttemptService, TaskService, DependencyService, ReadyService, type ReadyCheckResult, isReadyResult, HierarchyService, ScoreService, DeduplicationService, DeduplicationServiceLive, DiversifierService, DiversifierServiceNoop, DiversifierServiceLive, DiversifierServiceAuto, CompactionService, CompactionServiceLive, CompactionServiceNoop, CompactionServiceAuto, type CompactionOutputMode, MessageService, MessageServiceLive, type LlmCompletionRequest, type LlmCompletionResult, MemoryService, MemoryServiceLive, MemoryRetrieverService, MemoryRetrieverServiceNoop, MemoryRetrieverServiceLive, PinService, PinServiceLive, PinRepository, PinRepositoryLive } from "./layer.js";
|
|
13
|
+
export { TaskServiceLive, DependencyServiceLive, ReadyServiceLive, HierarchyServiceLive, ScoreServiceLive, LearningServiceLive, FileLearningServiceLive, AttemptServiceLive, SyncServiceLive, MigrationServiceLive, AnchorService, AnchorServiceLive, EdgeService, EdgeServiceLive, CandidateExtractorService, CandidateExtractorServiceNoop, CandidateExtractorServiceLive, CandidateExtractorServiceAuto, LlmService, LlmServiceNoop, LlmServiceAgentSdk, LlmServiceAnthropic, LlmServiceAuto, QueryExpansionService, QueryExpansionServiceNoop, QueryExpansionServiceLive, QueryExpansionServiceAuto, MAX_EXPANSION_QUERIES, MAX_QUERY_LENGTH, validateExpansions, RerankerService, RerankerServiceNoop, RerankerServiceLive, RerankerServiceAuto, RetrieverService, RetrieverServiceNoop, RetrieverServiceLive, RetrieverServiceAuto, GraphExpansionService, GraphExpansionServiceLive, AnchorVerificationService, AnchorVerificationServiceLive, SwarmVerificationService, SwarmVerificationServiceLive, calculateMajorityVote, AstGrepService, AstGrepServiceLive, AstGrepServiceNoop, AstGrepServiceAuto, EXT_TO_LANGUAGE, DEFAULT_SYMBOL_PATTERNS, DaemonService, DaemonServiceLive, DaemonServiceNoop, PID_FILE_PATH, LAUNCHD_PLIST_PATH, SYSTEMD_SERVICE_PATH, writePid, readPid, removePid, removePidIfContentMatches, isProcessRunning, tryAtomicPidCreate, acquirePidLock, defaultDaemonConfig, generateLaunchdPlist, generateSystemdService, type DaemonStatus, type DaemonConfig, type LaunchdPlistOptions, type SystemdServiceOptions, MIGRATIONS, EMBEDDED_MIGRATIONS, getLatestVersion, type ScoreBreakdown, type ExportResult, type ImportResult, type SyncStatus, type CompactResult, type ExportOptions, type ExportAllResult, type EntityImportResult, type ImportAllResult, type Migration, type AppliedMigration, type MigrationStatus, type AutoSyncEntity, type AnchorVerificationResult, type BatchVerificationResult, type TypedAnchorInput, type GraphStatusResult, type PruneResult, type NeighborWithDepth, type NeighborWithPath, type FindNeighborsOptions, type QueryExpansionResult, type RerankerResult, type SeedLearning, type ExpandedLearning, type GraphExpansionOptions, type GraphExpansionResult, type FailedAnchor, type VerificationResult, type VerificationSummary, type VerifyOptions, type VerificationBatch, type BatchResult, type SwarmMetrics, type SwarmVerificationResult, type SwarmVerifyOptions, type VoteResult, PromotionService, type PromotionResult, type AutoPromoteResult, FeedbackTrackerService, FeedbackTrackerServiceNoop, FeedbackTrackerServiceLive, type LearningUsageFeedback, WorkerService, WorkerServiceLive, RunHeartbeatService, RunHeartbeatServiceLive, type RunHeartbeatInput, type StalledRun, type StalledRunQuery, type ReapStalledOptions, type ReapedRun, type WorkerRegistration, type WorkerFilter, type FindDeadConfig, ClaimService, ClaimServiceLive, OrchestratorService, OrchestratorServiceLive, type OrchestratorConfig, runWorkerProcess, type WorkerProcessConfig, DocService, DocServiceLive, AgentService, AgentServiceLive, AgentServiceNoop, type AgentRunConfig, type AgentRunResult, type AgentMessageCallback, CycleScanService, CycleScanServiceLive, isValidLlama, isValidLlamaModel, isValidLlamaEmbeddingContext, isValidOpenAIClient, validateEmbeddingDimensions } from "./services/index.js";
|
|
14
|
+
export { TaskRepository, TaskRepositoryLive, DependencyRepository, DependencyRepositoryLive, LearningRepository, LearningRepositoryLive, type BM25Result, FileLearningRepository, FileLearningRepositoryLive, AttemptRepository, AttemptRepositoryLive, RunRepository, RunRepositoryLive, AnchorRepository, AnchorRepositoryLive, EdgeRepository, EdgeRepositoryLive, DeduplicationRepository, DeduplicationRepositoryLive, CandidateRepository, CandidateRepositoryLive, TrackedProjectRepository, TrackedProjectRepositoryLive, WorkerRepository, WorkerRepositoryLive, ClaimRepository, ClaimRepositoryLive, OrchestratorStateRepository, OrchestratorStateRepositoryLive, type OrchestratorStateUpdate, CompactionRepository, CompactionRepositoryLive, type CompactionLogEntry, type CreateCompactionLogInput, MessageRepository, MessageRepositoryLive, DocRepository, DocRepositoryLive, MemoryDocumentRepository, MemoryDocumentRepositoryLive, MemoryLinkRepository, MemoryLinkRepositoryLive, MemoryPropertyRepository, MemoryPropertyRepositoryLive, MemorySourceRepository, MemorySourceRepositoryLive, type MemoryBM25Result } from "./repo/index.js";
|
|
15
15
|
export * from "./schemas/index.js";
|
|
16
16
|
export { rowToTask, rowToDependency, isValidStatus, isValidTransition, VALID_TRANSITIONS, type TaskRow, type DependencyRow } from "./mappers/task.js";
|
|
17
17
|
export { rowToLearning, float32ArrayToBuffer, type LearningRow } from "./mappers/learning.js";
|
|
@@ -23,6 +23,7 @@ export { normalizeContent, hashContent, rowToProcessedHash, serializeProcessedHa
|
|
|
23
23
|
export { rowToWorker, isValidWorkerStatus, WORKER_STATUSES, type WorkerRow } from "./mappers/worker.js";
|
|
24
24
|
export { rowToMessage, isValidMessageStatus, type MessageRow } from "./mappers/message.js";
|
|
25
25
|
export { rowToDoc, rowToDocLink, rowToTaskDocLink, rowToInvariant, rowToInvariantCheck, isValidDocKind, isValidDocStatus, isValidDocLinkType, isValidTaskDocLinkType, isValidInvariantEnforcement, isValidInvariantStatus, } from "./mappers/doc.js";
|
|
26
|
+
export { rowToMemoryDocument, rowToMemoryDocumentWithoutEmbedding, rowToMemoryLink, rowToMemorySource, rowToMemoryProperty, isValidLinkType as isValidMemoryLinkType, float32ArrayToBuffer as memoryFloat32ArrayToBuffer, } from "./mappers/memory.js";
|
|
26
27
|
export { cosineSimilarity } from "./utils/math.js";
|
|
27
28
|
export { parseLlmJson } from "./utils/llm-json.js";
|
|
28
29
|
export { matchesGlob } from "./utils/glob.js";
|
|
@@ -30,7 +31,7 @@ export { escapeLikePattern, DEFAULT_QUERY_LIMIT } from "./utils/sql.js";
|
|
|
30
31
|
export { computeDocHash } from "./utils/doc-hash.js";
|
|
31
32
|
export { renderDocToMarkdown, renderIndexToMarkdown, composeEarsSentence, } from "./utils/doc-renderer.js";
|
|
32
33
|
export { validateEarsRequirements, formatEarsValidationErrors, type EarsValidationError, } from "./utils/ears-validator.js";
|
|
33
|
-
export { readTxConfig, writeDashboardDefaultTaskAssigmentType, DASHBOARD_DEFAULT_TASK_ASSIGMENT_KEY, type DashboardDefaultTaskAssigmentType } from "./utils/toml-config.js";
|
|
34
|
+
export { readTxConfig, writeDashboardDefaultTaskAssigmentType, scaffoldConfigToml, DASHBOARD_DEFAULT_TASK_ASSIGMENT_KEY, type DashboardDefaultTaskAssigmentType } from "./utils/toml-config.js";
|
|
34
35
|
export { type ExecutionResult, type IOCapture, type WorkerContext, type WorkerHooks, type WorkerConfig, runWorker } from "./worker/index.js";
|
|
35
36
|
export { ClaudeCodeAdapter, GenericJSONLAdapter, getAdapter, registerAdapter, type TranscriptAdapter, type ToolCall, type Message } from "./services/transcript-adapter.js";
|
|
36
37
|
export { TracingService, TracingServiceLive, TracingServiceNoop, type SpanOptions } from "./services/tracing-service.js";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAKH,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,yBAAyB,EACzB,oBAAoB,EACpB,gBAAgB,EAChB,eAAe,EACf,uBAAuB,EACvB,aAAa,EACb,uBAAuB,EACvB,yBAAyB,EACzB,+BAA+B,EAC/B,iBAAiB,EACjB,mBAAmB,EACnB,sBAAsB,EACtB,0BAA0B,EAC1B,wBAAwB,EACxB,cAAc,EACd,YAAY,EACZ,WAAW,EAEX,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,EACjB,wBAAwB,EACxB,iBAAiB,EAEjB,oBAAoB,EAEpB,cAAc,EAEd,gBAAgB,EAEhB,kBAAkB,EAClB,gBAAgB,EAEhB,oBAAoB,EACpB,wBAAwB,EAExB,gBAAgB,EAChB,cAAc,EACd,mBAAmB,EACnB,sBAAsB,EAEtB,UAAU,EACV,cAAc,EAEd,mBAAmB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAKH,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,yBAAyB,EACzB,oBAAoB,EACpB,gBAAgB,EAChB,eAAe,EACf,uBAAuB,EACvB,aAAa,EACb,uBAAuB,EACvB,yBAAyB,EACzB,+BAA+B,EAC/B,iBAAiB,EACjB,mBAAmB,EACnB,sBAAsB,EACtB,0BAA0B,EAC1B,wBAAwB,EACxB,cAAc,EACd,YAAY,EACZ,WAAW,EAEX,iB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;AAClC,OAAO,EACL,YAAY,EACZ,sCAAsC,EACtC,kBAAkB,EAClB,oCAAoC,EACpC,KAAK,iCAAiC,EACvC,MAAM,wBAAwB,CAAA;AAK/B,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,SAAS,EACV,MAAM,mBAAmB,CAAA;AAK1B,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,UAAU,EACV,eAAe,EACf,KAAK,iBAAiB,EACtB,KAAK,QAAQ,EACb,KAAK,OAAO,EACb,MAAM,kCAAkC,CAAA;AAKzC,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,kBAAkB,EAClB,KAAK,WAAW,EACjB,MAAM,+BAA+B,CAAA;AAKtC,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACrB,MAAM,kCAAkC,CAAA;AAKzC,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,sBAAsB,EACtB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACtB,MAAM,8BAA8B,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -27,7 +27,9 @@ DocNotFoundError, DocLockedError, InvalidDocYamlError, InvariantNotFoundError,
|
|
|
27
27
|
// Agent/Cycle errors (PRD-023 cycle scan)
|
|
28
28
|
AgentError, CycleScanError,
|
|
29
29
|
// LLM errors
|
|
30
|
-
LlmUnavailableError
|
|
30
|
+
LlmUnavailableError,
|
|
31
|
+
// Memory errors
|
|
32
|
+
ZeroMagnitudeVectorError, MemoryDocumentNotFoundError, MemorySourceNotFoundError } from "./errors.js";
|
|
31
33
|
// =============================================================================
|
|
32
34
|
// Database
|
|
33
35
|
// =============================================================================
|
|
@@ -41,11 +43,11 @@ export { generateTaskId, fixtureId } from "./id.js";
|
|
|
41
43
|
// =============================================================================
|
|
42
44
|
export { makeAppLayer, makeAppLayerFromInfra, makeMinimalLayer, makeMinimalLayerFromInfra,
|
|
43
45
|
// Re-exports for convenience
|
|
44
|
-
SyncService, MigrationService, AutoSyncService, AutoSyncServiceNoop, AutoSyncServiceLive, LearningService, FileLearningService, EmbeddingService, EmbeddingServiceNoop, EmbeddingServiceLive, EmbeddingServiceOpenAI, EmbeddingServiceAuto, createEmbedderLayer, AttemptService, TaskService, DependencyService, ReadyService, isReadyResult, HierarchyService, ScoreService, DeduplicationService, DeduplicationServiceLive, DiversifierService, DiversifierServiceNoop, DiversifierServiceLive, DiversifierServiceAuto, CompactionService, CompactionServiceLive, CompactionServiceNoop, CompactionServiceAuto, MessageService, MessageServiceLive } from "./layer.js";
|
|
46
|
+
SyncService, MigrationService, AutoSyncService, AutoSyncServiceNoop, AutoSyncServiceLive, LearningService, FileLearningService, EmbeddingService, EmbeddingServiceNoop, EmbeddingServiceLive, EmbeddingServiceOpenAI, EmbeddingServiceAuto, createEmbedderLayer, AttemptService, TaskService, DependencyService, ReadyService, isReadyResult, HierarchyService, ScoreService, DeduplicationService, DeduplicationServiceLive, DiversifierService, DiversifierServiceNoop, DiversifierServiceLive, DiversifierServiceAuto, CompactionService, CompactionServiceLive, CompactionServiceNoop, CompactionServiceAuto, MessageService, MessageServiceLive, MemoryService, MemoryServiceLive, MemoryRetrieverService, MemoryRetrieverServiceNoop, MemoryRetrieverServiceLive, PinService, PinServiceLive, PinRepository, PinRepositoryLive } from "./layer.js";
|
|
45
47
|
// =============================================================================
|
|
46
48
|
// Services (full exports)
|
|
47
49
|
// =============================================================================
|
|
48
|
-
export { TaskServiceLive, DependencyServiceLive, ReadyServiceLive, HierarchyServiceLive, ScoreServiceLive, LearningServiceLive, FileLearningServiceLive, AttemptServiceLive, SyncServiceLive, MigrationServiceLive, AnchorService, AnchorServiceLive, EdgeService, EdgeServiceLive, CandidateExtractorService, CandidateExtractorServiceNoop, CandidateExtractorServiceLive, CandidateExtractorServiceAuto, LlmService, LlmServiceNoop, LlmServiceAgentSdk, LlmServiceAnthropic, LlmServiceAuto, QueryExpansionService, QueryExpansionServiceNoop, QueryExpansionServiceLive, QueryExpansionServiceAuto, MAX_EXPANSION_QUERIES, MAX_QUERY_LENGTH, validateExpansions, RerankerService, RerankerServiceNoop, RerankerServiceLive, RerankerServiceAuto, RetrieverService, RetrieverServiceNoop, RetrieverServiceLive, RetrieverServiceAuto, GraphExpansionService, GraphExpansionServiceLive, AnchorVerificationService, AnchorVerificationServiceLive, SwarmVerificationService, SwarmVerificationServiceLive, calculateMajorityVote, AstGrepService, AstGrepServiceLive, AstGrepServiceNoop, AstGrepServiceAuto, EXT_TO_LANGUAGE, DEFAULT_SYMBOL_PATTERNS, DaemonService, DaemonServiceLive, DaemonServiceNoop, PID_FILE_PATH, LAUNCHD_PLIST_PATH, SYSTEMD_SERVICE_PATH, writePid, readPid, removePid, removePidIfContentMatches, isProcessRunning, tryAtomicPidCreate, acquirePidLock, defaultDaemonConfig, generateLaunchdPlist, generateSystemdService, MIGRATIONS, getLatestVersion, PromotionService, FeedbackTrackerService, FeedbackTrackerServiceNoop, FeedbackTrackerServiceLive, WorkerService, WorkerServiceLive, RunHeartbeatService, RunHeartbeatServiceLive, ClaimService, ClaimServiceLive, OrchestratorService, OrchestratorServiceLive, runWorkerProcess, DocService, DocServiceLive, AgentService, AgentServiceLive, AgentServiceNoop, CycleScanService, CycleScanServiceLive,
|
|
50
|
+
export { TaskServiceLive, DependencyServiceLive, ReadyServiceLive, HierarchyServiceLive, ScoreServiceLive, LearningServiceLive, FileLearningServiceLive, AttemptServiceLive, SyncServiceLive, MigrationServiceLive, AnchorService, AnchorServiceLive, EdgeService, EdgeServiceLive, CandidateExtractorService, CandidateExtractorServiceNoop, CandidateExtractorServiceLive, CandidateExtractorServiceAuto, LlmService, LlmServiceNoop, LlmServiceAgentSdk, LlmServiceAnthropic, LlmServiceAuto, QueryExpansionService, QueryExpansionServiceNoop, QueryExpansionServiceLive, QueryExpansionServiceAuto, MAX_EXPANSION_QUERIES, MAX_QUERY_LENGTH, validateExpansions, RerankerService, RerankerServiceNoop, RerankerServiceLive, RerankerServiceAuto, RetrieverService, RetrieverServiceNoop, RetrieverServiceLive, RetrieverServiceAuto, GraphExpansionService, GraphExpansionServiceLive, AnchorVerificationService, AnchorVerificationServiceLive, SwarmVerificationService, SwarmVerificationServiceLive, calculateMajorityVote, AstGrepService, AstGrepServiceLive, AstGrepServiceNoop, AstGrepServiceAuto, EXT_TO_LANGUAGE, DEFAULT_SYMBOL_PATTERNS, DaemonService, DaemonServiceLive, DaemonServiceNoop, PID_FILE_PATH, LAUNCHD_PLIST_PATH, SYSTEMD_SERVICE_PATH, writePid, readPid, removePid, removePidIfContentMatches, isProcessRunning, tryAtomicPidCreate, acquirePidLock, defaultDaemonConfig, generateLaunchdPlist, generateSystemdService, MIGRATIONS, EMBEDDED_MIGRATIONS, getLatestVersion, PromotionService, FeedbackTrackerService, FeedbackTrackerServiceNoop, FeedbackTrackerServiceLive, WorkerService, WorkerServiceLive, RunHeartbeatService, RunHeartbeatServiceLive, ClaimService, ClaimServiceLive, OrchestratorService, OrchestratorServiceLive, runWorkerProcess, DocService, DocServiceLive, AgentService, AgentServiceLive, AgentServiceNoop, CycleScanService, CycleScanServiceLive,
|
|
49
51
|
// Runtime interface validators for optional peer dependencies
|
|
50
52
|
isValidLlama, isValidLlamaModel, isValidLlamaEmbeddingContext, isValidOpenAIClient,
|
|
51
53
|
// Dimension validation
|
|
@@ -53,7 +55,7 @@ validateEmbeddingDimensions } from "./services/index.js";
|
|
|
53
55
|
// =============================================================================
|
|
54
56
|
// Repositories
|
|
55
57
|
// =============================================================================
|
|
56
|
-
export { TaskRepository, TaskRepositoryLive, DependencyRepository, DependencyRepositoryLive, LearningRepository, LearningRepositoryLive, FileLearningRepository, FileLearningRepositoryLive, AttemptRepository, AttemptRepositoryLive, RunRepository, RunRepositoryLive, AnchorRepository, AnchorRepositoryLive, EdgeRepository, EdgeRepositoryLive, DeduplicationRepository, DeduplicationRepositoryLive, CandidateRepository, CandidateRepositoryLive, TrackedProjectRepository, TrackedProjectRepositoryLive, WorkerRepository, WorkerRepositoryLive, ClaimRepository, ClaimRepositoryLive, OrchestratorStateRepository, OrchestratorStateRepositoryLive, CompactionRepository, CompactionRepositoryLive, MessageRepository, MessageRepositoryLive, DocRepository, DocRepositoryLive } from "./repo/index.js";
|
|
58
|
+
export { TaskRepository, TaskRepositoryLive, DependencyRepository, DependencyRepositoryLive, LearningRepository, LearningRepositoryLive, FileLearningRepository, FileLearningRepositoryLive, AttemptRepository, AttemptRepositoryLive, RunRepository, RunRepositoryLive, AnchorRepository, AnchorRepositoryLive, EdgeRepository, EdgeRepositoryLive, DeduplicationRepository, DeduplicationRepositoryLive, CandidateRepository, CandidateRepositoryLive, TrackedProjectRepository, TrackedProjectRepositoryLive, WorkerRepository, WorkerRepositoryLive, ClaimRepository, ClaimRepositoryLive, OrchestratorStateRepository, OrchestratorStateRepositoryLive, CompactionRepository, CompactionRepositoryLive, MessageRepository, MessageRepositoryLive, DocRepository, DocRepositoryLive, MemoryDocumentRepository, MemoryDocumentRepositoryLive, MemoryLinkRepository, MemoryLinkRepositoryLive, MemoryPropertyRepository, MemoryPropertyRepositoryLive, MemorySourceRepository, MemorySourceRepositoryLive } from "./repo/index.js";
|
|
57
59
|
// =============================================================================
|
|
58
60
|
// Schemas
|
|
59
61
|
// =============================================================================
|
|
@@ -71,6 +73,7 @@ export { normalizeContent, hashContent, rowToProcessedHash, serializeProcessedHa
|
|
|
71
73
|
export { rowToWorker, isValidWorkerStatus, WORKER_STATUSES } from "./mappers/worker.js";
|
|
72
74
|
export { rowToMessage, isValidMessageStatus } from "./mappers/message.js";
|
|
73
75
|
export { rowToDoc, rowToDocLink, rowToTaskDocLink, rowToInvariant, rowToInvariantCheck, isValidDocKind, isValidDocStatus, isValidDocLinkType, isValidTaskDocLinkType, isValidInvariantEnforcement, isValidInvariantStatus, } from "./mappers/doc.js";
|
|
76
|
+
export { rowToMemoryDocument, rowToMemoryDocumentWithoutEmbedding, rowToMemoryLink, rowToMemorySource, rowToMemoryProperty, isValidLinkType as isValidMemoryLinkType, float32ArrayToBuffer as memoryFloat32ArrayToBuffer, } from "./mappers/memory.js";
|
|
74
77
|
// =============================================================================
|
|
75
78
|
// Utils
|
|
76
79
|
// =============================================================================
|
|
@@ -81,7 +84,7 @@ export { escapeLikePattern, DEFAULT_QUERY_LIMIT } from "./utils/sql.js";
|
|
|
81
84
|
export { computeDocHash } from "./utils/doc-hash.js";
|
|
82
85
|
export { renderDocToMarkdown, renderIndexToMarkdown, composeEarsSentence, } from "./utils/doc-renderer.js";
|
|
83
86
|
export { validateEarsRequirements, formatEarsValidationErrors, } from "./utils/ears-validator.js";
|
|
84
|
-
export { readTxConfig, writeDashboardDefaultTaskAssigmentType, DASHBOARD_DEFAULT_TASK_ASSIGMENT_KEY } from "./utils/toml-config.js";
|
|
87
|
+
export { readTxConfig, writeDashboardDefaultTaskAssigmentType, scaffoldConfigToml, DASHBOARD_DEFAULT_TASK_ASSIGMENT_KEY } from "./utils/toml-config.js";
|
|
85
88
|
// =============================================================================
|
|
86
89
|
// Worker (PRD-018 headless worker system)
|
|
87
90
|
// =============================================================================
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,gFAAgF;AAChF,SAAS;AACT,gFAAgF;AAChF,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,yBAAyB,EACzB,oBAAoB,EACpB,gBAAgB,EAChB,eAAe,EACf,uBAAuB,EACvB,aAAa,EACb,uBAAuB,EACvB,yBAAyB,EACzB,+BAA+B,EAC/B,iBAAiB,EACjB,mBAAmB,EACnB,sBAAsB,EACtB,0BAA0B,EAC1B,wBAAwB,EACxB,cAAc,EACd,YAAY,EACZ,WAAW;AACX,iCAAiC;AACjC,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,EACjB,wBAAwB,EACxB,iBAAiB;AACjB,0BAA0B;AAC1B,oBAAoB;AACpB,4BAA4B;AAC5B,cAAc;AACd,8BAA8B;AAC9B,gBAAgB;AAChB,yBAAyB;AACzB,kBAAkB,EAClB,gBAAgB;AAChB,wCAAwC;AACxC,oBAAoB,EACpB,wBAAwB;AACxB,yCAAyC;AACzC,gBAAgB,EAChB,cAAc,EACd,mBAAmB,EACnB,sBAAsB;AACtB,0CAA0C;AAC1C,UAAU,EACV,cAAc;AACd,aAAa;AACb,mBAAmB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,gFAAgF;AAChF,SAAS;AACT,gFAAgF;AAChF,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,yBAAyB,EACzB,oBAAoB,EACpB,gBAAgB,EAChB,eAAe,EACf,uBAAuB,EACvB,aAAa,EACb,uBAAuB,EACvB,yBAAyB,EACzB,+BAA+B,EAC/B,iBAAiB,EACjB,mBAAmB,EACnB,sBAAsB,EACtB,0BAA0B,EAC1B,wBAAwB,EACxB,cAAc,EACd,YAAY,EACZ,WAAW;AACX,iCAAiC;AACjC,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,EACjB,wBAAwB,EACxB,iBAAiB;AACjB,0BAA0B;AAC1B,oBAAoB;AACpB,4BAA4B;AAC5B,cAAc;AACd,8BAA8B;AAC9B,gBAAgB;AAChB,yBAAyB;AACzB,kBAAkB,EAClB,gBAAgB;AAChB,wCAAwC;AACxC,oBAAoB,EACpB,wBAAwB;AACxB,yCAAyC;AACzC,gBAAgB,EAChB,cAAc,EACd,mBAAmB,EACnB,sBAAsB;AACtB,0CAA0C;AAC1C,UAAU,EACV,cAAc;AACd,a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;AAChF,kDAAkD;AAClD,gFAAgF;AAChF,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,UAAU,EACV,eAAe,EAIhB,MAAM,kCAAkC,CAAA;AAEzC,gFAAgF;AAChF,8CAA8C;AAC9C,gFAAgF;AAChF,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,kBAAkB,EAEnB,MAAM,+BAA+B,CAAA;AAEtC,gFAAgF;AAChF,qBAAqB;AACrB,gFAAgF;AAChF,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EAMtB,MAAM,kCAAkC,CAAA;AAEzC,gFAAgF;AAChF,gCAAgC;AAChC,gFAAgF;AAChF,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,sBAAsB,EAGvB,MAAM,8BAA8B,CAAA"}
|
package/dist/layer.d.ts
CHANGED
|
@@ -26,6 +26,10 @@ export { MessageService, MessageServiceLive } from "./services/message-service.j
|
|
|
26
26
|
export { AgentService, AgentServiceLive, AgentServiceNoop } from "./services/agent-service.js";
|
|
27
27
|
export { CycleScanService, CycleScanServiceLive } from "./services/cycle-scan-service.js";
|
|
28
28
|
export { DocService, DocServiceLive } from "./services/doc-service.js";
|
|
29
|
+
export { MemoryService, MemoryServiceLive } from "./services/memory-service.js";
|
|
30
|
+
export { MemoryRetrieverService, MemoryRetrieverServiceNoop, MemoryRetrieverServiceLive } from "./services/memory-retriever-service.js";
|
|
31
|
+
export { PinService, PinServiceLive } from "./services/pin-service.js";
|
|
32
|
+
export { PinRepository, PinRepositoryLive } from "./repo/pin-repo.js";
|
|
29
33
|
export { RetrieverService, RetrieverServiceNoop, RetrieverServiceLive, RetrieverServiceAuto } from "./services/retriever-service.js";
|
|
30
34
|
export { GraphExpansionService, GraphExpansionServiceNoop, GraphExpansionServiceLive, type SeedLearning, type ExpandedLearning, type GraphExpansionOptions, type GraphExpansionResult } from "./services/graph-expansion.js";
|
|
31
35
|
export { AnchorVerificationService, AnchorVerificationServiceLive, type VerificationResult, type VerificationSummary, type VerifyOptions } from "./services/anchor-verification.js";
|
|
@@ -51,7 +55,7 @@ export { LlmService, LlmServiceNoop, LlmServiceAgentSdk, LlmServiceAnthropic, Ll
|
|
|
51
55
|
*
|
|
52
56
|
* @param infra A layer providing SqliteClient
|
|
53
57
|
*/
|
|
54
|
-
export declare const makeAppLayerFromInfra: <E>(infra: Layer.Layer<SqliteClient, E>) => Layer.Layer<import("./services/migration-service.js").MigrationService | SqliteClient | import("./repo/task-repo.js").TaskRepository | import("./repo/dep-repo.js").DependencyRepository | import("./repo/learning-repo.js").LearningRepository | import("./repo/file-learning-repo.js").FileLearningRepository | import("./repo/attempt-repo.js").AttemptRepository | import("./repo/run-repo.js").RunRepository | import("./repo/anchor-repo.js").AnchorRepository | import("./repo/edge-repo.js").EdgeRepository | import("./repo/deduplication-repo.js").DeduplicationRepository | import("./repo/candidate-repo.js").CandidateRepository | import("./repo/tracked-project-repo.js").TrackedProjectRepository | import("./repo/worker-repo.js").WorkerRepository | import("./repo/claim-repo.js").ClaimRepository | import("./repo/orchestrator-state-repo.js").OrchestratorStateRepository | import("./services/task-service.js").TaskService | import("./services/dep-service.js").DependencyService | import("./services/ready-service.js").ReadyService | import("./services/hierarchy-service.js").HierarchyService | import("./services/edge-service.js").EdgeService | import("./services/graph-expansion.js").GraphExpansionService | import("./services/feedback-tracker.js").FeedbackTrackerService | import("./services/diversifier-service.js").DiversifierService | import("./services/retriever-service.js").RetrieverService | import("./services/learning-service.js").LearningService | import("./services/file-learning-service.js").FileLearningService | import("./services/attempt-service.js").AttemptService | import("./services/anchor-verification.js").AnchorVerificationService | import("./services/anchor-service.js").AnchorService | import("./services/deduplication-service.js").DeduplicationService | import("./services/sync-service.js").SyncService | import("./services/swarm-verification.js").SwarmVerificationService | import("./services/promotion-service.js").PromotionService | import("./services/worker-service.js").WorkerService | import("./services/run-heartbeat-service.js").RunHeartbeatService | import("./services/claim-service.js").ClaimService | import("./services/orchestrator-service.js").OrchestratorService | import("./services/daemon-service.js").DaemonService | import("./services/tracing-service.js").TracingService | import("./repo/compaction-repo.js").CompactionRepository | import("./services/compaction-service.js").CompactionService | import("./services/validation-service.js").ValidationService | import("./repo/message-repo.js").MessageRepository | import("./services/message-service.js").MessageService | import("./
|
|
58
|
+
export declare const makeAppLayerFromInfra: <E>(infra: Layer.Layer<SqliteClient, E>) => Layer.Layer<import("./services/migration-service.js").MigrationService | SqliteClient | import("./repo/task-repo.js").TaskRepository | import("./repo/dep-repo.js").DependencyRepository | import("./repo/learning-repo.js").LearningRepository | import("./repo/file-learning-repo.js").FileLearningRepository | import("./repo/attempt-repo.js").AttemptRepository | import("./repo/run-repo.js").RunRepository | import("./repo/anchor-repo.js").AnchorRepository | import("./repo/edge-repo.js").EdgeRepository | import("./repo/deduplication-repo.js").DeduplicationRepository | import("./repo/candidate-repo.js").CandidateRepository | import("./repo/tracked-project-repo.js").TrackedProjectRepository | import("./repo/worker-repo.js").WorkerRepository | import("./repo/claim-repo.js").ClaimRepository | import("./repo/orchestrator-state-repo.js").OrchestratorStateRepository | import("./services/task-service.js").TaskService | import("./services/dep-service.js").DependencyService | import("./services/ready-service.js").ReadyService | import("./services/hierarchy-service.js").HierarchyService | import("./services/edge-service.js").EdgeService | import("./services/graph-expansion.js").GraphExpansionService | import("./services/feedback-tracker.js").FeedbackTrackerService | import("./services/diversifier-service.js").DiversifierService | import("./services/retriever-service.js").RetrieverService | import("./services/learning-service.js").LearningService | import("./services/file-learning-service.js").FileLearningService | import("./services/attempt-service.js").AttemptService | import("./services/anchor-verification.js").AnchorVerificationService | import("./services/anchor-service.js").AnchorService | import("./services/deduplication-service.js").DeduplicationService | import("./repo/pin-repo.js").PinRepository | import("./repo/doc-repo.js").DocRepository | import("./services/sync-service.js").SyncService | import("./services/swarm-verification.js").SwarmVerificationService | import("./services/promotion-service.js").PromotionService | import("./services/worker-service.js").WorkerService | import("./services/run-heartbeat-service.js").RunHeartbeatService | import("./services/claim-service.js").ClaimService | import("./services/orchestrator-service.js").OrchestratorService | import("./services/daemon-service.js").DaemonService | import("./services/tracing-service.js").TracingService | import("./repo/compaction-repo.js").CompactionRepository | import("./services/compaction-service.js").CompactionService | import("./services/validation-service.js").ValidationService | import("./repo/message-repo.js").MessageRepository | import("./services/message-service.js").MessageService | import("./services/doc-service.js").DocService | import("./repo/memory-repo.js").MemoryDocumentRepository | import("./repo/memory-repo.js").MemoryLinkRepository | import("./repo/memory-repo.js").MemoryPropertyRepository | import("./repo/memory-repo.js").MemorySourceRepository | import("./services/memory-service.js").MemoryService | import("./services/memory-retriever-service.js").MemoryRetrieverService | import("./services/pin-service.js").PinService, import("./errors.js").DatabaseError | import("./errors.js").EmbeddingUnavailableError | import("./errors.js").LlmUnavailableError | E, never>;
|
|
55
59
|
/**
|
|
56
60
|
* Create the full application layer with all services.
|
|
57
61
|
*
|
|
@@ -61,7 +65,7 @@ export declare const makeAppLayerFromInfra: <E>(infra: Layer.Layer<SqliteClient,
|
|
|
61
65
|
*
|
|
62
66
|
* @param dbPath Path to SQLite database file
|
|
63
67
|
*/
|
|
64
|
-
export declare const makeAppLayer: (dbPath: string) => Layer.Layer<import("./services/migration-service.js").MigrationService | SqliteClient | import("./repo/task-repo.js").TaskRepository | import("./repo/dep-repo.js").DependencyRepository | import("./repo/learning-repo.js").LearningRepository | import("./repo/file-learning-repo.js").FileLearningRepository | import("./repo/attempt-repo.js").AttemptRepository | import("./repo/run-repo.js").RunRepository | import("./repo/anchor-repo.js").AnchorRepository | import("./repo/edge-repo.js").EdgeRepository | import("./repo/deduplication-repo.js").DeduplicationRepository | import("./repo/candidate-repo.js").CandidateRepository | import("./repo/tracked-project-repo.js").TrackedProjectRepository | import("./repo/worker-repo.js").WorkerRepository | import("./repo/claim-repo.js").ClaimRepository | import("./repo/orchestrator-state-repo.js").OrchestratorStateRepository | import("./services/task-service.js").TaskService | import("./services/dep-service.js").DependencyService | import("./services/ready-service.js").ReadyService | import("./services/hierarchy-service.js").HierarchyService | import("./services/edge-service.js").EdgeService | import("./services/graph-expansion.js").GraphExpansionService | import("./services/feedback-tracker.js").FeedbackTrackerService | import("./services/diversifier-service.js").DiversifierService | import("./services/retriever-service.js").RetrieverService | import("./services/learning-service.js").LearningService | import("./services/file-learning-service.js").FileLearningService | import("./services/attempt-service.js").AttemptService | import("./services/anchor-verification.js").AnchorVerificationService | import("./services/anchor-service.js").AnchorService | import("./services/deduplication-service.js").DeduplicationService | import("./services/sync-service.js").SyncService | import("./services/swarm-verification.js").SwarmVerificationService | import("./services/promotion-service.js").PromotionService | import("./services/worker-service.js").WorkerService | import("./services/run-heartbeat-service.js").RunHeartbeatService | import("./services/claim-service.js").ClaimService | import("./services/orchestrator-service.js").OrchestratorService | import("./services/daemon-service.js").DaemonService | import("./services/tracing-service.js").TracingService | import("./repo/compaction-repo.js").CompactionRepository | import("./services/compaction-service.js").CompactionService | import("./services/validation-service.js").ValidationService | import("./repo/message-repo.js").MessageRepository | import("./services/message-service.js").MessageService | import("./
|
|
68
|
+
export declare const makeAppLayer: (dbPath: string) => Layer.Layer<import("./services/migration-service.js").MigrationService | SqliteClient | import("./repo/task-repo.js").TaskRepository | import("./repo/dep-repo.js").DependencyRepository | import("./repo/learning-repo.js").LearningRepository | import("./repo/file-learning-repo.js").FileLearningRepository | import("./repo/attempt-repo.js").AttemptRepository | import("./repo/run-repo.js").RunRepository | import("./repo/anchor-repo.js").AnchorRepository | import("./repo/edge-repo.js").EdgeRepository | import("./repo/deduplication-repo.js").DeduplicationRepository | import("./repo/candidate-repo.js").CandidateRepository | import("./repo/tracked-project-repo.js").TrackedProjectRepository | import("./repo/worker-repo.js").WorkerRepository | import("./repo/claim-repo.js").ClaimRepository | import("./repo/orchestrator-state-repo.js").OrchestratorStateRepository | import("./services/task-service.js").TaskService | import("./services/dep-service.js").DependencyService | import("./services/ready-service.js").ReadyService | import("./services/hierarchy-service.js").HierarchyService | import("./services/edge-service.js").EdgeService | import("./services/graph-expansion.js").GraphExpansionService | import("./services/feedback-tracker.js").FeedbackTrackerService | import("./services/diversifier-service.js").DiversifierService | import("./services/retriever-service.js").RetrieverService | import("./services/learning-service.js").LearningService | import("./services/file-learning-service.js").FileLearningService | import("./services/attempt-service.js").AttemptService | import("./services/anchor-verification.js").AnchorVerificationService | import("./services/anchor-service.js").AnchorService | import("./services/deduplication-service.js").DeduplicationService | import("./repo/pin-repo.js").PinRepository | import("./repo/doc-repo.js").DocRepository | import("./services/sync-service.js").SyncService | import("./services/swarm-verification.js").SwarmVerificationService | import("./services/promotion-service.js").PromotionService | import("./services/worker-service.js").WorkerService | import("./services/run-heartbeat-service.js").RunHeartbeatService | import("./services/claim-service.js").ClaimService | import("./services/orchestrator-service.js").OrchestratorService | import("./services/daemon-service.js").DaemonService | import("./services/tracing-service.js").TracingService | import("./repo/compaction-repo.js").CompactionRepository | import("./services/compaction-service.js").CompactionService | import("./services/validation-service.js").ValidationService | import("./repo/message-repo.js").MessageRepository | import("./services/message-service.js").MessageService | import("./services/doc-service.js").DocService | import("./repo/memory-repo.js").MemoryDocumentRepository | import("./repo/memory-repo.js").MemoryLinkRepository | import("./repo/memory-repo.js").MemoryPropertyRepository | import("./repo/memory-repo.js").MemorySourceRepository | import("./services/memory-service.js").MemoryService | import("./services/memory-retriever-service.js").MemoryRetrieverService | import("./services/pin-service.js").PinService, import("./errors.js").DatabaseError | import("./errors.js").EmbeddingUnavailableError | import("./errors.js").LlmUnavailableError, never>;
|
|
65
69
|
/**
|
|
66
70
|
* Create a minimal application layer from an existing SqliteClient infra layer.
|
|
67
71
|
*
|
|
@@ -71,12 +75,12 @@ export declare const makeAppLayer: (dbPath: string) => Layer.Layer<import("./ser
|
|
|
71
75
|
*
|
|
72
76
|
* @param infra A layer providing SqliteClient
|
|
73
77
|
*/
|
|
74
|
-
export declare const makeMinimalLayerFromInfra: <E>(infra: Layer.Layer<SqliteClient, E>) => Layer.Layer<import("./services/migration-service.js").MigrationService | SqliteClient | import("./repo/task-repo.js").TaskRepository | import("./repo/dep-repo.js").DependencyRepository | import("./repo/learning-repo.js").LearningRepository | import("./repo/file-learning-repo.js").FileLearningRepository | import("./repo/attempt-repo.js").AttemptRepository | import("./repo/run-repo.js").RunRepository | import("./repo/anchor-repo.js").AnchorRepository | import("./repo/edge-repo.js").EdgeRepository | import("./repo/deduplication-repo.js").DeduplicationRepository | import("./repo/candidate-repo.js").CandidateRepository | import("./repo/tracked-project-repo.js").TrackedProjectRepository | import("./repo/worker-repo.js").WorkerRepository | import("./repo/claim-repo.js").ClaimRepository | import("./repo/orchestrator-state-repo.js").OrchestratorStateRepository | import("./services/task-service.js").TaskService | import("./services/dep-service.js").DependencyService | import("./services/ready-service.js").ReadyService | import("./services/hierarchy-service.js").HierarchyService | import("./services/edge-service.js").EdgeService | import("./services/graph-expansion.js").GraphExpansionService | import("./services/feedback-tracker.js").FeedbackTrackerService | import("./services/diversifier-service.js").DiversifierService | import("./services/retriever-service.js").RetrieverService | import("./services/learning-service.js").LearningService | import("./services/file-learning-service.js").FileLearningService | import("./services/attempt-service.js").AttemptService | import("./services/anchor-verification.js").AnchorVerificationService | import("./services/anchor-service.js").AnchorService | import("./services/deduplication-service.js").DeduplicationService | import("./services/sync-service.js").SyncService | import("./services/swarm-verification.js").SwarmVerificationService | import("./services/promotion-service.js").PromotionService | import("./services/worker-service.js").WorkerService | import("./services/run-heartbeat-service.js").RunHeartbeatService | import("./services/claim-service.js").ClaimService | import("./services/orchestrator-service.js").OrchestratorService | import("./services/daemon-service.js").DaemonService | import("./services/tracing-service.js").TracingService | import("./repo/compaction-repo.js").CompactionRepository | import("./services/compaction-service.js").CompactionService | import("./services/validation-service.js").ValidationService | import("./repo/message-repo.js").MessageRepository | import("./services/message-service.js").MessageService | import("./
|
|
78
|
+
export declare const makeMinimalLayerFromInfra: <E>(infra: Layer.Layer<SqliteClient, E>) => Layer.Layer<import("./services/migration-service.js").MigrationService | SqliteClient | import("./repo/task-repo.js").TaskRepository | import("./repo/dep-repo.js").DependencyRepository | import("./repo/learning-repo.js").LearningRepository | import("./repo/file-learning-repo.js").FileLearningRepository | import("./repo/attempt-repo.js").AttemptRepository | import("./repo/run-repo.js").RunRepository | import("./repo/anchor-repo.js").AnchorRepository | import("./repo/edge-repo.js").EdgeRepository | import("./repo/deduplication-repo.js").DeduplicationRepository | import("./repo/candidate-repo.js").CandidateRepository | import("./repo/tracked-project-repo.js").TrackedProjectRepository | import("./repo/worker-repo.js").WorkerRepository | import("./repo/claim-repo.js").ClaimRepository | import("./repo/orchestrator-state-repo.js").OrchestratorStateRepository | import("./services/task-service.js").TaskService | import("./services/dep-service.js").DependencyService | import("./services/ready-service.js").ReadyService | import("./services/hierarchy-service.js").HierarchyService | import("./services/edge-service.js").EdgeService | import("./services/graph-expansion.js").GraphExpansionService | import("./services/feedback-tracker.js").FeedbackTrackerService | import("./services/diversifier-service.js").DiversifierService | import("./services/retriever-service.js").RetrieverService | import("./services/learning-service.js").LearningService | import("./services/file-learning-service.js").FileLearningService | import("./services/attempt-service.js").AttemptService | import("./services/anchor-verification.js").AnchorVerificationService | import("./services/anchor-service.js").AnchorService | import("./services/deduplication-service.js").DeduplicationService | import("./repo/pin-repo.js").PinRepository | import("./repo/doc-repo.js").DocRepository | import("./services/sync-service.js").SyncService | import("./services/swarm-verification.js").SwarmVerificationService | import("./services/promotion-service.js").PromotionService | import("./services/worker-service.js").WorkerService | import("./services/run-heartbeat-service.js").RunHeartbeatService | import("./services/claim-service.js").ClaimService | import("./services/orchestrator-service.js").OrchestratorService | import("./services/daemon-service.js").DaemonService | import("./services/tracing-service.js").TracingService | import("./repo/compaction-repo.js").CompactionRepository | import("./services/compaction-service.js").CompactionService | import("./services/validation-service.js").ValidationService | import("./repo/message-repo.js").MessageRepository | import("./services/message-service.js").MessageService | import("./services/doc-service.js").DocService | import("./repo/memory-repo.js").MemoryDocumentRepository | import("./repo/memory-repo.js").MemoryLinkRepository | import("./repo/memory-repo.js").MemoryPropertyRepository | import("./repo/memory-repo.js").MemorySourceRepository | import("./services/memory-service.js").MemoryService | import("./services/memory-retriever-service.js").MemoryRetrieverService | import("./services/pin-service.js").PinService, import("./errors.js").DatabaseError | E, never>;
|
|
75
79
|
/**
|
|
76
80
|
* Create a minimal application layer without auto-sync.
|
|
77
81
|
* Useful for testing and simple CLI operations.
|
|
78
82
|
*
|
|
79
83
|
* @param dbPath Path to SQLite database file
|
|
80
84
|
*/
|
|
81
|
-
export declare const makeMinimalLayer: (dbPath: string) => Layer.Layer<import("./services/migration-service.js").MigrationService | SqliteClient | import("./repo/task-repo.js").TaskRepository | import("./repo/dep-repo.js").DependencyRepository | import("./repo/learning-repo.js").LearningRepository | import("./repo/file-learning-repo.js").FileLearningRepository | import("./repo/attempt-repo.js").AttemptRepository | import("./repo/run-repo.js").RunRepository | import("./repo/anchor-repo.js").AnchorRepository | import("./repo/edge-repo.js").EdgeRepository | import("./repo/deduplication-repo.js").DeduplicationRepository | import("./repo/candidate-repo.js").CandidateRepository | import("./repo/tracked-project-repo.js").TrackedProjectRepository | import("./repo/worker-repo.js").WorkerRepository | import("./repo/claim-repo.js").ClaimRepository | import("./repo/orchestrator-state-repo.js").OrchestratorStateRepository | import("./services/task-service.js").TaskService | import("./services/dep-service.js").DependencyService | import("./services/ready-service.js").ReadyService | import("./services/hierarchy-service.js").HierarchyService | import("./services/edge-service.js").EdgeService | import("./services/graph-expansion.js").GraphExpansionService | import("./services/feedback-tracker.js").FeedbackTrackerService | import("./services/diversifier-service.js").DiversifierService | import("./services/retriever-service.js").RetrieverService | import("./services/learning-service.js").LearningService | import("./services/file-learning-service.js").FileLearningService | import("./services/attempt-service.js").AttemptService | import("./services/anchor-verification.js").AnchorVerificationService | import("./services/anchor-service.js").AnchorService | import("./services/deduplication-service.js").DeduplicationService | import("./services/sync-service.js").SyncService | import("./services/swarm-verification.js").SwarmVerificationService | import("./services/promotion-service.js").PromotionService | import("./services/worker-service.js").WorkerService | import("./services/run-heartbeat-service.js").RunHeartbeatService | import("./services/claim-service.js").ClaimService | import("./services/orchestrator-service.js").OrchestratorService | import("./services/daemon-service.js").DaemonService | import("./services/tracing-service.js").TracingService | import("./repo/compaction-repo.js").CompactionRepository | import("./services/compaction-service.js").CompactionService | import("./services/validation-service.js").ValidationService | import("./repo/message-repo.js").MessageRepository | import("./services/message-service.js").MessageService | import("./
|
|
85
|
+
export declare const makeMinimalLayer: (dbPath: string) => Layer.Layer<import("./services/migration-service.js").MigrationService | SqliteClient | import("./repo/task-repo.js").TaskRepository | import("./repo/dep-repo.js").DependencyRepository | import("./repo/learning-repo.js").LearningRepository | import("./repo/file-learning-repo.js").FileLearningRepository | import("./repo/attempt-repo.js").AttemptRepository | import("./repo/run-repo.js").RunRepository | import("./repo/anchor-repo.js").AnchorRepository | import("./repo/edge-repo.js").EdgeRepository | import("./repo/deduplication-repo.js").DeduplicationRepository | import("./repo/candidate-repo.js").CandidateRepository | import("./repo/tracked-project-repo.js").TrackedProjectRepository | import("./repo/worker-repo.js").WorkerRepository | import("./repo/claim-repo.js").ClaimRepository | import("./repo/orchestrator-state-repo.js").OrchestratorStateRepository | import("./services/task-service.js").TaskService | import("./services/dep-service.js").DependencyService | import("./services/ready-service.js").ReadyService | import("./services/hierarchy-service.js").HierarchyService | import("./services/edge-service.js").EdgeService | import("./services/graph-expansion.js").GraphExpansionService | import("./services/feedback-tracker.js").FeedbackTrackerService | import("./services/diversifier-service.js").DiversifierService | import("./services/retriever-service.js").RetrieverService | import("./services/learning-service.js").LearningService | import("./services/file-learning-service.js").FileLearningService | import("./services/attempt-service.js").AttemptService | import("./services/anchor-verification.js").AnchorVerificationService | import("./services/anchor-service.js").AnchorService | import("./services/deduplication-service.js").DeduplicationService | import("./repo/pin-repo.js").PinRepository | import("./repo/doc-repo.js").DocRepository | import("./services/sync-service.js").SyncService | import("./services/swarm-verification.js").SwarmVerificationService | import("./services/promotion-service.js").PromotionService | import("./services/worker-service.js").WorkerService | import("./services/run-heartbeat-service.js").RunHeartbeatService | import("./services/claim-service.js").ClaimService | import("./services/orchestrator-service.js").OrchestratorService | import("./services/daemon-service.js").DaemonService | import("./services/tracing-service.js").TracingService | import("./repo/compaction-repo.js").CompactionRepository | import("./services/compaction-service.js").CompactionService | import("./services/validation-service.js").ValidationService | import("./repo/message-repo.js").MessageRepository | import("./services/message-service.js").MessageService | import("./services/doc-service.js").DocService | import("./repo/memory-repo.js").MemoryDocumentRepository | import("./repo/memory-repo.js").MemoryLinkRepository | import("./repo/memory-repo.js").MemoryPropertyRepository | import("./repo/memory-repo.js").MemorySourceRepository | import("./services/memory-service.js").MemoryService | import("./services/memory-retriever-service.js").MemoryRetrieverService | import("./services/pin-service.js").PinService, import("./errors.js").DatabaseError, never>;
|
|
82
86
|
//# sourceMappingURL=layer.d.ts.map
|
package/dist/layer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layer.d.ts","sourceRoot":"","sources":["../src/layer.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAA;AAC9B,OAAO,EAAE,KAAK,YAAY,EAAoB,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"layer.d.ts","sourceRoot":"","sources":["../src/layer.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAA;AAC9B,OAAO,EAAE,KAAK,YAAY,EAAoB,MAAM,SAAS,CAAA;AA8D7D,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAA;AAClE,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAA;AAC3G,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAA;AACzE,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACpB,oBAAoB,EACpB,sBAAsB,EACtB,oBAAoB,EACpB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