@stigmer/protos 0.0.36 → 0.0.39

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 (85) hide show
  1. package/ai/stigmer/agentic/agent/v1/io_pb.d.ts +19 -0
  2. package/ai/stigmer/agentic/agent/v1/io_pb.js +6 -1
  3. package/ai/stigmer/agentic/agent/v1/io_pb.js.map +1 -1
  4. package/ai/stigmer/agentic/agent/v1/query_connect.d.ts +21 -0
  5. package/ai/stigmer/agentic/agent/v1/query_connect.js +21 -0
  6. package/ai/stigmer/agentic/agent/v1/query_connect.js.map +1 -1
  7. package/ai/stigmer/agentic/agent/v1/query_pb.d.ts +21 -1
  8. package/ai/stigmer/agentic/agent/v1/query_pb.js +1 -1
  9. package/ai/stigmer/agentic/agent/v1/query_pb.js.map +1 -1
  10. package/ai/stigmer/agentic/agentexecution/v1/artifact_pb.d.ts +17 -0
  11. package/ai/stigmer/agentic/agentexecution/v1/artifact_pb.js +1 -1
  12. package/ai/stigmer/agentic/agentexecution/v1/artifact_pb.js.map +1 -1
  13. package/ai/stigmer/agentic/agentexecution/v1/io_pb.d.ts +178 -0
  14. package/ai/stigmer/agentic/agentexecution/v1/io_pb.js +21 -11
  15. package/ai/stigmer/agentic/agentexecution/v1/io_pb.js.map +1 -1
  16. package/ai/stigmer/agentic/agentexecution/v1/query_connect.d.ts +45 -0
  17. package/ai/stigmer/agentic/agentexecution/v1/query_connect.js +45 -0
  18. package/ai/stigmer/agentic/agentexecution/v1/query_connect.js.map +1 -1
  19. package/ai/stigmer/agentic/agentexecution/v1/query_pb.d.ts +45 -1
  20. package/ai/stigmer/agentic/agentexecution/v1/query_pb.js +1 -1
  21. package/ai/stigmer/agentic/agentexecution/v1/query_pb.js.map +1 -1
  22. package/ai/stigmer/agentic/agentexecution/v1/spec_pb.d.ts +14 -4
  23. package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js.map +1 -1
  24. package/ai/stigmer/agentic/agentinstance/v1/io_pb.d.ts +33 -0
  25. package/ai/stigmer/agentic/agentinstance/v1/io_pb.js +6 -1
  26. package/ai/stigmer/agentic/agentinstance/v1/io_pb.js.map +1 -1
  27. package/ai/stigmer/agentic/agentinstance/v1/query_connect.d.ts +13 -0
  28. package/ai/stigmer/agentic/agentinstance/v1/query_connect.js +13 -0
  29. package/ai/stigmer/agentic/agentinstance/v1/query_connect.js.map +1 -1
  30. package/ai/stigmer/agentic/agentinstance/v1/query_pb.d.ts +13 -1
  31. package/ai/stigmer/agentic/agentinstance/v1/query_pb.js +1 -1
  32. package/ai/stigmer/agentic/agentinstance/v1/query_pb.js.map +1 -1
  33. package/ai/stigmer/agentic/environment/v1/command_connect.d.ts +24 -0
  34. package/ai/stigmer/agentic/environment/v1/command_connect.js +24 -0
  35. package/ai/stigmer/agentic/environment/v1/command_connect.js.map +1 -1
  36. package/ai/stigmer/agentic/environment/v1/command_pb.d.ts +23 -0
  37. package/ai/stigmer/agentic/environment/v1/command_pb.js +2 -1
  38. package/ai/stigmer/agentic/environment/v1/command_pb.js.map +1 -1
  39. package/ai/stigmer/agentic/environment/v1/io_pb.d.ts +140 -0
  40. package/ai/stigmer/agentic/environment/v1/io_pb.js +29 -1
  41. package/ai/stigmer/agentic/environment/v1/io_pb.js.map +1 -1
  42. package/ai/stigmer/agentic/environment/v1/query_connect.d.ts +26 -0
  43. package/ai/stigmer/agentic/environment/v1/query_connect.js +26 -0
  44. package/ai/stigmer/agentic/environment/v1/query_connect.js.map +1 -1
  45. package/ai/stigmer/agentic/environment/v1/query_pb.d.ts +26 -0
  46. package/ai/stigmer/agentic/environment/v1/query_pb.js +3 -1
  47. package/ai/stigmer/agentic/environment/v1/query_pb.js.map +1 -1
  48. package/ai/stigmer/agentic/session/v1/spec_pb.d.ts +36 -3
  49. package/ai/stigmer/agentic/session/v1/spec_pb.js +4 -1
  50. package/ai/stigmer/agentic/session/v1/spec_pb.js.map +1 -1
  51. package/ai/stigmer/agentic/skill/v1/command_connect.d.ts +22 -0
  52. package/ai/stigmer/agentic/skill/v1/command_connect.js +22 -0
  53. package/ai/stigmer/agentic/skill/v1/command_connect.js.map +1 -1
  54. package/ai/stigmer/agentic/skill/v1/command_pb.d.ts +22 -1
  55. package/ai/stigmer/agentic/skill/v1/command_pb.js +1 -1
  56. package/ai/stigmer/agentic/skill/v1/command_pb.js.map +1 -1
  57. package/ai/stigmer/agentic/skill/v1/io_pb.d.ts +66 -0
  58. package/ai/stigmer/agentic/skill/v1/io_pb.js +8 -3
  59. package/ai/stigmer/agentic/skill/v1/io_pb.js.map +1 -1
  60. package/ai/stigmer/agentic/workflowinstance/v1/command_connect.d.ts +4 -4
  61. package/ai/stigmer/agentic/workflowinstance/v1/command_connect.js +4 -4
  62. package/ai/stigmer/agentic/workflowinstance/v1/command_pb.d.ts +4 -4
  63. package/ai/stigmer/agentic/workflowinstance/v1/command_pb.js +1 -1
  64. package/ai/stigmer/agentic/workflowinstance/v1/io_pb.d.ts +1 -1
  65. package/ai/stigmer/agentic/workflowinstance/v1/query_connect.d.ts +1 -1
  66. package/ai/stigmer/agentic/workflowinstance/v1/query_connect.js +1 -1
  67. package/ai/stigmer/agentic/workflowinstance/v1/query_pb.d.ts +1 -1
  68. package/ai/stigmer/agentic/workflowinstance/v1/spec_pb.d.ts +2 -2
  69. package/ai/stigmer/agentic/workflowinstance/v1/spec_pb.js +1 -1
  70. package/ai/stigmer/agentic/workflowinstance/v1/spec_pb.js.map +1 -1
  71. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +1 -1
  72. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
  73. package/ai/stigmer/commons/apiresource/apiresourcekind/authorization_config_pb.d.ts +20 -0
  74. package/ai/stigmer/commons/apiresource/apiresourcekind/authorization_config_pb.js +1 -1
  75. package/ai/stigmer/commons/apiresource/apiresourcekind/authorization_config_pb.js.map +1 -1
  76. package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/iam_permission_pb.d.ts +9 -1
  77. package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/iam_permission_pb.js +9 -1
  78. package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/iam_permission_pb.js.map +1 -1
  79. package/ai/stigmer/platform/github/v1/service_connect.d.ts +58 -0
  80. package/ai/stigmer/platform/github/v1/service_connect.js +64 -0
  81. package/ai/stigmer/platform/github/v1/service_connect.js.map +1 -0
  82. package/ai/stigmer/platform/github/v1/service_pb.d.ts +164 -0
  83. package/ai/stigmer/platform/github/v1/service_pb.js +49 -0
  84. package/ai/stigmer/platform/github/v1/service_pb.js.map +1 -0
  85. package/package.json +1 -1
@@ -28,5 +28,31 @@ export declare const EnvironmentQueryController: {
28
28
  readonly O: any;
29
29
  readonly kind: any;
30
30
  };
31
+ /**
32
+ * Get the unredacted value of a single secret key in an environment.
33
+ * Creator-only: requires can_read_secrets permission (FGA: creator relation).
34
+ * Returns the EnvironmentValue with the decrypted value.
35
+ *
36
+ * @generated from rpc ai.stigmer.agentic.environment.v1.EnvironmentQueryController.getSecretValue
37
+ */
38
+ readonly getSecretValue: {
39
+ readonly name: "getSecretValue";
40
+ readonly I: any;
41
+ readonly O: any;
42
+ readonly kind: any;
43
+ };
44
+ /**
45
+ * List environments with optional label filtering.
46
+ * Authorization is handled in-handler via FGA-filtered queries (cloud)
47
+ * or unrestricted store queries (OSS). Secret values are redacted.
48
+ *
49
+ * @generated from rpc ai.stigmer.agentic.environment.v1.EnvironmentQueryController.list
50
+ */
51
+ readonly list: {
52
+ readonly name: "list";
53
+ readonly I: any;
54
+ readonly O: any;
55
+ readonly kind: any;
56
+ };
31
57
  };
32
58
  };
@@ -33,6 +33,32 @@ export const EnvironmentQueryController = {
33
33
  O: Environment,
34
34
  kind: MethodKind.Unary,
35
35
  },
36
+ /**
37
+ * Get the unredacted value of a single secret key in an environment.
38
+ * Creator-only: requires can_read_secrets permission (FGA: creator relation).
39
+ * Returns the EnvironmentValue with the decrypted value.
40
+ *
41
+ * @generated from rpc ai.stigmer.agentic.environment.v1.EnvironmentQueryController.getSecretValue
42
+ */
43
+ getSecretValue: {
44
+ name: "getSecretValue",
45
+ I: EnvironmentSecretValueInput,
46
+ O: EnvironmentValue,
47
+ kind: MethodKind.Unary,
48
+ },
49
+ /**
50
+ * List environments with optional label filtering.
51
+ * Authorization is handled in-handler via FGA-filtered queries (cloud)
52
+ * or unrestricted store queries (OSS). Secret values are redacted.
53
+ *
54
+ * @generated from rpc ai.stigmer.agentic.environment.v1.EnvironmentQueryController.list
55
+ */
56
+ list: {
57
+ name: "list",
58
+ I: ListEnvironmentsRequest,
59
+ O: EnvironmentList,
60
+ kind: MethodKind.Unary,
61
+ },
36
62
  }
37
63
  };
38
64
  //# sourceMappingURL=query_connect.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/environment/v1/query_connect.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,gIAAgI;AAChI,oBAAoB;AACpB,cAAc;AAId,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;GAIG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,QAAQ,EAAE,8DAA8D;IACxE,OAAO,EAAE;QACP;;;;WAIG;QACH,GAAG,EAAE;YACH,IAAI,EAAE,KAAK;YACX,CAAC,EAAE,aAAa;YAChB,CAAC,EAAE,WAAW;YACd,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;WAIG;QACH,cAAc,EAAE;YACd,IAAI,EAAE,gBAAgB;YACtB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,WAAW;YACd,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
1
+ {"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/environment/v1/query_connect.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,gIAAgI;AAChI,oBAAoB;AACpB,cAAc;AAId,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAIhD;;;;GAIG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,QAAQ,EAAE,8DAA8D;IACxE,OAAO,EAAE;QACP;;;;WAIG;QACH,GAAG,EAAE;YACH,IAAI,EAAE,KAAK;YACX,CAAC,EAAE,aAAa;YAChB,CAAC,EAAE,WAAW;YACd,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;WAIG;QACH,cAAc,EAAE;YACd,IAAI,EAAE,gBAAgB;YACtB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,WAAW;YACd,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;WAMG;QACH,cAAc,EAAE;YACd,IAAI,EAAE,gBAAgB;YACtB,CAAC,EAAE,2BAA2B;YAC9B,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;WAMG;QACH,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM;YACZ,CAAC,EAAE,uBAAuB;YAC1B,CAAC,EAAE,eAAe;YAClB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
@@ -1,5 +1,7 @@
1
1
  import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
2
2
  import type { EnvironmentSchema } from "./api_pb";
3
+ import type { EnvironmentListSchema, EnvironmentSecretValueInputSchema, ListEnvironmentsRequestSchema } from "./io_pb";
4
+ import type { EnvironmentValueSchema } from "./spec_pb";
3
5
  import type { ApiResourceIdSchema, ApiResourceReferenceSchema } from "../../../commons/apiresource/io_pb";
4
6
  /**
5
7
  * Describes the file ai/stigmer/agentic/environment/v1/query.proto.
@@ -31,4 +33,28 @@ export declare const EnvironmentQueryController: GenService<{
31
33
  input: typeof ApiResourceReferenceSchema;
32
34
  output: typeof EnvironmentSchema;
33
35
  };
36
+ /**
37
+ * Get the unredacted value of a single secret key in an environment.
38
+ * Creator-only: requires can_read_secrets permission (FGA: creator relation).
39
+ * Returns the EnvironmentValue with the decrypted value.
40
+ *
41
+ * @generated from rpc ai.stigmer.agentic.environment.v1.EnvironmentQueryController.getSecretValue
42
+ */
43
+ getSecretValue: {
44
+ methodKind: "unary";
45
+ input: typeof EnvironmentSecretValueInputSchema;
46
+ output: typeof EnvironmentValueSchema;
47
+ };
48
+ /**
49
+ * List environments with optional label filtering.
50
+ * Authorization is handled in-handler via FGA-filtered queries (cloud)
51
+ * or unrestricted store queries (OSS). Secret values are redacted.
52
+ *
53
+ * @generated from rpc ai.stigmer.agentic.environment.v1.EnvironmentQueryController.list
54
+ */
55
+ list: {
56
+ methodKind: "unary";
57
+ input: typeof ListEnvironmentsRequestSchema;
58
+ output: typeof EnvironmentListSchema;
59
+ };
34
60
  }>;
@@ -3,13 +3,15 @@
3
3
  /* eslint-disable */
4
4
  import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
5
5
  import { file_ai_stigmer_agentic_environment_v1_api } from "./api_pb";
6
+ import { file_ai_stigmer_agentic_environment_v1_io } from "./io_pb";
7
+ import { file_ai_stigmer_agentic_environment_v1_spec } from "./spec_pb";
6
8
  import { file_ai_stigmer_commons_apiresource_io } from "../../../commons/apiresource/io_pb";
7
9
  import { file_ai_stigmer_commons_apiresource_rpc_service_options } from "../../../commons/apiresource/rpc_service_options_pb";
8
10
  import { file_ai_stigmer_iam_iampolicy_v1_rpcauthorization_method_options } from "../../../iam/iampolicy/v1/rpcauthorization/method_options_pb";
9
11
  /**
10
12
  * Describes the file ai/stigmer/agentic/environment/v1/query.proto.
11
13
  */
12
- export const file_ai_stigmer_agentic_environment_v1_query = /*@__PURE__*/ fileDesc("Ci1haS9zdGlnbWVyL2FnZW50aWMvZW52aXJvbm1lbnQvdjEvcXVlcnkucHJvdG8SIWFpLnN0aWdtZXIuYWdlbnRpYy5lbnZpcm9ubWVudC52MTKzAgoaRW52aXJvbm1lbnRRdWVyeUNvbnRyb2xsZXISlgEKA2dldBItLmFpLnN0aWdtZXIuY29tbW9ucy5hcGlyZXNvdXJjZS5BcGlSZXNvdXJjZUlkGi4uYWkuc3RpZ21lci5hZ2VudGljLmVudmlyb25tZW50LnYxLkVudmlyb25tZW50IjDCuBgsCAMQNSIFdmFsdWUqH3VuYXV0aG9yaXplZCB0byBnZXQgZW52aXJvbm1lbnQSdgoOZ2V0QnlSZWZlcmVuY2USNC5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuQXBpUmVzb3VyY2VSZWZlcmVuY2UaLi5haS5zdGlnbWVyLmFnZW50aWMuZW52aXJvbm1lbnQudjEuRW52aXJvbm1lbnQaBKD/KzViBnByb3RvMw", [file_ai_stigmer_agentic_environment_v1_api, file_ai_stigmer_commons_apiresource_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_iam_iampolicy_v1_rpcauthorization_method_options]);
14
+ export const file_ai_stigmer_agentic_environment_v1_query = /*@__PURE__*/ fileDesc("Ci1haS9zdGlnbWVyL2FnZW50aWMvZW52aXJvbm1lbnQvdjEvcXVlcnkucHJvdG8SIWFpLnN0aWdtZXIuYWdlbnRpYy5lbnZpcm9ubWVudC52MTKGBQoaRW52aXJvbm1lbnRRdWVyeUNvbnRyb2xsZXISlgEKA2dldBItLmFpLnN0aWdtZXIuY29tbW9ucy5hcGlyZXNvdXJjZS5BcGlSZXNvdXJjZUlkGi4uYWkuc3RpZ21lci5hZ2VudGljLmVudmlyb25tZW50LnYxLkVudmlyb25tZW50IjDCuBgsCAMQNSIFdmFsdWUqH3VuYXV0aG9yaXplZCB0byBnZXQgZW52aXJvbm1lbnQSdgoOZ2V0QnlSZWZlcmVuY2USNC5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuQXBpUmVzb3VyY2VSZWZlcmVuY2UaLi5haS5zdGlnbWVyLmFnZW50aWMuZW52aXJvbm1lbnQudjEuRW52aXJvbm1lbnQS0gEKDmdldFNlY3JldFZhbHVlEj4uYWkuc3RpZ21lci5hZ2VudGljLmVudmlyb25tZW50LnYxLkVudmlyb25tZW50U2VjcmV0VmFsdWVJbnB1dBozLmFpLnN0aWdtZXIuYWdlbnRpYy5lbnZpcm9ubWVudC52MS5FbnZpcm9ubWVudFZhbHVlIkvCuBhHCBkQNSIOZW52aXJvbm1lbnRfaWQqMXVuYXV0aG9yaXplZCB0byByZWFkIHNlY3JldCB2YWx1ZXMgKGNyZWF0b3Itb25seSkSfAoEbGlzdBI6LmFpLnN0aWdtZXIuYWdlbnRpYy5lbnZpcm9ubWVudC52MS5MaXN0RW52aXJvbm1lbnRzUmVxdWVzdBoyLmFpLnN0aWdtZXIuYWdlbnRpYy5lbnZpcm9ubWVudC52MS5FbnZpcm9ubWVudExpc3QiBNC4GAEaBKD/KzViBnByb3RvMw", [file_ai_stigmer_agentic_environment_v1_api, file_ai_stigmer_agentic_environment_v1_io, file_ai_stigmer_agentic_environment_v1_spec, file_ai_stigmer_commons_apiresource_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_iam_iampolicy_v1_rpcauthorization_method_options]);
13
15
  /**
14
16
  * EnvironmentQueryController provides read operations for Environment resources.
15
17
  *
@@ -1 +1 @@
1
- {"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/environment/v1/query_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,gIAAgI;AAChI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,0CAA0C,EAAE,MAAM,UAAU,CAAC;AAEtE,OAAO,EAAE,sCAAsC,EAAE,MAAM,oCAAoC,CAAC;AAC5F,OAAO,EAAE,uDAAuD,EAAE,MAAM,qDAAqD,CAAC;AAC9H,OAAO,EAAE,gEAAgE,EAAE,MAAM,8DAA8D,CAAC;AAEhJ;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAY,aAAa,CAChF,QAAQ,CAAC,whBAAwhB,EAAE,CAAC,0CAA0C,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,gEAAgE,CAAC,CAAC,CAAC;AAEtvB;;;;GAIG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAqBlC,aAAa,CAChB,WAAW,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/environment/v1/query_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,gIAAgI;AAChI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,0CAA0C,EAAE,MAAM,UAAU,CAAC;AAEtE,OAAO,EAAE,yCAAyC,EAAE,MAAM,SAAS,CAAC;AAEpE,OAAO,EAAE,2CAA2C,EAAE,MAAM,WAAW,CAAC;AAExE,OAAO,EAAE,sCAAsC,EAAE,MAAM,oCAAoC,CAAC;AAC5F,OAAO,EAAE,uDAAuD,EAAE,MAAM,qDAAqD,CAAC;AAC9H,OAAO,EAAE,gEAAgE,EAAE,MAAM,8DAA8D,CAAC;AAEhJ;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAY,aAAa,CAChF,QAAQ,CAAC,49BAA49B,EAAE,CAAC,0CAA0C,EAAE,yCAAyC,EAAE,2CAA2C,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,gEAAgE,CAAC,CAAC,CAAC;AAElxC;;;;GAIG;AACH,MAAM,CAAC,MAAM,0BAA0B,GA6ClC,aAAa,CAChB,WAAW,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAC"}
@@ -1,5 +1,7 @@
1
1
  import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
+ import type { McpServerUsage } from "../../agent/v1/spec_pb";
2
3
  import type { WorkspaceEntry } from "./workspace_pb";
4
+ import type { ApiResourceReference } from "../../../commons/apiresource/io_pb";
3
5
  import type { Message } from "@bufbuild/protobuf";
4
6
  /**
5
7
  * Describes the file ai/stigmer/agentic/session/v1/spec.proto.
@@ -13,8 +15,12 @@ export declare const file_ai_stigmer_agentic_session_v1_spec: GenFile;
13
15
  */
14
16
  export type SessionSpec = Message<"ai.stigmer.agentic.session.v1.SessionSpec"> & {
15
17
  /**
16
- * ID of the AgentInstance this session runs against (required).
17
- * The instance contains all configuration and secrets needed for execution.
18
+ * ID of the AgentInstance this session runs against.
19
+ *
20
+ * When provided, the session uses this specific agent instance.
21
+ * When empty, the backend resolves the platform default agent
22
+ * (labeled stigmer.ai/default-agent: "true" with visibility_public)
23
+ * and auto-creates a default instance if needed.
18
24
  *
19
25
  * @generated from field: string agent_instance_id = 1;
20
26
  */
@@ -55,9 +61,36 @@ export type SessionSpec = Message<"ai.stigmer.agentic.session.v1.SessionSpec"> &
55
61
  * When empty, the session uses an empty workspace directory
56
62
  * (existing default behavior, no provisioning step).
57
63
  *
58
- * @generated from field: repeated ai.stigmer.agentic.session.v1.WorkspaceEntry workspace_entries = 7;
64
+ * @generated from field: repeated ai.stigmer.agentic.session.v1.WorkspaceEntry workspace_entries = 6;
59
65
  */
60
66
  workspaceEntries: WorkspaceEntry[];
67
+ /**
68
+ * MCP servers to make available in this session (merged with agent's at execution time).
69
+ *
70
+ * Enables users to augment the agent's tool set for a specific conversation
71
+ * without modifying the agent blueprint. Each usage references an McpServer
72
+ * resource; the agent runner merges these with the agent's mcp_server_usages
73
+ * when constructing the execution graph.
74
+ *
75
+ * Merge semantics: session-level usages are union'd with agent-level usages.
76
+ * If both reference the same MCP server slug, the session-level entry takes
77
+ * precedence (enables per-session tool restriction or expansion).
78
+ *
79
+ * @generated from field: repeated ai.stigmer.agentic.agent.v1.McpServerUsage mcp_server_usages = 7;
80
+ */
81
+ mcpServerUsages: McpServerUsage[];
82
+ /**
83
+ * Skills to inject into this session's context (merged with agent's at execution time).
84
+ *
85
+ * Enables users to provide domain-specific knowledge for a specific conversation
86
+ * without modifying the agent blueprint. Each reference points to a Skill resource
87
+ * whose content is injected into the agent's context alongside agent-level skills.
88
+ *
89
+ * Merge semantics: union'd with agent-level skill_refs, deduplicated by slug.
90
+ *
91
+ * @generated from field: repeated ai.stigmer.commons.apiresource.ApiResourceReference skill_refs = 8;
92
+ */
93
+ skillRefs: ApiResourceReference[];
61
94
  };
62
95
  /**
63
96
  * Describes the message ai.stigmer.agentic.session.v1.SessionSpec.
@@ -2,12 +2,15 @@
2
2
  // @generated from file ai/stigmer/agentic/session/v1/spec.proto (package ai.stigmer.agentic.session.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 "../../agent/v1/spec_pb";
5
6
  import { file_ai_stigmer_agentic_session_v1_workspace } from "./workspace_pb";
7
+ import { file_ai_stigmer_commons_apiresource_field_options } from "../../../commons/apiresource/field_options_pb";
8
+ import { file_ai_stigmer_commons_apiresource_io } from "../../../commons/apiresource/io_pb";
6
9
  import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb";
7
10
  /**
8
11
  * Describes the file ai/stigmer/agentic/session/v1/spec.proto.
9
12
  */
10
- export const file_ai_stigmer_agentic_session_v1_spec = /*@__PURE__*/ fileDesc("CihhaS9zdGlnbWVyL2FnZW50aWMvc2Vzc2lvbi92MS9zcGVjLnByb3RvEh1haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MSLHAgoLU2Vzc2lvblNwZWMSIQoRYWdlbnRfaW5zdGFuY2VfaWQYASABKAlCBrpIA8gBARIPCgdzdWJqZWN0GAIgASgJEhEKCXRocmVhZF9pZBgDIAEoCRISCgpzYW5kYm94X2lkGAQgASgJEkoKCG1ldGFkYXRhGAUgAygLMjguYWkuc3RpZ21lci5hZ2VudGljLnNlc3Npb24udjEuU2Vzc2lvblNwZWMuTWV0YWRhdGFFbnRyeRJIChF3b3Jrc3BhY2VfZW50cmllcxgHIAMoCzItLmFpLnN0aWdtZXIuYWdlbnRpYy5zZXNzaW9uLnYxLldvcmtzcGFjZUVudHJ5Gi8KDU1ldGFkYXRhRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4AUoECAYQB1IQd29ya3NwYWNlX3NvdXJjZWIGcHJvdG8z", [file_ai_stigmer_agentic_session_v1_workspace, file_buf_validate_validate]);
13
+ export const file_ai_stigmer_agentic_session_v1_spec = /*@__PURE__*/ fileDesc("CihhaS9zdGlnbWVyL2FnZW50aWMvc2Vzc2lvbi92MS9zcGVjLnByb3RvEh1haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MSK+BQoLU2Vzc2lvblNwZWMSGQoRYWdlbnRfaW5zdGFuY2VfaWQYASABKAkSDwoHc3ViamVjdBgCIAEoCRIRCgl0aHJlYWRfaWQYAyABKAkSEgoKc2FuZGJveF9pZBgEIAEoCRJKCghtZXRhZGF0YRgFIAMoCzI4LmFpLnN0aWdtZXIuYWdlbnRpYy5zZXNzaW9uLnYxLlNlc3Npb25TcGVjLk1ldGFkYXRhRW50cnkSSAoRd29ya3NwYWNlX2VudHJpZXMYBiADKAsyLS5haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MS5Xb3Jrc3BhY2VFbnRyeRLZAQoRbWNwX3NlcnZlcl91c2FnZXMYByADKAsyKy5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnQudjEuTWNwU2VydmVyVXNhZ2VCkAG6SIwBkgGIASKFAboBgQEKHnNlc3Npb25fbWNwX3NlcnZlcl91c2FnZXMua2luZBI/bWNwX3NlcnZlcl91c2FnZXMgbXVzdCByZWZlcmVuY2UgcmVzb3VyY2VzIHdpdGgga2luZD1tY3Bfc2VydmVyGh50aGlzLm1jcF9zZXJ2ZXJfcmVmLmtpbmQgPT0gNDQSuAEKCnNraWxsX3JlZnMYCCADKAsyNC5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuQXBpUmVzb3VyY2VSZWZlcmVuY2VCbrpIZ5IBZCJiugFfChdzZXNzaW9uX3NraWxsX3JlZnMua2luZBIzc2tpbGxfcmVmcyBtdXN0IHJlZmVyZW5jZSByZXNvdXJjZXMgd2l0aCBraW5kPXNraWxsGg90aGlzLmtpbmQgPT0gNDPghSwrGi8KDU1ldGFkYXRhRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4AWIGcHJvdG8z", [file_ai_stigmer_agentic_agent_v1_spec, file_ai_stigmer_agentic_session_v1_workspace, file_ai_stigmer_commons_apiresource_field_options, file_ai_stigmer_commons_apiresource_io, file_buf_validate_validate]);
11
14
  /**
12
15
  * Describes the message ai.stigmer.agentic.session.v1.SessionSpec.
13
16
  * Use `create(SessionSpecSchema)` to create a new message.
@@ -1 +1 @@
1
- {"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,uHAAuH;AACvH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,4CAA4C,EAAE,MAAM,gBAAgB,CAAC;AAC9E,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAY,aAAa,CAC3E,QAAQ,CAAC,siBAAsiB,EAAE,CAAC,4CAA4C,EAAE,0BAA0B,CAAC,CAAC,CAAC;AA4D/nB;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA4B,aAAa,CACrE,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,uHAAuH;AACvH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,qCAAqC,EAAE,MAAM,wBAAwB,CAAC;AAE/E,OAAO,EAAE,4CAA4C,EAAE,MAAM,gBAAgB,CAAC;AAC9E,OAAO,EAAE,iDAAiD,EAAE,MAAM,+CAA+C,CAAC;AAElH,OAAO,EAAE,sCAAsC,EAAE,MAAM,oCAAoC,CAAC;AAC5F,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAY,aAAa,CAC3E,QAAQ,CAAC,0hCAA0hC,EAAE,CAAC,qCAAqC,EAAE,4CAA4C,EAAE,iDAAiD,EAAE,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AA6FrvC;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA4B,aAAa,CACrE,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC"}
@@ -34,6 +34,28 @@ export declare const SkillCommandController: {
34
34
  readonly O: any;
35
35
  readonly kind: any;
36
36
  };
37
+ /**
38
+ * Push a skill directly from an execution artifact already in storage.
39
+ *
40
+ * This is the server-side equivalent of push() — instead of receiving
41
+ * ZIP bytes from the client, it reads an existing directory artifact
42
+ * (produced by an agent execution) from artifact storage and pushes
43
+ * it as a skill. This avoids downloading the ZIP to the browser and
44
+ * re-uploading it, and eliminates CORS concerns for SDK consumers.
45
+ *
46
+ * The caller must have can_view on the referenced execution AND
47
+ * can_create_skill in the target organization.
48
+ *
49
+ * Returns: The created or updated Skill resource
50
+ *
51
+ * @generated from rpc ai.stigmer.agentic.skill.v1.SkillCommandController.pushFromExecutionArtifact
52
+ */
53
+ readonly pushFromExecutionArtifact: {
54
+ readonly name: "pushFromExecutionArtifact";
55
+ readonly I: any;
56
+ readonly O: any;
57
+ readonly kind: any;
58
+ };
37
59
  /**
38
60
  * Delete a skill and all its versions.
39
61
  * This removes the skill from the main collection but preserves audit history.
@@ -39,6 +39,28 @@ export const SkillCommandController = {
39
39
  O: Skill,
40
40
  kind: MethodKind.Unary,
41
41
  },
42
+ /**
43
+ * Push a skill directly from an execution artifact already in storage.
44
+ *
45
+ * This is the server-side equivalent of push() — instead of receiving
46
+ * ZIP bytes from the client, it reads an existing directory artifact
47
+ * (produced by an agent execution) from artifact storage and pushes
48
+ * it as a skill. This avoids downloading the ZIP to the browser and
49
+ * re-uploading it, and eliminates CORS concerns for SDK consumers.
50
+ *
51
+ * The caller must have can_view on the referenced execution AND
52
+ * can_create_skill in the target organization.
53
+ *
54
+ * Returns: The created or updated Skill resource
55
+ *
56
+ * @generated from rpc ai.stigmer.agentic.skill.v1.SkillCommandController.pushFromExecutionArtifact
57
+ */
58
+ pushFromExecutionArtifact: {
59
+ name: "pushFromExecutionArtifact",
60
+ I: PushSkillFromExecutionArtifactRequest,
61
+ O: Skill,
62
+ kind: MethodKind.Unary,
63
+ },
42
64
  /**
43
65
  * Delete a skill and all its versions.
44
66
  * This removes the skill from the main collection but preserves audit history.
@@ -1 +1 @@
1
- {"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/skill/v1/command_connect.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,sHAAsH;AACtH,oBAAoB;AACpB,cAAc;AAId,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;GAIG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,QAAQ,EAAE,oDAAoD;IAC9D,OAAO,EAAE;QACP;;;;;;;;;;;;;;;;;;;;;WAqBG;QACH,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM;YACZ,CAAC,EAAE,gBAAgB;YACnB,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;WAKG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,OAAO;YACV,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
1
+ {"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/skill/v1/command_connect.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,sHAAsH;AACtH,oBAAoB;AACpB,cAAc;AAId,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;GAIG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,QAAQ,EAAE,oDAAoD;IAC9D,OAAO,EAAE;QACP;;;;;;;;;;;;;;;;;;;;;WAqBG;QACH,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM;YACZ,CAAC,EAAE,gBAAgB;YACnB,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;WAeG;QACH,yBAAyB,EAAE;YACzB,IAAI,EAAE,2BAA2B;YACjC,CAAC,EAAE,qCAAqC;YACxC,CAAC,EAAE,KAAK;YACR,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;WAKG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,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 { SkillSchema } from "./api_pb";
3
- import type { PushSkillRequestSchema, SkillIdSchema } from "./io_pb";
3
+ import type { PushSkillFromExecutionArtifactRequestSchema, PushSkillRequestSchema, SkillIdSchema } from "./io_pb";
4
4
  /**
5
5
  * Describes the file ai/stigmer/agentic/skill/v1/command.proto.
6
6
  */
@@ -38,6 +38,27 @@ export declare const SkillCommandController: GenService<{
38
38
  input: typeof PushSkillRequestSchema;
39
39
  output: typeof SkillSchema;
40
40
  };
41
+ /**
42
+ * Push a skill directly from an execution artifact already in storage.
43
+ *
44
+ * This is the server-side equivalent of push() — instead of receiving
45
+ * ZIP bytes from the client, it reads an existing directory artifact
46
+ * (produced by an agent execution) from artifact storage and pushes
47
+ * it as a skill. This avoids downloading the ZIP to the browser and
48
+ * re-uploading it, and eliminates CORS concerns for SDK consumers.
49
+ *
50
+ * The caller must have can_view on the referenced execution AND
51
+ * can_create_skill in the target organization.
52
+ *
53
+ * Returns: The created or updated Skill resource
54
+ *
55
+ * @generated from rpc ai.stigmer.agentic.skill.v1.SkillCommandController.pushFromExecutionArtifact
56
+ */
57
+ pushFromExecutionArtifact: {
58
+ methodKind: "unary";
59
+ input: typeof PushSkillFromExecutionArtifactRequestSchema;
60
+ output: typeof SkillSchema;
61
+ };
41
62
  /**
42
63
  * Delete a skill and all its versions.
43
64
  * This removes the skill from the main collection but preserves audit history.
@@ -9,7 +9,7 @@ import { file_ai_stigmer_iam_iampolicy_v1_rpcauthorization_method_options } from
9
9
  /**
10
10
  * Describes the file ai/stigmer/agentic/skill/v1/command.proto.
11
11
  */
12
- export const file_ai_stigmer_agentic_skill_v1_command = /*@__PURE__*/ fileDesc("CilhaS9zdGlnbWVyL2FnZW50aWMvc2tpbGwvdjEvY29tbWFuZC5wcm90bxIbYWkuc3RpZ21lci5hZ2VudGljLnNraWxsLnYxMr4CChZTa2lsbENvbW1hbmRDb250cm9sbGVyEpkBCgRwdXNoEi0uYWkuc3RpZ21lci5hZ2VudGljLnNraWxsLnYxLlB1c2hTa2lsbFJlcXVlc3QaIi5haS5zdGlnbWVyLmFnZW50aWMuc2tpbGwudjEuU2tpbGwiPsK4GDoIFRAeIgNvcmcqL3VuYXV0aG9yaXplZCB0byBwdXNoIHNraWxsIGluIHRoaXMgb3JnYW5pemF0aW9uEoEBCgZkZWxldGUSJC5haS5zdGlnbWVyLmFnZW50aWMuc2tpbGwudjEuU2tpbGxJZBoiLmFpLnN0aWdtZXIuYWdlbnRpYy5za2lsbC52MS5Ta2lsbCItwrgYKQgCECsiBXZhbHVlKhx1bmF1dGhvcml6ZWQgdG8gZGVsZXRlIHNraWxsGgSg/ysrYgZwcm90bzM", [file_ai_stigmer_agentic_skill_v1_api, file_ai_stigmer_agentic_skill_v1_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_iam_iampolicy_v1_rpcauthorization_method_options]);
12
+ export const file_ai_stigmer_agentic_skill_v1_command = /*@__PURE__*/ fileDesc("CilhaS9zdGlnbWVyL2FnZW50aWMvc2tpbGwvdjEvY29tbWFuZC5wcm90bxIbYWkuc3RpZ21lci5hZ2VudGljLnNraWxsLnYxMoQEChZTa2lsbENvbW1hbmRDb250cm9sbGVyEpkBCgRwdXNoEi0uYWkuc3RpZ21lci5hZ2VudGljLnNraWxsLnYxLlB1c2hTa2lsbFJlcXVlc3QaIi5haS5zdGlnbWVyLmFnZW50aWMuc2tpbGwudjEuU2tpbGwiPsK4GDoIFRAeIgNvcmcqL3VuYXV0aG9yaXplZCB0byBwdXNoIHNraWxsIGluIHRoaXMgb3JnYW5pemF0aW9uEsMBChlwdXNoRnJvbUV4ZWN1dGlvbkFydGlmYWN0EkIuYWkuc3RpZ21lci5hZ2VudGljLnNraWxsLnYxLlB1c2hTa2lsbEZyb21FeGVjdXRpb25BcnRpZmFjdFJlcXVlc3QaIi5haS5zdGlnbWVyLmFnZW50aWMuc2tpbGwudjEuU2tpbGwiPsK4GDoIFRAeIgNvcmcqL3VuYXV0aG9yaXplZCB0byBwdXNoIHNraWxsIGluIHRoaXMgb3JnYW5pemF0aW9uEoEBCgZkZWxldGUSJC5haS5zdGlnbWVyLmFnZW50aWMuc2tpbGwudjEuU2tpbGxJZBoiLmFpLnN0aWdtZXIuYWdlbnRpYy5za2lsbC52MS5Ta2lsbCItwrgYKQgCECsiBXZhbHVlKhx1bmF1dGhvcml6ZWQgdG8gZGVsZXRlIHNraWxsGgSg/ysrYgZwcm90bzM", [file_ai_stigmer_agentic_skill_v1_api, file_ai_stigmer_agentic_skill_v1_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_iam_iampolicy_v1_rpcauthorization_method_options]);
13
13
  /**
14
14
  * SkillCommandController handles write operations for skills.
15
15
  *
@@ -1 +1 @@
1
- {"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/skill/v1/command_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,sHAAsH;AACtH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,oCAAoC,EAAE,MAAM,UAAU,CAAC;AAEhE,OAAO,EAAE,mCAAmC,EAAE,MAAM,SAAS,CAAC;AAC9D,OAAO,EAAE,uDAAuD,EAAE,MAAM,qDAAqD,CAAC;AAC9H,OAAO,EAAE,gEAAgE,EAAE,MAAM,8DAA8D,CAAC;AAEhJ;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAY,aAAa,CAC5E,QAAQ,CAAC,yhBAAyhB,EAAE,CAAC,oCAAoC,EAAE,mCAAmC,EAAE,uDAAuD,EAAE,gEAAgE,CAAC,CAAC,CAAC;AAE9uB;;;;GAIG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAuC9B,aAAa,CAChB,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/skill/v1/command_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,sHAAsH;AACtH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,oCAAoC,EAAE,MAAM,UAAU,CAAC;AAEhE,OAAO,EAAE,mCAAmC,EAAE,MAAM,SAAS,CAAC;AAC9D,OAAO,EAAE,uDAAuD,EAAE,MAAM,qDAAqD,CAAC;AAC9H,OAAO,EAAE,gEAAgE,EAAE,MAAM,8DAA8D,CAAC;AAEhJ;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAY,aAAa,CAC5E,QAAQ,CAAC,iyBAAiyB,EAAE,CAAC,oCAAoC,EAAE,mCAAmC,EAAE,uDAAuD,EAAE,gEAAgE,CAAC,CAAC,CAAC;AAEt/B;;;;GAIG;AACH,MAAM,CAAC,MAAM,sBAAsB,GA4D9B,aAAa,CAChB,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC"}
@@ -78,6 +78,72 @@ export type PushSkillRequest = Message<"ai.stigmer.agentic.skill.v1.PushSkillReq
78
78
  * Use `create(PushSkillRequestSchema)` to create a new message.
79
79
  */
80
80
  export declare const PushSkillRequestSchema: GenMessage<PushSkillRequest>;
81
+ /**
82
+ * PushSkillFromExecutionArtifactRequest pushes a skill from an execution
83
+ * artifact that is already stored in artifact storage.
84
+ *
85
+ * This enables a server-side push flow where the ZIP artifact produced by
86
+ * an agent execution (e.g., skill-creator) is pushed as a skill without
87
+ * downloading it to the client first. The server reads the ZIP directly
88
+ * from artifact storage and delegates to the standard push logic.
89
+ *
90
+ * ## Authorization
91
+ *
92
+ * Requires both:
93
+ * - can_view on the agent execution (to read the artifact)
94
+ * - can_create_skill in the target organization (to push the skill)
95
+ *
96
+ * ## Security
97
+ *
98
+ * The storage_key is validated to start with "artifacts/{execution_id}/"
99
+ * to prevent access to other executions' artifacts (same validation as
100
+ * getArtifactContent).
101
+ *
102
+ * @generated from message ai.stigmer.agentic.skill.v1.PushSkillFromExecutionArtifactRequest
103
+ */
104
+ export type PushSkillFromExecutionArtifactRequest = Message<"ai.stigmer.agentic.skill.v1.PushSkillFromExecutionArtifactRequest"> & {
105
+ /**
106
+ * Organization that will own the skill.
107
+ *
108
+ * @generated from field: string org = 1;
109
+ */
110
+ org: string;
111
+ /**
112
+ * ID of the agent execution that produced the artifact.
113
+ * Used for authorization (can_view check) and storage_key validation.
114
+ *
115
+ * Format: "aex_{ulid}"
116
+ * Example: "aex_abc123xyz456"
117
+ *
118
+ * @generated from field: string execution_id = 2;
119
+ */
120
+ executionId: string;
121
+ /**
122
+ * Storage key of the directory artifact (ZIP) to push as a skill.
123
+ * Must start with "artifacts/{execution_id}/" for security.
124
+ *
125
+ * Obtain this value from ExecutionArtifact.storage_key in the
126
+ * execution status for a DIRECTORY artifact.
127
+ *
128
+ * Format: "artifacts/{execution_id}/{filename}.zip"
129
+ * Example: "artifacts/aex_abc123xyz456/my-skill.zip"
130
+ *
131
+ * @generated from field: string storage_key = 3;
132
+ */
133
+ storageKey: string;
134
+ /**
135
+ * Optional version tag (same semantics as PushSkillRequest.tag).
136
+ * Examples: "stable", "v1.0", "latest"
137
+ *
138
+ * @generated from field: string tag = 4;
139
+ */
140
+ tag: string;
141
+ };
142
+ /**
143
+ * Describes the message ai.stigmer.agentic.skill.v1.PushSkillFromExecutionArtifactRequest.
144
+ * Use `create(PushSkillFromExecutionArtifactRequestSchema)` to create a new message.
145
+ */
146
+ export declare const PushSkillFromExecutionArtifactRequestSchema: GenMessage<PushSkillFromExecutionArtifactRequest>;
81
147
  /**
82
148
  * GetArtifactRequest requests download of a skill artifact by storage key.
83
149
  *
@@ -7,7 +7,7 @@ import { file_buf_validate_validate } from "../../../../../buf/validate/validate
7
7
  /**
8
8
  * Describes the file ai/stigmer/agentic/skill/v1/io.proto.
9
9
  */
10
- export const file_ai_stigmer_agentic_skill_v1_io = /*@__PURE__*/ fileDesc("CiRhaS9zdGlnbWVyL2FnZW50aWMvc2tpbGwvdjEvaW8ucHJvdG8SG2FpLnN0aWdtZXIuYWdlbnRpYy5za2lsbC52MSIgCgdTa2lsbElkEhUKBXZhbHVlGAEgASgJQga6SAPIAQEitQEKEFB1c2hTa2lsbFJlcXVlc3QSEwoDb3JnGAEgASgJQga6SAPIAQESGAoIYXJ0aWZhY3QYAiABKAxCBrpIA8gBARIoCgN0YWcYAyABKAlCG7pIGHIWMhReJHxeW2EtekEtWjAtOS5fLV0rJBJCCg5naXRfcHJvdmVuYW5jZRgEIAEoCzIqLmFpLnN0aWdtZXIuYWdlbnRpYy5za2lsbC52MS5HaXRQcm92ZW5hbmNlSgQIBRAGIjoKEkdldEFydGlmYWN0UmVxdWVzdBIkChRhcnRpZmFjdF9zdG9yYWdlX2tleRgBIAEoCUIGukgDyAEBIicKE0dldEFydGlmYWN0UmVzcG9uc2USEAoIYXJ0aWZhY3QYASABKAxiBnByb3RvMw", [file_ai_stigmer_agentic_skill_v1_status, file_buf_validate_validate]);
10
+ export const file_ai_stigmer_agentic_skill_v1_io = /*@__PURE__*/ fileDesc("CiRhaS9zdGlnbWVyL2FnZW50aWMvc2tpbGwvdjEvaW8ucHJvdG8SG2FpLnN0aWdtZXIuYWdlbnRpYy5za2lsbC52MSIgCgdTa2lsbElkEhUKBXZhbHVlGAEgASgJQga6SAPIAQEitQEKEFB1c2hTa2lsbFJlcXVlc3QSEwoDb3JnGAEgASgJQga6SAPIAQESGAoIYXJ0aWZhY3QYAiABKAxCBrpIA8gBARIoCgN0YWcYAyABKAlCG7pIGHIWMhReJHxeW2EtekEtWjAtOS5fLV0rJBJCCg5naXRfcHJvdmVuYW5jZRgEIAEoCzIqLmFpLnN0aWdtZXIuYWdlbnRpYy5za2lsbC52MS5HaXRQcm92ZW5hbmNlSgQIBRAGIqMBCiVQdXNoU2tpbGxGcm9tRXhlY3V0aW9uQXJ0aWZhY3RSZXF1ZXN0EhMKA29yZxgBIAEoCUIGukgDyAEBEh0KDGV4ZWN1dGlvbl9pZBgCIAEoCUIHukgEcgIQARIcCgtzdG9yYWdlX2tleRgDIAEoCUIHukgEcgIQARIoCgN0YWcYBCABKAlCG7pIGHIWMhReJHxeW2EtekEtWjAtOS5fLV0rJCI6ChJHZXRBcnRpZmFjdFJlcXVlc3QSJAoUYXJ0aWZhY3Rfc3RvcmFnZV9rZXkYASABKAlCBrpIA8gBASInChNHZXRBcnRpZmFjdFJlc3BvbnNlEhAKCGFydGlmYWN0GAEgASgMYgZwcm90bzM", [file_ai_stigmer_agentic_skill_v1_status, file_buf_validate_validate]);
11
11
  /**
12
12
  * Describes the message ai.stigmer.agentic.skill.v1.SkillId.
13
13
  * Use `create(SkillIdSchema)` to create a new message.
@@ -18,14 +18,19 @@ export const SkillIdSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_s
18
18
  * Use `create(PushSkillRequestSchema)` to create a new message.
19
19
  */
20
20
  export const PushSkillRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_skill_v1_io, 1);
21
+ /**
22
+ * Describes the message ai.stigmer.agentic.skill.v1.PushSkillFromExecutionArtifactRequest.
23
+ * Use `create(PushSkillFromExecutionArtifactRequestSchema)` to create a new message.
24
+ */
25
+ export const PushSkillFromExecutionArtifactRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_skill_v1_io, 2);
21
26
  /**
22
27
  * Describes the message ai.stigmer.agentic.skill.v1.GetArtifactRequest.
23
28
  * Use `create(GetArtifactRequestSchema)` to create a new message.
24
29
  */
25
- export const GetArtifactRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_skill_v1_io, 2);
30
+ export const GetArtifactRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_skill_v1_io, 3);
26
31
  /**
27
32
  * Describes the message ai.stigmer.agentic.skill.v1.GetArtifactResponse.
28
33
  * Use `create(GetArtifactResponseSchema)` to create a new message.
29
34
  */
30
- export const GetArtifactResponseSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_skill_v1_io, 3);
35
+ export const GetArtifactResponseSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_skill_v1_io, 4);
31
36
  //# sourceMappingURL=io_pb.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/skill/v1/io_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,iHAAiH;AACjH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,uCAAuC,EAAE,MAAM,aAAa,CAAC;AACtE,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAY,aAAa,CACvE,QAAQ,CAAC,ghBAAghB,EAAE,CAAC,uCAAuC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAcpmB;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAwB,aAAa,CAC7D,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC;AA0DtD;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAiC,aAAa,CAC/E,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC;AAiBtD;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC;AAiBtD;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAoC,aAAa,CACrF,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/skill/v1/io_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,iHAAiH;AACjH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,uCAAuC,EAAE,MAAM,aAAa,CAAC;AACtE,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAY,aAAa,CACvE,QAAQ,CAAC,6uBAA6uB,EAAE,CAAC,uCAAuC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAcj0B;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAwB,aAAa,CAC7D,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC;AA0DtD;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAiC,aAAa,CAC/E,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC;AAmEtD;;;GAGG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAsD,aAAa,CACzH,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC;AAiBtD;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC;AAiBtD;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAoC,aAAa,CACrF,WAAW,CAAC,mCAAmC,EAAE,CAAC,CAAC,CAAC"}
@@ -5,7 +5,7 @@
5
5
  * Command-Query Separation pattern. All RPCs that modify state go through this controller.
6
6
  *
7
7
  * Authorization:
8
- * - create: Custom authorization logic (validates workflow_id access, env_refs access)
8
+ * - create: Custom authorization logic (validates workflow_id access, environment_refs access)
9
9
  * - update: Standard authorization (requires update permission on the instance)
10
10
  * - delete: Standard authorization (requires delete permission on the instance)
11
11
  *
@@ -37,7 +37,7 @@ export declare const WorkflowInstanceCommandController: {
37
37
  * Input validation:
38
38
  * - metadata.org must be specified
39
39
  * - spec.workflow_id must be a valid Workflow resource ID
40
- * - spec.env_refs must reference valid Environment resources
40
+ * - spec.environment_refs must reference valid Environment resources
41
41
  *
42
42
  * Authorization:
43
43
  * Uses custom authorization logic to verify:
@@ -52,7 +52,7 @@ export declare const WorkflowInstanceCommandController: {
52
52
  * - Initial version (status.audit.version = 1)
53
53
  *
54
54
  * Example:
55
- * Input: WorkflowInstance with workflow_id="wfl-123", env_refs=["env-prod"]
55
+ * Input: WorkflowInstance with workflow_id="wfl-123", environment_refs=["env-prod"]
56
56
  * Output: WorkflowInstance with id="wfi-abc456", created_at="2025-01-11T10:00:00Z"
57
57
  *
58
58
  * @generated from rpc ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceCommandController.create
@@ -69,7 +69,7 @@ export declare const WorkflowInstanceCommandController: {
69
69
  * Modifies the configuration of an existing WorkflowInstance.
70
70
  * You can update:
71
71
  * - spec.description (change descriptive text)
72
- * - spec.env_refs (add/remove/reorder environment bindings)
72
+ * - spec.environment_refs (add/remove/reorder environment bindings)
73
73
  * - metadata.labels, metadata.tags, metadata.annotations
74
74
  *
75
75
  * You cannot update:
@@ -10,7 +10,7 @@ import { MethodKind } from "@bufbuild/protobuf";
10
10
  * Command-Query Separation pattern. All RPCs that modify state go through this controller.
11
11
  *
12
12
  * Authorization:
13
- * - create: Custom authorization logic (validates workflow_id access, env_refs access)
13
+ * - create: Custom authorization logic (validates workflow_id access, environment_refs access)
14
14
  * - update: Standard authorization (requires update permission on the instance)
15
15
  * - delete: Standard authorization (requires delete permission on the instance)
16
16
  *
@@ -42,7 +42,7 @@ export const WorkflowInstanceCommandController = {
42
42
  * Input validation:
43
43
  * - metadata.org must be specified
44
44
  * - spec.workflow_id must be a valid Workflow resource ID
45
- * - spec.env_refs must reference valid Environment resources
45
+ * - spec.environment_refs must reference valid Environment resources
46
46
  *
47
47
  * Authorization:
48
48
  * Uses custom authorization logic to verify:
@@ -57,7 +57,7 @@ export const WorkflowInstanceCommandController = {
57
57
  * - Initial version (status.audit.version = 1)
58
58
  *
59
59
  * Example:
60
- * Input: WorkflowInstance with workflow_id="wfl-123", env_refs=["env-prod"]
60
+ * Input: WorkflowInstance with workflow_id="wfl-123", environment_refs=["env-prod"]
61
61
  * Output: WorkflowInstance with id="wfi-abc456", created_at="2025-01-11T10:00:00Z"
62
62
  *
63
63
  * @generated from rpc ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceCommandController.create
@@ -74,7 +74,7 @@ export const WorkflowInstanceCommandController = {
74
74
  * Modifies the configuration of an existing WorkflowInstance.
75
75
  * You can update:
76
76
  * - spec.description (change descriptive text)
77
- * - spec.env_refs (add/remove/reorder environment bindings)
77
+ * - spec.environment_refs (add/remove/reorder environment bindings)
78
78
  * - metadata.labels, metadata.tags, metadata.annotations
79
79
  *
80
80
  * You cannot update:
@@ -12,7 +12,7 @@ export declare const file_ai_stigmer_agentic_workflowinstance_v1_command: GenFil
12
12
  * Command-Query Separation pattern. All RPCs that modify state go through this controller.
13
13
  *
14
14
  * Authorization:
15
- * - create: Custom authorization logic (validates workflow_id access, env_refs access)
15
+ * - create: Custom authorization logic (validates workflow_id access, environment_refs access)
16
16
  * - update: Standard authorization (requires update permission on the instance)
17
17
  * - delete: Standard authorization (requires delete permission on the instance)
18
18
  *
@@ -41,7 +41,7 @@ export declare const WorkflowInstanceCommandController: GenService<{
41
41
  * Input validation:
42
42
  * - metadata.org must be specified
43
43
  * - spec.workflow_id must be a valid Workflow resource ID
44
- * - spec.env_refs must reference valid Environment resources
44
+ * - spec.environment_refs must reference valid Environment resources
45
45
  *
46
46
  * Authorization:
47
47
  * Uses custom authorization logic to verify:
@@ -56,7 +56,7 @@ export declare const WorkflowInstanceCommandController: GenService<{
56
56
  * - Initial version (status.audit.version = 1)
57
57
  *
58
58
  * Example:
59
- * Input: WorkflowInstance with workflow_id="wfl-123", env_refs=["env-prod"]
59
+ * Input: WorkflowInstance with workflow_id="wfl-123", environment_refs=["env-prod"]
60
60
  * Output: WorkflowInstance with id="wfi-abc456", created_at="2025-01-11T10:00:00Z"
61
61
  *
62
62
  * @generated from rpc ai.stigmer.agentic.workflowinstance.v1.WorkflowInstanceCommandController.create
@@ -72,7 +72,7 @@ export declare const WorkflowInstanceCommandController: GenService<{
72
72
  * Modifies the configuration of an existing WorkflowInstance.
73
73
  * You can update:
74
74
  * - spec.description (change descriptive text)
75
- * - spec.env_refs (add/remove/reorder environment bindings)
75
+ * - spec.environment_refs (add/remove/reorder environment bindings)
76
76
  * - metadata.labels, metadata.tags, metadata.annotations
77
77
  *
78
78
  * You cannot update:
@@ -17,7 +17,7 @@ export const file_ai_stigmer_agentic_workflowinstance_v1_command = /*@__PURE__*/
17
17
  * Command-Query Separation pattern. All RPCs that modify state go through this controller.
18
18
  *
19
19
  * Authorization:
20
- * - create: Custom authorization logic (validates workflow_id access, env_refs access)
20
+ * - create: Custom authorization logic (validates workflow_id access, environment_refs access)
21
21
  * - update: Standard authorization (requires update permission on the instance)
22
22
  * - delete: Standard authorization (requires delete permission on the instance)
23
23
  *
@@ -105,7 +105,7 @@ export type WorkflowInstanceList = Message<"ai.stigmer.agentic.workflowinstance.
105
105
  *
106
106
  * Each entry is a complete WorkflowInstance resource with:
107
107
  * - api_version, kind, metadata
108
- * - spec (workflow_id, description, env_refs)
108
+ * - spec (workflow_id, description, environment_refs)
109
109
  * - status (audit information)
110
110
  *
111
111
  * @generated from field: repeated ai.stigmer.agentic.workflowinstance.v1.WorkflowInstance entries = 2;
@@ -27,7 +27,7 @@ export declare const WorkflowInstanceQueryController: {
27
27
  * Returns:
28
28
  * Complete WorkflowInstance resource with:
29
29
  * - api_version, kind, metadata
30
- * - spec (workflow_id, description, env_refs)
30
+ * - spec (workflow_id, description, environment_refs)
31
31
  * - status (audit information: created_at, updated_at, version)
32
32
  *
33
33
  * Authorization:
@@ -32,7 +32,7 @@ export const WorkflowInstanceQueryController = {
32
32
  * Returns:
33
33
  * Complete WorkflowInstance resource with:
34
34
  * - api_version, kind, metadata
35
- * - spec (workflow_id, description, env_refs)
35
+ * - spec (workflow_id, description, environment_refs)
36
36
  * - status (audit information: created_at, updated_at, version)
37
37
  *
38
38
  * Authorization:
@@ -33,7 +33,7 @@ export declare const WorkflowInstanceQueryController: GenService<{
33
33
  * Returns:
34
34
  * Complete WorkflowInstance resource with:
35
35
  * - api_version, kind, metadata
36
- * - spec (workflow_id, description, env_refs)
36
+ * - spec (workflow_id, description, environment_refs)
37
37
  * - status (audit information: created_at, updated_at, version)
38
38
  *
39
39
  * Authorization: