skiller 0.11.0 → 0.11.1

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.
@@ -95,20 +95,26 @@ class CodexCliAgent {
95
95
  }
96
96
  // Add the skiller servers
97
97
  for (const [serverName, serverConfig] of Object.entries(skillerServers)) {
98
- // Create a properly formatted MCP server entry
99
- const mcpServer = {
100
- command: serverConfig.command,
101
- };
102
- if (serverConfig.args) {
103
- mcpServer.args = serverConfig.args;
98
+ const mcpServer = {};
99
+ if (serverConfig.url) {
100
+ mcpServer.url = serverConfig.url;
101
+ const httpHeaders = serverConfig.http_headers ?? serverConfig.headers;
102
+ if (httpHeaders) {
103
+ mcpServer.http_headers = httpHeaders;
104
+ }
104
105
  }
105
- // Format env as an inline table
106
- if (serverConfig.env) {
107
- mcpServer.env = serverConfig.env;
108
- }
109
- // Handle additional properties from remote server transformation
110
- if (serverConfig.headers) {
111
- mcpServer.headers = serverConfig.headers;
106
+ else if (serverConfig.command) {
107
+ mcpServer.command = serverConfig.command;
108
+ if (serverConfig.args) {
109
+ mcpServer.args = serverConfig.args;
110
+ }
111
+ // Format env as an inline table
112
+ if (serverConfig.env) {
113
+ mcpServer.env = serverConfig.env;
114
+ }
115
+ if (serverConfig.headers) {
116
+ mcpServer.headers = serverConfig.headers;
117
+ }
112
118
  }
113
119
  if (updatedConfig.mcp_servers) {
114
120
  updatedConfig.mcp_servers[serverName] = mcpServer;
@@ -131,7 +137,7 @@ class CodexCliAgent {
131
137
  return true;
132
138
  }
133
139
  supportsMcpRemote() {
134
- return false; // Codex CLI only supports STDIO based on PR description
140
+ return true;
135
141
  }
136
142
  supportsNativeSkills() {
137
143
  return true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skiller",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "description": "Skiller — apply the same rules to all coding agents",
5
5
  "main": "dist/lib.js",
6
6
  "publishConfig": {