@finalai/agent-protocol 0.1.0

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.

Potentially problematic release.


This version of @finalai/agent-protocol might be problematic. Click here for more details.

Files changed (56) hide show
  1. package/README.md +10 -0
  2. package/dist/modules/agent-platform/agents.d.mts +162 -0
  3. package/dist/modules/agent-platform/agents.mjs +91 -0
  4. package/dist/modules/agent-platform/agents.mjs.map +7 -0
  5. package/dist/modules/agent-platform/build.d.mts +678 -0
  6. package/dist/modules/agent-platform/build.mjs +348 -0
  7. package/dist/modules/agent-platform/build.mjs.map +7 -0
  8. package/dist/modules/agent-platform/common.d.mts +221 -0
  9. package/dist/modules/agent-platform/common.mjs +157 -0
  10. package/dist/modules/agent-platform/common.mjs.map +7 -0
  11. package/dist/modules/agent-platform/conversation-schedules.d.mts +98 -0
  12. package/dist/modules/agent-platform/conversation-schedules.mjs +70 -0
  13. package/dist/modules/agent-platform/conversation-schedules.mjs.map +7 -0
  14. package/dist/modules/agent-platform/conversations.d.mts +1024 -0
  15. package/dist/modules/agent-platform/conversations.mjs +378 -0
  16. package/dist/modules/agent-platform/conversations.mjs.map +7 -0
  17. package/dist/modules/agent-platform/enums.d.mts +231 -0
  18. package/dist/modules/agent-platform/enums.mjs +306 -0
  19. package/dist/modules/agent-platform/enums.mjs.map +7 -0
  20. package/dist/modules/agent-platform/index.d.mts +13 -0
  21. package/dist/modules/agent-platform/index.mjs +16 -0
  22. package/dist/modules/agent-platform/index.mjs.map +7 -0
  23. package/dist/modules/agent-platform/links.d.mts +77 -0
  24. package/dist/modules/agent-platform/links.mjs +34 -0
  25. package/dist/modules/agent-platform/links.mjs.map +7 -0
  26. package/dist/modules/agent-platform/people.d.mts +21 -0
  27. package/dist/modules/agent-platform/people.mjs +22 -0
  28. package/dist/modules/agent-platform/people.mjs.map +7 -0
  29. package/dist/modules/agent-platform/realtime.d.mts +713 -0
  30. package/dist/modules/agent-platform/realtime.mjs +185 -0
  31. package/dist/modules/agent-platform/realtime.mjs.map +7 -0
  32. package/dist/modules/agent-platform/sandboxes.d.mts +203 -0
  33. package/dist/modules/agent-platform/sandboxes.mjs +186 -0
  34. package/dist/modules/agent-platform/sandboxes.mjs.map +7 -0
  35. package/dist/modules/agent-platform/sessions.d.mts +494 -0
  36. package/dist/modules/agent-platform/sessions.mjs +242 -0
  37. package/dist/modules/agent-platform/sessions.mjs.map +7 -0
  38. package/dist/modules/base58.d.mts +2 -0
  39. package/dist/modules/base58.mjs +46 -0
  40. package/dist/modules/base58.mjs.map +7 -0
  41. package/dist/modules/index.d.mts +4 -0
  42. package/dist/modules/index.mjs +5 -0
  43. package/dist/modules/index.mjs.map +7 -0
  44. package/dist/modules/json-rpc.d.mts +15 -0
  45. package/dist/modules/json-rpc.mjs +20 -0
  46. package/dist/modules/json-rpc.mjs.map +7 -0
  47. package/dist/modules/json.d.mts +7 -0
  48. package/dist/modules/json.mjs +11 -0
  49. package/dist/modules/json.mjs.map +7 -0
  50. package/dist/modules/process-inspection.d.mts +177 -0
  51. package/dist/modules/process-inspection.mjs +83 -0
  52. package/dist/modules/process-inspection.mjs.map +7 -0
  53. package/dist/modules/tolerance.d.mts +18 -0
  54. package/dist/modules/tolerance.mjs +15 -0
  55. package/dist/modules/tolerance.mjs.map +7 -0
  56. package/package.json +121 -0
@@ -0,0 +1,83 @@
1
+ import * as z from "zod";
2
+ var ProcessInspectionOperation = /* @__PURE__ */ ((ProcessInspectionOperation2) => {
3
+ ProcessInspectionOperation2["Available"] = "available";
4
+ ProcessInspectionOperation2["List"] = "list";
5
+ ProcessInspectionOperation2["Detail"] = "detail";
6
+ ProcessInspectionOperation2["Stop"] = "stop";
7
+ return ProcessInspectionOperation2;
8
+ })(ProcessInspectionOperation || {});
9
+ const identity = { processId: z.string().min(1).max(256), bootId: z.string().min(1).max(256) };
10
+ const pagination = {
11
+ cursor: z.string().max(1024).optional(),
12
+ limit: z.number().int().min(1).max(200).optional()
13
+ };
14
+ const processInspectionRequestSchema = z.discriminatedUnion("operation", [
15
+ z.strictObject({ operation: z.literal("available" /* Available */) }),
16
+ z.strictObject({ operation: z.literal("list" /* List */), ...pagination }),
17
+ z.strictObject({
18
+ operation: z.literal("detail" /* Detail */),
19
+ ...identity,
20
+ ...pagination
21
+ }),
22
+ z.strictObject({ operation: z.literal("stop" /* Stop */), ...identity })
23
+ ]);
24
+ const inspectedProcessSchema = z.object({
25
+ id: z.string(),
26
+ bootId: z.string(),
27
+ command: z.string(),
28
+ leaderPid: z.number().nullable(),
29
+ state: z.string(),
30
+ keepsAwake: z.boolean(),
31
+ createdAtMs: z.number(),
32
+ updatedAtMs: z.number(),
33
+ endedAtMs: z.number().nullable(),
34
+ cpuUsec: z.number().nullable(),
35
+ memoryBytes: z.number().nullable(),
36
+ memoryPeakBytes: z.number().nullable(),
37
+ ioReadBytes: z.number().nullable(),
38
+ ioWriteBytes: z.number().nullable(),
39
+ processCount: z.number().nullable()
40
+ });
41
+ const inspectedProcessMemberSchema = z.object({
42
+ pid: z.number(),
43
+ startTicks: z.number().nullable(),
44
+ ppid: z.number(),
45
+ executable: z.string(),
46
+ argumentPreview: z.string(),
47
+ state: z.string(),
48
+ startedAtMs: z.number().nullable(),
49
+ cpuUsec: z.number().nullable(),
50
+ memoryBytes: z.number().nullable()
51
+ });
52
+ const processInspectionPageSchema = z.object({
53
+ status: z.string(),
54
+ processes: z.array(inspectedProcessSchema),
55
+ nextCursor: z.string().nullable()
56
+ });
57
+ const processInspectionDetailSchema = z.object({
58
+ process: inspectedProcessSchema,
59
+ descendants: z.array(inspectedProcessMemberSchema),
60
+ nextCursor: z.string().nullable(),
61
+ logs: z.object({
62
+ stdout: z.string(),
63
+ stderr: z.string(),
64
+ stdoutTruncated: z.boolean(),
65
+ stderrTruncated: z.boolean()
66
+ })
67
+ });
68
+ const processInspectionResultSchema = z.union([
69
+ z.object({ available: z.boolean(), canStop: z.boolean().optional() }),
70
+ processInspectionPageSchema,
71
+ processInspectionDetailSchema,
72
+ z.object({ stopped: z.boolean() })
73
+ ]);
74
+ export {
75
+ ProcessInspectionOperation,
76
+ inspectedProcessMemberSchema,
77
+ inspectedProcessSchema,
78
+ processInspectionDetailSchema,
79
+ processInspectionPageSchema,
80
+ processInspectionRequestSchema,
81
+ processInspectionResultSchema
82
+ };
83
+ //# sourceMappingURL=process-inspection.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/process-inspection.ts"],
4
+ "sourcesContent": ["// Public mirror of the shared process inspection wire; this package depends only on Zod.\nimport * as z from 'zod';\n\nexport enum ProcessInspectionOperation {\n Available = 'available',\n List = 'list',\n Detail = 'detail',\n Stop = 'stop',\n}\n\nconst identity = { processId: z.string().min(1).max(256), bootId: z.string().min(1).max(256) };\n\nconst pagination = {\n cursor: z.string().max(1024).optional(),\n limit: z.number().int().min(1).max(200).optional(),\n};\n\nexport const processInspectionRequestSchema = z.discriminatedUnion('operation', [\n z.strictObject({ operation: z.literal(ProcessInspectionOperation.Available) }),\n z.strictObject({ operation: z.literal(ProcessInspectionOperation.List), ...pagination }),\n z.strictObject({\n operation: z.literal(ProcessInspectionOperation.Detail),\n ...identity,\n ...pagination,\n }),\n z.strictObject({ operation: z.literal(ProcessInspectionOperation.Stop), ...identity }),\n]);\n\nexport type ProcessInspectionRequestIface = z.infer<typeof processInspectionRequestSchema>;\n\n// Responses tolerate added fields and states from a newer backend.\nexport const inspectedProcessSchema = z.object({\n id: z.string(),\n bootId: z.string(),\n command: z.string(),\n leaderPid: z.number().nullable(),\n state: z.string(),\n keepsAwake: z.boolean(),\n createdAtMs: z.number(),\n updatedAtMs: z.number(),\n endedAtMs: z.number().nullable(),\n cpuUsec: z.number().nullable(),\n memoryBytes: z.number().nullable(),\n memoryPeakBytes: z.number().nullable(),\n ioReadBytes: z.number().nullable(),\n ioWriteBytes: z.number().nullable(),\n processCount: z.number().nullable(),\n});\n\nexport type InspectedProcessIface = z.infer<typeof inspectedProcessSchema>;\n\nexport const inspectedProcessMemberSchema = z.object({\n pid: z.number(),\n startTicks: z.number().nullable(),\n ppid: z.number(),\n executable: z.string(),\n argumentPreview: z.string(),\n state: z.string(),\n startedAtMs: z.number().nullable(),\n cpuUsec: z.number().nullable(),\n memoryBytes: z.number().nullable(),\n});\n\nexport const processInspectionPageSchema = z.object({\n status: z.string(),\n processes: z.array(inspectedProcessSchema),\n nextCursor: z.string().nullable(),\n});\n\nexport const processInspectionDetailSchema = z.object({\n process: inspectedProcessSchema,\n descendants: z.array(inspectedProcessMemberSchema),\n nextCursor: z.string().nullable(),\n logs: z.object({\n stdout: z.string(),\n stderr: z.string(),\n stdoutTruncated: z.boolean(),\n stderrTruncated: z.boolean(),\n }),\n});\n\nexport const processInspectionResultSchema = z.union([\n z.object({ available: z.boolean(), canStop: z.boolean().optional() }),\n processInspectionPageSchema,\n processInspectionDetailSchema,\n z.object({ stopped: z.boolean() }),\n]);\n\nexport type ProcessInspectionResultIface = z.infer<typeof processInspectionResultSchema>;\n\nexport type ProcessInspectionPageIface = z.infer<typeof processInspectionPageSchema>;\n\nexport type ProcessInspectionDetailIface = z.infer<typeof processInspectionDetailSchema>;\n"],
5
+ "mappings": "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",
6
+ "names": ["ProcessInspectionOperation"]
7
+ }
@@ -0,0 +1,18 @@
1
+ import * as z from 'zod';
2
+ /**
3
+ * What a client sees when a server sends an enum value its bundle predates.
4
+ * Shipped bundles outlive deploys, so every server-to-client enum resolves to
5
+ * this instead of failing the whole payload.
6
+ */
7
+ export declare enum WireFallback {
8
+ Unrecognized = "unrecognized"
9
+ }
10
+ /** A string enum from the server; unknown or malformed values become `WireFallback.Unrecognized`. */
11
+ export declare const tolerantStringEnum: <Members extends z.core.util.EnumLike>(members: Members) => z.ZodUnion<readonly [z.ZodEnum<Members>, z.ZodPipe<z.ZodUnknown, z.ZodTransform<WireFallback, unknown>>]>;
12
+ /** An integer enum from the server; unknown or malformed values become `fallback`. */
13
+ export declare const tolerantIntegerEnum: <Members extends z.core.util.EnumLike>(members: Members, fallback: Members[keyof Members]) => z.ZodCatch<z.ZodEnum<Members>>;
14
+ /**
15
+ * A tagged union from the server; a member whose tag the bundle predates parses
16
+ * to `{ kind: WireFallback.Unrecognized, ...rest }` instead of failing.
17
+ */
18
+ export declare const tolerantTaggedUnion: <Options extends readonly [z.ZodObject, ...z.ZodObject[]], Fallback extends z.ZodType>(options: Options, fallback: Fallback) => z.ZodUnion<readonly [...Options, Fallback]>;
@@ -0,0 +1,15 @@
1
+ import * as z from "zod";
2
+ var WireFallback = /* @__PURE__ */ ((WireFallback2) => {
3
+ WireFallback2["Unrecognized"] = "unrecognized";
4
+ return WireFallback2;
5
+ })(WireFallback || {});
6
+ const tolerantStringEnum = (members) => z.union([z.enum(members), z.unknown().transform(() => "unrecognized" /* Unrecognized */)]);
7
+ const tolerantIntegerEnum = (members, fallback) => z.enum(members).catch(fallback);
8
+ const tolerantTaggedUnion = (options, fallback) => z.union([...options, fallback]);
9
+ export {
10
+ WireFallback,
11
+ tolerantIntegerEnum,
12
+ tolerantStringEnum,
13
+ tolerantTaggedUnion
14
+ };
15
+ //# sourceMappingURL=tolerance.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/tolerance.ts"],
4
+ "sourcesContent": ["import * as z from 'zod';\n\n/**\n * What a client sees when a server sends an enum value its bundle predates.\n * Shipped bundles outlive deploys, so every server-to-client enum resolves to\n * this instead of failing the whole payload.\n */\nexport enum WireFallback {\n Unrecognized = 'unrecognized',\n}\n\n/** A string enum from the server; unknown or malformed values become `WireFallback.Unrecognized`. */\nexport const tolerantStringEnum = <Members extends z.core.util.EnumLike>(members: Members) =>\n z.union([z.enum(members), z.unknown().transform((): WireFallback => WireFallback.Unrecognized)]);\n\n/** An integer enum from the server; unknown or malformed values become `fallback`. */\nexport const tolerantIntegerEnum = <Members extends z.core.util.EnumLike>(\n members: Members,\n fallback: Members[keyof Members],\n) => z.enum(members).catch(fallback);\n\n/**\n * A tagged union from the server; a member whose tag the bundle predates parses\n * to `{ kind: WireFallback.Unrecognized, ...rest }` instead of failing.\n */\nexport const tolerantTaggedUnion = <\n Options extends readonly [z.ZodObject, ...z.ZodObject[]],\n Fallback extends z.ZodType,\n>(\n options: Options,\n fallback: Fallback,\n) => z.union([...options, fallback]);\n"],
5
+ "mappings": "AAAA,YAAY,OAAO;AAOZ,IAAK,eAAL,kBAAKA,kBAAL;AACL,EAAAA,cAAA,kBAAe;AADL,SAAAA;AAAA,GAAA;AAKL,MAAM,qBAAqB,CAAuC,YACvE,EAAE,MAAM,CAAC,EAAE,KAAK,OAAO,GAAG,EAAE,QAAQ,EAAE,UAAU,MAAoB,iCAAyB,CAAC,CAAC;AAG1F,MAAM,sBAAsB,CACjC,SACA,aACG,EAAE,KAAK,OAAO,EAAE,MAAM,QAAQ;AAM5B,MAAM,sBAAsB,CAIjC,SACA,aACG,EAAE,MAAM,CAAC,GAAG,SAAS,QAAQ,CAAC;",
6
+ "names": ["WireFallback"]
7
+ }
package/package.json ADDED
@@ -0,0 +1,121 @@
1
+ {
2
+ "name": "@finalai/agent-protocol",
3
+ "version": "0.1.0",
4
+ "private": false,
5
+ "license": "UNLICENSED",
6
+ "files": [
7
+ "dist",
8
+ "README.md",
9
+ "THIRD_PARTY_NOTICES.md"
10
+ ],
11
+ "type": "module",
12
+ "sideEffects": false,
13
+ "exports": {
14
+ ".": {
15
+ "types": "./dist/modules/index.d.mts",
16
+ "import": "./dist/modules/index.mjs",
17
+ "default": "./dist/modules/index.mjs"
18
+ },
19
+ "./agent-platform": {
20
+ "types": "./dist/modules/agent-platform/index.d.mts",
21
+ "import": "./dist/modules/agent-platform/index.mjs",
22
+ "default": "./dist/modules/agent-platform/index.mjs"
23
+ },
24
+ "./package.json": "./package.json",
25
+ "./agent-platform/agents": {
26
+ "types": "./dist/modules/agent-platform/agents.d.mts",
27
+ "import": "./dist/modules/agent-platform/agents.mjs",
28
+ "default": "./dist/modules/agent-platform/agents.mjs"
29
+ },
30
+ "./agent-platform/build": {
31
+ "types": "./dist/modules/agent-platform/build.d.mts",
32
+ "import": "./dist/modules/agent-platform/build.mjs",
33
+ "default": "./dist/modules/agent-platform/build.mjs"
34
+ },
35
+ "./agent-platform/common": {
36
+ "types": "./dist/modules/agent-platform/common.d.mts",
37
+ "import": "./dist/modules/agent-platform/common.mjs",
38
+ "default": "./dist/modules/agent-platform/common.mjs"
39
+ },
40
+ "./agent-platform/conversation-schedules": {
41
+ "types": "./dist/modules/agent-platform/conversation-schedules.d.mts",
42
+ "import": "./dist/modules/agent-platform/conversation-schedules.mjs",
43
+ "default": "./dist/modules/agent-platform/conversation-schedules.mjs"
44
+ },
45
+ "./agent-platform/conversations": {
46
+ "types": "./dist/modules/agent-platform/conversations.d.mts",
47
+ "import": "./dist/modules/agent-platform/conversations.mjs",
48
+ "default": "./dist/modules/agent-platform/conversations.mjs"
49
+ },
50
+ "./agent-platform/enums": {
51
+ "types": "./dist/modules/agent-platform/enums.d.mts",
52
+ "import": "./dist/modules/agent-platform/enums.mjs",
53
+ "default": "./dist/modules/agent-platform/enums.mjs"
54
+ },
55
+ "./agent-platform/links": {
56
+ "types": "./dist/modules/agent-platform/links.d.mts",
57
+ "import": "./dist/modules/agent-platform/links.mjs",
58
+ "default": "./dist/modules/agent-platform/links.mjs"
59
+ },
60
+ "./agent-platform/people": {
61
+ "types": "./dist/modules/agent-platform/people.d.mts",
62
+ "import": "./dist/modules/agent-platform/people.mjs",
63
+ "default": "./dist/modules/agent-platform/people.mjs"
64
+ },
65
+ "./agent-platform/realtime": {
66
+ "types": "./dist/modules/agent-platform/realtime.d.mts",
67
+ "import": "./dist/modules/agent-platform/realtime.mjs",
68
+ "default": "./dist/modules/agent-platform/realtime.mjs"
69
+ },
70
+ "./agent-platform/sandboxes": {
71
+ "types": "./dist/modules/agent-platform/sandboxes.d.mts",
72
+ "import": "./dist/modules/agent-platform/sandboxes.mjs",
73
+ "default": "./dist/modules/agent-platform/sandboxes.mjs"
74
+ },
75
+ "./agent-platform/sessions": {
76
+ "types": "./dist/modules/agent-platform/sessions.d.mts",
77
+ "import": "./dist/modules/agent-platform/sessions.mjs",
78
+ "default": "./dist/modules/agent-platform/sessions.mjs"
79
+ },
80
+ "./json-rpc": {
81
+ "types": "./dist/modules/json-rpc.d.mts",
82
+ "import": "./dist/modules/json-rpc.mjs",
83
+ "default": "./dist/modules/json-rpc.mjs"
84
+ },
85
+ "./json": {
86
+ "types": "./dist/modules/json.d.mts",
87
+ "import": "./dist/modules/json.mjs",
88
+ "default": "./dist/modules/json.mjs"
89
+ },
90
+ "./process-inspection": {
91
+ "types": "./dist/modules/process-inspection.d.mts",
92
+ "import": "./dist/modules/process-inspection.mjs",
93
+ "default": "./dist/modules/process-inspection.mjs"
94
+ },
95
+ "./tolerance": {
96
+ "types": "./dist/modules/tolerance.d.mts",
97
+ "import": "./dist/modules/tolerance.mjs",
98
+ "default": "./dist/modules/tolerance.mjs"
99
+ },
100
+ "./base58": {
101
+ "types": "./dist/modules/base58.d.mts",
102
+ "import": "./dist/modules/base58.mjs",
103
+ "default": "./dist/modules/base58.mjs"
104
+ }
105
+ },
106
+ "publishConfig": {
107
+ "access": "restricted",
108
+ "registry": "https://registry.npmjs.org/"
109
+ },
110
+ "dependencies": {
111
+ "zod": "4.6.5"
112
+ },
113
+ "engines": {
114
+ "node": ">=26"
115
+ },
116
+ "repository": {
117
+ "type": "git",
118
+ "url": "git+https://github.com/final-company/packages-typescript.git",
119
+ "directory": "packages/@finalai/agent-protocol"
120
+ }
121
+ }