@spotpatch/dev-server 0.1.1 → 0.1.2

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/dist/index.cjs CHANGED
@@ -129,7 +129,6 @@ function createAgentJobManager(options) {
129
129
  });
130
130
  const jobs = /* @__PURE__ */ new Map();
131
131
  const capabilityCache = /* @__PURE__ */ new Map();
132
- const providerConsents = /* @__PURE__ */ new Set();
133
132
  let closed = false;
134
133
  const resolveSelection = (providerProfileId, modelProfileId) => {
135
134
  const provider = options.ai.providers[providerProfileId];
@@ -260,15 +259,7 @@ function createAgentJobManager(options) {
260
259
  };
261
260
  const runJob = async (job) => {
262
261
  try {
263
- transition(job, "preparing", "Verifying provider and model capabilities.");
264
- await probeResolved(
265
- Object.freeze({
266
- credential: job.credential,
267
- model: job.model,
268
- provider: job.provider
269
- }),
270
- job.controller.signal
271
- );
262
+ transition(job, "preparing", "Preparing isolated Agent execution.");
272
263
  const callbacks = {
273
264
  onCheck(result) {
274
265
  appendEvent(
@@ -400,7 +391,6 @@ function createAgentJobManager(options) {
400
391
  [...jobs.values()].map((job) => job.runPromise).filter((promise) => promise !== void 0)
401
392
  );
402
393
  capabilityCache.clear();
403
- providerConsents.clear();
404
394
  jobs.clear();
405
395
  },
406
396
  create(request) {
@@ -418,7 +408,6 @@ function createAgentJobManager(options) {
418
408
  request.providerProfileId,
419
409
  request.modelProfileId
420
410
  );
421
- providerConsents.add(selection.provider.id);
422
411
  const id = dependencies.createJobId();
423
412
  if (!JOB_ID_PATTERN.test(id) || jobs.has(id)) {
424
413
  throw new import_shared.SpotPatchError(import_shared.ERROR_CODES.INTERNAL_ERROR);