@kmmao/happy-wire 0.22.0 → 0.22.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.
package/dist/index.cjs CHANGED
@@ -2173,11 +2173,13 @@ const McpCallResponseSchema = z.z.object({
2173
2173
  "invalid_arguments",
2174
2174
  "permission_denied",
2175
2175
  /**
2176
- * SDK 0.2.119 defines the `mcp_call` control protocol type but does
2177
- * not expose a public runtime method on the `Query` interface. Until
2178
- * upstream lands a `callMcpTool()` / equivalent, the CLI handler
2179
- * returns this code so the App can surface an honest "waiting on
2180
- * SDK" state instead of masking the gap as a server error.
2176
+ * The agent runtime has no programmatic MCP-tool invocation surface.
2177
+ * In PTY mode the Claude TUI owns the MCP connections itself; the
2178
+ * historical Claude Agent SDK also never exposed a runtime
2179
+ * `callMcpTool()` on `Query`. The CLI handler returns this code so
2180
+ * the App can surface an honest "not supported" state instead of
2181
+ * masking the gap as a server error. Code name preserved for wire
2182
+ * compatibility across older CLI / App builds.
2181
2183
  */
2182
2184
  "sdk_not_implemented",
2183
2185
  "unknown"
package/dist/index.d.cts CHANGED
@@ -2326,8 +2326,8 @@ declare const KnowledgeEntryTypeSchema: z.ZodEnum<{
2326
2326
  }>;
2327
2327
  type KnowledgeEntryType = z.infer<typeof KnowledgeEntryTypeSchema>;
2328
2328
  declare const KnowledgeContributorTypeSchema: z.ZodEnum<{
2329
- session: "session";
2330
2329
  user: "user";
2330
+ session: "session";
2331
2331
  supervisor: "supervisor";
2332
2332
  }>;
2333
2333
  type KnowledgeContributorType = z.infer<typeof KnowledgeContributorTypeSchema>;
@@ -2361,8 +2361,8 @@ declare const CreateKnowledgeEntryBodySchema: z.ZodObject<{
2361
2361
  repo_map: "repo_map";
2362
2362
  }>;
2363
2363
  contributorType: z.ZodEnum<{
2364
- session: "session";
2365
2364
  user: "user";
2365
+ session: "session";
2366
2366
  supervisor: "supervisor";
2367
2367
  }>;
2368
2368
  action: z.ZodEnum<{
package/dist/index.d.mts CHANGED
@@ -2326,8 +2326,8 @@ declare const KnowledgeEntryTypeSchema: z.ZodEnum<{
2326
2326
  }>;
2327
2327
  type KnowledgeEntryType = z.infer<typeof KnowledgeEntryTypeSchema>;
2328
2328
  declare const KnowledgeContributorTypeSchema: z.ZodEnum<{
2329
- session: "session";
2330
2329
  user: "user";
2330
+ session: "session";
2331
2331
  supervisor: "supervisor";
2332
2332
  }>;
2333
2333
  type KnowledgeContributorType = z.infer<typeof KnowledgeContributorTypeSchema>;
@@ -2361,8 +2361,8 @@ declare const CreateKnowledgeEntryBodySchema: z.ZodObject<{
2361
2361
  repo_map: "repo_map";
2362
2362
  }>;
2363
2363
  contributorType: z.ZodEnum<{
2364
- session: "session";
2365
2364
  user: "user";
2365
+ session: "session";
2366
2366
  supervisor: "supervisor";
2367
2367
  }>;
2368
2368
  action: z.ZodEnum<{
package/dist/index.mjs CHANGED
@@ -2153,11 +2153,13 @@ const McpCallResponseSchema = z$1.object({
2153
2153
  "invalid_arguments",
2154
2154
  "permission_denied",
2155
2155
  /**
2156
- * SDK 0.2.119 defines the `mcp_call` control protocol type but does
2157
- * not expose a public runtime method on the `Query` interface. Until
2158
- * upstream lands a `callMcpTool()` / equivalent, the CLI handler
2159
- * returns this code so the App can surface an honest "waiting on
2160
- * SDK" state instead of masking the gap as a server error.
2156
+ * The agent runtime has no programmatic MCP-tool invocation surface.
2157
+ * In PTY mode the Claude TUI owns the MCP connections itself; the
2158
+ * historical Claude Agent SDK also never exposed a runtime
2159
+ * `callMcpTool()` on `Query`. The CLI handler returns this code so
2160
+ * the App can surface an honest "not supported" state instead of
2161
+ * masking the gap as a server error. Code name preserved for wire
2162
+ * compatibility across older CLI / App builds.
2161
2163
  */
2162
2164
  "sdk_not_implemented",
2163
2165
  "unknown"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmmao/happy-wire",
3
- "version": "0.22.0",
3
+ "version": "0.22.1",
4
4
  "description": "Shared message wire types and Zod schemas for Happy clients and services",
5
5
  "author": "kmmao",
6
6
  "license": "MIT",