@amaster.ai/employee-runtime-connector 0.1.1-beta.358 → 0.1.1-beta.359
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.
|
@@ -9152,15 +9152,31 @@ var frozenDiscoveryResearchV2Schema = external_exports.object({
|
|
|
9152
9152
|
sourceBindingRevision: sha256Schema5,
|
|
9153
9153
|
sourceBinding: discoveryResearchSourceBindingV2Schema,
|
|
9154
9154
|
coverageMode: external_exports.literal("targeted_goal_criterion"),
|
|
9155
|
-
maxRuntimeMs: positiveBoundedInteger(864e5),
|
|
9156
9155
|
maxProviderReads: positiveBoundedInteger(100),
|
|
9157
|
-
|
|
9158
|
-
|
|
9159
|
-
|
|
9156
|
+
// Deprecated compatibility fields. New V2 briefs omit these because task
|
|
9157
|
+
// execution budgets and executor timeouts own compute admission. Historical
|
|
9158
|
+
// frozen runs remain readable, but these values never gate provider reads.
|
|
9159
|
+
maxRuntimeMs: positiveBoundedInteger(864e5).optional(),
|
|
9160
|
+
maxModelTokens: positiveBoundedInteger(1e7).optional(),
|
|
9161
|
+
finalizationReserveTokens: positiveBoundedInteger(1e5).optional(),
|
|
9162
|
+
researchTokenLimit: positiveBoundedInteger(1e7).optional(),
|
|
9160
9163
|
evidenceValidityMs: positiveBoundedInteger(31 * 24 * 60 * 60 * 1e3),
|
|
9161
9164
|
startedAt: external_exports.string().datetime({ offset: true })
|
|
9162
9165
|
}).strict().superRefine((value, ctx) => {
|
|
9163
|
-
|
|
9166
|
+
const legacyBudgetFields = [
|
|
9167
|
+
value.maxRuntimeMs,
|
|
9168
|
+
value.maxModelTokens,
|
|
9169
|
+
value.finalizationReserveTokens,
|
|
9170
|
+
value.researchTokenLimit
|
|
9171
|
+
];
|
|
9172
|
+
const legacyBudgetFieldCount = legacyBudgetFields.filter((field) => field !== void 0).length;
|
|
9173
|
+
if (legacyBudgetFieldCount !== 0 && legacyBudgetFieldCount !== legacyBudgetFields.length) {
|
|
9174
|
+
ctx.addIssue({
|
|
9175
|
+
code: external_exports.ZodIssueCode.custom,
|
|
9176
|
+
path: ["maxRuntimeMs"],
|
|
9177
|
+
message: "Deprecated Discovery compute limits must be all present or all omitted"
|
|
9178
|
+
});
|
|
9179
|
+
} else if (value.researchTokenLimit !== void 0 && value.maxModelTokens !== void 0 && value.finalizationReserveTokens !== void 0 && value.researchTokenLimit !== value.maxModelTokens - value.finalizationReserveTokens) {
|
|
9164
9180
|
ctx.addIssue({
|
|
9165
9181
|
code: external_exports.ZodIssueCode.custom,
|
|
9166
9182
|
path: ["researchTokenLimit"],
|
|
@@ -34055,7 +34071,7 @@ function assertRequiredTaskAttachmentMaterialized(input, materialized) {
|
|
|
34055
34071
|
}
|
|
34056
34072
|
|
|
34057
34073
|
// src/amaster-runtime-daemon.mjs
|
|
34058
|
-
var CONNECTOR_VERSION = "0.1.1-beta.
|
|
34074
|
+
var CONNECTOR_VERSION = "0.1.1-beta.359";
|
|
34059
34075
|
var CONNECTOR_CONTRACT_VERSION = "2026-06-04.v1";
|
|
34060
34076
|
var SUPPORTED_TASK_CONTEXT_VERSIONS = Object.freeze([TASK_CONTEXT_MANIFEST_VERSION, TASK_CONTEXT_V2]);
|
|
34061
34077
|
var daemonRequire = createRequire(import.meta.url);
|
package/dist/amaster-runtime.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import { homedir, hostname } from "node:os";
|
|
|
7
7
|
import { fileURLToPath } from "node:url";
|
|
8
8
|
import { BUILD_SUPPORTED_CAPABILITIES } from "./amaster-runtime-daemon/capability-registry.mjs";
|
|
9
9
|
|
|
10
|
-
const CONNECTOR_VERSION = "0.1.1-beta.
|
|
10
|
+
const CONNECTOR_VERSION = "0.1.1-beta.359";
|
|
11
11
|
|
|
12
12
|
const CONFIG_KEY_MAP = new Map([
|
|
13
13
|
["server_url", "AMASTER_EMPLOYEE_SERVER_URL"],
|