@pellux/goodvibes-contracts 0.18.3 → 0.30.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.
Files changed (39) hide show
  1. package/README.md +13 -9
  2. package/artifacts/operator-contract.json +24370 -10474
  3. package/dist/generated/foundation-client-types.d.ts +106 -19
  4. package/dist/generated/foundation-client-types.d.ts.map +1 -1
  5. package/dist/generated/foundation-metadata.d.ts +3 -3
  6. package/dist/generated/foundation-metadata.js +3 -3
  7. package/dist/generated/operator-contract.d.ts.map +1 -1
  8. package/dist/generated/operator-contract.js +24370 -10474
  9. package/dist/generated/operator-method-ids.d.ts +1 -1
  10. package/dist/generated/operator-method-ids.d.ts.map +1 -1
  11. package/dist/generated/operator-method-ids.js +51 -0
  12. package/dist/generated/peer-contract.d.ts.map +1 -1
  13. package/dist/generated/runtime-event-domains.d.ts +1 -1
  14. package/dist/generated/runtime-event-domains.d.ts.map +1 -1
  15. package/dist/generated/runtime-event-domains.js +1 -0
  16. package/dist/index.d.ts +1 -0
  17. package/dist/index.d.ts.map +1 -1
  18. package/dist/index.js +6 -2
  19. package/dist/types.d.ts +6 -3
  20. package/dist/types.d.ts.map +1 -1
  21. package/dist/zod-schemas/accounts.d.ts +81 -0
  22. package/dist/zod-schemas/accounts.d.ts.map +1 -0
  23. package/dist/zod-schemas/accounts.js +47 -0
  24. package/dist/zod-schemas/auth.d.ts +42 -0
  25. package/dist/zod-schemas/auth.d.ts.map +1 -0
  26. package/dist/zod-schemas/auth.js +29 -0
  27. package/dist/zod-schemas/events.d.ts +37 -0
  28. package/dist/zod-schemas/events.d.ts.map +1 -0
  29. package/dist/zod-schemas/events.js +26 -0
  30. package/dist/zod-schemas/index.d.ts +11 -0
  31. package/dist/zod-schemas/index.d.ts.map +1 -0
  32. package/dist/zod-schemas/index.js +5 -0
  33. package/dist/zod-schemas/providers.d.ts +271 -0
  34. package/dist/zod-schemas/providers.d.ts.map +1 -0
  35. package/dist/zod-schemas/providers.js +80 -0
  36. package/dist/zod-schemas/session.d.ts +22 -0
  37. package/dist/zod-schemas/session.d.ts.map +1 -0
  38. package/dist/zod-schemas/session.js +19 -0
  39. package/package.json +59 -1
@@ -2,6 +2,11 @@ export type JsonPrimitive = string | number | boolean | null;
2
2
  export type JsonValue = JsonPrimitive | {
3
3
  readonly [key: string]: JsonValue;
4
4
  } | readonly JsonValue[];
5
+ export type SharedSessionConversationRouteOutput = {
6
+ messageId: string;
7
+ routedTo: "conversation";
8
+ sessionId: string;
9
+ };
5
10
  export interface OperatorMethodInputMap {
6
11
  "accounts.snapshot": {};
7
12
  "approvals.approve": {
@@ -556,7 +561,7 @@ export interface OperatorMethodInputMap {
556
561
  artifactId?: string;
557
562
  path?: string;
558
563
  uri?: string;
559
- sourceType?: "bookmark" | "bookmark-list" | "dataset" | "document" | "image" | "manual" | "other" | "repo" | "url";
564
+ sourceType?: "bookmark" | "bookmark-list" | "history" | "dataset" | "document" | "image" | "manual" | "other" | "repo" | "url";
560
565
  title?: string;
561
566
  sessionId?: string;
562
567
  tags?: readonly string[];
@@ -570,6 +575,22 @@ export interface OperatorMethodInputMap {
570
575
  } & {
571
576
  readonly [key: string]: unknown;
572
577
  });
578
+ "knowledge.ingest.browserHistory": ({
579
+ limit?: number;
580
+ sinceMs?: number;
581
+ browsers?: readonly string[];
582
+ sourceKinds?: readonly string[];
583
+ homeOverride?: string;
584
+ sessionId?: string;
585
+ connectorId?: string;
586
+ metadata?: ({} & {
587
+ readonly [key: string]: ({} & {
588
+ readonly [key: string]: JsonValue;
589
+ }) | boolean | null | number | readonly JsonValue[] | string;
590
+ });
591
+ } & {
592
+ readonly [key: string]: unknown;
593
+ });
573
594
  "knowledge.ingest.bookmarks": ({
574
595
  path: string;
575
596
  sessionId?: string;
@@ -586,7 +607,7 @@ export interface OperatorMethodInputMap {
586
607
  "knowledge.ingest.url": ({
587
608
  url: string;
588
609
  title?: string;
589
- sourceType?: "bookmark" | "bookmark-list" | "dataset" | "document" | "image" | "manual" | "other" | "repo" | "url";
610
+ sourceType?: "bookmark" | "bookmark-list" | "history" | "dataset" | "document" | "image" | "manual" | "other" | "repo" | "url";
590
611
  sessionId?: string;
591
612
  tags?: readonly string[];
592
613
  folderPath?: string;
@@ -1227,6 +1248,7 @@ export interface OperatorMethodInputMap {
1227
1248
  "schedules.run": {
1228
1249
  scheduleId: string;
1229
1250
  };
1251
+ "security.settings": {};
1230
1252
  "services.install": {};
1231
1253
  "services.restart": {};
1232
1254
  "services.start": {};
@@ -1287,6 +1309,7 @@ export interface OperatorMethodInputMap {
1287
1309
  body: string;
1288
1310
  surfaceKind?: string;
1289
1311
  surfaceId?: string;
1312
+ kind?: "message" | "task" | "followup";
1290
1313
  routing?: {
1291
1314
  providerId?: string;
1292
1315
  modelId?: string;
@@ -4543,7 +4566,6 @@ export interface OperatorMethodOutputMap {
4543
4566
  current: {
4544
4567
  method: string;
4545
4568
  path: string;
4546
- aliasPaths: readonly string[];
4547
4569
  responseSchema: {
4548
4570
  authenticated: boolean;
4549
4571
  authMode: "anonymous" | "invalid" | "session" | "shared-token";
@@ -4653,7 +4675,6 @@ export interface OperatorMethodOutputMap {
4653
4675
  };
4654
4676
  peer: {
4655
4677
  contractPath: string;
4656
- aliasPaths: readonly string[];
4657
4678
  relationship: string;
4658
4679
  };
4659
4680
  };
@@ -5105,7 +5126,7 @@ export interface OperatorMethodOutputMap {
5105
5126
  displayName?: string;
5106
5127
  version?: string;
5107
5128
  description: string;
5108
- sourceType: "bookmark" | "bookmark-list" | "dataset" | "document" | "image" | "manual" | "other" | "repo" | "url";
5129
+ sourceType: "bookmark" | "bookmark-list" | "history" | "dataset" | "document" | "image" | "manual" | "other" | "repo" | "url";
5109
5130
  inputSchema?: ({} & {
5110
5131
  readonly [key: string]: ({} & {
5111
5132
  readonly [key: string]: JsonValue;
@@ -5153,7 +5174,7 @@ export interface OperatorMethodOutputMap {
5153
5174
  displayName?: string;
5154
5175
  version?: string;
5155
5176
  description: string;
5156
- sourceType: "bookmark" | "bookmark-list" | "dataset" | "document" | "image" | "manual" | "other" | "repo" | "url";
5177
+ sourceType: "bookmark" | "bookmark-list" | "history" | "dataset" | "document" | "image" | "manual" | "other" | "repo" | "url";
5157
5178
  inputSchema?: ({} & {
5158
5179
  readonly [key: string]: ({} & {
5159
5180
  readonly [key: string]: JsonValue;
@@ -5279,7 +5300,7 @@ export interface OperatorMethodOutputMap {
5279
5300
  source: ({
5280
5301
  id: string;
5281
5302
  connectorId: string;
5282
- sourceType: "bookmark" | "bookmark-list" | "dataset" | "document" | "image" | "manual" | "other" | "repo" | "url";
5303
+ sourceType: "bookmark" | "bookmark-list" | "history" | "dataset" | "document" | "image" | "manual" | "other" | "repo" | "url";
5283
5304
  title?: string;
5284
5305
  sourceUri?: string;
5285
5306
  canonicalUri?: string;
@@ -5325,13 +5346,55 @@ export interface OperatorMethodOutputMap {
5325
5346
  } & {
5326
5347
  readonly [key: string]: unknown;
5327
5348
  });
5349
+ "knowledge.ingest.browserHistory": {
5350
+ imported: number;
5351
+ failed: number;
5352
+ sources: readonly (({
5353
+ id: string;
5354
+ connectorId: string;
5355
+ sourceType: "bookmark" | "bookmark-list" | "history" | "dataset" | "document" | "image" | "manual" | "other" | "repo" | "url";
5356
+ title?: string;
5357
+ sourceUri?: string;
5358
+ canonicalUri?: string;
5359
+ summary?: string;
5360
+ description?: string;
5361
+ tags: readonly string[];
5362
+ folderPath?: string;
5363
+ status: string;
5364
+ artifactId?: string;
5365
+ contentHash?: string;
5366
+ lastCrawledAt?: number;
5367
+ crawlError?: string;
5368
+ sessionId?: string;
5369
+ metadata: ({} & {
5370
+ readonly [key: string]: ({} & {
5371
+ readonly [key: string]: JsonValue;
5372
+ }) | boolean | null | number | readonly JsonValue[] | string;
5373
+ });
5374
+ createdAt: number;
5375
+ updatedAt: number;
5376
+ } & {
5377
+ readonly [key: string]: unknown;
5378
+ }))[];
5379
+ errors: readonly string[];
5380
+ profiles: readonly (({
5381
+ family: string;
5382
+ browser: string;
5383
+ profileName: string;
5384
+ profilePath: string;
5385
+ historyPath?: string;
5386
+ bookmarksPath?: string;
5387
+ } & {
5388
+ readonly [key: string]: unknown;
5389
+ }))[];
5390
+ };
5328
5391
  "knowledge.ingest.bookmarks": {
5329
5392
  imported: number;
5330
5393
  failed: number;
5331
5394
  sources: readonly (({
5332
5395
  id: string;
5333
5396
  connectorId: string;
5334
- sourceType: "bookmark" | "bookmark-list" | "dataset" | "document" | "image" | "manual" | "other" | "repo" | "url";
5397
+ sourceType: "bookmark" | "bookmark-list" | "history" | "dataset" | "document" | "image" | "manual" | "other" | "repo" | "url";
5335
5398
  title?: string;
5336
5399
  sourceUri?: string;
5337
5400
  canonicalUri?: string;
@@ -5363,7 +5426,7 @@ export interface OperatorMethodOutputMap {
5363
5426
  sources: readonly (({
5364
5427
  id: string;
5365
5428
  connectorId: string;
5366
- sourceType: "bookmark" | "bookmark-list" | "dataset" | "document" | "image" | "manual" | "other" | "repo" | "url";
5429
+ sourceType: "bookmark" | "bookmark-list" | "history" | "dataset" | "document" | "image" | "manual" | "other" | "repo" | "url";
5367
5430
  title?: string;
5368
5431
  sourceUri?: string;
5369
5432
  canonicalUri?: string;
@@ -5393,7 +5456,7 @@ export interface OperatorMethodOutputMap {
5393
5456
  source: ({
5394
5457
  id: string;
5395
5458
  connectorId: string;
5396
- sourceType: "bookmark" | "bookmark-list" | "dataset" | "document" | "image" | "manual" | "other" | "repo" | "url";
5459
+ sourceType: "bookmark" | "bookmark-list" | "history" | "dataset" | "document" | "image" | "manual" | "other" | "repo" | "url";
5397
5460
  title?: string;
5398
5461
  sourceUri?: string;
5399
5462
  canonicalUri?: string;
@@ -5445,7 +5508,7 @@ export interface OperatorMethodOutputMap {
5445
5508
  sources: readonly (({
5446
5509
  id: string;
5447
5510
  connectorId: string;
5448
- sourceType: "bookmark" | "bookmark-list" | "dataset" | "document" | "image" | "manual" | "other" | "repo" | "url";
5511
+ sourceType: "bookmark" | "bookmark-list" | "history" | "dataset" | "document" | "image" | "manual" | "other" | "repo" | "url";
5449
5512
  title?: string;
5450
5513
  sourceUri?: string;
5451
5514
  canonicalUri?: string;
@@ -5495,7 +5558,7 @@ export interface OperatorMethodOutputMap {
5495
5558
  source?: ({
5496
5559
  id: string;
5497
5560
  connectorId: string;
5498
- sourceType: "bookmark" | "bookmark-list" | "dataset" | "document" | "image" | "manual" | "other" | "repo" | "url";
5561
+ sourceType: "bookmark" | "bookmark-list" | "history" | "dataset" | "document" | "image" | "manual" | "other" | "repo" | "url";
5499
5562
  title?: string;
5500
5563
  sourceUri?: string;
5501
5564
  canonicalUri?: string;
@@ -5578,7 +5641,7 @@ export interface OperatorMethodOutputMap {
5578
5641
  linkedSources?: readonly (({
5579
5642
  id: string;
5580
5643
  connectorId: string;
5581
- sourceType: "bookmark" | "bookmark-list" | "dataset" | "document" | "image" | "manual" | "other" | "repo" | "url";
5644
+ sourceType: "bookmark" | "bookmark-list" | "history" | "dataset" | "document" | "image" | "manual" | "other" | "repo" | "url";
5582
5645
  title?: string;
5583
5646
  sourceUri?: string;
5584
5647
  canonicalUri?: string;
@@ -5636,6 +5699,11 @@ export interface OperatorMethodOutputMap {
5636
5699
  completedAt?: number;
5637
5700
  error?: string;
5638
5701
  result: {} | {
5702
+ imported: number;
5703
+ failed: number;
5704
+ profileCount: number;
5705
+ errorCount: number;
5706
+ } | {
5639
5707
  issueCount: number;
5640
5708
  } | {
5641
5709
  projections: readonly ({
@@ -5667,7 +5735,7 @@ export interface OperatorMethodOutputMap {
5667
5735
  "knowledge.job.get": {
5668
5736
  job: {
5669
5737
  id: string;
5670
- kind: "deep-consolidation" | "light-consolidation" | "lint" | "rebuild-projections" | "refresh-bookmarks" | "refresh-stale" | "reindex";
5738
+ kind: "deep-consolidation" | "light-consolidation" | "lint" | "rebuild-projections" | "refresh-bookmarks" | "refresh-stale" | "reindex" | "sync-browser-history";
5671
5739
  title: string;
5672
5740
  description: string;
5673
5741
  defaultMode: "background" | "inline";
@@ -5689,6 +5757,11 @@ export interface OperatorMethodOutputMap {
5689
5757
  completedAt?: number;
5690
5758
  error?: string;
5691
5759
  result: {} | {
5760
+ imported: number;
5761
+ failed: number;
5762
+ profileCount: number;
5763
+ errorCount: number;
5764
+ } | {
5692
5765
  issueCount: number;
5693
5766
  } | {
5694
5767
  projections: readonly ({
@@ -5720,7 +5793,7 @@ export interface OperatorMethodOutputMap {
5720
5793
  "knowledge.jobs.list": {
5721
5794
  jobs: readonly ({
5722
5795
  id: string;
5723
- kind: "deep-consolidation" | "light-consolidation" | "lint" | "rebuild-projections" | "refresh-bookmarks" | "refresh-stale" | "reindex";
5796
+ kind: "deep-consolidation" | "light-consolidation" | "lint" | "rebuild-projections" | "refresh-bookmarks" | "refresh-stale" | "reindex" | "sync-browser-history";
5724
5797
  title: string;
5725
5798
  description: string;
5726
5799
  defaultMode: "background" | "inline";
@@ -6133,7 +6206,7 @@ export interface OperatorMethodOutputMap {
6133
6206
  source?: ({
6134
6207
  id: string;
6135
6208
  connectorId: string;
6136
- sourceType: "bookmark" | "bookmark-list" | "dataset" | "document" | "image" | "manual" | "other" | "repo" | "url";
6209
+ sourceType: "bookmark" | "bookmark-list" | "history" | "dataset" | "document" | "image" | "manual" | "other" | "repo" | "url";
6137
6210
  title?: string;
6138
6211
  sourceUri?: string;
6139
6212
  canonicalUri?: string;
@@ -6214,7 +6287,7 @@ export interface OperatorMethodOutputMap {
6214
6287
  sources: readonly (({
6215
6288
  id: string;
6216
6289
  connectorId: string;
6217
- sourceType: "bookmark" | "bookmark-list" | "dataset" | "document" | "image" | "manual" | "other" | "repo" | "url";
6290
+ sourceType: "bookmark" | "bookmark-list" | "history" | "dataset" | "document" | "image" | "manual" | "other" | "repo" | "url";
6218
6291
  title?: string;
6219
6292
  sourceUri?: string;
6220
6293
  canonicalUri?: string;
@@ -6289,7 +6362,7 @@ export interface OperatorMethodOutputMap {
6289
6362
  roles: readonly string[];
6290
6363
  })[];
6291
6364
  sessions: readonly ({
6292
- token: string;
6365
+ tokenFingerprint: string;
6293
6366
  username: string;
6294
6367
  expiresAt: number;
6295
6368
  })[];
@@ -9011,7 +9084,7 @@ export interface OperatorMethodOutputMap {
9011
9084
  });
9012
9085
  })[];
9013
9086
  };
9014
- "sessions.messages.create": {
9087
+ "sessions.messages.create": SharedSessionConversationRouteOutput | {
9015
9088
  session: null | {
9016
9089
  id: string;
9017
9090
  title: string;
@@ -9289,6 +9362,20 @@ export interface OperatorMethodOutputMap {
9289
9362
  mode: "continued-live" | "queued-follow-up" | "rejected" | "spawn";
9290
9363
  agentId: null | string;
9291
9364
  };
9365
+ "security.settings": {
9366
+ settings: readonly ({
9367
+ key: string;
9368
+ type: "configuration" | "feature-flag";
9369
+ defaultState: string;
9370
+ currentState: string;
9371
+ securityRelevant: boolean;
9372
+ summary: string;
9373
+ insecureWhen: string;
9374
+ enablementEffect: string;
9375
+ enablementRequirements: readonly string[];
9376
+ operationalNotes: readonly string[];
9377
+ })[];
9378
+ };
9292
9379
  "settings.snapshot": {
9293
9380
  available: boolean;
9294
9381
  liveKeyCount: number;