bamboo-agents 0.1.12-dev.115.ee669df → 0.1.12-dev.116.b57862a

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.12-dev.115.ee669df
1
+ 0.1.12-dev.116.b57862a
package/dist/index.js CHANGED
@@ -3037,7 +3037,7 @@ var VERSION;
3037
3037
  var init_version = __esm({
3038
3038
  "src/version.ts"() {
3039
3039
  "use strict";
3040
- VERSION = "0.1.12-dev.115.ee669df";
3040
+ VERSION = "0.1.12-dev.116.b57862a";
3041
3041
  }
3042
3042
  });
3043
3043
 
@@ -14013,6 +14013,7 @@ var init_inbox_management = __esm({
14013
14013
  instruction: external_exports.literal("inspect_source_before_retry"),
14014
14014
  reason: external_exports.enum([
14015
14015
  "response_unproven",
14016
+ "transport_failed",
14016
14017
  "read_back_unavailable",
14017
14018
  "postcondition_not_observed"
14018
14019
  ]).default("response_unproven"),
@@ -14083,7 +14084,9 @@ var init_inbox_management = __esm({
14083
14084
  LifecycleUnknownReceiptSchema = external_exports.object({
14084
14085
  state: external_exports.literal("unknown"),
14085
14086
  command_id: external_exports.string(),
14086
- instruction: external_exports.literal("inspect_source_before_retry")
14087
+ instruction: external_exports.literal("inspect_source_before_retry"),
14088
+ reason: external_exports.enum(["transport_failed", "read_back_unavailable", "postcondition_not_observed"]).optional(),
14089
+ read_back: external_exports.unknown().optional()
14087
14090
  });
14088
14091
  AnnotationSnapshotSchema = external_exports.object({
14089
14092
  id: external_exports.string().uuid(),
@@ -22391,7 +22394,13 @@ async function runEvalManage(options) {
22391
22394
  }
22392
22395
  }
22393
22396
  function managementOutcomeLine(result, readOnly) {
22394
- if (readOnly) return `Read ${result.operation}.`;
22397
+ if (readOnly) {
22398
+ const investigation = result.data && typeof result.data === "object" ? result.data : null;
22399
+ if (result.operation === "investigation.get" && investigation?.lifecycle_state === "retired" && typeof investigation.retired_at === "string") {
22400
+ return `Read investigation.get. Retired on ${investigation.retired_at.slice(0, 10)}.`;
22401
+ }
22402
+ return `Read ${result.operation}.`;
22403
+ }
22395
22404
  const data = result.data && typeof result.data === "object" ? result.data : {};
22396
22405
  const publication = data.publication && typeof data.publication === "object" ? data.publication : null;
22397
22406
  if (publication?.status === "failed") {