@stigmer/protos 3.5.2 → 3.6.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 (48) hide show
  1. package/ai/stigmer/agentic/agentchannel/v1/message_io_pb.d.ts +90 -0
  2. package/ai/stigmer/agentic/agentchannel/v1/message_io_pb.js +16 -1
  3. package/ai/stigmer/agentic/agentchannel/v1/message_io_pb.js.map +1 -1
  4. package/ai/stigmer/agentic/agentchannel/v1/message_query_connect.d.ts +27 -0
  5. package/ai/stigmer/agentic/agentchannel/v1/message_query_connect.js +28 -1
  6. package/ai/stigmer/agentic/agentchannel/v1/message_query_connect.js.map +1 -1
  7. package/ai/stigmer/agentic/agentchannel/v1/message_query_pb.d.ts +27 -1
  8. package/ai/stigmer/agentic/agentchannel/v1/message_query_pb.js +1 -1
  9. package/ai/stigmer/agentic/agentchannel/v1/message_query_pb.js.map +1 -1
  10. package/ai/stigmer/agentic/agentchannel/v1/outbound_pb.d.ts +279 -0
  11. package/ai/stigmer/agentic/agentchannel/v1/outbound_pb.js +111 -0
  12. package/ai/stigmer/agentic/agentchannel/v1/outbound_pb.js.map +1 -0
  13. package/ai/stigmer/agentic/agentexecution/v1/io_pb.d.ts +17 -0
  14. package/ai/stigmer/agentic/agentexecution/v1/io_pb.js +1 -1
  15. package/ai/stigmer/agentic/agentexecution/v1/io_pb.js.map +1 -1
  16. package/ai/stigmer/agentic/mcpserver/v1/spec_pb.d.ts +26 -0
  17. package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js.map +1 -1
  18. package/ai/stigmer/agentic/schedule/v1/api_pb.d.ts +68 -0
  19. package/ai/stigmer/agentic/schedule/v1/api_pb.js +18 -0
  20. package/ai/stigmer/agentic/schedule/v1/api_pb.js.map +1 -0
  21. package/ai/stigmer/agentic/schedule/v1/command_connect.d.ts +175 -0
  22. package/ai/stigmer/agentic/schedule/v1/command_connect.js +183 -0
  23. package/ai/stigmer/agentic/schedule/v1/command_connect.js.map +1 -0
  24. package/ai/stigmer/agentic/schedule/v1/command_pb.d.ts +173 -0
  25. package/ai/stigmer/agentic/schedule/v1/command_pb.js +19 -0
  26. package/ai/stigmer/agentic/schedule/v1/command_pb.js.map +1 -0
  27. package/ai/stigmer/agentic/schedule/v1/io_pb.d.ts +122 -0
  28. package/ai/stigmer/agentic/schedule/v1/io_pb.js +32 -0
  29. package/ai/stigmer/agentic/schedule/v1/io_pb.js.map +1 -0
  30. package/ai/stigmer/agentic/schedule/v1/query_connect.d.ts +77 -0
  31. package/ai/stigmer/agentic/schedule/v1/query_connect.js +86 -0
  32. package/ai/stigmer/agentic/schedule/v1/query_connect.js.map +1 -0
  33. package/ai/stigmer/agentic/schedule/v1/query_pb.d.ts +78 -0
  34. package/ai/stigmer/agentic/schedule/v1/query_pb.js +25 -0
  35. package/ai/stigmer/agentic/schedule/v1/query_pb.js.map +1 -0
  36. package/ai/stigmer/agentic/schedule/v1/spec_pb.d.ts +151 -0
  37. package/ai/stigmer/agentic/schedule/v1/spec_pb.js +22 -0
  38. package/ai/stigmer/agentic/schedule/v1/spec_pb.js.map +1 -0
  39. package/ai/stigmer/agentic/schedule/v1/status_pb.d.ts +85 -0
  40. package/ai/stigmer/agentic/schedule/v1/status_pb.js +16 -0
  41. package/ai/stigmer/agentic/schedule/v1/status_pb.js.map +1 -0
  42. package/ai/stigmer/agentic/workflowexecution/v1/io_pb.d.ts +17 -0
  43. package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js +1 -1
  44. package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js.map +1 -1
  45. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +6 -0
  46. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +7 -1
  47. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
  48. package/package.json +1 -1
@@ -344,12 +344,102 @@ export type ChannelTemplate = Message<"ai.stigmer.agentic.agentchannel.v1.Channe
344
344
  * @generated from field: string rejection_reason = 9;
345
345
  */
346
346
  rejectionReason: string;
347
+ /**
348
+ * Why this platform version cannot send the template. Empty when the
349
+ * template can be sent.
350
+ *
351
+ * @internal
352
+ * proactive-messaging DD-005 D7 / DD-006 D1. Distinct from
353
+ * rejection_reason: that is the PROVIDER's verdict on the template;
354
+ * this is Stigmer's verdict on its own ability to supply the
355
+ * template's send payload (e.g. a text-header variable or dynamic-URL
356
+ * button the TemplatePayload contract cannot express). Sendability is
357
+ * derived — empty means sendable — and deliberately NOT a second
358
+ * boolean field: one writer (the provider mapper), nothing to drift.
359
+ * The runner's prompt section and the send pre-check both key off it.
360
+ *
361
+ * @generated from field: string unsupported_reason = 10;
362
+ */
363
+ unsupportedReason: string;
347
364
  };
348
365
  /**
349
366
  * Describes the message ai.stigmer.agentic.agentchannel.v1.ChannelTemplate.
350
367
  * Use `create(ChannelTemplateSchema)` to create a new message.
351
368
  */
352
369
  export declare const ChannelTemplateSchema: GenMessage<ChannelTemplate>;
370
+ /**
371
+ * Input for listing the agent channels the caller can send
372
+ * business-initiated messages on.
373
+ *
374
+ * @internal
375
+ * proactive-messaging DD-006 D2. Deliberately empty (the
376
+ * GetServerInfoInput house style): org, agent, and session all derive
377
+ * from the caller's token (DD-013 — never from arguments). Session-bound
378
+ * callers only in this slice; a direct principal is told to use the
379
+ * channel resource surface instead. Room is reserved for a
380
+ * direct-caller `org` arm if one is ever justified.
381
+ *
382
+ * @generated from message ai.stigmer.agentic.agentchannel.v1.ListMessagingChannelsInput
383
+ */
384
+ export type ListMessagingChannelsInput = Message<"ai.stigmer.agentic.agentchannel.v1.ListMessagingChannelsInput"> & {};
385
+ /**
386
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.ListMessagingChannelsInput.
387
+ * Use `create(ListMessagingChannelsInputSchema)` to create a new message.
388
+ */
389
+ export declare const ListMessagingChannelsInputSchema: GenMessage<ListMessagingChannelsInput>;
390
+ /**
391
+ * MessagingChannels contains the agent channels the caller can send
392
+ * business-initiated messages on.
393
+ *
394
+ * @generated from message ai.stigmer.agentic.agentchannel.v1.MessagingChannels
395
+ */
396
+ export type MessagingChannels = Message<"ai.stigmer.agentic.agentchannel.v1.MessagingChannels"> & {
397
+ /**
398
+ * One entry per serving proactive-enabled channel.
399
+ *
400
+ * @generated from field: repeated ai.stigmer.agentic.agentchannel.v1.MessagingChannel entries = 1;
401
+ */
402
+ entries: MessagingChannel[];
403
+ };
404
+ /**
405
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.MessagingChannels.
406
+ * Use `create(MessagingChannelsSchema)` to create a new message.
407
+ */
408
+ export declare const MessagingChannelsSchema: GenMessage<MessagingChannels>;
409
+ /**
410
+ * MessagingChannel is one agent channel available for business-initiated
411
+ * messaging, as a slim projection.
412
+ *
413
+ * @internal
414
+ * proactive-messaging DD-006 D2: deliberately NOT the AgentChannel
415
+ * resource — provider_config and status carry install facts and
416
+ * credential references that must never reach a sandbox-token surface.
417
+ * The runner needs exactly enough to name the channel in a send and
418
+ * label the prompt section.
419
+ *
420
+ * @generated from message ai.stigmer.agentic.agentchannel.v1.MessagingChannel
421
+ */
422
+ export type MessagingChannel = Message<"ai.stigmer.agentic.agentchannel.v1.MessagingChannel"> & {
423
+ /**
424
+ * AgentChannel slug, the `channel` value sendMessage and listTemplates
425
+ * accept.
426
+ *
427
+ * @generated from field: string channel = 1;
428
+ */
429
+ channel: string;
430
+ /**
431
+ * Provider key, verbatim from the channel's provider_config arm
432
+ * (e.g. "whatsapp").
433
+ *
434
+ * @generated from field: string provider = 2;
435
+ */
436
+ provider: string;
437
+ };
438
+ /**
439
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.MessagingChannel.
440
+ * Use `create(MessagingChannelSchema)` to create a new message.
441
+ */
442
+ export declare const MessagingChannelSchema: GenMessage<MessagingChannel>;
353
443
  /**
354
444
  * ChannelSendOutcome reports what happened to a business-initiated
355
445
  * message on the inline delivery attempt.
@@ -6,7 +6,7 @@ import { file_buf_validate_validate } from "../../../../../buf/validate/validate
6
6
  /**
7
7
  * Describes the file ai/stigmer/agentic/agentchannel/v1/message_io.proto.
8
8
  */
9
- export const file_ai_stigmer_agentic_agentchannel_v1_message_io = /*@__PURE__*/ fileDesc("CjNhaS9zdGlnbWVyL2FnZW50aWMvYWdlbnRjaGFubmVsL3YxL21lc3NhZ2VfaW8ucHJvdG8SImFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGNoYW5uZWwudjEivQEKF1NlbmRDaGFubmVsTWVzc2FnZUlucHV0EhgKB2NoYW5uZWwYASABKAlCB7pIBHICGD8SFAoDb3JnGAIgASgJQge6SARyAhg/Eh0KCXJlY2lwaWVudBgDIAEoCUIKukgHcgUQARiAARJTCgdwYXlsb2FkGAQgASgLMjouYWkuc3RpZ21lci5hZ2VudGljLmFnZW50Y2hhbm5lbC52MS5DaGFubmVsT3V0Ym91bmRQYXlsb2FkQga6SAPIAQEisQEKFkNoYW5uZWxPdXRib3VuZFBheWxvYWQSPwoEdGV4dBgBIAEoCzIvLmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGNoYW5uZWwudjEuVGV4dFBheWxvYWRIABJHCgh0ZW1wbGF0ZRgCIAEoCzIzLmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGNoYW5uZWwudjEuVGVtcGxhdGVQYXlsb2FkSABCDQoEa2luZBIFukgCCAEiJwoLVGV4dFBheWxvYWQSGAoEYm9keRgBIAEoCUIKukgHcgUQARiAICKBAgoPVGVtcGxhdGVQYXlsb2FkEhgKBG5hbWUYASABKAlCCrpIB3IFEAEYgAQSGQoIbGFuZ3VhZ2UYAiABKAlCB7pIBHICGBASYQoKcGFyYW1ldGVycxgDIAMoCzJDLmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGNoYW5uZWwudjEuVGVtcGxhdGVQYXlsb2FkLlBhcmFtZXRlcnNFbnRyeUIIukgFmgECEDISIwoRaGVhZGVyX2ltYWdlX2xpbmsYBCABKAlCCLpIBXIDGIAQGjE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WQQARIKCgZxdWV1ZWQQAhILCgdyZWZ1c2VkEANiBnByb3RvMw", [file_buf_validate_validate]);
10
10
  /**
11
11
  * Describes the message ai.stigmer.agentic.agentchannel.v1.SendChannelMessageInput.
12
12
  * Use `create(SendChannelMessageInputSchema)` to create a new message.
@@ -47,6 +47,21 @@ export const ChannelTemplatesSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_
47
47
  * Use `create(ChannelTemplateSchema)` to create a new message.
48
48
  */
49
49
  export const ChannelTemplateSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentchannel_v1_message_io, 7);
50
+ /**
51
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.ListMessagingChannelsInput.
52
+ * Use `create(ListMessagingChannelsInputSchema)` to create a new message.
53
+ */
54
+ export const ListMessagingChannelsInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentchannel_v1_message_io, 8);
55
+ /**
56
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.MessagingChannels.
57
+ * Use `create(MessagingChannelsSchema)` to create a new message.
58
+ */
59
+ export const MessagingChannelsSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentchannel_v1_message_io, 9);
60
+ /**
61
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.MessagingChannel.
62
+ * Use `create(MessagingChannelSchema)` to create a new message.
63
+ */
64
+ export const MessagingChannelSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentchannel_v1_message_io, 10);
50
65
  /**
51
66
  * ChannelSendOutcome reports what happened to a business-initiated
52
67
  * message on the inline delivery attempt.
@@ -1 +1 @@
1
- {"version":3,"file":"message_io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentchannel/v1/message_io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,uIAAuI;AACvI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AA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AM,+BAA+B,GAA0C,aAAa,CACjG,WAAW,CAAC,kDAAkD,EAAE,CAAC,CAAC,CAAC;AAiBrE;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAiC,aAAa,CAC/E,WAAW,CAAC,kDAAkD,EAAE,CAAC,CAAC,CAAC;AAwGrE;;;GAGG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAgC,aAAa,CAC7E,WAAW,CAAC,kDAAkD,EAAE,CAAC,CAAC,CAAC;AAmBrE;;;GAGG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAA2C,aAAa,CACnG,WAAW,CAAC,kDAAkD,EAAE,CAAC,CAAC,CAAC;AAiBrE;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAkC,aAAa,CACjF,WAAW,CAAC,kDAAkD,EAAE,CAAC,CAAC,CAAC;AAiCrE;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAiC,aAAa,CAC/E,WAAW,CAAC,kDAAkD,EAAE,EAAE,CAAC,CAAC;AAEtE;;;;;;;;;;;GAWG;AACH,MAAM,CAAN,IAAY,kBA8BX;AA9BD,WAAY,kBAAkB;IAC5B;;;;OAIG;IACH,mHAAoC,CAAA;IAEpC;;;;OAIG;IACH,mEAAY,CAAA;IAEZ;;;;OAIG;IACH,+DAAU,CAAA;IAEV;;;;;;OAMG;IACH,iEAAW,CAAA;AACb,CAAC,EA9BW,kBAAkB,KAAlB,kBAAkB,QA8B7B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAgC,aAAa,CAChF,QAAQ,CAAC,kDAAkD,EAAE,CAAC,CAAC,CAAC"}
@@ -39,5 +39,32 @@ export declare const ChannelMessageQueryController: {
39
39
  readonly O: any;
40
40
  readonly kind: any;
41
41
  };
42
+ /**
43
+ * List the agent channels the caller can send business-initiated
44
+ * messages on.
45
+ *
46
+ * Everything the read needs derives from the caller's credential; an
47
+ * agent with no proactive-messaging channel receives an empty list.
48
+ *
49
+ * @internal
50
+ * proactive-messaging DD-006 D2: the runner's tool-attachment
51
+ * decision, replacing DD-002 D5's getByAgent plan (FGA-scoped — a
52
+ * sandbox token structurally receives an empty list there). Cloud
53
+ * answers from the SAME candidate computation ChannelMessagingReach
54
+ * uses (chain → serving proactive channels → sender-registry filter),
55
+ * so the attachment decision and the send authorization can never
56
+ * disagree. Session-bound callers only in this slice: direct
57
+ * principals get INVALID_ARGUMENT pointing at the channel resource
58
+ * surface. OSS returns an empty list (DD-006 D3) — a discovery read
59
+ * answering "none", unlike its action siblings' FAILED_PRECONDITION.
60
+ *
61
+ * @generated from rpc ai.stigmer.agentic.agentchannel.v1.ChannelMessageQueryController.listMessagingChannels
62
+ */
63
+ readonly listMessagingChannels: {
64
+ readonly name: "listMessagingChannels";
65
+ readonly I: any;
66
+ readonly O: any;
67
+ readonly kind: any;
68
+ };
42
69
  };
43
70
  };
@@ -2,7 +2,7 @@
2
2
  // @generated from file ai/stigmer/agentic/agentchannel/v1/message_query.proto (package ai.stigmer.agentic.agentchannel.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
- import { ChannelTemplates, ListChannelTemplatesInput } from "./message_io_pbjs";
5
+ import { ChannelTemplates, ListChannelTemplatesInput, ListMessagingChannelsInput, MessagingChannels } from "./message_io_pbjs";
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
7
  /**
8
8
  * ChannelMessageQueryController serves runtime reads that support
@@ -45,6 +45,33 @@ export const ChannelMessageQueryController = {
45
45
  O: ChannelTemplates,
46
46
  kind: MethodKind.Unary,
47
47
  },
48
+ /**
49
+ * List the agent channels the caller can send business-initiated
50
+ * messages on.
51
+ *
52
+ * Everything the read needs derives from the caller's credential; an
53
+ * agent with no proactive-messaging channel receives an empty list.
54
+ *
55
+ * @internal
56
+ * proactive-messaging DD-006 D2: the runner's tool-attachment
57
+ * decision, replacing DD-002 D5's getByAgent plan (FGA-scoped — a
58
+ * sandbox token structurally receives an empty list there). Cloud
59
+ * answers from the SAME candidate computation ChannelMessagingReach
60
+ * uses (chain → serving proactive channels → sender-registry filter),
61
+ * so the attachment decision and the send authorization can never
62
+ * disagree. Session-bound callers only in this slice: direct
63
+ * principals get INVALID_ARGUMENT pointing at the channel resource
64
+ * surface. OSS returns an empty list (DD-006 D3) — a discovery read
65
+ * answering "none", unlike its action siblings' FAILED_PRECONDITION.
66
+ *
67
+ * @generated from rpc ai.stigmer.agentic.agentchannel.v1.ChannelMessageQueryController.listMessagingChannels
68
+ */
69
+ listMessagingChannels: {
70
+ name: "listMessagingChannels",
71
+ I: ListMessagingChannelsInput,
72
+ O: MessagingChannels,
73
+ kind: MethodKind.Unary,
74
+ },
48
75
  }
49
76
  };
50
77
  //# sourceMappingURL=message_query_connect.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"message_query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentchannel/v1/message_query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,0IAA0I;AAC1I,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,gBAAgB,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAChF,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,QAAQ,EAAE,kEAAkE;IAC5E,OAAO,EAAE;QACP;;;;;;;;;;;;;;;;;;;WAmBG;QACH,aAAa,EAAE;YACb,IAAI,EAAE,eAAe;YACrB,CAAC,EAAE,yBAAyB;YAC5B,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
1
+ {"version":3,"file":"message_query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentchannel/v1/message_query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,0IAA0I;AAC1I,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,gBAAgB,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC/H,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,QAAQ,EAAE,kEAAkE;IAC5E,OAAO,EAAE;QACP;;;;;;;;;;;;;;;;;;;WAmBG;QACH,aAAa,EAAE;YACb,IAAI,EAAE,eAAe;YACrB,CAAC,EAAE,yBAAyB;YAC5B,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;WAoBG;QACH,qBAAqB,EAAE;YACrB,IAAI,EAAE,uBAAuB;YAC7B,CAAC,EAAE,0BAA0B;YAC7B,CAAC,EAAE,iBAAiB;YACpB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
2
- import type { ChannelTemplatesSchema, ListChannelTemplatesInputSchema } from "./message_io_pb.js";
2
+ import type { ChannelTemplatesSchema, ListChannelTemplatesInputSchema, ListMessagingChannelsInputSchema, MessagingChannelsSchema } from "./message_io_pb.js";
3
3
  /**
4
4
  * Describes the file ai/stigmer/agentic/agentchannel/v1/message_query.proto.
5
5
  */
@@ -42,4 +42,30 @@ export declare const ChannelMessageQueryController: GenService<{
42
42
  input: typeof ListChannelTemplatesInputSchema;
43
43
  output: typeof ChannelTemplatesSchema;
44
44
  };
45
+ /**
46
+ * List the agent channels the caller can send business-initiated
47
+ * messages on.
48
+ *
49
+ * Everything the read needs derives from the caller's credential; an
50
+ * agent with no proactive-messaging channel receives an empty list.
51
+ *
52
+ * @internal
53
+ * proactive-messaging DD-006 D2: the runner's tool-attachment
54
+ * decision, replacing DD-002 D5's getByAgent plan (FGA-scoped — a
55
+ * sandbox token structurally receives an empty list there). Cloud
56
+ * answers from the SAME candidate computation ChannelMessagingReach
57
+ * uses (chain → serving proactive channels → sender-registry filter),
58
+ * so the attachment decision and the send authorization can never
59
+ * disagree. Session-bound callers only in this slice: direct
60
+ * principals get INVALID_ARGUMENT pointing at the channel resource
61
+ * surface. OSS returns an empty list (DD-006 D3) — a discovery read
62
+ * answering "none", unlike its action siblings' FAILED_PRECONDITION.
63
+ *
64
+ * @generated from rpc ai.stigmer.agentic.agentchannel.v1.ChannelMessageQueryController.listMessagingChannels
65
+ */
66
+ listMessagingChannels: {
67
+ methodKind: "unary";
68
+ input: typeof ListMessagingChannelsInputSchema;
69
+ output: typeof MessagingChannelsSchema;
70
+ };
45
71
  }>;
@@ -8,7 +8,7 @@ import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc
8
8
  /**
9
9
  * Describes the file ai/stigmer/agentic/agentchannel/v1/message_query.proto.
10
10
  */
11
- export const file_ai_stigmer_agentic_agentchannel_v1_message_query = /*@__PURE__*/ fileDesc("CjZhaS9zdGlnbWVyL2FnZW50aWMvYWdlbnRjaGFubmVsL3YxL21lc3NhZ2VfcXVlcnkucHJvdG8SImFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGNoYW5uZWwudjEysgEKHUNoYW5uZWxNZXNzYWdlUXVlcnlDb250cm9sbGVyEooBCg1saXN0VGVtcGxhdGVzEj0uYWkuc3RpZ21lci5hZ2VudGljLmFnZW50Y2hhbm5lbC52MS5MaXN0Q2hhbm5lbFRlbXBsYXRlc0lucHV0GjQuYWkuc3RpZ21lci5hZ2VudGljLmFnZW50Y2hhbm5lbC52MS5DaGFubmVsVGVtcGxhdGVzIgTQuBgBGgSg/ysvYgZwcm90bzM", [file_ai_stigmer_agentic_agentchannel_v1_message_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options]);
11
+ export const file_ai_stigmer_agentic_agentchannel_v1_message_query = /*@__PURE__*/ fileDesc("CjZhaS9zdGlnbWVyL2FnZW50aWMvYWdlbnRjaGFubmVsL3YxL21lc3NhZ2VfcXVlcnkucHJvdG8SImFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGNoYW5uZWwudjEyyQIKHUNoYW5uZWxNZXNzYWdlUXVlcnlDb250cm9sbGVyEooBCg1saXN0VGVtcGxhdGVzEj0uYWkuc3RpZ21lci5hZ2VudGljLmFnZW50Y2hhbm5lbC52MS5MaXN0Q2hhbm5lbFRlbXBsYXRlc0lucHV0GjQuYWkuc3RpZ21lci5hZ2VudGljLmFnZW50Y2hhbm5lbC52MS5DaGFubmVsVGVtcGxhdGVzIgTQuBgBEpQBChVsaXN0TWVzc2FnaW5nQ2hhbm5lbHMSPi5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRjaGFubmVsLnYxLkxpc3RNZXNzYWdpbmdDaGFubmVsc0lucHV0GjUuYWkuc3RpZ21lci5hZ2VudGljLmFnZW50Y2hhbm5lbC52MS5NZXNzYWdpbmdDaGFubmVscyIE0LgYARoEoP8rL2IGcHJvdG8z", [file_ai_stigmer_agentic_agentchannel_v1_message_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options]);
12
12
  /**
13
13
  * ChannelMessageQueryController serves runtime reads that support
14
14
  * business-initiated messaging on agent channels.
@@ -1 +1 @@
1
- {"version":3,"file":"message_query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentchannel/v1/message_query_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,0IAA0I;AAC1I,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,kDAAkD,EAAE,MAAM,oBAAoB,CAAC;AACxF,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,qDAAqD,GAAY,aAAa,CACzF,QAAQ,CAAC,yXAAyX,EAAE,CAAC,kDAAkD,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEjiB;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,6BAA6B,GA0BrC,aAAa,CAChB,WAAW,CAAC,qDAAqD,EAAE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"message_query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentchannel/v1/message_query_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,0IAA0I;AAC1I,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,kDAAkD,EAAE,MAAM,oBAAoB,CAAC;AACxF,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,qDAAqD,GAAY,aAAa,CACzF,QAAQ,CAAC,kkBAAkkB,EAAE,CAAC,kDAAkD,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAE1uB;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAoDrC,aAAa,CAChB,WAAW,CAAC,qDAAqD,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,279 @@
1
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
+ import type { ChannelDeliveryStatus } from "./delivery_pb.js";
3
+ import type { ChannelOutboundPayload } from "./message_io_pb.js";
4
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
5
+ import type { Message } from "@bufbuild/protobuf";
6
+ /**
7
+ * Describes the file ai/stigmer/agentic/agentchannel/v1/outbound.proto.
8
+ */
9
+ export declare const file_ai_stigmer_agentic_agentchannel_v1_outbound: GenFile;
10
+ /**
11
+ * ChannelOutboundMessage tracks the delivery of one business-initiated
12
+ * message to one external recipient on an agent channel.
13
+ *
14
+ * @internal
15
+ * Infrastructure-only — no kind, no apiVersion, no CRUD RPCs, no FGA (the
16
+ * ChannelDelivery posture). The proactive sibling of ChannelDelivery
17
+ * (proactive-messaging DD-002 D1, amended by DD-004): its own claim/lease
18
+ * store, sharing the reply lane's idiom but never its table. The row is
19
+ * written by the send handler BEFORE any provider I/O — it is
20
+ * simultaneously the audit trail, the rate-cap ledger, the idempotency
21
+ * anchor for delivery retries, and (via provider_message_id) the future
22
+ * receipt-correlation target. Attempted once inline by the send RPC;
23
+ * attempts 2..N belong to the outbound sweep. Reuses ChannelDeliveryStatus
24
+ * (proto3 enum values are package-scoped; a twin enum would not compile)
25
+ * and carries NO provider-context arm: `recipient` is first-class and the
26
+ * sender re-reads the channel per attempt for provider facts such as the
27
+ * WhatsApp phone_number_id (DD-004 pinned behavior — a stored copy could
28
+ * drift).
29
+ *
30
+ * @generated from message ai.stigmer.agentic.agentchannel.v1.ChannelOutboundMessage
31
+ */
32
+ export type ChannelOutboundMessage = Message<"ai.stigmer.agentic.agentchannel.v1.ChannelOutboundMessage"> & {
33
+ /**
34
+ * Unique outbound message identifier.
35
+ *
36
+ * @generated from field: string outbound_message_id = 1;
37
+ */
38
+ outboundMessageId: string;
39
+ /**
40
+ * AgentChannel connection this message sends through.
41
+ *
42
+ * @generated from field: string agent_channel_id = 2;
43
+ */
44
+ agentChannelId: string;
45
+ /**
46
+ * Organization that owns the connection (billing org).
47
+ * Denormalized from the channel so sweep/cap paths never join.
48
+ *
49
+ * @generated from field: string org = 3;
50
+ */
51
+ org: string;
52
+ /**
53
+ * Session of the originating agent run; empty for direct operator
54
+ * sends, which have no session.
55
+ *
56
+ * @internal
57
+ * DD-004 S-1: the per-run cap keys on session (the sandbox token
58
+ * carries session_id, never an execution id), so this replaces
59
+ * DD-002's sketched execution_id.
60
+ *
61
+ * @generated from field: string session_id = 4;
62
+ */
63
+ sessionId: string;
64
+ /**
65
+ * How the send was authorized (DD-002 D9's surface-aware policy).
66
+ *
67
+ * @generated from field: ai.stigmer.agentic.agentchannel.v1.ChannelOutboundOrigin origin = 5;
68
+ */
69
+ origin: ChannelOutboundOrigin;
70
+ /**
71
+ * External recipient key on the channel's provider (WhatsApp: wa_id).
72
+ *
73
+ * @generated from field: string recipient = 6;
74
+ */
75
+ recipient: string;
76
+ /**
77
+ * Typed message content, verbatim as accepted from the caller.
78
+ *
79
+ * @generated from field: ai.stigmer.agentic.agentchannel.v1.ChannelOutboundPayload payload = 7;
80
+ */
81
+ payload?: ChannelOutboundPayload;
82
+ /**
83
+ * Delivery lifecycle status (the ChannelDelivery vocabulary).
84
+ *
85
+ * @generated from field: ai.stigmer.agentic.agentchannel.v1.ChannelDeliveryStatus status = 8;
86
+ */
87
+ status: ChannelDeliveryStatus;
88
+ /**
89
+ * Number of delivery attempts made.
90
+ *
91
+ * @generated from field: int32 attempts = 9;
92
+ */
93
+ attempts: number;
94
+ /**
95
+ * Last delivery error, empty unless a delivery attempt failed.
96
+ *
97
+ * @generated from field: string last_error = 10;
98
+ */
99
+ lastError: string;
100
+ /**
101
+ * Idempotency key for outbound provider calls (stable across retries).
102
+ *
103
+ * @generated from field: string idempotency_key = 11;
104
+ */
105
+ idempotencyKey: string;
106
+ /**
107
+ * Provider message id once the provider accepted (WhatsApp: wamid).
108
+ *
109
+ * @internal
110
+ * Uniquely indexed where present — the provider-side identity of this
111
+ * send, kept for forensics and as the payments-era correlation anchor.
112
+ * Receipt correlation deliberately does NOT ride it (DD-016 D2): the
113
+ * wamid lands here only AFTER the provider accepts, while receipts are
114
+ * correlated by the send-time callback token, which can never miss.
115
+ *
116
+ * @generated from field: string provider_message_id = 12;
117
+ */
118
+ providerMessageId: string;
119
+ /**
120
+ * When the outbound record was created (send-RPC time).
121
+ *
122
+ * @generated from field: google.protobuf.Timestamp created_at = 13;
123
+ */
124
+ createdAt?: Timestamp;
125
+ /**
126
+ * When the record was last transitioned.
127
+ *
128
+ * @generated from field: google.protobuf.Timestamp updated_at = 14;
129
+ */
130
+ updatedAt?: Timestamp;
131
+ /**
132
+ * Earliest time of the next delivery attempt (backoff schedule).
133
+ *
134
+ * @generated from field: google.protobuf.Timestamp next_attempt_at = 15;
135
+ */
136
+ nextAttemptAt?: Timestamp;
137
+ /**
138
+ * The provider's report of what became of the message after it was
139
+ * accepted — a SECOND axis beside `status`, which tracks the
140
+ * platform's own send attempt. `status = delivered` means "handed to
141
+ * the provider"; `receipt_state = receipt_delivered` means "reached
142
+ * the recipient's device".
143
+ *
144
+ * @internal
145
+ * DD-016 D5/D6 (T02 slice 2c). Stamped by the delivery receipt
146
+ * handler, its single writer, advancing monotonically (sent <
147
+ * delivered < read; failed is sticky-terminal) because Meta delivers
148
+ * receipts out of order and may skip `delivered` entirely. The stamp
149
+ * never touches updated_at — that timestamp belongs to the
150
+ * send-attempt axis.
151
+ *
152
+ * @generated from field: ai.stigmer.agentic.agentchannel.v1.ChannelReceiptState receipt_state = 16;
153
+ */
154
+ receiptState: ChannelReceiptState;
155
+ /**
156
+ * The provider's verbatim explanation when receipt_state is
157
+ * receipt_failed (WhatsApp: the errors[0] title, plus error_data
158
+ * details when present). Empty otherwise.
159
+ *
160
+ * @internal
161
+ * Provider-owned vocabulary, relayed verbatim (the DD-003 D6 rule) —
162
+ * never pattern-matched; receipt_error_code is the structured twin.
163
+ *
164
+ * @generated from field: string receipt_detail = 17;
165
+ */
166
+ receiptDetail: string;
167
+ /**
168
+ * The provider's numeric error code when receipt_state is
169
+ * receipt_failed (WhatsApp: errors[0].code, e.g. 131026 "recipient
170
+ * cannot receive WhatsApp messages"). Zero otherwise.
171
+ *
172
+ * @generated from field: int32 receipt_error_code = 18;
173
+ */
174
+ receiptErrorCode: number;
175
+ /**
176
+ * When the provider reported the latest receipt state (the provider's
177
+ * own event timestamp, not our processing time).
178
+ *
179
+ * @generated from field: google.protobuf.Timestamp receipt_at = 19;
180
+ */
181
+ receiptAt?: Timestamp;
182
+ };
183
+ /**
184
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.ChannelOutboundMessage.
185
+ * Use `create(ChannelOutboundMessageSchema)` to create a new message.
186
+ */
187
+ export declare const ChannelOutboundMessageSchema: GenMessage<ChannelOutboundMessage>;
188
+ /**
189
+ * ChannelReceiptState is the provider-reported delivery progress of an
190
+ * accepted outbound message, as learned from delivery receipts.
191
+ *
192
+ * @internal
193
+ * DD-016 D6. Provider-neutral four-state vocabulary; WhatsApp's fifth
194
+ * value `played` (voice playback) maps to receipt_read (DD-016 D8), and
195
+ * the raw webhook payload retains the verbatim value. Values carry the
196
+ * receipt_ prefix because proto3 enum values are package-scoped —
197
+ * `delivered` and `failed` are taken by ChannelDeliveryStatus — which is
198
+ * also a feature: the send-attempt axis and the receipt axis can never
199
+ * be confused on the wire. Enum numbers are IDENTITY only; the stamp's
200
+ * monotonic ordering lives in an explicit rank map in the handler, so a
201
+ * future value cannot silently mis-rank.
202
+ *
203
+ * @generated from enum ai.stigmer.agentic.agentchannel.v1.ChannelReceiptState
204
+ */
205
+ export declare enum ChannelReceiptState {
206
+ /**
207
+ * Default value when no receipt has been recorded.
208
+ *
209
+ * @generated from enum value: receipt_state_unspecified = 0;
210
+ */
211
+ receipt_state_unspecified = 0,
212
+ /**
213
+ * The provider accepted the message into its delivery queue.
214
+ *
215
+ * @generated from enum value: receipt_sent = 1;
216
+ */
217
+ receipt_sent = 1,
218
+ /**
219
+ * The message reached the recipient's device.
220
+ *
221
+ * @generated from enum value: receipt_delivered = 2;
222
+ */
223
+ receipt_delivered = 2,
224
+ /**
225
+ * The recipient viewed the message (or played it, for voice).
226
+ *
227
+ * @generated from enum value: receipt_read = 3;
228
+ */
229
+ receipt_read = 3,
230
+ /**
231
+ * The provider could not deliver the message; receipt_detail and
232
+ * receipt_error_code carry the provider's verdict.
233
+ *
234
+ * @generated from enum value: receipt_failed = 4;
235
+ */
236
+ receipt_failed = 4
237
+ }
238
+ /**
239
+ * Describes the enum ai.stigmer.agentic.agentchannel.v1.ChannelReceiptState.
240
+ */
241
+ export declare const ChannelReceiptStateSchema: GenEnum<ChannelReceiptState>;
242
+ /**
243
+ * ChannelOutboundOrigin records which trust context authorized a
244
+ * business-initiated send.
245
+ *
246
+ * @internal
247
+ * DD-002 D9: the two calling contexts carry different trust levels, so
248
+ * recipient policy is surface-aware — channel-conversation sends are
249
+ * bounded to known senders, operator-authored sends to caps. Stamped by
250
+ * the reach resolver (its single writer) for audit; never caller-supplied.
251
+ *
252
+ * @generated from enum ai.stigmer.agentic.agentchannel.v1.ChannelOutboundOrigin
253
+ */
254
+ export declare enum ChannelOutboundOrigin {
255
+ /**
256
+ * Default value when no origin is set.
257
+ *
258
+ * @generated from enum value: channel_outbound_origin_unspecified = 0;
259
+ */
260
+ channel_outbound_origin_unspecified = 0,
261
+ /**
262
+ * The send came from an agent run created by an inbound channel
263
+ * message; the recipient must be a known sender on the channel.
264
+ *
265
+ * @generated from enum value: channel_conversation = 1;
266
+ */
267
+ channel_conversation = 1,
268
+ /**
269
+ * The send was authored by an operator (console, CLI, SDK, scheduled
270
+ * run); any recipient, bounded by caps.
271
+ *
272
+ * @generated from enum value: operator = 2;
273
+ */
274
+ operator = 2
275
+ }
276
+ /**
277
+ * Describes the enum ai.stigmer.agentic.agentchannel.v1.ChannelOutboundOrigin.
278
+ */
279
+ export declare const ChannelOutboundOriginSchema: GenEnum<ChannelOutboundOrigin>;