@myagentroam/protocol 0.10.9 → 0.10.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +12 -1
- package/dist/index.js +3 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,8 @@ import { z } from 'zod';
|
|
|
2
2
|
export * from './tool-result-resource.js';
|
|
3
3
|
import { type ResourceOwnership } from './enterprise.js';
|
|
4
4
|
export * from './chatgpt-oauth.js';
|
|
5
|
-
export declare const
|
|
5
|
+
export declare const XAI_SUBSCRIPTION_BASE_URL = "https://api.x.ai/v1";
|
|
6
|
+
export declare const XAI_SUBSCRIPTION_PROXY_BASE_URL = "https://cli-chat-proxy.grok.com/v1";
|
|
6
7
|
export * from './composer-tags.js';
|
|
7
8
|
export * from './enterprise.js';
|
|
8
9
|
export * from './skill.js';
|
|
@@ -43,6 +44,7 @@ export declare const marAgentRuntimeCredentialCapabilitySchema: z.ZodObject<{
|
|
|
43
44
|
serviceTiers: z.ZodOptional<z.ZodArray<z.ZodEnum<["auto", "default", "flex", "priority", "fast", "ultrafast"]>, "many">>;
|
|
44
45
|
namespacedTools: z.ZodOptional<z.ZodBoolean>;
|
|
45
46
|
responsesOptionalParameters: z.ZodOptional<z.ZodBoolean>;
|
|
47
|
+
responsesHttpContinuation: z.ZodOptional<z.ZodBoolean>;
|
|
46
48
|
httpVersions: z.ZodEffects<z.ZodArray<z.ZodEnum<["1.1", "2"]>, "many">, ("2" | "1.1")[], ("2" | "1.1")[]>;
|
|
47
49
|
}, "strict", z.ZodTypeAny, {
|
|
48
50
|
apiVersion: 1;
|
|
@@ -52,6 +54,7 @@ export declare const marAgentRuntimeCredentialCapabilitySchema: z.ZodObject<{
|
|
|
52
54
|
serviceTiers?: ("auto" | "default" | "flex" | "priority" | "fast" | "ultrafast")[] | undefined;
|
|
53
55
|
namespacedTools?: boolean | undefined;
|
|
54
56
|
responsesOptionalParameters?: boolean | undefined;
|
|
57
|
+
responsesHttpContinuation?: boolean | undefined;
|
|
55
58
|
}, {
|
|
56
59
|
apiVersion: 1;
|
|
57
60
|
websocket: boolean;
|
|
@@ -60,6 +63,7 @@ export declare const marAgentRuntimeCredentialCapabilitySchema: z.ZodObject<{
|
|
|
60
63
|
serviceTiers?: ("auto" | "default" | "flex" | "priority" | "fast" | "ultrafast")[] | undefined;
|
|
61
64
|
namespacedTools?: boolean | undefined;
|
|
62
65
|
responsesOptionalParameters?: boolean | undefined;
|
|
66
|
+
responsesHttpContinuation?: boolean | undefined;
|
|
63
67
|
}>;
|
|
64
68
|
export type MarAgentRuntimeCredentialCapability = z.infer<typeof marAgentRuntimeCredentialCapabilitySchema>;
|
|
65
69
|
export declare const conversationHostingCapabilitySchema: z.ZodEffects<z.ZodObject<{
|
|
@@ -985,6 +989,7 @@ export declare const nodeCapabilitiesSchema: z.ZodEffects<z.ZodObject<{
|
|
|
985
989
|
serviceTiers: z.ZodOptional<z.ZodArray<z.ZodEnum<["auto", "default", "flex", "priority", "fast", "ultrafast"]>, "many">>;
|
|
986
990
|
namespacedTools: z.ZodOptional<z.ZodBoolean>;
|
|
987
991
|
responsesOptionalParameters: z.ZodOptional<z.ZodBoolean>;
|
|
992
|
+
responsesHttpContinuation: z.ZodOptional<z.ZodBoolean>;
|
|
988
993
|
httpVersions: z.ZodEffects<z.ZodArray<z.ZodEnum<["1.1", "2"]>, "many">, ("2" | "1.1")[], ("2" | "1.1")[]>;
|
|
989
994
|
}, "strict", z.ZodTypeAny, {
|
|
990
995
|
apiVersion: 1;
|
|
@@ -994,6 +999,7 @@ export declare const nodeCapabilitiesSchema: z.ZodEffects<z.ZodObject<{
|
|
|
994
999
|
serviceTiers?: ("auto" | "default" | "flex" | "priority" | "fast" | "ultrafast")[] | undefined;
|
|
995
1000
|
namespacedTools?: boolean | undefined;
|
|
996
1001
|
responsesOptionalParameters?: boolean | undefined;
|
|
1002
|
+
responsesHttpContinuation?: boolean | undefined;
|
|
997
1003
|
}, {
|
|
998
1004
|
apiVersion: 1;
|
|
999
1005
|
websocket: boolean;
|
|
@@ -1002,6 +1008,7 @@ export declare const nodeCapabilitiesSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1002
1008
|
serviceTiers?: ("auto" | "default" | "flex" | "priority" | "fast" | "ultrafast")[] | undefined;
|
|
1003
1009
|
namespacedTools?: boolean | undefined;
|
|
1004
1010
|
responsesOptionalParameters?: boolean | undefined;
|
|
1011
|
+
responsesHttpContinuation?: boolean | undefined;
|
|
1005
1012
|
}>>;
|
|
1006
1013
|
chatgptLogin: z.ZodOptional<z.ZodObject<{
|
|
1007
1014
|
apiVersion: z.ZodLiteral<1>;
|
|
@@ -1139,6 +1146,7 @@ export declare const nodeCapabilitiesSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1139
1146
|
serviceTiers?: ("auto" | "default" | "flex" | "priority" | "fast" | "ultrafast")[] | undefined;
|
|
1140
1147
|
namespacedTools?: boolean | undefined;
|
|
1141
1148
|
responsesOptionalParameters?: boolean | undefined;
|
|
1149
|
+
responsesHttpContinuation?: boolean | undefined;
|
|
1142
1150
|
} | undefined;
|
|
1143
1151
|
chatgptLogin?: {
|
|
1144
1152
|
apiVersion: 1;
|
|
@@ -1248,6 +1256,7 @@ export declare const nodeCapabilitiesSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1248
1256
|
serviceTiers?: ("auto" | "default" | "flex" | "priority" | "fast" | "ultrafast")[] | undefined;
|
|
1249
1257
|
namespacedTools?: boolean | undefined;
|
|
1250
1258
|
responsesOptionalParameters?: boolean | undefined;
|
|
1259
|
+
responsesHttpContinuation?: boolean | undefined;
|
|
1251
1260
|
} | undefined;
|
|
1252
1261
|
chatgptLogin?: {
|
|
1253
1262
|
apiVersion: 1;
|
|
@@ -1357,6 +1366,7 @@ export declare const nodeCapabilitiesSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1357
1366
|
serviceTiers?: ("auto" | "default" | "flex" | "priority" | "fast" | "ultrafast")[] | undefined;
|
|
1358
1367
|
namespacedTools?: boolean | undefined;
|
|
1359
1368
|
responsesOptionalParameters?: boolean | undefined;
|
|
1369
|
+
responsesHttpContinuation?: boolean | undefined;
|
|
1360
1370
|
} | undefined;
|
|
1361
1371
|
chatgptLogin?: {
|
|
1362
1372
|
apiVersion: 1;
|
|
@@ -1466,6 +1476,7 @@ export declare const nodeCapabilitiesSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1466
1476
|
serviceTiers?: ("auto" | "default" | "flex" | "priority" | "fast" | "ultrafast")[] | undefined;
|
|
1467
1477
|
namespacedTools?: boolean | undefined;
|
|
1468
1478
|
responsesOptionalParameters?: boolean | undefined;
|
|
1479
|
+
responsesHttpContinuation?: boolean | undefined;
|
|
1469
1480
|
} | undefined;
|
|
1470
1481
|
chatgptLogin?: {
|
|
1471
1482
|
apiVersion: 1;
|
package/dist/index.js
CHANGED
|
@@ -7,7 +7,8 @@ import { workspaceDirectTransferCapabilitySchema } from './direct-transfer.js';
|
|
|
7
7
|
import { terminalDirectCapabilitySchema } from './terminal-direct.js';
|
|
8
8
|
import { chatgptLoginCapabilitySchema } from './chatgpt-oauth.js';
|
|
9
9
|
export * from './chatgpt-oauth.js';
|
|
10
|
-
export const
|
|
10
|
+
export const XAI_SUBSCRIPTION_BASE_URL = 'https://api.x.ai/v1';
|
|
11
|
+
export const XAI_SUBSCRIPTION_PROXY_BASE_URL = 'https://cli-chat-proxy.grok.com/v1';
|
|
11
12
|
export * from './composer-tags.js';
|
|
12
13
|
export * from './enterprise.js';
|
|
13
14
|
export * from './skill.js';
|
|
@@ -49,6 +50,7 @@ export const marAgentRuntimeCredentialCapabilitySchema = z
|
|
|
49
50
|
serviceTiers: z.array(marAgentResponsesServiceTierSchema).min(1).max(6).optional(),
|
|
50
51
|
namespacedTools: z.boolean().optional(),
|
|
51
52
|
responsesOptionalParameters: z.boolean().optional(),
|
|
53
|
+
responsesHttpContinuation: z.boolean().optional(),
|
|
52
54
|
httpVersions: z
|
|
53
55
|
.array(runtimeCredentialHttpVersionSchema)
|
|
54
56
|
.min(1)
|