@quantcdn/pulumi-quant 5.5.2 → 5.7.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/aiCustomTool.d.ts +188 -0
- package/aiCustomTool.js +86 -0
- package/aiCustomTool.js.map +1 -0
- package/index.d.ts +3 -0
- package/index.js +5 -1
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/slackBot.d.ts +192 -12
- package/slackBot.js +39 -6
- package/slackBot.js.map +1 -1
- package/types/input.d.ts +41 -2
- package/types/output.d.ts +41 -2
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
export declare class AiCustomTool extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing AiCustomTool resource's state with the given name, ID, and optional extra
|
|
7
|
+
* properties used to qualify the lookup.
|
|
8
|
+
*
|
|
9
|
+
* @param name The _unique_ name of the resulting resource.
|
|
10
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
11
|
+
* @param state Any extra arguments used during the lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AiCustomToolState, opts?: pulumi.CustomResourceOptions): AiCustomTool;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of AiCustomTool. This is designed to work even
|
|
17
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
|
+
*/
|
|
19
|
+
static isInstance(obj: any): obj is AiCustomTool;
|
|
20
|
+
/**
|
|
21
|
+
* Category to group related tools
|
|
22
|
+
*/
|
|
23
|
+
readonly category: pulumi.Output<string>;
|
|
24
|
+
/**
|
|
25
|
+
* Human-readable description of what the tool does
|
|
26
|
+
*/
|
|
27
|
+
readonly description: pulumi.Output<string>;
|
|
28
|
+
/**
|
|
29
|
+
* HTTPS URL of the edge function
|
|
30
|
+
*/
|
|
31
|
+
readonly edgeFunctionUrl: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* JSON Schema defining the tool's input parameters
|
|
34
|
+
*/
|
|
35
|
+
readonly inputSchema: pulumi.Output<outputs.AiCustomToolInputSchema>;
|
|
36
|
+
/**
|
|
37
|
+
* Whether this tool runs asynchronously (>5 seconds)
|
|
38
|
+
*/
|
|
39
|
+
readonly isAsync: pulumi.Output<boolean>;
|
|
40
|
+
readonly message: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* Unique tool name (alphanumeric and underscores only)
|
|
43
|
+
*/
|
|
44
|
+
readonly name: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* The organisation ID
|
|
47
|
+
*/
|
|
48
|
+
readonly organisation: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* JSON Schema defining the tool's output structure
|
|
51
|
+
*/
|
|
52
|
+
readonly outputSchema: pulumi.Output<outputs.AiCustomToolOutputSchema>;
|
|
53
|
+
/**
|
|
54
|
+
* Human-readable description of the tool's output
|
|
55
|
+
*/
|
|
56
|
+
readonly outputSchemaDescription: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* How the tool response is handled: llm (passed back to model) or direct (returned to user)
|
|
59
|
+
*/
|
|
60
|
+
readonly responseMode: pulumi.Output<string>;
|
|
61
|
+
readonly success: pulumi.Output<boolean>;
|
|
62
|
+
/**
|
|
63
|
+
* Tool execution timeout
|
|
64
|
+
*/
|
|
65
|
+
readonly timeoutSeconds: pulumi.Output<number>;
|
|
66
|
+
readonly tool: pulumi.Output<outputs.AiCustomToolTool>;
|
|
67
|
+
/**
|
|
68
|
+
* The tool name to retrieve
|
|
69
|
+
*/
|
|
70
|
+
readonly toolName: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Create a AiCustomTool resource with the given unique name, arguments, and options.
|
|
73
|
+
*
|
|
74
|
+
* @param name The _unique_ name of the resource.
|
|
75
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
76
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
77
|
+
*/
|
|
78
|
+
constructor(name: string, args: AiCustomToolArgs, opts?: pulumi.CustomResourceOptions);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Input properties used for looking up and filtering AiCustomTool resources.
|
|
82
|
+
*/
|
|
83
|
+
export interface AiCustomToolState {
|
|
84
|
+
/**
|
|
85
|
+
* Category to group related tools
|
|
86
|
+
*/
|
|
87
|
+
category?: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Human-readable description of what the tool does
|
|
90
|
+
*/
|
|
91
|
+
description?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* HTTPS URL of the edge function
|
|
94
|
+
*/
|
|
95
|
+
edgeFunctionUrl?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* JSON Schema defining the tool's input parameters
|
|
98
|
+
*/
|
|
99
|
+
inputSchema?: pulumi.Input<inputs.AiCustomToolInputSchema>;
|
|
100
|
+
/**
|
|
101
|
+
* Whether this tool runs asynchronously (>5 seconds)
|
|
102
|
+
*/
|
|
103
|
+
isAsync?: pulumi.Input<boolean>;
|
|
104
|
+
message?: pulumi.Input<string>;
|
|
105
|
+
/**
|
|
106
|
+
* Unique tool name (alphanumeric and underscores only)
|
|
107
|
+
*/
|
|
108
|
+
name?: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* The organisation ID
|
|
111
|
+
*/
|
|
112
|
+
organisation?: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* JSON Schema defining the tool's output structure
|
|
115
|
+
*/
|
|
116
|
+
outputSchema?: pulumi.Input<inputs.AiCustomToolOutputSchema>;
|
|
117
|
+
/**
|
|
118
|
+
* Human-readable description of the tool's output
|
|
119
|
+
*/
|
|
120
|
+
outputSchemaDescription?: pulumi.Input<string>;
|
|
121
|
+
/**
|
|
122
|
+
* How the tool response is handled: llm (passed back to model) or direct (returned to user)
|
|
123
|
+
*/
|
|
124
|
+
responseMode?: pulumi.Input<string>;
|
|
125
|
+
success?: pulumi.Input<boolean>;
|
|
126
|
+
/**
|
|
127
|
+
* Tool execution timeout
|
|
128
|
+
*/
|
|
129
|
+
timeoutSeconds?: pulumi.Input<number>;
|
|
130
|
+
tool?: pulumi.Input<inputs.AiCustomToolTool>;
|
|
131
|
+
/**
|
|
132
|
+
* The tool name to retrieve
|
|
133
|
+
*/
|
|
134
|
+
toolName?: pulumi.Input<string>;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* The set of arguments for constructing a AiCustomTool resource.
|
|
138
|
+
*/
|
|
139
|
+
export interface AiCustomToolArgs {
|
|
140
|
+
/**
|
|
141
|
+
* Category to group related tools
|
|
142
|
+
*/
|
|
143
|
+
category?: pulumi.Input<string>;
|
|
144
|
+
/**
|
|
145
|
+
* Human-readable description of what the tool does
|
|
146
|
+
*/
|
|
147
|
+
description: pulumi.Input<string>;
|
|
148
|
+
/**
|
|
149
|
+
* HTTPS URL of the edge function
|
|
150
|
+
*/
|
|
151
|
+
edgeFunctionUrl: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* JSON Schema defining the tool's input parameters
|
|
154
|
+
*/
|
|
155
|
+
inputSchema: pulumi.Input<inputs.AiCustomToolInputSchema>;
|
|
156
|
+
/**
|
|
157
|
+
* Whether this tool runs asynchronously (>5 seconds)
|
|
158
|
+
*/
|
|
159
|
+
isAsync?: pulumi.Input<boolean>;
|
|
160
|
+
/**
|
|
161
|
+
* Unique tool name (alphanumeric and underscores only)
|
|
162
|
+
*/
|
|
163
|
+
name?: pulumi.Input<string>;
|
|
164
|
+
/**
|
|
165
|
+
* The organisation ID
|
|
166
|
+
*/
|
|
167
|
+
organisation?: pulumi.Input<string>;
|
|
168
|
+
/**
|
|
169
|
+
* JSON Schema defining the tool's output structure
|
|
170
|
+
*/
|
|
171
|
+
outputSchema?: pulumi.Input<inputs.AiCustomToolOutputSchema>;
|
|
172
|
+
/**
|
|
173
|
+
* Human-readable description of the tool's output
|
|
174
|
+
*/
|
|
175
|
+
outputSchemaDescription?: pulumi.Input<string>;
|
|
176
|
+
/**
|
|
177
|
+
* How the tool response is handled: llm (passed back to model) or direct (returned to user)
|
|
178
|
+
*/
|
|
179
|
+
responseMode?: pulumi.Input<string>;
|
|
180
|
+
/**
|
|
181
|
+
* Tool execution timeout
|
|
182
|
+
*/
|
|
183
|
+
timeoutSeconds?: pulumi.Input<number>;
|
|
184
|
+
/**
|
|
185
|
+
* The tool name to retrieve
|
|
186
|
+
*/
|
|
187
|
+
toolName?: pulumi.Input<string>;
|
|
188
|
+
}
|
package/aiCustomTool.js
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.AiCustomTool = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class AiCustomTool extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing AiCustomTool resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param state Any extra arguments used during the lookup.
|
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
|
+
*/
|
|
18
|
+
static get(name, id, state, opts) {
|
|
19
|
+
return new AiCustomTool(name, state, { ...opts, id: id });
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of AiCustomTool. This is designed to work even
|
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
24
|
+
*/
|
|
25
|
+
static isInstance(obj) {
|
|
26
|
+
if (obj === undefined || obj === null) {
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
return obj['__pulumiType'] === AiCustomTool.__pulumiType;
|
|
30
|
+
}
|
|
31
|
+
constructor(name, argsOrState, opts) {
|
|
32
|
+
let resourceInputs = {};
|
|
33
|
+
opts = opts || {};
|
|
34
|
+
if (opts.id) {
|
|
35
|
+
const state = argsOrState;
|
|
36
|
+
resourceInputs["category"] = state?.category;
|
|
37
|
+
resourceInputs["description"] = state?.description;
|
|
38
|
+
resourceInputs["edgeFunctionUrl"] = state?.edgeFunctionUrl;
|
|
39
|
+
resourceInputs["inputSchema"] = state?.inputSchema;
|
|
40
|
+
resourceInputs["isAsync"] = state?.isAsync;
|
|
41
|
+
resourceInputs["message"] = state?.message;
|
|
42
|
+
resourceInputs["name"] = state?.name;
|
|
43
|
+
resourceInputs["organisation"] = state?.organisation;
|
|
44
|
+
resourceInputs["outputSchema"] = state?.outputSchema;
|
|
45
|
+
resourceInputs["outputSchemaDescription"] = state?.outputSchemaDescription;
|
|
46
|
+
resourceInputs["responseMode"] = state?.responseMode;
|
|
47
|
+
resourceInputs["success"] = state?.success;
|
|
48
|
+
resourceInputs["timeoutSeconds"] = state?.timeoutSeconds;
|
|
49
|
+
resourceInputs["tool"] = state?.tool;
|
|
50
|
+
resourceInputs["toolName"] = state?.toolName;
|
|
51
|
+
}
|
|
52
|
+
else {
|
|
53
|
+
const args = argsOrState;
|
|
54
|
+
if (args?.description === undefined && !opts.urn) {
|
|
55
|
+
throw new Error("Missing required property 'description'");
|
|
56
|
+
}
|
|
57
|
+
if (args?.edgeFunctionUrl === undefined && !opts.urn) {
|
|
58
|
+
throw new Error("Missing required property 'edgeFunctionUrl'");
|
|
59
|
+
}
|
|
60
|
+
if (args?.inputSchema === undefined && !opts.urn) {
|
|
61
|
+
throw new Error("Missing required property 'inputSchema'");
|
|
62
|
+
}
|
|
63
|
+
resourceInputs["category"] = args?.category;
|
|
64
|
+
resourceInputs["description"] = args?.description;
|
|
65
|
+
resourceInputs["edgeFunctionUrl"] = args?.edgeFunctionUrl;
|
|
66
|
+
resourceInputs["inputSchema"] = args?.inputSchema;
|
|
67
|
+
resourceInputs["isAsync"] = args?.isAsync;
|
|
68
|
+
resourceInputs["name"] = args?.name;
|
|
69
|
+
resourceInputs["organisation"] = args?.organisation;
|
|
70
|
+
resourceInputs["outputSchema"] = args?.outputSchema;
|
|
71
|
+
resourceInputs["outputSchemaDescription"] = args?.outputSchemaDescription;
|
|
72
|
+
resourceInputs["responseMode"] = args?.responseMode;
|
|
73
|
+
resourceInputs["timeoutSeconds"] = args?.timeoutSeconds;
|
|
74
|
+
resourceInputs["toolName"] = args?.toolName;
|
|
75
|
+
resourceInputs["message"] = undefined /*out*/;
|
|
76
|
+
resourceInputs["success"] = undefined /*out*/;
|
|
77
|
+
resourceInputs["tool"] = undefined /*out*/;
|
|
78
|
+
}
|
|
79
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
80
|
+
super(AiCustomTool.__pulumiType, name, resourceInputs, opts);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
exports.AiCustomTool = AiCustomTool;
|
|
84
|
+
/** @internal */
|
|
85
|
+
AiCustomTool.__pulumiType = 'quant:index:AiCustomTool';
|
|
86
|
+
//# sourceMappingURL=aiCustomTool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aiCustomTool.js","sourceRoot":"","sources":["../aiCustomTool.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACv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AuB,CAAC;YAC1E,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAzIL,oCA0IC;AA5HG,gBAAgB;AACO,yBAAY,GAAG,0BAA0B,CAAC"}
|
package/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export { AiAgentArgs, AiAgentState } from "./aiAgent";
|
|
2
2
|
export type AiAgent = import("./aiAgent").AiAgent;
|
|
3
3
|
export declare const AiAgent: typeof import("./aiAgent").AiAgent;
|
|
4
|
+
export { AiCustomToolArgs, AiCustomToolState } from "./aiCustomTool";
|
|
5
|
+
export type AiCustomTool = import("./aiCustomTool").AiCustomTool;
|
|
6
|
+
export declare const AiCustomTool: typeof import("./aiCustomTool").AiCustomTool;
|
|
4
7
|
export { AiGovernanceArgs, AiGovernanceState } from "./aiGovernance";
|
|
5
8
|
export type AiGovernance = import("./aiGovernance").AiGovernance;
|
|
6
9
|
export declare const AiGovernance: typeof import("./aiGovernance").AiGovernance;
|
package/index.js
CHANGED
|
@@ -16,11 +16,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.types = exports.config = exports.Volume = exports.SlackBot = exports.RuleServeStatic = exports.RuleRedirect = exports.RuleProxy = exports.RuleHeaders = exports.RuleFunction = exports.RuleCustomResponse = exports.RuleContentFilter = exports.RuleBotChallenge = exports.RuleAuth = exports.Project = exports.KvStore = exports.KvItem = exports.Header = exports.getProjectsOutput = exports.getProjects = exports.getProjectOutput = exports.getProject = exports.Environment = exports.Domain = exports.CronJob = exports.CrawlerSchedule = exports.Crawler = exports.Application = exports.AiVectorDocument = exports.AiVectorCollection = exports.AiSkill = exports.AiGovernance = exports.AiAgent = void 0;
|
|
19
|
+
exports.types = exports.config = exports.Volume = exports.SlackBot = exports.RuleServeStatic = exports.RuleRedirect = exports.RuleProxy = exports.RuleHeaders = exports.RuleFunction = exports.RuleCustomResponse = exports.RuleContentFilter = exports.RuleBotChallenge = exports.RuleAuth = exports.Project = exports.KvStore = exports.KvItem = exports.Header = exports.getProjectsOutput = exports.getProjects = exports.getProjectOutput = exports.getProject = exports.Environment = exports.Domain = exports.CronJob = exports.CrawlerSchedule = exports.Crawler = exports.Application = exports.AiVectorDocument = exports.AiVectorCollection = exports.AiSkill = exports.AiGovernance = exports.AiCustomTool = exports.AiAgent = void 0;
|
|
20
20
|
const pulumi = require("@pulumi/pulumi");
|
|
21
21
|
const utilities = require("./utilities");
|
|
22
22
|
exports.AiAgent = null;
|
|
23
23
|
utilities.lazyLoad(exports, ["AiAgent"], () => require("./aiAgent"));
|
|
24
|
+
exports.AiCustomTool = null;
|
|
25
|
+
utilities.lazyLoad(exports, ["AiCustomTool"], () => require("./aiCustomTool"));
|
|
24
26
|
exports.AiGovernance = null;
|
|
25
27
|
utilities.lazyLoad(exports, ["AiGovernance"], () => require("./aiGovernance"));
|
|
26
28
|
exports.AiSkill = null;
|
|
@@ -90,6 +92,8 @@ const _module = {
|
|
|
90
92
|
switch (type) {
|
|
91
93
|
case "quant:index:AiAgent":
|
|
92
94
|
return new exports.AiAgent(name, undefined, { urn });
|
|
95
|
+
case "quant:index:AiCustomTool":
|
|
96
|
+
return new exports.AiCustomTool(name, undefined, { urn });
|
|
93
97
|
case "quant:index:AiGovernance":
|
|
94
98
|
return new exports.AiGovernance(name, undefined, { urn });
|
|
95
99
|
case "quant:index:AiSkill":
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAK5B,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAIxD,QAAA,YAAY,GAAiD,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,cAAc,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAIlE,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAIxD,QAAA,kBAAkB,GAA6D,IAAW,CAAC;AACxG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC,CAAC;AAI9E,QAAA,gBAAgB,GAAyD,IAAW,CAAC;AAClG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,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I,KAAK,wBAAwB,EAAE;YACnC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quantcdn/pulumi-quant",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.7.0",
|
|
4
4
|
"description": "A Pulumi package for managing QuantCDN resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"pulumi": {
|
|
26
26
|
"resource": true,
|
|
27
27
|
"name": "quant",
|
|
28
|
-
"version": "5.
|
|
28
|
+
"version": "5.7.0",
|
|
29
29
|
"server": "github://api.github.com/quantcdn/terraform-provider-quant"
|
|
30
30
|
},
|
|
31
31
|
"main": "index.js",
|
package/slackBot.d.ts
CHANGED
|
@@ -18,18 +18,58 @@ export declare class SlackBot extends pulumi.CustomResource {
|
|
|
18
18
|
*/
|
|
19
19
|
static isInstance(obj: any): obj is SlackBot;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Agent-level access control settings
|
|
22
22
|
*/
|
|
23
|
-
readonly
|
|
23
|
+
readonly agentAccessControl: pulumi.Output<outputs.SlackBotAgentAccessControl>;
|
|
24
|
+
/**
|
|
25
|
+
* Whether guest users may interact with the bot
|
|
26
|
+
*/
|
|
27
|
+
readonly allowGuests: pulumi.Output<boolean>;
|
|
24
28
|
/**
|
|
25
29
|
* Slack channel IDs the bot may respond in
|
|
26
30
|
*/
|
|
27
31
|
readonly allowedChannels: pulumi.Output<string[]>;
|
|
32
|
+
/**
|
|
33
|
+
* Vector DB collections the agent may query
|
|
34
|
+
*/
|
|
35
|
+
readonly allowedCollections: pulumi.Output<string[]>;
|
|
36
|
+
/**
|
|
37
|
+
* Sub-agents the agent may call
|
|
38
|
+
*/
|
|
39
|
+
readonly allowedSubAgents: pulumi.Output<string[]>;
|
|
40
|
+
/**
|
|
41
|
+
* Tools the agent may use
|
|
42
|
+
*/
|
|
43
|
+
readonly allowedTools: pulumi.Output<string[]>;
|
|
44
|
+
/**
|
|
45
|
+
* Slack user IDs allowed to interact with the bot
|
|
46
|
+
*/
|
|
47
|
+
readonly allowedUsers: pulumi.Output<string[]>;
|
|
48
|
+
/**
|
|
49
|
+
* Skills assigned to the agent
|
|
50
|
+
*/
|
|
51
|
+
readonly assignedSkills: pulumi.Output<string[]>;
|
|
28
52
|
readonly bot: pulumi.Output<outputs.SlackBotBot>;
|
|
29
53
|
/**
|
|
30
54
|
* The Slack bot ID
|
|
31
55
|
*/
|
|
32
56
|
readonly botId: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Slack user IDs denied from interacting with the bot
|
|
59
|
+
*/
|
|
60
|
+
readonly deniedUsers: pulumi.Output<string[]>;
|
|
61
|
+
/**
|
|
62
|
+
* Content filter policies
|
|
63
|
+
*/
|
|
64
|
+
readonly filterPolicies: pulumi.Output<string[]>;
|
|
65
|
+
/**
|
|
66
|
+
* Guardrail preset name
|
|
67
|
+
*/
|
|
68
|
+
readonly guardrailPreset: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* Content shown on the bot's Home tab in Slack
|
|
71
|
+
*/
|
|
72
|
+
readonly homeTabContent: pulumi.Output<string>;
|
|
33
73
|
/**
|
|
34
74
|
* Keywords that trigger the bot
|
|
35
75
|
*/
|
|
@@ -38,6 +78,22 @@ export declare class SlackBot extends pulumi.CustomResource {
|
|
|
38
78
|
* Whether keyword triggers are enabled
|
|
39
79
|
*/
|
|
40
80
|
readonly keywordsEnabled: pulumi.Output<boolean>;
|
|
81
|
+
/**
|
|
82
|
+
* Enable long context mode
|
|
83
|
+
*/
|
|
84
|
+
readonly longContext: pulumi.Output<boolean>;
|
|
85
|
+
/**
|
|
86
|
+
* Maximum response tokens
|
|
87
|
+
*/
|
|
88
|
+
readonly maxTokens: pulumi.Output<number>;
|
|
89
|
+
/**
|
|
90
|
+
* AI model identifier
|
|
91
|
+
*/
|
|
92
|
+
readonly modelId: pulumi.Output<string>;
|
|
93
|
+
/**
|
|
94
|
+
* Display name for the bot
|
|
95
|
+
*/
|
|
96
|
+
readonly name: pulumi.Output<string>;
|
|
41
97
|
/**
|
|
42
98
|
* The organisation ID
|
|
43
99
|
*/
|
|
@@ -51,9 +107,13 @@ export declare class SlackBot extends pulumi.CustomResource {
|
|
|
51
107
|
*/
|
|
52
108
|
readonly setupType: pulumi.Output<string>;
|
|
53
109
|
/**
|
|
54
|
-
*
|
|
110
|
+
* System prompt for the backing AI agent
|
|
55
111
|
*/
|
|
56
|
-
readonly
|
|
112
|
+
readonly systemPrompt: pulumi.Output<string>;
|
|
113
|
+
/**
|
|
114
|
+
* Sampling temperature
|
|
115
|
+
*/
|
|
116
|
+
readonly temperature: pulumi.Output<number>;
|
|
57
117
|
/**
|
|
58
118
|
* Create a SlackBot resource with the given unique name, arguments, and options.
|
|
59
119
|
*
|
|
@@ -68,18 +128,58 @@ export declare class SlackBot extends pulumi.CustomResource {
|
|
|
68
128
|
*/
|
|
69
129
|
export interface SlackBotState {
|
|
70
130
|
/**
|
|
71
|
-
*
|
|
131
|
+
* Agent-level access control settings
|
|
132
|
+
*/
|
|
133
|
+
agentAccessControl?: pulumi.Input<inputs.SlackBotAgentAccessControl>;
|
|
134
|
+
/**
|
|
135
|
+
* Whether guest users may interact with the bot
|
|
72
136
|
*/
|
|
73
|
-
|
|
137
|
+
allowGuests?: pulumi.Input<boolean>;
|
|
74
138
|
/**
|
|
75
139
|
* Slack channel IDs the bot may respond in
|
|
76
140
|
*/
|
|
77
141
|
allowedChannels?: pulumi.Input<pulumi.Input<string>[]>;
|
|
142
|
+
/**
|
|
143
|
+
* Vector DB collections the agent may query
|
|
144
|
+
*/
|
|
145
|
+
allowedCollections?: pulumi.Input<pulumi.Input<string>[]>;
|
|
146
|
+
/**
|
|
147
|
+
* Sub-agents the agent may call
|
|
148
|
+
*/
|
|
149
|
+
allowedSubAgents?: pulumi.Input<pulumi.Input<string>[]>;
|
|
150
|
+
/**
|
|
151
|
+
* Tools the agent may use
|
|
152
|
+
*/
|
|
153
|
+
allowedTools?: pulumi.Input<pulumi.Input<string>[]>;
|
|
154
|
+
/**
|
|
155
|
+
* Slack user IDs allowed to interact with the bot
|
|
156
|
+
*/
|
|
157
|
+
allowedUsers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
158
|
+
/**
|
|
159
|
+
* Skills assigned to the agent
|
|
160
|
+
*/
|
|
161
|
+
assignedSkills?: pulumi.Input<pulumi.Input<string>[]>;
|
|
78
162
|
bot?: pulumi.Input<inputs.SlackBotBot>;
|
|
79
163
|
/**
|
|
80
164
|
* The Slack bot ID
|
|
81
165
|
*/
|
|
82
166
|
botId?: pulumi.Input<string>;
|
|
167
|
+
/**
|
|
168
|
+
* Slack user IDs denied from interacting with the bot
|
|
169
|
+
*/
|
|
170
|
+
deniedUsers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
171
|
+
/**
|
|
172
|
+
* Content filter policies
|
|
173
|
+
*/
|
|
174
|
+
filterPolicies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
175
|
+
/**
|
|
176
|
+
* Guardrail preset name
|
|
177
|
+
*/
|
|
178
|
+
guardrailPreset?: pulumi.Input<string>;
|
|
179
|
+
/**
|
|
180
|
+
* Content shown on the bot's Home tab in Slack
|
|
181
|
+
*/
|
|
182
|
+
homeTabContent?: pulumi.Input<string>;
|
|
83
183
|
/**
|
|
84
184
|
* Keywords that trigger the bot
|
|
85
185
|
*/
|
|
@@ -88,6 +188,22 @@ export interface SlackBotState {
|
|
|
88
188
|
* Whether keyword triggers are enabled
|
|
89
189
|
*/
|
|
90
190
|
keywordsEnabled?: pulumi.Input<boolean>;
|
|
191
|
+
/**
|
|
192
|
+
* Enable long context mode
|
|
193
|
+
*/
|
|
194
|
+
longContext?: pulumi.Input<boolean>;
|
|
195
|
+
/**
|
|
196
|
+
* Maximum response tokens
|
|
197
|
+
*/
|
|
198
|
+
maxTokens?: pulumi.Input<number>;
|
|
199
|
+
/**
|
|
200
|
+
* AI model identifier
|
|
201
|
+
*/
|
|
202
|
+
modelId?: pulumi.Input<string>;
|
|
203
|
+
/**
|
|
204
|
+
* Display name for the bot
|
|
205
|
+
*/
|
|
206
|
+
name?: pulumi.Input<string>;
|
|
91
207
|
/**
|
|
92
208
|
* The organisation ID
|
|
93
209
|
*/
|
|
@@ -101,26 +217,70 @@ export interface SlackBotState {
|
|
|
101
217
|
*/
|
|
102
218
|
setupType?: pulumi.Input<string>;
|
|
103
219
|
/**
|
|
104
|
-
*
|
|
220
|
+
* System prompt for the backing AI agent
|
|
221
|
+
*/
|
|
222
|
+
systemPrompt?: pulumi.Input<string>;
|
|
223
|
+
/**
|
|
224
|
+
* Sampling temperature
|
|
105
225
|
*/
|
|
106
|
-
|
|
226
|
+
temperature?: pulumi.Input<number>;
|
|
107
227
|
}
|
|
108
228
|
/**
|
|
109
229
|
* The set of arguments for constructing a SlackBot resource.
|
|
110
230
|
*/
|
|
111
231
|
export interface SlackBotArgs {
|
|
112
232
|
/**
|
|
113
|
-
*
|
|
233
|
+
* Agent-level access control settings
|
|
114
234
|
*/
|
|
115
|
-
|
|
235
|
+
agentAccessControl?: pulumi.Input<inputs.SlackBotAgentAccessControl>;
|
|
236
|
+
/**
|
|
237
|
+
* Whether guest users may interact with the bot
|
|
238
|
+
*/
|
|
239
|
+
allowGuests?: pulumi.Input<boolean>;
|
|
116
240
|
/**
|
|
117
241
|
* Slack channel IDs the bot may respond in
|
|
118
242
|
*/
|
|
119
243
|
allowedChannels?: pulumi.Input<pulumi.Input<string>[]>;
|
|
244
|
+
/**
|
|
245
|
+
* Vector DB collections the agent may query
|
|
246
|
+
*/
|
|
247
|
+
allowedCollections?: pulumi.Input<pulumi.Input<string>[]>;
|
|
248
|
+
/**
|
|
249
|
+
* Sub-agents the agent may call
|
|
250
|
+
*/
|
|
251
|
+
allowedSubAgents?: pulumi.Input<pulumi.Input<string>[]>;
|
|
252
|
+
/**
|
|
253
|
+
* Tools the agent may use
|
|
254
|
+
*/
|
|
255
|
+
allowedTools?: pulumi.Input<pulumi.Input<string>[]>;
|
|
256
|
+
/**
|
|
257
|
+
* Slack user IDs allowed to interact with the bot
|
|
258
|
+
*/
|
|
259
|
+
allowedUsers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
260
|
+
/**
|
|
261
|
+
* Skills assigned to the agent
|
|
262
|
+
*/
|
|
263
|
+
assignedSkills?: pulumi.Input<pulumi.Input<string>[]>;
|
|
120
264
|
/**
|
|
121
265
|
* The Slack bot ID
|
|
122
266
|
*/
|
|
123
267
|
botId?: pulumi.Input<string>;
|
|
268
|
+
/**
|
|
269
|
+
* Slack user IDs denied from interacting with the bot
|
|
270
|
+
*/
|
|
271
|
+
deniedUsers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
272
|
+
/**
|
|
273
|
+
* Content filter policies
|
|
274
|
+
*/
|
|
275
|
+
filterPolicies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
276
|
+
/**
|
|
277
|
+
* Guardrail preset name
|
|
278
|
+
*/
|
|
279
|
+
guardrailPreset?: pulumi.Input<string>;
|
|
280
|
+
/**
|
|
281
|
+
* Content shown on the bot's Home tab in Slack
|
|
282
|
+
*/
|
|
283
|
+
homeTabContent?: pulumi.Input<string>;
|
|
124
284
|
/**
|
|
125
285
|
* Keywords that trigger the bot
|
|
126
286
|
*/
|
|
@@ -129,6 +289,22 @@ export interface SlackBotArgs {
|
|
|
129
289
|
* Whether keyword triggers are enabled
|
|
130
290
|
*/
|
|
131
291
|
keywordsEnabled?: pulumi.Input<boolean>;
|
|
292
|
+
/**
|
|
293
|
+
* Enable long context mode
|
|
294
|
+
*/
|
|
295
|
+
longContext?: pulumi.Input<boolean>;
|
|
296
|
+
/**
|
|
297
|
+
* Maximum response tokens
|
|
298
|
+
*/
|
|
299
|
+
maxTokens?: pulumi.Input<number>;
|
|
300
|
+
/**
|
|
301
|
+
* AI model identifier
|
|
302
|
+
*/
|
|
303
|
+
modelId: pulumi.Input<string>;
|
|
304
|
+
/**
|
|
305
|
+
* Display name for the bot
|
|
306
|
+
*/
|
|
307
|
+
name?: pulumi.Input<string>;
|
|
132
308
|
/**
|
|
133
309
|
* The organisation ID
|
|
134
310
|
*/
|
|
@@ -142,7 +318,11 @@ export interface SlackBotArgs {
|
|
|
142
318
|
*/
|
|
143
319
|
setupType: pulumi.Input<string>;
|
|
144
320
|
/**
|
|
145
|
-
*
|
|
321
|
+
* System prompt for the backing AI agent
|
|
322
|
+
*/
|
|
323
|
+
systemPrompt: pulumi.Input<string>;
|
|
324
|
+
/**
|
|
325
|
+
* Sampling temperature
|
|
146
326
|
*/
|
|
147
|
-
|
|
327
|
+
temperature?: pulumi.Input<number>;
|
|
148
328
|
}
|
package/slackBot.js
CHANGED
|
@@ -33,34 +33,67 @@ class SlackBot extends pulumi.CustomResource {
|
|
|
33
33
|
opts = opts || {};
|
|
34
34
|
if (opts.id) {
|
|
35
35
|
const state = argsOrState;
|
|
36
|
-
resourceInputs["
|
|
36
|
+
resourceInputs["agentAccessControl"] = state?.agentAccessControl;
|
|
37
|
+
resourceInputs["allowGuests"] = state?.allowGuests;
|
|
37
38
|
resourceInputs["allowedChannels"] = state?.allowedChannels;
|
|
39
|
+
resourceInputs["allowedCollections"] = state?.allowedCollections;
|
|
40
|
+
resourceInputs["allowedSubAgents"] = state?.allowedSubAgents;
|
|
41
|
+
resourceInputs["allowedTools"] = state?.allowedTools;
|
|
42
|
+
resourceInputs["allowedUsers"] = state?.allowedUsers;
|
|
43
|
+
resourceInputs["assignedSkills"] = state?.assignedSkills;
|
|
38
44
|
resourceInputs["bot"] = state?.bot;
|
|
39
45
|
resourceInputs["botId"] = state?.botId;
|
|
46
|
+
resourceInputs["deniedUsers"] = state?.deniedUsers;
|
|
47
|
+
resourceInputs["filterPolicies"] = state?.filterPolicies;
|
|
48
|
+
resourceInputs["guardrailPreset"] = state?.guardrailPreset;
|
|
49
|
+
resourceInputs["homeTabContent"] = state?.homeTabContent;
|
|
40
50
|
resourceInputs["keywords"] = state?.keywords;
|
|
41
51
|
resourceInputs["keywordsEnabled"] = state?.keywordsEnabled;
|
|
52
|
+
resourceInputs["longContext"] = state?.longContext;
|
|
53
|
+
resourceInputs["maxTokens"] = state?.maxTokens;
|
|
54
|
+
resourceInputs["modelId"] = state?.modelId;
|
|
55
|
+
resourceInputs["name"] = state?.name;
|
|
42
56
|
resourceInputs["organisation"] = state?.organisation;
|
|
43
57
|
resourceInputs["sessionTtlDays"] = state?.sessionTtlDays;
|
|
44
58
|
resourceInputs["setupType"] = state?.setupType;
|
|
45
|
-
resourceInputs["
|
|
59
|
+
resourceInputs["systemPrompt"] = state?.systemPrompt;
|
|
60
|
+
resourceInputs["temperature"] = state?.temperature;
|
|
46
61
|
}
|
|
47
62
|
else {
|
|
48
63
|
const args = argsOrState;
|
|
49
|
-
if (args?.
|
|
50
|
-
throw new Error("Missing required property '
|
|
64
|
+
if (args?.modelId === undefined && !opts.urn) {
|
|
65
|
+
throw new Error("Missing required property 'modelId'");
|
|
51
66
|
}
|
|
52
67
|
if (args?.setupType === undefined && !opts.urn) {
|
|
53
68
|
throw new Error("Missing required property 'setupType'");
|
|
54
69
|
}
|
|
55
|
-
|
|
70
|
+
if (args?.systemPrompt === undefined && !opts.urn) {
|
|
71
|
+
throw new Error("Missing required property 'systemPrompt'");
|
|
72
|
+
}
|
|
73
|
+
resourceInputs["agentAccessControl"] = args?.agentAccessControl;
|
|
74
|
+
resourceInputs["allowGuests"] = args?.allowGuests;
|
|
56
75
|
resourceInputs["allowedChannels"] = args?.allowedChannels;
|
|
76
|
+
resourceInputs["allowedCollections"] = args?.allowedCollections;
|
|
77
|
+
resourceInputs["allowedSubAgents"] = args?.allowedSubAgents;
|
|
78
|
+
resourceInputs["allowedTools"] = args?.allowedTools;
|
|
79
|
+
resourceInputs["allowedUsers"] = args?.allowedUsers;
|
|
80
|
+
resourceInputs["assignedSkills"] = args?.assignedSkills;
|
|
57
81
|
resourceInputs["botId"] = args?.botId;
|
|
82
|
+
resourceInputs["deniedUsers"] = args?.deniedUsers;
|
|
83
|
+
resourceInputs["filterPolicies"] = args?.filterPolicies;
|
|
84
|
+
resourceInputs["guardrailPreset"] = args?.guardrailPreset;
|
|
85
|
+
resourceInputs["homeTabContent"] = args?.homeTabContent;
|
|
58
86
|
resourceInputs["keywords"] = args?.keywords;
|
|
59
87
|
resourceInputs["keywordsEnabled"] = args?.keywordsEnabled;
|
|
88
|
+
resourceInputs["longContext"] = args?.longContext;
|
|
89
|
+
resourceInputs["maxTokens"] = args?.maxTokens;
|
|
90
|
+
resourceInputs["modelId"] = args?.modelId;
|
|
91
|
+
resourceInputs["name"] = args?.name;
|
|
60
92
|
resourceInputs["organisation"] = args?.organisation;
|
|
61
93
|
resourceInputs["sessionTtlDays"] = args?.sessionTtlDays;
|
|
62
94
|
resourceInputs["setupType"] = args?.setupType;
|
|
63
|
-
resourceInputs["
|
|
95
|
+
resourceInputs["systemPrompt"] = args?.systemPrompt;
|
|
96
|
+
resourceInputs["temperature"] = args?.temperature;
|
|
64
97
|
resourceInputs["bot"] = undefined /*out*/;
|
|
65
98
|
}
|
|
66
99
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/slackBot.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slackBot.js","sourceRoot":"","sources":["../slackBot.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;Q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,4BA4MC;AA9LG,gBAAgB;AACO,qBAAY,GAAG,sBAAsB,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -32,6 +32,26 @@ export interface AiAgentAgent {
|
|
|
32
32
|
temperature?: pulumi.Input<number>;
|
|
33
33
|
updatedAt?: pulumi.Input<string>;
|
|
34
34
|
}
|
|
35
|
+
export interface AiCustomToolInputSchema {
|
|
36
|
+
}
|
|
37
|
+
export interface AiCustomToolOutputSchema {
|
|
38
|
+
}
|
|
39
|
+
export interface AiCustomToolTool {
|
|
40
|
+
category?: pulumi.Input<string>;
|
|
41
|
+
createdAt?: pulumi.Input<string>;
|
|
42
|
+
description?: pulumi.Input<string>;
|
|
43
|
+
edgeFunctionUrl?: pulumi.Input<string>;
|
|
44
|
+
inputSchema?: pulumi.Input<inputs.AiCustomToolToolInputSchema>;
|
|
45
|
+
isAsync?: pulumi.Input<boolean>;
|
|
46
|
+
name?: pulumi.Input<string>;
|
|
47
|
+
outputSchema?: pulumi.Input<inputs.AiCustomToolToolOutputSchema>;
|
|
48
|
+
outputSchemaDescription?: pulumi.Input<string>;
|
|
49
|
+
responseMode?: pulumi.Input<string>;
|
|
50
|
+
}
|
|
51
|
+
export interface AiCustomToolToolInputSchema {
|
|
52
|
+
}
|
|
53
|
+
export interface AiCustomToolToolOutputSchema {
|
|
54
|
+
}
|
|
35
55
|
export interface AiGovernanceConfig {
|
|
36
56
|
}
|
|
37
57
|
export interface AiGovernanceSpendLimits {
|
|
@@ -1142,17 +1162,36 @@ export interface RuleServeStaticActionConfig {
|
|
|
1142
1162
|
*/
|
|
1143
1163
|
staticFilePath?: pulumi.Input<string>;
|
|
1144
1164
|
}
|
|
1165
|
+
export interface SlackBotAgentAccessControl {
|
|
1166
|
+
}
|
|
1145
1167
|
export interface SlackBotBot {
|
|
1146
|
-
|
|
1168
|
+
agentAccessControl?: pulumi.Input<inputs.SlackBotBotAgentAccessControl>;
|
|
1169
|
+
allowGuests?: pulumi.Input<boolean>;
|
|
1147
1170
|
allowedChannels?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1171
|
+
allowedCollections?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1172
|
+
allowedSubAgents?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1173
|
+
allowedTools?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1174
|
+
allowedUsers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1175
|
+
assignedSkills?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1148
1176
|
botId?: pulumi.Input<string>;
|
|
1149
1177
|
connected?: pulumi.Input<boolean>;
|
|
1150
1178
|
createdAt?: pulumi.Input<string>;
|
|
1179
|
+
deniedUsers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1180
|
+
filterPolicies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1181
|
+
guardrailPreset?: pulumi.Input<string>;
|
|
1182
|
+
homeTabContent?: pulumi.Input<string>;
|
|
1151
1183
|
keywords?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1152
1184
|
keywordsEnabled?: pulumi.Input<boolean>;
|
|
1185
|
+
longContext?: pulumi.Input<boolean>;
|
|
1186
|
+
maxTokens?: pulumi.Input<number>;
|
|
1187
|
+
modelId?: pulumi.Input<string>;
|
|
1188
|
+
name?: pulumi.Input<string>;
|
|
1153
1189
|
sessionTtlDays?: pulumi.Input<number>;
|
|
1154
1190
|
setupType?: pulumi.Input<string>;
|
|
1155
|
-
slashCommands?: pulumi.Input<pulumi.Input<string>[]>;
|
|
1156
1191
|
status?: pulumi.Input<string>;
|
|
1192
|
+
systemPrompt?: pulumi.Input<string>;
|
|
1193
|
+
temperature?: pulumi.Input<number>;
|
|
1157
1194
|
updatedAt?: pulumi.Input<string>;
|
|
1158
1195
|
}
|
|
1196
|
+
export interface SlackBotBotAgentAccessControl {
|
|
1197
|
+
}
|
package/types/output.d.ts
CHANGED
|
@@ -31,6 +31,26 @@ export interface AiAgentAgent {
|
|
|
31
31
|
temperature: number;
|
|
32
32
|
updatedAt: string;
|
|
33
33
|
}
|
|
34
|
+
export interface AiCustomToolInputSchema {
|
|
35
|
+
}
|
|
36
|
+
export interface AiCustomToolOutputSchema {
|
|
37
|
+
}
|
|
38
|
+
export interface AiCustomToolTool {
|
|
39
|
+
category: string;
|
|
40
|
+
createdAt: string;
|
|
41
|
+
description: string;
|
|
42
|
+
edgeFunctionUrl: string;
|
|
43
|
+
inputSchema: outputs.AiCustomToolToolInputSchema;
|
|
44
|
+
isAsync: boolean;
|
|
45
|
+
name: string;
|
|
46
|
+
outputSchema: outputs.AiCustomToolToolOutputSchema;
|
|
47
|
+
outputSchemaDescription: string;
|
|
48
|
+
responseMode: string;
|
|
49
|
+
}
|
|
50
|
+
export interface AiCustomToolToolInputSchema {
|
|
51
|
+
}
|
|
52
|
+
export interface AiCustomToolToolOutputSchema {
|
|
53
|
+
}
|
|
34
54
|
export interface AiGovernanceConfig {
|
|
35
55
|
}
|
|
36
56
|
export interface AiGovernanceSpendLimits {
|
|
@@ -1145,17 +1165,36 @@ export interface RuleServeStaticActionConfig {
|
|
|
1145
1165
|
*/
|
|
1146
1166
|
staticFilePath: string;
|
|
1147
1167
|
}
|
|
1168
|
+
export interface SlackBotAgentAccessControl {
|
|
1169
|
+
}
|
|
1148
1170
|
export interface SlackBotBot {
|
|
1149
|
-
|
|
1171
|
+
agentAccessControl: outputs.SlackBotBotAgentAccessControl;
|
|
1172
|
+
allowGuests: boolean;
|
|
1150
1173
|
allowedChannels: string[];
|
|
1174
|
+
allowedCollections: string[];
|
|
1175
|
+
allowedSubAgents: string[];
|
|
1176
|
+
allowedTools: string[];
|
|
1177
|
+
allowedUsers: string[];
|
|
1178
|
+
assignedSkills: string[];
|
|
1151
1179
|
botId: string;
|
|
1152
1180
|
connected: boolean;
|
|
1153
1181
|
createdAt: string;
|
|
1182
|
+
deniedUsers: string[];
|
|
1183
|
+
filterPolicies: string[];
|
|
1184
|
+
guardrailPreset: string;
|
|
1185
|
+
homeTabContent: string;
|
|
1154
1186
|
keywords: string[];
|
|
1155
1187
|
keywordsEnabled: boolean;
|
|
1188
|
+
longContext: boolean;
|
|
1189
|
+
maxTokens: number;
|
|
1190
|
+
modelId: string;
|
|
1191
|
+
name: string;
|
|
1156
1192
|
sessionTtlDays: number;
|
|
1157
1193
|
setupType: string;
|
|
1158
|
-
slashCommands: string[];
|
|
1159
1194
|
status: string;
|
|
1195
|
+
systemPrompt: string;
|
|
1196
|
+
temperature: number;
|
|
1160
1197
|
updatedAt: string;
|
|
1161
1198
|
}
|
|
1199
|
+
export interface SlackBotBotAgentAccessControl {
|
|
1200
|
+
}
|