Resync hq ADR references 0044-0054 -> 0039-0049 after the hq record reconciliation
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// The photo app's API client — photos' own code, living in the module (novox/hq ADR 0044). The
|
||||
// The photo app's API client — photos' own code, living in the module (novox/hq ADR 0039). The
|
||||
// module packages a self-hosted photo library (immich-shaped: a REST API under `/api`, authenticated
|
||||
// by an API key sent as the `x-api-key` header). The client speaks only what the tools and the
|
||||
// item-added event need: server version and statistics, albums, and recent assets.
|
||||
@@ -26,7 +26,7 @@ export interface PhotosAsset {
|
||||
createdAt?: string;
|
||||
}
|
||||
|
||||
/** The settings-merged config the mesh delivers (novox/hq ADR 0051): { url, apiKey, token, password, user, ... }. */
|
||||
/** The settings-merged config the mesh delivers (novox/hq ADR 0046): { url, apiKey, token, password, user, ... }. */
|
||||
function meshConfig(file?: string): Record<string, string> {
|
||||
if (!file) return {};
|
||||
try { return JSON.parse(readFileSync(file, "utf8")) as Record<string, string>; }
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// photos' events. The tool runtime imports this once the broker is bound. It watches the library and
|
||||
// announces newly added assets.
|
||||
//
|
||||
// Emits (novox/hq ADR 0046/0047):
|
||||
// Emits (novox/hq ADR 0041/0042):
|
||||
// module.photos.item.added — a new asset appeared in the library
|
||||
//
|
||||
// New assets are found by diffing the recent-assets slice by asset id. Primed silently on the first
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@novox/module-photos",
|
||||
"version": "0.1.0",
|
||||
"description": "photos — self-hosted photo library. Its API client, tools and events live here (novox/hq ADR 0044).",
|
||||
"description": "photos — self-hosted photo library. Its API client, tools and events live here (novox/hq ADR 0039).",
|
||||
"type": "module",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// photos' tools (novox/hq ADR 0044), importing photos' own client.
|
||||
// photos' tools (novox/hq ADR 0039), importing photos' own client.
|
||||
|
||||
import { registerModuleTools, type ToolDefinition } from "@novox/mesh-sdk/tools";
|
||||
import { PhotosClient } from "../client.js";
|
||||
|
||||
Reference in New Issue
Block a user