@openparachute/vault 0.7.3-rc.12 → 0.7.3-rc.2

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.
Files changed (48) hide show
  1. package/README.md +3 -5
  2. package/core/src/conformance.ts +1 -2
  3. package/core/src/content-range.test.ts +0 -127
  4. package/core/src/content-range.ts +0 -100
  5. package/core/src/contract-typed-index.test.ts +3 -4
  6. package/core/src/core.test.ts +4 -521
  7. package/core/src/expand.ts +3 -11
  8. package/core/src/indexed-fields.test.ts +3 -9
  9. package/core/src/indexed-fields.ts +1 -9
  10. package/core/src/mcp.ts +10 -601
  11. package/core/src/notes.ts +4 -201
  12. package/core/src/schema-defaults.ts +1 -85
  13. package/core/src/search-fts-v25.test.ts +1 -9
  14. package/core/src/search-query.test.ts +0 -42
  15. package/core/src/search-query.ts +0 -27
  16. package/core/src/seed-packs.test.ts +1 -117
  17. package/core/src/seed-packs.ts +1 -217
  18. package/core/src/store.ts +3 -59
  19. package/core/src/tag-schemas.ts +12 -27
  20. package/core/src/types.ts +1 -7
  21. package/core/src/vault-projection.ts +0 -55
  22. package/package.json +1 -1
  23. package/src/add-pack.test.ts +0 -32
  24. package/src/cli.ts +1 -5
  25. package/src/contract-errors.test.ts +1 -2
  26. package/src/mcp-http.ts +4 -33
  27. package/src/mcp-tools.ts +14 -61
  28. package/src/onboarding-seed.test.ts +0 -64
  29. package/src/routes.ts +95 -92
  30. package/src/routing.ts +0 -17
  31. package/src/server.ts +0 -7
  32. package/src/storage.test.ts +1 -200
  33. package/src/transcription-worker.test.ts +0 -151
  34. package/src/transcription-worker.ts +52 -113
  35. package/src/vault.test.ts +11 -48
  36. package/core/src/attachment/bytes-provider.ts +0 -65
  37. package/core/src/attachment/policy.test.ts +0 -66
  38. package/core/src/attachment/policy.ts +0 -131
  39. package/core/src/attachment/tickets.test.ts +0 -45
  40. package/core/src/attachment/tickets.ts +0 -117
  41. package/core/src/attachment-tickets-tool.test.ts +0 -286
  42. package/core/src/display-title.test.ts +0 -190
  43. package/core/src/lede.test.ts +0 -96
  44. package/core/src/search-title-boost.test.ts +0 -125
  45. package/src/attachment-bytes.ts +0 -68
  46. package/src/attachment-tickets.test.ts +0 -475
  47. package/src/attachment-tickets.ts +0 -340
  48. package/src/read-attachment.test.ts +0 -436
@@ -27,21 +27,13 @@ export type SqliteType = "TEXT" | "INTEGER";
27
27
  // `string` — because the metadata VALUE (an id/path/title) is what's
28
28
  // indexed here; the resolved graph link is a separate concern maintained by
29
29
  // `core/src/store.ts`'s write path. See tag-schemas.ts's `VALID_FIELD_TYPES`.
30
- // `date` is also stored as TEXT: an indexed `date` field holds an ISO-8601
31
- // string (validated by `tag-schemas.ts`'s `defaultMatchesType` /
32
- // `schema-defaults.ts`'s `valueMatchesType`), and ISO-8601 strings are
33
- // lexicographically comparable — the same reason TEXT-stored `updated_at`
34
- // range queries already work — so `gt`/`gte`/`lt`/`lte`, `date_filter`, and
35
- // `order_by` all fall out of the generic TEXT-column machinery with no
36
- // type-specific SQL.
37
- export type FieldType = "string" | "integer" | "boolean" | "reference" | "date";
30
+ export type FieldType = "string" | "integer" | "boolean" | "reference";
38
31
 
39
32
  export const TYPE_MAP: Record<FieldType, SqliteType> = {
40
33
  string: "TEXT",
41
34
  integer: "INTEGER",
42
35
  boolean: "INTEGER",
43
36
  reference: "TEXT",
44
- date: "TEXT",
45
37
  };
46
38
 
47
39
  export interface IndexedField {