@mhingston5/conduit 1.1.4 → 1.1.6

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
@@ -97,6 +97,17 @@ npx conduit auth \
97
97
 
98
98
  This will start a temporary local server, open your browser for authorization, and print the generated `credentials` block for your `conduit.yaml`.
99
99
 
100
+ For GitHub MCP (remote server OAuth), you can auto-discover endpoints and use PKCE:
101
+
102
+ ```bash
103
+ npx conduit auth \
104
+ --client-id <id> \
105
+ --client-secret <secret> \
106
+ --mcp-url https://api.githubcopilot.com/mcp/ \
107
+ --scopes repo,read:org \
108
+ --pkce
109
+ ```
110
+
100
111
  ### 4. Execute TypeScript
101
112
 
102
113
  Using any [MCP Client](https://modelcontextprotocol.io/clients) (Claude Desktop, etc.), call `mcp_execute_typescript`:
@@ -104,7 +115,7 @@ Using any [MCP Client](https://modelcontextprotocol.io/clients) (Claude Desktop,
104
115
  ```ts
105
116
  // The agent writes this code:
106
117
  const result = await tools.filesystem.list_allowed_directories();
107
- console.log("Files:", result);
118
+ console.log("Directories:", JSON.stringify(result.content));
108
119
  ```
109
120
 
110
121
  ### 5. Result
@@ -113,7 +124,7 @@ Conduit runs the code, handles the tool call securely, and returns:
113
124
 
114
125
  ```json
115
126
  {
116
- "stdout": "Files: ['/tmp']\n",
127
+ "stdout": "Directories: [{\"type\":\"text\",\"text\":\"/tmp\"}]\n",
117
128
  "stderr": "",
118
129
  "exitCode": 0
119
130
  }