@finalai/agents 0.2.0 → 0.2.2

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.
@@ -14,6 +14,8 @@ export const scratchProvider = defineSandboxProvider({
14
14
  environment: () => ({
15
15
  artifactKey: async () => 'scratch-v1',
16
16
  prepare: async () => ({}),
17
+ // A memory sandbox runs as soon as it exists.
18
+ awaitRunning: async () => {},
17
19
  start: async () => ({ handle: handle(), state: {} }),
18
20
  resume: async () => handle(),
19
21
  }),
@@ -8,4 +8,6 @@ Definition publication compiles the repository ref and activates its definition
8
8
 
9
9
  The published package includes this client and the complete authored definition under `examples/release-scout/agent/`. It declares billing in the harness credential chain and includes sandbox setup, instructions, skills, an authored tool, the Linear connection, a schedule, a hook and the GitHub webhook. Supply the declared secrets and provider credentials before publishing it.
10
10
 
11
+ Git and `gh` are pre-authenticated in the sandbox.
12
+
11
13
  Conversation deliveries include session and turn ids. The example reconstructs each response with `session.response(turnId)` and waits for its durable completion, so a blank or failed turn cannot leave it waiting for a missed conversation event. Read receipts again with `conversation.deliveries({ messageId })` after a reconnect or for a delivery admitted under the queue policy.
@@ -7,7 +7,7 @@ export const computer = computerSetupGuide({
7
7
  ref: 'release-scout-dev',
8
8
  version: 'latest',
9
9
  repositories: [{ alias: 'app', repository: 'final/app', ref: 'main' }],
10
- variables: ['GITHUB_TOKEN', 'NPM_TOKEN'],
10
+ variables: ['NPM_TOKEN'],
11
11
  workspace: 'session',
12
12
  networkPolicy: 'allow-all',
13
13
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finalai/agents",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "private": false,
5
5
  "description": "Agent authoring, client APIs, and CLI.",
6
6
  "license": "Apache-2.0",
@@ -105,10 +105,10 @@
105
105
  },
106
106
  "dependencies": {
107
107
  "@agentclientprotocol/sdk": "1.8.0",
108
- "@finalai/agent-definition": "0.1.4",
108
+ "@finalai/agent-definition": "0.1.6",
109
109
  "@finalai/agent-protocol": "0.1.4",
110
- "@finalai/agent-provider": "0.1.5",
111
- "@finalai/final-agent-provider": "0.2.0",
110
+ "@finalai/agent-provider": "0.1.7",
111
+ "@finalai/final-agent-provider": "0.2.2",
112
112
  "@finalai/websockets": "0.1.4",
113
113
  "ws": "^8.21.3",
114
114
  "zod": "4.6.5"