@amalgm/core 0.5.1-preview.34318364556 → 0.5.1-preview.34403852460
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/PURPOSE.md +2 -2
- package/dist/identity/display-profile.d.ts +37 -0
- package/dist/identity/display-profile.d.ts.map +1 -0
- package/dist/identity/display-profile.js +53 -0
- package/dist/identity/display-profile.js.map +1 -0
- package/dist/identity/index.d.ts +3 -2
- package/dist/identity/index.d.ts.map +1 -1
- package/dist/identity/index.js +3 -2
- package/dist/identity/index.js.map +1 -1
- package/dist/identity/runtime-endpoints.d.ts +4 -4
- package/dist/identity/runtime-endpoints.d.ts.map +1 -1
- package/dist/identity/runtime-endpoints.js +4 -6
- package/dist/identity/runtime-endpoints.js.map +1 -1
- package/package.json +4 -4
package/PURPOSE.md
CHANGED
|
@@ -174,8 +174,8 @@ instead of defining a second native installation contract.
|
|
|
174
174
|
or explicitly isolated loopback host has no managed endpoint fallback.
|
|
175
175
|
Execution bindings and data authorities are distinct: an explicitly shared
|
|
176
176
|
authority may serve both managed bindings without merging their process or
|
|
177
|
-
credential identities. Main and preview
|
|
178
|
-
|
|
177
|
+
credential identities. Main and preview each bind their own Supabase
|
|
178
|
+
project and their own R2 bucket.
|
|
179
179
|
27. **Writable resources have one installation owner.** Distinct bindings
|
|
180
180
|
cannot share mutable roots, including enclosing paths and physical aliases;
|
|
181
181
|
the host supplies physical path evidence and enforces Core's ownership law.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The display projection of an authenticated user (axiom 2: identity is one
|
|
3
|
+
* story). An auth record carries loose provider metadata; every surface that
|
|
4
|
+
* shows a person — realtime presence, sharing chrome, invite mail — needs the
|
|
5
|
+
* SAME bounded name and avatar, or the same person appears as two people.
|
|
6
|
+
*
|
|
7
|
+
* Three laws, and each is load-bearing:
|
|
8
|
+
*
|
|
9
|
+
* 1. PREFERENCE. `full_name` beats `name` beats the email address. The email
|
|
10
|
+
* is the terminal fallback, never a preference.
|
|
11
|
+
* 2. BOUNDS. Text is trimmed, then capped; whitespace-only is absence, not an
|
|
12
|
+
* empty name. A provider may return an arbitrarily long string and it must
|
|
13
|
+
* not become an arbitrarily long frame.
|
|
14
|
+
* 3. SAFETY. An avatar is a URL only when it parses AND its protocol is
|
|
15
|
+
* `https:`. `javascript:`, `data:` and `http:` are absent avatars — a
|
|
16
|
+
* display projection crosses into rendered chrome, so an unsafe scheme is
|
|
17
|
+
* dropped here rather than at each caller.
|
|
18
|
+
*
|
|
19
|
+
* Absence is expressible throughout: a user with neither name nor avatar
|
|
20
|
+
* projects to `undefined`, not to an empty object. Pure over the record; no
|
|
21
|
+
* clock, network or storage.
|
|
22
|
+
*/
|
|
23
|
+
/** The fields of an auth user this projection reads. Provider metadata is
|
|
24
|
+
* loose JSON, so it is typed as it truly is and validated key by key. */
|
|
25
|
+
export interface AuthDisplayUser {
|
|
26
|
+
email?: string | null;
|
|
27
|
+
user_metadata?: Record<string, unknown> | null;
|
|
28
|
+
}
|
|
29
|
+
/** The bounded, safe display data a surface may show for a person. The stable
|
|
30
|
+
* person id is NOT part of it: this is the face, never the identity. */
|
|
31
|
+
export interface DisplayProfile {
|
|
32
|
+
name?: string;
|
|
33
|
+
avatarUrl?: string;
|
|
34
|
+
}
|
|
35
|
+
/** Pure, bounded projection shared by realtime presence and sharing chrome. */
|
|
36
|
+
export declare function displayProfileForAuthUser(user: AuthDisplayUser | null | undefined): DisplayProfile | undefined;
|
|
37
|
+
//# sourceMappingURL=display-profile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"display-profile.d.ts","sourceRoot":"","sources":["../../src/identity/display-profile.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAKH;yEACyE;AACzE,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;CAChD;AAED;wEACwE;AACxE,MAAM,WAAW,cAAc;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAkBD,+EAA+E;AAC/E,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,eAAe,GAAG,IAAI,GAAG,SAAS,GAAG,cAAc,GAAG,SAAS,CAQ9G"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The display projection of an authenticated user (axiom 2: identity is one
|
|
3
|
+
* story). An auth record carries loose provider metadata; every surface that
|
|
4
|
+
* shows a person — realtime presence, sharing chrome, invite mail — needs the
|
|
5
|
+
* SAME bounded name and avatar, or the same person appears as two people.
|
|
6
|
+
*
|
|
7
|
+
* Three laws, and each is load-bearing:
|
|
8
|
+
*
|
|
9
|
+
* 1. PREFERENCE. `full_name` beats `name` beats the email address. The email
|
|
10
|
+
* is the terminal fallback, never a preference.
|
|
11
|
+
* 2. BOUNDS. Text is trimmed, then capped; whitespace-only is absence, not an
|
|
12
|
+
* empty name. A provider may return an arbitrarily long string and it must
|
|
13
|
+
* not become an arbitrarily long frame.
|
|
14
|
+
* 3. SAFETY. An avatar is a URL only when it parses AND its protocol is
|
|
15
|
+
* `https:`. `javascript:`, `data:` and `http:` are absent avatars — a
|
|
16
|
+
* display projection crosses into rendered chrome, so an unsafe scheme is
|
|
17
|
+
* dropped here rather than at each caller.
|
|
18
|
+
*
|
|
19
|
+
* Absence is expressible throughout: a user with neither name nor avatar
|
|
20
|
+
* projects to `undefined`, not to an empty object. Pure over the record; no
|
|
21
|
+
* clock, network or storage.
|
|
22
|
+
*/
|
|
23
|
+
const MAX_DISPLAY_NAME_LENGTH = 120;
|
|
24
|
+
const MAX_AVATAR_URL_LENGTH = 2_048;
|
|
25
|
+
function cappedText(value, limit) {
|
|
26
|
+
if (typeof value !== 'string')
|
|
27
|
+
return undefined;
|
|
28
|
+
const normalized = value.trim();
|
|
29
|
+
return normalized ? normalized.slice(0, limit) : undefined;
|
|
30
|
+
}
|
|
31
|
+
function httpsUrl(value) {
|
|
32
|
+
const candidate = cappedText(value, MAX_AVATAR_URL_LENGTH);
|
|
33
|
+
if (!candidate)
|
|
34
|
+
return undefined;
|
|
35
|
+
try {
|
|
36
|
+
return new URL(candidate).protocol === 'https:' ? candidate : undefined;
|
|
37
|
+
}
|
|
38
|
+
catch {
|
|
39
|
+
return undefined;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
/** Pure, bounded projection shared by realtime presence and sharing chrome. */
|
|
43
|
+
export function displayProfileForAuthUser(user) {
|
|
44
|
+
if (!user)
|
|
45
|
+
return undefined;
|
|
46
|
+
const metadata = user.user_metadata || {};
|
|
47
|
+
const name = cappedText(metadata['full_name'], MAX_DISPLAY_NAME_LENGTH)
|
|
48
|
+
?? cappedText(metadata['name'], MAX_DISPLAY_NAME_LENGTH)
|
|
49
|
+
?? cappedText(user.email, MAX_DISPLAY_NAME_LENGTH);
|
|
50
|
+
const avatarUrl = httpsUrl(metadata['avatar_url']) ?? httpsUrl(metadata['picture']);
|
|
51
|
+
return name || avatarUrl ? { ...(name ? { name } : {}), ...(avatarUrl ? { avatarUrl } : {}) } : undefined;
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=display-profile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"display-profile.js","sourceRoot":"","sources":["../../src/identity/display-profile.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,MAAM,uBAAuB,GAAG,GAAG,CAAC;AACpC,MAAM,qBAAqB,GAAG,KAAK,CAAC;AAgBpC,SAAS,UAAU,CAAC,KAAc,EAAE,KAAa;IAC/C,IAAI,OAAO,KAAK,KAAK,QAAQ;QAAE,OAAO,SAAS,CAAC;IAChD,MAAM,UAAU,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC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C,CAAC,CAAC,SAAS,CAAC;AAC5G,CAAC"}
|
package/dist/identity/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* IDENTITY — who this machine is, for which user, on which branch (axiom 2:
|
|
3
3
|
* identity is one story). The pure laws behind `~/amalgm` layout, runtime
|
|
4
|
-
* labels and channels, id minting/validation,
|
|
5
|
-
*
|
|
4
|
+
* labels and channels, id minting/validation, credential-record shaping,
|
|
5
|
+
* and the bounded display projection of an authenticated user. Every effect (hash, random, clock, path resolution, env) arrives
|
|
6
6
|
* as an injected port from `./ports.js`.
|
|
7
7
|
*/
|
|
8
8
|
export * from './ports.js';
|
|
@@ -15,5 +15,6 @@ export * from './credentials/index.js';
|
|
|
15
15
|
export * from './authorization/index.js';
|
|
16
16
|
export * from './ids.js';
|
|
17
17
|
export * from './auth-records.js';
|
|
18
|
+
export * from './display-profile.js';
|
|
18
19
|
export * from './machine-setup.js';
|
|
19
20
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/identity/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/identity/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC"}
|
package/dist/identity/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* IDENTITY — who this machine is, for which user, on which branch (axiom 2:
|
|
3
3
|
* identity is one story). The pure laws behind `~/amalgm` layout, runtime
|
|
4
|
-
* labels and channels, id minting/validation,
|
|
5
|
-
*
|
|
4
|
+
* labels and channels, id minting/validation, credential-record shaping,
|
|
5
|
+
* and the bounded display projection of an authenticated user. Every effect (hash, random, clock, path resolution, env) arrives
|
|
6
6
|
* as an injected port from `./ports.js`.
|
|
7
7
|
*/
|
|
8
8
|
export * from './ports.js';
|
|
@@ -15,5 +15,6 @@ export * from './credentials/index.js';
|
|
|
15
15
|
export * from './authorization/index.js';
|
|
16
16
|
export * from './ids.js';
|
|
17
17
|
export * from './auth-records.js';
|
|
18
|
+
export * from './display-profile.js';
|
|
18
19
|
export * from './machine-setup.js';
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/identity/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/identity/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,UAAU,CAAC;AACzB,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC"}
|
|
@@ -20,17 +20,17 @@ export declare const managedRuntimeEndpoints: Readonly<{
|
|
|
20
20
|
automations: "https://amalgm-automations-preview.fly.dev";
|
|
21
21
|
channels: "https://amalgm-channels-preview.fly.dev";
|
|
22
22
|
chat: "https://chat.preview.amalgm.ai";
|
|
23
|
-
supabase: "https://
|
|
23
|
+
supabase: "https://ikclylpfuuzptntzotad.supabase.co";
|
|
24
24
|
}>;
|
|
25
25
|
}>;
|
|
26
|
-
/** Data authority is independent of execution identity
|
|
27
|
-
*
|
|
26
|
+
/** Data authority is independent of execution identity; each managed lane
|
|
27
|
+
* binds its own Supabase project and its own bucket. */
|
|
28
28
|
export declare const managedRuntimeStorage: Readonly<{
|
|
29
29
|
main: Readonly<{
|
|
30
30
|
bucket: "amalgm-shared";
|
|
31
31
|
}>;
|
|
32
32
|
preview: Readonly<{
|
|
33
|
-
bucket: "amalgm-shared";
|
|
33
|
+
bucket: "amalgm-shared-preview";
|
|
34
34
|
}>;
|
|
35
35
|
}>;
|
|
36
36
|
export type RuntimeEndpointRole = keyof typeof managedRuntimeEndpoints.main;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-endpoints.d.ts","sourceRoot":"","sources":["../../src/identity/runtime-endpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwD,KAAK,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEjH;kFACkF;AAClF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"runtime-endpoints.d.ts","sourceRoot":"","sources":["../../src/identity/runtime-endpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwD,KAAK,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEjH;kFACkF;AAClF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;EASlC,CAAC;AAEH;wDACwD;AACxD,eAAO,MAAM,qBAAqB;;;;;;;EAGhC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAU5E,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAEzD;AAED,+EAA+E;AAC/E,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAezF;AAED;8EAC8E;AAC9E,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,cAAc,EAAE,IAAI,EAAE,mBAAmB,EACvF,QAAQ,CAAC,EAAE,MAAM,EAAE,eAAe,CAAC,EAAE,MAAM,GAAG,MAAM,CAYrD;AAED;;6EAE6E;AAC7E,wBAAgB,kCAAkC,CAAC,GAAG,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC,EAAE,eAAe,CAAC,EAAE,MAAM,GAAG,cAAc,CAkB9I"}
|
|
@@ -9,15 +9,13 @@ export const managedRuntimeEndpoints = Object.freeze({
|
|
|
9
9
|
preview: Object.freeze({ app: 'https://preview.amalgm.ai', proxy: 'https://api.preview.amalgm.ai',
|
|
10
10
|
gateway: 'https://wire.events.preview.amalgm.ai', wire: 'wss://wire.events.preview.amalgm.ai/wire',
|
|
11
11
|
automations: 'https://amalgm-automations-preview.fly.dev', channels: 'https://amalgm-channels-preview.fly.dev', chat: 'https://chat.preview.amalgm.ai',
|
|
12
|
-
|
|
13
|
-
// Execution identity remains preview; data separation is a later change.
|
|
14
|
-
supabase: 'https://mjmkllducpzchwnggvqc.supabase.co' }),
|
|
12
|
+
supabase: 'https://ikclylpfuuzptntzotad.supabase.co' }),
|
|
15
13
|
});
|
|
16
|
-
/** Data authority is independent of execution identity
|
|
17
|
-
*
|
|
14
|
+
/** Data authority is independent of execution identity; each managed lane
|
|
15
|
+
* binds its own Supabase project and its own bucket. */
|
|
18
16
|
export const managedRuntimeStorage = Object.freeze({
|
|
19
17
|
main: Object.freeze({ bucket: 'amalgm-shared' }),
|
|
20
|
-
preview: Object.freeze({ bucket: 'amalgm-shared' }),
|
|
18
|
+
preview: Object.freeze({ bucket: 'amalgm-shared-preview' }),
|
|
21
19
|
});
|
|
22
20
|
const aliases = {
|
|
23
21
|
'main:automations': ['https://amalgm-automations.fly.dev'],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-endpoints.js","sourceRoot":"","sources":["../../src/identity/runtime-endpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,6BAA6B,EAAuB,MAAM,sBAAsB,CAAC;AAEjH;kFACkF;AAClF,MAAM,CAAC,MAAM,uBAAuB,GAAG,MAAM,CAAC,MAAM,CAAC;IACnD,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,mBAAmB,EAAE,KAAK,EAAE,qCAAqC;QAC1F,OAAO,EAAE,+BAA+B,EAAE,IAAI,EAAE,kCAAkC;QAClF,WAAW,EAAE,+BAA+B,EAAE,QAAQ,EAAE,iCAAiC,EAAE,IAAI,EAAE,qCAAqC;QACtI,QAAQ,EAAE,0CAA0C,EAAE,CAAC;IACzD,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,2BAA2B,EAAE,KAAK,EAAE,+BAA+B;QAC/F,OAAO,EAAE,uCAAuC,EAAE,IAAI,EAAE,0CAA0C;QAClG,WAAW,EAAE,4CAA4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AAuB,OAAO,EAAE,eAAe,CAAC,CAAC;IACvI,OAAO,OAAO,CAAC;AACjB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amalgm/core",
|
|
3
|
-
"version": "0.5.1-preview.
|
|
3
|
+
"version": "0.5.1-preview.34403852460",
|
|
4
4
|
"description": "The Amalgm kernel SDK — identity, transport, supervision, and host capability contracts behind host-injected adapters.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -95,11 +95,11 @@
|
|
|
95
95
|
"verify": "test",
|
|
96
96
|
"cli": []
|
|
97
97
|
},
|
|
98
|
-
"gitHead": "
|
|
98
|
+
"gitHead": "9fcc7e1bfe145ce63c4929c912978085756cf8bc",
|
|
99
99
|
"amalgmSource": {
|
|
100
100
|
"repository": "amalgm-inc/amalgm-core",
|
|
101
101
|
"branch": "preview",
|
|
102
|
-
"commit": "
|
|
103
|
-
"occurrence": "
|
|
102
|
+
"commit": "9fcc7e1bfe145ce63c4929c912978085756cf8bc",
|
|
103
|
+
"occurrence": "34403852460"
|
|
104
104
|
}
|
|
105
105
|
}
|