openkbs 0.0.90 → 0.0.92

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openkbs",
3
- "version": "0.0.90",
3
+ "version": "0.0.92",
4
4
  "description": "OpenKBS - Command Line Interface",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
package/src/actions.js CHANGED
@@ -37,11 +37,9 @@ const SERVICES = {
37
37
  */
38
38
  function findSettings() {
39
39
  const paths = [
40
+ path.join(process.cwd(), 'openkbs.json'),
40
41
  path.join(process.cwd(), 'settings.json'),
41
- path.join(process.cwd(), 'app', 'settings.json'),
42
- path.join(process.cwd(), 'functions', 'settings.json'),
43
- path.join(process.cwd(), 'site', 'settings.json'),
44
- path.join(process.cwd(), 'openkbs.json')
42
+ path.join(process.cwd(), 'app', 'settings.json')
45
43
  ];
46
44
 
47
45
  for (const settingsPath of paths) {
@@ -2068,9 +2066,8 @@ async function siteDeployAction(kbToken, kbId, siteDir, args) {
2068
2066
  const fullPath = path.join(dir, entry.name);
2069
2067
  const relativePath = path.relative(baseDir, fullPath);
2070
2068
 
2071
- // Skip hidden files, settings.json, and node_modules
2069
+ // Skip hidden files and node_modules
2072
2070
  if (entry.name.startsWith('.') ||
2073
- entry.name === 'settings.json' ||
2074
2071
  entry.name === 'node_modules') {
2075
2072
  continue;
2076
2073
  }
@@ -19,11 +19,8 @@ If auth error, ask user to run `openkbs login` first.
19
19
  Pick the whitelabel agent kbId from the list.
20
20
 
21
21
  ### 2. Configure Settings
22
- Update these files with values from step 1 and openkbs.json:
23
-
24
- **site/settings.json** and **functions/settings.json**:
22
+ Update `openkbs.json`:
25
23
  - Replace `{{WHITELABEL_KB_ID}}` with kbId from step 1
26
- - Replace `{{REGION}}` with region from openkbs.json
27
24
 
28
25
  ### 3. Deploy
29
26
  ```bash
@@ -33,7 +30,7 @@ openkbs fn push api # API function (optional)
33
30
  ```
34
31
 
35
32
  ## Project Structure
36
- - `openkbs.json` - Elastic services config (region, postgres, storage, pulse)
37
- - `site/` - Static frontend (settings.json links to whitelabel agent)
33
+ - `openkbs.json` - Project config (kbId, region, elastic services)
34
+ - `site/` - Static frontend
38
35
  - `functions/` - Serverless Lambda functions
39
36
  - `agents/` - AI agents (optional, each gets own kbId on push)
@@ -40,7 +40,7 @@ Platform mode extends agent capabilities with:
40
40
  - CloudFront distributions
41
41
  - SSL certificates
42
42
 
43
- This whitelabel `kbId` is used in `settings.json` files throughout the project. User-facing agents in `agents/` folder each get their own separate `kbId` when pushed.
43
+ This whitelabel `kbId` is stored in `openkbs.json` in the project root. User-facing agents in `agents/` folder each get their own separate `kbId` when pushed.
44
44
 
45
45
  ## Project Structure
46
46
 
@@ -1,3 +1,3 @@
1
1
  {
2
- "version": "0.1.24"
2
+ "version": "0.1.25"
3
3
  }
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "name": "{{APP_NAME}}",
3
+ "kbId": "{{WHITELABEL_KB_ID}}",
3
4
  "region": "us-east-1",
4
5
  "spa": "/app/index.html",
5
6
  "postgres": true,
package/version.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.0.90",
2
+ "version": "0.0.92",
3
3
  "releaseDate": "2026-02-21",
4
- "releaseNotes": "OpenKBS CLI version 0.0.90"
4
+ "releaseNotes": "OpenKBS CLI version 0.0.92"
5
5
  }
@@ -1,4 +0,0 @@
1
- {
2
- "kbId": "{{WHITELABEL_KB_ID}}",
3
- "region": "{{REGION}}"
4
- }
@@ -1,4 +0,0 @@
1
- {
2
- "kbId": "{{WHITELABEL_KB_ID}}",
3
- "region": "{{REGION}}"
4
- }