@tday-com/mcp 0.2.0 → 0.3.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.
Files changed (42) hide show
  1. package/README.md +25 -6
  2. package/dist/api-client.js +1 -18
  3. package/dist/cli.js +0 -3
  4. package/dist/config.js +0 -4
  5. package/dist/download-safety.js +2 -5
  6. package/dist/installer-agents.js +132 -216
  7. package/dist/installer-callback.js +0 -7
  8. package/dist/installer-slash-command.js +94 -35
  9. package/dist/installer.js +34 -11
  10. package/dist/package-info.js +14 -8
  11. package/dist/prompts.js +36 -0
  12. package/dist/result-format.js +7 -31
  13. package/dist/server.js +12 -6
  14. package/dist/tool-schemas.js +1 -15
  15. package/dist/tools-account.js +0 -4
  16. package/dist/tools-features.js +39 -0
  17. package/dist/tools-launch.js +43 -50
  18. package/dist/tools.js +5 -26
  19. package/package.json +5 -15
  20. package/dist/api-client.d.ts +0 -23
  21. package/dist/cli.d.ts +0 -2
  22. package/dist/config.d.ts +0 -7
  23. package/dist/demo-import.d.ts +0 -6
  24. package/dist/demo-import.js +0 -101
  25. package/dist/download-safety.d.ts +0 -7
  26. package/dist/installer-agents.d.ts +0 -17
  27. package/dist/installer-callback.d.ts +0 -13
  28. package/dist/installer-slash-command.d.ts +0 -12
  29. package/dist/installer.d.ts +0 -2
  30. package/dist/observability.d.ts +0 -1
  31. package/dist/observability.js +0 -77
  32. package/dist/package-info.d.ts +0 -11
  33. package/dist/result-format.d.ts +0 -4
  34. package/dist/server.d.ts +0 -1
  35. package/dist/tool-schemas.d.ts +0 -460
  36. package/dist/tools-account.d.ts +0 -6
  37. package/dist/tools-demo.d.ts +0 -11
  38. package/dist/tools-demo.js +0 -57
  39. package/dist/tools-knowledge.d.ts +0 -4
  40. package/dist/tools-knowledge.js +0 -111
  41. package/dist/tools-launch.d.ts +0 -4
  42. package/dist/tools.d.ts +0 -15
package/dist/tools.d.ts DELETED
@@ -1,15 +0,0 @@
1
- import type { TdayConfig } from "./config.js";
2
- import { type Tool } from "./tool-schemas.js";
3
- export type { ResponseFormat, Tool } from "./tool-schemas.js";
4
- export { responseFormatFromArgs, safePath } from "./tool-schemas.js";
5
- export { ALLOWED_IMAGE_HOSTS, MAX_IMAGE_BYTES, prepareOutputFilePath, sandboxFilePath, validateImageUrl, } from "./download-safety.js";
6
- export { formatToolResultText, stringifyResult, toStructuredContent, } from "./result-format.js";
7
- export { knowledgeTools, KNOWLEDGE_ENTRY_TYPES } from "./tools-knowledge.js";
8
- export declare const tools: Tool[];
9
- /**
10
- * The tools this account is shown: every tool, minus the demo-import tools unless the
11
- * account may import (tools-demo.ts). `tools` stays the full set so `callTool` can still
12
- * name them; their routes refuse an account without access.
13
- */
14
- export declare function listedTools(config: TdayConfig): Promise<Tool[]>;
15
- export declare function callTool(name: string, args: Record<string, unknown>, config: TdayConfig): Promise<unknown>;