@amerged/ohmyhost-mcp 0.1.42 → 0.1.43
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/README.md +1 -1
- package/dist/{chunk-OD4R3WMQ.js → chunk-ACMEMS6N.js} +3 -3
- package/dist/index.js +1 -1
- package/dist/stdio-main.js +69 -69
- package/package.json +1 -1
- package/src/apps/mcp/package.json +1 -1
- package/src/apps/mcp/src/local-server.ts +1 -1
- package/src/apps/product-cli/package.json +1 -1
- package/src/apps/product-cli/src/psql-session.ts +20 -32
- package/src/apps/product-cli/src/runtime-contract.ts +1 -13
- package/src/packages/agent-skills/src/generated-skill-resources.ts +2 -2
- package/src/packages/contracts/src/credit-pricing.ts +0 -90
- package/src/packages/sdk-ts/package.json +1 -1
- package/src/packages/sdk-ts/src/generated/index.ts +0 -1
- package/src/packages/sdk-ts/src/generated/sdk.gen.ts +1 -1
- package/src/packages/sdk-ts/src/generated/types.gen.ts +0 -22
|
@@ -2192,7 +2192,7 @@ export const configureBillingRecharge = <ThrowOnError extends boolean = true>(
|
|
|
2192
2192
|
/**
|
|
2193
2193
|
* Read the owner's shared organization credit pool
|
|
2194
2194
|
*
|
|
2195
|
-
* Returns the spendable credit and the open reservations, in microcredits (one credit is 1000000 microcredits). available_micros is the monthly credit plus the one-time credit minus the reservations, never below zero. Only the organization Owner may read this balance.
|
|
2195
|
+
* Returns the spendable credit and the open reservations, in microcredits (one credit is 1000000 microcredits). available_micros is the monthly credit plus the one-time credit minus the reservations, never below zero. Only the organization Owner may read this balance. It states what is left and never what the credit was spent on; read the recent usage from getOrganizationCreditUsage. When the credit is used up, grace_started_at and grace_expires_at name the seven days that keep existing services running. Remains available at zero credit.
|
|
2196
2196
|
*/
|
|
2197
2197
|
export const getOrganizationCredits = <ThrowOnError extends boolean = true>(
|
|
2198
2198
|
parameters: {
|
|
@@ -329,11 +329,6 @@ export type OrganizationCredits = {
|
|
|
329
329
|
* Seven days after the credit was used up. Existing services and domains are retained during this grace; no automatic data deletion. Explicit project stop budgets are separate.
|
|
330
330
|
*/
|
|
331
331
|
grace_expires_at: string | null;
|
|
332
|
-
active_meters: Array<string>;
|
|
333
|
-
/**
|
|
334
|
-
* Published integer prices, newest first. A published rate is not proof of enabled billing; only active_meters names currently billed sources. Builds retain their accepted quote. Provider cost is a list-price basis before platform allowances, not an invoice.
|
|
335
|
-
*/
|
|
336
|
-
rate_cards: Array<PublishedCreditRateCard>;
|
|
337
332
|
};
|
|
338
333
|
|
|
339
334
|
/**
|
|
@@ -379,23 +374,6 @@ export type OrganizationCreditUsage = {
|
|
|
379
374
|
}>;
|
|
380
375
|
};
|
|
381
376
|
|
|
382
|
-
export type PublishedCreditRateCard = {
|
|
383
|
-
id: string;
|
|
384
|
-
currency: "USD";
|
|
385
|
-
published_at: string;
|
|
386
|
-
effective_from: string;
|
|
387
|
-
rates: Array<{
|
|
388
|
-
meter: string;
|
|
389
|
-
unit: string;
|
|
390
|
-
units_per_charge: string;
|
|
391
|
-
/**
|
|
392
|
-
* Provider list-cost basis for units_per_charge, in USD micro-units (1000000 equals 1 USD), before shared allowances and discounts. Null for the PGCF RAM tariff means node infrastructure costs are tracked separately and are not allocated to this customer rate; null never means zero cost.
|
|
393
|
-
*/
|
|
394
|
-
provider_cost_micros: string | null;
|
|
395
|
-
credit_micros: CreditMicros;
|
|
396
|
-
}>;
|
|
397
|
-
};
|
|
398
|
-
|
|
399
377
|
export type SetProjectCreditBudgetRequest = {
|
|
400
378
|
/**
|
|
401
379
|
* The monthly budget, at most 9007199254740991 microcredits (about 9 billion credits); null removes it.
|