@oneie/sdk 0.14.2 → 0.14.4
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/generated/base-manifest.d.ts +3 -0
- package/dist/generated/base-manifest.d.ts.map +1 -0
- package/dist/generated/base-manifest.js +594 -0
- package/dist/generated/base-manifest.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/receivers.d.ts +75 -1
- package/dist/receivers.d.ts.map +1 -1
- package/dist/receivers.js +64 -1
- package/dist/receivers.js.map +1 -1
- package/dist/tql-to-manifest.d.ts +3 -0
- package/dist/tql-to-manifest.d.ts.map +1 -0
- package/dist/tql-to-manifest.js +108 -0
- package/dist/tql-to-manifest.js.map +1 -0
- package/package.json +2 -1
package/dist/receivers.d.ts
CHANGED
|
@@ -384,6 +384,15 @@ export declare const RECEIVERS: {
|
|
|
384
384
|
}, z.core.$strip>, z.ZodObject<{
|
|
385
385
|
ok: z.ZodBoolean;
|
|
386
386
|
}, z.core.$strip>>;
|
|
387
|
+
"world:mint-owner-key": Receiver<z.ZodObject<{
|
|
388
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
389
|
+
label: z.ZodOptional<z.ZodString>;
|
|
390
|
+
validDays: z.ZodOptional<z.ZodNumber>;
|
|
391
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
392
|
+
key: z.ZodString;
|
|
393
|
+
keyId: z.ZodString;
|
|
394
|
+
slug: z.ZodString;
|
|
395
|
+
}, z.core.$strip>>;
|
|
387
396
|
"world:declare-types": Receiver<z.ZodObject<{
|
|
388
397
|
group: z.ZodString;
|
|
389
398
|
types: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -679,7 +688,9 @@ export declare const RECEIVERS: {
|
|
|
679
688
|
role: z.ZodString;
|
|
680
689
|
}, z.core.$strip>>;
|
|
681
690
|
}, z.core.$strip>>;
|
|
682
|
-
"billing:clients": Receiver<z.ZodOptional<z.ZodObject<{
|
|
691
|
+
"billing:clients": Receiver<z.ZodOptional<z.ZodObject<{
|
|
692
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
693
|
+
}, z.core.$strip>>, z.ZodObject<{
|
|
683
694
|
agency: z.ZodNullable<z.ZodObject<{
|
|
684
695
|
slug: z.ZodString;
|
|
685
696
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -697,6 +708,15 @@ export declare const RECEIVERS: {
|
|
|
697
708
|
cap: z.ZodNullable<z.ZodNumber>;
|
|
698
709
|
}, z.core.$strip>>;
|
|
699
710
|
}, z.core.$strip>>;
|
|
711
|
+
"billing:set-markup": Receiver<z.ZodObject<{
|
|
712
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
713
|
+
markup_pct: z.ZodNumber;
|
|
714
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
715
|
+
ok: z.ZodBoolean;
|
|
716
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
717
|
+
markup_pct: z.ZodOptional<z.ZodNumber>;
|
|
718
|
+
error: z.ZodOptional<z.ZodString>;
|
|
719
|
+
}, z.core.$strip>>;
|
|
700
720
|
"subscriptions:register": Receiver<z.ZodObject<{
|
|
701
721
|
receiver: z.ZodString;
|
|
702
722
|
tags: z.ZodArray<z.ZodString>;
|
|
@@ -2711,6 +2731,60 @@ export declare const RECEIVERS: {
|
|
|
2711
2731
|
query_id: z.ZodString;
|
|
2712
2732
|
outcome: z.ZodString;
|
|
2713
2733
|
}, z.core.$strip>>;
|
|
2734
|
+
"seo:backlinks-summary": Receiver<z.ZodObject<{
|
|
2735
|
+
target: z.ZodString;
|
|
2736
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
2737
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2738
|
+
ok: z.ZodBoolean;
|
|
2739
|
+
data: z.ZodOptional<z.ZodUnknown>;
|
|
2740
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2741
|
+
}, z.core.$strip>>;
|
|
2742
|
+
"seo:llm-mentions": Receiver<z.ZodObject<{
|
|
2743
|
+
target: z.ZodString;
|
|
2744
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2745
|
+
ok: z.ZodBoolean;
|
|
2746
|
+
data: z.ZodOptional<z.ZodUnknown>;
|
|
2747
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2748
|
+
}, z.core.$strip>>;
|
|
2749
|
+
"seo:keywords-for-keyword": Receiver<z.ZodObject<{
|
|
2750
|
+
keyword: z.ZodString;
|
|
2751
|
+
location_code: z.ZodOptional<z.ZodNumber>;
|
|
2752
|
+
language_code: z.ZodOptional<z.ZodString>;
|
|
2753
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2754
|
+
ok: z.ZodBoolean;
|
|
2755
|
+
data: z.ZodOptional<z.ZodUnknown>;
|
|
2756
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2757
|
+
}, z.core.$strip>>;
|
|
2758
|
+
"seo:serp": Receiver<z.ZodObject<{
|
|
2759
|
+
keyword: z.ZodString;
|
|
2760
|
+
location_code: z.ZodOptional<z.ZodNumber>;
|
|
2761
|
+
language_code: z.ZodOptional<z.ZodString>;
|
|
2762
|
+
device: z.ZodOptional<z.ZodString>;
|
|
2763
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2764
|
+
ok: z.ZodBoolean;
|
|
2765
|
+
data: z.ZodOptional<z.ZodUnknown>;
|
|
2766
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2767
|
+
}, z.core.$strip>>;
|
|
2768
|
+
"seo:keyword-metrics": Receiver<z.ZodObject<{
|
|
2769
|
+
keywords: z.ZodArray<z.ZodString>;
|
|
2770
|
+
location_code: z.ZodOptional<z.ZodNumber>;
|
|
2771
|
+
language_code: z.ZodOptional<z.ZodString>;
|
|
2772
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2773
|
+
ok: z.ZodBoolean;
|
|
2774
|
+
data: z.ZodOptional<z.ZodUnknown>;
|
|
2775
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2776
|
+
}, z.core.$strip>>;
|
|
2777
|
+
"seo:gsc-performance": Receiver<z.ZodObject<{
|
|
2778
|
+
site_url: z.ZodString;
|
|
2779
|
+
start_date: z.ZodString;
|
|
2780
|
+
end_date: z.ZodString;
|
|
2781
|
+
dimensions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2782
|
+
row_limit: z.ZodOptional<z.ZodNumber>;
|
|
2783
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2784
|
+
ok: z.ZodBoolean;
|
|
2785
|
+
data: z.ZodOptional<z.ZodUnknown>;
|
|
2786
|
+
error: z.ZodOptional<z.ZodString>;
|
|
2787
|
+
}, z.core.$strip>>;
|
|
2714
2788
|
};
|
|
2715
2789
|
/** A declared receiver name — `keyof` the catalog. */
|
|
2716
2790
|
export type ReceiverName = keyof typeof RECEIVERS;
|
package/dist/receivers.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"receivers.d.ts","sourceRoot":"","sources":["../src/receivers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAcxB;;;;;;;;;;;;;GAaG;AAEH;sEACsE;AACtE,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC;AAEhC,+DAA+D;AAC/D,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,UAAU,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAEnE,oDAAoD;AACpD,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,UAAU,GAAG,SAAS,CAAC;AAEzD,6CAA6C;AAC7C,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,KAAK,CAAC;AAE9C;;;GAGG;AACH,MAAM,WAAW,QAAQ,CACvB,GAAG,SAAS,CAAC,CAAC,UAAU,GAAG,CAAC,CAAC,UAAU,EACvC,GAAG,SAAS,CAAC,CAAC,UAAU,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2nFc,CAAC;AAErC,sDAAsD;AACtD,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,SAAS,CAAC;AAElD,+CAA+C;AAC/C,MAAM,MAAM,KAAK,CAAC,CAAC,SAAS,YAAY,IACtC,CAAC,OAAO,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,QAAQ,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;AAEzF,iDAAiD;AACjD,MAAM,MAAM,KAAK,CAAC,CAAC,SAAS,YAAY,IACtC,CAAC,OAAO,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,QAAQ,CAAC,CAAC,CAAC,UAAU,EAAE,MAAM,GAAG,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;AAE1F;;;;;GAKG;AACH,eAAO,MAAM,OAAO;IAClB,iFAAiF;;IAEjF,wDAAwD;;IAExD,iEAAiE;;IAEjE,mDAAmD;;IAEnD,8DAA8D;;IAE9D,wFAAwF;;CAEvC,CAAC;AAEpD,8BAA8B;AAC9B,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,OAAO,CAAC"}
|
package/dist/receivers.js
CHANGED
|
@@ -339,6 +339,13 @@ export const RECEIVERS = {
|
|
|
339
339
|
summary: "Revoke an API key",
|
|
340
340
|
request: z.object({ keyId: z.string() }), response: ok, effect: "ask", auth: "member", reversible: false,
|
|
341
341
|
}),
|
|
342
|
+
"world:mint-owner-key": receiver({
|
|
343
|
+
receiver: "world:mint-owner-key",
|
|
344
|
+
summary: "Staff-only: mint a slug-based (human-class) owner key for a workspace — full authority, no UI session required",
|
|
345
|
+
request: z.object({ slug: z.string().optional(), label: z.string().optional(), validDays: z.number().optional() }),
|
|
346
|
+
response: z.object({ key: z.string(), keyId: z.string(), slug: z.string() }),
|
|
347
|
+
effect: "ask", auth: "manage_clients", cost: "free", idempotent: false,
|
|
348
|
+
}),
|
|
342
349
|
"world:declare-types": receiver({
|
|
343
350
|
receiver: "world:declare-types",
|
|
344
351
|
summary: "Persist a resource-type manifest for the caller's workspace; pass a template name (e.g. ecommerce) to seed from a built-in, or explicit types",
|
|
@@ -538,7 +545,7 @@ export const RECEIVERS = {
|
|
|
538
545
|
"billing:clients": receiver({
|
|
539
546
|
receiver: "billing:clients",
|
|
540
547
|
summary: "Agency P&L — per-client funded · burned · margin · balance · cap (margin from the ledger)",
|
|
541
|
-
request: z.object({}).optional(),
|
|
548
|
+
request: z.object({ slug: z.string().optional() }).optional(),
|
|
542
549
|
response: z.object({
|
|
543
550
|
agency: z.object({ slug: z.string(), name: z.string().nullable(), markup_pct: z.number(), pool: z.number() }).nullable(),
|
|
544
551
|
clients: z.array(z.object({
|
|
@@ -548,6 +555,13 @@ export const RECEIVERS = {
|
|
|
548
555
|
}),
|
|
549
556
|
effect: "ask", auth: "manage_clients", cost: "free", idempotent: true,
|
|
550
557
|
}),
|
|
558
|
+
"billing:set-markup": receiver({
|
|
559
|
+
receiver: "billing:set-markup",
|
|
560
|
+
summary: "Staff-only: set the markup_pct on an agency workspace row",
|
|
561
|
+
request: z.object({ slug: z.string().optional(), markup_pct: z.number().min(0).max(100) }),
|
|
562
|
+
response: z.object({ ok: z.boolean(), slug: z.string().optional(), markup_pct: z.number().optional(), error: z.string().optional() }),
|
|
563
|
+
effect: "ask", auth: "manage_clients", cost: "free", idempotent: true,
|
|
564
|
+
}),
|
|
551
565
|
// paths:bridge killed (C7): no resolver, no route, no caller
|
|
552
566
|
// ── subscriptions ──
|
|
553
567
|
"subscriptions:register": receiver({
|
|
@@ -2528,6 +2542,55 @@ export const RECEIVERS = {
|
|
|
2528
2542
|
}),
|
|
2529
2543
|
effect: "signal", auth: "read_corpus", cost: "free", reversible: false, idempotent: false,
|
|
2530
2544
|
}),
|
|
2545
|
+
// ── seo — handlers in resolvers/seo.ts (C1 live; C2 async) ─────────────────
|
|
2546
|
+
"seo:backlinks-summary": receiver({
|
|
2547
|
+
receiver: "seo:backlinks-summary",
|
|
2548
|
+
summary: "Pull live backlink summary for a domain via DataForSEO; marks domain→seo:backlinks path",
|
|
2549
|
+
request: z.object({ target: z.string(), limit: z.number().int().min(1).max(1000).optional() }),
|
|
2550
|
+
response: z.object({ ok: z.boolean(), data: z.unknown().optional(), error: z.string().optional() }),
|
|
2551
|
+
effect: "ask", cost: "variable", reversible: true, idempotent: false, auth: "member",
|
|
2552
|
+
examples: [{ target: "one.ie" }],
|
|
2553
|
+
}),
|
|
2554
|
+
"seo:llm-mentions": receiver({
|
|
2555
|
+
receiver: "seo:llm-mentions",
|
|
2556
|
+
summary: "Pull live AI-visibility (LLM mentions) data for a domain via DataForSEO; marks domain→seo:llm-mentions path",
|
|
2557
|
+
request: z.object({ target: z.string() }),
|
|
2558
|
+
response: z.object({ ok: z.boolean(), data: z.unknown().optional(), error: z.string().optional() }),
|
|
2559
|
+
effect: "ask", cost: "variable", reversible: true, idempotent: false, auth: "member",
|
|
2560
|
+
examples: [{ target: "one.ie" }],
|
|
2561
|
+
}),
|
|
2562
|
+
"seo:keywords-for-keyword": receiver({
|
|
2563
|
+
receiver: "seo:keywords-for-keyword",
|
|
2564
|
+
summary: "Return related keyword suggestions for a seed keyword via DataForSEO Google Ads; marks keyword→seo:keywords path",
|
|
2565
|
+
request: z.object({ keyword: z.string(), location_code: z.number().int().optional(), language_code: z.string().optional() }),
|
|
2566
|
+
response: z.object({ ok: z.boolean(), data: z.unknown().optional(), error: z.string().optional() }),
|
|
2567
|
+
effect: "ask", cost: "variable", reversible: true, idempotent: false, auth: "member",
|
|
2568
|
+
examples: [{ keyword: "ai agents", location_code: 2840, language_code: "en" }],
|
|
2569
|
+
}),
|
|
2570
|
+
"seo:serp": receiver({
|
|
2571
|
+
receiver: "seo:serp",
|
|
2572
|
+
summary: "Return full Google Organic SERP for a keyword via DataForSEO async task (submit→poll); marks keyword→seo:serp path",
|
|
2573
|
+
request: z.object({ keyword: z.string(), location_code: z.number().int().optional(), language_code: z.string().optional(), device: z.string().optional() }),
|
|
2574
|
+
response: z.object({ ok: z.boolean(), data: z.unknown().optional(), error: z.string().optional() }),
|
|
2575
|
+
effect: "ask", cost: "variable", reversible: true, idempotent: false, auth: "member",
|
|
2576
|
+
examples: [{ keyword: "best ai agents", location_code: 2840, language_code: "en" }],
|
|
2577
|
+
}),
|
|
2578
|
+
"seo:keyword-metrics": receiver({
|
|
2579
|
+
receiver: "seo:keyword-metrics",
|
|
2580
|
+
summary: "Return monthly search volume, CPC, and competition for a list of keywords via DataForSEO async task",
|
|
2581
|
+
request: z.object({ keywords: z.array(z.string()), location_code: z.number().int().optional(), language_code: z.string().optional() }),
|
|
2582
|
+
response: z.object({ ok: z.boolean(), data: z.unknown().optional(), error: z.string().optional() }),
|
|
2583
|
+
effect: "ask", cost: "variable", reversible: true, idempotent: false, auth: "member",
|
|
2584
|
+
examples: [{ keywords: ["ai agents", "machine learning platform"], location_code: 2840 }],
|
|
2585
|
+
}),
|
|
2586
|
+
"seo:gsc-performance": receiver({
|
|
2587
|
+
receiver: "seo:gsc-performance",
|
|
2588
|
+
summary: "Return Google Search Console click/impression/CTR/position data for a site via Composio GSC toolkit",
|
|
2589
|
+
request: z.object({ site_url: z.string(), start_date: z.string(), end_date: z.string(), dimensions: z.array(z.string()).optional(), row_limit: z.number().int().optional() }),
|
|
2590
|
+
response: z.object({ ok: z.boolean(), data: z.unknown().optional(), error: z.string().optional() }),
|
|
2591
|
+
effect: "ask", cost: "variable", reversible: true, idempotent: false, auth: "member",
|
|
2592
|
+
examples: [{ site_url: "https://one.ie/", start_date: "2026-01-01", end_date: "2026-06-01" }],
|
|
2593
|
+
}),
|
|
2531
2594
|
};
|
|
2532
2595
|
/**
|
|
2533
2596
|
* RECIPES — the four agent journeys as typed, ordered receiver sequences (C6).
|