@adhd/backlog 0.1.0 → 0.1.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 +12 -0
- package/client.d.ts +17 -1
- package/index.js +121 -121
- package/index.mjs +7113 -5616
- package/model.d.ts +22 -1
- package/package.json +9 -8
- package/store/query.d.ts +27 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## 0.1.1 (2026-07-27)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### 🩹 Fixes
|
|
5
|
+
|
|
6
|
+
- **backlog:** fix published tarball crashing at mount — `backlogDistDir()` resolved `client.d.ts` via `import.meta.url + '../dist'`, which escaped to the nonexistent `node_modules/@adhd/dist` once `dist-manifest` rebased the package to its root; now probes for the sibling `client.d.ts` (BUG-012). Adds `server.published-layout.spec.ts` reproducing the published rebased-to-root layout.
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### ❤️ Thank You
|
|
10
|
+
|
|
11
|
+
- pseudosky
|
|
12
|
+
|
|
1
13
|
## 0.0.3 (2026-07-25)
|
|
2
14
|
|
|
3
15
|
|
package/client.d.ts
CHANGED
|
@@ -26,7 +26,23 @@ export interface BacklogCtx {
|
|
|
26
26
|
* idOverride is given.
|
|
27
27
|
*/
|
|
28
28
|
export declare function createItem(ctx: BacklogCtx, input: CreateItemInput): Promise<CreateItemResult>;
|
|
29
|
-
/**
|
|
29
|
+
/**
|
|
30
|
+
* repo is required — humanId alone is not globally unique. A genuine miss
|
|
31
|
+
* (humanId doesn't exist under ANY repo) still returns `null` — unchanged,
|
|
32
|
+
* every existing caller relying on nullable-not-throwing keeps working.
|
|
33
|
+
*
|
|
34
|
+
* BUG-BACKLOG-REPO-LOOKUP-UX-001: previously a repo/humanId MISMATCH (the
|
|
35
|
+
* item is live, just filed under a different `repo` string) was
|
|
36
|
+
* indistinguishable from a genuine miss — both silently returned `null`,
|
|
37
|
+
* which is worse than `appendNote`'s bare-but-at-least-thrown
|
|
38
|
+
* `BacklogItemNotFoundError` (and, before this fix, could surface through
|
|
39
|
+
* apigen's MCP layer as the unrelated broken int64/null encoding,
|
|
40
|
+
* BUG-APIGEN-LOGICAL-NULL-OBJECT-RESULT-INT64-001 — out of scope here, but
|
|
41
|
+
* this fix removes the only path that made this lookup look like that bug).
|
|
42
|
+
* Now: a real cross-repo match THROWS the same informative
|
|
43
|
+
* `BacklogItemNotFoundError` (with `foundInRepos` naming the actual repo) the
|
|
44
|
+
* mutating lookups already throw, instead of masquerading as "not found".
|
|
45
|
+
*/
|
|
30
46
|
export declare function getItem(ctx: BacklogCtx, repo: string, humanId: string): Promise<BacklogItem | null>;
|
|
31
47
|
export declare function updateItem(ctx: BacklogCtx, repo: string, humanId: string, patch: UpdateItemInput): Promise<BacklogItem>;
|
|
32
48
|
export declare function listItems(ctx: BacklogCtx, filter?: BacklogFilter): Promise<BacklogItem[]>;
|