@quietloudlab/ai-interaction-atlas 1.0.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/LICENSE +201 -0
- package/README.md +493 -0
- package/dist/data.d.mts +21 -0
- package/dist/data.d.ts +21 -0
- package/dist/data.js +5374 -0
- package/dist/data.js.map +1 -0
- package/dist/data.mjs +5372 -0
- package/dist/data.mjs.map +1 -0
- package/dist/index.d.mts +309 -0
- package/dist/index.d.ts +309 -0
- package/dist/index.js +5603 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +5568 -0
- package/dist/index.mjs.map +1 -0
- package/dist/types.d.mts +294 -0
- package/dist/types.d.ts +294 -0
- package/dist/types.js +4 -0
- package/dist/types.js.map +1 -0
- package/dist/types.mjs +3 -0
- package/dist/types.mjs.map +1 -0
- package/package.json +69 -0
package/dist/types.d.mts
ADDED
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2025 quietloudlab
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
interface Meta {
|
|
17
|
+
title: string;
|
|
18
|
+
description: string;
|
|
19
|
+
version: string;
|
|
20
|
+
schema_version: string;
|
|
21
|
+
}
|
|
22
|
+
interface LayerGuidance {
|
|
23
|
+
when_to_use: string;
|
|
24
|
+
typical_position: string;
|
|
25
|
+
red_flags: string[];
|
|
26
|
+
}
|
|
27
|
+
interface Layer {
|
|
28
|
+
id: string;
|
|
29
|
+
name: string;
|
|
30
|
+
slug: string;
|
|
31
|
+
role: string;
|
|
32
|
+
description: string;
|
|
33
|
+
color: string;
|
|
34
|
+
guidance?: LayerGuidance;
|
|
35
|
+
}
|
|
36
|
+
type IOItem = string | {
|
|
37
|
+
id: string;
|
|
38
|
+
label: string;
|
|
39
|
+
isArray?: boolean;
|
|
40
|
+
};
|
|
41
|
+
interface IOSpec {
|
|
42
|
+
inputs: {
|
|
43
|
+
required: IOItem[];
|
|
44
|
+
optional: IOItem[];
|
|
45
|
+
};
|
|
46
|
+
constraints?: {
|
|
47
|
+
optional: IOItem[];
|
|
48
|
+
};
|
|
49
|
+
outputs: {
|
|
50
|
+
primary: IOItem;
|
|
51
|
+
metadata: IOItem[];
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
interface ImplementationNotes {
|
|
55
|
+
maturity: 'emerging' | 'established' | 'commoditized';
|
|
56
|
+
typical_latency: 'realtime' | 'interactive' | 'batch';
|
|
57
|
+
data_requirements: 'none' | 'small' | 'medium' | 'large' | 'continuous';
|
|
58
|
+
human_oversight: 'none' | 'optional' | 'recommended' | 'required';
|
|
59
|
+
}
|
|
60
|
+
interface UxNotes {
|
|
61
|
+
risk: string;
|
|
62
|
+
tip: string;
|
|
63
|
+
anti_patterns: string[];
|
|
64
|
+
}
|
|
65
|
+
interface Capability {
|
|
66
|
+
name: string;
|
|
67
|
+
tag: string;
|
|
68
|
+
example: string;
|
|
69
|
+
}
|
|
70
|
+
interface Relation {
|
|
71
|
+
target_id: string;
|
|
72
|
+
type: string;
|
|
73
|
+
strength: string;
|
|
74
|
+
reason: string;
|
|
75
|
+
}
|
|
76
|
+
interface BaseTask {
|
|
77
|
+
id: string;
|
|
78
|
+
layer_id: string;
|
|
79
|
+
name: string;
|
|
80
|
+
slug: string;
|
|
81
|
+
elevator_pitch: string;
|
|
82
|
+
example_usage: string;
|
|
83
|
+
io_spec: IOSpec;
|
|
84
|
+
}
|
|
85
|
+
interface AiTask extends BaseTask {
|
|
86
|
+
task_type: 'ai';
|
|
87
|
+
implementation_notes: ImplementationNotes;
|
|
88
|
+
ux_notes: UxNotes;
|
|
89
|
+
capabilities: Capability[];
|
|
90
|
+
relations: Relation[];
|
|
91
|
+
}
|
|
92
|
+
interface HumanTask extends BaseTask {
|
|
93
|
+
task_type: 'human';
|
|
94
|
+
common_variants: string[];
|
|
95
|
+
relations: Relation[];
|
|
96
|
+
}
|
|
97
|
+
interface SystemTask extends BaseTask {
|
|
98
|
+
task_type: 'system';
|
|
99
|
+
common_variants: string[];
|
|
100
|
+
relations: Relation[];
|
|
101
|
+
}
|
|
102
|
+
type Task = AiTask | HumanTask | SystemTask;
|
|
103
|
+
type DataCategory = 'text' | 'visual' | 'audio' | 'structured' | 'compound' | 'user_input' | 'system' | 'generic';
|
|
104
|
+
interface DataArtifactDefinition {
|
|
105
|
+
id: string;
|
|
106
|
+
name: string;
|
|
107
|
+
category: DataCategory;
|
|
108
|
+
icon: string;
|
|
109
|
+
description?: string;
|
|
110
|
+
examples?: string[];
|
|
111
|
+
compatible_with?: string[];
|
|
112
|
+
format_notes?: string;
|
|
113
|
+
}
|
|
114
|
+
type ConstraintCategory = 'quality_safety' | 'performance_resource' | 'model_technical' | 'ux_interaction' | 'data_context' | 'execution_behavior' | 'code_philosophy' | 'attribution';
|
|
115
|
+
interface ConstraintDefinition {
|
|
116
|
+
id: string;
|
|
117
|
+
name: string;
|
|
118
|
+
category: ConstraintCategory;
|
|
119
|
+
icon: string;
|
|
120
|
+
description?: string;
|
|
121
|
+
type?: string;
|
|
122
|
+
applies_to?: string[];
|
|
123
|
+
ux_note?: string;
|
|
124
|
+
example_values?: string;
|
|
125
|
+
}
|
|
126
|
+
type TouchpointCategory = 'screen_interface' | 'conversational' | 'voice_audio' | 'spatial_computing' | 'technical' | 'physical_devices';
|
|
127
|
+
interface TouchpointDefinition {
|
|
128
|
+
id: string;
|
|
129
|
+
name: string;
|
|
130
|
+
category: TouchpointCategory;
|
|
131
|
+
icon: string;
|
|
132
|
+
description: string;
|
|
133
|
+
examples: string[];
|
|
134
|
+
}
|
|
135
|
+
interface TemplateAttachment {
|
|
136
|
+
id: string;
|
|
137
|
+
referenceId: string;
|
|
138
|
+
type: 'data' | 'constraint';
|
|
139
|
+
direction?: 'input' | 'output';
|
|
140
|
+
notes?: string;
|
|
141
|
+
}
|
|
142
|
+
interface WorkflowTaskStep {
|
|
143
|
+
task_id: string;
|
|
144
|
+
position: number;
|
|
145
|
+
label: string;
|
|
146
|
+
optional?: boolean;
|
|
147
|
+
conditional?: string;
|
|
148
|
+
notes?: string;
|
|
149
|
+
id?: string;
|
|
150
|
+
node_type?: 'task' | 'data' | 'constraint' | 'annotation' | 'touchpoint' | 'actor';
|
|
151
|
+
row?: number;
|
|
152
|
+
col?: number;
|
|
153
|
+
width?: number;
|
|
154
|
+
height?: number;
|
|
155
|
+
attachments?: TemplateAttachment[];
|
|
156
|
+
personaId?: string;
|
|
157
|
+
subType?: 'note' | 'zone';
|
|
158
|
+
customLabel?: string;
|
|
159
|
+
capability?: string;
|
|
160
|
+
color?: string;
|
|
161
|
+
customDefinition?: {
|
|
162
|
+
name: string;
|
|
163
|
+
description?: string;
|
|
164
|
+
icon?: string;
|
|
165
|
+
task_type?: 'ai' | 'human' | 'system';
|
|
166
|
+
layer_id?: string;
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
interface WorkflowTemplateEdge {
|
|
170
|
+
source: string;
|
|
171
|
+
target: string;
|
|
172
|
+
label?: string;
|
|
173
|
+
attachments?: TemplateAttachment[];
|
|
174
|
+
customX?: number;
|
|
175
|
+
customY?: number;
|
|
176
|
+
sourceX?: number;
|
|
177
|
+
targetX?: number;
|
|
178
|
+
sourceHandle?: 'left' | 'right' | 'top' | 'bottom';
|
|
179
|
+
targetHandle?: 'left' | 'right' | 'top' | 'bottom';
|
|
180
|
+
}
|
|
181
|
+
interface WorkflowTemplate {
|
|
182
|
+
id: string;
|
|
183
|
+
name: string;
|
|
184
|
+
description: string;
|
|
185
|
+
primary_use_case: string;
|
|
186
|
+
nodes: BuilderNode[];
|
|
187
|
+
edges: BuilderEdge[];
|
|
188
|
+
common_variations: string[];
|
|
189
|
+
complexity?: string;
|
|
190
|
+
tags?: string[];
|
|
191
|
+
personas?: Persona[];
|
|
192
|
+
}
|
|
193
|
+
interface Node {
|
|
194
|
+
task_id: string;
|
|
195
|
+
x: number;
|
|
196
|
+
y: number;
|
|
197
|
+
label: string;
|
|
198
|
+
}
|
|
199
|
+
interface Example {
|
|
200
|
+
id: string;
|
|
201
|
+
primary_task_id: string;
|
|
202
|
+
title: string;
|
|
203
|
+
description: string;
|
|
204
|
+
industry: string;
|
|
205
|
+
complexity: 'Low' | 'Medium' | 'High';
|
|
206
|
+
tags: string[];
|
|
207
|
+
image_url: string;
|
|
208
|
+
nodes: Node[];
|
|
209
|
+
}
|
|
210
|
+
interface AtlasData {
|
|
211
|
+
meta: Meta;
|
|
212
|
+
layers: Layer[];
|
|
213
|
+
ai_tasks: AiTask[];
|
|
214
|
+
human_tasks: HumanTask[];
|
|
215
|
+
system_tasks: SystemTask[];
|
|
216
|
+
data_artifacts: DataArtifactDefinition[];
|
|
217
|
+
constraints: ConstraintDefinition[];
|
|
218
|
+
touchpoints: TouchpointDefinition[];
|
|
219
|
+
workflow_templates: WorkflowTemplate[];
|
|
220
|
+
examples: Example[];
|
|
221
|
+
}
|
|
222
|
+
type NodeType = 'task' | 'data' | 'constraint' | 'annotation' | 'touchpoint' | 'actor';
|
|
223
|
+
type ActorCategory = 'human' | 'ai' | 'system' | 'other';
|
|
224
|
+
interface Persona {
|
|
225
|
+
id: string;
|
|
226
|
+
name: string;
|
|
227
|
+
role?: string;
|
|
228
|
+
color: string;
|
|
229
|
+
initials: string;
|
|
230
|
+
category: ActorCategory;
|
|
231
|
+
}
|
|
232
|
+
interface NodeAttachment {
|
|
233
|
+
id: string;
|
|
234
|
+
referenceId: string;
|
|
235
|
+
type: 'data' | 'constraint';
|
|
236
|
+
direction?: 'input' | 'output';
|
|
237
|
+
notes?: string;
|
|
238
|
+
examples?: string;
|
|
239
|
+
}
|
|
240
|
+
interface BuilderNode {
|
|
241
|
+
id: string;
|
|
242
|
+
type: NodeType;
|
|
243
|
+
referenceId: string;
|
|
244
|
+
x: number;
|
|
245
|
+
y: number;
|
|
246
|
+
width?: number;
|
|
247
|
+
height?: number;
|
|
248
|
+
measuredW?: number;
|
|
249
|
+
measuredH?: number;
|
|
250
|
+
color?: string;
|
|
251
|
+
subType?: 'note' | 'zone';
|
|
252
|
+
semanticType?: 'data' | 'constraint' | 'touchpoint' | 'task';
|
|
253
|
+
customLabel?: string;
|
|
254
|
+
notes?: string;
|
|
255
|
+
designerDescription?: string;
|
|
256
|
+
personaId?: string;
|
|
257
|
+
capability?: string;
|
|
258
|
+
attachments?: NodeAttachment[];
|
|
259
|
+
customDefinition?: {
|
|
260
|
+
name: string;
|
|
261
|
+
description?: string;
|
|
262
|
+
icon?: string;
|
|
263
|
+
task_type?: 'ai' | 'human' | 'system';
|
|
264
|
+
layer_id?: string;
|
|
265
|
+
};
|
|
266
|
+
}
|
|
267
|
+
interface BuilderEdge {
|
|
268
|
+
id: string;
|
|
269
|
+
source: string;
|
|
270
|
+
target: string;
|
|
271
|
+
label?: string;
|
|
272
|
+
attachments?: NodeAttachment[];
|
|
273
|
+
sourceHandle?: 'left' | 'right' | 'top' | 'bottom';
|
|
274
|
+
targetHandle?: 'left' | 'right' | 'top' | 'bottom';
|
|
275
|
+
customX?: number;
|
|
276
|
+
customY?: number;
|
|
277
|
+
sourceX?: number;
|
|
278
|
+
targetX?: number;
|
|
279
|
+
}
|
|
280
|
+
interface BuilderState {
|
|
281
|
+
nodes: BuilderNode[];
|
|
282
|
+
edges: BuilderEdge[];
|
|
283
|
+
personas: Persona[];
|
|
284
|
+
}
|
|
285
|
+
interface Project {
|
|
286
|
+
id: string;
|
|
287
|
+
name: string;
|
|
288
|
+
description: string;
|
|
289
|
+
lastModified: number;
|
|
290
|
+
data: BuilderState;
|
|
291
|
+
tags?: string[];
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
export type { ActorCategory, AiTask, AtlasData, BaseTask, BuilderEdge, BuilderNode, BuilderState, Capability, ConstraintCategory, ConstraintDefinition, DataArtifactDefinition, DataCategory, Example, HumanTask, IOItem, IOSpec, ImplementationNotes, Layer, LayerGuidance, Meta, Node, NodeAttachment, NodeType, Persona, Project, Relation, SystemTask, Task, TemplateAttachment, TouchpointCategory, TouchpointDefinition, UxNotes, WorkflowTaskStep, WorkflowTemplate, WorkflowTemplateEdge };
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2025 quietloudlab
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
interface Meta {
|
|
17
|
+
title: string;
|
|
18
|
+
description: string;
|
|
19
|
+
version: string;
|
|
20
|
+
schema_version: string;
|
|
21
|
+
}
|
|
22
|
+
interface LayerGuidance {
|
|
23
|
+
when_to_use: string;
|
|
24
|
+
typical_position: string;
|
|
25
|
+
red_flags: string[];
|
|
26
|
+
}
|
|
27
|
+
interface Layer {
|
|
28
|
+
id: string;
|
|
29
|
+
name: string;
|
|
30
|
+
slug: string;
|
|
31
|
+
role: string;
|
|
32
|
+
description: string;
|
|
33
|
+
color: string;
|
|
34
|
+
guidance?: LayerGuidance;
|
|
35
|
+
}
|
|
36
|
+
type IOItem = string | {
|
|
37
|
+
id: string;
|
|
38
|
+
label: string;
|
|
39
|
+
isArray?: boolean;
|
|
40
|
+
};
|
|
41
|
+
interface IOSpec {
|
|
42
|
+
inputs: {
|
|
43
|
+
required: IOItem[];
|
|
44
|
+
optional: IOItem[];
|
|
45
|
+
};
|
|
46
|
+
constraints?: {
|
|
47
|
+
optional: IOItem[];
|
|
48
|
+
};
|
|
49
|
+
outputs: {
|
|
50
|
+
primary: IOItem;
|
|
51
|
+
metadata: IOItem[];
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
interface ImplementationNotes {
|
|
55
|
+
maturity: 'emerging' | 'established' | 'commoditized';
|
|
56
|
+
typical_latency: 'realtime' | 'interactive' | 'batch';
|
|
57
|
+
data_requirements: 'none' | 'small' | 'medium' | 'large' | 'continuous';
|
|
58
|
+
human_oversight: 'none' | 'optional' | 'recommended' | 'required';
|
|
59
|
+
}
|
|
60
|
+
interface UxNotes {
|
|
61
|
+
risk: string;
|
|
62
|
+
tip: string;
|
|
63
|
+
anti_patterns: string[];
|
|
64
|
+
}
|
|
65
|
+
interface Capability {
|
|
66
|
+
name: string;
|
|
67
|
+
tag: string;
|
|
68
|
+
example: string;
|
|
69
|
+
}
|
|
70
|
+
interface Relation {
|
|
71
|
+
target_id: string;
|
|
72
|
+
type: string;
|
|
73
|
+
strength: string;
|
|
74
|
+
reason: string;
|
|
75
|
+
}
|
|
76
|
+
interface BaseTask {
|
|
77
|
+
id: string;
|
|
78
|
+
layer_id: string;
|
|
79
|
+
name: string;
|
|
80
|
+
slug: string;
|
|
81
|
+
elevator_pitch: string;
|
|
82
|
+
example_usage: string;
|
|
83
|
+
io_spec: IOSpec;
|
|
84
|
+
}
|
|
85
|
+
interface AiTask extends BaseTask {
|
|
86
|
+
task_type: 'ai';
|
|
87
|
+
implementation_notes: ImplementationNotes;
|
|
88
|
+
ux_notes: UxNotes;
|
|
89
|
+
capabilities: Capability[];
|
|
90
|
+
relations: Relation[];
|
|
91
|
+
}
|
|
92
|
+
interface HumanTask extends BaseTask {
|
|
93
|
+
task_type: 'human';
|
|
94
|
+
common_variants: string[];
|
|
95
|
+
relations: Relation[];
|
|
96
|
+
}
|
|
97
|
+
interface SystemTask extends BaseTask {
|
|
98
|
+
task_type: 'system';
|
|
99
|
+
common_variants: string[];
|
|
100
|
+
relations: Relation[];
|
|
101
|
+
}
|
|
102
|
+
type Task = AiTask | HumanTask | SystemTask;
|
|
103
|
+
type DataCategory = 'text' | 'visual' | 'audio' | 'structured' | 'compound' | 'user_input' | 'system' | 'generic';
|
|
104
|
+
interface DataArtifactDefinition {
|
|
105
|
+
id: string;
|
|
106
|
+
name: string;
|
|
107
|
+
category: DataCategory;
|
|
108
|
+
icon: string;
|
|
109
|
+
description?: string;
|
|
110
|
+
examples?: string[];
|
|
111
|
+
compatible_with?: string[];
|
|
112
|
+
format_notes?: string;
|
|
113
|
+
}
|
|
114
|
+
type ConstraintCategory = 'quality_safety' | 'performance_resource' | 'model_technical' | 'ux_interaction' | 'data_context' | 'execution_behavior' | 'code_philosophy' | 'attribution';
|
|
115
|
+
interface ConstraintDefinition {
|
|
116
|
+
id: string;
|
|
117
|
+
name: string;
|
|
118
|
+
category: ConstraintCategory;
|
|
119
|
+
icon: string;
|
|
120
|
+
description?: string;
|
|
121
|
+
type?: string;
|
|
122
|
+
applies_to?: string[];
|
|
123
|
+
ux_note?: string;
|
|
124
|
+
example_values?: string;
|
|
125
|
+
}
|
|
126
|
+
type TouchpointCategory = 'screen_interface' | 'conversational' | 'voice_audio' | 'spatial_computing' | 'technical' | 'physical_devices';
|
|
127
|
+
interface TouchpointDefinition {
|
|
128
|
+
id: string;
|
|
129
|
+
name: string;
|
|
130
|
+
category: TouchpointCategory;
|
|
131
|
+
icon: string;
|
|
132
|
+
description: string;
|
|
133
|
+
examples: string[];
|
|
134
|
+
}
|
|
135
|
+
interface TemplateAttachment {
|
|
136
|
+
id: string;
|
|
137
|
+
referenceId: string;
|
|
138
|
+
type: 'data' | 'constraint';
|
|
139
|
+
direction?: 'input' | 'output';
|
|
140
|
+
notes?: string;
|
|
141
|
+
}
|
|
142
|
+
interface WorkflowTaskStep {
|
|
143
|
+
task_id: string;
|
|
144
|
+
position: number;
|
|
145
|
+
label: string;
|
|
146
|
+
optional?: boolean;
|
|
147
|
+
conditional?: string;
|
|
148
|
+
notes?: string;
|
|
149
|
+
id?: string;
|
|
150
|
+
node_type?: 'task' | 'data' | 'constraint' | 'annotation' | 'touchpoint' | 'actor';
|
|
151
|
+
row?: number;
|
|
152
|
+
col?: number;
|
|
153
|
+
width?: number;
|
|
154
|
+
height?: number;
|
|
155
|
+
attachments?: TemplateAttachment[];
|
|
156
|
+
personaId?: string;
|
|
157
|
+
subType?: 'note' | 'zone';
|
|
158
|
+
customLabel?: string;
|
|
159
|
+
capability?: string;
|
|
160
|
+
color?: string;
|
|
161
|
+
customDefinition?: {
|
|
162
|
+
name: string;
|
|
163
|
+
description?: string;
|
|
164
|
+
icon?: string;
|
|
165
|
+
task_type?: 'ai' | 'human' | 'system';
|
|
166
|
+
layer_id?: string;
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
interface WorkflowTemplateEdge {
|
|
170
|
+
source: string;
|
|
171
|
+
target: string;
|
|
172
|
+
label?: string;
|
|
173
|
+
attachments?: TemplateAttachment[];
|
|
174
|
+
customX?: number;
|
|
175
|
+
customY?: number;
|
|
176
|
+
sourceX?: number;
|
|
177
|
+
targetX?: number;
|
|
178
|
+
sourceHandle?: 'left' | 'right' | 'top' | 'bottom';
|
|
179
|
+
targetHandle?: 'left' | 'right' | 'top' | 'bottom';
|
|
180
|
+
}
|
|
181
|
+
interface WorkflowTemplate {
|
|
182
|
+
id: string;
|
|
183
|
+
name: string;
|
|
184
|
+
description: string;
|
|
185
|
+
primary_use_case: string;
|
|
186
|
+
nodes: BuilderNode[];
|
|
187
|
+
edges: BuilderEdge[];
|
|
188
|
+
common_variations: string[];
|
|
189
|
+
complexity?: string;
|
|
190
|
+
tags?: string[];
|
|
191
|
+
personas?: Persona[];
|
|
192
|
+
}
|
|
193
|
+
interface Node {
|
|
194
|
+
task_id: string;
|
|
195
|
+
x: number;
|
|
196
|
+
y: number;
|
|
197
|
+
label: string;
|
|
198
|
+
}
|
|
199
|
+
interface Example {
|
|
200
|
+
id: string;
|
|
201
|
+
primary_task_id: string;
|
|
202
|
+
title: string;
|
|
203
|
+
description: string;
|
|
204
|
+
industry: string;
|
|
205
|
+
complexity: 'Low' | 'Medium' | 'High';
|
|
206
|
+
tags: string[];
|
|
207
|
+
image_url: string;
|
|
208
|
+
nodes: Node[];
|
|
209
|
+
}
|
|
210
|
+
interface AtlasData {
|
|
211
|
+
meta: Meta;
|
|
212
|
+
layers: Layer[];
|
|
213
|
+
ai_tasks: AiTask[];
|
|
214
|
+
human_tasks: HumanTask[];
|
|
215
|
+
system_tasks: SystemTask[];
|
|
216
|
+
data_artifacts: DataArtifactDefinition[];
|
|
217
|
+
constraints: ConstraintDefinition[];
|
|
218
|
+
touchpoints: TouchpointDefinition[];
|
|
219
|
+
workflow_templates: WorkflowTemplate[];
|
|
220
|
+
examples: Example[];
|
|
221
|
+
}
|
|
222
|
+
type NodeType = 'task' | 'data' | 'constraint' | 'annotation' | 'touchpoint' | 'actor';
|
|
223
|
+
type ActorCategory = 'human' | 'ai' | 'system' | 'other';
|
|
224
|
+
interface Persona {
|
|
225
|
+
id: string;
|
|
226
|
+
name: string;
|
|
227
|
+
role?: string;
|
|
228
|
+
color: string;
|
|
229
|
+
initials: string;
|
|
230
|
+
category: ActorCategory;
|
|
231
|
+
}
|
|
232
|
+
interface NodeAttachment {
|
|
233
|
+
id: string;
|
|
234
|
+
referenceId: string;
|
|
235
|
+
type: 'data' | 'constraint';
|
|
236
|
+
direction?: 'input' | 'output';
|
|
237
|
+
notes?: string;
|
|
238
|
+
examples?: string;
|
|
239
|
+
}
|
|
240
|
+
interface BuilderNode {
|
|
241
|
+
id: string;
|
|
242
|
+
type: NodeType;
|
|
243
|
+
referenceId: string;
|
|
244
|
+
x: number;
|
|
245
|
+
y: number;
|
|
246
|
+
width?: number;
|
|
247
|
+
height?: number;
|
|
248
|
+
measuredW?: number;
|
|
249
|
+
measuredH?: number;
|
|
250
|
+
color?: string;
|
|
251
|
+
subType?: 'note' | 'zone';
|
|
252
|
+
semanticType?: 'data' | 'constraint' | 'touchpoint' | 'task';
|
|
253
|
+
customLabel?: string;
|
|
254
|
+
notes?: string;
|
|
255
|
+
designerDescription?: string;
|
|
256
|
+
personaId?: string;
|
|
257
|
+
capability?: string;
|
|
258
|
+
attachments?: NodeAttachment[];
|
|
259
|
+
customDefinition?: {
|
|
260
|
+
name: string;
|
|
261
|
+
description?: string;
|
|
262
|
+
icon?: string;
|
|
263
|
+
task_type?: 'ai' | 'human' | 'system';
|
|
264
|
+
layer_id?: string;
|
|
265
|
+
};
|
|
266
|
+
}
|
|
267
|
+
interface BuilderEdge {
|
|
268
|
+
id: string;
|
|
269
|
+
source: string;
|
|
270
|
+
target: string;
|
|
271
|
+
label?: string;
|
|
272
|
+
attachments?: NodeAttachment[];
|
|
273
|
+
sourceHandle?: 'left' | 'right' | 'top' | 'bottom';
|
|
274
|
+
targetHandle?: 'left' | 'right' | 'top' | 'bottom';
|
|
275
|
+
customX?: number;
|
|
276
|
+
customY?: number;
|
|
277
|
+
sourceX?: number;
|
|
278
|
+
targetX?: number;
|
|
279
|
+
}
|
|
280
|
+
interface BuilderState {
|
|
281
|
+
nodes: BuilderNode[];
|
|
282
|
+
edges: BuilderEdge[];
|
|
283
|
+
personas: Persona[];
|
|
284
|
+
}
|
|
285
|
+
interface Project {
|
|
286
|
+
id: string;
|
|
287
|
+
name: string;
|
|
288
|
+
description: string;
|
|
289
|
+
lastModified: number;
|
|
290
|
+
data: BuilderState;
|
|
291
|
+
tags?: string[];
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
export type { ActorCategory, AiTask, AtlasData, BaseTask, BuilderEdge, BuilderNode, BuilderState, Capability, ConstraintCategory, ConstraintDefinition, DataArtifactDefinition, DataCategory, Example, HumanTask, IOItem, IOSpec, ImplementationNotes, Layer, LayerGuidance, Meta, Node, NodeAttachment, NodeType, Persona, Project, Relation, SystemTask, Task, TemplateAttachment, TouchpointCategory, TouchpointDefinition, UxNotes, WorkflowTaskStep, WorkflowTemplate, WorkflowTemplateEdge };
|
package/dist/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"types.js"}
|
package/dist/types.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"types.mjs"}
|
package/package.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@quietloudlab/ai-interaction-atlas",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "A shared language for designing AI experiences - 100+ interaction patterns across human actions, AI tasks, system operations, data, constraints, and touchpoints",
|
|
5
|
+
"main": "./dist/index.cjs",
|
|
6
|
+
"module": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"require": "./dist/index.cjs"
|
|
13
|
+
},
|
|
14
|
+
"./types": {
|
|
15
|
+
"types": "./dist/types.d.ts",
|
|
16
|
+
"import": "./dist/types.js",
|
|
17
|
+
"require": "./dist/types.cjs"
|
|
18
|
+
},
|
|
19
|
+
"./data": {
|
|
20
|
+
"types": "./dist/data.d.ts",
|
|
21
|
+
"import": "./dist/data.js",
|
|
22
|
+
"require": "./dist/data.cjs"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"dist",
|
|
27
|
+
"README.md",
|
|
28
|
+
"LICENSE"
|
|
29
|
+
],
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "tsup",
|
|
32
|
+
"dev": "tsup --watch",
|
|
33
|
+
"prepublishOnly": "npm run build"
|
|
34
|
+
},
|
|
35
|
+
"keywords": [
|
|
36
|
+
"ai",
|
|
37
|
+
"interaction-design",
|
|
38
|
+
"taxonomy",
|
|
39
|
+
"patterns",
|
|
40
|
+
"llm",
|
|
41
|
+
"ai-ux",
|
|
42
|
+
"design-system",
|
|
43
|
+
"workflow",
|
|
44
|
+
"ai-design",
|
|
45
|
+
"human-ai-interaction",
|
|
46
|
+
"ai-product",
|
|
47
|
+
"ai-systems",
|
|
48
|
+
"atlas"
|
|
49
|
+
],
|
|
50
|
+
"author": "Brandon Harwood <brandon@quietloudlab.com>",
|
|
51
|
+
"homepage": "https://ai-interaction.com",
|
|
52
|
+
"repository": {
|
|
53
|
+
"type": "git",
|
|
54
|
+
"url": "https://github.com/quietloudlab/ai-interaction-atlas.git",
|
|
55
|
+
"directory": "atlas-package"
|
|
56
|
+
},
|
|
57
|
+
"bugs": {
|
|
58
|
+
"url": "https://github.com/quietloudlab/ai-interaction-atlas/issues"
|
|
59
|
+
},
|
|
60
|
+
"license": "Apache-2.0",
|
|
61
|
+
"sideEffects": false,
|
|
62
|
+
"devDependencies": {
|
|
63
|
+
"tsup": "^8.0.1",
|
|
64
|
+
"typescript": "^5.3.3"
|
|
65
|
+
},
|
|
66
|
+
"engines": {
|
|
67
|
+
"node": ">=18.0.0"
|
|
68
|
+
}
|
|
69
|
+
}
|