@arbidocs/sdk 0.4.104 → 0.4.105

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.
@@ -460,7 +460,7 @@ interface SSEStreamCallbacks {
460
460
  onArtifact?: (data: ArtifactEvent) => void;
461
461
  onElapsedTime?: (t: number) => void;
462
462
  onUsage?: (usage: ResponseUsage) => void;
463
- /** Final per-turn token/credit budget snapshot from response.completed. */
463
+ /** Final per-turn token/£ budget snapshot from response.completed. */
464
464
  onContextUpdate?: (context: TokenBudgetContext) => void;
465
465
  onComplete?: () => void;
466
466
  }
@@ -501,8 +501,8 @@ declare function streamSSE(response: Response, callbacks?: SSEStreamCallbacks):
501
501
  * Format a human-readable summary line from a completed SSE stream result.
502
502
  *
503
503
  * Returns a string like:
504
- * "3 steps (2 tool calls) · 1,234 tokens · 500/8,000 context · 12.40/50 credits · 2.5s"
505
- * (the credits segment is omitted when the workspace has no turn credit budget configured)
504
+ * "3 steps (2 tool calls) · 1,234 tokens · 500/8,000 context · £0.03/£0.50 AI usage · 2.5s"
505
+ * (the AI usage segment is omitted when the workspace has no per-turn £ budget configured)
506
506
  *
507
507
  * Returns empty string if there's nothing to report.
508
508
  */
@@ -690,6 +690,19 @@ type UserInfo = {
690
690
  * Returns empty string if no name parts are available.
691
691
  */
692
692
  declare function formatUserName(user: UserInfo | null | undefined): string;
693
+ /**
694
+ * Format an amount of AI usage in pounds (ex VAT): the single £ formatter for AI usage, allowances,
695
+ * caps and spend everywhere (app, blocks, CLI). Whole pounds drop the pence ("£10", "£1,250");
696
+ * anything else shows 2 decimals ("£0.47", "£12.40"). A positive amount under half a penny shows
697
+ * "<£0.01" so a tiny spend never reads as nothing.
698
+ */
699
+ declare function formatGbp(gbp: number | null | undefined): string;
700
+ /** USD of model spend per £1 of AI usage on a default deployment (the backend's `AI_USD_PER_GBP`). */
701
+ declare const DEFAULT_AI_USD_PER_GBP = 1;
702
+ /** £ of AI usage for a USD model cost (model prices are listed in USD per token). */
703
+ declare function usdToGbp(usd: number, usdPerGbp?: number): number;
704
+ /** A model's USD-per-token price as £ per million tokens ("£2.50"), or null when unpriced. */
705
+ declare function formatGbpPerMillionTokens(costPerToken: number | null | undefined): string | null;
693
706
 
694
707
  /**
695
708
  * Citation resolution utilities — shared by CLI and TUI.
@@ -1706,6 +1719,7 @@ declare function listWorkspaces(arbi: ArbiClient): Promise<{
1706
1719
  project_name?: string | null | undefined;
1707
1720
  project_subscription?: string | null | undefined;
1708
1721
  project_owner_ext_id?: string | null | undefined;
1722
+ house_template_ext_id?: string | null | undefined;
1709
1723
  }[]>;
1710
1724
  /**
1711
1725
  * Create a workspace with a pre-encrypted workspace key.
@@ -1755,6 +1769,7 @@ declare function createWorkspace(arbi: ArbiClient, name: string, encryptedWorksp
1755
1769
  project_name?: string | null | undefined;
1756
1770
  project_subscription?: string | null | undefined;
1757
1771
  project_owner_ext_id?: string | null | undefined;
1772
+ house_template_ext_id?: string | null | undefined;
1758
1773
  }>;
1759
1774
  declare function deleteWorkspaces(arbi: ArbiClient, workspaceIds: string[]): Promise<void>;
1760
1775
  declare function updateWorkspace(arbi: ArbiClient, body: WorkspaceUpdateRequest$1): Promise<{
@@ -1798,6 +1813,7 @@ declare function updateWorkspace(arbi: ArbiClient, body: WorkspaceUpdateRequest$
1798
1813
  project_name?: string | null | undefined;
1799
1814
  project_subscription?: string | null | undefined;
1800
1815
  project_owner_ext_id?: string | null | undefined;
1816
+ house_template_ext_id?: string | null | undefined;
1801
1817
  }>;
1802
1818
  declare function listWorkspaceUsers(arbi: ArbiClient): Promise<{
1803
1819
  user: {
@@ -3734,6 +3750,7 @@ declare function getSettings(arbi: ArbiClient): Promise<{
3734
3750
  pinned_skills: string[];
3735
3751
  tableviews: {
3736
3752
  workspace: string;
3753
+ table?: string | null | undefined;
3737
3754
  name: string;
3738
3755
  columns: string[];
3739
3756
  column_widths?: {
@@ -3962,7 +3979,7 @@ declare function getAgentConfig(arbi: ArbiClient, agentExtId: string): Promise<{
3962
3979
  ENABLE_THINKING: boolean;
3963
3980
  AGENT_STRICT_TOOL_CALLS: boolean;
3964
3981
  AGENT_MAX_ITERATIONS: number;
3965
- AGENT_TURN_CREDIT_BUDGET: number;
3982
+ AGENT_TURN_BUDGET_GBP: number;
3966
3983
  AGENT_MAX_PARALLEL_TOOL_CALLS: number;
3967
3984
  AGENT_MAX_TOTAL_TOOL_CALLS: number;
3968
3985
  AGENT_MAX_RUN_TOKENS: number;
@@ -4194,7 +4211,7 @@ declare function getAgentConfig(arbi: ArbiClient, agentExtId: string): Promise<{
4194
4211
  AGENT_MODEL_NAME: string;
4195
4212
  ENABLE_THINKING: boolean;
4196
4213
  AGENT_MAX_ITERATIONS: number;
4197
- AGENT_TURN_CREDIT_BUDGET: number;
4214
+ AGENT_TURN_BUDGET_GBP: number;
4198
4215
  };
4199
4216
  DoctagLLM: {
4200
4217
  AUTO_RENAME: boolean;
@@ -4336,7 +4353,7 @@ declare function listProjects(arbi: ArbiClient, filters?: {
4336
4353
  used: number;
4337
4354
  limit: number;
4338
4355
  };
4339
- ai_credits: {
4356
+ ai_usage: {
4340
4357
  used: number;
4341
4358
  limit: number;
4342
4359
  };
@@ -4377,31 +4394,35 @@ declare function listProjects(arbi: ArbiClient, filters?: {
4377
4394
  packs: number;
4378
4395
  packs_next?: number | null | undefined;
4379
4396
  plan_name: string;
4380
- plan_credits: number;
4397
+ plan_ai_gbp: number;
4381
4398
  plan_storage_gb: number;
4382
- block_credits: number;
4399
+ block_ai_gbp: number;
4383
4400
  block_storage_gb: number;
4384
- credit_blocks: number;
4401
+ ai_blocks: number;
4385
4402
  storage_blocks: number;
4386
- credit_blocks_next?: number | null | undefined;
4403
+ ai_blocks_next?: number | null | undefined;
4387
4404
  storage_blocks_next?: number | null | undefined;
4388
4405
  storage_blocks_min: number;
4389
- auto_topup_threshold_credits: number;
4390
- min_auto_topup_threshold_credits: number;
4406
+ auto_topup_threshold_gbp: number;
4407
+ min_auto_topup_threshold_gbp: number;
4391
4408
  spend_cap_pence?: number | null | undefined;
4392
4409
  addon_spend_pence: number;
4393
4410
  addon_spend_window_end?: number | null | undefined;
4394
- block_monthly_pence: number;
4395
- block_monthly_ex_vat_pence: number;
4396
- block_period_pence: number;
4397
- block_period_ex_vat_pence: number;
4398
- credit_block_price_pence: number;
4399
- credit_block_price_ex_vat_pence: number;
4411
+ ai_block_monthly_pence: number;
4412
+ ai_block_monthly_ex_vat_pence: number;
4413
+ storage_block_monthly_pence: number;
4414
+ storage_block_monthly_ex_vat_pence: number;
4415
+ ai_block_period_pence: number;
4416
+ ai_block_period_ex_vat_pence: number;
4417
+ storage_block_period_pence: number;
4418
+ storage_block_period_ex_vat_pence: number;
4419
+ ai_block_price_pence: number;
4420
+ ai_block_price_ex_vat_pence: number;
4400
4421
  storage_block_price_pence: number;
4401
4422
  storage_block_price_ex_vat_pence: number;
4402
4423
  cap_reached: boolean;
4403
4424
  period_end?: number | null | undefined;
4404
- credits_reset_at?: number | null | undefined;
4425
+ ai_usage_reset_at?: number | null | undefined;
4405
4426
  pending_interval?: ("month" | "year") | null | undefined;
4406
4427
  billing_error?: string | null | undefined;
4407
4428
  confirm_url?: string | null | undefined;
@@ -4414,13 +4435,13 @@ declare function listProjects(arbi: ArbiClient, filters?: {
4414
4435
  pro_plus_monthly_pence: number;
4415
4436
  pro_plus_monthly_ex_vat_pence: number;
4416
4437
  pro_plus_period_pence: number;
4417
- pro_plus_credits: number;
4438
+ pro_plus_ai_gbp: number;
4418
4439
  pro_plus_storage_gb: number;
4419
4440
  saving_monthly_pence: number;
4420
4441
  } | null | undefined;
4421
4442
  payment?: {
4422
4443
  status: "pending" | "paid";
4423
- kind?: ("credits" | "storage") | null | undefined;
4444
+ kind?: ("ai_usage" | "storage") | null | undefined;
4424
4445
  amount_pence?: number | null | undefined;
4425
4446
  amount_ex_vat_pence?: number | null | undefined;
4426
4447
  tax_pence?: number | null | undefined;
@@ -4453,7 +4474,7 @@ declare function createProject(arbi: ArbiClient, name: string, plan?: 'free' | '
4453
4474
  used: number;
4454
4475
  limit: number;
4455
4476
  };
4456
- ai_credits: {
4477
+ ai_usage: {
4457
4478
  used: number;
4458
4479
  limit: number;
4459
4480
  };
@@ -4494,31 +4515,35 @@ declare function createProject(arbi: ArbiClient, name: string, plan?: 'free' | '
4494
4515
  packs: number;
4495
4516
  packs_next?: number | null | undefined;
4496
4517
  plan_name: string;
4497
- plan_credits: number;
4518
+ plan_ai_gbp: number;
4498
4519
  plan_storage_gb: number;
4499
- block_credits: number;
4520
+ block_ai_gbp: number;
4500
4521
  block_storage_gb: number;
4501
- credit_blocks: number;
4522
+ ai_blocks: number;
4502
4523
  storage_blocks: number;
4503
- credit_blocks_next?: number | null | undefined;
4524
+ ai_blocks_next?: number | null | undefined;
4504
4525
  storage_blocks_next?: number | null | undefined;
4505
4526
  storage_blocks_min: number;
4506
- auto_topup_threshold_credits: number;
4507
- min_auto_topup_threshold_credits: number;
4527
+ auto_topup_threshold_gbp: number;
4528
+ min_auto_topup_threshold_gbp: number;
4508
4529
  spend_cap_pence?: number | null | undefined;
4509
4530
  addon_spend_pence: number;
4510
4531
  addon_spend_window_end?: number | null | undefined;
4511
- block_monthly_pence: number;
4512
- block_monthly_ex_vat_pence: number;
4513
- block_period_pence: number;
4514
- block_period_ex_vat_pence: number;
4515
- credit_block_price_pence: number;
4516
- credit_block_price_ex_vat_pence: number;
4532
+ ai_block_monthly_pence: number;
4533
+ ai_block_monthly_ex_vat_pence: number;
4534
+ storage_block_monthly_pence: number;
4535
+ storage_block_monthly_ex_vat_pence: number;
4536
+ ai_block_period_pence: number;
4537
+ ai_block_period_ex_vat_pence: number;
4538
+ storage_block_period_pence: number;
4539
+ storage_block_period_ex_vat_pence: number;
4540
+ ai_block_price_pence: number;
4541
+ ai_block_price_ex_vat_pence: number;
4517
4542
  storage_block_price_pence: number;
4518
4543
  storage_block_price_ex_vat_pence: number;
4519
4544
  cap_reached: boolean;
4520
4545
  period_end?: number | null | undefined;
4521
- credits_reset_at?: number | null | undefined;
4546
+ ai_usage_reset_at?: number | null | undefined;
4522
4547
  pending_interval?: ("month" | "year") | null | undefined;
4523
4548
  billing_error?: string | null | undefined;
4524
4549
  confirm_url?: string | null | undefined;
@@ -4531,13 +4556,13 @@ declare function createProject(arbi: ArbiClient, name: string, plan?: 'free' | '
4531
4556
  pro_plus_monthly_pence: number;
4532
4557
  pro_plus_monthly_ex_vat_pence: number;
4533
4558
  pro_plus_period_pence: number;
4534
- pro_plus_credits: number;
4559
+ pro_plus_ai_gbp: number;
4535
4560
  pro_plus_storage_gb: number;
4536
4561
  saving_monthly_pence: number;
4537
4562
  } | null | undefined;
4538
4563
  payment?: {
4539
4564
  status: "pending" | "paid";
4540
- kind?: ("credits" | "storage") | null | undefined;
4565
+ kind?: ("ai_usage" | "storage") | null | undefined;
4541
4566
  amount_pence?: number | null | undefined;
4542
4567
  amount_ex_vat_pence?: number | null | undefined;
4543
4568
  tax_pence?: number | null | undefined;
@@ -4561,7 +4586,7 @@ declare function listProjectEvents(arbi: ArbiClient, projectExtId: string, optio
4561
4586
  }): Promise<ProjectEventResponse[]>;
4562
4587
  /**
4563
4588
  * A project's spend in a billing period by conversation (`by_conversation`, keyed `con-…`), plus
4564
- * what no conversation accounts for (`unattributed`). Spend is in credits.
4589
+ * what no conversation accounts for (`unattributed`). Spend is in £.
4565
4590
  */
4566
4591
  declare function getProjectConversationUsage(arbi: ArbiClient, projectExtId: string, monthsBack?: number): Promise<ProjectConversationUsageResponse>;
4567
4592
  /**
@@ -4583,7 +4608,7 @@ declare function updateProject(arbi: ArbiClient, projectExtId: string, body: Pro
4583
4608
  used: number;
4584
4609
  limit: number;
4585
4610
  };
4586
- ai_credits: {
4611
+ ai_usage: {
4587
4612
  used: number;
4588
4613
  limit: number;
4589
4614
  };
@@ -4624,31 +4649,35 @@ declare function updateProject(arbi: ArbiClient, projectExtId: string, body: Pro
4624
4649
  packs: number;
4625
4650
  packs_next?: number | null | undefined;
4626
4651
  plan_name: string;
4627
- plan_credits: number;
4652
+ plan_ai_gbp: number;
4628
4653
  plan_storage_gb: number;
4629
- block_credits: number;
4654
+ block_ai_gbp: number;
4630
4655
  block_storage_gb: number;
4631
- credit_blocks: number;
4656
+ ai_blocks: number;
4632
4657
  storage_blocks: number;
4633
- credit_blocks_next?: number | null | undefined;
4658
+ ai_blocks_next?: number | null | undefined;
4634
4659
  storage_blocks_next?: number | null | undefined;
4635
4660
  storage_blocks_min: number;
4636
- auto_topup_threshold_credits: number;
4637
- min_auto_topup_threshold_credits: number;
4661
+ auto_topup_threshold_gbp: number;
4662
+ min_auto_topup_threshold_gbp: number;
4638
4663
  spend_cap_pence?: number | null | undefined;
4639
4664
  addon_spend_pence: number;
4640
4665
  addon_spend_window_end?: number | null | undefined;
4641
- block_monthly_pence: number;
4642
- block_monthly_ex_vat_pence: number;
4643
- block_period_pence: number;
4644
- block_period_ex_vat_pence: number;
4645
- credit_block_price_pence: number;
4646
- credit_block_price_ex_vat_pence: number;
4666
+ ai_block_monthly_pence: number;
4667
+ ai_block_monthly_ex_vat_pence: number;
4668
+ storage_block_monthly_pence: number;
4669
+ storage_block_monthly_ex_vat_pence: number;
4670
+ ai_block_period_pence: number;
4671
+ ai_block_period_ex_vat_pence: number;
4672
+ storage_block_period_pence: number;
4673
+ storage_block_period_ex_vat_pence: number;
4674
+ ai_block_price_pence: number;
4675
+ ai_block_price_ex_vat_pence: number;
4647
4676
  storage_block_price_pence: number;
4648
4677
  storage_block_price_ex_vat_pence: number;
4649
4678
  cap_reached: boolean;
4650
4679
  period_end?: number | null | undefined;
4651
- credits_reset_at?: number | null | undefined;
4680
+ ai_usage_reset_at?: number | null | undefined;
4652
4681
  pending_interval?: ("month" | "year") | null | undefined;
4653
4682
  billing_error?: string | null | undefined;
4654
4683
  confirm_url?: string | null | undefined;
@@ -4661,13 +4690,13 @@ declare function updateProject(arbi: ArbiClient, projectExtId: string, body: Pro
4661
4690
  pro_plus_monthly_pence: number;
4662
4691
  pro_plus_monthly_ex_vat_pence: number;
4663
4692
  pro_plus_period_pence: number;
4664
- pro_plus_credits: number;
4693
+ pro_plus_ai_gbp: number;
4665
4694
  pro_plus_storage_gb: number;
4666
4695
  saving_monthly_pence: number;
4667
4696
  } | null | undefined;
4668
4697
  payment?: {
4669
4698
  status: "pending" | "paid";
4670
- kind?: ("credits" | "storage") | null | undefined;
4699
+ kind?: ("ai_usage" | "storage") | null | undefined;
4671
4700
  amount_pence?: number | null | undefined;
4672
4701
  amount_ex_vat_pence?: number | null | undefined;
4673
4702
  tax_pence?: number | null | undefined;
@@ -4696,7 +4725,7 @@ declare function renameProject(arbi: ArbiClient, projectExtId: string, name: str
4696
4725
  used: number;
4697
4726
  limit: number;
4698
4727
  };
4699
- ai_credits: {
4728
+ ai_usage: {
4700
4729
  used: number;
4701
4730
  limit: number;
4702
4731
  };
@@ -4737,31 +4766,35 @@ declare function renameProject(arbi: ArbiClient, projectExtId: string, name: str
4737
4766
  packs: number;
4738
4767
  packs_next?: number | null | undefined;
4739
4768
  plan_name: string;
4740
- plan_credits: number;
4769
+ plan_ai_gbp: number;
4741
4770
  plan_storage_gb: number;
4742
- block_credits: number;
4771
+ block_ai_gbp: number;
4743
4772
  block_storage_gb: number;
4744
- credit_blocks: number;
4773
+ ai_blocks: number;
4745
4774
  storage_blocks: number;
4746
- credit_blocks_next?: number | null | undefined;
4775
+ ai_blocks_next?: number | null | undefined;
4747
4776
  storage_blocks_next?: number | null | undefined;
4748
4777
  storage_blocks_min: number;
4749
- auto_topup_threshold_credits: number;
4750
- min_auto_topup_threshold_credits: number;
4778
+ auto_topup_threshold_gbp: number;
4779
+ min_auto_topup_threshold_gbp: number;
4751
4780
  spend_cap_pence?: number | null | undefined;
4752
4781
  addon_spend_pence: number;
4753
4782
  addon_spend_window_end?: number | null | undefined;
4754
- block_monthly_pence: number;
4755
- block_monthly_ex_vat_pence: number;
4756
- block_period_pence: number;
4757
- block_period_ex_vat_pence: number;
4758
- credit_block_price_pence: number;
4759
- credit_block_price_ex_vat_pence: number;
4783
+ ai_block_monthly_pence: number;
4784
+ ai_block_monthly_ex_vat_pence: number;
4785
+ storage_block_monthly_pence: number;
4786
+ storage_block_monthly_ex_vat_pence: number;
4787
+ ai_block_period_pence: number;
4788
+ ai_block_period_ex_vat_pence: number;
4789
+ storage_block_period_pence: number;
4790
+ storage_block_period_ex_vat_pence: number;
4791
+ ai_block_price_pence: number;
4792
+ ai_block_price_ex_vat_pence: number;
4760
4793
  storage_block_price_pence: number;
4761
4794
  storage_block_price_ex_vat_pence: number;
4762
4795
  cap_reached: boolean;
4763
4796
  period_end?: number | null | undefined;
4764
- credits_reset_at?: number | null | undefined;
4797
+ ai_usage_reset_at?: number | null | undefined;
4765
4798
  pending_interval?: ("month" | "year") | null | undefined;
4766
4799
  billing_error?: string | null | undefined;
4767
4800
  confirm_url?: string | null | undefined;
@@ -4774,13 +4807,13 @@ declare function renameProject(arbi: ArbiClient, projectExtId: string, name: str
4774
4807
  pro_plus_monthly_pence: number;
4775
4808
  pro_plus_monthly_ex_vat_pence: number;
4776
4809
  pro_plus_period_pence: number;
4777
- pro_plus_credits: number;
4810
+ pro_plus_ai_gbp: number;
4778
4811
  pro_plus_storage_gb: number;
4779
4812
  saving_monthly_pence: number;
4780
4813
  } | null | undefined;
4781
4814
  payment?: {
4782
4815
  status: "pending" | "paid";
4783
- kind?: ("credits" | "storage") | null | undefined;
4816
+ kind?: ("ai_usage" | "storage") | null | undefined;
4784
4817
  amount_pence?: number | null | undefined;
4785
4818
  amount_ex_vat_pence?: number | null | undefined;
4786
4819
  tax_pence?: number | null | undefined;
@@ -4809,7 +4842,7 @@ declare function refreshProject(arbi: ArbiClient, projectExtId: string): Promise
4809
4842
  used: number;
4810
4843
  limit: number;
4811
4844
  };
4812
- ai_credits: {
4845
+ ai_usage: {
4813
4846
  used: number;
4814
4847
  limit: number;
4815
4848
  };
@@ -4850,31 +4883,35 @@ declare function refreshProject(arbi: ArbiClient, projectExtId: string): Promise
4850
4883
  packs: number;
4851
4884
  packs_next?: number | null | undefined;
4852
4885
  plan_name: string;
4853
- plan_credits: number;
4886
+ plan_ai_gbp: number;
4854
4887
  plan_storage_gb: number;
4855
- block_credits: number;
4888
+ block_ai_gbp: number;
4856
4889
  block_storage_gb: number;
4857
- credit_blocks: number;
4890
+ ai_blocks: number;
4858
4891
  storage_blocks: number;
4859
- credit_blocks_next?: number | null | undefined;
4892
+ ai_blocks_next?: number | null | undefined;
4860
4893
  storage_blocks_next?: number | null | undefined;
4861
4894
  storage_blocks_min: number;
4862
- auto_topup_threshold_credits: number;
4863
- min_auto_topup_threshold_credits: number;
4895
+ auto_topup_threshold_gbp: number;
4896
+ min_auto_topup_threshold_gbp: number;
4864
4897
  spend_cap_pence?: number | null | undefined;
4865
4898
  addon_spend_pence: number;
4866
4899
  addon_spend_window_end?: number | null | undefined;
4867
- block_monthly_pence: number;
4868
- block_monthly_ex_vat_pence: number;
4869
- block_period_pence: number;
4870
- block_period_ex_vat_pence: number;
4871
- credit_block_price_pence: number;
4872
- credit_block_price_ex_vat_pence: number;
4900
+ ai_block_monthly_pence: number;
4901
+ ai_block_monthly_ex_vat_pence: number;
4902
+ storage_block_monthly_pence: number;
4903
+ storage_block_monthly_ex_vat_pence: number;
4904
+ ai_block_period_pence: number;
4905
+ ai_block_period_ex_vat_pence: number;
4906
+ storage_block_period_pence: number;
4907
+ storage_block_period_ex_vat_pence: number;
4908
+ ai_block_price_pence: number;
4909
+ ai_block_price_ex_vat_pence: number;
4873
4910
  storage_block_price_pence: number;
4874
4911
  storage_block_price_ex_vat_pence: number;
4875
4912
  cap_reached: boolean;
4876
4913
  period_end?: number | null | undefined;
4877
- credits_reset_at?: number | null | undefined;
4914
+ ai_usage_reset_at?: number | null | undefined;
4878
4915
  pending_interval?: ("month" | "year") | null | undefined;
4879
4916
  billing_error?: string | null | undefined;
4880
4917
  confirm_url?: string | null | undefined;
@@ -4887,13 +4924,13 @@ declare function refreshProject(arbi: ArbiClient, projectExtId: string): Promise
4887
4924
  pro_plus_monthly_pence: number;
4888
4925
  pro_plus_monthly_ex_vat_pence: number;
4889
4926
  pro_plus_period_pence: number;
4890
- pro_plus_credits: number;
4927
+ pro_plus_ai_gbp: number;
4891
4928
  pro_plus_storage_gb: number;
4892
4929
  saving_monthly_pence: number;
4893
4930
  } | null | undefined;
4894
4931
  payment?: {
4895
4932
  status: "pending" | "paid";
4896
- kind?: ("credits" | "storage") | null | undefined;
4933
+ kind?: ("ai_usage" | "storage") | null | undefined;
4897
4934
  amount_pence?: number | null | undefined;
4898
4935
  amount_ex_vat_pence?: number | null | undefined;
4899
4936
  tax_pence?: number | null | undefined;
@@ -4918,9 +4955,9 @@ declare function getProjectUsage(arbi: ArbiClient, projectExtId: string, monthsB
4918
4955
  /** List the Stripe invoices for a project's subscription. */
4919
4956
  declare function getProjectInvoices(arbi: ArbiClient, projectExtId: string): Promise<ProjectInvoicesResponse>;
4920
4957
  /**
4921
- * Today's deployment-wide credit spend for the current user — the number the
4958
+ * Today's deployment-wide AI usage (£) for the current user — the number the
4922
4959
  * per-user daily cap is enforced against. Pair with a project's
4923
- * `daily_cap_per_user` to render a "credits today" indicator.
4960
+ * `daily_cap_per_user` to render a "£ used today" indicator.
4924
4961
  */
4925
4962
  declare function getUserUsageToday(arbi: ArbiClient): Promise<UserDailyUsageResponse>;
4926
4963
 
@@ -5232,7 +5269,7 @@ type ActivityResponse = components['schemas']['ActivityResponse'];
5232
5269
  type ActivityKind = components['schemas']['ActivityKind'];
5233
5270
  type WorkStatus = components['schemas']['WorkStatus'];
5234
5271
  type ConversationUsageResponse = components['schemas']['ConversationUsageResponse'];
5235
- /** One slice of a usage breakdown: spend (credits), tokens and requests. */
5272
+ /** One slice of a usage breakdown: spend (£), tokens and requests. */
5236
5273
  type UsageBreakdown = components['schemas']['TagBreakdown'];
5237
5274
  /** The authorization tier of a run: per-run temporary key, ask each run, or standing membership. */
5238
5275
  type AuthMode = components['schemas']['src__models__work__AuthMode'];
@@ -5268,7 +5305,7 @@ declare function sendBackStep(arbi: ArbiClient, conversationId: string, step: st
5268
5305
  }): Promise<ConversationResponse>;
5269
5306
  /**
5270
5307
  * What a conversation's AI work cost in its project's current billing period: totals (spend in
5271
- * credits, tokens, requests) and breakdowns by step, run, model, agent and feature.
5308
+ * £, tokens, requests) and breakdowns by step, run, model, agent and feature.
5272
5309
  */
5273
5310
  declare function getConversationUsage(arbi: ArbiClient, conversationId: string): Promise<ConversationUsageResponse>;
5274
5311
  /**
@@ -5649,7 +5686,7 @@ declare class Arbi {
5649
5686
  used: number;
5650
5687
  limit: number;
5651
5688
  };
5652
- ai_credits: {
5689
+ ai_usage: {
5653
5690
  used: number;
5654
5691
  limit: number;
5655
5692
  };
@@ -5690,31 +5727,35 @@ declare class Arbi {
5690
5727
  packs: number;
5691
5728
  packs_next?: number | null | undefined;
5692
5729
  plan_name: string;
5693
- plan_credits: number;
5730
+ plan_ai_gbp: number;
5694
5731
  plan_storage_gb: number;
5695
- block_credits: number;
5732
+ block_ai_gbp: number;
5696
5733
  block_storage_gb: number;
5697
- credit_blocks: number;
5734
+ ai_blocks: number;
5698
5735
  storage_blocks: number;
5699
- credit_blocks_next?: number | null | undefined;
5736
+ ai_blocks_next?: number | null | undefined;
5700
5737
  storage_blocks_next?: number | null | undefined;
5701
5738
  storage_blocks_min: number;
5702
- auto_topup_threshold_credits: number;
5703
- min_auto_topup_threshold_credits: number;
5739
+ auto_topup_threshold_gbp: number;
5740
+ min_auto_topup_threshold_gbp: number;
5704
5741
  spend_cap_pence?: number | null | undefined;
5705
5742
  addon_spend_pence: number;
5706
5743
  addon_spend_window_end?: number | null | undefined;
5707
- block_monthly_pence: number;
5708
- block_monthly_ex_vat_pence: number;
5709
- block_period_pence: number;
5710
- block_period_ex_vat_pence: number;
5711
- credit_block_price_pence: number;
5712
- credit_block_price_ex_vat_pence: number;
5744
+ ai_block_monthly_pence: number;
5745
+ ai_block_monthly_ex_vat_pence: number;
5746
+ storage_block_monthly_pence: number;
5747
+ storage_block_monthly_ex_vat_pence: number;
5748
+ ai_block_period_pence: number;
5749
+ ai_block_period_ex_vat_pence: number;
5750
+ storage_block_period_pence: number;
5751
+ storage_block_period_ex_vat_pence: number;
5752
+ ai_block_price_pence: number;
5753
+ ai_block_price_ex_vat_pence: number;
5713
5754
  storage_block_price_pence: number;
5714
5755
  storage_block_price_ex_vat_pence: number;
5715
5756
  cap_reached: boolean;
5716
5757
  period_end?: number | null | undefined;
5717
- credits_reset_at?: number | null | undefined;
5758
+ ai_usage_reset_at?: number | null | undefined;
5718
5759
  pending_interval?: ("month" | "year") | null | undefined;
5719
5760
  billing_error?: string | null | undefined;
5720
5761
  confirm_url?: string | null | undefined;
@@ -5727,13 +5768,13 @@ declare class Arbi {
5727
5768
  pro_plus_monthly_pence: number;
5728
5769
  pro_plus_monthly_ex_vat_pence: number;
5729
5770
  pro_plus_period_pence: number;
5730
- pro_plus_credits: number;
5771
+ pro_plus_ai_gbp: number;
5731
5772
  pro_plus_storage_gb: number;
5732
5773
  saving_monthly_pence: number;
5733
5774
  } | null | undefined;
5734
5775
  payment?: {
5735
5776
  status: "pending" | "paid";
5736
- kind?: ("credits" | "storage") | null | undefined;
5777
+ kind?: ("ai_usage" | "storage") | null | undefined;
5737
5778
  amount_pence?: number | null | undefined;
5738
5779
  amount_ex_vat_pence?: number | null | undefined;
5739
5780
  tax_pence?: number | null | undefined;
@@ -5761,7 +5802,7 @@ declare class Arbi {
5761
5802
  used: number;
5762
5803
  limit: number;
5763
5804
  };
5764
- ai_credits: {
5805
+ ai_usage: {
5765
5806
  used: number;
5766
5807
  limit: number;
5767
5808
  };
@@ -5802,31 +5843,35 @@ declare class Arbi {
5802
5843
  packs: number;
5803
5844
  packs_next?: number | null | undefined;
5804
5845
  plan_name: string;
5805
- plan_credits: number;
5846
+ plan_ai_gbp: number;
5806
5847
  plan_storage_gb: number;
5807
- block_credits: number;
5848
+ block_ai_gbp: number;
5808
5849
  block_storage_gb: number;
5809
- credit_blocks: number;
5850
+ ai_blocks: number;
5810
5851
  storage_blocks: number;
5811
- credit_blocks_next?: number | null | undefined;
5852
+ ai_blocks_next?: number | null | undefined;
5812
5853
  storage_blocks_next?: number | null | undefined;
5813
5854
  storage_blocks_min: number;
5814
- auto_topup_threshold_credits: number;
5815
- min_auto_topup_threshold_credits: number;
5855
+ auto_topup_threshold_gbp: number;
5856
+ min_auto_topup_threshold_gbp: number;
5816
5857
  spend_cap_pence?: number | null | undefined;
5817
5858
  addon_spend_pence: number;
5818
5859
  addon_spend_window_end?: number | null | undefined;
5819
- block_monthly_pence: number;
5820
- block_monthly_ex_vat_pence: number;
5821
- block_period_pence: number;
5822
- block_period_ex_vat_pence: number;
5823
- credit_block_price_pence: number;
5824
- credit_block_price_ex_vat_pence: number;
5860
+ ai_block_monthly_pence: number;
5861
+ ai_block_monthly_ex_vat_pence: number;
5862
+ storage_block_monthly_pence: number;
5863
+ storage_block_monthly_ex_vat_pence: number;
5864
+ ai_block_period_pence: number;
5865
+ ai_block_period_ex_vat_pence: number;
5866
+ storage_block_period_pence: number;
5867
+ storage_block_period_ex_vat_pence: number;
5868
+ ai_block_price_pence: number;
5869
+ ai_block_price_ex_vat_pence: number;
5825
5870
  storage_block_price_pence: number;
5826
5871
  storage_block_price_ex_vat_pence: number;
5827
5872
  cap_reached: boolean;
5828
5873
  period_end?: number | null | undefined;
5829
- credits_reset_at?: number | null | undefined;
5874
+ ai_usage_reset_at?: number | null | undefined;
5830
5875
  pending_interval?: ("month" | "year") | null | undefined;
5831
5876
  billing_error?: string | null | undefined;
5832
5877
  confirm_url?: string | null | undefined;
@@ -5839,13 +5884,13 @@ declare class Arbi {
5839
5884
  pro_plus_monthly_pence: number;
5840
5885
  pro_plus_monthly_ex_vat_pence: number;
5841
5886
  pro_plus_period_pence: number;
5842
- pro_plus_credits: number;
5887
+ pro_plus_ai_gbp: number;
5843
5888
  pro_plus_storage_gb: number;
5844
5889
  saving_monthly_pence: number;
5845
5890
  } | null | undefined;
5846
5891
  payment?: {
5847
5892
  status: "pending" | "paid";
5848
- kind?: ("credits" | "storage") | null | undefined;
5893
+ kind?: ("ai_usage" | "storage") | null | undefined;
5849
5894
  amount_pence?: number | null | undefined;
5850
5895
  amount_ex_vat_pence?: number | null | undefined;
5851
5896
  tax_pence?: number | null | undefined;
@@ -5874,7 +5919,7 @@ declare class Arbi {
5874
5919
  used: number;
5875
5920
  limit: number;
5876
5921
  };
5877
- ai_credits: {
5922
+ ai_usage: {
5878
5923
  used: number;
5879
5924
  limit: number;
5880
5925
  };
@@ -5915,31 +5960,35 @@ declare class Arbi {
5915
5960
  packs: number;
5916
5961
  packs_next?: number | null | undefined;
5917
5962
  plan_name: string;
5918
- plan_credits: number;
5963
+ plan_ai_gbp: number;
5919
5964
  plan_storage_gb: number;
5920
- block_credits: number;
5965
+ block_ai_gbp: number;
5921
5966
  block_storage_gb: number;
5922
- credit_blocks: number;
5967
+ ai_blocks: number;
5923
5968
  storage_blocks: number;
5924
- credit_blocks_next?: number | null | undefined;
5969
+ ai_blocks_next?: number | null | undefined;
5925
5970
  storage_blocks_next?: number | null | undefined;
5926
5971
  storage_blocks_min: number;
5927
- auto_topup_threshold_credits: number;
5928
- min_auto_topup_threshold_credits: number;
5972
+ auto_topup_threshold_gbp: number;
5973
+ min_auto_topup_threshold_gbp: number;
5929
5974
  spend_cap_pence?: number | null | undefined;
5930
5975
  addon_spend_pence: number;
5931
5976
  addon_spend_window_end?: number | null | undefined;
5932
- block_monthly_pence: number;
5933
- block_monthly_ex_vat_pence: number;
5934
- block_period_pence: number;
5935
- block_period_ex_vat_pence: number;
5936
- credit_block_price_pence: number;
5937
- credit_block_price_ex_vat_pence: number;
5977
+ ai_block_monthly_pence: number;
5978
+ ai_block_monthly_ex_vat_pence: number;
5979
+ storage_block_monthly_pence: number;
5980
+ storage_block_monthly_ex_vat_pence: number;
5981
+ ai_block_period_pence: number;
5982
+ ai_block_period_ex_vat_pence: number;
5983
+ storage_block_period_pence: number;
5984
+ storage_block_period_ex_vat_pence: number;
5985
+ ai_block_price_pence: number;
5986
+ ai_block_price_ex_vat_pence: number;
5938
5987
  storage_block_price_pence: number;
5939
5988
  storage_block_price_ex_vat_pence: number;
5940
5989
  cap_reached: boolean;
5941
5990
  period_end?: number | null | undefined;
5942
- credits_reset_at?: number | null | undefined;
5991
+ ai_usage_reset_at?: number | null | undefined;
5943
5992
  pending_interval?: ("month" | "year") | null | undefined;
5944
5993
  billing_error?: string | null | undefined;
5945
5994
  confirm_url?: string | null | undefined;
@@ -5952,13 +6001,13 @@ declare class Arbi {
5952
6001
  pro_plus_monthly_pence: number;
5953
6002
  pro_plus_monthly_ex_vat_pence: number;
5954
6003
  pro_plus_period_pence: number;
5955
- pro_plus_credits: number;
6004
+ pro_plus_ai_gbp: number;
5956
6005
  pro_plus_storage_gb: number;
5957
6006
  saving_monthly_pence: number;
5958
6007
  } | null | undefined;
5959
6008
  payment?: {
5960
6009
  status: "pending" | "paid";
5961
- kind?: ("credits" | "storage") | null | undefined;
6010
+ kind?: ("ai_usage" | "storage") | null | undefined;
5962
6011
  amount_pence?: number | null | undefined;
5963
6012
  amount_ex_vat_pence?: number | null | undefined;
5964
6013
  tax_pence?: number | null | undefined;
@@ -5988,7 +6037,7 @@ declare class Arbi {
5988
6037
  };
5989
6038
  created_at: string;
5990
6039
  }[]>;
5991
- /** The project's spend by conversation in a billing period (credits). */
6040
+ /** The project's spend by conversation in a billing period (£). */
5992
6041
  usageByConversation: (projectExtId: string, monthsBack?: number) => Promise<{
5993
6042
  project_ext_id: string;
5994
6043
  period_start: string;
@@ -6012,7 +6061,7 @@ declare class Arbi {
6012
6061
  used: number;
6013
6062
  limit: number;
6014
6063
  };
6015
- ai_credits: {
6064
+ ai_usage: {
6016
6065
  used: number;
6017
6066
  limit: number;
6018
6067
  };
@@ -6053,31 +6102,35 @@ declare class Arbi {
6053
6102
  packs: number;
6054
6103
  packs_next?: number | null | undefined;
6055
6104
  plan_name: string;
6056
- plan_credits: number;
6105
+ plan_ai_gbp: number;
6057
6106
  plan_storage_gb: number;
6058
- block_credits: number;
6107
+ block_ai_gbp: number;
6059
6108
  block_storage_gb: number;
6060
- credit_blocks: number;
6109
+ ai_blocks: number;
6061
6110
  storage_blocks: number;
6062
- credit_blocks_next?: number | null | undefined;
6111
+ ai_blocks_next?: number | null | undefined;
6063
6112
  storage_blocks_next?: number | null | undefined;
6064
6113
  storage_blocks_min: number;
6065
- auto_topup_threshold_credits: number;
6066
- min_auto_topup_threshold_credits: number;
6114
+ auto_topup_threshold_gbp: number;
6115
+ min_auto_topup_threshold_gbp: number;
6067
6116
  spend_cap_pence?: number | null | undefined;
6068
6117
  addon_spend_pence: number;
6069
6118
  addon_spend_window_end?: number | null | undefined;
6070
- block_monthly_pence: number;
6071
- block_monthly_ex_vat_pence: number;
6072
- block_period_pence: number;
6073
- block_period_ex_vat_pence: number;
6074
- credit_block_price_pence: number;
6075
- credit_block_price_ex_vat_pence: number;
6119
+ ai_block_monthly_pence: number;
6120
+ ai_block_monthly_ex_vat_pence: number;
6121
+ storage_block_monthly_pence: number;
6122
+ storage_block_monthly_ex_vat_pence: number;
6123
+ ai_block_period_pence: number;
6124
+ ai_block_period_ex_vat_pence: number;
6125
+ storage_block_period_pence: number;
6126
+ storage_block_period_ex_vat_pence: number;
6127
+ ai_block_price_pence: number;
6128
+ ai_block_price_ex_vat_pence: number;
6076
6129
  storage_block_price_pence: number;
6077
6130
  storage_block_price_ex_vat_pence: number;
6078
6131
  cap_reached: boolean;
6079
6132
  period_end?: number | null | undefined;
6080
- credits_reset_at?: number | null | undefined;
6133
+ ai_usage_reset_at?: number | null | undefined;
6081
6134
  pending_interval?: ("month" | "year") | null | undefined;
6082
6135
  billing_error?: string | null | undefined;
6083
6136
  confirm_url?: string | null | undefined;
@@ -6090,13 +6143,13 @@ declare class Arbi {
6090
6143
  pro_plus_monthly_pence: number;
6091
6144
  pro_plus_monthly_ex_vat_pence: number;
6092
6145
  pro_plus_period_pence: number;
6093
- pro_plus_credits: number;
6146
+ pro_plus_ai_gbp: number;
6094
6147
  pro_plus_storage_gb: number;
6095
6148
  saving_monthly_pence: number;
6096
6149
  } | null | undefined;
6097
6150
  payment?: {
6098
6151
  status: "pending" | "paid";
6099
- kind?: ("credits" | "storage") | null | undefined;
6152
+ kind?: ("ai_usage" | "storage") | null | undefined;
6100
6153
  amount_pence?: number | null | undefined;
6101
6154
  amount_ex_vat_pence?: number | null | undefined;
6102
6155
  tax_pence?: number | null | undefined;
@@ -6168,9 +6221,9 @@ declare class Arbi {
6168
6221
  profile: () => LoginProfile | null;
6169
6222
  /** Be told when the profile changes (name, picture or email saved). Returns the unsubscribe. */
6170
6223
  onProfileChange: (listener: (profile: LoginProfile) => void) => (() => void);
6171
- /** Today's deployment-wide credit spend for the current user. */
6224
+ /** Today's deployment-wide AI usage (£) for the current user. */
6172
6225
  usageToday: () => Promise<{
6173
- credits_used: number;
6226
+ used_gbp: number;
6174
6227
  }>;
6175
6228
  /**
6176
6229
  * The signed-in user from the server, with `can_create_projects`: false on deployments where
@@ -6187,6 +6240,7 @@ declare class Arbi {
6187
6240
  is_sso: boolean;
6188
6241
  is_identity_verified: boolean;
6189
6242
  can_create_projects: boolean;
6243
+ is_deployment_admin: boolean;
6190
6244
  }>;
6191
6245
  };
6192
6246
  readonly profile: {
@@ -6337,6 +6391,7 @@ declare class Arbi {
6337
6391
  project_name?: string | null | undefined;
6338
6392
  project_subscription?: string | null | undefined;
6339
6393
  project_owner_ext_id?: string | null | undefined;
6394
+ house_template_ext_id?: string | null | undefined;
6340
6395
  }[]>;
6341
6396
  create: (name: string, projectExtId: string, description?: string | null, isPublic?: boolean) => Promise<{
6342
6397
  external_id: string;
@@ -6379,6 +6434,7 @@ declare class Arbi {
6379
6434
  project_name?: string | null | undefined;
6380
6435
  project_subscription?: string | null | undefined;
6381
6436
  project_owner_ext_id?: string | null | undefined;
6437
+ house_template_ext_id?: string | null | undefined;
6382
6438
  }>;
6383
6439
  delete: (workspaceIds: string[]) => Promise<void>;
6384
6440
  update: (body: WorkspaceUpdateRequest) => Promise<{
@@ -6422,6 +6478,7 @@ declare class Arbi {
6422
6478
  project_name?: string | null | undefined;
6423
6479
  project_subscription?: string | null | undefined;
6424
6480
  project_owner_ext_id?: string | null | undefined;
6481
+ house_template_ext_id?: string | null | undefined;
6425
6482
  }>;
6426
6483
  listUsers: () => Promise<{
6427
6484
  user: {
@@ -7648,7 +7705,7 @@ declare class Arbi {
7648
7705
  }>;
7649
7706
  /** A stepped run's steps, signals, linked runs and send-backs, and what it waits for. */
7650
7707
  runProgress: (conversationId: string) => Promise<RunProgress>;
7651
- /** What the conversation's AI work cost: by step, run, model, agent and feature (credits). */
7708
+ /** What the conversation's AI work cost: by step, run, model, agent and feature (£). */
7652
7709
  usage: (conversationId: string) => Promise<{
7653
7710
  conversation_ext_id: string;
7654
7711
  project_ext_id: string;
@@ -8633,6 +8690,7 @@ declare class Arbi {
8633
8690
  pinned_skills: string[];
8634
8691
  tableviews: {
8635
8692
  workspace: string;
8693
+ table?: string | null | undefined;
8636
8694
  name: string;
8637
8695
  columns: string[];
8638
8696
  column_widths?: {
@@ -8738,7 +8796,7 @@ declare class Arbi {
8738
8796
  ENABLE_THINKING: boolean;
8739
8797
  AGENT_STRICT_TOOL_CALLS: boolean;
8740
8798
  AGENT_MAX_ITERATIONS: number;
8741
- AGENT_TURN_CREDIT_BUDGET: number;
8799
+ AGENT_TURN_BUDGET_GBP: number;
8742
8800
  AGENT_MAX_PARALLEL_TOOL_CALLS: number;
8743
8801
  AGENT_MAX_TOTAL_TOOL_CALLS: number;
8744
8802
  AGENT_MAX_RUN_TOKENS: number;
@@ -8970,7 +9028,7 @@ declare class Arbi {
8970
9028
  AGENT_MODEL_NAME: string;
8971
9029
  ENABLE_THINKING: boolean;
8972
9030
  AGENT_MAX_ITERATIONS: number;
8973
- AGENT_TURN_CREDIT_BUDGET: number;
9031
+ AGENT_TURN_BUDGET_GBP: number;
8974
9032
  };
8975
9033
  DoctagLLM: {
8976
9034
  AUTO_RENAME: boolean;
@@ -9201,7 +9259,7 @@ declare class Arbi {
9201
9259
  ENABLE_THINKING: boolean;
9202
9260
  AGENT_STRICT_TOOL_CALLS: boolean;
9203
9261
  AGENT_MAX_ITERATIONS: number;
9204
- AGENT_TURN_CREDIT_BUDGET: number;
9262
+ AGENT_TURN_BUDGET_GBP: number;
9205
9263
  AGENT_MAX_PARALLEL_TOOL_CALLS: number;
9206
9264
  AGENT_MAX_TOTAL_TOOL_CALLS: number;
9207
9265
  AGENT_MAX_RUN_TOKENS: number;
@@ -9433,7 +9491,7 @@ declare class Arbi {
9433
9491
  AGENT_MODEL_NAME: string;
9434
9492
  ENABLE_THINKING: boolean;
9435
9493
  AGENT_MAX_ITERATIONS: number;
9436
- AGENT_TURN_CREDIT_BUDGET: number;
9494
+ AGENT_TURN_BUDGET_GBP: number;
9437
9495
  };
9438
9496
  DoctagLLM: {
9439
9497
  AUTO_RENAME: boolean;
@@ -10076,7 +10134,7 @@ declare function getConfig(arbi: ArbiClient, configId: string): Promise<{
10076
10134
  ENABLE_THINKING: boolean;
10077
10135
  AGENT_STRICT_TOOL_CALLS: boolean;
10078
10136
  AGENT_MAX_ITERATIONS: number;
10079
- AGENT_TURN_CREDIT_BUDGET: number;
10137
+ AGENT_TURN_BUDGET_GBP: number;
10080
10138
  AGENT_MAX_PARALLEL_TOOL_CALLS: number;
10081
10139
  AGENT_MAX_TOTAL_TOOL_CALLS: number;
10082
10140
  AGENT_MAX_RUN_TOKENS: number;
@@ -10308,7 +10366,7 @@ declare function getConfig(arbi: ArbiClient, configId: string): Promise<{
10308
10366
  AGENT_MODEL_NAME: string;
10309
10367
  ENABLE_THINKING: boolean;
10310
10368
  AGENT_MAX_ITERATIONS: number;
10311
- AGENT_TURN_CREDIT_BUDGET: number;
10369
+ AGENT_TURN_BUDGET_GBP: number;
10312
10370
  };
10313
10371
  DoctagLLM: {
10314
10372
  AUTO_RENAME: boolean;
@@ -10656,4 +10714,4 @@ declare namespace identity {
10656
10714
  export { type identity_IdentityErrorCode as IdentityErrorCode, type identity_IdentityPurchase as IdentityPurchase, type identity_IdentityState as IdentityState, type identity_IdentityStatus as IdentityStatus, identity_acceptName as acceptName, identity_getStatus as getStatus, identity_identityErrorCode as identityErrorCode, identity_purchase as purchase, identity_refresh as refresh, identity_remove as remove, identity_startSession as startSession };
10657
10715
  }
10658
10716
 
10659
- export { type ListPaginatedOptions as $, type ActivityKind as A, type CreateWorkflowRequest as B, type ChatSession as C, DOC_TERMINAL_STATUSES as D, type DecryptedDmNotification as E, type DeferredInterjectionEvent as F, type DmAttachmentFile as G, type DmAttachmentInput as H, type DmCryptoContext as I, type DocNameMap as J, type DocumentAutomationAction as K, type DocumentListFields as L, type DocumentListOrder as M, type DocumentSelector as N, type DocumentWaiter as O, type DocumentWaiterOptions as P, type FactResponse as Q, type FactSearchRequest as R, type FactSearchResponse as S, type FormattedWsMessage as T, type IdentityErrorCode as U, type IdentityPurchase as V, type IdentityState as W, type IdentityStatus as X, type LinkedRun as Y, type ListAllOptions as Z, type ListFactsOptions as _, type ActivityResponse as a, type TagKindSchema as a$, type MailAttachment as a0, type MessageLevel as a1, type MessageMetadataPayload$1 as a2, type MessageQueuedEvent as a3, type OutputTokensDetails as a4, type ParsedSlashCommand as a5, type PendingAuthResponse as a6, PlanStepsError as a7, type PlanWorkRequest as a8, type ProbeAnswerEvent as a9, type RunWaitingOn as aA, type SSEEvent as aB, type SSEStreamCallbacks as aC, type SSEStreamResult as aD, type SSEStreamStartData as aE, STEP_FIELD_OPTION_TONES as aF, SUPPORTED_EXTENSIONS as aG, type SendBack as aH, type SkillSummary as aI, type SkippedFile as aJ, type StepActionRequest as aK, type StepActivityEvent as aL, type StepAssignee as aM, type StepField as aN, type StepFieldOption as aO, type StepFieldOptionTone as aP, type StepKind as aQ, type StepPhase as aR, type StepSignal as aS, type StepSignalWhen as aT, type StepState as aU, type StepStatus as aV, type SubmitBackgroundQueryOptions as aW, type TagChange as aX, type TagFieldDefinition as aY, type TagKind as aZ, type TagKindField as a_, type ProjectBudget as aa, type ProjectConversationUsageResponse as ab, type ProjectDetails as ac, type ProjectEventKind as ad, type ProjectEventResponse as ae, type ProjectInvoicesResponse as af, type ProjectResponse as ag, type ProjectUpdateRequest as ah, type ProjectUsageResponse as ai, type QueryOptions as aj, type RaisedSignal as ak, type ReconnectOptions as al, type ReconnectableWsConnection as am, type ResolvedCitation as an, type ResolvedRecipient as ao, type ResponseCompletedEvent as ap, type ResponseContentPartAddedEvent as aq, type ResponseCreatedEvent as ar, type ResponseFailedEvent as as, type ResponseOutputItemAddedEvent as at, type ResponseOutputItemDoneEvent as au, type ResponseOutputTextDeltaEvent as av, type ResponseOutputTextDoneEvent as aw, type ResponseUsage as ax, type RunProgress as ay, type RunStep as az, type AgentControlStateEvent as b, health as b$, type TagLinks as b0, type TagListQuery as b1, type TagResponse as b2, type TaskPlan as b3, type TaskPlanStep as b4, type TokenBudgetContext as b5, type UpdateConversationRequest as b6, type UpdateFactRequest as b7, type UpdateWorkflowRequest as b8, type UploadBatchResult as b9, buildRetrievalTocTool as bA, connectWebSocket as bB, connectWithReconnect as bC, consumeSSEStream as bD, contacts as bE, conversations as bF, countCitations as bG, createAuthenticatedClient as bH, createDocumentWaiter as bI, dm as bJ, doctags as bK, documents as bL, facts as bM, files as bN, filterSkills as bO, formatAgentStepLabel as bP, formatFileSize as bQ, formatItemLabel as bR, formatStreamSummary as bS, formatUserName as bT, formatWorkspaceChoices as bU, formatWsMessage as bV, generateEncryptedWorkspaceKey as bW, generateNewWorkspaceKey as bX, getErrorCode as bY, getErrorMessage as bZ, getRawWorkspaceKey as b_, type UploadDirectOptions as ba, type UploadDirectResult as bb, type UploadOptions as bc, type UploadResult as bd, type UsageBreakdown as be, type UserDailyUsageResponse as bf, type UserInfo as bg, type UserInputRequestEvent as bh, type UserMessageEvent as bi, WebSocketAuthError as bj, type WorkStatus as bk, type WorkflowAuthMode as bl, type WorkflowResponse as bm, type WorkflowRunHistoryResponse as bn, type WorkflowRunResponse as bo, type WorkspaceContext as bp, type WsConnection as bq, account as br, agentconfig as bs, agents as bt, assistant as bu, authenticatedFetch as bv, buildDocNameMap as bw, buildFactsContextTool as bx, buildRetrievalChunkTool as by, buildRetrievalFullContextTool as bz, type AgentStepDeltaEvent as c, identity as c0, identityErrorCode as c1, mail as c2, parseSSEEvents as c3, parseSlashCommand as c4, parseSlashTokenInProgress as c5, performPasswordLogin as c6, performSigningKeyLogin as c7, performSsoDeviceFlowLogin as c8, profile as c9, projects as ca, requireData as cb, requireOk as cc, resolveAuth as cd, resolveCitations as ce, resolveWorkspace as cf, responses as cg, selectWorkspace as ch, selectWorkspaceById as ci, sessions as cj, settings as ck, signatureRequests as cl, streamSSE as cm, stripCitationMarkdown as cn, summarizeCitations as co, tags as cp, work as cq, workflowSteps as cr, workflows as cs, workspaces as ct, type AgentStepEvent as d, Arbi as e, ArbiApiError as f, ArbiError as g, type ArbiErrorEvent as h, type ArbiOptions as i, ArbiSessionExpiredError as j, type ArtifactEvent as k, type AuthContext as l, type AuthHeaders as m, type AuthMode as n, type AuthenticatedClient as o, type CitationSummary as p, type CliConfig as q, type CliCredentials as r, type CommandDescriptor as s, type ConfigStore as t, type ConnectOptions as u, type ConversationResponse as v, type ConversationUsageResponse as w, type CreateFactRequest as x, type CreateFactsRequest as y, type CreateWorkRequest as z };
10717
+ export { type ListFactsOptions as $, type ActivityKind as A, type CreateWorkflowRequest as B, type ChatSession as C, DEFAULT_AI_USD_PER_GBP as D, DOC_TERMINAL_STATUSES as E, type DecryptedDmNotification as F, type DeferredInterjectionEvent as G, type DmAttachmentFile as H, type DmAttachmentInput as I, type DmCryptoContext as J, type DocNameMap as K, type DocumentAutomationAction as L, type DocumentListFields as M, type DocumentListOrder as N, type DocumentSelector as O, type DocumentWaiter as P, type DocumentWaiterOptions as Q, type FactResponse as R, type FactSearchRequest as S, type FactSearchResponse as T, type FormattedWsMessage as U, type IdentityErrorCode as V, type IdentityPurchase as W, type IdentityState as X, type IdentityStatus as Y, type LinkedRun as Z, type ListAllOptions as _, type ActivityResponse as a, type TagKindField as a$, type ListPaginatedOptions as a0, type MailAttachment as a1, type MessageLevel as a2, type MessageMetadataPayload$1 as a3, type MessageQueuedEvent as a4, type OutputTokensDetails as a5, type ParsedSlashCommand as a6, type PendingAuthResponse as a7, PlanStepsError as a8, type PlanWorkRequest as a9, type RunStep as aA, type RunWaitingOn as aB, type SSEEvent as aC, type SSEStreamCallbacks as aD, type SSEStreamResult as aE, type SSEStreamStartData as aF, STEP_FIELD_OPTION_TONES as aG, SUPPORTED_EXTENSIONS as aH, type SendBack as aI, type SkillSummary as aJ, type SkippedFile as aK, type StepActionRequest as aL, type StepActivityEvent as aM, type StepAssignee as aN, type StepField as aO, type StepFieldOption as aP, type StepFieldOptionTone as aQ, type StepKind as aR, type StepPhase as aS, type StepSignal as aT, type StepSignalWhen as aU, type StepState as aV, type StepStatus as aW, type SubmitBackgroundQueryOptions as aX, type TagChange as aY, type TagFieldDefinition as aZ, type TagKind as a_, type ProbeAnswerEvent as aa, type ProjectBudget as ab, type ProjectConversationUsageResponse as ac, type ProjectDetails as ad, type ProjectEventKind as ae, type ProjectEventResponse as af, type ProjectInvoicesResponse as ag, type ProjectResponse as ah, type ProjectUpdateRequest as ai, type ProjectUsageResponse as aj, type QueryOptions as ak, type RaisedSignal as al, type ReconnectOptions as am, type ReconnectableWsConnection as an, type ResolvedCitation as ao, type ResolvedRecipient as ap, type ResponseCompletedEvent as aq, type ResponseContentPartAddedEvent as ar, type ResponseCreatedEvent as as, type ResponseFailedEvent as at, type ResponseOutputItemAddedEvent as au, type ResponseOutputItemDoneEvent as av, type ResponseOutputTextDeltaEvent as aw, type ResponseOutputTextDoneEvent as ax, type ResponseUsage as ay, type RunProgress as az, type AgentControlStateEvent as b, getErrorCode as b$, type TagKindSchema as b0, type TagLinks as b1, type TagListQuery as b2, type TagResponse as b3, type TaskPlan as b4, type TaskPlanStep as b5, type TokenBudgetContext as b6, type UpdateConversationRequest as b7, type UpdateFactRequest as b8, type UpdateWorkflowRequest as b9, buildRetrievalFullContextTool as bA, buildRetrievalTocTool as bB, connectWebSocket as bC, connectWithReconnect as bD, consumeSSEStream as bE, contacts as bF, conversations as bG, countCitations as bH, createAuthenticatedClient as bI, createDocumentWaiter as bJ, dm as bK, doctags as bL, documents as bM, facts as bN, files as bO, filterSkills as bP, formatAgentStepLabel as bQ, formatFileSize as bR, formatGbp as bS, formatGbpPerMillionTokens as bT, formatItemLabel as bU, formatStreamSummary as bV, formatUserName as bW, formatWorkspaceChoices as bX, formatWsMessage as bY, generateEncryptedWorkspaceKey as bZ, generateNewWorkspaceKey as b_, type UploadBatchResult as ba, type UploadDirectOptions as bb, type UploadDirectResult as bc, type UploadOptions as bd, type UploadResult as be, type UsageBreakdown as bf, type UserDailyUsageResponse as bg, type UserInfo as bh, type UserInputRequestEvent as bi, type UserMessageEvent as bj, WebSocketAuthError as bk, type WorkStatus as bl, type WorkflowAuthMode as bm, type WorkflowResponse as bn, type WorkflowRunHistoryResponse as bo, type WorkflowRunResponse as bp, type WorkspaceContext as bq, type WsConnection as br, account as bs, agentconfig as bt, agents as bu, assistant as bv, authenticatedFetch as bw, buildDocNameMap as bx, buildFactsContextTool as by, buildRetrievalChunkTool as bz, type AgentStepDeltaEvent as c, getErrorMessage as c0, getRawWorkspaceKey as c1, health as c2, identity as c3, identityErrorCode as c4, mail as c5, parseSSEEvents as c6, parseSlashCommand as c7, parseSlashTokenInProgress as c8, performPasswordLogin as c9, performSigningKeyLogin as ca, performSsoDeviceFlowLogin as cb, profile as cc, projects as cd, requireData as ce, requireOk as cf, resolveAuth as cg, resolveCitations as ch, resolveWorkspace as ci, responses as cj, selectWorkspace as ck, selectWorkspaceById as cl, sessions as cm, settings as cn, signatureRequests as co, streamSSE as cp, stripCitationMarkdown as cq, summarizeCitations as cr, tags as cs, usdToGbp as ct, work as cu, workflowSteps as cv, workflows as cw, workspaces as cx, type AgentStepEvent as d, Arbi as e, ArbiApiError as f, ArbiError as g, type ArbiErrorEvent as h, type ArbiOptions as i, ArbiSessionExpiredError as j, type ArtifactEvent as k, type AuthContext as l, type AuthHeaders as m, type AuthMode as n, type AuthenticatedClient as o, type CitationSummary as p, type CliConfig as q, type CliCredentials as r, type CommandDescriptor as s, type ConfigStore as t, type ConnectOptions as u, type ConversationResponse as v, type ConversationUsageResponse as w, type CreateFactRequest as x, type CreateFactsRequest as y, type CreateWorkRequest as z };