knoxis-helper 1.8.4 → 1.8.5

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.
@@ -101,6 +101,7 @@ function installAgentLocally(force) {
101
101
  const sourceStateScaffold = path.join(libDir, 'state-scaffold.js');
102
102
  const sourcePortalSync = path.join(libDir, 'portal-sync.js');
103
103
  const sourceSessionRecorder = path.join(libDir, 'session-recorder.js');
104
+ const sourceActiveSession = path.join(libDir, 'active-session.js');
104
105
  const sourceFrameworkVersion = path.join(libDir, 'framework-version.js');
105
106
  const sourceTemplatesDir = path.join(libDir, 'templates');
106
107
  const sourcePackage = path.join(__dirname, '..', 'package.json');
@@ -158,6 +159,11 @@ function installAgentLocally(force) {
158
159
  console.log(' Installed: session-recorder.js');
159
160
  }
160
161
 
162
+ if (fs.existsSync(sourceActiveSession)) {
163
+ fs.copyFileSync(sourceActiveSession, path.join(AGENT_DIR, 'active-session.js'));
164
+ console.log(' Installed: active-session.js');
165
+ }
166
+
161
167
  if (fs.existsSync(sourceFrameworkVersion)) {
162
168
  fs.copyFileSync(sourceFrameworkVersion, path.join(AGENT_DIR, 'framework-version.js'));
163
169
  console.log(' Installed: framework-version.js');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "knoxis-helper",
3
- "version": "1.8.4",
3
+ "version": "1.8.5",
4
4
  "description": "Local helper for Knoxis pair programming - connects your machine to Knoxis on qig.ai",
5
5
  "bin": {
6
6
  "knoxis-helper": "./bin/knoxis-helper.js"