@agentconnect/cli 0.1.7 → 0.2.0

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,5 +1,5 @@
1
1
  import { type ErrorObject } from 'ajv';
2
- import type { AppManifest } from './types.js';
2
+ import type { AppManifest } from '@agentconnect/host';
3
3
  export declare function readManifestFromDir(appPath: string): Promise<AppManifest>;
4
4
  export declare function readManifestFromZip(zipPath: string): Promise<AppManifest>;
5
5
  export declare function loadManifestSchema(): Promise<object>;
@@ -1,4 +1,4 @@
1
- import type { RegistryValidationResult } from './types.js';
1
+ import type { RegistryValidationResult } from '@agentconnect/host';
2
2
  export interface ValidateRegistryOptions {
3
3
  registryPath: string;
4
4
  requireSignature?: boolean;
@@ -1,4 +1,4 @@
1
- import type { AppManifest } from './types.js';
1
+ import type { AppManifest } from '@agentconnect/host';
2
2
  export interface PublishPackageOptions {
3
3
  zipPath: string;
4
4
  signaturePath?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentconnect/cli",
3
- "version": "0.1.7",
3
+ "version": "0.2.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "homepage": "https://github.com/rayzhudev/agent-connect",
@@ -28,19 +28,17 @@
28
28
  "dist"
29
29
  ],
30
30
  "scripts": {
31
- "build": "tsc && esbuild src/index.ts --bundle --platform=node --format=esm --target=node20 --outfile=dist/index.js --banner:js='#!/usr/bin/env node' --packages=external",
31
+ "build": "bun run --cwd ../host build && tsc && esbuild src/index.ts --bundle --platform=node --format=esm --target=node20 --outfile=dist/index.js --banner:js='#!/usr/bin/env node' --packages=external",
32
32
  "dev": "tsc --watch"
33
33
  },
34
34
  "dependencies": {
35
+ "@agentconnect/host": "^0.2.0",
35
36
  "ajv": "^8.17.1",
36
- "node-pty": "^1.1.0",
37
- "ws": "^8.17.0",
38
37
  "yauzl": "^2.10.0",
39
38
  "yazl": "^2.5.1"
40
39
  },
41
40
  "devDependencies": {
42
41
  "@types/node": "^20",
43
- "@types/ws": "^8",
44
42
  "@types/yauzl": "^2",
45
43
  "@types/yazl": "^2",
46
44
  "typescript": "^5.6.2",