@stigmer/protos 3.1.6 → 3.1.8
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/agentic/agent/v1/command_connect.d.ts +54 -0
- package/ai/stigmer/agentic/agent/v1/command_connect.js +55 -1
- package/ai/stigmer/agentic/agent/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/agent/v1/command_pb.d.ts +53 -1
- package/ai/stigmer/agentic/agent/v1/command_pb.js +1 -1
- package/ai/stigmer/agentic/agent/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/agent/v1/io_pb.d.ts +155 -0
- package/ai/stigmer/agentic/agent/v1/io_pb.js +23 -2
- package/ai/stigmer/agentic/agent/v1/io_pb.js.map +1 -1
- package/ai/stigmer/agentic/agent/v1/query_connect.d.ts +67 -0
- package/ai/stigmer/agentic/agent/v1/query_connect.js +68 -1
- package/ai/stigmer/agentic/agent/v1/query_connect.js.map +1 -1
- package/ai/stigmer/agentic/agent/v1/query_pb.d.ts +66 -1
- package/ai/stigmer/agentic/agent/v1/query_pb.js +1 -1
- package/ai/stigmer/agentic/agent/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/agent/v1/spec_pb.d.ts +182 -1
- package/ai/stigmer/agentic/agent/v1/spec_pb.js +55 -6
- package/ai/stigmer/agentic/agent/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/agent/v1/status_pb.d.ts +25 -0
- package/ai/stigmer/agentic/agent/v1/status_pb.js +1 -1
- package/ai/stigmer/agentic/agent/v1/status_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/command_connect.d.ts +11 -8
- package/ai/stigmer/agentic/agentexecution/v1/command_connect.js +11 -8
- package/ai/stigmer/agentic/agentexecution/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/command_pb.d.ts +11 -8
- package/ai/stigmer/agentic/agentexecution/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/enum_pb.d.ts +82 -11
- package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js +82 -11
- package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/io_pb.d.ts +6 -6
- package/ai/stigmer/agentic/environment/v1/command_connect.d.ts +28 -0
- package/ai/stigmer/agentic/environment/v1/command_connect.js +29 -1
- package/ai/stigmer/agentic/environment/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/environment/v1/command_pb.d.ts +28 -1
- package/ai/stigmer/agentic/environment/v1/command_pb.js +1 -1
- package/ai/stigmer/agentic/environment/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/executioncontext/v1/query_connect.d.ts +22 -12
- package/ai/stigmer/agentic/executioncontext/v1/query_connect.js +22 -12
- package/ai/stigmer/agentic/executioncontext/v1/query_connect.js.map +1 -1
- package/ai/stigmer/agentic/executioncontext/v1/query_pb.d.ts +22 -12
- package/ai/stigmer/agentic/executioncontext/v1/query_pb.js +8 -7
- package/ai/stigmer/agentic/executioncontext/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.d.ts +20 -0
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/command_connect.d.ts +10 -2
- package/ai/stigmer/agentic/session/v1/command_connect.js +10 -2
- package/ai/stigmer/agentic/session/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/command_pb.d.ts +10 -2
- package/ai/stigmer/agentic/session/v1/command_pb.js +1 -1
- package/ai/stigmer/agentic/session/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/io_pb.d.ts +9 -9
- package/ai/stigmer/agentic/session/v1/io_pb.js +4 -4
- package/ai/stigmer/agentic/session/v1/io_pb.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/query_connect.d.ts +6 -5
- package/ai/stigmer/agentic/session/v1/query_connect.js +8 -7
- package/ai/stigmer/agentic/session/v1/query_connect.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/query_pb.d.ts +7 -6
- package/ai/stigmer/agentic/session/v1/query_pb.js +1 -1
- package/ai/stigmer/agentic/session/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/command_connect.d.ts +16 -12
- package/ai/stigmer/agentic/workflow/v1/command_connect.js +16 -12
- package/ai/stigmer/agentic/workflow/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/command_pb.d.ts +16 -12
- package/ai/stigmer/agentic/workflow/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/serverless/validation_pb.d.ts +10 -5
- package/ai/stigmer/agentic/workflow/v1/serverless/validation_pb.js +3 -1
- package/ai/stigmer/agentic/workflow/v1/serverless/validation_pb.js.map +1 -1
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +7 -0
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +8 -1
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
- package/ai/stigmer/commons/apiresource/enum_pb.d.ts +3 -1
- package/ai/stigmer/commons/apiresource/enum_pb.js +3 -1
- package/ai/stigmer/commons/apiresource/enum_pb.js.map +1 -1
- package/ai/stigmer/commons/apiresource/metadata_pb.d.ts +6 -1
- package/ai/stigmer/commons/apiresource/metadata_pb.js.map +1 -1
- package/ai/stigmer/iam/platformclient/v1/token_connect.d.ts +23 -0
- package/ai/stigmer/iam/platformclient/v1/token_connect.js +24 -1
- package/ai/stigmer/iam/platformclient/v1/token_connect.js.map +1 -1
- package/ai/stigmer/iam/platformclient/v1/token_pb.d.ts +137 -0
- package/ai/stigmer/iam/platformclient/v1/token_pb.js +15 -1
- package/ai/stigmer/iam/platformclient/v1/token_pb.js.map +1 -1
- package/ai/stigmer/iam/v1/enum_pb.d.ts +6 -3
- package/ai/stigmer/iam/v1/enum_pb.js +7 -4
- package/ai/stigmer/iam/v1/enum_pb.js.map +1 -1
- package/ai/stigmer/platform/v1/server_info_connect.d.ts +40 -0
- package/ai/stigmer/platform/v1/server_info_connect.js +41 -1
- package/ai/stigmer/platform/v1/server_info_connect.js.map +1 -1
- package/ai/stigmer/platform/v1/server_info_pb.d.ts +123 -0
- package/ai/stigmer/platform/v1/server_info_pb.js +11 -1
- package/ai/stigmer/platform/v1/server_info_pb.js.map +1 -1
- package/ai/stigmer/tenancy/organization/v1/api_pb.d.ts +7 -1
- package/ai/stigmer/tenancy/organization/v1/api_pb.js.map +1 -1
- package/package.json +1 -1
|
@@ -67,6 +67,60 @@ export declare const AgentCommandController: {
|
|
|
67
67
|
readonly O: any;
|
|
68
68
|
readonly kind: any;
|
|
69
69
|
};
|
|
70
|
+
/**
|
|
71
|
+
* Update the sharing configuration of an existing agent.
|
|
72
|
+
*
|
|
73
|
+
* This is a targeted spec update — it only modifies spec.sharing, leaving
|
|
74
|
+
* the rest of the spec, metadata, and status untouched. Use this to enable
|
|
75
|
+
* or revoke anyone-with-link access to the agent's hosted chat without
|
|
76
|
+
* sending the entire agent resource (avoiding read-modify-write races).
|
|
77
|
+
*
|
|
78
|
+
* Sharing is a distinct consent from visibility: updateVisibility governs
|
|
79
|
+
* who can read the blueprint (marketplace), updateSharing governs who can
|
|
80
|
+
* chat with the runtime. Conversations over a shared link bill the owning
|
|
81
|
+
* organization's credits.
|
|
82
|
+
*
|
|
83
|
+
* @internal
|
|
84
|
+
* Authorization: Requires can_edit permission on the agent resource —
|
|
85
|
+
* the same bar as updateVisibility, since both broaden access.
|
|
86
|
+
* No FGA tuples are written on share; enforcement is app-level in the
|
|
87
|
+
* getSharedProfile handler (see AgentSharing in spec.proto).
|
|
88
|
+
*
|
|
89
|
+
* @generated from rpc ai.stigmer.agentic.agent.v1.AgentCommandController.updateSharing
|
|
90
|
+
*/
|
|
91
|
+
readonly updateSharing: {
|
|
92
|
+
readonly name: "updateSharing";
|
|
93
|
+
readonly I: any;
|
|
94
|
+
readonly O: any;
|
|
95
|
+
readonly kind: any;
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* Rotate the share-link token of an existing agent.
|
|
99
|
+
*
|
|
100
|
+
* Generates a fresh server-side token for the agent's hosted chat link.
|
|
101
|
+
* The share URL becomes `/chat/<org>/<slug>?k=<token>` and the previous
|
|
102
|
+
* link (tokened or plain) stops working immediately — including for
|
|
103
|
+
* visitors mid-conversation. Use this to kill a leaked or over-shared
|
|
104
|
+
* public link without disabling sharing or renaming the agent.
|
|
105
|
+
*
|
|
106
|
+
* The token lives in status.share_link_token, so manifest applies never
|
|
107
|
+
* reset it. Rotation affects public-audience shares only; org-audience
|
|
108
|
+
* access is governed by live org membership instead.
|
|
109
|
+
*
|
|
110
|
+
* @internal
|
|
111
|
+
* Authorization: requires can_edit on the agent — the same bar as
|
|
112
|
+
* updateSharing, since both control shared-link access. The handler is
|
|
113
|
+
* the sole writer of status.share_link_token (server-generated entropy;
|
|
114
|
+
* clients never supply the token).
|
|
115
|
+
*
|
|
116
|
+
* @generated from rpc ai.stigmer.agentic.agent.v1.AgentCommandController.rotateShareLink
|
|
117
|
+
*/
|
|
118
|
+
readonly rotateShareLink: {
|
|
119
|
+
readonly name: "rotateShareLink";
|
|
120
|
+
readonly I: any;
|
|
121
|
+
readonly O: any;
|
|
122
|
+
readonly kind: any;
|
|
123
|
+
};
|
|
70
124
|
/**
|
|
71
125
|
* Delete an agent.
|
|
72
126
|
*
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { Agent } from "./api_pbjs";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
import { UpdateVisibilityInput } from "../../../commons/apiresource/io_pbjs";
|
|
8
|
-
import { AgentId } from "./io_pbjs";
|
|
8
|
+
import { AgentId, RotateShareLinkInput, UpdateAgentSharingInput } from "./io_pbjs";
|
|
9
9
|
/**
|
|
10
10
|
* AgentCommandController handles write operations for AI agents.
|
|
11
11
|
*
|
|
@@ -75,6 +75,60 @@ export const AgentCommandController = {
|
|
|
75
75
|
O: Agent,
|
|
76
76
|
kind: MethodKind.Unary,
|
|
77
77
|
},
|
|
78
|
+
/**
|
|
79
|
+
* Update the sharing configuration of an existing agent.
|
|
80
|
+
*
|
|
81
|
+
* This is a targeted spec update — it only modifies spec.sharing, leaving
|
|
82
|
+
* the rest of the spec, metadata, and status untouched. Use this to enable
|
|
83
|
+
* or revoke anyone-with-link access to the agent's hosted chat without
|
|
84
|
+
* sending the entire agent resource (avoiding read-modify-write races).
|
|
85
|
+
*
|
|
86
|
+
* Sharing is a distinct consent from visibility: updateVisibility governs
|
|
87
|
+
* who can read the blueprint (marketplace), updateSharing governs who can
|
|
88
|
+
* chat with the runtime. Conversations over a shared link bill the owning
|
|
89
|
+
* organization's credits.
|
|
90
|
+
*
|
|
91
|
+
* @internal
|
|
92
|
+
* Authorization: Requires can_edit permission on the agent resource —
|
|
93
|
+
* the same bar as updateVisibility, since both broaden access.
|
|
94
|
+
* No FGA tuples are written on share; enforcement is app-level in the
|
|
95
|
+
* getSharedProfile handler (see AgentSharing in spec.proto).
|
|
96
|
+
*
|
|
97
|
+
* @generated from rpc ai.stigmer.agentic.agent.v1.AgentCommandController.updateSharing
|
|
98
|
+
*/
|
|
99
|
+
updateSharing: {
|
|
100
|
+
name: "updateSharing",
|
|
101
|
+
I: UpdateAgentSharingInput,
|
|
102
|
+
O: Agent,
|
|
103
|
+
kind: MethodKind.Unary,
|
|
104
|
+
},
|
|
105
|
+
/**
|
|
106
|
+
* Rotate the share-link token of an existing agent.
|
|
107
|
+
*
|
|
108
|
+
* Generates a fresh server-side token for the agent's hosted chat link.
|
|
109
|
+
* The share URL becomes `/chat/<org>/<slug>?k=<token>` and the previous
|
|
110
|
+
* link (tokened or plain) stops working immediately — including for
|
|
111
|
+
* visitors mid-conversation. Use this to kill a leaked or over-shared
|
|
112
|
+
* public link without disabling sharing or renaming the agent.
|
|
113
|
+
*
|
|
114
|
+
* The token lives in status.share_link_token, so manifest applies never
|
|
115
|
+
* reset it. Rotation affects public-audience shares only; org-audience
|
|
116
|
+
* access is governed by live org membership instead.
|
|
117
|
+
*
|
|
118
|
+
* @internal
|
|
119
|
+
* Authorization: requires can_edit on the agent — the same bar as
|
|
120
|
+
* updateSharing, since both control shared-link access. The handler is
|
|
121
|
+
* the sole writer of status.share_link_token (server-generated entropy;
|
|
122
|
+
* clients never supply the token).
|
|
123
|
+
*
|
|
124
|
+
* @generated from rpc ai.stigmer.agentic.agent.v1.AgentCommandController.rotateShareLink
|
|
125
|
+
*/
|
|
126
|
+
rotateShareLink: {
|
|
127
|
+
name: "rotateShareLink",
|
|
128
|
+
I: RotateShareLinkInput,
|
|
129
|
+
O: Agent,
|
|
130
|
+
kind: MethodKind.Unary,
|
|
131
|
+
},
|
|
78
132
|
/**
|
|
79
133
|
* Delete an agent.
|
|
80
134
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,sHAAsH;AACtH,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,sHAAsH;AACtH,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,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AC,EAAE,OAAO;YACV,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
2
2
|
import type { AgentSchema } from "./api_pb.js";
|
|
3
|
-
import type { AgentIdSchema } from "./io_pb.js";
|
|
3
|
+
import type { AgentIdSchema, RotateShareLinkInputSchema, UpdateAgentSharingInputSchema } from "./io_pb.js";
|
|
4
4
|
import type { UpdateVisibilityInputSchema } from "../../../commons/apiresource/io_pb.js";
|
|
5
5
|
/**
|
|
6
6
|
* Describes the file ai/stigmer/agentic/agent/v1/command.proto.
|
|
@@ -69,6 +69,58 @@ export declare const AgentCommandController: GenService<{
|
|
|
69
69
|
input: typeof UpdateVisibilityInputSchema;
|
|
70
70
|
output: typeof AgentSchema;
|
|
71
71
|
};
|
|
72
|
+
/**
|
|
73
|
+
* Update the sharing configuration of an existing agent.
|
|
74
|
+
*
|
|
75
|
+
* This is a targeted spec update — it only modifies spec.sharing, leaving
|
|
76
|
+
* the rest of the spec, metadata, and status untouched. Use this to enable
|
|
77
|
+
* or revoke anyone-with-link access to the agent's hosted chat without
|
|
78
|
+
* sending the entire agent resource (avoiding read-modify-write races).
|
|
79
|
+
*
|
|
80
|
+
* Sharing is a distinct consent from visibility: updateVisibility governs
|
|
81
|
+
* who can read the blueprint (marketplace), updateSharing governs who can
|
|
82
|
+
* chat with the runtime. Conversations over a shared link bill the owning
|
|
83
|
+
* organization's credits.
|
|
84
|
+
*
|
|
85
|
+
* @internal
|
|
86
|
+
* Authorization: Requires can_edit permission on the agent resource —
|
|
87
|
+
* the same bar as updateVisibility, since both broaden access.
|
|
88
|
+
* No FGA tuples are written on share; enforcement is app-level in the
|
|
89
|
+
* getSharedProfile handler (see AgentSharing in spec.proto).
|
|
90
|
+
*
|
|
91
|
+
* @generated from rpc ai.stigmer.agentic.agent.v1.AgentCommandController.updateSharing
|
|
92
|
+
*/
|
|
93
|
+
updateSharing: {
|
|
94
|
+
methodKind: "unary";
|
|
95
|
+
input: typeof UpdateAgentSharingInputSchema;
|
|
96
|
+
output: typeof AgentSchema;
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* Rotate the share-link token of an existing agent.
|
|
100
|
+
*
|
|
101
|
+
* Generates a fresh server-side token for the agent's hosted chat link.
|
|
102
|
+
* The share URL becomes `/chat/<org>/<slug>?k=<token>` and the previous
|
|
103
|
+
* link (tokened or plain) stops working immediately — including for
|
|
104
|
+
* visitors mid-conversation. Use this to kill a leaked or over-shared
|
|
105
|
+
* public link without disabling sharing or renaming the agent.
|
|
106
|
+
*
|
|
107
|
+
* The token lives in status.share_link_token, so manifest applies never
|
|
108
|
+
* reset it. Rotation affects public-audience shares only; org-audience
|
|
109
|
+
* access is governed by live org membership instead.
|
|
110
|
+
*
|
|
111
|
+
* @internal
|
|
112
|
+
* Authorization: requires can_edit on the agent — the same bar as
|
|
113
|
+
* updateSharing, since both control shared-link access. The handler is
|
|
114
|
+
* the sole writer of status.share_link_token (server-generated entropy;
|
|
115
|
+
* clients never supply the token).
|
|
116
|
+
*
|
|
117
|
+
* @generated from rpc ai.stigmer.agentic.agent.v1.AgentCommandController.rotateShareLink
|
|
118
|
+
*/
|
|
119
|
+
rotateShareLink: {
|
|
120
|
+
methodKind: "unary";
|
|
121
|
+
input: typeof RotateShareLinkInputSchema;
|
|
122
|
+
output: typeof AgentSchema;
|
|
123
|
+
};
|
|
72
124
|
/**
|
|
73
125
|
* Delete an agent.
|
|
74
126
|
*
|
|
@@ -10,7 +10,7 @@ import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc
|
|
|
10
10
|
/**
|
|
11
11
|
* Describes the file ai/stigmer/agentic/agent/v1/command.proto.
|
|
12
12
|
*/
|
|
13
|
-
export const file_ai_stigmer_agentic_agent_v1_command = /*@__PURE__*/ fileDesc("
|
|
13
|
+
export const file_ai_stigmer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5hdXRob3JpemVkIHRvIHVwZGF0ZSBhZ2VudCBzaGFyaW5nEqgBCg9yb3RhdGVTaGFyZUxpbmsSMS5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnQudjEuUm90YXRlU2hhcmVMaW5rSW5wdXQaIi5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnQudjEuQWdlbnQiPsK4GDoIAhAoIgtyZXNvdXJjZV9pZCondW5hdXRob3JpemVkIHRvIHJvdGF0ZSBhZ2VudCBzaGFyZSBsaW5rEoEBCgZkZWxldGUSJC5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnQudjEuQWdlbnRJZBoiLmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudC52MS5BZ2VudCItwrgYKQgDECgiBXZhbHVlKhx1bmF1dGhvcml6ZWQgdG8gZGVsZXRlIGFnZW50GgSg/ysoYgZwcm90bzM", [file_ai_stigmer_agentic_agent_v1_api, file_ai_stigmer_agentic_agent_v1_io, file_ai_stigmer_commons_apiresource_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options]);
|
|
14
14
|
/**
|
|
15
15
|
* AgentCommandController handles write operations for AI agents.
|
|
16
16
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sHAAsH;AACtH,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,wCAAwC,GAAY,aAAa,CAC5E,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sHAAsH;AACtH,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,wCAAwC,GAAY,aAAa,CAC5E,QAAQ,CAAC,6+CAA6+C,EAAE,CAAC,oCAAoC,EAAE,mCAAmC,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEptD;;;;GAIG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAwH9B,aAAa,CAChB,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { AgentSharing } from "./spec_pb.js";
|
|
2
3
|
import type { Message } from "@bufbuild/protobuf";
|
|
3
4
|
/**
|
|
4
5
|
* Describes the file ai/stigmer/agentic/agent/v1/io.proto.
|
|
@@ -20,6 +21,160 @@ export type AgentId = Message<"ai.stigmer.agentic.agent.v1.AgentId"> & {
|
|
|
20
21
|
* Use `create(AgentIdSchema)` to create a new message.
|
|
21
22
|
*/
|
|
22
23
|
export declare const AgentIdSchema: GenMessage<AgentId>;
|
|
24
|
+
/**
|
|
25
|
+
* Input for rotating an agent's share-link token.
|
|
26
|
+
*
|
|
27
|
+
* Used by the rotateShareLink RPC. The server generates the new token —
|
|
28
|
+
* callers never supply one — and the previous link stops working the
|
|
29
|
+
* moment the rotation persists.
|
|
30
|
+
*
|
|
31
|
+
* @generated from message ai.stigmer.agentic.agent.v1.RotateShareLinkInput
|
|
32
|
+
*/
|
|
33
|
+
export type RotateShareLinkInput = Message<"ai.stigmer.agentic.agent.v1.RotateShareLinkInput"> & {
|
|
34
|
+
/**
|
|
35
|
+
* ID of the agent whose share link is being rotated.
|
|
36
|
+
*
|
|
37
|
+
* @generated from field: string resource_id = 1;
|
|
38
|
+
*/
|
|
39
|
+
resourceId: string;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Describes the message ai.stigmer.agentic.agent.v1.RotateShareLinkInput.
|
|
43
|
+
* Use `create(RotateShareLinkInputSchema)` to create a new message.
|
|
44
|
+
*/
|
|
45
|
+
export declare const RotateShareLinkInputSchema: GenMessage<RotateShareLinkInput>;
|
|
46
|
+
/**
|
|
47
|
+
* Input for resolving a shared agent's public profile.
|
|
48
|
+
*
|
|
49
|
+
* Identifies the shared agent by the org and slug from the hosted chat
|
|
50
|
+
* URL, plus the link token when the share URL carries one.
|
|
51
|
+
*
|
|
52
|
+
* @internal
|
|
53
|
+
* Replaces the generic ApiResourceReference on getSharedProfile so the
|
|
54
|
+
* anonymous resolution path can carry the link token. org emptiness is
|
|
55
|
+
* validated in the handler (INVALID_ARGUMENT) rather than the proto to
|
|
56
|
+
* keep the existing error contract.
|
|
57
|
+
*
|
|
58
|
+
* @generated from message ai.stigmer.agentic.agent.v1.GetSharedProfileRequest
|
|
59
|
+
*/
|
|
60
|
+
export type GetSharedProfileRequest = Message<"ai.stigmer.agentic.agent.v1.GetSharedProfileRequest"> & {
|
|
61
|
+
/**
|
|
62
|
+
* Organization slug from the share URL.
|
|
63
|
+
*
|
|
64
|
+
* @generated from field: string org = 1;
|
|
65
|
+
*/
|
|
66
|
+
org: string;
|
|
67
|
+
/**
|
|
68
|
+
* Agent slug from the share URL.
|
|
69
|
+
*
|
|
70
|
+
* @generated from field: string slug = 2;
|
|
71
|
+
*/
|
|
72
|
+
slug: string;
|
|
73
|
+
/**
|
|
74
|
+
* Link token from the share URL's `?k=` parameter.
|
|
75
|
+
*
|
|
76
|
+
* Required (and validated) only when the agent's share link has been
|
|
77
|
+
* locked with rotateShareLink; ignored for plain share links.
|
|
78
|
+
*
|
|
79
|
+
* @generated from field: string link_token = 3;
|
|
80
|
+
*/
|
|
81
|
+
linkToken: string;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Describes the message ai.stigmer.agentic.agent.v1.GetSharedProfileRequest.
|
|
85
|
+
* Use `create(GetSharedProfileRequestSchema)` to create a new message.
|
|
86
|
+
*/
|
|
87
|
+
export declare const GetSharedProfileRequestSchema: GenMessage<GetSharedProfileRequest>;
|
|
88
|
+
/**
|
|
89
|
+
* Input for updating the sharing configuration of an agent.
|
|
90
|
+
*
|
|
91
|
+
* Used by the updateSharing RPC for a targeted update — it only modifies
|
|
92
|
+
* spec.sharing, leaving the rest of the spec, metadata, and status
|
|
93
|
+
* untouched. Use this to enable or revoke anyone-with-link chat access
|
|
94
|
+
* without sending the entire agent resource (avoiding read-modify-write
|
|
95
|
+
* races), mirroring the UpdateVisibilityInput pattern.
|
|
96
|
+
*
|
|
97
|
+
* @generated from message ai.stigmer.agentic.agent.v1.UpdateAgentSharingInput
|
|
98
|
+
*/
|
|
99
|
+
export type UpdateAgentSharingInput = Message<"ai.stigmer.agentic.agent.v1.UpdateAgentSharingInput"> & {
|
|
100
|
+
/**
|
|
101
|
+
* ID of the agent whose sharing configuration is being updated.
|
|
102
|
+
*
|
|
103
|
+
* @generated from field: string resource_id = 1;
|
|
104
|
+
*/
|
|
105
|
+
resourceId: string;
|
|
106
|
+
/**
|
|
107
|
+
* The new sharing configuration for the agent.
|
|
108
|
+
* Must be present; to disable sharing, send sharing with enabled=false
|
|
109
|
+
* rather than omitting the field.
|
|
110
|
+
*
|
|
111
|
+
* @generated from field: ai.stigmer.agentic.agent.v1.AgentSharing sharing = 2;
|
|
112
|
+
*/
|
|
113
|
+
sharing?: AgentSharing;
|
|
114
|
+
};
|
|
115
|
+
/**
|
|
116
|
+
* Describes the message ai.stigmer.agentic.agent.v1.UpdateAgentSharingInput.
|
|
117
|
+
* Use `create(UpdateAgentSharingInputSchema)` to create a new message.
|
|
118
|
+
*/
|
|
119
|
+
export declare const UpdateAgentSharingInputSchema: GenMessage<UpdateAgentSharingInput>;
|
|
120
|
+
/**
|
|
121
|
+
* SharedAgentProfile is the public projection of a shared agent.
|
|
122
|
+
*
|
|
123
|
+
* Returned by the getSharedProfile RPC to anonymous visitors of the hosted
|
|
124
|
+
* chat page. It is deliberately trimmed: the full Agent resource carries the
|
|
125
|
+
* system prompt (spec.instructions), environment declarations, and MCP
|
|
126
|
+
* server wiring — none of which may leak to anyone-with-link callers. The
|
|
127
|
+
* profile carries only what the hosted chat page needs to render a header
|
|
128
|
+
* and start a session.
|
|
129
|
+
*
|
|
130
|
+
* @generated from message ai.stigmer.agentic.agent.v1.SharedAgentProfile
|
|
131
|
+
*/
|
|
132
|
+
export type SharedAgentProfile = Message<"ai.stigmer.agentic.agent.v1.SharedAgentProfile"> & {
|
|
133
|
+
/**
|
|
134
|
+
* Organization that owns the shared agent.
|
|
135
|
+
*
|
|
136
|
+
* @generated from field: string org = 1;
|
|
137
|
+
*/
|
|
138
|
+
org: string;
|
|
139
|
+
/**
|
|
140
|
+
* Slug of the shared agent (unique within the org).
|
|
141
|
+
* Together with org, this is the identity in the hosted chat URL.
|
|
142
|
+
*
|
|
143
|
+
* @generated from field: string slug = 2;
|
|
144
|
+
*/
|
|
145
|
+
slug: string;
|
|
146
|
+
/**
|
|
147
|
+
* Human-readable agent name for the chat page header.
|
|
148
|
+
*
|
|
149
|
+
* @generated from field: string name = 3;
|
|
150
|
+
*/
|
|
151
|
+
name: string;
|
|
152
|
+
/**
|
|
153
|
+
* Human-readable description for the chat page header.
|
|
154
|
+
*
|
|
155
|
+
* @generated from field: string description = 4;
|
|
156
|
+
*/
|
|
157
|
+
description: string;
|
|
158
|
+
/**
|
|
159
|
+
* Icon URL for the chat page header.
|
|
160
|
+
*
|
|
161
|
+
* @generated from field: string icon_url = 5;
|
|
162
|
+
*/
|
|
163
|
+
iconUrl: string;
|
|
164
|
+
/**
|
|
165
|
+
* ID of the agent's default instance, used by the hosted chat page to
|
|
166
|
+
* create sessions. This is an identifier, not a capability — session
|
|
167
|
+
* creation still requires an authorized token.
|
|
168
|
+
*
|
|
169
|
+
* @generated from field: string default_instance_id = 6;
|
|
170
|
+
*/
|
|
171
|
+
defaultInstanceId: string;
|
|
172
|
+
};
|
|
173
|
+
/**
|
|
174
|
+
* Describes the message ai.stigmer.agentic.agent.v1.SharedAgentProfile.
|
|
175
|
+
* Use `create(SharedAgentProfileSchema)` to create a new message.
|
|
176
|
+
*/
|
|
177
|
+
export declare const SharedAgentProfileSchema: GenMessage<SharedAgentProfile>;
|
|
23
178
|
/**
|
|
24
179
|
* GetDefaultAgentRequest is the input for retrieving the platform default agent.
|
|
25
180
|
*
|
|
@@ -2,19 +2,40 @@
|
|
|
2
2
|
// @generated from file ai/stigmer/agentic/agent/v1/io.proto (package ai.stigmer.agentic.agent.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import { file_ai_stigmer_agentic_agent_v1_spec } from "./spec_pb.js";
|
|
5
6
|
import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb.js";
|
|
6
7
|
/**
|
|
7
8
|
* Describes the file ai/stigmer/agentic/agent/v1/io.proto.
|
|
8
9
|
*/
|
|
9
|
-
export const file_ai_stigmer_agentic_agent_v1_io = /*@__PURE__*/ fileDesc("
|
|
10
|
+
export const file_ai_stigmer_agentic_agent_v1_io = /*@__PURE__*/ fileDesc("CiRhaS9zdGlnbWVyL2FnZW50aWMvYWdlbnQvdjEvaW8ucHJvdG8SG2FpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudC52MSIgCgdBZ2VudElkEhUKBXZhbHVlGAEgASgJQga6SAPIAQEiMwoUUm90YXRlU2hhcmVMaW5rSW5wdXQSGwoLcmVzb3VyY2VfaWQYASABKAlCBrpIA8gBASJSChdHZXRTaGFyZWRQcm9maWxlUmVxdWVzdBILCgNvcmcYASABKAkSDAoEc2x1ZxgCIAEoCRIcCgpsaW5rX3Rva2VuGAMgASgJQgi6SAVyAxiAASJ6ChdVcGRhdGVBZ2VudFNoYXJpbmdJbnB1dBIbCgtyZXNvdXJjZV9pZBgBIAEoCUIGukgDyAEBEkIKB3NoYXJpbmcYAiABKAsyKS5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnQudjEuQWdlbnRTaGFyaW5nQga6SAPIAQEigQEKElNoYXJlZEFnZW50UHJvZmlsZRILCgNvcmcYASABKAkSDAoEc2x1ZxgCIAEoCRIMCgRuYW1lGAMgASgJEhMKC2Rlc2NyaXB0aW9uGAQgASgJEhAKCGljb25fdXJsGAUgASgJEhsKE2RlZmF1bHRfaW5zdGFuY2VfaWQYBiABKAkiLgoWR2V0RGVmYXVsdEFnZW50UmVxdWVzdBIUCgNvcmcYASABKAlCB7pIBHICEAFiBnByb3RvMw", [file_ai_stigmer_agentic_agent_v1_spec, file_buf_validate_validate]);
|
|
10
11
|
/**
|
|
11
12
|
* Describes the message ai.stigmer.agentic.agent.v1.AgentId.
|
|
12
13
|
* Use `create(AgentIdSchema)` to create a new message.
|
|
13
14
|
*/
|
|
14
15
|
export const AgentIdSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agent_v1_io, 0);
|
|
16
|
+
/**
|
|
17
|
+
* Describes the message ai.stigmer.agentic.agent.v1.RotateShareLinkInput.
|
|
18
|
+
* Use `create(RotateShareLinkInputSchema)` to create a new message.
|
|
19
|
+
*/
|
|
20
|
+
export const RotateShareLinkInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agent_v1_io, 1);
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message ai.stigmer.agentic.agent.v1.GetSharedProfileRequest.
|
|
23
|
+
* Use `create(GetSharedProfileRequestSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export const GetSharedProfileRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agent_v1_io, 2);
|
|
26
|
+
/**
|
|
27
|
+
* Describes the message ai.stigmer.agentic.agent.v1.UpdateAgentSharingInput.
|
|
28
|
+
* Use `create(UpdateAgentSharingInputSchema)` to create a new message.
|
|
29
|
+
*/
|
|
30
|
+
export const UpdateAgentSharingInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agent_v1_io, 3);
|
|
31
|
+
/**
|
|
32
|
+
* Describes the message ai.stigmer.agentic.agent.v1.SharedAgentProfile.
|
|
33
|
+
* Use `create(SharedAgentProfileSchema)` to create a new message.
|
|
34
|
+
*/
|
|
35
|
+
export const SharedAgentProfileSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agent_v1_io, 4);
|
|
15
36
|
/**
|
|
16
37
|
* Describes the message ai.stigmer.agentic.agent.v1.GetDefaultAgentRequest.
|
|
17
38
|
* Use `create(GetDefaultAgentRequestSchema)` to create a new message.
|
|
18
39
|
*/
|
|
19
|
-
export const GetDefaultAgentRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agent_v1_io,
|
|
40
|
+
export const GetDefaultAgentRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agent_v1_io, 5);
|
|
20
41
|
//# sourceMappingURL=io_pb.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;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AC;AAoBtD;;;GAGG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAuC,aAAa,CAC3F,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -54,5 +54,72 @@ export declare const AgentQueryController: {
|
|
|
54
54
|
readonly O: any;
|
|
55
55
|
readonly kind: any;
|
|
56
56
|
};
|
|
57
|
+
/**
|
|
58
|
+
* Get the public profile of a shared agent by its org/slug reference.
|
|
59
|
+
*
|
|
60
|
+
* This is the resolution path for the hosted chat page: anonymous
|
|
61
|
+
* visitors (no Stigmer account, no token) resolve a shared link to the
|
|
62
|
+
* trimmed SharedAgentProfile — never the full Agent, whose spec carries
|
|
63
|
+
* the system prompt, environment declarations, and MCP wiring.
|
|
64
|
+
*
|
|
65
|
+
* Returns NOT_FOUND when the agent does not exist, is not shared
|
|
66
|
+
* (spec.sharing.enabled is false/unset), is shared with the org
|
|
67
|
+
* audience (spec.sharing.audience is org — anonymous callers must not be
|
|
68
|
+
* able to distinguish an org-internal share from a nonexistent agent; use
|
|
69
|
+
* getSharedProfileForMember instead), or the share link is locked and
|
|
70
|
+
* link_token does not match the agent's current
|
|
71
|
+
* status.share_link_token. The cases are deliberately
|
|
72
|
+
* indistinguishable so an unshared, revoked, or rotated agent URL leaks
|
|
73
|
+
* nothing — unlike getByReference, which returns PERMISSION_DENIED for
|
|
74
|
+
* an existing but unauthorized agent. Returns INVALID_ARGUMENT when org
|
|
75
|
+
* is empty: org+slug is the shared URL's identity, and cross-org slug
|
|
76
|
+
* matching on a public endpoint would enable enumeration.
|
|
77
|
+
*
|
|
78
|
+
* @internal
|
|
79
|
+
* Public by design (no authentication): enforcement is the app-level
|
|
80
|
+
* sharing gate in the handler, not FGA — see AgentSharing in spec.proto
|
|
81
|
+
* for why sharing writes no visibility tuples.
|
|
82
|
+
*
|
|
83
|
+
* @generated from rpc ai.stigmer.agentic.agent.v1.AgentQueryController.getSharedProfile
|
|
84
|
+
*/
|
|
85
|
+
readonly getSharedProfile: {
|
|
86
|
+
readonly name: "getSharedProfile";
|
|
87
|
+
readonly I: any;
|
|
88
|
+
readonly O: any;
|
|
89
|
+
readonly kind: any;
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* Get the profile of a shared agent as a signed-in organization member.
|
|
93
|
+
*
|
|
94
|
+
* This is the resolution path for the hosted chat page when an agent is
|
|
95
|
+
* shared with the org audience (spec.sharing.audience is org): the public
|
|
96
|
+
* getSharedProfile deliberately returns NOT_FOUND for such agents, so a
|
|
97
|
+
* signed-in member resolves the same trimmed SharedAgentProfile through
|
|
98
|
+
* this authenticated RPC instead. Also resolves public-audience shares,
|
|
99
|
+
* so an authenticated caller can use one resolution path for any share.
|
|
100
|
+
*
|
|
101
|
+
* Returns NOT_FOUND when the agent does not exist, is not shared, the
|
|
102
|
+
* caller is not a member of the owning organization, or the share is a
|
|
103
|
+
* public-audience share locked with a link token (this tokenless path
|
|
104
|
+
* must not reveal a killed link's profile) — the cases are deliberately
|
|
105
|
+
* indistinguishable so a share URL leaks nothing to non-members.
|
|
106
|
+
* Returns INVALID_ARGUMENT when org is empty.
|
|
107
|
+
*
|
|
108
|
+
* @internal
|
|
109
|
+
* Custom authorization in handler — requires authentication (not
|
|
110
|
+
* is_public), then an app-level organization#member FGA check for org
|
|
111
|
+
* shares. No standard resource_kind/permission config: the sharing gate
|
|
112
|
+
* is app-level by design (see AgentSharing in spec.proto), and membership
|
|
113
|
+
* is checked live on every call so revoked members lose access
|
|
114
|
+
* immediately.
|
|
115
|
+
*
|
|
116
|
+
* @generated from rpc ai.stigmer.agentic.agent.v1.AgentQueryController.getSharedProfileForMember
|
|
117
|
+
*/
|
|
118
|
+
readonly getSharedProfileForMember: {
|
|
119
|
+
readonly name: "getSharedProfileForMember";
|
|
120
|
+
readonly I: any;
|
|
121
|
+
readonly O: any;
|
|
122
|
+
readonly kind: any;
|
|
123
|
+
};
|
|
57
124
|
};
|
|
58
125
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file ai/stigmer/agentic/agent/v1/query.proto (package ai.stigmer.agentic.agent.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import { AgentId, GetDefaultAgentRequest } from "./io_pbjs";
|
|
5
|
+
import { AgentId, GetDefaultAgentRequest, GetSharedProfileRequest, SharedAgentProfile } from "./io_pbjs";
|
|
6
6
|
import { Agent } from "./api_pbjs";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
import { ApiResourceReference } from "../../../commons/apiresource/io_pbjs";
|
|
@@ -62,6 +62,73 @@ export const AgentQueryController = {
|
|
|
62
62
|
O: Agent,
|
|
63
63
|
kind: MethodKind.Unary,
|
|
64
64
|
},
|
|
65
|
+
/**
|
|
66
|
+
* Get the public profile of a shared agent by its org/slug reference.
|
|
67
|
+
*
|
|
68
|
+
* This is the resolution path for the hosted chat page: anonymous
|
|
69
|
+
* visitors (no Stigmer account, no token) resolve a shared link to the
|
|
70
|
+
* trimmed SharedAgentProfile — never the full Agent, whose spec carries
|
|
71
|
+
* the system prompt, environment declarations, and MCP wiring.
|
|
72
|
+
*
|
|
73
|
+
* Returns NOT_FOUND when the agent does not exist, is not shared
|
|
74
|
+
* (spec.sharing.enabled is false/unset), is shared with the org
|
|
75
|
+
* audience (spec.sharing.audience is org — anonymous callers must not be
|
|
76
|
+
* able to distinguish an org-internal share from a nonexistent agent; use
|
|
77
|
+
* getSharedProfileForMember instead), or the share link is locked and
|
|
78
|
+
* link_token does not match the agent's current
|
|
79
|
+
* status.share_link_token. The cases are deliberately
|
|
80
|
+
* indistinguishable so an unshared, revoked, or rotated agent URL leaks
|
|
81
|
+
* nothing — unlike getByReference, which returns PERMISSION_DENIED for
|
|
82
|
+
* an existing but unauthorized agent. Returns INVALID_ARGUMENT when org
|
|
83
|
+
* is empty: org+slug is the shared URL's identity, and cross-org slug
|
|
84
|
+
* matching on a public endpoint would enable enumeration.
|
|
85
|
+
*
|
|
86
|
+
* @internal
|
|
87
|
+
* Public by design (no authentication): enforcement is the app-level
|
|
88
|
+
* sharing gate in the handler, not FGA — see AgentSharing in spec.proto
|
|
89
|
+
* for why sharing writes no visibility tuples.
|
|
90
|
+
*
|
|
91
|
+
* @generated from rpc ai.stigmer.agentic.agent.v1.AgentQueryController.getSharedProfile
|
|
92
|
+
*/
|
|
93
|
+
getSharedProfile: {
|
|
94
|
+
name: "getSharedProfile",
|
|
95
|
+
I: GetSharedProfileRequest,
|
|
96
|
+
O: SharedAgentProfile,
|
|
97
|
+
kind: MethodKind.Unary,
|
|
98
|
+
},
|
|
99
|
+
/**
|
|
100
|
+
* Get the profile of a shared agent as a signed-in organization member.
|
|
101
|
+
*
|
|
102
|
+
* This is the resolution path for the hosted chat page when an agent is
|
|
103
|
+
* shared with the org audience (spec.sharing.audience is org): the public
|
|
104
|
+
* getSharedProfile deliberately returns NOT_FOUND for such agents, so a
|
|
105
|
+
* signed-in member resolves the same trimmed SharedAgentProfile through
|
|
106
|
+
* this authenticated RPC instead. Also resolves public-audience shares,
|
|
107
|
+
* so an authenticated caller can use one resolution path for any share.
|
|
108
|
+
*
|
|
109
|
+
* Returns NOT_FOUND when the agent does not exist, is not shared, the
|
|
110
|
+
* caller is not a member of the owning organization, or the share is a
|
|
111
|
+
* public-audience share locked with a link token (this tokenless path
|
|
112
|
+
* must not reveal a killed link's profile) — the cases are deliberately
|
|
113
|
+
* indistinguishable so a share URL leaks nothing to non-members.
|
|
114
|
+
* Returns INVALID_ARGUMENT when org is empty.
|
|
115
|
+
*
|
|
116
|
+
* @internal
|
|
117
|
+
* Custom authorization in handler — requires authentication (not
|
|
118
|
+
* is_public), then an app-level organization#member FGA check for org
|
|
119
|
+
* shares. No standard resource_kind/permission config: the sharing gate
|
|
120
|
+
* is app-level by design (see AgentSharing in spec.proto), and membership
|
|
121
|
+
* is checked live on every call so revoked members lose access
|
|
122
|
+
* immediately.
|
|
123
|
+
*
|
|
124
|
+
* @generated from rpc ai.stigmer.agentic.agent.v1.AgentQueryController.getSharedProfileForMember
|
|
125
|
+
*/
|
|
126
|
+
getSharedProfileForMember: {
|
|
127
|
+
name: "getSharedProfileForMember",
|
|
128
|
+
I: ApiResourceReference,
|
|
129
|
+
O: SharedAgentProfile,
|
|
130
|
+
kind: MethodKind.Unary,
|
|
131
|
+
},
|
|
65
132
|
}
|
|
66
133
|
};
|
|
67
134
|
//# sourceMappingURL=query_connect.js.map
|
|
@@ -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;
|
|
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,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AACzG,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;Y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