@stigmer/protos 3.10.0 → 3.11.1-dev.20260812192248
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ai/stigmer/activity/v1/io_pb.d.ts +11 -7
- package/ai/stigmer/activity/v1/io_pb.js.map +1 -1
- package/ai/stigmer/activity/v1/query_connect.d.ts +8 -3
- package/ai/stigmer/activity/v1/query_connect.js +8 -3
- package/ai/stigmer/activity/v1/query_connect.js.map +1 -1
- package/ai/stigmer/activity/v1/query_pb.d.ts +8 -3
- package/ai/stigmer/activity/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/agent/v1/io_pb.d.ts +3 -0
- package/ai/stigmer/agentic/agent/v1/io_pb.js.map +1 -1
- package/ai/stigmer/agentic/agent/v1/query_connect.d.ts +7 -0
- package/ai/stigmer/agentic/agent/v1/query_connect.js +7 -0
- package/ai/stigmer/agentic/agent/v1/query_connect.js.map +1 -1
- package/ai/stigmer/agentic/agent/v1/query_pb.d.ts +7 -0
- package/ai/stigmer/agentic/agent/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/agent/v1/spec_pb.d.ts +16 -1
- package/ai/stigmer/agentic/agent/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/conversation_io_pb.d.ts +37 -1
- package/ai/stigmer/agentic/agentchannel/v1/conversation_io_pb.js +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/conversation_io_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/delivery_pb.d.ts +89 -2
- package/ai/stigmer/agentic/agentchannel/v1/delivery_pb.js +62 -3
- package/ai/stigmer/agentic/agentchannel/v1/delivery_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/outbound_pb.d.ts +33 -1
- package/ai/stigmer/agentic/agentchannel/v1/outbound_pb.js +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/outbound_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/io_pb.d.ts +11 -3
- package/ai/stigmer/agentic/agentexecution/v1/io_pb.js +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/io_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/query_connect.d.ts +12 -4
- package/ai/stigmer/agentic/agentexecution/v1/query_connect.js +12 -4
- package/ai/stigmer/agentic/agentexecution/v1/query_connect.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/query_pb.d.ts +12 -4
- package/ai/stigmer/agentic/agentexecution/v1/query_pb.js +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/executioncontext/v1/command_connect.d.ts +30 -13
- package/ai/stigmer/agentic/executioncontext/v1/command_connect.js +30 -13
- package/ai/stigmer/agentic/executioncontext/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/executioncontext/v1/command_pb.d.ts +30 -13
- package/ai/stigmer/agentic/executioncontext/v1/command_pb.js +16 -7
- package/ai/stigmer/agentic/executioncontext/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/executioncontext/v1/query_connect.d.ts +8 -6
- package/ai/stigmer/agentic/executioncontext/v1/query_connect.js +8 -6
- package/ai/stigmer/agentic/executioncontext/v1/query_connect.js.map +1 -1
- package/ai/stigmer/agentic/executioncontext/v1/query_pb.d.ts +8 -6
- package/ai/stigmer/agentic/executioncontext/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.d.ts +6 -1
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/status_pb.d.ts +3 -2
- package/ai/stigmer/agentic/mcpserver/v1/status_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/io_pb.d.ts +10 -3
- package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js.map +1 -1
- package/ai/stigmer/billing/v1/model_pricing_baseline_pb.d.ts +17 -0
- package/ai/stigmer/billing/v1/model_pricing_baseline_pb.js +1 -1
- package/ai/stigmer/billing/v1/model_pricing_baseline_pb.js.map +1 -1
- package/ai/stigmer/commons/apiresource/enum_pb.d.ts +15 -4
- package/ai/stigmer/commons/apiresource/enum_pb.js +15 -4
- package/ai/stigmer/commons/apiresource/enum_pb.js.map +1 -1
- package/ai/stigmer/iam/iampolicy/v1/command_connect.d.ts +48 -0
- package/ai/stigmer/iam/iampolicy/v1/command_connect.js +48 -0
- package/ai/stigmer/iam/iampolicy/v1/command_connect.js.map +1 -1
- package/ai/stigmer/iam/iampolicy/v1/command_pb.d.ts +47 -0
- package/ai/stigmer/iam/iampolicy/v1/command_pb.js +1 -1
- package/ai/stigmer/iam/iampolicy/v1/command_pb.js.map +1 -1
- package/ai/stigmer/iam/platformclient/v1/spec_pb.d.ts +21 -8
- package/ai/stigmer/iam/platformclient/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/iam/platformclient/v1/token_connect.d.ts +7 -1
- package/ai/stigmer/iam/platformclient/v1/token_connect.js +7 -1
- package/ai/stigmer/iam/platformclient/v1/token_connect.js.map +1 -1
- package/ai/stigmer/iam/platformclient/v1/token_pb.d.ts +14 -5
- package/ai/stigmer/iam/platformclient/v1/token_pb.js.map +1 -1
- package/ai/stigmer/platform/v1/server_info_pb.d.ts +54 -5
- package/ai/stigmer/platform/v1/server_info_pb.js +1 -1
- package/ai/stigmer/platform/v1/server_info_pb.js.map +1 -1
- package/ai/stigmer/search/v1/io_pb.d.ts +5 -3
- package/ai/stigmer/search/v1/io_pb.js.map +1 -1
- package/package.json +1 -1
|
@@ -70,14 +70,18 @@ export type ListRecentActivityRequest = Message<"ai.stigmer.activity.v1.ListRece
|
|
|
70
70
|
/**
|
|
71
71
|
* Organization slug to scope the query.
|
|
72
72
|
*
|
|
73
|
-
* When provided,
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
*
|
|
73
|
+
* When provided, results are narrowed to resources in this organization.
|
|
74
|
+
* The org NEVER widens visibility: per-resource read authority is always
|
|
75
|
+
* enforced (on the hosted edition, FGA `can_view` enumeration per kind),
|
|
76
|
+
* and the org filter only intersects that authorized set. Both recents
|
|
77
|
+
* kinds are private by default — sessions are personal resources and
|
|
78
|
+
* workflow executions opt in to org observability per instance — so org
|
|
79
|
+
* membership alone must never substitute for the per-resource check. An
|
|
80
|
+
* earlier "org member = query by org directly" fast path leaked session
|
|
81
|
+
* titles to every org member (stigmer-cloud#258).
|
|
78
82
|
*
|
|
79
|
-
* When empty,
|
|
80
|
-
*
|
|
83
|
+
* When empty, results span every organization the caller has resource
|
|
84
|
+
* access in.
|
|
81
85
|
*
|
|
82
86
|
* @generated from field: string org = 2;
|
|
83
87
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/activity/v1/io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,uGAAuG;AACvG,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAY,aAAa,CAClE,QAAQ,CAAC,odAAod,EAAE,CAAC,8BAA8B,CAAC,CAAC,CAAC;AAoDngB;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAoC,aAAa,CACrF,WAAW,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/activity/v1/io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,uGAAuG;AACvG,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAY,aAAa,CAClE,QAAQ,CAAC,odAAod,EAAE,CAAC,8BAA8B,CAAC,CAAC,CAAC;AAoDngB;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAoC,aAAa,CACrF,WAAW,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAC;AAoCjD;;;GAGG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAA0C,aAAa,CACjG,WAAW,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAC;AAiBjD;;;GAGG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAA2C,aAAa,CACnG,WAAW,CAAC,8BAA8B,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -21,11 +21,16 @@ export declare const ActivityQueryController: {
|
|
|
21
21
|
* List recent activity across sessions and workflow executions.
|
|
22
22
|
*
|
|
23
23
|
* Returns a merged, time-sorted list of the caller's most recent
|
|
24
|
-
* sessions and workflow executions.
|
|
25
|
-
* server-side
|
|
24
|
+
* sessions and workflow executions. On the hosted edition, per-resource
|
|
25
|
+
* authorization filtering is applied server-side (FGA `can_view`
|
|
26
|
+
* enumeration for both kinds — the same permission the per-kind `get`
|
|
27
|
+
* RPCs enforce, so every listed entry is openable by construction). The
|
|
28
|
+
* OSS server does not currently implement this RPC (stigmer#461).
|
|
26
29
|
*
|
|
27
30
|
* @internal
|
|
28
|
-
* Authorization is handled in-handler
|
|
31
|
+
* Authorization is handled in-handler: the FGA id enumeration is the only
|
|
32
|
+
* gate (hence is_skip_authorization); the request's org merely narrows
|
|
33
|
+
* the authorized set.
|
|
29
34
|
*
|
|
30
35
|
* @generated from rpc ai.stigmer.activity.v1.ActivityQueryController.listRecentActivity
|
|
31
36
|
*/
|
|
@@ -27,11 +27,16 @@ export const ActivityQueryController = {
|
|
|
27
27
|
* List recent activity across sessions and workflow executions.
|
|
28
28
|
*
|
|
29
29
|
* Returns a merged, time-sorted list of the caller's most recent
|
|
30
|
-
* sessions and workflow executions.
|
|
31
|
-
* server-side
|
|
30
|
+
* sessions and workflow executions. On the hosted edition, per-resource
|
|
31
|
+
* authorization filtering is applied server-side (FGA `can_view`
|
|
32
|
+
* enumeration for both kinds — the same permission the per-kind `get`
|
|
33
|
+
* RPCs enforce, so every listed entry is openable by construction). The
|
|
34
|
+
* OSS server does not currently implement this RPC (stigmer#461).
|
|
32
35
|
*
|
|
33
36
|
* @internal
|
|
34
|
-
* Authorization is handled in-handler
|
|
37
|
+
* Authorization is handled in-handler: the FGA id enumeration is the only
|
|
38
|
+
* gate (hence is_skip_authorization); the request's org merely narrows
|
|
39
|
+
* the authorized set.
|
|
35
40
|
*
|
|
36
41
|
* @generated from rpc ai.stigmer.activity.v1.ActivityQueryController.listRecentActivity
|
|
37
42
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../ai/stigmer/activity/v1/query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,0GAA0G;AAC1G,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAAM,WAAW,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,QAAQ,EAAE,gDAAgD;IAC1D,OAAO,EAAE;QACP
|
|
1
|
+
{"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../ai/stigmer/activity/v1/query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,0GAA0G;AAC1G,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAAM,WAAW,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,QAAQ,EAAE,gDAAgD;IAC1D,OAAO,EAAE;QACP;;;;;;;;;;;;;;;;WAgBG;QACH,kBAAkB,EAAE;YAClB,IAAI,EAAE,oBAAoB;YAC1B,CAAC,EAAE,yBAAyB;YAC5B,CAAC,EAAE,0BAA0B;YAC7B,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -25,11 +25,16 @@ export declare const ActivityQueryController: GenService<{
|
|
|
25
25
|
* List recent activity across sessions and workflow executions.
|
|
26
26
|
*
|
|
27
27
|
* Returns a merged, time-sorted list of the caller's most recent
|
|
28
|
-
* sessions and workflow executions.
|
|
29
|
-
* server-side
|
|
28
|
+
* sessions and workflow executions. On the hosted edition, per-resource
|
|
29
|
+
* authorization filtering is applied server-side (FGA `can_view`
|
|
30
|
+
* enumeration for both kinds — the same permission the per-kind `get`
|
|
31
|
+
* RPCs enforce, so every listed entry is openable by construction). The
|
|
32
|
+
* OSS server does not currently implement this RPC (stigmer#461).
|
|
30
33
|
*
|
|
31
34
|
* @internal
|
|
32
|
-
* Authorization is handled in-handler
|
|
35
|
+
* Authorization is handled in-handler: the FGA id enumeration is the only
|
|
36
|
+
* gate (hence is_skip_authorization); the request's org merely narrows
|
|
37
|
+
* the authorized set.
|
|
33
38
|
*
|
|
34
39
|
* @generated from rpc ai.stigmer.activity.v1.ActivityQueryController.listRecentActivity
|
|
35
40
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/activity/v1/query_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,0GAA0G;AAC1G,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,8BAA8B,EAAE,MAAM,YAAY,CAAC;AAC5D,OAAO,EAAE,0CAA0C,EAAE,MAAM,wCAAwC,CAAC;AAEpG;;GAEG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAY,aAAa,CACrE,QAAQ,CAAC,kTAAkT,EAAE,CAAC,8BAA8B,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAE7Y;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/activity/v1/query_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,0GAA0G;AAC1G,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,8BAA8B,EAAE,MAAM,YAAY,CAAC;AAC5D,OAAO,EAAE,0CAA0C,EAAE,MAAM,wCAAwC,CAAC;AAEpG;;GAEG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAY,aAAa,CACrE,QAAQ,CAAC,kTAAkT,EAAE,CAAC,8BAA8B,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAE7Y;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAuB/B,aAAa,CAChB,WAAW,CAAC,iCAAiC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -26,6 +26,9 @@ export declare const AgentIdSchema: GenMessage<AgentId>;
|
|
|
26
26
|
* @internal
|
|
27
27
|
* The handler resolves the default agent globally (by label stigmer.ai/default-agent: "true"
|
|
28
28
|
* with visibility_public), but the org is needed for authorization scoping.
|
|
29
|
+
* Resolution is deliberately NOT scoped to this org: the default agent is a
|
|
30
|
+
* platform-level singleton seeded in the system org and served to callers of
|
|
31
|
+
* every org (see the getDefault rpc docs for the determinism contract).
|
|
29
32
|
*
|
|
30
33
|
* @generated from message ai.stigmer.agentic.agent.v1.GetDefaultAgentRequest
|
|
31
34
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,iHAAiH;AACjH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAY,aAAa,CACvE,QAAQ,CAAC,oNAAoN,EAAE,CAAC,0BAA0B,CAAC,CAAC,CAAC;AAc/P;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAwB,aAAa,CAC7D,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,iHAAiH;AACjH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAY,aAAa,CACvE,QAAQ,CAAC,oNAAoN,EAAE,CAAC,0BAA0B,CAAC,CAAC,CAAC;AAc/P;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAwB,aAAa,CAC7D,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC;AAuBtD;;;GAGG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAuC,aAAa,CAC3F,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -46,6 +46,13 @@ export declare const AgentQueryController: {
|
|
|
46
46
|
* Resolves the agent labeled stigmer.ai/default-agent: "true" with
|
|
47
47
|
* visibility_public. Custom authorization in handler.
|
|
48
48
|
*
|
|
49
|
+
* Resolution is deterministic (stigmer/stigmer#356): only public labeled
|
|
50
|
+
* agents are candidates, and with multiple candidates — a reachable state,
|
|
51
|
+
* since safe label rotation applies the new default before retiring the
|
|
52
|
+
* old — the one with the lowest metadata.id (the incumbent) wins. The
|
|
53
|
+
* default changes only when the incumbent's label is explicitly removed,
|
|
54
|
+
* never as a side effect of another agent gaining the label.
|
|
55
|
+
*
|
|
49
56
|
* @generated from rpc ai.stigmer.agentic.agent.v1.AgentQueryController.getDefault
|
|
50
57
|
*/
|
|
51
58
|
readonly getDefault: {
|
|
@@ -54,6 +54,13 @@ export const AgentQueryController = {
|
|
|
54
54
|
* Resolves the agent labeled stigmer.ai/default-agent: "true" with
|
|
55
55
|
* visibility_public. Custom authorization in handler.
|
|
56
56
|
*
|
|
57
|
+
* Resolution is deterministic (stigmer/stigmer#356): only public labeled
|
|
58
|
+
* agents are candidates, and with multiple candidates — a reachable state,
|
|
59
|
+
* since safe label rotation applies the new default before retiring the
|
|
60
|
+
* old — the one with the lowest metadata.id (the incumbent) wins. The
|
|
61
|
+
* default changes only when the incumbent's label is explicitly removed,
|
|
62
|
+
* never as a side effect of another agent gaining the label.
|
|
63
|
+
*
|
|
57
64
|
* @generated from rpc ai.stigmer.agentic.agent.v1.AgentQueryController.getDefault
|
|
58
65
|
*/
|
|
59
66
|
getDefault: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,oHAAoH;AACpH,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAE5E;;;;GAIG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,QAAQ,EAAE,kDAAkD;IAC5D,OAAO,EAAE;QACP;;;;WAIG;QACH,GAAG,EAAE;YACH,IAAI,EAAE,KAAK;YACX,CAAC,EAAE,OAAO;YACV,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;WASG;QACH,cAAc,EAAE;YACd,IAAI,EAAE,gBAAgB;YACtB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD
|
|
1
|
+
{"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,oHAAoH;AACpH,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAE5E;;;;GAIG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,QAAQ,EAAE,kDAAkD;IAC5D,OAAO,EAAE;QACP;;;;WAIG;QACH,GAAG,EAAE;YACH,IAAI,EAAE,KAAK;YACX,CAAC,EAAE,OAAO;YACV,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;WASG;QACH,cAAc,EAAE;YACd,IAAI,EAAE,gBAAgB;YACtB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;WAqBG;QACH,UAAU,EAAE;YACV,IAAI,EAAE,YAAY;YAClB,CAAC,EAAE,sBAAsB;YACzB,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -50,6 +50,13 @@ export declare const AgentQueryController: GenService<{
|
|
|
50
50
|
* Resolves the agent labeled stigmer.ai/default-agent: "true" with
|
|
51
51
|
* visibility_public. Custom authorization in handler.
|
|
52
52
|
*
|
|
53
|
+
* Resolution is deterministic (stigmer/stigmer#356): only public labeled
|
|
54
|
+
* agents are candidates, and with multiple candidates — a reachable state,
|
|
55
|
+
* since safe label rotation applies the new default before retiring the
|
|
56
|
+
* old — the one with the lowest metadata.id (the incumbent) wins. The
|
|
57
|
+
* default changes only when the incumbent's label is explicitly removed,
|
|
58
|
+
* never as a side effect of another agent gaining the label.
|
|
59
|
+
*
|
|
53
60
|
* @generated from rpc ai.stigmer.agentic.agent.v1.AgentQueryController.getDefault
|
|
54
61
|
*/
|
|
55
62
|
getDefault: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/query_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,oHAAoH;AACpH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,oCAAoC,EAAE,MAAM,aAAa,CAAC;AAEnE,OAAO,EAAE,mCAAmC,EAAE,MAAM,YAAY,CAAC;AAEjE,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAY,aAAa,CAC1E,QAAQ,CAAC,omBAAomB,EAAE,CAAC,oCAAoC,EAAE,mCAAmC,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAE30B;;;;GAIG;AACH,MAAM,CAAC,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/query_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,oHAAoH;AACpH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,oCAAoC,EAAE,MAAM,aAAa,CAAC;AAEnE,OAAO,EAAE,mCAAmC,EAAE,MAAM,YAAY,CAAC;AAEjE,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAY,aAAa,CAC1E,QAAQ,CAAC,omBAAomB,EAAE,CAAC,oCAAoC,EAAE,mCAAmC,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAE30B;;;;GAIG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAqD5B,aAAa,CAChB,WAAW,CAAC,sCAAsC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -165,7 +165,16 @@ export type McpServerUsage = Message<"ai.stigmer.agentic.agent.v1.McpServerUsage
|
|
|
165
165
|
* Only names from discovered_capabilities.tools are valid here.
|
|
166
166
|
* Do NOT include names from discovered_capabilities.resource_templates —
|
|
167
167
|
* resource templates are read-only data endpoints, not callable tools.
|
|
168
|
-
*
|
|
168
|
+
* A name the server does not expose (including a resource template name)
|
|
169
|
+
* is warned and ignored at execution: the runner enforces the INTERSECTION
|
|
170
|
+
* with the server's live toolset, so a stale or mistyped entry narrows the
|
|
171
|
+
* toolset but never widens it or fails the run.
|
|
172
|
+
*
|
|
173
|
+
* Enforcement: the native (deep-agent) harness filters the discovered
|
|
174
|
+
* toolset before it reaches the model; the Cursor harness cannot hide a
|
|
175
|
+
* server's tools (its SDK config has no allow-list field), so its HITL
|
|
176
|
+
* hook permanently denies calls to non-enabled tools instead — the model
|
|
177
|
+
* may still see the tool listed, but every call is refused.
|
|
169
178
|
*
|
|
170
179
|
* @generated from field: repeated string enabled_tools = 2;
|
|
171
180
|
*/
|
|
@@ -174,6 +183,9 @@ export type McpServerUsage = Message<"ai.stigmer.agentic.agent.v1.McpServerUsage
|
|
|
174
183
|
* Override approval requirements for specific tools.
|
|
175
184
|
* Takes precedence over McpServerSpec.pinned_tool_approvals and
|
|
176
185
|
* McpServerStatus.tool_approvals.
|
|
186
|
+
* Scoped to THIS usage's server: an override applies only to tools of
|
|
187
|
+
* the McpServer referenced by mcp_server_ref — a same-named tool on
|
|
188
|
+
* another server is unaffected.
|
|
177
189
|
*
|
|
178
190
|
* @generated from field: repeated ai.stigmer.agentic.agent.v1.ToolApprovalOverride tool_approval_overrides = 3;
|
|
179
191
|
*/
|
|
@@ -259,6 +271,9 @@ export declare const McpAccessSchema: GenMessage<McpAccess>;
|
|
|
259
271
|
* McpServerSpec.pinned_tool_approvals and McpServerStatus.tool_approvals,
|
|
260
272
|
* but can be bypassed at execution time by AgentExecution.auto_approve_all.
|
|
261
273
|
*
|
|
274
|
+
* An override is scoped to the McpServer referenced by its parent usage:
|
|
275
|
+
* it never affects a same-named tool on another server.
|
|
276
|
+
*
|
|
262
277
|
* @internal
|
|
263
278
|
* Policy chain (lowest to highest priority):
|
|
264
279
|
* 1. McpServerStatus.tool_approvals — system-generated defaults
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,mHAAmH;AACnH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,2CA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Aa,CACjE,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AA8DxD;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAyB,aAAa,CAC/D,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AA4DxD;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AAgCxD;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AA+BxD;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAA0B,aAAa,CACjE,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AAoDxD;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
-
import type { ChannelDeliveryStatus } from "./delivery_pb.js";
|
|
2
|
+
import type { ChannelAttemptFailureKind, ChannelDeliveryStatus } from "./delivery_pb.js";
|
|
3
3
|
import type { ChannelOutboundPayload } from "./message_io_pb.js";
|
|
4
4
|
import type { ChannelOutboundOrigin, ChannelReceiptState } from "./outbound_pb.js";
|
|
5
5
|
import type { PageInfo } from "../../../commons/rpc/pagination_pb.js";
|
|
@@ -277,6 +277,42 @@ export type ConversationTimelineItem = Message<"ai.stigmer.agentic.agentchannel.
|
|
|
277
277
|
* @generated from field: ai.stigmer.agentic.agentchannel.v1.ConversationMediaRef media = 13;
|
|
278
278
|
*/
|
|
279
279
|
media?: ConversationMediaRef;
|
|
280
|
+
/**
|
|
281
|
+
* The platform's explanation of a FAILED send attempt, when one was
|
|
282
|
+
* authored for this surface (a provider refusal's mapped copy, or the
|
|
283
|
+
* short fact behind a withdrawn send such as "channel deleted").
|
|
284
|
+
* Empty on non-failed items and on technical failures, whose
|
|
285
|
+
* diagnostics deliberately stay off the thread.
|
|
286
|
+
*
|
|
287
|
+
* @internal
|
|
288
|
+
* cloud#262 (channel-conversations F-25). The attempt-axis sibling of
|
|
289
|
+
* receipt_detail (field 11) with one deliberate doctrine difference:
|
|
290
|
+
* receipt_detail relays PROVIDER-owned vocabulary verbatim, while this
|
|
291
|
+
* field carries PLATFORM-authored thread-safe copy — the guarantee is
|
|
292
|
+
* the write-side classification (the ledgers' attempt_detail is only
|
|
293
|
+
* ever written by the refusal/withdrawal arms; raw exception text
|
|
294
|
+
* lands in last_error, which never rides the wire). A pure relay of
|
|
295
|
+
* the row's own pair, never gated here: the stamp writer owns when
|
|
296
|
+
* the pair is meaningful. Rides both "ob:" and "dl:" items.
|
|
297
|
+
*
|
|
298
|
+
* @generated from field: string attempt_detail = 14;
|
|
299
|
+
*/
|
|
300
|
+
attemptDetail: string;
|
|
301
|
+
/**
|
|
302
|
+
* Why a FAILED send attempt failed, in the platform's classification.
|
|
303
|
+
* Unspecified on non-failed items and on rows written before the
|
|
304
|
+
* classification existed.
|
|
305
|
+
*
|
|
306
|
+
* @internal
|
|
307
|
+
* The structured twin, shipped WITH attempt_detail and never after it
|
|
308
|
+
* (the receipt_error_code discipline): a client that branches on the
|
|
309
|
+
* failure keys on this enum, never the prose. attempt_errored rows
|
|
310
|
+
* carry no detail by construction — clients render their own generic
|
|
311
|
+
* copy for that arm.
|
|
312
|
+
*
|
|
313
|
+
* @generated from field: ai.stigmer.agentic.agentchannel.v1.ChannelAttemptFailureKind attempt_failure_kind = 15;
|
|
314
|
+
*/
|
|
315
|
+
attemptFailureKind: ChannelAttemptFailureKind;
|
|
280
316
|
};
|
|
281
317
|
/**
|
|
282
318
|
* Describes the message ai.stigmer.agentic.agentchannel.v1.ConversationTimelineItem.
|
|
@@ -11,7 +11,7 @@ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
|
11
11
|
/**
|
|
12
12
|
* Describes the file ai/stigmer/agentic/agentchannel/v1/conversation_io.proto.
|
|
13
13
|
*/
|
|
14
|
-
export const file_ai_stigmer_agentic_agentchannel_v1_conversation_io = /*@__PURE__*/ fileDesc("CjhhaS9zdGlnbWVyL2FnZW50aWMvYWdlbnRjaGFubmVsL3YxL2NvbnZlcnNhdGlvbl9pby5wcm90bxIiYWkuc3RpZ21lci5hZ2VudGljLmFnZW50Y2hhbm5lbC52MSL+
|
|
14
|
+
export const file_ai_stigmer_agentic_agentchannel_v1_conversation_io = /*@__PURE__*/ fileDesc("CjhhaS9zdGlnbWVyL2FnZW50aWMvYWdlbnRjaGFubmVsL3YxL2NvbnZlcnNhdGlvbl9pby5wcm90bxIiYWkuc3RpZ21lci5hZ2VudGljLmFnZW50Y2hhbm5lbC52MSL+AwoTQ2hhbm5lbENvbnZlcnNhdGlvbhIYChBhZ2VudF9jaGFubmVsX2lkGAEgASgJEhgKEGNvbnZlcnNhdGlvbl9rZXkYAiABKAkSCwoDb3JnGAMgASgJEkgKB2NvbnRyb2wYBCABKA4yNy5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRjaGFubmVsLnYxLkNvbnZlcnNhdGlvbkNvbnRyb2wSFQoNY29udHJvbGxlZF9ieRgFIAEoCRI2ChJjb250cm9sX2NoYW5nZWRfYXQYBiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEhcKD25lZWRzX2F0dGVudGlvbhgHIAEoCBIYChBhdHRlbnRpb25fcmVhc29uGAggASgJEjgKFGF0dGVudGlvbl9jaGFuZ2VkX2F0GAkgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIUCgxkaXNwbGF5X25hbWUYCiABKAkSPAoYbGFzdF9jdXN0b21lcl9tZXNzYWdlX2F0GAsgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBI0ChBsYXN0X2FjdGl2aXR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25JdGVtQXV0aG9yEigKJGNvbnZlcnNhdGlvbl9pdGVtX2F1dGhvcl91bnNwZWNpZmllZBAAEhMKD2F1dGhvcl9jdXN0b21lchABEhAKDGF1dGhvcl9hZ2VudBACEhMKD2F1dGhvcl90ZWFtbWF0ZRADEhMKD2F1dGhvcl9wbGF0Zm9ybRAEKmkKHUNoYW5uZWxDb252ZXJzYXRpb25MaXN0RmlsdGVyEjAKLGNoYW5uZWxfY29udmVyc2F0aW9uX2xpc3RfZmlsdGVyX3Vuc3BlY2lmaWVkEAASFgoSZmlsdGVyX3dhbnRzX2h1bWFuEAFiBnByb3RvMw", [file_ai_stigmer_agentic_agentchannel_v1_delivery, file_ai_stigmer_agentic_agentchannel_v1_message_io, file_ai_stigmer_agentic_agentchannel_v1_outbound, file_ai_stigmer_commons_rpc_pagination, file_buf_validate_validate, file_google_protobuf_timestamp]);
|
|
15
15
|
/**
|
|
16
16
|
* Describes the message ai.stigmer.agentic.agentchannel.v1.ChannelConversation.
|
|
17
17
|
* Use `create(ChannelConversationSchema)` to create a new message.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversation_io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentchannel/v1/conversation_io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,4IAA4I;AAC5I,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE/E,OAAO,EAAE,gDAAgD,EAAE,MAAM,kBAAkB,CAAC;AAEpF,OAAO,EAAE,kDAAkD,EAAE,MAAM,oBAAoB,CAAC;AAExF,OAAO,EAAE,gDAAgD,EAAE,MAAM,kBAAkB,CAAC;AAEpF,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAExF,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,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AAE,CAAC,CAAC,CAAC"}
|
|
@@ -151,6 +151,35 @@ export type ChannelDelivery = Message<"ai.stigmer.agentic.agentchannel.v1.Channe
|
|
|
151
151
|
* @generated from field: string reply_text = 17;
|
|
152
152
|
*/
|
|
153
153
|
replyText: string;
|
|
154
|
+
/**
|
|
155
|
+
* Why the delivery FAILED, in the platform's classification. Unspecified
|
|
156
|
+
* unless status is failed (and on rows terminal before this field
|
|
157
|
+
* existed).
|
|
158
|
+
*
|
|
159
|
+
* @internal
|
|
160
|
+
* cloud#262 (channel-conversations F-25): the classification that
|
|
161
|
+
* decides whether the failure's explanation may reach the conversation
|
|
162
|
+
* timeline. Written only by markFailed and the delete cascade, never by
|
|
163
|
+
* markRetry — a scheduled retry is not a verdict.
|
|
164
|
+
*
|
|
165
|
+
* @generated from field: ai.stigmer.agentic.agentchannel.v1.ChannelAttemptFailureKind failure_kind = 18;
|
|
166
|
+
*/
|
|
167
|
+
failureKind: ChannelAttemptFailureKind;
|
|
168
|
+
/**
|
|
169
|
+
* The thread-safe explanation of a FAILED delivery, when one was
|
|
170
|
+
* authored for the conversation surface. Empty unless failure_kind is
|
|
171
|
+
* attempt_refused or attempt_withdrawn.
|
|
172
|
+
*
|
|
173
|
+
* @internal
|
|
174
|
+
* cloud#262: PLATFORM-authored copy, unlike the outbound ledger's
|
|
175
|
+
* provider-owned receipt_detail. The write side is the guarantee: only
|
|
176
|
+
* the refusal and withdrawal arms carry copy here, so raw exception
|
|
177
|
+
* text (which stays in last_error, an operator-only fact) can
|
|
178
|
+
* structurally never reach the timeline relay.
|
|
179
|
+
*
|
|
180
|
+
* @generated from field: string attempt_detail = 19;
|
|
181
|
+
*/
|
|
182
|
+
attemptDetail: string;
|
|
154
183
|
};
|
|
155
184
|
/**
|
|
156
185
|
* Describes the message ai.stigmer.agentic.agentchannel.v1.ChannelDelivery.
|
|
@@ -231,7 +260,8 @@ export declare const WhatsAppDeliveryContextSchema: GenMessage<WhatsAppDeliveryC
|
|
|
231
260
|
* @internal
|
|
232
261
|
* pending -> delivering is the atomic claim (single winner across
|
|
233
262
|
* replicas). delivering -> delivered | pending (retry, with backoff via
|
|
234
|
-
* next_attempt_at) | failed (dead-lettered after max attempts
|
|
263
|
+
* next_attempt_at) | failed (dead-lettered after max attempts, or
|
|
264
|
+
* immediately on a known-terminal provider refusal — cloud#263) |
|
|
235
265
|
* suppressed (withheld under human control — channel-conversations
|
|
236
266
|
* DD-005 D-e; terminal, intended behavior, never an alert condition).
|
|
237
267
|
*
|
|
@@ -263,7 +293,9 @@ export declare enum ChannelDeliveryStatus {
|
|
|
263
293
|
*/
|
|
264
294
|
delivered = 3,
|
|
265
295
|
/**
|
|
266
|
-
* Dead-lettered
|
|
296
|
+
* Dead-lettered: attempts were exhausted, or the provider's verdict was
|
|
297
|
+
* known-terminal and retries were skipped (attempts can be 1);
|
|
298
|
+
* last_error records why.
|
|
267
299
|
*
|
|
268
300
|
* @generated from enum value: failed = 4;
|
|
269
301
|
*/
|
|
@@ -287,3 +319,58 @@ export declare enum ChannelDeliveryStatus {
|
|
|
287
319
|
* Describes the enum ai.stigmer.agentic.agentchannel.v1.ChannelDeliveryStatus.
|
|
288
320
|
*/
|
|
289
321
|
export declare const ChannelDeliveryStatusSchema: GenEnum<ChannelDeliveryStatus>;
|
|
322
|
+
/**
|
|
323
|
+
* ChannelAttemptFailureKind classifies WHY a send attempt reached
|
|
324
|
+
* status failed — and with it, whether the failure's stored explanation
|
|
325
|
+
* was authored for the conversation surface (attempt_detail) or is an
|
|
326
|
+
* operator-only diagnostic (last_error).
|
|
327
|
+
*
|
|
328
|
+
* @internal
|
|
329
|
+
* cloud#262 (channel-conversations F-25, the DD-014 D-d deferred copy
|
|
330
|
+
* ruling). Values carry the attempt_ prefix because proto3 enum values
|
|
331
|
+
* are package-scoped — and, as with ChannelReceiptState's receipt_
|
|
332
|
+
* prefix, that is also a feature: the attempt axis and the receipt axis
|
|
333
|
+
* can never be confused on the wire. Shared by ChannelDelivery and
|
|
334
|
+
* ChannelOutboundMessage exactly like ChannelDeliveryStatus (a twin
|
|
335
|
+
* enum would not compile).
|
|
336
|
+
*
|
|
337
|
+
* @generated from enum ai.stigmer.agentic.agentchannel.v1.ChannelAttemptFailureKind
|
|
338
|
+
*/
|
|
339
|
+
export declare enum ChannelAttemptFailureKind {
|
|
340
|
+
/**
|
|
341
|
+
* Default value when no classification is set (non-failed rows, and
|
|
342
|
+
* rows that failed before this classification existed).
|
|
343
|
+
*
|
|
344
|
+
* @generated from enum value: attempt_failure_unspecified = 0;
|
|
345
|
+
*/
|
|
346
|
+
attempt_failure_unspecified = 0,
|
|
347
|
+
/**
|
|
348
|
+
* The provider terminally refused the send; attempt_detail carries
|
|
349
|
+
* the platform's mapped human explanation (e.g. the 24-hour
|
|
350
|
+
* customer-service-window copy for WhatsApp code 131047).
|
|
351
|
+
*
|
|
352
|
+
* @generated from enum value: attempt_refused = 1;
|
|
353
|
+
*/
|
|
354
|
+
attempt_refused = 1,
|
|
355
|
+
/**
|
|
356
|
+
* A technical failure (transport error, unexpected provider error,
|
|
357
|
+
* unresolvable credentials — exhausted retries or unattemptable at
|
|
358
|
+
* the first try). attempt_detail is EMPTY by construction; the raw
|
|
359
|
+
* diagnostic lives in last_error and never reaches the thread.
|
|
360
|
+
*
|
|
361
|
+
* @generated from enum value: attempt_errored = 2;
|
|
362
|
+
*/
|
|
363
|
+
attempt_errored = 2,
|
|
364
|
+
/**
|
|
365
|
+
* The platform withdrew the send for a structural reason;
|
|
366
|
+
* attempt_detail carries the short fact ("channel deleted",
|
|
367
|
+
* "execution no longer exists").
|
|
368
|
+
*
|
|
369
|
+
* @generated from enum value: attempt_withdrawn = 3;
|
|
370
|
+
*/
|
|
371
|
+
attempt_withdrawn = 3
|
|
372
|
+
}
|
|
373
|
+
/**
|
|
374
|
+
* Describes the enum ai.stigmer.agentic.agentchannel.v1.ChannelAttemptFailureKind.
|
|
375
|
+
*/
|
|
376
|
+
export declare const ChannelAttemptFailureKindSchema: GenEnum<ChannelAttemptFailureKind>;
|
|
@@ -6,7 +6,7 @@ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
|
6
6
|
/**
|
|
7
7
|
* Describes the file ai/stigmer/agentic/agentchannel/v1/delivery.proto.
|
|
8
8
|
*/
|
|
9
|
-
export const file_ai_stigmer_agentic_agentchannel_v1_delivery = /*@__PURE__*/ fileDesc("
|
|
9
|
+
export const file_ai_stigmer_agentic_agentchannel_v1_delivery = /*@__PURE__*/ fileDesc("CjFhaS9zdGlnbWVyL2FnZW50aWMvYWdlbnRjaGFubmVsL3YxL2RlbGl2ZXJ5LnByb3RvEiJhaS5zdGlnbWVyLmFnZW50aWMuYWdlbnRjaGFubmVsLnYxIvwFCg9DaGFubmVsRGVsaXZlcnkSEwoLZGVsaXZlcnlfaWQYASABKAkSGAoQYWdlbnRfY2hhbm5lbF9pZBgCIAEoCRILCgNvcmcYAyABKAkSFAoMZXhlY3V0aW9uX2lkGAQgASgJEhIKCnNlc3Npb25faWQYBSABKAkSGAoQY29udmVyc2F0aW9uX2tleRgGIAEoCRIZChFleHRlcm5hbF91c2VyX2tleRgHIAEoCRJJCgZzdGF0dXMYCCABKA4yOS5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRjaGFubmVsLnYxLkNoYW5uZWxEZWxpdmVyeVN0YXR1cxIQCghhdHRlbXB0cxgJIAEoBRISCgpsYXN0X2Vycm9yGAogASgJEhcKD2lkZW1wb3RlbmN5X2tleRgLIAEoCRJJCgVzbGFjaxgMIAEoCzI4LmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGNoYW5uZWwudjEuU2xhY2tEZWxpdmVyeUNvbnRleHRIABJPCgh3aGF0c2FwcBgQIAEoCzI7LmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGNoYW5uZWwudjEuV2hhdHNBcHBEZWxpdmVyeUNvbnRleHRIABIuCgpjcmVhdGVkX2F0GA0gASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIuCgp1cGRhdGVkX2F0GA4gASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIzCg9uZXh0X2F0dGVtcHRfYXQYDyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEhIKCnJlcGx5X3RleHQYESABKAkSUwoMZmFpbHVyZV9raW5kGBIgASgOMj0uYWkuc3RpZ21lci5hZ2VudGljLmFnZW50Y2hhbm5lbC52MS5DaGFubmVsQXR0ZW1wdEZhaWx1cmVLaW5kEhYKDmF0dGVtcHRfZGV0YWlsGBMgASgJQhIKEGRlbGl2ZXJ5X2NvbnRleHQiVQoUU2xhY2tEZWxpdmVyeUNvbnRleHQSEgoKY2hhbm5lbF9pZBgBIAEoCRIRCgl0aHJlYWRfdHMYAiABKAkSFgoOcGxhY2Vob2xkZXJfdHMYAyABKAkiSwoXV2hhdHNBcHBEZWxpdmVyeUNvbnRleHQSFwoPcGhvbmVfbnVtYmVyX2lkGAEgASgJEhcKD3JlY2lwaWVudF93YV9pZBgCIAEoCSqIAQoVQ2hhbm5lbERlbGl2ZXJ5U3RhdHVzEicKI2NoYW5uZWxfZGVsaXZlcnlfc3RhdHVzX3Vuc3BlY2lmaWVkEAASCwoHcGVuZGluZxABEg4KCmRlbGl2ZXJpbmcQAhINCglkZWxpdmVyZWQQAxIKCgZmYWlsZWQQBBIOCgpzdXBwcmVzc2VkEAUqfQoZQ2hhbm5lbEF0dGVtcHRGYWlsdXJlS2luZBIfChthdHRlbXB0X2ZhaWx1cmVfdW5zcGVjaWZpZWQQABITCg9hdHRlbXB0X3JlZnVzZWQQARITCg9hdHRlbXB0X2Vycm9yZWQQAhIVChFhdHRlbXB0X3dpdGhkcmF3bhADYgZwcm90bzM", [file_google_protobuf_timestamp]);
|
|
10
10
|
/**
|
|
11
11
|
* Describes the message ai.stigmer.agentic.agentchannel.v1.ChannelDelivery.
|
|
12
12
|
* Use `create(ChannelDeliverySchema)` to create a new message.
|
|
@@ -28,7 +28,8 @@ export const WhatsAppDeliveryContextSchema = /*@__PURE__*/ messageDesc(file_ai_s
|
|
|
28
28
|
* @internal
|
|
29
29
|
* pending -> delivering is the atomic claim (single winner across
|
|
30
30
|
* replicas). delivering -> delivered | pending (retry, with backoff via
|
|
31
|
-
* next_attempt_at) | failed (dead-lettered after max attempts
|
|
31
|
+
* next_attempt_at) | failed (dead-lettered after max attempts, or
|
|
32
|
+
* immediately on a known-terminal provider refusal — cloud#263) |
|
|
32
33
|
* suppressed (withheld under human control — channel-conversations
|
|
33
34
|
* DD-005 D-e; terminal, intended behavior, never an alert condition).
|
|
34
35
|
*
|
|
@@ -61,7 +62,9 @@ export var ChannelDeliveryStatus;
|
|
|
61
62
|
*/
|
|
62
63
|
ChannelDeliveryStatus[ChannelDeliveryStatus["delivered"] = 3] = "delivered";
|
|
63
64
|
/**
|
|
64
|
-
* Dead-lettered
|
|
65
|
+
* Dead-lettered: attempts were exhausted, or the provider's verdict was
|
|
66
|
+
* known-terminal and retries were skipped (attempts can be 1);
|
|
67
|
+
* last_error records why.
|
|
65
68
|
*
|
|
66
69
|
* @generated from enum value: failed = 4;
|
|
67
70
|
*/
|
|
@@ -85,4 +88,60 @@ export var ChannelDeliveryStatus;
|
|
|
85
88
|
* Describes the enum ai.stigmer.agentic.agentchannel.v1.ChannelDeliveryStatus.
|
|
86
89
|
*/
|
|
87
90
|
export const ChannelDeliveryStatusSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_agentchannel_v1_delivery, 0);
|
|
91
|
+
/**
|
|
92
|
+
* ChannelAttemptFailureKind classifies WHY a send attempt reached
|
|
93
|
+
* status failed — and with it, whether the failure's stored explanation
|
|
94
|
+
* was authored for the conversation surface (attempt_detail) or is an
|
|
95
|
+
* operator-only diagnostic (last_error).
|
|
96
|
+
*
|
|
97
|
+
* @internal
|
|
98
|
+
* cloud#262 (channel-conversations F-25, the DD-014 D-d deferred copy
|
|
99
|
+
* ruling). Values carry the attempt_ prefix because proto3 enum values
|
|
100
|
+
* are package-scoped — and, as with ChannelReceiptState's receipt_
|
|
101
|
+
* prefix, that is also a feature: the attempt axis and the receipt axis
|
|
102
|
+
* can never be confused on the wire. Shared by ChannelDelivery and
|
|
103
|
+
* ChannelOutboundMessage exactly like ChannelDeliveryStatus (a twin
|
|
104
|
+
* enum would not compile).
|
|
105
|
+
*
|
|
106
|
+
* @generated from enum ai.stigmer.agentic.agentchannel.v1.ChannelAttemptFailureKind
|
|
107
|
+
*/
|
|
108
|
+
export var ChannelAttemptFailureKind;
|
|
109
|
+
(function (ChannelAttemptFailureKind) {
|
|
110
|
+
/**
|
|
111
|
+
* Default value when no classification is set (non-failed rows, and
|
|
112
|
+
* rows that failed before this classification existed).
|
|
113
|
+
*
|
|
114
|
+
* @generated from enum value: attempt_failure_unspecified = 0;
|
|
115
|
+
*/
|
|
116
|
+
ChannelAttemptFailureKind[ChannelAttemptFailureKind["attempt_failure_unspecified"] = 0] = "attempt_failure_unspecified";
|
|
117
|
+
/**
|
|
118
|
+
* The provider terminally refused the send; attempt_detail carries
|
|
119
|
+
* the platform's mapped human explanation (e.g. the 24-hour
|
|
120
|
+
* customer-service-window copy for WhatsApp code 131047).
|
|
121
|
+
*
|
|
122
|
+
* @generated from enum value: attempt_refused = 1;
|
|
123
|
+
*/
|
|
124
|
+
ChannelAttemptFailureKind[ChannelAttemptFailureKind["attempt_refused"] = 1] = "attempt_refused";
|
|
125
|
+
/**
|
|
126
|
+
* A technical failure (transport error, unexpected provider error,
|
|
127
|
+
* unresolvable credentials — exhausted retries or unattemptable at
|
|
128
|
+
* the first try). attempt_detail is EMPTY by construction; the raw
|
|
129
|
+
* diagnostic lives in last_error and never reaches the thread.
|
|
130
|
+
*
|
|
131
|
+
* @generated from enum value: attempt_errored = 2;
|
|
132
|
+
*/
|
|
133
|
+
ChannelAttemptFailureKind[ChannelAttemptFailureKind["attempt_errored"] = 2] = "attempt_errored";
|
|
134
|
+
/**
|
|
135
|
+
* The platform withdrew the send for a structural reason;
|
|
136
|
+
* attempt_detail carries the short fact ("channel deleted",
|
|
137
|
+
* "execution no longer exists").
|
|
138
|
+
*
|
|
139
|
+
* @generated from enum value: attempt_withdrawn = 3;
|
|
140
|
+
*/
|
|
141
|
+
ChannelAttemptFailureKind[ChannelAttemptFailureKind["attempt_withdrawn"] = 3] = "attempt_withdrawn";
|
|
142
|
+
})(ChannelAttemptFailureKind || (ChannelAttemptFailureKind = {}));
|
|
143
|
+
/**
|
|
144
|
+
* Describes the enum ai.stigmer.agentic.agentchannel.v1.ChannelAttemptFailureKind.
|
|
145
|
+
*/
|
|
146
|
+
export const ChannelAttemptFailureKindSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_agentchannel_v1_delivery, 1);
|
|
88
147
|
//# sourceMappingURL=delivery_pb.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delivery_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentchannel/v1/delivery_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,qIAAqI;AACrI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE/E,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,gDAAgD,GAAY,aAAa,CACpF,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"delivery_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentchannel/v1/delivery_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,qIAAqI;AACrI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE/E,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,gDAAgD,GAAY,aAAa,CACpF,QAAQ,CAAC,6r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AAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
-
import type { ChannelDeliveryStatus } from "./delivery_pb.js";
|
|
2
|
+
import type { ChannelAttemptFailureKind, ChannelDeliveryStatus } from "./delivery_pb.js";
|
|
3
3
|
import type { ChannelOutboundPayload } from "./message_io_pb.js";
|
|
4
4
|
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
5
5
|
import type { Message } from "@bufbuild/protobuf";
|
|
@@ -202,6 +202,38 @@ export type ChannelOutboundMessage = Message<"ai.stigmer.agentic.agentchannel.v1
|
|
|
202
202
|
* @generated from field: string rendered_body = 20;
|
|
203
203
|
*/
|
|
204
204
|
renderedBody: string;
|
|
205
|
+
/**
|
|
206
|
+
* Why the send FAILED, in the platform's classification. Unspecified
|
|
207
|
+
* unless status is failed (and on rows terminal before this field
|
|
208
|
+
* existed). A third axis fact beside status and the receipt pair.
|
|
209
|
+
*
|
|
210
|
+
* @internal
|
|
211
|
+
* cloud#262 (channel-conversations F-25): the classification that
|
|
212
|
+
* decides whether the failure's explanation may reach the conversation
|
|
213
|
+
* timeline. Written only by markFailed and the delete cascade, never by
|
|
214
|
+
* markRetry — a scheduled retry is not a verdict. The ChannelDelivery
|
|
215
|
+
* twin (its fields 18/19) carries the same contract.
|
|
216
|
+
*
|
|
217
|
+
* @generated from field: ai.stigmer.agentic.agentchannel.v1.ChannelAttemptFailureKind failure_kind = 21;
|
|
218
|
+
*/
|
|
219
|
+
failureKind: ChannelAttemptFailureKind;
|
|
220
|
+
/**
|
|
221
|
+
* The thread-safe explanation of a FAILED send, when one was authored
|
|
222
|
+
* for the conversation surface. Empty unless failure_kind is
|
|
223
|
+
* attempt_refused or attempt_withdrawn.
|
|
224
|
+
*
|
|
225
|
+
* @internal
|
|
226
|
+
* cloud#262: PLATFORM-authored copy — for refusals this is the
|
|
227
|
+
* TERMINAL_REFUSALS mapped explanation (plus the provider's own
|
|
228
|
+
* error_data details when present), NOT the receipt axis's
|
|
229
|
+
* provider-owned vocabulary. The write side is the guarantee: only the
|
|
230
|
+
* refusal and withdrawal arms carry copy here, so raw exception text
|
|
231
|
+
* (which stays in last_error, an operator-only fact) can structurally
|
|
232
|
+
* never reach the timeline relay.
|
|
233
|
+
*
|
|
234
|
+
* @generated from field: string attempt_detail = 22;
|
|
235
|
+
*/
|
|
236
|
+
attemptDetail: string;
|
|
205
237
|
};
|
|
206
238
|
/**
|
|
207
239
|
* Describes the message ai.stigmer.agentic.agentchannel.v1.ChannelOutboundMessage.
|
|
@@ -8,7 +8,7 @@ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
|
8
8
|
/**
|
|
9
9
|
* Describes the file ai/stigmer/agentic/agentchannel/v1/outbound.proto.
|
|
10
10
|
*/
|
|
11
|
-
export const file_ai_stigmer_agentic_agentchannel_v1_outbound = /*@__PURE__*/ fileDesc("
|
|
11
|
+
export const file_ai_stigmer_agentic_agentchannel_v1_outbound = /*@__PURE__*/ fileDesc("CjFhaS9zdGlnbWVyL2FnZW50aWMvYWdlbnRjaGFubmVsL3YxL291dGJvdW5kLnByb3RvEiJhaS5zdGlnbWVyLmFnZW50aWMuYWdlbnRjaGFubmVsLnYxIo8HChZDaGFubmVsT3V0Ym91bmRNZXNzYWdlEhsKE291dGJvdW5kX21lc3NhZ2VfaWQYASABKAkSGAoQYWdlbnRfY2hhbm5lbF9pZBgCIAEoCRILCgNvcmcYAyABKAkSEgoKc2Vzc2lvbl9pZBgEIAEoCRJJCgZvcmlnaW4YBSABKA4yOS5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRjaGFubmVsLnYxLkNoYW5uZWxPdXRib3VuZE9yaWdpbhIRCglyZWNpcGllbnQYBiABKAkSSwoHcGF5bG9hZBgHIAEoCzI6LmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGNoYW5uZWwudjEuQ2hhbm5lbE91dGJvdW5kUGF5bG9hZBJJ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5uZWxfb3V0Ym91bmRfb3JpZ2luX3Vuc3BlY2lmaWVkEAASGAoUY2hhbm5lbF9jb252ZXJzYXRpb24QARIMCghvcGVyYXRvchACEgwKCHBsYXRmb3JtEAMSDwoLcGFydGljaXBhbnQQBGIGcHJvdG8z", [file_ai_stigmer_agentic_agentchannel_v1_delivery, file_ai_stigmer_agentic_agentchannel_v1_message_io, file_google_protobuf_timestamp]);
|
|
12
12
|
/**
|
|
13
13
|
* Describes the message ai.stigmer.agentic.agentchannel.v1.ChannelOutboundMessage.
|
|
14
14
|
* Use `create(ChannelOutboundMessageSchema)` to create a new message.
|