@winmatrix/daemon 0.2.5 → 0.2.7

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.
@@ -1,7 +1,2 @@
1
- export interface ClaudeSpawnSpec {
2
- command: string;
3
- shell: boolean;
4
- }
5
- /** Resolve the Claude CLI command without assuming a Windows .cmd shim exists. */
6
- export declare function resolveClaudeRuntimeCommand(runtime: string, platform?: NodeJS.Platform): ClaudeSpawnSpec;
1
+ export { resolveClaudeCommand as resolveClaudeRuntimeCommand, type ClaudeSpawnSpec, } from '@winmatrix/agent-sdk/adapters/claude/claudeCommand';
7
2
  //# sourceMappingURL=claudeCommand.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"claudeCommand.d.ts","sourceRoot":"","sources":["../../src/wrapper/claudeCommand.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,OAAO,CAAC;CAChB;AAED,kFAAkF;AAClF,wBAAgB,2BAA2B,CACzC,OAAO,EAAE,MAAM,EACf,QAAQ,kBAAmB,GAC1B,eAAe,CAWjB"}
1
+ {"version":3,"file":"claudeCommand.d.ts","sourceRoot":"","sources":["../../src/wrapper/claudeCommand.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,IAAI,2BAA2B,EACnD,KAAK,eAAe,GACrB,MAAM,oDAAoD,CAAC"}
@@ -1,12 +1,2 @@
1
- /** Resolve the Claude CLI command without assuming a Windows .cmd shim exists. */
2
- export function resolveClaudeRuntimeCommand(runtime, platform = process.platform) {
3
- if (platform !== 'win32') {
4
- return { command: runtime, shell: false };
5
- }
6
- const normalized = runtime.trim().toLowerCase();
7
- if (normalized === 'claude.cmd') {
8
- return { command: 'claude.cmd', shell: true };
9
- }
10
- return { command: runtime, shell: false };
11
- }
1
+ export { resolveClaudeCommand as resolveClaudeRuntimeCommand, } from '@winmatrix/agent-sdk/adapters/claude/claudeCommand';
12
2
  //# sourceMappingURL=claudeCommand.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"claudeCommand.js","sourceRoot":"","sources":["../../src/wrapper/claudeCommand.ts"],"names":[],"mappings":"AAKA,kFAAkF;AAClF,MAAM,UAAU,2BAA2B,CACzC,OAAe,EACf,QAAQ,GAAG,OAAO,CAAC,QAAQ;IAE3B,IAAI,QAAQ,KAAK,OAAO,EAAE,CAAC;QACzB,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC;IAC5C,CAAC;IAED,MAAM,UAAU,GAAG,OAAO,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;IAChD,IAAI,UAAU,KAAK,YAAY,EAAE,CAAC;QAChC,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IAChD,CAAC;IAED,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC;AAC5C,CAAC"}
1
+ {"version":3,"file":"claudeCommand.js","sourceRoot":"","sources":["../../src/wrapper/claudeCommand.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,IAAI,2BAA2B,GAEpD,MAAM,oDAAoD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@winmatrix/daemon",
3
- "version": "0.2.5",
3
+ "version": "0.2.7",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -28,8 +28,8 @@
28
28
  "node": ">=18"
29
29
  },
30
30
  "dependencies": {
31
- "@winmatrix/agent-sdk": "^0.1.4",
32
- "@winmatrix/protocol": "^1.0.0",
31
+ "@winmatrix/agent-sdk": "^0.1.6",
32
+ "@winmatrix/protocol": "^1.0.2",
33
33
  "ws": "^8.16.0"
34
34
  },
35
35
  "devDependencies": {