@elie-laloum/outpost 9.0.5 → 9.0.8
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/CHANGELOG.md +20 -0
- package/README.md +15 -20
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 9.0.8
|
|
4
|
+
|
|
5
|
+
- Redesign the bilingual documentation home with a full-viewport hero, a four-step journey and a nine-capability grid linking to the Guide. Show a medium-sized CSV-export workflow with parallel tests and review, bounded correction rounds and human approval.
|
|
6
|
+
- Add a site favicon, localized social previews, homepage search metadata and structured data, and a robots endpoint.
|
|
7
|
+
- Replace direct console output in Guide, homepage and README snippets with reporters and sample-output comments. Typecheck the shared reporter and execute the offline examples in both languages.
|
|
8
|
+
- Hide code-tab and snippet scrollbars while preserving horizontal scrolling, mouse dragging and keyboard navigation.
|
|
9
|
+
- Include the shared reporter when executing real container documentation examples in both languages.
|
|
10
|
+
|
|
11
|
+
Public library contracts and runtime behavior are unchanged.
|
|
12
|
+
|
|
13
|
+
## 9.0.6
|
|
14
|
+
|
|
15
|
+
- Rewrite the English and French Guide with clearer titles and explanations. The recommended setup builds an agent image, then imports Outpost in user-written TypeScript files; generated `init` workflow projects remain optional. Link option and property definitions to their API contracts instead of repeating them in the Guide.
|
|
16
|
+
- Limit Guide code blocks to 20 lines, split longer examples into named `.ts` files in tabs and place their explanations beside them. Code tabs support horizontal scrolling and mouse dragging so every file stays reachable.
|
|
17
|
+
- Replace Guide flows with pannable, zoomable canvases, illustrate cards with icons, extend notices across the content section and give page navigation actions equal widths. Reduce spacing in the sidebar.
|
|
18
|
+
- Rebuild the bilingual home around what developers can accomplish with Outpost, with a direct starting point, short working examples, illustrated use cases and a canvas. Reuse the Guide's layout and components, and regenerate content when starting or building the site so development and production render the same page.
|
|
19
|
+
- Keep only Guide and API in the header. Open the changelog exclusively from the version button, including on mobile, and keep the roadmap in the repository's `roadmap.md`. The version button's hover fills its whole cell, and Guide/API buttons keep their size while fonts load and the active page changes.
|
|
20
|
+
|
|
21
|
+
Public library contracts and runtime behavior are unchanged.
|
|
22
|
+
|
|
3
23
|
## 9.0.5
|
|
4
24
|
|
|
5
25
|
- Add a development-workflow use case that takes a ticket to a reviewed branch: an agent questions the owner and plans, the owner approves the plan, then agents write failing tests and the code that makes them pass under a reviewer agent, while the workflow checks every step and makes every commit. It replaces the “Write a specification with a human” recipe, whose URL redirects to it.
|
package/README.md
CHANGED
|
@@ -34,34 +34,27 @@ Outpost is a TypeScript library and CLI for running coding agents in sandboxes a
|
|
|
34
34
|
|
|
35
35
|
## Quickstart
|
|
36
36
|
|
|
37
|
-
You need **Node.js 24+**, **Git**, a repository with at least one commit, and **Docker** running. This example uses Codex with account authentication: prepare its host login using the [
|
|
37
|
+
You need **Node.js 24+**, **Git**, a repository with at least one commit, and **Docker** running. This example uses Codex with account authentication: prepare its host login using the [Codex guide](https://elie-laloum.github.io/outpost/guide/codex/) before running a task. [Authentication](https://elie-laloum.github.io/outpost/guide/authentication/) covers other agents and API-key billing.
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
Install the package, then build the agent image in a dedicated directory:
|
|
40
40
|
|
|
41
41
|
```sh
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
npx
|
|
42
|
+
npm install @elie-laloum/outpost
|
|
43
|
+
npm pkg set type=module
|
|
44
|
+
npx outpost init --yes --directory .outpost-image --image outpost:dev
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
The first build downloads the agent CLIs. The image directory also receives example workflow files; write your own script as shown below. See [agent images](https://elie-laloum.github.io/outpost/guide/agent-images/) to add project tools or use Podman.
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
## Write a TypeScript script
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
node run.ts "Describe this repository and suggest one small improvement. Do not edit files."
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
The generated script prints the branch, collected commits and conversation reference. It uses **local branch integration**: when you later ask the agent to change and commit code, those commits are integrated into the target checkout. Use a named branch, as below, to keep changes separate for review. See [branch strategies](https://elie-laloum.github.io/outpost/guide/repository-and-branch/).
|
|
56
|
-
|
|
57
|
-
## Use the library
|
|
58
|
-
|
|
59
|
-
The workflow is ordinary TypeScript. After the setup above, save this as `task.mts` next to the generated script, replace the repository path, and run `node task.mts`:
|
|
51
|
+
Use an ESM directory (`"type": "module"` in `package.json`); a CommonJS repository can keep the scripts in a separate directory with its own manifest. Save this as `task.ts`, replace the repository path, and run it with `node task.ts`. It keeps the agent’s changes on a named branch for review:
|
|
60
52
|
|
|
61
53
|
```ts
|
|
62
54
|
import {
|
|
63
55
|
createAgent,
|
|
64
56
|
createCodexHarness,
|
|
57
|
+
createReporter,
|
|
65
58
|
dispatch,
|
|
66
59
|
} from "@elie-laloum/outpost";
|
|
67
60
|
import { createDockerSandboxProvider } from "@elie-laloum/outpost/providers/docker";
|
|
@@ -72,15 +65,17 @@ const result = await dispatch({
|
|
|
72
65
|
harness: createCodexHarness({ authentication: "account" }),
|
|
73
66
|
}),
|
|
74
67
|
sandboxProvider: createDockerSandboxProvider({ image: "outpost:dev" }),
|
|
68
|
+
observe: createReporter(),
|
|
75
69
|
branch: { mode: "named", name: "outpost/fix-tests" },
|
|
76
70
|
brief: {
|
|
77
71
|
text: "Fix the failing tests, run them to verify and commit the change.",
|
|
78
72
|
},
|
|
79
73
|
});
|
|
80
74
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
75
|
+
// Example output:
|
|
76
|
+
// [outpost · pass 1] running · codex
|
|
77
|
+
// Fixed the failing tests and committed the change.
|
|
78
|
+
// [outpost · pass 1] finished · 12.00s · status 0 · input 1200 · cache read 0 · cache write 0 · output 320
|
|
84
79
|
```
|
|
85
80
|
|
|
86
81
|
`dispatch()` closes the sandbox it allocates; the named branch remains for review. Use a fresh branch name for each independent task. The agent’s answer is not an enforced test result: add explicit verification when checks must gate integration.
|
|
@@ -108,7 +103,7 @@ Conversation support varies: Claude Code, Codex and Kimi support capture, resume
|
|
|
108
103
|
|
|
109
104
|
Docker and Podman mount the selected workspace and Git metadata by default. These mounts are not an adversarial security boundary. Cloud providers receive repository data and declared credentials; explicit local execution runs on the host without isolation. Read [SECURITY.md](SECURITY.md) before choosing an environment for untrusted code.
|
|
110
105
|
|
|
111
|
-
Speculation remains experimental. See the [roadmap](
|
|
106
|
+
Speculation remains experimental. See the [roadmap](roadmap.md) for validation limits and planned work, and the [changelog](CHANGELOG.md) for version history and migration notes.
|
|
112
107
|
|
|
113
108
|
## Development and contributions
|
|
114
109
|
|