@graview/core 0.2.16 → 0.2.18

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 (173) hide show
  1. package/README.md +9 -0
  2. package/dist/app-places.d.ts.map +1 -1
  3. package/dist/app-places.js +3 -1
  4. package/dist/app-places.js.map +1 -1
  5. package/dist/app.d.ts +13 -0
  6. package/dist/app.d.ts.map +1 -1
  7. package/dist/app.js +3 -1
  8. package/dist/app.js.map +1 -1
  9. package/dist/beginning.d.ts.map +1 -1
  10. package/dist/beginning.js +6 -2
  11. package/dist/beginning.js.map +1 -1
  12. package/dist/catalog.d.ts +52 -0
  13. package/dist/catalog.d.ts.map +1 -1
  14. package/dist/catalog.js +145 -0
  15. package/dist/catalog.js.map +1 -1
  16. package/dist/city.d.ts.map +1 -1
  17. package/dist/city.js +3 -1
  18. package/dist/city.js.map +1 -1
  19. package/dist/cli/check/index.d.ts +1 -0
  20. package/dist/cli/check/index.d.ts.map +1 -1
  21. package/dist/cli/check/index.js +1 -0
  22. package/dist/cli/check/index.js.map +1 -1
  23. package/dist/cli/check/policy.d.ts.map +1 -1
  24. package/dist/cli/check/policy.js +3 -1
  25. package/dist/cli/check/policy.js.map +1 -1
  26. package/dist/cli/check/rooms.d.ts +10 -0
  27. package/dist/cli/check/rooms.d.ts.map +1 -0
  28. package/dist/cli/check/rooms.js +23 -0
  29. package/dist/cli/check/rooms.js.map +1 -0
  30. package/dist/cli/check.d.ts +1 -1
  31. package/dist/cli/check.d.ts.map +1 -1
  32. package/dist/cli/check.js +18 -2
  33. package/dist/cli/check.js.map +1 -1
  34. package/dist/cli/describe.d.ts +1 -1
  35. package/dist/cli/describe.d.ts.map +1 -1
  36. package/dist/cli/describe.js +38 -4
  37. package/dist/cli/describe.js.map +1 -1
  38. package/dist/cli/document-schema.d.ts.map +1 -1
  39. package/dist/cli/document-schema.js +21 -0
  40. package/dist/cli/document-schema.js.map +1 -1
  41. package/dist/compose-home.js +1 -1
  42. package/dist/compose-home.js.map +1 -1
  43. package/dist/conformance/index.d.ts.map +1 -1
  44. package/dist/conformance/index.js +3 -1
  45. package/dist/conformance/index.js.map +1 -1
  46. package/dist/document/compile-checked.d.ts.map +1 -1
  47. package/dist/document/compile-checked.js +3 -2
  48. package/dist/document/compile-checked.js.map +1 -1
  49. package/dist/document/compiled.d.ts.map +1 -1
  50. package/dist/document/compiled.js +9 -1
  51. package/dist/document/compiled.js.map +1 -1
  52. package/dist/document/graview-template.d.ts +3 -3
  53. package/dist/document/purpose-spec.d.ts +2 -2
  54. package/dist/document/schema.d.ts +22 -21
  55. package/dist/document/schema.d.ts.map +1 -1
  56. package/dist/document/schema.js +6 -0
  57. package/dist/document/schema.js.map +1 -1
  58. package/dist/document/to-document.d.ts +1 -1
  59. package/dist/document/to-document.d.ts.map +1 -1
  60. package/dist/document/to-document.js +6 -2
  61. package/dist/document/to-document.js.map +1 -1
  62. package/dist/document/workflow-spec.d.ts +2 -2
  63. package/dist/document.schema.json +53 -2
  64. package/dist/field-sight.d.ts.map +1 -1
  65. package/dist/field-sight.js +6 -1
  66. package/dist/field-sight.js.map +1 -1
  67. package/dist/friction-record.d.ts +8 -0
  68. package/dist/friction-record.d.ts.map +1 -1
  69. package/dist/friction-record.js +25 -0
  70. package/dist/friction-record.js.map +1 -1
  71. package/dist/index.d.ts +9 -0
  72. package/dist/index.d.ts.map +1 -1
  73. package/dist/index.js +7 -0
  74. package/dist/index.js.map +1 -1
  75. package/dist/installation.d.ts +2 -2
  76. package/dist/installation.d.ts.map +1 -1
  77. package/dist/installation.js +2 -0
  78. package/dist/installation.js.map +1 -1
  79. package/dist/mutations/define-mutation.d.ts +3 -0
  80. package/dist/mutations/define-mutation.d.ts.map +1 -1
  81. package/dist/mutations/define-mutation.js +2 -0
  82. package/dist/mutations/define-mutation.js.map +1 -1
  83. package/dist/mutations/derive-edits.d.ts.map +1 -1
  84. package/dist/mutations/derive-edits.js +7 -0
  85. package/dist/mutations/derive-edits.js.map +1 -1
  86. package/dist/mutations/derive-relations.d.ts.map +1 -1
  87. package/dist/mutations/derive-relations.js +4 -0
  88. package/dist/mutations/derive-relations.js.map +1 -1
  89. package/dist/mutations/derive-repeats.d.ts.map +1 -1
  90. package/dist/mutations/derive-repeats.js +4 -0
  91. package/dist/mutations/derive-repeats.js.map +1 -1
  92. package/dist/mutations/types.d.ts +24 -0
  93. package/dist/mutations/types.d.ts.map +1 -1
  94. package/dist/mutations/visitor-form.js +1 -1
  95. package/dist/mutations/visitor-form.js.map +1 -1
  96. package/dist/ops/digest.d.ts +2 -1
  97. package/dist/ops/digest.d.ts.map +1 -1
  98. package/dist/ops/digest.js +7 -1
  99. package/dist/ops/digest.js.map +1 -1
  100. package/dist/permissions/policy.d.ts +16 -0
  101. package/dist/permissions/policy.d.ts.map +1 -1
  102. package/dist/permissions/policy.js +16 -0
  103. package/dist/permissions/policy.js.map +1 -1
  104. package/dist/permissions/sight.d.ts +9 -0
  105. package/dist/permissions/sight.d.ts.map +1 -1
  106. package/dist/permissions/sight.js +18 -0
  107. package/dist/permissions/sight.js.map +1 -1
  108. package/dist/permissions/types.d.ts +24 -0
  109. package/dist/permissions/types.d.ts.map +1 -1
  110. package/dist/permissions/types.js.map +1 -1
  111. package/dist/rooms/findings.d.ts +53 -0
  112. package/dist/rooms/findings.d.ts.map +1 -0
  113. package/dist/rooms/findings.js +109 -0
  114. package/dist/rooms/findings.js.map +1 -0
  115. package/dist/rooms/kind.d.ts +86 -0
  116. package/dist/rooms/kind.d.ts.map +1 -0
  117. package/dist/rooms/kind.js +530 -0
  118. package/dist/rooms/kind.js.map +1 -0
  119. package/dist/rooms/read.d.ts +164 -0
  120. package/dist/rooms/read.d.ts.map +1 -0
  121. package/dist/rooms/read.js +246 -0
  122. package/dist/rooms/read.js.map +1 -0
  123. package/dist/rooms/shape.d.ts +133 -0
  124. package/dist/rooms/shape.d.ts.map +1 -0
  125. package/dist/rooms/shape.js +71 -0
  126. package/dist/rooms/shape.js.map +1 -0
  127. package/dist/rooms/support-open.d.ts +7 -0
  128. package/dist/rooms/support-open.d.ts.map +1 -0
  129. package/dist/rooms/support-open.js +25 -0
  130. package/dist/rooms/support-open.js.map +1 -0
  131. package/dist/rooms/support.d.ts +95 -0
  132. package/dist/rooms/support.d.ts.map +1 -0
  133. package/dist/rooms/support.js +62 -0
  134. package/dist/rooms/support.js.map +1 -0
  135. package/dist/rooms.d.ts +12 -0
  136. package/dist/rooms.d.ts.map +1 -0
  137. package/dist/rooms.js +25 -0
  138. package/dist/rooms.js.map +1 -0
  139. package/dist/scaffold/domain.js +1 -1
  140. package/dist/scaffold/from-template.js +3 -3
  141. package/dist/scaffold/from-template.js.map +1 -1
  142. package/dist/scaffold/index.d.ts.map +1 -1
  143. package/dist/scaffold/index.js +2 -3
  144. package/dist/scaffold/index.js.map +1 -1
  145. package/dist/scaffold/names.d.ts +0 -1
  146. package/dist/scaffold/names.d.ts.map +1 -1
  147. package/dist/scaffold/names.js.map +1 -1
  148. package/dist/scaffold/project.d.ts.map +1 -1
  149. package/dist/scaffold/project.js +18 -13
  150. package/dist/scaffold/project.js.map +1 -1
  151. package/dist/scaffold/ui.d.ts +1 -1
  152. package/dist/scaffold/ui.d.ts.map +1 -1
  153. package/dist/scaffold/ui.js +115 -164
  154. package/dist/scaffold/ui.js.map +1 -1
  155. package/dist/seen.d.ts.map +1 -1
  156. package/dist/seen.js +84 -12
  157. package/dist/seen.js.map +1 -1
  158. package/dist/store.d.ts.map +1 -1
  159. package/dist/store.js +12 -2
  160. package/dist/store.js.map +1 -1
  161. package/dist/subscription-shape.d.ts +4 -0
  162. package/dist/subscription-shape.d.ts.map +1 -1
  163. package/dist/subscription-shape.js.map +1 -1
  164. package/dist/subscriptions.d.ts +8 -0
  165. package/dist/subscriptions.d.ts.map +1 -1
  166. package/dist/subscriptions.js +48 -2
  167. package/dist/subscriptions.js.map +1 -1
  168. package/dist/testing.d.ts.map +1 -1
  169. package/dist/testing.js +4 -0
  170. package/dist/testing.js.map +1 -1
  171. package/dist/version.d.ts +1 -1
  172. package/dist/version.js +1 -1
  173. package/package.json +5 -1
@@ -1 +1 @@
1
- {"version":3,"file":"project.js","sourceRoot":"","sources":["../../src/scaffold/project.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,4EAA4E;AAC5E,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,MAAM;IACN,QAAQ;IACR,OAAO;IACP,QAAQ;IACR,OAAO;IACP,YAAY;IACZ,OAAO;IACP,MAAM;IACN;;;;OAIG;IACH,OAAO;IACP;;;OAGG;IACH,QAAQ;IACR;;;OAGG;IACH,OAAO;CACC,CAAC;AAEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,eAAe,GAAsB,CAAC,GAAG,gBAAgB,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAC;AAE7F;;;;;GAKG;AACH,MAAM,CAAC,MAAM,YAAY,GAAsB,CAAC,cAAc,EAAE,kBAAkB,CAAC,CAAC;AAEpF;;;GAGG;AAEH,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,+EAA+E;IAC/E,6EAA6E;IAC7E,mEAAmE;CACpE,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,8EAA8E;IAC9E,6EAA6E;IAC7E,4EAA4E;IAC5E,+EAA+E;IAC/E,6BAA6B;CAC9B,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,4EAA4E;IAC5E,sEAAsE;IACtE,uEAAuE;CACxE,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,UAAU,OAAO,CAAC,IAAY,EAAE,IAAuB,EAAE,GAAQ;IACrE,MAAM,MAAM,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IACtD,OAAO;;KAEJ,IAAI;;EAEP,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,M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CAAC,GAAQ,EAAE,IAAa;IACjD,MAAM,IAAI,GAAG,GAAG,CAAC,IAAI,IAAI,YAAY,CAAC;IACtC,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,IAAI,IAAI,KAAK,IAAI,CAAC,CAAC,GAAG,EAAE,IAAI,SAAS,CAAC;IAC3F,MAAM,IAAI,GAAG,GAAG,CAAC,aAAa,IAAI,8CAA8C,CAAC;IACjF,MAAM,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC,gCAAgC,CAAC,CAAC,CAAC,QAAQ,CAAC;IACnE,OAAO;;;;;;;sDAO6C,IAAI;;;;;;;;;;;;;;wBAclC,IAAI;kBACV,OAAO;;;;;;;6BAOI,OAAO;;;;eAIrB,OAAO,OAAO,IAAI,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,gBAAgB;CACnE,CAAC;AACF,CAAC"}
@@ -9,7 +9,7 @@ export declare function indexHtml(ids: Ids): string;
9
9
  export declare function embedHtml(ids: Ids): string;
10
10
  export declare function embedTsx(ids: Ids): string;
11
11
  export declare function viewsTsx(ids: Ids): string;
12
- export declare function uiAppTsx(ids: Ids): string;
13
12
  export declare function pagesTsx(ids: Ids): string;
13
+ export declare function seatTsx(ids: Ids): string;
14
14
  export declare function mainTsx(ids: Ids): string;
15
15
  //# sourceMappingURL=ui.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ui.d.ts","sourceRoot":"","sources":["../../src/scaffold/ui.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,GAAG,EAA0D,MAAM,YAAY,CAAC;AAO9F,wBAAgB,SAAS,CAAC,GAAG,EAAE,GAAG,GAAG,MAAM,CAgB1C;AAED;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,GAAG,EAAE,GAAG,GAAG,MAAM,CAyC1C;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,GAAG,GAAG,MAAM,CAyBzC;AAID,wBAAgB,QAAQ,CAAC,GAAG,EAAE,GAAG,GAAG,MAAM,CAyBzC;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,GAAG,GAAG,MAAM,CAqHzC;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,GAAG,GAAG,MAAM,CA6NzC;AAED,wBAAgB,OAAO,CAAC,GAAG,EAAE,GAAG,GAAG,MAAM,CAsGxC"}
1
+ {"version":3,"file":"ui.d.ts","sourceRoot":"","sources":["../../src/scaffold/ui.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,GAAG,EAA0D,MAAM,YAAY,CAAC;AAS9F,wBAAgB,SAAS,CAAC,GAAG,EAAE,GAAG,GAAG,MAAM,CAgB1C;AAED;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,GAAG,EAAE,GAAG,GAAG,MAAM,CAyC1C;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,GAAG,GAAG,MAAM,CAyBzC;AAID,wBAAgB,QAAQ,CAAC,GAAG,EAAE,GAAG,GAAG,MAAM,CAyBzC;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,GAAG,GAAG,MAAM,CA2NzC;AAED,wBAAgB,OAAO,CAAC,GAAG,EAAE,GAAG,GAAG,MAAM,CAqExC;AAED,wBAAgB,OAAO,CAAC,GAAG,EAAE,GAAG,GAAG,MAAM,CAqGxC"}
@@ -1,7 +1,9 @@
1
1
  import { escapeComment, escapeHtml, escapeJsxText, escapeString } from "./names.js";
2
2
  /*
3
- * THE FACES A NEW PROJECT HAS: the page, the embed, the scene, the pages
4
- * face and the entry that opens the store and mounts it.
3
+ * WHAT A NEW PROJECT DRAWS: the page, the embed, the views the app's city
4
+ * and its pages draw with, the pages in your own words, the seat and the
5
+ * studio on its bar, and the entry that opens the store and mounts the one
6
+ * face.
5
7
  */
6
8
  export function indexHtml(ids) {
7
9
  return `<!doctype html>
@@ -9,7 +11,7 @@ export function indexHtml(ids) {
9
11
  <meta charset="utf-8" />
10
12
  <meta name="viewport" content="width=device-width, initial-scale=1" />
11
13
  <title>${escapeHtml(ids.name)}</title>
12
- <!-- No icon of its own until the Shell draws the brand's mark: Chrome asks for /favicon.ico before any script runs, and a 404 there is an error on the console. -->
14
+ <!-- No icon of its own until the face draws the brand's mark: Chrome asks for /favicon.ico before any script runs, and a 404 there is an error on the console. -->
13
15
  <link rel="icon" href="data:," />
14
16
  <style>
15
17
  /* The theme is injected by src/main.tsx from the declared brand; this is
@@ -76,10 +78,11 @@ import { views } from "./ui/views.js";
76
78
  /**
77
79
  * ${escapeComment(ids.name).toUpperCase()} ON SOMEBODY ELSE'S PAGE.
78
80
  *
79
- * The embed brings its own strip, its own theme scoped to the element it is
80
- * given, and this app's named places — no Shell, nothing on the host page
81
- * touched. Pass \`seats\` once a policy exists and the reader can sit in each
82
- * one: the strip, the pages and the acts all narrow together.
81
+ * The embed brings its own bar, its own theme scoped to the element it is
82
+ * given, and the one face — each page over the app's own city, Page ·
83
+ * Nearby · Map — held to that element: nothing on the host page touched.
84
+ * Pass \`seats\` once a policy exists and the reader can sit in each one:
85
+ * the bar, the pages and the acts all narrow together.
83
86
  */
84
87
  const store = createStore();
85
88
 
@@ -89,7 +92,6 @@ mount(document.getElementById("here")!, {
89
92
  // The app's own registry, in the app's own schema — no casts.
90
93
  views,
91
94
  scheme: "auto",
92
- stop: "#overview=1",
93
95
  label: "${escapeString(ids.name)}",
94
96
  });
95
97
  `;
@@ -121,124 +123,6 @@ export function views() {
121
123
  }
122
124
  `;
123
125
  }
124
- export function uiAppTsx(ids) {
125
- return `import type { HostFiles } from "@graview/core";
126
- import { EMPTY_VIEW, type ViewState } from "@graview/layout";
127
- import { GraviewProvider, useGraph, useGraview, type Scheme } from "@graview/react";
128
- import { AgentSeat, Shell } from "@graview/primitives";
129
- import { StudioPlace } from "@graview/studio";
130
- import { templateIntelligence, type ToolCall } from "@graview/tools";
131
- import { useMemo, useState } from "react";
132
- import { ${ids.appVar}, createStore, type ${ids.StoreType} } from "../domain/app.js";
133
- import { ${ids.brandVar} } from "../domain/brand.js";
134
- import type { ${ids.SchemaType} } from "../domain/schema.js";
135
- import { views } from "./views.js";
136
-
137
- type S = ${ids.SchemaType};
138
-
139
- /**
140
- * The app opens from ALTITUDE: every kind a district, each saying how many
141
- * it holds — or "none yet", which is an invitation rather than a void.
142
- */
143
- export const INITIAL_VIEW: ViewState = { ...EMPTY_VIEW, overview: true };
144
-
145
- export interface ${ids.AppComponent}Props {
146
- readonly store?: ${ids.StoreType};
147
- readonly initialView?: ViewState;
148
- readonly syncUrl?: boolean;
149
- readonly initialScheme?: Scheme;
150
- readonly onSchemeChange?: (scheme: Scheme) => void;
151
- /** Whether the store behind this app is remembered in the browser (see main.tsx). */
152
- readonly remembers?: boolean;
153
- /** Where a picture or a file put on a record goes (see main.tsx). */
154
- readonly files?: HostFiles;
155
- }
156
-
157
- /**
158
- * The whole application. \`Shell\` is the command bar, the scene, the
159
- * inspector and the rail, derived; what ${escapeComment(ids.name)} adds is a
160
- * sentence for when nothing is wrong and a seat for an agent. If this file
161
- * grows, ask whether the declaration should have grown instead.
162
- */
163
- export function ${ids.AppComponent}({
164
- store,
165
- initialView = INITIAL_VIEW,
166
- syncUrl = false,
167
- initialScheme = "light",
168
- onSchemeChange,
169
- remembers = false,
170
- files,
171
- }: ${ids.AppComponent}Props) {
172
- const created = useMemo(() => store ?? createStore(), [store]);
173
- const registry = useMemo(() => views(), []);
174
- const [scheme, setScheme] = useState<Scheme>(initialScheme);
175
-
176
- return (
177
- <GraviewProvider
178
- store={created}
179
- views={registry}
180
- initialView={initialView}
181
- scheme={scheme}
182
- brand={${ids.brandVar}}
183
- settings={${ids.appVar}.settings ?? []}
184
- app={${ids.appVar}}
185
- >
186
- <Shell<S>
187
- standing="Everything is in order"
188
- /*
189
- * THE APP'S OWN DECLARATION, one press away and in place. The
190
- * kinds, fields, edges, acts and rules of \`src/domain\` are a graph
191
- * here: change one with the ordinary acts, watch the checker judge
192
- * it, and apply to get the files to write back. Offered to the seat
193
- * that administers where there is one, and to whoever is here where
194
- * there is not — which is this project, today.
195
- */
196
- studio={<StudioPlace app={${ids.appVar}} />}
197
- seat={(onCall) => <Starter onCall={onCall} />}
198
- remembers={remembers}
199
- files={files}
200
- syncUrl={syncUrl}
201
- scheme={scheme}
202
- onScheme={(next) => {
203
- setScheme(next);
204
- onSchemeChange?.(next);
205
- }}
206
- />
207
- </GraviewProvider>
208
- );
209
- }
210
-
211
- /**
212
- * The seat at zero. An empty graph plus a seat that proposes starter data is
213
- * the "describe your domain, get a working app" moment. Every proposal is an
214
- * ordinary mutation through the derived tool surface — logged, attributed to
215
- * the seat, reviewable, undoable.
216
- */
217
- function Starter({ onCall }: { onCall: (call: ToolCall) => void }) {
218
- const { store } = useGraview<S>();
219
- const nodes = useGraph();
220
- const empty = nodes.length === 0;
221
- return (
222
- <AgentSeat<S>
223
- who="starter"
224
- testId="agent-starter"
225
- count={empty ? 1 : 0}
226
- gate="${ids.gate}"
227
- label={() => "Add some starter data"}
228
- busyLabel="Adding…"
229
- idle="There is something here already"
230
- onCall={onCall}
231
- run={async (agent) => {
232
- const starter = templateIntelligence<S>();
233
- for (const proposal of await starter.propose(store)) {
234
- await agent.run(proposal.mutation, { ...proposal.args });
235
- }
236
- }}
237
- />
238
- );
239
- }
240
- `;
241
- }
242
126
  export function pagesTsx(ids) {
243
127
  return `import { isCurrent, nounOf, withArticle } from "@graview/core";
244
128
  import { Begin, EditableValue } from "@graview/primitives";
@@ -255,7 +139,6 @@ import {
255
139
  recordFacts,
256
140
  relationFacts,
257
141
  Repairs,
258
- spatialHref,
259
142
  titleFieldOf,
260
143
  useStoreTick,
261
144
  type PageComponent,
@@ -267,8 +150,9 @@ import { ${ids.schemaVar}, type ${ids.SchemaType} } from "../domain/schema.js";
267
150
  type S = ${ids.SchemaType};
268
151
 
269
152
  /**
270
- * THE OTHER FACE, IN YOUR OWN WORDS. /pages is an ordinary routed web
271
- * application derived from the declaration: a list and a record per kind,
153
+ * YOUR PAGES, IN YOUR OWN WORDS. The app is an ordinary routed web
154
+ * application derived from the declaration, standing over its own city
155
+ * (the control at the window's foot): a list and a record per kind,
272
156
  * forms from the mutations, a problems page from the rules. Every one of
273
157
  * those can be replaced per kind — or per surface: shell, home, problems —
274
158
  * with a page you write. This is the ${ids.spoken}'s record page; delete it
@@ -354,9 +238,7 @@ function ${ids.KindPascal}Page({ context }: { context: PageContext<S> }) {
354
238
  {isCurrent(store.schema.tryDefinition(node.kind), node) ? null : "In the past: out of the picture, never out of the record. "}
355
239
  {ties.length === 0 ? "Connected to nothing yet." : null}
356
240
  </p>
357
- <a href={spatialHref(id, context.sceneHref)} style={{ ...pageStyles.link, ...pageStyles.quiet }} data-testid="spatial-link">
358
- See it in the scene ↗
359
- </a>
241
+ {/* Where it stands in the app's city is the control at the window's foot: Nearby draws a line from this page to it. */}
360
242
  </header>
361
243
  {facts.violations.length > 0 ? (
362
244
  <section style={{ ...pageStyles.rule, display: "grid", gap: 10 }} data-testid="record-violations">
@@ -392,7 +274,7 @@ function ${ids.KindPascal}Page({ context }: { context: PageContext<S> }) {
392
274
  * own sentence. Dropping it teaches a person the software is broken —
393
275
  * they watched a colleague do this yesterday and now the control is
394
276
  * gone — so it is drawn struck through with the reason beside it, the
395
- * way the derived pages and the scene's strip both draw it.
277
+ * way the derived pages draw it.
396
278
  */}
397
279
  {facts.actions.withheld.length > 0 ? (
398
280
  <section style={{ ...pageStyles.rule, display: "grid", gap: 8 }} data-testid="record-withheld">
@@ -461,6 +343,76 @@ export function pages() {
461
343
  }
462
344
  `;
463
345
  }
346
+ export function seatTsx(ids) {
347
+ return `import { AgentSeat } from "@graview/primitives";
348
+ import { useGraph, useGraview } from "@graview/react";
349
+ import { templateIntelligence, type ToolCall } from "@graview/tools";
350
+ import { lazy, Suspense } from "react";
351
+ import { ${ids.appVar} } from "../domain/app.js";
352
+ import type { ${ids.SchemaType} } from "../domain/schema.js";
353
+
354
+ type S = ${ids.SchemaType};
355
+
356
+ /*
357
+ * THE SEAT AND THE STUDIO, ON THE APP'S BAR. The bell's Activity holds the
358
+ * seat under "The agent's seat", with every call it makes; the person's
359
+ * menu holds the studio under "Keeping this app". \`src/main.tsx\` hands
360
+ * both to the face.
361
+ */
362
+
363
+ /** The agent's seat, handed the call recorder Activity shows its calls with. */
364
+ export function seat(onCall: (call: ToolCall) => void) {
365
+ return <Starter onCall={onCall} />;
366
+ }
367
+
368
+ /**
369
+ * The seat at zero. An empty graph plus a seat that proposes starter data is
370
+ * the "describe your domain, get a working app" moment. Every proposal is an
371
+ * ordinary mutation through the derived tool surface — logged, attributed to
372
+ * the seat, reviewable, undoable.
373
+ */
374
+ function Starter({ onCall }: { onCall: (call: ToolCall) => void }) {
375
+ const { store } = useGraview<S>();
376
+ const nodes = useGraph();
377
+ const empty = nodes.length === 0;
378
+ return (
379
+ <AgentSeat<S>
380
+ who="starter"
381
+ testId="agent-starter"
382
+ count={empty ? 1 : 0}
383
+ gate="${ids.gate}"
384
+ label={() => "Add some starter data"}
385
+ busyLabel="Adding…"
386
+ idle="There is something here already"
387
+ onCall={onCall}
388
+ run={async (agent) => {
389
+ const starter = templateIntelligence<S>();
390
+ for (const proposal of await starter.propose(store)) {
391
+ await agent.run(proposal.mutation, { ...proposal.args });
392
+ }
393
+ }}
394
+ />
395
+ );
396
+ }
397
+
398
+ /*
399
+ * THE APP'S OWN DECLARATION, one press away and in place. The kinds,
400
+ * fields, edges, acts and rules of \`src/domain\` are a graph here: change
401
+ * one with the ordinary acts, watch the checker judge it, and Apply writes
402
+ * the files back into \`src/domain\` through the dev server's door
403
+ * (\`studioDoor\` in vite.config.ts). Offered to the seat that administers
404
+ * where there is one, and to whoever is here where there is not — which is
405
+ * this project, today. In a chunk of its own, never the page's first load.
406
+ */
407
+ const StudioPlace = lazy(() => import("@graview/studio").then((studio) => ({ default: studio.StudioPlace })));
408
+
409
+ export const studio = (
410
+ <Suspense fallback={null}>
411
+ <StudioPlace app={${ids.appVar}} />
412
+ </Suspense>
413
+ );
414
+ `;
415
+ }
464
416
  export function mainTsx(ids) {
465
417
  return `import { PagesApp } from "@graview/pages";
466
418
  import { themeCss, type Scheme } from "@graview/primitives";
@@ -468,8 +420,8 @@ import { browserStartsFresh, createBrowserAdapter, filesAt, forgetFreshParam, op
468
420
  import { createRoot } from "react-dom/client";
469
421
  import { ${ids.appVar} } from "./domain/app.js";
470
422
  import { ${ids.brandVar} } from "./domain/brand.js";
471
- import { ${ids.AppComponent} } from "./ui/app.js";
472
423
  import { pages } from "./ui/pages.js";
424
+ import { seat, studio } from "./ui/seat.js";
473
425
  import { views } from "./ui/views.js";
474
426
 
475
427
  const sheet = new CSSStyleSheet();
@@ -529,36 +481,35 @@ forgetFreshParam();
529
481
  */
530
482
  const devHostFiles = (import.meta as { env?: { DEV?: boolean } }).env?.DEV ? filesAt("/__graview/files", { maxBytes: 10_000_000, kinds: ["image/*", "video/*", "application/pdf", "text/plain"] }) : undefined;
531
483
 
532
- if (window.location.pathname.startsWith("/pages")) {
533
- // The routed, responsive face: same store, same ids, one app.
534
- createRoot(root).render(
535
- <PagesApp
536
- basename="/pages"
537
- context={{
538
- store: opened.store,
539
- brand: ${ids.brandVar},
540
- sceneHref: "/",
541
- remembers: true,
542
- /*
543
- * THE SAME PICTURES ON BOTH FACES. Handed the registry the scene
544
- * draws from, the pages land on a gallery of them — every kind as
545
- * a card until you title a lens, then the lens by its name — with
546
- * the map of the kinds and the seat on every route.
547
- */
548
- views: views(),
549
- settings: ${ids.appVar}.settings ?? [],
550
- app: ${ids.appVar},
551
- files: devHostFiles,
552
- }}
553
- // Your own pages over the derived ones: see ui/pages.tsx.
554
- registry={pages()}
555
- />,
556
- );
557
- } else {
558
- createRoot(root).render(
559
- <${ids.AppComponent} store={opened.store} remembers files={devHostFiles} syncUrl initialScheme={scheme} onSchemeChange={applyScheme} />,
560
- );
561
- }
484
+ /*
485
+ * ONE FACE. The app's pages are ordinary addresses — a list and a record
486
+ * per kind, the places you title, the problems — and they stand over the
487
+ * app's own city: the control at the bottom left (Page · Nearby · Map, or
488
+ * Alt+↑ and Alt+↓, or a pinch) moves the page you are on out into a panel
489
+ * beside the records it shows, then to the whole map of the app. Handed
490
+ * \`views\`, the registry the city draws with, the pages land on a gallery
491
+ * of them — every kind as a card until you title a lens, then the lens by
492
+ * its name. The bar's bell holds the agent's seat in its Activity, and the
493
+ * person's menu the studio (see ui/seat.tsx). \`sceneUnderPages: false\`
494
+ * would keep the pages alone, without the city.
495
+ */
496
+ createRoot(root).render(
497
+ <PagesApp
498
+ context={{
499
+ store: opened.store,
500
+ brand: ${ids.brandVar},
501
+ remembers: true,
502
+ views: views(),
503
+ settings: ${ids.appVar}.settings ?? [],
504
+ app: ${ids.appVar},
505
+ files: devHostFiles,
506
+ seat,
507
+ studio,
508
+ }}
509
+ // Your own pages over the derived ones: see ui/pages.tsx.
510
+ registry={pages()}
511
+ />,
512
+ );
562
513
 
563
514
  // A flag a harness can wait for, rather than a timer and a hope.
564
515
  (window as unknown as Record<string, unknown>)["__graviewReady"] = { scheme };
@@ -1 +1 @@
1
- {"version":3,"file":"ui.js","sourceRoot":"","sources":["../../src/scaffold/ui.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,aAAa,EAAE,UAAU,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE9F;;;GAGG;AAEH,MAAM,UAAU,SAAS,CAAC,GAAQ;IAChC,OAAO;;;;SAIA,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC;;;;;;;;;;CAU5B,CAAC;AACF,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,SAAS,CAAC,GAAQ;IAChC,OAAO;;;;SAIA,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC;;;iDAGoB,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;eACrE,aAAa,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;;;;;;;;;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AS,MAAM,EAAE,KAAK,EAAE,CAAC,EAAE,SAAS,EAAE,SAAS,GAAG,CAAC,CA0R5E"}
package/dist/seen.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { isPlaceless } from "./rooms/kind.js";
1
2
  import { batchesOf, undoneIn } from "./ops/log.js";
2
3
  import { checkUndo } from "./ops/undo.js";
3
4
  import { writersOf } from "./ops/writers.js";
@@ -8,7 +9,7 @@ import { PERSON_SEAT } from "./graph/archived.js";
8
9
  import { isUnset } from "./graph/primitives.js";
9
10
  import { seatsKept, takesBindingBack, unseated } from "./binding-served.js";
10
11
  import { presentOf } from "./seat-of.js";
11
- import { FIELD_SIGHT, fieldsJudged, partialSight, recordsOf, sees } from "./permissions/sight.js";
12
+ import { FIELD_SIGHT, fieldsJudged, partialSight, recordsOf, scopedSight, sees } from "./permissions/sight.js";
12
13
  import { diffSnapshots } from "./graph/diff.js";
13
14
  import { CREATED_BY, isTouchedField, judgedOnTouches, TOUCHED_FIELDS, UPDATED_BY } from "./graph/touched.js";
14
15
  import { nodeRefKinds } from "./mutations/node-ref.js";
@@ -55,7 +56,7 @@ export function seesEveryRecord(store, author) {
55
56
  const acting = actingAs(author);
56
57
  // A sight that shows only some fields shows no record until they can be judged: it fails closed here as in `sees`.
57
58
  const judged = fieldsJudged(store);
58
- const inSight = (kind) => !off.has(kind) && (sights.length === 0 || sights.some((sight) => sight.kinds.includes(kind) && grantsTo(sight, acting) && !sight.own && !sight.via && (judged || !partialSight(sight))));
59
+ const inSight = (kind) => !off.has(kind) && (sights.length === 0 || sights.some((sight) => sight.kinds.includes(kind) && grantsTo(sight, acting) && !sight.own && !sight.via && !scopedSight(sight) && (judged || !partialSight(sight))));
59
60
  /*
60
61
  * AND NONE OF IT WITHHELD WHOLE (`seatLens`): a record whose required
61
62
  * field names one the seat may not see is not served to it, so a kind
@@ -64,9 +65,17 @@ export function seesEveryRecord(store, author) {
64
65
  * the record is there. Which ids a field names is judged by sight alone,
65
66
  * so this asks no further than one step.
66
67
  */
67
- const wholly = store.schema.kinds.every(inSight);
68
+ /*
69
+ * THE FRAMEWORK'S OWN KINDS STAND OUTSIDE IT (Graview HQ
70
+ * feature:f-chat-rooms): a room's messages are seen by room, so no seat
71
+ * sees every one of them, and that is no reason to tell it less of the
72
+ * app's own records. Their ids say nothing of what is hidden: a message's
73
+ * is minted unguessable (`post-message`).
74
+ */
75
+ const kinds = store.schema.kinds.filter((kind) => !isPlaceless(store.schema.tryDefinition?.(kind)));
76
+ const wholly = kinds.every(inSight);
68
77
  const full = (kind) => inSight(kind) && requiredRefs(store.schema, kind).every((targets) => targets.every((target) => (target === "*" ? wholly : inSight(target))));
69
- const everything = wholly && store.schema.kinds.every(full);
78
+ const everything = wholly && kinds.every(full);
70
79
  return (kind) => everything || (kind !== undefined && full(kind));
71
80
  }
72
81
  /**
@@ -82,7 +91,8 @@ export function toldTouches(store, principal) {
82
91
  return false;
83
92
  const acting = actingAs(principal);
84
93
  const sights = store.policy?.sees ?? [];
85
- const whole = (kind) => sights.some((sight) => sight.kinds.includes(kind) && grantsTo(sight, acting) && !sight.own && !sight.via && !partialSight(sight));
94
+ const placeless = (kind) => isPlaceless(store.schema.tryDefinition?.(kind));
95
+ const whole = (kind) => placeless(kind) || sights.some((sight) => sight.kinds.includes(kind) && grantsTo(sight, acting) && !sight.own && !sight.via && !scopedSight(sight) && !partialSight(sight));
86
96
  return sights.every((sight) => !partialSight(sight) || !grantsTo(sight, acting) || sight.kinds.every(whole));
87
97
  }
88
98
  /**
@@ -346,6 +356,15 @@ function lensFor(store, principal) {
346
356
  };
347
357
  // Pinned, a record is served once however often the reading asks for it: no record or id changes under a pin.
348
358
  const servedOnce = new WeakMap();
359
+ /*
360
+ * Unpinned, a record is served again only once the store has moved: what
361
+ * judges it — the policy, what is off, who is bound, the records a sight
362
+ * follows — moves only by an op, so the same record asked twice at one
363
+ * moment (every act weighed over the same chosen records) is judged once.
364
+ */
365
+ const servedAt = new WeakMap();
366
+ const moment = () => `${store.version}:${length()}`;
367
+ let pinnedAt;
349
368
  const served = pinned
350
369
  ? (node) => {
351
370
  let held = servedOnce.get(node);
@@ -353,7 +372,15 @@ function lensFor(store, principal) {
353
372
  servedOnce.set(node, (held = { node: judge(node) }));
354
373
  return held.node;
355
374
  }
356
- : judge;
375
+ : (node) => {
376
+ const at = moment();
377
+ const held = servedAt.get(node);
378
+ if (held && held.at === at)
379
+ return held.node;
380
+ const out = judge(node);
381
+ servedAt.set(node, { at, node: out });
382
+ return out;
383
+ };
357
384
  const showsNow = (id) => {
358
385
  if (!sees(id))
359
386
  return false;
@@ -395,8 +422,13 @@ function lensFor(store, principal) {
395
422
  toldTouches: told,
396
423
  reboundTouches,
397
424
  keepsSeat,
398
- // A pinned lens is already of one moment: pinning it again is itself.
399
- pin: pinned ? () => lens : () => pinWith(fresh()),
425
+ // A pinned lens is already of one moment: pinning it again is itself. And the seat's own lens pins once a moment: every read until the store moves shares what was judged.
426
+ pin: pinned ? () => lens : () => {
427
+ const at = moment();
428
+ if (pinnedAt?.at !== at)
429
+ pinnedAt = { at, lens: pinWith(fresh()) };
430
+ return pinnedAt.lens;
431
+ },
400
432
  };
401
433
  // Keeping what its sight keeps of a record's fields, when field sight is loaded (Roadmap f-field-sight).
402
434
  return FIELD_SIGHT.lens?.(lens, store, principal) ?? lens;
@@ -408,7 +440,27 @@ function lensFor(store, principal) {
408
440
  const records = recordsOf(store.log);
409
441
  return over(pinnedSight(store, principal, memo.judged, memo.unnamed), () => (writers ??= writersOf(store.log)), () => at, (id) => graph.getNode(id)?.kind ?? records.kindOf(id), memo);
410
442
  }
411
- const lens = over(seesId(store, principal), () => writersOf(store.log), length, (id) => graph.getNode(id)?.kind ?? recordsOf(store.log).kindOf(id));
443
+ /*
444
+ * The seat's own lens judges each id once a moment: what judges it — the
445
+ * policy, what is off, who is bound, who made what, the records a sight
446
+ * follows — moves only by an op, so a reading of every record (the scene
447
+ * drawn again as a hand lets go) asks each id once until the store moves.
448
+ */
449
+ const judgeId = seesId(store, principal);
450
+ let judgedAt;
451
+ const judgedIds = new Map();
452
+ const seesNow = (id) => {
453
+ const at = `${store.version}:${length()}`;
454
+ if (at !== judgedAt) {
455
+ judgedIds.clear();
456
+ judgedAt = at;
457
+ }
458
+ let seen = judgedIds.get(id);
459
+ if (seen === undefined)
460
+ judgedIds.set(id, (seen = judgeId(id)));
461
+ return seen;
462
+ };
463
+ const lens = over(seesNow, () => writersOf(store.log), length, (id) => graph.getNode(id)?.kind ?? recordsOf(store.log).kindOf(id));
412
464
  return { lens, pinWith };
413
465
  }
414
466
  const SERVED_LOGS = new WeakMap();
@@ -859,16 +911,36 @@ export function seatView(store, principal) {
859
911
  * store; a whole graph, a snapshot or a neighborhood by the lens pinned
860
912
  * for that one reading, each id and record judged once in it.
861
913
  */
862
- const judging = (seat) => {
914
+ const judging = (seat, ofOneMoment = false) => {
863
915
  const served = (node) => (node === undefined ? undefined : seat.served(node));
864
916
  const seenNode = (node) => served(node) !== undefined;
865
917
  const seenId = (id) => seenNode(full.getNode(id));
866
- const seenEdge = (edge) => seenId(edge.from) && seenId(edge.to) && !namesUnseen(edge, seat.sees);
918
+ const judgeEdge = (edge) => seenId(edge.from) && seenId(edge.to) && !namesUnseen(edge, seat.sees);
919
+ // Pinned, a link is judged once however often a reading asks for it: no record or link changes under a pin.
920
+ const edgesSeen = ofOneMoment ? new WeakMap() : undefined;
921
+ const seenEdge = (edge) => {
922
+ if (!edgesSeen)
923
+ return judgeEdge(edge);
924
+ let seen = edgesSeen.get(edge);
925
+ if (seen === undefined)
926
+ edgesSeen.set(edge, (seen = judgeEdge(edge)));
927
+ return seen;
928
+ };
867
929
  const servedAll = (nodes) => nodes.flatMap((node) => served(node) ?? []);
868
930
  return { served, seenNode, seenId, seenEdge, servedAll };
869
931
  };
870
932
  const { served, seenId } = judging(lens);
871
- const pinned = () => judging(lens.pin?.() ?? lens);
933
+ // Each moment's pinned lens judged through one set of reads, so what one read judged the next does not judge again.
934
+ const judgingOf = new WeakMap();
935
+ const pinned = () => {
936
+ const seat = lens.pin?.() ?? lens;
937
+ if (seat === lens)
938
+ return judging(lens);
939
+ let reads = judgingOf.get(seat);
940
+ if (!reads)
941
+ judgingOf.set(seat, (reads = judging(seat, true)));
942
+ return reads;
943
+ };
872
944
  /** A graph of another moment — an epoch's base, at `seq` — as this seat is served it: its records, as who wrote them then, and its links between them. */
873
945
  const servedGraph = (snapshot, seq) => {
874
946
  const writers = writersOf(store.log);