@ai-matrx/agents 0.59.213 → 0.59.215
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 +16 -2
- package/dist/catalog/react/index.cjs +29 -31
- package/dist/catalog/react/index.js +1 -3
- package/dist/content-transfer/index.cjs +1 -0
- package/dist/content-transfer/index.js +1 -0
- package/dist/content-transfer/react/index.cjs +1 -0
- package/dist/content-transfer/react/index.js +1 -0
- package/dist/context/react/index.cjs +171 -205
- package/dist/context/react/index.js +172 -201
- package/dist/mandates/index.cjs +3 -2
- package/dist/mandates/index.d.cts +6 -5
- package/dist/mandates/index.d.ts +6 -5
- package/dist/mandates/index.js +3 -2
- package/dist/models/index.cjs +5 -1
- package/dist/models/index.d.cts +6 -1
- package/dist/models/index.d.ts +6 -1
- package/dist/models/index.js +5 -1
- package/dist/models/react/index.cjs +339 -436
- package/dist/models/react/index.js +346 -432
- package/dist/settings/react/index.cjs +116 -173
- package/dist/settings/react/index.js +126 -172
- package/dist/versions/react/index.cjs +15 -68
- package/dist/versions/react/index.js +83 -121
- package/package.json +2 -2
package/dist/mandates/index.cjs
CHANGED
|
@@ -47,9 +47,9 @@ module.exports = __toCommonJS(mandates_exports);
|
|
|
47
47
|
|
|
48
48
|
// mandates/keys.generated.ts
|
|
49
49
|
var MANDATE_KEYS_META = {
|
|
50
|
-
aidreamRevision: "
|
|
50
|
+
aidreamRevision: "1e5f26b1bb6d67f1553566c6c38b25e570e2a765",
|
|
51
51
|
generatorVersion: "1.0.0",
|
|
52
|
-
packageVersion: "0.59.
|
|
52
|
+
packageVersion: "0.59.215",
|
|
53
53
|
retireWindow: 3
|
|
54
54
|
};
|
|
55
55
|
var MANDATE_KEYS = {
|
|
@@ -76,6 +76,7 @@ var MANDATE_KEYS = {
|
|
|
76
76
|
audio__speech: "audio.speech",
|
|
77
77
|
billing__spend_desk: "billing.spend_desk",
|
|
78
78
|
brand__voice_rewrite: "brand.voice_rewrite",
|
|
79
|
+
brand_discovery__curate: "brand_discovery.curate",
|
|
79
80
|
brand_discovery__propose_offering_roles: "brand_discovery.propose_offering_roles",
|
|
80
81
|
brand_discovery__read_self_page: "brand_discovery.read_self_page",
|
|
81
82
|
brand_discovery__room_outside_world: "brand_discovery.room_outside_world",
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
* from the IN-PROCESS mandate declarations — the same `declared_mandates()` the
|
|
7
7
|
* boot sync writes to the database from. There is no hand list anywhere.
|
|
8
8
|
*
|
|
9
|
-
* aidream revision:
|
|
9
|
+
* aidream revision: 1e5f26b1bb6d67f1553566c6c38b25e570e2a765
|
|
10
10
|
* generator version: 1.0.0
|
|
11
|
-
* package version: 0.59.
|
|
12
|
-
* active keys:
|
|
11
|
+
* package version: 0.59.215
|
|
12
|
+
* active keys: 612
|
|
13
13
|
* retiring keys: 5
|
|
14
14
|
*
|
|
15
15
|
* THE IDENTIFIER RULE: every `.` in a key becomes `__`, any character outside
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
*/
|
|
20
20
|
/** Where this module came from — surfaced so a report can name the exact build. */
|
|
21
21
|
declare const MANDATE_KEYS_META: {
|
|
22
|
-
readonly aidreamRevision: "
|
|
22
|
+
readonly aidreamRevision: "1e5f26b1bb6d67f1553566c6c38b25e570e2a765";
|
|
23
23
|
readonly generatorVersion: "1.0.0";
|
|
24
|
-
readonly packageVersion: "0.59.
|
|
24
|
+
readonly packageVersion: "0.59.215";
|
|
25
25
|
readonly retireWindow: 3;
|
|
26
26
|
};
|
|
27
27
|
/** Every declared mandate key, by THE IDENTIFIER RULE. */
|
|
@@ -49,6 +49,7 @@ declare const MANDATE_KEYS: {
|
|
|
49
49
|
readonly audio__speech: "audio.speech";
|
|
50
50
|
readonly billing__spend_desk: "billing.spend_desk";
|
|
51
51
|
readonly brand__voice_rewrite: "brand.voice_rewrite";
|
|
52
|
+
readonly brand_discovery__curate: "brand_discovery.curate";
|
|
52
53
|
readonly brand_discovery__propose_offering_roles: "brand_discovery.propose_offering_roles";
|
|
53
54
|
readonly brand_discovery__read_self_page: "brand_discovery.read_self_page";
|
|
54
55
|
readonly brand_discovery__room_outside_world: "brand_discovery.room_outside_world";
|
package/dist/mandates/index.d.ts
CHANGED
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
* from the IN-PROCESS mandate declarations — the same `declared_mandates()` the
|
|
7
7
|
* boot sync writes to the database from. There is no hand list anywhere.
|
|
8
8
|
*
|
|
9
|
-
* aidream revision:
|
|
9
|
+
* aidream revision: 1e5f26b1bb6d67f1553566c6c38b25e570e2a765
|
|
10
10
|
* generator version: 1.0.0
|
|
11
|
-
* package version: 0.59.
|
|
12
|
-
* active keys:
|
|
11
|
+
* package version: 0.59.215
|
|
12
|
+
* active keys: 612
|
|
13
13
|
* retiring keys: 5
|
|
14
14
|
*
|
|
15
15
|
* THE IDENTIFIER RULE: every `.` in a key becomes `__`, any character outside
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
*/
|
|
20
20
|
/** Where this module came from — surfaced so a report can name the exact build. */
|
|
21
21
|
declare const MANDATE_KEYS_META: {
|
|
22
|
-
readonly aidreamRevision: "
|
|
22
|
+
readonly aidreamRevision: "1e5f26b1bb6d67f1553566c6c38b25e570e2a765";
|
|
23
23
|
readonly generatorVersion: "1.0.0";
|
|
24
|
-
readonly packageVersion: "0.59.
|
|
24
|
+
readonly packageVersion: "0.59.215";
|
|
25
25
|
readonly retireWindow: 3;
|
|
26
26
|
};
|
|
27
27
|
/** Every declared mandate key, by THE IDENTIFIER RULE. */
|
|
@@ -49,6 +49,7 @@ declare const MANDATE_KEYS: {
|
|
|
49
49
|
readonly audio__speech: "audio.speech";
|
|
50
50
|
readonly billing__spend_desk: "billing.spend_desk";
|
|
51
51
|
readonly brand__voice_rewrite: "brand.voice_rewrite";
|
|
52
|
+
readonly brand_discovery__curate: "brand_discovery.curate";
|
|
52
53
|
readonly brand_discovery__propose_offering_roles: "brand_discovery.propose_offering_roles";
|
|
53
54
|
readonly brand_discovery__read_self_page: "brand_discovery.read_self_page";
|
|
54
55
|
readonly brand_discovery__room_outside_world: "brand_discovery.room_outside_world";
|
package/dist/mandates/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// mandates/keys.generated.ts
|
|
2
2
|
var MANDATE_KEYS_META = {
|
|
3
|
-
aidreamRevision: "
|
|
3
|
+
aidreamRevision: "1e5f26b1bb6d67f1553566c6c38b25e570e2a765",
|
|
4
4
|
generatorVersion: "1.0.0",
|
|
5
|
-
packageVersion: "0.59.
|
|
5
|
+
packageVersion: "0.59.215",
|
|
6
6
|
retireWindow: 3
|
|
7
7
|
};
|
|
8
8
|
var MANDATE_KEYS = {
|
|
@@ -29,6 +29,7 @@ var MANDATE_KEYS = {
|
|
|
29
29
|
audio__speech: "audio.speech",
|
|
30
30
|
billing__spend_desk: "billing.spend_desk",
|
|
31
31
|
brand__voice_rewrite: "brand.voice_rewrite",
|
|
32
|
+
brand_discovery__curate: "brand_discovery.curate",
|
|
32
33
|
brand_discovery__propose_offering_roles: "brand_discovery.propose_offering_roles",
|
|
33
34
|
brand_discovery__read_self_page: "brand_discovery.read_self_page",
|
|
34
35
|
brand_discovery__room_outside_world: "brand_discovery.room_outside_world",
|
package/dist/models/index.cjs
CHANGED
|
@@ -2776,7 +2776,11 @@ async function resolveNewAgentModelId(resolveKnob, catalog) {
|
|
|
2776
2776
|
`The model new agents start on (${NEW_AGENT_DEFAULT_MODEL_KNOB}) could not be read, so no agent was created: ${error instanceof Error ? error.message : String(error)}`
|
|
2777
2777
|
);
|
|
2778
2778
|
}
|
|
2779
|
-
if (typeof value === "string" && value.trim() !== "")
|
|
2779
|
+
if (typeof value === "string" && value.trim() !== "") {
|
|
2780
|
+
if (catalog) return { modelId: await resolveLiveModelId(catalog, value.trim()) };
|
|
2781
|
+
console.error(`[newAgentModel] ${NEW_AGENT_DEFAULT_MODEL_KNOB}: no catalog client passed, so a deprecated default is NOT moved to its successor. Pass the host's Supabase client.`);
|
|
2782
|
+
return { modelId: value.trim() };
|
|
2783
|
+
}
|
|
2780
2784
|
throw new Error(
|
|
2781
2785
|
`No model is set for new agents (${NEW_AGENT_DEFAULT_MODEL_KNOB} is empty for this organization), so no agent was created. Set it in Settings.`
|
|
2782
2786
|
);
|
package/dist/models/index.d.cts
CHANGED
|
@@ -1788,7 +1788,12 @@ interface NewAgentModel {
|
|
|
1788
1788
|
modelId: string;
|
|
1789
1789
|
}
|
|
1790
1790
|
/** The model a new agent starts on. `resolveKnob(fullKey)` is the host's effective-knob read. Throws, naming the knob, when it answers nothing. */
|
|
1791
|
-
declare function resolveNewAgentModelId(resolveKnob: (fullKey: string) => Promise<unknown>,
|
|
1791
|
+
declare function resolveNewAgentModelId(resolveKnob: (fullKey: string) => Promise<unknown>,
|
|
1792
|
+
/**
|
|
1793
|
+
* The catalog the id is resolved through (successor chain). Optional only so a host that has not passed it
|
|
1794
|
+
* yet keeps compiling across a re-lock; without it the knob's id is used as is and that is said loudly.
|
|
1795
|
+
*/
|
|
1796
|
+
catalog?: SuccessionClient): Promise<NewAgentModel>;
|
|
1792
1797
|
/**
|
|
1793
1798
|
* A json knob mapping names to model ids (e.g. `agents.simple_run.capability_models`), each id resolved through the
|
|
1794
1799
|
* catalog's successor chain on this read. Non-string entries are dropped; a value that is not an object answers {}.
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1788,7 +1788,12 @@ interface NewAgentModel {
|
|
|
1788
1788
|
modelId: string;
|
|
1789
1789
|
}
|
|
1790
1790
|
/** The model a new agent starts on. `resolveKnob(fullKey)` is the host's effective-knob read. Throws, naming the knob, when it answers nothing. */
|
|
1791
|
-
declare function resolveNewAgentModelId(resolveKnob: (fullKey: string) => Promise<unknown>,
|
|
1791
|
+
declare function resolveNewAgentModelId(resolveKnob: (fullKey: string) => Promise<unknown>,
|
|
1792
|
+
/**
|
|
1793
|
+
* The catalog the id is resolved through (successor chain). Optional only so a host that has not passed it
|
|
1794
|
+
* yet keeps compiling across a re-lock; without it the knob's id is used as is and that is said loudly.
|
|
1795
|
+
*/
|
|
1796
|
+
catalog?: SuccessionClient): Promise<NewAgentModel>;
|
|
1792
1797
|
/**
|
|
1793
1798
|
* A json knob mapping names to model ids (e.g. `agents.simple_run.capability_models`), each id resolved through the
|
|
1794
1799
|
* catalog's successor chain on this read. Non-string entries are dropped; a value that is not an object answers {}.
|
package/dist/models/index.js
CHANGED
|
@@ -2618,7 +2618,11 @@ async function resolveNewAgentModelId(resolveKnob, catalog) {
|
|
|
2618
2618
|
`The model new agents start on (${NEW_AGENT_DEFAULT_MODEL_KNOB}) could not be read, so no agent was created: ${error instanceof Error ? error.message : String(error)}`
|
|
2619
2619
|
);
|
|
2620
2620
|
}
|
|
2621
|
-
if (typeof value === "string" && value.trim() !== "")
|
|
2621
|
+
if (typeof value === "string" && value.trim() !== "") {
|
|
2622
|
+
if (catalog) return { modelId: await resolveLiveModelId(catalog, value.trim()) };
|
|
2623
|
+
console.error(`[newAgentModel] ${NEW_AGENT_DEFAULT_MODEL_KNOB}: no catalog client passed, so a deprecated default is NOT moved to its successor. Pass the host's Supabase client.`);
|
|
2624
|
+
return { modelId: value.trim() };
|
|
2625
|
+
}
|
|
2622
2626
|
throw new Error(
|
|
2623
2627
|
`No model is set for new agents (${NEW_AGENT_DEFAULT_MODEL_KNOB} is empty for this organization), so no agent was created. Set it in Settings.`
|
|
2624
2628
|
);
|