syllable-sdk 0.1.0-alpha.57 → 0.1.0-alpha.59
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/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mintlify/mint.json +19 -27
- package/models/components/promptcreaterequest.d.ts +1 -1
- package/models/components/promptresponse.d.ts +8 -0
- package/models/components/promptresponse.d.ts.map +1 -1
- package/models/components/promptresponse.js +5 -0
- package/models/components/promptresponse.js.map +1 -1
- package/models/components/promptupdaterequest.d.ts +1 -1
- package/models/components/sessionaction.d.ts +5 -0
- package/models/components/sessionaction.d.ts.map +1 -1
- package/models/components/sessionaction.js +4 -0
- package/models/components/sessionaction.js.map +1 -1
- package/openapi.json +31 -3
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/promptcreaterequest.ts +1 -1
- package/src/models/components/promptresponse.ts +17 -0
- package/src/models/components/promptupdaterequest.ts +1 -1
- package/src/models/components/sessionaction.ts +9 -0
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -27,8 +27,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
27
27
|
export declare const SDK_METADATA: {
|
|
28
28
|
readonly language: "typescript";
|
|
29
29
|
readonly openapiDocVersion: "0.0.2";
|
|
30
|
-
readonly sdkVersion: "0.1.0-alpha.
|
|
30
|
+
readonly sdkVersion: "0.1.0-alpha.59";
|
|
31
31
|
readonly genVersion: "2.512.4";
|
|
32
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.
|
|
32
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.59 2.512.4 0.0.2 syllable-sdk";
|
|
33
33
|
};
|
|
34
34
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -31,8 +31,8 @@ function serverURLFromOptions(options) {
|
|
|
31
31
|
exports.SDK_METADATA = {
|
|
32
32
|
language: "typescript",
|
|
33
33
|
openapiDocVersion: "0.0.2",
|
|
34
|
-
sdkVersion: "0.1.0-alpha.
|
|
34
|
+
sdkVersion: "0.1.0-alpha.59",
|
|
35
35
|
genVersion: "2.512.4",
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.59 2.512.4 0.0.2 syllable-sdk",
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.js.map
|
package/mintlify/mint.json
CHANGED
|
@@ -53,44 +53,36 @@
|
|
|
53
53
|
"pages": [
|
|
54
54
|
"introsyllable/HowSyllableWorks",
|
|
55
55
|
"introsyllable/KeyFeatures",
|
|
56
|
-
"introsyllable/LoginSignup"
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
56
|
+
"introsyllable/LoginSignup",
|
|
57
|
+
{
|
|
58
|
+
"group": "Build your first agent",
|
|
59
|
+
"pages": [
|
|
60
|
+
"buildFirstAgent/Quickstart",
|
|
61
|
+
"buildFirstAgent/CreatePrompt",
|
|
62
|
+
"buildFirstAgent/CreateDataSource",
|
|
63
|
+
"buildFirstAgent/CreateTools",
|
|
64
|
+
"buildFirstAgent/CreateMessage",
|
|
65
|
+
"buildFirstAgent/CreateAgent"
|
|
66
|
+
]
|
|
67
|
+
}
|
|
67
68
|
]
|
|
68
69
|
},
|
|
69
70
|
{
|
|
70
71
|
"group": "Workspaces",
|
|
71
72
|
"pages": [
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
"pages": [
|
|
75
|
-
"workspaces/Agents",
|
|
76
|
-
"workspaces/SessionConfig"
|
|
77
|
-
]
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
"group": "Insights",
|
|
81
|
-
"pages": [
|
|
82
|
-
"workspaces/SessionList",
|
|
83
|
-
"workspaces/SessionDetails"
|
|
84
|
-
]
|
|
85
|
-
}
|
|
73
|
+
"workspaces/Agents",
|
|
74
|
+
"workspaces/Sessions"
|
|
86
75
|
]
|
|
87
76
|
},
|
|
88
77
|
{
|
|
89
78
|
"group": "Resources",
|
|
90
79
|
"pages": [
|
|
91
|
-
"Resources/
|
|
92
|
-
"Resources/Tools",
|
|
80
|
+
"Resources/Channels",
|
|
93
81
|
"Resources/DataSources",
|
|
82
|
+
"Resources/LanguageGroups",
|
|
83
|
+
"Resources/Messages",
|
|
84
|
+
"Resources/Prompts",
|
|
85
|
+
"Resources/Tools",
|
|
94
86
|
"Resources/TelephonyIntegration",
|
|
95
87
|
"Resources/Webchat"
|
|
96
88
|
]
|
|
@@ -25,7 +25,7 @@ export type PromptCreateRequest = {
|
|
|
25
25
|
tools?: Array<string> | undefined;
|
|
26
26
|
llmConfig: PromptLlmConfig;
|
|
27
27
|
/**
|
|
28
|
-
* Whether to include the default tools (`
|
|
28
|
+
* Whether to include the default tools (`hangup`, `summary`) in the list of tools for the prompt. If you disable this during creation, you might want to disable it during updates as well, otherwise the default tools will be added when updating the prompt.
|
|
29
29
|
*/
|
|
30
30
|
includeDefaultTools?: boolean | undefined;
|
|
31
31
|
};
|
|
@@ -2,6 +2,7 @@ import * as z from "zod";
|
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
4
|
import { PromptLlmConfig, PromptLlmConfig$Outbound } from "./promptllmconfig.js";
|
|
5
|
+
import { ToolResponse, ToolResponse$Outbound } from "./toolresponse.js";
|
|
5
6
|
/**
|
|
6
7
|
* A prompt defines the behavior of an agent by delivering instructions to the LLM about how the
|
|
7
8
|
*
|
|
@@ -28,6 +29,8 @@ export type PromptResponse = {
|
|
|
28
29
|
context?: string | null | undefined;
|
|
29
30
|
/**
|
|
30
31
|
* Names of the tools to which the prompt has access
|
|
32
|
+
*
|
|
33
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
31
34
|
*/
|
|
32
35
|
tools?: Array<string> | undefined;
|
|
33
36
|
llmConfig: PromptLlmConfig;
|
|
@@ -51,6 +54,10 @@ export type PromptResponse = {
|
|
|
51
54
|
* The number of agents using the prompt
|
|
52
55
|
*/
|
|
53
56
|
agentCount?: number | null | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* Tools to which the prompt has access
|
|
59
|
+
*/
|
|
60
|
+
toolsFull?: Array<ToolResponse> | null | undefined;
|
|
54
61
|
};
|
|
55
62
|
/** @internal */
|
|
56
63
|
export declare const PromptResponse$inboundSchema: z.ZodType<PromptResponse, z.ZodTypeDef, unknown>;
|
|
@@ -67,6 +74,7 @@ export type PromptResponse$Outbound = {
|
|
|
67
74
|
last_updated: string | null;
|
|
68
75
|
last_updated_by?: string | null | undefined;
|
|
69
76
|
agent_count?: number | null | undefined;
|
|
77
|
+
tools_full?: Array<ToolResponse$Outbound> | null | undefined;
|
|
70
78
|
};
|
|
71
79
|
/** @internal */
|
|
72
80
|
export declare const PromptResponse$outboundSchema: z.ZodType<PromptResponse$Outbound, z.ZodTypeDef, PromptResponse>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promptresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/promptresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,eAAe,EAEf,wBAAwB,EAEzB,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"promptresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/promptresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EA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,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IAClC,UAAU,EAAE,wBAAwB,CAAC;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1C,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC5C,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC,UAAU,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;CAC9D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CACnD,uBAAuB,EACvB,CAAC,CAAC,UAAU,EACZ,cAAc,CAuBd,CAAC;AAEH;;;GAGG;AACH,yBAAiB,eAAe,CAAC;IAC/B,8DAA8D;IACvD,MAAM,aAAa,kDAA+B,CAAC;IAC1D,+DAA+D;IACxD,MAAM,cAAc,kEAAgC,CAAC;IAC5D,yDAAyD;IACzD,KAAY,QAAQ,GAAG,uBAAuB,CAAC;CAChD;AAED,wBAAgB,oBAAoB,CAAC,cAAc,EAAE,cAAc,GAAG,MAAM,CAE3E;AAED,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,cAAc,EAAE,kBAAkB,CAAC,CAMrD"}
|
|
@@ -33,6 +33,7 @@ const z = __importStar(require("zod"));
|
|
|
33
33
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
34
34
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
35
35
|
const promptllmconfig_js_1 = require("./promptllmconfig.js");
|
|
36
|
+
const toolresponse_js_1 = require("./toolresponse.js");
|
|
36
37
|
/** @internal */
|
|
37
38
|
exports.PromptResponse$inboundSchema = z.object({
|
|
38
39
|
name: z.string(),
|
|
@@ -46,6 +47,7 @@ exports.PromptResponse$inboundSchema = z.object({
|
|
|
46
47
|
last_updated: z.nullable(z.string()),
|
|
47
48
|
last_updated_by: z.nullable(z.string()).optional(),
|
|
48
49
|
agent_count: z.nullable(z.number().int()).optional(),
|
|
50
|
+
tools_full: z.nullable(z.array(toolresponse_js_1.ToolResponse$inboundSchema)).optional(),
|
|
49
51
|
}).transform((v) => {
|
|
50
52
|
return (0, primitives_js_1.remap)(v, {
|
|
51
53
|
"llm_config": "llmConfig",
|
|
@@ -53,6 +55,7 @@ exports.PromptResponse$inboundSchema = z.object({
|
|
|
53
55
|
"last_updated": "lastUpdated",
|
|
54
56
|
"last_updated_by": "lastUpdatedBy",
|
|
55
57
|
"agent_count": "agentCount",
|
|
58
|
+
"tools_full": "toolsFull",
|
|
56
59
|
});
|
|
57
60
|
});
|
|
58
61
|
/** @internal */
|
|
@@ -68,6 +71,7 @@ exports.PromptResponse$outboundSchema = z.object({
|
|
|
68
71
|
lastUpdated: z.nullable(z.string()),
|
|
69
72
|
lastUpdatedBy: z.nullable(z.string()).optional(),
|
|
70
73
|
agentCount: z.nullable(z.number().int()).optional(),
|
|
74
|
+
toolsFull: z.nullable(z.array(toolresponse_js_1.ToolResponse$outboundSchema)).optional(),
|
|
71
75
|
}).transform((v) => {
|
|
72
76
|
return (0, primitives_js_1.remap)(v, {
|
|
73
77
|
llmConfig: "llm_config",
|
|
@@ -75,6 +79,7 @@ exports.PromptResponse$outboundSchema = z.object({
|
|
|
75
79
|
lastUpdated: "last_updated",
|
|
76
80
|
lastUpdatedBy: "last_updated_by",
|
|
77
81
|
agentCount: "agent_count",
|
|
82
|
+
toolsFull: "tools_full",
|
|
78
83
|
});
|
|
79
84
|
});
|
|
80
85
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promptresponse.js","sourceRoot":"","sources":["../../src/models/components/promptresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"promptresponse.js","sourceRoot":"","sources":["../../src/models/components/promptresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAoKH,oDAEC;AAED,wDAQC;AA9KD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,6DAK8B;AAC9B,uDAK2B;AA2D3B,gBAAgB;AACH,QAAA,4BAA4B,GAIrC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC9C,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC1C,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACrC,UAAU,EAAE,kDAA6B;IACzC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACpB,aAAa,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAChD,YAAY,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACpC,eAAe,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAClD,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAA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C,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IACnD,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,6CAA2B,CAAC,CAAC,CAAC,QAAQ,EAAE;CACvE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,YAAY;QACvB,YAAY,EAAE,eAAe;QAC7B,WAAW,EAAE,cAAc;QAC3B,aAAa,EAAE,iBAAiB;QAChC,UAAU,EAAE,aAAa;QACzB,SAAS,EAAE,YAAY;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,eAAe,CAO/B;AAPD,WAAiB,eAAe;IAC9B,8DAA8D;IACjD,6BAAa,GAAG,oCAA4B,CAAC;IAC1D,+DAA+D;IAClD,8BAAc,GAAG,qCAA6B,CAAC;AAG9D,CAAC,EAPgB,eAAe,+BAAf,eAAe,QAO/B;AAED,SAAgB,oBAAoB,CAAC,cAA8B;IACjE,OAAO,IAAI,CAAC,SAAS,CAAC,qCAA6B,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC;AAC7E,CAAC;AAED,SAAgB,sBAAsB,CACpC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,oCAA4B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxD,4CAA4C,CAC7C,CAAC;AACJ,CAAC"}
|
|
@@ -33,7 +33,7 @@ export type PromptUpdateRequest = {
|
|
|
33
33
|
*/
|
|
34
34
|
editComments?: string | null | undefined;
|
|
35
35
|
/**
|
|
36
|
-
* Whether to include the default tools (`
|
|
36
|
+
* Whether to include the default tools (`hangup`, `summary`) in the list of tools for the prompt. If you remove one of the default tools from your prompt, you might want to disable this option so that the tool is not added again when updated.
|
|
37
37
|
*/
|
|
38
38
|
includeDefaultTools?: boolean | undefined;
|
|
39
39
|
};
|
|
@@ -21,6 +21,10 @@ export type SessionAction = {
|
|
|
21
21
|
* Response received from the tool API, if applicable
|
|
22
22
|
*/
|
|
23
23
|
toolResult?: string | null | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* Error received from the tool API, if applicable
|
|
26
|
+
*/
|
|
27
|
+
toolError?: string | null | undefined;
|
|
24
28
|
};
|
|
25
29
|
/** @internal */
|
|
26
30
|
export declare const SessionAction$inboundSchema: z.ZodType<SessionAction, z.ZodTypeDef, unknown>;
|
|
@@ -30,6 +34,7 @@ export type SessionAction$Outbound = {
|
|
|
30
34
|
tool_name?: string | null | undefined;
|
|
31
35
|
tool_request?: string | null | undefined;
|
|
32
36
|
tool_result?: string | null | undefined;
|
|
37
|
+
tool_error?: string | null | undefined;
|
|
33
38
|
};
|
|
34
39
|
/** @internal */
|
|
35
40
|
export declare const SessionAction$outboundSchema: z.ZodType<SessionAction$Outbound, z.ZodTypeDef, SessionAction>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sessionaction.d.ts","sourceRoot":"","sources":["../../src/models/components/sessionaction.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,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GAGG;AACH,yBAAiB,cAAc,CAAC;IAC9B,6DAA6D;IACtD,MAAM,aAAa,iDAA8B,CAAC;IACzD,8DAA8D;IACvD,MAAM,cAAc,gEAA+B,CAAC;IAC3D,wDAAwD;IACxD,KAAY,QAAQ,GAAG,sBAAsB,CAAC;CAC/C;AAED,wBAAgB,mBAAmB,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAExE;AAED,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,aAAa,EAAE,kBAAkB,CAAC,CAMpD"}
|
|
@@ -38,11 +38,13 @@ exports.SessionAction$inboundSchema = z.object({
|
|
|
38
38
|
tool_name: z.nullable(z.string()).optional(),
|
|
39
39
|
tool_request: z.nullable(z.string()).optional(),
|
|
40
40
|
tool_result: z.nullable(z.string()).optional(),
|
|
41
|
+
tool_error: z.nullable(z.string()).optional(),
|
|
41
42
|
}).transform((v) => {
|
|
42
43
|
return (0, primitives_js_1.remap)(v, {
|
|
43
44
|
"tool_name": "toolName",
|
|
44
45
|
"tool_request": "toolRequest",
|
|
45
46
|
"tool_result": "toolResult",
|
|
47
|
+
"tool_error": "toolError",
|
|
46
48
|
});
|
|
47
49
|
});
|
|
48
50
|
/** @internal */
|
|
@@ -51,11 +53,13 @@ exports.SessionAction$outboundSchema = z.object({
|
|
|
51
53
|
toolName: z.nullable(z.string()).optional(),
|
|
52
54
|
toolRequest: z.nullable(z.string()).optional(),
|
|
53
55
|
toolResult: z.nullable(z.string()).optional(),
|
|
56
|
+
toolError: z.nullable(z.string()).optional(),
|
|
54
57
|
}).transform((v) => {
|
|
55
58
|
return (0, primitives_js_1.remap)(v, {
|
|
56
59
|
toolName: "tool_name",
|
|
57
60
|
toolRequest: "tool_request",
|
|
58
61
|
toolResult: "tool_result",
|
|
62
|
+
toolError: "tool_error",
|
|
59
63
|
});
|
|
60
64
|
});
|
|
61
65
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sessionaction.js","sourceRoot":"","sources":["../../src/models/components/sessionaction.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"sessionaction.js","sourceRoot":"","sources":["../../src/models/components/sessionaction.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAgGH,kDAEC;AAED,sDAQC;AA1GD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AA8BjD,gBAAgB;AACH,QAAA,2BAA2B,GAIpC,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;IAC5E,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC5C,YAAY,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC/C,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC9C,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CAC9C,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,WAAW,EAAE,UAAU;QACvB,cAAc,EAAE,aAAa;QAC7B,aAAa,EAAE,YAAY;QAC3B,YAAY,EAAE,WAAW;KAC1B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAWH,gBAAgB;AACH,QAAA,4BAA4B,GAIrC,CAAC,CAAC,MAAM,CAAC;IACX,SAAS,E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CAA2C,CAC5C,CAAC;AACJ,CAAC"}
|
package/openapi.json
CHANGED
|
@@ -11919,7 +11919,7 @@
|
|
|
11919
11919
|
"include_default_tools": {
|
|
11920
11920
|
"type": "boolean",
|
|
11921
11921
|
"title": "Include Default Tools",
|
|
11922
|
-
"description": "Whether to include the default tools (`
|
|
11922
|
+
"description": "Whether to include the default tools (`hangup`, `summary`) in the list of tools for the prompt. If you disable this during creation, you might want to disable it during updates as well, otherwise the default tools will be added when updating the prompt.",
|
|
11923
11923
|
"default": true
|
|
11924
11924
|
}
|
|
11925
11925
|
},
|
|
@@ -12131,7 +12131,8 @@
|
|
|
12131
12131
|
"type": "array",
|
|
12132
12132
|
"title": "Tools",
|
|
12133
12133
|
"description": "Names of the tools to which the prompt has access",
|
|
12134
|
-
"default": []
|
|
12134
|
+
"default": [],
|
|
12135
|
+
"deprecated": true
|
|
12135
12136
|
},
|
|
12136
12137
|
"llm_config": {
|
|
12137
12138
|
"$ref": "#/components/schemas/PromptLlmConfig",
|
|
@@ -12192,6 +12193,21 @@
|
|
|
12192
12193
|
],
|
|
12193
12194
|
"title": "Agent Count",
|
|
12194
12195
|
"description": "The number of agents using the prompt"
|
|
12196
|
+
},
|
|
12197
|
+
"tools_full": {
|
|
12198
|
+
"anyOf": [
|
|
12199
|
+
{
|
|
12200
|
+
"items": {
|
|
12201
|
+
"$ref": "#/components/schemas/ToolResponse"
|
|
12202
|
+
},
|
|
12203
|
+
"type": "array"
|
|
12204
|
+
},
|
|
12205
|
+
{
|
|
12206
|
+
"type": "null"
|
|
12207
|
+
}
|
|
12208
|
+
],
|
|
12209
|
+
"title": "Tools Full",
|
|
12210
|
+
"description": "Tools to which the prompt has access"
|
|
12195
12211
|
}
|
|
12196
12212
|
},
|
|
12197
12213
|
"type": "object",
|
|
@@ -12274,7 +12290,7 @@
|
|
|
12274
12290
|
"include_default_tools": {
|
|
12275
12291
|
"type": "boolean",
|
|
12276
12292
|
"title": "Include Default Tools",
|
|
12277
|
-
"description": "Whether to include the default tools (`
|
|
12293
|
+
"description": "Whether to include the default tools (`hangup`, `summary`) in the list of tools for the prompt. If you remove one of the default tools from your prompt, you might want to disable this option so that the tool is not added again when updated.",
|
|
12278
12294
|
"default": true
|
|
12279
12295
|
}
|
|
12280
12296
|
},
|
|
@@ -12717,6 +12733,18 @@
|
|
|
12717
12733
|
],
|
|
12718
12734
|
"title": "Tool Result",
|
|
12719
12735
|
"description": "Response received from the tool API, if applicable"
|
|
12736
|
+
},
|
|
12737
|
+
"tool_error": {
|
|
12738
|
+
"anyOf": [
|
|
12739
|
+
{
|
|
12740
|
+
"type": "string"
|
|
12741
|
+
},
|
|
12742
|
+
{
|
|
12743
|
+
"type": "null"
|
|
12744
|
+
}
|
|
12745
|
+
],
|
|
12746
|
+
"title": "Tool Error",
|
|
12747
|
+
"description": "Error received from the tool API, if applicable"
|
|
12720
12748
|
}
|
|
12721
12749
|
},
|
|
12722
12750
|
"type": "object",
|
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -57,8 +57,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
57
57
|
export const SDK_METADATA = {
|
|
58
58
|
language: "typescript",
|
|
59
59
|
openapiDocVersion: "0.0.2",
|
|
60
|
-
sdkVersion: "0.1.0-alpha.
|
|
60
|
+
sdkVersion: "0.1.0-alpha.59",
|
|
61
61
|
genVersion: "2.512.4",
|
|
62
62
|
userAgent:
|
|
63
|
-
"speakeasy-sdk/typescript 0.1.0-alpha.
|
|
63
|
+
"speakeasy-sdk/typescript 0.1.0-alpha.59 2.512.4 0.0.2 syllable-sdk",
|
|
64
64
|
} as const;
|
|
@@ -37,7 +37,7 @@ export type PromptCreateRequest = {
|
|
|
37
37
|
tools?: Array<string> | undefined;
|
|
38
38
|
llmConfig: PromptLlmConfig;
|
|
39
39
|
/**
|
|
40
|
-
* Whether to include the default tools (`
|
|
40
|
+
* Whether to include the default tools (`hangup`, `summary`) in the list of tools for the prompt. If you disable this during creation, you might want to disable it during updates as well, otherwise the default tools will be added when updating the prompt.
|
|
41
41
|
*/
|
|
42
42
|
includeDefaultTools?: boolean | undefined;
|
|
43
43
|
};
|
|
@@ -13,6 +13,12 @@ import {
|
|
|
13
13
|
PromptLlmConfig$Outbound,
|
|
14
14
|
PromptLlmConfig$outboundSchema,
|
|
15
15
|
} from "./promptllmconfig.js";
|
|
16
|
+
import {
|
|
17
|
+
ToolResponse,
|
|
18
|
+
ToolResponse$inboundSchema,
|
|
19
|
+
ToolResponse$Outbound,
|
|
20
|
+
ToolResponse$outboundSchema,
|
|
21
|
+
} from "./toolresponse.js";
|
|
16
22
|
|
|
17
23
|
/**
|
|
18
24
|
* A prompt defines the behavior of an agent by delivering instructions to the LLM about how the
|
|
@@ -40,6 +46,8 @@ export type PromptResponse = {
|
|
|
40
46
|
context?: string | null | undefined;
|
|
41
47
|
/**
|
|
42
48
|
* Names of the tools to which the prompt has access
|
|
49
|
+
*
|
|
50
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
43
51
|
*/
|
|
44
52
|
tools?: Array<string> | undefined;
|
|
45
53
|
llmConfig: PromptLlmConfig;
|
|
@@ -63,6 +71,10 @@ export type PromptResponse = {
|
|
|
63
71
|
* The number of agents using the prompt
|
|
64
72
|
*/
|
|
65
73
|
agentCount?: number | null | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* Tools to which the prompt has access
|
|
76
|
+
*/
|
|
77
|
+
toolsFull?: Array<ToolResponse> | null | undefined;
|
|
66
78
|
};
|
|
67
79
|
|
|
68
80
|
/** @internal */
|
|
@@ -82,6 +94,7 @@ export const PromptResponse$inboundSchema: z.ZodType<
|
|
|
82
94
|
last_updated: z.nullable(z.string()),
|
|
83
95
|
last_updated_by: z.nullable(z.string()).optional(),
|
|
84
96
|
agent_count: z.nullable(z.number().int()).optional(),
|
|
97
|
+
tools_full: z.nullable(z.array(ToolResponse$inboundSchema)).optional(),
|
|
85
98
|
}).transform((v) => {
|
|
86
99
|
return remap$(v, {
|
|
87
100
|
"llm_config": "llmConfig",
|
|
@@ -89,6 +102,7 @@ export const PromptResponse$inboundSchema: z.ZodType<
|
|
|
89
102
|
"last_updated": "lastUpdated",
|
|
90
103
|
"last_updated_by": "lastUpdatedBy",
|
|
91
104
|
"agent_count": "agentCount",
|
|
105
|
+
"tools_full": "toolsFull",
|
|
92
106
|
});
|
|
93
107
|
});
|
|
94
108
|
|
|
@@ -105,6 +119,7 @@ export type PromptResponse$Outbound = {
|
|
|
105
119
|
last_updated: string | null;
|
|
106
120
|
last_updated_by?: string | null | undefined;
|
|
107
121
|
agent_count?: number | null | undefined;
|
|
122
|
+
tools_full?: Array<ToolResponse$Outbound> | null | undefined;
|
|
108
123
|
};
|
|
109
124
|
|
|
110
125
|
/** @internal */
|
|
@@ -124,6 +139,7 @@ export const PromptResponse$outboundSchema: z.ZodType<
|
|
|
124
139
|
lastUpdated: z.nullable(z.string()),
|
|
125
140
|
lastUpdatedBy: z.nullable(z.string()).optional(),
|
|
126
141
|
agentCount: z.nullable(z.number().int()).optional(),
|
|
142
|
+
toolsFull: z.nullable(z.array(ToolResponse$outboundSchema)).optional(),
|
|
127
143
|
}).transform((v) => {
|
|
128
144
|
return remap$(v, {
|
|
129
145
|
llmConfig: "llm_config",
|
|
@@ -131,6 +147,7 @@ export const PromptResponse$outboundSchema: z.ZodType<
|
|
|
131
147
|
lastUpdated: "last_updated",
|
|
132
148
|
lastUpdatedBy: "last_updated_by",
|
|
133
149
|
agentCount: "agent_count",
|
|
150
|
+
toolsFull: "tools_full",
|
|
134
151
|
});
|
|
135
152
|
});
|
|
136
153
|
|
|
@@ -45,7 +45,7 @@ export type PromptUpdateRequest = {
|
|
|
45
45
|
*/
|
|
46
46
|
editComments?: string | null | undefined;
|
|
47
47
|
/**
|
|
48
|
-
* Whether to include the default tools (`
|
|
48
|
+
* Whether to include the default tools (`hangup`, `summary`) in the list of tools for the prompt. If you remove one of the default tools from your prompt, you might want to disable this option so that the tool is not added again when updated.
|
|
49
49
|
*/
|
|
50
50
|
includeDefaultTools?: boolean | undefined;
|
|
51
51
|
};
|
|
@@ -28,6 +28,10 @@ export type SessionAction = {
|
|
|
28
28
|
* Response received from the tool API, if applicable
|
|
29
29
|
*/
|
|
30
30
|
toolResult?: string | null | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* Error received from the tool API, if applicable
|
|
33
|
+
*/
|
|
34
|
+
toolError?: string | null | undefined;
|
|
31
35
|
};
|
|
32
36
|
|
|
33
37
|
/** @internal */
|
|
@@ -40,11 +44,13 @@ export const SessionAction$inboundSchema: z.ZodType<
|
|
|
40
44
|
tool_name: z.nullable(z.string()).optional(),
|
|
41
45
|
tool_request: z.nullable(z.string()).optional(),
|
|
42
46
|
tool_result: z.nullable(z.string()).optional(),
|
|
47
|
+
tool_error: z.nullable(z.string()).optional(),
|
|
43
48
|
}).transform((v) => {
|
|
44
49
|
return remap$(v, {
|
|
45
50
|
"tool_name": "toolName",
|
|
46
51
|
"tool_request": "toolRequest",
|
|
47
52
|
"tool_result": "toolResult",
|
|
53
|
+
"tool_error": "toolError",
|
|
48
54
|
});
|
|
49
55
|
});
|
|
50
56
|
|
|
@@ -54,6 +60,7 @@ export type SessionAction$Outbound = {
|
|
|
54
60
|
tool_name?: string | null | undefined;
|
|
55
61
|
tool_request?: string | null | undefined;
|
|
56
62
|
tool_result?: string | null | undefined;
|
|
63
|
+
tool_error?: string | null | undefined;
|
|
57
64
|
};
|
|
58
65
|
|
|
59
66
|
/** @internal */
|
|
@@ -66,11 +73,13 @@ export const SessionAction$outboundSchema: z.ZodType<
|
|
|
66
73
|
toolName: z.nullable(z.string()).optional(),
|
|
67
74
|
toolRequest: z.nullable(z.string()).optional(),
|
|
68
75
|
toolResult: z.nullable(z.string()).optional(),
|
|
76
|
+
toolError: z.nullable(z.string()).optional(),
|
|
69
77
|
}).transform((v) => {
|
|
70
78
|
return remap$(v, {
|
|
71
79
|
toolName: "tool_name",
|
|
72
80
|
toolRequest: "tool_request",
|
|
73
81
|
toolResult: "tool_result",
|
|
82
|
+
toolError: "tool_error",
|
|
74
83
|
});
|
|
75
84
|
});
|
|
76
85
|
|