@estiva-app/interop 0.36.0 → 0.37.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 CHANGED
@@ -6,6 +6,75 @@ how a declaration is read, is a MAJOR — in `0.x`, a MINOR — even when no
6
6
  TypeScript signature moved. A consumer upgrading must be able to tell whether
7
7
  manifests already published still mean what they meant.
8
8
 
9
+ ## 0.37.1 — 2026-09-30
10
+
11
+ **Manifests: nothing new, and nothing read differently for a file itself**
12
+ (FOL-46, the two review findings 0.37.0 merged without). Needs protocol 0.24.0.
13
+
14
+ - **A parent's or a child's archive is read by the owning app's own `records`
15
+ rule** when that app draws its kind — an issue's project is Ship's, as the
16
+ issue is — and by SPEC's `kind:1851` shape otherwise. 0.37.0 read them by
17
+ SPEC's tags alone, so an app folding other tag names was archived on its own
18
+ page while its children were not archived with it, and `archiveImpact`
19
+ counted its already-archived children as live. The files' own archives were
20
+ already read by their app's rule.
21
+ - **`planArchiveFolder({ …, into? })`** publishes the change in the Folder that
22
+ lists this one, so that Folder's readers read it — a private sub-Folder is
23
+ then hidden from its team for every member of the team. Default: the Folder
24
+ itself, as in 0.37.0.
25
+
26
+ ## 0.37.0 — 2026-09-29
27
+
28
+ **Manifests: nothing new to declare, and one field is now read for every kind
29
+ — `archived`** (FOL-46). A manifest already published means what it meant: a
30
+ Ship project archived through its `hiddenWhen` is hidden exactly as before. What
31
+ moves is that an `archived = 'true'` change now hides *any* file — including one
32
+ whose app declares no `records` (a Folder) — and hides what is under it.
33
+ Needs protocol 0.24.0, unchanged.
34
+
35
+ - **Archive is one concept for every file.** New **`ARCHIVED_FIELD`**,
36
+ **`type Archive`** (`by`, `at`, `resolution?`, `with?`) and
37
+ **`isArchived(file)`**. `ForeignObject.archived` is set by
38
+ `resolveForeignObject(s)` on an archived file, so a link opens it and can say
39
+ so. Read by the file's own `records` rule when it declares one, else by
40
+ SPEC's `kind:1851` `a`/`field`/`value`. Only `'true'` archives, as
41
+ `hiddenWhen` already read it; an empty value restores.
42
+ - **The resolution is the archiving change's `content`.** New
43
+ **`ActionEventArgs.note`** writes a change's `content`, and is refused on a
44
+ comment, a deletion or a creation, which would drop it. Ship's pre-FOL-46
45
+ placeholder note `archived` (twelve on production) is not a resolution.
46
+ - **The cascade is computed when reading, never written.** A file whose parent
47
+ (`parentRef`, walked through everything the Folder lists) is archived is left
48
+ out of `resolveFolderContents` with it — an issue with its project, a
49
+ sub-topic with its topic. A parent in another Folder is read once, one level.
50
+ **New option `resolveForeignObject(…, cache, { archivedWith: true })`** (and
51
+ the same last argument on `resolveForeignObjects`, `type
52
+ ArchiveReadOptions`) marks a file archived **with** its parent
53
+ (`archived.with`), one level, in one more request for the whole set — off by
54
+ default so a refresh tick stays one request. **New option
55
+ `resolveFolderContents(…, cache, { includeArchived })`** returns them marked
56
+ instead of leaving them out. The archives ride in the Folder read's request
57
+ in groups of 25 addresses, so a busy Folder's other changes cannot push them
58
+ off the shared filter's 500.
59
+ - **A Folder is archived the way any file is.** `FolderSummary.channel` is its
60
+ `kind:39000` address and `FolderSummary.archived` its archive;
61
+ `FolderContents` carries both for the Folder read. `listFolders` reads every
62
+ Folder's archive **in the request it already makes for the record roots**
63
+ (one more request only when no state lists a record), and marks a record's
64
+ channel archived with its record when every record naming it is.
65
+ **`topLevelFolders` leaves an archived Folder out**, and
66
+ `resolveFolderContents` leaves out a nested one. New
67
+ **`planArchiveFolder(pubkey, ms, { folder, channel, archived, resolution? })`**
68
+ writes the same change `buildActionEvent` writes for any other file.
69
+ - **The bare file declares `archive`** (`emits: { kind: 1851, field:
70
+ 'archived' }`, vocabulary `archived`: `''` Active, `'true'` Archived — Ship's
71
+ `ARCHIVED_STATES`), so a consumer draws Archive on a topic from the
72
+ declaration, as it draws Rename.
73
+ - **New `archiveImpact(address, query, { folders?, cache? })`** — the counts
74
+ behind the warning: `hides` by kind (children, and for a Folder what only it
75
+ lists with their children, not counting what is archived already) and
76
+ `staysVisible` (files another live Folder also lists).
77
+
9
78
  ## 0.36.0 — 2026-09-29
10
79
 
11
80
  **Manifests: three new declarations, and every manifest already published
package/README.md CHANGED
@@ -543,8 +543,8 @@ explaining a short list should read this field.
543
543
  ```ts
544
544
  import { listFolders, topLevelFolders } from '@estiva-app/interop'
545
545
 
546
- const folders = await listFolders(query) // { id, name, hasState, listedIn?, addresses? }[]
547
- const teams = topLevelFolders(folders) // state, and nothing lists it
546
+ const folders = await listFolders(query) // { id, name, hasState, listedIn?, addresses?, channel?, archived? }[]
547
+ const teams = topLevelFolders(folders) // state, nothing lists it, not archived
548
548
  ```
549
549
 
550
550
  Asks for folders by kind rather than walking anything else. Discovering things
@@ -593,6 +593,34 @@ next state from its current one and a folder with no `kind:30890` has none: a
593
593
  everything filed in it by `h` stops being listed. So rename, place and unlist
594
594
  send no command to such a folder, and a move into or out of one is refused.
595
595
 
596
+ ### Archiving anything (0.37.0)
597
+
598
+ ```ts
599
+ import { archiveImpact, isArchived, planArchiveFolder } from '@estiva-app/interop'
600
+
601
+ const impact = await archiveImpact(file.address, query) // { hides: [{ kind, count }], staysVisible }
602
+ // …say what it hides, take a resolution, then publish the declared `archive`
603
+ // action with `value: 'true'` and `note: resolution` — or, for a Folder:
604
+ const [change] = planArchiveFolder(me, Date.now(), { folder: f.id, channel: f.channel!, archived: true, resolution })
605
+
606
+ const opened = await resolveForeignObject(link, query, people, 0, cache, { archivedWith: true })
607
+ if (isArchived(opened)) showBanner(opened.archived) // { by, at, resolution?, with? }
608
+ ```
609
+
610
+ One field for every file, whatever its kind: a change setting `archived` to
611
+ `'true'` on the file's address archives it and an empty value restores it. It
612
+ is a change, so anyone who may write in the Folder may, and the change's
613
+ `content` is the resolution a person gave.
614
+
615
+ **The cascade is read, never written.** A Folder's contents leave out an
616
+ archived file and everything under it — an issue with its project, a sub-topic
617
+ with its topic — and `topLevelFolders` leaves out an archived Folder, so its
618
+ subtree goes too. Nothing is written to the children, so unarchiving restores
619
+ exactly what was there, and a file another Folder also lists stays visible in
620
+ that one. A link still opens an archived file, with `archived` set — `with`
621
+ naming the parent when it is archived only with it — so the page can draw the
622
+ resolution first and an Unarchive control.
623
+
596
624
  ---
597
625
 
598
626
  ## What is not in here, deliberately
package/dist/folders.d.ts CHANGED
@@ -122,6 +122,35 @@ export type MovePlan = {
122
122
  *
123
123
  * A move to the same Folder plans nothing.
124
124
  */
125
+ /**
126
+ * Archive a Folder, or restore it: `[kind:1851 archived]` — FOL-46.
127
+ *
128
+ * **Not a Folder command.** A Folder is archived the way any file is: a change
129
+ * setting `archived` on its address — its channel's, `FolderSummary.channel` —
130
+ * to `'true'`, or to an empty value to restore it. Its state, its contents and
131
+ * its channel are untouched, which is what makes it reversible: a `kind:9008`
132
+ * hides everything under the Folder's `h` for good (FOL-9), and a `kind:1852`
133
+ * would unlist the Folder from somewhere a person would have to remember.
134
+ *
135
+ * **Where it is published decides who reads it**, because a change is read by
136
+ * the members of the channel it is in. `into` is the Folder that lists this
137
+ * one (`FolderSummary.listedIn`), when there is one: everyone reading that
138
+ * Folder then reads the archive, and a private sub-Folder is hidden from its
139
+ * team for the team's members too, not only for its own. A top-level Folder has
140
+ * no container, so it defaults to the Folder itself — anyone who may write
141
+ * there, a member and not only an admin, may archive it.
142
+ *
143
+ * `resolution` is what the person archiving said about it, carried as the
144
+ * change's `content`; readers show it first when the archived Folder is
145
+ * opened. Restoring takes none.
146
+ */
147
+ export declare function planArchiveFolder(pubkey: string, createdAtMs: number, args: {
148
+ folder: string;
149
+ channel: string;
150
+ archived: boolean;
151
+ resolution?: string;
152
+ into?: string;
153
+ }): UnsignedEvent[];
125
154
  export declare function planMoveFile(pubkey: string, createdAtMs: number, args: {
126
155
  address: string;
127
156
  from: FolderRef;
@@ -1 +1 @@
1
- {"version":3,"file":"folders.d.ts","sourceRoot":"","sources":["../src/folders.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,OAAO,EAIL,KAAK,iBAAiB,EACtB,K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  * A move to the same Folder plans nothing.
112
112
  */
113
+ /**
114
+ * Archive a Folder, or restore it: `[kind:1851 archived]` — FOL-46.
115
+ *
116
+ * **Not a Folder command.** A Folder is archived the way any file is: a change
117
+ * setting `archived` on its address — its channel's, `FolderSummary.channel` —
118
+ * to `'true'`, or to an empty value to restore it. Its state, its contents and
119
+ * its channel are untouched, which is what makes it reversible: a `kind:9008`
120
+ * hides everything under the Folder's `h` for good (FOL-9), and a `kind:1852`
121
+ * would unlist the Folder from somewhere a person would have to remember.
122
+ *
123
+ * **Where it is published decides who reads it**, because a change is read by
124
+ * the members of the channel it is in. `into` is the Folder that lists this
125
+ * one (`FolderSummary.listedIn`), when there is one: everyone reading that
126
+ * Folder then reads the archive, and a private sub-Folder is hidden from its
127
+ * team for the team's members too, not only for its own. A top-level Folder has
128
+ * no container, so it defaults to the Folder itself — anyone who may write
129
+ * there, a member and not only an admin, may archive it.
130
+ *
131
+ * `resolution` is what the person archiving said about it, carried as the
132
+ * change's `content`; readers show it first when the archived Folder is
133
+ * opened. Restoring takes none.
134
+ */
135
+ export function planArchiveFolder(pubkey, createdAtMs, args) {
136
+ return [
137
+ {
138
+ pubkey,
139
+ created_at: Math.floor(createdAtMs / 1000),
140
+ kind: 1851,
141
+ // `buildActionEvent`'s order for a change, so the two writers of the one
142
+ // shape produce the same tags.
143
+ tags: [
144
+ ['a', args.channel],
145
+ ['field', 'archived'],
146
+ ['value', args.archived ? 'true' : ''],
147
+ ['h', args.into ?? args.folder],
148
+ ['ts', String(createdAtMs)],
149
+ ],
150
+ content: args.archived ? (args.resolution ?? '') : '',
151
+ },
152
+ ];
153
+ }
113
154
  export function planMoveFile(pubkey, createdAtMs, args) {
114
155
  if (args.from.id === args.to.id)
115
156
  return { ok: true, events: [] };
@@ -1 +1 @@
1
- {"version":3,"file":"folders.js","sourceRoot":"","sources":["../src/folders.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,OAAO,EACL,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AE,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC;SAC3G;KACF,CAAA;AACH,CAAC"}
package/dist/index.d.ts CHANGED
@@ -24,7 +24,7 @@
24
24
  * of every app that installed it, which is the objection that rules out
25
25
  * iframes.
26
26
  */
27
- export { resolveManifest, resolveForeignObject, resolveForeignObjects, resolveForeignEvent, resolveFolderProject, resolveFolderContents, listFolders, topLevelFolders, KIND_FOLDER_STATE, KIND_CHANNEL_METADATA, KIND_BARE_FILE, BARE_FILE_MANIFEST_ADDRESS, ASPECTS, type Aspect, commentKindsOf, conversationCountsOf, conversationsOf, type ConversationMessage, threadsOf, type Threads, CONVERSATION_LIMIT, commentDecorationsOf, editTargetOf, REACTION_HORIZON, type CommentDecoration, type CommentDecorations, type CommentReaction, type CommentResolution, buildActionEvent, buildActionEvents, type ActionEventArgs, pickWidget, widgetChainProblem, actionProblems, folderOf, MIN_ACTION_DESCRIPTION, CLOSED_WIDGETS, contentFormatOf, BODY_SLOT, CONTENT_FORMAT_TAG, BLOCK_DOCUMENT_FORMAT, type ContentFormat, peopleViaRelay, createProjectionCache, createPeopleCache, MANIFEST_TTL_MS, PROFILE_HIT_TTL_MS, PROFILE_MISS_TTL_MS, type PeopleCache, type PeopleCacheOptions, type ProjectionCache, type ResolvedManifest, type QueryFn, type PeopleFn, type People, type ForeignObject, type FolderProject, type FolderContents, type FolderSummary, type ResolvedSlot, type ResolvedAction, type ActionFormField, type ProseFormat, type ManifestAction, type ActionEffect, ACTION_EFFECTS, type UnsignedActionEvent, } from './projection.js';
27
+ export { resolveManifest, resolveForeignObject, resolveForeignObjects, resolveForeignEvent, resolveFolderProject, resolveFolderContents, listFolders, topLevelFolders, ARCHIVED_FIELD, isArchived, archiveImpact, type Archive, type ArchiveImpact, type ArchiveReadOptions, KIND_FOLDER_STATE, KIND_CHANNEL_METADATA, KIND_BARE_FILE, BARE_FILE_MANIFEST_ADDRESS, ASPECTS, type Aspect, commentKindsOf, conversationCountsOf, conversationsOf, type ConversationMessage, threadsOf, type Threads, CONVERSATION_LIMIT, commentDecorationsOf, editTargetOf, REACTION_HORIZON, type CommentDecoration, type CommentDecorations, type CommentReaction, type CommentResolution, buildActionEvent, buildActionEvents, type ActionEventArgs, pickWidget, widgetChainProblem, actionProblems, folderOf, MIN_ACTION_DESCRIPTION, CLOSED_WIDGETS, contentFormatOf, BODY_SLOT, CONTENT_FORMAT_TAG, BLOCK_DOCUMENT_FORMAT, type ContentFormat, peopleViaRelay, createProjectionCache, createPeopleCache, MANIFEST_TTL_MS, PROFILE_HIT_TTL_MS, PROFILE_MISS_TTL_MS, type PeopleCache, type PeopleCacheOptions, type ProjectionCache, type ResolvedManifest, type QueryFn, type PeopleFn, type People, type ForeignObject, type FolderProject, type FolderContents, type FolderSummary, type ResolvedSlot, type ResolvedAction, type ActionFormField, type ProseFormat, type ManifestAction, type ActionEffect, ACTION_EFFECTS, type UnsignedActionEvent, } from './projection.js';
28
28
  /**
29
29
  * SPEC §6.7's nesting, drawn from one team listing: roots, children,
30
30
  * breadcrumbs and move targets, with cycles cut. No requests.
@@ -35,7 +35,7 @@ export { nestingOf, type Nestable, type Nesting } from './nesting.js';
35
35
  * unlist, move. Each takes `hasState` from the caller, because a `kind:1852`
36
36
  * against a Folder with no state empties it. No signing, no requests.
37
37
  */
38
- export { planCreateFolder, planRenameFolder, planPlaceFile, planUnlistFile, planMoveFile, type FolderRef, type MovePlan, type MoveRefusal, } from './folders.js';
38
+ export { planCreateFolder, planRenameFolder, planPlaceFile, planUnlistFile, planMoveFile, planArchiveFolder, type FolderRef, type MovePlan, type MoveRefusal, } from './folders.js';
39
39
  /**
40
40
  * RFC 0.5 §7's URL grammar — how an object is named in an address bar, and how
41
41
  * a pasted link is matched back to one.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[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L,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,cAAc,EACd,YAAY,EACZ,KAAK,SAAS,EACd,KAAK,QAAQ,EACb,KAAK,WAAW,GACjB,MAAM,cAAc,CAAA;AAErB;;;;;;;GAOG;AACH,OAAO,EACL,OAAO,EACP,SAAS,EACT,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,cAAc,EACd,KAAK,UAAU,EACf,KAAK,gBAAgB,GACtB,MAAM,gBAAgB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,qBAAqB,EACrB,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,EACrB,WAAW,EACX,eAAe,EACf,cAAc,EACd,UAAU,EACV,aAAa,EACb,KAAK,OAAO,EACZ,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,iBAAiB,EACjB,qBAAqB,EACrB,cAAc,EACd,0BAA0B,EAC1B,OAAO,EACP,KAAK,MAAM,EACX,cAAc,EACd,oBAAoB,EACpB,eAAe,EACf,KAAK,mBAAmB,EACxB,SAAS,EACT,KAAK,OAAO,EACZ,kBAAkB,EAClB,oBAAoB,EACpB,YAAY,EACZ,gBAAgB,EAChB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,gBAAgB,EAChB,iBAAiB,EACjB,KAAK,eAAe,EACpB,UAAU,EACV,kBAAkB,EAClB,cAAc,EACd,QAAQ,EACR,sBAAsB,EACtB,cAAc,EACd,eAAe,EACf,SAAS,EACT,kBAAkB,EAClB,qBAAqB,EACrB,KAAK,aAAa,EAClB,cAAc,EACd,qBAAqB,EACrB,iBAAiB,EACjB,eAAe,EACf,kBAAkB,EAClB,mBAAmB,EACnB,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,OAAO,EACZ,KAAK,QAAQ,EACb,KAAK,MAAM,EACX,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,cAAc,EACd,KAAK,mBAAmB,GACzB,MAAM,iBAAiB,CAAA;AAExB;;;GAGG;AACH,OAAO,EAAE,SAAS,EAAE,KAAK,QAAQ,EAAE,KAAK,OAAO,EAAE,MAAM,cAAc,CAAA;AAErE;;;;GAIG;AACH,OAAO,EACL,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,KAAK,SAAS,EACd,KAAK,QAAQ,EACb,KAAK,WAAW,GACjB,MAAM,cAAc,CAAA;AAErB;;;;;;;GAOG;AACH,OAAO,EACL,OAAO,EACP,SAAS,EACT,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,cAAc,EACd,KAAK,UAAU,EACf,KAAK,gBAAgB,GACtB,MAAM,gBAAgB,CAAA"}
package/dist/index.js CHANGED
@@ -24,7 +24,7 @@
24
24
  * of every app that installed it, which is the objection that rules out
25
25
  * iframes.
26
26
  */
27
- export { resolveManifest, resolveForeignObject, resolveForeignObjects, resolveForeignEvent, resolveFolderProject, resolveFolderContents, listFolders, topLevelFolders, KIND_FOLDER_STATE, KIND_CHANNEL_METADATA, KIND_BARE_FILE, BARE_FILE_MANIFEST_ADDRESS, ASPECTS, commentKindsOf, conversationCountsOf, conversationsOf, threadsOf, CONVERSATION_LIMIT, commentDecorationsOf, editTargetOf, REACTION_HORIZON, buildActionEvent, buildActionEvents, pickWidget, widgetChainProblem, actionProblems, folderOf, MIN_ACTION_DESCRIPTION, CLOSED_WIDGETS, contentFormatOf, BODY_SLOT, CONTENT_FORMAT_TAG, BLOCK_DOCUMENT_FORMAT, peopleViaRelay, createProjectionCache, createPeopleCache, MANIFEST_TTL_MS, PROFILE_HIT_TTL_MS, PROFILE_MISS_TTL_MS, ACTION_EFFECTS, } from './projection.js';
27
+ export { resolveManifest, resolveForeignObject, resolveForeignObjects, resolveForeignEvent, resolveFolderProject, resolveFolderContents, listFolders, topLevelFolders, ARCHIVED_FIELD, isArchived, archiveImpact, KIND_FOLDER_STATE, KIND_CHANNEL_METADATA, KIND_BARE_FILE, BARE_FILE_MANIFEST_ADDRESS, ASPECTS, commentKindsOf, conversationCountsOf, conversationsOf, threadsOf, CONVERSATION_LIMIT, commentDecorationsOf, editTargetOf, REACTION_HORIZON, buildActionEvent, buildActionEvents, pickWidget, widgetChainProblem, actionProblems, folderOf, MIN_ACTION_DESCRIPTION, CLOSED_WIDGETS, contentFormatOf, BODY_SLOT, CONTENT_FORMAT_TAG, BLOCK_DOCUMENT_FORMAT, peopleViaRelay, createProjectionCache, createPeopleCache, MANIFEST_TTL_MS, PROFILE_HIT_TTL_MS, PROFILE_MISS_TTL_MS, ACTION_EFFECTS, } from './projection.js';
28
28
  /**
29
29
  * SPEC §6.7's nesting, drawn from one team listing: roots, children,
30
30
  * breadcrumbs and move targets, with cycles cut. No requests.
@@ -35,7 +35,7 @@ export { nestingOf } from './nesting.js';
35
35
  * unlist, move. Each takes `hasState` from the caller, because a `kind:1852`
36
36
  * against a Folder with no state empties it. No signing, no requests.
37
37
  */
38
- export { planCreateFolder, planRenameFolder, planPlaceFile, planUnlistFile, planMoveFile, } from './folders.js';
38
+ export { planCreateFolder, planRenameFolder, planPlaceFile, planUnlistFile, planMoveFile, planArchiveFolder, } from './folders.js';
39
39
  /**
40
40
  * RFC 0.5 §7's URL grammar — how an object is named in an address bar, and how
41
41
  * a pasted link is matched back to one.
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,qBAAqB,EACrB,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,EACrB,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,qBAAqB,EACrB,cAAc,EACd,0BAA0B,EAC1B,OAAO,EAEP,cAAc,EACd,oBAAoB,EACpB,eAAe,EAEf,SAAS,EAET,kBAAkB,EAClB,oBAAoB,EACpB,YAAY,EACZ,gBAAgB,EAKhB,gBAAgB,EAChB,iBAAiB,EAEjB,UAAU,EACV,kBAAkB,EAClB,cAAc,EACd,QAAQ,EACR,sBAAsB,EACtB,cAAc,EACd,eAAe,EACf,SAAS,EACT,kBAAkB,EAClB,qBAAqB,EAErB,cAAc,EACd,qBAAqB,EACrB,iBAAiB,EACjB,eAAe,EACf,kBAAkB,EAClB,mBAAmB,EAkBnB,cAAc,GAEf,MAAM,iBAAiB,CAAA;AAExB;;;GAGG;AACH,OAAO,EAAE,SAAS,EAA+B,MAAM,cAAc,CAAA;AAErE;;;;GAIG;AACH,OAAO,EACL,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,cAAc,EACd,YAAY,GAIb,MAAM,cAAc,CAAA;AAErB;;;;;;;GAOG;AACH,OAAO,EACL,OAAO,EACP,SAAS,EACT,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,cAAc,GAGf,MAAM,gBAAgB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,qBAAqB,EACrB,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,EACrB,WAAW,EACX,eAAe,EACf,cAAc,EACd,UAAU,EACV,aAAa,EAIb,iBAAiB,EACjB,qBAAqB,EACrB,cAAc,EACd,0BAA0B,EAC1B,OAAO,EAEP,cAAc,EACd,oBAAoB,EACpB,eAAe,EAEf,SAAS,EAET,kBAAkB,EAClB,oBAAoB,EACpB,YAAY,EACZ,gBAAgB,EAKhB,gBAAgB,EAChB,iBAAiB,EAEjB,UAAU,EACV,kBAAkB,EAClB,cAAc,EACd,QAAQ,EACR,sBAAsB,EACtB,cAAc,EACd,eAAe,EACf,SAAS,EACT,kBAAkB,EAClB,qBAAqB,EAErB,cAAc,EACd,qBAAqB,EACrB,iBAAiB,EACjB,eAAe,EACf,kBAAkB,EAClB,mBAAmB,EAkBnB,cAAc,GAEf,MAAM,iBAAiB,CAAA;AAExB;;;GAGG;AACH,OAAO,EAAE,SAAS,EAA+B,MAAM,cAAc,CAAA;AAErE;;;;GAIG;AACH,OAAO,EACL,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,cAAc,EACd,YAAY,EACZ,iBAAiB,GAIlB,MAAM,cAAc,CAAA;AAErB;;;;;;;GAOG;AACH,OAAO,EACL,OAAO,EACP,SAAS,EACT,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,cAAc,GAGf,MAAM,gBAAgB,CAAA"}
@@ -841,6 +841,18 @@ export interface ResolvedManifest {
841
841
  * served by the plain noun.
842
842
  */
843
843
  export declare const KIND_BARE_FILE = 30840;
844
+ /**
845
+ * The field that archives a file, whatever its kind — FOL-46.
846
+ *
847
+ * **One concept for every file.** A Ship project, a Ship issue, a Peek topic, a
848
+ * bare file and a Folder are all archived the same way: a change setting
849
+ * `archived` to `'true'` on the file's address, and an empty value to restore
850
+ * it. That is the shape Ship has written for projects since SPEC §6.5, so
851
+ * nothing on the relay needs migrating. It is a change, never a deletion, so it
852
+ * is reversible, attributed, and open to anyone who may write in the Folder —
853
+ * not only the author.
854
+ */
855
+ export declare const ARCHIVED_FIELD = "archived";
844
856
  /**
845
857
  * Where a `ResolvedManifest.address` would name the manifest event, this names
846
858
  * the section of the specification the manifest is built from. Not an address,
@@ -948,6 +960,39 @@ import { type ContentFormat } from '@estiva-app/protocol';
948
960
  * and a consumer reads `slots.body` to find it.
949
961
  */
950
962
  export declare const BODY_SLOT = "body";
963
+ /** A file that is archived: who did it, when, and what they said about it. */
964
+ export interface Archive {
965
+ /** Who wrote the archiving change. */
966
+ by: string;
967
+ /** Its `created_at`, in seconds. */
968
+ at: number;
969
+ /**
970
+ * The resolution summary, when the person archiving gave one — the archiving
971
+ * change's `content`. One event, so the summary can never land without the
972
+ * archive or outlive the unarchive that replaces it.
973
+ */
974
+ resolution?: string;
975
+ /**
976
+ * Present when the file is not archived itself but is hidden **with** an
977
+ * archived ancestor: that ancestor's address — the project an issue belongs
978
+ * to, the file a sub-topic sits under, the record a channel belongs to.
979
+ *
980
+ * Computed when reading and never written to the file (FOL-46): unarchiving
981
+ * the ancestor restores exactly what was there before, and archiving a
982
+ * project with two hundred issues is one event rather than two hundred.
983
+ */
984
+ with?: string;
985
+ }
986
+ /**
987
+ * Whether a file — or a Folder — is archived, itself or with an ancestor.
988
+ *
989
+ * Reads the {@link Archive} a resolver put on it. A resolver leaves archived
990
+ * files out of a Folder's contents, so this matters where a file is reached
991
+ * directly: a link, a mention, a page opened by address.
992
+ */
993
+ export declare function isArchived(file: {
994
+ archived?: Archive;
995
+ } | null | undefined): boolean;
951
996
  /**
952
997
  * Which layout to draw, from a declared type or an ordered chain of them.
953
998
  *
@@ -1250,6 +1295,15 @@ export interface ForeignObject {
1250
1295
  * rendering nothing.
1251
1296
  */
1252
1297
  unreachable?: boolean;
1298
+ /**
1299
+ * Present when the file is archived, itself or with an ancestor (FOL-46).
1300
+ *
1301
+ * A Folder's contents leave archived files out, so this is set where a file
1302
+ * is reached by address: its page draws an Archived banner with the
1303
+ * resolution and an Unarchive control rather than drawing it as live work.
1304
+ * See {@link Archive} and {@link isArchived}.
1305
+ */
1306
+ archived?: Archive;
1253
1307
  }
1254
1308
  /**
1255
1309
  * Resolve a `nostr:naddr…` into a renderable widget.
@@ -1302,7 +1356,7 @@ depth?: number,
1302
1356
  * Optional memo for the NIP-89 discovery half. See {@link ProjectionCache} —
1303
1357
  * omitting it is exactly the old behaviour.
1304
1358
  */
1305
- cache?: ProjectionCache): Promise<ForeignObject | null>;
1359
+ cache?: ProjectionCache, options?: ArchiveReadOptions): Promise<ForeignObject | null>;
1306
1360
  /**
1307
1361
  * Many addressed objects in one round trip — PER-10.
1308
1362
  *
@@ -1343,7 +1397,18 @@ export declare function resolveForeignObjects(references: readonly string[], que
1343
1397
  /** Defaults to asking the relay. The browser passes a cached lookup. */
1344
1398
  lookupPeople?: PeopleFn,
1345
1399
  /** See {@link ProjectionCache}. Omitting it still reads each app's manifest once per call. */
1346
- cache?: ProjectionCache): Promise<Record<string, ForeignObject | null>>;
1400
+ cache?: ProjectionCache, options?: ArchiveReadOptions): Promise<Record<string, ForeignObject | null>>;
1401
+ /** What {@link resolveForeignObject} and {@link resolveForeignObjects} may read beyond the file itself. */
1402
+ export interface ArchiveReadOptions {
1403
+ /**
1404
+ * Also read whether each file's parent is archived, and mark the file
1405
+ * archived **with** it (`archived.with`) — FOL-46. For the page a link opens,
1406
+ * which draws the banner; off by default because it is one more request
1407
+ * whenever a file has a parent, and a refresh tick that resolves an issue
1408
+ * card would pay it every time (SHI-13's one request per tick).
1409
+ */
1410
+ archivedWith?: boolean;
1411
+ }
1347
1412
  /**
1348
1413
  * A Folder's project and the tickets in motion in it.
1349
1414
  *
@@ -1448,6 +1513,12 @@ export interface ActionEventArgs {
1448
1513
  * marker text, which is always correct.
1449
1514
  */
1450
1515
  contentFormat?: string;
1516
+ /**
1517
+ * What the person said about a change, carried as its `content` — the
1518
+ * resolution summary of an archive (FOL-46), or any change's note. A change
1519
+ * only: a comment's text is its `value`, and a creation has its own body.
1520
+ */
1521
+ note?: string;
1451
1522
  pubkey: string;
1452
1523
  createdAtMs: number;
1453
1524
  }
@@ -1542,6 +1613,25 @@ export interface FolderSummary {
1542
1613
  * another app's files resolves them with {@link resolveFolderContents}.
1543
1614
  */
1544
1615
  addresses?: string[];
1616
+ /**
1617
+ * The Folder's own address as a file — its `kind:39000`, `39000:<relay>:<id>`.
1618
+ * What a state lists when it holds this Folder, and what an `archived`
1619
+ * change on the Folder names. Absent only for a state whose channel the
1620
+ * relay did not return.
1621
+ */
1622
+ channel?: string;
1623
+ /**
1624
+ * Present when the Folder is archived (FOL-46) — or, for a record's channel,
1625
+ * when the record it belongs to is (`with` names the record). See
1626
+ * {@link Archive}.
1627
+ *
1628
+ * {@link topLevelFolders} leaves an archived Folder out, and
1629
+ * {@link resolveFolderContents} leaves one out of the Folder that lists it,
1630
+ * so its subtree goes with it. What it holds stays readable: a link still
1631
+ * opens it, and a file it lists that another Folder also lists stays visible
1632
+ * there.
1633
+ */
1634
+ archived?: Archive;
1545
1635
  }
1546
1636
  /**
1547
1637
  * The folders a person navigates by: the ones with state that no other folder
@@ -1557,8 +1647,11 @@ export interface FolderSummary {
1557
1647
  *
1558
1648
  * Not a list of ids: a new team is a folder somebody creates, not a code
1559
1649
  * change. Moved here from Peek and Ship, which each held the same line.
1650
+ *
1651
+ * An archived Folder is not navigated by (FOL-46), and a listing that has not
1652
+ * read archives — a summary with no `archived` field — keeps every Folder.
1560
1653
  */
1561
- export declare function topLevelFolders<T extends Pick<FolderSummary, 'hasState' | 'listedIn'>>(folders: T[]): T[];
1654
+ export declare function topLevelFolders<T extends Pick<FolderSummary, 'hasState' | 'listedIn' | 'archived'>>(folders: T[]): T[];
1562
1655
  /** A folder and everything in it, each file drawn through its owner's manifest. */
1563
1656
  export interface FolderContents extends FolderSummary {
1564
1657
  /** The folder state's address, absent until a state event exists. */
@@ -1600,6 +1693,56 @@ export interface FolderContents extends FolderSummary {
1600
1693
  * This asks for folders by kind.
1601
1694
  */
1602
1695
  export declare function listFolders(query: QueryFn): Promise<FolderSummary[]>;
1696
+ /** What archiving one file would hide, for the warning a person reads first — FOL-46. */
1697
+ export interface ArchiveImpact {
1698
+ /**
1699
+ * The files that would go out of every list with it, counted by kind: its
1700
+ * children, and — for a Folder — every file only that Folder lists, with
1701
+ * their children. Files already archived are not counted; they are hidden
1702
+ * already. Kinds with no files are absent.
1703
+ */
1704
+ hides: {
1705
+ kind: number;
1706
+ count: number;
1707
+ }[];
1708
+ /**
1709
+ * Files a Folder lists that another Folder, not archived, lists too. They
1710
+ * stay visible there, and a warning that said they would be hidden would
1711
+ * make Archive look more destructive than it is. Empty for a file that is
1712
+ * not a Folder.
1713
+ */
1714
+ staysVisible: {
1715
+ address: string;
1716
+ kind: number;
1717
+ in: {
1718
+ id: string;
1719
+ name?: string;
1720
+ }[];
1721
+ }[];
1722
+ }
1723
+ /**
1724
+ * Count what archiving `address` would hide — the read behind the warning.
1725
+ *
1726
+ * "Hides 14 issues and 6 topics that are only here; 2 topics also in Estiva HQ
1727
+ * stay visible." The words are the app's; the counts are the same in every
1728
+ * app, which is why they are read here.
1729
+ *
1730
+ * - **A Folder** (a `kind:39000` address, `FolderSummary.channel`): what it
1731
+ * lists, split by whether another Folder lists it too, the children of what
1732
+ * would be hidden, and — three Folders deep — what a nested Folder only it
1733
+ * lists holds. Pass `folders` from the app's own `listFolders` to save that
1734
+ * read.
1735
+ * - **Any other file**: the children its kind declares (a project's issues), and
1736
+ * bare files placed under it (sub-topics), by their root's `a` tag.
1737
+ *
1738
+ * One level of children, as a listing draws them. A few requests, whatever the
1739
+ * size: the Folder, one per app's manifest (memoised by `cache`), the children,
1740
+ * and their archives.
1741
+ */
1742
+ export declare function archiveImpact(address: string, query: QueryFn, options?: {
1743
+ folders?: FolderSummary[];
1744
+ cache?: ProjectionCache;
1745
+ }): Promise<ArchiveImpact>;
1603
1746
  /**
1604
1747
  * Everything in one folder, resolved through the manifests of the apps that own it.
1605
1748
  *
@@ -1647,5 +1790,12 @@ export declare function resolveFolderContents(folder: string, query: QueryFn,
1647
1790
  /** Defaults to asking the relay. The browser passes a cached lookup. */
1648
1791
  lookupPeople?: PeopleFn,
1649
1792
  /** See {@link ProjectionCache}. Omitting it is exactly the old behaviour. */
1650
- cache?: ProjectionCache): Promise<FolderContents>;
1793
+ cache?: ProjectionCache, options?: {
1794
+ /**
1795
+ * Return archived files — and files hidden with an archived parent — each
1796
+ * carrying its {@link Archive}, instead of leaving them out. For a view
1797
+ * that lists what was archived; every other list wants the default.
1798
+ */
1799
+ includeArchived?: boolean;
1800
+ }): Promise<FolderContents>;
1651
1801
  //# sourceMappingURL=projection.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"projection.d.ts","sourceRoot":"","sources":["../src/projection.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,EAA0G,KAAK,cAAc,EAAqB,MAAM,sBAAsB,CAAA;AACrL,OAAO,EAAyB,KAAK,KAAK,EAAE,KAAK,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAExG,OAAO,EAEL,qBAAqB,EAItB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAiC,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAE5E,+EAA+E;AAC/E,MAAM,MAAM,OAAO,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,KAAK,OAAO,CAAC,WAAW,EAAE,CAAC,CAAA;AAEpF,oDAAoD;AACpD,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,EAAE,EAAE,CAAA;IAChB,OAAO,EAAE,MAAM,CAAA;CAChB;AAED;;;;;;;;;;GAUG;AACH,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAE5C;;;;;;GAMG;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,MAAM,CAAC,CAAA;AAE7D,4DAA4D;AAC5D;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,QAAc,CAAA;AAE7C;;;;;;;;GAQG;AACH,eA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