@pellux/goodvibes-contracts 0.18.3 → 0.30.1
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 +13 -9
- package/artifacts/operator-contract.json +24370 -10474
- package/dist/generated/foundation-client-types.d.ts +106 -19
- package/dist/generated/foundation-client-types.d.ts.map +1 -1
- package/dist/generated/foundation-metadata.d.ts +3 -3
- package/dist/generated/foundation-metadata.js +3 -3
- package/dist/generated/operator-contract.d.ts.map +1 -1
- package/dist/generated/operator-contract.js +24370 -10474
- package/dist/generated/operator-method-ids.d.ts +1 -1
- package/dist/generated/operator-method-ids.d.ts.map +1 -1
- package/dist/generated/operator-method-ids.js +51 -0
- package/dist/generated/peer-contract.d.ts.map +1 -1
- package/dist/generated/runtime-event-domains.d.ts +1 -1
- package/dist/generated/runtime-event-domains.d.ts.map +1 -1
- package/dist/generated/runtime-event-domains.js +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -2
- package/dist/types.d.ts +6 -3
- package/dist/types.d.ts.map +1 -1
- package/dist/zod-schemas/accounts.d.ts +81 -0
- package/dist/zod-schemas/accounts.d.ts.map +1 -0
- package/dist/zod-schemas/accounts.js +47 -0
- package/dist/zod-schemas/auth.d.ts +42 -0
- package/dist/zod-schemas/auth.d.ts.map +1 -0
- package/dist/zod-schemas/auth.js +29 -0
- package/dist/zod-schemas/events.d.ts +37 -0
- package/dist/zod-schemas/events.d.ts.map +1 -0
- package/dist/zod-schemas/events.js +26 -0
- package/dist/zod-schemas/index.d.ts +11 -0
- package/dist/zod-schemas/index.d.ts.map +1 -0
- package/dist/zod-schemas/index.js +5 -0
- package/dist/zod-schemas/providers.d.ts +271 -0
- package/dist/zod-schemas/providers.d.ts.map +1 -0
- package/dist/zod-schemas/providers.js +80 -0
- package/dist/zod-schemas/session.d.ts +22 -0
- package/dist/zod-schemas/session.d.ts.map +1 -0
- package/dist/zod-schemas/session.js +19 -0
- package/package.json +59 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const OPERATOR_METHOD_IDS: readonly ["accounts.snapshot", "approvals.approve", "approvals.cancel", "approvals.claim", "approvals.deny", "approvals.list", "artifacts.content.get", "artifacts.create", "artifacts.get", "artifacts.list", "automation.heartbeat.list", "automation.heartbeat.run", "automation.integration.snapshot", "automation.jobs.create", "automation.jobs.delete", "automation.jobs.disable", "automation.jobs.enable", "automation.jobs.list", "automation.jobs.patch", "automation.jobs.pause", "automation.jobs.resume", "automation.jobs.run", "automation.runs.cancel", "automation.runs.get", "automation.runs.list", "automation.runs.retry", "channels.accounts.action.default", "channels.accounts.action.named", "channels.accounts.get", "channels.accounts.list", "channels.accounts.surface.list", "channels.actions.invoke", "channels.actions.list", "channels.actions.surface.list", "channels.agent_tools.list", "channels.agent_tools.surface.list", "channels.allowlist.edit", "channels.allowlist.resolve", "channels.authorize", "channels.capabilities.list", "channels.capabilities.surface.list", "channels.directory.query", "channels.doctor.get", "channels.lifecycle.get", "channels.lifecycle.migrate", "channels.policies.audit", "channels.policies.list", "channels.policies.update", "channels.repairs.list", "channels.setup.get", "channels.status", "channels.targets.resolve", "channels.tools.invoke", "channels.tools.list", "channels.tools.surface.list", "config.get", "config.set", "continuity.snapshot", "control.auth.current", "control.auth.login", "control.clients.list", "control.contract", "control.events.catalog", "control.events.stream", "control.messages.list", "control.methods.get", "control.methods.list", "control.snapshot", "control.status", "control.web", "deliveries.get", "deliveries.list", "health.snapshot", "intelligence.snapshot", "knowledge.candidate.decide", "knowledge.candidate.get", "knowledge.candidates.list", "knowledge.connector.doctor", "knowledge.connector.get", "knowledge.connectors.list", "knowledge.extraction.get", "knowledge.extractions.list", "knowledge.graphql.execute", "knowledge.graphql.schema", "knowledge.ingest.artifact", "knowledge.ingest.bookmarks", "knowledge.ingest.connector", "knowledge.ingest.url", "knowledge.ingest.urls", "knowledge.issues.list", "knowledge.item.get", "knowledge.job-runs.list", "knowledge.job.get", "knowledge.job.run", "knowledge.jobs.list", "knowledge.lint", "knowledge.nodes.list", "knowledge.packet", "knowledge.projection.materialize", "knowledge.projection.render", "knowledge.projections.list", "knowledge.reindex", "knowledge.report.get", "knowledge.reports.list", "knowledge.schedule.delete", "knowledge.schedule.enable", "knowledge.schedule.get", "knowledge.schedule.save", "knowledge.schedules.list", "knowledge.search", "knowledge.source.extraction.get", "knowledge.sources.list", "knowledge.status", "knowledge.usage.list", "local_auth.bootstrap.delete", "local_auth.sessions.delete", "local_auth.status", "local_auth.users.create", "local_auth.users.delete", "local_auth.users.password.rotate", "media.analyze", "media.generate", "media.providers.list", "media.transform", "memory.doctor", "memory.embeddings.default.set", "memory.vector.rebuild", "memory.vector.stats", "multimodal.analyze", "multimodal.packet", "multimodal.providers.list", "multimodal.status", "multimodal.writeback", "panels.list", "panels.open", "providers.get", "providers.list", "providers.usage.get", "remote.node_host.contract", "remote.pair.requests.approve", "remote.pair.requests.list", "remote.pair.requests.reject", "remote.peers.disconnect", "remote.peers.invoke", "remote.peers.list", "remote.peers.token.revoke", "remote.peers.token.rotate", "remote.snapshot", "remote.work.cancel", "remote.work.list", "review.snapshot", "routes.bindings.create", "routes.bindings.delete", "routes.bindings.list", "routes.bindings.patch", "routes.snapshot", "schedules.create", "schedules.delete", "schedules.disable", "schedules.enable", "schedules.list", "schedules.run", "services.install", "services.restart", "services.start", "services.status", "services.stop", "services.uninstall", "sessions.close", "sessions.create", "sessions.followUp", "sessions.get", "sessions.inputs.cancel", "sessions.inputs.list", "sessions.integration.snapshot", "sessions.list", "sessions.messages.create", "sessions.messages.list", "sessions.reopen", "sessions.steer", "settings.snapshot", "surfaces.list", "tasks.cancel", "tasks.create", "tasks.get", "tasks.list", "tasks.retry", "tasks.status", "telemetry.errors.list", "telemetry.events.list", "telemetry.metrics.get", "telemetry.otlp.logs", "telemetry.otlp.metrics", "telemetry.otlp.traces", "telemetry.snapshot", "telemetry.stream", "telemetry.traces.list", "voice.providers.list", "voice.realtime.session", "voice.status", "voice.stt", "voice.tts", "voice.voices.list", "watchers.create", "watchers.delete", "watchers.list", "watchers.patch", "watchers.run", "watchers.start", "watchers.stop", "web_search.providers.list", "web_search.query", "worktrees.snapshot"];
|
|
1
|
+
export declare const OPERATOR_METHOD_IDS: readonly ["accounts.snapshot", "approvals.approve", "approvals.cancel", "approvals.claim", "approvals.deny", "approvals.list", "artifacts.content.get", "artifacts.create", "artifacts.get", "artifacts.list", "automation.heartbeat.list", "automation.heartbeat.run", "automation.integration.snapshot", "automation.jobs.create", "automation.jobs.delete", "automation.jobs.disable", "automation.jobs.enable", "automation.jobs.list", "automation.jobs.patch", "automation.jobs.pause", "automation.jobs.resume", "automation.jobs.run", "automation.runs.cancel", "automation.runs.get", "automation.runs.list", "automation.runs.retry", "channels.accounts.action.default", "channels.accounts.action.named", "channels.accounts.get", "channels.accounts.list", "channels.accounts.surface.list", "channels.actions.invoke", "channels.actions.list", "channels.actions.surface.list", "channels.agent_tools.list", "channels.agent_tools.surface.list", "channels.allowlist.edit", "channels.allowlist.resolve", "channels.authorize", "channels.capabilities.list", "channels.capabilities.surface.list", "channels.directory.query", "channels.doctor.get", "channels.lifecycle.get", "channels.lifecycle.migrate", "channels.policies.audit", "channels.policies.list", "channels.policies.update", "channels.repairs.list", "channels.setup.get", "channels.status", "channels.targets.resolve", "channels.tools.invoke", "channels.tools.list", "channels.tools.surface.list", "companion.chat.events.stream", "companion.chat.messages.create", "companion.chat.messages.list", "companion.chat.sessions.create", "companion.chat.sessions.delete", "companion.chat.sessions.get", "companion.chat.sessions.update", "config.get", "config.set", "continuity.snapshot", "control.auth.current", "control.auth.login", "control.clients.list", "control.contract", "control.events.catalog", "control.events.stream", "control.messages.list", "control.methods.get", "control.methods.list", "control.snapshot", "control.status", "control.web", "deliveries.get", "deliveries.list", "health.snapshot", "homeassistant.homeGraph.askHomeGraph", "homeassistant.homeGraph.browse", "homeassistant.homeGraph.export", "homeassistant.homeGraph.generateHomeGraphPacket", "homeassistant.homeGraph.generateRoomPage", "homeassistant.homeGraph.import", "homeassistant.homeGraph.ingestHomeGraphArtifact", "homeassistant.homeGraph.ingestHomeGraphNote", "homeassistant.homeGraph.ingestHomeGraphUrl", "homeassistant.homeGraph.linkHomeGraphKnowledge", "homeassistant.homeGraph.listHomeGraphIssues", "homeassistant.homeGraph.map", "homeassistant.homeGraph.pages.list", "homeassistant.homeGraph.refinement.run", "homeassistant.homeGraph.refinement.task.cancel", "homeassistant.homeGraph.refinement.task.get", "homeassistant.homeGraph.refinement.tasks.list", "homeassistant.homeGraph.refreshDevicePassport", "homeassistant.homeGraph.reindex", "homeassistant.homeGraph.reset", "homeassistant.homeGraph.reviewHomeGraphFact", "homeassistant.homeGraph.sources.list", "homeassistant.homeGraph.status", "homeassistant.homeGraph.syncHomeGraph", "homeassistant.homeGraph.unlinkHomeGraphKnowledge", "intelligence.snapshot", "knowledge.ask", "knowledge.candidate.decide", "knowledge.candidate.get", "knowledge.candidates.list", "knowledge.connector.doctor", "knowledge.connector.get", "knowledge.connectors.list", "knowledge.extraction.get", "knowledge.extractions.list", "knowledge.graphql.execute", "knowledge.graphql.schema", "knowledge.ingest.artifact", "knowledge.ingest.bookmarks", "knowledge.ingest.browserHistory", "knowledge.ingest.connector", "knowledge.ingest.url", "knowledge.ingest.urls", "knowledge.issue.review", "knowledge.issues.list", "knowledge.item.get", "knowledge.job-runs.list", "knowledge.job.get", "knowledge.job.run", "knowledge.jobs.list", "knowledge.lint", "knowledge.map", "knowledge.nodes.list", "knowledge.packet", "knowledge.projection.materialize", "knowledge.projection.render", "knowledge.projections.list", "knowledge.refinement.run", "knowledge.refinement.task.cancel", "knowledge.refinement.task.get", "knowledge.refinement.tasks.list", "knowledge.reindex", "knowledge.report.get", "knowledge.reports.list", "knowledge.schedule.delete", "knowledge.schedule.enable", "knowledge.schedule.get", "knowledge.schedule.save", "knowledge.schedules.list", "knowledge.search", "knowledge.source.extraction.get", "knowledge.sources.list", "knowledge.status", "knowledge.usage.list", "local_auth.bootstrap.delete", "local_auth.sessions.delete", "local_auth.status", "local_auth.users.create", "local_auth.users.delete", "local_auth.users.password.rotate", "media.analyze", "media.generate", "media.providers.list", "media.transform", "memory.doctor", "memory.embeddings.default.set", "memory.vector.rebuild", "memory.vector.stats", "multimodal.analyze", "multimodal.packet", "multimodal.providers.list", "multimodal.status", "multimodal.writeback", "panels.list", "panels.open", "projectPlanning.decisions.list", "projectPlanning.decisions.record", "projectPlanning.evaluate", "projectPlanning.language.get", "projectPlanning.language.upsert", "projectPlanning.state.get", "projectPlanning.state.upsert", "projectPlanning.status", "providers.get", "providers.list", "providers.usage.get", "remote.node_host.contract", "remote.pair.requests.approve", "remote.pair.requests.list", "remote.pair.requests.reject", "remote.peers.disconnect", "remote.peers.invoke", "remote.peers.list", "remote.peers.token.revoke", "remote.peers.token.rotate", "remote.snapshot", "remote.work.cancel", "remote.work.list", "review.snapshot", "routes.bindings.create", "routes.bindings.delete", "routes.bindings.list", "routes.bindings.patch", "routes.snapshot", "scheduler.capacity", "schedules.create", "schedules.delete", "schedules.disable", "schedules.enable", "schedules.list", "schedules.run", "security.settings", "services.install", "services.restart", "services.start", "services.status", "services.stop", "services.uninstall", "sessions.close", "sessions.create", "sessions.followUp", "sessions.get", "sessions.inputs.cancel", "sessions.inputs.list", "sessions.integration.snapshot", "sessions.list", "sessions.messages.create", "sessions.messages.list", "sessions.reopen", "sessions.steer", "settings.snapshot", "surfaces.list", "tasks.cancel", "tasks.create", "tasks.get", "tasks.list", "tasks.retry", "tasks.status", "telemetry.errors.list", "telemetry.events.list", "telemetry.metrics.get", "telemetry.otlp.logs", "telemetry.otlp.metrics", "telemetry.otlp.traces", "telemetry.snapshot", "telemetry.stream", "telemetry.traces.list", "voice.providers.list", "voice.realtime.session", "voice.status", "voice.stt", "voice.tts", "voice.tts.stream", "voice.voices.list", "watchers.create", "watchers.delete", "watchers.list", "watchers.patch", "watchers.run", "watchers.start", "watchers.stop", "web_search.providers.list", "web_search.query", "worktrees.snapshot"];
|
|
2
2
|
export type OperatorMethodId = typeof OPERATOR_METHOD_IDS[number];
|
|
3
3
|
//# sourceMappingURL=operator-method-ids.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operator-method-ids.d.ts","sourceRoot":"","sources":["../../src/generated/operator-method-ids.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"operator-method-ids.d.ts","sourceRoot":"","sources":["../../src/generated/operator-method-ids.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,uuNAyQtB,CAAC;AACX,MAAM,MAAM,gBAAgB,GAAG,OAAO,mBAAmB,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -54,6 +54,13 @@ export const OPERATOR_METHOD_IDS = [
|
|
|
54
54
|
"channels.tools.invoke",
|
|
55
55
|
"channels.tools.list",
|
|
56
56
|
"channels.tools.surface.list",
|
|
57
|
+
"companion.chat.events.stream",
|
|
58
|
+
"companion.chat.messages.create",
|
|
59
|
+
"companion.chat.messages.list",
|
|
60
|
+
"companion.chat.sessions.create",
|
|
61
|
+
"companion.chat.sessions.delete",
|
|
62
|
+
"companion.chat.sessions.get",
|
|
63
|
+
"companion.chat.sessions.update",
|
|
57
64
|
"config.get",
|
|
58
65
|
"config.set",
|
|
59
66
|
"continuity.snapshot",
|
|
@@ -72,7 +79,33 @@ export const OPERATOR_METHOD_IDS = [
|
|
|
72
79
|
"deliveries.get",
|
|
73
80
|
"deliveries.list",
|
|
74
81
|
"health.snapshot",
|
|
82
|
+
"homeassistant.homeGraph.askHomeGraph",
|
|
83
|
+
"homeassistant.homeGraph.browse",
|
|
84
|
+
"homeassistant.homeGraph.export",
|
|
85
|
+
"homeassistant.homeGraph.generateHomeGraphPacket",
|
|
86
|
+
"homeassistant.homeGraph.generateRoomPage",
|
|
87
|
+
"homeassistant.homeGraph.import",
|
|
88
|
+
"homeassistant.homeGraph.ingestHomeGraphArtifact",
|
|
89
|
+
"homeassistant.homeGraph.ingestHomeGraphNote",
|
|
90
|
+
"homeassistant.homeGraph.ingestHomeGraphUrl",
|
|
91
|
+
"homeassistant.homeGraph.linkHomeGraphKnowledge",
|
|
92
|
+
"homeassistant.homeGraph.listHomeGraphIssues",
|
|
93
|
+
"homeassistant.homeGraph.map",
|
|
94
|
+
"homeassistant.homeGraph.pages.list",
|
|
95
|
+
"homeassistant.homeGraph.refinement.run",
|
|
96
|
+
"homeassistant.homeGraph.refinement.task.cancel",
|
|
97
|
+
"homeassistant.homeGraph.refinement.task.get",
|
|
98
|
+
"homeassistant.homeGraph.refinement.tasks.list",
|
|
99
|
+
"homeassistant.homeGraph.refreshDevicePassport",
|
|
100
|
+
"homeassistant.homeGraph.reindex",
|
|
101
|
+
"homeassistant.homeGraph.reset",
|
|
102
|
+
"homeassistant.homeGraph.reviewHomeGraphFact",
|
|
103
|
+
"homeassistant.homeGraph.sources.list",
|
|
104
|
+
"homeassistant.homeGraph.status",
|
|
105
|
+
"homeassistant.homeGraph.syncHomeGraph",
|
|
106
|
+
"homeassistant.homeGraph.unlinkHomeGraphKnowledge",
|
|
75
107
|
"intelligence.snapshot",
|
|
108
|
+
"knowledge.ask",
|
|
76
109
|
"knowledge.candidate.decide",
|
|
77
110
|
"knowledge.candidate.get",
|
|
78
111
|
"knowledge.candidates.list",
|
|
@@ -85,9 +118,11 @@ export const OPERATOR_METHOD_IDS = [
|
|
|
85
118
|
"knowledge.graphql.schema",
|
|
86
119
|
"knowledge.ingest.artifact",
|
|
87
120
|
"knowledge.ingest.bookmarks",
|
|
121
|
+
"knowledge.ingest.browserHistory",
|
|
88
122
|
"knowledge.ingest.connector",
|
|
89
123
|
"knowledge.ingest.url",
|
|
90
124
|
"knowledge.ingest.urls",
|
|
125
|
+
"knowledge.issue.review",
|
|
91
126
|
"knowledge.issues.list",
|
|
92
127
|
"knowledge.item.get",
|
|
93
128
|
"knowledge.job-runs.list",
|
|
@@ -95,11 +130,16 @@ export const OPERATOR_METHOD_IDS = [
|
|
|
95
130
|
"knowledge.job.run",
|
|
96
131
|
"knowledge.jobs.list",
|
|
97
132
|
"knowledge.lint",
|
|
133
|
+
"knowledge.map",
|
|
98
134
|
"knowledge.nodes.list",
|
|
99
135
|
"knowledge.packet",
|
|
100
136
|
"knowledge.projection.materialize",
|
|
101
137
|
"knowledge.projection.render",
|
|
102
138
|
"knowledge.projections.list",
|
|
139
|
+
"knowledge.refinement.run",
|
|
140
|
+
"knowledge.refinement.task.cancel",
|
|
141
|
+
"knowledge.refinement.task.get",
|
|
142
|
+
"knowledge.refinement.tasks.list",
|
|
103
143
|
"knowledge.reindex",
|
|
104
144
|
"knowledge.report.get",
|
|
105
145
|
"knowledge.reports.list",
|
|
@@ -134,6 +174,14 @@ export const OPERATOR_METHOD_IDS = [
|
|
|
134
174
|
"multimodal.writeback",
|
|
135
175
|
"panels.list",
|
|
136
176
|
"panels.open",
|
|
177
|
+
"projectPlanning.decisions.list",
|
|
178
|
+
"projectPlanning.decisions.record",
|
|
179
|
+
"projectPlanning.evaluate",
|
|
180
|
+
"projectPlanning.language.get",
|
|
181
|
+
"projectPlanning.language.upsert",
|
|
182
|
+
"projectPlanning.state.get",
|
|
183
|
+
"projectPlanning.state.upsert",
|
|
184
|
+
"projectPlanning.status",
|
|
137
185
|
"providers.get",
|
|
138
186
|
"providers.list",
|
|
139
187
|
"providers.usage.get",
|
|
@@ -155,12 +203,14 @@ export const OPERATOR_METHOD_IDS = [
|
|
|
155
203
|
"routes.bindings.list",
|
|
156
204
|
"routes.bindings.patch",
|
|
157
205
|
"routes.snapshot",
|
|
206
|
+
"scheduler.capacity",
|
|
158
207
|
"schedules.create",
|
|
159
208
|
"schedules.delete",
|
|
160
209
|
"schedules.disable",
|
|
161
210
|
"schedules.enable",
|
|
162
211
|
"schedules.list",
|
|
163
212
|
"schedules.run",
|
|
213
|
+
"security.settings",
|
|
164
214
|
"services.install",
|
|
165
215
|
"services.restart",
|
|
166
216
|
"services.start",
|
|
@@ -201,6 +251,7 @@ export const OPERATOR_METHOD_IDS = [
|
|
|
201
251
|
"voice.status",
|
|
202
252
|
"voice.stt",
|
|
203
253
|
"voice.tts",
|
|
254
|
+
"voice.tts.stream",
|
|
204
255
|
"voice.voices.list",
|
|
205
256
|
"watchers.create",
|
|
206
257
|
"watchers.delete",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"peer-contract.d.ts","sourceRoot":"","sources":["../../src/generated/peer-contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAExD,eAAO,MAAM,aAAa,EAAE,oBA+
|
|
1
|
+
{"version":3,"file":"peer-contract.d.ts","sourceRoot":"","sources":["../../src/generated/peer-contract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAExD,eAAO,MAAM,aAAa,EAAE,oBA+0ElB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const RUNTIME_EVENT_DOMAINS: readonly ["session", "turn", "providers", "tools", "tasks", "agents", "workflows", "orchestration", "communication", "planner", "permissions", "plugins", "mcp", "transport", "compaction", "ui", "ops", "forensics", "security", "automation", "routes", "control-plane", "deliveries", "watchers", "surfaces", "knowledge"];
|
|
1
|
+
export declare const RUNTIME_EVENT_DOMAINS: readonly ["session", "turn", "providers", "tools", "tasks", "agents", "workflows", "orchestration", "communication", "planner", "permissions", "plugins", "mcp", "transport", "compaction", "ui", "ops", "forensics", "security", "automation", "routes", "control-plane", "deliveries", "watchers", "surfaces", "knowledge", "workspace"];
|
|
2
2
|
export type RuntimeEventDomain = typeof RUNTIME_EVENT_DOMAINS[number];
|
|
3
3
|
export declare function isRuntimeEventDomain(value: string): value is RuntimeEventDomain;
|
|
4
4
|
//# sourceMappingURL=runtime-event-domains.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-event-domains.d.ts","sourceRoot":"","sources":["../../src/generated/runtime-event-domains.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"runtime-event-domains.d.ts","sourceRoot":"","sources":["../../src/generated/runtime-event-domains.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,4UA4BxB,CAAC;AACX,MAAM,MAAM,kBAAkB,GAAG,OAAO,qBAAqB,CAAC,MAAM,CAAC,CAAC;AAEtE,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,kBAAkB,CAE/E"}
|
package/dist/index.d.ts
CHANGED
|
@@ -20,4 +20,5 @@ export declare function listOperatorMethods(): readonly OperatorMethodContract[]
|
|
|
20
20
|
export declare function listPeerEndpoints(): readonly PeerEndpointContract[];
|
|
21
21
|
export declare function isOperatorMethodId(value: string): value is (typeof OPERATOR_METHOD_IDS)[number];
|
|
22
22
|
export declare function isPeerEndpointId(value: string): value is (typeof PEER_ENDPOINT_IDS)[number];
|
|
23
|
+
export * from './zod-schemas/index.js';
|
|
23
24
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,YAAY,CAAC;AAGpB,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAEzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAErE,YAAY,EACV,sBAAsB,EACtB,UAAU,EACV,wBAAwB,EACxB,6BAA6B,EAC7B,qBAAqB,EACrB,sBAAsB,EACtB,8BAA8B,EAC9B,oBAAoB,EACpB,oBAAoB,GACrB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,YAAY,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,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAE/F;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAE3F;AAKD,cAAc,wBAAwB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -15,11 +15,13 @@ export function getOperatorContract() {
|
|
|
15
15
|
export function getPeerContract() {
|
|
16
16
|
return PEER_CONTRACT;
|
|
17
17
|
}
|
|
18
|
+
const OPERATOR_METHODS_BY_ID = new Map(OPERATOR_CONTRACT.operator.methods.map((method) => [method.id, method]));
|
|
19
|
+
const PEER_ENDPOINTS_BY_ID = new Map(PEER_CONTRACT.endpoints.map((endpoint) => [endpoint.id, endpoint]));
|
|
18
20
|
export function getOperatorMethod(methodId) {
|
|
19
|
-
return
|
|
21
|
+
return OPERATOR_METHODS_BY_ID.get(methodId);
|
|
20
22
|
}
|
|
21
23
|
export function getPeerEndpoint(endpointId) {
|
|
22
|
-
return
|
|
24
|
+
return PEER_ENDPOINTS_BY_ID.get(endpointId);
|
|
23
25
|
}
|
|
24
26
|
export function listOperatorMethods() {
|
|
25
27
|
return getOperatorContract().operator.methods;
|
|
@@ -33,3 +35,5 @@ export function isOperatorMethodId(value) {
|
|
|
33
35
|
export function isPeerEndpointId(value) {
|
|
34
36
|
return PEER_ENDPOINT_IDS.includes(value);
|
|
35
37
|
}
|
|
38
|
+
// Re-export Zod schemas + inferred shapes for runtime validation.
|
|
39
|
+
export * from './zod-schemas/index.js';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import type { RuntimeEventDomain } from './generated/runtime-event-domains.js';
|
|
1
2
|
export type JsonSchema = Record<string, unknown>;
|
|
2
3
|
export type GatewayMethodTransport = 'http' | 'ws' | 'internal';
|
|
3
4
|
export type GatewayMethodSource = 'builtin' | 'plugin';
|
|
4
5
|
export type GatewayMethodAccess = 'public' | 'authenticated' | 'admin' | 'remote-peer';
|
|
5
6
|
export type GatewayEventTransport = 'sse' | 'ws' | 'internal';
|
|
6
|
-
export type RuntimeEventDomain
|
|
7
|
+
export type { RuntimeEventDomain } from './generated/runtime-event-domains.js';
|
|
7
8
|
export type DistributedPeerKind = 'node' | 'device';
|
|
8
9
|
export type DistributedWorkType = 'invoke' | 'status.request' | 'location.request' | 'session.message' | 'automation.run';
|
|
9
10
|
export type DistributedWorkStatus = 'queued' | 'claimed' | 'completed' | 'failed' | 'cancelled' | 'expired';
|
|
@@ -27,6 +28,8 @@ export interface OperatorMethodContract {
|
|
|
27
28
|
readonly pluginId?: string;
|
|
28
29
|
readonly dangerous?: boolean;
|
|
29
30
|
readonly invokable?: boolean;
|
|
31
|
+
/** Whether this method is idempotent. When true, safe to retry on 5xx + network errors. */
|
|
32
|
+
readonly idempotent?: boolean;
|
|
30
33
|
readonly metadata?: Record<string, unknown>;
|
|
31
34
|
}
|
|
32
35
|
export interface OperatorEventContract {
|
|
@@ -74,7 +77,6 @@ export interface OperatorContractManifest {
|
|
|
74
77
|
readonly current: {
|
|
75
78
|
readonly method: string;
|
|
76
79
|
readonly path: string;
|
|
77
|
-
readonly aliasPaths: readonly string[];
|
|
78
80
|
readonly responseSchema: JsonSchema;
|
|
79
81
|
};
|
|
80
82
|
readonly sessionCookie: {
|
|
@@ -120,7 +122,6 @@ export interface OperatorContractManifest {
|
|
|
120
122
|
};
|
|
121
123
|
readonly peer: {
|
|
122
124
|
readonly contractPath: string;
|
|
123
|
-
readonly aliasPaths: readonly string[];
|
|
124
125
|
readonly relationship: string;
|
|
125
126
|
};
|
|
126
127
|
}
|
|
@@ -133,6 +134,8 @@ export interface PeerEndpointContract {
|
|
|
133
134
|
readonly description: string;
|
|
134
135
|
readonly inputSchema?: JsonSchema;
|
|
135
136
|
readonly outputSchema?: JsonSchema;
|
|
137
|
+
/** Whether this endpoint is idempotent. When true, safe to retry on 5xx + network errors. */
|
|
138
|
+
readonly idempotent?: boolean;
|
|
136
139
|
}
|
|
137
140
|
export interface PeerContractManifest {
|
|
138
141
|
readonly schemaVersion: 1;
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AACjD,MAAM,MAAM,sBAAsB,GAAG,MAAM,GAAG,IAAI,GAAG,UAAU,CAAC;AAChE,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,QAAQ,CAAC;AACvD,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,eAAe,GAAG,OAAO,GAAG,aAAa,CAAC;AACvF,MAAM,MAAM,qBAAqB,GAAG,KAAK,GAAG,IAAI,GAAG,UAAU,CAAC;AAC9D,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AACjD,MAAM,MAAM,sBAAsB,GAAG,MAAM,GAAG,IAAI,GAAG,UAAU,CAAC;AAChE,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,QAAQ,CAAC;AACvD,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,eAAe,GAAG,OAAO,GAAG,aAAa,CAAC;AACvF,MAAM,MAAM,qBAAqB,GAAG,KAAK,GAAG,IAAI,GAAG,UAAU,CAAC;AAC9D,YAAY,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,QAAQ,CAAC;AACpD,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,gBAAgB,GAAG,kBAAkB,GAAG,iBAAiB,GAAG,gBAA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EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,WAAW,CAAC,EAAE,UAAU,CAAC;IAClC,QAAQ,CAAC,YAAY,CAAC,EAAE,UAAU,CAAC;IACnC,6FAA6F;IAC7F,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,aAAa,EAAE,CAAC,CAAC;IAC1B,QAAQ,CAAC,SAAS,EAAE,WAAW,CAAC;IAChC,QAAQ,CAAC,QAAQ,EAAE,aAAa,CAAC;IACjC,QAAQ,CAAC,SAAS,EAAE,SAAS,mBAAmB,EAAE,CAAC;IACnD,QAAQ,CAAC,SAAS,EAAE,SAAS,mBAAmB,EAAE,CAAC;IACnD,QAAQ,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;IACnC,QAAQ,CAAC,sBAAsB,EAAE,MAAM,CAAC;IACxC,QAAQ,CAAC,qBAAqB,EAAE,MAAM,CAAC;IACvC,QAAQ,CAAC,SAAS,EAAE,SAAS,oBAAoB,EAAE,CAAC;IACpD,QAAQ,CAAC,sBAAsB,EAAE,SAAS,qBAAqB,EAAE,CAAC;IAClE,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAC5C"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { z } from 'zod/v4';
|
|
2
|
+
/**
|
|
3
|
+
* Schema for `accounts.snapshot` response.
|
|
4
|
+
*
|
|
5
|
+
* Matches `OperatorMethodOutputMap["accounts.snapshot"]`.
|
|
6
|
+
*/
|
|
7
|
+
export declare const AccountsSnapshotResponseSchema: z.ZodObject<{
|
|
8
|
+
capturedAt: z.ZodNumber;
|
|
9
|
+
providers: z.ZodArray<z.ZodObject<{
|
|
10
|
+
providerId: z.ZodString;
|
|
11
|
+
active: z.ZodBoolean;
|
|
12
|
+
modelCount: z.ZodNumber;
|
|
13
|
+
configured: z.ZodBoolean;
|
|
14
|
+
oauthReady: z.ZodBoolean;
|
|
15
|
+
pendingLogin: z.ZodBoolean;
|
|
16
|
+
availableRoutes: z.ZodArray<z.ZodEnum<{
|
|
17
|
+
"api-key": "api-key";
|
|
18
|
+
subscription: "subscription";
|
|
19
|
+
"service-oauth": "service-oauth";
|
|
20
|
+
unconfigured: "unconfigured";
|
|
21
|
+
}>>;
|
|
22
|
+
preferredRoute: z.ZodEnum<{
|
|
23
|
+
"api-key": "api-key";
|
|
24
|
+
subscription: "subscription";
|
|
25
|
+
"service-oauth": "service-oauth";
|
|
26
|
+
unconfigured: "unconfigured";
|
|
27
|
+
}>;
|
|
28
|
+
activeRoute: z.ZodEnum<{
|
|
29
|
+
"api-key": "api-key";
|
|
30
|
+
subscription: "subscription";
|
|
31
|
+
"service-oauth": "service-oauth";
|
|
32
|
+
unconfigured: "unconfigured";
|
|
33
|
+
}>;
|
|
34
|
+
activeRouteReason: z.ZodString;
|
|
35
|
+
authFreshness: z.ZodEnum<{
|
|
36
|
+
expired: "expired";
|
|
37
|
+
unconfigured: "unconfigured";
|
|
38
|
+
healthy: "healthy";
|
|
39
|
+
expiring: "expiring";
|
|
40
|
+
pending: "pending";
|
|
41
|
+
}>;
|
|
42
|
+
fallbackRoute: z.ZodOptional<z.ZodEnum<{
|
|
43
|
+
"api-key": "api-key";
|
|
44
|
+
subscription: "subscription";
|
|
45
|
+
"service-oauth": "service-oauth";
|
|
46
|
+
unconfigured: "unconfigured";
|
|
47
|
+
}>>;
|
|
48
|
+
fallbackRisk: z.ZodOptional<z.ZodString>;
|
|
49
|
+
expiresAt: z.ZodOptional<z.ZodNumber>;
|
|
50
|
+
tokenType: z.ZodOptional<z.ZodString>;
|
|
51
|
+
notes: z.ZodArray<z.ZodString>;
|
|
52
|
+
usageWindows: z.ZodArray<z.ZodObject<{
|
|
53
|
+
label: z.ZodString;
|
|
54
|
+
detail: z.ZodString;
|
|
55
|
+
}, z.core.$strip>>;
|
|
56
|
+
issues: z.ZodArray<z.ZodString>;
|
|
57
|
+
recommendedActions: z.ZodArray<z.ZodString>;
|
|
58
|
+
routeRecords: z.ZodArray<z.ZodObject<{
|
|
59
|
+
route: z.ZodEnum<{
|
|
60
|
+
"api-key": "api-key";
|
|
61
|
+
subscription: "subscription";
|
|
62
|
+
"service-oauth": "service-oauth";
|
|
63
|
+
unconfigured: "unconfigured";
|
|
64
|
+
}>;
|
|
65
|
+
usable: z.ZodBoolean;
|
|
66
|
+
freshness: z.ZodEnum<{
|
|
67
|
+
expired: "expired";
|
|
68
|
+
unconfigured: "unconfigured";
|
|
69
|
+
healthy: "healthy";
|
|
70
|
+
expiring: "expiring";
|
|
71
|
+
pending: "pending";
|
|
72
|
+
}>;
|
|
73
|
+
detail: z.ZodString;
|
|
74
|
+
issues: z.ZodArray<z.ZodString>;
|
|
75
|
+
}, z.core.$strip>>;
|
|
76
|
+
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
77
|
+
configuredCount: z.ZodNumber;
|
|
78
|
+
issueCount: z.ZodNumber;
|
|
79
|
+
}, z.core.$strip>;
|
|
80
|
+
export type AccountsSnapshotResponse = z.infer<typeof AccountsSnapshotResponseSchema>;
|
|
81
|
+
//# sourceMappingURL=accounts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accounts.d.ts","sourceRoot":"","sources":["../../src/zod-schemas/accounts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAyC3B;;;;GAIG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAKzC,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { z } from 'zod/v4';
|
|
2
|
+
const RouteKindSchema = z.enum(['api-key', 'service-oauth', 'subscription', 'unconfigured']);
|
|
3
|
+
const AuthFreshnessSchema = z.enum(['expired', 'expiring', 'healthy', 'pending', 'unconfigured']);
|
|
4
|
+
const ProviderRouteRecordSchema = z.object({
|
|
5
|
+
route: RouteKindSchema,
|
|
6
|
+
usable: z.boolean(),
|
|
7
|
+
freshness: AuthFreshnessSchema,
|
|
8
|
+
detail: z.string(),
|
|
9
|
+
issues: z.array(z.string()),
|
|
10
|
+
});
|
|
11
|
+
const UsageWindowSchema = z.object({
|
|
12
|
+
label: z.string(),
|
|
13
|
+
detail: z.string(),
|
|
14
|
+
});
|
|
15
|
+
const ProviderSnapshotSchema = z.object({
|
|
16
|
+
providerId: z.string(),
|
|
17
|
+
active: z.boolean(),
|
|
18
|
+
modelCount: z.number(),
|
|
19
|
+
configured: z.boolean(),
|
|
20
|
+
oauthReady: z.boolean(),
|
|
21
|
+
pendingLogin: z.boolean(),
|
|
22
|
+
availableRoutes: z.array(RouteKindSchema),
|
|
23
|
+
preferredRoute: RouteKindSchema,
|
|
24
|
+
activeRoute: RouteKindSchema,
|
|
25
|
+
activeRouteReason: z.string(),
|
|
26
|
+
authFreshness: AuthFreshnessSchema,
|
|
27
|
+
fallbackRoute: RouteKindSchema.optional(),
|
|
28
|
+
fallbackRisk: z.string().optional(),
|
|
29
|
+
expiresAt: z.number().optional(),
|
|
30
|
+
tokenType: z.string().optional(),
|
|
31
|
+
notes: z.array(z.string()),
|
|
32
|
+
usageWindows: z.array(UsageWindowSchema),
|
|
33
|
+
issues: z.array(z.string()),
|
|
34
|
+
recommendedActions: z.array(z.string()),
|
|
35
|
+
routeRecords: z.array(ProviderRouteRecordSchema),
|
|
36
|
+
}).catchall(z.unknown());
|
|
37
|
+
/**
|
|
38
|
+
* Schema for `accounts.snapshot` response.
|
|
39
|
+
*
|
|
40
|
+
* Matches `OperatorMethodOutputMap["accounts.snapshot"]`.
|
|
41
|
+
*/
|
|
42
|
+
export const AccountsSnapshotResponseSchema = z.object({
|
|
43
|
+
capturedAt: z.number(),
|
|
44
|
+
providers: z.array(ProviderSnapshotSchema),
|
|
45
|
+
configuredCount: z.number(),
|
|
46
|
+
issueCount: z.number(),
|
|
47
|
+
});
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { z } from 'zod/v4';
|
|
2
|
+
/**
|
|
3
|
+
* Schema for `control.auth.login` response.
|
|
4
|
+
*
|
|
5
|
+
* Matches `OperatorMethodOutputMap["control.auth.login"]`.
|
|
6
|
+
*/
|
|
7
|
+
export declare const ControlAuthLoginResponseSchema: z.ZodObject<{
|
|
8
|
+
authenticated: z.ZodBoolean;
|
|
9
|
+
token: z.ZodString;
|
|
10
|
+
username: z.ZodString;
|
|
11
|
+
expiresAt: z.ZodNumber;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
export type ControlAuthLoginResponse = z.infer<typeof ControlAuthLoginResponseSchema>;
|
|
14
|
+
/**
|
|
15
|
+
* Schema for `control.auth.current` response.
|
|
16
|
+
*
|
|
17
|
+
* Matches `OperatorMethodOutputMap["control.auth.current"]`.
|
|
18
|
+
*/
|
|
19
|
+
export declare const ControlAuthCurrentResponseSchema: z.ZodObject<{
|
|
20
|
+
authenticated: z.ZodBoolean;
|
|
21
|
+
authMode: z.ZodEnum<{
|
|
22
|
+
session: "session";
|
|
23
|
+
anonymous: "anonymous";
|
|
24
|
+
invalid: "invalid";
|
|
25
|
+
"shared-token": "shared-token";
|
|
26
|
+
}>;
|
|
27
|
+
tokenPresent: z.ZodBoolean;
|
|
28
|
+
authorizationHeaderPresent: z.ZodBoolean;
|
|
29
|
+
sessionCookiePresent: z.ZodBoolean;
|
|
30
|
+
principalId: z.ZodNullable<z.ZodString>;
|
|
31
|
+
principalKind: z.ZodNullable<z.ZodEnum<{
|
|
32
|
+
token: "token";
|
|
33
|
+
user: "user";
|
|
34
|
+
bot: "bot";
|
|
35
|
+
service: "service";
|
|
36
|
+
}>>;
|
|
37
|
+
admin: z.ZodBoolean;
|
|
38
|
+
scopes: z.ZodArray<z.ZodString>;
|
|
39
|
+
roles: z.ZodArray<z.ZodString>;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
export type ControlAuthCurrentResponse = z.infer<typeof ControlAuthCurrentResponseSchema>;
|
|
42
|
+
//# sourceMappingURL=auth.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/zod-schemas/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B;;;;GAIG;AACH,eAAO,MAAM,8BAA8B;;;;;iBAKzC,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAEtF;;;;GAIG;AACH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;iBAW3C,CAAC;AAEH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { z } from 'zod/v4';
|
|
2
|
+
/**
|
|
3
|
+
* Schema for `control.auth.login` response.
|
|
4
|
+
*
|
|
5
|
+
* Matches `OperatorMethodOutputMap["control.auth.login"]`.
|
|
6
|
+
*/
|
|
7
|
+
export const ControlAuthLoginResponseSchema = z.object({
|
|
8
|
+
authenticated: z.boolean(),
|
|
9
|
+
token: z.string(),
|
|
10
|
+
username: z.string(),
|
|
11
|
+
expiresAt: z.number(),
|
|
12
|
+
});
|
|
13
|
+
/**
|
|
14
|
+
* Schema for `control.auth.current` response.
|
|
15
|
+
*
|
|
16
|
+
* Matches `OperatorMethodOutputMap["control.auth.current"]`.
|
|
17
|
+
*/
|
|
18
|
+
export const ControlAuthCurrentResponseSchema = z.object({
|
|
19
|
+
authenticated: z.boolean(),
|
|
20
|
+
authMode: z.enum(['anonymous', 'invalid', 'session', 'shared-token']),
|
|
21
|
+
tokenPresent: z.boolean(),
|
|
22
|
+
authorizationHeaderPresent: z.boolean(),
|
|
23
|
+
sessionCookiePresent: z.boolean(),
|
|
24
|
+
principalId: z.string().nullable(),
|
|
25
|
+
principalKind: z.enum(['bot', 'service', 'token', 'user']).nullable(),
|
|
26
|
+
admin: z.boolean(),
|
|
27
|
+
scopes: z.array(z.string()),
|
|
28
|
+
roles: z.array(z.string()),
|
|
29
|
+
});
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { z } from 'zod/v4';
|
|
2
|
+
/**
|
|
3
|
+
* Schema for the SSE / WebSocket serialized event envelope that wraps all
|
|
4
|
+
* realtime domain events.
|
|
5
|
+
*
|
|
6
|
+
* Matches `SerializedEventEnvelope<unknown>` from transport-realtime.
|
|
7
|
+
*/
|
|
8
|
+
export declare const SerializedEventEnvelopeSchema: z.ZodObject<{
|
|
9
|
+
type: z.ZodString;
|
|
10
|
+
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
ts: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
13
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
14
|
+
source: z.ZodOptional<z.ZodString>;
|
|
15
|
+
payload: z.ZodUnknown;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
export type SerializedEventEnvelopeShape = z.infer<typeof SerializedEventEnvelopeSchema>;
|
|
18
|
+
/**
|
|
19
|
+
* Schema for a typed SSE / WS event envelope where the payload is a known
|
|
20
|
+
* runtime event record (has a `type` discriminant string).
|
|
21
|
+
*/
|
|
22
|
+
export declare const RuntimeEventRecordSchema: z.ZodObject<{
|
|
23
|
+
type: z.ZodString;
|
|
24
|
+
}, z.core.$catchall<z.ZodUnknown>>;
|
|
25
|
+
export declare const TypedSerializedEventEnvelopeSchema: z.ZodObject<{
|
|
26
|
+
type: z.ZodString;
|
|
27
|
+
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
28
|
+
ts: z.ZodOptional<z.ZodNumber>;
|
|
29
|
+
traceId: z.ZodOptional<z.ZodString>;
|
|
30
|
+
sessionId: z.ZodOptional<z.ZodString>;
|
|
31
|
+
source: z.ZodOptional<z.ZodString>;
|
|
32
|
+
payload: z.ZodObject<{
|
|
33
|
+
type: z.ZodString;
|
|
34
|
+
}, z.core.$catchall<z.ZodUnknown>>;
|
|
35
|
+
}, z.core.$strip>;
|
|
36
|
+
export type TypedSerializedEventEnvelopeShape = z.infer<typeof TypedSerializedEventEnvelopeSchema>;
|
|
37
|
+
//# sourceMappingURL=events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/zod-schemas/events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;iBAQxC,CAAC;AAEH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEzF;;;GAGG;AACH,eAAO,MAAM,wBAAwB;;kCAEb,CAAC;AAEzB,eAAO,MAAM,kCAAkC;;;;;;;;;;iBAE7C,CAAC;AAEH,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { z } from 'zod/v4';
|
|
2
|
+
/**
|
|
3
|
+
* Schema for the SSE / WebSocket serialized event envelope that wraps all
|
|
4
|
+
* realtime domain events.
|
|
5
|
+
*
|
|
6
|
+
* Matches `SerializedEventEnvelope<unknown>` from transport-realtime.
|
|
7
|
+
*/
|
|
8
|
+
export const SerializedEventEnvelopeSchema = z.object({
|
|
9
|
+
type: z.string(),
|
|
10
|
+
timestamp: z.number().optional(),
|
|
11
|
+
ts: z.number().optional(),
|
|
12
|
+
traceId: z.string().optional(),
|
|
13
|
+
sessionId: z.string().optional(),
|
|
14
|
+
source: z.string().optional(),
|
|
15
|
+
payload: z.unknown(),
|
|
16
|
+
});
|
|
17
|
+
/**
|
|
18
|
+
* Schema for a typed SSE / WS event envelope where the payload is a known
|
|
19
|
+
* runtime event record (has a `type` discriminant string).
|
|
20
|
+
*/
|
|
21
|
+
export const RuntimeEventRecordSchema = z.object({
|
|
22
|
+
type: z.string(),
|
|
23
|
+
}).catchall(z.unknown());
|
|
24
|
+
export const TypedSerializedEventEnvelopeSchema = SerializedEventEnvelopeSchema.extend({
|
|
25
|
+
payload: RuntimeEventRecordSchema,
|
|
26
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { ControlAuthLoginResponseSchema, ControlAuthCurrentResponseSchema, } from './auth.js';
|
|
2
|
+
export type { ControlAuthLoginResponse, ControlAuthCurrentResponse, } from './auth.js';
|
|
3
|
+
export { AccountsSnapshotResponseSchema, } from './accounts.js';
|
|
4
|
+
export type { AccountsSnapshotResponse, } from './accounts.js';
|
|
5
|
+
export { SerializedEventEnvelopeSchema, TypedSerializedEventEnvelopeSchema, RuntimeEventRecordSchema, } from './events.js';
|
|
6
|
+
export type { SerializedEventEnvelopeShape, TypedSerializedEventEnvelopeShape, } from './events.js';
|
|
7
|
+
export { ControlStatusResponseSchema, LocalAuthStatusResponseSchema, } from './session.js';
|
|
8
|
+
export type { ControlStatusResponse, LocalAuthStatusResponse, } from './session.js';
|
|
9
|
+
export { ProviderModelRefSchema, ProviderModelEntrySchema, ConfiguredViaSchema, ProviderEntrySchema, ListProvidersResponseSchema, CurrentModelResponseSchema, PatchCurrentModelBodySchema, PatchCurrentModelErrorSchema, PatchCurrentModelResponseSchema, ModelChangedEventSchema, } from './providers.js';
|
|
10
|
+
export type { ProviderModelRef, ProviderModelEntry, ConfiguredVia, ProviderEntry, ListProvidersResponse, CurrentModelResponse, PatchCurrentModelBody, PatchCurrentModelError, PatchCurrentModelResponse, ModelChangedEvent, } from './providers.js';
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/zod-schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,8BAA8B,EAC9B,gCAAgC,GACjC,MAAM,WAAW,CAAC;AACnB,YAAY,EACV,wBAAwB,EACxB,0BAA0B,GAC3B,MAAM,WAAW,CAAC;AAEnB,OAAO,EACL,8BAA8B,GAC/B,MAAM,eAAe,CAAC;AACvB,YAAY,EACV,wBAAwB,GACzB,MAAM,eAAe,CAAC;AAEvB,OAAO,EACL,6BAA6B,EAC7B,kCAAkC,EAClC,wBAAwB,GACzB,MAAM,aAAa,CAAC;AACrB,YAAY,EACV,4BAA4B,EAC5B,iCAAiC,GAClC,MAAM,aAAa,CAAC;AAErB,OAAO,EACL,2BAA2B,EAC3B,6BAA6B,GAC9B,MAAM,cAAc,CAAC;AACtB,YAAY,EACV,qBAAqB,EACrB,uBAAuB,GACxB,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,sBAAsB,EACtB,wBAAwB,EACxB,mBAAmB,EACnB,mBAAmB,EACnB,2BAA2B,EAC3B,0BAA0B,EAC1B,2BAA2B,EAC3B,4BAA4B,EAC5B,+BAA+B,EAC/B,uBAAuB,GACxB,MAAM,gBAAgB,CAAC;AACxB,YAAY,EACV,gBAAgB,EAChB,kBAAkB,EAClB,aAAa,EACb,aAAa,EACb,qBAAqB,EACrB,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACtB,yBAAyB,EACzB,iBAAiB,GAClB,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { ControlAuthLoginResponseSchema, ControlAuthCurrentResponseSchema, } from './auth.js';
|
|
2
|
+
export { AccountsSnapshotResponseSchema, } from './accounts.js';
|
|
3
|
+
export { SerializedEventEnvelopeSchema, TypedSerializedEventEnvelopeSchema, RuntimeEventRecordSchema, } from './events.js';
|
|
4
|
+
export { ControlStatusResponseSchema, LocalAuthStatusResponseSchema, } from './session.js';
|
|
5
|
+
export { ProviderModelRefSchema, ProviderModelEntrySchema, ConfiguredViaSchema, ProviderEntrySchema, ListProvidersResponseSchema, CurrentModelResponseSchema, PatchCurrentModelBodySchema, PatchCurrentModelErrorSchema, PatchCurrentModelResponseSchema, ModelChangedEventSchema, } from './providers.js';
|