@danypops/papyrus 0.56.0 → 0.57.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/package.json +1 -1
- package/src/artifact/artifact-relationship-view.ts +1 -1
- package/src/artifact/artifact-scope-store.ts +32 -26
- package/src/artifact/in-memory-artifact-scope-store.ts +82 -43
- package/src/artifact/sqlite-artifact-scope-store.ts +105 -56
- package/src/cli/docs-command.ts +71 -0
- package/src/cli/gates-command.ts +1 -1
- package/src/cli/note-command.ts +1 -1
- package/src/cli/playbooks-command.ts +71 -0
- package/src/cli/rules-command.ts +71 -0
- package/src/cli/scope-groups-command.ts +197 -0
- package/src/cli/task-command.ts +1 -1
- package/src/cli.ts +7 -0
- package/src/constants.ts +10 -2
- package/src/db.ts +117 -7
- package/src/{stores → discussion}/discussion-round-store.ts +1 -1
- package/src/discussion/discussion-service.ts +2 -2
- package/src/{stores → discussion}/sqlite-discussion-round-store.ts +2 -2
- package/src/display-graph/graph-renderer.ts +5 -0
- package/src/docs/docs-service.ts +55 -20
- package/src/domain-service-shared.ts +90 -2
- package/src/{domain → gate}/gate-execution.ts +1 -1
- package/src/{stores → gate}/gate-runner.ts +1 -1
- package/src/{stores → gate}/sqlite-gate-runner.ts +3 -3
- package/src/graph-projection/graph-projection-service.ts +2 -2
- package/src/{stores → graph-projection}/graph-projection-store.ts +1 -1
- package/src/{stores → graph-projection}/sqlite-graph-projection-store.ts +2 -2
- package/src/handlers/discuss.ts +1 -1
- package/src/handlers/docs.ts +57 -2
- package/src/handlers/playbooks.ts +49 -8
- package/src/handlers/projects.ts +1 -1
- package/src/handlers/registry.ts +10 -5
- package/src/handlers/rules.ts +66 -2
- package/src/handlers/scope-groups.ts +100 -0
- package/src/handlers/task-classifiers.ts +1 -1
- package/src/handlers/tasks.ts +4 -4
- package/src/index.ts +9 -9
- package/src/log/log-service.ts +2 -2
- package/src/{stores → log}/log-store.ts +1 -1
- package/src/{stores → log}/sqlite-log-store.ts +2 -2
- package/src/modules/docs.ts +21 -1
- package/src/modules/graph-projection.ts +2 -2
- package/src/modules/logs.ts +1 -1
- package/src/modules/notes.ts +1 -1
- package/src/modules/playbooks.ts +24 -3
- package/src/modules/projects.ts +3 -3
- package/src/modules/rules.ts +21 -1
- package/src/modules/scope-groups.ts +92 -0
- package/src/modules/tasks.ts +3 -3
- package/src/{stores → note}/note-event-store.ts +1 -1
- package/src/note/note-service.ts +2 -2
- package/src/{stores → note}/sqlite-note-event-store.ts +2 -2
- package/src/ops.ts +1 -1
- package/src/playbook/playbook-definition.ts +2 -2
- package/src/playbook/playbook-execution.ts +1 -1
- package/src/playbook/playbook-service.ts +61 -26
- package/src/playbook/workflow-execution.ts +8 -8
- package/src/{stores → project-registry}/in-memory-project-registry-store.ts +2 -2
- package/src/{ports → project-registry}/project-registry-store.ts +1 -1
- package/src/{stores → project-registry}/sqlite-project-registry-store.ts +3 -3
- package/src/rules/rules-service.ts +56 -24
- package/src/scope-group/delete-scope-group.ts +17 -0
- package/src/scope-group/in-memory-scope-group-store.ts +173 -0
- package/src/scope-group/scope-group-store.ts +28 -0
- package/src/scope-group/scope-group.ts +79 -0
- package/src/scope-group/sqlite-scope-group-store.ts +223 -0
- package/src/service.ts +46 -21
- package/src/session-identity/session-identity-service.ts +2 -2
- package/src/{stores → session-identity}/sqlite-session-identity-store.ts +1 -1
- package/src/{stores → task/create-request}/sqlite-task-create-request-store.ts +1 -1
- package/src/{stores → task/focus}/sqlite-task-focus-store.ts +3 -3
- package/src/{stores → task/focus}/task-focus-store.ts +1 -1
- package/src/{stores → task/lease}/sqlite-task-lease-store.ts +4 -4
- package/src/{stores → task/lease}/task-lease-store.ts +2 -2
- package/src/{domain → task/lease}/task-lease.ts +1 -1
- package/src/{stores → task/mutation-request}/sqlite-task-mutation-request-store.ts +1 -1
- package/src/task/task-context.ts +1 -1
- package/src/task/task-edges.ts +2 -2
- package/src/task/task-focus-coordinator.ts +3 -3
- package/src/task/task-graph-view.ts +1 -1
- package/src/task/task-lease-coordinator.ts +2 -2
- package/src/task/task-mutation-coordinator.ts +1 -1
- package/src/task/task-project-scope.ts +5 -5
- package/src/task/task-relationship-view.ts +1 -1
- package/src/task/task-service.ts +15 -15
- package/src/{stores → task-event}/sqlite-task-event-store.ts +2 -2
- package/src/{stores → task-event}/task-event-store.ts +1 -1
- package/src/{stores → task-scope}/sqlite-task-scope-store.ts +3 -3
- package/src/{stores → task-scope}/task-scope-store.ts +3 -3
- package/src/{domain → task-scope}/task-scope.ts +1 -1
- package/src/domain/index.ts +0 -8
- package/src/stores/graph-renderer.ts +0 -5
- package/src/stores/index.ts +0 -1
- /package/src/{domain → discussion}/discussion.ts +0 -0
- /package/src/{domain → display-graph}/display-graph.ts +0 -0
- /package/src/{domain → gate}/gate.ts +0 -0
- /package/src/{domain → graph-projection}/graph-projection.ts +0 -0
- /package/src/{domain → log}/log-entry.ts +0 -0
- /package/src/{domain → note}/note-event.ts +0 -0
- /package/src/{domain → playbook}/blueprint-definition.ts +0 -0
- /package/src/{domain → project-registry}/project-registry.ts +0 -0
- /package/src/{stores → session-identity}/session-identity-store.ts +0 -0
- /package/src/{domain → session-identity}/session-identity.ts +0 -0
- /package/src/{domain → task}/checklist.ts +0 -0
- /package/src/{stores → task/create-request}/task-create-request-store.ts +0 -0
- /package/src/{stores → task/mutation-request}/task-mutation-request-store.ts +0 -0
- /package/src/{domain → task-event}/task-event.ts +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SESSION_IDENTITY_MAX_ROWS } from "../constants.ts";
|
|
2
2
|
import type { Db } from "../db.ts";
|
|
3
3
|
import { inTransaction } from "../db.ts";
|
|
4
|
-
import type { SessionIdentityRecord, SessionIdentityStore } from "
|
|
4
|
+
import type { SessionIdentityRecord, SessionIdentityStore } from "../session-identity/session-identity-store.ts";
|
|
5
5
|
|
|
6
6
|
export class SQLiteSessionIdentityStore implements SessionIdentityStore {
|
|
7
7
|
constructor(private readonly db: Db) {}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TASK_FOCUS_MAX_SCOPES } from "
|
|
2
|
-
import type { Db } from "
|
|
3
|
-
import { inTransaction } from "
|
|
1
|
+
import { TASK_FOCUS_MAX_SCOPES } from "../../constants.ts";
|
|
2
|
+
import type { Db } from "../../db.ts";
|
|
3
|
+
import { inTransaction } from "../../db.ts";
|
|
4
4
|
import { normalizeFocusScope, type TaskFocusState, type TaskFocusStatus, type TaskFocusStore } from "./task-focus-store.ts";
|
|
5
5
|
|
|
6
6
|
export class SQLiteTaskFocusStore implements TaskFocusStore {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TASK_FOCUS_DEFAULT_SCOPE, TASK_FOCUS_MAX_SCOPES, TASK_FOCUS_SCOPE_MAX_LENGTH } from "
|
|
1
|
+
import { TASK_FOCUS_DEFAULT_SCOPE, TASK_FOCUS_MAX_SCOPES, TASK_FOCUS_SCOPE_MAX_LENGTH } from "../../constants.ts";
|
|
2
2
|
|
|
3
3
|
export type TaskFocusStatus = "active" | "paused";
|
|
4
4
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { TASK_LEASE_DEFAULT_TTL_MS } from "
|
|
2
|
-
import type { Db } from "
|
|
3
|
-
import { inTransaction } from "
|
|
4
|
-
import { isLeaseExpired, type TaskLease, validateLeaseNote, validateLeaseOwner, validateLeaseTtlMs } from "
|
|
1
|
+
import { TASK_LEASE_DEFAULT_TTL_MS } from "../../constants.ts";
|
|
2
|
+
import type { Db } from "../../db.ts";
|
|
3
|
+
import { inTransaction } from "../../db.ts";
|
|
4
|
+
import { isLeaseExpired, type TaskLease, validateLeaseNote, validateLeaseOwner, validateLeaseTtlMs } from "./task-lease.ts";
|
|
5
5
|
import type { TaskLeaseStore } from "./task-lease-store.ts";
|
|
6
6
|
|
|
7
7
|
interface TaskLeaseRow {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TASK_LEASE_DEFAULT_TTL_MS } from "
|
|
2
|
-
import { isLeaseExpired, type TaskLease, validateLeaseNote, validateLeaseOwner, validateLeaseTtlMs } from "
|
|
1
|
+
import { TASK_LEASE_DEFAULT_TTL_MS } from "../../constants.ts";
|
|
2
|
+
import { isLeaseExpired, type TaskLease, validateLeaseNote, validateLeaseOwner, validateLeaseTtlMs } from "./task-lease.ts";
|
|
3
3
|
|
|
4
4
|
export interface TaskLeaseStore {
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TASK_LEASE_MAX_TTL_MS, TASK_LEASE_MIN_TTL_MS, TASK_LEASE_NOTE_MAX_LENGTH, TASK_LEASE_OWNER_MAX_LENGTH } from "
|
|
1
|
+
import { TASK_LEASE_MAX_TTL_MS, TASK_LEASE_MIN_TTL_MS, TASK_LEASE_NOTE_MAX_LENGTH, TASK_LEASE_OWNER_MAX_LENGTH } from "../../constants.ts";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* A bounded work reservation on a Task, independent of both the Task's own lifecycle status
|
package/src/task/task-context.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Artifact } from "../artifact/artifact.ts";
|
|
2
2
|
import type { ArtifactStore } from "../artifact/artifact-store.ts";
|
|
3
3
|
import { TASK_CONTEXT_CURRENT_LIMIT, TASK_CONTEXT_REJECTED_LIMIT, TASK_RECONCILIATION_INSTRUCTION } from "../constants.ts";
|
|
4
|
-
import { DISCUSSION_SUBTYPE, readDiscussionExtra } from "../
|
|
4
|
+
import { DISCUSSION_SUBTYPE, readDiscussionExtra } from "../discussion/discussion.ts";
|
|
5
5
|
|
|
6
6
|
interface Gate {
|
|
7
7
|
type?: unknown;
|
package/src/task/task-edges.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { Artifact, ArtifactEdge } from "../artifact/artifact.ts";
|
|
2
2
|
import type { ArtifactStore } from "../artifact/artifact-store.ts";
|
|
3
3
|
import { TASK_EXECUTION_MAX_DEGREE } from "../constants.ts";
|
|
4
|
-
import type { AppendTaskEvent, TaskEventContext } from "../
|
|
5
|
-
import type { TaskEventStore } from "../
|
|
4
|
+
import type { AppendTaskEvent, TaskEventContext } from "../task-event/task-event.ts";
|
|
5
|
+
import type { TaskEventStore } from "../task-event/task-event-store.ts";
|
|
6
6
|
import { assertDependencyEdgeAllowed, TaskExecutionBoundExceededError } from "./task-execution.ts";
|
|
7
7
|
// Type-only import: erased entirely at compile time, so this does not create a real runtime
|
|
8
8
|
// circular dependency even though task-service.ts also imports TaskEdges (a real value) from
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Artifact } from "../artifact/artifact.ts";
|
|
2
2
|
import type { ArtifactStore } from "../artifact/artifact-store.ts";
|
|
3
3
|
import { TASK_FOCUS_STALE_AFTER_MS } from "../constants.ts";
|
|
4
|
-
import { type AppendTaskEvent, type TaskEventContext, validateEventContext } from "../
|
|
5
|
-
import type { TaskEventStore } from "../
|
|
6
|
-
import type { TaskFocusStatus, TaskFocusStore } from "
|
|
4
|
+
import { type AppendTaskEvent, type TaskEventContext, validateEventContext } from "../task-event/task-event.ts";
|
|
5
|
+
import type { TaskEventStore } from "../task-event/task-event-store.ts";
|
|
6
|
+
import type { TaskFocusStatus, TaskFocusStore } from "./focus/task-focus-store.ts";
|
|
7
7
|
import { TaskInvalidTransitionError } from "./task-lifecycle-errors.ts";
|
|
8
8
|
import type { TaskMutationCoordinator, TaskMutationRequestContext } from "./task-mutation-coordinator.ts";
|
|
9
9
|
// Type-only import: erased entirely at compile time, so this does not create a real runtime
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DisplayGraph, DisplayGraphEdge } from "../
|
|
1
|
+
import type { DisplayGraph, DisplayGraphEdge } from "../display-graph/display-graph.ts";
|
|
2
2
|
import { projectTaskExecution, type TaskExecutionState } from "./task-execution.ts";
|
|
3
3
|
import type { TaskGraph } from "./task-service.ts";
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Artifact } from "../artifact/artifact.ts";
|
|
2
|
-
import type { TaskLease, TaskLeaseView } from "
|
|
3
|
-
import type { TaskLeaseStore } from "
|
|
2
|
+
import type { TaskLease, TaskLeaseView } from "./lease/task-lease.ts";
|
|
3
|
+
import type { TaskLeaseStore } from "./lease/task-lease-store.ts";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Task lease management (claim/heartbeat/release/get/reap), split out of the Tasks god class as
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
TaskMutationPendingError,
|
|
7
7
|
type TaskMutationRequestRecord,
|
|
8
8
|
type TaskMutationRequestStore,
|
|
9
|
-
} from "
|
|
9
|
+
} from "./mutation-request/task-mutation-request-store.ts";
|
|
10
10
|
|
|
11
11
|
export class TaskMutationReceiptNotFoundError extends Error {}
|
|
12
12
|
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { Artifact } from "../artifact/artifact.ts";
|
|
2
2
|
import { TASK_PROJECT_LIST_MAX_RESULTS } from "../constants.ts";
|
|
3
|
-
import { assertRegisterProjectInputBounds } from "../
|
|
4
|
-
import type { AppendTaskEvent, TaskEventContext } from "../
|
|
3
|
+
import { assertRegisterProjectInputBounds } from "../project-registry/project-registry.ts";
|
|
4
|
+
import type { AppendTaskEvent, TaskEventContext } from "../task-event/task-event.ts";
|
|
5
|
+
import type { TaskEventStore } from "../task-event/task-event-store.ts";
|
|
5
6
|
import {
|
|
6
7
|
normalizeProjectRoot,
|
|
7
8
|
type RegisterTaskProjectInput,
|
|
@@ -9,9 +10,8 @@ import {
|
|
|
9
10
|
type TaskViewMode,
|
|
10
11
|
type TaskViewSelection,
|
|
11
12
|
taskScopeLabel,
|
|
12
|
-
} from "../
|
|
13
|
-
import type {
|
|
14
|
-
import type { TaskScopeStore } from "../stores/task-scope-store.ts";
|
|
13
|
+
} from "../task-scope/task-scope.ts";
|
|
14
|
+
import type { TaskScopeStore } from "../task-scope/task-scope-store.ts";
|
|
15
15
|
|
|
16
16
|
export class TaskProjectNotFoundError extends Error {}
|
|
17
17
|
export class TaskProjectAmbiguousError extends Error {}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Artifact, ArtifactEdge } from "../artifact/artifact.ts";
|
|
2
|
-
import type { DisplayGraph, DisplayGraphEdge, DisplayGraphNode } from "../
|
|
2
|
+
import type { DisplayGraph, DisplayGraphEdge, DisplayGraphNode } from "../display-graph/display-graph.ts";
|
|
3
3
|
import type { TaskGraph } from "./task-service.ts";
|
|
4
4
|
|
|
5
5
|
function normalizeEdge(edge: ArtifactEdge): DisplayGraphEdge {
|
package/src/task/task-service.ts
CHANGED
|
@@ -14,9 +14,10 @@ import {
|
|
|
14
14
|
TASK_SCOPE_MAX_TASKS,
|
|
15
15
|
TASK_TITLE_MAX_LENGTH,
|
|
16
16
|
} from "../constants.ts";
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { type Gate, type GateResult, validateGates } from "../
|
|
17
|
+
import { DISCUSSION_SUBTYPE, isDiscussionArtifact, readDiscussionExtra } from "../discussion/discussion.ts";
|
|
18
|
+
import type { TransitionTable } from "../domain-service-shared.ts";
|
|
19
|
+
import { type Gate, type GateResult, validateGates } from "../gate/gate.ts";
|
|
20
|
+
import type { GateRunner } from "../gate/gate-runner.ts";
|
|
20
21
|
import type {
|
|
21
22
|
AppendTaskEvent,
|
|
22
23
|
TaskEventContext,
|
|
@@ -25,9 +26,9 @@ import type {
|
|
|
25
26
|
TaskHistoryPage,
|
|
26
27
|
TaskHistoryQuery,
|
|
27
28
|
TaskLifecycleStatus,
|
|
28
|
-
} from "../
|
|
29
|
-
import { validateEventContext } from "../
|
|
30
|
-
import type
|
|
29
|
+
} from "../task-event/task-event.ts";
|
|
30
|
+
import { validateEventContext } from "../task-event/task-event.ts";
|
|
31
|
+
import { InMemoryTaskEventStore, type TaskEventStore } from "../task-event/task-event-store.ts";
|
|
31
32
|
import {
|
|
32
33
|
normalizeProjectRoot,
|
|
33
34
|
type RegisterTaskProjectInput,
|
|
@@ -36,24 +37,23 @@ import {
|
|
|
36
37
|
type TaskViewMode,
|
|
37
38
|
type TaskViewSelection,
|
|
38
39
|
taskScopeLabel,
|
|
39
|
-
} from "../
|
|
40
|
-
import type
|
|
41
|
-
import type
|
|
40
|
+
} from "../task-scope/task-scope.ts";
|
|
41
|
+
import { InMemoryTaskScopeStore, type TaskScopeStore } from "../task-scope/task-scope-store.ts";
|
|
42
|
+
import { type Checklist, checklistEntries, type ProofReference, validateChecklist } from "./checklist.ts";
|
|
42
43
|
import {
|
|
43
44
|
InMemoryTaskCreateRequestStore,
|
|
44
45
|
TaskCreateIdempotencyConflictError,
|
|
45
46
|
type TaskCreateRequestStore,
|
|
46
|
-
} from "
|
|
47
|
-
import {
|
|
48
|
-
import
|
|
49
|
-
import { InMemoryTaskLeaseStore, type TaskLeaseStore } from "
|
|
47
|
+
} from "./create-request/task-create-request-store.ts";
|
|
48
|
+
import { InMemoryTaskFocusStore, type TaskFocusStatus, type TaskFocusStore } from "./focus/task-focus-store.ts";
|
|
49
|
+
import type { TaskLeaseView } from "./lease/task-lease.ts";
|
|
50
|
+
import { InMemoryTaskLeaseStore, type TaskLeaseStore } from "./lease/task-lease-store.ts";
|
|
50
51
|
import {
|
|
51
52
|
InMemoryTaskMutationRequestStore,
|
|
52
53
|
TaskMutationPendingError,
|
|
53
54
|
type TaskMutationRequestRecord,
|
|
54
55
|
type TaskMutationRequestStore,
|
|
55
|
-
} from "
|
|
56
|
-
import { InMemoryTaskScopeStore, type TaskScopeStore } from "../stores/task-scope-store.ts";
|
|
56
|
+
} from "./mutation-request/task-mutation-request-store.ts";
|
|
57
57
|
import { TaskEdges } from "./task-edges.ts";
|
|
58
58
|
import { TaskExecutionBoundExceededError } from "./task-execution.ts";
|
|
59
59
|
import { type TaskFocus, TaskFocusCoordinator, type TaskFocusMutationResult } from "./task-focus-coordinator.ts";
|
|
@@ -13,8 +13,8 @@ import {
|
|
|
13
13
|
type TaskHistoryQuery,
|
|
14
14
|
type TaskLifecycleStatus,
|
|
15
15
|
validateTaskEvent,
|
|
16
|
-
} from "../
|
|
17
|
-
import type { TaskEventStore } from "
|
|
16
|
+
} from "../task-event/task-event.ts";
|
|
17
|
+
import type { TaskEventStore } from "../task-event/task-event-store.ts";
|
|
18
18
|
|
|
19
19
|
interface TaskEventRow {
|
|
20
20
|
id: number;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Db } from "../db.ts";
|
|
2
2
|
import { inTransaction } from "../db.ts";
|
|
3
|
+
import { SQLiteProjectRegistryStore } from "../project-registry/sqlite-project-registry-store.ts";
|
|
3
4
|
import type {
|
|
4
5
|
RegisterTaskProjectInput,
|
|
5
6
|
TaskProject,
|
|
@@ -7,9 +8,8 @@ import type {
|
|
|
7
8
|
TaskScopeSource,
|
|
8
9
|
TaskViewMode,
|
|
9
10
|
TaskViewPreference,
|
|
10
|
-
} from "../
|
|
11
|
-
import {
|
|
12
|
-
import type { TaskScopeStore } from "./task-scope-store.ts";
|
|
11
|
+
} from "../task-scope/task-scope.ts";
|
|
12
|
+
import type { TaskScopeStore } from "../task-scope/task-scope-store.ts";
|
|
13
13
|
|
|
14
14
|
/** Rewrites every task_scopes/task_views row pinned to a project root that just moved -- called inside the same registerProject() transaction, so a rename/move is atomic with the rewrite. */
|
|
15
15
|
function rewriteTaskRowsForMovedRoot(db: Db, previousRoot: string, nextRoot: string): void {
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { InMemoryProjectRegistryStore } from "../project-registry/in-memory-project-registry-store.ts";
|
|
2
|
+
import type { ProjectRegistryStore } from "../project-registry/project-registry-store.ts";
|
|
1
3
|
import type {
|
|
2
4
|
RegisterTaskProjectInput,
|
|
3
5
|
TaskProject,
|
|
@@ -5,9 +7,7 @@ import type {
|
|
|
5
7
|
TaskScopeSource,
|
|
6
8
|
TaskViewMode,
|
|
7
9
|
TaskViewPreference,
|
|
8
|
-
} from "../
|
|
9
|
-
import type { ProjectRegistryStore } from "../ports/project-registry-store.ts";
|
|
10
|
-
import { InMemoryProjectRegistryStore } from "./in-memory-project-registry-store.ts";
|
|
10
|
+
} from "../task-scope/task-scope.ts";
|
|
11
11
|
|
|
12
12
|
export interface TaskScopeStore {
|
|
13
13
|
assign(taskId: string, projectRoot: string | undefined, source: TaskScopeSource): TaskProjectScope;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { basename, isAbsolute, normalize } from "node:path";
|
|
2
2
|
import { TASK_PROJECT_ROOT_MAX_LENGTH } from "../constants.ts";
|
|
3
|
-
import type { Project, RegisterProjectInput } from "
|
|
3
|
+
import type { Project, RegisterProjectInput } from "../project-registry/project-registry.ts";
|
|
4
4
|
|
|
5
5
|
export type TaskViewMode = "project" | "graph" | "all";
|
|
6
6
|
export type TaskScopeSource = "cwd" | "explicit" | "unscoped";
|
package/src/domain/index.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export { checklistEntries, PROOF_TYPES, type ProofReference } from "./checklist.ts";
|
|
2
|
-
export { DISCUSSION_SUBTYPE, type DiscussionRound, readDiscussionExtra } from "./discussion.ts";
|
|
3
|
-
export type { DisplayGraph, DisplayGraphEdge, DisplayGraphNode, RenderedGraph } from "./display-graph.ts";
|
|
4
|
-
export type { GateResult } from "./gate.ts";
|
|
5
|
-
export type { NoteHistoryPage } from "./note-event.ts";
|
|
6
|
-
export type { TaskEvent, TaskHistoryPage } from "./task-event.ts";
|
|
7
|
-
export type { TaskLease, TaskLeaseView } from "./task-lease.ts";
|
|
8
|
-
export type { TaskViewSelection } from "./task-scope.ts";
|
package/src/stores/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { GraphRenderer } from "./graph-renderer.ts";
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|