@jamesaphoenix/tx-cli 0.4.4 → 0.4.5
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/cli.d.ts +1 -1
- package/dist/cli.js +1 -1
- package/dist/commands/attempt.d.ts +1 -1
- package/dist/commands/dep.d.ts +1 -1
- package/dist/commands/doc.d.ts +1 -1
- package/dist/commands/doctor.d.ts +1 -1
- package/dist/commands/invariant.d.ts +1 -1
- package/dist/commands/learning.d.ts +3 -3
- package/dist/commands/sync.d.ts +1 -1
- package/dist/commands/task.d.ts +4 -4
- package/package.json +1 -1
package/dist/cli.d.ts
CHANGED
package/dist/cli.js
CHANGED
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
import { Effect } from "effect";
|
|
5
5
|
import { AttemptService, TaskService } from "@jamesaphoenix/tx-core";
|
|
6
6
|
import { type Flags } from "../utils/parse.js";
|
|
7
|
-
export declare const tryAttempt: (pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").
|
|
7
|
+
export declare const tryAttempt: (pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").ValidationError | import("@jamesaphoenix/tx-core").DatabaseError | import("@jamesaphoenix/tx-core").TaskNotFoundError, AttemptService>;
|
|
8
8
|
export declare const attempts: (pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").DatabaseError | import("@jamesaphoenix/tx-core").TaskNotFoundError, TaskService | AttemptService>;
|
|
9
9
|
//# sourceMappingURL=attempt.d.ts.map
|
package/dist/commands/dep.d.ts
CHANGED
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
import { Effect } from "effect";
|
|
5
5
|
import { TaskService, DependencyService } from "@jamesaphoenix/tx-core";
|
|
6
6
|
import { type Flags } from "../utils/parse.js";
|
|
7
|
-
export declare const block: (pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").
|
|
7
|
+
export declare const block: (pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").ValidationError | import("@jamesaphoenix/tx-core").DatabaseError | import("@jamesaphoenix/tx-core").TaskNotFoundError | import("@jamesaphoenix/tx-core").CircularDependencyError, TaskService | DependencyService>;
|
|
8
8
|
export declare const unblock: (pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").DatabaseError | import("@jamesaphoenix/tx-core").TaskNotFoundError | import("@jamesaphoenix/tx-core").DependencyNotFoundError, TaskService | DependencyService>;
|
|
9
9
|
//# sourceMappingURL=dep.d.ts.map
|
package/dist/commands/doc.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ import { Effect } from "effect";
|
|
|
6
6
|
import { DocService } from "@jamesaphoenix/tx-core";
|
|
7
7
|
import { type Flags } from "../utils/parse.js";
|
|
8
8
|
/** Dispatch doc subcommands. */
|
|
9
|
-
export declare const doc: (pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").
|
|
9
|
+
export declare const doc: (pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").ValidationError | import("@jamesaphoenix/tx-core").DatabaseError | import("@jamesaphoenix/tx-core").InvalidDocYamlError | import("@jamesaphoenix/tx-core").DocNotFoundError, DocService>;
|
|
10
10
|
//# sourceMappingURL=doc.d.ts.map
|
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
import { Effect } from "effect";
|
|
5
5
|
import { SqliteClient, MigrationService } from "@jamesaphoenix/tx-core";
|
|
6
6
|
type Flags = Record<string, string | boolean>;
|
|
7
|
-
export declare const doctor: (_pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").DatabaseError,
|
|
7
|
+
export declare const doctor: (_pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").DatabaseError, MigrationService | SqliteClient>;
|
|
8
8
|
export {};
|
|
9
9
|
//# sourceMappingURL=doctor.d.ts.map
|
|
@@ -5,5 +5,5 @@ import { Effect } from "effect";
|
|
|
5
5
|
import { DocService } from "@jamesaphoenix/tx-core";
|
|
6
6
|
import { type Flags } from "../utils/parse.js";
|
|
7
7
|
/** Dispatch invariant subcommands. */
|
|
8
|
-
export declare const invariant: (pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").DatabaseError | import("@jamesaphoenix/tx-core").
|
|
8
|
+
export declare const invariant: (pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").DatabaseError | import("@jamesaphoenix/tx-core").InvalidDocYamlError | import("@jamesaphoenix/tx-core").DocNotFoundError, DocService> | Effect.Effect<void, import("@jamesaphoenix/tx-core").DatabaseError | import("@jamesaphoenix/tx-core").InvariantNotFoundError, DocService>;
|
|
9
9
|
//# sourceMappingURL=invariant.d.ts.map
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
import { Effect } from "effect";
|
|
5
5
|
import { LearningService, FileLearningService, TaskService, RetrievalError } from "@jamesaphoenix/tx-core";
|
|
6
6
|
import { type Flags } from "../utils/parse.js";
|
|
7
|
-
export declare const learningAdd: (pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").
|
|
7
|
+
export declare const learningAdd: (pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").ValidationError | import("@jamesaphoenix/tx-core").DatabaseError, LearningService>;
|
|
8
8
|
export declare const learningSearch: (pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").DatabaseError | RetrievalError | import("@jamesaphoenix/tx-core").EmbeddingDimensionMismatchError, LearningService>;
|
|
9
9
|
export declare const learningRecent: (_pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").DatabaseError, LearningService>;
|
|
10
|
-
export declare const learningHelpful: (pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").
|
|
10
|
+
export declare const learningHelpful: (pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").ValidationError | import("@jamesaphoenix/tx-core").DatabaseError | import("@jamesaphoenix/tx-core").LearningNotFoundError, LearningService>;
|
|
11
11
|
export declare const context: (pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").DatabaseError | import("@jamesaphoenix/tx-core").TaskNotFoundError | RetrievalError | import("@jamesaphoenix/tx-core").EmbeddingDimensionMismatchError, TaskService | LearningService>;
|
|
12
|
-
export declare const learn: (pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").
|
|
12
|
+
export declare const learn: (pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").ValidationError | import("@jamesaphoenix/tx-core").DatabaseError, FileLearningService>;
|
|
13
13
|
export declare const recall: (pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").DatabaseError, FileLearningService>;
|
|
14
14
|
export declare const learningEmbed: (_pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").DatabaseError, LearningService>;
|
|
15
15
|
export declare const learningHelp: (subcommand: string) => Effect.Effect<void, never, never>;
|
package/dist/commands/sync.d.ts
CHANGED
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
import { Effect } from "effect";
|
|
5
5
|
import { SyncService } from "@jamesaphoenix/tx-core";
|
|
6
6
|
import { type Flags } from "../utils/parse.js";
|
|
7
|
-
export declare const sync: (pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").
|
|
7
|
+
export declare const sync: (pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").ValidationError | import("@jamesaphoenix/tx-core").DatabaseError | import("@jamesaphoenix/tx-core").TaskNotFoundError, import("@jamesaphoenix/tx-core").TaskService | SyncService>;
|
|
8
8
|
//# sourceMappingURL=sync.d.ts.map
|
package/dist/commands/task.d.ts
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
import { Effect } from "effect";
|
|
5
5
|
import { TaskService, ReadyService, AttemptService } from "@jamesaphoenix/tx-core";
|
|
6
6
|
import { type Flags } from "../utils/parse.js";
|
|
7
|
-
export declare const add: (pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").
|
|
7
|
+
export declare const add: (pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").ValidationError | import("@jamesaphoenix/tx-core").DatabaseError | import("@jamesaphoenix/tx-core").TaskNotFoundError, TaskService>;
|
|
8
8
|
export declare const list: (_pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").DatabaseError, TaskService>;
|
|
9
9
|
export declare const ready: (_pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").DatabaseError, ReadyService | AttemptService>;
|
|
10
10
|
export declare const show: (pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").DatabaseError | import("@jamesaphoenix/tx-core").TaskNotFoundError, TaskService | AttemptService>;
|
|
11
|
-
export declare const update: (pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").
|
|
12
|
-
export declare const done: (pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").
|
|
11
|
+
export declare const update: (pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").ValidationError | import("@jamesaphoenix/tx-core").DatabaseError | import("@jamesaphoenix/tx-core").TaskNotFoundError | import("@jamesaphoenix/tx-core").StaleDataError, TaskService>;
|
|
12
|
+
export declare const done: (pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").ValidationError | import("@jamesaphoenix/tx-core").DatabaseError | import("@jamesaphoenix/tx-core").TaskNotFoundError | import("@jamesaphoenix/tx-core").StaleDataError, TaskService | ReadyService>;
|
|
13
13
|
export declare const deleteTask: (pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").DatabaseError | import("@jamesaphoenix/tx-core").TaskNotFoundError | import("@jamesaphoenix/tx-core").HasChildrenError, TaskService>;
|
|
14
|
-
export declare const reset: (pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").
|
|
14
|
+
export declare const reset: (pos: string[], flags: Flags) => Effect.Effect<void, import("@jamesaphoenix/tx-core").ValidationError | import("@jamesaphoenix/tx-core").DatabaseError | import("@jamesaphoenix/tx-core").TaskNotFoundError | import("@jamesaphoenix/tx-core").StaleDataError, TaskService>;
|
|
15
15
|
//# sourceMappingURL=task.d.ts.map
|