@moltzap/protocol 2026.505.0 → 2026.505.2

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 (89) hide show
  1. package/dist/app/methods/apps.d.ts +30 -103
  2. package/dist/app/methods/apps.d.ts.map +1 -1
  3. package/dist/app/methods/apps.js +9 -72
  4. package/dist/app/methods/apps.js.map +1 -1
  5. package/dist/network/actor-model.d.ts +9 -1
  6. package/dist/network/actor-model.d.ts.map +1 -1
  7. package/dist/network/actor-model.js +24 -2
  8. package/dist/network/actor-model.js.map +1 -1
  9. package/dist/network/index.d.ts +1 -0
  10. package/dist/network/index.d.ts.map +1 -1
  11. package/dist/network/index.js +3 -1
  12. package/dist/network/index.js.map +1 -1
  13. package/dist/network/methods/endpoints.d.ts +16 -0
  14. package/dist/network/methods/endpoints.d.ts.map +1 -0
  15. package/dist/network/methods/endpoints.js +17 -0
  16. package/dist/network/methods/endpoints.js.map +1 -0
  17. package/dist/rpc-groups.d.ts +20 -7
  18. package/dist/rpc-groups.d.ts.map +1 -1
  19. package/dist/rpc-groups.js +28 -8
  20. package/dist/rpc-groups.js.map +1 -1
  21. package/dist/rpc-registry.d.ts +886 -135
  22. package/dist/rpc-registry.d.ts.map +1 -1
  23. package/dist/rpc-registry.js +17 -9
  24. package/dist/rpc-registry.js.map +1 -1
  25. package/dist/schema/apps.d.ts +0 -26
  26. package/dist/schema/apps.d.ts.map +1 -1
  27. package/dist/schema/apps.js +1 -19
  28. package/dist/schema/apps.js.map +1 -1
  29. package/dist/schema/index.d.ts +4 -2
  30. package/dist/schema/index.d.ts.map +1 -1
  31. package/dist/schema/index.js +4 -2
  32. package/dist/schema/index.js.map +1 -1
  33. package/dist/schema/notifications.d.ts +118 -106
  34. package/dist/schema/notifications.d.ts.map +1 -1
  35. package/dist/schema/notifications.js +54 -38
  36. package/dist/schema/notifications.js.map +1 -1
  37. package/dist/schema/primitives.d.ts +4 -0
  38. package/dist/schema/primitives.d.ts.map +1 -1
  39. package/dist/schema/primitives.js +2 -0
  40. package/dist/schema/primitives.js.map +1 -1
  41. package/dist/schema/tasks.d.ts +33 -0
  42. package/dist/schema/tasks.d.ts.map +1 -0
  43. package/dist/schema/tasks.js +27 -0
  44. package/dist/schema/tasks.js.map +1 -0
  45. package/dist/task/index.d.ts +1 -0
  46. package/dist/task/index.d.ts.map +1 -1
  47. package/dist/task/index.js +2 -1
  48. package/dist/task/index.js.map +1 -1
  49. package/dist/task/methods/tasks.d.ts +320 -0
  50. package/dist/task/methods/tasks.d.ts.map +1 -0
  51. package/dist/task/methods/tasks.js +116 -0
  52. package/dist/task/methods/tasks.js.map +1 -0
  53. package/dist/testing/conformance/boundary.d.ts.map +1 -1
  54. package/dist/testing/conformance/boundary.js +21 -74
  55. package/dist/testing/conformance/boundary.js.map +1 -1
  56. package/dist/testing/conformance/client/adversity.d.ts.map +1 -1
  57. package/dist/testing/conformance/client/adversity.js +5 -2
  58. package/dist/testing/conformance/client/adversity.js.map +1 -1
  59. package/dist/testing/conformance/client/boundary.d.ts.map +1 -1
  60. package/dist/testing/conformance/client/boundary.js +5 -2
  61. package/dist/testing/conformance/client/boundary.js.map +1 -1
  62. package/dist/testing/conformance/client/delivery.d.ts.map +1 -1
  63. package/dist/testing/conformance/client/delivery.js +7 -2
  64. package/dist/testing/conformance/client/delivery.js.map +1 -1
  65. package/dist/testing/conformance/delivery.d.ts +9 -14
  66. package/dist/testing/conformance/delivery.d.ts.map +1 -1
  67. package/dist/testing/conformance/delivery.js +32 -198
  68. package/dist/testing/conformance/delivery.js.map +1 -1
  69. package/dist/testing/conformance/dispatcher-concurrency.js +5 -5
  70. package/dist/testing/conformance/dispatcher-concurrency.js.map +1 -1
  71. package/dist/testing/conformance/suite.js +18 -29
  72. package/dist/testing/conformance/suite.js.map +1 -1
  73. package/dist/testing/models/dispatch.d.ts.map +1 -1
  74. package/dist/testing/models/dispatch.js +12 -9
  75. package/dist/testing/models/dispatch.js.map +1 -1
  76. package/dist/types.d.ts +2 -3
  77. package/dist/types.d.ts.map +1 -1
  78. package/dist/types.js.map +1 -1
  79. package/dist/validators.d.ts +20 -34
  80. package/dist/validators.d.ts.map +1 -1
  81. package/dist/validators.js +6 -11
  82. package/dist/validators.js.map +1 -1
  83. package/dist/version.d.ts +1 -1
  84. package/dist/version.js +1 -1
  85. package/package.json +1 -1
  86. package/dist/schema/delivery.d.ts +0 -22
  87. package/dist/schema/delivery.d.ts.map +0 -1
  88. package/dist/schema/delivery.js +0 -13
  89. package/dist/schema/delivery.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"rpc-registry.d.ts","sourceRoot":"","sources":["../src/rpc-registry.ts"],"names":[],"mappings":"AA4CA,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAClE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAG1D,KAAK,oBAAoB,CACvB,OAAO,SAAS,aAAa,CAAC,aAAa,CAAC,MAAM,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,EAC9D,IAAI,SAAS,aAAa,IACxB,OAAO,CACT,OAAO,CAAC,MAAM,CAAC,EACf,aAAa,CACX,IAAI,SAAS,aAAa,CAAC,MAAM,OAAO,CAAC,GAAG,OAAO,GAAG,KAAK,EAC3D,GAAG,EACH,GAAG,CACJ,CACF,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASpB,CAAC;AAEX,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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I,SAAS,wBAAwB,IACpE,QAAQ,CAAC,2BAA2B,CAAC,IAAI,CAAC,CAAC,CAAC;AAC9C,MAAM,MAAM,oBAAoB,CAAC,IAAI,SAAS,wBAAwB,IACpE,QAAQ,CAAC,2BAA2B,CAAC,IAAI,CAAC,CAAC,CAAC"}
@@ -1,10 +1,12 @@
1
1
  import { Connect, Register, InviteAgent, SelectAgent, AgentsLookup, AgentsLookupByName, AgentsList, } from "./network/methods/auth.js";
2
+ import { EndpointsRegisterTaskManager, EndpointsUnregisterTaskManager, } from "./network/methods/endpoints.js";
2
3
  import { ConversationsCreate, ConversationsList, ConversationsGet, ConversationsUpdate, ConversationsMute, ConversationsUnmute, ConversationsAddParticipant, ConversationsRemoveParticipant, ConversationsLeave, ConversationsArchive, ConversationsUnarchive, } from "./task/methods/conversations.js";
3
4
  import { MessagesSend, MessagesList } from "./task/methods/messages.js";
4
5
  import { ContactsList, ContactsAdd, ContactsAccept, ContactsById, } from "./task/methods/contacts.js";
5
6
  import { InvitesCreateAgent } from "./task/methods/invites.js";
6
7
  import { PresenceUpdate, PresenceSubscribe } from "./task/methods/presence.js";
7
- import { AppsCreate, AppsCloseSession, AppsGetSession, AppsListSessions, AppsAuthorizeDispatch, AppsAttachConversation, AppsOnBeforeDispatch, AppsOnBeforeMessageDelivery, AppsOnSessionActive, AppsOnClose, } from "./app/methods/apps.js";
8
+ import { TasksCreate, TasksGet, TasksList, TasksClose, TasksCreateConversation, TasksCloseConversation, TasksAddParticipant, TasksRemoveParticipant, TasksStoreMessage, TasksGetMessages, TasksGetMessagesSince, } from "./task/methods/tasks.js";
9
+ import { AppsAuthorizeDispatch, AppsOnBeforeDispatch, AppsOnBeforeMessageDelivery, AppsOnSessionActive, AppsOnClose, } from "./app/methods/apps.js";
8
10
  import { SystemPing } from "./network/methods/system.js";
9
11
  import { defineRpcGroup } from "./rpc-groups.js";
10
12
  export const networkRpcMethods = [
@@ -16,6 +18,8 @@ export const networkRpcMethods = [
16
18
  AgentsLookupByName,
17
19
  AgentsList,
18
20
  SystemPing,
21
+ EndpointsRegisterTaskManager,
22
+ EndpointsUnregisterTaskManager,
19
23
  ];
20
24
  export const taskRpcMethods = [
21
25
  ConversationsCreate,
@@ -38,15 +42,19 @@ export const taskRpcMethods = [
38
42
  InvitesCreateAgent,
39
43
  PresenceUpdate,
40
44
  PresenceSubscribe,
45
+ TasksCreate,
46
+ TasksGet,
47
+ TasksList,
48
+ TasksClose,
49
+ TasksCreateConversation,
50
+ TasksCloseConversation,
51
+ TasksAddParticipant,
52
+ TasksRemoveParticipant,
53
+ TasksStoreMessage,
54
+ TasksGetMessages,
55
+ TasksGetMessagesSince,
41
56
  ];
42
- export const appRpcMethods = [
43
- AppsCreate,
44
- AppsCloseSession,
45
- AppsGetSession,
46
- AppsListSessions,
47
- AppsAuthorizeDispatch,
48
- AppsAttachConversation,
49
- ];
57
+ export const appRpcMethods = [AppsAuthorizeDispatch];
50
58
  export const rpcMethods = [
51
59
  ...networkRpcMethods,
52
60
  ...taskRpcMethods,
@@ -1 +1 @@
1
- {"version":3,"file":"rpc-registry.js","sourceRoot":"","sources":["../src/rpc-registry.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,QAAQ,EACR,WAAW,EACX,WAAW,EACX,YAAY,EACZ,kBAAkB,EAClB,UAAU,GACX,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,2BAA2B,EAC3B,8BAA8B,EAC9B,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,GACvB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,EACL,YAAY,EACZ,WAAW,EACX,cAAc,EACd,YAAY,GACb,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,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AW,GAAG,cAAc,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC;AAuBhE,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,oBAAoB;IACpB,2BAA2B;IAC3B,mBAAmB;IACnB,WAAW;CACsD,CAAC;AAEpE,MAAM,CAAC,MAAM,mBAAmB,GAAG,cAAc,CAC/C,aAAa,EACb,qBAAqB,CACtB,CAAC"}
1
+ {"version":3,"file":"rpc-registry.js","sourceRoot":"","sources":["../src/rpc-registry.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EACP,QAAQ,EACR,WAAW,EACX,WAAW,EACX,YAAY,EACZ,kBAAkB,EAClB,UAAU,GACX,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,4BAA4B,EAC5B,8BAA8B,GAC/B,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,2BAA2B,EAC3B,8BAA8B,EAC9B,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,GACvB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,EACL,YAAY,EACZ,WAAW,EACX,cAAc,EACd,YAAY,GACb,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/E,OAAO,EACL,WAAW,EACX,QAAQ,EACR,SAAS,EACT,UAAU,EACV,uBAAuB,EACvB,sBAAsB,EACtB,mBAAmB,EACnB,sBAAsB,EACtB,iBAAiB,EACjB,gBAAgB,EAChB,qBAAqB,GACtB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,2BAA2B,EAC3B,mBAAmB,EACnB,W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oB;IACpB,2BAA2B;IAC3B,mBAAmB;IACnB,WAAW;CACsD,CAAC;AAEpE,MAAM,CAAC,MAAM,mBAAmB,GAAG,cAAc,CAC/C,aAAa,EACb,qBAAqB,CACtB,CAAC"}
@@ -1,11 +1,4 @@
1
1
  import { type Static } from "@sinclair/typebox";
2
- export declare const AppSessionId: import("@sinclair/typebox").TString & {
3
- static: import("../brands.js").BrandedString<"AppSessionId">;
4
- };
5
- export declare const appSessionId: (value: string) => Static<typeof AppSessionId>;
6
- export declare const AppParticipantStatusEnum: import("@sinclair/typebox").TString & {
7
- static: "pending" | "admitted" | "rejected";
8
- };
9
2
  export declare const AppManifestConversationSchema: import("@sinclair/typebox").TObject<{
10
3
  key: import("@sinclair/typebox").TString;
11
4
  name: import("@sinclair/typebox").TString;
@@ -42,25 +35,6 @@ export declare const AppManifestSchema: import("@sinclair/typebox").TObject<{
42
35
  }>>;
43
36
  }>>;
44
37
  }>;
45
- export declare const AppSessionSchema: import("@sinclair/typebox").TObject<{
46
- id: import("@sinclair/typebox").TString & {
47
- static: import("../brands.js").BrandedString<"AppSessionId">;
48
- };
49
- appId: import("@sinclair/typebox").TString;
50
- initiatorAgentId: import("@sinclair/typebox").TString & {
51
- static: import("../brands.js").BrandedString<"AgentId">;
52
- };
53
- status: import("@sinclair/typebox").TString & {
54
- static: "active" | "waiting" | "failed" | "closed";
55
- };
56
- conversations: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString & {
57
- static: import("../brands.js").BrandedString<"ConversationId">;
58
- }>;
59
- createdAt: import("@sinclair/typebox").TString;
60
- closedAt: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
61
- }>;
62
38
  export type AppManifest = Static<typeof AppManifestSchema>;
63
39
  export type AppManifestConversation = Static<typeof AppManifestConversationSchema>;
64
- export type AppSession = Static<typeof AppSessionSchema>;
65
- export type AppParticipantStatus = Static<typeof AppParticipantStatusEnum>;
66
40
  //# sourceMappingURL=apps.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"apps.d.ts","sourceRoot":"","sources":["../../src/schema/apps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAKtD,eAAO,MAAM,YAAY;;CAA4B,CAAC;AACtD,eAAO,MAAM,YAAY,GAAI,OAAO,MAAM,KAAG,MAAM,CAAC,OAAO,YAAY,CACpC,CAAC;AAEpC,eAAO,MAAM,wBAAwB;;CAInC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;EAOzC,CAAC;AAaF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2B7B,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;EAW5B,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC3D,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAC1C,OAAO,6BAA6B,CACrC,CAAC;AACF,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,gBAAgB,CAAC,CAAC;AACzD,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
1
+ {"version":3,"file":"apps.d.ts","sourceRoot":"","sources":["../../src/schema/apps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAGtD,eAAO,MAAM,6BAA6B;;;;;;EAOzC,CAAC;AAaF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2B7B,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC3D,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAC1C,OAAO,6BAA6B,CACrC,CAAC"}
@@ -1,14 +1,5 @@
1
1
  import { Type } from "@sinclair/typebox";
2
- import { Value } from "@sinclair/typebox/value";
3
- import { stringEnum, brandedId, DateTimeString } from "../helpers.js";
4
- import { AgentId, ConversationId } from "./primitives.js";
5
- export const AppSessionId = brandedId("AppSessionId");
6
- export const appSessionId = (value) => Value.Decode(AppSessionId, value);
7
- export const AppParticipantStatusEnum = stringEnum([
8
- "pending",
9
- "admitted",
10
- "rejected",
11
- ]);
2
+ import { stringEnum } from "../helpers.js";
12
3
  export const AppManifestConversationSchema = Type.Object({
13
4
  key: Type.String(),
14
5
  name: Type.String(),
@@ -36,13 +27,4 @@ export const AppManifestSchema = Type.Object({
36
27
  on_session_active: Type.Optional(HookEntrySchema),
37
28
  }, { additionalProperties: false })),
38
29
  }, { additionalProperties: false });
39
- export const AppSessionSchema = Type.Object({
40
- id: AppSessionId,
41
- appId: Type.String(),
42
- initiatorAgentId: AgentId,
43
- status: stringEnum(["waiting", "active", "failed", "closed"]),
44
- conversations: Type.Record(Type.String(), ConversationId),
45
- createdAt: DateTimeString,
46
- closedAt: Type.Optional(DateTimeString),
47
- }, { additionalProperties: false });
48
30
  //# sourceMappingURL=apps.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"apps.js","sourceRoot":"","sources":["../../src/schema/apps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAe,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACtE,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAE1D,MAAM,CAAC,MAAM,YAAY,GAAG,SAAS,CAAC,cAAc,CAAC,CAAC;AACtD,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,KAAa,EAA+B,EAAE,CACzE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,KAAK,CAAC,CAAC;AAEpC,MAAM,CAAC,MAAM,wBAAwB,GAAG,UAAU,CAAC;IACjD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1,4 +1,4 @@
1
- export { ContactId, userId, agentId, conversationId, messageId, contactId, InviteToken, } from "./primitives.js";
1
+ export { ContactId, TaskId, userId, agentId, conversationId, messageId, contactId, taskId, InviteToken, } from "./primitives.js";
2
2
  export * from "./identity.js";
3
3
  export * from "./contacts.js";
4
4
  export * from "./conversations.js";
@@ -6,7 +6,6 @@ export * from "./messages.js";
6
6
  export * from "./logical-clock.js";
7
7
  export * from "./invites.js";
8
8
  export * from "./presence.js";
9
- export * from "./delivery.js";
10
9
  export * from "./json-rpc.js";
11
10
  export * from "./frames.js";
12
11
  export * from "./errors.js";
@@ -18,6 +17,9 @@ export * from "../task/methods/messages.js";
18
17
  export * from "../task/methods/invites.js";
19
18
  export * from "../task/methods/presence.js";
20
19
  export * from "./apps.js";
20
+ export * from "./tasks.js";
21
21
  export * from "../app/methods/apps.js";
22
22
  export * from "../network/methods/system.js";
23
+ export * from "../network/methods/endpoints.js";
24
+ export * from "../task/methods/tasks.js";
23
25
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schema/index.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,SAAS,EACT,MAAM,EACN,OAAO,EACP,cAAc,EACd,SAAS,EACT,SAAS,EACT,WAAW,GACZ,MAAM,iBAAiB,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kCAAkC,CAAC;AACjD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,WAAW,CAAC;AAC1B,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schema/index.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,SAAS,EACT,MAAM,EACN,MAAM,EACN,OAAO,EACP,cAAc,EACd,SAAS,EACT,SAAS,EACT,MAAM,EACN,WAAW,GACZ,MAAM,iBAAiB,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kCAAkC,CAAC;AACjD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,0BAA0B,CAAC"}
@@ -3,7 +3,7 @@
3
3
  // the actor-model brand types (Phase 3 Slice F) that own those names.
4
4
  // Consumers needing the TypeBox schema values import directly from
5
5
  // `@moltzap/protocol/schemas/primitives`. See plan §2.10 / #420.
6
- export { ContactId, userId, agentId, conversationId, messageId, contactId, InviteToken, } from "./primitives.js";
6
+ export { ContactId, TaskId, userId, agentId, conversationId, messageId, contactId, taskId, InviteToken, } from "./primitives.js";
7
7
  export * from "./identity.js";
8
8
  export * from "./contacts.js";
9
9
  export * from "./conversations.js";
@@ -11,7 +11,6 @@ export * from "./messages.js";
11
11
  export * from "./logical-clock.js";
12
12
  export * from "./invites.js";
13
13
  export * from "./presence.js";
14
- export * from "./delivery.js";
15
14
  export * from "./json-rpc.js";
16
15
  export * from "./frames.js";
17
16
  export * from "./errors.js";
@@ -23,6 +22,9 @@ export * from "../task/methods/messages.js";
23
22
  export * from "../task/methods/invites.js";
24
23
  export * from "../task/methods/presence.js";
25
24
  export * from "./apps.js";
25
+ export * from "./tasks.js";
26
26
  export * from "../app/methods/apps.js";
27
27
  export * from "../network/methods/system.js";
28
+ export * from "../network/methods/endpoints.js";
29
+ export * from "../task/methods/tasks.js";
28
30
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schema/index.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,6EAA6E;AAC7E,sEAAsE;AACtE,mEAAmE;AACnE,iEAAiE;AACjE,OAAO,EACL,SAAS,EACT,MAAM,EACN,OAAO,EACP,cAAc,EACd,SAAS,EACT,SAAS,EACT,WAAW,GACZ,MAAM,iBAAiB,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kCAAkC,CAAC;AACjD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,WAAW,CAAC;AAC1B,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schema/index.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,6EAA6E;AAC7E,sEAAsE;AACtE,mEAAmE;AACnE,iEAAiE;AACjE,OAAO,EACL,SAAS,EACT,MAAM,EACN,MAAM,EACN,OAAO,EACP,cAAc,EACd,SAAS,EACT,SAAS,EACT,MAAM,EACN,WAAW,GACZ,MAAM,iBAAiB,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kCAAkC,CAAC;AACjD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,0BAA0B,CAAC"}
@@ -34,17 +34,6 @@ export declare const MessageReceivedNotificationSchema: import("@sinclair/typebo
34
34
  createdAt: import("@sinclair/typebox").TString;
35
35
  }>;
36
36
  }>;
37
- export declare const MessageDeliveredNotificationSchema: import("@sinclair/typebox").TObject<{
38
- messageId: import("@sinclair/typebox").TString & {
39
- static: import("../brands.js").BrandedString<"MessageId">;
40
- };
41
- conversationId: import("@sinclair/typebox").TString & {
42
- static: import("../brands.js").BrandedString<"ConversationId">;
43
- };
44
- agentId: import("@sinclair/typebox").TString & {
45
- static: import("../brands.js").BrandedString<"AgentId">;
46
- };
47
- }>;
48
37
  export declare const ConversationCreatedNotificationSchema: import("@sinclair/typebox").TObject<{
49
38
  conversation: import("@sinclair/typebox").TObject<{
50
39
  id: import("@sinclair/typebox").TString & {
@@ -139,16 +128,16 @@ export declare const PresenceChangedNotificationSchema: import("@sinclair/typebo
139
128
  };
140
129
  }>;
141
130
  export declare const AppParticipantAdmittedNotificationSchema: import("@sinclair/typebox").TObject<{
142
- sessionId: import("@sinclair/typebox").TString & {
143
- static: import("../brands.js").BrandedString<"AppSessionId">;
131
+ taskId: import("@sinclair/typebox").TString & {
132
+ static: import("../brands.js").BrandedString<"TaskId">;
144
133
  };
145
134
  agentId: import("@sinclair/typebox").TString & {
146
135
  static: import("../brands.js").BrandedString<"AgentId">;
147
136
  };
148
137
  }>;
149
138
  export declare const AppParticipantRejectedNotificationSchema: import("@sinclair/typebox").TObject<{
150
- sessionId: import("@sinclair/typebox").TString & {
151
- static: import("../brands.js").BrandedString<"AppSessionId">;
139
+ taskId: import("@sinclair/typebox").TString & {
140
+ static: import("../brands.js").BrandedString<"TaskId">;
152
141
  };
153
142
  agentId: import("@sinclair/typebox").TString & {
154
143
  static: import("../brands.js").BrandedString<"AgentId">;
@@ -162,29 +151,42 @@ export declare const AppParticipantRejectedNotificationSchema: import("@sinclair
162
151
  static: "NotInContacts" | "AgentNotFound" | "AgentNoOwner" | "UserInvalid" | "UserValidationFailed" | "ContactCheckFailed";
163
152
  };
164
153
  }>;
165
- export declare const AppSessionReadyNotificationSchema: import("@sinclair/typebox").TObject<{
166
- sessionId: import("@sinclair/typebox").TString & {
167
- static: import("../brands.js").BrandedString<"AppSessionId">;
154
+ export declare const TaskReadyNotificationSchema: import("@sinclair/typebox").TObject<{
155
+ taskId: import("@sinclair/typebox").TString & {
156
+ static: import("../brands.js").BrandedString<"TaskId">;
168
157
  };
169
158
  conversations: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString & {
170
159
  static: import("../brands.js").BrandedString<"ConversationId">;
171
160
  }>;
172
161
  }>;
173
- export declare const AppSessionFailedNotificationSchema: import("@sinclair/typebox").TObject<{
174
- sessionId: import("@sinclair/typebox").TString & {
175
- static: import("../brands.js").BrandedString<"AppSessionId">;
162
+ export declare const TaskFailedNotificationSchema: import("@sinclair/typebox").TObject<{
163
+ taskId: import("@sinclair/typebox").TString & {
164
+ static: import("../brands.js").BrandedString<"TaskId">;
176
165
  };
177
166
  }>;
178
- export declare const AppSessionClosedNotificationSchema: import("@sinclair/typebox").TObject<{
179
- sessionId: import("@sinclair/typebox").TString & {
180
- static: import("../brands.js").BrandedString<"AppSessionId">;
167
+ export declare const TaskClosedNotificationSchema: import("@sinclair/typebox").TObject<{
168
+ taskId: import("@sinclair/typebox").TString & {
169
+ static: import("../brands.js").BrandedString<"TaskId">;
181
170
  };
182
- closedBy: import("@sinclair/typebox").TString & {
183
- static: import("../brands.js").BrandedString<"AgentId">;
171
+ conversations: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString & {
172
+ static: import("../brands.js").BrandedString<"ConversationId">;
173
+ }>;
174
+ closedBy: import("@sinclair/typebox").TObject<{
175
+ agentId: import("@sinclair/typebox").TString & {
176
+ static: import("../brands.js").BrandedString<"AgentId">;
177
+ };
178
+ ownerId: import("@sinclair/typebox").TString;
179
+ }>;
180
+ }>;
181
+ export declare const TaskAdmissionCompleteNotificationSchema: import("@sinclair/typebox").TObject<{
182
+ taskId: import("@sinclair/typebox").TString & {
183
+ static: import("../brands.js").BrandedString<"TaskId">;
184
184
  };
185
+ admittedAgentIds: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString & {
186
+ static: import("../brands.js").BrandedString<"AgentId">;
187
+ }>;
185
188
  }>;
186
189
  export type MessageReceivedNotification = Static<typeof MessageReceivedNotificationSchema>;
187
- export type MessageDeliveredNotification = Static<typeof MessageDeliveredNotificationSchema>;
188
190
  export type ConversationCreatedNotification = Static<typeof ConversationCreatedNotificationSchema>;
189
191
  export type ConversationUpdatedNotification = Static<typeof ConversationUpdatedNotificationSchema>;
190
192
  export type ConversationArchivedNotification = Static<typeof ConversationArchivedNotificationSchema>;
@@ -194,9 +196,10 @@ export type ContactAcceptedNotification = Static<typeof ContactAcceptedNotificat
194
196
  export type PresenceChangedNotification = Static<typeof PresenceChangedNotificationSchema>;
195
197
  export type AppParticipantAdmittedNotification = Static<typeof AppParticipantAdmittedNotificationSchema>;
196
198
  export type AppParticipantRejectedNotification = Static<typeof AppParticipantRejectedNotificationSchema>;
197
- export type AppSessionReadyNotification = Static<typeof AppSessionReadyNotificationSchema>;
198
- export type AppSessionFailedNotification = Static<typeof AppSessionFailedNotificationSchema>;
199
- export type AppSessionClosedNotification = Static<typeof AppSessionClosedNotificationSchema>;
199
+ export type TaskReadyNotification = Static<typeof TaskReadyNotificationSchema>;
200
+ export type TaskFailedNotification = Static<typeof TaskFailedNotificationSchema>;
201
+ export type TaskClosedNotification = Static<typeof TaskClosedNotificationSchema>;
202
+ export type TaskAdmissionCompleteNotification = Static<typeof TaskAdmissionCompleteNotificationSchema>;
200
203
  export declare const MessageReceivedNotificationDefinition: import("../notification.js").NotificationDefinition<"messages/received", import("@sinclair/typebox").TObject<{
201
204
  message: import("@sinclair/typebox").TObject<{
202
205
  id: import("@sinclair/typebox").TString & {
@@ -232,17 +235,6 @@ export declare const MessageReceivedNotificationDefinition: import("../notificat
232
235
  createdAt: import("@sinclair/typebox").TString;
233
236
  }>;
234
237
  }>>;
235
- export declare const MessageDeliveredNotificationDefinition: import("../notification.js").NotificationDefinition<"messages/delivered", import("@sinclair/typebox").TObject<{
236
- messageId: import("@sinclair/typebox").TString & {
237
- static: import("../brands.js").BrandedString<"MessageId">;
238
- };
239
- conversationId: import("@sinclair/typebox").TString & {
240
- static: import("../brands.js").BrandedString<"ConversationId">;
241
- };
242
- agentId: import("@sinclair/typebox").TString & {
243
- static: import("../brands.js").BrandedString<"AgentId">;
244
- };
245
- }>>;
246
238
  export declare const ConversationCreatedNotificationDefinition: import("../notification.js").NotificationDefinition<"conversations/created", import("@sinclair/typebox").TObject<{
247
239
  conversation: import("@sinclair/typebox").TObject<{
248
240
  id: import("@sinclair/typebox").TString & {
@@ -337,16 +329,16 @@ export declare const PresenceChangedNotificationDefinition: import("../notificat
337
329
  };
338
330
  }>>;
339
331
  export declare const AppParticipantAdmittedNotificationDefinition: import("../notification.js").NotificationDefinition<"app/participantAdmitted", import("@sinclair/typebox").TObject<{
340
- sessionId: import("@sinclair/typebox").TString & {
341
- static: import("../brands.js").BrandedString<"AppSessionId">;
332
+ taskId: import("@sinclair/typebox").TString & {
333
+ static: import("../brands.js").BrandedString<"TaskId">;
342
334
  };
343
335
  agentId: import("@sinclair/typebox").TString & {
344
336
  static: import("../brands.js").BrandedString<"AgentId">;
345
337
  };
346
338
  }>>;
347
339
  export declare const AppParticipantRejectedNotificationDefinition: import("../notification.js").NotificationDefinition<"app/participantRejected", import("@sinclair/typebox").TObject<{
348
- sessionId: import("@sinclair/typebox").TString & {
349
- static: import("../brands.js").BrandedString<"AppSessionId">;
340
+ taskId: import("@sinclair/typebox").TString & {
341
+ static: import("../brands.js").BrandedString<"TaskId">;
350
342
  };
351
343
  agentId: import("@sinclair/typebox").TString & {
352
344
  static: import("../brands.js").BrandedString<"AgentId">;
@@ -360,26 +352,40 @@ export declare const AppParticipantRejectedNotificationDefinition: import("../no
360
352
  static: "NotInContacts" | "AgentNotFound" | "AgentNoOwner" | "UserInvalid" | "UserValidationFailed" | "ContactCheckFailed";
361
353
  };
362
354
  }>>;
363
- export declare const AppSessionReadyNotificationDefinition: import("../notification.js").NotificationDefinition<"app/sessionReady", import("@sinclair/typebox").TObject<{
364
- sessionId: import("@sinclair/typebox").TString & {
365
- static: import("../brands.js").BrandedString<"AppSessionId">;
355
+ export declare const TaskReadyNotificationDefinition: import("../notification.js").NotificationDefinition<"task/ready", import("@sinclair/typebox").TObject<{
356
+ taskId: import("@sinclair/typebox").TString & {
357
+ static: import("../brands.js").BrandedString<"TaskId">;
366
358
  };
367
359
  conversations: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString & {
368
360
  static: import("../brands.js").BrandedString<"ConversationId">;
369
361
  }>;
370
362
  }>>;
371
- export declare const AppSessionFailedNotificationDefinition: import("../notification.js").NotificationDefinition<"app/sessionFailed", import("@sinclair/typebox").TObject<{
372
- sessionId: import("@sinclair/typebox").TString & {
373
- static: import("../brands.js").BrandedString<"AppSessionId">;
363
+ export declare const TaskFailedNotificationDefinition: import("../notification.js").NotificationDefinition<"task/failed", import("@sinclair/typebox").TObject<{
364
+ taskId: import("@sinclair/typebox").TString & {
365
+ static: import("../brands.js").BrandedString<"TaskId">;
374
366
  };
375
367
  }>>;
376
- export declare const AppSessionClosedNotificationDefinition: import("../notification.js").NotificationDefinition<"app/sessionClosed", import("@sinclair/typebox").TObject<{
377
- sessionId: import("@sinclair/typebox").TString & {
378
- static: import("../brands.js").BrandedString<"AppSessionId">;
368
+ export declare const TaskClosedNotificationDefinition: import("../notification.js").NotificationDefinition<"task/closed", import("@sinclair/typebox").TObject<{
369
+ taskId: import("@sinclair/typebox").TString & {
370
+ static: import("../brands.js").BrandedString<"TaskId">;
379
371
  };
380
- closedBy: import("@sinclair/typebox").TString & {
381
- static: import("../brands.js").BrandedString<"AgentId">;
372
+ conversations: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString & {
373
+ static: import("../brands.js").BrandedString<"ConversationId">;
374
+ }>;
375
+ closedBy: import("@sinclair/typebox").TObject<{
376
+ agentId: import("@sinclair/typebox").TString & {
377
+ static: import("../brands.js").BrandedString<"AgentId">;
378
+ };
379
+ ownerId: import("@sinclair/typebox").TString;
380
+ }>;
381
+ }>>;
382
+ export declare const TaskAdmissionCompleteNotificationDefinition: import("../notification.js").NotificationDefinition<"task/admissionComplete", import("@sinclair/typebox").TObject<{
383
+ taskId: import("@sinclair/typebox").TString & {
384
+ static: import("../brands.js").BrandedString<"TaskId">;
382
385
  };
386
+ admittedAgentIds: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString & {
387
+ static: import("../brands.js").BrandedString<"AgentId">;
388
+ }>;
383
389
  }>>;
384
390
  export declare const notificationDefinitions: readonly [import("../notification.js").NotificationDefinition<"messages/received", import("@sinclair/typebox").TObject<{
385
391
  message: import("@sinclair/typebox").TObject<{
@@ -415,16 +421,6 @@ export declare const notificationDefinitions: readonly [import("../notification.
415
421
  patchedBy: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
416
422
  createdAt: import("@sinclair/typebox").TString;
417
423
  }>;
418
- }>>, import("../notification.js").NotificationDefinition<"messages/delivered", import("@sinclair/typebox").TObject<{
419
- messageId: import("@sinclair/typebox").TString & {
420
- static: import("../brands.js").BrandedString<"MessageId">;
421
- };
422
- conversationId: import("@sinclair/typebox").TString & {
423
- static: import("../brands.js").BrandedString<"ConversationId">;
424
- };
425
- agentId: import("@sinclair/typebox").TString & {
426
- static: import("../brands.js").BrandedString<"AgentId">;
427
- };
428
424
  }>>, import("../notification.js").NotificationDefinition<"conversations/created", import("@sinclair/typebox").TObject<{
429
425
  conversation: import("@sinclair/typebox").TObject<{
430
426
  id: import("@sinclair/typebox").TString & {
@@ -512,15 +508,15 @@ export declare const notificationDefinitions: readonly [import("../notification.
512
508
  static: "online" | "offline" | "away";
513
509
  };
514
510
  }>>, import("../notification.js").NotificationDefinition<"app/participantAdmitted", import("@sinclair/typebox").TObject<{
515
- sessionId: import("@sinclair/typebox").TString & {
516
- static: import("../brands.js").BrandedString<"AppSessionId">;
511
+ taskId: import("@sinclair/typebox").TString & {
512
+ static: import("../brands.js").BrandedString<"TaskId">;
517
513
  };
518
514
  agentId: import("@sinclair/typebox").TString & {
519
515
  static: import("../brands.js").BrandedString<"AgentId">;
520
516
  };
521
517
  }>>, import("../notification.js").NotificationDefinition<"app/participantRejected", import("@sinclair/typebox").TObject<{
522
- sessionId: import("@sinclair/typebox").TString & {
523
- static: import("../brands.js").BrandedString<"AppSessionId">;
518
+ taskId: import("@sinclair/typebox").TString & {
519
+ static: import("../brands.js").BrandedString<"TaskId">;
524
520
  };
525
521
  agentId: import("@sinclair/typebox").TString & {
526
522
  static: import("../brands.js").BrandedString<"AgentId">;
@@ -533,24 +529,37 @@ export declare const notificationDefinitions: readonly [import("../notification.
533
529
  rejectionCode: import("@sinclair/typebox").TString & {
534
530
  static: "NotInContacts" | "AgentNotFound" | "AgentNoOwner" | "UserInvalid" | "UserValidationFailed" | "ContactCheckFailed";
535
531
  };
536
- }>>, import("../notification.js").NotificationDefinition<"app/sessionReady", import("@sinclair/typebox").TObject<{
537
- sessionId: import("@sinclair/typebox").TString & {
538
- static: import("../brands.js").BrandedString<"AppSessionId">;
532
+ }>>, import("../notification.js").NotificationDefinition<"task/ready", import("@sinclair/typebox").TObject<{
533
+ taskId: import("@sinclair/typebox").TString & {
534
+ static: import("../brands.js").BrandedString<"TaskId">;
539
535
  };
540
536
  conversations: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString & {
541
537
  static: import("../brands.js").BrandedString<"ConversationId">;
542
538
  }>;
543
- }>>, import("../notification.js").NotificationDefinition<"app/sessionFailed", import("@sinclair/typebox").TObject<{
544
- sessionId: import("@sinclair/typebox").TString & {
545
- static: import("../brands.js").BrandedString<"AppSessionId">;
539
+ }>>, import("../notification.js").NotificationDefinition<"task/failed", import("@sinclair/typebox").TObject<{
540
+ taskId: import("@sinclair/typebox").TString & {
541
+ static: import("../brands.js").BrandedString<"TaskId">;
546
542
  };
547
- }>>, import("../notification.js").NotificationDefinition<"app/sessionClosed", import("@sinclair/typebox").TObject<{
548
- sessionId: import("@sinclair/typebox").TString & {
549
- static: import("../brands.js").BrandedString<"AppSessionId">;
543
+ }>>, import("../notification.js").NotificationDefinition<"task/closed", import("@sinclair/typebox").TObject<{
544
+ taskId: import("@sinclair/typebox").TString & {
545
+ static: import("../brands.js").BrandedString<"TaskId">;
550
546
  };
551
- closedBy: import("@sinclair/typebox").TString & {
552
- static: import("../brands.js").BrandedString<"AgentId">;
547
+ conversations: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString & {
548
+ static: import("../brands.js").BrandedString<"ConversationId">;
549
+ }>;
550
+ closedBy: import("@sinclair/typebox").TObject<{
551
+ agentId: import("@sinclair/typebox").TString & {
552
+ static: import("../brands.js").BrandedString<"AgentId">;
553
+ };
554
+ ownerId: import("@sinclair/typebox").TString;
555
+ }>;
556
+ }>>, import("../notification.js").NotificationDefinition<"task/admissionComplete", import("@sinclair/typebox").TObject<{
557
+ taskId: import("@sinclair/typebox").TString & {
558
+ static: import("../brands.js").BrandedString<"TaskId">;
553
559
  };
560
+ admittedAgentIds: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString & {
561
+ static: import("../brands.js").BrandedString<"AgentId">;
562
+ }>;
554
563
  }>>];
555
564
  export declare const notificationGroup: import("../rpc-groups.js").NotificationDescriptorGroup<"notification", readonly [import("../notification.js").NotificationDefinition<"messages/received", import("@sinclair/typebox").TObject<{
556
565
  message: import("@sinclair/typebox").TObject<{
@@ -586,16 +595,6 @@ export declare const notificationGroup: import("../rpc-groups.js").NotificationD
586
595
  patchedBy: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
587
596
  createdAt: import("@sinclair/typebox").TString;
588
597
  }>;
589
- }>>, import("../notification.js").NotificationDefinition<"messages/delivered", import("@sinclair/typebox").TObject<{
590
- messageId: import("@sinclair/typebox").TString & {
591
- static: import("../brands.js").BrandedString<"MessageId">;
592
- };
593
- conversationId: import("@sinclair/typebox").TString & {
594
- static: import("../brands.js").BrandedString<"ConversationId">;
595
- };
596
- agentId: import("@sinclair/typebox").TString & {
597
- static: import("../brands.js").BrandedString<"AgentId">;
598
- };
599
598
  }>>, import("../notification.js").NotificationDefinition<"conversations/created", import("@sinclair/typebox").TObject<{
600
599
  conversation: import("@sinclair/typebox").TObject<{
601
600
  id: import("@sinclair/typebox").TString & {
@@ -683,15 +682,15 @@ export declare const notificationGroup: import("../rpc-groups.js").NotificationD
683
682
  static: "online" | "offline" | "away";
684
683
  };
685
684
  }>>, import("../notification.js").NotificationDefinition<"app/participantAdmitted", import("@sinclair/typebox").TObject<{
686
- sessionId: import("@sinclair/typebox").TString & {
687
- static: import("../brands.js").BrandedString<"AppSessionId">;
685
+ taskId: import("@sinclair/typebox").TString & {
686
+ static: import("../brands.js").BrandedString<"TaskId">;
688
687
  };
689
688
  agentId: import("@sinclair/typebox").TString & {
690
689
  static: import("../brands.js").BrandedString<"AgentId">;
691
690
  };
692
691
  }>>, import("../notification.js").NotificationDefinition<"app/participantRejected", import("@sinclair/typebox").TObject<{
693
- sessionId: import("@sinclair/typebox").TString & {
694
- static: import("../brands.js").BrandedString<"AppSessionId">;
692
+ taskId: import("@sinclair/typebox").TString & {
693
+ static: import("../brands.js").BrandedString<"TaskId">;
695
694
  };
696
695
  agentId: import("@sinclair/typebox").TString & {
697
696
  static: import("../brands.js").BrandedString<"AgentId">;
@@ -704,24 +703,37 @@ export declare const notificationGroup: import("../rpc-groups.js").NotificationD
704
703
  rejectionCode: import("@sinclair/typebox").TString & {
705
704
  static: "NotInContacts" | "AgentNotFound" | "AgentNoOwner" | "UserInvalid" | "UserValidationFailed" | "ContactCheckFailed";
706
705
  };
707
- }>>, import("../notification.js").NotificationDefinition<"app/sessionReady", import("@sinclair/typebox").TObject<{
708
- sessionId: import("@sinclair/typebox").TString & {
709
- static: import("../brands.js").BrandedString<"AppSessionId">;
706
+ }>>, import("../notification.js").NotificationDefinition<"task/ready", import("@sinclair/typebox").TObject<{
707
+ taskId: import("@sinclair/typebox").TString & {
708
+ static: import("../brands.js").BrandedString<"TaskId">;
710
709
  };
711
710
  conversations: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString & {
712
711
  static: import("../brands.js").BrandedString<"ConversationId">;
713
712
  }>;
714
- }>>, import("../notification.js").NotificationDefinition<"app/sessionFailed", import("@sinclair/typebox").TObject<{
715
- sessionId: import("@sinclair/typebox").TString & {
716
- static: import("../brands.js").BrandedString<"AppSessionId">;
713
+ }>>, import("../notification.js").NotificationDefinition<"task/failed", import("@sinclair/typebox").TObject<{
714
+ taskId: import("@sinclair/typebox").TString & {
715
+ static: import("../brands.js").BrandedString<"TaskId">;
717
716
  };
718
- }>>, import("../notification.js").NotificationDefinition<"app/sessionClosed", import("@sinclair/typebox").TObject<{
719
- sessionId: import("@sinclair/typebox").TString & {
720
- static: import("../brands.js").BrandedString<"AppSessionId">;
717
+ }>>, import("../notification.js").NotificationDefinition<"task/closed", import("@sinclair/typebox").TObject<{
718
+ taskId: import("@sinclair/typebox").TString & {
719
+ static: import("../brands.js").BrandedString<"TaskId">;
721
720
  };
722
- closedBy: import("@sinclair/typebox").TString & {
723
- static: import("../brands.js").BrandedString<"AgentId">;
721
+ conversations: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString & {
722
+ static: import("../brands.js").BrandedString<"ConversationId">;
723
+ }>;
724
+ closedBy: import("@sinclair/typebox").TObject<{
725
+ agentId: import("@sinclair/typebox").TString & {
726
+ static: import("../brands.js").BrandedString<"AgentId">;
727
+ };
728
+ ownerId: import("@sinclair/typebox").TString;
729
+ }>;
730
+ }>>, import("../notification.js").NotificationDefinition<"task/admissionComplete", import("@sinclair/typebox").TObject<{
731
+ taskId: import("@sinclair/typebox").TString & {
732
+ static: import("../brands.js").BrandedString<"TaskId">;
724
733
  };
734
+ admittedAgentIds: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString & {
735
+ static: import("../brands.js").BrandedString<"AgentId">;
736
+ }>;
725
737
  }>>]>;
726
738
  export type AnyNotificationDefinition = (typeof notificationDefinitions)[number];
727
739
  export type NotificationMethodName = AnyNotificationDefinition["name"];