@automagik/omni 2.260908.4 → 2.260908.6

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.
@@ -55,6 +55,30 @@ export interface paths {
55
55
  patch: operations["updateAgent"];
56
56
  trace?: never;
57
57
  };
58
+ "/agents/{id}/manifest": {
59
+ parameters: {
60
+ query?: never;
61
+ header?: never;
62
+ path?: never;
63
+ cookie?: never;
64
+ };
65
+ /**
66
+ * Get agent event manifest
67
+ * @description Read the agent's declarative accepts/publishes event manifest (RFC #925 G4a). Returns null when the agent has never declared one.
68
+ */
69
+ get: operations["getAgentManifest"];
70
+ /**
71
+ * Replace agent event manifest
72
+ * @description Replace the agent's declarative accepts/publishes event manifest (full replacement, apply semantics). Event types must be core types or namespaced custom.*\/system.* tokens. Storage only in this slice: accepts is compiled into automations by G4b, publishes enforced by G4c.
73
+ */
74
+ put: operations["updateAgentManifest"];
75
+ post?: never;
76
+ delete?: never;
77
+ options?: never;
78
+ head?: never;
79
+ patch?: never;
80
+ trace?: never;
81
+ };
58
82
  "/auth/validate": {
59
83
  parameters: {
60
84
  query?: never;
@@ -2713,6 +2737,35 @@ export interface components {
2713
2737
  agentCard: {
2714
2738
  [key: string]: unknown;
2715
2739
  } | null;
2740
+ /** @description Declarative accepts/publishes event manifest (RFC #925 G4a) */
2741
+ eventManifest?: {
2742
+ /**
2743
+ * @description Event types this agent consumes
2744
+ * @default []
2745
+ */
2746
+ accepts: {
2747
+ /**
2748
+ * @description Event type consumed (core type, custom.*, or system.*)
2749
+ * @example custom.clickup.task.status_changed
2750
+ */
2751
+ event: string;
2752
+ /** @description Payload filter: dot-notation payload path → expected value (equals semantics, shared with automation conditions). All entries must match. */
2753
+ filter?: {
2754
+ [key: string]: unknown;
2755
+ };
2756
+ }[];
2757
+ /**
2758
+ * @description Event types this agent declares it may emit
2759
+ * @default []
2760
+ */
2761
+ publishes: {
2762
+ /**
2763
+ * @description Event type this agent may emit
2764
+ * @example custom.review.parecer.ready
2765
+ */
2766
+ event: string;
2767
+ }[];
2768
+ } | null;
2716
2769
  /**
2717
2770
  * Format: date-time
2718
2771
  * @description Creation timestamp
@@ -2776,6 +2829,34 @@ export interface components {
2776
2829
  [key: string]: unknown;
2777
2830
  };
2778
2831
  };
2832
+ AgentEventManifest: {
2833
+ /**
2834
+ * @description Event types this agent consumes
2835
+ * @default []
2836
+ */
2837
+ accepts: {
2838
+ /**
2839
+ * @description Event type consumed (core type, custom.*, or system.*)
2840
+ * @example custom.clickup.task.status_changed
2841
+ */
2842
+ event: string;
2843
+ /** @description Payload filter: dot-notation payload path → expected value (equals semantics, shared with automation conditions). All entries must match. */
2844
+ filter?: {
2845
+ [key: string]: unknown;
2846
+ };
2847
+ }[];
2848
+ /**
2849
+ * @description Event types this agent declares it may emit
2850
+ * @default []
2851
+ */
2852
+ publishes: {
2853
+ /**
2854
+ * @description Event type this agent may emit
2855
+ * @example custom.review.parecer.ready
2856
+ */
2857
+ event: string;
2858
+ }[];
2859
+ };
2779
2860
  Error: {
2780
2861
  error: {
2781
2862
  /**
@@ -5513,6 +5594,8 @@ export interface components {
5513
5594
  enabled: boolean;
5514
5595
  /** @description Priority */
5515
5596
  priority: number;
5597
+ /** @description Transactional publication (G5, #988): buffer the run's emit_event publishes and flush them in order only when every action succeeded; a failed run publishes zero */
5598
+ transactionalEmissions: boolean;
5516
5599
  /**
5517
5600
  * Format: date-time
5518
5601
  * @description Creation timestamp
@@ -5645,6 +5728,11 @@ export interface components {
5645
5728
  * @default 0
5646
5729
  */
5647
5730
  priority: number;
5731
+ /**
5732
+ * @description Transactional publication (G5, #988): buffer the run's emit_event publishes and flush them in order only when every action succeeded; a failed run publishes zero. Default false = immediate publishing
5733
+ * @default false
5734
+ */
5735
+ transactionalEmissions: boolean;
5648
5736
  };
5649
5737
  AutomationLog: {
5650
5738
  /**
@@ -6505,6 +6593,35 @@ export interface operations {
6505
6593
  agentCard: {
6506
6594
  [key: string]: unknown;
6507
6595
  } | null;
6596
+ /** @description Declarative accepts/publishes event manifest (RFC #925 G4a) */
6597
+ eventManifest?: {
6598
+ /**
6599
+ * @description Event types this agent consumes
6600
+ * @default []
6601
+ */
6602
+ accepts: {
6603
+ /**
6604
+ * @description Event type consumed (core type, custom.*, or system.*)
6605
+ * @example custom.clickup.task.status_changed
6606
+ */
6607
+ event: string;
6608
+ /** @description Payload filter: dot-notation payload path → expected value (equals semantics, shared with automation conditions). All entries must match. */
6609
+ filter?: {
6610
+ [key: string]: unknown;
6611
+ };
6612
+ }[];
6613
+ /**
6614
+ * @description Event types this agent declares it may emit
6615
+ * @default []
6616
+ */
6617
+ publishes: {
6618
+ /**
6619
+ * @description Event type this agent may emit
6620
+ * @example custom.review.parecer.ready
6621
+ */
6622
+ event: string;
6623
+ }[];
6624
+ } | null;
6508
6625
  /**
6509
6626
  * Format: date-time
6510
6627
  * @description Creation timestamp
@@ -6638,6 +6755,35 @@ export interface operations {
6638
6755
  agentCard: {
6639
6756
  [key: string]: unknown;
6640
6757
  } | null;
6758
+ /** @description Declarative accepts/publishes event manifest (RFC #925 G4a) */
6759
+ eventManifest?: {
6760
+ /**
6761
+ * @description Event types this agent consumes
6762
+ * @default []
6763
+ */
6764
+ accepts: {
6765
+ /**
6766
+ * @description Event type consumed (core type, custom.*, or system.*)
6767
+ * @example custom.clickup.task.status_changed
6768
+ */
6769
+ event: string;
6770
+ /** @description Payload filter: dot-notation payload path → expected value (equals semantics, shared with automation conditions). All entries must match. */
6771
+ filter?: {
6772
+ [key: string]: unknown;
6773
+ };
6774
+ }[];
6775
+ /**
6776
+ * @description Event types this agent declares it may emit
6777
+ * @default []
6778
+ */
6779
+ publishes: {
6780
+ /**
6781
+ * @description Event type this agent may emit
6782
+ * @example custom.review.parecer.ready
6783
+ */
6784
+ event: string;
6785
+ }[];
6786
+ } | null;
6641
6787
  /**
6642
6788
  * Format: date-time
6643
6789
  * @description Creation timestamp
@@ -6739,6 +6885,35 @@ export interface operations {
6739
6885
  agentCard: {
6740
6886
  [key: string]: unknown;
6741
6887
  } | null;
6888
+ /** @description Declarative accepts/publishes event manifest (RFC #925 G4a) */
6889
+ eventManifest?: {
6890
+ /**
6891
+ * @description Event types this agent consumes
6892
+ * @default []
6893
+ */
6894
+ accepts: {
6895
+ /**
6896
+ * @description Event type consumed (core type, custom.*, or system.*)
6897
+ * @example custom.clickup.task.status_changed
6898
+ */
6899
+ event: string;
6900
+ /** @description Payload filter: dot-notation payload path → expected value (equals semantics, shared with automation conditions). All entries must match. */
6901
+ filter?: {
6902
+ [key: string]: unknown;
6903
+ };
6904
+ }[];
6905
+ /**
6906
+ * @description Event types this agent declares it may emit
6907
+ * @default []
6908
+ */
6909
+ publishes: {
6910
+ /**
6911
+ * @description Event type this agent may emit
6912
+ * @example custom.review.parecer.ready
6913
+ */
6914
+ event: string;
6915
+ }[];
6916
+ } | null;
6742
6917
  /**
6743
6918
  * Format: date-time
6744
6919
  * @description Creation timestamp
@@ -6943,6 +7118,35 @@ export interface operations {
6943
7118
  agentCard: {
6944
7119
  [key: string]: unknown;
6945
7120
  } | null;
7121
+ /** @description Declarative accepts/publishes event manifest (RFC #925 G4a) */
7122
+ eventManifest?: {
7123
+ /**
7124
+ * @description Event types this agent consumes
7125
+ * @default []
7126
+ */
7127
+ accepts: {
7128
+ /**
7129
+ * @description Event type consumed (core type, custom.*, or system.*)
7130
+ * @example custom.clickup.task.status_changed
7131
+ */
7132
+ event: string;
7133
+ /** @description Payload filter: dot-notation payload path → expected value (equals semantics, shared with automation conditions). All entries must match. */
7134
+ filter?: {
7135
+ [key: string]: unknown;
7136
+ };
7137
+ }[];
7138
+ /**
7139
+ * @description Event types this agent declares it may emit
7140
+ * @default []
7141
+ */
7142
+ publishes: {
7143
+ /**
7144
+ * @description Event type this agent may emit
7145
+ * @example custom.review.parecer.ready
7146
+ */
7147
+ event: string;
7148
+ }[];
7149
+ } | null;
6946
7150
  /**
6947
7151
  * Format: date-time
6948
7152
  * @description Creation timestamp
@@ -6980,6 +7184,202 @@ export interface operations {
6980
7184
  };
6981
7185
  };
6982
7186
  };
7187
+ getAgentManifest: {
7188
+ parameters: {
7189
+ query?: never;
7190
+ header?: never;
7191
+ path: {
7192
+ id: string;
7193
+ };
7194
+ cookie?: never;
7195
+ };
7196
+ requestBody?: never;
7197
+ responses: {
7198
+ /** @description Agent event manifest (null when undeclared) */
7199
+ 200: {
7200
+ headers: {
7201
+ [name: string]: unknown;
7202
+ };
7203
+ content: {
7204
+ "application/json": {
7205
+ data: {
7206
+ /**
7207
+ * @description Event types this agent consumes
7208
+ * @default []
7209
+ */
7210
+ accepts: {
7211
+ /**
7212
+ * @description Event type consumed (core type, custom.*, or system.*)
7213
+ * @example custom.clickup.task.status_changed
7214
+ */
7215
+ event: string;
7216
+ /** @description Payload filter: dot-notation payload path → expected value (equals semantics, shared with automation conditions). All entries must match. */
7217
+ filter?: {
7218
+ [key: string]: unknown;
7219
+ };
7220
+ }[];
7221
+ /**
7222
+ * @description Event types this agent declares it may emit
7223
+ * @default []
7224
+ */
7225
+ publishes: {
7226
+ /**
7227
+ * @description Event type this agent may emit
7228
+ * @example custom.review.parecer.ready
7229
+ */
7230
+ event: string;
7231
+ }[];
7232
+ } | null;
7233
+ };
7234
+ };
7235
+ };
7236
+ /** @description Agent not found */
7237
+ 404: {
7238
+ headers: {
7239
+ [name: string]: unknown;
7240
+ };
7241
+ content: {
7242
+ "application/json": {
7243
+ error: {
7244
+ /**
7245
+ * @description Error code
7246
+ * @example NOT_FOUND
7247
+ */
7248
+ code: string;
7249
+ /** @description Human-readable error message */
7250
+ message: string;
7251
+ /** @description Additional error details */
7252
+ details?: unknown;
7253
+ };
7254
+ };
7255
+ };
7256
+ };
7257
+ };
7258
+ };
7259
+ updateAgentManifest: {
7260
+ parameters: {
7261
+ query?: never;
7262
+ header?: never;
7263
+ path: {
7264
+ id: string;
7265
+ };
7266
+ cookie?: never;
7267
+ };
7268
+ requestBody?: {
7269
+ content: {
7270
+ "application/json": {
7271
+ /**
7272
+ * @description Event types this agent consumes
7273
+ * @default []
7274
+ */
7275
+ accepts?: {
7276
+ /**
7277
+ * @description Event type consumed (core type, custom.*, or system.*)
7278
+ * @example custom.clickup.task.status_changed
7279
+ */
7280
+ event: string;
7281
+ /** @description Payload filter: dot-notation payload path → expected value (equals semantics, shared with automation conditions). All entries must match. */
7282
+ filter?: {
7283
+ [key: string]: unknown;
7284
+ };
7285
+ }[];
7286
+ /**
7287
+ * @description Event types this agent declares it may emit
7288
+ * @default []
7289
+ */
7290
+ publishes?: {
7291
+ /**
7292
+ * @description Event type this agent may emit
7293
+ * @example custom.review.parecer.ready
7294
+ */
7295
+ event: string;
7296
+ }[];
7297
+ };
7298
+ };
7299
+ };
7300
+ responses: {
7301
+ /** @description Stored manifest after replacement */
7302
+ 200: {
7303
+ headers: {
7304
+ [name: string]: unknown;
7305
+ };
7306
+ content: {
7307
+ "application/json": {
7308
+ data: {
7309
+ /**
7310
+ * @description Event types this agent consumes
7311
+ * @default []
7312
+ */
7313
+ accepts: {
7314
+ /**
7315
+ * @description Event type consumed (core type, custom.*, or system.*)
7316
+ * @example custom.clickup.task.status_changed
7317
+ */
7318
+ event: string;
7319
+ /** @description Payload filter: dot-notation payload path → expected value (equals semantics, shared with automation conditions). All entries must match. */
7320
+ filter?: {
7321
+ [key: string]: unknown;
7322
+ };
7323
+ }[];
7324
+ /**
7325
+ * @description Event types this agent declares it may emit
7326
+ * @default []
7327
+ */
7328
+ publishes: {
7329
+ /**
7330
+ * @description Event type this agent may emit
7331
+ * @example custom.review.parecer.ready
7332
+ */
7333
+ event: string;
7334
+ }[];
7335
+ } | null;
7336
+ };
7337
+ };
7338
+ };
7339
+ /** @description Validation error */
7340
+ 400: {
7341
+ headers: {
7342
+ [name: string]: unknown;
7343
+ };
7344
+ content: {
7345
+ "application/json": {
7346
+ error: {
7347
+ /**
7348
+ * @description Error code
7349
+ * @example NOT_FOUND
7350
+ */
7351
+ code: string;
7352
+ /** @description Human-readable error message */
7353
+ message: string;
7354
+ /** @description Additional error details */
7355
+ details?: unknown;
7356
+ };
7357
+ };
7358
+ };
7359
+ };
7360
+ /** @description Agent not found */
7361
+ 404: {
7362
+ headers: {
7363
+ [name: string]: unknown;
7364
+ };
7365
+ content: {
7366
+ "application/json": {
7367
+ error: {
7368
+ /**
7369
+ * @description Error code
7370
+ * @example NOT_FOUND
7371
+ */
7372
+ code: string;
7373
+ /** @description Human-readable error message */
7374
+ message: string;
7375
+ /** @description Additional error details */
7376
+ details?: unknown;
7377
+ };
7378
+ };
7379
+ };
7380
+ };
7381
+ };
7382
+ };
6983
7383
  validateApiKey: {
6984
7384
  parameters: {
6985
7385
  query?: never;
@@ -16630,6 +17030,8 @@ export interface operations {
16630
17030
  enabled: boolean;
16631
17031
  /** @description Priority */
16632
17032
  priority: number;
17033
+ /** @description Transactional publication (G5, #988): buffer the run's emit_event publishes and flush them in order only when every action succeeded; a failed run publishes zero */
17034
+ transactionalEmissions: boolean;
16633
17035
  /**
16634
17036
  * Format: date-time
16635
17037
  * @description Creation timestamp
@@ -16776,6 +17178,11 @@ export interface operations {
16776
17178
  * @default 0
16777
17179
  */
16778
17180
  priority?: number;
17181
+ /**
17182
+ * @description Transactional publication (G5, #988): buffer the run's emit_event publishes and flush them in order only when every action succeeded; a failed run publishes zero. Default false = immediate publishing
17183
+ * @default false
17184
+ */
17185
+ transactionalEmissions?: boolean;
16779
17186
  };
16780
17187
  };
16781
17188
  };
@@ -16906,6 +17313,8 @@ export interface operations {
16906
17313
  enabled: boolean;
16907
17314
  /** @description Priority */
16908
17315
  priority: number;
17316
+ /** @description Transactional publication (G5, #988): buffer the run's emit_event publishes and flush them in order only when every action succeeded; a failed run publishes zero */
17317
+ transactionalEmissions: boolean;
16909
17318
  /**
16910
17319
  * Format: date-time
16911
17320
  * @description Creation timestamp
@@ -17080,6 +17489,8 @@ export interface operations {
17080
17489
  enabled: boolean;
17081
17490
  /** @description Priority */
17082
17491
  priority: number;
17492
+ /** @description Transactional publication (G5, #988): buffer the run's emit_event publishes and flush them in order only when every action succeeded; a failed run publishes zero */
17493
+ transactionalEmissions: boolean;
17083
17494
  /**
17084
17495
  * Format: date-time
17085
17496
  * @description Creation timestamp
@@ -17297,6 +17708,11 @@ export interface operations {
17297
17708
  * @default 0
17298
17709
  */
17299
17710
  priority?: number;
17711
+ /**
17712
+ * @description Transactional publication (G5, #988): buffer the run's emit_event publishes and flush them in order only when every action succeeded; a failed run publishes zero. Default false = immediate publishing
17713
+ * @default false
17714
+ */
17715
+ transactionalEmissions?: boolean;
17300
17716
  };
17301
17717
  };
17302
17718
  };
@@ -17427,6 +17843,8 @@ export interface operations {
17427
17843
  enabled: boolean;
17428
17844
  /** @description Priority */
17429
17845
  priority: number;
17846
+ /** @description Transactional publication (G5, #988): buffer the run's emit_event publishes and flush them in order only when every action succeeded; a failed run publishes zero */
17847
+ transactionalEmissions: boolean;
17430
17848
  /**
17431
17849
  * Format: date-time
17432
17850
  * @description Creation timestamp
@@ -17601,6 +18019,8 @@ export interface operations {
17601
18019
  enabled: boolean;
17602
18020
  /** @description Priority */
17603
18021
  priority: number;
18022
+ /** @description Transactional publication (G5, #988): buffer the run's emit_event publishes and flush them in order only when every action succeeded; a failed run publishes zero */
18023
+ transactionalEmissions: boolean;
17604
18024
  /**
17605
18025
  * Format: date-time
17606
18026
  * @description Creation timestamp
@@ -17775,6 +18195,8 @@ export interface operations {
17775
18195
  enabled: boolean;
17776
18196
  /** @description Priority */
17777
18197
  priority: number;
18198
+ /** @description Transactional publication (G5, #988): buffer the run's emit_event publishes and flush them in order only when every action succeeded; a failed run publishes zero */
18199
+ transactionalEmissions: boolean;
17778
18200
  /**
17779
18201
  * Format: date-time
17780
18202
  * @description Creation timestamp