@rubytech/create-maxy-code 0.1.313 → 0.1.315
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/dist/__tests__/plugin-install.test.js +23 -1
- package/dist/index.js +47 -2
- package/dist/lib/plugin-install.js +16 -0
- package/package.json +1 -1
- package/payload/platform/lib/graph-search/dist/index.d.ts +18 -31
- package/payload/platform/lib/graph-search/dist/index.d.ts.map +1 -1
- package/payload/platform/lib/graph-search/dist/index.js +20 -36
- package/payload/platform/lib/graph-search/dist/index.js.map +1 -1
- package/payload/platform/lib/graph-search/src/__tests__/fulltext-coverage.test.ts +55 -64
- package/payload/platform/lib/graph-search/src/index.ts +19 -37
- package/payload/platform/lib/graph-style/dist/index.d.ts.map +1 -1
- package/payload/platform/lib/graph-style/dist/index.js +5 -3
- package/payload/platform/lib/graph-style/dist/index.js.map +1 -1
- package/payload/platform/lib/graph-style/src/index.ts +5 -3
- package/payload/platform/neo4j/schema.cypher +21 -57
- package/payload/platform/plugins/admin/skills/file-presentation/SKILL.md +1 -1
- package/payload/platform/plugins/admin/skills/platform-architecture/SKILL.md +12 -13
- package/payload/platform/plugins/admin/skills/professional-document/SKILL.md +1 -1
- package/payload/platform/plugins/docs/references/admin-session.md +2 -0
- package/payload/platform/plugins/docs/references/admin-ui.md +2 -2
- package/payload/platform/plugins/docs/references/internals.md +9 -10
- package/payload/platform/plugins/docs/references/memory-guide.md +1 -1
- package/payload/platform/plugins/graph-viewer/mcp/dist/index.js +1 -1
- package/payload/platform/plugins/graph-viewer/mcp/dist/index.js.map +1 -1
- package/payload/platform/plugins/graph-viewer/mcp/dist/tools/graph-render.d.ts.map +1 -1
- package/payload/platform/plugins/graph-viewer/mcp/dist/tools/graph-render.js +8 -7
- package/payload/platform/plugins/graph-viewer/mcp/dist/tools/graph-render.js.map +1 -1
- package/payload/platform/plugins/graph-viewer/skills/render-graph/SKILL.md +8 -5
- package/payload/platform/plugins/memory/mcp/dist/index.js +14 -15
- package/payload/platform/plugins/memory/mcp/dist/index.js.map +1 -1
- package/payload/platform/plugins/memory/mcp/dist/lib/__tests__/relationship-patterns.test.d.ts +2 -0
- package/payload/platform/plugins/memory/mcp/dist/lib/__tests__/relationship-patterns.test.d.ts.map +1 -0
- package/payload/platform/plugins/memory/mcp/dist/lib/__tests__/relationship-patterns.test.js +146 -0
- package/payload/platform/plugins/memory/mcp/dist/lib/__tests__/relationship-patterns.test.js.map +1 -0
- package/payload/platform/plugins/memory/mcp/dist/lib/__tests__/schema-cypher-drift.test.js +4 -0
- package/payload/platform/plugins/memory/mcp/dist/lib/__tests__/schema-cypher-drift.test.js.map +1 -1
- package/payload/platform/plugins/memory/mcp/dist/lib/__tests__/schema-validator.test.js +1 -0
- package/payload/platform/plugins/memory/mcp/dist/lib/__tests__/schema-validator.test.js.map +1 -1
- package/payload/platform/plugins/memory/mcp/dist/lib/relationship-patterns.d.ts +66 -0
- package/payload/platform/plugins/memory/mcp/dist/lib/relationship-patterns.d.ts.map +1 -0
- package/payload/platform/plugins/memory/mcp/dist/lib/relationship-patterns.js +102 -0
- package/payload/platform/plugins/memory/mcp/dist/lib/relationship-patterns.js.map +1 -0
- package/payload/platform/plugins/memory/mcp/dist/lib/schema-loader.d.ts +9 -0
- package/payload/platform/plugins/memory/mcp/dist/lib/schema-loader.d.ts.map +1 -1
- package/payload/platform/plugins/memory/mcp/dist/lib/schema-loader.js +6 -1
- package/payload/platform/plugins/memory/mcp/dist/lib/schema-loader.js.map +1 -1
- package/payload/platform/plugins/memory/mcp/dist/tools/__tests__/profile-update-personfields-open.test.js +1 -0
- package/payload/platform/plugins/memory/mcp/dist/tools/__tests__/profile-update-personfields-open.test.js.map +1 -1
- package/payload/platform/plugins/memory/mcp/dist/tools/memory-edge.d.ts +9 -0
- package/payload/platform/plugins/memory/mcp/dist/tools/memory-edge.d.ts.map +1 -1
- package/payload/platform/plugins/memory/mcp/dist/tools/memory-edge.js +25 -1
- package/payload/platform/plugins/memory/mcp/dist/tools/memory-edge.js.map +1 -1
- package/payload/platform/plugins/memory/mcp/dist/tools/memory-write.d.ts.map +1 -1
- package/payload/platform/plugins/memory/mcp/dist/tools/memory-write.js +21 -0
- package/payload/platform/plugins/memory/mcp/dist/tools/memory-write.js.map +1 -1
- package/payload/platform/plugins/memory/mcp/vitest.config.ts +2 -0
- package/payload/platform/plugins/memory/references/schema-construction.md +37 -15
- package/payload/platform/scripts/check-no-esm-require.mjs +4 -0
- package/payload/platform/services/claude-session-manager/dist/http-server.d.ts.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/http-server.js +53 -4
- package/payload/platform/services/claude-session-manager/dist/http-server.js.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/index.js +1 -0
- package/payload/platform/services/claude-session-manager/dist/index.js.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/pty-spawner.d.ts +15 -11
- package/payload/platform/services/claude-session-manager/dist/pty-spawner.d.ts.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/pty-spawner.js +102 -47
- package/payload/platform/services/claude-session-manager/dist/pty-spawner.js.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/rc-daemon.d.ts +5 -6
- package/payload/platform/services/claude-session-manager/dist/rc-daemon.d.ts.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/rc-daemon.js +6 -6
- package/payload/platform/services/claude-session-manager/dist/rc-daemon.js.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/session-sidecar.d.ts +10 -0
- package/payload/platform/services/claude-session-manager/dist/session-sidecar.d.ts.map +1 -1
- package/payload/platform/services/claude-session-manager/dist/session-sidecar.js +15 -0
- package/payload/platform/services/claude-session-manager/dist/session-sidecar.js.map +1 -1
- package/payload/platform/services/webchat-channel/dist/instructions.d.ts.map +1 -1
- package/payload/platform/services/webchat-channel/dist/instructions.js +8 -1
- package/payload/platform/services/webchat-channel/dist/instructions.js.map +1 -1
- package/payload/platform/services/whatsapp-channel/dist/notification.d.ts.map +1 -1
- package/payload/platform/services/whatsapp-channel/dist/notification.js +8 -1
- package/payload/platform/services/whatsapp-channel/dist/notification.js.map +1 -1
- package/payload/platform/templates/specialists/agents/content-producer.md +1 -1
- package/payload/platform/templates/specialists/agents/public-session-reviewer.md +2 -2
- package/payload/server/public/assets/AccessGate-B0sCa0QJ.js +1 -0
- package/payload/server/public/assets/{AdminLoginScreens-DgwQi3HN.js → AdminLoginScreens-C7Oaqpr6.js} +1 -1
- package/payload/server/public/assets/AdminShell-DgK7TWCI.js +1 -0
- package/payload/server/public/assets/{Checkbox-C54JSreC.js → Checkbox-C4m1jfdP.js} +1 -1
- package/payload/server/public/assets/OperatorConversations-z2mSY_eQ.js +1 -0
- package/payload/server/public/assets/{admin-B25rkI9Q.js → admin-DxYk1Ghu.js} +1 -1
- package/payload/server/public/assets/audio-attachment-mime-BXj3DB3Y.js +30 -0
- package/payload/server/public/assets/{brand-TWflEl22.css → brand-BwWvCHLs.css} +1 -1
- package/payload/server/public/assets/{brand-CYjs10m-.js → brand-DOgCGEoD.js} +1 -1
- package/payload/server/public/assets/{browser-C9Z5dLlN.js → browser-NzxOujfD.js} +1 -1
- package/payload/server/public/assets/chat-CEQTEN5z.js +1 -0
- package/payload/server/public/assets/{data-DCQDh0-Y.js → data-CTROHvif.js} +1 -1
- package/payload/server/public/assets/graph-Dx2a6vGB.js +51 -0
- package/payload/server/public/assets/graph-labels-Dxqq08v6.js +1 -0
- package/payload/server/public/assets/operator-BTHMTwNI.js +1 -0
- package/payload/server/public/assets/page-B9fQp1g9.js +1 -0
- package/payload/server/public/assets/{public-Cs5N4-Az.js → public-cuggl7du.js} +3 -3
- package/payload/server/public/assets/public-next-apqAebbA.js +1 -0
- package/payload/server/public/assets/{useSelectionMode-Cs-vtuKI.js → useSelectionMode-DlgEcMtA.js} +1 -1
- package/payload/server/public/browser.html +6 -6
- package/payload/server/public/chat.html +8 -8
- package/payload/server/public/data.html +5 -5
- package/payload/server/public/graph.html +8 -8
- package/payload/server/public/index.html +9 -9
- package/payload/server/public/operator.html +10 -10
- package/payload/server/public/public-next.html +9 -9
- package/payload/server/public/public.html +7 -7
- package/payload/server/server.js +968 -521
- package/payload/server/public/assets/AccessGate-Byskkf47.js +0 -1
- package/payload/server/public/assets/AdminShell-DQfL2c_L.js +0 -1
- package/payload/server/public/assets/OperatorConversations-DulQyF8c.js +0 -1
- package/payload/server/public/assets/audio-attachment-mime-BlwrgPQa.js +0 -30
- package/payload/server/public/assets/chat-CGNWDmid.js +0 -1
- package/payload/server/public/assets/graph-labels-BBtL--_M.js +0 -1
- package/payload/server/public/assets/graph-sMzOI71g.js +0 -51
- package/payload/server/public/assets/operator-hI6kJi0I.js +0 -1
- package/payload/server/public/assets/page-DbsqlpuX.js +0 -1
- package/payload/server/public/assets/public-next-DoGPYX6T.js +0 -1
|
@@ -11,15 +11,13 @@
|
|
|
11
11
|
* The fulltext index `knowledge_fulltext` was renamed to `entity_search`
|
|
12
12
|
* and its label union expanded from 3 labels (KnowledgeDocument | Section |
|
|
13
13
|
* Chunk) to the full operator-meaningful label set (~40 labels) on every
|
|
14
|
-
* textual property the schema's writers assign. Task 416
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* `__tests__/fulltext-coverage.test.ts` parses both declarations and
|
|
22
|
-
* asserts the universal label union plus the compiledTruth field split.
|
|
14
|
+
* textual property the schema's writers assign. Task 416 split that single
|
|
15
|
+
* `entity_search` into an admin index plus a public twin; the public twin
|
|
16
|
+
* and its whole read path were retired once public agents became toolless,
|
|
17
|
+
* so the lib now targets the single `entity_search_admin` index via
|
|
18
|
+
* FULLTEXT_INDEX_ADMIN below. The doctrine test at
|
|
19
|
+
* `__tests__/fulltext-coverage.test.ts` parses that declaration and asserts
|
|
20
|
+
* the universal label union.
|
|
23
21
|
*
|
|
24
22
|
* QUERY --> EMBED --> VECTOR SEARCH (per index) --> ┐
|
|
25
23
|
* │ ├--> MERGE --> EXPAND --> RESULTS
|
|
@@ -83,36 +81,20 @@ function readFlags() {
|
|
|
83
81
|
export type { DedupLayer, RetrievalClass };
|
|
84
82
|
export { DEFAULT_LAYERS };
|
|
85
83
|
/**
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
* BM25 silently.
|
|
91
|
-
*
|
|
92
|
-
* `entity_search_admin` carries `n.compiledTruth`; `entity_search_public`
|
|
93
|
-
* carries `n.compiledTruthPublic`. Other indexed text fields are shared.
|
|
84
|
+
* Name of the fulltext index (Task 416 admin index; the public twin was
|
|
85
|
+
* retired with the public read path). Mirrors the `CREATE FULLTEXT INDEX`
|
|
86
|
+
* declaration in `platform/neo4j/schema.cypher`. The doctrine test asserts
|
|
87
|
+
* the name matches this constant — drift between schema and this constant
|
|
88
|
+
* breaks BM25 silently. `entity_search_admin` carries `n.compiledTruth`.
|
|
94
89
|
*/
|
|
95
90
|
export const FULLTEXT_INDEX_ADMIN = "entity_search_admin";
|
|
96
|
-
export const FULLTEXT_INDEX_PUBLIC = "entity_search_public";
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* Pick the BM25 index for a read. Returns the public index iff the caller
|
|
100
|
-
* is in the verified public-only scope (`allowedScopes` is exactly
|
|
101
|
-
* `['public']` — the public-agent spawn shape). Anything else — including
|
|
102
|
-
* `undefined` (admin route default), `[]`, `['shared']`, `['public','shared']`
|
|
103
|
-
* — routes to the admin index, so ranking only reflects `compiledTruthPublic`
|
|
104
|
-
* for callers whose Cypher scope filter already restricts them to public
|
|
105
|
-
* rows. Mirrors `isPublicOnlyScope` semantics in memory-search.ts; that
|
|
106
|
-
* file imports this predicate via `isPublicOnlyScope` below.
|
|
107
|
-
*/
|
|
108
|
-
export function pickFulltextIndex(
|
|
109
|
-
allowedScopes: readonly string[] | undefined,
|
|
110
|
-
): string {
|
|
111
|
-
return isPublicOnlyScope(allowedScopes) ? FULLTEXT_INDEX_PUBLIC : FULLTEXT_INDEX_ADMIN;
|
|
112
|
-
}
|
|
113
91
|
|
|
114
|
-
/** Detect the public-agent read shape
|
|
115
|
-
*
|
|
92
|
+
/** Detect the public-agent read shape (`allowedScopes` exactly `['public']`).
|
|
93
|
+
* The BM25 index picker that used this predicate was retired with the public
|
|
94
|
+
* read path. Its one remaining consumer — the `projectPublicProperties` swap
|
|
95
|
+
* in the memory MCP's memory-search.ts — is now unreachable: every live read
|
|
96
|
+
* passes `allowedScopes: undefined`, so this returns false on every call. Kept
|
|
97
|
+
* as that projection's gate for when a public read surface is restored. */
|
|
116
98
|
export function isPublicOnlyScope(
|
|
117
99
|
allowedScopes: readonly string[] | undefined,
|
|
118
100
|
): boolean {
|
|
@@ -481,7 +463,7 @@ export async function bm25Only(
|
|
|
481
463
|
ORDER BY score DESC
|
|
482
464
|
LIMIT $limit`,
|
|
483
465
|
{
|
|
484
|
-
indexName:
|
|
466
|
+
indexName: FULLTEXT_INDEX_ADMIN,
|
|
485
467
|
query: escaped,
|
|
486
468
|
accountId,
|
|
487
469
|
limit: int(limit),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA2FtD,CAAA;AAED,eAAO,MAAM,qBAAqB,YAAY,CAAA;AAE9C,eAAO,MAAM,gBAAgB,EAAE,SAAS,MAAM,EAE7C,CAAA;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,GAAG,IAAI,CAOzE;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAEpD;AAED,MAAM,WAAW,kBAAkB;IACjC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,eAAe,EAAE,MAAM,CAAA;CACxB;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,GAAG,kBAAkB,CAU/E;AASD;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,MAAM,EAAE,CAAA;IAChB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACpC;AAKD;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAI7D;AAED,iEAAiE;AACjE,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAIjE;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,aAAa,GAAG,MAAM,CAsF1D;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,aAAa,GAAG,MAAM,CAuD3D"}
|
|
@@ -51,12 +51,14 @@ exports.GRAPH_LABEL_COLOURS = {
|
|
|
51
51
|
// apart from people-terracotta, viewing-amber, and task-rose bands so
|
|
52
52
|
// siteoffice legends read as their own group. Top-level (operator-entry)
|
|
53
53
|
// labels only; child labels (LineItem, Milestone, Valuation,
|
|
54
|
-
// VariationNote,
|
|
54
|
+
// VariationNote, CheckIn) intentionally stay fallback-grey. The
|
|
55
|
+
// field-worker Worker label is an additional label on Person and takes
|
|
56
|
+
// the Person colour. A subcontractor company's received invoices use the
|
|
57
|
+
// supplier model (Organization + InboundInvoice), so they carry no
|
|
58
|
+
// construction-specific colour.
|
|
55
59
|
Job: '#8C3B2E',
|
|
56
60
|
QuoteDocument: '#A65A4A',
|
|
57
61
|
InboundInvoice: '#6B2A20',
|
|
58
|
-
SubContractor: '#BF7E6E',
|
|
59
|
-
SubInvoice: '#52201A',
|
|
60
62
|
WhatsAppGroup: '#D4A096',
|
|
61
63
|
// External business entity — schema:Organization, written by memory-write
|
|
62
64
|
// as the Supplier label. Warm tobacco — distinct hue from internal-business
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;GAkBG;;;AA8GH,4CAOC;AAED,wCAEC;AAaD,8CAUC;AA2BD,gDAIC;AAGD,wDAIC;AAgBD,wCAsFC;AAMD,0CAuDC;AAvVD;;;;GAIG;AACU,QAAA,mBAAmB,GAA2B;IACzD,wCAAwC;IACxC,aAAa,EAAE,SAAS;IACxB,OAAO,EAAE,SAAS;IAClB,kBAAkB,EAAE,SAAS;IAC7B,yBAAyB,EAAE,SAAS;IAEpC,wEAAwE;IACxE,wEAAwE;IACxE,wEAAwE;IACxE,oDAAoD;IACpD,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,SAAS;IACnB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,SAAS;IAEhB,yEAAyE;IACzE,qEAAqE;IACrE,sEAAsE;IACtE,yEAAyE;IACzE,6DAA6D;IAC7D,4DAA4D;IAC5D,GAAG,EAAE,SAAS;IACd,aAAa,EAAE,SAAS;IACxB,cAAc,EAAE,SAAS;IACzB,aAAa,EAAE,SAAS;IACxB,UAAU,EAAE,SAAS;IACrB,aAAa,EAAE,SAAS;IAExB,0EAA0E;IAC1E,4EAA4E;IAC5E,yDAAyD;IACzD,YAAY,EAAE,SAAS;IAEvB,2CAA2C;IAC3C,MAAM,EAAE,SAAS;IACjB,WAAW,EAAE,SAAS;IACtB,UAAU,EAAE,SAAS;IACrB,SAAS,EAAE,SAAS;IACpB,WAAW,EAAE,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C;QAC5C,MAAM,UAAU,GAAG,OAAO,KAAK,CAAC,UAAU,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,CAAA;QAC/E,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC;YAAE,OAAO,UAAU,CAAA;IAC9C,CAAC;IACD,KAAK,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,CAAC,EAAE,CAAC;QAC7E,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAA;QAClB,IAAI,OAAO,CAAC,KAAK,QAAQ,IAAI,CAAC,CAAC,MAAM,GAAG,CAAC;YAAE,OAAO,CAAC,CAAA;IACrD,CAAC;IACD,IAAI,YAAY,KAAK,cAAc,EAAE,CAAC;QACpC,MAAM,EAAE,GAAG,OAAO,KAAK,CAAC,SAAS,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAA;QACvE,IAAI,EAAE;YAAE,OAAO,QAAQ,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAA;IACzC,CAAC;IACD,OAAO,YAAY,IAAI,GAAG,CAAA;AAC5B,CAAC"}
|
|
@@ -44,12 +44,14 @@ export const GRAPH_LABEL_COLOURS: Record<string, string> = {
|
|
|
44
44
|
// apart from people-terracotta, viewing-amber, and task-rose bands so
|
|
45
45
|
// siteoffice legends read as their own group. Top-level (operator-entry)
|
|
46
46
|
// labels only; child labels (LineItem, Milestone, Valuation,
|
|
47
|
-
// VariationNote,
|
|
47
|
+
// VariationNote, CheckIn) intentionally stay fallback-grey. The
|
|
48
|
+
// field-worker Worker label is an additional label on Person and takes
|
|
49
|
+
// the Person colour. A subcontractor company's received invoices use the
|
|
50
|
+
// supplier model (Organization + InboundInvoice), so they carry no
|
|
51
|
+
// construction-specific colour.
|
|
48
52
|
Job: '#8C3B2E',
|
|
49
53
|
QuoteDocument: '#A65A4A',
|
|
50
54
|
InboundInvoice: '#6B2A20',
|
|
51
|
-
SubContractor: '#BF7E6E',
|
|
52
|
-
SubInvoice: '#52201A',
|
|
53
55
|
WhatsAppGroup: '#D4A096',
|
|
54
56
|
|
|
55
57
|
// External business entity — schema:Organization, written by memory-write
|
|
@@ -429,29 +429,25 @@ OPTIONS {
|
|
|
429
429
|
// `role` = discriminator on KnowledgeDocument projections
|
|
430
430
|
// ('identity'|'soul'|'knowledge'|'knowledge-summary') so BM25 hits surface
|
|
431
431
|
// which file backed the result. Distinct from Person.role (no shadow).
|
|
432
|
-
//
|
|
433
|
-
//
|
|
434
|
-
//
|
|
435
|
-
//
|
|
436
|
-
//
|
|
437
|
-
//
|
|
438
|
-
//
|
|
439
|
-
// `entity_search` carried both columns, which let admin notes silently
|
|
440
|
-
// shape the BM25 score of public-twin rows even though the memory-search
|
|
441
|
-
// projection swapped the field on the way out. Drop the pre-416 single
|
|
442
|
-
// index so existing deployments don't keep a populated dead third copy.
|
|
432
|
+
// Admin BM25 fulltext index. Task 416 split a single `entity_search` into an
|
|
433
|
+
// admin index plus a public twin (`entity_search_public`) so a public read
|
|
434
|
+
// ranked only against `n.compiledTruthPublic`. Task 654 retired the public twin
|
|
435
|
+
// and its whole read path once public agents became toolless; `entity_search_admin`
|
|
436
|
+
// is now the only fulltext index, carrying `n.compiledTruth`. Both the pre-416
|
|
437
|
+
// single index and the retired public twin keep a permanent `DROP ... IF EXISTS`
|
|
438
|
+
// below so existing deployments stop populating a dead index that consumes disk.
|
|
443
439
|
DROP INDEX entity_search IF EXISTS;
|
|
440
|
+
DROP INDEX entity_search_public IF EXISTS;
|
|
444
441
|
|
|
445
|
-
// Task 397 added :ConversationArchive to the label union. DROP + recreate
|
|
446
|
-
// existing installs pick up
|
|
447
|
-
// installs no-op the DROP via IF EXISTS.
|
|
442
|
+
// Task 397 added :ConversationArchive to the label union. DROP + recreate the
|
|
443
|
+
// admin index so existing installs pick up new labels without manual reindex;
|
|
444
|
+
// fresh installs no-op the DROP via IF EXISTS.
|
|
448
445
|
DROP INDEX entity_search_admin IF EXISTS;
|
|
449
|
-
DROP INDEX entity_search_public IF EXISTS;
|
|
450
446
|
|
|
451
447
|
CREATE FULLTEXT INDEX entity_search_admin IF NOT EXISTS
|
|
452
448
|
FOR (n:LocalBusiness|Service|PriceSpecification|OpeningHoursSpecification|Organization
|
|
453
449
|
|Listing|Property|Viewing|Offer|PostalAddress
|
|
454
|
-
|Job|LineItem|Valuation|Milestone|QuoteDocument|VariationNote|InboundInvoice|
|
|
450
|
+
|Job|LineItem|Valuation|Milestone|QuoteDocument|VariationNote|InboundInvoice|CheckIn|WhatsAppGroup
|
|
455
451
|
|Person|UserProfile|Preference|AdminUser|AccessGrant
|
|
456
452
|
|KnowledgeDocument|ConversationArchive|Section|Chunk|DigitalDocument|CreativeWork|Question|FAQPage|DefinedTerm|Review|ImageObject
|
|
457
453
|
|Conversation|AdminConversation|PublicConversation|Message|UserMessage|AssistantMessage|ToolCall
|
|
@@ -470,33 +466,11 @@ ON EACH [n.name, n.firstName, n.lastName, n.givenName, n.familyName,
|
|
|
470
466
|
n.displayName, n.slug, n.role,
|
|
471
467
|
n.client, n.address, n.supplier, n.clientName,
|
|
472
468
|
n.compiledTruth];
|
|
473
|
-
|
|
474
|
-
CREATE FULLTEXT INDEX entity_search_public IF NOT EXISTS
|
|
475
|
-
FOR (n:LocalBusiness|Service|PriceSpecification|OpeningHoursSpecification|Organization
|
|
476
|
-
|Listing|Property|Viewing|Offer|PostalAddress
|
|
477
|
-
|Job|LineItem|Valuation|Milestone|QuoteDocument|VariationNote|InboundInvoice|SubContractor|TimeLog|SubInvoice|WhatsAppGroup
|
|
478
|
-
|Person|UserProfile|Preference|AdminUser|AccessGrant
|
|
479
|
-
|KnowledgeDocument|ConversationArchive|Section|Chunk|DigitalDocument|CreativeWork|Question|FAQPage|DefinedTerm|Review|ImageObject
|
|
480
|
-
|Conversation|AdminConversation|PublicConversation|Message|UserMessage|AssistantMessage|ToolCall
|
|
481
|
-
|Task|Project|Event|Meeting|Attachment
|
|
482
|
-
|Workflow|WorkflowStep|WorkflowRun|StepResult
|
|
483
|
-
|EmailAccount
|
|
484
|
-
|Position|Credential|Agent|Idea|Concept
|
|
485
|
-
|VoiceProfile|VoiceEdit|SocialPost|AEOAudit|Page
|
|
486
|
-
|TimelineEvent|CompiledTruthRevision|Report|OrphanCandidate|CitationProposal)
|
|
487
|
-
ON EACH [n.name, n.firstName, n.lastName, n.givenName, n.familyName,
|
|
488
|
-
n.title, n.currentTitle, n.summary, n.body, n.content, n.text, n.description, n.headline, n.abstract,
|
|
489
|
-
n.email, n.note, n.label, n.value, n.message, n.preview, n.tagline,
|
|
490
|
-
n.subject, n.bodyPreview, n.fromName, n.fromAddress, n.agentAddress, n.screeningReason,
|
|
491
|
-
n.authority, n.contactValue, n.toolName,
|
|
492
|
-
n.displayName, n.slug, n.role,
|
|
493
|
-
n.compiledTruthPublic];
|
|
494
469
|
// `compiledTruth` (Task 306) is the authoritative admin-side summary on
|
|
495
|
-
// Person/Company/Concept/Project/LocalBusiness
|
|
496
|
-
// (Task 392) is
|
|
497
|
-
//
|
|
498
|
-
//
|
|
499
|
-
// is shaped only by the text the caller's scope is allowed to read.
|
|
470
|
+
// Person/Company/Concept/Project/LocalBusiness, indexed above. Its customer-facing
|
|
471
|
+
// twin `compiledTruthPublic` (Task 392) is still written, but is no longer
|
|
472
|
+
// fulltext-indexed: the public index it fed was retired with the public read
|
|
473
|
+
// path (Task 654), so no BM25 surface ranks against it.
|
|
500
474
|
|
|
501
475
|
// Project node — a standalone creative-output node distinct from
|
|
502
476
|
// :Section. Anchored via (:UserProfile)-[:CREATED]->(:Project), with optional
|
|
@@ -1324,7 +1298,9 @@ FOR (a:PostalAddress) ON (a.postalCode);
|
|
|
1324
1298
|
//
|
|
1325
1299
|
// Uniqueness constraints where a clean natural key exists; accountId-index-
|
|
1326
1300
|
// only for child nodes whose uniqueness is a write-time MERGE (LineItem,
|
|
1327
|
-
// Milestone,
|
|
1301
|
+
// Milestone, CheckIn) — mirrors :ImageObject. :Worker is an
|
|
1302
|
+
// additional label on :Person (no standalone node), so it carries no line of
|
|
1303
|
+
// its own here, same as :Applicant in the estate-agent block.
|
|
1328
1304
|
//
|
|
1329
1305
|
// Search quality (Task 652). The four text-bearing labels — :Job (client +
|
|
1330
1306
|
// address), :LineItem (trade + description), :QuoteDocument, :VariationNote
|
|
@@ -1423,20 +1399,8 @@ FOR (ii:InboundInvoice) REQUIRE (ii.accountId, ii.supplier, ii.confirmationNumbe
|
|
|
1423
1399
|
CREATE INDEX inbound_invoice_account IF NOT EXISTS
|
|
1424
1400
|
FOR (ii:InboundInvoice) ON (ii.accountId);
|
|
1425
1401
|
|
|
1426
|
-
CREATE
|
|
1427
|
-
FOR (
|
|
1428
|
-
|
|
1429
|
-
CREATE INDEX subcontractor_account IF NOT EXISTS
|
|
1430
|
-
FOR (sc:SubContractor) ON (sc.accountId);
|
|
1431
|
-
|
|
1432
|
-
CREATE INDEX time_log_account IF NOT EXISTS
|
|
1433
|
-
FOR (tl:TimeLog) ON (tl.accountId);
|
|
1434
|
-
|
|
1435
|
-
CREATE CONSTRAINT sub_invoice_account_sub_period_unique IF NOT EXISTS
|
|
1436
|
-
FOR (si:SubInvoice) REQUIRE (si.accountId, si.subContractorId, si.period) IS UNIQUE;
|
|
1437
|
-
|
|
1438
|
-
CREATE INDEX sub_invoice_account IF NOT EXISTS
|
|
1439
|
-
FOR (si:SubInvoice) ON (si.accountId);
|
|
1402
|
+
CREATE INDEX checkin_account IF NOT EXISTS
|
|
1403
|
+
FOR (ci:CheckIn) ON (ci.accountId);
|
|
1440
1404
|
|
|
1441
1405
|
CREATE CONSTRAINT whatsapp_group_account_groupid_unique IF NOT EXISTS
|
|
1442
1406
|
FOR (wg:WhatsAppGroup) REQUIRE (wg.accountId, wg.groupId) IS UNIQUE;
|
|
@@ -7,7 +7,7 @@ description: "Deliver a file or document to the owner inside chat for review and
|
|
|
7
7
|
|
|
8
8
|
Invoked by the admin agent directly.
|
|
9
9
|
|
|
10
|
-
This skill covers presenting editable content for inline review before it is persisted, and delivering a finished file to the owner. Deliver by inventory, not by recipe
|
|
10
|
+
This skill covers presenting editable content for inline review before it is persisted, and delivering a finished file to the owner. Deliver by inventory, not by recipe. On a turn that arrived over a message channel (web chat, WhatsApp, Telegram), the native `SendUserFile` tool is your file-sending path: call it with the file's path and the platform forwards the file to that conversation as a real attachment — do not paste the file's contents as a fallback. If you cannot send it yourself (for example you are a specialist running as a subagent), write the file under `output/` and state its full path in your result; the main session delivers it to the owner. On the admin dashboard, an `output/` file also appears in the Artefacts panel and on the file share.
|
|
11
11
|
|
|
12
12
|
## The trigger
|
|
13
13
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: platform-architecture
|
|
3
3
|
description: Use when grounding any documented-surface claim about what Maxy ships — plugins, skills, specialists, install/deploy flows, internals. This is the install catalogue, not evidence of what is enabled on the current account. For install state on this account, call `capabilities-here`; for documented surface, cite the `Source:` URL inline.
|
|
4
|
-
content-hash: sha256:
|
|
4
|
+
content-hash: sha256:f0677ad1f77878f3dd86ce0c1717103701ab0d7081d82ba4d9505b1922e71c9f
|
|
5
5
|
brand: maxy-code
|
|
6
6
|
product-name: Maxy
|
|
7
7
|
---
|
|
@@ -1556,7 +1556,7 @@ Every node also carries a provenance stamp — which agent wrote it, in which se
|
|
|
1556
1556
|
|
|
1557
1557
|
## Vertical schemas
|
|
1558
1558
|
|
|
1559
|
-
On top of the base graph, each brand boots one optional **vertical** — an extra set of entity types tailored to a trade. The vertical is named by `brand.json#vertical` and defined in a `schema-<name>.md` reference; the memory plugin loads it at startup and validates every write against base + the active vertical. Real Agent boots `schema-estate-agent` (Listing, Property, Viewing, Offer). SiteOffice boots `schema-construction`, which adds the building-contractor entities — `Job`, `LineItem`, `Valuation`, `Milestone`, `QuoteDocument`, `VariationNote`, `InboundInvoice`, `
|
|
1559
|
+
On top of the base graph, each brand boots one optional **vertical** — an extra set of entity types tailored to a trade. The vertical is named by `brand.json#vertical` and defined in a `schema-<name>.md` reference; the memory plugin loads it at startup and validates every write against base + the active vertical. Real Agent boots `schema-estate-agent` (Listing, Property, Viewing, Offer). SiteOffice boots `schema-construction`, which adds the building-contractor entities — `Job`, `LineItem`, `Valuation`, `Milestone`, `QuoteDocument`, `VariationNote`, `InboundInvoice`, `WhatsAppGroup` — grounded in real builder job folders so a job's quote, valuations, variations, and received supplier and subcontractor invoices all hang off one `Job` node. The default Maxy brand boots no vertical (base graph only).
|
|
1560
1560
|
|
|
1561
1561
|
## Public-facing summaries for customer-readable subjects
|
|
1562
1562
|
|
|
@@ -2567,8 +2567,8 @@ authoritative. This section names the surfaces and what backs each.
|
|
|
2567
2567
|
| `+ New session` button | Opens `NewSessionModal`, which POSTs `{channel, permissionMode, model, initialMessage}` to `/api/admin/claude-sessions`. | `claude-sessions.ts` |
|
|
2568
2568
|
| Mode trigger | Per-`(accountId, userId)` `SpawnPreference` for `permissionMode` and `model`; persists across reload, tab, device. | `session-defaults.ts` |
|
|
2569
2569
|
| Nav rows (Chat / People / Agents / Projects / Tasks / Artefacts) | People, Agents, Tasks open the artefact-pane Graph filtered to the matching label. Chat selects the active conversation. Artefacts swaps the list to editable documents. | `graph-search.ts`, `graph-subgraph.ts`, `sidebar-artefacts.ts` |
|
|
2570
|
-
| Sessions list (Active / Archived / All) | Live row store driven by SSE; manual reconcile button on the segmented control re-fetches the full id set. Every listed row carries two launch actions: the claude.ai/code resume (`ExternalLink`) and a chat-launch (`MessageSquare`) that opens `/chat?session=<full sessionId>` — the admin webchat pointed at that exact session; sending there resumes a stopped session with the webchat channel bound to that id (see `admin-webchat-native-channel.md`, "Session-targeted mode"). At the ≤720 px drawer breakpoint each row stacks into two lines — dot + title + id/stamp, then the action icons — with a divider between rows and actions at full opacity (the desktop hover-gated 0.5 opacity never resolves on touch). Below a 400 px list width each row's action icons collapse to a single `MoreHorizontal` ellipsis trigger; its popover menu lists the same actions as the inline icons but labels them with concise verbs (`Resume in claude.ai/code`, `Open in webchat`, `Stop`, `Archive` / `Unarchive`, `Rename`, `Delete`) rather than the inline icon buttons' verbose per-session aria-labels — the inline buttons keep those verbose labels because an icon-only control needs the full descriptive accessible name. | `/claude-sessions/events`, `/claude-sessions` |
|
|
2571
|
-
| Channel reader nav rows (WhatsApp / Telegram) | One conditional nav row **per interactive channel that has ≥1 admin session**. Each row carries its brand glyph (WhatsApp `#25D366`, Telegram `#229ED9`); a channel with no admin session shows no row, and no install ever shows an always-empty "No conversations" row. The channel list loads **once on sidebar mount** (the per-channel counts must be known before the nav renders), so a failed load shows one muted, non-clickable line instead of channel rows. Clicking a channel row lists that channel's admin conversations; each conversation row shows a **display name** resolved by precedence `operatorName ?? whatsappName ?? senderId ?? title`: the bound `Person givenName familyName` when a `senderId`→`userId` binding exists, else the persisted WhatsApp display name (`pushName`, read from the latest `:Message:WhatsAppMessage.senderName`), else the raw `senderId`, else the agent title; the agent session title is the hover tooltip only. Under the name each row shows a **last-message-time breadcrumb** (`conv-timestamp`, same markup as the Sessions rows) formatted from the row's `lastMessageAt` (the last parseable turn's `ts`); a session with no parseable turn shows no time, never "Invalid Date". A click on a conversation **opens its transcript on the home surface**: on `/` it selects in place, and from any other route (`/graph`, `/data`, `/browser`) it navigates to `/?wa=<sessionId>&projectDir=<dir>`, which the root shell hydrates on mount (then strips the query so a later refresh does not re-pin a closed conversation). Server logs `[wa-reader] op=operator-name-fallback senderId=… source=whatsapp-pushname` when the pushName fallback fires and `[wa-reader] op=conversations count=<n> withTimestamp=<m>` per list build; the client logs `[admin-ui] wa-open route=… via=<in-place\|navigate> …` and `[admin-ui] wa-hydrate route=/ …`. | `/whatsapp-reader/conversations` |
|
|
2570
|
+
| Sessions list (Active / Archived / All) | Live row store driven by SSE; manual reconcile button on the segmented control re-fetches the full id set. Every listed row carries two launch actions: the claude.ai/code resume (`ExternalLink`) and a chat-launch (`MessageSquare`) that opens `/chat?session=<full sessionId>` — the admin webchat pointed at that exact session; sending there resumes a stopped session with the webchat channel bound to that id (see `admin-webchat-native-channel.md`, "Session-targeted mode"). At the ≤720 px drawer breakpoint each row stacks into two lines — dot + title + id/stamp, then the action icons — with a divider between rows and actions at full opacity (the desktop hover-gated 0.5 opacity never resolves on touch). Below a 400 px list width each row's action icons collapse to a single `MoreHorizontal` ellipsis trigger; its popover menu lists the same actions as the inline icons but labels them with concise verbs (`Resume in claude.ai/code`, `Open in webchat`, `Stop`, `Archive` / `Unarchive`, `Rename`, `Delete`, `Re-seat`) rather than the inline icon buttons' verbose per-session aria-labels — the inline buttons keep those verbose labels because an icon-only control needs the full descriptive accessible name. **Re-seat:** Re-seat is a member action of the one `SessionRowActions` cluster, not a separate sibling control — wide it is the sliders icon inline with the other icons (sharing the cluster geometry and alignment); collapsed it is the `Re-seat` menu item, which expands the model/mode/effort form inline inside the overflow menu. The form (`SessionReseatControl`) forks the session via `/api/admin/session-reseat` and navigates to the fork (the same fork mechanism `/chat`'s pickers drive); its model picker defaults to the row's current model (a `model` field on each row, read from the JSONL tail), and mode and effort each carry a "Keep" option that omits the field. The overflow menu and the Re-seat form render through a `document.body` portal, fixed-positioned from the trigger's rect (right-aligned, flipped above the trigger when there is no room below), so neither is clipped by `.side-list`'s `overflow-y:auto`; Escape, a pointerdown outside the trigger/popover, and any scroll or resize dismiss them. | `/claude-sessions/events`, `/claude-sessions`, `/session-reseat` |
|
|
2571
|
+
| Channel reader nav rows (WhatsApp / Telegram) | One conditional nav row **per interactive channel that has ≥1 admin session**. Each row carries its brand glyph (WhatsApp `#25D366`, Telegram `#229ED9`); a channel with no admin session shows no row, and no install ever shows an always-empty "No conversations" row. The channel list loads **once on sidebar mount** (the per-channel counts must be known before the nav renders), so a failed load shows one muted, non-clickable line instead of channel rows. Clicking a channel row lists that channel's admin conversations; each conversation row shows a **display name** resolved by precedence `operatorName ?? whatsappName ?? senderId ?? title`: the bound `Person givenName familyName` when a `senderId`→`userId` binding exists, else the persisted WhatsApp display name (`pushName`, read from the latest `:Message:WhatsAppMessage.senderName`), else the raw `senderId`, else the agent title; the agent session title is the hover tooltip only. Under the name each row shows a **last-message-time breadcrumb** (`conv-timestamp`, same markup as the Sessions rows) formatted from the row's `lastMessageAt` (the last parseable turn's `ts`); a session with no parseable turn shows no time, never "Invalid Date". **Re-seat:** each channel conversation row carries a `SessionRowActions` cluster whose sole action is Re-seat (the row is a `conv-with-actions` shell whose open click moved onto an inner button so the cluster can sit beside it), so a WhatsApp/Telegram session's model/mode/effort is re-seatable from the dashboard exactly like a webchat row — wide it is the inline sliders icon, and below the 400 px width it folds into the `…` overflow menu identically to the Sessions rows; the channel reader row carries the same `model` field for the picker default. A click on a conversation **opens its transcript on the home surface**: on `/` it selects in place, and from any other route (`/graph`, `/data`, `/browser`) it navigates to `/?wa=<sessionId>&projectDir=<dir>`, which the root shell hydrates on mount (then strips the query so a later refresh does not re-pin a closed conversation). Server logs `[wa-reader] op=operator-name-fallback senderId=… source=whatsapp-pushname` when the pushName fallback fires and `[wa-reader] op=conversations count=<n> withTimestamp=<m>` per list build; the client logs `[admin-ui] wa-open route=… via=<in-place\|navigate> …` and `[admin-ui] wa-hydrate route=/ …`. | `/whatsapp-reader/conversations` |
|
|
2572
2572
|
| Channel transcript (`<Transcript>`) | Reads one session's JSONL over SSE (`/whatsapp-reader/stream`) and renders both sides plus tool calls — the turns claude.ai/code hides because channel inbound is stamped `isMeta`. Every turn shows its time-of-day (HH:MM from the turn's `ts`; a null/unparseable `ts` shows no time, never "Invalid Date"). `tool-call`/`tool-result` turns render as **collapsed cards** (chevron + label + time, default collapsed, expandable per card; one card's state never affects another) so the human↔agent text is not buried in JSON; the three conversation kinds always render in full. The thread **follows the tail**: it opens at the newest turn and pins to the bottom on each live append **only while the operator is already within 32 px of the bottom** — a scroll up suppresses the jump so reading history is never yanked. While the operator is scrolled up a **jump-to-bottom control** (`.wa-jump`, bottom-right of the viewport) appears; clicking it scrolls to the newest turn and re-arms follow-tail, and it hides again at the bottom. The thread scrolls inside its grid cell (header/sidebar/footer fixed). The stream sends a 20 s heartbeat so an idle Cloudflare tunnel does not idle-drop, tags each frame with a byte-offset `id:`, and resumes from the client's `Last-Event-ID` on reconnect (no duplicate backlog); the client clears the "Stream disconnected" banner on reopen and latches it only on a terminal CLOSED state. The thread also interleaves a collapsed `⚙ directive injected (N B)` row per turn, sorted by timestamp just before the turn it informed; expanding one fetches the exact stored `prompt-optimiser-directive` bytes for that turn. The entries are listed by `GET /whatsapp-reader/directives?sessionId=` and the bytes served by `GET /whatsapp-reader/directive?sessionId=&name=`, both admin-gated and account-scoped; a missing store degrades to no rows. | `/whatsapp-reader/stream`, `/whatsapp-reader/directives`, `/whatsapp-reader/directive` |
|
|
2573
2573
|
| Conversations row hover actions | Inline rename, archive, delete, JSONL view / download per row. The historical `.conversations-modal` CSS block exists in `globals.css` but is no longer mounted from any TSX — Sidebar.tsx now owns every per-row affordance directly. | `claude-sessions.ts` |
|
|
2574
2574
|
| Artefacts list | Lists every `:FileArtifact` under this account's tree (`relativePath STARTS WITH 'accounts/'`, all file types, excluding the `uploads/<id>/` subtree) plus this account's IDENTITY / SOUL / KNOWLEDGE / specialist templates. Click downloads the row's backing file (`downloadPath` → `GET /api/admin/files/download`) so the operator opens it in their local app; rows whose file is outside `DATA_ROOT` (bundled-fallback templates) show a "can't be downloaded" pill. The in-app artefact pane is dead pending removal. | `sidebar-artefacts.ts`, `files.ts` |
|
|
@@ -3241,16 +3241,15 @@ The admin agent runs via Claude Code CLI, which manages its own system prompt as
|
|
|
3241
3241
|
|
|
3242
3242
|
This is assembled as a `<previous-context>` block in the system prompt on each admin turn.
|
|
3243
3243
|
|
|
3244
|
-
###
|
|
3244
|
+
### Public-agent memory context (retired)
|
|
3245
3245
|
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
This subprocess model means each public agent query gets an isolated, short-lived memory server instance with the correct scope constraints baked into its environment.
|
|
3246
|
+
Public agents historically had their memory context injected by a server-side bridge
|
|
3247
|
+
(`fetchMemoryContext`) that spawned the memory MCP server with `ALLOWED_SCOPES=public,shared`
|
|
3248
|
+
and ran a `memory-search` on the agent's behalf. That bridge has been removed: public agents
|
|
3249
|
+
are now toolless (`buildPublicDeny` denies `mcp__memory__*`), so neither the agent nor a
|
|
3250
|
+
server-side proxy runs a public-scope memory read. The public-scope fulltext index that this
|
|
3251
|
+
path ranked against was retired alongside it. Restoring read-back for gated visitors is
|
|
3252
|
+
tracked separately — see the gated-public-agents doc.
|
|
3254
3253
|
|
|
3255
3254
|
---
|
|
3256
3255
|
|
|
@@ -149,7 +149,7 @@ Emit `[professional-document] pdf-saved path=<operator-named-path> bytes=<n>`.
|
|
|
149
149
|
|
|
150
150
|
### 10. Deliver
|
|
151
151
|
|
|
152
|
-
The PDF you saved is the deliverable
|
|
152
|
+
The PDF you saved is the deliverable. How you hand it over depends on the surface this turn arrived on. On a message channel (web chat, WhatsApp, Telegram), call `SendUserFile` with the saved path and the platform forwards the PDF to that conversation as a real attachment. On the admin dashboard, a path under `accounts/<accountId>/output/` appears in the Artefacts panel (downloadable) and is reachable on the file share. Either way, state the complete path in your reply, never a vague pointer. See the `file-presentation` skill for the wording.
|
|
153
153
|
|
|
154
154
|
## Doctrine
|
|
155
155
|
|
|
@@ -95,6 +95,8 @@ The Hono route `POST /api/admin/claude-sessions` at [`platform/ui/server/routes/
|
|
|
95
95
|
|
|
96
96
|
The metadata pane surfaces two distinct identifier values. The three-id model was collapsed back to a single-identity contract: claude's bridge suffix and the JSONL basename UUID are two phases of one claude-side identity, not two operator-visible identifiers. The manager resolver accepts either phase on any route. The wire emits one canonical `sessionId` — whichever phase is current — and the pane shows one row.
|
|
97
97
|
|
|
98
|
+
**Re-seat mints a new id.** Model, mode, and effort are inception-only levers — claude reads them when a session is born and the `claude rc` daemon exposes no per-session switch — so changing one on an *existing* session forks it: `/api/admin/session-reseat` pre-mints a fresh `sessionId`, the manager `/rc-spawn` fork branch runs `--resume <old> --fork-session --session-id <new> --model <model>` (copying history into the new id), and the operator lands on the fork. The fork pins the chosen model and, when supplied, the chosen `permissionMode` (pushed as `--permission-mode`, one of the 5 composer-writable modes) and `effort` (`low|medium|high|xhigh`, merged into the per-spawn inline `--settings.effortLevel`); each is validated against its allowlist before reaching the argv (a present-but-disallowed value is a 400). Both `/chat`'s composer pickers and the dashboard's per-row Re-seat control drive this one fork, for webchat and WhatsApp/Telegram sessions alike. The full write path is in [`admin-webchat-native-channel.md`](../../../.docs/admin-webchat-native-channel.md).
|
|
99
|
+
|
|
98
100
|
| Operator label | What it is | Manager wire field | Log key |
|
|
99
101
|
|---|---|---|---|
|
|
100
102
|
| `sessionId` | Claude's session. Two phases: bridge suffix (`session_xxx`, the URL segment in `claude.ai/code/<session_xxx>`, set when claude prints the `/remote-control` URL) and JSONL basename UUID (claude's intrinsic id on disk, bound when the first turn flushes the JSONL). Both phases coexist on a live row after URL capture; the manager wire emits the bridge form when set, falling back to the JSONL basename in the pre-URL-capture window. The resolver routes either phase to the same row, so callers never need to choose. | `sessionId` (collapsed from the earlier three-field surface `sessionId` + `claudeSessionId` + `bridgeSessionId`) | `sessionId=` |
|
|
@@ -302,8 +302,8 @@ authoritative. This section names the surfaces and what backs each.
|
|
|
302
302
|
| `+ New session` button | Opens `NewSessionModal`, which POSTs `{channel, permissionMode, model, initialMessage}` to `/api/admin/claude-sessions`. | `claude-sessions.ts` |
|
|
303
303
|
| Mode trigger | Per-`(accountId, userId)` `SpawnPreference` for `permissionMode` and `model`; persists across reload, tab, device. | `session-defaults.ts` |
|
|
304
304
|
| Nav rows (Chat / People / Agents / Projects / Tasks / Artefacts) | People, Agents, Tasks open the artefact-pane Graph filtered to the matching label. Chat selects the active conversation. Artefacts swaps the list to editable documents. | `graph-search.ts`, `graph-subgraph.ts`, `sidebar-artefacts.ts` |
|
|
305
|
-
| Sessions list (Active / Archived / All) | Live row store driven by SSE; manual reconcile button on the segmented control re-fetches the full id set. Every listed row carries two launch actions: the claude.ai/code resume (`ExternalLink`) and a chat-launch (`MessageSquare`) that opens `/chat?session=<full sessionId>` — the admin webchat pointed at that exact session; sending there resumes a stopped session with the webchat channel bound to that id (see `admin-webchat-native-channel.md`, "Session-targeted mode"). At the ≤720 px drawer breakpoint each row stacks into two lines — dot + title + id/stamp, then the action icons — with a divider between rows and actions at full opacity (the desktop hover-gated 0.5 opacity never resolves on touch). Below a 400 px list width each row's action icons collapse to a single `MoreHorizontal` ellipsis trigger; its popover menu lists the same actions as the inline icons but labels them with concise verbs (`Resume in claude.ai/code`, `Open in webchat`, `Stop`, `Archive` / `Unarchive`, `Rename`, `Delete`) rather than the inline icon buttons' verbose per-session aria-labels — the inline buttons keep those verbose labels because an icon-only control needs the full descriptive accessible name. | `/claude-sessions/events`, `/claude-sessions` |
|
|
306
|
-
| Channel reader nav rows (WhatsApp / Telegram) | One conditional nav row **per interactive channel that has ≥1 admin session**. Each row carries its brand glyph (WhatsApp `#25D366`, Telegram `#229ED9`); a channel with no admin session shows no row, and no install ever shows an always-empty "No conversations" row. The channel list loads **once on sidebar mount** (the per-channel counts must be known before the nav renders), so a failed load shows one muted, non-clickable line instead of channel rows. Clicking a channel row lists that channel's admin conversations; each conversation row shows a **display name** resolved by precedence `operatorName ?? whatsappName ?? senderId ?? title`: the bound `Person givenName familyName` when a `senderId`→`userId` binding exists, else the persisted WhatsApp display name (`pushName`, read from the latest `:Message:WhatsAppMessage.senderName`), else the raw `senderId`, else the agent title; the agent session title is the hover tooltip only. Under the name each row shows a **last-message-time breadcrumb** (`conv-timestamp`, same markup as the Sessions rows) formatted from the row's `lastMessageAt` (the last parseable turn's `ts`); a session with no parseable turn shows no time, never "Invalid Date". A click on a conversation **opens its transcript on the home surface**: on `/` it selects in place, and from any other route (`/graph`, `/data`, `/browser`) it navigates to `/?wa=<sessionId>&projectDir=<dir>`, which the root shell hydrates on mount (then strips the query so a later refresh does not re-pin a closed conversation). Server logs `[wa-reader] op=operator-name-fallback senderId=… source=whatsapp-pushname` when the pushName fallback fires and `[wa-reader] op=conversations count=<n> withTimestamp=<m>` per list build; the client logs `[admin-ui] wa-open route=… via=<in-place\|navigate> …` and `[admin-ui] wa-hydrate route=/ …`. | `/whatsapp-reader/conversations` |
|
|
305
|
+
| Sessions list (Active / Archived / All) | Live row store driven by SSE; manual reconcile button on the segmented control re-fetches the full id set. Every listed row carries two launch actions: the claude.ai/code resume (`ExternalLink`) and a chat-launch (`MessageSquare`) that opens `/chat?session=<full sessionId>` — the admin webchat pointed at that exact session; sending there resumes a stopped session with the webchat channel bound to that id (see `admin-webchat-native-channel.md`, "Session-targeted mode"). At the ≤720 px drawer breakpoint each row stacks into two lines — dot + title + id/stamp, then the action icons — with a divider between rows and actions at full opacity (the desktop hover-gated 0.5 opacity never resolves on touch). Below a 400 px list width each row's action icons collapse to a single `MoreHorizontal` ellipsis trigger; its popover menu lists the same actions as the inline icons but labels them with concise verbs (`Resume in claude.ai/code`, `Open in webchat`, `Stop`, `Archive` / `Unarchive`, `Rename`, `Delete`, `Re-seat`) rather than the inline icon buttons' verbose per-session aria-labels — the inline buttons keep those verbose labels because an icon-only control needs the full descriptive accessible name. **Re-seat:** Re-seat is a member action of the one `SessionRowActions` cluster, not a separate sibling control — wide it is the sliders icon inline with the other icons (sharing the cluster geometry and alignment); collapsed it is the `Re-seat` menu item, which expands the model/mode/effort form inline inside the overflow menu. The form (`SessionReseatControl`) forks the session via `/api/admin/session-reseat` and navigates to the fork (the same fork mechanism `/chat`'s pickers drive); its model picker defaults to the row's current model (a `model` field on each row, read from the JSONL tail), and mode and effort each carry a "Keep" option that omits the field. The overflow menu and the Re-seat form render through a `document.body` portal, fixed-positioned from the trigger's rect (right-aligned, flipped above the trigger when there is no room below), so neither is clipped by `.side-list`'s `overflow-y:auto`; Escape, a pointerdown outside the trigger/popover, and any scroll or resize dismiss them. | `/claude-sessions/events`, `/claude-sessions`, `/session-reseat` |
|
|
306
|
+
| Channel reader nav rows (WhatsApp / Telegram) | One conditional nav row **per interactive channel that has ≥1 admin session**. Each row carries its brand glyph (WhatsApp `#25D366`, Telegram `#229ED9`); a channel with no admin session shows no row, and no install ever shows an always-empty "No conversations" row. The channel list loads **once on sidebar mount** (the per-channel counts must be known before the nav renders), so a failed load shows one muted, non-clickable line instead of channel rows. Clicking a channel row lists that channel's admin conversations; each conversation row shows a **display name** resolved by precedence `operatorName ?? whatsappName ?? senderId ?? title`: the bound `Person givenName familyName` when a `senderId`→`userId` binding exists, else the persisted WhatsApp display name (`pushName`, read from the latest `:Message:WhatsAppMessage.senderName`), else the raw `senderId`, else the agent title; the agent session title is the hover tooltip only. Under the name each row shows a **last-message-time breadcrumb** (`conv-timestamp`, same markup as the Sessions rows) formatted from the row's `lastMessageAt` (the last parseable turn's `ts`); a session with no parseable turn shows no time, never "Invalid Date". **Re-seat:** each channel conversation row carries a `SessionRowActions` cluster whose sole action is Re-seat (the row is a `conv-with-actions` shell whose open click moved onto an inner button so the cluster can sit beside it), so a WhatsApp/Telegram session's model/mode/effort is re-seatable from the dashboard exactly like a webchat row — wide it is the inline sliders icon, and below the 400 px width it folds into the `…` overflow menu identically to the Sessions rows; the channel reader row carries the same `model` field for the picker default. A click on a conversation **opens its transcript on the home surface**: on `/` it selects in place, and from any other route (`/graph`, `/data`, `/browser`) it navigates to `/?wa=<sessionId>&projectDir=<dir>`, which the root shell hydrates on mount (then strips the query so a later refresh does not re-pin a closed conversation). Server logs `[wa-reader] op=operator-name-fallback senderId=… source=whatsapp-pushname` when the pushName fallback fires and `[wa-reader] op=conversations count=<n> withTimestamp=<m>` per list build; the client logs `[admin-ui] wa-open route=… via=<in-place\|navigate> …` and `[admin-ui] wa-hydrate route=/ …`. | `/whatsapp-reader/conversations` |
|
|
307
307
|
| Channel transcript (`<Transcript>`) | Reads one session's JSONL over SSE (`/whatsapp-reader/stream`) and renders both sides plus tool calls — the turns claude.ai/code hides because channel inbound is stamped `isMeta`. Every turn shows its time-of-day (HH:MM from the turn's `ts`; a null/unparseable `ts` shows no time, never "Invalid Date"). `tool-call`/`tool-result` turns render as **collapsed cards** (chevron + label + time, default collapsed, expandable per card; one card's state never affects another) so the human↔agent text is not buried in JSON; the three conversation kinds always render in full. The thread **follows the tail**: it opens at the newest turn and pins to the bottom on each live append **only while the operator is already within 32 px of the bottom** — a scroll up suppresses the jump so reading history is never yanked. While the operator is scrolled up a **jump-to-bottom control** (`.wa-jump`, bottom-right of the viewport) appears; clicking it scrolls to the newest turn and re-arms follow-tail, and it hides again at the bottom. The thread scrolls inside its grid cell (header/sidebar/footer fixed). The stream sends a 20 s heartbeat so an idle Cloudflare tunnel does not idle-drop, tags each frame with a byte-offset `id:`, and resumes from the client's `Last-Event-ID` on reconnect (no duplicate backlog); the client clears the "Stream disconnected" banner on reopen and latches it only on a terminal CLOSED state. The thread also interleaves a collapsed `⚙ directive injected (N B)` row per turn, sorted by timestamp just before the turn it informed; expanding one fetches the exact stored `prompt-optimiser-directive` bytes for that turn. The entries are listed by `GET /whatsapp-reader/directives?sessionId=` and the bytes served by `GET /whatsapp-reader/directive?sessionId=&name=`, both admin-gated and account-scoped; a missing store degrades to no rows. | `/whatsapp-reader/stream`, `/whatsapp-reader/directives`, `/whatsapp-reader/directive` |
|
|
308
308
|
| Conversations row hover actions | Inline rename, archive, delete, JSONL view / download per row. The historical `.conversations-modal` CSS block exists in `globals.css` but is no longer mounted from any TSX — Sidebar.tsx now owns every per-row affordance directly. | `claude-sessions.ts` |
|
|
309
309
|
| Artefacts list | Lists every `:FileArtifact` under this account's tree (`relativePath STARTS WITH 'accounts/'`, all file types, excluding the `uploads/<id>/` subtree) plus this account's IDENTITY / SOUL / KNOWLEDGE / specialist templates. Click downloads the row's backing file (`downloadPath` → `GET /api/admin/files/download`) so the operator opens it in their local app; rows whose file is outside `DATA_ROOT` (bundled-fallback templates) show a "can't be downloaded" pill. The in-app artefact pane is dead pending removal. | `sidebar-artefacts.ts`, `files.ts` |
|
|
@@ -373,16 +373,15 @@ The admin agent runs via Claude Code CLI, which manages its own system prompt as
|
|
|
373
373
|
|
|
374
374
|
This is assembled as a `<previous-context>` block in the system prompt on each admin turn.
|
|
375
375
|
|
|
376
|
-
###
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
This subprocess model means each public agent query gets an isolated, short-lived memory server instance with the correct scope constraints baked into its environment.
|
|
376
|
+
### Public-agent memory context (retired)
|
|
377
|
+
|
|
378
|
+
Public agents historically had their memory context injected by a server-side bridge
|
|
379
|
+
(`fetchMemoryContext`) that spawned the memory MCP server with `ALLOWED_SCOPES=public,shared`
|
|
380
|
+
and ran a `memory-search` on the agent's behalf. That bridge has been removed: public agents
|
|
381
|
+
are now toolless (`buildPublicDeny` denies `mcp__memory__*`), so neither the agent nor a
|
|
382
|
+
server-side proxy runs a public-scope memory read. The public-scope fulltext index that this
|
|
383
|
+
path ranked against was retired alongside it. Restoring read-back for gated visitors is
|
|
384
|
+
tracked separately — see the gated-public-agents doc.
|
|
386
385
|
|
|
387
386
|
---
|
|
388
387
|
|
|
@@ -144,7 +144,7 @@ Every node also carries a provenance stamp — which agent wrote it, in which se
|
|
|
144
144
|
|
|
145
145
|
## Vertical schemas
|
|
146
146
|
|
|
147
|
-
On top of the base graph, each brand boots one optional **vertical** — an extra set of entity types tailored to a trade. The vertical is named by `brand.json#vertical` and defined in a `schema-<name>.md` reference; the memory plugin loads it at startup and validates every write against base + the active vertical. Real Agent boots `schema-estate-agent` (Listing, Property, Viewing, Offer). SiteOffice boots `schema-construction`, which adds the building-contractor entities — `Job`, `LineItem`, `Valuation`, `Milestone`, `QuoteDocument`, `VariationNote`, `InboundInvoice`, `
|
|
147
|
+
On top of the base graph, each brand boots one optional **vertical** — an extra set of entity types tailored to a trade. The vertical is named by `brand.json#vertical` and defined in a `schema-<name>.md` reference; the memory plugin loads it at startup and validates every write against base + the active vertical. Real Agent boots `schema-estate-agent` (Listing, Property, Viewing, Offer). SiteOffice boots `schema-construction`, which adds the building-contractor entities — `Job`, `LineItem`, `Valuation`, `Milestone`, `QuoteDocument`, `VariationNote`, `InboundInvoice`, `WhatsAppGroup` — grounded in real builder job folders so a job's quote, valuations, variations, and received supplier and subcontractor invoices all hang off one `Job` node. The default Maxy brand boots no vertical (base graph only).
|
|
148
148
|
|
|
149
149
|
## Public-facing summaries for customer-readable subjects
|
|
150
150
|
|
|
@@ -15,7 +15,7 @@ const server = new McpServer({
|
|
|
15
15
|
name: "maxy-graph-viewer",
|
|
16
16
|
version: "0.1.0",
|
|
17
17
|
});
|
|
18
|
-
eagerTool(server, "graph-render", "Render a PNG of an account-scoped Neo4j subgraph rooted at a given nodeId, walking up to hopDepth hops (0-3). Writes the PNG to data/accounts/<accountId>/output/graph-render/ and returns {ok:true, path, nodeCount, edgeCount, width, height, truncated?}.
|
|
18
|
+
eagerTool(server, "graph-render", "Render a PNG of an account-scoped Neo4j subgraph rooted at a given nodeId, walking up to hopDepth hops (0-3). Writes the PNG to data/accounts/<accountId>/output/graph-render/ and returns {ok:true, path, nodeCount, edgeCount, width, height, truncated?}. MCP image content blocks are not surfaced in the maxy-code chat UI, so callers deliver the PNG by its path: on the admin dashboard the output/ path appears in the operator's Artefacts panel (downloadable) and on their file share, and on a message channel the caller forwards it with SendUserFile as an attachment. Either way, callers tell the operator that exact path. The image uses the same colour palette and short-label strings as the live /graph page; node positions differ (d3-force, not vis-network) and are auto-fit to the canvas. Subgraphs above 200 nodes are capped and the envelope carries truncated={rendered,total}. Trashed nodes are excluded. Use when the operator asks to see what a subgraph looks like and you want to avoid making them switch to the admin UI on a different device.", {
|
|
19
19
|
accountId: z.string().min(1).describe("Operator account id. The root nodeId must belong to this account or the tool refuses with reason=scope."),
|
|
20
20
|
nodeId: z.string().min(1).describe("elementId of the root node, as returned by memory-search or other graph tools."),
|
|
21
21
|
hopDepth: z.number().int().min(0).max(3).describe("Number of hops to walk from the root (0 = just the root). Max 3."),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,aAAa,CAAC,cAAc,CAAC,CAAC;AAE9B,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,MAAM,GAAG,IAAI,SAAS,CAAC;IAC3B,IAAI,EAAE,mBAAmB;IACzB,OAAO,EAAE,OAAO;CACjB,CAAC,CAAC;AAEH,SAAS,CACP,MAAM,EACN,cAAc,EACd,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,aAAa,CAAC,cAAc,CAAC,CAAC;AAE9B,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,MAAM,GAAG,IAAI,SAAS,CAAC;IA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,CAAC;CACjD;AAED,MAAM,MAAM,iBAAiB,GAAG,kBAAkB,GAAG,kBAAkB,CAAC;AAMxE,wBAAsB,WAAW,CAC/B,MAAM,EAAE,iBAAiB,GACxB,OAAO,CAAC,iBAAiB,CAAC,CAkL5B"}
|
|
@@ -160,13 +160,14 @@ export async function graphRender(params) {
|
|
|
160
160
|
message: `Canvas draw failed: ${message}`,
|
|
161
161
|
};
|
|
162
162
|
}
|
|
163
|
-
// Write the PNG to a deterministic per-account output/ path.
|
|
164
|
-
//
|
|
165
|
-
//
|
|
166
|
-
//
|
|
167
|
-
//
|
|
168
|
-
//
|
|
169
|
-
//
|
|
163
|
+
// Write the PNG to a deterministic per-account output/ path. MCP `image`
|
|
164
|
+
// content blocks do not surface in the maxy-code chat transport, so the
|
|
165
|
+
// calling skill delivers the file by its path: on the admin dashboard
|
|
166
|
+
// that output/ path appears in the operator's Artefacts panel and on
|
|
167
|
+
// their file share, and on a message channel the skill forwards it with
|
|
168
|
+
// SendUserFile as an attachment (see Task 584 for the output/ doctrine).
|
|
169
|
+
// The slug+hopDepth pair makes repeated renders of the same view
|
|
170
|
+
// overwrite the same file rather than accumulating.
|
|
170
171
|
const accountsDir = getAccountsDir();
|
|
171
172
|
const outputDir = resolve(accountsDir, accountId, "output", "graph-render");
|
|
172
173
|
mkdirSync(outputDir, { recursive: true });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graph-render.js","sourceRoot":"","sources":["../../src/tools/graph-render.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAwC,MAAM,qBAAqB,CAAC;AACxF,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAA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