@telemetryos/cli 1.8.1 → 1.8.3

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,24 @@
1
1
  # @telemetryos/cli
2
2
 
3
+ ## 1.8.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Fix issue where uninitialized store hooks could set values
8
+
9
+ Store hooks could call setValue() before isLoading was true. Now this does nothing and logs an error.
10
+
11
+ - Updated dependencies
12
+ - @telemetryos/development-application-host-ui@1.8.3
13
+
14
+ ## 1.8.2
15
+
16
+ ### Patch Changes
17
+
18
+ - Support windows paths in the CLI
19
+ - Updated dependencies
20
+ - @telemetryos/development-application-host-ui@1.8.2
21
+
3
22
  ## 1.8.1
4
23
 
5
24
  ### Patch Changes
@@ -68,6 +68,7 @@ async function installPackages(projectPath) {
68
68
  const sdkInstall = spawn('npm', ['install', '@telemetryos/sdk'], {
69
69
  cwd: projectPath,
70
70
  stdio: 'inherit',
71
+ shell: true
71
72
  });
72
73
  sdkInstall.on('close', (code) => {
73
74
  if (code === 0) {
@@ -86,6 +87,7 @@ async function installPackages(projectPath) {
86
87
  const cliInstall = spawn('npm', ['install', '-D', '@telemetryos/cli'], {
87
88
  cwd: projectPath,
88
89
  stdio: 'inherit',
90
+ shell: true
89
91
  });
90
92
  cliInstall.on('close', (code) => {
91
93
  if (code === 0) {
@@ -1,5 +1,6 @@
1
1
  import { spawn } from 'child_process';
2
2
  import { readFile } from 'fs/promises';
3
+ import { fileURLToPath } from 'url';
3
4
  import http from 'http';
4
5
  import path from 'path';
5
6
  import readable from 'readline/promises';
@@ -60,7 +61,7 @@ export async function runServer(projectPath, flags) {
60
61
  }
61
62
  async function serveDevelopmentApplicationHostUI(projectPath, port, telemetryConfig) {
62
63
  const hostUiPath = await import.meta.resolve('@telemetryos/development-application-host-ui/dist');
63
- const serveConfig = { public: hostUiPath.replace('file://', '') };
64
+ const serveConfig = { public: fileURLToPath(hostUiPath) };
64
65
  const server = http.createServer();
65
66
  server.on('request', async (req, res) => {
66
67
  var _a, _b;
@@ -177,7 +178,7 @@ async function serveTelemetryApplication(rootPath, telemetryConfig) {
177
178
  const binPath = path.join(rootPath, 'node_modules', '.bin');
178
179
  const childProcess = spawn(runCommand, {
179
180
  shell: true,
180
- env: { ...process.env, FORCE_COLOR: '1', PATH: `${binPath}:${process.env.PATH}` },
181
+ env: { ...process.env, FORCE_COLOR: '1', PATH: `${binPath}${path.delimiter}${process.env.PATH}` },
181
182
  stdio: ['ignore', 'pipe', 'pipe'],
182
183
  cwd: rootPath,
183
184
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telemetryos/cli",
3
- "version": "1.8.1",
3
+ "version": "1.8.3",
4
4
  "description": "The official TelemetryOS application CLI package. Use it to build applications that run on the TelemetryOS platform",
5
5
  "type": "module",
6
6
  "bin": {
@@ -25,7 +25,7 @@
25
25
  "license": "",
26
26
  "repository": "github:TelemetryTV/Application-API",
27
27
  "dependencies": {
28
- "@telemetryos/development-application-host-ui": "^1.8.1",
28
+ "@telemetryos/development-application-host-ui": "^1.8.3",
29
29
  "@types/serve-handler": "^6.1.4",
30
30
  "commander": "^14.0.0",
31
31
  "inquirer": "^12.9.6",
@@ -0,0 +1,7 @@
1
+ # Agent Guidelines
2
+
3
+ This document outlines guidelines for interacting with and developing for AI agents within this project.
4
+
5
+ ## Important Notes
6
+
7
+ * **Claude-specific Guidelines:** If you are working with Claude models, please refer to `CLAUDE.md` for specific guidelines and best practices.
@@ -24,3 +24,7 @@ npm-debug.log*
24
24
  pnpm-debug.log*
25
25
  yarn-debug.log*
26
26
  yarn-error.log*
27
+
28
+ # Claude Code
29
+ .claude/settings.local.json
30
+ .claude/CLAUDE.local.md
@@ -6,5 +6,13 @@ export default defineConfig({
6
6
  plugins: [
7
7
  typescript(),
8
8
  react(),
9
+ {
10
+ name: 'suppress-urls',
11
+ configureServer(server) {
12
+ return () => {
13
+ server.printUrls = () => { }
14
+ }
15
+ },
16
+ },
9
17
  ],
10
18
  })