@arbidocs/client 0.3.17 → 0.3.19

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/index.d.cts CHANGED
@@ -67,6 +67,26 @@ interface paths {
67
67
  patch?: never;
68
68
  trace?: never;
69
69
  };
70
+ '/v1/user/sso-config': {
71
+ parameters: {
72
+ query?: never;
73
+ header?: never;
74
+ path?: never;
75
+ cookie?: never;
76
+ };
77
+ /**
78
+ * Get Sso Config
79
+ * @description Return public SSO configuration for device-flow / CLI login.
80
+ */
81
+ get: operations['get_sso_config'];
82
+ put?: never;
83
+ post?: never;
84
+ delete?: never;
85
+ options?: never;
86
+ head?: never;
87
+ patch?: never;
88
+ trace?: never;
89
+ };
70
90
  '/v1/user/sso-status': {
71
91
  parameters: {
72
92
  query?: never;
@@ -1459,6 +1479,16 @@ interface components {
1459
1479
  * @description Lifecycle step (planning, answering, reviewing). Absent for tool calls.
1460
1480
  */
1461
1481
  step?: string | null;
1482
+ /**
1483
+ * Label
1484
+ * @description Display label for the step (e.g. 'Searching documents'). Backend-driven.
1485
+ */
1486
+ label?: string | null;
1487
+ /**
1488
+ * Icon
1489
+ * @description Lucide icon name for the step (e.g. 'search'). Backend-driven.
1490
+ */
1491
+ icon?: string | null;
1462
1492
  /**
1463
1493
  * Focus
1464
1494
  * @description Agent's current focus (single sentence). Present on tool call steps.
@@ -1478,8 +1508,23 @@ interface components {
1478
1508
  }[] | null;
1479
1509
  /** @description Token usage for the LLM call in this step. */
1480
1510
  usage?: components['schemas']['StepUsage'] | null;
1511
+ /**
1512
+ * Total Tokens
1513
+ * @description Cumulative total tokens across all steps in the agent loop.
1514
+ */
1515
+ total_tokens?: number | null;
1516
+ /**
1517
+ * Step Tokens
1518
+ * @description Per-step token cost (input + output + reasoning) for the LLM call that produced this step.
1519
+ */
1520
+ step_tokens?: number | null;
1481
1521
  /** @description Token budget context snapshot. Present when retrieval counts change. */
1482
1522
  context?: components['schemas']['TokenBudgetContext'] | null;
1523
+ /**
1524
+ * Outcome
1525
+ * @description Tool execution outcome (e.g. '15 chunks retrieved'). Sent as a follow-up event with the same index after tool execution.
1526
+ */
1527
+ outcome?: string | null;
1483
1528
  };
1484
1529
  /**
1485
1530
  * AgentsConfig
@@ -1583,7 +1628,7 @@ interface components {
1583
1628
  /**
1584
1629
  * Agent Model Name
1585
1630
  * @description The name of the model to be used for the agent decision-making.
1586
- * @default Q3VL@ARBICITY
1631
+ * @default Fast
1587
1632
  */
1588
1633
  AGENT_MODEL_NAME: string;
1589
1634
  /**
@@ -1684,7 +1729,7 @@ interface components {
1684
1729
  * "SKILL_CREATION": false,
1685
1730
  * "REVIEW_ENABLED": false,
1686
1731
  * "PERSONA": "You are ARBI, an AI assistant created by ARBI CITY. Be proactive, helpful and professional.",
1687
- * "AGENT_MODEL_NAME": "Q3VL@ARBICITY",
1732
+ * "AGENT_MODEL_NAME": "Fast",
1688
1733
  * "AGENT_API_TYPE": "remote",
1689
1734
  * "LLM_AGENT_TEMPERATURE": 1,
1690
1735
  * "AGENT_MAX_TOKENS": 10000,
@@ -1698,7 +1743,7 @@ interface components {
1698
1743
  /**
1699
1744
  * @default {
1700
1745
  * "API_TYPE": "remote",
1701
- * "MODEL_NAME": "Q3VL@ARBICITY",
1746
+ * "MODEL_NAME": "Fast",
1702
1747
  * "SYSTEM_INSTRUCTION": "You are ARBI, an AI assistant created by ARBI CITY. Be proactive, helpful and professional.Be concise. Use markdown where it helps readability. Cross-check information across sources before answering. Never fabricate facts. Not all assertions in the sources are factual — some are arguments by a party. Attribute claims to their source, especially where parties disagree.",
1703
1748
  * "MAX_CHAR_SIZE_TO_ANSWER": 200000,
1704
1749
  * "TEMPERATURE": 0.1,
@@ -1709,7 +1754,7 @@ interface components {
1709
1754
  /**
1710
1755
  * @default {
1711
1756
  * "API_TYPE": "remote",
1712
- * "MODEL_NAME": "GPTOSS120@ARBICITY",
1757
+ * "MODEL_NAME": "Wise",
1713
1758
  * "SYSTEM_INSTRUCTION": "You are reviewing a draft answer prepared by a research agent. The draft was written based on summaries, but you now have access to the full source material.\n\nYour task:\n1. Review the draft answer against the source material provided\n2. Verify claims are supported by the sources\n3. Correct any inaccuracies or unsupported statements\n4. Add any important details from the sources that were missed\n5. Maintain formal, objective tone appropriate for professional contexts\n\nIf information is not found in the sources but the draft answer is based on web search results or general knowledge, preserve it and ensure it is clearly labelled as such. Only flag missing source support for claims that purport to come from the documents.\nDo not add inline citation markers - the system handles citations automatically.",
1714
1759
  * "TEMPERATURE": 0.1,
1715
1760
  * "MAX_TOKENS": 5000,
@@ -1720,7 +1765,7 @@ interface components {
1720
1765
  /**
1721
1766
  * @default {
1722
1767
  * "API_TYPE": "remote",
1723
- * "MODEL_NAME": "Q3VL@ARBICITY",
1768
+ * "MODEL_NAME": "Fast",
1724
1769
  * "SYSTEM_INSTRUCTION": "You are a chunk evaluator. Analyze retrieved chunks to determine which are relevant to the user's query and extract key learnings from the RELEVANT chunks only. You must return your response as valid JSON matching the provided schema.",
1725
1770
  * "TEMPERATURE": 0.1,
1726
1771
  * "MAX_TOKENS": 20000,
@@ -1731,7 +1776,7 @@ interface components {
1731
1776
  /**
1732
1777
  * @default {
1733
1778
  * "API_TYPE": "remote",
1734
- * "MODEL_NAME": "Q3VL@ARBICITY",
1779
+ * "MODEL_NAME": "Fast",
1735
1780
  * "SYSTEM_INSTRUCTION": "You are a title generator that creates concise, descriptive titles.",
1736
1781
  * "MAX_CHAR_SIZE_TO_ANSWER": 50,
1737
1782
  * "TEMPERATURE": 0.3,
@@ -1742,7 +1787,7 @@ interface components {
1742
1787
  /**
1743
1788
  * @default {
1744
1789
  * "API_TYPE": "remote",
1745
- * "MODEL_NAME": "GPTOSS120@ARBICITY",
1790
+ * "MODEL_NAME": "Wise",
1746
1791
  * "SYSTEM_INSTRUCTION": "You are a conversation summariser. Condense the conversation history into a concise summary that preserves:\n- Key decisions and conclusions reached\n- Specific names, dates, numbers, and document references\n- Open questions and unresolved items\n- The user's goals and constraints\n\nWrite in past tense, third person. Be specific, not vague. Do not omit important details in favour of brevity.",
1747
1792
  * "TEMPERATURE": 0.1,
1748
1793
  * "MAX_TOKENS": 2000,
@@ -1755,7 +1800,7 @@ interface components {
1755
1800
  /**
1756
1801
  * @default {
1757
1802
  * "API_TYPE": "remote",
1758
- * "MODEL_NAME": "Q3VL@ARBICITY",
1803
+ * "MODEL_NAME": "Fast",
1759
1804
  * "SYSTEM_INSTRUCTION": "You are a document analysis assistant. Answer questions based strictly on document content.\n\nGuidelines:\n- Only use information explicitly stated in the document\n- Do not infer or assume information not present\n- If information is not found, respond with \"Information not found in document.\"\n- Follow format instructions exactly for each answer\n- Be concise and precise",
1760
1805
  * "MAX_CHAR_CONTEXT_TO_ANSWER": 100000,
1761
1806
  * "TEMPERATURE": 0.1,
@@ -1813,7 +1858,7 @@ interface components {
1813
1858
  /**
1814
1859
  * @default {
1815
1860
  * "API_TYPE": "remote",
1816
- * "MODEL_NAME": "GPTOSS120@ARBICITY",
1861
+ * "MODEL_NAME": "Wise",
1817
1862
  * "SYSTEM_INSTRUCTION": "You are a knowledge synthesizer. You receive the full agent scratchpad from a completed conversation and decide what, if anything, is worth saving.\n\n## Work Product Types\n- **\"memory\"**: Facts, findings, reference data — for *looking up* information.\n- **\"skill\"**: Procedures, workflows, step-by-step instructions — for *doing* something.\n\nWhen ambiguous, default to memory.\n\n## Rules\n- Return an empty work_products array if the conversation is trivial or produced nothing substantive.\n- Each work product must cover ONE coherent topic. Never combine disparate subjects into a single document — create separate documents for each distinct topic.\n- Ground everything in the provided context. Do not invent information.\n- Be concise. These are reference documents, not essays.\n\n## Output Format\nJSON with a `work_products` array. Each item has `wp_type`, `title`, and `content` (markdown).\n\nMemory content: `# Title`, date, source, key findings as bullets, source documents.\nSkill content: `# Title`, prerequisites, numbered steps, when to apply.",
1818
1863
  * "TEMPERATURE": 0.3,
1819
1864
  * "MAX_TOKENS": 8000,
@@ -1825,7 +1870,7 @@ interface components {
1825
1870
  /**
1826
1871
  * @default {
1827
1872
  * "API_TYPE": "remote",
1828
- * "MODEL_NAME": "GPTOSS120@ARBICITY",
1873
+ * "MODEL_NAME": "Wise",
1829
1874
  * "SYSTEM_INSTRUCTION": "You are a research planning assistant. Your job is to analyze a user query and produce a concise, numbered research plan.\n\nYou have access to a workspace of documents. The available tools for executing the plan are:\n- search_documents: Search workspace documents for relevant passages (semantic, keyword, or hybrid)\n- get_document_passages: Read a specific page range from a document\n- get_table_of_contents: Get document headings with page references\n\nConsider:\n- What information is needed to answer the query\n- Which documents are likely relevant based on the document index\n- What search queries and document passages to examine\n- What order of operations will be most efficient\n- Whether parallel searches can be used for different aspects\n\nRespond with ONLY the plan (numbered steps). Do not execute any steps.",
1830
1875
  * "TEMPERATURE": 0.3,
1831
1876
  * "MAX_TOKENS": 4000,
@@ -1837,7 +1882,7 @@ interface components {
1837
1882
  /**
1838
1883
  * @default {
1839
1884
  * "API_TYPE": "remote",
1840
- * "MODEL_NAME": "Q3VL@ARBICITY",
1885
+ * "MODEL_NAME": "Fast",
1841
1886
  * "TEMPERATURE": 0.1,
1842
1887
  * "MAX_TOKENS": 4000,
1843
1888
  * "MAX_PAGES_PER_CALL": 5,
@@ -2870,7 +2915,7 @@ interface components {
2870
2915
  /**
2871
2916
  * Model Name
2872
2917
  * @description The name of the non-reasoning model to be used.
2873
- * @default Q3VL@ARBICITY
2918
+ * @default Fast
2874
2919
  */
2875
2920
  MODEL_NAME: string;
2876
2921
  /**
@@ -3039,7 +3084,7 @@ interface components {
3039
3084
  /**
3040
3085
  * Model Name
3041
3086
  * @description The name of the non-reasoning model to be used.
3042
- * @default Q3VL@ARBICITY
3087
+ * @default Fast
3043
3088
  */
3044
3089
  MODEL_NAME: string;
3045
3090
  /**
@@ -3200,6 +3245,23 @@ interface components {
3200
3245
  * @description End reference (page.chunk)
3201
3246
  */
3202
3247
  to_ref: string;
3248
+ /**
3249
+ * Label
3250
+ * @description Display label for the tool step
3251
+ * @default Reading document
3252
+ */
3253
+ label: string;
3254
+ /**
3255
+ * Icon
3256
+ * @description Lucide icon name for the tool step
3257
+ * @default file-text
3258
+ */
3259
+ icon: string;
3260
+ /**
3261
+ * Summary
3262
+ * @description Human-readable summary (e.g. 'Reading {doc-abc12345} pp. 5–10')
3263
+ */
3264
+ summary?: string | null;
3203
3265
  };
3204
3266
  /**
3205
3267
  * GetFullDocumentDetail
@@ -3239,6 +3301,23 @@ interface components {
3239
3301
  * @description Document external IDs
3240
3302
  */
3241
3303
  doc_ext_ids: string[];
3304
+ /**
3305
+ * Label
3306
+ * @description Display label for the tool step
3307
+ * @default Getting table of contents
3308
+ */
3309
+ label: string;
3310
+ /**
3311
+ * Icon
3312
+ * @description Lucide icon name for the tool step
3313
+ * @default list
3314
+ */
3315
+ icon: string;
3316
+ /**
3317
+ * Summary
3318
+ * @description Human-readable summary (e.g. 'Table of contents: {doc-abc12345}')
3319
+ */
3320
+ summary?: string | null;
3242
3321
  };
3243
3322
  /** HTTPValidationError */
3244
3323
  HTTPValidationError: {
@@ -3358,7 +3437,7 @@ interface components {
3358
3437
  /**
3359
3438
  * Model Name
3360
3439
  * @description The model for memory synthesis. Defaults to reasoning model.
3361
- * @default GPTOSS120@ARBICITY
3440
+ * @default Wise
3362
3441
  */
3363
3442
  MODEL_NAME: string;
3364
3443
  /**
@@ -3952,7 +4031,7 @@ interface components {
3952
4031
  /**
3953
4032
  * Model Name
3954
4033
  * @description The model for plan generation. Defaults to reasoning model.
3955
- * @default GPTOSS120@ARBICITY
4034
+ * @default Wise
3956
4035
  */
3957
4036
  MODEL_NAME: string;
3958
4037
  /**
@@ -4065,7 +4144,7 @@ interface components {
4065
4144
  /**
4066
4145
  * Model Name
4067
4146
  * @description The model for query answering.
4068
- * @default Q3VL@ARBICITY
4147
+ * @default Fast
4069
4148
  */
4070
4149
  MODEL_NAME: string;
4071
4150
  /**
@@ -4867,7 +4946,7 @@ interface components {
4867
4946
  /**
4868
4947
  * Model Name
4869
4948
  * @description The model for reviewing agent draft answers. Defaults to reasoning model.
4870
- * @default GPTOSS120@ARBICITY
4949
+ * @default Wise
4871
4950
  */
4872
4951
  MODEL_NAME: string;
4873
4952
  /**
@@ -5005,6 +5084,34 @@ interface components {
5005
5084
  detail_evaluation?: components['schemas']['EvaluationDetail'] | null;
5006
5085
  detail_tool_progress?: components['schemas']['ToolProgressDetail'] | null;
5007
5086
  };
5087
+ /**
5088
+ * SSOConfigResponse
5089
+ * @description Public SSO configuration for device flow / CLI login.
5090
+ */
5091
+ SSOConfigResponse: {
5092
+ /** Sso Enabled */
5093
+ sso_enabled: boolean;
5094
+ /**
5095
+ * Domain
5096
+ * @default
5097
+ */
5098
+ domain: string;
5099
+ /**
5100
+ * Client Id
5101
+ * @default
5102
+ */
5103
+ client_id: string;
5104
+ /**
5105
+ * Cli Client Id
5106
+ * @default
5107
+ */
5108
+ cli_client_id: string;
5109
+ /**
5110
+ * Audience
5111
+ * @default
5112
+ */
5113
+ audience: string;
5114
+ };
5008
5115
  /** SSOSendVerificationEmailRequest */
5009
5116
  SSOSendVerificationEmailRequest: {
5010
5117
  /** Auth0 Id */
@@ -5102,6 +5209,23 @@ interface components {
5102
5209
  * @description Search mode: hybrid, semantic, keyword
5103
5210
  */
5104
5211
  search_mode: string;
5212
+ /**
5213
+ * Label
5214
+ * @description Display label for the tool step
5215
+ * @default Searching documents
5216
+ */
5217
+ label: string;
5218
+ /**
5219
+ * Icon
5220
+ * @description Lucide icon name for the tool step
5221
+ * @default search
5222
+ */
5223
+ icon: string;
5224
+ /**
5225
+ * Summary
5226
+ * @description Human-readable summary (e.g. 'Search: "query" (hybrid)')
5227
+ */
5228
+ summary?: string | null;
5105
5229
  };
5106
5230
  /**
5107
5231
  * SearchMode
@@ -5257,7 +5381,7 @@ interface components {
5257
5381
  /**
5258
5382
  * Model Name
5259
5383
  * @description The model for conversation summarisation. Defaults to reasoning model.
5260
- * @default GPTOSS120@ARBICITY
5384
+ * @default Wise
5261
5385
  */
5262
5386
  MODEL_NAME: string;
5263
5387
  /**
@@ -5435,7 +5559,7 @@ interface components {
5435
5559
  /**
5436
5560
  * Model Name
5437
5561
  * @description The name of the non-reasoning model to be used.
5438
- * @default Q3VL@ARBICITY
5562
+ * @default Fast
5439
5563
  */
5440
5564
  MODEL_NAME: string;
5441
5565
  /**
@@ -6014,7 +6138,7 @@ interface components {
6014
6138
  /**
6015
6139
  * Model Name
6016
6140
  * @description The vision-capable model name (must support image inputs).
6017
- * @default Q3VL@ARBICITY
6141
+ * @default Fast
6018
6142
  */
6019
6143
  MODEL_NAME: string;
6020
6144
  /**
@@ -6353,6 +6477,26 @@ interface operations {
6353
6477
  };
6354
6478
  };
6355
6479
  };
6480
+ get_sso_config: {
6481
+ parameters: {
6482
+ query?: never;
6483
+ header?: never;
6484
+ path?: never;
6485
+ cookie?: never;
6486
+ };
6487
+ requestBody?: never;
6488
+ responses: {
6489
+ /** @description Successful Response */
6490
+ 200: {
6491
+ headers: {
6492
+ [name: string]: unknown;
6493
+ };
6494
+ content: {
6495
+ 'application/json': components['schemas']['SSOConfigResponse'];
6496
+ };
6497
+ };
6498
+ };
6499
+ };
6356
6500
  sso_status: {
6357
6501
  parameters: {
6358
6502
  query?: never;
package/dist/index.d.ts CHANGED
@@ -67,6 +67,26 @@ interface paths {
67
67
  patch?: never;
68
68
  trace?: never;
69
69
  };
70
+ '/v1/user/sso-config': {
71
+ parameters: {
72
+ query?: never;
73
+ header?: never;
74
+ path?: never;
75
+ cookie?: never;
76
+ };
77
+ /**
78
+ * Get Sso Config
79
+ * @description Return public SSO configuration for device-flow / CLI login.
80
+ */
81
+ get: operations['get_sso_config'];
82
+ put?: never;
83
+ post?: never;
84
+ delete?: never;
85
+ options?: never;
86
+ head?: never;
87
+ patch?: never;
88
+ trace?: never;
89
+ };
70
90
  '/v1/user/sso-status': {
71
91
  parameters: {
72
92
  query?: never;
@@ -1459,6 +1479,16 @@ interface components {
1459
1479
  * @description Lifecycle step (planning, answering, reviewing). Absent for tool calls.
1460
1480
  */
1461
1481
  step?: string | null;
1482
+ /**
1483
+ * Label
1484
+ * @description Display label for the step (e.g. 'Searching documents'). Backend-driven.
1485
+ */
1486
+ label?: string | null;
1487
+ /**
1488
+ * Icon
1489
+ * @description Lucide icon name for the step (e.g. 'search'). Backend-driven.
1490
+ */
1491
+ icon?: string | null;
1462
1492
  /**
1463
1493
  * Focus
1464
1494
  * @description Agent's current focus (single sentence). Present on tool call steps.
@@ -1478,8 +1508,23 @@ interface components {
1478
1508
  }[] | null;
1479
1509
  /** @description Token usage for the LLM call in this step. */
1480
1510
  usage?: components['schemas']['StepUsage'] | null;
1511
+ /**
1512
+ * Total Tokens
1513
+ * @description Cumulative total tokens across all steps in the agent loop.
1514
+ */
1515
+ total_tokens?: number | null;
1516
+ /**
1517
+ * Step Tokens
1518
+ * @description Per-step token cost (input + output + reasoning) for the LLM call that produced this step.
1519
+ */
1520
+ step_tokens?: number | null;
1481
1521
  /** @description Token budget context snapshot. Present when retrieval counts change. */
1482
1522
  context?: components['schemas']['TokenBudgetContext'] | null;
1523
+ /**
1524
+ * Outcome
1525
+ * @description Tool execution outcome (e.g. '15 chunks retrieved'). Sent as a follow-up event with the same index after tool execution.
1526
+ */
1527
+ outcome?: string | null;
1483
1528
  };
1484
1529
  /**
1485
1530
  * AgentsConfig
@@ -1583,7 +1628,7 @@ interface components {
1583
1628
  /**
1584
1629
  * Agent Model Name
1585
1630
  * @description The name of the model to be used for the agent decision-making.
1586
- * @default Q3VL@ARBICITY
1631
+ * @default Fast
1587
1632
  */
1588
1633
  AGENT_MODEL_NAME: string;
1589
1634
  /**
@@ -1684,7 +1729,7 @@ interface components {
1684
1729
  * "SKILL_CREATION": false,
1685
1730
  * "REVIEW_ENABLED": false,
1686
1731
  * "PERSONA": "You are ARBI, an AI assistant created by ARBI CITY. Be proactive, helpful and professional.",
1687
- * "AGENT_MODEL_NAME": "Q3VL@ARBICITY",
1732
+ * "AGENT_MODEL_NAME": "Fast",
1688
1733
  * "AGENT_API_TYPE": "remote",
1689
1734
  * "LLM_AGENT_TEMPERATURE": 1,
1690
1735
  * "AGENT_MAX_TOKENS": 10000,
@@ -1698,7 +1743,7 @@ interface components {
1698
1743
  /**
1699
1744
  * @default {
1700
1745
  * "API_TYPE": "remote",
1701
- * "MODEL_NAME": "Q3VL@ARBICITY",
1746
+ * "MODEL_NAME": "Fast",
1702
1747
  * "SYSTEM_INSTRUCTION": "You are ARBI, an AI assistant created by ARBI CITY. Be proactive, helpful and professional.Be concise. Use markdown where it helps readability. Cross-check information across sources before answering. Never fabricate facts. Not all assertions in the sources are factual — some are arguments by a party. Attribute claims to their source, especially where parties disagree.",
1703
1748
  * "MAX_CHAR_SIZE_TO_ANSWER": 200000,
1704
1749
  * "TEMPERATURE": 0.1,
@@ -1709,7 +1754,7 @@ interface components {
1709
1754
  /**
1710
1755
  * @default {
1711
1756
  * "API_TYPE": "remote",
1712
- * "MODEL_NAME": "GPTOSS120@ARBICITY",
1757
+ * "MODEL_NAME": "Wise",
1713
1758
  * "SYSTEM_INSTRUCTION": "You are reviewing a draft answer prepared by a research agent. The draft was written based on summaries, but you now have access to the full source material.\n\nYour task:\n1. Review the draft answer against the source material provided\n2. Verify claims are supported by the sources\n3. Correct any inaccuracies or unsupported statements\n4. Add any important details from the sources that were missed\n5. Maintain formal, objective tone appropriate for professional contexts\n\nIf information is not found in the sources but the draft answer is based on web search results or general knowledge, preserve it and ensure it is clearly labelled as such. Only flag missing source support for claims that purport to come from the documents.\nDo not add inline citation markers - the system handles citations automatically.",
1714
1759
  * "TEMPERATURE": 0.1,
1715
1760
  * "MAX_TOKENS": 5000,
@@ -1720,7 +1765,7 @@ interface components {
1720
1765
  /**
1721
1766
  * @default {
1722
1767
  * "API_TYPE": "remote",
1723
- * "MODEL_NAME": "Q3VL@ARBICITY",
1768
+ * "MODEL_NAME": "Fast",
1724
1769
  * "SYSTEM_INSTRUCTION": "You are a chunk evaluator. Analyze retrieved chunks to determine which are relevant to the user's query and extract key learnings from the RELEVANT chunks only. You must return your response as valid JSON matching the provided schema.",
1725
1770
  * "TEMPERATURE": 0.1,
1726
1771
  * "MAX_TOKENS": 20000,
@@ -1731,7 +1776,7 @@ interface components {
1731
1776
  /**
1732
1777
  * @default {
1733
1778
  * "API_TYPE": "remote",
1734
- * "MODEL_NAME": "Q3VL@ARBICITY",
1779
+ * "MODEL_NAME": "Fast",
1735
1780
  * "SYSTEM_INSTRUCTION": "You are a title generator that creates concise, descriptive titles.",
1736
1781
  * "MAX_CHAR_SIZE_TO_ANSWER": 50,
1737
1782
  * "TEMPERATURE": 0.3,
@@ -1742,7 +1787,7 @@ interface components {
1742
1787
  /**
1743
1788
  * @default {
1744
1789
  * "API_TYPE": "remote",
1745
- * "MODEL_NAME": "GPTOSS120@ARBICITY",
1790
+ * "MODEL_NAME": "Wise",
1746
1791
  * "SYSTEM_INSTRUCTION": "You are a conversation summariser. Condense the conversation history into a concise summary that preserves:\n- Key decisions and conclusions reached\n- Specific names, dates, numbers, and document references\n- Open questions and unresolved items\n- The user's goals and constraints\n\nWrite in past tense, third person. Be specific, not vague. Do not omit important details in favour of brevity.",
1747
1792
  * "TEMPERATURE": 0.1,
1748
1793
  * "MAX_TOKENS": 2000,
@@ -1755,7 +1800,7 @@ interface components {
1755
1800
  /**
1756
1801
  * @default {
1757
1802
  * "API_TYPE": "remote",
1758
- * "MODEL_NAME": "Q3VL@ARBICITY",
1803
+ * "MODEL_NAME": "Fast",
1759
1804
  * "SYSTEM_INSTRUCTION": "You are a document analysis assistant. Answer questions based strictly on document content.\n\nGuidelines:\n- Only use information explicitly stated in the document\n- Do not infer or assume information not present\n- If information is not found, respond with \"Information not found in document.\"\n- Follow format instructions exactly for each answer\n- Be concise and precise",
1760
1805
  * "MAX_CHAR_CONTEXT_TO_ANSWER": 100000,
1761
1806
  * "TEMPERATURE": 0.1,
@@ -1813,7 +1858,7 @@ interface components {
1813
1858
  /**
1814
1859
  * @default {
1815
1860
  * "API_TYPE": "remote",
1816
- * "MODEL_NAME": "GPTOSS120@ARBICITY",
1861
+ * "MODEL_NAME": "Wise",
1817
1862
  * "SYSTEM_INSTRUCTION": "You are a knowledge synthesizer. You receive the full agent scratchpad from a completed conversation and decide what, if anything, is worth saving.\n\n## Work Product Types\n- **\"memory\"**: Facts, findings, reference data — for *looking up* information.\n- **\"skill\"**: Procedures, workflows, step-by-step instructions — for *doing* something.\n\nWhen ambiguous, default to memory.\n\n## Rules\n- Return an empty work_products array if the conversation is trivial or produced nothing substantive.\n- Each work product must cover ONE coherent topic. Never combine disparate subjects into a single document — create separate documents for each distinct topic.\n- Ground everything in the provided context. Do not invent information.\n- Be concise. These are reference documents, not essays.\n\n## Output Format\nJSON with a `work_products` array. Each item has `wp_type`, `title`, and `content` (markdown).\n\nMemory content: `# Title`, date, source, key findings as bullets, source documents.\nSkill content: `# Title`, prerequisites, numbered steps, when to apply.",
1818
1863
  * "TEMPERATURE": 0.3,
1819
1864
  * "MAX_TOKENS": 8000,
@@ -1825,7 +1870,7 @@ interface components {
1825
1870
  /**
1826
1871
  * @default {
1827
1872
  * "API_TYPE": "remote",
1828
- * "MODEL_NAME": "GPTOSS120@ARBICITY",
1873
+ * "MODEL_NAME": "Wise",
1829
1874
  * "SYSTEM_INSTRUCTION": "You are a research planning assistant. Your job is to analyze a user query and produce a concise, numbered research plan.\n\nYou have access to a workspace of documents. The available tools for executing the plan are:\n- search_documents: Search workspace documents for relevant passages (semantic, keyword, or hybrid)\n- get_document_passages: Read a specific page range from a document\n- get_table_of_contents: Get document headings with page references\n\nConsider:\n- What information is needed to answer the query\n- Which documents are likely relevant based on the document index\n- What search queries and document passages to examine\n- What order of operations will be most efficient\n- Whether parallel searches can be used for different aspects\n\nRespond with ONLY the plan (numbered steps). Do not execute any steps.",
1830
1875
  * "TEMPERATURE": 0.3,
1831
1876
  * "MAX_TOKENS": 4000,
@@ -1837,7 +1882,7 @@ interface components {
1837
1882
  /**
1838
1883
  * @default {
1839
1884
  * "API_TYPE": "remote",
1840
- * "MODEL_NAME": "Q3VL@ARBICITY",
1885
+ * "MODEL_NAME": "Fast",
1841
1886
  * "TEMPERATURE": 0.1,
1842
1887
  * "MAX_TOKENS": 4000,
1843
1888
  * "MAX_PAGES_PER_CALL": 5,
@@ -2870,7 +2915,7 @@ interface components {
2870
2915
  /**
2871
2916
  * Model Name
2872
2917
  * @description The name of the non-reasoning model to be used.
2873
- * @default Q3VL@ARBICITY
2918
+ * @default Fast
2874
2919
  */
2875
2920
  MODEL_NAME: string;
2876
2921
  /**
@@ -3039,7 +3084,7 @@ interface components {
3039
3084
  /**
3040
3085
  * Model Name
3041
3086
  * @description The name of the non-reasoning model to be used.
3042
- * @default Q3VL@ARBICITY
3087
+ * @default Fast
3043
3088
  */
3044
3089
  MODEL_NAME: string;
3045
3090
  /**
@@ -3200,6 +3245,23 @@ interface components {
3200
3245
  * @description End reference (page.chunk)
3201
3246
  */
3202
3247
  to_ref: string;
3248
+ /**
3249
+ * Label
3250
+ * @description Display label for the tool step
3251
+ * @default Reading document
3252
+ */
3253
+ label: string;
3254
+ /**
3255
+ * Icon
3256
+ * @description Lucide icon name for the tool step
3257
+ * @default file-text
3258
+ */
3259
+ icon: string;
3260
+ /**
3261
+ * Summary
3262
+ * @description Human-readable summary (e.g. 'Reading {doc-abc12345} pp. 5–10')
3263
+ */
3264
+ summary?: string | null;
3203
3265
  };
3204
3266
  /**
3205
3267
  * GetFullDocumentDetail
@@ -3239,6 +3301,23 @@ interface components {
3239
3301
  * @description Document external IDs
3240
3302
  */
3241
3303
  doc_ext_ids: string[];
3304
+ /**
3305
+ * Label
3306
+ * @description Display label for the tool step
3307
+ * @default Getting table of contents
3308
+ */
3309
+ label: string;
3310
+ /**
3311
+ * Icon
3312
+ * @description Lucide icon name for the tool step
3313
+ * @default list
3314
+ */
3315
+ icon: string;
3316
+ /**
3317
+ * Summary
3318
+ * @description Human-readable summary (e.g. 'Table of contents: {doc-abc12345}')
3319
+ */
3320
+ summary?: string | null;
3242
3321
  };
3243
3322
  /** HTTPValidationError */
3244
3323
  HTTPValidationError: {
@@ -3358,7 +3437,7 @@ interface components {
3358
3437
  /**
3359
3438
  * Model Name
3360
3439
  * @description The model for memory synthesis. Defaults to reasoning model.
3361
- * @default GPTOSS120@ARBICITY
3440
+ * @default Wise
3362
3441
  */
3363
3442
  MODEL_NAME: string;
3364
3443
  /**
@@ -3952,7 +4031,7 @@ interface components {
3952
4031
  /**
3953
4032
  * Model Name
3954
4033
  * @description The model for plan generation. Defaults to reasoning model.
3955
- * @default GPTOSS120@ARBICITY
4034
+ * @default Wise
3956
4035
  */
3957
4036
  MODEL_NAME: string;
3958
4037
  /**
@@ -4065,7 +4144,7 @@ interface components {
4065
4144
  /**
4066
4145
  * Model Name
4067
4146
  * @description The model for query answering.
4068
- * @default Q3VL@ARBICITY
4147
+ * @default Fast
4069
4148
  */
4070
4149
  MODEL_NAME: string;
4071
4150
  /**
@@ -4867,7 +4946,7 @@ interface components {
4867
4946
  /**
4868
4947
  * Model Name
4869
4948
  * @description The model for reviewing agent draft answers. Defaults to reasoning model.
4870
- * @default GPTOSS120@ARBICITY
4949
+ * @default Wise
4871
4950
  */
4872
4951
  MODEL_NAME: string;
4873
4952
  /**
@@ -5005,6 +5084,34 @@ interface components {
5005
5084
  detail_evaluation?: components['schemas']['EvaluationDetail'] | null;
5006
5085
  detail_tool_progress?: components['schemas']['ToolProgressDetail'] | null;
5007
5086
  };
5087
+ /**
5088
+ * SSOConfigResponse
5089
+ * @description Public SSO configuration for device flow / CLI login.
5090
+ */
5091
+ SSOConfigResponse: {
5092
+ /** Sso Enabled */
5093
+ sso_enabled: boolean;
5094
+ /**
5095
+ * Domain
5096
+ * @default
5097
+ */
5098
+ domain: string;
5099
+ /**
5100
+ * Client Id
5101
+ * @default
5102
+ */
5103
+ client_id: string;
5104
+ /**
5105
+ * Cli Client Id
5106
+ * @default
5107
+ */
5108
+ cli_client_id: string;
5109
+ /**
5110
+ * Audience
5111
+ * @default
5112
+ */
5113
+ audience: string;
5114
+ };
5008
5115
  /** SSOSendVerificationEmailRequest */
5009
5116
  SSOSendVerificationEmailRequest: {
5010
5117
  /** Auth0 Id */
@@ -5102,6 +5209,23 @@ interface components {
5102
5209
  * @description Search mode: hybrid, semantic, keyword
5103
5210
  */
5104
5211
  search_mode: string;
5212
+ /**
5213
+ * Label
5214
+ * @description Display label for the tool step
5215
+ * @default Searching documents
5216
+ */
5217
+ label: string;
5218
+ /**
5219
+ * Icon
5220
+ * @description Lucide icon name for the tool step
5221
+ * @default search
5222
+ */
5223
+ icon: string;
5224
+ /**
5225
+ * Summary
5226
+ * @description Human-readable summary (e.g. 'Search: "query" (hybrid)')
5227
+ */
5228
+ summary?: string | null;
5105
5229
  };
5106
5230
  /**
5107
5231
  * SearchMode
@@ -5257,7 +5381,7 @@ interface components {
5257
5381
  /**
5258
5382
  * Model Name
5259
5383
  * @description The model for conversation summarisation. Defaults to reasoning model.
5260
- * @default GPTOSS120@ARBICITY
5384
+ * @default Wise
5261
5385
  */
5262
5386
  MODEL_NAME: string;
5263
5387
  /**
@@ -5435,7 +5559,7 @@ interface components {
5435
5559
  /**
5436
5560
  * Model Name
5437
5561
  * @description The name of the non-reasoning model to be used.
5438
- * @default Q3VL@ARBICITY
5562
+ * @default Fast
5439
5563
  */
5440
5564
  MODEL_NAME: string;
5441
5565
  /**
@@ -6014,7 +6138,7 @@ interface components {
6014
6138
  /**
6015
6139
  * Model Name
6016
6140
  * @description The vision-capable model name (must support image inputs).
6017
- * @default Q3VL@ARBICITY
6141
+ * @default Fast
6018
6142
  */
6019
6143
  MODEL_NAME: string;
6020
6144
  /**
@@ -6353,6 +6477,26 @@ interface operations {
6353
6477
  };
6354
6478
  };
6355
6479
  };
6480
+ get_sso_config: {
6481
+ parameters: {
6482
+ query?: never;
6483
+ header?: never;
6484
+ path?: never;
6485
+ cookie?: never;
6486
+ };
6487
+ requestBody?: never;
6488
+ responses: {
6489
+ /** @description Successful Response */
6490
+ 200: {
6491
+ headers: {
6492
+ [name: string]: unknown;
6493
+ };
6494
+ content: {
6495
+ 'application/json': components['schemas']['SSOConfigResponse'];
6496
+ };
6497
+ };
6498
+ };
6499
+ };
6356
6500
  sso_status: {
6357
6501
  parameters: {
6358
6502
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbidocs/client",
3
- "version": "0.3.17",
3
+ "version": "0.3.19",
4
4
  "description": "TypeScript SDK for the ARBI API — zero-knowledge auth, E2E encryption, and type-safe REST client",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",