@soat/sdk 0.97.0 → 0.98.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -4885,7 +4885,7 @@ var Tools = class {
4885
4885
  /**
4886
4886
  * Create a tool
4887
4887
  *
4888
- * Creates a new tool in the project.
4888
+ * Creates a new tool in the project. A `{{secret:...}}` reference in `execute`, `mcp` or a pipeline step also needs `secrets:UseSecret` on that secret, else `403`.
4889
4889
  */
4890
4890
  static createTool(options) {
4891
4891
  return (options.client ?? client).post({
@@ -4923,7 +4923,7 @@ var Tools = class {
4923
4923
  /**
4924
4924
  * Update a tool
4925
4925
  *
4926
- * Updates an existing tool.
4926
+ * Updates an existing tool. A `{{secret:...}}` reference in `execute`, `mcp` or a pipeline step also needs `secrets:UseSecret` on that secret, else `403`.
4927
4927
  */
4928
4928
  static updateTool(options) {
4929
4929
  return (options.client ?? client).patch({
package/dist/index.d.cts CHANGED
@@ -30852,7 +30852,7 @@ export declare class Tools {
30852
30852
  /**
30853
30853
  * Create a tool
30854
30854
  *
30855
- * Creates a new tool in the project.
30855
+ * Creates a new tool in the project. A `{{secret:...}}` reference in `execute`, `mcp` or a pipeline step also needs `secrets:UseSecret` on that secret, else `403`.
30856
30856
  */
30857
30857
  static createTool<ThrowOnError extends boolean = false>(options: Options<CreateToolData, ThrowOnError>): RequestResult<CreateToolResponses, CreateToolErrors, ThrowOnError>;
30858
30858
  /**
@@ -30871,7 +30871,7 @@ export declare class Tools {
30871
30871
  /**
30872
30872
  * Update a tool
30873
30873
  *
30874
- * Updates an existing tool.
30874
+ * Updates an existing tool. A `{{secret:...}}` reference in `execute`, `mcp` or a pipeline step also needs `secrets:UseSecret` on that secret, else `403`.
30875
30875
  */
30876
30876
  static updateTool<ThrowOnError extends boolean = false>(options: Options<UpdateToolData, ThrowOnError>): RequestResult<UpdateToolResponses, UpdateToolErrors, ThrowOnError>;
30877
30877
  /**
package/dist/index.d.mts CHANGED
@@ -30852,7 +30852,7 @@ export declare class Tools {
30852
30852
  /**
30853
30853
  * Create a tool
30854
30854
  *
30855
- * Creates a new tool in the project.
30855
+ * Creates a new tool in the project. A `{{secret:...}}` reference in `execute`, `mcp` or a pipeline step also needs `secrets:UseSecret` on that secret, else `403`.
30856
30856
  */
30857
30857
  static createTool<ThrowOnError extends boolean = false>(options: Options<CreateToolData, ThrowOnError>): RequestResult<CreateToolResponses, CreateToolErrors, ThrowOnError>;
30858
30858
  /**
@@ -30871,7 +30871,7 @@ export declare class Tools {
30871
30871
  /**
30872
30872
  * Update a tool
30873
30873
  *
30874
- * Updates an existing tool.
30874
+ * Updates an existing tool. A `{{secret:...}}` reference in `execute`, `mcp` or a pipeline step also needs `secrets:UseSecret` on that secret, else `403`.
30875
30875
  */
30876
30876
  static updateTool<ThrowOnError extends boolean = false>(options: Options<UpdateToolData, ThrowOnError>): RequestResult<UpdateToolResponses, UpdateToolErrors, ThrowOnError>;
30877
30877
  /**
package/dist/index.mjs CHANGED
@@ -4884,7 +4884,7 @@ var Tools = class {
4884
4884
  /**
4885
4885
  * Create a tool
4886
4886
  *
4887
- * Creates a new tool in the project.
4887
+ * Creates a new tool in the project. A `{{secret:...}}` reference in `execute`, `mcp` or a pipeline step also needs `secrets:UseSecret` on that secret, else `403`.
4888
4888
  */
4889
4889
  static createTool(options) {
4890
4890
  return (options.client ?? client).post({
@@ -4922,7 +4922,7 @@ var Tools = class {
4922
4922
  /**
4923
4923
  * Update a tool
4924
4924
  *
4925
- * Updates an existing tool.
4925
+ * Updates an existing tool. A `{{secret:...}}` reference in `execute`, `mcp` or a pipeline step also needs `secrets:UseSecret` on that secret, else `403`.
4926
4926
  */
4927
4927
  static updateTool(options) {
4928
4928
  return (options.client ?? client).patch({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soat/sdk",
3
- "version": "0.97.0",
3
+ "version": "0.98.0",
4
4
  "description": "TypeScript SDK for SOAT — open-source infrastructure for production-ready AI agents.",
5
5
  "keywords": [
6
6
  "ai-agents",