@ai-matrx/agents 0.38.1 → 0.38.3
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 +12 -0
- package/dist/content-transfer/index.cjs.map +1 -1
- package/dist/content-transfer/index.js.map +1 -1
- package/dist/content-transfer/react/index.cjs.map +1 -1
- package/dist/content-transfer/react/index.js.map +1 -1
- package/dist/generated/api-types.cjs.map +1 -1
- package/dist/generated/api-types.d.cts +4 -4
- package/dist/generated/api-types.d.ts +4 -4
- package/dist/index.cjs +19 -18
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +19 -18
- package/dist/index.js.map +1 -1
- package/dist/{keys.generated-DNRbtHNx.d.cts → keys.generated-BdQt09qH.d.cts} +4 -4
- package/dist/{keys.generated-DNRbtHNx.d.ts → keys.generated-BdQt09qH.d.ts} +4 -4
- package/dist/mandates/index.cjs +2 -2
- package/dist/mandates/index.cjs.map +1 -1
- package/dist/mandates/index.d.cts +2 -2
- package/dist/mandates/index.d.ts +2 -2
- package/dist/mandates/index.js +2 -2
- package/dist/mandates/index.js.map +1 -1
- package/dist/matrx/index.cjs +19 -18
- package/dist/matrx/index.cjs.map +1 -1
- package/dist/matrx/index.d.cts +1 -1
- package/dist/matrx/index.d.ts +1 -1
- package/dist/matrx/index.js +19 -18
- package/dist/matrx/index.js.map +1 -1
- package/dist/portable/mcp.cjs.map +1 -1
- package/dist/portable/mcp.js.map +1 -1
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.js.map +1 -1
- package/generated/api-types.ts +4 -4
- package/mandates/snapshots/keys.0.38.2.json +653 -0
- package/mandates/snapshots/keys.0.38.3.json +653 -0
- package/package.json +3 -3
|
@@ -41223,7 +41223,7 @@ interface paths {
|
|
|
41223
41223
|
* challenge; this is the door for the challenge nobody could detect — a
|
|
41224
41224
|
* person or an agent that can SEE the block says so, and the session is
|
|
41225
41225
|
* checkpointed and reopened through their computer with the same run id.
|
|
41226
|
-
* Contract: ``common-docs/systems/
|
|
41226
|
+
* Contract: ``common-docs/systems/architecture/residential-egress/FEATURE.md``.
|
|
41227
41227
|
*/
|
|
41228
41228
|
post: operations["retry_through_home_computer_browser_manager_runs__run_id__retry_through_home_computer_post"];
|
|
41229
41229
|
delete?: never;
|
|
@@ -58558,7 +58558,7 @@ interface components {
|
|
|
58558
58558
|
*/
|
|
58559
58559
|
change_role: "apply" | "edit" | "revert";
|
|
58560
58560
|
/** Actor Tier */
|
|
58561
|
-
actor_tier?: ("
|
|
58561
|
+
actor_tier?: ("agent" | "system" | "user") | null;
|
|
58562
58562
|
/** Actor System */
|
|
58563
58563
|
actor_system?: string | null;
|
|
58564
58564
|
/** Actor Id */
|
|
@@ -62438,7 +62438,7 @@ interface components {
|
|
|
62438
62438
|
* sets it: only the Browser Manager knows that a blocked page was retried
|
|
62439
62439
|
* through the person's own computer. It rides the command reply because that
|
|
62440
62440
|
* is where the agent and the panel read the answer, and rule 5 of
|
|
62441
|
-
* ``common-docs/systems/
|
|
62441
|
+
* ``common-docs/systems/architecture/residential-egress/FEATURE.md`` says a page
|
|
62442
62442
|
* fetched through a person's computer always says so.
|
|
62443
62443
|
*/
|
|
62444
62444
|
CommandEgress: {
|
|
@@ -187733,7 +187733,7 @@ interface operations {
|
|
|
187733
187733
|
unit_token?: ("agent" | "tool" | "workflow") | null;
|
|
187734
187734
|
unit_id?: string | null;
|
|
187735
187735
|
change_role?: ("apply" | "edit" | "revert") | null;
|
|
187736
|
-
actor_tier?: ("ai" | "code" | "human") | null;
|
|
187736
|
+
actor_tier?: ("agent" | "ai" | "code" | "human" | "system" | "user") | null;
|
|
187737
187737
|
/** @description Only changes a Hindsight finding caused. */
|
|
187738
187738
|
with_findings_only?: boolean;
|
|
187739
187739
|
limit?: number;
|
|
@@ -41223,7 +41223,7 @@ interface paths {
|
|
|
41223
41223
|
* challenge; this is the door for the challenge nobody could detect — a
|
|
41224
41224
|
* person or an agent that can SEE the block says so, and the session is
|
|
41225
41225
|
* checkpointed and reopened through their computer with the same run id.
|
|
41226
|
-
* Contract: ``common-docs/systems/
|
|
41226
|
+
* Contract: ``common-docs/systems/architecture/residential-egress/FEATURE.md``.
|
|
41227
41227
|
*/
|
|
41228
41228
|
post: operations["retry_through_home_computer_browser_manager_runs__run_id__retry_through_home_computer_post"];
|
|
41229
41229
|
delete?: never;
|
|
@@ -58558,7 +58558,7 @@ interface components {
|
|
|
58558
58558
|
*/
|
|
58559
58559
|
change_role: "apply" | "edit" | "revert";
|
|
58560
58560
|
/** Actor Tier */
|
|
58561
|
-
actor_tier?: ("
|
|
58561
|
+
actor_tier?: ("agent" | "system" | "user") | null;
|
|
58562
58562
|
/** Actor System */
|
|
58563
58563
|
actor_system?: string | null;
|
|
58564
58564
|
/** Actor Id */
|
|
@@ -62438,7 +62438,7 @@ interface components {
|
|
|
62438
62438
|
* sets it: only the Browser Manager knows that a blocked page was retried
|
|
62439
62439
|
* through the person's own computer. It rides the command reply because that
|
|
62440
62440
|
* is where the agent and the panel read the answer, and rule 5 of
|
|
62441
|
-
* ``common-docs/systems/
|
|
62441
|
+
* ``common-docs/systems/architecture/residential-egress/FEATURE.md`` says a page
|
|
62442
62442
|
* fetched through a person's computer always says so.
|
|
62443
62443
|
*/
|
|
62444
62444
|
CommandEgress: {
|
|
@@ -187733,7 +187733,7 @@ interface operations {
|
|
|
187733
187733
|
unit_token?: ("agent" | "tool" | "workflow") | null;
|
|
187734
187734
|
unit_id?: string | null;
|
|
187735
187735
|
change_role?: ("apply" | "edit" | "revert") | null;
|
|
187736
|
-
actor_tier?: ("ai" | "code" | "human") | null;
|
|
187736
|
+
actor_tier?: ("agent" | "ai" | "code" | "human" | "system" | "user") | null;
|
|
187737
187737
|
/** @description Only changes a Hindsight finding caused. */
|
|
187738
187738
|
with_findings_only?: boolean;
|
|
187739
187739
|
limit?: number;
|
package/dist/index.cjs
CHANGED
|
@@ -1088,26 +1088,27 @@ function isStreamTransportLost(error) {
|
|
|
1088
1088
|
}
|
|
1089
1089
|
async function parseHttpError(response) {
|
|
1090
1090
|
const status = response.status;
|
|
1091
|
-
let
|
|
1091
|
+
let text;
|
|
1092
1092
|
try {
|
|
1093
|
-
|
|
1093
|
+
text = await response.text();
|
|
1094
1094
|
} catch {
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
})
|
|
1110
|
-
|
|
1095
|
+
return new BackendApiError({
|
|
1096
|
+
code: statusToCode(status),
|
|
1097
|
+
detail: `HTTP ${status}`,
|
|
1098
|
+
userMessage: `Request failed (${status})`,
|
|
1099
|
+
status
|
|
1100
|
+
});
|
|
1101
|
+
}
|
|
1102
|
+
let body;
|
|
1103
|
+
try {
|
|
1104
|
+
body = JSON.parse(text);
|
|
1105
|
+
} catch {
|
|
1106
|
+
return new BackendApiError({
|
|
1107
|
+
code: statusToCode(status),
|
|
1108
|
+
detail: text || `HTTP ${status}`,
|
|
1109
|
+
userMessage: text || `Request failed (${status})`,
|
|
1110
|
+
status
|
|
1111
|
+
});
|
|
1111
1112
|
}
|
|
1112
1113
|
return parseHttpErrorBody(body, status);
|
|
1113
1114
|
}
|