@openparachute/vault 0.7.3-rc.2 → 0.7.3-rc.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/core/src/types.ts CHANGED
@@ -450,7 +450,7 @@ export interface Store {
450
450
  */
451
451
  getNoteByPath(path: string, extension?: string): Promise<Note | null>;
452
452
  getNotes(ids: string[]): Promise<Note[]>;
453
- updateNote(id: string, updates: { content?: string; append?: string; prepend?: string; path?: string; extension?: string; metadata?: Record<string, unknown>; created_at?: string; skipUpdatedAt?: boolean; actor?: string | null; via?: string | null; if_updated_at?: string }): Promise<Note>;
453
+ updateNote(id: string, updates: { content?: string; append?: string; prepend?: string; path?: string; extension?: string; metadata?: Record<string, unknown>; created_at?: string; skipUpdatedAt?: boolean; actor?: string | null; via?: string | null; if_updated_at?: string; tagsForSchemaResolution?: string[] }): Promise<Note>;
454
454
  /**
455
455
  * Set a note's `created_at` and `updated_at` explicitly. Import-only:
456
456
  * used by the portable-md round-trip path to restore timestamps from
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openparachute/vault",
3
- "version": "0.7.3-rc.2",
3
+ "version": "0.7.3-rc.4",
4
4
  "description": "Agent-native knowledge graph. Notes, tags, links over MCP.",
5
5
  "module": "src/cli.ts",
6
6
  "type": "module",
@@ -315,7 +315,7 @@ describe("contract: error taxonomy — #554 (flipped from todo)", () => {
315
315
  expect(record?.fields ?? null).toBeFalsy();
316
316
  });
317
317
 
318
- // Positive control — every one of the seven recognized types (indexable or
318
+ // Positive control — every one of the recognized types (indexable or
319
319
  // not) is accepted without complaint.
320
320
  it("REST PUT /api/tags/:name accepts every recognized field type", async () => {
321
321
  const req = new Request("http://localhost/api/tags/widget", {
@@ -329,6 +329,7 @@ describe("contract: error taxonomy — #554 (flipped from todo)", () => {
329
329
  e: { type: "array" },
330
330
  f: { type: "object" },
331
331
  g: { type: "reference" },
332
+ h: { type: "date" },
332
333
  },
333
334
  }),
334
335
  });