@brainervirus/workit-pi 2.1.1 → 2.1.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.
Files changed (3) hide show
  1. package/dist/worker.js +20 -17
  2. package/dist/workit.js +3116 -2961
  3. package/package.json +1 -1
package/dist/worker.js CHANGED
@@ -8038,7 +8038,6 @@ var PRESETS = {
8038
8038
  var DEFAULTS = {
8039
8039
  locale: "en",
8040
8040
  localeOptions: ["en", "es-CL", "es-MX", "es-AR", "pt-BR"],
8041
- timezone: "America/Santiago",
8042
8041
  branchPolicy: {
8043
8042
  preset: "gitflow",
8044
8043
  allowed: [...PRESETS.gitflow.allowed],
@@ -8168,6 +8167,26 @@ var runtimeWorkspaceIndexSchema = object({
8168
8167
 
8169
8168
  // packages/workit-core/src/core/authority.ts
8170
8169
  var verifiedAuthorities = new WeakMap;
8170
+
8171
+ // packages/workit-core/src/core/policy-resolver.ts
8172
+ var resolverInputSchema = object({
8173
+ intent: intentSchema,
8174
+ assessment: assessmentSchema,
8175
+ constraints: array(constraintSchema),
8176
+ prior: object({
8177
+ decisions: array(decisionSchema),
8178
+ findings: array(findingSchema),
8179
+ requirements: array(requirementSchema)
8180
+ }).strict(),
8181
+ preferences: object({ fast: boolean2().optional(), thorough: boolean2().optional() }).strict().optional()
8182
+ }).strict();
8183
+
8184
+ // packages/workit-core/src/core/task-engine.ts
8185
+ var verifiedWorkers = new WeakMap;
8186
+ var dispatchReservations = new WeakMap;
8187
+
8188
+ // packages/workit-core/src/core/session-context.ts
8189
+ var cache = new Map;
8171
8190
  // packages/workit-core/src/core/external-action.ts
8172
8191
  var chainStepSchema = union([
8173
8192
  string2().min(1),
@@ -8281,22 +8300,6 @@ var externalActionSchema = discriminatedUnion("operation", [
8281
8300
  }).strict()
8282
8301
  }).strict()
8283
8302
  ]);
8284
- // packages/workit-core/src/core/policy-resolver.ts
8285
- var resolverInputSchema = object({
8286
- intent: intentSchema,
8287
- assessment: assessmentSchema,
8288
- constraints: array(constraintSchema),
8289
- prior: object({
8290
- decisions: array(decisionSchema),
8291
- findings: array(findingSchema),
8292
- requirements: array(requirementSchema)
8293
- }).strict(),
8294
- preferences: object({ fast: boolean2().optional(), thorough: boolean2().optional() }).strict().optional()
8295
- }).strict();
8296
-
8297
- // packages/workit-core/src/core/task-engine.ts
8298
- var verifiedWorkers = new WeakMap;
8299
- var dispatchReservations = new WeakMap;
8300
8303
  // packages/workit-pi/src/worker-protocol.ts
8301
8304
  var MAX_WORKER_LINE_BYTES = 64 * 1024;
8302
8305
  var MAX_WORKER_STDERR_BYTES = 64 * 1024;