agenttwin 0.3.16 → 0.3.17
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/README.md +20 -4
- package/dist/cli.js +32 -14226
- package/dist/dashboard/assets/icons/docs/claude.png +0 -0
- package/dist/dashboard/assets/icons/docs/cursor.svg +1 -0
- package/dist/dashboard/assets/icons/docs/mcp.png +0 -0
- package/dist/dashboard/assets/icons/docs/sources.json +22 -0
- package/dist/dashboard/assets/icons/docs/vscode.png +0 -0
- package/dist/dashboard/assets/next/static/V3pvPBiLJXMLA7hJtcq8Q/_buildManifest.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/0e5ce63c-707674e8817dc2e1.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/1018.4871a8dd0f112c38.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/{1482.e664aba77631265d.js → 1482.c28f7cd0f92885c1.js} +1 -1
- package/dist/dashboard/assets/next/static/chunks/2743-a0efd6f4aeb11cc5.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/5258-3d0060b41be9ad97.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/5531-fde254dbd21c3153.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/_not-found/{page-43db8aef3fa81958.js → page-4fac636e5cfc0494.js} +1 -1
- package/dist/dashboard/assets/next/static/chunks/app/about/{page-3f5dbcdbf95bb2fc.js → page-bbf125ee6ef16d17.js} +1 -1
- package/dist/dashboard/assets/next/static/chunks/app/account/password/{page-c2ce3c796c817ca1.js → page-d1baf10bff8f328c.js} +1 -1
- package/dist/dashboard/assets/next/static/chunks/app/api-policy/{page-3f5dbcdbf95bb2fc.js → page-bbf125ee6ef16d17.js} +1 -1
- package/dist/dashboard/assets/next/static/chunks/app/auth/{page-3f5dbcdbf95bb2fc.js → page-bbf125ee6ef16d17.js} +1 -1
- package/dist/dashboard/assets/next/static/chunks/app/blog/layout-434c5265a09af3b9.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/compare/{page-3f5dbcdbf95bb2fc.js → page-bbf125ee6ef16d17.js} +1 -1
- package/dist/dashboard/assets/next/static/chunks/app/contact/page-bbf125ee6ef16d17.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/dashboard/layout-1632d9fae63c9cd6.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/dashboard/page-6894a8a3e5ba859a.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/demo/page-c1267bf857a3fca8.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/developers/page-bbf125ee6ef16d17.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/docs/[[...slug]]/page-5cec0850a8226e15.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/enterprise/page-f21347075a09d6d4.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/guides/page-bbf125ee6ef16d17.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/{layout-993a96283a3ceb07.js → layout-b924dc5a0d35506b.js} +1 -1
- package/dist/dashboard/assets/next/static/chunks/app/login/page-65179e6b5aba8504.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/onboarding/{page-bc480c9258e5cc4d.js → page-8eb71ef88bdd9396.js} +1 -1
- package/dist/dashboard/assets/next/static/chunks/app/page-648a42537e0af8ae.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/pricing/{page-40f352fe5093a0ff.js → page-5970ed83a07bed67.js} +1 -1
- package/dist/dashboard/assets/next/static/chunks/app/privacy/page-bbf125ee6ef16d17.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/sandbox/page-bbf125ee6ef16d17.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/signup/page-65179e6b5aba8504.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/v2/dashboard/layout-bf73782281ca3196.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/v2/dashboard/page-dcce64b2a778b11d.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/v2/layout-c9122f78d0d3c100.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/v2/login/page-5b17dafd5bf2fe36.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/v2/onboarding/{page-f04c0b236abaead3.js → page-d20759b1be50643f.js} +1 -1
- package/dist/dashboard/assets/next/static/chunks/app/v2/page-fee1ecf1d39d4204.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/v2/signup/page-5b17dafd5bf2fe36.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/what-is-agenttwin/page-bbf125ee6ef16d17.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/{main-app-1ec13ceef4a34729.js → main-app-9030513b2ea7c6ba.js} +1 -1
- package/dist/dashboard/assets/next/static/chunks/webpack-31e888c3be320794.js +1 -0
- package/dist/dashboard/assets/next/static/css/0856ee8c880d8b92.css +1 -0
- package/dist/dashboard/assets/next/static/css/{ced6baae4dc4cbab.css → 14eee9340ebc5f8b.css} +1 -1
- package/dist/dashboard/assets/next/static/css/542f5281c59de6ae.css +1 -0
- package/dist/dashboard/assets/next/static/css/d131a6499fe6cf19.css +3 -0
- package/dist/dashboard/assets/next/static/css/{d35115cc1039cc68.css → d2577d0d9837850e.css} +1 -1
- package/dist/dashboard/index.html +2 -2
- package/dist/engine.js +14376 -0
- package/package.json +3 -3
- package/dist/dashboard/assets/next/static/chunks/182-71d400a5d9e02879.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/3050-bac69e3c6734beee.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/8093-90b99184c0a57c57.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/9376.42da54b90ff9f2d9.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/blog/layout-563d8763d65d66b5.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/contact/page-3f5dbcdbf95bb2fc.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/dashboard/layout-1afe915ed22ac5ed.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/dashboard/page-562ef289e26a892c.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/demo/page-4dc63755e0013e7c.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/developers/page-3f5dbcdbf95bb2fc.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/docs/[[...slug]]/page-77e04e31450c1d88.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/guides/page-3f5dbcdbf95bb2fc.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/login/page-d6d4276397724d29.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/page-34509f07c4d57e27.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/privacy/page-3f5dbcdbf95bb2fc.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/sandbox/page-3f5dbcdbf95bb2fc.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/signup/page-d6d4276397724d29.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/v2/dashboard/layout-a5cf565e017886d3.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/v2/dashboard/page-8bb7ad38709ca7c7.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/v2/layout-abbd9f3b8811f559.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/v2/login/page-4f4a342a4c28f9de.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/v2/page-3905446ec0206fb5.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/v2/signup/page-4f4a342a4c28f9de.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/app/what-is-agenttwin/page-3f5dbcdbf95bb2fc.js +0 -1
- package/dist/dashboard/assets/next/static/chunks/webpack-1e0180645d7be885.js +0 -1
- package/dist/dashboard/assets/next/static/css/15b28a76469ea7e5.css +0 -3
- package/dist/dashboard/assets/next/static/css/6695e0f2ae2e5aaf.css +0 -1
- package/dist/dashboard/assets/next/static/othTO5Jx9zt3NjqmMLjYI/_buildManifest.js +0 -1
- /package/dist/dashboard/assets/next/static/{othTO5Jx9zt3NjqmMLjYI → V3pvPBiLJXMLA7hJtcq8Q}/_ssgManifest.js +0 -0
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ The default runner executes reviewed bundled Node code on your computer, with fr
|
|
|
6
6
|
|
|
7
7
|
## Install and discover
|
|
8
8
|
|
|
9
|
-
Node.js 22.
|
|
9
|
+
Node.js 22.18+ (22.x) or 24.11+ is required. Run discovery from your project; npx installs the CLI automatically:
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
12
|
npx agenttwin init
|
|
@@ -91,7 +91,7 @@ There is no automatic cloning of arbitrary software, provider account provisioni
|
|
|
91
91
|
|
|
92
92
|
## Operate the API
|
|
93
93
|
|
|
94
|
-
The package includes `dist/gateway.js`. Deploy it on a server with Node 22.
|
|
94
|
+
The package includes `dist/gateway.js`. Deploy it on a server with Node 22.18+ (22.x) or 24.11+, HTTPS ingress and persistent disk. See the repository's `docs/HOSTED-RUNTIME.md` for deployment, accounts, limits and operational boundaries. The gateway stores synced discovery and CLI results, serves chat, and can optionally dispatch cloud jobs. It starts without E2B credentials; cloud submissions then return a clear unavailable response. Applications submitted for cloud execution run in separate E2B sandboxes.
|
|
95
95
|
|
|
96
96
|
MIT license.
|
|
97
97
|
|
|
@@ -142,7 +142,7 @@ Older releases without this updater cannot update themselves. After the new rele
|
|
|
142
142
|
|
|
143
143
|
### Coding session and dashboard discovery
|
|
144
144
|
|
|
145
|
-
Run `npx agenttwin init` inside your repository (Node.js 22.
|
|
145
|
+
Run `npx agenttwin init` inside your repository (Node.js 22.18+ (22.x) or 24.11+). Interactive init connects your account, syncs project discovery and opens the guided repository menu. It does not launch another coding agent automatically. `npx agenttwin init --agent opencode` launches OpenCode explicitly with your configured provider and its normal permission controls. Provider authentication and usage belong to your coding-agent account. Other coding agents can use `.agenttwin/AGENT-TASK.md`.
|
|
146
146
|
|
|
147
147
|
The session traces workflows across files, records intents and production failure hypotheses in `.agenttwin/WORKFLOWS.md`, and writes metadata to `.agenttwin/agent-discovery.json`. Static candidates retain their original evidence. Agent candidates remain unverified until the workflow is explicitly prepared and executed. Static discovery preserves distinct exported side-effect entrypoints, including repositories with 100 candidates; it does not prove that every business workflow has been found.
|
|
148
148
|
|
|
@@ -157,10 +157,26 @@ A run receipt's **Fix & retest** tab exports an evidence-based task for your cod
|
|
|
157
157
|
|
|
158
158
|
The website’s Settings page saves workspace name, default execution limit (1–300 seconds for new templates), automatic refresh, compact lists and reduced motion in this browser. Existing reviewed bundles retain their limits. The account section supports token visibility, connection status, manual workspace refresh and disconnect; tokens are never persisted with preferences.
|
|
159
159
|
|
|
160
|
-
Top-right initials open account actions. The sidebar closes into a full-width layout. See `docs-site/src/dashboard.mdx` for the complete guide. The website/API UI has received additional fixes after npm 0.
|
|
160
|
+
Top-right initials open account actions. The sidebar closes into a full-width layout. See `docs-site/src/dashboard.mdx` for the complete guide. The website/API UI has received additional fixes after npm 0.3.16; the published package remains 0.3.16.
|
|
161
161
|
|
|
162
162
|
### Workflow discovery boundaries
|
|
163
163
|
|
|
164
164
|
Discovery identifies individual request branches in Fetch/Bun-style URL dispatch, Express-style callbacks, queue workers and exported provider operations. It follows direct local function calls and relative named imports, including aliases, and recognizes provider hosts in literal HTTP calls. Each candidate retains its source entrypoint and evidence. Router containers and pure exported helpers are not treated as complete workflows.
|
|
165
165
|
|
|
166
166
|
These are possible static code paths, not executed or verified business workflows. Dynamic dispatch, computed destinations, external packages, re-exports and runtime-only integrations can remain unresolved. Prepare inputs, operation coverage and correctness checks before running a candidate. Refresh discovery and sync it to update an already-connected dashboard.
|
|
167
|
+
|
|
168
|
+
### One-command sample
|
|
169
|
+
|
|
170
|
+
```sh
|
|
171
|
+
npx agenttwin demo --out ./agenttwin-demo --seed 42
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
Runs a sample cleanly, detects duplicate tickets under a lost write response, applies a known sample source repair, verifies unchanged assertions, and replays the result. Evidence and the source diff stay in the output directory. This does not test or patch your application. Existing directories are not overwritten.
|
|
175
|
+
|
|
176
|
+
### Optional command telemetry
|
|
177
|
+
|
|
178
|
+
Telemetry is off by default. To send minimal command metrics to your PostHog project, set `AGENTTWIN_TELEMETRY=1` and `AGENTTWIN_POSTHOG_KEY` to its public ingestion key. `AGENTTWIN_POSTHOG_HOST` selects the ingestion origin (HTTPS required outside loopback). `DO_NOT_TRACK=1` or `AGENTTWIN_TELEMETRY_DISABLED=1` overrides opt-in.
|
|
179
|
+
|
|
180
|
+
Command metrics include category, CLI version, Node major, platform, duration, exit category and fixed telemetry event names. Unexpected command exceptions also emit an allowlisted error type, up to eight shipped entrypoint filename/line/column locations, and a fingerprint computed only from those sanitized fields. Customer-code frames, function names and absolute paths are discarded. Pinged deployment endpoints are not part of this minimal schema. Each process gets a fresh random identifier to correlate command start and finish; there is no persistent machine identity. Arguments, source, repository names, paths, email, exception messages and raw crash stacks are never collected. A start with no finish can indicate interruption; it is not proof of abandonment. Requests time out after 300 ms and cannot change command results. No production analytics project is bundled or enabled.
|
|
181
|
+
|
|
182
|
+
`agenttwin test` reuses the test selected during `init`; it still requires the proposal’s separate approval. Alternatively, save a reviewed workflow-test scenario as `agenttwin.test.json` in your repository. Explicit `--file` and `--preparation` override automatic selection. A missing or unreviewed test stops with setup instructions; it never silently runs the sample.
|