@critical-path/react 0.13.11 → 0.14.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/CHANGELOG.md DELETED
@@ -1,613 +0,0 @@
1
- # @critical-path/react
2
-
3
- ## 0.13.11
4
-
5
- ### Patch Changes
6
-
7
- - Updated dependencies [b13f7c4]
8
- - @critical-path/core@0.35.0
9
- - @critical-path/client@0.20.4
10
- - @critical-path/mcp@0.11.6
11
-
12
- ## 0.13.10
13
-
14
- ### Patch Changes
15
-
16
- - Updated dependencies [1cc0d4c]
17
- - @critical-path/core@0.34.0
18
- - @critical-path/client@0.20.3
19
- - @critical-path/mcp@0.11.5
20
-
21
- ## 0.13.9
22
-
23
- ### Patch Changes
24
-
25
- - Updated dependencies [aa94129]
26
- - @critical-path/core@0.33.0
27
- - @critical-path/client@0.20.2
28
- - @critical-path/mcp@0.11.4
29
-
30
- ## 0.13.8
31
-
32
- ### Patch Changes
33
-
34
- - Updated dependencies [a3fe03d]
35
- - @critical-path/core@0.32.0
36
- - @critical-path/client@0.20.1
37
- - @critical-path/mcp@0.11.3
38
-
39
- ## 0.13.7
40
-
41
- ### Patch Changes
42
-
43
- - Updated dependencies [40e5958]
44
- - @critical-path/core@0.31.0
45
- - @critical-path/client@0.20.0
46
- - @critical-path/mcp@0.11.2
47
-
48
- ## 0.13.6
49
-
50
- ### Patch Changes
51
-
52
- - Updated dependencies [b453472]
53
- - @critical-path/client@0.19.0
54
- - @critical-path/mcp@0.11.1
55
-
56
- ## 0.13.5
57
-
58
- ### Patch Changes
59
-
60
- - Updated dependencies [cdb300a]
61
- - @critical-path/core@0.30.0
62
- - @critical-path/client@0.18.0
63
- - @critical-path/mcp@0.11.0
64
-
65
- ## 0.13.4
66
-
67
- ### Patch Changes
68
-
69
- - Updated dependencies [a019d37]
70
- - @critical-path/core@0.29.0
71
- - @critical-path/client@0.17.0
72
- - @critical-path/mcp@0.10.4
73
-
74
- ## 0.13.3
75
-
76
- ### Patch Changes
77
-
78
- - Updated dependencies [4fbbc40]
79
- - @critical-path/core@0.28.0
80
- - @critical-path/mcp@0.10.3
81
- - @critical-path/client@0.16.1
82
-
83
- ## 0.13.2
84
-
85
- ### Patch Changes
86
-
87
- - Updated dependencies [1a516bd]
88
- - @critical-path/core@0.27.0
89
- - @critical-path/client@0.16.0
90
- - @critical-path/mcp@0.10.2
91
-
92
- ## 0.13.1
93
-
94
- ### Patch Changes
95
-
96
- - Updated dependencies [719e844]
97
- - @critical-path/core@0.26.0
98
- - @critical-path/client@0.15.1
99
- - @critical-path/mcp@0.10.1
100
-
101
- ## 0.13.0
102
-
103
- ### Minor Changes
104
-
105
- - fd79762: **BREAKING:** strict request bodies, no identity in payloads, and CORS off by default.
106
-
107
- **@critical-path/core**
108
- - Request schemas are strict: unknown keys, server-assigned fields and identity fields are rejected instead of stripped.
109
- - Identity is never read from payloads. `updateTask` no longer reads `actorId`/`actorName`/`actorType`/`actor` from the update object; pass them as the third `options` argument or use `withActor`. `addComment`, `addCommentReaction`, `removeCommentReaction` and `createAttachment` take the actor from `withActor`, falling back to an optional `authorId`/`userId`/`uploaderId`, then `'system'`.
110
- - Schemas export request body types (`CreateTaskBody`, `UpdateTaskBody`, ...).
111
-
112
- **@critical-path/server**
113
- - Bodies containing unknown, server-assigned or identity fields return `400`.
114
- - Every request runs as the `getContext` user, or `ANONYMOUS_ACTOR` (`anonymous`). Authors of comments, reactions, attachments and time entries are no longer accepted from bodies.
115
- - `DELETE /comments/:id/reactions` takes `?emoji=` only.
116
- - CORS is off by default (`cors: false`). Pass `cors: { origins: [...] }` to allow cross-origin browsers.
117
-
118
- **@critical-path/client**
119
- - Method parameters use the server's body types, so identity fields no longer type-check. `addCommentReaction`/`removeCommentReaction` take `{ emoji }`; `addTodo`/`toggleTodo` drop the actor options argument.
120
- - New `updateProject`, `deleteProject` and `addDependency`. `uploadAttachmentFile` base64-encodes binary data (previously it sent unusable JSON for `Uint8Array`/`ArrayBuffer`).
121
- - CLI: `--author`, `--actor-id`, `--actor-name`, `--agent-name` and `CRITICAL_PATH_AUTHOR_ID`/`ACTOR_ID`/`AGENT_NAME` are removed; identity comes from the `--key` token via the server's `getContext`.
122
-
123
- **@critical-path/mcp**
124
- - Tool arguments are strict: undeclared arguments return an `isError` result.
125
- - `add_comment` no longer takes `authorId`. With an `engine`, writes are attributed to the new `actor` server option (default `DEFAULT_MCP_ACTOR`).
126
-
127
- **@critical-path/react / @critical-path/svelte**
128
- - `addReaction`/`removeReaction` take `(commentId, emoji)`; comment and attachment inputs no longer accept `authorId`/`uploaderId`. Task, comment and deliverable update parameters use the schema body types.
129
-
130
- ### Patch Changes
131
-
132
- - Updated dependencies [fd79762]
133
- - @critical-path/core@0.25.0
134
- - @critical-path/client@0.15.0
135
- - @critical-path/mcp@0.10.0
136
-
137
- ## 0.12.3
138
-
139
- ### Patch Changes
140
-
141
- - Updated dependencies [b54e22c]
142
- - @critical-path/core@0.24.0
143
- - @critical-path/mcp@0.9.0
144
- - @critical-path/client@0.14.9
145
-
146
- ## 0.12.2
147
-
148
- ### Patch Changes
149
-
150
- - Updated dependencies [6dd5529]
151
- - @critical-path/core@0.23.0
152
- - @critical-path/mcp@0.8.0
153
- - @critical-path/client@0.14.8
154
-
155
- ## 0.12.1
156
-
157
- ### Patch Changes
158
-
159
- - Updated dependencies [b243a37]
160
- - @critical-path/core@0.22.0
161
- - @critical-path/mcp@0.7.0
162
- - @critical-path/client@0.14.7
163
-
164
- ## 0.12.0
165
-
166
- ### Minor Changes
167
-
168
- - f3301bf: - Added comprehensive task lifecycle and semantic status predicates (`isDraftTask`, `isArchivedTask`, `isTrashedTask`, `isTrashedOrArchivedTask`, `isWorkflowTask`, `getTaskSemanticStatus`, `isTaskCompleted`, `isTaskInProgress`, `isTaskNotStarted`, `isTaskCanceled`, `isTaskActive`, `isTaskUnassigned`).
169
- - Hardened mention extraction with markdown code suppression (`stripMarkdownCode`) to prevent code blocks, inline code, HTML elements, and URLs from triggering false positive mentions while preserving rich-text mention nodes.
170
- - Added Base-62 fractional indexing utilities (`generateKeyBetween`, `generateNKeysBetween`) for zero-cost lexical task/item reordering without array shifting or bulk database rewrites.
171
- - Added `completedAt` lifecycle timestamp tracking alongside `actualEndDate`, automatic timestamp assignment upon entering `completed` or `canceled`, and timestamp + progress reset upon reopening to `not_started` or `in_progress`.
172
- - Added `isTempTaskId` utility and hardened optimistic temporary task handling in `@critical-path/svelte` (`TaskState`) and `@critical-path/react` (`useTasks`) with in-flight creation resolution and ID mapping to prevent 404 errors during rapid optimistic updates and deletions.
173
-
174
- ### Patch Changes
175
-
176
- - Updated dependencies [f3301bf]
177
- - @critical-path/core@0.21.0
178
- - @critical-path/client@0.14.6
179
- - @critical-path/mcp@0.6.9
180
-
181
- ## 0.11.9
182
-
183
- ### Patch Changes
184
-
185
- - Updated dependencies [8acf018]
186
- - @critical-path/client@0.14.5
187
- - @critical-path/mcp@0.6.8
188
-
189
- ## 0.11.8
190
-
191
- ### Patch Changes
192
-
193
- - Updated dependencies [b8a68dd]
194
- - @critical-path/core@0.20.2
195
- - @critical-path/client@0.14.4
196
- - @critical-path/mcp@0.6.7
197
-
198
- ## 0.11.7
199
-
200
- ### Patch Changes
201
-
202
- - Updated dependencies [500b353]
203
- - @critical-path/core@0.20.1
204
- - @critical-path/client@0.14.3
205
- - @critical-path/mcp@0.6.6
206
-
207
- ## 0.11.6
208
-
209
- ### Patch Changes
210
-
211
- - Updated dependencies [c83235b]
212
- - @critical-path/core@0.20.0
213
- - @critical-path/client@0.14.2
214
- - @critical-path/mcp@0.6.5
215
-
216
- ## 0.11.5
217
-
218
- ### Patch Changes
219
-
220
- - Updated dependencies [f816145]
221
- - @critical-path/core@0.19.1
222
- - @critical-path/client@0.14.1
223
- - @critical-path/mcp@0.6.4
224
-
225
- ## 0.11.4
226
-
227
- ### Patch Changes
228
-
229
- - Updated dependencies [f539a11]
230
- - @critical-path/client@0.14.0
231
- - @critical-path/mcp@0.6.3
232
-
233
- ## 0.11.3
234
-
235
- ### Patch Changes
236
-
237
- - Updated dependencies [1c85472]
238
- - @critical-path/client@0.13.1
239
- - @critical-path/mcp@0.6.2
240
-
241
- ## 0.11.2
242
-
243
- ### Patch Changes
244
-
245
- - Updated dependencies [b86b6fc]
246
- - @critical-path/client@0.13.0
247
- - @critical-path/mcp@0.6.1
248
-
249
- ## 0.11.1
250
-
251
- ### Patch Changes
252
-
253
- - Updated dependencies [31a6dde]
254
- - Updated dependencies [31a6dde]
255
- - @critical-path/core@0.19.0
256
- - @critical-path/mcp@0.6.0
257
- - @critical-path/client@0.12.1
258
-
259
- ## 0.11.0
260
-
261
- ### Minor Changes
262
-
263
- - adf44f6: Add headless workload and capacity distribution engine for streamgraphs, stacked area charts, and team capacity planning. Features include contiguous calendar bucketing (`day`, `week`, `month`), multi-dimension grouping (`assignee`, `team`, `taskType`, `priority`, `status`), effort metric distribution (`scheduled`, `logged`, `remaining`, `blended`), tabular zero-filled series matrix for D3 stack layouts, and capacity/utilization thresholds.
264
-
265
- ### Patch Changes
266
-
267
- - Updated dependencies [adf44f6]
268
- - @critical-path/core@0.18.0
269
- - @critical-path/client@0.12.0
270
- - @critical-path/mcp@0.5.0
271
-
272
- ## 0.10.0
273
-
274
- ### Minor Changes
275
-
276
- - 9c31e8d: Introduce comprehensive Task Metrics, Inferred Actuals, Progress Inference, Earned Value Management (EVM), and Time-Series Progress History Curve Profiling.
277
- - **Inferred Actuals**: Automatic start/completion auto-stamping on workflow transitions with fallback inference from activity logs, plus automatic completion timestamp clearing on task re-open.
278
- - **Reality Delta**: Multi-dimensional variance analysis comparing planned estimates to logged hours (`effortVarianceHours`, `durationVarianceHours`, `accuracyRatio`, `isOverdue`, `isOverEstimate`).
279
- - **Progress Inference**: Deterministic priority waterfall resolving completion progress across explicit values, checklist/todo completion ratios, logged effort, and elapsed schedule time.
280
- - **Earned Value Management (EVM)**: Task-level PV, EV, AC, CV, SV, CPI, and SPI calculations.
281
- - **Time-Series History & Curve Shapes**: Historical timeline reconstruction from activity logs with piecewise interpolation curve classification (`linear`, `s_curve`, `early_surge`, `late_rush`, `stalled`).
282
- - **Full-Stack Integration**: REST endpoints (`/tasks/:id/metrics`, `/tasks/:id/progress-history`), Client SDK methods, React `useTaskMetrics` hook, Svelte 5 `TaskMetricsState`, and MCP tools (`get_task_metrics`, `get_task_progress_history`).
283
-
284
- ### Patch Changes
285
-
286
- - Updated dependencies [9c31e8d]
287
- - @critical-path/core@0.17.0
288
- - @critical-path/client@0.11.0
289
- - @critical-path/mcp@0.4.0
290
-
291
- ## 0.9.1
292
-
293
- ### Patch Changes
294
-
295
- - Updated dependencies [b4b2c98]
296
- - @critical-path/mcp@0.3.1
297
-
298
- ## 0.9.0
299
-
300
- ### Minor Changes
301
-
302
- - e2a7eef: Introduce Ladder of Abstraction and Critical Path Method (CPM) timeline synthesis to the framework data model:
303
- - **Core Domain**: Multi-scale timeline synthesis model across Macro phase rollups, Standard CPM Gantt schedule (early/late bounds, float/slack calculation, bottleneck identification), and Concrete grounding (deliverables, file attachments, daily effort distribution, and reality deltas). Added `calculateCriticalPath`, `getTimelineLadder`, and `getTaskLadder` to `CriticalPathEngine`.
304
- - **Server Router**: HTTP endpoints `GET /projects/:id/critical-path`, `GET /projects/:id/ladder`, and `GET /tasks/:id/ladder`.
305
- - **Client SDK**: `CriticalPathClient` methods `calculateCriticalPath`, `getTimelineLadder`, and `getTaskLadder`.
306
- - **MCP**: New AI tools `calculate_critical_path`, `get_timeline_ladder`, and `get_task_ladder`.
307
- - **React**: Custom hooks `useTimelineLadder`, `useCriticalPath`, and `useTaskLadder`.
308
- - **Svelte 5**: Svelte 5 Runes state classes `TimelineLadderState` and `CriticalPathState`.
309
-
310
- ### Patch Changes
311
-
312
- - Updated dependencies [e2a7eef]
313
- - @critical-path/core@0.16.0
314
- - @critical-path/client@0.10.0
315
- - @critical-path/mcp@0.3.0
316
-
317
- ## 0.8.0
318
-
319
- ### Minor Changes
320
-
321
- - 105f3d3: Synchronize feature parity between `@critical-path/react` and `@critical-path/svelte`:
322
- - `@critical-path/react`: Added `updateTask` with optimistic updates and rollback to `useTasks`, and introduced `useTaskActivity` hook for unified threaded discussions and attachments.
323
- - `@critical-path/svelte`: Added `KanbanState` (`createKanbanState`), `TaskTransitionsState` (`createTaskTransitionsState`), and `DeliverableSummaryState` (`createDeliverableSummaryState`) using native Svelte 5 runes.
324
-
325
- ## 0.7.0
326
-
327
- ### Minor Changes
328
-
329
- - ed51060: Add Model Context Protocol (MCP) server and client-side WebMCP support:
330
- - New `@critical-path/mcp` package providing standard MCP server (`createCriticalPathMcpServer`, stdio transport, resources, prompts) and CLI (`npx @critical-path/mcp`).
331
- - Client-side WebMCP browser integration (`registerWebMcpTools`) adhering to W3C WebML CG specification with ambient project scoping.
332
- - First-class React hook `useWebMCP` in `@critical-path/react`.
333
- - First-class Svelte 5 runes state `WebMcpState` and `createWebMcpState` in `@critical-path/svelte`.
334
-
335
- ### Patch Changes
336
-
337
- - Updated dependencies [ed51060]
338
- - @critical-path/mcp@0.2.0
339
-
340
- ## 0.6.2
341
-
342
- ### Patch Changes
343
-
344
- - Updated dependencies [dbd2072]
345
- - @critical-path/core@0.15.2
346
- - @critical-path/client@0.9.2
347
-
348
- ## 0.6.1
349
-
350
- ### Patch Changes
351
-
352
- - Updated dependencies [f53afab]
353
- - @critical-path/core@0.15.1
354
- - @critical-path/client@0.9.1
355
-
356
- ## 0.6.0
357
-
358
- ### Minor Changes
359
-
360
- - 21eb85c: Implement Universal Semantic Statuses & System-Derived Implied Statuses (3-Tier Status Architecture)
361
-
362
- - **Tier 1 (Universal Semantic Statuses)**: Defined canonical status enum `SemanticStatus = 'not_started' | 'in_progress' | 'completed' | 'canceled'` providing universal semantic meaning across any industry domain.
363
- - **Tier 2 (Workflow-Defined Statuses)**: Updated `StatusDefinition` to map domain-specific statuses to a semantic `category`. Updated built-in workflows (Software, Creative, VFX, Simple) to classify statuses by category.
364
- - **Tier 3 (System-Derived Implied Statuses)**: Added `deriveTaskLifecycleState` and `engine.getTaskLifecycleState(taskId)` returning dynamic indicators:
365
- - Dependency: `isReady`, `isBlocked`, `blockingTaskIds`
366
- - Schedule: `isOverdue`, `isUpcoming`, `isUnplanned`
367
- - Ownership: `isUnassigned`, `isStalled`
368
- - Estimate/Pace: `isOverEstimate`, `isPaceWarning`
369
- - Convenience flags: `isDone`, `isActive`, `isCancelled`
370
- - **Domain Entities & Engine**: Added automatic timestamp progression (`actualStartDate`, `actualEndDate`), progress completion, and event emission driven by semantic status categories.
371
- - **React UI Hooks**: Updated `useKanban` to support dynamic custom workflow columns without dropping tasks, plus added `groupBy: 'semantic' | 'workflow'` option.
372
- - **Client SDK**: Added `client.getTaskLifecycleState(taskId)`.
373
-
374
- ### Patch Changes
375
-
376
- - Updated dependencies [21eb85c]
377
- - @critical-path/core@0.15.0
378
- - @critical-path/client@0.9.0
379
-
380
- ## 0.5.5
381
-
382
- ### Patch Changes
383
-
384
- - Updated dependencies [3dc2798]
385
- - @critical-path/core@0.14.0
386
- - @critical-path/client@0.8.4
387
-
388
- ## 0.5.4
389
-
390
- ### Patch Changes
391
-
392
- - Updated dependencies [573a4fa]
393
- - @critical-path/core@0.13.3
394
- - @critical-path/client@0.8.3
395
-
396
- ## 0.5.3
397
-
398
- ### Patch Changes
399
-
400
- - Updated dependencies [03d269c]
401
- - @critical-path/core@0.13.2
402
- - @critical-path/client@0.8.2
403
-
404
- ## 0.5.2
405
-
406
- ### Patch Changes
407
-
408
- - Updated dependencies [a7d17c0]
409
- - @critical-path/core@0.13.1
410
- - @critical-path/client@0.8.1
411
-
412
- ## 0.5.1
413
-
414
- ### Patch Changes
415
-
416
- - Updated dependencies [a4a464b]
417
- - @critical-path/core@0.13.0
418
- - @critical-path/client@0.8.0
419
-
420
- ## 0.5.0
421
-
422
- ### Minor Changes
423
-
424
- - 5a5930f: Add first-class Deliverable entity, Creative Workflow presets, and reactive UI bindings:
425
- - `@critical-path/core`: Added `Deliverable` entity, `DeliverableSummary` rollup computation, `DEFAULT_CREATIVE_WORKFLOW` preset, `deliverableId` on tasks, store implementations (InMemory, SQLite, Firebase), domain events, and webhook integration.
426
- - `@critical-path/server`: Added RESTful API endpoints for `/deliverables` and `/deliverables/:id/summary`.
427
- - `@critical-path/client`: Added deliverable management and summary methods to `CriticalPathClient`.
428
- - `@critical-path/react`: Added `useDeliverables` and `useDeliverableSummary` React hooks.
429
- - `@critical-path/svelte`: Added `DeliverableState` and `createDeliverableState` Svelte 5 Runes state management.
430
-
431
- ### Patch Changes
432
-
433
- - Updated dependencies [5a5930f]
434
- - @critical-path/core@0.12.0
435
- - @critical-path/client@0.7.0
436
-
437
- ## 0.4.1
438
-
439
- ### Patch Changes
440
-
441
- - Updated dependencies [55549e9]
442
- - @critical-path/core@0.11.0
443
- - @critical-path/client@0.6.0
444
-
445
- ## 0.4.0
446
-
447
- ### Minor Changes
448
-
449
- - e9003d3: Add emoji reactions support for comment conversations with domain events, deduplication, REST endpoints, client SDK, and React/Svelte state integrations.
450
-
451
- ### Patch Changes
452
-
453
- - Updated dependencies [e9003d3]
454
- - @critical-path/core@0.10.0
455
- - @critical-path/client@0.5.0
456
-
457
- ## 0.3.5
458
-
459
- ### Patch Changes
460
-
461
- - Updated dependencies [e983557]
462
- - @critical-path/core@0.9.0
463
- - @critical-path/client@0.4.4
464
-
465
- ## 0.3.4
466
-
467
- ### Patch Changes
468
-
469
- - 2d5ff04: fix(core): decode base64 strings and data URIs into binary Uint8Array in storage adapters
470
- - Updated dependencies [2d5ff04]
471
- - @critical-path/core@0.8.3
472
- - @critical-path/client@0.4.3
473
-
474
- ## 0.3.3
475
-
476
- ### Patch Changes
477
-
478
- - fix(core): decode base64 strings and data URIs into binary Uint8Array in storage adapters
479
- - Updated dependencies
480
- - @critical-path/core@0.8.2
481
- - @critical-path/client@0.4.2
482
-
483
- ## 0.3.2
484
-
485
- ### Patch Changes
486
-
487
- - 315425c: fix(core): generate Firebase Storage download tokens and construct valid public URLs
488
- - Updated dependencies [315425c]
489
- - @critical-path/core@0.8.1
490
- - @critical-path/client@0.4.1
491
-
492
- ## 0.3.1
493
-
494
- ### Patch Changes
495
-
496
- - Updated dependencies [1811922]
497
- - @critical-path/core@0.8.0
498
- - @critical-path/client@0.4.0
499
-
500
- ## 0.3.0
501
-
502
- ### Minor Changes
503
-
504
- - a48a04a: Add threaded conversations, attachment metadata management, and storage adapters (S3 & Firebase Storage):
505
-
506
- - **`@critical-path/core`**:
507
- - Added `Attachment` entity, `CreateAttachmentInput`, `UploadFileInput`, and `FileStorageAdapter` contracts.
508
- - Added `InMemoryFileStore`, duck-typed `S3StorageAdapter` (compatible with AWS SDK v3, v2, MinIO, and Cloudflare R2), and `FirebaseStorageAdapter` (compatible with Google Cloud Storage and Firebase Admin SDK).
509
- - Extended `Comment` with `authorType` (`user`, `agent`, `system`) and `parentId` for threaded discussions.
510
- - Implemented full comment and attachment repository methods across `InMemoryStore`, `SQLiteStore`, and `FirebaseStore`.
511
- - Added engine operations for upload, presigning, and deleting attachments with domain events (`comment.*`, `attachment.*`) and webhooks.
512
-
513
- - **`@critical-path/server`**:
514
- - Added RESTful routes for comments (`GET/POST /tasks/:taskId/comments`, `GET/POST /comments`, `GET/PATCH/DELETE /comments/:id`).
515
- - Added RESTful routes for attachments (`GET/POST /tasks/:taskId/attachments`, `GET/POST /attachments`, `GET/DELETE /attachments/:id`, `POST /attachments/presign`).
516
-
517
- - **`@critical-path/client`**:
518
- - Added SDK methods `getComments`, `getComment`, `addComment`, `updateComment`, `deleteComment`.
519
- - Added SDK methods `getAttachments`, `getAttachment`, `createAttachment`, `deleteAttachment`, and `getPresignedAttachmentUploadUrl`.
520
-
521
- - **`@critical-path/react`**:
522
- - Added `useComments(taskId)` with reactive thread tree derivation (`threads` containing nested `replies`) and comment mutations.
523
- - Added `useAttachments(filter)` with attachment creation and deletion.
524
-
525
- - **`@critical-path/svelte`**:
526
- - Added Svelte 5 Rune-based `CommentState` / `createCommentState(client, taskId)` with derived threaded hierarchy.
527
- - Added Svelte 5 Rune-based `AttachmentState` / `createAttachmentState(client, filter)`.
528
-
529
- ### Patch Changes
530
-
531
- - Updated dependencies [a48a04a]
532
- - @critical-path/core@0.7.0
533
- - @critical-path/client@0.3.0
534
-
535
- ## 0.2.4
536
-
537
- ### Patch Changes
538
-
539
- - Updated dependencies [6e9dece]
540
- - @critical-path/core@0.6.0
541
- - @critical-path/client@0.2.4
542
-
543
- ## 0.2.3
544
-
545
- ### Patch Changes
546
-
547
- - Updated dependencies [c24b76c]
548
- - @critical-path/core@0.5.2
549
- - @critical-path/client@0.2.3
550
-
551
- ## 0.2.2
552
-
553
- ### Patch Changes
554
-
555
- - Updated dependencies [34067fd]
556
- - @critical-path/core@0.5.1
557
- - @critical-path/client@0.2.2
558
-
559
- ## 0.2.1
560
-
561
- ### Patch Changes
562
-
563
- - Updated dependencies [83a5c17]
564
- - @critical-path/core@0.5.0
565
- - @critical-path/client@0.2.1
566
-
567
- ## 0.2.0
568
-
569
- ### Minor Changes
570
-
571
- - 35576a6: Introduce Workflow concept to the project management model with status definitions, allowed transition validation, task types, webhook events (workflow.created, workflow.updated, workflow.deleted), server routes, SDK methods, and React/Svelte state hooks.
572
-
573
- ### Patch Changes
574
-
575
- - Updated dependencies [35576a6]
576
- - @critical-path/core@0.4.0
577
- - @critical-path/client@0.2.0
578
-
579
- ## 0.1.6
580
-
581
- ### Patch Changes
582
-
583
- - Updated dependencies [4b92228]
584
- - @critical-path/core@0.3.0
585
- - @critical-path/client@0.1.5
586
-
587
- ## 0.1.5
588
-
589
- ### Patch Changes
590
-
591
- - 3470b61: add optimistic updates with error rollback to Svelte state classes and React hooks
592
-
593
- ## 0.1.4
594
-
595
- ### Patch Changes
596
-
597
- - Updated dependencies [df22aad]
598
- - @critical-path/core@0.2.1
599
- - @critical-path/client@0.1.4
600
-
601
- ## 0.1.3
602
-
603
- ### Patch Changes
604
-
605
- - Updated dependencies [755286a]
606
- - @critical-path/core@0.2.0
607
- - @critical-path/client@0.1.3
608
-
609
- ## 0.1.2
610
-
611
- ### Patch Changes
612
-
613
- - Initial open-source release of React context provider (`CriticalPathProvider`) and hooks (`useKanban`, `useTasks`, `useProjects`).
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../src/index.test.ts"],"names":[],"mappings":""}
@@ -1,25 +0,0 @@
1
- import { describe, it, expect } from 'vitest';
2
- import { CriticalPathProvider, useCriticalPathClient, useProjects, useTasks, useKanban, useWorkflows, useTaskTransitions, useComments, useAttachments, useTaskActivity, useDeliverables, useDeliverableSummary, useWebMCP, useCriticalPath, useTimelineLadder, useTaskLadder, useTaskMetrics, useWorkloadDistribution } from './index.js';
3
- describe('@critical-path/react Exports Test', () => {
4
- it('exports Provider and Hooks', () => {
5
- expect(CriticalPathProvider).toBeDefined();
6
- expect(useCriticalPathClient).toBeDefined();
7
- expect(useProjects).toBeDefined();
8
- expect(useTasks).toBeDefined();
9
- expect(useKanban).toBeDefined();
10
- expect(useWorkflows).toBeDefined();
11
- expect(useTaskTransitions).toBeDefined();
12
- expect(useComments).toBeDefined();
13
- expect(useAttachments).toBeDefined();
14
- expect(useTaskActivity).toBeDefined();
15
- expect(useDeliverables).toBeDefined();
16
- expect(useDeliverableSummary).toBeDefined();
17
- expect(useWebMCP).toBeDefined();
18
- expect(useCriticalPath).toBeDefined();
19
- expect(useTimelineLadder).toBeDefined();
20
- expect(useTaskLadder).toBeDefined();
21
- expect(useTaskMetrics).toBeDefined();
22
- expect(useWorkloadDistribution).toBeDefined();
23
- });
24
- });
25
- //# sourceMappingURL=index.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.test.js","sourceRoot":"","sources":["../src/index.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EACL,oBAAoB,EACpB,qBAAqB,EACrB,WAAW,EACX,QAAQ,EACR,SAAS,EACT,YAAY,EACZ,kBAAkB,EAClB,WAAW,EACX,cAAc,EACd,eAAe,EACf,eAAe,EACf,qBAAqB,EACrB,SAAS,EACT,eAAe,EACf,iBAAiB,EACjB,aAAa,EACb,cAAc,EACd,uBAAuB,EACxB,MAAM,YAAY,CAAC;AAEpB,QAAQ,CAAC,mCAAmC,EAAE,GAAG,EAAE;IACjD,EAAE,CAAC,4BAA4B,EAAE,GAAG,EAAE;QACpC,MAAM,CAAC,oBAAoB,CAAC,CAAC,WAAW,EAAE,CAAC;QAC3C,MAAM,CAAC,qBAAqB,CAAC,CAAC,WAAW,EAAE,CAAC;QAC5C,MAAM,CAAC,WAAW,CAAC,CAAC,WAAW,EAAE,CAAC;QAClC,MAAM,CAAC,QAAQ,CAAC,CAAC,WAAW,EAAE,CAAC;QAC/B,MAAM,CAAC,SAAS,CAAC,CAAC,WAAW,EAAE,CAAC;QAChC,MAAM,CAAC,YAAY,CAAC,CAAC,WAAW,EAAE,CAAC;QACnC,MAAM,CAAC,kBAAkB,CAAC,CAAC,WAAW,EAAE,CAAC;QACzC,MAAM,CAAC,WAAW,CAAC,CAAC,WAAW,EAAE,CAAC;QAClC,MAAM,CAAC,cAAc,CAAC,CAAC,WAAW,EAAE,CAAC;QACrC,MAAM,CAAC,eAAe,CAAC,CAAC,WAAW,EAAE,CAAC;QACtC,MAAM,CAAC,eAAe,CAAC,CAAC,WAAW,EAAE,CAAC;QACtC,MAAM,CAAC,qBAAqB,CAAC,CAAC,WAAW,EAAE,CAAC;QAC5C,MAAM,CAAC,SAAS,CAAC,CAAC,WAAW,EAAE,CAAC;QAChC,MAAM,CAAC,eAAe,CAAC,CAAC,WAAW,EAAE,CAAC;QACtC,MAAM,CAAC,iBAAiB,CAAC,CAAC,WAAW,EAAE,CAAC;QACxC,MAAM,CAAC,aAAa,CAAC,CAAC,WAAW,EAAE,CAAC;QACpC,MAAM,CAAC,cAAc,CAAC,CAAC,WAAW,EAAE,CAAC;QACrC,MAAM,CAAC,uBAAuB,CAAC,CAAC,WAAW,EAAE,CAAC;IAChD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}