silkweave 3.0.0 → 3.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.
package/README.md CHANGED
@@ -16,7 +16,7 @@ Silkweave is a TypeScript toolkit that lets you define application logic as port
16
16
  ┌──────▼──────┐ ┌─────▼─────┐ │ ┌─────▼──────┐ ┌────▼─────┐
17
17
  │ MCP (stdio) │ │ Fastify │ │ │ CLI │ │ Edge │
18
18
  │ MCP (http) │ │ REST API │ │ │ commander │ │serverless│
19
- │ │ │ + Swagger │ │ │ + clack │ │ MCP │
19
+ │ │ │ + Swagger │ │ │ console │ │ MCP │
20
20
  └─────────────┘ └───────────┘ │ └────────────┘ └──────────┘
21
21
 
22
22
  ```
@@ -60,7 +60,7 @@ Silkweave eliminates this duplication. You define an **Action** - a name, a Zod
60
60
 
61
61
  - **MCP adapters** register your actions as MCP tools with proper notifications, progress reporting, and error handling
62
62
  - **Fastify adapter** generates a REST API with full OpenAPI/Swagger documentation derived from your Zod schemas
63
- - **CLI adapter** builds a complete command-line interface with argument parsing, option flags, and beautiful terminal output via clack
63
+ - **CLI adapter** builds a complete command-line interface with argument parsing, option flags, and plain `console` output
64
64
 
65
65
  Your action doesn't know or care which transport is running it.
66
66
 
@@ -74,11 +74,10 @@ Silkweave is organized as a monorepo with modular packages. Install only what yo
74
74
  |---------|-----|-------------|
75
75
  | `@silkweave/core` | [![npm](https://img.shields.io/npm/v/@silkweave/core)](https://www.npmjs.com/package/@silkweave/core) | Core library - actions, adapters, builder, context, logger, utilities |
76
76
  | `@silkweave/mcp` | [![npm](https://img.shields.io/npm/v/@silkweave/mcp)](https://www.npmjs.com/package/@silkweave/mcp) | MCP adapters - stdio, streamable HTTP, CLI proxy |
77
- | `@silkweave/cli` | [![npm](https://img.shields.io/npm/v/@silkweave/cli)](https://www.npmjs.com/package/@silkweave/cli) | CLI adapter - commander + clack terminal UI |
77
+ | `@silkweave/cli` | [![npm](https://img.shields.io/npm/v/@silkweave/cli)](https://www.npmjs.com/package/@silkweave/cli) | CLI adapter - commander + plain `console` output |
78
78
  | `@silkweave/fastify` | [![npm](https://img.shields.io/npm/v/@silkweave/fastify)](https://www.npmjs.com/package/@silkweave/fastify) | Fastify REST adapter - auto-generated OpenAPI/Swagger docs |
79
79
  | `@silkweave/edge` | [![npm](https://img.shields.io/npm/v/@silkweave/edge)](https://www.npmjs.com/package/@silkweave/edge) | Edge / serverless adapter - stateless MCP over Web Standard Streamable HTTP |
80
80
  | `@silkweave/ai` | [![npm](https://img.shields.io/npm/v/@silkweave/ai)](https://www.npmjs.com/package/@silkweave/ai) | Vercel AI SDK bridge - `createChatAction()` + `silkweaveTransport()` for `useChat` over tRPC subscriptions |
81
- | `@silkweave/logger` | [![npm](https://img.shields.io/npm/v/@silkweave/logger)](https://www.npmjs.com/package/@silkweave/logger) | Logging utilities - pino, clack, and MCP notification support |
82
81
 
83
82
  **`@silkweave/core`** is always required. Then add the adapter packages for the transports you need:
84
83
 
@@ -373,7 +372,7 @@ fastify({
373
372
 
374
373
  ### CLI
375
374
 
376
- Transforms your actions into a complete command-line application with help text, option parsing, and styled terminal output via clack.
375
+ Transforms your actions into a complete command-line application with help text, option parsing, and plain `console` output.
377
376
 
378
377
  ```typescript
379
378
  import { silkweave } from '@silkweave/core'
@@ -923,7 +922,7 @@ interface FastifyAdapterOptions {
923
922
  // ...plus all FastifyHttpOptions (logger, connectionTimeout, etc.)
924
923
  }
925
924
 
926
- // CLI via commander + clack - from @silkweave/cli
925
+ // CLI via commander - from @silkweave/cli
927
926
  import { cli } from '@silkweave/cli'
928
927
  function cli(): AdapterFactory
929
928
 
@@ -1 +1,2 @@
1
- export * from "@silkweave/logger";
1
+ import { CreateLoggerOptions, LogFn, LogLevel, LogLevels, Logger, MessageOptions, ProgressOptions, buildLogLevels, createConsoleLogger, createLogger } from "@silkweave/core";
2
+ export { type CreateLoggerOptions, type LogFn, type LogLevel, LogLevels, type Logger, type MessageOptions, type ProgressOptions, buildLogLevels, createConsoleLogger, createLogger };
package/build/logger.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export * from "@silkweave/logger";
2
- export {};
1
+ import { LogLevels, buildLogLevels, createConsoleLogger, createLogger } from "@silkweave/core";
2
+ export { LogLevels, buildLogLevels, createConsoleLogger, createLogger };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "silkweave",
3
- "version": "3.0.0",
3
+ "version": "3.2.0",
4
4
  "description": "Silkweave Umbrella Package",
5
5
  "license": "MIT",
6
6
  "homepage": "https://www.silkweave.dev",
@@ -59,14 +59,13 @@
59
59
  }
60
60
  },
61
61
  "dependencies": {
62
- "@silkweave/auth": "3.0.0",
63
- "@silkweave/cli": "3.0.0",
64
- "@silkweave/core": "3.0.0",
65
- "@silkweave/fastify": "3.0.0",
66
- "@silkweave/logger": "3.0.0",
67
- "@silkweave/mcp": "3.0.0",
68
- "@silkweave/typegen": "3.0.0",
69
- "@silkweave/edge": "3.0.0"
62
+ "@silkweave/auth": "3.2.0",
63
+ "@silkweave/cli": "3.2.0",
64
+ "@silkweave/core": "3.2.0",
65
+ "@silkweave/fastify": "3.2.0",
66
+ "@silkweave/mcp": "3.2.0",
67
+ "@silkweave/edge": "3.2.0",
68
+ "@silkweave/typegen": "3.2.0"
70
69
  },
71
70
  "devDependencies": {
72
71
  "@eslint/js": "^10.0.1",