@alva-ai/toolkit 0.21.0 → 0.23.0-beta.0
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 +2 -0
- package/dist/browser.global.js +130 -3
- package/dist/browser.global.js.map +1 -1
- package/dist/cli.d.ts +209 -10
- package/dist/cli.js +817 -689
- package/dist/cli.js.map +1 -1
- package/dist/dispatch.d.ts +210 -11
- package/dist/dispatch.js +314 -81
- package/dist/dispatch.js.map +1 -1
- package/dist/index.cjs +506 -609
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +210 -11
- package/dist/index.d.ts +210 -11
- package/dist/index.js +505 -609
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/dispatch.d.ts
CHANGED
|
@@ -424,6 +424,30 @@ interface AutomationInspectResponse {
|
|
|
424
424
|
*/
|
|
425
425
|
flow_config_path: string | null;
|
|
426
426
|
}
|
|
427
|
+
interface AutomationUpdateRequest {
|
|
428
|
+
/** Positive decimal automation id kept as a string to preserve int64 precision. */
|
|
429
|
+
id: string;
|
|
430
|
+
/** Contract version to republish. Omitted preserves the current version. */
|
|
431
|
+
version?: string;
|
|
432
|
+
/** Replacement producer cronjob. Omitted preserves the current producer. */
|
|
433
|
+
cronjob_id?: number;
|
|
434
|
+
/** Omitted preserves; an explicit empty string clears the field. */
|
|
435
|
+
description?: string;
|
|
436
|
+
/** Omitted preserves; an explicit empty string clears the field. */
|
|
437
|
+
changelog?: string;
|
|
438
|
+
/** Omitted preserves; an explicit empty string clears the agent marker. */
|
|
439
|
+
agent_type?: string;
|
|
440
|
+
/** Trigger the effective producer once after the update commits. */
|
|
441
|
+
trigger?: boolean;
|
|
442
|
+
}
|
|
443
|
+
interface AutomationUpdateResponse {
|
|
444
|
+
id: string;
|
|
445
|
+
feed_id: string;
|
|
446
|
+
name: string;
|
|
447
|
+
feed_major: number;
|
|
448
|
+
version: string;
|
|
449
|
+
cronjob_id: number;
|
|
450
|
+
}
|
|
427
451
|
interface FeedStatusUpdateRequest {
|
|
428
452
|
/** Numeric feed id to stop/resume. */
|
|
429
453
|
id: number;
|
|
@@ -1193,6 +1217,8 @@ declare class AutomationResource {
|
|
|
1193
1217
|
* Inspect one automation. Backed by GET /api/v1/automation/:id.
|
|
1194
1218
|
*/
|
|
1195
1219
|
inspect(params: AutomationInspectRequest): Promise<AutomationInspectResponse>;
|
|
1220
|
+
/** Partially update one existing automation by immutable decimal-string id. */
|
|
1221
|
+
update(params: AutomationUpdateRequest): Promise<AutomationUpdateResponse>;
|
|
1196
1222
|
stop(params: FeedStatusUpdateRequest): Promise<FeedStatusUpdateResponse>;
|
|
1197
1223
|
resume(params: FeedStatusUpdateRequest): Promise<FeedStatusUpdateResponse>;
|
|
1198
1224
|
delete(params: FeedDeleteRequest): Promise<FeedDeleteResponse>;
|
|
@@ -1288,6 +1314,33 @@ interface ListByOwnerResponse {
|
|
|
1288
1314
|
has_next: boolean;
|
|
1289
1315
|
next_cursor?: string;
|
|
1290
1316
|
}
|
|
1317
|
+
/** Lifecycle filters for the owner-scoped list (GET /api/v1/playbook). */
|
|
1318
|
+
declare const OWNED_PLAYBOOK_FILTERS: readonly ["draft", "running", "paused"];
|
|
1319
|
+
type OwnedPlaybookFilter = (typeof OWNED_PLAYBOOK_FILTERS)[number];
|
|
1320
|
+
interface ListOwnParams {
|
|
1321
|
+
/** draft | running | paused. Omit to list all your published playbooks. */
|
|
1322
|
+
filter?: OwnedPlaybookFilter;
|
|
1323
|
+
/** Page size, default 50, max 100 server-side. */
|
|
1324
|
+
limit?: number;
|
|
1325
|
+
cursor?: string;
|
|
1326
|
+
}
|
|
1327
|
+
/** One row from the owner-scoped list (GET /api/v1/playbook). */
|
|
1328
|
+
interface OwnedPlaybookItem {
|
|
1329
|
+
/** Numeric playbook id encoded as a string. */
|
|
1330
|
+
id: string;
|
|
1331
|
+
/** URL-safe playbook name. */
|
|
1332
|
+
name: string;
|
|
1333
|
+
display_name?: string;
|
|
1334
|
+
visibility?: string;
|
|
1335
|
+
created_at?: string;
|
|
1336
|
+
updated_at?: string;
|
|
1337
|
+
/** Cursor to pass as `cursor` for the next page. */
|
|
1338
|
+
cursor?: string;
|
|
1339
|
+
}
|
|
1340
|
+
interface ListOwnResponse {
|
|
1341
|
+
playbooks: OwnedPlaybookItem[];
|
|
1342
|
+
has_next: boolean;
|
|
1343
|
+
}
|
|
1291
1344
|
declare class PlaybooksResource {
|
|
1292
1345
|
private client;
|
|
1293
1346
|
constructor(client: AlvaClient);
|
|
@@ -1310,6 +1363,16 @@ declare class PlaybooksResource {
|
|
|
1310
1363
|
* playbooks are listed.
|
|
1311
1364
|
*/
|
|
1312
1365
|
listByOwner(params: ListByOwnerParams): Promise<ListByOwnerResponse>;
|
|
1366
|
+
/**
|
|
1367
|
+
* List the authenticated user's OWN playbooks via GET /api/v1/playbook —
|
|
1368
|
+
* the owner-scoped surface that INCLUDES drafts. Unlike `listByOwner` (the
|
|
1369
|
+
* public discovery view, which requires at least one release and therefore
|
|
1370
|
+
* hides drafts), this shows work-in-progress playbooks you created but
|
|
1371
|
+
* never released. Requires an API key: the owner is derived from auth, not
|
|
1372
|
+
* a username argument. Optional `filter` narrows to draft | running |
|
|
1373
|
+
* paused.
|
|
1374
|
+
*/
|
|
1375
|
+
listOwn(params?: ListOwnParams): Promise<ListOwnResponse>;
|
|
1313
1376
|
/**
|
|
1314
1377
|
* Get one playbook by numeric id or by "owner/name" ref. Returns null when
|
|
1315
1378
|
* not found / not visible / deleted.
|
|
@@ -1369,30 +1432,36 @@ declare class SdkDocsResource {
|
|
|
1369
1432
|
}): Promise<PartitionSummaryResponse>;
|
|
1370
1433
|
}
|
|
1371
1434
|
|
|
1435
|
+
/** @deprecated Arrays no longer uses endpoint subscription tiers. */
|
|
1372
1436
|
type SkillEndpointTier = 'public' | 'alternative' | 'unstructured';
|
|
1373
1437
|
interface SkillEndpointMetadata {
|
|
1374
1438
|
skill: string;
|
|
1375
1439
|
file: string;
|
|
1376
1440
|
method: string;
|
|
1377
1441
|
path: string;
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1442
|
+
/** @deprecated Arrays no longer uses endpoint subscription tiers. */
|
|
1443
|
+
tier?: SkillEndpointTier;
|
|
1444
|
+
/** @deprecated Arrays no longer uses endpoint subscription tiers. */
|
|
1445
|
+
required_subscription_tier?: 'free' | 'pro';
|
|
1446
|
+
/** @deprecated Arrays no longer uses endpoint subscription tiers. */
|
|
1447
|
+
access?: 'free_and_pro' | 'pro_only';
|
|
1448
|
+
/** @deprecated Arrays no longer uses endpoint subscription tiers. */
|
|
1449
|
+
pro_required?: boolean;
|
|
1382
1450
|
}
|
|
1383
1451
|
|
|
1384
|
-
type SkillTierCounts = Partial<Record<SkillEndpointTier, number>>;
|
|
1385
|
-
|
|
1386
1452
|
interface SkillMetadata {
|
|
1387
1453
|
endpoint_count: number;
|
|
1388
|
-
|
|
1389
|
-
|
|
1454
|
+
/** @deprecated Data-skills no longer adds local endpoint tier metadata. */
|
|
1455
|
+
endpoint_tier_counts?: Partial<Record<SkillEndpointTier, number>>;
|
|
1456
|
+
/** @deprecated Data-skills no longer adds local endpoint tier metadata. */
|
|
1457
|
+
pro_count?: number;
|
|
1390
1458
|
}
|
|
1391
1459
|
interface SkillSummary {
|
|
1392
1460
|
name: string;
|
|
1393
1461
|
description: string;
|
|
1394
1462
|
metadata?: SkillMetadata;
|
|
1395
|
-
|
|
1463
|
+
/** @deprecated Data-skills no longer adds this local metadata. */
|
|
1464
|
+
endpoint_tier_counts?: Partial<Record<SkillEndpointTier, number>>;
|
|
1396
1465
|
}
|
|
1397
1466
|
interface SkillDoc {
|
|
1398
1467
|
name: string;
|
|
@@ -1400,7 +1469,8 @@ interface SkillDoc {
|
|
|
1400
1469
|
content: string;
|
|
1401
1470
|
metadata?: SkillMetadata | SkillEndpointMetadata;
|
|
1402
1471
|
endpoint_metadata?: SkillEndpointMetadata[];
|
|
1403
|
-
|
|
1472
|
+
/** @deprecated Data-skills no longer adds this local metadata. */
|
|
1473
|
+
endpoint_tier_counts?: Partial<Record<SkillEndpointTier, number>>;
|
|
1404
1474
|
}
|
|
1405
1475
|
declare class DataSkillsResource {
|
|
1406
1476
|
private client;
|
|
@@ -1790,6 +1860,133 @@ declare class CreditsResource {
|
|
|
1790
1860
|
private graphql;
|
|
1791
1861
|
}
|
|
1792
1862
|
|
|
1863
|
+
type CompanyFiscalQuarter = 'Q1' | 'Q2' | 'Q3' | 'Q4';
|
|
1864
|
+
type CompanyEarningsEvent = 'latest-completed' | 'next-confirmed';
|
|
1865
|
+
type CompanyEarningsStatus = 'UPCOMING' | 'COMPLETED';
|
|
1866
|
+
type CompanyEarningsContentStatus = 'AVAILABLE' | 'NOT_AVAILABLE_YET' | 'UNAVAILABLE';
|
|
1867
|
+
type CompanyEarningsSession = 'BEFORE_MARKET_OPEN' | 'AFTER_MARKET_CLOSE';
|
|
1868
|
+
interface CompanyNarrative {
|
|
1869
|
+
asOf: string;
|
|
1870
|
+
generatedAtMs: number;
|
|
1871
|
+
narrative: string;
|
|
1872
|
+
peers: string;
|
|
1873
|
+
}
|
|
1874
|
+
interface CompanyNarrativeSnapshot {
|
|
1875
|
+
asOf: string;
|
|
1876
|
+
generatedAtMs: number;
|
|
1877
|
+
narrative: string;
|
|
1878
|
+
}
|
|
1879
|
+
interface CompanyNarrativeChangeLogEntry {
|
|
1880
|
+
asOf: string;
|
|
1881
|
+
generatedAtMs: number;
|
|
1882
|
+
narrativeChangeLog: string | null;
|
|
1883
|
+
}
|
|
1884
|
+
interface CompanyNarrativeHistory {
|
|
1885
|
+
snapshots: CompanyNarrativeSnapshot[];
|
|
1886
|
+
changeLog: CompanyNarrativeChangeLogEntry[];
|
|
1887
|
+
}
|
|
1888
|
+
interface CompanyNarrativeContext {
|
|
1889
|
+
ticker: string;
|
|
1890
|
+
current: CompanyNarrative | null;
|
|
1891
|
+
history: CompanyNarrativeHistory | null;
|
|
1892
|
+
}
|
|
1893
|
+
interface CompanyEarningsPeriod {
|
|
1894
|
+
fiscalYear: number;
|
|
1895
|
+
fiscalQuarter: CompanyFiscalQuarter;
|
|
1896
|
+
label: string;
|
|
1897
|
+
fiscalDateEnding: string;
|
|
1898
|
+
earningsDate: string;
|
|
1899
|
+
session: CompanyEarningsSession | null;
|
|
1900
|
+
status: CompanyEarningsStatus;
|
|
1901
|
+
isDefault: boolean;
|
|
1902
|
+
}
|
|
1903
|
+
interface CompanyEarningsCatalog {
|
|
1904
|
+
periods: CompanyEarningsPeriod[];
|
|
1905
|
+
defaultPeriod: CompanyEarningsPeriod | null;
|
|
1906
|
+
unresolvedEventCount: number;
|
|
1907
|
+
}
|
|
1908
|
+
interface CompanyPreEarningsAnalysis {
|
|
1909
|
+
status: CompanyEarningsContentStatus;
|
|
1910
|
+
asOf: string | null;
|
|
1911
|
+
summary: string | null;
|
|
1912
|
+
whatWouldChangeView: string | null;
|
|
1913
|
+
mainQuestion: string | null;
|
|
1914
|
+
investorFocus: string[];
|
|
1915
|
+
consensusAndGuidance: string | null;
|
|
1916
|
+
stockSetup: string | null;
|
|
1917
|
+
eventRisk: string | null;
|
|
1918
|
+
whatWouldDriveUpside: string | null;
|
|
1919
|
+
bullCase: string | null;
|
|
1920
|
+
baseCase: string | null;
|
|
1921
|
+
bearCase: string | null;
|
|
1922
|
+
keyAsymmetry: string | null;
|
|
1923
|
+
consensusN: number | null;
|
|
1924
|
+
consensusObservedAt: string | null;
|
|
1925
|
+
}
|
|
1926
|
+
interface CompanyEarningsRelease {
|
|
1927
|
+
status: CompanyEarningsContentStatus;
|
|
1928
|
+
releaseDate: string | null;
|
|
1929
|
+
url: string | null;
|
|
1930
|
+
}
|
|
1931
|
+
interface CompanyEarningsTranscriptEntry {
|
|
1932
|
+
speaker: string;
|
|
1933
|
+
title: string;
|
|
1934
|
+
content: string;
|
|
1935
|
+
}
|
|
1936
|
+
interface CompanyEarningsTranscriptSection {
|
|
1937
|
+
name: string;
|
|
1938
|
+
entries: CompanyEarningsTranscriptEntry[];
|
|
1939
|
+
}
|
|
1940
|
+
interface CompanyEarningsTranscript {
|
|
1941
|
+
status: CompanyEarningsContentStatus;
|
|
1942
|
+
date: string | null;
|
|
1943
|
+
publishedAtMs: number | null;
|
|
1944
|
+
sections: CompanyEarningsTranscriptSection[];
|
|
1945
|
+
}
|
|
1946
|
+
interface CompanyPostEarningsSummary {
|
|
1947
|
+
status: CompanyEarningsContentStatus;
|
|
1948
|
+
asOf: string | null;
|
|
1949
|
+
reportedCurrency: string | null;
|
|
1950
|
+
evidenceState: 'INITIAL_PRINT' | 'POST_CALL' | null;
|
|
1951
|
+
openingQuote: string | null;
|
|
1952
|
+
openingQuoteSpeaker: string | null;
|
|
1953
|
+
openingQuoteTitle: string | null;
|
|
1954
|
+
openingQuoteNote: string | null;
|
|
1955
|
+
buriedSignals: string[];
|
|
1956
|
+
whatYouShouldKnow: string[];
|
|
1957
|
+
consensusN: number | null;
|
|
1958
|
+
consensusObservedAt: string | null;
|
|
1959
|
+
}
|
|
1960
|
+
interface CompanyEarningsContext {
|
|
1961
|
+
ticker: string;
|
|
1962
|
+
period: CompanyEarningsPeriod;
|
|
1963
|
+
preEarningsAnalysis: CompanyPreEarningsAnalysis;
|
|
1964
|
+
earningsRelease: CompanyEarningsRelease;
|
|
1965
|
+
earningsTranscript: CompanyEarningsTranscript;
|
|
1966
|
+
postEarningsSummary: CompanyPostEarningsSummary;
|
|
1967
|
+
}
|
|
1968
|
+
type CompanyEarningsParams = {
|
|
1969
|
+
ticker: string;
|
|
1970
|
+
event?: CompanyEarningsEvent;
|
|
1971
|
+
fiscalYear?: never;
|
|
1972
|
+
fiscalQuarter?: never;
|
|
1973
|
+
} | {
|
|
1974
|
+
ticker: string;
|
|
1975
|
+
event?: never;
|
|
1976
|
+
fiscalYear: number;
|
|
1977
|
+
fiscalQuarter: CompanyFiscalQuarter;
|
|
1978
|
+
};
|
|
1979
|
+
declare class MarketsResource {
|
|
1980
|
+
private client;
|
|
1981
|
+
constructor(client: AlvaClient);
|
|
1982
|
+
narrative(ticker: string): Promise<CompanyNarrativeContext>;
|
|
1983
|
+
earningsPeriods(ticker: string): Promise<CompanyEarningsCatalog>;
|
|
1984
|
+
earnings(params: CompanyEarningsParams): Promise<CompanyEarningsContext>;
|
|
1985
|
+
private selectPeriod;
|
|
1986
|
+
private notFound;
|
|
1987
|
+
private graphql;
|
|
1988
|
+
}
|
|
1989
|
+
|
|
1793
1990
|
interface RequestOptions {
|
|
1794
1991
|
query?: Record<string, unknown>;
|
|
1795
1992
|
body?: unknown;
|
|
@@ -1854,6 +2051,7 @@ declare class AlvaClient {
|
|
|
1854
2051
|
private _feedback?;
|
|
1855
2052
|
private _functions?;
|
|
1856
2053
|
private _credits?;
|
|
2054
|
+
private _markets?;
|
|
1857
2055
|
constructor(config: AlvaClientConfig);
|
|
1858
2056
|
get fs(): FsResource;
|
|
1859
2057
|
get run(): RunResource;
|
|
@@ -1882,6 +2080,7 @@ declare class AlvaClient {
|
|
|
1882
2080
|
get feedback(): FeedbackResource;
|
|
1883
2081
|
get functions(): FunctionsResource;
|
|
1884
2082
|
get credits(): CreditsResource;
|
|
2083
|
+
get markets(): MarketsResource;
|
|
1885
2084
|
_requireAuth(): void;
|
|
1886
2085
|
_request(method: string, path: string, options?: RequestOptions): Promise<unknown>;
|
|
1887
2086
|
}
|
|
@@ -1903,7 +2102,7 @@ declare const BOOLEAN_FLAGS: Set<string>;
|
|
|
1903
2102
|
* Compares major.minor.patch as integers. Returns false on malformed input.
|
|
1904
2103
|
*/
|
|
1905
2104
|
declare function isVersionOlderThan(a: string, b: string): boolean;
|
|
1906
|
-
declare const HELP_TEXT = "Usage: alva <command> [options]\n\nCommands:\n configure Save API key and endpoint to a named profile\n whoami Verify credentials and show current identity\n user User profile operations (me)\n fs Filesystem operations (read, write, stat, readdir, mkdir, remove, rename, copy, symlink, readlink, chmod, grant, revoke)\n run Execute code in the Alva runtime\n deploy Cronjob management (create, list, get, update, delete, pause, resume, runs, run-logs)\n loop Self-scheduled in-channel goal loops (create)\n service-account Restricted run-as identities (create, list, delete, grant, revoke)\n release Feed and playbook releases (feed, playbook-draft, playbook)\n lint Design-system lint (playbook)\n automation Automation management (list, inspect, publish, stop, resume, delete)\n alert Alert management (list, follows, enable, disable, history, preferences, enable-session-completed, disable-session-completed)\n feed Legacy automation alias (list, stop, resume, delete, set-visibility)\n playbooks Playbook discovery (trending, get, list) and visibility\n functions Playbook UDF function management (register, list, delete, invoke, allowance)\n credits Credit wallet and self-scoped usage history (wallet, items)\n secrets Secret management (create, list, get, update, delete)\n sdk SDK documentation (doc, partitions, partition-summary)\n skillhub Playbook skills (list, tags, get, file)\n data-skills Data-skill documentation from the Arrays backend (list, summary, endpoint)\n comments Playbook comments (create, pin, unpin)\n notification-history Feed notification delivery history (list-feed)\n notification-preferences Notification preferences (list, enable-session-completed, disable-session-completed)\n feedback Submit user-confirmed Alva platform feedback (submit)\n subscriptions Playbook follows and feed alert subscriptions\n remix Save playbook remix lineage\n portfolio Connected-account portfolio (accounts, summary, activities)\n trading Trading operations (accounts, portfolio, orders, subscriptions, equity-history, risk-rules, subscribe, unsubscribe, execute, update-risk-rules)\n broker Agentic order execution \u2014 venue-native passthrough to trex (accounts, quote, order, balance, positions, ...; run 'alva broker describe')\n auth Authentication (login)\n screenshot Capture a web screenshot as PNG\n arrays Arrays backend operations (token ensure, token status)\n\nGlobal options:\n --api-key <key> API key (overrides env and config file)\n --base-url <url> API base URL (overrides env and config file)\n --profile <name> Named profile to use (default: \"default\")\n --arrays-endpoint <url> Arrays backend URL (or ARRAYS_ENDPOINT env; default: https://data-tools.prd.space.id)\n -v, --version Show CLI version\n --help Show help (use 'alva <command> --help' for command details)\n\nConfig resolution: --api-key flag > ALVA_API_KEY env > profile in ~/.config/alva/config.json\nProfile resolution: --profile flag > ALVA_PROFILE env > \"default\"\n\nQuick start:\n npm install -g @alva-ai/toolkit\n alva configure --api-key alva_your_key_here\n alva whoami";
|
|
2105
|
+
declare const HELP_TEXT = "Usage: alva <command> [options]\n\nCommands:\n configure Save API key and endpoint to a named profile\n whoami Verify credentials and show current identity\n user User profile operations (me)\n fs Filesystem operations (read, write, stat, readdir, mkdir, remove, rename, copy, symlink, readlink, chmod, grant, revoke)\n run Execute code in the Alva runtime\n deploy Cronjob management (create, list, get, update, delete, pause, resume, runs, run-logs)\n loop Self-scheduled in-channel goal loops (create)\n service-account Restricted run-as identities (create, list, delete, grant, revoke)\n release Feed and playbook releases (feed, playbook-draft, playbook)\n lint Design-system lint (playbook)\n automation Automation management (list, inspect, publish, update, stop, resume, delete)\n alert Alert management (list, follows, enable, disable, history, preferences, enable-session-completed, disable-session-completed)\n feed Legacy automation alias (list, stop, resume, delete, set-visibility)\n playbooks Playbook discovery (trending, get, list) and visibility\n functions Playbook UDF function management (register, list, delete, invoke, allowance)\n credits Credit wallet and self-scoped usage history (wallet, items)\n secrets Secret management (create, list, get, update, delete)\n sdk SDK documentation (doc, partitions, partition-summary)\n skillhub Playbook skills (list, tags, get, file)\n data-skills Data-skill documentation from the Arrays backend (list, summary, endpoint)\n comments Playbook comments (create, pin, unpin)\n notification-history Feed notification delivery history (list-feed)\n notification-preferences Notification preferences (list, enable-session-completed, disable-session-completed)\n feedback Submit user-confirmed Alva platform feedback (submit)\n subscriptions Playbook follows and feed alert subscriptions\n remix Save playbook remix lineage\n portfolio Connected-account portfolio (accounts, summary, activities)\n markets Company narrative and earnings context (narrative, earnings)\n trading Trading operations (accounts, portfolio, orders, subscriptions, equity-history, risk-rules, subscribe, unsubscribe, execute, update-risk-rules)\n broker Agentic order execution \u2014 venue-native passthrough to trex (accounts, quote, order, balance, positions, ...; run 'alva broker describe')\n auth Authentication (login)\n screenshot Capture a web screenshot as PNG\n arrays Arrays backend operations (token ensure, token status)\n\nGlobal options:\n --api-key <key> API key (overrides env and config file)\n --base-url <url> API base URL (overrides env and config file)\n --profile <name> Named profile to use (default: \"default\")\n --arrays-endpoint <url> Arrays backend URL (or ARRAYS_ENDPOINT env; default: https://data-tools.prd.space.id)\n -v, --version Show CLI version\n --help Show help (use 'alva <command> --help' for command details)\n\nConfig resolution: --api-key flag > ALVA_API_KEY env > profile in ~/.config/alva/config.json\nProfile resolution: --profile flag > ALVA_PROFILE env > \"default\"\n\nQuick start:\n npm install -g @alva-ai/toolkit\n alva configure --api-key alva_your_key_here\n alva whoami";
|
|
1907
2106
|
declare const COMMAND_HELP: Record<string, string>;
|
|
1908
2107
|
type AlvaCliRuntimeMode = 'nodejs' | 'jagent';
|
|
1909
2108
|
interface DispatchLocalFiles {
|