@almadar/core 10.106.0 → 10.107.0
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/builders.d.ts +3 -3
- package/dist/{bus-CHi3QOOi.d.ts → bus-LOS3PhAg.d.ts} +1 -1
- package/dist/{effect-DtAf51pB.d.ts → effect-CXEHwilA.d.ts} +26 -4
- package/dist/{entityAccess-Y0Hh6fCW.d.ts → entityAccess-B3DEJe_j.d.ts} +2 -2
- package/dist/factory/index.d.ts +4 -4
- package/dist/factory/index.js +281 -3
- package/dist/factory/index.js.map +1 -1
- package/dist/factory-runtime/index.d.ts +3 -3
- package/dist/fixtures.d.ts +2 -2
- package/dist/{index-C6JxaoI5.d.ts → index-Dv2PNH42.d.ts} +5 -5
- package/dist/index.d.ts +12 -12
- package/dist/index.js +314 -10
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +4 -4
- package/dist/patterns/component-mapping.json +11 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +684 -14
- package/dist/patterns/index.js +314 -10
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/integrators-registry.json +18 -4
- package/dist/patterns/patterns-registry.json +282 -4
- package/dist/patterns/registry.json +282 -4
- package/dist/patterns/services-registry.json +33 -6
- package/dist/{schema-aRqGRPE_.d.ts → schema-Bpel0-Do.d.ts} +2 -2
- package/dist/{trait-CzhNoRw4.d.ts → trait-C97MPrMf.d.ts} +1 -1
- package/dist/types/index.d.ts +6 -6
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -1
- package/dist/{types-4EKT1Oco.d.ts → types-CoFKpB6f.d.ts} +2 -2
- package/package.json +1 -1
package/dist/patterns/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { z } from 'zod';
|
|
|
3
3
|
// src/patterns/patterns-registry.json
|
|
4
4
|
var patterns_registry_default = {
|
|
5
5
|
version: "1.0.0",
|
|
6
|
-
exportedAt: "2026-09-
|
|
6
|
+
exportedAt: "2026-09-27T02:12:25.691Z",
|
|
7
7
|
patterns: {
|
|
8
8
|
"entity-table": {
|
|
9
9
|
type: "entity-table",
|
|
@@ -24010,9 +24010,11 @@ var patterns_registry_default = {
|
|
|
24010
24010
|
"version-diff": {
|
|
24011
24011
|
type: "version-diff",
|
|
24012
24012
|
category: "display",
|
|
24013
|
+
sourceFile: "components/core/molecules/VersionDiff.tsx",
|
|
24013
24014
|
tier: "molecules",
|
|
24014
24015
|
family: "core",
|
|
24015
|
-
description: "
|
|
24016
|
+
description: "A line diff between two versions \u2014 two whole texts, or a pre-computed diff such as one commit.",
|
|
24017
|
+
capabilities: "version diff, compare revisions, what changed, before and after, code diff, commit diff, revision comparison",
|
|
24016
24018
|
suggestedFor: [
|
|
24017
24019
|
"version",
|
|
24018
24020
|
"diff",
|
|
@@ -24026,7 +24028,6 @@ var patterns_registry_default = {
|
|
|
24026
24028
|
"object"
|
|
24027
24029
|
],
|
|
24028
24030
|
description: "All available revisions (at least 2). Accepts either a typed array (direct consumers) or the runtime payload shape from a render-ui binding (`@payload.revisions`). Narrowed to `[]` internally when the value isn't an array.",
|
|
24029
|
-
required: true,
|
|
24030
24031
|
items: {
|
|
24031
24032
|
types: [
|
|
24032
24033
|
"object"
|
|
@@ -24065,6 +24066,70 @@ var patterns_registry_default = {
|
|
|
24065
24066
|
]
|
|
24066
24067
|
}
|
|
24067
24068
|
},
|
|
24069
|
+
hunks: {
|
|
24070
|
+
types: [
|
|
24071
|
+
"array"
|
|
24072
|
+
],
|
|
24073
|
+
description: "A pre-computed diff to render instead of diffing `revisions` (no revision pickers).",
|
|
24074
|
+
items: {
|
|
24075
|
+
types: [
|
|
24076
|
+
"object"
|
|
24077
|
+
],
|
|
24078
|
+
properties: {
|
|
24079
|
+
header: {
|
|
24080
|
+
types: [
|
|
24081
|
+
"string"
|
|
24082
|
+
]
|
|
24083
|
+
},
|
|
24084
|
+
lines: {
|
|
24085
|
+
types: [
|
|
24086
|
+
"array"
|
|
24087
|
+
],
|
|
24088
|
+
items: {
|
|
24089
|
+
types: [
|
|
24090
|
+
"object"
|
|
24091
|
+
],
|
|
24092
|
+
properties: {
|
|
24093
|
+
type: {
|
|
24094
|
+
types: [
|
|
24095
|
+
"string"
|
|
24096
|
+
],
|
|
24097
|
+
enumValues: [
|
|
24098
|
+
"added",
|
|
24099
|
+
"removed",
|
|
24100
|
+
"unchanged",
|
|
24101
|
+
"context"
|
|
24102
|
+
]
|
|
24103
|
+
},
|
|
24104
|
+
beforeLineNumber: {
|
|
24105
|
+
types: [
|
|
24106
|
+
"number"
|
|
24107
|
+
]
|
|
24108
|
+
},
|
|
24109
|
+
afterLineNumber: {
|
|
24110
|
+
types: [
|
|
24111
|
+
"number"
|
|
24112
|
+
]
|
|
24113
|
+
},
|
|
24114
|
+
content: {
|
|
24115
|
+
types: [
|
|
24116
|
+
"string"
|
|
24117
|
+
]
|
|
24118
|
+
}
|
|
24119
|
+
},
|
|
24120
|
+
required: [
|
|
24121
|
+
"type",
|
|
24122
|
+
"content"
|
|
24123
|
+
]
|
|
24124
|
+
}
|
|
24125
|
+
}
|
|
24126
|
+
},
|
|
24127
|
+
required: [
|
|
24128
|
+
"header",
|
|
24129
|
+
"lines"
|
|
24130
|
+
]
|
|
24131
|
+
}
|
|
24132
|
+
},
|
|
24068
24133
|
beforeId: {
|
|
24069
24134
|
types: [
|
|
24070
24135
|
"string"
|
|
@@ -24081,7 +24146,7 @@ var patterns_registry_default = {
|
|
|
24081
24146
|
types: [
|
|
24082
24147
|
"string"
|
|
24083
24148
|
],
|
|
24084
|
-
description: "Display mode.",
|
|
24149
|
+
description: "Display mode to start in; the toggle switches it.",
|
|
24085
24150
|
enumValues: [
|
|
24086
24151
|
"side-by-side",
|
|
24087
24152
|
"inline"
|
|
@@ -50669,6 +50734,219 @@ var patterns_registry_default = {
|
|
|
50669
50734
|
description: "className prop"
|
|
50670
50735
|
}
|
|
50671
50736
|
}
|
|
50737
|
+
},
|
|
50738
|
+
"change-list": {
|
|
50739
|
+
type: "change-list",
|
|
50740
|
+
category: "display",
|
|
50741
|
+
sourceFile: "components/core/molecules/ChangeList.tsx",
|
|
50742
|
+
tier: "molecules",
|
|
50743
|
+
family: "core",
|
|
50744
|
+
description: "The plain-language changes in one version (added / modified / removed).",
|
|
50745
|
+
capabilities: "change summary, what changed, version changes, diff summary, release notes list, modification list",
|
|
50746
|
+
suggestedFor: [
|
|
50747
|
+
"change",
|
|
50748
|
+
"list",
|
|
50749
|
+
"change list"
|
|
50750
|
+
],
|
|
50751
|
+
typicalSize: "medium",
|
|
50752
|
+
propsSchema: {
|
|
50753
|
+
changes: {
|
|
50754
|
+
types: [
|
|
50755
|
+
"array",
|
|
50756
|
+
"object"
|
|
50757
|
+
],
|
|
50758
|
+
description: "The changes. Accepts a typed list or a render-ui payload binding.",
|
|
50759
|
+
required: true,
|
|
50760
|
+
items: {
|
|
50761
|
+
types: [
|
|
50762
|
+
"object"
|
|
50763
|
+
],
|
|
50764
|
+
properties: {
|
|
50765
|
+
type: {
|
|
50766
|
+
types: [
|
|
50767
|
+
"string"
|
|
50768
|
+
],
|
|
50769
|
+
enumValues: [
|
|
50770
|
+
"added",
|
|
50771
|
+
"modified",
|
|
50772
|
+
"removed"
|
|
50773
|
+
]
|
|
50774
|
+
},
|
|
50775
|
+
title: {
|
|
50776
|
+
types: [
|
|
50777
|
+
"string"
|
|
50778
|
+
]
|
|
50779
|
+
},
|
|
50780
|
+
description: {
|
|
50781
|
+
types: [
|
|
50782
|
+
"string"
|
|
50783
|
+
]
|
|
50784
|
+
},
|
|
50785
|
+
before: {
|
|
50786
|
+
types: [
|
|
50787
|
+
"string"
|
|
50788
|
+
]
|
|
50789
|
+
},
|
|
50790
|
+
after: {
|
|
50791
|
+
types: [
|
|
50792
|
+
"string"
|
|
50793
|
+
]
|
|
50794
|
+
}
|
|
50795
|
+
},
|
|
50796
|
+
required: [
|
|
50797
|
+
"type",
|
|
50798
|
+
"title"
|
|
50799
|
+
]
|
|
50800
|
+
}
|
|
50801
|
+
},
|
|
50802
|
+
inspectEvent: {
|
|
50803
|
+
types: [
|
|
50804
|
+
"string"
|
|
50805
|
+
],
|
|
50806
|
+
description: "Emitted by a change's Inspect button. Payload: { title, type }.",
|
|
50807
|
+
kind: "event-ref",
|
|
50808
|
+
emitPayloadSchema: [
|
|
50809
|
+
{
|
|
50810
|
+
name: "title",
|
|
50811
|
+
type: "string",
|
|
50812
|
+
required: true
|
|
50813
|
+
},
|
|
50814
|
+
{
|
|
50815
|
+
name: "type",
|
|
50816
|
+
type: "string",
|
|
50817
|
+
required: true,
|
|
50818
|
+
enumValues: [
|
|
50819
|
+
"added",
|
|
50820
|
+
"modified",
|
|
50821
|
+
"removed"
|
|
50822
|
+
]
|
|
50823
|
+
}
|
|
50824
|
+
]
|
|
50825
|
+
},
|
|
50826
|
+
className: {
|
|
50827
|
+
types: [
|
|
50828
|
+
"string"
|
|
50829
|
+
],
|
|
50830
|
+
description: "className prop"
|
|
50831
|
+
}
|
|
50832
|
+
}
|
|
50833
|
+
},
|
|
50834
|
+
"commit-row": {
|
|
50835
|
+
type: "commit-row",
|
|
50836
|
+
category: "component",
|
|
50837
|
+
sourceFile: "components/core/molecules/CommitRow.tsx",
|
|
50838
|
+
tier: "molecules",
|
|
50839
|
+
family: "core",
|
|
50840
|
+
description: "One version in a history list \u2014 a commit row with select and restore.",
|
|
50841
|
+
capabilities: "version history row, commit entry, revision list item, change log entry, restore point, undo history item",
|
|
50842
|
+
suggestedFor: [
|
|
50843
|
+
"commit",
|
|
50844
|
+
"row",
|
|
50845
|
+
"commit row"
|
|
50846
|
+
],
|
|
50847
|
+
typicalSize: "medium",
|
|
50848
|
+
propsSchema: {
|
|
50849
|
+
sha: {
|
|
50850
|
+
types: [
|
|
50851
|
+
"string"
|
|
50852
|
+
],
|
|
50853
|
+
description: "Commit id; the first 7 characters are shown, the whole id on hover.",
|
|
50854
|
+
required: true
|
|
50855
|
+
},
|
|
50856
|
+
message: {
|
|
50857
|
+
types: [
|
|
50858
|
+
"string"
|
|
50859
|
+
],
|
|
50860
|
+
description: "Commit message.",
|
|
50861
|
+
required: true
|
|
50862
|
+
},
|
|
50863
|
+
author: {
|
|
50864
|
+
types: [
|
|
50865
|
+
"string"
|
|
50866
|
+
],
|
|
50867
|
+
description: "author prop"
|
|
50868
|
+
},
|
|
50869
|
+
timestamp: {
|
|
50870
|
+
types: [
|
|
50871
|
+
"string"
|
|
50872
|
+
],
|
|
50873
|
+
description: 'Display time (already formatted, e.g. "2 min ago").'
|
|
50874
|
+
},
|
|
50875
|
+
kind: {
|
|
50876
|
+
types: [
|
|
50877
|
+
"string"
|
|
50878
|
+
],
|
|
50879
|
+
description: "What made this version (a user save, an agent turn, a restore, an undo/redo, a snapshot).",
|
|
50880
|
+
enumValues: [
|
|
50881
|
+
"user",
|
|
50882
|
+
"agent",
|
|
50883
|
+
"restore",
|
|
50884
|
+
"undo",
|
|
50885
|
+
"redo",
|
|
50886
|
+
"snapshot"
|
|
50887
|
+
]
|
|
50888
|
+
},
|
|
50889
|
+
additions: {
|
|
50890
|
+
types: [
|
|
50891
|
+
"number"
|
|
50892
|
+
],
|
|
50893
|
+
description: "additions prop"
|
|
50894
|
+
},
|
|
50895
|
+
deletions: {
|
|
50896
|
+
types: [
|
|
50897
|
+
"number"
|
|
50898
|
+
],
|
|
50899
|
+
description: "deletions prop"
|
|
50900
|
+
},
|
|
50901
|
+
selected: {
|
|
50902
|
+
types: [
|
|
50903
|
+
"boolean"
|
|
50904
|
+
],
|
|
50905
|
+
description: "The row the user picked (shows its detail).",
|
|
50906
|
+
default: false
|
|
50907
|
+
},
|
|
50908
|
+
current: {
|
|
50909
|
+
types: [
|
|
50910
|
+
"boolean"
|
|
50911
|
+
],
|
|
50912
|
+
description: "The version the app is at now \u2014 it cannot be restored to.",
|
|
50913
|
+
default: false
|
|
50914
|
+
},
|
|
50915
|
+
selectEvent: {
|
|
50916
|
+
types: [
|
|
50917
|
+
"string"
|
|
50918
|
+
],
|
|
50919
|
+
description: "Emitted when the row is picked. Payload: { sha }.",
|
|
50920
|
+
kind: "event-ref",
|
|
50921
|
+
emitPayloadSchema: [
|
|
50922
|
+
{
|
|
50923
|
+
name: "sha",
|
|
50924
|
+
type: "string",
|
|
50925
|
+
required: true
|
|
50926
|
+
}
|
|
50927
|
+
]
|
|
50928
|
+
},
|
|
50929
|
+
restoreEvent: {
|
|
50930
|
+
types: [
|
|
50931
|
+
"string"
|
|
50932
|
+
],
|
|
50933
|
+
description: "Emitted by the Restore button. Payload: { sha }.",
|
|
50934
|
+
kind: "event-ref",
|
|
50935
|
+
emitPayloadSchema: [
|
|
50936
|
+
{
|
|
50937
|
+
name: "sha",
|
|
50938
|
+
type: "string",
|
|
50939
|
+
required: true
|
|
50940
|
+
}
|
|
50941
|
+
]
|
|
50942
|
+
},
|
|
50943
|
+
className: {
|
|
50944
|
+
types: [
|
|
50945
|
+
"string"
|
|
50946
|
+
],
|
|
50947
|
+
description: "className prop"
|
|
50948
|
+
}
|
|
50949
|
+
}
|
|
50672
50950
|
}
|
|
50673
50951
|
},
|
|
50674
50952
|
categories: [
|
|
@@ -50694,7 +50972,7 @@ var patterns_registry_default = {
|
|
|
50694
50972
|
// src/patterns/integrators-registry.json
|
|
50695
50973
|
var integrators_registry_default = {
|
|
50696
50974
|
version: "1.0.0",
|
|
50697
|
-
exportedAt: "2026-09-
|
|
50975
|
+
exportedAt: "2026-09-27T02:05:16.940Z",
|
|
50698
50976
|
integrators: {
|
|
50699
50977
|
github: {
|
|
50700
50978
|
name: "github",
|
|
@@ -53560,13 +53838,13 @@ var integrators_registry_default = {
|
|
|
53560
53838
|
actions: [
|
|
53561
53839
|
{
|
|
53562
53840
|
name: "authorize",
|
|
53563
|
-
description: "Build the provider authorization URL (PKCE + state) for an OAuth/OIDC login redirect;
|
|
53841
|
+
description: "Build the provider authorization URL (PKCE + state) for an OAuth/OIDC login redirect; OIDC discovery (Google) or static OAuth 2 metadata (GitHub) when OAUTH_CLIENT_ID/SECRET are configured, an in-memory mock otherwise.",
|
|
53564
53842
|
params: [
|
|
53565
53843
|
{
|
|
53566
53844
|
name: "provider",
|
|
53567
53845
|
type: "'google' | 'github' | 'auth0'",
|
|
53568
53846
|
required: true,
|
|
53569
|
-
description: "Identity provider; OIDC issuer defaults to Google unless OIDC_ISSUER_URL overrides it."
|
|
53847
|
+
description: "Identity provider; OIDC issuer defaults to Google unless OIDC_ISSUER_URL overrides it; GitHub uses its OAuth 2 endpoints."
|
|
53570
53848
|
},
|
|
53571
53849
|
{
|
|
53572
53850
|
name: "scopes",
|
|
@@ -53579,6 +53857,12 @@ var integrators_registry_default = {
|
|
|
53579
53857
|
type: "string",
|
|
53580
53858
|
required: true,
|
|
53581
53859
|
description: "Callback URL the provider redirects back to after consent."
|
|
53860
|
+
},
|
|
53861
|
+
{
|
|
53862
|
+
name: "subject",
|
|
53863
|
+
type: "string",
|
|
53864
|
+
required: false,
|
|
53865
|
+
description: "Opaque id of whoever started the flow (the verified user); `token` returns it so the host can refuse anyone else completing."
|
|
53582
53866
|
}
|
|
53583
53867
|
],
|
|
53584
53868
|
responseShape: {
|
|
@@ -53601,13 +53885,21 @@ var integrators_registry_default = {
|
|
|
53601
53885
|
type: "string",
|
|
53602
53886
|
required: true,
|
|
53603
53887
|
description: "The `state` value returned by `authorize`."
|
|
53888
|
+
},
|
|
53889
|
+
{
|
|
53890
|
+
name: "subject",
|
|
53891
|
+
type: "string",
|
|
53892
|
+
required: false,
|
|
53893
|
+
description: "Who is completing; must equal the `subject` bound at `authorize`, checked before the code is exchanged."
|
|
53604
53894
|
}
|
|
53605
53895
|
],
|
|
53606
53896
|
responseShape: {
|
|
53607
53897
|
accessToken: "string",
|
|
53608
53898
|
refreshToken: "string",
|
|
53609
53899
|
expiresIn: "number",
|
|
53610
|
-
tokenType: "'bearer'"
|
|
53900
|
+
tokenType: "'bearer'",
|
|
53901
|
+
scope: "string[]",
|
|
53902
|
+
subject: "string"
|
|
53611
53903
|
}
|
|
53612
53904
|
},
|
|
53613
53905
|
{
|
|
@@ -54694,7 +54986,7 @@ var integrators_registry_default = {
|
|
|
54694
54986
|
// src/patterns/component-mapping.json
|
|
54695
54987
|
var component_mapping_default = {
|
|
54696
54988
|
version: "1.0.0",
|
|
54697
|
-
exportedAt: "2026-09-
|
|
54989
|
+
exportedAt: "2026-09-27T02:12:25.691Z",
|
|
54698
54990
|
mappings: {
|
|
54699
54991
|
"page-header": {
|
|
54700
54992
|
component: "PageHeader",
|
|
@@ -55977,6 +56269,16 @@ var component_mapping_default = {
|
|
|
55977
56269
|
component: "TopNavItem",
|
|
55978
56270
|
importPath: "@/components/core/molecules/TopNavItem",
|
|
55979
56271
|
category: "navigation"
|
|
56272
|
+
},
|
|
56273
|
+
"change-list": {
|
|
56274
|
+
component: "ChangeList",
|
|
56275
|
+
importPath: "@/components/core/molecules/ChangeList",
|
|
56276
|
+
category: "display"
|
|
56277
|
+
},
|
|
56278
|
+
"commit-row": {
|
|
56279
|
+
component: "CommitRow",
|
|
56280
|
+
importPath: "@/components/core/molecules/CommitRow",
|
|
56281
|
+
category: "component"
|
|
55980
56282
|
}
|
|
55981
56283
|
}
|
|
55982
56284
|
};
|
|
@@ -55984,7 +56286,7 @@ var component_mapping_default = {
|
|
|
55984
56286
|
// src/patterns/event-contracts.json
|
|
55985
56287
|
var event_contracts_default = {
|
|
55986
56288
|
version: "1.0.0",
|
|
55987
|
-
exportedAt: "2026-09-
|
|
56289
|
+
exportedAt: "2026-09-27T02:12:25.691Z",
|
|
55988
56290
|
contracts: {
|
|
55989
56291
|
form: {
|
|
55990
56292
|
emits: [
|
|
@@ -57111,6 +57413,7 @@ var PATTERN_TYPES = [
|
|
|
57111
57413
|
"card",
|
|
57112
57414
|
"carousel",
|
|
57113
57415
|
"center",
|
|
57416
|
+
"change-list",
|
|
57114
57417
|
"chart",
|
|
57115
57418
|
"chart-legend",
|
|
57116
57419
|
"chat-bar",
|
|
@@ -57120,6 +57423,7 @@ var PATTERN_TYPES = [
|
|
|
57120
57423
|
"code-block",
|
|
57121
57424
|
"code-runner-panel",
|
|
57122
57425
|
"command-palette",
|
|
57426
|
+
"commit-row",
|
|
57123
57427
|
"conditional-wrapper",
|
|
57124
57428
|
"confetti-effect",
|
|
57125
57429
|
"confirm-dialog",
|