agent-tasks 1.9.2 → 1.9.4
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/lib.d.ts +11 -0
- package/dist/lib.d.ts.map +1 -0
- package/dist/lib.js +20 -0
- package/dist/lib.js.map +1 -0
- package/package.json +16 -1
package/dist/lib.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { createContext, type AppContext } from './context.js';
|
|
2
|
+
export { createDb, type Db, type DbOptions } from './storage/database.js';
|
|
3
|
+
export { TaskService } from './domain/tasks.js';
|
|
4
|
+
export { CommentService } from './domain/comments.js';
|
|
5
|
+
export { CollaboratorService } from './domain/collaborators.js';
|
|
6
|
+
export { ApprovalService } from './domain/approvals.js';
|
|
7
|
+
export { EventBus } from './domain/events.js';
|
|
8
|
+
export { CleanupService } from './domain/cleanup.js';
|
|
9
|
+
export type { TaskStatus, Task, TaskCreateInput, TaskUpdateInput, TaskListFilter, TaskArtifact, TaskComment, CollaboratorRole, TaskCollaborator, ApprovalStatus, TaskApproval, TaskRelationshipType, TaskDependency, PipelineConfig, StageGate, GateConfig, SearchResult, EventType, TasksEvent, JsonRpcRequest, JsonRpcResponse, ToolDefinition, } from './types.js';
|
|
10
|
+
export { TasksError, NotFoundError, ConflictError, ValidationError } from './types.js';
|
|
11
|
+
//# sourceMappingURL=lib.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../src/lib.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,aAAa,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAG9D,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAG1E,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAGrD,YAAY,EACV,UAAU,EACV,IAAI,EACJ,eAAe,EACf,eAAe,EACf,cAAc,EACd,YAAY,EACZ,WAAW,EACX,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,YAAY,EACZ,oBAAoB,EACpB,cAAc,EACd,cAAc,EACd,SAAS,EACT,UAAU,EACV,YAAY,EACZ,SAAS,EACT,UAAU,EACV,cAAc,EACd,eAAe,EACf,cAAc,GACf,MAAM,YAAY,CAAC;AAGpB,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC"}
|
package/dist/lib.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// =============================================================================
|
|
2
|
+
// agent-tasks — Library API
|
|
3
|
+
//
|
|
4
|
+
// Public exports for programmatic use. Import from 'agent-tasks/lib'.
|
|
5
|
+
// The default export (index.ts) is the MCP stdio server.
|
|
6
|
+
// =============================================================================
|
|
7
|
+
// Context (entry point for library consumers)
|
|
8
|
+
export { createContext } from './context.js';
|
|
9
|
+
// Storage
|
|
10
|
+
export { createDb } from './storage/database.js';
|
|
11
|
+
// Domain services
|
|
12
|
+
export { TaskService } from './domain/tasks.js';
|
|
13
|
+
export { CommentService } from './domain/comments.js';
|
|
14
|
+
export { CollaboratorService } from './domain/collaborators.js';
|
|
15
|
+
export { ApprovalService } from './domain/approvals.js';
|
|
16
|
+
export { EventBus } from './domain/events.js';
|
|
17
|
+
export { CleanupService } from './domain/cleanup.js';
|
|
18
|
+
// Error classes
|
|
19
|
+
export { TasksError, NotFoundError, ConflictError, ValidationError } from './types.js';
|
|
20
|
+
//# sourceMappingURL=lib.js.map
|
package/dist/lib.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lib.js","sourceRoot":"","sources":["../src/lib.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,4BAA4B;AAC5B,EAAE;AACF,sEAAsE;AACtE,yDAAyD;AACzD,gFAAgF;AAEhF,8CAA8C;AAC9C,OAAO,EAAE,aAAa,EAAmB,MAAM,cAAc,CAAC;AAE9D,UAAU;AACV,OAAO,EAAE,QAAQ,EAA2B,MAAM,uBAAuB,CAAC;AAE1E,kBAAkB;AAClB,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AA4BrD,gBAAgB;AAChB,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-tasks",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.4",
|
|
4
4
|
"description": "Pipeline-driven task management for AI coding agents — stages, dependencies, artifacts, and multi-agent claiming",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"default": "./dist/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./lib": {
|
|
14
|
+
"types": "./dist/lib.d.ts",
|
|
15
|
+
"default": "./dist/lib.js"
|
|
16
|
+
},
|
|
17
|
+
"./dist/lib.js": {
|
|
18
|
+
"types": "./dist/lib.d.ts",
|
|
19
|
+
"default": "./dist/lib.js"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
7
22
|
"bin": {
|
|
8
23
|
"agent-tasks": "dist/index.js"
|
|
9
24
|
},
|