@myagentroam/protocol 0.9.67 → 0.9.68
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/direct-transfer.d.ts +1826 -0
- package/dist/direct-transfer.js +330 -0
- package/dist/enterprise.d.ts +20 -20
- package/dist/index.d.ts +985 -889
- package/dist/index.js +8 -1
- package/dist/skill.d.ts +8 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { workspaceDirectTransferCapabilitySchema } from './direct-transfer.js';
|
|
2
3
|
export * from './enterprise.js';
|
|
3
4
|
export * from './skill.js';
|
|
4
5
|
export * from './mcp.js';
|
|
5
6
|
export * from './git-identity.js';
|
|
7
|
+
export * from './direct-transfer.js';
|
|
6
8
|
export const healthStatusSchema = z.object({
|
|
7
9
|
status: z.literal('ok')
|
|
8
10
|
});
|
|
@@ -216,7 +218,8 @@ export const nodeCapabilitiesSchema = z
|
|
|
216
218
|
openCode: runnerAvailabilitySchema.optional(),
|
|
217
219
|
marAgent: runnerAvailabilitySchema.optional(),
|
|
218
220
|
conversationHosting: conversationHostingCapabilitySchema.optional(),
|
|
219
|
-
marAgentRuntimeCredentials: marAgentRuntimeCredentialCapabilitySchema.optional()
|
|
221
|
+
marAgentRuntimeCredentials: marAgentRuntimeCredentialCapabilitySchema.optional(),
|
|
222
|
+
workspaceDirectTransfer: workspaceDirectTransferCapabilitySchema.optional()
|
|
220
223
|
})
|
|
221
224
|
.superRefine((capabilities, context) => {
|
|
222
225
|
if (capabilities.platform !== 'linux' &&
|
|
@@ -1213,6 +1216,7 @@ export const nodeWorkbenchCapabilitiesSchema = z.object({
|
|
|
1213
1216
|
manifestVersion: z.literal(1),
|
|
1214
1217
|
revision: z.number().int().nonnegative(),
|
|
1215
1218
|
observedAt: z.number().int().nonnegative(),
|
|
1219
|
+
nodeGeneration: z.string().min(8).max(128).optional(),
|
|
1216
1220
|
platform: nodePlatformSchema,
|
|
1217
1221
|
architecture: z.string().min(1).max(128),
|
|
1218
1222
|
conversation: capabilitySchemaWith({
|
|
@@ -1231,6 +1235,7 @@ export const nodeWorkbenchCapabilitiesSchema = z.object({
|
|
|
1231
1235
|
maxReadBytes: z.number().int().positive(),
|
|
1232
1236
|
maxSearchResults: z.number().int().positive().max(10000)
|
|
1233
1237
|
}),
|
|
1238
|
+
directTransfer: workspaceDirectTransferCapabilitySchema.optional(),
|
|
1234
1239
|
git: capabilitySchemaWith({
|
|
1235
1240
|
supportsCurrentChanges: z.boolean(),
|
|
1236
1241
|
supportsTurnChanges: z.boolean(),
|
|
@@ -2414,6 +2419,7 @@ export const workbenchNodeOperationSchema = z.enum([
|
|
|
2414
2419
|
'workspace.file.read',
|
|
2415
2420
|
'workspace.file.write',
|
|
2416
2421
|
'workspace.file.content.read',
|
|
2422
|
+
'workspace.file.direct.metadata',
|
|
2417
2423
|
'workspace.files.search',
|
|
2418
2424
|
'workspace.files.mutate',
|
|
2419
2425
|
'workspace.content.search',
|
|
@@ -2431,6 +2437,7 @@ export const workbenchNodeOperationSchema = z.enum([
|
|
|
2431
2437
|
'workspace.git.commit.files',
|
|
2432
2438
|
'workspace.git.commit.file.diff',
|
|
2433
2439
|
'workspace.git.commit.file.content.read',
|
|
2440
|
+
'workspace.git.commit.file.direct.metadata',
|
|
2434
2441
|
'run.image.read',
|
|
2435
2442
|
'terminal.open',
|
|
2436
2443
|
'terminal.list',
|
package/dist/skill.d.ts
CHANGED
|
@@ -9,29 +9,29 @@ export declare const skillSourceInputSchema: z.ZodEffects<z.ZodObject<{
|
|
|
9
9
|
locator: z.ZodUnion<[z.ZodLiteral<"skills.sh">, z.ZodEffects<z.ZodString, string, string>, z.ZodString]>;
|
|
10
10
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
11
11
|
}, "strict", z.ZodTypeAny, {
|
|
12
|
-
name: string;
|
|
13
12
|
kind: "SKILLS_SH" | "REPOSITORY";
|
|
13
|
+
name: string;
|
|
14
14
|
scope: "PERSONAL" | "ENTERPRISE" | "ORGANIZATION";
|
|
15
15
|
locator: string;
|
|
16
16
|
organizationId?: number | undefined;
|
|
17
17
|
enabled?: boolean | undefined;
|
|
18
18
|
}, {
|
|
19
|
-
name: string;
|
|
20
19
|
kind: "SKILLS_SH" | "REPOSITORY";
|
|
20
|
+
name: string;
|
|
21
21
|
scope: "PERSONAL" | "ENTERPRISE" | "ORGANIZATION";
|
|
22
22
|
locator: string;
|
|
23
23
|
organizationId?: number | undefined;
|
|
24
24
|
enabled?: boolean | undefined;
|
|
25
25
|
}>, {
|
|
26
|
-
name: string;
|
|
27
26
|
kind: "SKILLS_SH" | "REPOSITORY";
|
|
27
|
+
name: string;
|
|
28
28
|
scope: "PERSONAL" | "ENTERPRISE" | "ORGANIZATION";
|
|
29
29
|
locator: string;
|
|
30
30
|
organizationId?: number | undefined;
|
|
31
31
|
enabled?: boolean | undefined;
|
|
32
32
|
}, {
|
|
33
|
-
name: string;
|
|
34
33
|
kind: "SKILLS_SH" | "REPOSITORY";
|
|
34
|
+
name: string;
|
|
35
35
|
scope: "PERSONAL" | "ENTERPRISE" | "ORGANIZATION";
|
|
36
36
|
locator: string;
|
|
37
37
|
organizationId?: number | undefined;
|
|
@@ -46,29 +46,29 @@ export declare const skillSourceSchema: z.ZodIntersection<z.ZodEffects<z.ZodObje
|
|
|
46
46
|
locator: z.ZodUnion<[z.ZodLiteral<"skills.sh">, z.ZodEffects<z.ZodString, string, string>, z.ZodString]>;
|
|
47
47
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
48
48
|
}, "strict", z.ZodTypeAny, {
|
|
49
|
-
name: string;
|
|
50
49
|
kind: "SKILLS_SH" | "REPOSITORY";
|
|
50
|
+
name: string;
|
|
51
51
|
scope: "PERSONAL" | "ENTERPRISE" | "ORGANIZATION";
|
|
52
52
|
locator: string;
|
|
53
53
|
organizationId?: number | undefined;
|
|
54
54
|
enabled?: boolean | undefined;
|
|
55
55
|
}, {
|
|
56
|
-
name: string;
|
|
57
56
|
kind: "SKILLS_SH" | "REPOSITORY";
|
|
57
|
+
name: string;
|
|
58
58
|
scope: "PERSONAL" | "ENTERPRISE" | "ORGANIZATION";
|
|
59
59
|
locator: string;
|
|
60
60
|
organizationId?: number | undefined;
|
|
61
61
|
enabled?: boolean | undefined;
|
|
62
62
|
}>, {
|
|
63
|
-
name: string;
|
|
64
63
|
kind: "SKILLS_SH" | "REPOSITORY";
|
|
64
|
+
name: string;
|
|
65
65
|
scope: "PERSONAL" | "ENTERPRISE" | "ORGANIZATION";
|
|
66
66
|
locator: string;
|
|
67
67
|
organizationId?: number | undefined;
|
|
68
68
|
enabled?: boolean | undefined;
|
|
69
69
|
}, {
|
|
70
|
-
name: string;
|
|
71
70
|
kind: "SKILLS_SH" | "REPOSITORY";
|
|
71
|
+
name: string;
|
|
72
72
|
scope: "PERSONAL" | "ENTERPRISE" | "ORGANIZATION";
|
|
73
73
|
locator: string;
|
|
74
74
|
organizationId?: number | undefined;
|