impact-chatbot 3.1.0 → 3.1.2

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.
@@ -23,6 +23,14 @@ export declare const fetchAgentsInfo: (baseUrl: any) => Promise<any>;
23
23
  export declare const initiateAgent: (payload: any, baseUrl: any) => Promise<any>;
24
24
  export declare const fetchCustomBotConfig: (baseUrl: any) => Promise<any>;
25
25
  export declare const uploadFile: (payload: any) => Promise<any>;
26
+ /** Saves a skill for the signed-in user: its SKILL.md and the files it refers to, each keyed by its path in
27
+ * the skill's folder ({"SKILL.md": text, "references/x.md": text}). The agent checks it as its harness would
28
+ * serve it and answers {name, version, characters, files, missing_files, trigger, trigger_said, turn_on}; a
29
+ * skill it refuses is a 422 whose detail says why. Errors reach the caller, which shows them. */
30
+ export declare const uploadSkill: (files: any, baseUrl: any) => Promise<any>;
31
+ /** Whether the agent takes skill uploads: its /info answer carries skills.upload beside the cards. Any
32
+ * failure, or an agent that does not say so, is false (no "Upload Skill" item). */
33
+ export declare const fetchSkillUploadOn: (baseUrl: any) => Promise<boolean>;
26
34
  export declare const triggerRefresh: (baseUrl: any) => Promise<any>;
27
35
  export declare const fetchChatbotFilterConfig: () => Promise<any>;
28
36
  export declare const getFilterOptions: (postBody: any) => () => Promise<any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impact-chatbot",
3
- "version": "3.1.0",
3
+ "version": "3.1.2",
4
4
  "description": "Standalone chatbot widget — no core submodule required. Wrap with <ChatbotProvider> to inject dependencies.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",