bamboo-agents 0.1.12-dev.112.7287623 → 0.1.12-dev.114.5cb2242

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.112.7287623
1
+ 0.1.12-dev.114.5cb2242
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.112.7287623";
3040
+ VERSION = "0.1.12-dev.114.5cb2242";
3041
3041
  }
3042
3042
  });
3043
3043
 
@@ -12785,7 +12785,7 @@ function inboxSourceVersionsMatch(current, reviewed) {
12785
12785
  const canonicalUtc = (value) => value.replace(/\+00:00$/i, "Z");
12786
12786
  return canonicalUtc(current) === canonicalUtc(reviewed);
12787
12787
  }
12788
- var InboxUtcTimestampSchema, InboxOperationSchema, InboxManageOperationSchema, InboxOperationBindingSchema, common, INBOX_MANAGEMENT_BINDINGS, INBOX_EXISTING_COMMAND_BINDINGS, changeCommon, CHANGE_MANAGEMENT_BINDINGS, opportunityCommon, OPPORTUNITY_MANAGEMENT_BINDINGS, annotationCommon, ANNOTATION_MANAGEMENT_BINDINGS, lifecycleMutationInputs, FDE_ACTION_MANAGEMENT_BINDINGS, GRAPH_RECOVERY_MANAGEMENT_BINDINGS, InboxManagementCatalogResponseSchema, InboxOrganizationsResponseSchema, OpportunityDecisionInputBaseSchema, InboxManagementCallSchema, InboxWorkItemSchema, InboxListReceiptSchema, InboxGetReceiptSchema, InboxEnvelopeBaseSchema, UnknownMutationReceiptSchema, ChangeReadBackSchema, OpportunitySnapshotSchema, OpportunityUnknownReceiptSchema, OpportunityCommandSchema, FdeActionSnapshotSchema, GraphRecoverySnapshotSchema, LifecycleUnknownReceiptSchema, AnnotationSnapshotSchema, AnnotationUnknownReceiptSchema, InboxOperationEnvelopeSchema;
12788
+ var InboxUtcTimestampSchema, InboxOperationSchema, InboxManageOperationSchema, InboxOperationBindingSchema, common, INBOX_MANAGEMENT_BINDINGS, INBOX_EXISTING_COMMAND_BINDINGS, changeCommon, CHANGE_MANAGEMENT_BINDINGS, opportunityCommon, graphDecisionErrorCodes, OPPORTUNITY_MANAGEMENT_BINDINGS, annotationCommon, ANNOTATION_MANAGEMENT_BINDINGS, lifecycleMutationInputs, FDE_ACTION_MANAGEMENT_BINDINGS, GRAPH_RECOVERY_MANAGEMENT_BINDINGS, InboxManagementCatalogResponseSchema, InboxOrganizationsResponseSchema, OpportunityDecisionInputBaseSchema, InboxManagementCallSchema, InboxWorkItemSchema, InboxListReceiptSchema, InboxGetReceiptSchema, InboxEnvelopeBaseSchema, UnknownMutationReceiptSchema, ChangeReadBackSchema, OpportunitySnapshotSchema, OpportunityUnknownReceiptSchema, OpportunityCommandSchema, FdeActionSnapshotSchema, GraphRecoverySnapshotSchema, LifecycleUnknownReceiptSchema, AnnotationSnapshotSchema, AnnotationUnknownReceiptSchema, InboxOperationEnvelopeSchema;
12789
12789
  var init_inbox_management = __esm({
12790
12790
  "../../src/lib/api-contracts/cli/inbox-management.ts"() {
12791
12791
  init_zod();
@@ -12943,10 +12943,20 @@ var init_inbox_management = __esm({
12943
12943
  "brain_opportunity_stale",
12944
12944
  "brain_opportunity_assignment_target_invalid",
12945
12945
  "missing_assignment",
12946
+ "missing_proposed_assignee",
12946
12947
  "wording_mismatch",
12947
12948
  "recipient_mismatch",
12948
12949
  "proposal_failed",
12949
12950
  "graph_decision_conflict",
12951
+ "opportunity_not_decidable",
12952
+ "opportunity_applied_receipt_unavailable",
12953
+ "opportunity_preflight_failed",
12954
+ "graph_decision_reason_required",
12955
+ "graph_decision_assignee_required",
12956
+ "graph_decision_assignee_invalid",
12957
+ "graph_decision_invalid",
12958
+ "graph_decision_command_id_required",
12959
+ "graph_decision_command_id_too_long",
12950
12960
  "stale_action",
12951
12961
  "invalid_transition",
12952
12962
  "stale_transition",
@@ -13279,6 +13289,18 @@ var init_inbox_management = __esm({
13279
13289
  "malformed_response"
13280
13290
  ]
13281
13291
  };
13292
+ graphDecisionErrorCodes = [
13293
+ "opportunity_not_decidable",
13294
+ "opportunity_applied_receipt_unavailable",
13295
+ "opportunity_preflight_failed",
13296
+ "missing_proposed_assignee",
13297
+ "graph_decision_reason_required",
13298
+ "graph_decision_assignee_required",
13299
+ "graph_decision_assignee_invalid",
13300
+ "graph_decision_invalid",
13301
+ "graph_decision_command_id_required",
13302
+ "graph_decision_command_id_too_long"
13303
+ ];
13282
13304
  OPPORTUNITY_MANAGEMENT_BINDINGS = [
13283
13305
  {
13284
13306
  ...opportunityCommon,
@@ -13343,7 +13365,8 @@ var init_inbox_management = __esm({
13343
13365
  "missing_assignment",
13344
13366
  "wording_mismatch",
13345
13367
  "recipient_mismatch",
13346
- "graph_decision_conflict"
13368
+ "graph_decision_conflict",
13369
+ ...graphDecisionErrorCodes
13347
13370
  ]
13348
13371
  },
13349
13372
  ...["reject", "defer", "annotate", "block"].map((decision) => ({
@@ -13370,7 +13393,8 @@ var init_inbox_management = __esm({
13370
13393
  error_codes: [
13371
13394
  ...opportunityCommon.error_codes,
13372
13395
  "brain_opportunity_stale",
13373
- "graph_decision_conflict"
13396
+ "graph_decision_conflict",
13397
+ ...graphDecisionErrorCodes
13374
13398
  ]
13375
13399
  })),
13376
13400
  {
@@ -14018,7 +14042,9 @@ var init_inbox_management = __esm({
14018
14042
  OpportunityUnknownReceiptSchema = external_exports.object({
14019
14043
  state: external_exports.literal("unknown"),
14020
14044
  command_id: external_exports.string(),
14021
- instruction: external_exports.literal("inspect_source_before_retry")
14045
+ instruction: external_exports.literal("inspect_source_before_retry"),
14046
+ reason: external_exports.enum(["read_back_unavailable", "postcondition_not_observed", "command_receipt_unavailable"]),
14047
+ read_back: OpportunitySnapshotSchema.optional()
14022
14048
  });
14023
14049
  OpportunityCommandSchema = external_exports.union([
14024
14050
  external_exports.object({
@@ -15129,7 +15155,10 @@ var init_eval_management = __esm({
15129
15155
  path: "/api/v1/eval/investigations/{id}/decisions",
15130
15156
  side_effect: "append-only FDE judgment plus repo and Tests lifecycle update",
15131
15157
  receipt: "decision, judgment, publication, and projection receipt",
15132
- minimum_cli_version: "0.1.11",
15158
+ // 0.1.12 is the first stable whose catalog parser tolerates this
15159
+ // additive operation; every earlier stable rejects the whole catalog
15160
+ // once it appears (BAM-5292), so it must not claim 0.1.11.
15161
+ minimum_cli_version: "0.1.12",
15133
15162
  explicit_org_scope: true
15134
15163
  },
15135
15164
  {