@muxoai/platform 1.4.1 → 1.4.3

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 (53) hide show
  1. package/.agents/plugins/marketplace.json +1 -1
  2. package/.claude-plugin/marketplace.json +2 -2
  3. package/README.md +1 -1
  4. package/dist/cli.js +94 -3
  5. package/dist/composio-catalog.d.ts +177 -1
  6. package/dist/composio-catalog.js +1427 -7
  7. package/dist/config.d.ts +6 -0
  8. package/dist/config.js +11 -1
  9. package/dist/durable-workflow.d.ts +71 -4
  10. package/dist/durable-workflow.js +199 -5
  11. package/dist/engine.d.ts +82 -3
  12. package/dist/engine.js +406 -41
  13. package/dist/index.d.ts +3 -0
  14. package/dist/index.js +3 -0
  15. package/dist/mcp-schema.d.ts +162 -1
  16. package/dist/mcp-schema.js +1544 -40
  17. package/dist/mcp.d.ts +2 -2
  18. package/dist/mcp.js +474 -26
  19. package/dist/memory-graph.d.ts +26 -2
  20. package/dist/memory-graph.js +127 -7
  21. package/dist/oss-suite.d.ts +217 -0
  22. package/dist/oss-suite.js +836 -0
  23. package/dist/policy.d.ts +108 -1
  24. package/dist/policy.js +406 -1
  25. package/dist/providers/composio-instant.js +38 -3
  26. package/dist/providers/composio-sdk.d.ts +59 -2
  27. package/dist/providers/composio-sdk.js +273 -59
  28. package/dist/providers/stripe-projects.d.ts +4 -0
  29. package/dist/providers/stripe-projects.js +548 -126
  30. package/dist/sdk.d.ts +24 -1
  31. package/dist/sdk.js +53 -2
  32. package/dist/server.js +659 -64
  33. package/dist/store.js +2 -0
  34. package/dist/types.d.ts +34 -1
  35. package/dist/ui/console-html.d.ts +31 -1
  36. package/dist/ui/console-html.js +922 -368
  37. package/dist/ui/design-tokens.js +1 -1
  38. package/dist/version.d.ts +1 -1
  39. package/dist/version.js +1 -1
  40. package/package.json +3 -2
  41. package/plugins/muxo/.claude-plugin/plugin.json +2 -2
  42. package/plugins/muxo/.codex-plugin/plugin.json +15 -8
  43. package/plugins/muxo/.cursor-plugin/plugin.json +30 -0
  44. package/plugins/muxo/hooks/session-start.sh +15 -3
  45. package/plugins/muxo/hooks/user-prompt-submit.sh +14 -1
  46. package/plugins/muxo/mcp.json +0 -10
  47. package/plugins/muxo/plugin.json +4 -4
  48. package/plugins/muxo/skills/muxo/SKILL.md +25 -16
  49. package/plugins/muxo/skills/muxo/references/cli.md +5 -1
  50. package/plugins/muxo/skills/muxo/references/mcp.md +11 -6
  51. package/plugins/muxo/skills/muxo-activity-summary/SKILL.md +81 -0
  52. package/plugins/muxo/skills/setup/SKILL.md +1 -1
  53. package/src/catalogues/stripe-projects-catalog.json +140 -0
package/dist/sdk.d.ts CHANGED
@@ -281,7 +281,12 @@ export declare class MuxoClient {
281
281
  publicKeyHex: string;
282
282
  explanation: HumanFriendlyExplanation;
283
283
  }>;
284
- getMemoryGraph(query?: string): Promise<{
284
+ getMemoryGraph(queryOrOptions?: string | {
285
+ query?: string;
286
+ asOf?: string;
287
+ focalEntity?: string;
288
+ maxHops?: number;
289
+ }): Promise<{
285
290
  ok: true;
286
291
  } & MemoryKnowledgeGraph>;
287
292
  startConnection(paramsOrProvider: string | {
@@ -948,4 +953,22 @@ export declare class MuxoClient {
948
953
  }): Promise<Record<string, unknown>>;
949
954
  advanceDurableWorkflow(workflowId: string, eventPayload?: Record<string, unknown>): Promise<Record<string, unknown>>;
950
955
  exportGovernanceArchive(): Promise<Record<string, unknown>>;
956
+ getWorkflowHistory(workflowId: string): Promise<Record<string, unknown>>;
957
+ signalDurableWorkflow(workflowId: string, signalName: string, payload?: Record<string, unknown>): Promise<Record<string, unknown>>;
958
+ rollbackDurableWorkflow(workflowId: string, params?: {
959
+ reason?: string;
960
+ failedStep?: string;
961
+ }): Promise<Record<string, unknown>>;
962
+ getCedarPolicy(): Promise<Record<string, unknown>>;
963
+ evaluateCedarPolicy(params: {
964
+ toolSlug: string;
965
+ input?: Record<string, unknown>;
966
+ riskLevel?: RiskLevel;
967
+ creditCost?: number;
968
+ lane?: string;
969
+ }): Promise<Record<string, unknown>>;
970
+ getOtelTraces(limit?: number): Promise<Record<string, unknown>>;
971
+ listPlaybooks(): Promise<Record<string, unknown>>;
972
+ runPlaybook(slug: string, input?: Record<string, unknown>): Promise<Record<string, unknown>>;
973
+ getRoiAnalytics(): Promise<Record<string, unknown>>;
951
974
  }
package/dist/sdk.js CHANGED
@@ -240,8 +240,20 @@ export class MuxoClient {
240
240
  async verifyReceiptChain(limit = 100) {
241
241
  return this.request(`/api/v1/receipts/verify-chain?limit=${encodeURIComponent(String(limit))}`);
242
242
  }
243
- async getMemoryGraph(query) {
244
- const suffix = query ? `?query=${encodeURIComponent(query)}` : "";
243
+ async getMemoryGraph(queryOrOptions) {
244
+ const opts = typeof queryOrOptions === "string"
245
+ ? { query: queryOrOptions }
246
+ : queryOrOptions || {};
247
+ const qs = new URLSearchParams();
248
+ if (opts.query)
249
+ qs.set("query", opts.query);
250
+ if (opts.asOf)
251
+ qs.set("as_of", opts.asOf);
252
+ if (opts.focalEntity)
253
+ qs.set("focal_entity", opts.focalEntity);
254
+ if (opts.maxHops !== undefined)
255
+ qs.set("max_hops", String(opts.maxHops));
256
+ const suffix = qs.toString() ? `?${qs.toString()}` : "";
245
257
  return this.request(`/api/v1/memory/graph${suffix}`);
246
258
  }
247
259
  async startConnection(paramsOrProvider) {
@@ -745,4 +757,43 @@ export class MuxoClient {
745
757
  async exportGovernanceArchive() {
746
758
  return this.request("/api/v1/governance/archive");
747
759
  }
760
+ async getWorkflowHistory(workflowId) {
761
+ return this.request(`/api/v1/workflows/${encodeURIComponent(workflowId)}/history`);
762
+ }
763
+ async signalDurableWorkflow(workflowId, signalName, payload) {
764
+ return this.request(`/api/v1/workflows/${encodeURIComponent(workflowId)}/signal`, {
765
+ method: "POST",
766
+ body: { signalName, payload: payload || {} },
767
+ });
768
+ }
769
+ async rollbackDurableWorkflow(workflowId, params) {
770
+ return this.request(`/api/v1/workflows/${encodeURIComponent(workflowId)}/rollback`, {
771
+ method: "POST",
772
+ body: params || {},
773
+ });
774
+ }
775
+ async getCedarPolicy() {
776
+ return this.request("/api/v1/governance/cedar");
777
+ }
778
+ async evaluateCedarPolicy(params) {
779
+ return this.request("/api/v1/governance/cedar/evaluate", {
780
+ method: "POST",
781
+ body: params,
782
+ });
783
+ }
784
+ async getOtelTraces(limit = 25) {
785
+ return this.request(`/api/v1/telemetry/otlp?limit=${limit}`);
786
+ }
787
+ async listPlaybooks() {
788
+ return this.request("/api/v1/playbooks");
789
+ }
790
+ async runPlaybook(slug, input) {
791
+ return this.request(`/api/v1/playbooks/${encodeURIComponent(slug)}/run`, {
792
+ method: "POST",
793
+ body: { input: input || {} },
794
+ });
795
+ }
796
+ async getRoiAnalytics() {
797
+ return this.request("/api/v1/analytics/roi");
798
+ }
748
799
  }