bamboo-agents 0.1.11-dev.108.de3eba8 → 0.1.11-dev.110.c373500

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.11-dev.108.de3eba8
1
+ 0.1.11-dev.110.c373500
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.11-dev.108.de3eba8";
3040
+ VERSION = "0.1.11-dev.110.c373500";
3041
3041
  }
3042
3042
  });
3043
3043
 
@@ -14796,6 +14796,7 @@ function parseEvalManagementOperationData(call, data, selectedOrgId) {
14796
14796
  parsed = InvestigationControlReceiptSchema.parse(data);
14797
14797
  else if ([
14798
14798
  "investigation.conclude_claim",
14799
+ "investigation.retire_claim",
14799
14800
  "investigation.close",
14800
14801
  "investigation.reopen",
14801
14802
  "investigation.retire"
@@ -14824,7 +14825,7 @@ function parseEvalManagementOperationData(call, data, selectedOrgId) {
14824
14825
  if (receipt.operation !== action) mismatch("operation");
14825
14826
  if (inputId && !sameId(receipt.investigation_id, inputId))
14826
14827
  mismatch("investigation_id");
14827
- } else if (operation === "investigation.conclude_claim" || operation === "investigation.close" || operation === "investigation.reopen" || operation === "investigation.retire") {
14828
+ } else if (operation === "investigation.conclude_claim" || operation === "investigation.retire_claim" || operation === "investigation.close" || operation === "investigation.reopen" || operation === "investigation.retire") {
14828
14829
  const receipt = parsed;
14829
14830
  if (receipt.operation !== action) mismatch("operation");
14830
14831
  if (inputId && !sameId(receipt.investigation_id, inputId))
@@ -14865,6 +14866,7 @@ var init_eval_management = __esm({
14865
14866
  "investigation.resume",
14866
14867
  "investigation.cancel",
14867
14868
  "investigation.conclude_claim",
14869
+ "investigation.retire_claim",
14868
14870
  "investigation.close",
14869
14871
  "investigation.reopen",
14870
14872
  "investigation.retire",
@@ -14949,6 +14951,11 @@ var init_eval_management = __esm({
14949
14951
  optional: ["decision", "next_action", "expected_source_sha"],
14950
14952
  server_injected: { operation: "conclude_claim" }
14951
14953
  },
14954
+ "investigation.retire_claim": {
14955
+ required: ["id", "brand_id", "command_id", "claim_key", "body"],
14956
+ optional: ["expected_source_sha"],
14957
+ server_injected: { operation: "retire_claim" }
14958
+ },
14952
14959
  "investigation.close": {
14953
14960
  required: ["id", "brand_id", "command_id", "body"],
14954
14961
  optional: ["expected_source_sha"],
@@ -15086,6 +15093,17 @@ var init_eval_management = __esm({
15086
15093
  minimum_cli_version: "0.1.11",
15087
15094
  explicit_org_scope: true
15088
15095
  },
15096
+ {
15097
+ ...common2,
15098
+ operation: "investigation.retire_claim",
15099
+ description: "Retire an unrun claim with an FDE-authored reason",
15100
+ method: "POST",
15101
+ path: "/api/v1/eval/investigations/{id}/decisions",
15102
+ side_effect: "append-only FDE judgment plus repo and Tests lifecycle update",
15103
+ receipt: "decision, judgment, publication, and projection receipt",
15104
+ minimum_cli_version: "0.1.11",
15105
+ explicit_org_scope: true
15106
+ },
15089
15107
  {
15090
15108
  ...common2,
15091
15109
  operation: "investigation.close",
@@ -15246,7 +15264,13 @@ var init_eval_management = __esm({
15246
15264
  id: external_exports.string().uuid(),
15247
15265
  judgment_id: external_exports.string().uuid(),
15248
15266
  investigation_id: external_exports.string().uuid(),
15249
- operation: external_exports.enum(["conclude_claim", "close", "reopen", "retire"]),
15267
+ operation: external_exports.enum([
15268
+ "conclude_claim",
15269
+ "retire_claim",
15270
+ "close",
15271
+ "reopen",
15272
+ "retire"
15273
+ ]),
15250
15274
  publication_status: external_exports.enum(["pending", "published", "failed"]),
15251
15275
  source_sha: external_exports.string().nullable().optional(),
15252
15276
  pr_url: external_exports.string().url().nullable().optional(),
@@ -15988,6 +16012,7 @@ async function callEvalManagement(bambooSession, call, orgId) {
15988
16012
  "resume",
15989
16013
  "cancel",
15990
16014
  "conclude_claim",
16015
+ "retire_claim",
15991
16016
  "close",
15992
16017
  "reopen",
15993
16018
  "retire"
@@ -22326,7 +22351,9 @@ function managementOutcomeLine(result, readOnly) {
22326
22351
  if (["hold", "resume", "cancel"].includes(lifecycle ?? "")) {
22327
22352
  return `${lifecycle === "hold" ? "Held" : lifecycle === "resume" ? "Resumed" : "Canceled pending work for"} the investigation.`;
22328
22353
  }
22329
- if (["conclude_claim", "close", "reopen", "retire"].includes(lifecycle ?? "")) {
22354
+ if (["conclude_claim", "retire_claim", "close", "reopen", "retire"].includes(
22355
+ lifecycle ?? ""
22356
+ )) {
22330
22357
  const publicationStatus = data.publication_status;
22331
22358
  return publicationStatus === "pending" ? `Recorded ${result.operation}; repository publication is pending.` : `Published ${result.operation} with its decision receipt.`;
22332
22359
  }