warpmetal 0.9.1 → 0.9.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "warpmetal",
3
- "version": "0.9.1",
3
+ "version": "0.9.2",
4
4
  "description": "Agent-safe CLI and skill for purchasing, renewing, and managing WarpMetal VPS servers",
5
5
  "type": "module",
6
6
  "bin": {
@@ -186,10 +186,11 @@
186
186
  "effectiveLimits": {"$ref": "#/$defs/effectiveLimits"},
187
187
  "authorizationExpiresAt": {"type": ["string", "null"], "format": "date-time"},
188
188
  "appliedRevision": {"type": ["integer", "null"], "minimum": 1},
189
- "status": {"type": "string", "enum": ["awaiting_runtime", "applied", "expired", "unavailable"]},
189
+ "status": {"type": "string", "enum": ["awaiting_runtime", "awaiting_guidance", "applied", "expired", "unavailable"]},
190
190
  "recommend": {"$ref": "#/$defs/capability"},
191
191
  "modelRoutes": {"type": "array", "maxItems": 8, "items": {"$ref": "#/$defs/modelRoute"}},
192
192
  "autoSteer": {"$ref": "#/$defs/capability"},
193
+ "autoSteerPolicy": {"type": ["object", "null"], "additionalProperties": false, "properties": {"formatVersion": {"const": 1}, "available": {"type": "boolean"}, "reason": {"type": ["string", "null"], "enum": [null, "native_guard_unqualified", "runtime_unavailable", "source_unavailable"]}, "qualifiedTuple": {"type": ["object", "null"]}}, "required": ["formatVersion", "available", "reason", "qualifiedTuple"]},
193
194
  "updatedAt": {"type": "string", "format": "date-time"}
194
195
  },
195
196
  "required": ["formatVersion", "sandboxId", "revision", "mode", "allowedRules", "dailyRunLimit", "dailyInputTokenLimit", "dailyOutputTokenLimit", "effectiveLimits", "authorizationExpiresAt", "appliedRevision", "status", "recommend", "modelRoutes", "autoSteer", "updatedAt"]
@@ -331,6 +332,7 @@
331
332
  "additionalProperties": false,
332
333
  "properties": {
333
334
  "runId": {"$ref": "#/$defs/id"},
335
+ "guidance": {"type": ["object", "null"], "additionalProperties": false, "properties": {"formatVersion": {"const": 1}, "sandboxId": {"$ref": "#/$defs/id"}, "reservationId": {"$ref": "#/$defs/id"}, "runId": {"$ref": "#/$defs/id"}, "revision": {"type": "integer", "minimum": 1}, "bindingDigest": {"$ref": "#/$defs/digest"}, "guidanceDigest": {"$ref": "#/$defs/digest"}, "guardId": {"type": "string"}, "pendingInputId": {"type": "string"}, "state": {"enum": ["pending", "available_to_worker", "cancelled", "refused", "unknown"]}, "refusalCode": {"type": ["string", "null"]}, "logCursor": {"type": ["integer", "null"], "minimum": 0}, "observedAt": {"type": "string"}, "admittedAt": {"type": ["string", "null"]}, "availableAt": {"type": ["string", "null"]}, "settledAt": {"type": ["string", "null"]}, "receiptDigest": {"$ref": "#/$defs/digest"}}, "required": ["formatVersion", "sandboxId", "reservationId", "runId", "revision", "bindingDigest", "guidanceDigest", "guardId", "pendingInputId", "state", "refusalCode", "logCursor", "observedAt", "admittedAt", "availableAt", "settledAt", "receiptDigest"]},
334
336
  "reservationId": {"$ref": "#/$defs/id"},
335
337
  "requestId": {"$ref": "#/$defs/id"},
336
338
  "manual": {"type": "boolean"},
@@ -395,7 +397,7 @@
395
397
  },
396
398
  "recommendCapabilityReport": {
397
399
  "type": "object", "additionalProperties": false,
398
- "properties": {"source": {"$ref": "#/$defs/source"}, "providerRouteDigest": {"$ref": "#/$defs/digest"}, "providerId": {"$ref": "#/$defs/providerId"}, "modelId": {"$ref": "#/$defs/modelId"}, "protocol": {"const": "opencode-supervisor/1"}, "recipeIds": {"type": "array", "maxItems": 4, "uniqueItems": true, "items": {"$ref": "#/$defs/recipe"}}, "maxInputTokens": {"const": 8000}, "maxOutputTokens": {"const": 1000}, "toolsAllowed": {"const": false}, "mediaAllowed": {"const": false}, "managerProfile": {"$ref": "#/$defs/managerProfile"}, "available": {"type": "boolean"}, "reason": {"$ref": "#/$defs/capabilityReason"}},
400
+ "properties": {"source": {"$ref": "#/$defs/source"}, "providerRouteDigest": {"$ref": "#/$defs/digest"}, "providerId": {"$ref": "#/$defs/providerId"}, "modelId": {"$ref": "#/$defs/modelId"}, "protocol": {"const": "opencode-supervisor/1"}, "recipeIds": {"type": "array", "maxItems": 4, "uniqueItems": true, "items": {"$ref": "#/$defs/recipe"}}, "maxInputTokens": {"const": 8000}, "maxOutputTokens": {"const": 1000}, "toolsAllowed": {"const": false}, "mediaAllowed": {"const": false}, "managerProfile": {"$ref": "#/$defs/managerProfile"}, "nativeGuard": {"type": "object", "additionalProperties": false, "properties": {"guardVersion": {"type": "string"}, "customVersion": {"type": "string"}, "sourceRevision": {"type": "string"}, "patchDigest": {"$ref": "#/$defs/digest"}, "artifactSha256": {"$ref": "#/$defs/digest"}, "binarySha256": {"$ref": "#/$defs/digest"}}, "required": ["guardVersion", "customVersion", "sourceRevision", "patchDigest", "artifactSha256", "binarySha256"]}, "managerPluginDigest": {"$ref": "#/$defs/digest"}, "available": {"type": "boolean"}, "reason": {"$ref": "#/$defs/capabilityReason"}},
399
401
  "required": ["source", "providerRouteDigest", "providerId", "modelId", "protocol", "recipeIds", "maxInputTokens", "maxOutputTokens", "toolsAllowed", "mediaAllowed", "managerProfile", "available", "reason"]
400
402
  },
401
403
  "reviewManifest": {
@@ -1,4 +1,4 @@
1
- // Generated from worker/account/manager.ts; SHA-256 2f97f5d43411ef68208cd0a9b001416d535ae51e6b14cfd0a3164eb39d72a787.
1
+ // Generated from worker/account/manager.ts; SHA-256 d110c7399915f7c1fcf42403e82570271b4a4b6b71ba4c4f42c35a098145130a.
2
2
  /** The owner boundary accepts only the canonical closed, metadata-only schema. */
3
3
  import { readFileSync } from "node:fs";
4
4
  const contract = JSON.parse(readFileSync(new URL("./agent-manager-control-v1.schema.json", import.meta.url), "utf8"));
@@ -4,9 +4,9 @@
4
4
  "worker/account/work.ts": "e4176707a30848118bd44d1c369fc4303a267300fc981560d58c618b279ce516",
5
5
  "worker/account/work-handoff.ts": "d89273eeab925968f757e6458542681d88356a494e6fc7d7af800193c371fb3d",
6
6
  "worker/account/insights.ts": "826eb08f9496415b408fe943d9eec33a6c8480a52474df76c118f471f6d42d1f",
7
- "worker/account/manager.ts": "2f97f5d43411ef68208cd0a9b001416d535ae51e6b14cfd0a3164eb39d72a787",
7
+ "worker/account/manager.ts": "d110c7399915f7c1fcf42403e82570271b4a4b6b71ba4c4f42c35a098145130a",
8
8
  "worker/account/session-handoff.ts": "d2bc3e8fc85cc686e4eba1fe539e18d5f1c8c2c832667b321b305fa0c8421396",
9
9
  "worker/account/http.ts#isPlainObject": "45a498e37caa3c89d198945a127cf050b9c11712c0a1ca050fac83a9b60c34b2",
10
- "backend/contracts/agent-manager-control-v1.schema.json": "58ccce9f3324c13fb6cfa0cfe6d73fbbdb9d7222892541dc00e45547904ab4fb"
10
+ "backend/contracts/agent-manager-control-v1.schema.json": "5619f45404d1fbf5366c8ee76201f61cc33178c8a8e6506a1afe63708a1ac0cb"
11
11
  }
12
12
  }