@aigne/doc-smith 0.2.10 → 0.2.11

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.11](https://github.com/AIGNE-io/aigne-doc-smith/compare/v0.2.10...v0.2.11) (2025-08-15)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * switch default model ([#43](https://github.com/AIGNE-io/aigne-doc-smith/issues/43)) ([203e280](https://github.com/AIGNE-io/aigne-doc-smith/commit/203e280b07d3856445b1877469ed4198db56f6f3))
9
+
3
10
  ## [0.2.10](https://github.com/AIGNE-io/aigne-doc-smith/compare/v0.2.9...v0.2.10) (2025-08-14)
4
11
 
5
12
 
@@ -39,17 +39,21 @@ export default async function publishDocs(
39
39
  });
40
40
 
41
41
  if (choice === "custom") {
42
- appUrl = await options.prompts.input({
42
+ const userInput = await options.prompts.input({
43
43
  message: "Please enter your Discuss Kit platform URL:",
44
44
  validate: (input) => {
45
45
  try {
46
- new URL(input);
46
+ // Check if input contains protocol, if not, prepend https://
47
+ const urlWithProtocol = input.includes("://") ? input : `https://${input}`;
48
+ new URL(urlWithProtocol);
47
49
  return true;
48
50
  } catch {
49
51
  return "Please enter a valid URL";
50
52
  }
51
53
  },
52
54
  });
55
+ // Ensure appUrl has protocol
56
+ appUrl = userInput.includes("://") ? userInput : `https://${userInput}`;
53
57
  }
54
58
  }
55
59
 
package/aigne.yaml CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  chat_model:
4
4
  provider: google
5
- # name: gemini-2.5-pro
6
- name: gemini-2.5-flash
5
+ name: gemini-2.5-pro
6
+ # name: gemini-2.5-flash
7
7
  temperature: 0.8
8
8
  agents:
9
9
  - ./agents/structure-planning.yaml
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/doc-smith",
3
- "version": "0.2.10",
3
+ "version": "0.2.11",
4
4
  "description": "",
5
5
  "publishConfig": {
6
6
  "access": "public"