syllable-sdk 1.0.2-rc.6 → 1.0.2-rc.7
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/bin/mcp-server.js +13 -9
- package/bin/mcp-server.js.map +8 -8
- package/docs/sdks/prompts/README.md +4 -2
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/promptcreaterequest.d.ts +5 -0
- package/models/components/promptcreaterequest.d.ts.map +1 -1
- package/models/components/promptcreaterequest.js +4 -0
- package/models/components/promptcreaterequest.js.map +1 -1
- package/models/components/promptresponse.d.ts +5 -5
- package/models/components/promptresponse.d.ts.map +1 -1
- package/models/components/promptresponse.js +2 -2
- package/models/components/promptresponse.js.map +1 -1
- package/models/components/promptupdaterequest.d.ts +5 -5
- package/models/components/promptupdaterequest.d.ts.map +1 -1
- package/models/components/promptupdaterequest.js +2 -2
- package/models/components/promptupdaterequest.js.map +1 -1
- package/openapi.json +31 -16
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/promptcreaterequest.ts +9 -0
- package/src/models/components/promptresponse.ts +7 -7
- package/src/models/components/promptupdaterequest.ts +7 -7
|
@@ -132,6 +132,7 @@ async function run() {
|
|
|
132
132
|
temperature: 1,
|
|
133
133
|
seed: 123,
|
|
134
134
|
},
|
|
135
|
+
editComments: "Updated prompt text to include requirement to not answer questions that aren't about weather.",
|
|
135
136
|
});
|
|
136
137
|
|
|
137
138
|
console.log(result);
|
|
@@ -167,6 +168,7 @@ async function run() {
|
|
|
167
168
|
temperature: 1,
|
|
168
169
|
seed: 123,
|
|
169
170
|
},
|
|
171
|
+
editComments: "Updated prompt text to include requirement to not answer questions that aren't about weather.",
|
|
170
172
|
});
|
|
171
173
|
if (res.ok) {
|
|
172
174
|
const { value: result } = res;
|
|
@@ -226,8 +228,8 @@ async function run() {
|
|
|
226
228
|
temperature: 1,
|
|
227
229
|
seed: 123,
|
|
228
230
|
},
|
|
229
|
-
id: 1,
|
|
230
231
|
editComments: "Updated prompt text to include requirement to not answer questions that aren't about weather.",
|
|
232
|
+
id: 1,
|
|
231
233
|
});
|
|
232
234
|
|
|
233
235
|
console.log(result);
|
|
@@ -263,8 +265,8 @@ async function run() {
|
|
|
263
265
|
temperature: 1,
|
|
264
266
|
seed: 123,
|
|
265
267
|
},
|
|
266
|
-
id: 1,
|
|
267
268
|
editComments: "Updated prompt text to include requirement to not answer questions that aren't about weather.",
|
|
269
|
+
id: 1,
|
|
268
270
|
});
|
|
269
271
|
if (res.ok) {
|
|
270
272
|
const { value: result } = res;
|
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "0.0.2";
|
|
34
|
-
readonly sdkVersion: "1.0.2-rc.
|
|
34
|
+
readonly sdkVersion: "1.0.2-rc.7";
|
|
35
35
|
readonly genVersion: "2.723.11";
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 1.0.2-rc.
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 1.0.2-rc.7 2.723.11 0.0.2 syllable-sdk";
|
|
37
37
|
};
|
|
38
38
|
//# 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: "1.0.2-rc.
|
|
34
|
+
sdkVersion: "1.0.2-rc.7",
|
|
35
35
|
genVersion: "2.723.11",
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 1.0.2-rc.
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 1.0.2-rc.7 2.723.11 0.0.2 syllable-sdk",
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.js.map
|
package/mcp-server/mcp-server.js
CHANGED
|
@@ -22,7 +22,7 @@ const routes = (0, core_1.buildRouteMap)({
|
|
|
22
22
|
exports.app = (0, core_1.buildApplication)(routes, {
|
|
23
23
|
name: "mcp",
|
|
24
24
|
versionInfo: {
|
|
25
|
-
currentVersion: "1.0.2-rc.
|
|
25
|
+
currentVersion: "1.0.2-rc.7",
|
|
26
26
|
},
|
|
27
27
|
});
|
|
28
28
|
(0, core_1.run)(exports.app, node_process_1.default.argv.slice(2), (0, cli_js_1.buildContext)(node_process_1.default));
|
package/mcp-server/server.js
CHANGED
|
@@ -157,7 +157,7 @@ const usersUsersSendEmail_js_1 = require("./tools/usersUsersSendEmail.js");
|
|
|
157
157
|
function createMCPServer(deps) {
|
|
158
158
|
const server = new mcp_js_1.McpServer({
|
|
159
159
|
name: "SyllableSDK",
|
|
160
|
-
version: "1.0.2-rc.
|
|
160
|
+
version: "1.0.2-rc.7",
|
|
161
161
|
});
|
|
162
162
|
const client = new core_js_1.SyllableSDKCore({
|
|
163
163
|
apiKeyHeader: deps.apiKeyHeader,
|
|
@@ -34,6 +34,10 @@ export type PromptCreateRequest = {
|
|
|
34
34
|
* Whether session end functionality is enabled for this prompt
|
|
35
35
|
*/
|
|
36
36
|
sessionEndEnabled?: boolean | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* The comments for the most recent edit to the prompt
|
|
39
|
+
*/
|
|
40
|
+
editComments?: string | null | undefined;
|
|
37
41
|
/**
|
|
38
42
|
* Whether to include the default tools (`hangup`) 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.
|
|
39
43
|
*/
|
|
@@ -50,6 +54,7 @@ export type PromptCreateRequest$Outbound = {
|
|
|
50
54
|
tools?: Array<string> | undefined;
|
|
51
55
|
llm_config: PromptLlmConfig$Outbound;
|
|
52
56
|
session_end_enabled: boolean;
|
|
57
|
+
edit_comments?: string | null | undefined;
|
|
53
58
|
include_default_tools: boolean;
|
|
54
59
|
};
|
|
55
60
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promptcreaterequest.d.ts","sourceRoot":"","sources":["../../src/models/components/promptcreaterequest.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;AAE9B;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,SAAS,EAAE,eAAe,CAAC;IAC3B;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC3C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,mBAAmB,EACnB,CAAC,CAAC,UAAU,EACZ,OAAO,
|
|
1
|
+
{"version":3,"file":"promptcreaterequest.d.ts","sourceRoot":"","sources":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K,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IAClC,UAAU,EAAE,wBAAwB,CAAC;IACrC,mBAAmB,EAAE,OAAO,CAAC;IAC7B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1C,qBAAqB,EAAE,OAAO,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,mBAAmB,CAkBnB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,oBAAoB,CAAC;IACpC,mEAAmE;IAC5D,MAAM,aAAa,uDAAoC,CAAC;IAC/D,oEAAoE;IAC7D,MAAM,cAAc,4EAAqC,CAAC;IACjE,8DAA8D;IAC9D,KAAY,QAAQ,GAAG,4BAA4B,CAAC;CACrD;AAED,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR;AAED,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
|
|
@@ -52,11 +52,13 @@ exports.PromptCreateRequest$inboundSchema = z.object({
|
|
|
52
52
|
tools: z.array(z.string()).optional(),
|
|
53
53
|
llm_config: promptllmconfig_js_1.PromptLlmConfig$inboundSchema,
|
|
54
54
|
session_end_enabled: z.boolean().default(false),
|
|
55
|
+
edit_comments: z.nullable(z.string()).optional(),
|
|
55
56
|
include_default_tools: z.boolean().default(true),
|
|
56
57
|
}).transform((v) => {
|
|
57
58
|
return (0, primitives_js_1.remap)(v, {
|
|
58
59
|
"llm_config": "llmConfig",
|
|
59
60
|
"session_end_enabled": "sessionEndEnabled",
|
|
61
|
+
"edit_comments": "editComments",
|
|
60
62
|
"include_default_tools": "includeDefaultTools",
|
|
61
63
|
});
|
|
62
64
|
});
|
|
@@ -69,11 +71,13 @@ exports.PromptCreateRequest$outboundSchema = z.object({
|
|
|
69
71
|
tools: z.array(z.string()).optional(),
|
|
70
72
|
llmConfig: promptllmconfig_js_1.PromptLlmConfig$outboundSchema,
|
|
71
73
|
sessionEndEnabled: z.boolean().default(false),
|
|
74
|
+
editComments: z.nullable(z.string()).optional(),
|
|
72
75
|
includeDefaultTools: z.boolean().default(true),
|
|
73
76
|
}).transform((v) => {
|
|
74
77
|
return (0, primitives_js_1.remap)(v, {
|
|
75
78
|
llmConfig: "llm_config",
|
|
76
79
|
sessionEndEnabled: "session_end_enabled",
|
|
80
|
+
editComments: "edit_comments",
|
|
77
81
|
includeDefaultTools: "include_default_tools",
|
|
78
82
|
});
|
|
79
83
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promptcreaterequest.js","sourceRoot":"","sources":["../../src/models/components/promptcreaterequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"promptcreaterequest.js","sourceRoot":"","sources":["../../src/models/components/promptcreaterequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkIH,8DAMC;AAED,kEAQC;AAhJD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,6DAK8B;AA4C9B,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,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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O,CAAC,IAAI,CAAC;CAC/C,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,YAAY;QACvB,iBAAiB,EAAE,qBAAqB;QACxC,YAAY,EAAE,eAAe;QAC7B,mBAAmB,EAAE,uBAAuB;KAC7C,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,oBAAoB,CAOpC;AAPD,WAAiB,oBAAoB;IACnC,mEAAmE;IACtD,kCAAa,GAAG,yCAAiC,CAAC;IAC/D,oEAAoE;IACvD,mCAAc,GAAG,0CAAkC,CAAC;AAGnE,CAAC,EAPgB,oBAAoB,oCAApB,oBAAoB,QAOpC;AAED,SAAgB,yBAAyB,CACvC,mBAAwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,0CAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AACJ,CAAC;AAED,SAAgB,2BAA2B,CACzC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AACJ,CAAC"}
|
|
@@ -43,14 +43,14 @@ export type PromptResponse = {
|
|
|
43
43
|
* Whether session end functionality is enabled for this prompt
|
|
44
44
|
*/
|
|
45
45
|
sessionEndEnabled?: boolean | undefined;
|
|
46
|
-
/**
|
|
47
|
-
* The internal ID of the prompt
|
|
48
|
-
*/
|
|
49
|
-
id: number;
|
|
50
46
|
/**
|
|
51
47
|
* The comments for the most recent edit to the prompt
|
|
52
48
|
*/
|
|
53
49
|
editComments?: string | null | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* The internal ID of the prompt
|
|
52
|
+
*/
|
|
53
|
+
id: number;
|
|
54
54
|
/**
|
|
55
55
|
* The last updated date of the prompt
|
|
56
56
|
*/
|
|
@@ -83,8 +83,8 @@ export type PromptResponse$Outbound = {
|
|
|
83
83
|
tools?: Array<string> | undefined;
|
|
84
84
|
llm_config: PromptLlmConfig$Outbound;
|
|
85
85
|
session_end_enabled: boolean;
|
|
86
|
-
id: number;
|
|
87
86
|
edit_comments?: string | null | undefined;
|
|
87
|
+
id: number;
|
|
88
88
|
last_updated: string | null;
|
|
89
89
|
last_updated_by?: string | null | undefined;
|
|
90
90
|
agent_count?: number | null | undefined;
|
|
@@ -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;AAC9B,OAAO,EACL,YAAY,EAEZ,qBAAqB,EAEtB,MAAM,mBAAmB,CAAC;AAE3B;;;;;;;;GAQG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,SAAS,EAAE,eAAe,CAAC;IAC3B;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":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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"}
|
|
@@ -53,8 +53,8 @@ exports.PromptResponse$inboundSchema = z.object({
|
|
|
53
53
|
tools: z.array(z.string()).optional(),
|
|
54
54
|
llm_config: promptllmconfig_js_1.PromptLlmConfig$inboundSchema,
|
|
55
55
|
session_end_enabled: z.boolean().default(false),
|
|
56
|
-
id: z.number().int(),
|
|
57
56
|
edit_comments: z.nullable(z.string()).optional(),
|
|
57
|
+
id: z.number().int(),
|
|
58
58
|
last_updated: z.nullable(z.string()),
|
|
59
59
|
last_updated_by: z.nullable(z.string()).optional(),
|
|
60
60
|
agent_count: z.nullable(z.number().int()).optional(),
|
|
@@ -81,8 +81,8 @@ exports.PromptResponse$outboundSchema = z.object({
|
|
|
81
81
|
tools: z.array(z.string()).optional(),
|
|
82
82
|
llmConfig: promptllmconfig_js_1.PromptLlmConfig$outboundSchema,
|
|
83
83
|
sessionEndEnabled: z.boolean().default(false),
|
|
84
|
-
id: z.number().int(),
|
|
85
84
|
editComments: z.nullable(z.string()).optional(),
|
|
85
|
+
id: z.number().int(),
|
|
86
86
|
lastUpdated: z.nullable(z.string()),
|
|
87
87
|
lastUpdatedBy: z.nullable(z.string()).optional(),
|
|
88
88
|
agentCount: z.nullable(z.number().int()).optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promptresponse.js","sourceRoot":"","sources":["../../src/models/components/promptresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2LH,oDAEC;AAED,wDAQC;AArMD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,6DAK8B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c;QAC3B,aAAa,EAAE,iBAAiB;QAChC,UAAU,EAAE,aAAa;QACzB,aAAa,EAAE,gBAAgB;QAC/B,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"}
|
|
@@ -34,14 +34,14 @@ export type PromptUpdateRequest = {
|
|
|
34
34
|
* Whether session end functionality is enabled for this prompt
|
|
35
35
|
*/
|
|
36
36
|
sessionEndEnabled?: boolean | undefined;
|
|
37
|
-
/**
|
|
38
|
-
* The internal ID of the prompt
|
|
39
|
-
*/
|
|
40
|
-
id: number;
|
|
41
37
|
/**
|
|
42
38
|
* The comments for the most recent edit to the prompt
|
|
43
39
|
*/
|
|
44
40
|
editComments?: string | null | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* The internal ID of the prompt
|
|
43
|
+
*/
|
|
44
|
+
id: number;
|
|
45
45
|
/**
|
|
46
46
|
* Whether to include the default tools (`hangup`) 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.
|
|
47
47
|
*/
|
|
@@ -58,8 +58,8 @@ export type PromptUpdateRequest$Outbound = {
|
|
|
58
58
|
tools?: Array<string> | undefined;
|
|
59
59
|
llm_config: PromptLlmConfig$Outbound;
|
|
60
60
|
session_end_enabled: boolean;
|
|
61
|
-
id: number;
|
|
62
61
|
edit_comments?: string | null | undefined;
|
|
62
|
+
id: number;
|
|
63
63
|
include_default_tools: boolean;
|
|
64
64
|
};
|
|
65
65
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promptupdaterequest.d.ts","sourceRoot":"","sources":["../../src/models/components/promptupdaterequest.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;AAE9B;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,SAAS,EAAE,eAAe,CAAC;IAC3B;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"promptupdaterequest.d.ts","sourceRoot":"","sources":["../../src/models/components/promptupdaterequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe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AAwB,CAAC;IACrC,mBAAmB,EAAE,OAAO,CAAC;IAC7B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1C,EAAE,EAAE,MAAM,CAAC;IACX,qBAAqB,EAAE,OAAO,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,mBAAmB,CAmBnB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,oBAAoB,CAAC;IACpC,mEAAmE;IAC5D,MAAM,aAAa,uDAAoC,CAAC;IAC/D,oEAAoE;IAC7D,MAAM,cAAc,4EAAqC,CAAC;IACjE,8DAA8D;IAC9D,KAAY,QAAQ,GAAG,4BAA4B,CAAC;CACrD;AAED,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR;AAED,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
|
|
@@ -52,8 +52,8 @@ exports.PromptUpdateRequest$inboundSchema = z.object({
|
|
|
52
52
|
tools: z.array(z.string()).optional(),
|
|
53
53
|
llm_config: promptllmconfig_js_1.PromptLlmConfig$inboundSchema,
|
|
54
54
|
session_end_enabled: z.boolean().default(false),
|
|
55
|
-
id: z.number().int(),
|
|
56
55
|
edit_comments: z.nullable(z.string()).optional(),
|
|
56
|
+
id: z.number().int(),
|
|
57
57
|
include_default_tools: z.boolean().default(true),
|
|
58
58
|
}).transform((v) => {
|
|
59
59
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -72,8 +72,8 @@ exports.PromptUpdateRequest$outboundSchema = z.object({
|
|
|
72
72
|
tools: z.array(z.string()).optional(),
|
|
73
73
|
llmConfig: promptllmconfig_js_1.PromptLlmConfig$outboundSchema,
|
|
74
74
|
sessionEndEnabled: z.boolean().default(false),
|
|
75
|
-
id: z.number().int(),
|
|
76
75
|
editComments: z.nullable(z.string()).optional(),
|
|
76
|
+
id: z.number().int(),
|
|
77
77
|
includeDefaultTools: z.boolean().default(true),
|
|
78
78
|
}).transform((v) => {
|
|
79
79
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"promptupdaterequest.js","sourceRoot":"","sources":["../../src/models/components/promptupdaterequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyIH,8DAMC;AAED,kEAQC;AAvJD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,6DAK8B;AAgD9B,gBAAgB;AACH,QAAA,iCAAiC,GAI1C,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,mBAAmB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IAC/C,
|
|
1
|
+
{"version":3,"file":"promptupdaterequest.js","sourceRoot":"","sources":["../../src/models/components/promptupdaterequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyIH,8DAMC;AAED,kEAQC;AAvJD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,6DAK8B;AAgD9B,gBAAgB;AACH,QAA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AC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AACJ,CAAC"}
|
package/openapi.json
CHANGED
|
@@ -21607,6 +21607,21 @@
|
|
|
21607
21607
|
false
|
|
21608
21608
|
]
|
|
21609
21609
|
},
|
|
21610
|
+
"edit_comments": {
|
|
21611
|
+
"anyOf": [
|
|
21612
|
+
{
|
|
21613
|
+
"type": "string"
|
|
21614
|
+
},
|
|
21615
|
+
{
|
|
21616
|
+
"type": "null"
|
|
21617
|
+
}
|
|
21618
|
+
],
|
|
21619
|
+
"title": "Edit Comments",
|
|
21620
|
+
"description": "The comments for the most recent edit to the prompt",
|
|
21621
|
+
"examples": [
|
|
21622
|
+
"Updated prompt text to include requirement to not answer questions that aren't about weather."
|
|
21623
|
+
]
|
|
21624
|
+
},
|
|
21610
21625
|
"include_default_tools": {
|
|
21611
21626
|
"type": "boolean",
|
|
21612
21627
|
"title": "Include Default Tools",
|
|
@@ -21991,14 +22006,6 @@
|
|
|
21991
22006
|
false
|
|
21992
22007
|
]
|
|
21993
22008
|
},
|
|
21994
|
-
"id": {
|
|
21995
|
-
"type": "integer",
|
|
21996
|
-
"title": "Id",
|
|
21997
|
-
"description": "The internal ID of the prompt",
|
|
21998
|
-
"examples": [
|
|
21999
|
-
1
|
|
22000
|
-
]
|
|
22001
|
-
},
|
|
22002
22009
|
"edit_comments": {
|
|
22003
22010
|
"anyOf": [
|
|
22004
22011
|
{
|
|
@@ -22014,6 +22021,14 @@
|
|
|
22014
22021
|
"Updated prompt text to include requirement to not answer questions that aren't about weather."
|
|
22015
22022
|
]
|
|
22016
22023
|
},
|
|
22024
|
+
"id": {
|
|
22025
|
+
"type": "integer",
|
|
22026
|
+
"title": "Id",
|
|
22027
|
+
"description": "The internal ID of the prompt",
|
|
22028
|
+
"examples": [
|
|
22029
|
+
1
|
|
22030
|
+
]
|
|
22031
|
+
},
|
|
22017
22032
|
"last_updated": {
|
|
22018
22033
|
"anyOf": [
|
|
22019
22034
|
{
|
|
@@ -22182,14 +22197,6 @@
|
|
|
22182
22197
|
false
|
|
22183
22198
|
]
|
|
22184
22199
|
},
|
|
22185
|
-
"id": {
|
|
22186
|
-
"type": "integer",
|
|
22187
|
-
"title": "Id",
|
|
22188
|
-
"description": "The internal ID of the prompt",
|
|
22189
|
-
"examples": [
|
|
22190
|
-
1
|
|
22191
|
-
]
|
|
22192
|
-
},
|
|
22193
22200
|
"edit_comments": {
|
|
22194
22201
|
"anyOf": [
|
|
22195
22202
|
{
|
|
@@ -22205,6 +22212,14 @@
|
|
|
22205
22212
|
"Updated prompt text to include requirement to not answer questions that aren't about weather."
|
|
22206
22213
|
]
|
|
22207
22214
|
},
|
|
22215
|
+
"id": {
|
|
22216
|
+
"type": "integer",
|
|
22217
|
+
"title": "Id",
|
|
22218
|
+
"description": "The internal ID of the prompt",
|
|
22219
|
+
"examples": [
|
|
22220
|
+
1
|
|
22221
|
+
]
|
|
22222
|
+
},
|
|
22208
22223
|
"include_default_tools": {
|
|
22209
22224
|
"type": "boolean",
|
|
22210
22225
|
"title": "Include Default Tools",
|
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -61,7 +61,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
61
61
|
export const SDK_METADATA = {
|
|
62
62
|
language: "typescript",
|
|
63
63
|
openapiDocVersion: "0.0.2",
|
|
64
|
-
sdkVersion: "1.0.2-rc.
|
|
64
|
+
sdkVersion: "1.0.2-rc.7",
|
|
65
65
|
genVersion: "2.723.11",
|
|
66
|
-
userAgent: "speakeasy-sdk/typescript 1.0.2-rc.
|
|
66
|
+
userAgent: "speakeasy-sdk/typescript 1.0.2-rc.7 2.723.11 0.0.2 syllable-sdk",
|
|
67
67
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -46,6 +46,10 @@ export type PromptCreateRequest = {
|
|
|
46
46
|
* Whether session end functionality is enabled for this prompt
|
|
47
47
|
*/
|
|
48
48
|
sessionEndEnabled?: boolean | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* The comments for the most recent edit to the prompt
|
|
51
|
+
*/
|
|
52
|
+
editComments?: string | null | undefined;
|
|
49
53
|
/**
|
|
50
54
|
* Whether to include the default tools (`hangup`) 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.
|
|
51
55
|
*/
|
|
@@ -65,11 +69,13 @@ export const PromptCreateRequest$inboundSchema: z.ZodType<
|
|
|
65
69
|
tools: z.array(z.string()).optional(),
|
|
66
70
|
llm_config: PromptLlmConfig$inboundSchema,
|
|
67
71
|
session_end_enabled: z.boolean().default(false),
|
|
72
|
+
edit_comments: z.nullable(z.string()).optional(),
|
|
68
73
|
include_default_tools: z.boolean().default(true),
|
|
69
74
|
}).transform((v) => {
|
|
70
75
|
return remap$(v, {
|
|
71
76
|
"llm_config": "llmConfig",
|
|
72
77
|
"session_end_enabled": "sessionEndEnabled",
|
|
78
|
+
"edit_comments": "editComments",
|
|
73
79
|
"include_default_tools": "includeDefaultTools",
|
|
74
80
|
});
|
|
75
81
|
});
|
|
@@ -83,6 +89,7 @@ export type PromptCreateRequest$Outbound = {
|
|
|
83
89
|
tools?: Array<string> | undefined;
|
|
84
90
|
llm_config: PromptLlmConfig$Outbound;
|
|
85
91
|
session_end_enabled: boolean;
|
|
92
|
+
edit_comments?: string | null | undefined;
|
|
86
93
|
include_default_tools: boolean;
|
|
87
94
|
};
|
|
88
95
|
|
|
@@ -99,11 +106,13 @@ export const PromptCreateRequest$outboundSchema: z.ZodType<
|
|
|
99
106
|
tools: z.array(z.string()).optional(),
|
|
100
107
|
llmConfig: PromptLlmConfig$outboundSchema,
|
|
101
108
|
sessionEndEnabled: z.boolean().default(false),
|
|
109
|
+
editComments: z.nullable(z.string()).optional(),
|
|
102
110
|
includeDefaultTools: z.boolean().default(true),
|
|
103
111
|
}).transform((v) => {
|
|
104
112
|
return remap$(v, {
|
|
105
113
|
llmConfig: "llm_config",
|
|
106
114
|
sessionEndEnabled: "session_end_enabled",
|
|
115
|
+
editComments: "edit_comments",
|
|
107
116
|
includeDefaultTools: "include_default_tools",
|
|
108
117
|
});
|
|
109
118
|
});
|
|
@@ -60,14 +60,14 @@ export type PromptResponse = {
|
|
|
60
60
|
* Whether session end functionality is enabled for this prompt
|
|
61
61
|
*/
|
|
62
62
|
sessionEndEnabled?: boolean | undefined;
|
|
63
|
-
/**
|
|
64
|
-
* The internal ID of the prompt
|
|
65
|
-
*/
|
|
66
|
-
id: number;
|
|
67
63
|
/**
|
|
68
64
|
* The comments for the most recent edit to the prompt
|
|
69
65
|
*/
|
|
70
66
|
editComments?: string | null | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* The internal ID of the prompt
|
|
69
|
+
*/
|
|
70
|
+
id: number;
|
|
71
71
|
/**
|
|
72
72
|
* The last updated date of the prompt
|
|
73
73
|
*/
|
|
@@ -103,8 +103,8 @@ export const PromptResponse$inboundSchema: z.ZodType<
|
|
|
103
103
|
tools: z.array(z.string()).optional(),
|
|
104
104
|
llm_config: PromptLlmConfig$inboundSchema,
|
|
105
105
|
session_end_enabled: z.boolean().default(false),
|
|
106
|
-
id: z.number().int(),
|
|
107
106
|
edit_comments: z.nullable(z.string()).optional(),
|
|
107
|
+
id: z.number().int(),
|
|
108
108
|
last_updated: z.nullable(z.string()),
|
|
109
109
|
last_updated_by: z.nullable(z.string()).optional(),
|
|
110
110
|
agent_count: z.nullable(z.number().int()).optional(),
|
|
@@ -132,8 +132,8 @@ export type PromptResponse$Outbound = {
|
|
|
132
132
|
tools?: Array<string> | undefined;
|
|
133
133
|
llm_config: PromptLlmConfig$Outbound;
|
|
134
134
|
session_end_enabled: boolean;
|
|
135
|
-
id: number;
|
|
136
135
|
edit_comments?: string | null | undefined;
|
|
136
|
+
id: number;
|
|
137
137
|
last_updated: string | null;
|
|
138
138
|
last_updated_by?: string | null | undefined;
|
|
139
139
|
agent_count?: number | null | undefined;
|
|
@@ -154,8 +154,8 @@ export const PromptResponse$outboundSchema: z.ZodType<
|
|
|
154
154
|
tools: z.array(z.string()).optional(),
|
|
155
155
|
llmConfig: PromptLlmConfig$outboundSchema,
|
|
156
156
|
sessionEndEnabled: z.boolean().default(false),
|
|
157
|
-
id: z.number().int(),
|
|
158
157
|
editComments: z.nullable(z.string()).optional(),
|
|
158
|
+
id: z.number().int(),
|
|
159
159
|
lastUpdated: z.nullable(z.string()),
|
|
160
160
|
lastUpdatedBy: z.nullable(z.string()).optional(),
|
|
161
161
|
agentCount: z.nullable(z.number().int()).optional(),
|
|
@@ -46,14 +46,14 @@ export type PromptUpdateRequest = {
|
|
|
46
46
|
* Whether session end functionality is enabled for this prompt
|
|
47
47
|
*/
|
|
48
48
|
sessionEndEnabled?: boolean | undefined;
|
|
49
|
-
/**
|
|
50
|
-
* The internal ID of the prompt
|
|
51
|
-
*/
|
|
52
|
-
id: number;
|
|
53
49
|
/**
|
|
54
50
|
* The comments for the most recent edit to the prompt
|
|
55
51
|
*/
|
|
56
52
|
editComments?: string | null | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* The internal ID of the prompt
|
|
55
|
+
*/
|
|
56
|
+
id: number;
|
|
57
57
|
/**
|
|
58
58
|
* Whether to include the default tools (`hangup`) 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.
|
|
59
59
|
*/
|
|
@@ -73,8 +73,8 @@ export const PromptUpdateRequest$inboundSchema: z.ZodType<
|
|
|
73
73
|
tools: z.array(z.string()).optional(),
|
|
74
74
|
llm_config: PromptLlmConfig$inboundSchema,
|
|
75
75
|
session_end_enabled: z.boolean().default(false),
|
|
76
|
-
id: z.number().int(),
|
|
77
76
|
edit_comments: z.nullable(z.string()).optional(),
|
|
77
|
+
id: z.number().int(),
|
|
78
78
|
include_default_tools: z.boolean().default(true),
|
|
79
79
|
}).transform((v) => {
|
|
80
80
|
return remap$(v, {
|
|
@@ -94,8 +94,8 @@ export type PromptUpdateRequest$Outbound = {
|
|
|
94
94
|
tools?: Array<string> | undefined;
|
|
95
95
|
llm_config: PromptLlmConfig$Outbound;
|
|
96
96
|
session_end_enabled: boolean;
|
|
97
|
-
id: number;
|
|
98
97
|
edit_comments?: string | null | undefined;
|
|
98
|
+
id: number;
|
|
99
99
|
include_default_tools: boolean;
|
|
100
100
|
};
|
|
101
101
|
|
|
@@ -112,8 +112,8 @@ export const PromptUpdateRequest$outboundSchema: z.ZodType<
|
|
|
112
112
|
tools: z.array(z.string()).optional(),
|
|
113
113
|
llmConfig: PromptLlmConfig$outboundSchema,
|
|
114
114
|
sessionEndEnabled: z.boolean().default(false),
|
|
115
|
-
id: z.number().int(),
|
|
116
115
|
editComments: z.nullable(z.string()).optional(),
|
|
116
|
+
id: z.number().int(),
|
|
117
117
|
includeDefaultTools: z.boolean().default(true),
|
|
118
118
|
}).transform((v) => {
|
|
119
119
|
return remap$(v, {
|