@quietloudlab/ai-interaction-atlas 1.0.7 → 1.0.8

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/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Meta, Layer, AiTask, HumanTask, SystemTask, DataArtifactDefinition, ConstraintDefinition, TouchpointDefinition, WorkflowTemplate, Example } from './types.mjs';
2
- export { ActorCategory, AtlasData, BaseTask, BuilderEdge, BuilderNode, BuilderState, Capability, ConstraintCategory, DataCategory, IOItem, IOSpec, ImplementationNotes, LayerGuidance, Node, NodeAttachment, NodeType, Persona, Project, Relation, Task, TemplateAttachment, TouchpointCategory, UxNotes, WorkflowTaskStep, WorkflowTemplateEdge } from './types.mjs';
2
+ export { ActorCategory, AtlasData, BaseTask, BuilderEdge, BuilderNode, BuilderState, Capability, ConstraintCategory, DataCategory, IOItem, IOSpec, ImplementationNotes, LayerGuidance, Node, NodeAttachment, NodeClass, NodeType, Persona, Project, Relation, Task, TemplateAttachment, TouchpointCategory, UxNotes, WorkflowTaskStep, WorkflowTemplateEdge } from './types.mjs';
3
3
  export { ATLAS_DATA } from './data.mjs';
4
4
 
5
5
  declare const META: Meta;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Meta, Layer, AiTask, HumanTask, SystemTask, DataArtifactDefinition, ConstraintDefinition, TouchpointDefinition, WorkflowTemplate, Example } from './types.js';
2
- export { ActorCategory, AtlasData, BaseTask, BuilderEdge, BuilderNode, BuilderState, Capability, ConstraintCategory, DataCategory, IOItem, IOSpec, ImplementationNotes, LayerGuidance, Node, NodeAttachment, NodeType, Persona, Project, Relation, Task, TemplateAttachment, TouchpointCategory, UxNotes, WorkflowTaskStep, WorkflowTemplateEdge } from './types.js';
2
+ export { ActorCategory, AtlasData, BaseTask, BuilderEdge, BuilderNode, BuilderState, Capability, ConstraintCategory, DataCategory, IOItem, IOSpec, ImplementationNotes, LayerGuidance, Node, NodeAttachment, NodeClass, NodeType, Persona, Project, Relation, Task, TemplateAttachment, TouchpointCategory, UxNotes, WorkflowTaskStep, WorkflowTemplateEdge } from './types.js';
3
3
  export { ATLAS_DATA } from './data.js';
4
4
 
5
5
  declare const META: Meta;
package/dist/types.d.mts CHANGED
@@ -233,10 +233,14 @@ interface Persona {
233
233
  interface NodeAttachment {
234
234
  id: string;
235
235
  referenceId: string;
236
+ customLabel?: string;
237
+ customDescription?: string;
238
+ customIcon?: string;
236
239
  type: 'data' | 'constraint';
237
240
  direction?: 'input' | 'output';
238
241
  notes?: string;
239
242
  examples?: string;
243
+ status?: 'pending' | 'approved' | 'failed' | 'not-applicable';
240
244
  }
241
245
  interface BuilderNode {
242
246
  id: string;
@@ -251,12 +255,17 @@ interface BuilderNode {
251
255
  color?: string;
252
256
  subType?: 'note' | 'zone';
253
257
  semanticType?: 'data' | 'constraint' | 'touchpoint' | 'task';
258
+ classId?: string;
259
+ instanceName?: string;
260
+ instanceNotes?: string;
254
261
  customLabel?: string;
262
+ className?: string;
255
263
  notes?: string;
256
264
  designerDescription?: string;
257
265
  personaId?: string;
258
266
  capability?: string;
259
267
  attachments?: NodeAttachment[];
268
+ suppressedValidations?: string[];
260
269
  customDefinition?: {
261
270
  name: string;
262
271
  description?: string;
@@ -273,15 +282,47 @@ interface BuilderEdge {
273
282
  attachments?: NodeAttachment[];
274
283
  sourceHandle?: 'left' | 'right' | 'top' | 'bottom';
275
284
  targetHandle?: 'left' | 'right' | 'top' | 'bottom';
285
+ sourcePortId?: string;
286
+ targetPortId?: string;
287
+ /** @deprecated Use waypoints instead. Migrated automatically on project load. */
276
288
  customX?: number;
289
+ /** @deprecated Use waypoints instead. Migrated automatically on project load. */
277
290
  customY?: number;
291
+ /** @deprecated Use waypoints instead. Migrated automatically on project load. */
278
292
  sourceX?: number;
293
+ /** @deprecated Use waypoints instead. Migrated automatically on project load. */
279
294
  targetX?: number;
295
+ /** Manual waypoints for custom edge routing. Replaces legacy customX/Y/sourceX/targetX. */
296
+ waypoints?: Array<{
297
+ x: number;
298
+ y: number;
299
+ }>;
300
+ /** Parametric label position along eligible path segments. t ∈ [0,1]. */
301
+ labelAnchor?: {
302
+ t: number;
303
+ segmentIndex?: number;
304
+ segmentT?: number;
305
+ };
306
+ _isTransitive?: boolean;
307
+ _viaDataNodes?: string[];
308
+ }
309
+ interface NodeClass {
310
+ id: string;
311
+ type: NodeType;
312
+ referenceId?: string;
313
+ name: string;
314
+ properties: Record<string, any>;
315
+ notes?: string;
316
+ createdAt: number;
317
+ updatedAt: number;
280
318
  }
281
319
  interface BuilderState {
282
320
  nodes: BuilderNode[];
283
321
  edges: BuilderEdge[];
284
322
  personas: Persona[];
323
+ nodeClasses?: NodeClass[];
324
+ /** Schema version for migrations - set automatically on save */
325
+ schemaVersion?: number;
285
326
  }
286
327
  interface Project {
287
328
  id: string;
@@ -292,4 +333,4 @@ interface Project {
292
333
  tags?: string[];
293
334
  }
294
335
 
295
- 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 };
336
+ export type { ActorCategory, AiTask, AtlasData, BaseTask, BuilderEdge, BuilderNode, BuilderState, Capability, ConstraintCategory, ConstraintDefinition, DataArtifactDefinition, DataCategory, Example, HumanTask, IOItem, IOSpec, ImplementationNotes, Layer, LayerGuidance, Meta, Node, NodeAttachment, NodeClass, NodeType, Persona, Project, Relation, SystemTask, Task, TemplateAttachment, TouchpointCategory, TouchpointDefinition, UxNotes, WorkflowTaskStep, WorkflowTemplate, WorkflowTemplateEdge };
package/dist/types.d.ts CHANGED
@@ -233,10 +233,14 @@ interface Persona {
233
233
  interface NodeAttachment {
234
234
  id: string;
235
235
  referenceId: string;
236
+ customLabel?: string;
237
+ customDescription?: string;
238
+ customIcon?: string;
236
239
  type: 'data' | 'constraint';
237
240
  direction?: 'input' | 'output';
238
241
  notes?: string;
239
242
  examples?: string;
243
+ status?: 'pending' | 'approved' | 'failed' | 'not-applicable';
240
244
  }
241
245
  interface BuilderNode {
242
246
  id: string;
@@ -251,12 +255,17 @@ interface BuilderNode {
251
255
  color?: string;
252
256
  subType?: 'note' | 'zone';
253
257
  semanticType?: 'data' | 'constraint' | 'touchpoint' | 'task';
258
+ classId?: string;
259
+ instanceName?: string;
260
+ instanceNotes?: string;
254
261
  customLabel?: string;
262
+ className?: string;
255
263
  notes?: string;
256
264
  designerDescription?: string;
257
265
  personaId?: string;
258
266
  capability?: string;
259
267
  attachments?: NodeAttachment[];
268
+ suppressedValidations?: string[];
260
269
  customDefinition?: {
261
270
  name: string;
262
271
  description?: string;
@@ -273,15 +282,47 @@ interface BuilderEdge {
273
282
  attachments?: NodeAttachment[];
274
283
  sourceHandle?: 'left' | 'right' | 'top' | 'bottom';
275
284
  targetHandle?: 'left' | 'right' | 'top' | 'bottom';
285
+ sourcePortId?: string;
286
+ targetPortId?: string;
287
+ /** @deprecated Use waypoints instead. Migrated automatically on project load. */
276
288
  customX?: number;
289
+ /** @deprecated Use waypoints instead. Migrated automatically on project load. */
277
290
  customY?: number;
291
+ /** @deprecated Use waypoints instead. Migrated automatically on project load. */
278
292
  sourceX?: number;
293
+ /** @deprecated Use waypoints instead. Migrated automatically on project load. */
279
294
  targetX?: number;
295
+ /** Manual waypoints for custom edge routing. Replaces legacy customX/Y/sourceX/targetX. */
296
+ waypoints?: Array<{
297
+ x: number;
298
+ y: number;
299
+ }>;
300
+ /** Parametric label position along eligible path segments. t ∈ [0,1]. */
301
+ labelAnchor?: {
302
+ t: number;
303
+ segmentIndex?: number;
304
+ segmentT?: number;
305
+ };
306
+ _isTransitive?: boolean;
307
+ _viaDataNodes?: string[];
308
+ }
309
+ interface NodeClass {
310
+ id: string;
311
+ type: NodeType;
312
+ referenceId?: string;
313
+ name: string;
314
+ properties: Record<string, any>;
315
+ notes?: string;
316
+ createdAt: number;
317
+ updatedAt: number;
280
318
  }
281
319
  interface BuilderState {
282
320
  nodes: BuilderNode[];
283
321
  edges: BuilderEdge[];
284
322
  personas: Persona[];
323
+ nodeClasses?: NodeClass[];
324
+ /** Schema version for migrations - set automatically on save */
325
+ schemaVersion?: number;
285
326
  }
286
327
  interface Project {
287
328
  id: string;
@@ -292,4 +333,4 @@ interface Project {
292
333
  tags?: string[];
293
334
  }
294
335
 
295
- 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 };
336
+ export type { ActorCategory, AiTask, AtlasData, BaseTask, BuilderEdge, BuilderNode, BuilderState, Capability, ConstraintCategory, ConstraintDefinition, DataArtifactDefinition, DataCategory, Example, HumanTask, IOItem, IOSpec, ImplementationNotes, Layer, LayerGuidance, Meta, Node, NodeAttachment, NodeClass, NodeType, Persona, Project, Relation, SystemTask, Task, TemplateAttachment, TouchpointCategory, TouchpointDefinition, UxNotes, WorkflowTaskStep, WorkflowTemplate, WorkflowTemplateEdge };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quietloudlab/ai-interaction-atlas",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "A shared language for designing AI experiences - 100+ interaction patterns across human actions, AI tasks, system operations, data, constraints, and touchpoints",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",