@compose-market/sdk 0.6.99 → 0.7.1
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/.speakeasy/a2a.arazzo.yaml +1 -1
- package/.speakeasy/memory.arazzo.yaml +1 -1
- package/.speakeasy/tests.arazzo.yaml +1 -1
- package/dist/events.d.ts +16 -1
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/resources/agent.d.ts +3 -2
- package/dist/resources/agent.d.ts.map +1 -1
- package/dist/resources/agent.js +182 -0
- package/dist/resources/agent.js.map +1 -1
- package/dist/resources/directory.d.ts +16 -1
- package/dist/resources/directory.d.ts.map +1 -1
- package/dist/resources/directory.js +17 -3
- package/dist/resources/directory.js.map +1 -1
- package/dist/types/index.d.ts +92 -35
- package/dist/types/index.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/generated/inference/esm/lib/config.d.ts +3 -3
- package/generated/inference/esm/lib/config.js +3 -3
- package/generated/inference/esm/lib/config.js.map +1 -1
- package/generated/inference/esm/models/audio-speech-create-request.d.ts +5 -5
- package/generated/inference/esm/models/audio-speech-create-request.d.ts.map +1 -1
- package/generated/inference/esm/models/audio-speech-create-request.js +3 -3
- package/generated/inference/esm/models/audio-speech-create-request.js.map +1 -1
- package/generated/inference/esm/models/audio-transcription-create-request.d.ts +5 -5
- package/generated/inference/esm/models/audio-transcription-create-request.d.ts.map +1 -1
- package/generated/inference/esm/models/audio-transcription-create-request.js +3 -3
- package/generated/inference/esm/models/audio-transcription-create-request.js.map +1 -1
- package/generated/inference/esm/models/chat-completions-create-request.d.ts +8 -8
- package/generated/inference/esm/models/chat-completions-create-request.d.ts.map +1 -1
- package/generated/inference/esm/models/chat-completions-create-request.js +5 -5
- package/generated/inference/esm/models/chat-completions-create-request.js.map +1 -1
- package/generated/inference/esm/models/chat-message.d.ts +4 -4
- package/generated/inference/esm/models/chat-message.d.ts.map +1 -1
- package/generated/inference/esm/models/chat-message.js +2 -2
- package/generated/inference/esm/models/chat-message.js.map +1 -1
- package/generated/inference/esm/models/compose-attachment-input.d.ts +5 -5
- package/generated/inference/esm/models/compose-attachment-input.d.ts.map +1 -1
- package/generated/inference/esm/models/compose-attachment-input.js +3 -3
- package/generated/inference/esm/models/compose-attachment-input.js.map +1 -1
- package/generated/inference/esm/models/compose-attachment.d.ts +8 -8
- package/generated/inference/esm/models/compose-attachment.d.ts.map +1 -1
- package/generated/inference/esm/models/compose-attachment.js +5 -5
- package/generated/inference/esm/models/compose-attachment.js.map +1 -1
- package/generated/inference/esm/models/embeddings-create-request.d.ts +5 -5
- package/generated/inference/esm/models/embeddings-create-request.d.ts.map +1 -1
- package/generated/inference/esm/models/embeddings-create-request.js +3 -3
- package/generated/inference/esm/models/embeddings-create-request.js.map +1 -1
- package/generated/inference/esm/models/images-generate-request.d.ts +5 -5
- package/generated/inference/esm/models/images-generate-request.d.ts.map +1 -1
- package/generated/inference/esm/models/images-generate-request.js +3 -3
- package/generated/inference/esm/models/images-generate-request.js.map +1 -1
- package/generated/inference/esm/models/operations/inference-images-edit.d.ts +4 -4
- package/generated/inference/esm/models/operations/inference-images-edit.d.ts.map +1 -1
- package/generated/inference/esm/models/operations/inference-images-edit.js +2 -2
- package/generated/inference/esm/models/operations/inference-images-edit.js.map +1 -1
- package/generated/inference/esm/models/responses-create-request.d.ts +5 -5
- package/generated/inference/esm/models/responses-create-request.d.ts.map +1 -1
- package/generated/inference/esm/models/responses-create-request.js +3 -3
- package/generated/inference/esm/models/responses-create-request.js.map +1 -1
- package/generated/inference/esm/models/video-generate-request.d.ts +5 -5
- package/generated/inference/esm/models/video-generate-request.d.ts.map +1 -1
- package/generated/inference/esm/models/video-generate-request.js +3 -3
- package/generated/inference/esm/models/video-generate-request.js.map +1 -1
- package/generated/inference/package.json +1 -1
- package/generated/inference/src/lib/config.ts +3 -3
- package/generated/inference/src/models/audio-speech-create-request.ts +9 -9
- package/generated/inference/src/models/audio-transcription-create-request.ts +9 -9
- package/generated/inference/src/models/chat-completions-create-request.ts +15 -15
- package/generated/inference/src/models/chat-message.ts +7 -7
- package/generated/inference/src/models/compose-attachment-input.ts +12 -12
- package/generated/inference/src/models/compose-attachment.ts +14 -14
- package/generated/inference/src/models/embeddings-create-request.ts +9 -9
- package/generated/inference/src/models/images-generate-request.ts +9 -9
- package/generated/inference/src/models/operations/inference-images-edit.ts +6 -6
- package/generated/inference/src/models/responses-create-request.ts +9 -9
- package/generated/inference/src/models/video-generate-request.ts +9 -9
- package/generated/manowar/esm/lib/config.d.ts +3 -3
- package/generated/manowar/esm/lib/config.js +3 -3
- package/generated/manowar/esm/lib/config.js.map +1 -1
- package/generated/manowar/esm/models/agent-chat-request.d.ts +5 -5
- package/generated/manowar/esm/models/agent-chat-request.d.ts.map +1 -1
- package/generated/manowar/esm/models/agent-chat-request.js +3 -3
- package/generated/manowar/esm/models/agent-chat-request.js.map +1 -1
- package/generated/manowar/esm/models/compose-attachment-input.d.ts +5 -5
- package/generated/manowar/esm/models/compose-attachment-input.d.ts.map +1 -1
- package/generated/manowar/esm/models/compose-attachment-input.js +3 -3
- package/generated/manowar/esm/models/compose-attachment-input.js.map +1 -1
- package/generated/manowar/esm/models/compose-attachment.d.ts +4 -4
- package/generated/manowar/esm/models/compose-attachment.d.ts.map +1 -1
- package/generated/manowar/esm/models/compose-attachment.js +2 -2
- package/generated/manowar/esm/models/compose-attachment.js.map +1 -1
- package/generated/manowar/esm/models/workflow-chat-request.d.ts +5 -5
- package/generated/manowar/esm/models/workflow-chat-request.d.ts.map +1 -1
- package/generated/manowar/esm/models/workflow-chat-request.js +3 -3
- package/generated/manowar/esm/models/workflow-chat-request.js.map +1 -1
- package/generated/manowar/package.json +1 -1
- package/generated/manowar/src/lib/config.ts +3 -3
- package/generated/manowar/src/models/agent-chat-request.ts +9 -9
- package/generated/manowar/src/models/compose-attachment-input.ts +12 -12
- package/generated/manowar/src/models/compose-attachment.ts +7 -7
- package/generated/manowar/src/models/workflow-chat-request.ts +9 -9
- package/generated/memory/esm/lib/config.d.ts +3 -3
- package/generated/memory/esm/lib/config.js +3 -3
- package/generated/memory/esm/lib/config.js.map +1 -1
- package/generated/memory/package.json +1 -1
- package/generated/memory/src/lib/config.ts +3 -3
- package/generated/x402/esm/lib/config.d.ts +3 -3
- package/generated/x402/esm/lib/config.js +3 -3
- package/generated/x402/esm/lib/config.js.map +1 -1
- package/generated/x402/package.json +1 -1
- package/generated/x402/src/lib/config.ts +3 -3
- package/package.json +2 -2
- package/specs/inference.openapi.yaml +22 -22
- package/specs/manowar.openapi.yaml +10 -10
- package/specs/memory.openapi.yaml +1 -1
- package/specs/x402.openapi.yaml +1 -1
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
AttachmentInput,
|
|
8
|
+
AttachmentInput$Outbound,
|
|
9
|
+
AttachmentInput$outboundSchema,
|
|
10
10
|
} from "./compose-attachment-input.js";
|
|
11
11
|
|
|
12
12
|
export type AgentChatRequest = {
|
|
@@ -15,8 +15,8 @@ export type AgentChatRequest = {
|
|
|
15
15
|
composeRunId?: string | undefined;
|
|
16
16
|
workflowWallet?: string | undefined;
|
|
17
17
|
userAddress?: string | undefined;
|
|
18
|
-
attachment?:
|
|
19
|
-
attachments?: Array<
|
|
18
|
+
attachment?: AttachmentInput | undefined;
|
|
19
|
+
attachments?: Array<AttachmentInput> | undefined;
|
|
20
20
|
sessionGrants?: Array<string> | undefined;
|
|
21
21
|
cloudPermissions?: Array<string> | undefined;
|
|
22
22
|
backpackAccounts?: Array<{ [k: string]: any }> | undefined;
|
|
@@ -30,8 +30,8 @@ export type AgentChatRequest$Outbound = {
|
|
|
30
30
|
composeRunId?: string | undefined;
|
|
31
31
|
workflowWallet?: string | undefined;
|
|
32
32
|
userAddress?: string | undefined;
|
|
33
|
-
attachment?:
|
|
34
|
-
attachments?: Array<
|
|
33
|
+
attachment?: AttachmentInput$Outbound | undefined;
|
|
34
|
+
attachments?: Array<AttachmentInput$Outbound> | undefined;
|
|
35
35
|
sessionGrants?: Array<string> | undefined;
|
|
36
36
|
cloudPermissions?: Array<string> | undefined;
|
|
37
37
|
backpackAccounts?: Array<{ [k: string]: any }> | undefined;
|
|
@@ -49,8 +49,8 @@ export const AgentChatRequest$outboundSchema: z.ZodMiniType<
|
|
|
49
49
|
composeRunId: z.optional(z.string()),
|
|
50
50
|
workflowWallet: z.optional(z.string()),
|
|
51
51
|
userAddress: z.optional(z.string()),
|
|
52
|
-
attachment: z.optional(
|
|
53
|
-
attachments: z.optional(z.array(
|
|
52
|
+
attachment: z.optional(AttachmentInput$outboundSchema),
|
|
53
|
+
attachments: z.optional(z.array(AttachmentInput$outboundSchema)),
|
|
54
54
|
sessionGrants: z.optional(z.array(z.string())),
|
|
55
55
|
cloudPermissions: z.optional(z.array(z.string())),
|
|
56
56
|
backpackAccounts: z.optional(z.array(z.record(z.string(), z.any()))),
|
|
@@ -5,28 +5,28 @@
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
import { smartUnion } from "../types/smart-union.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
Attachment,
|
|
9
|
+
Attachment$Outbound,
|
|
10
|
+
Attachment$outboundSchema,
|
|
11
11
|
} from "./compose-attachment.js";
|
|
12
12
|
|
|
13
|
-
export type
|
|
13
|
+
export type AttachmentInput = Attachment | string;
|
|
14
14
|
|
|
15
15
|
/** @internal */
|
|
16
|
-
export type
|
|
17
|
-
|
|
|
16
|
+
export type AttachmentInput$Outbound =
|
|
17
|
+
| Attachment$Outbound
|
|
18
18
|
| string;
|
|
19
19
|
|
|
20
20
|
/** @internal */
|
|
21
|
-
export const
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
> = smartUnion([
|
|
21
|
+
export const AttachmentInput$outboundSchema: z.ZodMiniType<
|
|
22
|
+
AttachmentInput$Outbound,
|
|
23
|
+
AttachmentInput
|
|
24
|
+
> = smartUnion([Attachment$outboundSchema, z.string()]);
|
|
25
25
|
|
|
26
26
|
export function composeAttachmentInputToJSON(
|
|
27
|
-
composeAttachmentInput:
|
|
27
|
+
composeAttachmentInput: AttachmentInput,
|
|
28
28
|
): string {
|
|
29
29
|
return JSON.stringify(
|
|
30
|
-
|
|
30
|
+
AttachmentInput$outboundSchema.parse(composeAttachmentInput),
|
|
31
31
|
);
|
|
32
32
|
}
|
|
@@ -30,7 +30,7 @@ export const Detail = {
|
|
|
30
30
|
} as const;
|
|
31
31
|
export type Detail = ClosedEnum<typeof Detail>;
|
|
32
32
|
|
|
33
|
-
export type
|
|
33
|
+
export type Attachment = {
|
|
34
34
|
/**
|
|
35
35
|
* Advisory attachment kind. Agents and workflows pass attachments through without model-capability gating.
|
|
36
36
|
*/
|
|
@@ -59,7 +59,7 @@ export const Detail$outboundSchema: z.ZodMiniEnum<typeof Detail> = z.enum(
|
|
|
59
59
|
);
|
|
60
60
|
|
|
61
61
|
/** @internal */
|
|
62
|
-
export type
|
|
62
|
+
export type Attachment$Outbound = {
|
|
63
63
|
type?: string | undefined;
|
|
64
64
|
url?: string | undefined;
|
|
65
65
|
uri?: string | undefined;
|
|
@@ -77,9 +77,9 @@ export type ComposeAttachment$Outbound = {
|
|
|
77
77
|
};
|
|
78
78
|
|
|
79
79
|
/** @internal */
|
|
80
|
-
export const
|
|
81
|
-
|
|
82
|
-
|
|
80
|
+
export const Attachment$outboundSchema: z.ZodMiniType<
|
|
81
|
+
Attachment$Outbound,
|
|
82
|
+
Attachment
|
|
83
83
|
> = z.catchall(
|
|
84
84
|
z.object({
|
|
85
85
|
type: z.optional(Type$outboundSchema),
|
|
@@ -100,9 +100,9 @@ export const ComposeAttachment$outboundSchema: z.ZodMiniType<
|
|
|
100
100
|
);
|
|
101
101
|
|
|
102
102
|
export function composeAttachmentToJSON(
|
|
103
|
-
composeAttachment:
|
|
103
|
+
composeAttachment: Attachment,
|
|
104
104
|
): string {
|
|
105
105
|
return JSON.stringify(
|
|
106
|
-
|
|
106
|
+
Attachment$outboundSchema.parse(composeAttachment),
|
|
107
107
|
);
|
|
108
108
|
}
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
AttachmentInput,
|
|
8
|
+
AttachmentInput$Outbound,
|
|
9
|
+
AttachmentInput$outboundSchema,
|
|
10
10
|
} from "./compose-attachment-input.js";
|
|
11
11
|
|
|
12
12
|
export type WorkflowChatRequest = {
|
|
@@ -14,8 +14,8 @@ export type WorkflowChatRequest = {
|
|
|
14
14
|
threadId?: string | undefined;
|
|
15
15
|
image?: string | undefined;
|
|
16
16
|
audio?: string | undefined;
|
|
17
|
-
attachment?:
|
|
18
|
-
attachments?: Array<
|
|
17
|
+
attachment?: AttachmentInput | undefined;
|
|
18
|
+
attachments?: Array<AttachmentInput> | undefined;
|
|
19
19
|
continuous?: boolean | undefined;
|
|
20
20
|
composeRunId?: string | undefined;
|
|
21
21
|
lastEventIndex?: number | undefined;
|
|
@@ -28,8 +28,8 @@ export type WorkflowChatRequest$Outbound = {
|
|
|
28
28
|
threadId?: string | undefined;
|
|
29
29
|
image?: string | undefined;
|
|
30
30
|
audio?: string | undefined;
|
|
31
|
-
attachment?:
|
|
32
|
-
attachments?: Array<
|
|
31
|
+
attachment?: AttachmentInput$Outbound | undefined;
|
|
32
|
+
attachments?: Array<AttachmentInput$Outbound> | undefined;
|
|
33
33
|
continuous?: boolean | undefined;
|
|
34
34
|
composeRunId?: string | undefined;
|
|
35
35
|
lastEventIndex?: number | undefined;
|
|
@@ -46,8 +46,8 @@ export const WorkflowChatRequest$outboundSchema: z.ZodMiniType<
|
|
|
46
46
|
threadId: z.optional(z.string()),
|
|
47
47
|
image: z.optional(z.string()),
|
|
48
48
|
audio: z.optional(z.string()),
|
|
49
|
-
attachment: z.optional(
|
|
50
|
-
attachments: z.optional(z.array(
|
|
49
|
+
attachment: z.optional(AttachmentInput$outboundSchema),
|
|
50
|
+
attachments: z.optional(z.array(AttachmentInput$outboundSchema)),
|
|
51
51
|
continuous: z.optional(z.boolean()),
|
|
52
52
|
composeRunId: z.optional(z.string()),
|
|
53
53
|
lastEventIndex: z.optional(z.int()),
|
|
@@ -45,9 +45,9 @@ export type SDKOptions = {
|
|
|
45
45
|
export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
46
46
|
export declare const SDK_METADATA: {
|
|
47
47
|
readonly language: "typescript";
|
|
48
|
-
readonly openapiDocVersion: "0.
|
|
49
|
-
readonly sdkVersion: "0.
|
|
48
|
+
readonly openapiDocVersion: "0.7.1";
|
|
49
|
+
readonly sdkVersion: "0.7.1";
|
|
50
50
|
readonly genVersion: "2.881.17";
|
|
51
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.
|
|
51
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.7.1 2.881.17 0.6.91 @compose-market/sdk";
|
|
52
52
|
};
|
|
53
53
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -34,9 +34,9 @@ export function serverURLFromOptions(options) {
|
|
|
34
34
|
}
|
|
35
35
|
export const SDK_METADATA = {
|
|
36
36
|
language: "typescript",
|
|
37
|
-
openapiDocVersion: "0.
|
|
38
|
-
sdkVersion: "0.
|
|
37
|
+
openapiDocVersion: "0.7.1",
|
|
38
|
+
sdkVersion: "0.7.1",
|
|
39
39
|
genVersion: "2.881.17",
|
|
40
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
40
|
+
userAgent: "speakeasy-sdk/typescript 0.7.1 2.881.17 0.6.91 @compose-market/sdk",
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/lib/config.ts"],"names":[],"mappings":"AAAA;;GAEG;AAKH,OAAO,EAAU,UAAU,EAAE,MAAM,UAAU,CAAC;AAE9C;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC;AAC9C;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,SAAS,CAAC;AACvC;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,OAAO,CAAC;AACnC;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,CAAC,gBAAgB,CAAC,EAAE,4BAA4B;IAChD,CAAC,aAAa,CAAC,EAAE,gCAAgC;IACjD,CAAC,WAAW,CAAC,EAAE,uBAAuB;CAC9B,CAAC;AAwBX,MAAM,UAAU,oBAAoB,CAAC,OAAmB;IACtD,IAAI,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;IAElC,MAAM,MAAM,GAAW,EAAE,CAAC;IAE1B,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,IAAI,gBAAgB,CAAC;QAClD,SAAS,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;IACvC,CAAC;IAED,MAAM,CAAC,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;IACxC,OAAO,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC;AAED,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,QAAQ,EAAE,YAAY;IACtB,iBAAiB,EAAE,
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/lib/config.ts"],"names":[],"mappings":"AAAA;;GAEG;AAKH,OAAO,EAAU,UAAU,EAAE,MAAM,UAAU,CAAC;AAE9C;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC;AAC9C;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,SAAS,CAAC;AACvC;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,OAAO,CAAC;AACnC;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,CAAC,gBAAgB,CAAC,EAAE,4BAA4B;IAChD,CAAC,aAAa,CAAC,EAAE,gCAAgC;IACjD,CAAC,WAAW,CAAC,EAAE,uBAAuB;CAC9B,CAAC;AAwBX,MAAM,UAAU,oBAAoB,CAAC,OAAmB;IACtD,IAAI,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;IAElC,MAAM,MAAM,GAAW,EAAE,CAAC;IAE1B,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,IAAI,gBAAgB,CAAC;QAClD,SAAS,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;IACvC,CAAC;IAED,MAAM,CAAC,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;IACxC,OAAO,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC;AAED,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,QAAQ,EAAE,YAAY;IACtB,iBAAiB,EAAE,OAAO;IAC1B,UAAU,EAAE,OAAO;IACnB,UAAU,EAAE,UAAU;IACtB,SAAS,EACP,oEAAoE;CAC9D,CAAC"}
|
|
@@ -66,9 +66,9 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
66
66
|
|
|
67
67
|
export const SDK_METADATA = {
|
|
68
68
|
language: "typescript",
|
|
69
|
-
openapiDocVersion: "0.
|
|
70
|
-
sdkVersion: "0.
|
|
69
|
+
openapiDocVersion: "0.7.1",
|
|
70
|
+
sdkVersion: "0.7.1",
|
|
71
71
|
genVersion: "2.881.17",
|
|
72
72
|
userAgent:
|
|
73
|
-
"speakeasy-sdk/typescript 0.
|
|
73
|
+
"speakeasy-sdk/typescript 0.7.1 2.881.17 0.6.91 @compose-market/sdk",
|
|
74
74
|
} as const;
|
|
@@ -41,9 +41,9 @@ export type SDKOptions = {
|
|
|
41
41
|
export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
42
42
|
export declare const SDK_METADATA: {
|
|
43
43
|
readonly language: "typescript";
|
|
44
|
-
readonly openapiDocVersion: "0.
|
|
45
|
-
readonly sdkVersion: "0.
|
|
44
|
+
readonly openapiDocVersion: "0.7.1";
|
|
45
|
+
readonly sdkVersion: "0.7.1";
|
|
46
46
|
readonly genVersion: "2.884.4";
|
|
47
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.
|
|
47
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.7.1 2.884.4 0.6.93 @compose-market/sdk";
|
|
48
48
|
};
|
|
49
49
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -29,9 +29,9 @@ export function serverURLFromOptions(options) {
|
|
|
29
29
|
}
|
|
30
30
|
export const SDK_METADATA = {
|
|
31
31
|
language: "typescript",
|
|
32
|
-
openapiDocVersion: "0.
|
|
33
|
-
sdkVersion: "0.
|
|
32
|
+
openapiDocVersion: "0.7.1",
|
|
33
|
+
sdkVersion: "0.7.1",
|
|
34
34
|
genVersion: "2.884.4",
|
|
35
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
35
|
+
userAgent: "speakeasy-sdk/typescript 0.7.1 2.884.4 0.6.93 @compose-market/sdk",
|
|
36
36
|
};
|
|
37
37
|
//# sourceMappingURL=config.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/lib/config.ts"],"names":[],"mappings":"AAAA;;GAEG;AAKH,OAAO,EAAU,UAAU,EAAE,MAAM,UAAU,CAAC;AAE9C;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,MAAM,CAAC;AACjC;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,OAAO,CAAC;AACnC;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,CAAC,UAAU,CAAC,EAAE,4BAA4B;IAC1C,CAAC,WAAW,CAAC,EAAE,uBAAuB;CAC9B,CAAC;AA0BX,MAAM,UAAU,oBAAoB,CAAC,OAAmB;IACtD,IAAI,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;IAElC,MAAM,MAAM,GAAW,EAAE,CAAC;IAE1B,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,IAAI,UAAU,CAAC;QAC5C,SAAS,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;IACvC,CAAC;IAED,MAAM,CAAC,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;IACxC,OAAO,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC;AAED,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,QAAQ,EAAE,YAAY;IACtB,iBAAiB,EAAE,
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/lib/config.ts"],"names":[],"mappings":"AAAA;;GAEG;AAKH,OAAO,EAAU,UAAU,EAAE,MAAM,UAAU,CAAC;AAE9C;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,MAAM,CAAC;AACjC;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,OAAO,CAAC;AACnC;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,CAAC,UAAU,CAAC,EAAE,4BAA4B;IAC1C,CAAC,WAAW,CAAC,EAAE,uBAAuB;CAC9B,CAAC;AA0BX,MAAM,UAAU,oBAAoB,CAAC,OAAmB;IACtD,IAAI,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC;IAElC,MAAM,MAAM,GAAW,EAAE,CAAC;IAE1B,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,IAAI,UAAU,CAAC;QAC5C,SAAS,GAAG,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;IACvC,CAAC;IAED,MAAM,CAAC,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;IACxC,OAAO,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC;AAED,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,QAAQ,EAAE,YAAY;IACtB,iBAAiB,EAAE,OAAO;IAC1B,UAAU,EAAE,OAAO;IACnB,UAAU,EAAE,SAAS;IACrB,SAAS,EACP,mEAAmE;CAC7D,CAAC"}
|
|
@@ -63,9 +63,9 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
63
63
|
|
|
64
64
|
export const SDK_METADATA = {
|
|
65
65
|
language: "typescript",
|
|
66
|
-
openapiDocVersion: "0.
|
|
67
|
-
sdkVersion: "0.
|
|
66
|
+
openapiDocVersion: "0.7.1",
|
|
67
|
+
sdkVersion: "0.7.1",
|
|
68
68
|
genVersion: "2.884.4",
|
|
69
69
|
userAgent:
|
|
70
|
-
"speakeasy-sdk/typescript 0.
|
|
70
|
+
"speakeasy-sdk/typescript 0.7.1 2.884.4 0.6.93 @compose-market/sdk",
|
|
71
71
|
} as const;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@compose-market/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "Official Compose.Market SDK: Compose Keys, x402 facilitator, multi-provider model catalog, native streaming inference with typed receipts, unified tool-call events, agent + workflow runtime streams, live session events, and wallet-scoped persistence.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"compose",
|
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
"dependencies": {
|
|
221
221
|
"@x402/core": "^2.14.0",
|
|
222
222
|
"@x402/evm": "^2.14.0",
|
|
223
|
-
"viem": "^2.
|
|
223
|
+
"viem": "^2.52.2",
|
|
224
224
|
"zod": "^4.4.3"
|
|
225
225
|
},
|
|
226
226
|
"publishConfig": {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
openapi: 3.1.0
|
|
3
3
|
info:
|
|
4
4
|
title: Compose Inference
|
|
5
|
-
version: 0.
|
|
5
|
+
version: 0.7.1
|
|
6
6
|
summary: Model discovery, inference, and realtime inference stream contracts.
|
|
7
7
|
description: |
|
|
8
8
|
Canonical contract for Compose model discovery, serverless inference,
|
|
@@ -1150,7 +1150,7 @@ components:
|
|
|
1150
1150
|
defaults:
|
|
1151
1151
|
type: object
|
|
1152
1152
|
additionalProperties: true
|
|
1153
|
-
|
|
1153
|
+
Attachment:
|
|
1154
1154
|
type: object
|
|
1155
1155
|
additionalProperties: true
|
|
1156
1156
|
properties:
|
|
@@ -1196,14 +1196,14 @@ components:
|
|
|
1196
1196
|
metadata:
|
|
1197
1197
|
type: object
|
|
1198
1198
|
additionalProperties: true
|
|
1199
|
-
|
|
1199
|
+
AttachmentInput:
|
|
1200
1200
|
oneOf:
|
|
1201
|
-
- "$ref": "#/components/schemas/
|
|
1201
|
+
- "$ref": "#/components/schemas/Attachment"
|
|
1202
1202
|
- type: string
|
|
1203
|
-
|
|
1203
|
+
Attachments:
|
|
1204
1204
|
type: array
|
|
1205
1205
|
items:
|
|
1206
|
-
"$ref": "#/components/schemas/
|
|
1206
|
+
"$ref": "#/components/schemas/AttachmentInput"
|
|
1207
1207
|
ResponseFormat:
|
|
1208
1208
|
type: object
|
|
1209
1209
|
additionalProperties: true
|
|
@@ -1247,11 +1247,11 @@ components:
|
|
|
1247
1247
|
messages:
|
|
1248
1248
|
type: array
|
|
1249
1249
|
items:
|
|
1250
|
-
"$ref": "#/components/schemas/
|
|
1250
|
+
"$ref": "#/components/schemas/Message"
|
|
1251
1251
|
attachments:
|
|
1252
|
-
"$ref": "#/components/schemas/
|
|
1252
|
+
"$ref": "#/components/schemas/Attachments"
|
|
1253
1253
|
attachment:
|
|
1254
|
-
"$ref": "#/components/schemas/
|
|
1254
|
+
"$ref": "#/components/schemas/AttachmentInput"
|
|
1255
1255
|
temperature:
|
|
1256
1256
|
type: number
|
|
1257
1257
|
top_p:
|
|
@@ -1314,7 +1314,7 @@ components:
|
|
|
1314
1314
|
text:
|
|
1315
1315
|
type: object
|
|
1316
1316
|
additionalProperties: true
|
|
1317
|
-
|
|
1317
|
+
Message:
|
|
1318
1318
|
type: object
|
|
1319
1319
|
required:
|
|
1320
1320
|
- role
|
|
@@ -1390,9 +1390,9 @@ components:
|
|
|
1390
1390
|
type: string
|
|
1391
1391
|
input: {}
|
|
1392
1392
|
attachments:
|
|
1393
|
-
"$ref": "#/components/schemas/
|
|
1393
|
+
"$ref": "#/components/schemas/Attachments"
|
|
1394
1394
|
attachment:
|
|
1395
|
-
"$ref": "#/components/schemas/
|
|
1395
|
+
"$ref": "#/components/schemas/AttachmentInput"
|
|
1396
1396
|
stream:
|
|
1397
1397
|
type: boolean
|
|
1398
1398
|
modalities:
|
|
@@ -1531,9 +1531,9 @@ components:
|
|
|
1531
1531
|
items:
|
|
1532
1532
|
type: string
|
|
1533
1533
|
attachments:
|
|
1534
|
-
"$ref": "#/components/schemas/
|
|
1534
|
+
"$ref": "#/components/schemas/Attachments"
|
|
1535
1535
|
attachment:
|
|
1536
|
-
"$ref": "#/components/schemas/
|
|
1536
|
+
"$ref": "#/components/schemas/AttachmentInput"
|
|
1537
1537
|
dimensions:
|
|
1538
1538
|
type: integer
|
|
1539
1539
|
encoding_format:
|
|
@@ -1575,9 +1575,9 @@ components:
|
|
|
1575
1575
|
prompt:
|
|
1576
1576
|
type: string
|
|
1577
1577
|
attachments:
|
|
1578
|
-
"$ref": "#/components/schemas/
|
|
1578
|
+
"$ref": "#/components/schemas/Attachments"
|
|
1579
1579
|
attachment:
|
|
1580
|
-
"$ref": "#/components/schemas/
|
|
1580
|
+
"$ref": "#/components/schemas/AttachmentInput"
|
|
1581
1581
|
n:
|
|
1582
1582
|
type: integer
|
|
1583
1583
|
size:
|
|
@@ -1618,9 +1618,9 @@ components:
|
|
|
1618
1618
|
input:
|
|
1619
1619
|
type: string
|
|
1620
1620
|
attachments:
|
|
1621
|
-
"$ref": "#/components/schemas/
|
|
1621
|
+
"$ref": "#/components/schemas/Attachments"
|
|
1622
1622
|
attachment:
|
|
1623
|
-
"$ref": "#/components/schemas/
|
|
1623
|
+
"$ref": "#/components/schemas/AttachmentInput"
|
|
1624
1624
|
voice:
|
|
1625
1625
|
type: string
|
|
1626
1626
|
response_format:
|
|
@@ -1641,9 +1641,9 @@ components:
|
|
|
1641
1641
|
file:
|
|
1642
1642
|
type: string
|
|
1643
1643
|
attachments:
|
|
1644
|
-
"$ref": "#/components/schemas/
|
|
1644
|
+
"$ref": "#/components/schemas/Attachments"
|
|
1645
1645
|
attachment:
|
|
1646
|
-
"$ref": "#/components/schemas/
|
|
1646
|
+
"$ref": "#/components/schemas/AttachmentInput"
|
|
1647
1647
|
filename:
|
|
1648
1648
|
type: string
|
|
1649
1649
|
language:
|
|
@@ -1682,9 +1682,9 @@ components:
|
|
|
1682
1682
|
prompt:
|
|
1683
1683
|
type: string
|
|
1684
1684
|
attachments:
|
|
1685
|
-
"$ref": "#/components/schemas/
|
|
1685
|
+
"$ref": "#/components/schemas/Attachments"
|
|
1686
1686
|
attachment:
|
|
1687
|
-
"$ref": "#/components/schemas/
|
|
1687
|
+
"$ref": "#/components/schemas/AttachmentInput"
|
|
1688
1688
|
duration:
|
|
1689
1689
|
type: integer
|
|
1690
1690
|
aspect_ratio:
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
openapi: 3.1.0
|
|
3
3
|
info:
|
|
4
4
|
title: Compose Manowar
|
|
5
|
-
version: 0.
|
|
5
|
+
version: 0.7.1
|
|
6
6
|
summary: Agent, workflow, workspace, connector, MCP, and mesh execution contracts.
|
|
7
7
|
description: |
|
|
8
8
|
Canonical contract for Compose manowar loops: agents, workflows, workspace
|
|
@@ -880,7 +880,7 @@ components:
|
|
|
880
880
|
type: string
|
|
881
881
|
timestamp:
|
|
882
882
|
type: string
|
|
883
|
-
|
|
883
|
+
Attachment:
|
|
884
884
|
type: object
|
|
885
885
|
additionalProperties: true
|
|
886
886
|
properties:
|
|
@@ -925,14 +925,14 @@ components:
|
|
|
925
925
|
metadata:
|
|
926
926
|
type: object
|
|
927
927
|
additionalProperties: true
|
|
928
|
-
|
|
928
|
+
AttachmentInput:
|
|
929
929
|
oneOf:
|
|
930
|
-
- "$ref": "#/components/schemas/
|
|
930
|
+
- "$ref": "#/components/schemas/Attachment"
|
|
931
931
|
- type: string
|
|
932
|
-
|
|
932
|
+
Attachments:
|
|
933
933
|
type: array
|
|
934
934
|
items:
|
|
935
|
-
"$ref": "#/components/schemas/
|
|
935
|
+
"$ref": "#/components/schemas/AttachmentInput"
|
|
936
936
|
AgentChatRequest:
|
|
937
937
|
type: object
|
|
938
938
|
required:
|
|
@@ -951,9 +951,9 @@ components:
|
|
|
951
951
|
userAddress:
|
|
952
952
|
"$ref": "#/components/schemas/WalletAddress"
|
|
953
953
|
attachment:
|
|
954
|
-
"$ref": "#/components/schemas/
|
|
954
|
+
"$ref": "#/components/schemas/AttachmentInput"
|
|
955
955
|
attachments:
|
|
956
|
-
"$ref": "#/components/schemas/
|
|
956
|
+
"$ref": "#/components/schemas/Attachments"
|
|
957
957
|
sessionGrants:
|
|
958
958
|
type: array
|
|
959
959
|
items:
|
|
@@ -1019,9 +1019,9 @@ components:
|
|
|
1019
1019
|
audio:
|
|
1020
1020
|
type: string
|
|
1021
1021
|
attachment:
|
|
1022
|
-
"$ref": "#/components/schemas/
|
|
1022
|
+
"$ref": "#/components/schemas/AttachmentInput"
|
|
1023
1023
|
attachments:
|
|
1024
|
-
"$ref": "#/components/schemas/
|
|
1024
|
+
"$ref": "#/components/schemas/Attachments"
|
|
1025
1025
|
continuous:
|
|
1026
1026
|
type: boolean
|
|
1027
1027
|
composeRunId:
|
package/specs/x402.openapi.yaml
CHANGED