@finalai/agents 0.8.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/agents might be problematic. Click here for more details.
- package/README.md +30 -0
- package/dist/modules/agent-client/acp-frames.d.mts +19 -0
- package/dist/modules/agent-client/acp-frames.mjs +49 -0
- package/dist/modules/agent-client/acp-frames.mjs.map +7 -0
- package/dist/modules/agent-client/acp.d.mts +43 -0
- package/dist/modules/agent-client/acp.mjs +76 -0
- package/dist/modules/agent-client/acp.mjs.map +7 -0
- package/dist/modules/agent-client/async-queue.d.mts +10 -0
- package/dist/modules/agent-client/async-queue.mjs +66 -0
- package/dist/modules/agent-client/async-queue.mjs.map +7 -0
- package/dist/modules/agent-client/build.d.mts +107 -0
- package/dist/modules/agent-client/build.mjs +222 -0
- package/dist/modules/agent-client/build.mjs.map +7 -0
- package/dist/modules/agent-client/client.d.mts +111 -0
- package/dist/modules/agent-client/client.mjs +198 -0
- package/dist/modules/agent-client/client.mjs.map +7 -0
- package/dist/modules/agent-client/collection-events.d.mts +35 -0
- package/dist/modules/agent-client/collection-events.mjs +142 -0
- package/dist/modules/agent-client/collection-events.mjs.map +7 -0
- package/dist/modules/agent-client/config-options.d.mts +24 -0
- package/dist/modules/agent-client/config-options.mjs +49 -0
- package/dist/modules/agent-client/config-options.mjs.map +7 -0
- package/dist/modules/agent-client/context.d.mts +31 -0
- package/dist/modules/agent-client/context.mjs +11 -0
- package/dist/modules/agent-client/context.mjs.map +7 -0
- package/dist/modules/agent-client/conversations.d.mts +385 -0
- package/dist/modules/agent-client/conversations.mjs +1156 -0
- package/dist/modules/agent-client/conversations.mjs.map +7 -0
- package/dist/modules/agent-client/errors.d.mts +85 -0
- package/dist/modules/agent-client/errors.mjs +94 -0
- package/dist/modules/agent-client/errors.mjs.map +7 -0
- package/dist/modules/agent-client/event-stream.d.mts +14 -0
- package/dist/modules/agent-client/event-stream.mjs +89 -0
- package/dist/modules/agent-client/event-stream.mjs.map +7 -0
- package/dist/modules/agent-client/frame-stream.d.mts +51 -0
- package/dist/modules/agent-client/frame-stream.mjs +333 -0
- package/dist/modules/agent-client/frame-stream.mjs.map +7 -0
- package/dist/modules/agent-client/http.d.mts +68 -0
- package/dist/modules/agent-client/http.mjs +168 -0
- package/dist/modules/agent-client/http.mjs.map +7 -0
- package/dist/modules/agent-client/index.d.mts +17 -0
- package/dist/modules/agent-client/index.mjs +86 -0
- package/dist/modules/agent-client/index.mjs.map +7 -0
- package/dist/modules/agent-client/live-stream.d.mts +18 -0
- package/dist/modules/agent-client/live-stream.mjs +94 -0
- package/dist/modules/agent-client/live-stream.mjs.map +7 -0
- package/dist/modules/agent-client/realtime.d.mts +72 -0
- package/dist/modules/agent-client/realtime.mjs +186 -0
- package/dist/modules/agent-client/realtime.mjs.map +7 -0
- package/dist/modules/agent-client/sandbox-uri.d.mts +19 -0
- package/dist/modules/agent-client/sandbox-uri.mjs +43 -0
- package/dist/modules/agent-client/sandbox-uri.mjs.map +7 -0
- package/dist/modules/agent-client/sessions.d.mts +124 -0
- package/dist/modules/agent-client/sessions.mjs +350 -0
- package/dist/modules/agent-client/sessions.mjs.map +7 -0
- package/dist/modules/agent-client/test-fakes.d.mts +40 -0
- package/dist/modules/agent-client/test-fakes.mjs +94 -0
- package/dist/modules/agent-client/test-fakes.mjs.map +7 -0
- package/dist/modules/authoring/approval.d.mts +1 -0
- package/dist/modules/authoring/approval.mjs +2 -0
- package/dist/modules/authoring/approval.mjs.map +7 -0
- package/dist/modules/authoring/channels.d.mts +1 -0
- package/dist/modules/authoring/channels.mjs +2 -0
- package/dist/modules/authoring/channels.mjs.map +7 -0
- package/dist/modules/authoring/final-channel.d.mts +1 -0
- package/dist/modules/authoring/final-channel.mjs +2 -0
- package/dist/modules/authoring/final-channel.mjs.map +7 -0
- package/dist/modules/authoring/hooks.d.mts +1 -0
- package/dist/modules/authoring/hooks.mjs +2 -0
- package/dist/modules/authoring/hooks.mjs.map +7 -0
- package/dist/modules/authoring/index.d.mts +1 -0
- package/dist/modules/authoring/index.mjs +2 -0
- package/dist/modules/authoring/index.mjs.map +7 -0
- package/dist/modules/authoring/instructions.d.mts +1 -0
- package/dist/modules/authoring/instructions.mjs +2 -0
- package/dist/modules/authoring/instructions.mjs.map +7 -0
- package/dist/modules/authoring/providers.d.mts +2 -0
- package/dist/modules/authoring/providers.mjs +1 -0
- package/dist/modules/authoring/providers.mjs.map +7 -0
- package/dist/modules/authoring/tools.d.mts +1 -0
- package/dist/modules/authoring/tools.mjs +2 -0
- package/dist/modules/authoring/tools.mjs.map +7 -0
- package/dist/modules/cli/build.d.mts +22 -0
- package/dist/modules/cli/build.mjs +77 -0
- package/dist/modules/cli/build.mjs.map +7 -0
- package/dist/modules/cli/channel-socket.d.mts +9 -0
- package/dist/modules/cli/channel-socket.mjs +114 -0
- package/dist/modules/cli/channel-socket.mjs.map +7 -0
- package/dist/modules/cli/cli.d.mts +16 -0
- package/dist/modules/cli/cli.mjs +151 -0
- package/dist/modules/cli/cli.mjs.map +7 -0
- package/dist/modules/cli/conformance.d.mts +36 -0
- package/dist/modules/cli/conformance.mjs +220 -0
- package/dist/modules/cli/conformance.mjs.map +7 -0
- package/dist/modules/cli/dev.d.mts +24 -0
- package/dist/modules/cli/dev.mjs +263 -0
- package/dist/modules/cli/dev.mjs.map +7 -0
- package/dist/modules/cli/files.d.mts +18 -0
- package/dist/modules/cli/files.mjs +66 -0
- package/dist/modules/cli/files.mjs.map +7 -0
- package/dist/modules/cli/harness-descriptions.d.mts +20 -0
- package/dist/modules/cli/harness-descriptions.mjs +70 -0
- package/dist/modules/cli/harness-descriptions.mjs.map +7 -0
- package/dist/modules/cli/main.d.mts +2 -0
- package/dist/modules/cli/main.mjs +20 -0
- package/dist/modules/cli/main.mjs.map +7 -0
- package/dist/modules/cli/output.d.mts +14 -0
- package/dist/modules/cli/output.mjs +94 -0
- package/dist/modules/cli/output.mjs.map +7 -0
- package/dist/modules/cli/publish.d.mts +14 -0
- package/dist/modules/cli/publish.mjs +89 -0
- package/dist/modules/cli/publish.mjs.map +7 -0
- package/dist/modules/compile.d.mts +3 -0
- package/dist/modules/compile.mjs +62 -0
- package/dist/modules/compile.mjs.map +7 -0
- package/dist/modules/harnesses.d.mts +1 -0
- package/dist/modules/harnesses.mjs +2 -0
- package/dist/modules/harnesses.mjs.map +7 -0
- package/dist/modules/index.browser.d.mts +4 -0
- package/dist/modules/index.browser.mjs +8 -0
- package/dist/modules/index.browser.mjs.map +7 -0
- package/dist/modules/index.d.mts +3 -0
- package/dist/modules/index.mjs +6 -0
- package/dist/modules/index.mjs.map +7 -0
- package/dist/modules/models.d.mts +1 -0
- package/dist/modules/models.mjs +2 -0
- package/dist/modules/models.mjs.map +7 -0
- package/dist/modules/public.d.mts +6 -0
- package/dist/modules/public.mjs +68 -0
- package/dist/modules/public.mjs.map +7 -0
- package/dist/modules/sandboxes.d.mts +1 -0
- package/dist/modules/sandboxes.mjs +2 -0
- package/dist/modules/sandboxes.mjs.map +7 -0
- package/examples/custom-harness/README.md +16 -0
- package/examples/custom-harness/agent.ts +154 -0
- package/examples/custom-sandbox/README.md +12 -0
- package/examples/custom-sandbox/agent.ts +14 -0
- package/examples/custom-sandbox/sandbox.ts +22 -0
- package/examples/release-scout/README.md +11 -0
- package/examples/release-scout/agent/agent.ts +22 -0
- package/examples/release-scout/agent/channels/github-signature.ts +27 -0
- package/examples/release-scout/agent/channels/github.ts +38 -0
- package/examples/release-scout/agent/connections/linear.ts +9 -0
- package/examples/release-scout/agent/hooks/audit.ts +24 -0
- package/examples/release-scout/agent/instructions/org-context.ts +26 -0
- package/examples/release-scout/agent/instructions.md +2 -0
- package/examples/release-scout/agent/sandbox.ts +20 -0
- package/examples/release-scout/agent/schedules/daily-digest.md +7 -0
- package/examples/release-scout/agent/skills/triage/SKILL.md +8 -0
- package/examples/release-scout/agent/skills/triage/checklist.md +3 -0
- package/examples/release-scout/agent/tools/lookup_release_notes.ts +24 -0
- package/examples/release-scout/client.ts +123 -0
- package/package.json +126 -0
package/package.json
ADDED
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@finalai/agents",
|
|
3
|
+
"version": "0.8.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "Agent authoring, client APIs, and CLI.",
|
|
6
|
+
"license": "UNLICENSED",
|
|
7
|
+
"bin": {
|
|
8
|
+
"final-agents": "./dist/modules/cli/main.mjs"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"dist",
|
|
12
|
+
"examples",
|
|
13
|
+
"README.md",
|
|
14
|
+
"THIRD_PARTY_NOTICES.md"
|
|
15
|
+
],
|
|
16
|
+
"type": "module",
|
|
17
|
+
"sideEffects": [
|
|
18
|
+
"./dist/modules/cli/main.mjs"
|
|
19
|
+
],
|
|
20
|
+
"types": "./dist/modules/index.d.mts",
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"types": "./dist/modules/index.d.mts",
|
|
24
|
+
"node": "./dist/modules/index.mjs",
|
|
25
|
+
"default": "./dist/modules/index.browser.mjs"
|
|
26
|
+
},
|
|
27
|
+
"./client": {
|
|
28
|
+
"types": "./dist/modules/agent-client/index.d.mts",
|
|
29
|
+
"import": "./dist/modules/agent-client/index.mjs",
|
|
30
|
+
"default": "./dist/modules/agent-client/index.mjs"
|
|
31
|
+
},
|
|
32
|
+
"./client/acp": {
|
|
33
|
+
"types": "./dist/modules/agent-client/acp.d.mts",
|
|
34
|
+
"import": "./dist/modules/agent-client/acp.mjs",
|
|
35
|
+
"default": "./dist/modules/agent-client/acp.mjs"
|
|
36
|
+
},
|
|
37
|
+
"./instructions": {
|
|
38
|
+
"types": "./dist/modules/authoring/instructions.d.mts",
|
|
39
|
+
"import": "./dist/modules/authoring/instructions.mjs",
|
|
40
|
+
"default": "./dist/modules/authoring/instructions.mjs"
|
|
41
|
+
},
|
|
42
|
+
"./approval": {
|
|
43
|
+
"types": "./dist/modules/authoring/approval.d.mts",
|
|
44
|
+
"import": "./dist/modules/authoring/approval.mjs",
|
|
45
|
+
"default": "./dist/modules/authoring/approval.mjs"
|
|
46
|
+
},
|
|
47
|
+
"./hooks": {
|
|
48
|
+
"types": "./dist/modules/authoring/hooks.d.mts",
|
|
49
|
+
"import": "./dist/modules/authoring/hooks.mjs",
|
|
50
|
+
"default": "./dist/modules/authoring/hooks.mjs"
|
|
51
|
+
},
|
|
52
|
+
"./tools": {
|
|
53
|
+
"types": "./dist/modules/authoring/tools.d.mts",
|
|
54
|
+
"import": "./dist/modules/authoring/tools.mjs",
|
|
55
|
+
"default": "./dist/modules/authoring/tools.mjs"
|
|
56
|
+
},
|
|
57
|
+
"./channels": {
|
|
58
|
+
"types": "./dist/modules/authoring/channels.d.mts",
|
|
59
|
+
"import": "./dist/modules/authoring/channels.mjs",
|
|
60
|
+
"default": "./dist/modules/authoring/channels.mjs"
|
|
61
|
+
},
|
|
62
|
+
"./harnesses": {
|
|
63
|
+
"types": "./dist/modules/harnesses.d.mts",
|
|
64
|
+
"import": "./dist/modules/harnesses.mjs",
|
|
65
|
+
"default": "./dist/modules/harnesses.mjs"
|
|
66
|
+
},
|
|
67
|
+
"./sandboxes": {
|
|
68
|
+
"types": "./dist/modules/sandboxes.d.mts",
|
|
69
|
+
"import": "./dist/modules/sandboxes.mjs",
|
|
70
|
+
"default": "./dist/modules/sandboxes.mjs"
|
|
71
|
+
},
|
|
72
|
+
"./package.json": "./package.json",
|
|
73
|
+
"./models": {
|
|
74
|
+
"types": "./dist/modules/models.d.mts",
|
|
75
|
+
"import": "./dist/modules/models.mjs",
|
|
76
|
+
"default": "./dist/modules/models.mjs"
|
|
77
|
+
},
|
|
78
|
+
"./channels/final": {
|
|
79
|
+
"types": "./dist/modules/authoring/final-channel.d.mts",
|
|
80
|
+
"import": "./dist/modules/authoring/final-channel.mjs",
|
|
81
|
+
"default": "./dist/modules/authoring/final-channel.mjs"
|
|
82
|
+
},
|
|
83
|
+
"./client/http": {
|
|
84
|
+
"types": "./dist/modules/agent-client/http.d.mts",
|
|
85
|
+
"import": "./dist/modules/agent-client/http.mjs",
|
|
86
|
+
"default": "./dist/modules/agent-client/http.mjs"
|
|
87
|
+
},
|
|
88
|
+
"./client/sandbox-uri": {
|
|
89
|
+
"types": "./dist/modules/agent-client/sandbox-uri.d.mts",
|
|
90
|
+
"import": "./dist/modules/agent-client/sandbox-uri.mjs",
|
|
91
|
+
"default": "./dist/modules/agent-client/sandbox-uri.mjs"
|
|
92
|
+
},
|
|
93
|
+
"./testing": {
|
|
94
|
+
"types": "./dist/modules/agent-client/test-fakes.d.mts",
|
|
95
|
+
"import": "./dist/modules/agent-client/test-fakes.mjs",
|
|
96
|
+
"default": "./dist/modules/agent-client/test-fakes.mjs"
|
|
97
|
+
},
|
|
98
|
+
"./authoring": {
|
|
99
|
+
"types": "./dist/modules/public.d.mts",
|
|
100
|
+
"import": "./dist/modules/public.mjs",
|
|
101
|
+
"default": "./dist/modules/public.mjs"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"publishConfig": {
|
|
105
|
+
"access": "restricted",
|
|
106
|
+
"registry": "https://registry.npmjs.org/"
|
|
107
|
+
},
|
|
108
|
+
"dependencies": {
|
|
109
|
+
"@agentclientprotocol/sdk": "1.8.0",
|
|
110
|
+
"@finalai/agent-definition": "0.1.0",
|
|
111
|
+
"@finalai/agent-protocol": "0.1.0",
|
|
112
|
+
"@finalai/agent-provider": "0.1.0",
|
|
113
|
+
"@finalai/final-agent-provider": "0.1.0",
|
|
114
|
+
"@finalai/websockets": "0.1.0",
|
|
115
|
+
"ws": "^8.21.3",
|
|
116
|
+
"zod": "4.6.5"
|
|
117
|
+
},
|
|
118
|
+
"engines": {
|
|
119
|
+
"node": ">=26"
|
|
120
|
+
},
|
|
121
|
+
"repository": {
|
|
122
|
+
"type": "git",
|
|
123
|
+
"url": "git+https://github.com/final-company/packages-typescript.git",
|
|
124
|
+
"directory": "packages/@finalai/agents"
|
|
125
|
+
}
|
|
126
|
+
}
|