@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.
- package/.agents/plugins/marketplace.json +1 -1
- package/.claude-plugin/marketplace.json +2 -2
- package/README.md +1 -1
- package/dist/cli.js +94 -3
- package/dist/composio-catalog.d.ts +177 -1
- package/dist/composio-catalog.js +1427 -7
- package/dist/config.d.ts +6 -0
- package/dist/config.js +11 -1
- package/dist/durable-workflow.d.ts +71 -4
- package/dist/durable-workflow.js +199 -5
- package/dist/engine.d.ts +82 -3
- package/dist/engine.js +406 -41
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/dist/mcp-schema.d.ts +162 -1
- package/dist/mcp-schema.js +1544 -40
- package/dist/mcp.d.ts +2 -2
- package/dist/mcp.js +474 -26
- package/dist/memory-graph.d.ts +26 -2
- package/dist/memory-graph.js +127 -7
- package/dist/oss-suite.d.ts +217 -0
- package/dist/oss-suite.js +836 -0
- package/dist/policy.d.ts +108 -1
- package/dist/policy.js +406 -1
- package/dist/providers/composio-instant.js +38 -3
- package/dist/providers/composio-sdk.d.ts +59 -2
- package/dist/providers/composio-sdk.js +273 -59
- package/dist/providers/stripe-projects.d.ts +4 -0
- package/dist/providers/stripe-projects.js +548 -126
- package/dist/sdk.d.ts +24 -1
- package/dist/sdk.js +53 -2
- package/dist/server.js +659 -64
- package/dist/store.js +2 -0
- package/dist/types.d.ts +34 -1
- package/dist/ui/console-html.d.ts +31 -1
- package/dist/ui/console-html.js +922 -368
- package/dist/ui/design-tokens.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -2
- package/plugins/muxo/.claude-plugin/plugin.json +2 -2
- package/plugins/muxo/.codex-plugin/plugin.json +15 -8
- package/plugins/muxo/.cursor-plugin/plugin.json +30 -0
- package/plugins/muxo/hooks/session-start.sh +15 -3
- package/plugins/muxo/hooks/user-prompt-submit.sh +14 -1
- package/plugins/muxo/mcp.json +0 -10
- package/plugins/muxo/plugin.json +4 -4
- package/plugins/muxo/skills/muxo/SKILL.md +25 -16
- package/plugins/muxo/skills/muxo/references/cli.md +5 -1
- package/plugins/muxo/skills/muxo/references/mcp.md +11 -6
- package/plugins/muxo/skills/muxo-activity-summary/SKILL.md +81 -0
- package/plugins/muxo/skills/setup/SKILL.md +1 -1
- 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(
|
|
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(
|
|
244
|
-
const
|
|
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
|
}
|