@onesi/genesis 0.2.12 → 0.2.14

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/genesis.d.ts CHANGED
@@ -1418,7 +1418,7 @@ export declare class Genesis extends GenesisClient {
1418
1418
  offset: number;
1419
1419
  }>;
1420
1420
  get: (slug: string, init?: {
1421
- signal? /** Explicit KMS reveal with a persisted names-only audit. Do not log the plaintext. */: AbortSignal;
1421
+ signal?: AbortSignal;
1422
1422
  }) => Promise<{
1423
1423
  provider: components["schemas"]["Blinds.ProviderSummary"];
1424
1424
  oauth2?: {
@@ -1754,6 +1754,14 @@ export declare class Genesis extends GenesisClient {
1754
1754
  next: string;
1755
1755
  route: components["schemas"]["Dials.RoutingRule"];
1756
1756
  }>;
1757
+ delete: (workflowId: string, body: In<"dials_deleteWorkflow">["body"]) => Promise<{
1758
+ ok: true;
1759
+ deleted: true;
1760
+ workflow: components["schemas"]["Dials.WorkflowDocument"];
1761
+ routeIds: string[];
1762
+ auditId: string;
1763
+ next: "workflow_deleted";
1764
+ }>;
1757
1765
  };
1758
1766
  overview: {
1759
1767
  summary: (scope: import("./dials.js").DialsScope) => Promise<{
@@ -5239,7 +5247,7 @@ export declare class Genesis extends GenesisClient {
5239
5247
  updated_at: string;
5240
5248
  }>;
5241
5249
  counterparties: (books: string, filter?: {
5242
- kind?: "customer" | "vendor";
5250
+ kind? /** Generic escape hatch: genesis.call('hives_list_projects', {...}) */: "customer" | "vendor";
5243
5251
  include_archived?: boolean;
5244
5252
  }) => Promise<{
5245
5253
  data: components["schemas"]["Garden.Counterparty"][];
@@ -6415,6 +6423,20 @@ export declare class Genesis extends GenesisClient {
6415
6423
  }>;
6416
6424
  };
6417
6425
  };
6426
+ /** Public agent search and the crawler sitemap: Live agents their owners made public. No credential, never metered. */
6427
+ readonly agents: {
6428
+ search: (q: string, options?: {
6429
+ limit?: number;
6430
+ signal?: AbortSignal;
6431
+ }) => Promise<{
6432
+ results: import("./agents.js").AgentSearchHit[];
6433
+ }>;
6434
+ sitemap: (options?: {
6435
+ signal?: AbortSignal;
6436
+ }) => Promise<{
6437
+ agents: import("./agents.js").AgentSitemapEntry[];
6438
+ }>;
6439
+ };
6418
6440
  /** Your organization's usage and billing reads, and Orgs: legal entities, seats, resolutions, documents, filings, formation and the record. */
6419
6441
  readonly orgs: {
6420
6442
  whoami: () => Promise<{
package/dist/genesis.js CHANGED
@@ -21,6 +21,7 @@ import { lanesModule } from './lanes.js';
21
21
  import { flaresModule } from './flares.js';
22
22
  import { tracesModule } from './traces.js';
23
23
  import { billingModule, creditsModule, gatewayModule, orgsModule } from './gateway.js';
24
+ import { agentsModule } from './agents.js';
24
25
  import { orgsEntitiesModule } from './orgs.js';
25
26
  import { iamModule } from './iam.js';
26
27
  import { boxesModule } from './boxes.js';
@@ -61,6 +62,8 @@ export class Genesis extends GenesisClient {
61
62
  lanes = lanesModule(this);
62
63
  flares = flaresModule(this);
63
64
  gateway = gatewayModule(this);
65
+ /** Public agent search and the crawler sitemap: Live agents their owners made public. No credential, never metered. */
66
+ agents = agentsModule(this);
64
67
  /** Your organization's usage and billing reads, and Orgs: legal entities, seats, resolutions, documents, filings, formation and the record. */
65
68
  orgs = { ...orgsModule(this), ...orgsEntitiesModule(this) };
66
69
  billing = billingModule(this);