@arbidocs/sdk 0.3.95 → 0.3.96

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.
@@ -2258,6 +2258,13 @@ declare class Arbi {
2258
2258
  events: {
2259
2259
  [x: string]: unknown;
2260
2260
  }[];
2261
+ } | {
2262
+ name: "memory";
2263
+ description: string;
2264
+ tool_responses: {
2265
+ written: string[];
2266
+ superseded: string[];
2267
+ };
2261
2268
  };
2262
2269
  } | undefined;
2263
2270
  config_ext_id?: string | null | undefined;
@@ -2407,6 +2414,13 @@ declare class Arbi {
2407
2414
  events: {
2408
2415
  [x: string]: unknown;
2409
2416
  }[];
2417
+ } | {
2418
+ name: "memory";
2419
+ description: string;
2420
+ tool_responses: {
2421
+ written: string[];
2422
+ superseded: string[];
2423
+ };
2410
2424
  };
2411
2425
  } | undefined;
2412
2426
  config_ext_id?: string | null | undefined;
@@ -2748,17 +2762,8 @@ declare class Arbi {
2748
2762
  Agents: {
2749
2763
  ENABLED: boolean;
2750
2764
  HUMAN_IN_THE_LOOP: boolean;
2751
- WEB_SEARCH?: {
2752
- ENABLED: boolean;
2753
- SAVE_SOURCES: boolean;
2754
- } | undefined;
2755
- RUN_CODE?: {
2756
- ENABLED: boolean;
2757
- IMAGE: string;
2758
- TIMEOUT_SECONDS: number;
2759
- MEMORY_LIMIT: string;
2760
- NETWORK: string;
2761
- } | undefined;
2765
+ WEB_SEARCH_ENABLED: boolean;
2766
+ RUN_CODE_ENABLED: boolean;
2762
2767
  MCP_TOOLS: string[];
2763
2768
  PLANNING_ENABLED: boolean;
2764
2769
  DEEP_RESEARCH_ENABLED: boolean;
@@ -2768,8 +2773,11 @@ declare class Arbi {
2768
2773
  CONVERSATION_SEARCH_ENABLED: boolean;
2769
2774
  PERSONAL_AGENT: boolean;
2770
2775
  MEMORY_ENABLED: boolean;
2776
+ PERSIST_LEARNINGS: boolean;
2771
2777
  SKILLS_ENABLED: boolean;
2772
2778
  SKILL_CREATION: boolean;
2779
+ WORKSPACE_TOOLS_ENABLED: boolean;
2780
+ ENABLED_SKILLS?: string[] | null | undefined;
2773
2781
  MEMORY_CREATION: boolean;
2774
2782
  GOALS_ENABLED: boolean;
2775
2783
  GOAL_MAX_OUTER_LOOPS: number;
@@ -2904,6 +2912,15 @@ declare class Arbi {
2904
2912
  MAX_NUMB_CITATIONS: number;
2905
2913
  CITATION_INSTRUCTION: string;
2906
2914
  };
2915
+ WebSearch: {
2916
+ SAVE_SOURCES: boolean;
2917
+ };
2918
+ RunCode: {
2919
+ IMAGE: string;
2920
+ TIMEOUT_SECONDS: number;
2921
+ MEMORY_LIMIT: string;
2922
+ NETWORK: string;
2923
+ };
2907
2924
  Retriever: {
2908
2925
  agent?: {
2909
2926
  MIN_RETRIEVAL_SIM_SCORE: number;
@@ -2969,9 +2986,27 @@ declare class Arbi {
2969
2986
  } | {
2970
2987
  Agents: {
2971
2988
  ENABLED: boolean;
2989
+ HUMAN_IN_THE_LOOP: boolean;
2990
+ WEB_SEARCH_ENABLED: boolean;
2991
+ RUN_CODE_ENABLED: boolean;
2992
+ MCP_TOOLS: string[];
2993
+ PLANNING_ENABLED: boolean;
2994
+ DEEP_RESEARCH_ENABLED: boolean;
2995
+ SUGGESTED_QUERIES: boolean;
2996
+ ARTIFACTS_ENABLED: boolean;
2997
+ VISION_ENABLED: boolean;
2998
+ CONVERSATION_SEARCH_ENABLED: boolean;
2972
2999
  MEMORY_ENABLED: boolean;
3000
+ PERSIST_LEARNINGS: boolean;
3001
+ SKILLS_ENABLED: boolean;
3002
+ WORKSPACE_TOOLS_ENABLED: boolean;
3003
+ ENABLED_SKILLS?: string[] | null | undefined;
3004
+ GOALS_ENABLED: boolean;
3005
+ GOAL_MAX_OUTER_LOOPS: number;
2973
3006
  PERSONA: string;
2974
3007
  AGENT_MODEL_NAME: string;
3008
+ ENABLE_THINKING: boolean;
3009
+ AGENT_MAX_ITERATIONS: number;
2975
3010
  };
2976
3011
  DoctagLLM: {
2977
3012
  AUTO_RENAME: boolean;
@@ -3593,6 +3628,13 @@ declare function getConversationThreads(arbi: ArbiClient, conversationId: string
3593
3628
  events: {
3594
3629
  [x: string]: unknown;
3595
3630
  }[];
3631
+ } | {
3632
+ name: "memory";
3633
+ description: string;
3634
+ tool_responses: {
3635
+ written: string[];
3636
+ superseded: string[];
3637
+ };
3596
3638
  };
3597
3639
  } | undefined;
3598
3640
  config_ext_id?: string | null | undefined;
@@ -3742,6 +3784,13 @@ declare function getMessage(arbi: ArbiClient, messageId: string): Promise<{
3742
3784
  events: {
3743
3785
  [x: string]: unknown;
3744
3786
  }[];
3787
+ } | {
3788
+ name: "memory";
3789
+ description: string;
3790
+ tool_responses: {
3791
+ written: string[];
3792
+ superseded: string[];
3793
+ };
3745
3794
  };
3746
3795
  } | undefined;
3747
3796
  config_ext_id?: string | null | undefined;
@@ -4187,17 +4236,8 @@ declare function getConfig(arbi: ArbiClient, configId: string): Promise<{
4187
4236
  Agents: {
4188
4237
  ENABLED: boolean;
4189
4238
  HUMAN_IN_THE_LOOP: boolean;
4190
- WEB_SEARCH?: {
4191
- ENABLED: boolean;
4192
- SAVE_SOURCES: boolean;
4193
- } | undefined;
4194
- RUN_CODE?: {
4195
- ENABLED: boolean;
4196
- IMAGE: string;
4197
- TIMEOUT_SECONDS: number;
4198
- MEMORY_LIMIT: string;
4199
- NETWORK: string;
4200
- } | undefined;
4239
+ WEB_SEARCH_ENABLED: boolean;
4240
+ RUN_CODE_ENABLED: boolean;
4201
4241
  MCP_TOOLS: string[];
4202
4242
  PLANNING_ENABLED: boolean;
4203
4243
  DEEP_RESEARCH_ENABLED: boolean;
@@ -4207,8 +4247,11 @@ declare function getConfig(arbi: ArbiClient, configId: string): Promise<{
4207
4247
  CONVERSATION_SEARCH_ENABLED: boolean;
4208
4248
  PERSONAL_AGENT: boolean;
4209
4249
  MEMORY_ENABLED: boolean;
4250
+ PERSIST_LEARNINGS: boolean;
4210
4251
  SKILLS_ENABLED: boolean;
4211
4252
  SKILL_CREATION: boolean;
4253
+ WORKSPACE_TOOLS_ENABLED: boolean;
4254
+ ENABLED_SKILLS?: string[] | null | undefined;
4212
4255
  MEMORY_CREATION: boolean;
4213
4256
  GOALS_ENABLED: boolean;
4214
4257
  GOAL_MAX_OUTER_LOOPS: number;
@@ -4343,6 +4386,15 @@ declare function getConfig(arbi: ArbiClient, configId: string): Promise<{
4343
4386
  MAX_NUMB_CITATIONS: number;
4344
4387
  CITATION_INSTRUCTION: string;
4345
4388
  };
4389
+ WebSearch: {
4390
+ SAVE_SOURCES: boolean;
4391
+ };
4392
+ RunCode: {
4393
+ IMAGE: string;
4394
+ TIMEOUT_SECONDS: number;
4395
+ MEMORY_LIMIT: string;
4396
+ NETWORK: string;
4397
+ };
4346
4398
  Retriever: {
4347
4399
  agent?: {
4348
4400
  MIN_RETRIEVAL_SIM_SCORE: number;
@@ -4408,9 +4460,27 @@ declare function getConfig(arbi: ArbiClient, configId: string): Promise<{
4408
4460
  } | {
4409
4461
  Agents: {
4410
4462
  ENABLED: boolean;
4463
+ HUMAN_IN_THE_LOOP: boolean;
4464
+ WEB_SEARCH_ENABLED: boolean;
4465
+ RUN_CODE_ENABLED: boolean;
4466
+ MCP_TOOLS: string[];
4467
+ PLANNING_ENABLED: boolean;
4468
+ DEEP_RESEARCH_ENABLED: boolean;
4469
+ SUGGESTED_QUERIES: boolean;
4470
+ ARTIFACTS_ENABLED: boolean;
4471
+ VISION_ENABLED: boolean;
4472
+ CONVERSATION_SEARCH_ENABLED: boolean;
4411
4473
  MEMORY_ENABLED: boolean;
4474
+ PERSIST_LEARNINGS: boolean;
4475
+ SKILLS_ENABLED: boolean;
4476
+ WORKSPACE_TOOLS_ENABLED: boolean;
4477
+ ENABLED_SKILLS?: string[] | null | undefined;
4478
+ GOALS_ENABLED: boolean;
4479
+ GOAL_MAX_OUTER_LOOPS: number;
4412
4480
  PERSONA: string;
4413
4481
  AGENT_MODEL_NAME: string;
4482
+ ENABLE_THINKING: boolean;
4483
+ AGENT_MAX_ITERATIONS: number;
4414
4484
  };
4415
4485
  DoctagLLM: {
4416
4486
  AUTO_RENAME: boolean;
@@ -2258,6 +2258,13 @@ declare class Arbi {
2258
2258
  events: {
2259
2259
  [x: string]: unknown;
2260
2260
  }[];
2261
+ } | {
2262
+ name: "memory";
2263
+ description: string;
2264
+ tool_responses: {
2265
+ written: string[];
2266
+ superseded: string[];
2267
+ };
2261
2268
  };
2262
2269
  } | undefined;
2263
2270
  config_ext_id?: string | null | undefined;
@@ -2407,6 +2414,13 @@ declare class Arbi {
2407
2414
  events: {
2408
2415
  [x: string]: unknown;
2409
2416
  }[];
2417
+ } | {
2418
+ name: "memory";
2419
+ description: string;
2420
+ tool_responses: {
2421
+ written: string[];
2422
+ superseded: string[];
2423
+ };
2410
2424
  };
2411
2425
  } | undefined;
2412
2426
  config_ext_id?: string | null | undefined;
@@ -2748,17 +2762,8 @@ declare class Arbi {
2748
2762
  Agents: {
2749
2763
  ENABLED: boolean;
2750
2764
  HUMAN_IN_THE_LOOP: boolean;
2751
- WEB_SEARCH?: {
2752
- ENABLED: boolean;
2753
- SAVE_SOURCES: boolean;
2754
- } | undefined;
2755
- RUN_CODE?: {
2756
- ENABLED: boolean;
2757
- IMAGE: string;
2758
- TIMEOUT_SECONDS: number;
2759
- MEMORY_LIMIT: string;
2760
- NETWORK: string;
2761
- } | undefined;
2765
+ WEB_SEARCH_ENABLED: boolean;
2766
+ RUN_CODE_ENABLED: boolean;
2762
2767
  MCP_TOOLS: string[];
2763
2768
  PLANNING_ENABLED: boolean;
2764
2769
  DEEP_RESEARCH_ENABLED: boolean;
@@ -2768,8 +2773,11 @@ declare class Arbi {
2768
2773
  CONVERSATION_SEARCH_ENABLED: boolean;
2769
2774
  PERSONAL_AGENT: boolean;
2770
2775
  MEMORY_ENABLED: boolean;
2776
+ PERSIST_LEARNINGS: boolean;
2771
2777
  SKILLS_ENABLED: boolean;
2772
2778
  SKILL_CREATION: boolean;
2779
+ WORKSPACE_TOOLS_ENABLED: boolean;
2780
+ ENABLED_SKILLS?: string[] | null | undefined;
2773
2781
  MEMORY_CREATION: boolean;
2774
2782
  GOALS_ENABLED: boolean;
2775
2783
  GOAL_MAX_OUTER_LOOPS: number;
@@ -2904,6 +2912,15 @@ declare class Arbi {
2904
2912
  MAX_NUMB_CITATIONS: number;
2905
2913
  CITATION_INSTRUCTION: string;
2906
2914
  };
2915
+ WebSearch: {
2916
+ SAVE_SOURCES: boolean;
2917
+ };
2918
+ RunCode: {
2919
+ IMAGE: string;
2920
+ TIMEOUT_SECONDS: number;
2921
+ MEMORY_LIMIT: string;
2922
+ NETWORK: string;
2923
+ };
2907
2924
  Retriever: {
2908
2925
  agent?: {
2909
2926
  MIN_RETRIEVAL_SIM_SCORE: number;
@@ -2969,9 +2986,27 @@ declare class Arbi {
2969
2986
  } | {
2970
2987
  Agents: {
2971
2988
  ENABLED: boolean;
2989
+ HUMAN_IN_THE_LOOP: boolean;
2990
+ WEB_SEARCH_ENABLED: boolean;
2991
+ RUN_CODE_ENABLED: boolean;
2992
+ MCP_TOOLS: string[];
2993
+ PLANNING_ENABLED: boolean;
2994
+ DEEP_RESEARCH_ENABLED: boolean;
2995
+ SUGGESTED_QUERIES: boolean;
2996
+ ARTIFACTS_ENABLED: boolean;
2997
+ VISION_ENABLED: boolean;
2998
+ CONVERSATION_SEARCH_ENABLED: boolean;
2972
2999
  MEMORY_ENABLED: boolean;
3000
+ PERSIST_LEARNINGS: boolean;
3001
+ SKILLS_ENABLED: boolean;
3002
+ WORKSPACE_TOOLS_ENABLED: boolean;
3003
+ ENABLED_SKILLS?: string[] | null | undefined;
3004
+ GOALS_ENABLED: boolean;
3005
+ GOAL_MAX_OUTER_LOOPS: number;
2973
3006
  PERSONA: string;
2974
3007
  AGENT_MODEL_NAME: string;
3008
+ ENABLE_THINKING: boolean;
3009
+ AGENT_MAX_ITERATIONS: number;
2975
3010
  };
2976
3011
  DoctagLLM: {
2977
3012
  AUTO_RENAME: boolean;
@@ -3593,6 +3628,13 @@ declare function getConversationThreads(arbi: ArbiClient, conversationId: string
3593
3628
  events: {
3594
3629
  [x: string]: unknown;
3595
3630
  }[];
3631
+ } | {
3632
+ name: "memory";
3633
+ description: string;
3634
+ tool_responses: {
3635
+ written: string[];
3636
+ superseded: string[];
3637
+ };
3596
3638
  };
3597
3639
  } | undefined;
3598
3640
  config_ext_id?: string | null | undefined;
@@ -3742,6 +3784,13 @@ declare function getMessage(arbi: ArbiClient, messageId: string): Promise<{
3742
3784
  events: {
3743
3785
  [x: string]: unknown;
3744
3786
  }[];
3787
+ } | {
3788
+ name: "memory";
3789
+ description: string;
3790
+ tool_responses: {
3791
+ written: string[];
3792
+ superseded: string[];
3793
+ };
3745
3794
  };
3746
3795
  } | undefined;
3747
3796
  config_ext_id?: string | null | undefined;
@@ -4187,17 +4236,8 @@ declare function getConfig(arbi: ArbiClient, configId: string): Promise<{
4187
4236
  Agents: {
4188
4237
  ENABLED: boolean;
4189
4238
  HUMAN_IN_THE_LOOP: boolean;
4190
- WEB_SEARCH?: {
4191
- ENABLED: boolean;
4192
- SAVE_SOURCES: boolean;
4193
- } | undefined;
4194
- RUN_CODE?: {
4195
- ENABLED: boolean;
4196
- IMAGE: string;
4197
- TIMEOUT_SECONDS: number;
4198
- MEMORY_LIMIT: string;
4199
- NETWORK: string;
4200
- } | undefined;
4239
+ WEB_SEARCH_ENABLED: boolean;
4240
+ RUN_CODE_ENABLED: boolean;
4201
4241
  MCP_TOOLS: string[];
4202
4242
  PLANNING_ENABLED: boolean;
4203
4243
  DEEP_RESEARCH_ENABLED: boolean;
@@ -4207,8 +4247,11 @@ declare function getConfig(arbi: ArbiClient, configId: string): Promise<{
4207
4247
  CONVERSATION_SEARCH_ENABLED: boolean;
4208
4248
  PERSONAL_AGENT: boolean;
4209
4249
  MEMORY_ENABLED: boolean;
4250
+ PERSIST_LEARNINGS: boolean;
4210
4251
  SKILLS_ENABLED: boolean;
4211
4252
  SKILL_CREATION: boolean;
4253
+ WORKSPACE_TOOLS_ENABLED: boolean;
4254
+ ENABLED_SKILLS?: string[] | null | undefined;
4212
4255
  MEMORY_CREATION: boolean;
4213
4256
  GOALS_ENABLED: boolean;
4214
4257
  GOAL_MAX_OUTER_LOOPS: number;
@@ -4343,6 +4386,15 @@ declare function getConfig(arbi: ArbiClient, configId: string): Promise<{
4343
4386
  MAX_NUMB_CITATIONS: number;
4344
4387
  CITATION_INSTRUCTION: string;
4345
4388
  };
4389
+ WebSearch: {
4390
+ SAVE_SOURCES: boolean;
4391
+ };
4392
+ RunCode: {
4393
+ IMAGE: string;
4394
+ TIMEOUT_SECONDS: number;
4395
+ MEMORY_LIMIT: string;
4396
+ NETWORK: string;
4397
+ };
4346
4398
  Retriever: {
4347
4399
  agent?: {
4348
4400
  MIN_RETRIEVAL_SIM_SCORE: number;
@@ -4408,9 +4460,27 @@ declare function getConfig(arbi: ArbiClient, configId: string): Promise<{
4408
4460
  } | {
4409
4461
  Agents: {
4410
4462
  ENABLED: boolean;
4463
+ HUMAN_IN_THE_LOOP: boolean;
4464
+ WEB_SEARCH_ENABLED: boolean;
4465
+ RUN_CODE_ENABLED: boolean;
4466
+ MCP_TOOLS: string[];
4467
+ PLANNING_ENABLED: boolean;
4468
+ DEEP_RESEARCH_ENABLED: boolean;
4469
+ SUGGESTED_QUERIES: boolean;
4470
+ ARTIFACTS_ENABLED: boolean;
4471
+ VISION_ENABLED: boolean;
4472
+ CONVERSATION_SEARCH_ENABLED: boolean;
4411
4473
  MEMORY_ENABLED: boolean;
4474
+ PERSIST_LEARNINGS: boolean;
4475
+ SKILLS_ENABLED: boolean;
4476
+ WORKSPACE_TOOLS_ENABLED: boolean;
4477
+ ENABLED_SKILLS?: string[] | null | undefined;
4478
+ GOALS_ENABLED: boolean;
4479
+ GOAL_MAX_OUTER_LOOPS: number;
4412
4480
  PERSONA: string;
4413
4481
  AGENT_MODEL_NAME: string;
4482
+ ENABLE_THINKING: boolean;
4483
+ AGENT_MAX_ITERATIONS: number;
4414
4484
  };
4415
4485
  DoctagLLM: {
4416
4486
  AUTO_RENAME: boolean;
package/dist/browser.cjs CHANGED
@@ -5290,11 +5290,11 @@ async function getFileContent(auth, fileId) {
5290
5290
 
5291
5291
  // src/operations/agents.ts
5292
5292
  async function listAgents(arbi) {
5293
- return requireData(await arbi.fetch.GET("/v1/user/agents"), "Failed to fetch agents");
5293
+ return requireData(await arbi.fetch.GET("/v1/agents"), "Failed to fetch agents");
5294
5294
  }
5295
5295
  async function deleteAgents(arbi, agentExtIds) {
5296
5296
  return requireData(
5297
- await arbi.fetch.DELETE("/v1/user/agents", {
5297
+ await arbi.fetch.DELETE("/v1/agents", {
5298
5298
  body: { agent_ext_ids: agentExtIds }
5299
5299
  }),
5300
5300
  "Failed to delete agents"