@jamesaphoenix/tx-test-utils 0.9.2 → 0.10.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/README.md CHANGED
@@ -89,13 +89,13 @@ Structured insights that attach to tasks and file paths.
89
89
 
90
90
  ```bash
91
91
  # Store knowledge
92
- tx learning:add "Use bcrypt for passwords, not SHA256"
92
+ tx learning add "Use bcrypt for passwords, not SHA256"
93
93
 
94
94
  # Attach learnings to file paths
95
95
  tx learn "src/auth/*.ts" "Services must use Effect-TS patterns"
96
96
 
97
97
  # Retrieve via search or task context
98
- tx learning:search "authentication"
98
+ tx learning search "authentication"
99
99
  tx context tx-abc123 # Get relevant learnings for a task
100
100
  tx recall "src/auth/hash.ts" # Recall learnings for a file
101
101
  ```
@@ -126,8 +126,8 @@ Lease-based claims prevent parallel agents from colliding.
126
126
  ```bash
127
127
  tx claim tx-abc123 worker-1 # Claim with 30-min lease
128
128
  tx claim tx-abc123 worker-1 --lease 60 # Custom lease duration
129
- tx claim:renew tx-abc123 worker-1 # Extend lease
130
- tx claim:release tx-abc123 worker-1 # Release early
129
+ tx claim renew tx-abc123 worker-1 # Extend lease
130
+ tx claim release tx-abc123 worker-1 # Release early
131
131
  ```
132
132
 
133
133
  ### Attempts
@@ -324,19 +324,19 @@ tx memory list # List documents (--source, --tags)
324
324
  tx memory link <src> <tgt> # Create explicit edge
325
325
 
326
326
  # Context & Learnings
327
- tx learning:add <content> # Store knowledge
328
- tx learning:search <query> # Search learnings
329
- tx learning:recent # Recent learnings
330
- tx learning:helpful # Mark as helpful
331
- tx learning:embed # Generate embeddings
327
+ tx learning add <content> # Store knowledge
328
+ tx learning search <query> # Search learnings
329
+ tx learning recent # Recent learnings
330
+ tx learning helpful # Mark as helpful
331
+ tx learning embed # Generate embeddings
332
332
  tx context <task-id> # Contextual retrieval
333
333
  tx learn <path> <note> # Attach to file
334
334
  tx recall [path] # Query by file
335
335
 
336
336
  # Coordination
337
337
  tx claim <id> <worker> # Lease-based claim
338
- tx claim:renew <id> <worker> # Extend lease
339
- tx claim:release <id> <worker> # Release early
338
+ tx claim renew <id> <worker> # Extend lease
339
+ tx claim release <id> <worker> # Release early
340
340
  tx try <id> <approach> # Record attempt
341
341
  tx attempts <id> # List attempts
342
342
 
@@ -56,7 +56,7 @@ export interface SharedTestLayer<L> {
56
56
  * ```
57
57
  */
58
58
  export declare const createSharedTestLayer: () => Promise<{
59
- layer: Layer.Layer<import("@jamesaphoenix/tx-core").MigrationService | import("@jamesaphoenix/tx-core").SqliteClient | import("@jamesaphoenix/tx-core").TaskRepository | import("@jamesaphoenix/tx-core").DependencyRepository | import("@jamesaphoenix/tx-core").LearningRepository | import("@jamesaphoenix/tx-core").FileLearningRepository | import("@jamesaphoenix/tx-core").AttemptRepository | import("@jamesaphoenix/tx-core").RunRepository | import("@jamesaphoenix/tx-core").AnchorRepository | import("@jamesaphoenix/tx-core").EdgeRepository | import("@jamesaphoenix/tx-core").DeduplicationRepository | import("@jamesaphoenix/tx-core").CandidateRepository | import("@jamesaphoenix/tx-core").TrackedProjectRepository | import("@jamesaphoenix/tx-core").WorkerRepository | import("@jamesaphoenix/tx-core").ClaimRepository | import("@jamesaphoenix/tx-core").OrchestratorStateRepository | import("@jamesaphoenix/tx-core").GuardRepository | import("@jamesaphoenix/tx-core").PinRepository | import("@jamesaphoenix/tx-core").TaskService | import("@jamesaphoenix/tx-core").DependencyService | import("@jamesaphoenix/tx-core").ReadyService | import("@jamesaphoenix/tx-core").HierarchyService | import("@jamesaphoenix/tx-core").EdgeService | typeof import("@jamesaphoenix/tx-core").GraphExpansionService | import("@jamesaphoenix/tx-core").FeedbackTrackerService | import("@jamesaphoenix/tx-core").DiversifierService | import("@jamesaphoenix/tx-core").RetrieverService | import("@jamesaphoenix/tx-core").LearningService | import("@jamesaphoenix/tx-core").FileLearningService | import("@jamesaphoenix/tx-core").AttemptService | import("@jamesaphoenix/tx-core").AnchorVerificationService | import("@jamesaphoenix/tx-core").AnchorService | import("@jamesaphoenix/tx-core").DeduplicationService | import("@jamesaphoenix/tx-core").StreamService | import("@jamesaphoenix/tx-core").DocRepository | import("@jamesaphoenix/tx-core").SyncService | import("@jamesaphoenix/tx-core").SwarmVerificationService | import("@jamesaphoenix/tx-core").PromotionService | import("@jamesaphoenix/tx-core").WorkerService | import("@jamesaphoenix/tx-core").RunHeartbeatService | import("@jamesaphoenix/tx-core").ClaimService | import("@jamesaphoenix/tx-core").OrchestratorService | import("@jamesaphoenix/tx-core").DaemonService | import("@jamesaphoenix/tx-core").TracingService | import("@jamesaphoenix/tx-core").CompactionRepository | import("@jamesaphoenix/tx-core").CompactionService | import("@jamesaphoenix/tx-core").ValidationService | import("@jamesaphoenix/tx-core").MessageRepository | import("@jamesaphoenix/tx-core").MessageService | import("@jamesaphoenix/tx-core").DocService | import("@jamesaphoenix/tx-core").MemoryDocumentRepository | import("@jamesaphoenix/tx-core").MemoryLinkRepository | import("@jamesaphoenix/tx-core").MemoryPropertyRepository | import("@jamesaphoenix/tx-core").MemorySourceRepository | import("@jamesaphoenix/tx-core").MemoryService | import("@jamesaphoenix/tx-core").MemoryRetrieverService | import("@jamesaphoenix/tx-core").PinService | import("@jamesaphoenix/tx-core").LabelRepository | import("@jamesaphoenix/tx-core").GuardService | import("@jamesaphoenix/tx-core").VerifyService | import("@jamesaphoenix/tx-core").ReflectService | import("@jamesaphoenix/tx-core").SpecTraceRepository | import("@jamesaphoenix/tx-core").SpecTraceService, import("@jamesaphoenix/tx-core").DatabaseError, never>;
59
+ layer: Layer.Layer<import("@jamesaphoenix/tx-core").MigrationService | import("@jamesaphoenix/tx-core").SqliteClient | import("@jamesaphoenix/tx-core").TaskRepository | import("@jamesaphoenix/tx-core").DependencyRepository | import("@jamesaphoenix/tx-core").LearningRepository | import("@jamesaphoenix/tx-core").FileLearningRepository | import("@jamesaphoenix/tx-core").AttemptRepository | import("@jamesaphoenix/tx-core").RunRepository | import("@jamesaphoenix/tx-core").AnchorRepository | import("@jamesaphoenix/tx-core").EdgeRepository | import("@jamesaphoenix/tx-core").DeduplicationRepository | import("@jamesaphoenix/tx-core").CandidateRepository | import("@jamesaphoenix/tx-core").TrackedProjectRepository | import("@jamesaphoenix/tx-core").WorkerRepository | import("@jamesaphoenix/tx-core").ClaimRepository | import("@jamesaphoenix/tx-core").ProcessRegistryRepository | import("@jamesaphoenix/tx-core").OrchestratorStateRepository | import("@jamesaphoenix/tx-core").GuardRepository | import("@jamesaphoenix/tx-core").PinRepository | import("@jamesaphoenix/tx-core").TaskService | import("@jamesaphoenix/tx-core").DependencyService | import("@jamesaphoenix/tx-core").ClaimService | import("@jamesaphoenix/tx-core").ReadyService | import("@jamesaphoenix/tx-core").HierarchyService | import("@jamesaphoenix/tx-core").EdgeService | typeof import("@jamesaphoenix/tx-core").GraphExpansionService | import("@jamesaphoenix/tx-core").FeedbackTrackerService | import("@jamesaphoenix/tx-core").DiversifierService | import("@jamesaphoenix/tx-core").RetrieverService | import("@jamesaphoenix/tx-core").LearningService | import("@jamesaphoenix/tx-core").FileLearningService | import("@jamesaphoenix/tx-core").AttemptService | import("@jamesaphoenix/tx-core").AnchorVerificationService | import("@jamesaphoenix/tx-core").AnchorService | import("@jamesaphoenix/tx-core").DeduplicationService | import("@jamesaphoenix/tx-core").StreamService | import("@jamesaphoenix/tx-core").DocRepository | import("@jamesaphoenix/tx-core").SyncService | import("@jamesaphoenix/tx-core").SwarmVerificationService | import("@jamesaphoenix/tx-core").PromotionService | import("@jamesaphoenix/tx-core").WorkerService | import("@jamesaphoenix/tx-core").RunHeartbeatService | import("@jamesaphoenix/tx-core").ProcessRegistryService | import("@jamesaphoenix/tx-core").OrchestratorService | import("@jamesaphoenix/tx-core").DaemonService | import("@jamesaphoenix/tx-core").TracingService | import("@jamesaphoenix/tx-core").CompactionRepository | import("@jamesaphoenix/tx-core").CompactionService | import("@jamesaphoenix/tx-core").ValidationService | import("@jamesaphoenix/tx-core").MessageRepository | import("@jamesaphoenix/tx-core").MessageService | import("@jamesaphoenix/tx-core").DocService | import("@jamesaphoenix/tx-core").MemoryDocumentRepository | import("@jamesaphoenix/tx-core").MemoryLinkRepository | import("@jamesaphoenix/tx-core").MemoryPropertyRepository | import("@jamesaphoenix/tx-core").MemorySourceRepository | import("@jamesaphoenix/tx-core").MemoryService | import("@jamesaphoenix/tx-core").MemoryRetrieverService | import("@jamesaphoenix/tx-core").PinService | import("@jamesaphoenix/tx-core").LabelRepository | import("@jamesaphoenix/tx-core").GuardService | import("@jamesaphoenix/tx-core").VerifyService | import("@jamesaphoenix/tx-core").ReflectService | import("@jamesaphoenix/tx-core").SpecTraceRepository | import("@jamesaphoenix/tx-core").SpecTraceService | import("@jamesaphoenix/tx-core/layer").DecisionRepository | import("@jamesaphoenix/tx-core").DecisionService, import("@jamesaphoenix/tx-core").DatabaseError, never>;
60
60
  reset: () => Promise<void>;
61
61
  close: () => Promise<void>;
62
62
  getDb: () => Database;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jamesaphoenix/tx-test-utils",
3
- "version": "0.9.2",
3
+ "version": "0.10.1",
4
4
  "description": "Test utilities, factories, fixtures, and helpers for tx monorepo",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",