@muxoai/platform 1.4.1 → 1.4.2

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 (43) 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 +6 -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/engine.d.ts +18 -1
  10. package/dist/engine.js +259 -35
  11. package/dist/mcp-schema.d.ts +162 -1
  12. package/dist/mcp-schema.js +1523 -40
  13. package/dist/mcp.d.ts +2 -2
  14. package/dist/mcp.js +412 -23
  15. package/dist/policy.d.ts +108 -1
  16. package/dist/policy.js +406 -1
  17. package/dist/providers/composio-instant.js +38 -3
  18. package/dist/providers/composio-sdk.d.ts +59 -2
  19. package/dist/providers/composio-sdk.js +273 -59
  20. package/dist/providers/stripe-projects.d.ts +4 -0
  21. package/dist/providers/stripe-projects.js +548 -126
  22. package/dist/server.js +531 -61
  23. package/dist/store.js +2 -0
  24. package/dist/types.d.ts +15 -0
  25. package/dist/ui/console-html.d.ts +31 -1
  26. package/dist/ui/console-html.js +922 -368
  27. package/dist/ui/design-tokens.js +1 -1
  28. package/dist/version.d.ts +1 -1
  29. package/dist/version.js +1 -1
  30. package/package.json +3 -2
  31. package/plugins/muxo/.claude-plugin/plugin.json +2 -2
  32. package/plugins/muxo/.codex-plugin/plugin.json +15 -8
  33. package/plugins/muxo/.cursor-plugin/plugin.json +30 -0
  34. package/plugins/muxo/hooks/session-start.sh +15 -3
  35. package/plugins/muxo/hooks/user-prompt-submit.sh +14 -1
  36. package/plugins/muxo/mcp.json +0 -10
  37. package/plugins/muxo/plugin.json +4 -4
  38. package/plugins/muxo/skills/muxo/SKILL.md +25 -16
  39. package/plugins/muxo/skills/muxo/references/cli.md +5 -1
  40. package/plugins/muxo/skills/muxo/references/mcp.md +11 -6
  41. package/plugins/muxo/skills/muxo-activity-summary/SKILL.md +81 -0
  42. package/plugins/muxo/skills/setup/SKILL.md +1 -1
  43. package/src/catalogues/stripe-projects-catalog.json +140 -0
package/dist/store.js CHANGED
@@ -63,11 +63,13 @@ export class MuxoStore {
63
63
  vaultKey;
64
64
  constructor(dbPath, vaultKey) {
65
65
  this.db = new DatabaseSync(dbPath);
66
+ this.db.exec("PRAGMA busy_timeout = 10000;");
66
67
  this.vaultKey = vaultKey;
67
68
  this.initSchema();
68
69
  }
69
70
  initSchema() {
70
71
  this.db.exec(`
72
+ PRAGMA busy_timeout = 10000;
71
73
  PRAGMA journal_mode = WAL;
72
74
  PRAGMA foreign_keys = ON;
73
75
 
package/dist/types.d.ts CHANGED
@@ -33,10 +33,12 @@ export interface HumanFriendlyExplanation {
33
33
  */
34
34
  export interface HumanHandoff {
35
35
  kind: "approval" | "oauth" | "byok";
36
+ brand?: string;
36
37
  url: string | null;
37
38
  ctaLabel: string;
38
39
  headline: string;
39
40
  instructions: string;
41
+ markdownForUser?: string;
40
42
  planId?: string;
41
43
  provider?: string;
42
44
  }
@@ -497,6 +499,19 @@ export interface ActionPlan {
497
499
  decisionRecord?: GovernanceDecisionRecord | null;
498
500
  memoryContext?: MemoryContextSummary | null;
499
501
  supplierSettlement?: SupplierSettlement | null;
502
+ surfaceVersion?: string;
503
+ surfaceAudience?: string;
504
+ surfaceConnectionId?: string | null;
505
+ surfaceContext?: Array<{
506
+ recordId: string;
507
+ revision: number;
508
+ contentHash: string;
509
+ }>;
510
+ surfaceFunding?: {
511
+ resource_id: string;
512
+ mode: "customer_funded" | "muxo_funded";
513
+ } | null;
514
+ surfaceOperationId?: string;
500
515
  createdAt: string;
501
516
  expiresAt: string;
502
517
  }
@@ -1,4 +1,4 @@
1
- export type ConsoleView = "overview" | "setup" | "activity" | "billing" | "login" | "signup";
1
+ export type ConsoleView = "overview" | "catalog" | "setup" | "workspaces" | "activity" | "billing" | "login" | "signup";
2
2
  /** Every path that serves the console shell, mapped to the view it opens. */
3
3
  export declare const CONSOLE_ROUTES: Readonly<Record<string, ConsoleView>>;
4
4
  export declare function isConsolePath(pathname: string): boolean;
@@ -32,3 +32,33 @@ export interface ApprovalPageOptions {
32
32
  }
33
33
  /** One-click approval screen for plans held by workspace guardrails (`/approve/:planId`). */
34
34
  export declare function renderApprovalPageHtml(opts: ApprovalPageOptions): string;
35
+ export interface OAuthConnectPageField {
36
+ name: string;
37
+ type?: string;
38
+ label?: string;
39
+ description?: string;
40
+ required?: boolean;
41
+ default?: string | null;
42
+ }
43
+ export interface OAuthConnectPageOptions {
44
+ token: string;
45
+ toolkitSlug: string;
46
+ toolkitName: string;
47
+ workspaceId?: string;
48
+ authMode?: string;
49
+ status?: string;
50
+ callbackUrl?: string | null;
51
+ expectedInputFields?: OAuthConnectPageField[];
52
+ error?: string | null;
53
+ }
54
+ /** Muxo-branded OAuth connection handoff screen (`/oauth/connect/:token`). */
55
+ export declare function renderOAuthConnectPageHtml(opts: OAuthConnectPageOptions): string;
56
+ export interface OAuthCallbackPageOptions {
57
+ providerSlug: string;
58
+ providerName: string;
59
+ status: string;
60
+ workspaceId: string;
61
+ externalAccountId?: string | null;
62
+ }
63
+ /** Muxo-branded OAuth callback completion screen (`/oauth/callback`). */
64
+ export declare function renderOAuthCallbackPageHtml(opts: OAuthCallbackPageOptions): string;