agenttwin 0.3.34 → 0.3.35
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 +13 -0
- package/dist/api.js +1240 -779
- package/dist/dashboard/assets/next/static/chunks/app/dashboard/page-3d8c07ca2af8081c.js +1 -0
- package/dist/dashboard/assets/next/static/chunks/app/docs/[[...slug]]/{page-5afd0649dd30ef88.js → page-c86920ba0d1f3bc0.js} +1 -1
- package/dist/dashboard/assets/next/static/chunks/{webpack-57e0c1e343bdc899.js → webpack-e75a66f5f98ea674.js} +1 -1
- package/dist/dashboard/assets/next/static/css/{a55cc0682e56b7aa.css → 47a1237f6559b428.css} +1 -1
- package/dist/dashboard/index.html +2 -2
- package/dist/engine.js +2115 -1264
- package/dist/gateway.js +1241 -775
- package/dist/worker.js +4 -1
- package/dist/world-host.js +5 -2
- package/package.json +1 -1
- package/dist/dashboard/assets/next/static/chunks/app/dashboard/page-6245aa3ad5d7f527.js +0 -1
- /package/dist/dashboard/assets/next/static/{p_5KE1JZcErklSND_EYv3 → KHyBySEGTsVqoDj5pH2e6}/_buildManifest.js +0 -0
- /package/dist/dashboard/assets/next/static/{p_5KE1JZcErklSND_EYv3 → KHyBySEGTsVqoDj5pH2e6}/_ssgManifest.js +0 -0
package/dist/worker.js
CHANGED
|
@@ -7726,6 +7726,7 @@ var postgresNoUnscopedDestructive = {
|
|
|
7726
7726
|
}
|
|
7727
7727
|
};
|
|
7728
7728
|
var NOT_EFFECTS = /* @__PURE__ */ new Set(["openai", "anthropic", "google-oauth"]);
|
|
7729
|
+
var isEventRecord = (r) => typeof r.type === "string" && /^[a-z_]+(\.[a-z_]+)+$/.test(r.type) && !!r.data && typeof r.data === "object";
|
|
7729
7730
|
var genericRepeat = {
|
|
7730
7731
|
id: "generic.no-repeat-after-fault",
|
|
7731
7732
|
title: "Writes are not repeated after a fault",
|
|
@@ -7741,7 +7742,9 @@ var genericRepeat = {
|
|
|
7741
7742
|
const faults = ctx.events.filter((e) => e.operation === "fault").map((e) => e.sequence);
|
|
7742
7743
|
if (!faults.length && !ctx.duplicateDelivery) return out;
|
|
7743
7744
|
for (const path of Object.keys(ctx.finalState?.[s] ?? {}).filter((p) => !judged.has(p))) {
|
|
7744
|
-
|
|
7745
|
+
const added = addedRows(rowsOf(ctx.initialState, s, path), rowsOf(ctx.finalState, s, path));
|
|
7746
|
+
if (added.length && added.every((r) => isEventRecord(r))) continue;
|
|
7747
|
+
for (const group of groups(added, (r) => contentSignature(r, path))) {
|
|
7745
7748
|
const seq = writeSequences(ctx, s, group.map((r) => r.id));
|
|
7746
7749
|
if (!ctx.duplicateDelivery && seq.length && !faults.some((f) => f < Math.max(...seq))) continue;
|
|
7747
7750
|
const label2 = path.split("/").filter(Boolean).pop() ?? "record";
|
package/dist/world-host.js
CHANGED
|
@@ -8249,7 +8249,7 @@ function runDefaultChecks(input) {
|
|
|
8249
8249
|
};
|
|
8250
8250
|
});
|
|
8251
8251
|
}
|
|
8252
|
-
var PROVIDER, displayName, rowsOf, VOLATILE2, volatileKey, canonical3, contentSignature, writeSequences, times2, money, stripeRefundOnce, stripeNoDuplicatePayment, stripeIdempotentRetries, NEGATIVE, gmailText, TARGETED, postgresUpdateApplied, postgresNoDuplicateInsert, RELATIVE_SET, postgresNoRepeatedRelativeUpdate, UNSCOPED, postgresNoUnscopedDestructive, NOT_EFFECTS, genericRepeat, DEFAULT_CHECKS, VENDOR_COVERS, registryFor, refOf;
|
|
8252
|
+
var PROVIDER, displayName, rowsOf, VOLATILE2, volatileKey, canonical3, contentSignature, writeSequences, times2, money, stripeRefundOnce, stripeNoDuplicatePayment, stripeIdempotentRetries, NEGATIVE, gmailText, TARGETED, postgresUpdateApplied, postgresNoDuplicateInsert, RELATIVE_SET, postgresNoRepeatedRelativeUpdate, UNSCOPED, postgresNoUnscopedDestructive, NOT_EFFECTS, isEventRecord, genericRepeat, DEFAULT_CHECKS, VENDOR_COVERS, registryFor, refOf;
|
|
8253
8253
|
var init_default_checks = __esm({
|
|
8254
8254
|
"src/runtime/default-checks.ts"() {
|
|
8255
8255
|
"use strict";
|
|
@@ -8481,6 +8481,7 @@ var init_default_checks = __esm({
|
|
|
8481
8481
|
}
|
|
8482
8482
|
};
|
|
8483
8483
|
NOT_EFFECTS = /* @__PURE__ */ new Set(["openai", "anthropic", "google-oauth"]);
|
|
8484
|
+
isEventRecord = (r) => typeof r.type === "string" && /^[a-z_]+(\.[a-z_]+)+$/.test(r.type) && !!r.data && typeof r.data === "object";
|
|
8484
8485
|
genericRepeat = {
|
|
8485
8486
|
id: "generic.no-repeat-after-fault",
|
|
8486
8487
|
title: "Writes are not repeated after a fault",
|
|
@@ -8496,7 +8497,9 @@ var init_default_checks = __esm({
|
|
|
8496
8497
|
const faults = ctx.events.filter((e) => e.operation === "fault").map((e) => e.sequence);
|
|
8497
8498
|
if (!faults.length && !ctx.duplicateDelivery) return out;
|
|
8498
8499
|
for (const path of Object.keys(ctx.finalState?.[s] ?? {}).filter((p) => !judged.has(p))) {
|
|
8499
|
-
|
|
8500
|
+
const added = addedRows(rowsOf(ctx.initialState, s, path), rowsOf(ctx.finalState, s, path));
|
|
8501
|
+
if (added.length && added.every((r) => isEventRecord(r))) continue;
|
|
8502
|
+
for (const group of groups(added, (r) => contentSignature(r, path))) {
|
|
8500
8503
|
const seq = writeSequences(ctx, s, group.map((r) => r.id));
|
|
8501
8504
|
if (!ctx.duplicateDelivery && seq.length && !faults.some((f) => f < Math.max(...seq))) continue;
|
|
8502
8505
|
const label2 = path.split("/").filter(Boolean).pop() ?? "record";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agenttwin",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.35",
|
|
4
4
|
"description": "AgentTwin builds digital twins for testing AI agents. The current CLI prepares supported Node.js workflows with synthetic services, failures, and outcome checks.",
|
|
5
5
|
"mcpName": "io.github.AgentTwin/agenttwin",
|
|
6
6
|
"keywords": [
|