@maudecode/talaria-web-contracts 1.21.0 → 1.23.2
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/agent-imports.d.ts +42 -0
- package/dist/agent-imports.js +11 -0
- package/dist/agent-imports.js.map +1 -0
- package/dist/context-detail.d.ts +3 -3
- package/dist/delegation.d.ts +206 -0
- package/dist/delegation.js +32 -0
- package/dist/delegation.js.map +1 -0
- package/dist/gateway-session.d.ts +24 -4
- package/dist/gateway-session.js +5 -1
- package/dist/gateway-session.js.map +1 -1
- package/dist/groups-native.d.ts +427 -0
- package/dist/groups-native.js +40 -0
- package/dist/groups-native.js.map +1 -0
- package/dist/groups.d.ts +1545 -0
- package/dist/groups.js +12 -0
- package/dist/groups.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/mcp-cost-policy.d.ts +1 -1
- package/dist/openapi.js +4 -0
- package/dist/openapi.js.map +1 -1
- package/dist/plan-usage.d.ts +92 -0
- package/dist/plan-usage.js +20 -0
- package/dist/plan-usage.js.map +1 -0
- package/dist/prompt-queue.d.ts +2 -2
- package/dist/router.d.ts +13 -20005
- package/dist/router.js +4 -1
- package/dist/router.js.map +1 -1
- package/dist/routes/automation.d.ts +15 -15
- package/dist/routes/chat.d.ts +279 -83
- package/dist/routes/core.d.ts +168 -0
- package/dist/routes/core.js +48 -1
- package/dist/routes/core.js.map +1 -1
- package/dist/routes/groups.d.ts +860 -0
- package/dist/routes/groups.js +13 -0
- package/dist/routes/groups.js.map +1 -0
- package/dist/routes/raw.js +18 -3
- package/dist/routes/raw.js.map +1 -1
- package/dist/routes/sessions.d.ts +751 -204
- package/dist/routes/settings.d.ts +1100 -1
- package/dist/routes/settings.js +56 -0
- package/dist/routes/settings.js.map +1 -1
- package/dist/routes/tools.d.ts +109 -24
- package/dist/routes/tools.js +6 -3
- package/dist/routes/tools.js.map +1 -1
- package/dist/routes/workspaces.d.ts +2 -2
- package/dist/sidecar/methods.d.ts +522 -24
- package/dist/sidecar/methods.js +3 -1
- package/dist/sidecar/methods.js.map +1 -1
- package/dist/sidecar/namespaces.d.ts +611 -34
- package/dist/sidecar/namespaces.js +46 -5
- package/dist/sidecar/namespaces.js.map +1 -1
- package/dist/sidecar/rpc.d.ts +3 -3
- package/dist/sidecar/version.d.ts +1 -1
- package/dist/sidecar/version.js +1 -1
- package/dist/sse.d.ts +97 -20
- package/dist/sse.js +4 -3
- package/dist/sse.js.map +1 -1
- package/dist/views.d.ts +886 -161
- package/dist/views.js +48 -23
- package/dist/views.js.map +1 -1
- package/fixtures/sidecar/agent-imports.json +6 -0
- package/fixtures/sidecar/aux.json +58 -0
- package/fixtures/sidecar/connectors.json +29 -0
- package/fixtures/sidecar/groups.json +18 -0
- package/fixtures/sidecar/providers.json +37 -1
- package/fixtures/sidecar/runtime.json +3 -3
- package/fixtures/sidecar/skills.json +19 -2
- package/fixtures/sidecar/tts.json +6 -0
- package/package.json +1 -1
|
@@ -272,8 +272,8 @@ export declare const PluginSettingFieldSchema: z.ZodObject<{
|
|
|
272
272
|
export type PluginSettingField = z.infer<typeof PluginSettingFieldSchema>;
|
|
273
273
|
/** Persistence succeeded; this separately describes application to live plugin MCP connections. */
|
|
274
274
|
export declare const PluginRuntimeApplicationSchema: z.ZodEnum<{
|
|
275
|
-
unknown: "unknown";
|
|
276
275
|
applied: "applied";
|
|
276
|
+
unknown: "unknown";
|
|
277
277
|
restart_required: "restart_required";
|
|
278
278
|
}>;
|
|
279
279
|
/** TAL-1276: one OAuth client a plugin manifest declares, its grant's state as `hermes auth status` maps it, and the hosts the code is approved at and exchanged at. */
|
|
@@ -559,8 +559,8 @@ export declare const COMMANDS_METHODS: {
|
|
|
559
559
|
readonly params: z.ZodObject<{
|
|
560
560
|
profile_home: z.ZodString;
|
|
561
561
|
action: z.ZodEnum<{
|
|
562
|
-
read: "read";
|
|
563
562
|
list: "list";
|
|
563
|
+
read: "read";
|
|
564
564
|
save: "save";
|
|
565
565
|
}>;
|
|
566
566
|
session_id: z.ZodString;
|
|
@@ -875,8 +875,8 @@ export declare const COMMANDS_METHODS: {
|
|
|
875
875
|
has_value: z.ZodOptional<z.ZodBoolean>;
|
|
876
876
|
}, z.core.$strip>>;
|
|
877
877
|
runtime_application: z.ZodOptional<z.ZodEnum<{
|
|
878
|
-
unknown: "unknown";
|
|
879
878
|
applied: "applied";
|
|
879
|
+
unknown: "unknown";
|
|
880
880
|
restart_required: "restart_required";
|
|
881
881
|
}>>;
|
|
882
882
|
}, z.core.$strip>;
|
|
@@ -1542,6 +1542,57 @@ export declare const ProfileRowSchema: z.ZodObject<{
|
|
|
1542
1542
|
}, z.core.$strip>>>;
|
|
1543
1543
|
}, z.core.$strip>;
|
|
1544
1544
|
export declare const PROFILES_METHODS: {
|
|
1545
|
+
readonly 'profiles.import': {
|
|
1546
|
+
readonly params: z.ZodObject<{
|
|
1547
|
+
profile_home: z.ZodString;
|
|
1548
|
+
action: z.ZodEnum<{
|
|
1549
|
+
preview: "preview";
|
|
1550
|
+
result: "result";
|
|
1551
|
+
discover: "discover";
|
|
1552
|
+
apply: "apply";
|
|
1553
|
+
}>;
|
|
1554
|
+
agent: z.ZodOptional<z.ZodEnum<{
|
|
1555
|
+
"claude-code": "claude-code";
|
|
1556
|
+
codex: "codex";
|
|
1557
|
+
cursor: "cursor";
|
|
1558
|
+
}>>;
|
|
1559
|
+
receipt: z.ZodOptional<z.ZodString>;
|
|
1560
|
+
}, z.core.$strip>;
|
|
1561
|
+
readonly result: z.ZodObject<{
|
|
1562
|
+
status: z.ZodEnum<{
|
|
1563
|
+
available: "available";
|
|
1564
|
+
unavailable: "unavailable";
|
|
1565
|
+
preview: "preview";
|
|
1566
|
+
applied: "applied";
|
|
1567
|
+
partial: "partial";
|
|
1568
|
+
changed: "changed";
|
|
1569
|
+
unknown: "unknown";
|
|
1570
|
+
}>;
|
|
1571
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
1572
|
+
agent: z.ZodEnum<{
|
|
1573
|
+
"claude-code": "claude-code";
|
|
1574
|
+
codex: "codex";
|
|
1575
|
+
cursor: "cursor";
|
|
1576
|
+
}>;
|
|
1577
|
+
label: z.ZodString;
|
|
1578
|
+
}, z.core.$strip>>;
|
|
1579
|
+
items: z.ZodArray<z.ZodObject<{
|
|
1580
|
+
kind: z.ZodString;
|
|
1581
|
+
status: z.ZodEnum<{
|
|
1582
|
+
error: "error";
|
|
1583
|
+
imported: "imported";
|
|
1584
|
+
skipped: "skipped";
|
|
1585
|
+
conflict: "conflict";
|
|
1586
|
+
}>;
|
|
1587
|
+
label: z.ZodString;
|
|
1588
|
+
}, z.core.$strip>>;
|
|
1589
|
+
stripped_secrets: z.ZodArray<z.ZodString>;
|
|
1590
|
+
catalog_required: z.ZodOptional<z.ZodBoolean>;
|
|
1591
|
+
receipt: z.ZodNullable<z.ZodString>;
|
|
1592
|
+
can_apply: z.ZodBoolean;
|
|
1593
|
+
message: z.ZodNullable<z.ZodString>;
|
|
1594
|
+
}, z.core.$strip>;
|
|
1595
|
+
};
|
|
1545
1596
|
readonly 'profiles.list': {
|
|
1546
1597
|
readonly params: z.ZodObject<{
|
|
1547
1598
|
base_home: z.ZodString;
|
|
@@ -1665,6 +1716,45 @@ export declare const SkillRowSchema: z.ZodObject<{
|
|
|
1665
1716
|
category: z.ZodNullable<z.ZodString>;
|
|
1666
1717
|
disabled: z.ZodBoolean;
|
|
1667
1718
|
}, z.core.$strip>;
|
|
1719
|
+
export declare const SkillRevisionIdSchema: z.ZodString;
|
|
1720
|
+
export declare const SkillRevisionsInputSchema: z.ZodObject<{
|
|
1721
|
+
name: z.ZodString;
|
|
1722
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
1723
|
+
compare_to: z.ZodOptional<z.ZodString>;
|
|
1724
|
+
}, z.core.$strip>;
|
|
1725
|
+
/** Read-only, profile/skill-bound saved history. Raw content hashes never authorize a write or replay. */
|
|
1726
|
+
export declare const SkillRevisionsSchema: z.ZodObject<{
|
|
1727
|
+
state: z.ZodEnum<{
|
|
1728
|
+
available: "available";
|
|
1729
|
+
unavailable: "unavailable";
|
|
1730
|
+
missing: "missing";
|
|
1731
|
+
}>;
|
|
1732
|
+
reason: z.ZodNullable<z.ZodEnum<{
|
|
1733
|
+
backend_unavailable: "backend_unavailable";
|
|
1734
|
+
identity_unavailable: "identity_unavailable";
|
|
1735
|
+
history_unavailable: "history_unavailable";
|
|
1736
|
+
invalid_history: "invalid_history";
|
|
1737
|
+
}>>;
|
|
1738
|
+
backend_revision: z.ZodNullable<z.ZodString>;
|
|
1739
|
+
revisions: z.ZodArray<z.ZodObject<{
|
|
1740
|
+
id: z.ZodString;
|
|
1741
|
+
sha256: z.ZodString;
|
|
1742
|
+
label: z.ZodString;
|
|
1743
|
+
saved_at: z.ZodNullable<z.ZodString>;
|
|
1744
|
+
actor: z.ZodNullable<z.ZodString>;
|
|
1745
|
+
current: z.ZodBoolean;
|
|
1746
|
+
}, z.core.$strip>>;
|
|
1747
|
+
selected: z.ZodNullable<z.ZodObject<{
|
|
1748
|
+
revision: z.ZodString;
|
|
1749
|
+
content: z.ZodString;
|
|
1750
|
+
}, z.core.$strip>>;
|
|
1751
|
+
comparison: z.ZodNullable<z.ZodObject<{
|
|
1752
|
+
from_revision: z.ZodString;
|
|
1753
|
+
to_revision: z.ZodString;
|
|
1754
|
+
diff: z.ZodString;
|
|
1755
|
+
}, z.core.$strip>>;
|
|
1756
|
+
replay_available: z.ZodLiteral<false>;
|
|
1757
|
+
}, z.core.$strip>;
|
|
1668
1758
|
export declare const SkillViewSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1669
1759
|
success: z.ZodLiteral<true>;
|
|
1670
1760
|
name: z.ZodString;
|
|
@@ -1685,6 +1775,46 @@ export declare const SkillViewSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1685
1775
|
hint: z.ZodOptional<z.ZodString>;
|
|
1686
1776
|
}, z.core.$strip>]>;
|
|
1687
1777
|
export declare const SKILLS_METHODS: {
|
|
1778
|
+
readonly 'skills.revisions': {
|
|
1779
|
+
readonly params: z.ZodObject<{
|
|
1780
|
+
name: z.ZodString;
|
|
1781
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
1782
|
+
compare_to: z.ZodOptional<z.ZodString>;
|
|
1783
|
+
profile_home: z.ZodString;
|
|
1784
|
+
}, z.core.$strip>;
|
|
1785
|
+
readonly result: z.ZodObject<{
|
|
1786
|
+
state: z.ZodEnum<{
|
|
1787
|
+
available: "available";
|
|
1788
|
+
unavailable: "unavailable";
|
|
1789
|
+
missing: "missing";
|
|
1790
|
+
}>;
|
|
1791
|
+
reason: z.ZodNullable<z.ZodEnum<{
|
|
1792
|
+
backend_unavailable: "backend_unavailable";
|
|
1793
|
+
identity_unavailable: "identity_unavailable";
|
|
1794
|
+
history_unavailable: "history_unavailable";
|
|
1795
|
+
invalid_history: "invalid_history";
|
|
1796
|
+
}>>;
|
|
1797
|
+
backend_revision: z.ZodNullable<z.ZodString>;
|
|
1798
|
+
revisions: z.ZodArray<z.ZodObject<{
|
|
1799
|
+
id: z.ZodString;
|
|
1800
|
+
sha256: z.ZodString;
|
|
1801
|
+
label: z.ZodString;
|
|
1802
|
+
saved_at: z.ZodNullable<z.ZodString>;
|
|
1803
|
+
actor: z.ZodNullable<z.ZodString>;
|
|
1804
|
+
current: z.ZodBoolean;
|
|
1805
|
+
}, z.core.$strip>>;
|
|
1806
|
+
selected: z.ZodNullable<z.ZodObject<{
|
|
1807
|
+
revision: z.ZodString;
|
|
1808
|
+
content: z.ZodString;
|
|
1809
|
+
}, z.core.$strip>>;
|
|
1810
|
+
comparison: z.ZodNullable<z.ZodObject<{
|
|
1811
|
+
from_revision: z.ZodString;
|
|
1812
|
+
to_revision: z.ZodString;
|
|
1813
|
+
diff: z.ZodString;
|
|
1814
|
+
}, z.core.$strip>>;
|
|
1815
|
+
replay_available: z.ZodLiteral<false>;
|
|
1816
|
+
}, z.core.$strip>;
|
|
1817
|
+
};
|
|
1688
1818
|
readonly 'skills.list': {
|
|
1689
1819
|
readonly params: z.ZodObject<{
|
|
1690
1820
|
profile_home: z.ZodString;
|
|
@@ -1838,6 +1968,28 @@ export declare const MCP_METHODS: {
|
|
|
1838
1968
|
}, z.core.$strip>;
|
|
1839
1969
|
};
|
|
1840
1970
|
};
|
|
1971
|
+
/** Safe current-account display. Authentication success is independent of native app handoff state. */
|
|
1972
|
+
export declare const NousAccountSchema: z.ZodObject<{
|
|
1973
|
+
account_id: z.ZodString;
|
|
1974
|
+
email: z.ZodNullable<z.ZodString>;
|
|
1975
|
+
state: z.ZodEnum<{
|
|
1976
|
+
unavailable: "unavailable";
|
|
1977
|
+
unknown: "unknown";
|
|
1978
|
+
pending: "pending";
|
|
1979
|
+
failed: "failed";
|
|
1980
|
+
idle: "idle";
|
|
1981
|
+
retrying: "retrying";
|
|
1982
|
+
claimed: "claimed";
|
|
1983
|
+
gone: "gone";
|
|
1984
|
+
paused: "paused";
|
|
1985
|
+
}>;
|
|
1986
|
+
lines: z.ZodArray<z.ZodString>;
|
|
1987
|
+
moved: z.ZodArray<z.ZodString>;
|
|
1988
|
+
dropped: z.ZodArray<z.ZodString>;
|
|
1989
|
+
reconnect: z.ZodArray<z.ZodString>;
|
|
1990
|
+
poll_after: z.ZodNullable<z.ZodNumber>;
|
|
1991
|
+
}, z.core.$strip>;
|
|
1992
|
+
export type NousAccount = z.infer<typeof NousAccountSchema>;
|
|
1841
1993
|
/** One portal policy layer's rules (the Agent's `PolicyBody`): `allow` names the apps that stay on, `deny` the ones off; `tools` turns single tools off. */
|
|
1842
1994
|
export declare const ConnectorPolicyBodySchema: z.ZodObject<{
|
|
1843
1995
|
mode: z.ZodEnum<{
|
|
@@ -1861,9 +2013,9 @@ export declare const ConnectorOperationTargetSchema: z.ZodObject<{
|
|
|
1861
2013
|
name: z.ZodString;
|
|
1862
2014
|
kind: z.ZodString;
|
|
1863
2015
|
state: z.ZodEnum<{
|
|
2016
|
+
skipped: "skipped";
|
|
1864
2017
|
pending: "pending";
|
|
1865
2018
|
expired: "expired";
|
|
1866
|
-
skipped: "skipped";
|
|
1867
2019
|
failed: "failed";
|
|
1868
2020
|
initiated: "initiated";
|
|
1869
2021
|
connected: "connected";
|
|
@@ -1891,9 +2043,9 @@ export declare const ConnectorOperationSnapshotSchema: z.ZodObject<{
|
|
|
1891
2043
|
name: z.ZodString;
|
|
1892
2044
|
kind: z.ZodString;
|
|
1893
2045
|
state: z.ZodEnum<{
|
|
2046
|
+
skipped: "skipped";
|
|
1894
2047
|
pending: "pending";
|
|
1895
2048
|
expired: "expired";
|
|
1896
|
-
skipped: "skipped";
|
|
1897
2049
|
failed: "failed";
|
|
1898
2050
|
initiated: "initiated";
|
|
1899
2051
|
connected: "connected";
|
|
@@ -1909,12 +2061,32 @@ export declare const ConnectorOperationSnapshotSchema: z.ZodObject<{
|
|
|
1909
2061
|
}, z.core.$strip>>;
|
|
1910
2062
|
}, z.core.$strip>>;
|
|
1911
2063
|
}, z.core.$strip>;
|
|
1912
|
-
/**
|
|
1913
|
-
* Failures carry `data.condition`: `connectors_unavailable`, `connectors_sign_in`, `connectors_forbidden`, `connectors_org_required`,
|
|
1914
|
-
* `connector_not_found`, `connection_not_found`, `policy_conflict` (the member rules changed since `expected_revision`), `policy_invalid`,
|
|
1915
|
-
* `operation_not_found`, `operation_settled`, `operation_refused`, `connectors_failed`.
|
|
1916
|
-
*/
|
|
1917
2064
|
export declare const CONNECTORS_METHODS: {
|
|
2065
|
+
readonly 'connectors.offer.status': {
|
|
2066
|
+
readonly params: z.ZodObject<{
|
|
2067
|
+
profile_home: z.ZodString;
|
|
2068
|
+
}, z.core.$strip>;
|
|
2069
|
+
readonly result: z.ZodObject<{
|
|
2070
|
+
available: z.ZodBoolean;
|
|
2071
|
+
guest_id: z.ZodNullable<z.ZodString>;
|
|
2072
|
+
eligible: z.ZodBoolean;
|
|
2073
|
+
due_in: z.ZodNullable<z.ZodNumber>;
|
|
2074
|
+
claimed: z.ZodBoolean;
|
|
2075
|
+
}, z.core.$strip>;
|
|
2076
|
+
};
|
|
2077
|
+
readonly 'connectors.offer.claim': {
|
|
2078
|
+
readonly params: z.ZodObject<{
|
|
2079
|
+
profile_home: z.ZodString;
|
|
2080
|
+
guest_id: z.ZodString;
|
|
2081
|
+
}, z.core.$strip>;
|
|
2082
|
+
readonly result: z.ZodObject<{
|
|
2083
|
+
available: z.ZodBoolean;
|
|
2084
|
+
guest_id: z.ZodNullable<z.ZodString>;
|
|
2085
|
+
eligible: z.ZodBoolean;
|
|
2086
|
+
due_in: z.ZodNullable<z.ZodNumber>;
|
|
2087
|
+
claimed: z.ZodBoolean;
|
|
2088
|
+
}, z.core.$strip>;
|
|
2089
|
+
};
|
|
1918
2090
|
/** The Agent's `connectors_available()`; never creates an identity. */
|
|
1919
2091
|
readonly 'connectors.available': {
|
|
1920
2092
|
readonly params: z.ZodObject<{
|
|
@@ -2055,6 +2227,7 @@ export declare const CONNECTORS_METHODS: {
|
|
|
2055
2227
|
readonly params: z.ZodObject<{
|
|
2056
2228
|
profile_home: z.ZodString;
|
|
2057
2229
|
connector: z.ZodString;
|
|
2230
|
+
nous_account_id: z.ZodOptional<z.ZodString>;
|
|
2058
2231
|
}, z.core.$strip>;
|
|
2059
2232
|
readonly result: z.ZodObject<{
|
|
2060
2233
|
op_id: z.ZodString;
|
|
@@ -2068,9 +2241,9 @@ export declare const CONNECTORS_METHODS: {
|
|
|
2068
2241
|
name: z.ZodString;
|
|
2069
2242
|
kind: z.ZodString;
|
|
2070
2243
|
state: z.ZodEnum<{
|
|
2244
|
+
skipped: "skipped";
|
|
2071
2245
|
pending: "pending";
|
|
2072
2246
|
expired: "expired";
|
|
2073
|
-
skipped: "skipped";
|
|
2074
2247
|
failed: "failed";
|
|
2075
2248
|
initiated: "initiated";
|
|
2076
2249
|
connected: "connected";
|
|
@@ -2104,9 +2277,9 @@ export declare const CONNECTORS_METHODS: {
|
|
|
2104
2277
|
name: z.ZodString;
|
|
2105
2278
|
kind: z.ZodString;
|
|
2106
2279
|
state: z.ZodEnum<{
|
|
2280
|
+
skipped: "skipped";
|
|
2107
2281
|
pending: "pending";
|
|
2108
2282
|
expired: "expired";
|
|
2109
|
-
skipped: "skipped";
|
|
2110
2283
|
failed: "failed";
|
|
2111
2284
|
initiated: "initiated";
|
|
2112
2285
|
connected: "connected";
|
|
@@ -2148,9 +2321,9 @@ export declare const CONNECTORS_METHODS: {
|
|
|
2148
2321
|
name: z.ZodString;
|
|
2149
2322
|
kind: z.ZodString;
|
|
2150
2323
|
state: z.ZodEnum<{
|
|
2324
|
+
skipped: "skipped";
|
|
2151
2325
|
pending: "pending";
|
|
2152
2326
|
expired: "expired";
|
|
2153
|
-
skipped: "skipped";
|
|
2154
2327
|
failed: "failed";
|
|
2155
2328
|
initiated: "initiated";
|
|
2156
2329
|
connected: "connected";
|
|
@@ -2168,6 +2341,22 @@ export declare const CONNECTORS_METHODS: {
|
|
|
2168
2341
|
}, z.core.$strip>;
|
|
2169
2342
|
};
|
|
2170
2343
|
};
|
|
2344
|
+
/** The Agent owns speech providers, credentials and output encoding, as with STT. */
|
|
2345
|
+
export declare const TTS_METHODS: {
|
|
2346
|
+
readonly 'tts.synthesize': {
|
|
2347
|
+
readonly params: z.ZodObject<{
|
|
2348
|
+
profile_home: z.ZodString;
|
|
2349
|
+
text: z.ZodString;
|
|
2350
|
+
provider: z.ZodString;
|
|
2351
|
+
speed: z.ZodOptional<z.ZodNumber>;
|
|
2352
|
+
}, z.core.$strip>;
|
|
2353
|
+
readonly result: z.ZodObject<{
|
|
2354
|
+
provider: z.ZodString;
|
|
2355
|
+
format: z.ZodString;
|
|
2356
|
+
audio_b64: z.ZodString;
|
|
2357
|
+
}, z.core.$strip>;
|
|
2358
|
+
};
|
|
2359
|
+
};
|
|
2171
2360
|
export declare const STT_METHODS: {
|
|
2172
2361
|
/**
|
|
2173
2362
|
* `streaming` (TAL-802): `stt.streaming` is on and the provider has a live wire with credentials, so `stt.stream` would open.
|
|
@@ -2611,6 +2800,33 @@ export declare const PROVIDERS_METHODS: {
|
|
|
2611
2800
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
2612
2801
|
}, z.core.$strip>;
|
|
2613
2802
|
};
|
|
2803
|
+
readonly 'providers.nous_account': {
|
|
2804
|
+
readonly params: z.ZodObject<{
|
|
2805
|
+
profile_home: z.ZodString;
|
|
2806
|
+
}, z.core.$strip>;
|
|
2807
|
+
readonly result: z.ZodObject<{
|
|
2808
|
+
nous_account: z.ZodNullable<z.ZodObject<{
|
|
2809
|
+
account_id: z.ZodString;
|
|
2810
|
+
email: z.ZodNullable<z.ZodString>;
|
|
2811
|
+
state: z.ZodEnum<{
|
|
2812
|
+
unavailable: "unavailable";
|
|
2813
|
+
unknown: "unknown";
|
|
2814
|
+
pending: "pending";
|
|
2815
|
+
failed: "failed";
|
|
2816
|
+
idle: "idle";
|
|
2817
|
+
retrying: "retrying";
|
|
2818
|
+
claimed: "claimed";
|
|
2819
|
+
gone: "gone";
|
|
2820
|
+
paused: "paused";
|
|
2821
|
+
}>;
|
|
2822
|
+
lines: z.ZodArray<z.ZodString>;
|
|
2823
|
+
moved: z.ZodArray<z.ZodString>;
|
|
2824
|
+
dropped: z.ZodArray<z.ZodString>;
|
|
2825
|
+
reconnect: z.ZodArray<z.ZodString>;
|
|
2826
|
+
poll_after: z.ZodNullable<z.ZodNumber>;
|
|
2827
|
+
}, z.core.$strip>>;
|
|
2828
|
+
}, z.core.$strip>;
|
|
2829
|
+
};
|
|
2614
2830
|
readonly 'providers.auth_status': {
|
|
2615
2831
|
readonly params: z.ZodObject<{
|
|
2616
2832
|
profile_home: z.ZodString;
|
|
@@ -2629,6 +2845,42 @@ export declare const PROVIDERS_METHODS: {
|
|
|
2629
2845
|
force_refresh: z.ZodOptional<z.ZodBoolean>;
|
|
2630
2846
|
}, z.core.$strip>;
|
|
2631
2847
|
readonly result: z.ZodObject<{
|
|
2848
|
+
metadata_status: z.ZodOptional<z.ZodEnum<{
|
|
2849
|
+
error: "error";
|
|
2850
|
+
unsupported: "unsupported";
|
|
2851
|
+
current: "current";
|
|
2852
|
+
pending: "pending";
|
|
2853
|
+
stale: "stale";
|
|
2854
|
+
}>>;
|
|
2855
|
+
plan_usage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2856
|
+
kind: z.ZodLiteral<"usage_window">;
|
|
2857
|
+
plan: z.ZodNullable<z.ZodString>;
|
|
2858
|
+
gauges: z.ZodArray<z.ZodObject<{
|
|
2859
|
+
label: z.ZodString;
|
|
2860
|
+
left_fraction: z.ZodNumber;
|
|
2861
|
+
style: z.ZodEnum<{
|
|
2862
|
+
green: "green";
|
|
2863
|
+
yellow: "yellow";
|
|
2864
|
+
red: "red";
|
|
2865
|
+
}>;
|
|
2866
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
2867
|
+
scope: z.ZodString;
|
|
2868
|
+
title: z.ZodString;
|
|
2869
|
+
}, z.core.$strip>>;
|
|
2870
|
+
top_tier_model_ids: z.ZodArray<z.ZodString>;
|
|
2871
|
+
featured_model_ids: z.ZodArray<z.ZodString>;
|
|
2872
|
+
paused_reason: z.ZodNullable<z.ZodString>;
|
|
2873
|
+
credits_pay: z.ZodNullable<z.ZodBoolean>;
|
|
2874
|
+
}, z.core.$strip>>>;
|
|
2875
|
+
usage_levels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
2876
|
+
free: "free";
|
|
2877
|
+
low: "low";
|
|
2878
|
+
medium: "medium";
|
|
2879
|
+
top_tier: "top_tier";
|
|
2880
|
+
}>>>;
|
|
2881
|
+
unavailable_model_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2882
|
+
allowance_pending: z.ZodOptional<z.ZodBoolean>;
|
|
2883
|
+
free_tier: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2632
2884
|
provider: z.ZodString;
|
|
2633
2885
|
model_ids: z.ZodArray<z.ZodString>;
|
|
2634
2886
|
fallback: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -2765,8 +3017,8 @@ export declare const OAuthFlowStatusSchema: z.ZodEnum<{
|
|
|
2765
3017
|
error: "error";
|
|
2766
3018
|
pending: "pending";
|
|
2767
3019
|
expired: "expired";
|
|
2768
|
-
cancelled: "cancelled";
|
|
2769
3020
|
approved: "approved";
|
|
3021
|
+
cancelled: "cancelled";
|
|
2770
3022
|
denied: "denied";
|
|
2771
3023
|
}>;
|
|
2772
3024
|
export declare const OAUTH_METHODS: {
|
|
@@ -2800,11 +3052,31 @@ export declare const OAUTH_METHODS: {
|
|
|
2800
3052
|
error: "error";
|
|
2801
3053
|
pending: "pending";
|
|
2802
3054
|
expired: "expired";
|
|
2803
|
-
cancelled: "cancelled";
|
|
2804
3055
|
approved: "approved";
|
|
3056
|
+
cancelled: "cancelled";
|
|
2805
3057
|
denied: "denied";
|
|
2806
3058
|
}>;
|
|
2807
3059
|
error: z.ZodNullable<z.ZodString>;
|
|
3060
|
+
nous_account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3061
|
+
account_id: z.ZodString;
|
|
3062
|
+
email: z.ZodNullable<z.ZodString>;
|
|
3063
|
+
state: z.ZodEnum<{
|
|
3064
|
+
unavailable: "unavailable";
|
|
3065
|
+
unknown: "unknown";
|
|
3066
|
+
pending: "pending";
|
|
3067
|
+
failed: "failed";
|
|
3068
|
+
idle: "idle";
|
|
3069
|
+
retrying: "retrying";
|
|
3070
|
+
claimed: "claimed";
|
|
3071
|
+
gone: "gone";
|
|
3072
|
+
paused: "paused";
|
|
3073
|
+
}>;
|
|
3074
|
+
lines: z.ZodArray<z.ZodString>;
|
|
3075
|
+
moved: z.ZodArray<z.ZodString>;
|
|
3076
|
+
dropped: z.ZodArray<z.ZodString>;
|
|
3077
|
+
reconnect: z.ZodArray<z.ZodString>;
|
|
3078
|
+
poll_after: z.ZodNullable<z.ZodNumber>;
|
|
3079
|
+
}, z.core.$strip>>>;
|
|
2808
3080
|
}, z.core.$strip>;
|
|
2809
3081
|
};
|
|
2810
3082
|
readonly 'oauth.cancel': {
|
|
@@ -2819,11 +3091,31 @@ export declare const OAUTH_METHODS: {
|
|
|
2819
3091
|
error: "error";
|
|
2820
3092
|
pending: "pending";
|
|
2821
3093
|
expired: "expired";
|
|
2822
|
-
cancelled: "cancelled";
|
|
2823
3094
|
approved: "approved";
|
|
3095
|
+
cancelled: "cancelled";
|
|
2824
3096
|
denied: "denied";
|
|
2825
3097
|
}>;
|
|
2826
3098
|
error: z.ZodNullable<z.ZodString>;
|
|
3099
|
+
nous_account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3100
|
+
account_id: z.ZodString;
|
|
3101
|
+
email: z.ZodNullable<z.ZodString>;
|
|
3102
|
+
state: z.ZodEnum<{
|
|
3103
|
+
unavailable: "unavailable";
|
|
3104
|
+
unknown: "unknown";
|
|
3105
|
+
pending: "pending";
|
|
3106
|
+
failed: "failed";
|
|
3107
|
+
idle: "idle";
|
|
3108
|
+
retrying: "retrying";
|
|
3109
|
+
claimed: "claimed";
|
|
3110
|
+
gone: "gone";
|
|
3111
|
+
paused: "paused";
|
|
3112
|
+
}>;
|
|
3113
|
+
lines: z.ZodArray<z.ZodString>;
|
|
3114
|
+
moved: z.ZodArray<z.ZodString>;
|
|
3115
|
+
dropped: z.ZodArray<z.ZodString>;
|
|
3116
|
+
reconnect: z.ZodArray<z.ZodString>;
|
|
3117
|
+
poll_after: z.ZodNullable<z.ZodNumber>;
|
|
3118
|
+
}, z.core.$strip>>>;
|
|
2827
3119
|
}, z.core.$strip>;
|
|
2828
3120
|
};
|
|
2829
3121
|
readonly 'oauth.submit_redirect': {
|
|
@@ -2839,11 +3131,31 @@ export declare const OAUTH_METHODS: {
|
|
|
2839
3131
|
error: "error";
|
|
2840
3132
|
pending: "pending";
|
|
2841
3133
|
expired: "expired";
|
|
2842
|
-
cancelled: "cancelled";
|
|
2843
3134
|
approved: "approved";
|
|
3135
|
+
cancelled: "cancelled";
|
|
2844
3136
|
denied: "denied";
|
|
2845
3137
|
}>;
|
|
2846
3138
|
error: z.ZodNullable<z.ZodString>;
|
|
3139
|
+
nous_account: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3140
|
+
account_id: z.ZodString;
|
|
3141
|
+
email: z.ZodNullable<z.ZodString>;
|
|
3142
|
+
state: z.ZodEnum<{
|
|
3143
|
+
unavailable: "unavailable";
|
|
3144
|
+
unknown: "unknown";
|
|
3145
|
+
pending: "pending";
|
|
3146
|
+
failed: "failed";
|
|
3147
|
+
idle: "idle";
|
|
3148
|
+
retrying: "retrying";
|
|
3149
|
+
claimed: "claimed";
|
|
3150
|
+
gone: "gone";
|
|
3151
|
+
paused: "paused";
|
|
3152
|
+
}>;
|
|
3153
|
+
lines: z.ZodArray<z.ZodString>;
|
|
3154
|
+
moved: z.ZodArray<z.ZodString>;
|
|
3155
|
+
dropped: z.ZodArray<z.ZodString>;
|
|
3156
|
+
reconnect: z.ZodArray<z.ZodString>;
|
|
3157
|
+
poll_after: z.ZodNullable<z.ZodNumber>;
|
|
3158
|
+
}, z.core.$strip>>>;
|
|
2847
3159
|
}, z.core.$strip>;
|
|
2848
3160
|
};
|
|
2849
3161
|
};
|
|
@@ -2886,6 +3198,90 @@ export declare const AUX_METHODS: {
|
|
|
2886
3198
|
}, z.core.$strip>;
|
|
2887
3199
|
}, z.core.$strip>], "event">;
|
|
2888
3200
|
};
|
|
3201
|
+
readonly 'aux.delegation': {
|
|
3202
|
+
readonly params: z.ZodObject<{
|
|
3203
|
+
profile_home: z.ZodString;
|
|
3204
|
+
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3205
|
+
}, z.core.$strip>;
|
|
3206
|
+
readonly result: z.ZodObject<{
|
|
3207
|
+
supported: z.ZodBoolean;
|
|
3208
|
+
configured: z.ZodString;
|
|
3209
|
+
effective: z.ZodNullable<z.ZodString>;
|
|
3210
|
+
available: z.ZodBoolean;
|
|
3211
|
+
blocked_reason: z.ZodNullable<z.ZodString>;
|
|
3212
|
+
fixed_model_active: z.ZodBoolean;
|
|
3213
|
+
backends: z.ZodArray<z.ZodObject<{
|
|
3214
|
+
name: z.ZodString;
|
|
3215
|
+
label: z.ZodString;
|
|
3216
|
+
description: z.ZodString;
|
|
3217
|
+
available: z.ZodBoolean;
|
|
3218
|
+
reason: z.ZodString;
|
|
3219
|
+
}, z.core.$strip>>;
|
|
3220
|
+
profiles: z.ZodArray<z.ZodString>;
|
|
3221
|
+
}, z.core.$strip>;
|
|
3222
|
+
};
|
|
3223
|
+
readonly 'aux.delegation_backend': {
|
|
3224
|
+
readonly params: z.ZodObject<{
|
|
3225
|
+
profile_home: z.ZodString;
|
|
3226
|
+
backend: z.ZodString;
|
|
3227
|
+
config_path: z.ZodString;
|
|
3228
|
+
}, z.core.$strip>;
|
|
3229
|
+
readonly result: z.ZodObject<{
|
|
3230
|
+
ok: z.ZodBoolean;
|
|
3231
|
+
}, z.core.$strip>;
|
|
3232
|
+
};
|
|
3233
|
+
readonly 'aux.delegation_routes': {
|
|
3234
|
+
readonly params: z.ZodObject<{
|
|
3235
|
+
profile_home: z.ZodString;
|
|
3236
|
+
backend: z.ZodEnum<{
|
|
3237
|
+
model_map: "model_map";
|
|
3238
|
+
profile_routes: "profile_routes";
|
|
3239
|
+
}>;
|
|
3240
|
+
block: z.ZodObject<{
|
|
3241
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3242
|
+
name: z.ZodString;
|
|
3243
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3244
|
+
original_name: z.ZodOptional<z.ZodString>;
|
|
3245
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
3246
|
+
model: z.ZodOptional<z.ZodString>;
|
|
3247
|
+
base_url: z.ZodOptional<z.ZodString>;
|
|
3248
|
+
api_mode: z.ZodOptional<z.ZodString>;
|
|
3249
|
+
api_key_set: z.ZodOptional<z.ZodBoolean>;
|
|
3250
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
3251
|
+
api_key_clear: z.ZodOptional<z.ZodBoolean>;
|
|
3252
|
+
reasoning_effort: z.ZodOptional<z.ZodString>;
|
|
3253
|
+
service_tier: z.ZodOptional<z.ZodString>;
|
|
3254
|
+
fallback_providers: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
3255
|
+
request_overrides: z.ZodOptional<z.ZodUnknown>;
|
|
3256
|
+
profile: z.ZodOptional<z.ZodString>;
|
|
3257
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3258
|
+
}, z.core.$strip>>>;
|
|
3259
|
+
profiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3260
|
+
name: z.ZodString;
|
|
3261
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3262
|
+
original_name: z.ZodOptional<z.ZodString>;
|
|
3263
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
3264
|
+
model: z.ZodOptional<z.ZodString>;
|
|
3265
|
+
base_url: z.ZodOptional<z.ZodString>;
|
|
3266
|
+
api_mode: z.ZodOptional<z.ZodString>;
|
|
3267
|
+
api_key_set: z.ZodOptional<z.ZodBoolean>;
|
|
3268
|
+
api_key: z.ZodOptional<z.ZodString>;
|
|
3269
|
+
api_key_clear: z.ZodOptional<z.ZodBoolean>;
|
|
3270
|
+
reasoning_effort: z.ZodOptional<z.ZodString>;
|
|
3271
|
+
service_tier: z.ZodOptional<z.ZodString>;
|
|
3272
|
+
fallback_providers: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
3273
|
+
request_overrides: z.ZodOptional<z.ZodUnknown>;
|
|
3274
|
+
profile: z.ZodOptional<z.ZodString>;
|
|
3275
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3276
|
+
}, z.core.$strip>>>;
|
|
3277
|
+
default: z.ZodNullable<z.ZodString>;
|
|
3278
|
+
}, z.core.$strip>;
|
|
3279
|
+
current: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3280
|
+
}, z.core.$strip>;
|
|
3281
|
+
readonly result: z.ZodObject<{
|
|
3282
|
+
block: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3283
|
+
}, z.core.$strip>;
|
|
3284
|
+
};
|
|
2889
3285
|
/**
|
|
2890
3286
|
* TAL-800: the profile's auxiliary slots in Agent order (built-ins, then the profile's plugin tasks). `reasoning_effort`
|
|
2891
3287
|
* is the slot's resolved effort (`''` = provider default); `effective` is the route an `inherit_from` task resolves to now.
|
|
@@ -3563,8 +3959,8 @@ export declare const WORKTREE_METHODS: {
|
|
|
3563
3959
|
}, z.core.$strip>;
|
|
3564
3960
|
readonly result: z.ZodObject<{
|
|
3565
3961
|
results: z.ZodRecord<z.ZodString, z.ZodEnum<{
|
|
3566
|
-
retained: "retained";
|
|
3567
3962
|
missing: "missing";
|
|
3963
|
+
retained: "retained";
|
|
3568
3964
|
foreign_lock: "foreign_lock";
|
|
3569
3965
|
}>>;
|
|
3570
3966
|
}, z.core.$strip>;
|
|
@@ -3632,6 +4028,12 @@ export declare const CHECKPOINTS_METHODS: {
|
|
|
3632
4028
|
};
|
|
3633
4029
|
};
|
|
3634
4030
|
export declare const ChatUsageSchema: z.ZodObject<{
|
|
4031
|
+
plan_gauge: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4032
|
+
id: z.ZodString;
|
|
4033
|
+
label: z.ZodString;
|
|
4034
|
+
used_bp: z.ZodNumber;
|
|
4035
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
4036
|
+
}, z.core.$strip>>>;
|
|
3635
4037
|
prompt_tokens: z.ZodNumber;
|
|
3636
4038
|
completion_tokens: z.ZodNumber;
|
|
3637
4039
|
cache_read_tokens: z.ZodNumber;
|
|
@@ -3655,6 +4057,12 @@ export declare const ChatStartResultSchema: z.ZodObject<{
|
|
|
3655
4057
|
tool_limit_reached: z.ZodBoolean;
|
|
3656
4058
|
max_iterations_summary_request: z.ZodString;
|
|
3657
4059
|
usage: z.ZodObject<{
|
|
4060
|
+
plan_gauge: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4061
|
+
id: z.ZodString;
|
|
4062
|
+
label: z.ZodString;
|
|
4063
|
+
used_bp: z.ZodNumber;
|
|
4064
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
4065
|
+
}, z.core.$strip>>>;
|
|
3658
4066
|
prompt_tokens: z.ZodNumber;
|
|
3659
4067
|
completion_tokens: z.ZodNumber;
|
|
3660
4068
|
cache_read_tokens: z.ZodNumber;
|
|
@@ -3695,6 +4103,12 @@ export declare const ChatStreamSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3695
4103
|
}, z.core.$strip>, z.ZodObject<{
|
|
3696
4104
|
event: z.ZodLiteral<"usage">;
|
|
3697
4105
|
data: z.ZodObject<{
|
|
4106
|
+
plan_gauge: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4107
|
+
id: z.ZodString;
|
|
4108
|
+
label: z.ZodString;
|
|
4109
|
+
used_bp: z.ZodNumber;
|
|
4110
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
4111
|
+
}, z.core.$strip>>>;
|
|
3698
4112
|
prompt_tokens: z.ZodNumber;
|
|
3699
4113
|
completion_tokens: z.ZodNumber;
|
|
3700
4114
|
cache_read_tokens: z.ZodNumber;
|
|
@@ -3753,9 +4167,9 @@ export declare const ChatStreamSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3753
4167
|
name: z.ZodString;
|
|
3754
4168
|
kind: z.ZodString;
|
|
3755
4169
|
state: z.ZodEnum<{
|
|
4170
|
+
skipped: "skipped";
|
|
3756
4171
|
pending: "pending";
|
|
3757
4172
|
expired: "expired";
|
|
3758
|
-
skipped: "skipped";
|
|
3759
4173
|
failed: "failed";
|
|
3760
4174
|
initiated: "initiated";
|
|
3761
4175
|
connected: "connected";
|
|
@@ -3873,6 +4287,12 @@ export declare const CHAT_METHODS: {
|
|
|
3873
4287
|
tool_limit_reached: z.ZodBoolean;
|
|
3874
4288
|
max_iterations_summary_request: z.ZodString;
|
|
3875
4289
|
usage: z.ZodObject<{
|
|
4290
|
+
plan_gauge: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4291
|
+
id: z.ZodString;
|
|
4292
|
+
label: z.ZodString;
|
|
4293
|
+
used_bp: z.ZodNumber;
|
|
4294
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
4295
|
+
}, z.core.$strip>>>;
|
|
3876
4296
|
prompt_tokens: z.ZodNumber;
|
|
3877
4297
|
completion_tokens: z.ZodNumber;
|
|
3878
4298
|
cache_read_tokens: z.ZodNumber;
|
|
@@ -3913,6 +4333,12 @@ export declare const CHAT_METHODS: {
|
|
|
3913
4333
|
}, z.core.$strip>, z.ZodObject<{
|
|
3914
4334
|
event: z.ZodLiteral<"usage">;
|
|
3915
4335
|
data: z.ZodObject<{
|
|
4336
|
+
plan_gauge: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4337
|
+
id: z.ZodString;
|
|
4338
|
+
label: z.ZodString;
|
|
4339
|
+
used_bp: z.ZodNumber;
|
|
4340
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
4341
|
+
}, z.core.$strip>>>;
|
|
3916
4342
|
prompt_tokens: z.ZodNumber;
|
|
3917
4343
|
completion_tokens: z.ZodNumber;
|
|
3918
4344
|
cache_read_tokens: z.ZodNumber;
|
|
@@ -3971,9 +4397,9 @@ export declare const CHAT_METHODS: {
|
|
|
3971
4397
|
name: z.ZodString;
|
|
3972
4398
|
kind: z.ZodString;
|
|
3973
4399
|
state: z.ZodEnum<{
|
|
4400
|
+
skipped: "skipped";
|
|
3974
4401
|
pending: "pending";
|
|
3975
4402
|
expired: "expired";
|
|
3976
|
-
skipped: "skipped";
|
|
3977
4403
|
failed: "failed";
|
|
3978
4404
|
initiated: "initiated";
|
|
3979
4405
|
connected: "connected";
|
|
@@ -4163,10 +4589,10 @@ export declare const CHAT_METHODS: {
|
|
|
4163
4589
|
readonly result: z.ZodObject<{
|
|
4164
4590
|
available: z.ZodBoolean;
|
|
4165
4591
|
reason: z.ZodNullable<z.ZodEnum<{
|
|
4592
|
+
unavailable: "unavailable";
|
|
4593
|
+
changed: "changed";
|
|
4166
4594
|
not_built: "not_built";
|
|
4167
4595
|
unsupported: "unsupported";
|
|
4168
|
-
changed: "changed";
|
|
4169
|
-
unavailable: "unavailable";
|
|
4170
4596
|
}>>;
|
|
4171
4597
|
used_tokens: z.ZodNullable<z.ZodNumber>;
|
|
4172
4598
|
window_tokens: z.ZodNullable<z.ZodNumber>;
|
|
@@ -4205,8 +4631,8 @@ export declare const CHAT_METHODS: {
|
|
|
4205
4631
|
characters: z.ZodNullable<z.ZodNumber>;
|
|
4206
4632
|
tokens: z.ZodNullable<z.ZodNumber>;
|
|
4207
4633
|
status: z.ZodEnum<{
|
|
4208
|
-
truncated: "truncated";
|
|
4209
4634
|
unknown: "unknown";
|
|
4635
|
+
truncated: "truncated";
|
|
4210
4636
|
loaded: "loaded";
|
|
4211
4637
|
flagged: "flagged";
|
|
4212
4638
|
shadowed: "shadowed";
|
|
@@ -4331,6 +4757,7 @@ export declare const CHAT_METHODS: {
|
|
|
4331
4757
|
};
|
|
4332
4758
|
readonly 'clarify.respond': {
|
|
4333
4759
|
readonly params: z.ZodObject<{
|
|
4760
|
+
profile_home: z.ZodOptional<z.ZodString>;
|
|
4334
4761
|
stream_id: z.ZodOptional<z.ZodString>;
|
|
4335
4762
|
session_id: z.ZodOptional<z.ZodString>;
|
|
4336
4763
|
clarify_id: z.ZodOptional<z.ZodString>;
|
|
@@ -4349,8 +4776,8 @@ export declare const GATEWAY_METHODS: {
|
|
|
4349
4776
|
profile_home: z.ZodString;
|
|
4350
4777
|
session_id: z.ZodString;
|
|
4351
4778
|
action: z.ZodEnum<{
|
|
4352
|
-
snapshot: "snapshot";
|
|
4353
4779
|
receipt: "receipt";
|
|
4780
|
+
snapshot: "snapshot";
|
|
4354
4781
|
context_detail: "context_detail";
|
|
4355
4782
|
export: "export";
|
|
4356
4783
|
checkpoint_diff: "checkpoint_diff";
|
|
@@ -4428,6 +4855,12 @@ export declare const GATEWAY_METHODS: {
|
|
|
4428
4855
|
reason: z.ZodNullable<z.ZodString>;
|
|
4429
4856
|
replay_gap: z.ZodOptional<z.ZodBoolean>;
|
|
4430
4857
|
snapshot: z.ZodNullable<z.ZodObject<{
|
|
4858
|
+
plan_gauge: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4859
|
+
id: z.ZodString;
|
|
4860
|
+
label: z.ZodString;
|
|
4861
|
+
used_bp: z.ZodNumber;
|
|
4862
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
4863
|
+
}, z.core.$strip>>>;
|
|
4431
4864
|
session_id: z.ZodString;
|
|
4432
4865
|
stored_session_id: z.ZodString;
|
|
4433
4866
|
messages: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -4440,6 +4873,10 @@ export declare const GATEWAY_METHODS: {
|
|
|
4440
4873
|
revision: z.ZodNumber;
|
|
4441
4874
|
execution_generation: z.ZodNumber;
|
|
4442
4875
|
reactions_supported: z.ZodOptional<z.ZodBoolean>;
|
|
4876
|
+
todo_state: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4877
|
+
todos: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4878
|
+
revision: z.ZodOptional<z.ZodNumber>;
|
|
4879
|
+
}, z.core.$strip>>>;
|
|
4443
4880
|
pending: z.ZodArray<z.ZodObject<{
|
|
4444
4881
|
admission_id: z.ZodString;
|
|
4445
4882
|
sequence: z.ZodNumber;
|
|
@@ -4499,10 +4936,10 @@ export declare const GATEWAY_METHODS: {
|
|
|
4499
4936
|
context_detail: z.ZodOptional<z.ZodObject<{
|
|
4500
4937
|
available: z.ZodBoolean;
|
|
4501
4938
|
reason: z.ZodNullable<z.ZodEnum<{
|
|
4939
|
+
unavailable: "unavailable";
|
|
4940
|
+
changed: "changed";
|
|
4502
4941
|
not_built: "not_built";
|
|
4503
4942
|
unsupported: "unsupported";
|
|
4504
|
-
changed: "changed";
|
|
4505
|
-
unavailable: "unavailable";
|
|
4506
4943
|
}>>;
|
|
4507
4944
|
used_tokens: z.ZodNullable<z.ZodNumber>;
|
|
4508
4945
|
window_tokens: z.ZodNullable<z.ZodNumber>;
|
|
@@ -4541,8 +4978,8 @@ export declare const GATEWAY_METHODS: {
|
|
|
4541
4978
|
characters: z.ZodNullable<z.ZodNumber>;
|
|
4542
4979
|
tokens: z.ZodNullable<z.ZodNumber>;
|
|
4543
4980
|
status: z.ZodEnum<{
|
|
4544
|
-
truncated: "truncated";
|
|
4545
4981
|
unknown: "unknown";
|
|
4982
|
+
truncated: "truncated";
|
|
4546
4983
|
loaded: "loaded";
|
|
4547
4984
|
flagged: "flagged";
|
|
4548
4985
|
shadowed: "shadowed";
|
|
@@ -4617,6 +5054,12 @@ export declare const GATEWAY_METHODS: {
|
|
|
4617
5054
|
reason: z.ZodNullable<z.ZodString>;
|
|
4618
5055
|
replay_gap: z.ZodOptional<z.ZodBoolean>;
|
|
4619
5056
|
snapshot: z.ZodNullable<z.ZodObject<{
|
|
5057
|
+
plan_gauge: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5058
|
+
id: z.ZodString;
|
|
5059
|
+
label: z.ZodString;
|
|
5060
|
+
used_bp: z.ZodNumber;
|
|
5061
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
5062
|
+
}, z.core.$strip>>>;
|
|
4620
5063
|
session_id: z.ZodString;
|
|
4621
5064
|
stored_session_id: z.ZodString;
|
|
4622
5065
|
messages: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -4629,6 +5072,10 @@ export declare const GATEWAY_METHODS: {
|
|
|
4629
5072
|
revision: z.ZodNumber;
|
|
4630
5073
|
execution_generation: z.ZodNumber;
|
|
4631
5074
|
reactions_supported: z.ZodOptional<z.ZodBoolean>;
|
|
5075
|
+
todo_state: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5076
|
+
todos: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5077
|
+
revision: z.ZodOptional<z.ZodNumber>;
|
|
5078
|
+
}, z.core.$strip>>>;
|
|
4632
5079
|
pending: z.ZodArray<z.ZodObject<{
|
|
4633
5080
|
admission_id: z.ZodString;
|
|
4634
5081
|
sequence: z.ZodNumber;
|
|
@@ -4688,10 +5135,10 @@ export declare const GATEWAY_METHODS: {
|
|
|
4688
5135
|
context_detail: z.ZodOptional<z.ZodObject<{
|
|
4689
5136
|
available: z.ZodBoolean;
|
|
4690
5137
|
reason: z.ZodNullable<z.ZodEnum<{
|
|
5138
|
+
unavailable: "unavailable";
|
|
5139
|
+
changed: "changed";
|
|
4691
5140
|
not_built: "not_built";
|
|
4692
5141
|
unsupported: "unsupported";
|
|
4693
|
-
changed: "changed";
|
|
4694
|
-
unavailable: "unavailable";
|
|
4695
5142
|
}>>;
|
|
4696
5143
|
used_tokens: z.ZodNullable<z.ZodNumber>;
|
|
4697
5144
|
window_tokens: z.ZodNullable<z.ZodNumber>;
|
|
@@ -4730,8 +5177,8 @@ export declare const GATEWAY_METHODS: {
|
|
|
4730
5177
|
characters: z.ZodNullable<z.ZodNumber>;
|
|
4731
5178
|
tokens: z.ZodNullable<z.ZodNumber>;
|
|
4732
5179
|
status: z.ZodEnum<{
|
|
4733
|
-
truncated: "truncated";
|
|
4734
5180
|
unknown: "unknown";
|
|
5181
|
+
truncated: "truncated";
|
|
4735
5182
|
loaded: "loaded";
|
|
4736
5183
|
flagged: "flagged";
|
|
4737
5184
|
shadowed: "shadowed";
|
|
@@ -4845,6 +5292,12 @@ export declare const GATEWAY_METHODS: {
|
|
|
4845
5292
|
reason: z.ZodNullable<z.ZodString>;
|
|
4846
5293
|
replay_gap: z.ZodOptional<z.ZodBoolean>;
|
|
4847
5294
|
snapshot: z.ZodNullable<z.ZodObject<{
|
|
5295
|
+
plan_gauge: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5296
|
+
id: z.ZodString;
|
|
5297
|
+
label: z.ZodString;
|
|
5298
|
+
used_bp: z.ZodNumber;
|
|
5299
|
+
resets_at_ms: z.ZodNullable<z.ZodNumber>;
|
|
5300
|
+
}, z.core.$strip>>>;
|
|
4848
5301
|
session_id: z.ZodString;
|
|
4849
5302
|
stored_session_id: z.ZodString;
|
|
4850
5303
|
messages: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -4857,6 +5310,10 @@ export declare const GATEWAY_METHODS: {
|
|
|
4857
5310
|
revision: z.ZodNumber;
|
|
4858
5311
|
execution_generation: z.ZodNumber;
|
|
4859
5312
|
reactions_supported: z.ZodOptional<z.ZodBoolean>;
|
|
5313
|
+
todo_state: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5314
|
+
todos: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5315
|
+
revision: z.ZodOptional<z.ZodNumber>;
|
|
5316
|
+
}, z.core.$strip>>>;
|
|
4860
5317
|
pending: z.ZodArray<z.ZodObject<{
|
|
4861
5318
|
admission_id: z.ZodString;
|
|
4862
5319
|
sequence: z.ZodNumber;
|
|
@@ -4916,10 +5373,10 @@ export declare const GATEWAY_METHODS: {
|
|
|
4916
5373
|
context_detail: z.ZodOptional<z.ZodObject<{
|
|
4917
5374
|
available: z.ZodBoolean;
|
|
4918
5375
|
reason: z.ZodNullable<z.ZodEnum<{
|
|
5376
|
+
unavailable: "unavailable";
|
|
5377
|
+
changed: "changed";
|
|
4919
5378
|
not_built: "not_built";
|
|
4920
5379
|
unsupported: "unsupported";
|
|
4921
|
-
changed: "changed";
|
|
4922
|
-
unavailable: "unavailable";
|
|
4923
5380
|
}>>;
|
|
4924
5381
|
used_tokens: z.ZodNullable<z.ZodNumber>;
|
|
4925
5382
|
window_tokens: z.ZodNullable<z.ZodNumber>;
|
|
@@ -4958,8 +5415,8 @@ export declare const GATEWAY_METHODS: {
|
|
|
4958
5415
|
characters: z.ZodNullable<z.ZodNumber>;
|
|
4959
5416
|
tokens: z.ZodNullable<z.ZodNumber>;
|
|
4960
5417
|
status: z.ZodEnum<{
|
|
4961
|
-
truncated: "truncated";
|
|
4962
5418
|
unknown: "unknown";
|
|
5419
|
+
truncated: "truncated";
|
|
4963
5420
|
loaded: "loaded";
|
|
4964
5421
|
flagged: "flagged";
|
|
4965
5422
|
shadowed: "shadowed";
|
|
@@ -5030,8 +5487,8 @@ export declare const GATEWAY_METHODS: {
|
|
|
5030
5487
|
quick_timeout_seconds: z.ZodOptional<z.ZodNumber>;
|
|
5031
5488
|
background_wait_seconds: z.ZodOptional<z.ZodNumber>;
|
|
5032
5489
|
action: z.ZodEnum<{
|
|
5033
|
-
start: "start";
|
|
5034
5490
|
stop: "stop";
|
|
5491
|
+
start: "start";
|
|
5035
5492
|
restart: "restart";
|
|
5036
5493
|
}>;
|
|
5037
5494
|
}, z.core.$strip>;
|
|
@@ -5107,3 +5564,123 @@ export declare const GATEWAY_METHODS: {
|
|
|
5107
5564
|
}, z.core.$strip>;
|
|
5108
5565
|
};
|
|
5109
5566
|
};
|
|
5567
|
+
export declare const GROUP_METHODS: {
|
|
5568
|
+
readonly 'gateway.groups': {
|
|
5569
|
+
readonly params: z.ZodObject<{
|
|
5570
|
+
profile_home: z.ZodString;
|
|
5571
|
+
subject: z.ZodString;
|
|
5572
|
+
operation: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5573
|
+
action: z.ZodLiteral<"capabilities">;
|
|
5574
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5575
|
+
action: z.ZodLiteral<"list">;
|
|
5576
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
5577
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
5578
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5579
|
+
action: z.ZodLiteral<"create">;
|
|
5580
|
+
room_id: z.ZodString;
|
|
5581
|
+
name: z.ZodString;
|
|
5582
|
+
members: z.ZodArray<z.ZodObject<{
|
|
5583
|
+
member_id: z.ZodString;
|
|
5584
|
+
profile: z.ZodString;
|
|
5585
|
+
handle: z.ZodString;
|
|
5586
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
5587
|
+
}, z.core.$strip>>;
|
|
5588
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5589
|
+
action: z.ZodLiteral<"state">;
|
|
5590
|
+
room_id: z.ZodString;
|
|
5591
|
+
include_disbanded: z.ZodOptional<z.ZodBoolean>;
|
|
5592
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5593
|
+
action: z.ZodLiteral<"log">;
|
|
5594
|
+
room_id: z.ZodString;
|
|
5595
|
+
since_seq: z.ZodNumber;
|
|
5596
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
5597
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5598
|
+
action: z.ZodLiteral<"rename">;
|
|
5599
|
+
room_id: z.ZodString;
|
|
5600
|
+
event_id: z.ZodString;
|
|
5601
|
+
name: z.ZodString;
|
|
5602
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5603
|
+
action: z.ZodLiteral<"disband">;
|
|
5604
|
+
room_id: z.ZodString;
|
|
5605
|
+
cancel_id: z.ZodString;
|
|
5606
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5607
|
+
action: z.ZodLiteral<"send">;
|
|
5608
|
+
room_id: z.ZodString;
|
|
5609
|
+
event_id: z.ZodString;
|
|
5610
|
+
payload: z.ZodObject<{
|
|
5611
|
+
text: z.ZodString;
|
|
5612
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5613
|
+
attachment_id: z.ZodString;
|
|
5614
|
+
kind: z.ZodEnum<{
|
|
5615
|
+
file: "file";
|
|
5616
|
+
image: "image";
|
|
5617
|
+
pdf: "pdf";
|
|
5618
|
+
}>;
|
|
5619
|
+
name: z.ZodString;
|
|
5620
|
+
mime: z.ZodString;
|
|
5621
|
+
size: z.ZodNumber;
|
|
5622
|
+
}, z.core.$strip>>>;
|
|
5623
|
+
}, z.core.$strip>;
|
|
5624
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5625
|
+
action: z.ZodLiteral<"stop">;
|
|
5626
|
+
room_id: z.ZodString;
|
|
5627
|
+
cancel_id: z.ZodString;
|
|
5628
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5629
|
+
member_id: z.ZodString;
|
|
5630
|
+
task_id: z.ZodString;
|
|
5631
|
+
execution_generation: z.ZodNumber;
|
|
5632
|
+
action: z.ZodLiteral<"retry">;
|
|
5633
|
+
room_id: z.ZodString;
|
|
5634
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5635
|
+
member_id: z.ZodString;
|
|
5636
|
+
task_id: z.ZodString;
|
|
5637
|
+
execution_generation: z.ZodNumber;
|
|
5638
|
+
action: z.ZodLiteral<"discard">;
|
|
5639
|
+
room_id: z.ZodString;
|
|
5640
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5641
|
+
member_id: z.ZodString;
|
|
5642
|
+
task_id: z.ZodString;
|
|
5643
|
+
execution_generation: z.ZodNumber;
|
|
5644
|
+
action: z.ZodLiteral<"approve">;
|
|
5645
|
+
room_id: z.ZodString;
|
|
5646
|
+
request_id: z.ZodString;
|
|
5647
|
+
choice: z.ZodEnum<{
|
|
5648
|
+
once: "once";
|
|
5649
|
+
deny: "deny";
|
|
5650
|
+
}>;
|
|
5651
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5652
|
+
action: z.ZodLiteral<"attachment.upload">;
|
|
5653
|
+
room_id: z.ZodString;
|
|
5654
|
+
upload_id: z.ZodString;
|
|
5655
|
+
kind: z.ZodEnum<{
|
|
5656
|
+
file: "file";
|
|
5657
|
+
image: "image";
|
|
5658
|
+
pdf: "pdf";
|
|
5659
|
+
}>;
|
|
5660
|
+
name: z.ZodString;
|
|
5661
|
+
mime: z.ZodString;
|
|
5662
|
+
data_base64: z.ZodString;
|
|
5663
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5664
|
+
action: z.ZodLiteral<"attachment.download">;
|
|
5665
|
+
room_id: z.ZodString;
|
|
5666
|
+
event_id: z.ZodString;
|
|
5667
|
+
attachment_id: z.ZodString;
|
|
5668
|
+
}, z.core.$strip>], "action">;
|
|
5669
|
+
expected_room: z.ZodOptional<z.ZodObject<{
|
|
5670
|
+
room_id: z.ZodString;
|
|
5671
|
+
gateway_id: z.ZodString;
|
|
5672
|
+
authority_epoch: z.ZodNumber;
|
|
5673
|
+
}, z.core.$strip>>;
|
|
5674
|
+
}, z.core.$strip>;
|
|
5675
|
+
readonly result: z.ZodObject<{
|
|
5676
|
+
state: z.ZodEnum<{
|
|
5677
|
+
available: "available";
|
|
5678
|
+
unavailable: "unavailable";
|
|
5679
|
+
unknown: "unknown";
|
|
5680
|
+
refused: "refused";
|
|
5681
|
+
}>;
|
|
5682
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
5683
|
+
value: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5684
|
+
}, z.core.$strip>;
|
|
5685
|
+
};
|
|
5686
|
+
};
|